From 638453a1b5eb56fd21cf6690baf4908fd9422c45 Mon Sep 17 00:00:00 2001 From: "github-action[bot]" Date: Sat, 28 Mar 2026 19:56:50 +0100 Subject: [PATCH] Update On Sat Mar 28 19:56:50 CET 2026 --- .github/update.log | 1 + .../dist/bilibili-evolved.preview.user.js | 6 +- bb-evolved/dist/bilibili-evolved.user.js | 6 +- .../dist/components/feeds/copy-link.js | 2 +- .../dist/components/feeds/del-feeds.js | 2 +- .../dist/components/feeds/disable-details.js | 2 +- .../dist/components/feeds/extend-live.js | 4 +- .../dist/components/feeds/extend-live.js.map | 2 +- .../registry/dist/components/feeds/filter.js | 2 +- .../dist/components/feeds/fixed-sidebars.js | 2 +- .../dist/components/feeds/fold-comments.js | 2 +- .../dist/components/feeds/full-content.js | 2 +- .../dist/components/feeds/full-title.js | 2 +- .../dist/components/feeds/group-filter.js | 2 +- .../components/feeds/hide-comment-preview.js | 2 +- .../feeds/image-auto-back-to-top.js | 2 +- .../components/feeds/legacy-image-viewer.js | 2 +- .../registry/dist/components/feeds/unfold.js | 2 +- .../dist/components/live/badge-helper.js | 2 +- .../dist/components/live/badge-keepalive.js | 2 +- .../dist/components/live/chat-panel-fit.js | 2 +- .../dist/components/live/danmaku-sendbar.js | 2 +- .../dist/components/live/front-back-volume.js | 2 +- .../registry/dist/components/live/gift-box.js | 2 +- .../components/live/hide-gift-fullscreen.js | 2 +- .../dist/components/live/hide-player-blur.js | 2 +- .../dist/components/live/home-mute.js | 2 +- .../components/live/liveroom-username-link.js | 2 +- .../registry/dist/components/live/original.js | 2 +- .../dist/components/live/remove-mask-panel.js | 2 +- .../dist/components/live/remove-watermark.js | 6 +- .../components/live/remove-watermark.js.map | 2 +- .../registry/dist/components/live/showgirl.js | 2 +- .../registry/dist/components/live/side-bar.js | 2 +- .../components/style/always-show-duration.js | 2 +- .../components/style/auto-hide-sidebar.js | 2 +- .../dist/components/style/clear-home.js | 2 +- .../components/style/custom-font-family.js | 2 +- .../dist/components/style/custom-navbar.js | 2 +- .../dist/components/style/dark-mode.js | 2 +- .../style/dark-mode/follow-system.js | 2 +- .../components/style/dark-mode/integrated.js | 2 +- .../components/style/dark-mode/schedule.js | 2 +- .../components/style/hide/bangumi/reviews.js | 2 +- .../components/style/hide/bangumi/sponsors.js | 2 +- .../dist/components/style/hide/banner.js | 2 +- .../components/style/hide/home-carousel.js | 2 +- .../components/style/hide/trending-search.js | 2 +- .../dist/components/style/hide/user-card.js | 2 +- .../components/style/hide/user-pendent.js | 2 +- .../dist/components/style/hide/video/notes.js | 2 +- .../style/hide/video/recommended-live.js | 2 +- .../style/hide/video/related-videos.js | 2 +- .../components/style/hide/video/report.js | 2 +- .../dist/components/style/hide/video/share.js | 2 +- .../components/style/hide/video/top-mask.js | 2 +- .../components/style/home-redesign/fresh.js | 2 +- .../components/style/home-redesign/minimal.js | 2 +- .../components/style/player-on-top-new.js | 2 +- .../dist/components/style/player-on-top.js | 12 +- .../dist/components/style/player-shadow.js | 2 +- .../dist/components/style/replace-cover.js | 2 +- .../dist/components/style/scrollbar.js | 2 +- .../dist/components/style/sidebar-offset.js | 2 +- .../components/style/simplify/comments.js | 2 +- .../dist/components/style/simplify/live.js | 2 +- .../dist/components/style/special-danmaku.js | 2 +- .../dist/components/style/v1-panel.js | 2 +- .../dist/components/touch/combo-like.js | 2 +- .../components/touch/double-click-control.js | 2 +- .../dist/components/touch/mini-player.js | 2 +- .../dist/components/touch/player-control.js | 2 +- .../dist/components/touch/player-gestures.js | 2 +- .../components/utils/active-video-links.js | 2 +- .../dist/components/utils/album-time-show.js | 2 +- .../dist/components/utils/auto-like.js | 2 +- .../components/utils/bigger-video-preview.js | 2 +- .../dist/components/utils/black-list.js | 2 +- .../components/utils/change-update-urls.js | 2 +- .../dist/components/utils/check-in-center.js | 2 +- .../dist/components/utils/column-unlock.js | 2 +- .../utils/comments/content-replace.js | 2 +- .../components/utils/comments/copy-link.js | 2 +- .../utils/comments/disable-search-link.js | 2 +- .../dist/components/utils/dev-client.js | 2 +- .../dist/components/utils/download-audio.js | 2 +- .../components/utils/download-emoticons.js | 2 +- .../dist/components/utils/image-exporter.js | 2 +- .../dist/components/utils/image-resolution.js | 2 +- .../dist/components/utils/import-series.js | 2 +- .../registry/dist/components/utils/ip-show.js | 4 +- .../registry/dist/components/utils/keymap.js | 2 +- .../components/utils/mall-link-redirect.js | 2 +- .../components/utils/remove-promotions.js | 2 +- .../components/utils/subscribe-time-show.js | 2 +- .../dist/components/utils/url-params-clean.js | 6 +- .../dist/components/utils/v1-migrate.js | 2 +- .../dist/components/utils/view-cover.js | 2 +- .../utils/watchlater-page-redirect.js | 2 +- .../components/utils/watchlater-redirect.js | 2 +- .../video/auto-remove-watchlater.js | 2 +- .../registry/dist/components/video/av-url.js | 2 +- .../components/video/biliplus-redirect.js | 2 +- .../dist/components/video/bvid-convert.js | 2 +- .../dist/components/video/danmaku/airborne.js | 2 +- .../dist/components/video/danmaku/download.js | 2 +- .../dist/components/video/danmaku/expand.js | 2 +- .../dist/components/video/danmaku/unescape.js | 2 +- .../dist/components/video/default-location.js | 2 +- .../dist/components/video/download.js | 2 +- .../dist/components/video/full-description.js | 2 +- .../components/video/full-episode-title.js | 2 +- .../dist/components/video/metadata.js | 2 +- .../dist/components/video/outer-watchlater.js | 2 +- .../components/video/player/auto-light.js | 2 +- .../video/player/control-background.js | 2 +- .../video/player/custom-auto-play.js | 2 +- .../components/video/player/default-mode.js | 2 +- .../player/disable-double-click-fullscreen.js | 2 +- .../video/player/disable-scroll-volume.js | 2 +- .../components/video/player/extend-speed.js | 2 +- .../dist/components/video/player/focus.js | 2 +- .../video/player/intersection-actions.js | 2 +- .../video/player/invert-scroll-volume.js | 2 +- .../video/player/legacy-auto-play.js | 2 +- .../video/player/preserve-danmaku-input.js | 2 +- .../components/video/player/remember-speed.js | 2 +- .../components/video/player/remove-popup.js | 2 +- .../components/video/player/screenshot.js | 2 +- .../components/video/player/seek-by-frames.js | 2 +- .../components/video/player/show-cover.js | 2 +- .../video/player/show-upload-time.js | 2 +- .../video/player/skip-charge-list.js | 2 +- .../components/video/player/video-scaling.js | 2 +- .../dist/components/video/quick-favorite.js | 2 +- .../dist/components/video/seo-redirect.js | 2 +- .../components/video/subtitle/download.js | 2 +- .../plugins/feeds/filter/hide-charge-feeds.js | 2 +- .../dist/plugins/feeds/filter/hide-goods.js | 2 +- .../dist/plugins/launch-bar/audio-search.js | 2 +- .../dist/plugins/launch-bar/bangumi-search.js | 2 +- .../dist/plugins/launch-bar/cv-search.js | 2 +- .../dist/plugins/launch-bar/number-search.js | 2 +- .../plugins/launch-bar/trending-search.js | 2 +- .../dist/plugins/launch-bar/uid-search.js | 2 +- .../settings-panel/recent-components.js | 2 +- .../plugins/style/custom-navbar-channel.js | 2 +- .../plugins/style/custom-navbar-dark-mode.js | 14 +- .../dist/plugins/style/custom-navbar-pgc.js | 2 +- .../dist/plugins/utils/keymap-dark-mode.js | 2 +- .../plugins/utils/keymap-empty-action.ts.js | 2 +- .../utils/keymap-toggle-danmaku-list.js | 2 +- .../utils/keymap-toggle-player-light.js | 2 +- .../plugins/utils/keymap-toggle-subtitle.js | 2 +- .../registry/dist/plugins/v-loading/reimu.js | 2 +- .../plugins/video/download/aria2-output.js | 2 +- .../plugins/video/download/empty-output.js | 2 +- .../dist/plugins/video/download/idm-output.js | 2 +- .../plugins/video/download/manual-input.js | 2 +- .../plugins/video/download/motrix-output.js | 2 +- .../plugins/video/download/mpv-output-ex.js | 2 +- .../video/download/mpv-output-playlist.js | 2 +- .../dist/plugins/video/download/mpv-output.js | 2 +- .../plugins/video/download/wasm-output.js | 2 +- .../dist/plugins/video/player/speed.js | 2 +- .../components/feeds/extend-live/LiveList.vue | 2 +- .../lib/components/feeds/extend-live/types.ts | 2 +- .../components/live/remove-watermark/index.ts | 4 +- .../remove-watermark/remove-watermark.scss | 4 +- clash-nyanpasu/backend/Cargo.lock | 32 +- clash-nyanpasu/frontend/nyanpasu/package.json | 2 +- clash-nyanpasu/manifest/version.json | 6 +- clash-nyanpasu/package.json | 2 +- clash-nyanpasu/pnpm-lock.yaml | 204 +-- echo/go.mod | 13 +- echo/go.sum | 27 +- echo/internal/metrics/node_linux.go | 2 +- echo/internal/relay/conf/cfg.go | 3 +- echo/internal/transporter/base.go | 47 +- echo/internal/transporter/sniff.go | 77 ++ echo/internal/transporter/sniff_test.go | 112 ++ echo/internal/web/server.go | 17 +- echo/pkg/metric_reader/reader.go | 10 +- filebrowser/.github/workflows/ci.yaml | 18 + filebrowser/.github/workflows/docs.yml | 2 +- filebrowser/frontend/package.json | 6 +- filebrowser/frontend/pnpm-lock.yaml | 1213 ++++++++++------- filebrowser/frontend/src/i18n/hr.json | 42 +- filebrowser/frontend/src/i18n/ko.json | 4 +- filebrowser/frontend/src/i18n/pt-pt.json | 6 +- .../src/utils/__tests__/upload.test.ts | 80 ++ filebrowser/frontend/src/utils/upload.ts | 7 +- .../frontend/src/views/files/Preview.vue | 1 - filebrowser/go.mod | 2 +- filebrowser/go.sum | 4 +- filebrowser/http/auth.go | 6 + filebrowser/http/raw.go | 3 +- filebrowser/http/raw_test.go | 75 + filebrowser/http/static.go | 12 +- hysteria/app/go.mod | 2 +- hysteria/app/go.sum | 4 +- hysteria/core/go.mod | 2 +- hysteria/core/go.sum | 4 +- .../internal/congestion/bbr/bbr_sender.go | 75 +- .../congestion/bbr/bbr_sender_test.go | 44 + hysteria/extras/go.mod | 2 +- hysteria/extras/go.sum | 4 +- hysteria/go.work.sum | 10 + lede/include/kernel-6.1 | 4 +- lede/include/kernel-6.12 | 4 +- lede/include/kernel-6.6 | 4 +- lede/package/libs/libubox/Makefile | 6 +- ...net-sfp-improve-Huawei-MA5671a-fixup.patch | 45 - ...-phy-led_triggers-during-probe-to-av.patch | 116 -- lede/toolchain/gcc/Config.in | 3 + lede/toolchain/gcc/Config.version | 5 + lede/toolchain/gcc/common.mk | 4 + .../patches-15.x/002-case_insensitive.patch | 24 + ...t-choke-when-building-32bit-on-64bit.patch | 13 + .../gcc/patches-15.x/010-documentation.patch | 35 + .../patches-15.x/110-Fix-MIPS-PR-84790.patch | 20 + .../gcc/patches-15.x/230-musl_libssp.patch | 13 + .../300-mips_Os_cpu_rtx_cost_model.patch | 21 + .../800-arm_v5te_no_ldrd_strd.patch | 11 + .../810-arm-softfloat-libgcc.patch | 33 + .../gcc/patches-15.x/820-libgcc_pic.patch | 44 + .../patches-15.x/830-aarch64-libatomic.patch | 32 + .../840-armv4_pass_fix-v4bx_to_ld.patch | 28 + .../patches-15.x/850-use_shared_libgcc.patch | 54 + .../patches-15.x/851-libgcc_no_compat.patch | 22 + .../patches-15.x/870-ppc_no_crtsavres.patch | 11 + .../gcc/patches-15.x/881-no_tm_section.patch | 11 + .../gcc/patches-15.x/900-bad-mips16-crt.patch | 9 + .../gcc/patches-15.x/910-mbsd_multi.patch | 146 ++ .../920-specs_nonfatal_getenv.patch | 22 + ...mpilation-when-making-cross-compiler.patch | 67 + .../970-macos_arm64-building-fix.patch | 45 + .../980-fix-build-error-with-Xcode-16.3.patch | 47 + mieru/Makefile | 2 +- mieru/pkg/metrics/export.go | 5 +- mieru/pkg/protocol/mux.go | 2 + openwrt-packages/luci-theme-alpha/Makefile | 2 +- .../luci-theme-alpha/template/footer.ut | 2 +- .../model/cbi/passwall/client/other.lua | 10 +- .../cbi/passwall/client/type/hysteria2.lua | 4 +- .../model/cbi/passwall/client/type/ray.lua | 11 +- .../luasrc/passwall/util_hysteria2.lua | 16 +- .../luasrc/passwall/util_xray.lua | 88 +- .../passwall/node_config/link_share_man.htm | 7 +- .../luci-app-passwall/po/zh-cn/passwall.po | 20 +- .../root/usr/share/passwall/subscribe.lua | 8 +- .../usr/libexec/fchomo/update_resources.sh | 2 +- .../root/usr/share/fchomo/generate_client.uc | 2 +- .../root/usr/share/rpcd/ucode/luci.fchomo | 2 +- .../model/cbi/passwall/client/other.lua | 10 +- .../cbi/passwall/client/type/hysteria2.lua | 4 +- .../model/cbi/passwall/client/type/ray.lua | 11 +- .../luasrc/passwall/util_hysteria2.lua | 16 +- .../luasrc/passwall/util_xray.lua | 88 +- .../passwall/node_config/link_share_man.htm | 7 +- small/luci-app-passwall/po/zh-cn/passwall.po | 20 +- .../root/usr/share/passwall/subscribe.lua | 8 +- .../model/cbi/shadowsocksr/client-config.lua | 2 +- .../luasrc/view/shadowsocksr/server_list.htm | 33 +- .../usr/share/shadowsocksr/gen_config.lua | 2 +- .../root/usr/share/shadowsocksr/subscribe.lua | 591 ++++---- small/xray-core/Makefile | 4 +- v2rayng/AndroidLibXrayLite/go.mod | 2 +- v2rayng/AndroidLibXrayLite/go.sum | 4 +- v2rayng/V2rayNG/app/build.gradle.kts | 4 +- yt-dlp/.github/workflows/build.yml | 92 +- yt-dlp/.github/workflows/challenge-tests.yml | 2 +- yt-dlp/.github/workflows/core.yml | 2 +- yt-dlp/.github/workflows/quick-test.yml | 4 +- yt-dlp/.github/workflows/release.yml | 2 +- yt-dlp/.github/workflows/test-workflows.yml | 2 +- yt-dlp/.gitignore | 1 + yt-dlp/CONTRIBUTING.md | 2 +- yt-dlp/README.md | 2 +- yt-dlp/bundle/docker/compose.yml | 7 +- yt-dlp/bundle/docker/linux/build.sh | 21 +- .../requirements-linux-aarch64.txt | 567 ++++++++ .../requirements-linux-armv7l.txt | 569 ++++++++ .../requirements-linux-x86_64.txt | 567 ++++++++ .../requirements-macos-curl_cffi.txt | 104 ++ .../requirements/requirements-macos.txt | 429 ++++++ .../requirements-musllinux-aarch64.txt | 552 ++++++++ .../requirements-musllinux-x86_64.txt | 569 ++++++++ .../bundle/requirements/requirements-pip.txt | 6 + .../requirements/requirements-pypi-build.txt | 36 + .../requirements-win-arm64-pyinstaller.txt | 35 + .../requirements/requirements-win-arm64.txt | 474 +++++++ .../requirements-win-x64-pyinstaller.txt | 35 + .../requirements/requirements-win-x64.txt | 474 +++++++ .../requirements-win-x86-pyinstaller.txt | 35 + .../requirements/requirements-win-x86.txt | 369 +++++ yt-dlp/devscripts/install_deps.py | 28 +- .../devscripts/update_bundle_requirements.py | 206 +++ yt-dlp/pyproject.toml | 40 +- 299 files changed, 7988 insertions(+), 1697 deletions(-) create mode 100644 echo/internal/transporter/sniff.go create mode 100644 echo/internal/transporter/sniff_test.go create mode 100644 filebrowser/frontend/src/utils/__tests__/upload.test.ts create mode 100644 filebrowser/http/raw_test.go create mode 100644 hysteria/core/internal/congestion/bbr/bbr_sender_test.go delete mode 100644 lede/target/linux/generic/pending-6.12/620-net-sfp-improve-Huawei-MA5671a-fixup.patch delete mode 100644 lede/target/linux/generic/pending-6.12/704-net-phy-register-phy-led_triggers-during-probe-to-av.patch create mode 100644 lede/toolchain/gcc/patches-15.x/002-case_insensitive.patch create mode 100644 lede/toolchain/gcc/patches-15.x/003-dont-choke-when-building-32bit-on-64bit.patch create mode 100644 lede/toolchain/gcc/patches-15.x/010-documentation.patch create mode 100644 lede/toolchain/gcc/patches-15.x/110-Fix-MIPS-PR-84790.patch create mode 100644 lede/toolchain/gcc/patches-15.x/230-musl_libssp.patch create mode 100644 lede/toolchain/gcc/patches-15.x/300-mips_Os_cpu_rtx_cost_model.patch create mode 100644 lede/toolchain/gcc/patches-15.x/800-arm_v5te_no_ldrd_strd.patch create mode 100644 lede/toolchain/gcc/patches-15.x/810-arm-softfloat-libgcc.patch create mode 100644 lede/toolchain/gcc/patches-15.x/820-libgcc_pic.patch create mode 100644 lede/toolchain/gcc/patches-15.x/830-aarch64-libatomic.patch create mode 100644 lede/toolchain/gcc/patches-15.x/840-armv4_pass_fix-v4bx_to_ld.patch create mode 100644 lede/toolchain/gcc/patches-15.x/850-use_shared_libgcc.patch create mode 100644 lede/toolchain/gcc/patches-15.x/851-libgcc_no_compat.patch create mode 100644 lede/toolchain/gcc/patches-15.x/870-ppc_no_crtsavres.patch create mode 100644 lede/toolchain/gcc/patches-15.x/881-no_tm_section.patch create mode 100644 lede/toolchain/gcc/patches-15.x/900-bad-mips16-crt.patch create mode 100644 lede/toolchain/gcc/patches-15.x/910-mbsd_multi.patch create mode 100644 lede/toolchain/gcc/patches-15.x/920-specs_nonfatal_getenv.patch create mode 100644 lede/toolchain/gcc/patches-15.x/960-gotools-fix-compilation-when-making-cross-compiler.patch create mode 100644 lede/toolchain/gcc/patches-15.x/970-macos_arm64-building-fix.patch create mode 100644 lede/toolchain/gcc/patches-15.x/980-fix-build-error-with-Xcode-16.3.patch create mode 100644 yt-dlp/bundle/requirements/requirements-linux-aarch64.txt create mode 100644 yt-dlp/bundle/requirements/requirements-linux-armv7l.txt create mode 100644 yt-dlp/bundle/requirements/requirements-linux-x86_64.txt create mode 100644 yt-dlp/bundle/requirements/requirements-macos-curl_cffi.txt create mode 100644 yt-dlp/bundle/requirements/requirements-macos.txt create mode 100644 yt-dlp/bundle/requirements/requirements-musllinux-aarch64.txt create mode 100644 yt-dlp/bundle/requirements/requirements-musllinux-x86_64.txt create mode 100644 yt-dlp/bundle/requirements/requirements-pip.txt create mode 100644 yt-dlp/bundle/requirements/requirements-pypi-build.txt create mode 100644 yt-dlp/bundle/requirements/requirements-win-arm64-pyinstaller.txt create mode 100644 yt-dlp/bundle/requirements/requirements-win-arm64.txt create mode 100644 yt-dlp/bundle/requirements/requirements-win-x64-pyinstaller.txt create mode 100644 yt-dlp/bundle/requirements/requirements-win-x64.txt create mode 100644 yt-dlp/bundle/requirements/requirements-win-x86-pyinstaller.txt create mode 100644 yt-dlp/bundle/requirements/requirements-win-x86.txt create mode 100755 yt-dlp/devscripts/update_bundle_requirements.py diff --git a/.github/update.log b/.github/update.log index 6f2948eefb..ee3491c2c6 100644 --- a/.github/update.log +++ b/.github/update.log @@ -1312,3 +1312,4 @@ Update On Tue Mar 24 20:16:12 CET 2026 Update On Wed Mar 25 20:07:22 CET 2026 Update On Thu Mar 26 20:20:07 CET 2026 Update On Fri Mar 27 20:08:05 CET 2026 +Update On Sat Mar 28 19:56:41 CET 2026 diff --git a/bb-evolved/dist/bilibili-evolved.preview.user.js b/bb-evolved/dist/bilibili-evolved.preview.user.js index e751f9ff2a..a2d6364234 100644 --- a/bb-evolved/dist/bilibili-evolved.preview.user.js +++ b/bb-evolved/dist/bilibili-evolved.preview.user.js @@ -46,9 +46,9 @@ const a=()=>{(0,o.contentLoaded)((async()=>{document.body.classList.add("round-c /* eslint-disable no-bitwise */ function*(e,t){let n,o=t?.low??0,i=t?.high??e.length;for(;o+1>>1;(yield{low:o,high:i,mid:n,slice:e.slice(o,n),rouge:Math.trunc(Math.log2(i-o))})?i=n:o=n}return{low:o,high:i,mid:n,slice:e.slice(o,n),rouge:Math.trunc(Math.log2(i-o)),target:e[o]}};var c=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",[t("div",[e._v("可能出问题的组件是:"+e._s(e.displayName)+"("+e._s(e.name)+")")]),e._v(" "),t("div",[t("span",{staticClass:"link",on:{click:e.restore}},[e._v("恢复原状("+e._s(e.countdown)+" 秒)")])])])};c._withStripped=!0;var s=n(3654);const l=n.n(s)().extend({data:()=>({countdown:30,userComponent:void 0}),computed:{displayName(){return this.userComponent?.metadata?.displayName},name(){return this.userComponent?.metadata?.name}},watch:{countdown(e){0===e&&this.restore()}},created(){this.interval=setInterval((()=>{this.countdown>0?this.countdown--:clearInterval(this.interval)}),1e3)},destroyed(){clearInterval(this.interval)},methods:{restore(){clearInterval(this.interval),this.$emit("restore")}}});const d=(0,n(8678).A)(l,c,[],!1,null,null,null).exports;let m,u,f,p,b;const h=e=>{m?Object.assign(m,e):m=e},g=e=>{u=e},v=async()=>{const{settings:e}=await Promise.resolve().then(n.bind(n,7509)),{userComponents:t}=e,o=lodash.pickBy(t,(e=>e.metadata.configurable||!0)),{targetComponents:i,keepDisabledComponents:r,keepEnabledComponents:a}=lodash.transform(o,((e,t,n)=>{m.keepEnabledComponents?.includes(n)?e.keepEnabledComponents.push(t):m.keepDisabledComponents?.includes(n)?e.keepDisabledComponents.push(t):e.targetComponents.push(t)}),{targetComponents:[],keepDisabledComponents:[],keepEnabledComponents:[]});return{userComponents:t,configurableUserComponents:o,targetComponents:i,keepDisabledComponents:r,keepEnabledComponents:a}},F=(e,t)=>e.forEach((e=>e.settings.enabled=t)),w=e=>e.map((e=>`${e.metadata.displayName}(${e.metadata.name})`)).join(", ")||"无",y=()=>!lodash.isEmpty(m.bisectInitialState),x=async()=>{u?.log("stop - 准备停止组件二等分"),b?.close();const{configurableUserComponents:e}=await v(),t=[];for(const[n,o]of Object.entries(e)){const e=m.originalComponentEnableState?.[n];null!=e?o.settings.enabled=e:t.push(o)}if(t.length){const e=`部分组件未能还原状态:${w(t)}`;u?.warn(`stop - ${e}`),i.Toast.error(e,"组件二等分"),await(0,r.delay)(3e3)}u?.log("stop - 清理状态"),f=null,m.bisectInitialState={},m.originalComponentEnableState={},u?.log("stop - 重载页面"),location.reload()},k=async(e,t)=>{b?.close(),u?.log("next - 当前工作状态:"+( // eslint-disable-next-line no-nested-ternary -null==e?"未知":e?"异常":"正常"));const{done:n,value:o}=f.next(e);if(n){const{low:e,high:t}=o;m.bisectInitialState={low:e,high:t};const n=`bisector-result-toast-content-${(0,r.getRandomId)()}`;i.Toast.info(`
`,"组件二等分结果"),await(0,r.delay)();const a=(0,r.mountVueComponent)(d,`#${n}`);a.userComponent=o.target,a.$on("restore",(()=>{x()}))}else{const{slice:e,low:n,high:i}=o,r=e,a=lodash.difference(p.targetComponents,e);m.bisectInitialState={low:n,high:i},u?.log(`next - 关闭组件:${w(a)}`),u?.log(`next - 开启组件:${w(r)}`),F(a,!1),F(r,!0),t&&(u?.log("next - 重载页面"),location.reload())}return{done:n,value:o}},C=async()=>{u?.log("recover - 准备恢复组件二等分"),p=await v();const{targetComponents:e,keepDisabledComponents:t,keepEnabledComponents:i}=p;F(i,!0),F(t,!1),u?.log(`recover - 保持关闭组件:${w(t)}`),u?.log(`recover - 保持开启组件:${w(i)}`),u?.log(`recover - 全部目标组件:${w(e)}`),f=a(e,m.bisectInitialState);const{done:r,value:c}=await k();if(!r){const{rouge:e}=c;b=(0,o.showDialog)({title:()=>Promise.resolve().then(n.bind(n,3465)),content:()=>Promise.resolve().then(n.bind(n,8343)),contentProps:{rouge:e,onGood:()=>k(!1,!0),onBad:()=>k(!0,!0),onAbort:()=>x()}})}},A=async()=>{if(y())return void await C();u?.log("start - 准备开始组件二等分"),p=await v();const{configurableUserComponents:e,targetComponents:t,keepDisabledComponents:n,keepEnabledComponents:o}=p;u?.log("start - 保存组件初始启用状态"),m.originalComponentEnableState=lodash.mapValues(e,(e=>e.settings.enabled)),F(t,!0),F(o,!0),F(n,!1),u?.log(`start - 保持关闭组件:${w(n)}`),u?.log(`start - 保持开启组件:${w(o)}`),u?.log(`start - 启用全部目标组件:${w(t)}`),f=a(t,m.bisectInitialState),await k(void 0,!0)}},3230:(e,t,n)=>{"use strict";n.r(t),n.d(t,{getBuiltInComponents:()=>O,isBuiltInComponent:()=>V});var o=n(6973),i=n(8566),r=n(2548),a=n(9514);const c={name:"launchBar.plugin",displayName:"搜索栏 - 快捷键支持",setup:e=>{let{addData:t}=e;t("keymap.actions",(e=>{e.showLaunchBar={displayName:"显示搜索栏",run:async()=>{const{toggleLaunchBar:e}=await Promise.resolve().then(n.bind(n,7489));return e(),!0}}})),t("keymap.presets",(e=>{e.showLaunchBar="/"}))}},s=(0,r.defineComponentMetadata)({name:"launchBar",displayName:"搜索栏",configurable:!1,entry:i.none,plugin:c,hidden:!0,tags:[a.K.general,a.K.utils],commitHash:"58c0b438ca2371e397f70466a91572cb2757b142",coreVersion:"2.10.7"});var l=n(8372),d=n(8484),m=n(7356);function u(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!=typeof o)return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}class f{constructor(){u(this,"accepts",(e=>e.nodeType===Node.ELEMENT_NODE)),u(this,"getValue",(e=>e.nodeValue)),u(this,"setValue",((e,t)=>{e.nodeValue=t})),u(this,"getElement",(e=>e))}translate(e){let t=this.getValue(e);if(!t||"string"!=typeof t||"*"===t)return;t=t.trim();const n=f.map.get(t);if(void 0===n){const n=f.regex.find((e=>{let[n]=e;return n.test(t)}));if(n){const[o,i]=n;this.setValue(e,t.replace(o,i))}}else if("string"==typeof n)this.setValue(e,n);else if(Array.isArray(n)){let t=null;for(const o of n)if("string"==typeof o)t=o;else{const{text:n,selector:i,not:r}=o;this.getElement(e)?.matches(i)!==Boolean(r)&&(t=n)}null!==t&&this.setValue(e,t)}else{const{text:t,selector:o,not:i}=n;this.getElement(e)?.matches(o)!==Boolean(i)&&this.setValue(e,t)}}static walk(e,t){const n=document.createNodeIterator(e, +null==e?"未知":e?"异常":"正常"));const{done:n,value:o}=f.next(e);if(n){const{low:e,high:t}=o;m.bisectInitialState={low:e,high:t};const n=`bisector-result-toast-content-${(0,r.getRandomId)()}`;i.Toast.info(`
`,"组件二等分结果"),await(0,r.delay)();const a=(0,r.mountVueComponent)(d,`#${n}`);a.userComponent=o.target,a.$on("restore",(()=>{x()}))}else{const{slice:e,low:n,high:i}=o,r=e,a=lodash.difference(p.targetComponents,e);m.bisectInitialState={low:n,high:i},u?.log(`next - 关闭组件:${w(a)}`),u?.log(`next - 开启组件:${w(r)}`),F(a,!1),F(r,!0),t&&(u?.log("next - 重载页面"),location.reload())}return{done:n,value:o}},C=async()=>{u?.log("recover - 准备恢复组件二等分"),p=await v();const{targetComponents:e,keepDisabledComponents:t,keepEnabledComponents:i}=p;F(i,!0),F(t,!1),u?.log(`recover - 保持关闭组件:${w(t)}`),u?.log(`recover - 保持开启组件:${w(i)}`),u?.log(`recover - 全部目标组件:${w(e)}`),f=a(e,m.bisectInitialState);const{done:r,value:c}=await k();if(!r){const{rouge:e}=c;b=(0,o.showDialog)({title:()=>Promise.resolve().then(n.bind(n,3465)),content:()=>Promise.resolve().then(n.bind(n,8343)),contentProps:{rouge:e,onGood:()=>k(!1,!0),onBad:()=>k(!0,!0),onAbort:()=>x()}})}},A=async()=>{if(y())return void await C();u?.log("start - 准备开始组件二等分"),p=await v();const{configurableUserComponents:e,targetComponents:t,keepDisabledComponents:n,keepEnabledComponents:o}=p;u?.log("start - 保存组件初始启用状态"),m.originalComponentEnableState=lodash.mapValues(e,(e=>e.settings.enabled)),F(t,!0),F(o,!0),F(n,!1),u?.log(`start - 保持关闭组件:${w(n)}`),u?.log(`start - 保持开启组件:${w(o)}`),u?.log(`start - 启用全部目标组件:${w(t)}`),f=a(t,m.bisectInitialState),await k(void 0,!0)}},3230:(e,t,n)=>{"use strict";n.r(t),n.d(t,{getBuiltInComponents:()=>O,isBuiltInComponent:()=>V});var o=n(6973),i=n(8566),r=n(2548),a=n(9514);const c={name:"launchBar.plugin",displayName:"搜索栏 - 快捷键支持",setup:e=>{let{addData:t}=e;t("keymap.actions",(e=>{e.showLaunchBar={displayName:"显示搜索栏",run:async()=>{const{toggleLaunchBar:e}=await Promise.resolve().then(n.bind(n,7489));return e(),!0}}})),t("keymap.presets",(e=>{e.showLaunchBar="/"}))}},s=(0,r.defineComponentMetadata)({name:"launchBar",displayName:"搜索栏",configurable:!1,entry:i.none,plugin:c,hidden:!0,tags:[a.K.general,a.K.utils],commitHash:"d87d69cfb9d7e0124bd90a06fec4569bd61e02c5",coreVersion:"2.10.7"});var l=n(8372),d=n(8484),m=n(7356);function u(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!=typeof o)return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}class f{constructor(){u(this,"accepts",(e=>e.nodeType===Node.ELEMENT_NODE)),u(this,"getValue",(e=>e.nodeValue)),u(this,"setValue",((e,t)=>{e.nodeValue=t})),u(this,"getElement",(e=>e))}translate(e){let t=this.getValue(e);if(!t||"string"!=typeof t||"*"===t)return;t=t.trim();const n=f.map.get(t);if(void 0===n){const n=f.regex.find((e=>{let[n]=e;return n.test(t)}));if(n){const[o,i]=n;this.setValue(e,t.replace(o,i))}}else if("string"==typeof n)this.setValue(e,n);else if(Array.isArray(n)){let t=null;for(const o of n)if("string"==typeof o)t=o;else{const{text:n,selector:i,not:r}=o;this.getElement(e)?.matches(i)!==Boolean(r)&&(t=n)}null!==t&&this.setValue(e,t)}else{const{text:t,selector:o,not:i}=n;this.getElement(e)?.matches(o)!==Boolean(i)&&this.setValue(e,t)}}static walk(e,t){const n=document.createNodeIterator(e, // eslint-disable-next-line no-bitwise -NodeFilter.SHOW_TEXT|NodeFilter.SHOW_ELEMENT);let o=n.nextNode();for(;o;)t(o),o=n.nextNode()}static translate(e){if(e.nodeType===Node.TEXT_NODE)return void f.textNode.translate(e);const t=e=>{for(const t of f.sensitiveTranslators)t.accepts(e)&&t.translate(e)};t(e),f.walk(e,t)}static translateCssMatches(){const e=f.map.get("*");if(e)for(const{selector:t,text:n}of e){const e=document.querySelector(t);e&&[...e.childNodes].filter((e=>e.nodeType===Node.TEXT_NODE)).forEach((e=>e.nodeValue=n))}}}u(f,"textNode",void 0),u(f,"title",void 0),u(f,"placeholder",void 0),u(f,"sensitiveTranslators",void 0),u(f,"map",void 0),u(f,"regex",void 0);f.textNode=new class extends f{constructor(){super(...arguments),u(this,"accepts",(e=>e.nodeType===Node.TEXT_NODE)),u(this,"getElement",(e=>e.parentElement))}},f.title=new class extends f{constructor(){super(...arguments),u(this,"getValue",(e=>e.getAttribute("title"))),u(this,"setValue",((e,t)=>{e.setAttribute("title",t)}))}},f.placeholder=new class extends f{constructor(){super(...arguments),u(this,"getValue",(e=>e.getAttribute("placeholder"))),u(this,"setValue",((e,t)=>{e.setAttribute("placeholder",t)}))}},f.sensitiveTranslators=[f.textNode,f.title,f.placeholder];const p=(0,r.defineComponentMetadata)({name:"i18n",displayName:"多语言",configurable:!1,entry:async()=>{const{getSelectedLanguage:e}=await Promise.resolve().then(n.bind(n,5185)),t=e();if(t===l.defaultLanguageCode)return;const{registerAndGetData:o}=await Promise.resolve().then(n.bind(n,3541)),[i,r]=o(`i18n.${t}`,new Map,[]);console.log(t,i.size,r.length),0===i.size&&0===r.length||(document.documentElement.setAttribute("lang",t),f.map=i,f.regex=r,f.translate(document.body),f.translateCssMatches(),(0,m.allMutations)((e=>{e.forEach((e=>{"childList"===e.type?(e.addedNodes.length>0&&f.translateCssMatches(),e.addedNodes.forEach((e=>{f.translate(e)}))):"characterData"===e.type?f.textNode.translate(e.target):"attributes"===e.type&&("title"===e.attributeName?f.title.translate(e.target):"placeholder"===e.attributeName&&f.placeholder.translate(e.target))}))})))},tags:[a.K.utils,a.K.experimental,a.K.general],description:{"zh-CN":"安装其他语言包可以更换界面语言, 机器翻译选择可以设定其他一些功能如`动态翻译`, `评论翻译`使用的翻译器. 机器翻译的选择不影响界面语言."},options:{language:{defaultValue:l.languageCodeToName[l.defaultLanguageCode],displayName:"界面语言选择",dropdownEnum:l.languageCodeToName},translator:{defaultValue:Object.keys(d.Ve)[0],displayName:"机器翻译选择",dropdownEnum:d.Qx}},hidden:!0,commitHash:"58c0b438ca2371e397f70466a91572cb2757b142",coreVersion:"2.10.7"});var b=n(5207),h=n(7509),g=n(68),v=n(6910),F=n(8948);const{checkComponentsUpdate:w,checkLastFeature:y,forceCheckUpdate:x,forceCheckUpdateAndReload:k,silentCheckUpdate:C}=F,A=(0,r.defineOptionsMetadata)({lastUpdateCheck:{displayName:"最后检查更新日期",defaultValue:0,hidden:!0},lastInstalledVersion:{displayName:"最后安装版本",defaultValue:"2.0.0",hidden:!0},localPortOverride:{displayName:"本地组件链接端口",defaultValue:"",hidden:!0},minimumDuration:{displayName:"更新间隔 (ms)",defaultValue:864e5},urls:{displayName:"更新链接",defaultValue:{components:{},plugins:{},styles:{}},hidden:!0},maxUpdateCount:{displayName:"单次最大更新量 (个)",defaultValue:4}}),E=(0,r.defineComponentMetadata)({name:v.UU,displayName:"自动更新器",description:{"zh-CN":"自动检查组件, 插件和样式的更新. (仅限从设置面板中安装的)"},tags:[a.K.utils],options:A,extraOptions:()=>Promise.resolve().then(n.bind(n,3048)).then((e=>e.default)),entry:async e=>{let{settings:{options:t}}=e;if((0,i.isIframe)())return F;const n=Number(new Date)-t.lastUpdateCheck>=t.minimumDuration,o=new g.Version(b.meta.version).greaterThan(new g.Version(t.lastInstalledVersion));return n?coreApis.lifeCycle.fullyLoaded((()=>C())):o&&coreApis.lifeCycle.fullyLoaded((()=>x())),F},plugin:{displayName:"自动更新器 - 功能扩展",description:{"zh-CN":"记录在设置面板中的功能安装/卸载数据供自动更新使用; 并在组件详情中支持手动检查该组件的更新."},setup:e=>{let{addData:t,addHook:o}=e;["components","plugins","styles"].forEach((e=>{o(`user${lodash.startCase(e)}.add`,{after:(t,n,o)=>{const{options:i}=(0,h.getComponentSettings)("autoUpdate"),r=i.urls[e][o.name];r?(r.url=n,r.lastUpdateCheck=Number(new Date),r.alwaysUpdate=(0,v.Du)(n)):i.urls[e][o.name]={url:n,lastUpdateCheck:Number(new Date),installTime:Number(new Date),alwaysUpdate:(0,v.Du)(n)}}}),o(`user${lodash.startCase(e)}.remove`,{after:t=>{const{options:n}=(0,h.getComponentSettings)("autoUpdate");n.urls[e][t.name]&&delete n.urls[e][t.name]}})})),t("settingsPanel.componentActions",(e=>{const{options:t}=(0,h.getComponentSettings)("autoUpdate");e.push((e=>{const o=t.urls.components[e.name];if(o)return{name:"checkUpdate",displayName:"检查更新",icon:(0,v.Du)(o.url)?"mdi-file-download-outline":"mdi-cloud-download-outline",visible:(0,h.isUserComponent)(e),title:o.url,action:async()=>{const{Toast:t}=await Promise.resolve().then(n.bind(n,4757)),o=t.info("检查更新中...","检查更新");o.message=await w({filterNames:[e.name],force:!0}),o.duration=3e3}}}))}));const i="mdi-cloud-sync-outline";t("launchBar.actions",(e=>{e.push({name:"updateAllFeaturesActions",getActions:async()=>[{name:"检查所有更新",description:"Check Updates",action:async()=>{const{Toast:e}=await Promise.resolve().then(n.bind(n,4757)),t=e.info("正在检查更新...","检查所有更新");await k(),t.close()},icon:i}]})})),t("settingsPanel.searchBarActions",(e=>{e.unshift({key:"updateFeatures",title:e=>{let{selectedComponents:t}=e;return t.length>0?"更新所选组件":"检查所有更新"},icon:"mdi-cloud-download-outline",run:async e=>{const t=e.selectedComponents.length>0?`确定要更新所选的 ${e.selectedComponents.length} 个组件吗?`:"确定要检查所有更新吗?";if(!window.confirm(t))return;const{Toast:o}=await Promise.resolve().then(n.bind(n,4757)),{isBuiltInComponent:i}=await Promise.resolve().then(n.bind(n,3230));if(0===e.selectedComponents.length){const e=o.info("正在检查更新...","检查所有更新");k(),await k(),e.close()}else e.selectedComponents.forEach((async e=>{let{name:t}=e;if(i(t))o.info("内置组件不能更新","检查更新",3e3);else{const e=o.info("检查更新中...","检查更新"),n=await w({filterNames:[t],force:!0});e.message=n,e.duration=3e3}}))}})})),(0,h.getGeneralSettings)().devMode&&t("launchBar.actions",(e=>{e.push({name:"updateLastFeatureActions",getActions:async()=>[{name:"检查最近更新的功能",description:"Check Last Update",action:async()=>{const{Toast:e}=await Promise.resolve().then(n.bind(n,4757)),t=e.info("正在检查更新...","检查最近更新的功能");await y(),t.close()},icon:i}]})}))}},commitHash:"58c0b438ca2371e397f70466a91572cb2757b142",coreVersion:"2.10.7"}),B=async()=>{const{cdnRoots:e}=await Promise.resolve().then(n.bind(n,7287)),{meta:t}=await Promise.resolve().then(n.bind(n,5207)),{getGeneralSettings:o}=await Promise.resolve().then(n.bind(n,7509));return`${e[o().cdnRoot](t.compilationInfo.branch)}dist/${t.originalFilename}`},D=(0,r.defineComponentMetadata)({name:"notifyNewVersion",displayName:"新版本提示",description:"定期检查脚本本体的更新, 并弹出提示.",tags:[a.K.utils],options:{lastUpdateCheck:{displayName:"最后检查更新日期",defaultValue:0,hidden:!0},minimumDuration:{displayName:"更新间隔 (ms)",defaultValue:864e5}},entry:async e=>{let{settings:{options:t}}=e;try{const{Version:e}=await Promise.resolve().then(n.bind(n,68)),{monkey:o}=await Promise.resolve().then(n.bind(n,572)),{meta:i}=await Promise.resolve().then(n.bind(n,5207)),{Toast:r}=await Promise.resolve().then(n.bind(n,4757)),{isDataSaveMode:a}=await Promise.resolve().then(n.bind(n,8566));if(a())return;const c=Number(new Date);if(c-t.lastUpdateCheck${m.versionString} 已发布. 查看详情`,"检查更新");(await p.element).querySelector(".view-details").addEventListener("click",(()=>{(async e=>{const{showDialog:t}=await Promise.resolve().then(n.bind(n,8618));t({title:"更新说明",content:()=>Promise.resolve().then(n.bind(n,7070)),contentProps:{content:e,updateUrl:await B()}})})(f)}))}catch(e){console.warn("[新版本提示] 检查更新时发生错误: ",e)}},commitHash:"58c0b438ca2371e397f70466a91572cb2757b142",coreVersion:"2.10.7"}),I=(0,r.defineOptionsMetadata)({originalComponentEnableState:{defaultValue:{},hidden:!0},keepDisabledComponents:{defaultValue:[],hidden:!0},keepEnabledComponents:{defaultValue:[],hidden:!0},bisectInitialState:{defaultValue:{},hidden:!0}});var S=n(6819),z=n(9724);const P=(0,r.defineComponentMetadata)({name:"bisector",displayName:"组件二等分",tags:[a.K.general,a.K.utils],hidden:!0,configurable:!1,entry:async e=>{let{settings:{options:t}}=e;const o=await Promise.resolve().then(n.bind(n,7079));o.setOptions(t),o.setConsole((0,z.useScopedConsole)("组件二等分")),unsafeWindow.addEventListener(S.LifeCycleEventTypes.ComponentsLoaded,(()=>{o.isRecover()&&o.recover()}))},options:I,plugin:{displayName:"组件二等分 - 功能扩展",setup:e=>{let{addData:t}=e;t("launchBar.actions",(e=>{e.push({name:"bisector-start",getActions:async()=>[{name:"开始 / 继续组件二等分",description:"Start / Continue component bisection",icon:"mdi-view-split-horizontal",action:async()=>{const e=await Promise.resolve().then(n.bind(n,7079));await e.start()}}]})}))}},commitHash:"58c0b438ca2371e397f70466a91572cb2757b142",coreVersion:"2.10.7"}),M=(0,r.defineComponentMetadata)({name:"compatibilities",displayName:"兼容性选项",configurable:!1,tags:[a.K.general],options:{disableOnBalh:{defaultValue:!1,displayName:'与 "解除 B 站区域限制" 互斥'}},entry:i.none,commitHash:"58c0b438ca2371e397f70466a91572cb2757b142",coreVersion:"2.10.7",description:(()=>{const e=n(5841);return{...Object.fromEntries(e.keys().map((t=>[t.match(/index\.(.+)\.md$/)[1],e(t)]))),"zh-CN":()=>Promise.resolve().then(n.t.bind(n,2090,17)).then((e=>e.default))}})()}),O=()=>[o.s,s,p,E,D,P,M],V=e=>O().some((t=>t.name===e))},9496:(e,t,n)=>{"use strict";n.r(t),n.d(t,{components:()=>d,componentsMap:()=>l,componentsTags:()=>c.K,defineComponentMetadata:()=>s.defineComponentMetadata,defineOptionMetadata:()=>s.defineOptionMetadata,defineOptionsMetadata:()=>s.defineOptionsMetadata,importComponent:()=>b,loadAllComponents:()=>v,loadAllUserComponents:()=>g,loadComponent:()=>h});var o=n(7509),i=n(6819),r=n(3202),a=n(3230),c=n(9514),s=n(2548);const l={},d=lodash.once((()=>{const e=(0,a.getBuiltInComponents)();return e.forEach((e=>l[e.name]=e)),e}))(),m=async e=>{if(!e.i18n)return;const{addI18nData:t}=await Promise.resolve().then(n.bind(n,5185));for(const[n,o]of Object.entries(e.i18n)){const{map:e=[],regex:i=[]}="function"==typeof o?await o():o;t(n,e,i)}},u=e=>`${e.name}.widget`,f=async e=>{if(e.widget){const t={...e.widget,name:u(e)},{addData:o}=await Promise.resolve().then(n.bind(n,3541)),{WidgetsPlugin:i}=await Promise.resolve().then(n.bind(n,6973));o(i,(n=>{if(n.find((e=>e.name===t.name)))return;const{urlInclude:o,urlExclude:i}=t;e.urlInclude&&(o?o.push(...e.urlInclude):t.urlInclude=[...e.urlInclude]),e.urlExclude&&(i?i.push(...e.urlExclude):t.urlExclude=[...e.urlExclude]),n.push(t)}))}},p={},b=e=>{if(!(e in p))throw new Error(`组件'${e}'未加载, 请确认拼写无误且组件已开启.`);return p[e]},h=async e=>{const{componentLoadTrace:t}=await Promise.resolve().then(n.bind(n,4258)),{matchUrlPattern:i}=await Promise.resolve().then(n.bind(n,8566)),{coreApis:r}=await Promise.resolve().then(n.bind(n,270));await t(e);const a=async()=>{f(e);const t=await e.entry({settings:(0,o.getComponentSettings)(e),metadata:e,coreApis:r});p[e.name]=t||{}};e.reload&&e.unload&&(0,o.addComponentListener)(e.name,(async t=>{if(!1!==e.configurable&&!(e.urlExclude&&e.urlExclude.some(i)||e.urlInclude&&e.urlInclude.every(lodash.negate(i))))if(e.name in p){if(t&&e.reload&&(e.reload(),e.widget&&f(e)),!t&&e.unload&&(e.unload(),e.widget)){const{getData:t}=await Promise.resolve().then(n.bind(n,3541)),{WidgetsPlugin:o}=await Promise.resolve().then(n.bind(n,6973)),[i]=t(o);if(i){const t=u(e),n=i.findIndex((e=>e.name===t));-1!==n&&i.splice(n,1)}}}else t&&await a()})),(0,o.isComponentEnabled)(e)&&await a()},g=async()=>{const{settings:e}=await Promise.resolve().then(n.bind(n,7509)),{loadFeatureCode:t}=await Promise.resolve().then(n.bind(n,5208));for(const[n,i]of Object.entries(e.userComponents)){const{code:e}=i;let r;try{r=t(e)}catch(e){console.error("从代码加载用户组件失败。代码可能有语法错误或代码执行时有抛出值。",{componentName:n,error:e});continue}o=r,d.push(o),l[o.name]=o}var o},v=async()=>{const e=(0,o.getGeneralSettings)(),{loadAllPlugins:t}=await Promise.resolve().then(n.bind(n,9814)),a=()=>t(d).then((()=>Promise.all(d.map(m)))).then((()=>Promise.all(d.map(h)))).then((async()=>{if(e.devMode){const{componentLoadTime:e,componentResolveTime:t}=await Promise.resolve().then(n.bind(n,4258)),{logStats:o}=await Promise.resolve().then(n.bind(n,2218));o("components block",e),o("components resolve",t)}}));return new Promise(((t,n)=>{e.scriptLoadingMode===r.LoadingMode.Delay?(0,i.fullyLoaded)((()=>a().then(t).catch(n))):e.scriptLoadingMode===r.LoadingMode.Race&&(0,i.contentLoaded)((()=>a().then(t).catch(n)))}))}},2548:(e,t,n)=>{"use strict";n.r(t),n.d(t,{defineComponentMetadata:()=>r,defineOptionMetadata:()=>o,defineOptionsMetadata:()=>i});const o=e=>e,i=e=>e,r=e=>e},8677:(e,t,n)=>{"use strict";n.r(t),n.d(t,{getDescriptionHTML:()=>c,getDescriptionMarkdown:()=>a,getDescriptionText:()=>s});var o=n(8507),i=n.n(o),r=n(5185);const a=async e=>{const{description:t,author:n}=e;return(n?Array.isArray(n)?`by ${n.map((e=>`[@${e.name}](${e.link})`)).join(",")}\n\n`:`by [@${n.name}](${n.link})\n\n`:"")+await(async()=>{if(!t)return"暂无描述.";const e=async e=>"string"==typeof e?e:e();if("object"==typeof t){const n=(0,r.getSelectedLanguage)();return e(t[n]??t["zh-CN"])}return e(t)})()},c=async e=>i()(await a(e)),s=async e=>{const t=await c(e),n=document.createElement("div");return n.innerHTML=t,n.innerText}},5185:(e,t,n)=>{"use strict";n.d(t,{addI18nData:()=>a,getSelectedLanguage:()=>c});var o=n(3541),i=n(7509),r=n(8372);const a=(e,t,n)=>{(0,o.addData)(`i18n.${e}`,((e,o)=>{t?.forEach((t=>{let[n,o]=t;return e.set(n,o)})),n&&o.push(...n)}))},c=()=>{const e=(0,i.getComponentSettings)("i18n");return(0,r.languageNameToCode)(e.options.language)}},8484:(e,t,n)=>{"use strict";n.d(t,{Qx:()=>f,Ve:()=>u,tI:()=>p});var o=n(572),i=n(6623),r=n(7509),a=n(8372),c=n(3541),s=n(8566);function l(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!=typeof o)return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}class d{constructor(){l(this,"name",void 0),l(this,"link",void 0),l(this,"defaultLanguage",void 0)}getTargetLanguage(){const e=(0,r.getComponentSettings)("i18n");return e.enabled?(0,a.languageNameToCode)(e.options.language):this.defaultLanguage}toString(){return this.name}}class m extends d{constructor(){super(...arguments),l(this,"name","Google"),l(this,"link","https://translate.google.com/"),l(this,"defaultLanguage","zh"),l(this,"apiUrl","https://translate.google.com/translate_a/single")}async translate(e){let t=this.getTargetLanguage();t.includes("-")&&t!==this.defaultLanguage&&(t=t.substring(0,t.indexOf("-")));try{const n=await(0,o.monkey)({url:`${this.apiUrl}?${(0,s.formData)({client:"gtx",sl:"auto",tl:t,dt:"t",q:encodeURIComponent(e)})}`,method:"GET",headers:{"User-Agent":i.UserAgent},responseType:"json"});return n[0].map((e=>e[0])).join("")}catch(e){throw console.error("Translator: Google",e),new Error("调用Google翻译失败.")}}}const[u]=(0,c.registerAndGetData)("i18n.machineTranslators",{GoogleCN:new class extends m{constructor(){super(...arguments),l(this,"name","GoogleCN"),l(this,"link","https://translate.google.cn/"),l(this,"apiUrl","https://translate.google.cn/translate_a/single")}},Google:new m}),f=Object.keys(u),p=()=>{const{options:{translator:e}}=(0,r.getComponentSettings)("i18n");return u[e]||u.GoogleCN}},2817:(e,t,n)=>{"use strict";n.d(t,{C9:()=>c,ri:()=>a});var o=n(5959);const i="search_history:search_history",r=async function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:i;const t=await o.crossOriginLocalStorage.getItem(e);return t?JSON.parse(t):[]},a=async function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i;console.log("add",e),await o.crossOriginLocalStorage.setItem(t,JSON.stringify(lodash.sortBy(lodash.uniqBy([{value:e,timestamp:Number(new Date)},...await r()],(e=>e.value)),(e=>e.timestamp)).reverse().slice(0,20)))},c={name:"history",getActions:async()=>{const{search:e}=await Promise.resolve().then(n.bind(n,4873)),t={name:"清除搜索历史",icon:"mdi-trash-can-outline",description:"Clear History",explicitSelect:!0,action:async()=>{await function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:i;return o.crossOriginLocalStorage.setItem(e,"[]")}()}},a=(await r()).map((t=>({name:t.value,icon:"mdi-history",explicitSelect:!0,suggestName:t.value,action:()=>{e(t.value)},deleteAction:async()=>{await async function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i;const n=await r(),a=n.findIndex((t=>t.value===e));console.log("delete",e,a),-1!==a&&(n.splice(a,1),await o.crossOriginLocalStorage.setItem(t,JSON.stringify(n)))}(t.value)}})));return a.length>0&&a.push(t),a}}},1167:(e,t,n)=>{"use strict";n.d(t,{LaunchBarActionProviders:()=>o});const o="launchBar.actions"},4873:(e,t,n)=>{"use strict";n.d(t,{k:()=>c,search:()=>a});var o=n(8566),i=n(572),r=n(2817);const a=e=>{if(!e)return;(0,r.ri)(e);const t={keyword:e,from_source:"nav_suggest_new"};window.open(`https://search.bilibili.com/all?${new URLSearchParams(t)}`,"_blank")},c={name:"search",getActions:async e=>{const t=`https://s.search.bilibili.com/main/suggest?func=suggest&suggest_type=accurate&sub_type=tag&main_ver=v1&highlight=&userid=${(0,o.getUID)()}&bangumi_acc_num=1&special_acc_num=1&topic_acc_num=1&upuser_acc_num=3&tag_num=10&special_num=10&bangumi_num=10&upuser_num=3&term=${e}`,n=await(0,i.getJson)(t),r=[{name:e,icon:"search",content:async()=>Vue.extend({render:t=>t("div",{class:"suggest-highlight"},[e])}),action:()=>a(e)}];if(0!==n.code)return r;const c=lodash.get(n,"result.tag");return c?(r.push(...c.map((t=>({name:`${e}.${t.value}`,icon:"search",suggestName:t.value,content:async()=>Vue.extend({render:e=>e("div",{domProps:{innerHTML:t.name.replace(/suggest_high_light/g,"suggest-highlight")}})}),action:()=>a(t.value)})))),lodash.uniqBy(r,(e=>e.name))):r}}},7489:(e,t,n)=>{"use strict";n.d(t,{toggleLaunchBar:()=>h});var o=n(8566),i=function(){var e=this,t=e._self._c,n=e._self._setupProxy;return t(n.VPopup,{staticClass:"global-launch-bar-container",attrs:{lazy:!1,fixed:""},on:{"!keydown":function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"esc",27,t.key,["Esc","Escape"])?null:n.close()}},model:{value:n.show,callback:function(e){n.show=e},expression:"show"}},[t(n.LaunchBar,{ref:"launchBar",on:{close:function(e){return n.close()}}})],1)};i._withStripped=!0;var r=n(3654),a=n(9495),c=n(8471);const s=(0,r.defineComponent)({__name:"GlobalLaunchBar",setup(e,t){let{expose:n}=t;const o=(0,r.ref)(),i=(0,r.ref)(!0),s=()=>{const e=o.value?.input;e?.focus(),e?.select()};return(0,r.watch)(i,(e=>{e&&s()})),(0,r.onMounted)((async()=>{await(0,r.nextTick)(),s()})),n({show:i}),{__sfc:!0,launchBar:o,show:i,focus:s,close:()=>{i.value=!1;const e=o.value?.input;e?.blur()},VPopup:a.default,LaunchBar:c.A}}});var l=n(6991),d=n.n(l),m=n(2703),u=n.n(m),f={insert:"head",singleton:!1};d()(u(),f);u().locals;const p=(0,n(8678).A)(s,i,[],!1,null,null,null).exports;let b;const h=()=>{if(!b)return b=(0,o.mountVueComponent)(p),void document.body.append(b.$el);b.show=!b.show}},3335:(e,t,n)=>{"use strict";n.d(t,{W:()=>o});let o=function(e){return e.Left="左侧",e.Right="右侧",e}({})},5170:(e,t,n)=>{"use strict";n.r(t),n.d(t,{map:()=>o});const o=new Map([["通用设置","General"],["实验性","Experimental"],["通用","General"],["开发者模式","Dev mode"],["辅助颜色","Accent color"],["功能加载模式","Script loading mode"],["样式加载模式","Style loading mode"]])},6973:(e,t,n)=>{"use strict";n.d(t,{WidgetsPlugin:()=>b,s:()=>g});var o=n(8566),i=n(3202),r=n(9219),a=n(7287),c=n(7509),s=n(4780),l=n(9514),d=n(2548),m=n(3541),u=n(1167),f=n(2439);var p=n(3335);const b="widgets",h=(0,d.defineOptionsMetadata)({themeColor:{defaultValue:"#00A0D8",displayName:"主题颜色",color:!0},scriptLoadingMode:{defaultValue:i.LoadingMode.Delay,displayName:"功能加载模式",dropdownEnum:i.LoadingMode},styleLoadingMode:{defaultValue:i.LoadingMode.Race,displayName:"样式加载模式",dropdownEnum:i.LoadingMode},textColor:{defaultValue:r.TextColor.Auto,displayName:"文本颜色",dropdownEnum:r.TextColor},cdnRoot:{defaultValue:a.CdnTypes.AltCdn,displayName:"更新源",dropdownEnum:a.CdnTypes},dockSide:{defaultValue:p.W.Left,displayName:"设置面板停靠",dropdownEnum:p.W},filenameFormat:{defaultValue:"[title][ - ep]",displayName:"文件命名格式",multiline:!0},batchFilenameFormat:{defaultValue:"[n - ][ep]",displayName:"批量命名格式",multiline:!0},downloadPackageEmitMode:{defaultValue:s.p.Packed,displayName:"文件下载模式",dropdownEnum:s.p},devMode:{defaultValue:!1,displayName:"开发者模式"}}),g=(0,d.defineComponentMetadata)({name:"settingsPanel",displayName:"通用设置",configurable:!1,entry:async e=>{let{metadata:t}=e;const{isIframe:i}=await Promise.resolve().then(n.bind(n,8566));i()||((0,c.addComponentListener)(`${t.name}.dockSide`,(e=>{document.body.classList.toggle("settings-panel-dock-right",e===p.W.Right)}),!0),requestIdleCallback((async()=>{const e=await Promise.resolve().then(n.bind(n,7134)),t=(0,o.mountVueComponent)(e);document.body.insertAdjacentElement("beforeend",t.$el)})))},options:h,tags:[l.K.general],plugin:{displayName:"设置面板 - 功能扩展",setup:()=>{(0,m.addData)(u.LaunchBarActionProviders,(e=>{e.push({name:"onlineRegistry",getActions:async()=>[{name:"切换在线仓库",description:"Toggle Online Registry",icon:"mdi-web",action:async()=>{const{togglePopup:e}=await Promise.resolve().then(n.bind(n,8233));e()}}]},{name:"aboutPageActionsProvider",getActions:async()=>f.a.map((e=>e.actionName?{name:e.name,displayName:e.displayName,icon:e.icon,description:e.actionName,action:()=>e.run()}:null)).filter((e=>null!==e))})}))}},commitHash:"58c0b438ca2371e397f70466a91572cb2757b142",coreVersion:"2.10.7",description:(()=>{const e=n(3851);return{...Object.fromEntries(e.keys().map((t=>[t.match(/index\.(.+)\.md$/)[1],e(t)]))),"zh-CN":()=>Promise.resolve().then(n.t.bind(n,9488,17)).then((e=>e.default))}})(),i18n:(()=>{const e=n(7527);return{...Object.fromEntries(e.keys().map((t=>[t.match(/index\.(.+)\.ts$/)[1],e(t)])))}})()})},974:(e,t,n)=>{"use strict";n.d(t,{I:()=>i,W:()=>r});var o=n(7509);const i=Vue.extend({props:{componentData:{type:Object,required:!0}},data(){return{settings:(0,o.getComponentSettings)(this.componentData)}}}),r=e=>Vue.extend({data:()=>({virtual:!1}),async mounted(){const{dq:t}=await Promise.resolve().then(n.bind(n,8566)),{visibleInside:o}=await Promise.resolve().then(n.bind(n,7356)),i=this.$el,r=t(e);r?o(i,r,"150% 0px",(e=>{e.forEach((e=>{this.virtual=!e.isIntersecting}))})):console.warn("virtual container not found, virtual scroll will be disabled!")}})},2439:(e,t,n)=>{"use strict";n.d(t,{a:()=>r});var o=n(3541);const i=[{icon:"mdi-inbox-arrow-up-outline",name:"exportSettings",displayName:"导出设置",actionName:"Export Settings",run:async()=>{const{settings:e}=await Promise.resolve().then(n.bind(n,7509)),{DownloadPackage:t}=await Promise.resolve().then(n.bind(n,862));t.single("settings.json",JSON.stringify(e,void 0,2))}},{icon:"mdi-inbox-arrow-down-outline",name:"importSettings",displayName:"导入设置",actionName:"Import Settings",run:async()=>{const{logError:e}=await Promise.resolve().then(n.bind(n,9724)),{pickFile:t}=await Promise.resolve().then(n.bind(n,7195)),{Toast:o}=await Promise.resolve().then(n.bind(n,4757)),i=await t({accept:"*.json"});if(0===i.length)return;const[r]=i;try{const e=JSON.parse(await r.text());Object.entries(e).forEach((e=>{let[t,n]=e;GM_setValue(t,n)})),o.success("导入成功, 正在刷新页面...","导入设置"),window.location.reload()}catch(t){e(t)}}}],[r]=(0,o.registerAndGetData)("settingsPanel.about.actions",i)},8233:(e,t,n)=>{"use strict";n.d(t,{f:()=>N,togglePopup:()=>q});var o=n(8566),i=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("VPopup",{staticClass:"online-registry be-settings-extra-options",attrs:{fixed:"","auto-close":!1},model:{value:e.popupOpen,callback:function(t){e.popupOpen=t},expression:"popupOpen"}},[t("div",{staticClass:"online-registry-header"},[t("VIcon",{staticClass:"online-registry-header-title-icon",attrs:{icon:"mdi-web"}}),e._v(" "),t("div",{staticClass:"online-registry-header-title"},[e._v("在线仓库")]),e._v(" "),t("VIcon",{staticClass:"online-registry-header-refresh-icon",attrs:{icon:"mdi-refresh",size:22,title:"刷新"},on:{click:function(t){return e.fetchFeatures()}}}),e._v(" "),t("VIcon",{staticClass:"online-registry-header-close-icon",attrs:{icon:"mdi-close",size:24,title:"关闭"},on:{click:function(t){e.popupOpen=!1}}})],1),e._v(" "),t("div",{staticClass:"online-registry-header"},[t("div",{staticClass:"online-registry-header-search"},[t("VIcon",{attrs:{icon:"search",size:18}}),e._v(" "),t("TextBox",{attrs:{disabled:e.loading,placeholder:"搜索功能"},model:{value:e.searchKeyword,callback:function(t){e.searchKeyword=t},expression:"searchKeyword"}})],1),e._v(" "),t("div",{staticClass:"online-registry-header-branch"},[e._v("\n 分支:\n "),t("VDropdown",{attrs:{disabled:e.loading,items:e.registryBranches},scopedSlots:e._u([{key:"item",fn:function({item:t}){return[e._v("\n "+e._s(t)+"\n ")]}}]),model:{value:e.selectedBranch,callback:function(t){e.selectedBranch=t},expression:"selectedBranch"}})],1),e._v(" "),t("div",{staticClass:"online-registry-header-filter"},[e._v("\n 查看:\n "),e._l(e.itemFilterOptions,(function(n){return t("RadioButton",{key:n.value,attrs:{group:"itemFilter",checked:e.itemFilter===n.value},on:{change:function(t){t&&(e.itemFilter=n.value)}}},[e._v("\n "+e._s(n.label)+"\n ")])}))],2)]),e._v(" "),t("div",{staticClass:"online-registry-separator"}),e._v(" "),t("div",{ref:"content",staticClass:"online-registry-content"},[e.loading?t("VLoading"):e._e(),e._v(" "),e.loading||e.filteredList.length?e._e():t("VEmpty"),e._v(" "),e._l(e.filteredList,(function(n){return t("RegistryItem",{key:n.name,ref:"items",refInFor:!0,attrs:{item:n,branch:e.selectedBranch,"item-filter":e.itemFilter},on:{refresh:e.checkInstalled}})}))],2)])};i._withStripped=!0;var r=n(572),a=n(7287),c=n(5207),s=n(7509),l=n(9724),d=n(2191),m=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("MiniToast",{staticClass:"online-registry-item-wrapper",class:{virtual:e.virtual,hidden:e.hidden},attrs:{placement:e.placement,container:"body",delay:[200,0],offset:[0,12]},scopedSlots:e._u([{key:"toast",fn:function(){return[e.item.description?t("ComponentDescription",{attrs:{"component-data":e.item}}):e._e()]},proxy:!0}])},[e.virtual?e._e():t("div",{staticClass:"online-registry-item"},[t("VIcon",{staticClass:"item-icon",attrs:{size:18,icon:e.icon}}),e._v(" "),t("div",{staticClass:"item-badge"},[e._v("\n "+e._s(e.badge)+"\n ")]),e._v(" "),t("div",{staticClass:"item-display-name"},[e._v("\n "+e._s(e.item.displayName)+"\n ")]),e._v(" "),t("div",{staticClass:"grow"}),e._v(" "),t("div",{staticClass:"item-action"},[e.installed?t("VButton",{staticClass:"reinstall-button",attrs:{title:"重新安装",disabled:e.installing},on:{click:function(t){e.install(e.getUrl(e.item))}}},[e._v("\n "+e._s(e.installing?"正在安装":"已安装")+"\n ")]):t("VButton",{staticClass:"install-button",attrs:{title:"安装",type:"primary",disabled:e.installing},on:{click:function(t){e.install(e.getUrl(e.item))}}},[t("VIcon",{attrs:{icon:"mdi-plus",size:15}}),e._v("\n "+e._s(e.installing?"正在安装":"安装")+"\n ")],1)],1)],1)])};m._withStripped=!0;var u=n(6460),f=n(7356),p=n(4754),b=n(3335);let h=function(e){return e.All="all",e.Installed="installed",e.NotInstalled="notInstalled",e}({});const g=(e,t)=>`${(0,a.cdnRoots[(0,s.getGeneralSettings)().cdnRoot])(t,e.owner)}${e.fullAbsolutePath}`,v=e=>{const t=`user${lodash.startCase(e.type)}s`;return e.name in s.settings[t]},F={component:{icon:"mdi-cube-scan",badge:"组件",getUrl:g,isInstalled:v},plugin:{icon:"mdi-puzzle-outline",badge:"插件",getUrl:g,isInstalled:v},style:{icon:"mdi-tune",badge:"样式",getUrl:g,isInstalled:v},pack:{icon:"mdi-package-variant-closed",badge:"合集包",getUrl:(e,t)=>e.items.map((e=>g(e,t))).join("\n"),isInstalled:e=>e.items.every(v)}},w=Vue.extend({components:{VIcon:d.VIcon,VButton:d.VButton,MiniToast:d.MiniToast,ComponentDescription:p.A},props:{item:{type:Object,required:!0},branch:{type:String,required:!0},itemFilter:{type:String,default:h.All}},data(){const{icon:e,badge:t,getUrl:n,isInstalled:o}=F[this.item.type];return{icon:e,badge:t,getUrl:e=>n(e,this.branch),isInstalled:o,installing:!1,installed:!1,virtual:!1,placement:"right"}},computed:{hidden(){switch(this.itemFilter){case h.All:default:return!1;case h.Installed:return!this.installed;case h.NotInstalled:return this.installed}}},created(){this.checkInstalled(),(0,s.addComponentListener)("settingsPanel.dockSide",(e=>{this.placement=e===b.W.Left?"right":"left"}),!0)},mounted(){const e=this.$el;(0,f.visibleInside)(e,e.parentElement,"150% 0px",(e=>{e.forEach((e=>{this.virtual=!e.isIntersecting}))}))},methods:{checkInstalled(){this.installed=this.isInstalled(this.item)},async install(e){const t=e.split("\n").map((e=>e.trim())).filter((e=>""!==e));try{this.installing=!0,await Promise.all(t.map((async e=>(0,u.installFeature)(e)))),this.checkInstalled(),"pack"===this.item.type&&this.$emit("refresh")}catch(e){(0,l.logError)(e)}finally{this.installing=!1}}}});var y=n(6991),x=n.n(y),k=n(9906),C=n.n(k),A={insert:"head",singleton:!1};x()(C(),A);C().locals;var E=n(8678);const B=(0,E.A)(w,m,[],!1,null,null,null).exports;var D=n(3541);const[I]=(0,D.registerAndGetData)("settingsPanel.registryBranches",["master","preview"]);var S=n(8677);const z=(0,s.getGeneralSettings)();function P(e){e?(this.filteredList=this.list.filter((t=>[t.name,t.displayName,t.descriptionText].join("\n").toLowerCase().includes(e))),this.$nextTick().then((()=>this.$refs.content.scrollTo(0,0)))):this.filteredList=this.list}const M=[{label:"全部",value:h.All},{label:"已安装",value:h.Installed},{label:"未安装",value:h.NotInstalled}],O=Vue.extend({components:{VIcon:d.VIcon,VDropdown:d.VDropdown,TextBox:d.TextBox,VPopup:d.VPopup,RegistryItem:B,VLoading:d.VLoading,VEmpty:d.VEmpty,RadioButton:d.RadioButton},props:{open:{default:!1,type:Boolean}},data(){const e=[z.registryBranch,c.meta.compilationInfo.branch,I[0]].filter((e=>I.includes(e)&&Boolean(e)));return{searchKeyword:"",popupOpen:!1,loading:!1,list:[],itemFilter:h.All,itemFilterOptions:M,filteredList:[],registryBranches:I,selectedBranch:e[0]}},watch:{searchKeyword:lodash.debounce(P,200),selectedBranch(e){z.registryBranch=e,this.fetchFeatures()}},mounted(){this.fetchFeatures()},methods:{async fetchFeatures(){if(this.loading)return;const e=a.cdnRoots[z.cdnRoot](this.selectedBranch);try{this.loading=!0,this.list=[],this.filteredList=[];const t=`${e}doc/features/features.json`,n=`${e}doc/features/pack/pack.json`,o=await(0,r.monkey)({url:t,responseType:"json"}),i=await(0,r.monkey)({url:n,responseType:"json"});if(!Array.isArray(o)||!Array.isArray(i))throw console.error("Fetch failed:",o,i,t,n),new Error("获取在线仓库数据失败, 请尝试在通用设置中设置其他更新源, 然后再试一次.");this.list=await Promise.all([...i,...o].map((async e=>({...e,descriptionText:await(0,S.getDescriptionText)(e)})))),console.log(this.list),P.call(this,this.searchKeyword)}catch(e){(0,l.logError)(e)}finally{this.loading=!1}},checkInstalled(){this.$refs.items?.forEach((e=>e.checkInstalled()))}}});var V=n(8292),T=n.n(V),L={insert:"head",singleton:!1};x()(T(),L);T().locals;const R=(0,E.A)(O,i,[],!1,null,null,null).exports;let j;const N=()=>{j||(j=(0,o.mountVueComponent)(R),document.body.append(j.$el))},q=()=>{j||N(),j.popupOpen=!j.popupOpen}},9514:(e,t,n)=>{"use strict";n.d(t,{K:()=>o});const o={video:{name:"video",displayName:"视频",color:"#2196F3",icon:"mdi-play-circle-outline",order:1},style:{name:"style",displayName:"样式",color:"#8BC34A",icon:"mdi-palette-outline",order:2},feeds:{name:"feeds",displayName:"动态",color:"#00ACC1",icon:"mdi-pinwheel-outline",order:3},live:{name:"live",displayName:"直播",color:"#26A69A",icon:"mdi-video-wireless-outline",order:4},utils:{name:"utils",displayName:"工具",color:"#A36FFD",icon:"mdi-rocket-launch-outline",order:5},touch:{name:"touch",displayName:"触摸",color:"#78909C",icon:"mdi-gesture-tap-button",order:6},experimental:{name:"experimental",displayName:"实验",color:"#FF5722",icon:"mdi-flask-outline",order:7},general:{name:"general",displayName:"通用",color:"#888",icon:"mdi-progress-wrench",order:8}}},8158:(e,t,n)=>{"use strict";n.r(t),n.d(t,{bisectComponent:()=>d,installComponent:()=>c,toggleComponent:()=>l,uninstallComponent:()=>s});var o=n(7509),i=n(3230),r=n(9496),a=n(7079);const c=async e=>{const{components:t}=await Promise.resolve().then(n.bind(n,9496)),{loadFeatureCode:a}=await Promise.resolve().then(n.bind(n,7755));let c;try{c=a(e)}catch(e){throw new Error("无效的组件代码",{cause:e})}const{settings:s}=await Promise.resolve().then(n.bind(n,7509));if((0,i.isBuiltInComponent)(c.name))throw new Error(`不能覆盖内置组件'${c.name}', 请更换名称`);const l={...lodash.omit(c,"entry","widget","instantStyles","reload","unload","plugin","urlInclude","urlExclude")},d=s.userComponents[c.name];if(d){d.code=e,d.metadata=l;const t=(0,o.componentToSettings)(c);return lodash.defaultsDeep(d.settings.options,lodash.pickBy(t.options,((e,t)=>!Array.isArray(e)||void 0===lodash.get(d.settings.options,t)))),{metadata:c,message:`已更新组件'${c.displayName}', 刷新后生效`}}return s.userComponents[c.name]={code:e,metadata:l,settings:(0,o.componentToSettings)(c)},t.push(c),r.componentsMap[c.name]=c,{metadata:c,message:`已安装组件'${c.displayName}', 刷新后生效`}},s=async e=>{const{settings:t}=await Promise.resolve().then(n.bind(n,7509)),{components:o}=await Promise.resolve().then(n.bind(n,9496)),i=Object.entries(t.userComponents).find((t=>{let[n,{metadata:{displayName:o}}]=t;return n===e||o===e}));if(!i)throw new Error(`没有找到与名称'${e}'相关联的组件`);const[a,{metadata:c,settings:s}]=i,l=o.findIndex((e=>e.name===a));if(-1!==l){const{instantStyles:e}=o[l];if(e){const{removeInstantStyle:t}=await Promise.resolve().then(n.bind(n,997));e.forEach((e=>t(e)))}s.enabled=!1,o.splice(l,1),delete r.componentsMap[a]}return delete t.userComponents[a],{metadata:c,message:`已卸载组件'${c.displayName}, 刷新后生效'`}},l=async e=>{const{settings:t}=await Promise.resolve().then(n.bind(n,7509)),o=Object.entries(t.userComponents).find((t=>{let[n,{metadata:{displayName:o}}]=t;return n===e||o===e}));if(!o)throw new Error(`没有找到与名称'${e}'相关联的组件`);const[,i]=o;i.settings.enabled=!i.settings.enabled;const{enabled:r}=i.settings,{displayName:a}=i.metadata;return`已${r?"开启":"关闭"}组件'${a}', 可能需要刷新后才能生效`},d=async e=>(e&&a.setOptions(e),a)},4167:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{updateCategories:()=>updateCategories,updateIcons:()=>updateIcons});var _core_ajax__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(572),_core_download__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(862);const updateCategories=async()=>{const[script]=dqa("script").filter((e=>e.src.includes("stardust-video")));if(!script)throw new Error("no script found");const scriptText=await(0,_core_ajax__WEBPACK_IMPORTED_MODULE_0__.getText)(script.src),match=scriptText.match(/([\w]+?=\[\{name:"首页".+?\}.+?\]),[\w]+?=\[\{name:"首頁"/);if(!match)throw new Error("no match in script");const variables=match[1].match(/(\w+?)(?==\[)/g),data=eval(`var ${match[1]}; [${variables.join(",")}]`);_core_download__WEBPACK_IMPORTED_MODULE_1__.DownloadPackage.single("raw.json",data)},updateIcons=()=>{const e=dqa(".bili-header-channel-panel svg");if(0===e.length)throw new Error("svg icons not found");const t=document.createElementNS("http://www.w3.org/2000/svg","svg");t.setAttribute("aria-hidden","true"),t.setAttribute("style","position: absolute; width: 0px; height: 0px; overflow: hidden;"),t.id="be-category-icons",e.forEach((e=>{const n=document.createElementNS("http://www.w3.org/2000/svg","symbol");n.innerHTML=e.innerHTML,n.id=e.id.replace(/^channel-icon-/,"header-icon-")||`header-icon-${e.parentElement?.href.match(/\/v\/(.+)$/)?.[1]}`,"header-icon-teleplay"===n.id&&(n.id="header-icon-tv"),n.id||console.warn("cannot find id for",e),n.setAttribute("viewBox",e.getAttribute("viewBox")),t.appendChild(n)})),_core_download__WEBPACK_IMPORTED_MODULE_1__.DownloadPackage.single("icons.svg",t.outerHTML)}},7306:(e,t,n)=>{"use strict";n.d(t,{playerPolyfill:()=>p});var o=n(7356),i=n(2499),r=n(8566);let a=function(e){return e.Normal="normal",e.WideScreen="wide",e.WebFullscreen="web",e.Fullscreen="full",e.Mini="mini",e}({});const c=async()=>{await(0,r.playerReady)();const e=await(0,i.select)(".bpx-player-container");if(!e)return void console.warn("[bpx player polyfill] bpxContainer not found");let t=a.Normal;(0,o.attributes)(e,(()=>{const n=e.getAttribute("data-screen"),o="player-mode-",i=[a.Normal,a.WideScreen,a.WebFullscreen,a.Fullscreen,a.Mini].map((e=>`${o}${e}`));document.body.classList.remove(...i),n!==a.Normal&&document.body.classList.add(`${o}${n}`),n!==t&&(window.dispatchEvent(new CustomEvent("playerModeChange",{detail:{mode:n,bubbles:!0,cancelable:!0}})),t=n)}))},s=lodash.once((async()=>{c()}));var l=n(8514);const d=lodash.once((()=>{l.bangumiUrls.some((e=>(0,r.matchUrlPattern)(e)))||unsafeWindow.aid||unsafeWindow.cid||(async()=>{const e=await(0,i.select)((()=>unsafeWindow.player));if(!e?.getVideoMessage)return;const{useScopedConsole:t}=await Promise.resolve().then(n.bind(n,9724)),r=t("v2 player polyfill");(0,o.allMutations)((()=>{const t=e.getVideoMessage();if(!t)return void r.warn("invalid getUserParams data");const n={aid:t.aid.toString(),cid:t.cid.toString(),bvid:t.bvid};Object.values(n).some((e=>""===e||parseInt(e)<=0))&&r.warn("invalid input data"),Object.assign(unsafeWindow,n)}))})()})),m=lodash.once((()=>{l.bangumiUrls.some((e=>(0,r.matchUrlPattern)(e)))||unsafeWindow.aid||unsafeWindow.cid||(async()=>{const e=await(0,i.select)((()=>unsafeWindow.player));if(!e?.getUserParams)return;const{useScopedConsole:t}=await Promise.resolve().then(n.bind(n,9724)),r=t("v3 player polyfill");(0,o.allMutations)((()=>{const{input:t}=e.getUserParams();if(!t)return void r.warn("invalid getUserParams data");const n={aid:t.aid.toString(),cid:t.cid.toString(),bvid:t.bvid};Object.values(n).some((e=>""===e||parseInt(e)<=0))&&r.warn("invalid input data"),Object.assign(unsafeWindow,n)}))})()})),u=e=>{if(""===e)return!1;const t=parseInt(e);return!!Number.isNaN(t)||t>0},f=lodash.once((()=>{unsafeWindow.aid||unsafeWindow.cid||(async()=>{const e=await(0,i.select)((()=>unsafeWindow.player));if(!e?.getManifest)return;const{useScopedConsole:t}=await Promise.resolve().then(n.bind(n,9724)),a=t("v4 player polyfill");(0,o.allMutations)((()=>{const t=e.getManifest();if(!t)return void a.warn("invalid getManifest data");const n={aid:t.aid.toString(),cid:t.cid.toString(),bvid:t.bvid??""};(l.bangumiUrls.some((e=>(0,r.matchUrlPattern)(e)))?u(n.aid)&&u(n.cid):Object.values(n).every((e=>u(e))))||a.warn("invalid manifest data",n),Object.assign(unsafeWindow,n)}))})()})),p=lodash.once((()=>Promise.allSettled([s(),d(),m(),f()])))},9302:(e,t,n)=>{"use strict";n.r(t),n.d(t,{PlayerAgentEventTypes:()=>a,playerAgent:()=>h});var o=n(8514),i=n(2499),r=n(8566);let a=function(e){return e.Play="play",e.Pause="pause",e}({});function c(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!=typeof o)return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const s=e=>{const t=e=>"string"!=typeof e?lodash.mapValues(e,t):(e=>{const t=()=>(0,i.select)(e);return t.selector=e,t.sync=()=>dq(e),t})(e);return lodash.mapValues(e,t)},l=e=>{const t=e.sync();return t?.click(),t};class d extends EventTarget{constructor(){super(),c(this,"isBpxPlayer",!0),c(this,"type",void 0),c(this,"query",void 0),c(this,"eventHandlerMap",new Map)}provideCustomQuery(e){const t=s(e[this.type]??e.video);return{...this,custom:t}}widescreen(){return l(this.query.control.buttons.widescreen)}webFullscreen(){return l(this.query.control.buttons.webFullscreen)}fullscreen(){return l(this.query.control.buttons.fullscreen)}togglePlay(){return l(this.query.control.buttons.start)}togglePip(){return l(this.query.control.buttons.pip)}toggleMute(){return l(this.query.control.buttons.volume)}toggleDanmaku(){const e=this.query.danmakuSwitch.sync();return e?(e.checked=!e.checked,(0,r.raiseEvent)(e,"change"),e.checked):null}toggleSubtitle(){return l(this.query.control.buttons.subtitle)}async toggleLight(e){if(!this.nativeApi)return null;const t=this.nativeApi.getLightOff();return void 0===e?(this.nativeApi.setLightOff(!t),!t):e&&t?(this.nativeApi.setLightOff(!1),!0):e||t?null:(this.nativeApi.setLightOff(!0),!1)}getPlayerConfig(e,t){const n=this.isBpxPlayer?"bpx_player_profile":"bilibili_player_settings";return lodash.get(JSON.parse(localStorage.getItem(n)),e,t)}isAutoPlay(){return this.getPlayerConfig("video_status.autoplay")}get nativeApi(){return unsafeWindow.player||unsafeWindow.playerRaw}get nanoApi(){return unsafeWindow.nano}get nanoTypeMap(){return{[a.Play]:this.nanoApi.EventType.Player_Play,[a.Pause]:this.nanoApi.EventType.Player_Pause}}addEventListener(e,t,n){super.addEventListener(e,t,n);const o=this.nanoTypeMap[e];o?(e=>{"object"==typeof n&&n.once?this.nativeApi.once(e,t):this.nativeApi.on(e,t),this.eventHandlerMap.set(t,{handler:t,options:n})})(o):console.warn("[PlayerAgent] unknown event type",e)}removeEventListener(e,t,n){super.removeEventListener(e,t,n);const o=this.nanoTypeMap[e];o&&(e=>{const o=this.eventHandlerMap.get(t);o&&!lodash.isEqual(n,o.options)&&this.nativeApi.off(e,o.handler)})(o)}isMute(){return this.nativeApi?this.nativeApi.isMuted?this.nativeApi.isMuted():this.nativeApi.isMute():null}changeVolume(e){if(!this.nativeApi)return null;if(this.nativeApi.getVolume){const t=this.nativeApi.getVolume();return this.nativeApi.setVolume(t+e/100),Math.round(100*this.nativeApi.getVolume())}const t=this.nativeApi.volume();return this.nativeApi.volume(t+e/100),Math.round(100*this.nativeApi.volume())}seek(e){return this.nativeApi?(this.nativeApi.seek(e),this.nativeApi.getCurrentTime()):null}changeTime(e){if(!this.nativeApi)return null;const t=this.query.video.element.sync();return t?(this.nativeApi.seek(t.currentTime+e,t.paused),this.nativeApi.getCurrentTime()):null}} +NodeFilter.SHOW_TEXT|NodeFilter.SHOW_ELEMENT);let o=n.nextNode();for(;o;)t(o),o=n.nextNode()}static translate(e){if(e.nodeType===Node.TEXT_NODE)return void f.textNode.translate(e);const t=e=>{for(const t of f.sensitiveTranslators)t.accepts(e)&&t.translate(e)};t(e),f.walk(e,t)}static translateCssMatches(){const e=f.map.get("*");if(e)for(const{selector:t,text:n}of e){const e=document.querySelector(t);e&&[...e.childNodes].filter((e=>e.nodeType===Node.TEXT_NODE)).forEach((e=>e.nodeValue=n))}}}u(f,"textNode",void 0),u(f,"title",void 0),u(f,"placeholder",void 0),u(f,"sensitiveTranslators",void 0),u(f,"map",void 0),u(f,"regex",void 0);f.textNode=new class extends f{constructor(){super(...arguments),u(this,"accepts",(e=>e.nodeType===Node.TEXT_NODE)),u(this,"getElement",(e=>e.parentElement))}},f.title=new class extends f{constructor(){super(...arguments),u(this,"getValue",(e=>e.getAttribute("title"))),u(this,"setValue",((e,t)=>{e.setAttribute("title",t)}))}},f.placeholder=new class extends f{constructor(){super(...arguments),u(this,"getValue",(e=>e.getAttribute("placeholder"))),u(this,"setValue",((e,t)=>{e.setAttribute("placeholder",t)}))}},f.sensitiveTranslators=[f.textNode,f.title,f.placeholder];const p=(0,r.defineComponentMetadata)({name:"i18n",displayName:"多语言",configurable:!1,entry:async()=>{const{getSelectedLanguage:e}=await Promise.resolve().then(n.bind(n,5185)),t=e();if(t===l.defaultLanguageCode)return;const{registerAndGetData:o}=await Promise.resolve().then(n.bind(n,3541)),[i,r]=o(`i18n.${t}`,new Map,[]);console.log(t,i.size,r.length),0===i.size&&0===r.length||(document.documentElement.setAttribute("lang",t),f.map=i,f.regex=r,f.translate(document.body),f.translateCssMatches(),(0,m.allMutations)((e=>{e.forEach((e=>{"childList"===e.type?(e.addedNodes.length>0&&f.translateCssMatches(),e.addedNodes.forEach((e=>{f.translate(e)}))):"characterData"===e.type?f.textNode.translate(e.target):"attributes"===e.type&&("title"===e.attributeName?f.title.translate(e.target):"placeholder"===e.attributeName&&f.placeholder.translate(e.target))}))})))},tags:[a.K.utils,a.K.experimental,a.K.general],description:{"zh-CN":"安装其他语言包可以更换界面语言, 机器翻译选择可以设定其他一些功能如`动态翻译`, `评论翻译`使用的翻译器. 机器翻译的选择不影响界面语言."},options:{language:{defaultValue:l.languageCodeToName[l.defaultLanguageCode],displayName:"界面语言选择",dropdownEnum:l.languageCodeToName},translator:{defaultValue:Object.keys(d.Ve)[0],displayName:"机器翻译选择",dropdownEnum:d.Qx}},hidden:!0,commitHash:"d87d69cfb9d7e0124bd90a06fec4569bd61e02c5",coreVersion:"2.10.7"});var b=n(5207),h=n(7509),g=n(68),v=n(6910),F=n(8948);const{checkComponentsUpdate:w,checkLastFeature:y,forceCheckUpdate:x,forceCheckUpdateAndReload:k,silentCheckUpdate:C}=F,A=(0,r.defineOptionsMetadata)({lastUpdateCheck:{displayName:"最后检查更新日期",defaultValue:0,hidden:!0},lastInstalledVersion:{displayName:"最后安装版本",defaultValue:"2.0.0",hidden:!0},localPortOverride:{displayName:"本地组件链接端口",defaultValue:"",hidden:!0},minimumDuration:{displayName:"更新间隔 (ms)",defaultValue:864e5},urls:{displayName:"更新链接",defaultValue:{components:{},plugins:{},styles:{}},hidden:!0},maxUpdateCount:{displayName:"单次最大更新量 (个)",defaultValue:4}}),E=(0,r.defineComponentMetadata)({name:v.UU,displayName:"自动更新器",description:{"zh-CN":"自动检查组件, 插件和样式的更新. (仅限从设置面板中安装的)"},tags:[a.K.utils],options:A,extraOptions:()=>Promise.resolve().then(n.bind(n,3048)).then((e=>e.default)),entry:async e=>{let{settings:{options:t}}=e;if((0,i.isIframe)())return F;const n=Number(new Date)-t.lastUpdateCheck>=t.minimumDuration,o=new g.Version(b.meta.version).greaterThan(new g.Version(t.lastInstalledVersion));return n?coreApis.lifeCycle.fullyLoaded((()=>C())):o&&coreApis.lifeCycle.fullyLoaded((()=>x())),F},plugin:{displayName:"自动更新器 - 功能扩展",description:{"zh-CN":"记录在设置面板中的功能安装/卸载数据供自动更新使用; 并在组件详情中支持手动检查该组件的更新."},setup:e=>{let{addData:t,addHook:o}=e;["components","plugins","styles"].forEach((e=>{o(`user${lodash.startCase(e)}.add`,{after:(t,n,o)=>{const{options:i}=(0,h.getComponentSettings)("autoUpdate"),r=i.urls[e][o.name];r?(r.url=n,r.lastUpdateCheck=Number(new Date),r.alwaysUpdate=(0,v.Du)(n)):i.urls[e][o.name]={url:n,lastUpdateCheck:Number(new Date),installTime:Number(new Date),alwaysUpdate:(0,v.Du)(n)}}}),o(`user${lodash.startCase(e)}.remove`,{after:t=>{const{options:n}=(0,h.getComponentSettings)("autoUpdate");n.urls[e][t.name]&&delete n.urls[e][t.name]}})})),t("settingsPanel.componentActions",(e=>{const{options:t}=(0,h.getComponentSettings)("autoUpdate");e.push((e=>{const o=t.urls.components[e.name];if(o)return{name:"checkUpdate",displayName:"检查更新",icon:(0,v.Du)(o.url)?"mdi-file-download-outline":"mdi-cloud-download-outline",visible:(0,h.isUserComponent)(e),title:o.url,action:async()=>{const{Toast:t}=await Promise.resolve().then(n.bind(n,4757)),o=t.info("检查更新中...","检查更新");o.message=await w({filterNames:[e.name],force:!0}),o.duration=3e3}}}))}));const i="mdi-cloud-sync-outline";t("launchBar.actions",(e=>{e.push({name:"updateAllFeaturesActions",getActions:async()=>[{name:"检查所有更新",description:"Check Updates",action:async()=>{const{Toast:e}=await Promise.resolve().then(n.bind(n,4757)),t=e.info("正在检查更新...","检查所有更新");await k(),t.close()},icon:i}]})})),t("settingsPanel.searchBarActions",(e=>{e.unshift({key:"updateFeatures",title:e=>{let{selectedComponents:t}=e;return t.length>0?"更新所选组件":"检查所有更新"},icon:"mdi-cloud-download-outline",run:async e=>{const t=e.selectedComponents.length>0?`确定要更新所选的 ${e.selectedComponents.length} 个组件吗?`:"确定要检查所有更新吗?";if(!window.confirm(t))return;const{Toast:o}=await Promise.resolve().then(n.bind(n,4757)),{isBuiltInComponent:i}=await Promise.resolve().then(n.bind(n,3230));if(0===e.selectedComponents.length){const e=o.info("正在检查更新...","检查所有更新");k(),await k(),e.close()}else e.selectedComponents.forEach((async e=>{let{name:t}=e;if(i(t))o.info("内置组件不能更新","检查更新",3e3);else{const e=o.info("检查更新中...","检查更新"),n=await w({filterNames:[t],force:!0});e.message=n,e.duration=3e3}}))}})})),(0,h.getGeneralSettings)().devMode&&t("launchBar.actions",(e=>{e.push({name:"updateLastFeatureActions",getActions:async()=>[{name:"检查最近更新的功能",description:"Check Last Update",action:async()=>{const{Toast:e}=await Promise.resolve().then(n.bind(n,4757)),t=e.info("正在检查更新...","检查最近更新的功能");await y(),t.close()},icon:i}]})}))}},commitHash:"d87d69cfb9d7e0124bd90a06fec4569bd61e02c5",coreVersion:"2.10.7"}),B=async()=>{const{cdnRoots:e}=await Promise.resolve().then(n.bind(n,7287)),{meta:t}=await Promise.resolve().then(n.bind(n,5207)),{getGeneralSettings:o}=await Promise.resolve().then(n.bind(n,7509));return`${e[o().cdnRoot](t.compilationInfo.branch)}dist/${t.originalFilename}`},D=(0,r.defineComponentMetadata)({name:"notifyNewVersion",displayName:"新版本提示",description:"定期检查脚本本体的更新, 并弹出提示.",tags:[a.K.utils],options:{lastUpdateCheck:{displayName:"最后检查更新日期",defaultValue:0,hidden:!0},minimumDuration:{displayName:"更新间隔 (ms)",defaultValue:864e5}},entry:async e=>{let{settings:{options:t}}=e;try{const{Version:e}=await Promise.resolve().then(n.bind(n,68)),{monkey:o}=await Promise.resolve().then(n.bind(n,572)),{meta:i}=await Promise.resolve().then(n.bind(n,5207)),{Toast:r}=await Promise.resolve().then(n.bind(n,4757)),{isDataSaveMode:a}=await Promise.resolve().then(n.bind(n,8566));if(a())return;const c=Number(new Date);if(c-t.lastUpdateCheck${m.versionString} 已发布. 查看详情`,"检查更新");(await p.element).querySelector(".view-details").addEventListener("click",(()=>{(async e=>{const{showDialog:t}=await Promise.resolve().then(n.bind(n,8618));t({title:"更新说明",content:()=>Promise.resolve().then(n.bind(n,7070)),contentProps:{content:e,updateUrl:await B()}})})(f)}))}catch(e){console.warn("[新版本提示] 检查更新时发生错误: ",e)}},commitHash:"d87d69cfb9d7e0124bd90a06fec4569bd61e02c5",coreVersion:"2.10.7"}),I=(0,r.defineOptionsMetadata)({originalComponentEnableState:{defaultValue:{},hidden:!0},keepDisabledComponents:{defaultValue:[],hidden:!0},keepEnabledComponents:{defaultValue:[],hidden:!0},bisectInitialState:{defaultValue:{},hidden:!0}});var S=n(6819),z=n(9724);const P=(0,r.defineComponentMetadata)({name:"bisector",displayName:"组件二等分",tags:[a.K.general,a.K.utils],hidden:!0,configurable:!1,entry:async e=>{let{settings:{options:t}}=e;const o=await Promise.resolve().then(n.bind(n,7079));o.setOptions(t),o.setConsole((0,z.useScopedConsole)("组件二等分")),unsafeWindow.addEventListener(S.LifeCycleEventTypes.ComponentsLoaded,(()=>{o.isRecover()&&o.recover()}))},options:I,plugin:{displayName:"组件二等分 - 功能扩展",setup:e=>{let{addData:t}=e;t("launchBar.actions",(e=>{e.push({name:"bisector-start",getActions:async()=>[{name:"开始 / 继续组件二等分",description:"Start / Continue component bisection",icon:"mdi-view-split-horizontal",action:async()=>{const e=await Promise.resolve().then(n.bind(n,7079));await e.start()}}]})}))}},commitHash:"d87d69cfb9d7e0124bd90a06fec4569bd61e02c5",coreVersion:"2.10.7"}),M=(0,r.defineComponentMetadata)({name:"compatibilities",displayName:"兼容性选项",configurable:!1,tags:[a.K.general],options:{disableOnBalh:{defaultValue:!1,displayName:'与 "解除 B 站区域限制" 互斥'}},entry:i.none,commitHash:"d87d69cfb9d7e0124bd90a06fec4569bd61e02c5",coreVersion:"2.10.7",description:(()=>{const e=n(5841);return{...Object.fromEntries(e.keys().map((t=>[t.match(/index\.(.+)\.md$/)[1],e(t)]))),"zh-CN":()=>Promise.resolve().then(n.t.bind(n,2090,17)).then((e=>e.default))}})()}),O=()=>[o.s,s,p,E,D,P,M],V=e=>O().some((t=>t.name===e))},9496:(e,t,n)=>{"use strict";n.r(t),n.d(t,{components:()=>d,componentsMap:()=>l,componentsTags:()=>c.K,defineComponentMetadata:()=>s.defineComponentMetadata,defineOptionMetadata:()=>s.defineOptionMetadata,defineOptionsMetadata:()=>s.defineOptionsMetadata,importComponent:()=>b,loadAllComponents:()=>v,loadAllUserComponents:()=>g,loadComponent:()=>h});var o=n(7509),i=n(6819),r=n(3202),a=n(3230),c=n(9514),s=n(2548);const l={},d=lodash.once((()=>{const e=(0,a.getBuiltInComponents)();return e.forEach((e=>l[e.name]=e)),e}))(),m=async e=>{if(!e.i18n)return;const{addI18nData:t}=await Promise.resolve().then(n.bind(n,5185));for(const[n,o]of Object.entries(e.i18n)){const{map:e=[],regex:i=[]}="function"==typeof o?await o():o;t(n,e,i)}},u=e=>`${e.name}.widget`,f=async e=>{if(e.widget){const t={...e.widget,name:u(e)},{addData:o}=await Promise.resolve().then(n.bind(n,3541)),{WidgetsPlugin:i}=await Promise.resolve().then(n.bind(n,6973));o(i,(n=>{if(n.find((e=>e.name===t.name)))return;const{urlInclude:o,urlExclude:i}=t;e.urlInclude&&(o?o.push(...e.urlInclude):t.urlInclude=[...e.urlInclude]),e.urlExclude&&(i?i.push(...e.urlExclude):t.urlExclude=[...e.urlExclude]),n.push(t)}))}},p={},b=e=>{if(!(e in p))throw new Error(`组件'${e}'未加载, 请确认拼写无误且组件已开启.`);return p[e]},h=async e=>{const{componentLoadTrace:t}=await Promise.resolve().then(n.bind(n,4258)),{matchUrlPattern:i}=await Promise.resolve().then(n.bind(n,8566)),{coreApis:r}=await Promise.resolve().then(n.bind(n,270));await t(e);const a=async()=>{f(e);const t=await e.entry({settings:(0,o.getComponentSettings)(e),metadata:e,coreApis:r});p[e.name]=t||{}};e.reload&&e.unload&&(0,o.addComponentListener)(e.name,(async t=>{if(!1!==e.configurable&&!(e.urlExclude&&e.urlExclude.some(i)||e.urlInclude&&e.urlInclude.every(lodash.negate(i))))if(e.name in p){if(t&&e.reload&&(e.reload(),e.widget&&f(e)),!t&&e.unload&&(e.unload(),e.widget)){const{getData:t}=await Promise.resolve().then(n.bind(n,3541)),{WidgetsPlugin:o}=await Promise.resolve().then(n.bind(n,6973)),[i]=t(o);if(i){const t=u(e),n=i.findIndex((e=>e.name===t));-1!==n&&i.splice(n,1)}}}else t&&await a()})),(0,o.isComponentEnabled)(e)&&await a()},g=async()=>{const{settings:e}=await Promise.resolve().then(n.bind(n,7509)),{loadFeatureCode:t}=await Promise.resolve().then(n.bind(n,5208));for(const[n,i]of Object.entries(e.userComponents)){const{code:e}=i;let r;try{r=t(e)}catch(e){console.error("从代码加载用户组件失败。代码可能有语法错误或代码执行时有抛出值。",{componentName:n,error:e});continue}o=r,d.push(o),l[o.name]=o}var o},v=async()=>{const e=(0,o.getGeneralSettings)(),{loadAllPlugins:t}=await Promise.resolve().then(n.bind(n,9814)),a=()=>t(d).then((()=>Promise.all(d.map(m)))).then((()=>Promise.all(d.map(h)))).then((async()=>{if(e.devMode){const{componentLoadTime:e,componentResolveTime:t}=await Promise.resolve().then(n.bind(n,4258)),{logStats:o}=await Promise.resolve().then(n.bind(n,2218));o("components block",e),o("components resolve",t)}}));return new Promise(((t,n)=>{e.scriptLoadingMode===r.LoadingMode.Delay?(0,i.fullyLoaded)((()=>a().then(t).catch(n))):e.scriptLoadingMode===r.LoadingMode.Race&&(0,i.contentLoaded)((()=>a().then(t).catch(n)))}))}},2548:(e,t,n)=>{"use strict";n.r(t),n.d(t,{defineComponentMetadata:()=>r,defineOptionMetadata:()=>o,defineOptionsMetadata:()=>i});const o=e=>e,i=e=>e,r=e=>e},8677:(e,t,n)=>{"use strict";n.r(t),n.d(t,{getDescriptionHTML:()=>c,getDescriptionMarkdown:()=>a,getDescriptionText:()=>s});var o=n(8507),i=n.n(o),r=n(5185);const a=async e=>{const{description:t,author:n}=e;return(n?Array.isArray(n)?`by ${n.map((e=>`[@${e.name}](${e.link})`)).join(",")}\n\n`:`by [@${n.name}](${n.link})\n\n`:"")+await(async()=>{if(!t)return"暂无描述.";const e=async e=>"string"==typeof e?e:e();if("object"==typeof t){const n=(0,r.getSelectedLanguage)();return e(t[n]??t["zh-CN"])}return e(t)})()},c=async e=>i()(await a(e)),s=async e=>{const t=await c(e),n=document.createElement("div");return n.innerHTML=t,n.innerText}},5185:(e,t,n)=>{"use strict";n.d(t,{addI18nData:()=>a,getSelectedLanguage:()=>c});var o=n(3541),i=n(7509),r=n(8372);const a=(e,t,n)=>{(0,o.addData)(`i18n.${e}`,((e,o)=>{t?.forEach((t=>{let[n,o]=t;return e.set(n,o)})),n&&o.push(...n)}))},c=()=>{const e=(0,i.getComponentSettings)("i18n");return(0,r.languageNameToCode)(e.options.language)}},8484:(e,t,n)=>{"use strict";n.d(t,{Qx:()=>f,Ve:()=>u,tI:()=>p});var o=n(572),i=n(6623),r=n(7509),a=n(8372),c=n(3541),s=n(8566);function l(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!=typeof o)return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}class d{constructor(){l(this,"name",void 0),l(this,"link",void 0),l(this,"defaultLanguage",void 0)}getTargetLanguage(){const e=(0,r.getComponentSettings)("i18n");return e.enabled?(0,a.languageNameToCode)(e.options.language):this.defaultLanguage}toString(){return this.name}}class m extends d{constructor(){super(...arguments),l(this,"name","Google"),l(this,"link","https://translate.google.com/"),l(this,"defaultLanguage","zh"),l(this,"apiUrl","https://translate.google.com/translate_a/single")}async translate(e){let t=this.getTargetLanguage();t.includes("-")&&t!==this.defaultLanguage&&(t=t.substring(0,t.indexOf("-")));try{const n=await(0,o.monkey)({url:`${this.apiUrl}?${(0,s.formData)({client:"gtx",sl:"auto",tl:t,dt:"t",q:encodeURIComponent(e)})}`,method:"GET",headers:{"User-Agent":i.UserAgent},responseType:"json"});return n[0].map((e=>e[0])).join("")}catch(e){throw console.error("Translator: Google",e),new Error("调用Google翻译失败.")}}}const[u]=(0,c.registerAndGetData)("i18n.machineTranslators",{GoogleCN:new class extends m{constructor(){super(...arguments),l(this,"name","GoogleCN"),l(this,"link","https://translate.google.cn/"),l(this,"apiUrl","https://translate.google.cn/translate_a/single")}},Google:new m}),f=Object.keys(u),p=()=>{const{options:{translator:e}}=(0,r.getComponentSettings)("i18n");return u[e]||u.GoogleCN}},2817:(e,t,n)=>{"use strict";n.d(t,{C9:()=>c,ri:()=>a});var o=n(5959);const i="search_history:search_history",r=async function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:i;const t=await o.crossOriginLocalStorage.getItem(e);return t?JSON.parse(t):[]},a=async function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i;console.log("add",e),await o.crossOriginLocalStorage.setItem(t,JSON.stringify(lodash.sortBy(lodash.uniqBy([{value:e,timestamp:Number(new Date)},...await r()],(e=>e.value)),(e=>e.timestamp)).reverse().slice(0,20)))},c={name:"history",getActions:async()=>{const{search:e}=await Promise.resolve().then(n.bind(n,4873)),t={name:"清除搜索历史",icon:"mdi-trash-can-outline",description:"Clear History",explicitSelect:!0,action:async()=>{await function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:i;return o.crossOriginLocalStorage.setItem(e,"[]")}()}},a=(await r()).map((t=>({name:t.value,icon:"mdi-history",explicitSelect:!0,suggestName:t.value,action:()=>{e(t.value)},deleteAction:async()=>{await async function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i;const n=await r(),a=n.findIndex((t=>t.value===e));console.log("delete",e,a),-1!==a&&(n.splice(a,1),await o.crossOriginLocalStorage.setItem(t,JSON.stringify(n)))}(t.value)}})));return a.length>0&&a.push(t),a}}},1167:(e,t,n)=>{"use strict";n.d(t,{LaunchBarActionProviders:()=>o});const o="launchBar.actions"},4873:(e,t,n)=>{"use strict";n.d(t,{k:()=>c,search:()=>a});var o=n(8566),i=n(572),r=n(2817);const a=e=>{if(!e)return;(0,r.ri)(e);const t={keyword:e,from_source:"nav_suggest_new"};window.open(`https://search.bilibili.com/all?${new URLSearchParams(t)}`,"_blank")},c={name:"search",getActions:async e=>{const t=`https://s.search.bilibili.com/main/suggest?func=suggest&suggest_type=accurate&sub_type=tag&main_ver=v1&highlight=&userid=${(0,o.getUID)()}&bangumi_acc_num=1&special_acc_num=1&topic_acc_num=1&upuser_acc_num=3&tag_num=10&special_num=10&bangumi_num=10&upuser_num=3&term=${e}`,n=await(0,i.getJson)(t),r=[{name:e,icon:"search",content:async()=>Vue.extend({render:t=>t("div",{class:"suggest-highlight"},[e])}),action:()=>a(e)}];if(0!==n.code)return r;const c=lodash.get(n,"result.tag");return c?(r.push(...c.map((t=>({name:`${e}.${t.value}`,icon:"search",suggestName:t.value,content:async()=>Vue.extend({render:e=>e("div",{domProps:{innerHTML:t.name.replace(/suggest_high_light/g,"suggest-highlight")}})}),action:()=>a(t.value)})))),lodash.uniqBy(r,(e=>e.name))):r}}},7489:(e,t,n)=>{"use strict";n.d(t,{toggleLaunchBar:()=>h});var o=n(8566),i=function(){var e=this,t=e._self._c,n=e._self._setupProxy;return t(n.VPopup,{staticClass:"global-launch-bar-container",attrs:{lazy:!1,fixed:""},on:{"!keydown":function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"esc",27,t.key,["Esc","Escape"])?null:n.close()}},model:{value:n.show,callback:function(e){n.show=e},expression:"show"}},[t(n.LaunchBar,{ref:"launchBar",on:{close:function(e){return n.close()}}})],1)};i._withStripped=!0;var r=n(3654),a=n(9495),c=n(8471);const s=(0,r.defineComponent)({__name:"GlobalLaunchBar",setup(e,t){let{expose:n}=t;const o=(0,r.ref)(),i=(0,r.ref)(!0),s=()=>{const e=o.value?.input;e?.focus(),e?.select()};return(0,r.watch)(i,(e=>{e&&s()})),(0,r.onMounted)((async()=>{await(0,r.nextTick)(),s()})),n({show:i}),{__sfc:!0,launchBar:o,show:i,focus:s,close:()=>{i.value=!1;const e=o.value?.input;e?.blur()},VPopup:a.default,LaunchBar:c.A}}});var l=n(6991),d=n.n(l),m=n(2703),u=n.n(m),f={insert:"head",singleton:!1};d()(u(),f);u().locals;const p=(0,n(8678).A)(s,i,[],!1,null,null,null).exports;let b;const h=()=>{if(!b)return b=(0,o.mountVueComponent)(p),void document.body.append(b.$el);b.show=!b.show}},3335:(e,t,n)=>{"use strict";n.d(t,{W:()=>o});let o=function(e){return e.Left="左侧",e.Right="右侧",e}({})},5170:(e,t,n)=>{"use strict";n.r(t),n.d(t,{map:()=>o});const o=new Map([["通用设置","General"],["实验性","Experimental"],["通用","General"],["开发者模式","Dev mode"],["辅助颜色","Accent color"],["功能加载模式","Script loading mode"],["样式加载模式","Style loading mode"]])},6973:(e,t,n)=>{"use strict";n.d(t,{WidgetsPlugin:()=>b,s:()=>g});var o=n(8566),i=n(3202),r=n(9219),a=n(7287),c=n(7509),s=n(4780),l=n(9514),d=n(2548),m=n(3541),u=n(1167),f=n(2439);var p=n(3335);const b="widgets",h=(0,d.defineOptionsMetadata)({themeColor:{defaultValue:"#00A0D8",displayName:"主题颜色",color:!0},scriptLoadingMode:{defaultValue:i.LoadingMode.Delay,displayName:"功能加载模式",dropdownEnum:i.LoadingMode},styleLoadingMode:{defaultValue:i.LoadingMode.Race,displayName:"样式加载模式",dropdownEnum:i.LoadingMode},textColor:{defaultValue:r.TextColor.Auto,displayName:"文本颜色",dropdownEnum:r.TextColor},cdnRoot:{defaultValue:a.CdnTypes.AltCdn,displayName:"更新源",dropdownEnum:a.CdnTypes},dockSide:{defaultValue:p.W.Left,displayName:"设置面板停靠",dropdownEnum:p.W},filenameFormat:{defaultValue:"[title][ - ep]",displayName:"文件命名格式",multiline:!0},batchFilenameFormat:{defaultValue:"[n - ][ep]",displayName:"批量命名格式",multiline:!0},downloadPackageEmitMode:{defaultValue:s.p.Packed,displayName:"文件下载模式",dropdownEnum:s.p},devMode:{defaultValue:!1,displayName:"开发者模式"}}),g=(0,d.defineComponentMetadata)({name:"settingsPanel",displayName:"通用设置",configurable:!1,entry:async e=>{let{metadata:t}=e;const{isIframe:i}=await Promise.resolve().then(n.bind(n,8566));i()||((0,c.addComponentListener)(`${t.name}.dockSide`,(e=>{document.body.classList.toggle("settings-panel-dock-right",e===p.W.Right)}),!0),requestIdleCallback((async()=>{const e=await Promise.resolve().then(n.bind(n,7134)),t=(0,o.mountVueComponent)(e);document.body.insertAdjacentElement("beforeend",t.$el)})))},options:h,tags:[l.K.general],plugin:{displayName:"设置面板 - 功能扩展",setup:()=>{(0,m.addData)(u.LaunchBarActionProviders,(e=>{e.push({name:"onlineRegistry",getActions:async()=>[{name:"切换在线仓库",description:"Toggle Online Registry",icon:"mdi-web",action:async()=>{const{togglePopup:e}=await Promise.resolve().then(n.bind(n,8233));e()}}]},{name:"aboutPageActionsProvider",getActions:async()=>f.a.map((e=>e.actionName?{name:e.name,displayName:e.displayName,icon:e.icon,description:e.actionName,action:()=>e.run()}:null)).filter((e=>null!==e))})}))}},commitHash:"d87d69cfb9d7e0124bd90a06fec4569bd61e02c5",coreVersion:"2.10.7",description:(()=>{const e=n(3851);return{...Object.fromEntries(e.keys().map((t=>[t.match(/index\.(.+)\.md$/)[1],e(t)]))),"zh-CN":()=>Promise.resolve().then(n.t.bind(n,9488,17)).then((e=>e.default))}})(),i18n:(()=>{const e=n(7527);return{...Object.fromEntries(e.keys().map((t=>[t.match(/index\.(.+)\.ts$/)[1],e(t)])))}})()})},974:(e,t,n)=>{"use strict";n.d(t,{I:()=>i,W:()=>r});var o=n(7509);const i=Vue.extend({props:{componentData:{type:Object,required:!0}},data(){return{settings:(0,o.getComponentSettings)(this.componentData)}}}),r=e=>Vue.extend({data:()=>({virtual:!1}),async mounted(){const{dq:t}=await Promise.resolve().then(n.bind(n,8566)),{visibleInside:o}=await Promise.resolve().then(n.bind(n,7356)),i=this.$el,r=t(e);r?o(i,r,"150% 0px",(e=>{e.forEach((e=>{this.virtual=!e.isIntersecting}))})):console.warn("virtual container not found, virtual scroll will be disabled!")}})},2439:(e,t,n)=>{"use strict";n.d(t,{a:()=>r});var o=n(3541);const i=[{icon:"mdi-inbox-arrow-up-outline",name:"exportSettings",displayName:"导出设置",actionName:"Export Settings",run:async()=>{const{settings:e}=await Promise.resolve().then(n.bind(n,7509)),{DownloadPackage:t}=await Promise.resolve().then(n.bind(n,862));t.single("settings.json",JSON.stringify(e,void 0,2))}},{icon:"mdi-inbox-arrow-down-outline",name:"importSettings",displayName:"导入设置",actionName:"Import Settings",run:async()=>{const{logError:e}=await Promise.resolve().then(n.bind(n,9724)),{pickFile:t}=await Promise.resolve().then(n.bind(n,7195)),{Toast:o}=await Promise.resolve().then(n.bind(n,4757)),i=await t({accept:"*.json"});if(0===i.length)return;const[r]=i;try{const e=JSON.parse(await r.text());Object.entries(e).forEach((e=>{let[t,n]=e;GM_setValue(t,n)})),o.success("导入成功, 正在刷新页面...","导入设置"),window.location.reload()}catch(t){e(t)}}}],[r]=(0,o.registerAndGetData)("settingsPanel.about.actions",i)},8233:(e,t,n)=>{"use strict";n.d(t,{f:()=>N,togglePopup:()=>q});var o=n(8566),i=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("VPopup",{staticClass:"online-registry be-settings-extra-options",attrs:{fixed:"","auto-close":!1},model:{value:e.popupOpen,callback:function(t){e.popupOpen=t},expression:"popupOpen"}},[t("div",{staticClass:"online-registry-header"},[t("VIcon",{staticClass:"online-registry-header-title-icon",attrs:{icon:"mdi-web"}}),e._v(" "),t("div",{staticClass:"online-registry-header-title"},[e._v("在线仓库")]),e._v(" "),t("VIcon",{staticClass:"online-registry-header-refresh-icon",attrs:{icon:"mdi-refresh",size:22,title:"刷新"},on:{click:function(t){return e.fetchFeatures()}}}),e._v(" "),t("VIcon",{staticClass:"online-registry-header-close-icon",attrs:{icon:"mdi-close",size:24,title:"关闭"},on:{click:function(t){e.popupOpen=!1}}})],1),e._v(" "),t("div",{staticClass:"online-registry-header"},[t("div",{staticClass:"online-registry-header-search"},[t("VIcon",{attrs:{icon:"search",size:18}}),e._v(" "),t("TextBox",{attrs:{disabled:e.loading,placeholder:"搜索功能"},model:{value:e.searchKeyword,callback:function(t){e.searchKeyword=t},expression:"searchKeyword"}})],1),e._v(" "),t("div",{staticClass:"online-registry-header-branch"},[e._v("\n 分支:\n "),t("VDropdown",{attrs:{disabled:e.loading,items:e.registryBranches},scopedSlots:e._u([{key:"item",fn:function({item:t}){return[e._v("\n "+e._s(t)+"\n ")]}}]),model:{value:e.selectedBranch,callback:function(t){e.selectedBranch=t},expression:"selectedBranch"}})],1),e._v(" "),t("div",{staticClass:"online-registry-header-filter"},[e._v("\n 查看:\n "),e._l(e.itemFilterOptions,(function(n){return t("RadioButton",{key:n.value,attrs:{group:"itemFilter",checked:e.itemFilter===n.value},on:{change:function(t){t&&(e.itemFilter=n.value)}}},[e._v("\n "+e._s(n.label)+"\n ")])}))],2)]),e._v(" "),t("div",{staticClass:"online-registry-separator"}),e._v(" "),t("div",{ref:"content",staticClass:"online-registry-content"},[e.loading?t("VLoading"):e._e(),e._v(" "),e.loading||e.filteredList.length?e._e():t("VEmpty"),e._v(" "),e._l(e.filteredList,(function(n){return t("RegistryItem",{key:n.name,ref:"items",refInFor:!0,attrs:{item:n,branch:e.selectedBranch,"item-filter":e.itemFilter},on:{refresh:e.checkInstalled}})}))],2)])};i._withStripped=!0;var r=n(572),a=n(7287),c=n(5207),s=n(7509),l=n(9724),d=n(2191),m=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("MiniToast",{staticClass:"online-registry-item-wrapper",class:{virtual:e.virtual,hidden:e.hidden},attrs:{placement:e.placement,container:"body",delay:[200,0],offset:[0,12]},scopedSlots:e._u([{key:"toast",fn:function(){return[e.item.description?t("ComponentDescription",{attrs:{"component-data":e.item}}):e._e()]},proxy:!0}])},[e.virtual?e._e():t("div",{staticClass:"online-registry-item"},[t("VIcon",{staticClass:"item-icon",attrs:{size:18,icon:e.icon}}),e._v(" "),t("div",{staticClass:"item-badge"},[e._v("\n "+e._s(e.badge)+"\n ")]),e._v(" "),t("div",{staticClass:"item-display-name"},[e._v("\n "+e._s(e.item.displayName)+"\n ")]),e._v(" "),t("div",{staticClass:"grow"}),e._v(" "),t("div",{staticClass:"item-action"},[e.installed?t("VButton",{staticClass:"reinstall-button",attrs:{title:"重新安装",disabled:e.installing},on:{click:function(t){e.install(e.getUrl(e.item))}}},[e._v("\n "+e._s(e.installing?"正在安装":"已安装")+"\n ")]):t("VButton",{staticClass:"install-button",attrs:{title:"安装",type:"primary",disabled:e.installing},on:{click:function(t){e.install(e.getUrl(e.item))}}},[t("VIcon",{attrs:{icon:"mdi-plus",size:15}}),e._v("\n "+e._s(e.installing?"正在安装":"安装")+"\n ")],1)],1)],1)])};m._withStripped=!0;var u=n(6460),f=n(7356),p=n(4754),b=n(3335);let h=function(e){return e.All="all",e.Installed="installed",e.NotInstalled="notInstalled",e}({});const g=(e,t)=>`${(0,a.cdnRoots[(0,s.getGeneralSettings)().cdnRoot])(t,e.owner)}${e.fullAbsolutePath}`,v=e=>{const t=`user${lodash.startCase(e.type)}s`;return e.name in s.settings[t]},F={component:{icon:"mdi-cube-scan",badge:"组件",getUrl:g,isInstalled:v},plugin:{icon:"mdi-puzzle-outline",badge:"插件",getUrl:g,isInstalled:v},style:{icon:"mdi-tune",badge:"样式",getUrl:g,isInstalled:v},pack:{icon:"mdi-package-variant-closed",badge:"合集包",getUrl:(e,t)=>e.items.map((e=>g(e,t))).join("\n"),isInstalled:e=>e.items.every(v)}},w=Vue.extend({components:{VIcon:d.VIcon,VButton:d.VButton,MiniToast:d.MiniToast,ComponentDescription:p.A},props:{item:{type:Object,required:!0},branch:{type:String,required:!0},itemFilter:{type:String,default:h.All}},data(){const{icon:e,badge:t,getUrl:n,isInstalled:o}=F[this.item.type];return{icon:e,badge:t,getUrl:e=>n(e,this.branch),isInstalled:o,installing:!1,installed:!1,virtual:!1,placement:"right"}},computed:{hidden(){switch(this.itemFilter){case h.All:default:return!1;case h.Installed:return!this.installed;case h.NotInstalled:return this.installed}}},created(){this.checkInstalled(),(0,s.addComponentListener)("settingsPanel.dockSide",(e=>{this.placement=e===b.W.Left?"right":"left"}),!0)},mounted(){const e=this.$el;(0,f.visibleInside)(e,e.parentElement,"150% 0px",(e=>{e.forEach((e=>{this.virtual=!e.isIntersecting}))}))},methods:{checkInstalled(){this.installed=this.isInstalled(this.item)},async install(e){const t=e.split("\n").map((e=>e.trim())).filter((e=>""!==e));try{this.installing=!0,await Promise.all(t.map((async e=>(0,u.installFeature)(e)))),this.checkInstalled(),"pack"===this.item.type&&this.$emit("refresh")}catch(e){(0,l.logError)(e)}finally{this.installing=!1}}}});var y=n(6991),x=n.n(y),k=n(9906),C=n.n(k),A={insert:"head",singleton:!1};x()(C(),A);C().locals;var E=n(8678);const B=(0,E.A)(w,m,[],!1,null,null,null).exports;var D=n(3541);const[I]=(0,D.registerAndGetData)("settingsPanel.registryBranches",["master","preview"]);var S=n(8677);const z=(0,s.getGeneralSettings)();function P(e){e?(this.filteredList=this.list.filter((t=>[t.name,t.displayName,t.descriptionText].join("\n").toLowerCase().includes(e))),this.$nextTick().then((()=>this.$refs.content.scrollTo(0,0)))):this.filteredList=this.list}const M=[{label:"全部",value:h.All},{label:"已安装",value:h.Installed},{label:"未安装",value:h.NotInstalled}],O=Vue.extend({components:{VIcon:d.VIcon,VDropdown:d.VDropdown,TextBox:d.TextBox,VPopup:d.VPopup,RegistryItem:B,VLoading:d.VLoading,VEmpty:d.VEmpty,RadioButton:d.RadioButton},props:{open:{default:!1,type:Boolean}},data(){const e=[z.registryBranch,c.meta.compilationInfo.branch,I[0]].filter((e=>I.includes(e)&&Boolean(e)));return{searchKeyword:"",popupOpen:!1,loading:!1,list:[],itemFilter:h.All,itemFilterOptions:M,filteredList:[],registryBranches:I,selectedBranch:e[0]}},watch:{searchKeyword:lodash.debounce(P,200),selectedBranch(e){z.registryBranch=e,this.fetchFeatures()}},mounted(){this.fetchFeatures()},methods:{async fetchFeatures(){if(this.loading)return;const e=a.cdnRoots[z.cdnRoot](this.selectedBranch);try{this.loading=!0,this.list=[],this.filteredList=[];const t=`${e}doc/features/features.json`,n=`${e}doc/features/pack/pack.json`,o=await(0,r.monkey)({url:t,responseType:"json"}),i=await(0,r.monkey)({url:n,responseType:"json"});if(!Array.isArray(o)||!Array.isArray(i))throw console.error("Fetch failed:",o,i,t,n),new Error("获取在线仓库数据失败, 请尝试在通用设置中设置其他更新源, 然后再试一次.");this.list=await Promise.all([...i,...o].map((async e=>({...e,descriptionText:await(0,S.getDescriptionText)(e)})))),console.log(this.list),P.call(this,this.searchKeyword)}catch(e){(0,l.logError)(e)}finally{this.loading=!1}},checkInstalled(){this.$refs.items?.forEach((e=>e.checkInstalled()))}}});var V=n(8292),T=n.n(V),L={insert:"head",singleton:!1};x()(T(),L);T().locals;const R=(0,E.A)(O,i,[],!1,null,null,null).exports;let j;const N=()=>{j||(j=(0,o.mountVueComponent)(R),document.body.append(j.$el))},q=()=>{j||N(),j.popupOpen=!j.popupOpen}},9514:(e,t,n)=>{"use strict";n.d(t,{K:()=>o});const o={video:{name:"video",displayName:"视频",color:"#2196F3",icon:"mdi-play-circle-outline",order:1},style:{name:"style",displayName:"样式",color:"#8BC34A",icon:"mdi-palette-outline",order:2},feeds:{name:"feeds",displayName:"动态",color:"#00ACC1",icon:"mdi-pinwheel-outline",order:3},live:{name:"live",displayName:"直播",color:"#26A69A",icon:"mdi-video-wireless-outline",order:4},utils:{name:"utils",displayName:"工具",color:"#A36FFD",icon:"mdi-rocket-launch-outline",order:5},touch:{name:"touch",displayName:"触摸",color:"#78909C",icon:"mdi-gesture-tap-button",order:6},experimental:{name:"experimental",displayName:"实验",color:"#FF5722",icon:"mdi-flask-outline",order:7},general:{name:"general",displayName:"通用",color:"#888",icon:"mdi-progress-wrench",order:8}}},8158:(e,t,n)=>{"use strict";n.r(t),n.d(t,{bisectComponent:()=>d,installComponent:()=>c,toggleComponent:()=>l,uninstallComponent:()=>s});var o=n(7509),i=n(3230),r=n(9496),a=n(7079);const c=async e=>{const{components:t}=await Promise.resolve().then(n.bind(n,9496)),{loadFeatureCode:a}=await Promise.resolve().then(n.bind(n,7755));let c;try{c=a(e)}catch(e){throw new Error("无效的组件代码",{cause:e})}const{settings:s}=await Promise.resolve().then(n.bind(n,7509));if((0,i.isBuiltInComponent)(c.name))throw new Error(`不能覆盖内置组件'${c.name}', 请更换名称`);const l={...lodash.omit(c,"entry","widget","instantStyles","reload","unload","plugin","urlInclude","urlExclude")},d=s.userComponents[c.name];if(d){d.code=e,d.metadata=l;const t=(0,o.componentToSettings)(c);return lodash.defaultsDeep(d.settings.options,lodash.pickBy(t.options,((e,t)=>!Array.isArray(e)||void 0===lodash.get(d.settings.options,t)))),{metadata:c,message:`已更新组件'${c.displayName}', 刷新后生效`}}return s.userComponents[c.name]={code:e,metadata:l,settings:(0,o.componentToSettings)(c)},t.push(c),r.componentsMap[c.name]=c,{metadata:c,message:`已安装组件'${c.displayName}', 刷新后生效`}},s=async e=>{const{settings:t}=await Promise.resolve().then(n.bind(n,7509)),{components:o}=await Promise.resolve().then(n.bind(n,9496)),i=Object.entries(t.userComponents).find((t=>{let[n,{metadata:{displayName:o}}]=t;return n===e||o===e}));if(!i)throw new Error(`没有找到与名称'${e}'相关联的组件`);const[a,{metadata:c,settings:s}]=i,l=o.findIndex((e=>e.name===a));if(-1!==l){const{instantStyles:e}=o[l];if(e){const{removeInstantStyle:t}=await Promise.resolve().then(n.bind(n,997));e.forEach((e=>t(e)))}s.enabled=!1,o.splice(l,1),delete r.componentsMap[a]}return delete t.userComponents[a],{metadata:c,message:`已卸载组件'${c.displayName}, 刷新后生效'`}},l=async e=>{const{settings:t}=await Promise.resolve().then(n.bind(n,7509)),o=Object.entries(t.userComponents).find((t=>{let[n,{metadata:{displayName:o}}]=t;return n===e||o===e}));if(!o)throw new Error(`没有找到与名称'${e}'相关联的组件`);const[,i]=o;i.settings.enabled=!i.settings.enabled;const{enabled:r}=i.settings,{displayName:a}=i.metadata;return`已${r?"开启":"关闭"}组件'${a}', 可能需要刷新后才能生效`},d=async e=>(e&&a.setOptions(e),a)},4167:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{updateCategories:()=>updateCategories,updateIcons:()=>updateIcons});var _core_ajax__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(572),_core_download__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(862);const updateCategories=async()=>{const[script]=dqa("script").filter((e=>e.src.includes("stardust-video")));if(!script)throw new Error("no script found");const scriptText=await(0,_core_ajax__WEBPACK_IMPORTED_MODULE_0__.getText)(script.src),match=scriptText.match(/([\w]+?=\[\{name:"首页".+?\}.+?\]),[\w]+?=\[\{name:"首頁"/);if(!match)throw new Error("no match in script");const variables=match[1].match(/(\w+?)(?==\[)/g),data=eval(`var ${match[1]}; [${variables.join(",")}]`);_core_download__WEBPACK_IMPORTED_MODULE_1__.DownloadPackage.single("raw.json",data)},updateIcons=()=>{const e=dqa(".bili-header-channel-panel svg");if(0===e.length)throw new Error("svg icons not found");const t=document.createElementNS("http://www.w3.org/2000/svg","svg");t.setAttribute("aria-hidden","true"),t.setAttribute("style","position: absolute; width: 0px; height: 0px; overflow: hidden;"),t.id="be-category-icons",e.forEach((e=>{const n=document.createElementNS("http://www.w3.org/2000/svg","symbol");n.innerHTML=e.innerHTML,n.id=e.id.replace(/^channel-icon-/,"header-icon-")||`header-icon-${e.parentElement?.href.match(/\/v\/(.+)$/)?.[1]}`,"header-icon-teleplay"===n.id&&(n.id="header-icon-tv"),n.id||console.warn("cannot find id for",e),n.setAttribute("viewBox",e.getAttribute("viewBox")),t.appendChild(n)})),_core_download__WEBPACK_IMPORTED_MODULE_1__.DownloadPackage.single("icons.svg",t.outerHTML)}},7306:(e,t,n)=>{"use strict";n.d(t,{playerPolyfill:()=>p});var o=n(7356),i=n(2499),r=n(8566);let a=function(e){return e.Normal="normal",e.WideScreen="wide",e.WebFullscreen="web",e.Fullscreen="full",e.Mini="mini",e}({});const c=async()=>{await(0,r.playerReady)();const e=await(0,i.select)(".bpx-player-container");if(!e)return void console.warn("[bpx player polyfill] bpxContainer not found");let t=a.Normal;(0,o.attributes)(e,(()=>{const n=e.getAttribute("data-screen"),o="player-mode-",i=[a.Normal,a.WideScreen,a.WebFullscreen,a.Fullscreen,a.Mini].map((e=>`${o}${e}`));document.body.classList.remove(...i),n!==a.Normal&&document.body.classList.add(`${o}${n}`),n!==t&&(window.dispatchEvent(new CustomEvent("playerModeChange",{detail:{mode:n,bubbles:!0,cancelable:!0}})),t=n)}))},s=lodash.once((async()=>{c()}));var l=n(8514);const d=lodash.once((()=>{l.bangumiUrls.some((e=>(0,r.matchUrlPattern)(e)))||unsafeWindow.aid||unsafeWindow.cid||(async()=>{const e=await(0,i.select)((()=>unsafeWindow.player));if(!e?.getVideoMessage)return;const{useScopedConsole:t}=await Promise.resolve().then(n.bind(n,9724)),r=t("v2 player polyfill");(0,o.allMutations)((()=>{const t=e.getVideoMessage();if(!t)return void r.warn("invalid getUserParams data");const n={aid:t.aid.toString(),cid:t.cid.toString(),bvid:t.bvid};Object.values(n).some((e=>""===e||parseInt(e)<=0))&&r.warn("invalid input data"),Object.assign(unsafeWindow,n)}))})()})),m=lodash.once((()=>{l.bangumiUrls.some((e=>(0,r.matchUrlPattern)(e)))||unsafeWindow.aid||unsafeWindow.cid||(async()=>{const e=await(0,i.select)((()=>unsafeWindow.player));if(!e?.getUserParams)return;const{useScopedConsole:t}=await Promise.resolve().then(n.bind(n,9724)),r=t("v3 player polyfill");(0,o.allMutations)((()=>{const{input:t}=e.getUserParams();if(!t)return void r.warn("invalid getUserParams data");const n={aid:t.aid.toString(),cid:t.cid.toString(),bvid:t.bvid};Object.values(n).some((e=>""===e||parseInt(e)<=0))&&r.warn("invalid input data"),Object.assign(unsafeWindow,n)}))})()})),u=e=>{if(""===e)return!1;const t=parseInt(e);return!!Number.isNaN(t)||t>0},f=lodash.once((()=>{unsafeWindow.aid||unsafeWindow.cid||(async()=>{const e=await(0,i.select)((()=>unsafeWindow.player));if(!e?.getManifest)return;const{useScopedConsole:t}=await Promise.resolve().then(n.bind(n,9724)),a=t("v4 player polyfill");(0,o.allMutations)((()=>{const t=e.getManifest();if(!t)return void a.warn("invalid getManifest data");const n={aid:t.aid.toString(),cid:t.cid.toString(),bvid:t.bvid??""};(l.bangumiUrls.some((e=>(0,r.matchUrlPattern)(e)))?u(n.aid)&&u(n.cid):Object.values(n).every((e=>u(e))))||a.warn("invalid manifest data",n),Object.assign(unsafeWindow,n)}))})()})),p=lodash.once((()=>Promise.allSettled([s(),d(),m(),f()])))},9302:(e,t,n)=>{"use strict";n.r(t),n.d(t,{PlayerAgentEventTypes:()=>a,playerAgent:()=>h});var o=n(8514),i=n(2499),r=n(8566);let a=function(e){return e.Play="play",e.Pause="pause",e}({});function c(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!=typeof o)return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const s=e=>{const t=e=>"string"!=typeof e?lodash.mapValues(e,t):(e=>{const t=()=>(0,i.select)(e);return t.selector=e,t.sync=()=>dq(e),t})(e);return lodash.mapValues(e,t)},l=e=>{const t=e.sync();return t?.click(),t};class d extends EventTarget{constructor(){super(),c(this,"isBpxPlayer",!0),c(this,"type",void 0),c(this,"query",void 0),c(this,"eventHandlerMap",new Map)}provideCustomQuery(e){const t=s(e[this.type]??e.video);return{...this,custom:t}}widescreen(){return l(this.query.control.buttons.widescreen)}webFullscreen(){return l(this.query.control.buttons.webFullscreen)}fullscreen(){return l(this.query.control.buttons.fullscreen)}togglePlay(){return l(this.query.control.buttons.start)}togglePip(){return l(this.query.control.buttons.pip)}toggleMute(){return l(this.query.control.buttons.volume)}toggleDanmaku(){const e=this.query.danmakuSwitch.sync();return e?(e.checked=!e.checked,(0,r.raiseEvent)(e,"change"),e.checked):null}toggleSubtitle(){return l(this.query.control.buttons.subtitle)}async toggleLight(e){if(!this.nativeApi)return null;const t=this.nativeApi.getLightOff();return void 0===e?(this.nativeApi.setLightOff(!t),!t):e&&t?(this.nativeApi.setLightOff(!1),!0):e||t?null:(this.nativeApi.setLightOff(!0),!1)}getPlayerConfig(e,t){const n=this.isBpxPlayer?"bpx_player_profile":"bilibili_player_settings";return lodash.get(JSON.parse(localStorage.getItem(n)),e,t)}isAutoPlay(){return this.getPlayerConfig("video_status.autoplay")}get nativeApi(){return unsafeWindow.player||unsafeWindow.playerRaw}get nanoApi(){return unsafeWindow.nano}get nanoTypeMap(){return{[a.Play]:this.nanoApi.EventType.Player_Play,[a.Pause]:this.nanoApi.EventType.Player_Pause}}addEventListener(e,t,n){super.addEventListener(e,t,n);const o=this.nanoTypeMap[e];o?(e=>{"object"==typeof n&&n.once?this.nativeApi.once(e,t):this.nativeApi.on(e,t),this.eventHandlerMap.set(t,{handler:t,options:n})})(o):console.warn("[PlayerAgent] unknown event type",e)}removeEventListener(e,t,n){super.removeEventListener(e,t,n);const o=this.nanoTypeMap[e];o&&(e=>{const o=this.eventHandlerMap.get(t);o&&!lodash.isEqual(n,o.options)&&this.nativeApi.off(e,o.handler)})(o)}isMute(){return this.nativeApi?this.nativeApi.isMuted?this.nativeApi.isMuted():this.nativeApi.isMute():null}changeVolume(e){if(!this.nativeApi)return null;if(this.nativeApi.getVolume){const t=this.nativeApi.getVolume();return this.nativeApi.setVolume(t+e/100),Math.round(100*this.nativeApi.getVolume())}const t=this.nativeApi.volume();return this.nativeApi.volume(t+e/100),Math.round(100*this.nativeApi.volume())}seek(e){return this.nativeApi?(this.nativeApi.seek(e),this.nativeApi.getCurrentTime()):null}changeTime(e){if(!this.nativeApi)return null;const t=this.query.video.element.sync();return t?(this.nativeApi.seek(t.currentTime+e,t.paused),this.nativeApi.getCurrentTime()):null}} // spell-checker: disable const m={playerArea:".bpx-player-primary-area",video:{element:".bpx-player-video-wrap video",wrap:".bpx-player-video-area",top:".bpx-player-top-wrap",state:".bpx-player-state-wrap",panel:".bpx-player-ending-panel",popup:".bpx-player-dialog-wrap",subtitle:".bpx-player-subtitle-wrap",basDanmaku:".bpx-player-bas-dm-wrap",advDanmaku:".bpx-player-adv-dm-wrap",danmaku:".bpx-player-row-dm-wrap",container:".bpx-player-video-perch"},control:{element:".bpx-player-control-entity",wrap:".bpx-player-control-wrap",mask:".bpx-player-control-mask",top:".bpx-player-control-top",progress:".bpx-player-progress",bottom:".bpx-player-control-bottom",bottomLeft:".bpx-player-control-bottom-left",bottomCenter:".bpx-player-control-bottom-center",bottomRight:".bpx-player-control-bottom-right",buttons:{start:".bpx-player-ctrl-play",next:".bpx-player-ctrl-next",time:".bpx-player-ctrl-time",quality:".bpx-player-ctrl-quality",pageList:".bpx-player-ctrl-eplist",speed:".bpx-player-ctrl-playbackrate",subtitle:".bpx-player-ctrl-subtitle > div > span",volume:".bpx-player-ctrl-volume-icon",settings:".bpx-player-ctrl-setting",pip:".bpx-player-ctrl-pip",widescreen:".bpx-player-ctrl-wide",webFullscreen:".bpx-player-ctrl-web",fullscreen:".bpx-player-ctrl-full"},settings:{wrap:".bpx-player-ctrl-setting-box",lightOff:".bpx-player-ctrl-setting-lightoff .bui-checkbox-input"}},toastWrap:".bpx-player-dialog-wrap",danmakuTipLayer:".bpx-player-dm-tip",danmakuSwitch:".bpx-player-dm-switch input"}; // spell-checker: enable @@ -87,7 +87,7 @@ unsafeWindow.__ENABLE_WASM_PLAYER__||Boolean(r("#bilibili-player bwp-video")))}, // eslint-disable-next-line prefer-arrow-callback const t=E(unsafeWindow,"scrollTo",(function(){return!1}));return e?(await e(),t(),m):t},j=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:-1/0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1/0;return(n,o)=>lodash.isNumber(Number(n))?lodash.clamp(n,e,t):o},N=e=>lodash.upperFirst(lodash.camelCase(e)),q=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:8;const t=new Uint8Array(Math.ceil(e/2));return crypto.getRandomValues(t),[...t].map((e=>e.toString(16).padStart(2,"0"))).join("").substring(0,e)},U=function(){for(var e=arguments.length,t=new Array(e),n=0;n{throw new Error("unreachable")},Z=()=>navigator.connection?.saveData??!1,W=(e,t)=>{const n=new MouseEvent("mousedown",t),o=new MouseEvent("mouseup",t),i=new PointerEvent("pointerdown",t),r=new PointerEvent("pointerup",t),a=new MouseEvent("click",t);e.dispatchEvent(i),e.dispatchEvent(n),e.dispatchEvent(r),e.dispatchEvent(o),e.dispatchEvent(a)},G=e=> // eslint-disable-next-line no-underscore-dangle -e.__vue__??e.parentElement.__vue__??e.children[0].__vue__??e.__vueParentComponent;function Q(e,t){return Vue.extend({render:n=>n(e,{props:t})})}},9724:(e,t,n)=>{"use strict";n.r(t),n.d(t,{ScopedConsoleCallHook:()=>m,ScopedConsoleCreateHook:()=>d,logError:()=>a,randomScopedConsole:()=>f,useScopedConsole:()=>u});var o=n(226),i=n(8566),r=n(7509);const a=async(e,t)=>{let o;"string"==typeof e?(o=e,console.error(o)):(o=(0,r.getGeneralSettings)().devMode?e.stack:e.message,console.error(e));const{Toast:i}=await Promise.resolve().then(n.bind(n,4757));i.error(o,"错误",t)},c=Symbol("ScopedConsole"),s=Symbol("NamePatch"),l={default:"#78909C",warn:"#CC7A00",error:"#BF6060",group:"#9575CD"},d="scopedConsole.create",m="scopedConsole.call",u=e=>{const{before:t,after:n}=(0,o.getHook)(d),{name:i,color:a=l.default,console:u=window.console}="string"==typeof e?{name:e}:e,f={name:i,color:a,console:u};t(e,u);let p=0;const b=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:t.color;const i=e[c],r=(i?t.color:n)??l.default,a=i?["%c "]:["%c"],d={badgeNames:[...i?.badgeNames??[],...a,`%c${t.name}`],badgeValues:[...i?.badgeValues??[],"",`background-color: ${r}; color: #fff; padding: 2px 4px; border-radius: 4px;`],original:i?.original??e},u=d.original,f=function(){for(var e=arguments.length,t=new Array(e),n=0;n2&&void 0!==arguments[2]?arguments[2]:t.color,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:e=>e;const i=b(e,t,n),r=function(){for(var e=arguments.length,t=new Array(e),n=0;n{g[e][s]||(g[e][s]=e)}));const v={...unsafeWindow.console,...u};return v.log=b(u.log,f),v.info=b(u.info,f),v.warn=b(u.warn,f,l.warn),v.error=b(u.error,f,l.error),v.group=h(u.group,f,l.group,(e=>e+1)),v.groupCollapsed=h(u.groupCollapsed,f,l.group,(e=>e+1)),v.groupEnd=h(u.groupEnd,f,l.group,(e=>e-1)),v.debug=(()=>{const e=b(u.debug,f);return function(){if((0,r.getGeneralSettings)().devMode){for(var t=arguments.length,n=new Array(t),o=0;ou({...e,name:(0,i.getRandomId)()})},476:(e,t,n)=>{"use strict";n.r(t),n.d(t,{ascendingBigIntSort:()=>a,ascendingSort:()=>i,ascendingStringSort:()=>r,descendingBigIntSort:()=>l,descendingSort:()=>c,descendingStringSort:()=>s});const o=e=>e,i=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:o;return(t,n)=>e(t)-e(n)},r=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:o;return(t,n)=>e(t).localeCompare(e(n))},a=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:o;return(t,n)=>{const o=BigInt(e(t)),i=BigInt(e(n));return o===i?0:o>i?1:-1}},c=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:o;return(t,n)=>e(n)-e(t)},s=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:o;return(t,n)=>e(n).localeCompare(e(t))},l=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:o;return(t,n)=>-a(e)(t,n)}},6844:(e,t,n)=>{"use strict";n.r(t),n.d(t,{formatTitle:()=>s,getFriendlyTitle:()=>l,getTitleVariablesFromDate:()=>c});var o=n(8566),i=n(7509),r=n(383),a=n(476);const c=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2;return{year:e.getFullYear().toString(),month:(e.getMonth()+1).toString().padStart(t,"0"),day:e.getDate().toString().padStart(t,"0"),hour:e.getHours().toString().padStart(t,"0"),minute:e.getMinutes().toString().padStart(t,"0"),second:e.getSeconds().toString().padStart(t,"0"),millisecond:e.getMilliseconds().toString().substring(0,3)}},s=function(e){let t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const i=c(new Date),s={...{title:(()=>{const e=(0,o.dq)(".video-info-container .video-title");if(null!==e)return e.getAttribute("title");const t=(0,o.dq)('[class*="mediainfo_mediaTitle"]');if(null!==t)return t.getAttribute("title");const n=(0,o.dq)(".header-info-ctnr .live-title .text");return null!==n?n.getAttribute("title"):document.title.replace(/第[0-9]*[零一二三四五六七八九十百千]*[集话]-[^-]+-[^-]+-[^-]+在线观看-bilibili-哔哩哔哩$/,"").replace(/-[^-]+-[^-]+-[^-]+在线观看-bilibili-哔哩哔哩$/,"").replace(/-[^-]+-[^-]+在线观看-bilibili-哔哩哔哩$/,"").replace(/:([^:]+?)_.+?_bilibili_哔哩哔哩$/,"").replace(/_哔哩哔哩_bilibili$/,"").replace(/ - 哔哩哔哩$/,"").replace(/_哔哩哔哩 \(゜-゜\)つロ 干杯~-bilibili$/,"").replace(/(.*?) - (.*?) - 哔哩哔哩直播,二次元弹幕直播平台$/,"$1").trim()})(),ep:(()=>{if(!t)return;const e=(0,o.dq)("#eplist_module li.cursor .ep-title");if(null!==e)return e.innerText;const n=(0,o.dq)("#multi_page .cur-list>ul li.on a, .video-episode-card__info-playing .video-episode-card__info-title");if(null!==n)return n.getAttribute("title");const i=(0,o.dq)(".multip-list-item.multip-list-item-active");return null!==i?i.getAttribute("title"):void 0})(),aid:unsafeWindow.aid,bvid:unsafeWindow.bvid,cid:unsafeWindow.cid,lid:document.URL.replace(/https:\/\/live\.bilibili\.com\/(blanc\/)?([\d]+)/,"$2"),y:i.year,M:i.month,d:i.day,h:i.hour,m:i.minute,s:i.second,ms:i.millisecond},...n},l=(e=>{let t=0,n=0;const o=[];return e.split("").forEach(((i,r)=>{"["===i&&(0===n?(o.push(e.substring(t,r)),t=r):n++),"]"===i&&(0===n?(o.push(e.substring(t,r+1)),t=r+1):n--)})),t""!==e))})(e),d=Object.entries(s).sort((0,a.descendingSort)((e=>{let[t]=e;return t.length}))),m=l.map((e=>{if(!e.startsWith("[")||!e.endsWith("]"))return e;for(const[t,n]of d){const o=new RegExp(`^\\[([^\\[\\]]*?)${t}([^\\[\\]]*?)\\]$`),i=e.match(o);if(i&&Boolean(n))return`${i[1]??""}${n}${i[2]??""}`}return""})).join("");return(0,r.formatFilename)(m," ")},l=function(){let e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return s((0,i.getGeneralSettings)().filenameFormat,e,t)}},8514:(e,t,n)=>{"use strict";n.r(t),n.d(t,{allVideoUrls:()=>f,bangumiUrls:()=>d,cheeseUrls:()=>m,columnUrls:()=>v,favoriteListUrls:()=>r,feedsUrls:()=>g,feedsUrlsWithoutDetail:()=>h,festivalUrls:()=>s,liveUrls:()=>b,mainSiteUrls:()=>p,matchCurrentPage:()=>w,mediaListUrls:()=>c,playerUrls:()=>F,upListUrls:()=>a,videoAndBangumiUrls:()=>u,videoUrls:()=>l,watchlaterUrls:()=>i});var o=n(8566);const i=["//www.bilibili.com/medialist/play/watchlater","//www.bilibili.com/list/watchlater"],r=["//www.bilibili.com/medialist/play/ml","//www.bilibili.com/list/ml"],a=[/\/\/www\.bilibili\.com\/medialist\/play\/\d+/,/\/\/www\.bilibili\.com\/list\/\d+/],c=[...i,...r,...a,/\/\/www\.bilibili\.com\/list\//],s=[/\/\/www\.bilibili\.com\/festival\//],l=["//www.bilibili.com/video/",...s,...c],d=["//www.bilibili.com/bangumi/play/"],m=["//www.bilibili.com/cheese/"],u=[...l,...d],f=[...u,...m],p=["https://www.bilibili.com/v/","https://www.bilibili.com/c/",/^https:\/\/www\.bilibili\.com\/$/,/^https:\/\/www\.bilibili\.com\/([^\/]+)\.html$/,/^https:\/\/www\.bilibili\.com\/watchlater\/#\/list$/,"https://www.bilibili.com/account/"],b=[/^https:\/\/live\.bilibili\.com\/(blanc\/)?[\d]+/],h=[/^https:\/\/t\.bilibili\.com\/$/,/^https:\/\/space\.bilibili\.com\//,/^https:\/\/live\.bilibili\.com\/(blanc\/)?[\d]+/],g=[...h,/^https:\/\/t\.bilibili\.com\//,/^https:\/\/www\.bilibili\.com\/opus\/[\d]+$/],v=[/^https:\/\/www\.bilibili\.com\/read\/cv/],F=["//player.bilibili.com","//www.bilibili.com/html/player.html",...l,...d,...m],w=function(){for(var e=arguments.length,t=new Array(e),n=0;nArray.isArray(e)?e.some((e=>(0,o.matchUrlPattern)(e))):(0,o.matchUrlPattern)(e)))}},68:(e,t,n)=>{"use strict";n.r(t),n.d(t,{CompareResult:()=>c,Version:()=>s,isFeatureAcceptable:()=>l});var o=n(7755),i=n(5207),r=n(9724);function a(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!=typeof o)return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}let c=function(e){return e[e.Less=-1]="Less",e[e.Equal=0]="Equal",e[e.Greater=1]="Greater",e[e.Incomparable=NaN]="Incomparable",e}({});class s{constructor(e){if(this.versionString=e,a(this,"parts",void 0),!/^[\d\.]+$/.test(e))throw new Error("Invalid version string");this.parts=e.split(".").map((e=>parseInt(e)))}compareTo(e){for(let t=0;te.parts[t]?c.Greater:c.Less}return this.parts.length!==e.parts.length?c.Less:c.Equal}greaterThan(e){return this.compareTo(e)===c.Greater}lessThan(e){return this.compareTo(e)===c.Less}equals(e){return this.compareTo(e)===c.Equal}}const l=async e=>{try{const t=(0,r.useScopedConsole)("isFeatureAcceptable");if("string"==typeof e&&(e=(0,o.loadFeatureCode)(e)),null==e)return!1;const{version:n}=i.meta.compilationInfo,{coreVersion:a}=e;if(t.log("currentVersion =",n,", requiredVersion =",a),!a||!n)return!0;const c=new s(n),l=new s(a);return c.equals(l)||c.greaterThan(l)}catch(t){return console.warn("check failed, feature =",e),!0}}},3541:(e,t,n)=>{"use strict";n.r(t),n.d(t,{addData:()=>r,getData:()=>a,registerAndGetData:()=>c,registerData:()=>i});const o=new Map,i=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),i=1;i{if(o.has(e)){const{providers:n,loaded:i,data:r}=o.get(e);i?t(...r):n.push(t)}else o.set(e,{registered:!1,data:[],loaded:!1,providers:[t]})},a=e=>{if(o.has(e)){const t=o.get(e),{data:n,registered:i,loaded:r,providers:a}=t;if(i)return r||(a.forEach((e=>e(...n))),t.providers=[],t.loaded=!0),n}return[]},c=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),o=1;o{"use strict";n.r(t),n.d(t,{addHook:()=>i,getHook:()=>r});const o=new Map,i=(e,t)=>{if(o.has(e)){const{providers:n}=o.get(e);n.push(t)}else o.set(e,{providers:[t]})},r=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),i=1;ie.before?.(...n.concat(t)))))},after:async function(){for(var e=arguments.length,t=new Array(e),o=0;oe.after?.(...n.concat(t)))))}}}return{before:async()=>Promise.all([]),after:async()=>Promise.all([])}}},4066:(e,t,n)=>{"use strict";n.r(t),n.d(t,{plugin:()=>r});const o=async(e,t,o)=>{const i={name:t,icon:"mdi-content-copy",description:`复制${e}`,indexer:o,action:async()=>{if(i.name===t){await navigator.clipboard.writeText(t);const{Toast:o}=await Promise.resolve().then(n.bind(n,4757));o.success("复制成功",`复制${e}`,1500)}}};return[i]},i=[{pattern:/^av([\d]+)$/i,getActions:async e=>{const{getJsonWithCredentials:t}=await Promise.resolve().then(n.bind(n,572)),i=await t(`https://api.bilibili.com/x/web-interface/view?aid=${e[1]}`),r=lodash.get(i,"data",{}),{bvid:a,title:c}=r,s=`av${e[1]}`;return{name:c||s,description:"av号跳转",indexer:s,link:`https://www.bilibili.com/av${e[1]}`,extraActions:a?await o("BV号",a,s):[]}}},{pattern:/^bv([\da-zA-Z]+)$/i,getActions:async e=>{const{getJsonWithCredentials:t}=await Promise.resolve().then(n.bind(n,572)),i=await t(`https://api.bilibili.com/x/web-interface/view?bvid=${e[1]}`),r=lodash.get(i,"data",{}),{aid:a,title:c}=r,s=`BV${e[1]}`;return{name:c||s,description:"BV号跳转",indexer:s,link:`https://www.bilibili.com/BV${e[1]}`,extraActions:a?await o("av号",`av${a}`,s):[]}}}],r={name:"launchBar.actions.IDSearch",displayName:"搜索栏 - 视频跳转",async setup(){const{addData:e}=await Promise.resolve().then(n.bind(n,3541)),{LaunchBarActionProviders:t}=await Promise.resolve().then(n.bind(n,1167));e(t,(e=>{e.push({name:"IDSearchProvider",getActions:async e=>{const t=[];for(const n of i){const o=e.match(n.pattern);if(o){const{name:e,description:i="",indexer:r,link:a,extraActions:c=[]}=await n.getActions(o);t.push({name:e,icon:"mdi-open-in-new",indexer:r,description:i,action:()=>{window.open(a,"_blank")},order:0},...c)}}return t}})}))},commitHash:"58c0b438ca2371e397f70466a91572cb2757b142",coreVersion:"2.10.7"}},9814:(e,t,n)=>{"use strict";n.r(t),n.d(t,{extractPluginFromComponent:()=>d,installPlugin:()=>s,loadAllPlugins:()=>u,loadPlugin:()=>m,plugins:()=>c,pluginsMap:()=>a,uninstallPlugin:()=>l});var o=n(8566),i=n(3541),r=n(226);const a={},c=lodash.once((()=>{const e=n(6761);return e.keys().map((t=>{const n=e(t);if("plugin"in n){const e=n.plugin;return a[e.name]=e,e}})).filter((e=>void 0!==e))}))(),s=async e=>{const{loadFeatureCode:t}=await Promise.resolve().then(n.bind(n,7755));let o;try{o=t(e)}catch(e){throw new Error("无效的插件代码",e)}const{settings:i}=await Promise.resolve().then(n.bind(n,7509)),r=i.userPlugins[o.name];if(r)return r.code=e,r.name=o.name,r.displayName=o.displayName||o.name,{metadata:o,message:`已更新插件'${o.displayName}', 刷新后生效`};const a={code:e,displayName:o.name,...o};return i.userPlugins[o.name]=a,c.push(a),{metadata:o,message:`已安装插件'${o.displayName||o.name}', 刷新后生效`}},l=async e=>{const{settings:t}=await Promise.resolve().then(n.bind(n,7509)),i=Object.entries(t.userPlugins).find((t=>{let[n,{displayName:o}]=t;return n===e||o===e}));if(!i)throw new Error(`没有找到与名称'${e}'相关联的插件`);const[r,a]=i;return delete t.userPlugins[r],(0,o.deleteValue)(c,(e=>e.name===r)),{metadata:a,message:`已卸载插件'${a.displayName}', 刷新后生效`}},d=e=>e.plugin?{name:`${e.name}.plugin`,displayName:`${e.displayName} - 附带插件`,...e.plugin}:null,m=async e=>{if(e.setup){const{pluginLoadTrace:t}=await Promise.resolve().then(n.bind(n,1438));await t(e);const{coreApis:o}=await Promise.resolve().then(n.bind(n,270));return e.setup({coreApis:o,addData:i.addData,addHook:r.addHook,registerData:i.registerData,registerAndGetData:i.registerAndGetData,getHook:r.getHook})}return null},u=async e=>{const{settings:t,getGeneralSettings:o}=await Promise.resolve().then(n.bind(n,7509)),{loadFeatureCode:i}=await Promise.resolve().then(n.bind(n,5208));for(const t of e){const e=d(t);e&&c.push(e)}for(const[e,n]of Object.entries(t.userPlugins)){const{code:t}=n;let o;try{o=i(t)}catch(t){console.error("从代码加载用户插件失败。代码可能包含语法错误或执行时产生了异常",{pluginName:e,error:t});continue}c.push(o)}return Promise.allSettled(c.map(m)).then((async()=>{if(o().devMode){const{pluginLoadTime:e,pluginResolveTime:t}=await Promise.resolve().then(n.bind(n,1438)),{logStats:o}=await Promise.resolve().then(n.bind(n,2218));o("plugins block",e),o("plugins resolve",t)}}))}},1416:(e,t,n)=>{"use strict";n.r(t),n.d(t,{UserStyleMode:()=>r,installStyle:()=>c,styles:()=>a,uninstallStyle:()=>s});var o=n(7509),i=n(8566);let r=function(e){return e.Default="default",e.Instant="instant",e.Important="important",e}({});const a=Object.values(o.settings.userStyles),c=async e=>{try{let t;const{loadFeatureCode:i}=await Promise.resolve().then(n.bind(n,7755));t="string"==typeof e?i(e):e;const{name:c,style:s,displayName:l,mode:d}=t,{removeStyle:m,addImportantStyle:u,addStyle:f}=await Promise.resolve().then(n.bind(n,997)),p=o.settings.userStyles[c];if(p)Object.assign(p,t),m(c);else{const e={displayName:c,mode:r.Default,...t};o.settings.userStyles[c]=e,a.push(e)}return d===r.Important?u(s,c):f(s,c),{metadata:t,message:`已安装样式'${l||c}'`}}catch(e){throw new Error("无效的样式代码",{cause:e})}},s=async e=>{const t=Object.entries(o.settings.userStyles).find((t=>{let[n,{displayName:o}]=t;return n===e||o===e}));if(!t)throw new Error(`没有找到与名称'${e}'相关联的样式`);const{removeStyle:r}=await Promise.resolve().then(n.bind(n,997)),[c,{displayName:s}]=t;return r(c),delete o.settings.userStyles[c],(0,i.deleteValue)(a,(e=>e.name===c)),{metadata:t,message:`已卸载样式'${s}'`}}},2191:(e,t,n)=>{"use strict";n.r(t),n.d(t,{AsyncButton:()=>s,CheckBox:()=>h,CollapsibleContainer:()=>vt,ColorPicker:()=>E,DefaultWidget:()=>mt,DpiImage:()=>P,ImagePicker:()=>j,ImageViewer:()=>Y,MiniToast:()=>Nt.A,OptionRadioGroup:()=>jt,OptionWidgetLayout:()=>Mt,ProgressBar:()=>ne,ProgressRing:()=>se,RadioButton:()=>fe,RadioGroupItem:()=>Et,RangeInput:()=>we,ScrollTrigger:()=>Be,SwitchBox:()=>De.A,TabControl:()=>Oe,TextArea:()=>qe,TextBox:()=>Ue.default,VButton:()=>r.default,VDropdown:()=>Ke,VEmpty:()=>ot,VIcon:()=>o.default,VLoading:()=>it.default,VPopup:()=>Ze.default,VSlider:()=>rt.default,showImage:()=>X});var o=n(7382),i=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("VButton",e._g(e._b({attrs:{disabled:e.disabled||e.internalDisabled},on:{click:e.onClick}},"VButton",e.$attrs,!1),e.listeners),[e._t("default",(function(){return[e._v("Button")]}))],2)};i._withStripped=!0;var r=n(2539);const a=Vue.extend({components:{VButton:r.default},props:{disabled:{type:Boolean,default:!1}},data:()=>({internalDisabled:!1}),computed:{listeners(){return lodash.omit(this.$listeners,"click")},onClick(){var e=this;return async function(){try{e.internalDisabled=!0;for(var t=arguments.length,n=new Array(t),o=0;oPromise.resolve().then(n.bind(n,2539)).then((e=>e.default)),VIcon:()=>Promise.resolve().then(n.bind(n,7382)).then((e=>e.default))},model:{prop:"checked",event:"change"},props:{checked:{type:Boolean,required:!0},iconPosition:{type:String,default:"left"},checkedIcon:{type:String,default:"mdi-checkbox-marked-circle"},notCheckedIcon:{type:String,default:"mdi-checkbox-blank-circle-outline"}}});var m=n(6991),u=n.n(m),f=n(9533),p=n.n(f),b={insert:"head",singleton:!1};u()(p(),b);p().locals;const h=(0,c.A)(d,l,[],!1,null,"07bbf374",null).exports;var g=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"be-color-picker"},[t("div",{directives:[{name:"hit",rawName:"v-hit",value:()=>e.popupOpened=!e.popupOpened,expression:"() => (popupOpened = !popupOpened)"}],ref:"button",staticClass:"selected-color",style:{backgroundColor:e.color,width:e.size+"px",height:e.size+"px"},attrs:{role:"button",tabindex:"0"}}),e._v(" "),t("VPopup",{staticClass:"picker",class:{compact:e.compact},style:{"--offset":e.popupOffset+"px"},attrs:{"esc-close":"","auto-close":!1,"trigger-element":e.$refs.button},model:{value:e.popupOpened,callback:function(t){e.popupOpened=t},expression:"popupOpened"}},[t("div",{staticClass:"item-group"},[t("div",{staticClass:"item-title"},[e._v("预设颜色")]),e._v(" "),t("div",{staticClass:"colors"},e._l(e.colors,(function(n){return t("div",{directives:[{name:"hit",rawName:"v-hit",value:()=>e.selectHexColor(n),expression:"() => selectHexColor(c)"}],key:n,staticClass:"color",style:{backgroundColor:n},attrs:{role:"radio",tabindex:e.popupOpened?0:-1}})})),0)]),e._v(" "),t("div",{staticClass:"item-group"},[t("div",{staticClass:"item-title"},[e._v("调色")]),e._v(" "),t("div",{staticClass:"bars"},[e.isRGB?[t("div",{staticClass:"bar"},[t("div",{staticClass:"bar-name"},[e._v("R")]),e._v(" "),t("VSlider",{attrs:{focusable:!1,max:255,value:e.wrapper.red},on:{change:function(t){return e.wrapper.change("red",t)}},scopedSlots:e._u([{key:"bar",fn:function(){return[t("div",{staticClass:"color-bar",style:{background:e.wrapper.redGradient}})]},proxy:!0},{key:"thumb",fn:function(){return[t("div",{staticClass:"color-thumb"})]},proxy:!0}],null,!1,2466330035)}),e._v(" "),t("TextBox",{staticClass:"bar-value",attrs:{"max-length":"3","change-on-blur":"",disabled:!e.popupOpened,text:e.int(e.wrapper.red)},on:{change:function(t){return e.wrapper.change("red",t)}}})],1),e._v(" "),t("div",{staticClass:"bar"},[t("div",{staticClass:"bar-name"},[e._v("G")]),e._v(" "),t("VSlider",{attrs:{focusable:!1,max:255,value:e.wrapper.green},on:{change:function(t){return e.wrapper.change("green",t)}},scopedSlots:e._u([{key:"bar",fn:function(){return[t("div",{staticClass:"color-bar",style:{background:e.wrapper.greenGradient}})]},proxy:!0},{key:"thumb",fn:function(){return[t("div",{staticClass:"color-thumb"})]},proxy:!0}],null,!1,2962781435)}),e._v(" "),t("TextBox",{staticClass:"bar-value",attrs:{"max-length":"3","change-on-blur":"",disabled:!e.popupOpened,text:e.int(e.wrapper.green)},on:{change:function(t){return e.wrapper.change("green",t)}}})],1),e._v(" "),t("div",{staticClass:"bar"},[t("div",{staticClass:"bar-name"},[e._v("B")]),e._v(" "),t("VSlider",{attrs:{focusable:!1,max:255,value:e.wrapper.blue},on:{change:function(t){return e.wrapper.change("blue",t)}},scopedSlots:e._u([{key:"bar",fn:function(){return[t("div",{staticClass:"color-bar",style:{background:e.wrapper.blueGradient}})]},proxy:!0},{key:"thumb",fn:function(){return[t("div",{staticClass:"color-thumb"})]},proxy:!0}],null,!1,660815582)}),e._v(" "),t("TextBox",{staticClass:"bar-value",attrs:{"max-length":"3","change-on-blur":"",disabled:!e.popupOpened,text:e.int(e.wrapper.blue)},on:{change:function(t){return e.wrapper.change("blue",t)}}})],1)]:[t("div",{staticClass:"bar"},[t("div",{staticClass:"bar-name"},[e._v("H")]),e._v(" "),t("VSlider",{attrs:{focusable:!1,max:359.9,value:e.wrapper.hue},on:{change:function(t){return e.wrapper.change("hue",t)}},scopedSlots:e._u([{key:"bar",fn:function(){return[t("div",{staticClass:"color-bar",style:{background:e.wrapper.hueGradient}})]},proxy:!0},{key:"thumb",fn:function(){return[t("div",{staticClass:"color-thumb"})]},proxy:!0}])}),e._v(" "),t("TextBox",{staticClass:"bar-value",attrs:{"max-length":"4","change-on-blur":"",disabled:!e.popupOpened,text:e.fixed(e.wrapper.hue)},on:{change:function(t){return e.wrapper.change("hue",t)}}})],1),e._v(" "),t("div",{staticClass:"bar"},[t("div",{staticClass:"bar-name"},[e._v("S")]),e._v(" "),t("VSlider",{attrs:{focusable:!1,value:e.wrapper.saturation},on:{change:function(t){return e.wrapper.change("saturationv",t)}},scopedSlots:e._u([{key:"bar",fn:function(){return[t("div",{staticClass:"color-bar",style:{background:e.wrapper.saturationGradient}})]},proxy:!0},{key:"thumb",fn:function(){return[t("div",{staticClass:"color-thumb"})]},proxy:!0}])}),e._v(" "),t("TextBox",{staticClass:"bar-value",attrs:{"max-length":"5","change-on-blur":"",disabled:!e.popupOpened,text:e.fixed(e.wrapper.saturation)},on:{change:function(t){return e.wrapper.change("saturationv",t)}}})],1),e._v(" "),t("div",{staticClass:"bar"},[t("div",{staticClass:"bar-name"},[e._v("B")]),e._v(" "),t("VSlider",{attrs:{focusable:!1,value:e.wrapper.brightness},on:{change:function(t){return e.wrapper.change("value",t)}},scopedSlots:e._u([{key:"bar",fn:function(){return[t("div",{staticClass:"color-bar",style:{background:e.wrapper.brightnessGradient}})]},proxy:!0},{key:"thumb",fn:function(){return[t("div",{staticClass:"color-thumb"})]},proxy:!0}])}),e._v(" "),t("TextBox",{staticClass:"bar-value",attrs:{"max-length":"5","change-on-blur":"",disabled:!e.popupOpened,text:e.fixed(e.wrapper.brightness)},on:{change:function(t){return e.wrapper.change("value",t)}}})],1)]],2)]),e._v(" "),t("div",{staticClass:"info item-group"},[t("VButton",{staticClass:"toggle-mode",attrs:{disabled:!e.popupOpened,type:"transparent",title:e.isRGB?"切换至HSB":"切换至RGB"},on:{click:function(t){e.isRGB=!e.isRGB}}},[e._v("\n "+e._s(e.isRGB?"切换至HSB":"切换至RGB")+"\n ")]),e._v(" "),t("div",{staticClass:"grow"}),e._v(" "),t("div",{staticClass:"color-preview",style:{backgroundColor:e.wrapper.hex}}),e._v(" "),t("TextBox",{staticClass:"hex",attrs:{disabled:!e.popupOpened,text:e.wrapper.hex,"change-on-blur":""},on:{change:function(t){return e.selectHexColor(t)}}})],1),e._v(" "),t("div",{staticClass:"operations item-group",on:{click:function(t){e.popupOpened=!e.popupOpened}}},[t("VButton",{staticClass:"cancel",attrs:{disabled:!e.popupOpened},on:{click:function(t){return e.reset()}}},[e._v(" 取消 ")]),e._v(" "),t("VButton",{staticClass:"ok",attrs:{disabled:!e.popupOpened,type:"primary"},on:{click:function(t){return e.ok()}}},[e._v(" 确定 ")])],1)])],1)};g._withStripped=!0;var v=n(3639),F=n.n(v);const w=JSON.parse('["#E57373","#F06292","#BA68C8","#9575CD","#7986CB","#2196F3","#00A0D8","#00ACC1","#26A69A","#81C784","#9CCC65","#FF9800","#FF7043","#A1887F","#757575","#78909C"]'),y=e=>{let t=new(F())(e);const n={get color(){return t},set color(e){t=e,this.updateProps()},change(e,n){"string"==typeof n&&(n=parseFloat(n),Number.isNaN(n))||(this.color=t[e](n))},updateProps(){this.red=t.red(),this.green=t.green(),this.blue=t.blue(),this.hue=t.hue(),this.saturation=t.saturationv(),this.brightness=t.value(),this.hex=t.hex(),this.hueGradient=`linear-gradient(to right, ${t.hue(0).hex()}, ${t.hue(60).hex()}, ${t.hue(120).hex()}, ${t.hue(180).hex()}, ${t.hue(240).hex()}, ${t.hue(300).hex()}, ${t.hue(0).hex()})`,this.saturationGradient=`linear-gradient(to right, ${t.saturationv(0).hex()}, ${t.saturationv(100).hex()})`,this.brightnessGradient=`linear-gradient(to right, ${t.value(0).hex()}, ${t.value(100).hex()})`,this.redGradient=`linear-gradient(to right, ${t.red(0).hex()}, ${t.red(255).hex()})`,this.greenGradient=`linear-gradient(to right, ${t.green(0).hex()}, ${t.green(255).hex()})`,this.blueGradient=`linear-gradient(to right, ${t.blue(0).hex()}, ${t.blue(255).hex()})`}};return n.updateProps(),n},x=Vue.extend({name:"ColorPicker",components:{TextBox:()=>Promise.resolve().then(n.bind(n,5601)).then((e=>e.default)),VSlider:()=>Promise.resolve().then(n.bind(n,906)).then((e=>e.default)),VButton:()=>Promise.resolve().then(n.bind(n,2539)).then((e=>e.default)),VPopup:()=>Promise.resolve().then(n.bind(n,9495)).then((e=>e.default))},model:{prop:"color",event:"change"},props:{color:{type:String,default:"#000000",required:!0},size:{type:Number,default:24,required:!1},compact:{type:Boolean,default:!1},popupOffset:{type:Number,default:0}},data(){return{popupOpened:!1,wrapper:y(this.color),colors:w,isRGB:!1}},watch:{popupOpened(e){e&&(document.body.addEventListener("mousedown",(e=>{this.$el.contains(e.target)||this.$el===e.target||document.body.addEventListener("mouseup",(()=>{this.popupOpened=!1}),{once:!0})})),document.body.addEventListener("touchstart",(e=>{1!==e.touches.length||this.$el.contains(e.target)||this.$el===e.target||document.body.addEventListener("touchend",(()=>{this.popupOpened=!1}),{once:!0})})))}},methods:{ok(){this.$emit("change",this.wrapper.hex)},reset(){this.wrapper.color=new(F())(this.color)},selectHexColor(e){try{const t=new(F())(e,"hex");this.wrapper.color=t}catch(e){}},fixed:e=>(Math.round(10*e)/10).toString(),int:e=>Math.round(e).toString()}});var k=n(8330),C=n.n(k),A={insert:"head",singleton:!1};u()(C(),A);C().locals;const E=(0,c.A)(x,g,[],!1,null,"87a36270",null).exports;var B=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("img",e._b({class:{placeholder:e.isPlaceholderActive},attrs:{width:e.width,height:e.height,srcset:e.srcset,src:e.actualSrc}},"img",e.$attrs,!1))};B._withStripped=!0;var D=n(8566),I=n(6623);const S=Vue.extend({name:"DpiImage",props:{size:{type:[Object,Number],required:!0},src:{type:String,required:!0},intersection:{type:Object,default:()=>({})},placeholderImage:{type:Boolean,default:!1}},data:()=>({srcset:null,actualSrc:I.EmptyImageUrl,isPlaceholderActive:!1}),computed:{width(){return"object"==typeof this.size&&"width"in this.size?this.size.width:"number"==typeof this.size?this.size:null},height(){return"object"==typeof this.size&&"height"in this.size?this.size.height:"number"==typeof this.size?this.size:null}},watch:{size(){this.sourceChange()},src(){this.sourceChange()}},mounted(){const e={rootMargin:"200px",...this.intersection},t=new IntersectionObserver((e=>{e.forEach((e=>{e.isIntersecting&&(this.calcSrc(),t.disconnect())}))}),e);t.observe(this.$el)},methods:{sourceChange(){this.actualSrc!==I.EmptyImageUrl&&null!==this.srcset&&this.calcSrc()},calcSrc(){const e=!this.src||!this.size;if(this.isPlaceholderActive=e&&this.placeholderImage,e)return this.srcset=null,void(this.placeholderImage?this.actualSrc="https://s1.hdslb.com/bfs/static/blive/live-web-center/static/img/no-cover.1ebe4d5.jpg":this.actualSrc=I.EmptyImageUrl);let{src:t}=this;if(t.startsWith("http:")&&(t=t.replace("http:","https:")),t.includes("//static.hdslb.com/images/member/noface.gif"))return this.srcset=t,void(this.actualSrc=t);this.srcset=(0,D.getDpiSourceSet)(t,this.size),this.actualSrc=t}}}),z=S;const P=(0,c.A)(z,B,[],!1,null,null,null).exports;var M=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"be-image-picker"},[t("VButton",{ref:"pickButton",staticClass:"pick-button",on:{click:function(t){e.popupOpen=!e.popupOpen}}},[e._t("text",(function(){return[e._v(" 选择图片 ")]}))],2),e._v(" "),t("VPopup",{staticClass:"popup",attrs:{"trigger-element":e.$refs.pickButton},on:{keydown:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"esc",27,t.key,["Esc","Escape"])?null:e.cancel()}},model:{value:e.popupOpen,callback:function(t){e.popupOpen=t},expression:"popupOpen"}},[t("transition-group",{staticClass:"images",attrs:{name:"image-list",tag:"div",tabindex:"-1"}},e._l(e.images,(function(n){return t("div",{directives:[{name:"hit",rawName:"v-hit",value:()=>e.selectImage(n),expression:"() => selectImage(i)"}],key:n.name,staticClass:"image",class:{selected:n.name===e.selectedImage.name},attrs:{title:n.name,tabindex:e.popupOpen?0:-1}},[t("img",{attrs:{width:"64",height:"64",src:n.url}})])})),0),e._v(" "),t("div",{directives:[{name:"show",rawName:"v-show",value:0===e.images.length,expression:"images.length === 0"}],staticClass:"empty-tip"},[e._v("空空如也哦 = ̄ω ̄=")]),e._v(" "),t("div",{staticClass:"operations"},[t("VPopup",{staticClass:"add-image-popup",attrs:{tabindex:"-1",lazy:!1,"trigger-element":e.$refs.addButton},model:{value:e.addImagePopupOpen,callback:function(t){e.addImagePopupOpen=t},expression:"addImagePopupOpen"}},[t("div",{staticClass:"add-image-row"},[e._v("\n 名称:\n "),t("TextBox",{ref:"addImageInput",attrs:{disabled:!e.addImagePopupOpen},model:{value:e.newImage.name,callback:function(t){e.$set(e.newImage,"name",t)},expression:"newImage.name"}})],1),e._v(" "),t("div",{staticClass:"add-image-row"},[e._v("\n 链接:\n "),t("TextBox",{attrs:{disabled:!e.addImagePopupOpen},model:{value:e.newImage.url,callback:function(t){e.$set(e.newImage,"url",t)},expression:"newImage.url"}})],1),e._v(" "),t("div",{staticClass:"add-image-row buttons"},[t("VButton",{attrs:{disabled:!e.addImagePopupOpen},on:{click:function(t){e.addImagePopupOpen=!1,e.clearNewImage()}}},[e._v("\n 取消\n ")]),e._v(" "),t("VButton",{attrs:{disabled:!e.newImage.url||!e.newImage.name,type:"primary"},on:{click:function(t){e.addImage(e.newImage),e.addImagePopupOpen=!1,e.clearNewImage()}}},[e._v("\n 确定\n ")])],1)]),e._v(" "),t("VButton",{staticClass:"clear-image",attrs:{disabled:!e.selectedImage.name},on:{click:function(t){return e.clearImage()}}},[e._v("\n 清除选择\n ")]),e._v(" "),t("VButton",{ref:"addButton",staticClass:"add-image",attrs:{disabled:!e.popupOpen},on:{click:function(t){return e.openAddImagePopup()}}},[e._v("\n 添加\n ")]),e._v(" "),t("VButton",{staticClass:"edit-image",attrs:{disabled:!e.selectedImage.name},on:{click:function(t){return e.editImage()}}},[e._v("\n 编辑\n ")]),e._v(" "),t("VButton",{attrs:{disabled:!e.selectedImage.name},on:{click:function(t){e.removeImage(e.selectedImage),e.clearImage()}}},[e._v("\n 删除\n ")])],1),e._v(" "),t("div",{staticClass:"operations"},[t("VButton",{attrs:{disabled:!e.popupOpen},on:{click:function(t){return e.cancel()}}},[e._v(" 取消 ")]),e._v(" "),t("VButton",{attrs:{disabled:!e.popupOpen,type:"primary"},on:{click:function(t){return e.ok()}}},[e._v(" 确定 ")])],1),e._v(" "),e.addImagePopupOpen?t("div",{staticClass:"mask"}):e._e()],1)],1)};M._withStripped=!0;const O=[],V=Vue.extend({name:"ImagePicker",components:{VButton:()=>Promise.resolve().then(n.bind(n,2539)).then((e=>e.default)),VPopup:()=>Promise.resolve().then(n.bind(n,9495)).then((e=>e.default)),TextBox:()=>Promise.resolve().then(n.bind(n,5601)).then((e=>e.default))},model:{prop:"image",event:"change"},props:{image:{type:Object,required:!0}},data:()=>({images:O,popupOpen:!1,addImagePopupOpen:!1,selectedImage:{name:"",url:""},newImage:{name:"",url:""}}),methods:{addImage:e=>{if(!e.name||!e.url)return;const t=O.find((t=>t.name===e.name));t?t.url=e.url:O.unshift(e)},removeImage:e=>{const t="string"==typeof e?e:e.name,n=O.findIndex((e=>e.name===t));-1!==n&&O.splice(n,1)},ok(){this.$emit("change",this.selectedImage),this.popupOpen=!1},cancel(){this.selectedImage=this.image,this.popupOpen=!1},selectImage(e){this.selectedImage.name===e.name?this.selectedImage={name:"",url:""}:this.selectedImage=e},clearImage(){this.selectedImage={name:"",url:""}},clearNewImage(){this.newImage={name:"",url:""}},editImage(){this.newImage=this.selectedImage,this.openAddImagePopup()},async openAddImagePopup(){this.addImagePopupOpen=!this.addImagePopupOpen,await this.$nextTick(),this.$refs.addImageInput.$refs.input.focus()}}});var T=n(8544),L=n.n(T),R={insert:"head",singleton:!1};u()(L(),R);L().locals;const j=(0,c.A)(V,M,[],!1,null,"7b32c90b",null).exports;var N=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"image-viewer-container",class:{open:e.open},on:{click:e.detectOutside}},[t("div",{ref:"viewer",staticClass:"image-viewer"},[t("div",{staticClass:"image-container"},[e.image?t("img",{staticClass:"image",attrs:{src:e.image}}):e._e()]),e._v(" "),t("div",{staticClass:"close image-viewer-icon",attrs:{title:"关闭"},on:{click:function(t){e.open=!1}}},[t("VIcon",{attrs:{size:48,icon:"mdi-close"}})],1),e._v(" "),t("a",{staticClass:"copy-link image-viewer-icon",attrs:{target:"_blank",title:"复制原链接"},on:{click:function(t){return e.copyLink()}}},[e.copiedTimer?t("VIcon",{attrs:{size:48,icon:"mdi-check"}}):t("VIcon",{attrs:{size:48,icon:"mdi-link"}})],1),e._v(" "),t("a",{staticClass:"new-tab image-viewer-icon",attrs:{target:"_blank",title:"在新标签页打开"},on:{click:function(t){return e.newTab()}}},[t("VIcon",{attrs:{size:48,icon:"mdi-open-in-new"}})],1),e._v(" "),e.blobUrl?t("a",{staticClass:"download image-viewer-icon",attrs:{target:"_blank",title:"下载",href:e.blobUrl,download:e.filename}},[t("VIcon",{attrs:{size:48,icon:"mdi-download"}})],1):e._e()])])};N._withStripped=!0;var q=n(7509),U=n(6844),H=n(572);const Z=Vue.extend({components:{VIcon:o.default},props:{image:{type:String,required:!0}},data:()=>({filename:"",open:!1,blobUrl:"",keyHandler:null,copiedTimer:0}),watch:{async image(e){this.blobUrl&&URL.revokeObjectURL(this.blobUrl),e||(this.blobUrl="");const t=await(0,H.getBlob)(e);this.blobUrl=URL.createObjectURL(t),this.updateFilename()}},mounted(){this.keyHandler=e=>{"Escape"===e.key&&(this.open=!1)},document.addEventListener("keydown",this.keyHandler),(0,q.addComponentListener)("settingsPanel.filenameFormat",(()=>{this.updateFilename()}),!0)},beforeDestroy(){document.removeEventListener("keydown",this.keyHandler)},methods:{async copyLink(){await navigator.clipboard.writeText(this.image),this.copiedTimer&&window.clearTimeout(this.copiedTimer),this.copiedTimer=window.setTimeout((()=>{this.copiedTimer=0}),2e3)},newTab(){window.open(this.image,"_blank")},detectOutside(e){const t=this.$el,{viewer:n}=this.$refs;e.target!==t&&e.target!==n||(this.open=!1)},updateFilename(){const e=this.image;this.filename=e?(0,U.getFriendlyTitle)(document.URL.includes("/www.bilibili.com/bangumi/"))+e.substring(e.lastIndexOf(".")):""}}});var W=n(4572),G=n.n(W),Q={insert:"head",singleton:!1};u()(G(),Q);G().locals;const Y=(0,c.A)(Z,N,[],!1,null,"8829ba14",null).exports;let K;const X=async e=>(K||await(async()=>(K=new Y({propsData:{image:"",open:!1}}).$mount(),document.body.insertAdjacentElement("beforeend",K.$el),K))(),setTimeout((()=>{K.image=e,K.open=!0})),K);var J=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"be-progress-bar"},[t("div",{staticClass:"progress",class:{transition:e.transition},style:{width:e.width}})])};J._withStripped=!0;const _=Vue.extend({name:"ProgressBar",props:{progress:{type:Number,default:50},min:{type:Number,default:0},max:{type:Number,default:100},transition:{type:Boolean,default:!1}},computed:{width(){let e=this.progress;e>this.max?e=this.max:ethis.max?e=this.max:e{de.has(e)?de.get(e).push({instance:t,uncheck:n}):de.set(e,[{instance:t,uncheck:n}])})),ue=Vue.extend({name:"RadioButton",components:{CheckBox:h},model:{prop:"checked",event:"change"},props:{checked:{type:Boolean,required:!0},allowUncheck:{type:Boolean,default:!1},group:{type:String,default:""},checkedIcon:{type:String,default:"mdi-radiobox-marked"},notCheckedIcon:{type:String,default:"mdi-radiobox-blank"}},watch:{checked(e){if(e){const e=this.group,t=this.$el;let n;n=""===e?t.parentElement:e,de.get(n).forEach((e=>{let{instance:t,uncheck:n}=e;t!==this&&n()}))}}},mounted(){const e=this.group,t=this.$el;let n;n=me(""===e?t.parentElement:e),n(this,(()=>this.$emit("change",!1)))},methods:{emitChange(e){(this.checked&&this.allowUncheck||!this.checked)&&this.$emit("change",e)}}});const fe=(0,c.A)(ue,le,[],!1,null,null,null).exports;var pe=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"be-range-input"},[t("TextBox",{attrs:{"change-on-blur":"",text:e.wrapper.range.start.toString()},on:{change:function(t){e.wrapper.start=t}}}),e._v(" "),e._t("separator",(function(){return[t("div",{staticClass:"default-separator"},[e._v("~")])]})),e._v(" "),t("TextBox",{attrs:{"change-on-blur":"",text:e.wrapper.range.end.toString()},on:{change:function(t){e.wrapper.end=t}}})],2)};pe._withStripped=!0;const be=e=>({range:e.range,get start(){return this.range.start.toString()},set start(e){this.createNewRange(e,this.end)},get end(){return this.range.end.toString()},set end(e){this.createNewRange(this.start,e)},createNewRange(t,n){let o={start:t,end:n};e.validator&&(o=e.validator(o)),null!=o?(this.range=o,e.$emit("change",o)):this.range={start:this.range.start,end:this.range.end}}}),he=Vue.extend({name:"RangeInput",components:{TextBox:()=>Promise.resolve().then(n.bind(n,5601))},model:{prop:"range",event:"change"},props:{range:{type:Object,required:!0},validator:{type:Function,default:void 0}},data(){return{wrapper:be(this)}}});var ge=n(2771),ve=n.n(ge),Fe={insert:"head",singleton:!1};u()(ve(),Fe);ve().locals;const we=(0,c.A)(he,pe,[],!1,null,"b459c060",null).exports;var ye=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"be-scroll-trigger",on:{click:function(t){return e.trigger()}}},[e._t("default",(function(){return[t("VLoading")]}))],2)};ye._withStripped=!0;var xe=n(9724);const ke=Vue.extend({components:{VLoading:()=>Promise.resolve().then(n.bind(n,1367)).then((e=>e.default))},props:{detectViewport:{type:Boolean,required:!1,default:!1}},data:()=>({isFirstLoad:!0,isViewportTriggerRunning:!1,parentLoadState:"none"}),async mounted(){const e=(0,xe.useScopedConsole)("ScrollTrigger"),t=this.$el,{visible:o}=await Promise.resolve().then(n.bind(n,7356));o(t,(async n=>{if(n.some((e=>e.intersectionRatio>0))){if(e.log("Intersection Observer trigger"),this.trigger(),!this.detectViewport&&!this.isFirstLoad&&this.isViewportTriggerRunning)return;for(this.isViewportTriggerRunning=!0;this.getVisibleStateByViewport(t);)if(await(0,D.delay)(500),"loaded"===this.parentLoadState){if(!this.getVisibleStateByViewport(t))break;e.log("is first load & viewport trigger"),this.trigger()}this.isFirstLoad=!1}}))},methods:{getElementToViewportBottomDistance:e=>document.documentElement.clientHeight-e.getBoundingClientRect().top,getVisibleStateByViewport(e){return Boolean(this.getElementToViewportBottomDistance(e)>-20)},setLoadState(e){this.parentLoadState=e},resetIsFirstLoad(){this.isFirstLoad=!0},trigger(){this.$emit("trigger")}}});var Ce=n(69),Ae=n.n(Ce),Ee={insert:"head",singleton:!1};u()(Ae(),Ee);Ae().locals;const Be=(0,c.A)(ke,ye,[],!1,null,null,null).exports;var De=n(9726),Ie=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"be-tab-control"},[t("div",{staticClass:"default-header"},[e._t("tabs",(function(){return[t("div",{staticClass:"default-tabs"},e._l(e.tabs,(function(n){return t("div",{key:n.name,staticClass:"default-tab",class:{selected:n===e.selectedTab},attrs:{"data-count":n.count>0?n.count:null},on:{click:function(t){return e.selectTab(n)}}},[t("div",{staticClass:"default-tab-name"},[e._v("\n "+e._s(n.displayName)+"\n ")])])})),0)]})),e._v(" "),t("div",{staticClass:"header-item"},[e._t("header-item")],2),e._v(" "),null!==e.moreLink&&void 0!==e.moreLink?t("a",{staticClass:"be-more-link",attrs:{href:"function"==typeof e.moreLink?e.moreLink(e.selectedTab):e.moreLink,target:"_blank"}},[t("VButton",{attrs:{disabled:!e.moreLink,round:""}},[e._t("more-link",(function(){return[e._v("\n 查看更多\n "),t("VIcon",{attrs:{icon:"mdi-dots-horizontal",size:18}})]}))],2)],1):e._e()],2),e._v(" "),e._t("content",(function(){return[t("div",{staticClass:"default-content"},[t("transition",{attrs:{name:"content-transition"}},[t(e.selectedTab.component,e._b({tag:"component"},"component",e.selectedTab.propsData,!1))],1)],1)]}))],2)};Ie._withStripped=!0;const Se=Vue.extend({name:"TabControl",components:{VButton:()=>Promise.resolve().then(n.bind(n,2539)).then((e=>e.default)),VIcon:()=>Promise.resolve().then(n.bind(n,7382)).then((e=>e.default))},model:{prop:"link",event:"change"},props:{tabs:{type:Array,required:!0,validator:e=>0!==e.length},defaultTab:{type:String,required:!1,default:""},link:{type:String,required:!1,default:null},moreLink:{type:[String,Function],default:null}},data(){const e=this.tabs;return{selectedTabName:e.find((e=>e.name===this.defaultTab))?.name??e[0].name}},computed:{selectedTab(){return this.tabs.find((e=>e.name===this.selectedTabName))}},mounted(){this.$emit("change",this.selectedTab.activeLink)},methods:{selectTab(e){this.selectedTabName!==e.name?(this.selectedTabName=e.name,e.count=0,this.$emit("change",this.selectedTab.activeLink)):e.activeLink&&window.open(e.activeLink,"_blank")}}});var ze=n(9435),Pe=n.n(ze),Me={insert:"head",singleton:!1};u()(Pe(),Me);Pe().locals;const Oe=(0,c.A)(Se,Ie,[],!1,null,null,null).exports;var Ve=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"be-text-area",attrs:{role:"text"}},[t("textarea",e._g(e._b({ref:"input",attrs:{type:"text"},domProps:{value:e.text},on:{change:function(t){return t.stopPropagation(),e.change.apply(null,arguments)},input:function(t){return t.stopPropagation(),e.input.apply(null,arguments)},compositionstart:e.compositionStart,compositionend:e.compositionEnd}},"textarea",e.$attrs,!1),e.restListeners))])};Ve._withStripped=!0;var Te=n(4462);const Le=Vue.extend({name:"TextArea",mixins:[Te.Q]});var Re=n(2934),je=n.n(Re),Ne={insert:"head",singleton:!1};u()(je(),Ne);je().locals;const qe=(0,c.A)(Le,Ve,[],!1,null,null,null).exports;var Ue=n(5601),He=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{directives:[{name:"hit",rawName:"v-hit",value:e.hit,expression:"hit"}],staticClass:"be-dropdown",class:{disabled:e.disabled,round:e.round},attrs:{role:"combobox",tabindex:e.disabled?-1:0,"aria-disabled":e.disabled}},[t("div",{ref:"selected",staticClass:"selected"},[t("div",{staticClass:"selected-item"},[null!==e.value&&void 0!==e.value?e._t("item",(function(){return[e._v("\n "+e._s(e.value.displayName)+"\n ")]}),{item:e.value}):e._e()],2),e._v(" "),t("div",{staticClass:"arrow",class:{open:e.popupOpen}},[e._t("arrow",(function(){return[t("div",{staticClass:"default-arrow"},[t("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 24 24"}},[t("defs",[t("clipPath",{attrs:{id:"clip-arrow-down"}},[t("rect",{attrs:{width:"24",height:"24"}})])]),e._v(" "),t("g",{attrs:{id:"arrow-down","clip-path":"url(#clip-arrow-down)"}},[t("path",{attrs:{id:"Path_1","data-name":"Path 1",d:"M2,17,12,7,22,17",transform:"translate(24 25) rotate(180)","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2"}})])])])]}))],2)]),e._v(" "),t("VPopup",{ref:"popup",staticClass:"dropdown-popup",attrs:{lazy:!1,"trigger-element":e.$refs.selected},on:{keydown:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"esc",27,t.key,["Esc","Escape"])?null:e.selectItem(e.value)}},model:{value:e.popupOpen,callback:function(t){e.popupOpen=t},expression:"popupOpen"}},e._l(e.items,(function(n){return t("div",{directives:[{name:"hit",rawName:"v-hit",value:()=>e.selectItem(n),expression:"() => selectItem(item)"}],key:e.keyMapper(n),staticClass:"bex-dropdown-item",attrs:{tabindex:e.popupOpen?0:-1}},[e._t("item",(function(){return[e._v("\n "+e._s(n.displayName)+"\n ")]}),{item:n})],2)})),0)],1)};He._withStripped=!0;var Ze=n(9495);const We=Vue.extend({name:"VDropdown",components:{VPopup:Ze.default},model:{prop:"value",event:"change"},props:{value:{required:!0},items:{type:Array,required:!0},keyMapper:{type:Function,default:e=>e.name},round:{type:Boolean,default:!1}},data:()=>({popupOpen:!1}),computed:{disabled(){return Boolean(this.$attrs.disabled)}},watch:{disabled(e){e&&(this.popupOpen=!1)}},created(){null!==this.value&&void 0!==this.value||this.$emit("change",this.items[0]||"")},methods:{selectItem(e){e!==this.value&&this.$emit("change",e),this.popupOpen=!1,this.$el.focus()},hit(e){if(this.disabled)return;const t=this.$refs.popup.$el,n=e.target;t===n||t.contains(n)||(this.popupOpen=!this.popupOpen)}}});var Ge=n(5745),Qe=n.n(Ge),Ye={insert:"head",singleton:!1};u()(Qe(),Ye);Qe().locals;const Ke=(0,c.A)(We,He,[],!1,null,"a50268e4",null).exports;var Xe=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"be-empty"},[e._t("default",(function(){return["string"==typeof e.config.content&&e.config.content.length>0?[e._v("\n "+e._s(e.config.content)+"\n ")]:e._e(),e._v(" "),"string"!=typeof e.config.content?t(e.config.content,{tag:"component"}):e._e()]}))],2)};Xe._withStripped=!0;var Je=n(3541);const[_e]=(0,Je.registerAndGetData)("vEmpty",{content:"空空如也哦 = ̄ω ̄="}),$e=Vue.extend({name:"VEmpty",data:()=>({config:_e})});var et=n(5136),tt=n.n(et),nt={insert:"head",singleton:!1};u()(tt(),nt);tt().locals;const ot=(0,c.A)($e,Xe,[],!1,null,null,null).exports;var it=n(1367),rt=n(906),at=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("VButton",e._g(e._b({staticClass:"default-widget"},"VButton",e.$attrs,!1),e.$listeners),[t("div",{staticClass:"widget-icon"},[e._t("icon",(function(){return[t("VIcon",{attrs:{type:e.iconType,icon:e.icon}})]}))],2),e._v(" "),t("div",{staticClass:"widget-name"},[e._t("default",(function(){return[e._v(e._s(e.name))]}))],2)])};at._withStripped=!0;const ct=Vue.extend({components:{VIcon:o.default,VButton:r.default},props:{name:{type:String,default:""},icon:{type:String,default:""},iconType:{type:String,default:""}}});var st=n(3953),lt=n.n(st),dt={insert:"head",singleton:!1};u()(lt(),dt);lt().locals;const mt=(0,c.A)(ct,at,[],!1,null,"20e1bedd",null).exports;var ut=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"collapsible-container"},[t("div",{staticClass:"header",on:{click:e.onHeaderClick}},[e._t("header",(function(){return[t("div",{staticClass:"default-header"},[e._t("title",(function(){return[t("span",{staticClass:"default-header-title"},[e._v(e._s(e.title))])]})),e._v(" "),e.hideExpandButton?e._e():t("VIcon",{staticClass:"arrow",class:{expanded:e.computedExpanded},attrs:{size:18,icon:"mdi-chevron-down"},on:{click:e.onBtnClick}})],2)]}))],2),e._v(" "),t("div",{directives:[{name:"show",rawName:"v-show",value:e.computedExpanded,expression:"computedExpanded"}],staticClass:"content",class:{disabled:e.disableContent}},[e._t("default")],2)])};ut._withStripped=!0;var ft=n(3654);const pt=(0,ft.defineComponent)({name:"CollapsibleContainer",components:{VIcon:o.default},props:{title:{type:String,default:""},expanded:{type:Boolean,default:void 0},defaultExpanded:{type:Boolean,default:!1},enableExpandByHeader:{type:Boolean,default:!0},hideExpandButton:{type:Boolean,default:!1},disableContent:{type:Boolean,default:!1}},emits:["expanded"],setup(e,t){let{emit:n}=t;const o=(0,ft.shallowRef)(e.defaultExpanded),i=(0,ft.computed)((()=>void 0!==e.expanded?e.expanded:o.value)),r=()=>{void 0!==e.expanded?n("expanded",!e.expanded):o.value=!o.value};return{computedExpanded:i,onBtnClick:e=>{e.stopPropagation(),r()},onHeaderClick:()=>{e.enableExpandByHeader&&r()}}}});var bt=n(5640),ht=n.n(bt),gt={insert:"head",singleton:!1};u()(ht(),gt);ht().locals;const vt=(0,c.A)(pt,ut,[],!1,null,"2c565e7e",null).exports;var Ft=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("OptionWidgetLayout",{attrs:{title:e.title,"is-popup":e.isPopup,icon:e.icon}},[t(e.currentComponent,e._b({tag:"component"},"component","div"===e.currentComponent?{class:"container"}:{defaultExpanded:!0,title:e.title},!1),e._l(Object.entries(e.itemVMs),(function([n,o]){return t("RadioGroupItem",{key:n,attrs:{title:o.displayName,"default-expanded":!!o.optionsFiltered,"hide-expand-button":!o.optionsFiltered,checked:o.checked,group:e.groupName,"disable-content":!!e.disableContent&&!o.checked},on:{change:t=>e.onRadioChange(o,t)}},[o.optionsFiltered?t("div",e._l(Object.entries(o.optionsFiltered),(function([n,o]){return t("ComponentOption",{key:n,attrs:{name:n,"display-name":o.displayName,option:o,component:e.componentData}})})),1):e._e()])})),1)],1)};Ft._withStripped=!0;var wt=n(1164),yt=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("CollapsibleContainer",{attrs:{expanded:e.computedExpanded,"default-expanded":e.defaultExpanded,"hide-expand-button":e.hideExpandButton,"enable-expand-by-header":!1,"disable-content":e.disableContent},on:{expanded:e.onExpanded},scopedSlots:e._u([{key:"title",fn:function(){return[t("RadioButton",{staticClass:"group-title",attrs:{"no-effects":"",checked:e.computedChecked,"allow-uncheck":e.allowUncheck,group:e.group,"checked-icon":e.checkedIcon,"not-checked-icon":e.notCheckedIcon},on:{change:e.onRadioChanged}},[e._v("\n "+e._s(e.title)+"\n ")])]},proxy:!0}])},[e._v(" "),e._t("default")],2)};yt._withStripped=!0;const xt=(0,ft.defineComponent)({components:{RadioButton:fe,CollapsibleContainer:vt},props:{title:{type:String,default:""},expanded:{type:Boolean,default:void 0},defaultExpanded:{type:Boolean,default:!1},hideExpandButton:{type:Boolean,default:!1},disableContent:{type:Boolean,default:!1},checked:{type:Boolean,default:void 0},allowUncheck:{type:Boolean,default:!1},group:{type:String,default:""},checkedIcon:{type:String,default:"mdi-radiobox-marked"},notCheckedIcon:{type:String,default:"mdi-radiobox-blank"}},emits:["expanded","change"],setup(e,t){let{emit:n}=t;const o=(0,ft.shallowRef)(e.defaultExpanded),i=(0,ft.computed)((()=>void 0!==e.expanded?e.expanded:o.value)),r=(0,ft.shallowRef)(!1);return{computedExpanded:i,onExpanded:t=>{void 0!==e.expanded?n("expanded",t):o.value=t},computedChecked:(0,ft.computed)((()=>void 0!==e.checked?e.checked:r.value)),onRadioChanged:t=>{void 0!==e.checked?n("change",t):r.value=t}}}});var kt=n(4222),Ct=n.n(kt),At={insert:"head",singleton:!1};u()(Ct(),At);Ct().locals;const Et=(0,c.A)(xt,yt,[],!1,null,"9b855096",null).exports;var Bt=n(9496),Dt=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"option-widget-layout"},[e.isPopup?t("VPopup",{staticClass:"option-widget-popup",attrs:{"trigger-element":e.$refs.popupButton,"auto-destroy":""},model:{value:e.popup,callback:function(t){e.popup=t},expression:"popup"}},[e._t("default")],2):e._e(),e._v(" "),e.isPopup?t("DefaultWidget",{ref:"popupButton",attrs:{icon:e.icon},on:{click:function(t){e.popup=!e.popup}}},[t("span",[e._v(e._s(e.title))])]):e._e(),e._v(" "),e.isPopup?e._e():e._t("default")],2)};Dt._withStripped=!0;const It=Vue.extend({components:{DefaultWidget:mt,VPopup:Ze.default},props:{isPopup:{type:Boolean,required:!0},title:{type:String,required:!0},icon:{type:String,default:""}},data:()=>({popup:!1})});var St=n(1009),zt=n.n(St),Pt={insert:"head",singleton:!1};u()(zt(),Pt);zt().locals;const Mt=(0,c.A)(It,Dt,[],!1,null,null,null).exports,Ot=(0,ft.defineComponent)({components:{ComponentOption:wt.A,RadioGroupItem:Et,CollapsibleContainer:vt,OptionWidgetLayout:Mt},props:{title:{type:String,default:""},groupName:{type:String,required:!0},items:{type:Object,required:!0},componentName:{type:String,required:!0},isPopup:{type:Boolean,required:!0},icon:{type:String,default:""},hasContainer:{type:Boolean,default:!0},disableContent:{type:Boolean,default:!1}},setup(e){const t=Bt.componentsMap[e.componentName],n=t.options,o=(0,q.getComponentSettings)(t).options,i=Object.fromEntries(Object.entries(e.items).map((t=>{let[i,r]=t;const a={...r};return r.isOption?(a.displayName=n[r.name]?.displayName??r.name,a.checked=!!o[r.name],(0,q.addComponentListener)(`${e.componentName}.${r.name}`,(e=>{a.checked=e}))):a.displayName=r.name,r.optionsIncluded&&(a.optionsFiltered=Object.fromEntries(Object.entries(n).filter((e=>{let[t]=e;return((e,t)=>{if(t.optionsIncluded){const n=t.optionsIncluded;return n instanceof RegExp?n.test(e):!!Array.isArray(n)&&n.includes(e)}return!0})(t,r)})))),[i,a]})));return{componentData:t,itemVMs:(0,ft.ref)(i),onRadioChange:function(e,t){e.checked=t,e.isOption&&setTimeout((()=>o[e.name]=t),200),e.onChange&&e.onChange(t)},currentComponent:e.hasContainer?vt:"div"}}}),Vt=Ot;var Tt=n(1513),Lt=n.n(Tt),Rt={insert:"head",singleton:!1};u()(Lt(),Rt);Lt().locals;const jt=(0,c.A)(Vt,Ft,[],!1,null,"106e4984",null).exports;var Nt=n(7641)},1262:(e,t,n)=>{"use strict";n.d(t,{initMdiStyle:()=>r});var o=n(9137),i=n.n(o);const r=()=>{const e=document.createElement("style");return e.id="be-mdi",e.innerHTML=i(),e}},4462:(e,t,n)=>{"use strict";n.d(t,{Q:()=>o});const o=Vue.extend({model:{prop:"text",event:"change"},props:{text:{type:String,required:!1,default:""},changeOnBlur:{type:Boolean,required:!1,default:!1},validator:{type:Function,default:void 0}},data(){return{composing:!1,restListeners:lodash.omit(this.$listeners,"change","input","compositionstart","compositionend")}},methods:{emitChange(){let{value:e}=this.$refs.input;this.validator&&(e=this.validator(e,this.text),this.changeOnBlur&&(this.$refs.input.value=e)),e!==this.text&&this.$emit("change",e)},input(){this.changeOnBlur||this.composing||this.emitChange()},change(){this.changeOnBlur&&!this.composing&&this.emitChange()},compositionStart(){this.composing=!0},compositionEnd(){this.composing=!1,this.input()},focus(){this.$refs.input.focus()}}})},6758:(e,t,n)=>{"use strict";n.d(t,{A:()=>u});var o=n(6073);const i="the1812",r="cdn.jsdelivr.net",a={name:"jsDelivr",owner:i,host:r,stableClient:`https://${r}/gh/${i}/Bilibili-Evolved@master/dist/bilibili-evolved.user.js`,previewClient:`https://${r}/gh/${i}/Bilibili-Evolved@preview/dist/bilibili-evolved.preview.user.js`,library:{lodash:{url:`https://${r}/npm/lodash@4.17.21/lodash.min.js`,sha256:"a9705dfc47c0763380d851ab1801be6f76019f6b67e40e9b873f8b4a0603f7a9"},protobuf:{url:`https://${r}/npm/protobufjs@6.10.1/dist/light/protobuf.min.js`,sha256:"8978daf871b02d683ecaee371861702a6f31d0a4c52925b7db2bb1655a8bc7d1"},jszip:{url:`https://${r}/npm/jszip@3.7.1/dist/jszip.min.js`,sha256:"c9e4a52bac18aee4f3f90d05fbca603f5b0f5bf1ce8c45e60bb4ed3a2cb2ed86"},sortable:{url:`https://${r}/npm/sortablejs@1.14.0/Sortable.min.js`,sha256:"0ea5a6fbfbf5434b606878533cb7a66bcf700f0f08afe908335d0978fb63ad94"},streamsaver:{url:`https://${r}/npm/streamsaver@2.0.6/StreamSaver.js`,sha256:"a110f78e0b092481dc372901c4d57ae50681d773bc9d55e62356f9a22f17e24b"},ffmpeg:{worker:{url:`https://${r}/npm/@ffmpeg/ffmpeg@0.12.4/dist/umd/814.ffmpeg.js`,sha256:"baf19437171b1bccae4416e4da69fb40455b8e67142f79c8ec9da36b1de7fd8a"},core:{url:`https://${r}/npm/@ffmpeg/core@0.12.4/dist/umd/ffmpeg-core.js`,sha256:"6af6b8cd8c878dec6f61f3cd6be16e88f9391dd265e51f20afea5c0f718bfba0"},wasm:{url:`https://${r}/npm/@ffmpeg/core@0.12.4/dist/umd/ffmpeg-core.wasm`,sha256:"81bdc645b71d7d74ff56fdc0979c5fcb2f92ffcc7f24573a79681fed4ea73905"}}},smallLogo:`https://${r}/gh/${i}/Bilibili-Evolved@preview/images/logo-small.png`,logo:`https://${r}/gh/${i}/Bilibili-Evolved@preview/images/logo.png`,root:(e,t)=>`https://${r}/gh/${t||i}/Bilibili-Evolved@${e}/`},c="the1812",s="raw.githubusercontent.com",l={name:"GitHub",owner:c,host:s,stableClient:`https://${s}/${c}/Bilibili-Evolved/master/dist/bilibili-evolved.user.js`,previewClient:`https://${s}/${c}/Bilibili-Evolved/preview/dist/bilibili-evolved.preview.user.js`,library:{lodash:{url:`https://${s}/lodash/lodash/4.17.21/dist/lodash.min.js`,sha256:"a9705dfc47c0763380d851ab1801be6f76019f6b67e40e9b873f8b4a0603f7a9"},protobuf:{url:`https://${s}/protobufjs/protobuf.js/v6.10.1/dist/light/protobuf.min.js`,sha256:"8978daf871b02d683ecaee371861702a6f31d0a4c52925b7db2bb1655a8bc7d1"},jszip:{url:`https://${s}/Stuk/jszip/v3.7.1/dist/jszip.min.js`,sha256:"c9e4a52bac18aee4f3f90d05fbca603f5b0f5bf1ce8c45e60bb4ed3a2cb2ed86"},sortable:{url:`https://${s}/SortableJS/Sortable/1.14.0/Sortable.min.js`,sha256:"0ea5a6fbfbf5434b606878533cb7a66bcf700f0f08afe908335d0978fb63ad94"},streamsaver:{url:`https://${s}/jimmywarting/StreamSaver.js/2.0.6/StreamSaver.js`,sha256:"a110f78e0b092481dc372901c4d57ae50681d773bc9d55e62356f9a22f17e24b"},ffmpeg:a.library.ffmpeg},smallLogo:`https://${s}/${c}/Bilibili-Evolved/preview/images/logo-small.png`,logo:`https://${s}/${c}/Bilibili-Evolved/preview/images/logo.png`,root:(e,t)=>`https://${s}/${t||c}/Bilibili-Evolved/${e}/`},d=l,m={github:l,jsDelivr:a},u={...{year:(new Date).getFullYear(),version:o.version,altCdn:d,allCdns:m},commitHash:"58c0b438ca2371e397f70466a91572cb2757b142",branch:"master",nearestTag:"v2.10.7",versionWithTag:"v2.10.7-128-g58c0b438c"}},6481:(e,t,n)=>{var o=n(4176),i={};for(var r in o)o.hasOwnProperty(r)&&(i[o[r]]=r);var a=e.exports={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};for(var c in a)if(a.hasOwnProperty(c)){if(!("channels"in a[c]))throw new Error("missing channels property: "+c);if(!("labels"in a[c]))throw new Error("missing channel labels property: "+c);if(a[c].labels.length!==a[c].channels)throw new Error("channel and label counts mismatch: "+c);var s=a[c].channels,l=a[c].labels;delete a[c].channels,delete a[c].labels,Object.defineProperty(a[c],"channels",{value:s}),Object.defineProperty(a[c],"labels",{value:l})}a.rgb.hsl=function(e){var t,n,o=e[0]/255,i=e[1]/255,r=e[2]/255,a=Math.min(o,i,r),c=Math.max(o,i,r),s=c-a;return c===a?t=0:o===c?t=(i-r)/s:i===c?t=2+(r-o)/s:r===c&&(t=4+(o-i)/s),(t=Math.min(60*t,360))<0&&(t+=360),n=(a+c)/2,[t,100*(c===a?0:n<=.5?s/(c+a):s/(2-c-a)),100*n]},a.rgb.hsv=function(e){var t,n,o,i,r,a=e[0]/255,c=e[1]/255,s=e[2]/255,l=Math.max(a,c,s),d=l-Math.min(a,c,s),m=function(e){return(l-e)/6/d+.5};return 0===d?i=r=0:(r=d/l,t=m(a),n=m(c),o=m(s),a===l?i=o-n:c===l?i=1/3+t-o:s===l&&(i=2/3+n-t),i<0?i+=1:i>1&&(i-=1)),[360*i,100*r,100*l]},a.rgb.hwb=function(e){var t=e[0],n=e[1],o=e[2];return[a.rgb.hsl(e)[0],100*(1/255*Math.min(t,Math.min(n,o))),100*(o=1-1/255*Math.max(t,Math.max(n,o)))]},a.rgb.cmyk=function(e){var t,n=e[0]/255,o=e[1]/255,i=e[2]/255;return[100*((1-n-(t=Math.min(1-n,1-o,1-i)))/(1-t)||0),100*((1-o-t)/(1-t)||0),100*((1-i-t)/(1-t)||0),100*t]},a.rgb.keyword=function(e){var t=i[e];if(t)return t;var n,r,a,c=1/0;for(var s in o)if(o.hasOwnProperty(s)){var l=o[s],d=(r=e,a=l,Math.pow(r[0]-a[0],2)+Math.pow(r[1]-a[1],2)+Math.pow(r[2]-a[2],2));d.04045?Math.pow((t+.055)/1.055,2.4):t/12.92)+.3576*(n=n>.04045?Math.pow((n+.055)/1.055,2.4):n/12.92)+.1805*(o=o>.04045?Math.pow((o+.055)/1.055,2.4):o/12.92)),100*(.2126*t+.7152*n+.0722*o),100*(.0193*t+.1192*n+.9505*o)]},a.rgb.lab=function(e){var t=a.rgb.xyz(e),n=t[0],o=t[1],i=t[2];return o/=100,i/=108.883,n=(n/=95.047)>.008856?Math.pow(n,1/3):7.787*n+16/116,[116*(o=o>.008856?Math.pow(o,1/3):7.787*o+16/116)-16,500*(n-o),200*(o-(i=i>.008856?Math.pow(i,1/3):7.787*i+16/116))]},a.hsl.rgb=function(e){var t,n,o,i,r,a=e[0]/360,c=e[1]/100,s=e[2]/100;if(0===c)return[r=255*s,r,r];t=2*s-(n=s<.5?s*(1+c):s+c-s*c),i=[0,0,0];for(var l=0;l<3;l++)(o=a+1/3*-(l-1))<0&&o++,o>1&&o--,r=6*o<1?t+6*(n-t)*o:2*o<1?n:3*o<2?t+(n-t)*(2/3-o)*6:t,i[l]=255*r;return i},a.hsl.hsv=function(e){var t=e[0],n=e[1]/100,o=e[2]/100,i=n,r=Math.max(o,.01);return n*=(o*=2)<=1?o:2-o,i*=r<=1?r:2-r,[t,100*(0===o?2*i/(r+i):2*n/(o+n)),100*((o+n)/2)]},a.hsv.rgb=function(e){var t=e[0]/60,n=e[1]/100,o=e[2]/100,i=Math.floor(t)%6,r=t-Math.floor(t),a=255*o*(1-n),c=255*o*(1-n*r),s=255*o*(1-n*(1-r));switch(o*=255,i){case 0:return[o,s,a];case 1:return[c,o,a];case 2:return[a,o,s];case 3:return[a,c,o];case 4:return[s,a,o];case 5:return[o,a,c]}},a.hsv.hsl=function(e){var t,n,o,i=e[0],r=e[1]/100,a=e[2]/100,c=Math.max(a,.01);return o=(2-r)*a,n=r*c,[i,100*(n=(n/=(t=(2-r)*c)<=1?t:2-t)||0),100*(o/=2)]},a.hwb.rgb=function(e){var t,n,o,i,r,a,c,s=e[0]/360,l=e[1]/100,d=e[2]/100,m=l+d;switch(m>1&&(l/=m,d/=m),o=6*s-(t=Math.floor(6*s)),1&t&&(o=1-o),i=l+o*((n=1-d)-l),t){default:case 6:case 0:r=n,a=i,c=l;break;case 1:r=i,a=n,c=l;break;case 2:r=l,a=n,c=i;break;case 3:r=l,a=i,c=n;break;case 4:r=i,a=l,c=n;break;case 5:r=n,a=l,c=i}return[255*r,255*a,255*c]},a.cmyk.rgb=function(e){var t=e[0]/100,n=e[1]/100,o=e[2]/100,i=e[3]/100;return[255*(1-Math.min(1,t*(1-i)+i)),255*(1-Math.min(1,n*(1-i)+i)),255*(1-Math.min(1,o*(1-i)+i))]},a.xyz.rgb=function(e){var t,n,o,i=e[0]/100,r=e[1]/100,a=e[2]/100;return n=-.9689*i+1.8758*r+.0415*a,o=.0557*i+-.204*r+1.057*a,t=(t=3.2406*i+-1.5372*r+-.4986*a)>.0031308?1.055*Math.pow(t,1/2.4)-.055:12.92*t,n=n>.0031308?1.055*Math.pow(n,1/2.4)-.055:12.92*n,o=o>.0031308?1.055*Math.pow(o,1/2.4)-.055:12.92*o,[255*(t=Math.min(Math.max(0,t),1)),255*(n=Math.min(Math.max(0,n),1)),255*(o=Math.min(Math.max(0,o),1))]},a.xyz.lab=function(e){var t=e[0],n=e[1],o=e[2];return n/=100,o/=108.883,t=(t/=95.047)>.008856?Math.pow(t,1/3):7.787*t+16/116,[116*(n=n>.008856?Math.pow(n,1/3):7.787*n+16/116)-16,500*(t-n),200*(n-(o=o>.008856?Math.pow(o,1/3):7.787*o+16/116))]},a.lab.xyz=function(e){var t,n,o,i=e[0];t=e[1]/500+(n=(i+16)/116),o=n-e[2]/200;var r=Math.pow(n,3),a=Math.pow(t,3),c=Math.pow(o,3);return n=r>.008856?r:(n-16/116)/7.787,t=a>.008856?a:(t-16/116)/7.787,o=c>.008856?c:(o-16/116)/7.787,[t*=95.047,n*=100,o*=108.883]},a.lab.lch=function(e){var t,n=e[0],o=e[1],i=e[2];return(t=360*Math.atan2(i,o)/2/Math.PI)<0&&(t+=360),[n,Math.sqrt(o*o+i*i),t]},a.lch.lab=function(e){var t,n=e[0],o=e[1];return t=e[2]/360*2*Math.PI,[n,o*Math.cos(t),o*Math.sin(t)]},a.rgb.ansi16=function(e){var t=e[0],n=e[1],o=e[2],i=1 in arguments?arguments[1]:a.rgb.hsv(e)[2];if(0===(i=Math.round(i/50)))return 30;var r=30+(Math.round(o/255)<<2|Math.round(n/255)<<1|Math.round(t/255));return 2===i&&(r+=60),r},a.hsv.ansi16=function(e){return a.rgb.ansi16(a.hsv.rgb(e),e[2])},a.rgb.ansi256=function(e){var t=e[0],n=e[1],o=e[2];return t===n&&n===o?t<8?16:t>248?231:Math.round((t-8)/247*24)+232:16+36*Math.round(t/255*5)+6*Math.round(n/255*5)+Math.round(o/255*5)},a.ansi16.rgb=function(e){var t=e%10;if(0===t||7===t)return e>50&&(t+=3.5),[t=t/10.5*255,t,t];var n=.5*(1+~~(e>50));return[(1&t)*n*255,(t>>1&1)*n*255,(t>>2&1)*n*255]},a.ansi256.rgb=function(e){if(e>=232){var t=10*(e-232)+8;return[t,t,t]}var n;return e-=16,[Math.floor(e/36)/5*255,Math.floor((n=e%36)/6)/5*255,n%6/5*255]},a.rgb.hex=function(e){var t=(((255&Math.round(e[0]))<<16)+((255&Math.round(e[1]))<<8)+(255&Math.round(e[2]))).toString(16).toUpperCase();return"000000".substring(t.length)+t},a.hex.rgb=function(e){var t=e.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!t)return[0,0,0];var n=t[0];3===t[0].length&&(n=n.split("").map((function(e){return e+e})).join(""));var o=parseInt(n,16);return[o>>16&255,o>>8&255,255&o]},a.rgb.hcg=function(e){var t,n=e[0]/255,o=e[1]/255,i=e[2]/255,r=Math.max(Math.max(n,o),i),a=Math.min(Math.min(n,o),i),c=r-a;return t=c<=0?0:r===n?(o-i)/c%6:r===o?2+(i-n)/c:4+(n-o)/c+4,t/=6,[360*(t%=1),100*c,100*(c<1?a/(1-c):0)]},a.hsl.hcg=function(e){var t=e[1]/100,n=e[2]/100,o=1,i=0;return(o=n<.5?2*t*n:2*t*(1-n))<1&&(i=(n-.5*o)/(1-o)),[e[0],100*o,100*i]},a.hsv.hcg=function(e){var t=e[1]/100,n=e[2]/100,o=t*n,i=0;return o<1&&(i=(n-o)/(1-o)),[e[0],100*o,100*i]},a.hcg.rgb=function(e){var t=e[0]/360,n=e[1]/100,o=e[2]/100;if(0===n)return[255*o,255*o,255*o];var i,r=[0,0,0],a=t%1*6,c=a%1,s=1-c;switch(Math.floor(a)){case 0:r[0]=1,r[1]=c,r[2]=0;break;case 1:r[0]=s,r[1]=1,r[2]=0;break;case 2:r[0]=0,r[1]=1,r[2]=c;break;case 3:r[0]=0,r[1]=s,r[2]=1;break;case 4:r[0]=c,r[1]=0,r[2]=1;break;default:r[0]=1,r[1]=0,r[2]=s}return i=(1-n)*o,[255*(n*r[0]+i),255*(n*r[1]+i),255*(n*r[2]+i)]},a.hcg.hsv=function(e){var t=e[1]/100,n=t+e[2]/100*(1-t),o=0;return n>0&&(o=t/n),[e[0],100*o,100*n]},a.hcg.hsl=function(e){var t=e[1]/100,n=e[2]/100*(1-t)+.5*t,o=0;return n>0&&n<.5?o=t/(2*n):n>=.5&&n<1&&(o=t/(2*(1-n))),[e[0],100*o,100*n]},a.hcg.hwb=function(e){var t=e[1]/100,n=t+e[2]/100*(1-t);return[e[0],100*(n-t),100*(1-n)]},a.hwb.hcg=function(e){var t=e[1]/100,n=1-e[2]/100,o=n-t,i=0;return o<1&&(i=(n-o)/(1-o)),[e[0],100*o,100*i]},a.apple.rgb=function(e){return[e[0]/65535*255,e[1]/65535*255,e[2]/65535*255]},a.rgb.apple=function(e){return[e[0]/255*65535,e[1]/255*65535,e[2]/255*65535]},a.gray.rgb=function(e){return[e[0]/100*255,e[0]/100*255,e[0]/100*255]},a.gray.hsl=a.gray.hsv=function(e){return[0,0,e[0]]},a.gray.hwb=function(e){return[0,100,e[0]]},a.gray.cmyk=function(e){return[0,0,0,e[0]]},a.gray.lab=function(e){return[e[0],0,0]},a.gray.hex=function(e){var t=255&Math.round(e[0]/100*255),n=((t<<16)+(t<<8)+t).toString(16).toUpperCase();return"000000".substring(n.length)+n},a.rgb.gray=function(e){return[(e[0]+e[1]+e[2])/3/255*100]}},4732:(e,t,n)=>{var o=n(6481),i=n(1157),r={};Object.keys(o).forEach((function(e){r[e]={},Object.defineProperty(r[e],"channels",{value:o[e].channels}),Object.defineProperty(r[e],"labels",{value:o[e].labels});var t=i(e);Object.keys(t).forEach((function(n){var o=t[n];r[e][n]=function(e){var t=function(t){if(null==t)return t;arguments.length>1&&(t=Array.prototype.slice.call(arguments));var n=e(t);if("object"==typeof n)for(var o=n.length,i=0;i1&&(t=Array.prototype.slice.call(arguments)),e(t))};return"conversion"in e&&(t.conversion=e.conversion),t}(o)}))})),e.exports=r},1157:(e,t,n)=>{var o=n(6481);function i(e){var t=function(){for(var e={},t=Object.keys(o),n=t.length,i=0;i{"use strict";e.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}},4877:e=>{"use strict";e.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}},6138:(e,t,n)=>{var o=n(4877),i=n(301),r=Object.hasOwnProperty,a=Object.create(null);for(var c in o)r.call(o,c)&&(a[o[c]]=c);var s=e.exports={to:{},get:{}};function l(e,t,n){return Math.min(Math.max(t,e),n)}function d(e){var t=Math.round(e).toString(16).toUpperCase();return t.length<2?"0"+t:t}s.get=function(e){var t,n;switch(e.substring(0,3).toLowerCase()){case"hsl":t=s.get.hsl(e),n="hsl";break;case"hwb":t=s.get.hwb(e),n="hwb";break;default:t=s.get.rgb(e),n="rgb"}return t?{model:n,value:t}:null},s.get.rgb=function(e){if(!e)return null;var t,n,i,a=[0,0,0,1];if(t=e.match(/^#([a-f0-9]{6})([a-f0-9]{2})?$/i)){for(i=t[2],t=t[1],n=0;n<3;n++){var c=2*n;a[n]=parseInt(t.slice(c,c+2),16)}i&&(a[3]=parseInt(i,16)/255)}else if(t=e.match(/^#([a-f0-9]{3,4})$/i)){for(i=(t=t[1])[3],n=0;n<3;n++)a[n]=parseInt(t[n]+t[n],16);i&&(a[3]=parseInt(i+i,16)/255)}else if(t=e.match(/^rgba?\(\s*([+-]?\d+)(?=[\s,])\s*(?:,\s*)?([+-]?\d+)(?=[\s,])\s*(?:,\s*)?([+-]?\d+)\s*(?:[,|\/]\s*([+-]?[\d\.]+)(%?)\s*)?\)$/)){for(n=0;n<3;n++)a[n]=parseInt(t[n+1],0);t[4]&&(t[5]?a[3]=.01*parseFloat(t[4]):a[3]=parseFloat(t[4]))}else{if(!(t=e.match(/^rgba?\(\s*([+-]?[\d\.]+)\%\s*,?\s*([+-]?[\d\.]+)\%\s*,?\s*([+-]?[\d\.]+)\%\s*(?:[,|\/]\s*([+-]?[\d\.]+)(%?)\s*)?\)$/)))return(t=e.match(/^(\w+)$/))?"transparent"===t[1]?[0,0,0,0]:r.call(o,t[1])?((a=o[t[1]])[3]=1,a):null:null;for(n=0;n<3;n++)a[n]=Math.round(2.55*parseFloat(t[n+1]));t[4]&&(t[5]?a[3]=.01*parseFloat(t[4]):a[3]=parseFloat(t[4]))}for(n=0;n<3;n++)a[n]=l(a[n],0,255);return a[3]=l(a[3],0,1),a},s.get.hsl=function(e){if(!e)return null;var t=e.match(/^hsla?\(\s*([+-]?(?:\d{0,3}\.)?\d+)(?:deg)?\s*,?\s*([+-]?[\d\.]+)%\s*,?\s*([+-]?[\d\.]+)%\s*(?:[,|\/]\s*([+-]?(?=\.\d|\d)(?:0|[1-9]\d*)?(?:\.\d*)?(?:[eE][+-]?\d+)?)\s*)?\)$/);if(t){var n=parseFloat(t[4]);return[(parseFloat(t[1])%360+360)%360,l(parseFloat(t[2]),0,100),l(parseFloat(t[3]),0,100),l(isNaN(n)?1:n,0,1)]}return null},s.get.hwb=function(e){if(!e)return null;var t=e.match(/^hwb\(\s*([+-]?\d{0,3}(?:\.\d+)?)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?(?=\.\d|\d)(?:0|[1-9]\d*)?(?:\.\d*)?(?:[eE][+-]?\d+)?)\s*)?\)$/);if(t){var n=parseFloat(t[4]);return[(parseFloat(t[1])%360+360)%360,l(parseFloat(t[2]),0,100),l(parseFloat(t[3]),0,100),l(isNaN(n)?1:n,0,1)]}return null},s.to.hex=function(){var e=i(arguments);return"#"+d(e[0])+d(e[1])+d(e[2])+(e[3]<1?d(Math.round(255*e[3])):"")},s.to.rgb=function(){var e=i(arguments);return e.length<4||1===e[3]?"rgb("+Math.round(e[0])+", "+Math.round(e[1])+", "+Math.round(e[2])+")":"rgba("+Math.round(e[0])+", "+Math.round(e[1])+", "+Math.round(e[2])+", "+e[3]+")"},s.to.rgb.percent=function(){var e=i(arguments),t=Math.round(e[0]/255*100),n=Math.round(e[1]/255*100),o=Math.round(e[2]/255*100);return e.length<4||1===e[3]?"rgb("+t+"%, "+n+"%, "+o+"%)":"rgba("+t+"%, "+n+"%, "+o+"%, "+e[3]+")"},s.to.hsl=function(){var e=i(arguments);return e.length<4||1===e[3]?"hsl("+e[0]+", "+e[1]+"%, "+e[2]+"%)":"hsla("+e[0]+", "+e[1]+"%, "+e[2]+"%, "+e[3]+")"},s.to.hwb=function(){var e=i(arguments),t="";return e.length>=4&&1!==e[3]&&(t=", "+e[3]),"hwb("+e[0]+", "+e[1]+"%, "+e[2]+"%"+t+")"},s.to.keyword=function(e){return a[e.slice(0,3)]}},3639:(e,t,n)=>{"use strict";var o=n(6138),i=n(4732),r=[].slice,a=["keyword","gray","hex"],c={};Object.keys(i).forEach((function(e){c[r.call(i[e].labels).sort().join("")]=e}));var s={};function l(e,t){if(!(this instanceof l))return new l(e,t);if(t&&t in a&&(t=null),t&&!(t in i))throw new Error("Unknown model: "+t);var n,d;if(null==e)// eslint-disable-line no-eq-null,eqeqeq +e.__vue__??e.parentElement.__vue__??e.children[0].__vue__??e.__vueParentComponent;function Q(e,t){return Vue.extend({render:n=>n(e,{props:t})})}},9724:(e,t,n)=>{"use strict";n.r(t),n.d(t,{ScopedConsoleCallHook:()=>m,ScopedConsoleCreateHook:()=>d,logError:()=>a,randomScopedConsole:()=>f,useScopedConsole:()=>u});var o=n(226),i=n(8566),r=n(7509);const a=async(e,t)=>{let o;"string"==typeof e?(o=e,console.error(o)):(o=(0,r.getGeneralSettings)().devMode?e.stack:e.message,console.error(e));const{Toast:i}=await Promise.resolve().then(n.bind(n,4757));i.error(o,"错误",t)},c=Symbol("ScopedConsole"),s=Symbol("NamePatch"),l={default:"#78909C",warn:"#CC7A00",error:"#BF6060",group:"#9575CD"},d="scopedConsole.create",m="scopedConsole.call",u=e=>{const{before:t,after:n}=(0,o.getHook)(d),{name:i,color:a=l.default,console:u=window.console}="string"==typeof e?{name:e}:e,f={name:i,color:a,console:u};t(e,u);let p=0;const b=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:t.color;const i=e[c],r=(i?t.color:n)??l.default,a=i?["%c "]:["%c"],d={badgeNames:[...i?.badgeNames??[],...a,`%c${t.name}`],badgeValues:[...i?.badgeValues??[],"",`background-color: ${r}; color: #fff; padding: 2px 4px; border-radius: 4px;`],original:i?.original??e},u=d.original,f=function(){for(var e=arguments.length,t=new Array(e),n=0;n2&&void 0!==arguments[2]?arguments[2]:t.color,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:e=>e;const i=b(e,t,n),r=function(){for(var e=arguments.length,t=new Array(e),n=0;n{g[e][s]||(g[e][s]=e)}));const v={...unsafeWindow.console,...u};return v.log=b(u.log,f),v.info=b(u.info,f),v.warn=b(u.warn,f,l.warn),v.error=b(u.error,f,l.error),v.group=h(u.group,f,l.group,(e=>e+1)),v.groupCollapsed=h(u.groupCollapsed,f,l.group,(e=>e+1)),v.groupEnd=h(u.groupEnd,f,l.group,(e=>e-1)),v.debug=(()=>{const e=b(u.debug,f);return function(){if((0,r.getGeneralSettings)().devMode){for(var t=arguments.length,n=new Array(t),o=0;ou({...e,name:(0,i.getRandomId)()})},476:(e,t,n)=>{"use strict";n.r(t),n.d(t,{ascendingBigIntSort:()=>a,ascendingSort:()=>i,ascendingStringSort:()=>r,descendingBigIntSort:()=>l,descendingSort:()=>c,descendingStringSort:()=>s});const o=e=>e,i=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:o;return(t,n)=>e(t)-e(n)},r=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:o;return(t,n)=>e(t).localeCompare(e(n))},a=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:o;return(t,n)=>{const o=BigInt(e(t)),i=BigInt(e(n));return o===i?0:o>i?1:-1}},c=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:o;return(t,n)=>e(n)-e(t)},s=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:o;return(t,n)=>e(n).localeCompare(e(t))},l=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:o;return(t,n)=>-a(e)(t,n)}},6844:(e,t,n)=>{"use strict";n.r(t),n.d(t,{formatTitle:()=>s,getFriendlyTitle:()=>l,getTitleVariablesFromDate:()=>c});var o=n(8566),i=n(7509),r=n(383),a=n(476);const c=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2;return{year:e.getFullYear().toString(),month:(e.getMonth()+1).toString().padStart(t,"0"),day:e.getDate().toString().padStart(t,"0"),hour:e.getHours().toString().padStart(t,"0"),minute:e.getMinutes().toString().padStart(t,"0"),second:e.getSeconds().toString().padStart(t,"0"),millisecond:e.getMilliseconds().toString().substring(0,3)}},s=function(e){let t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const i=c(new Date),s={...{title:(()=>{const e=(0,o.dq)(".video-info-container .video-title");if(null!==e)return e.getAttribute("title");const t=(0,o.dq)('[class*="mediainfo_mediaTitle"]');if(null!==t)return t.getAttribute("title");const n=(0,o.dq)(".header-info-ctnr .live-title .text");return null!==n?n.getAttribute("title"):document.title.replace(/第[0-9]*[零一二三四五六七八九十百千]*[集话]-[^-]+-[^-]+-[^-]+在线观看-bilibili-哔哩哔哩$/,"").replace(/-[^-]+-[^-]+-[^-]+在线观看-bilibili-哔哩哔哩$/,"").replace(/-[^-]+-[^-]+在线观看-bilibili-哔哩哔哩$/,"").replace(/:([^:]+?)_.+?_bilibili_哔哩哔哩$/,"").replace(/_哔哩哔哩_bilibili$/,"").replace(/ - 哔哩哔哩$/,"").replace(/_哔哩哔哩 \(゜-゜\)つロ 干杯~-bilibili$/,"").replace(/(.*?) - (.*?) - 哔哩哔哩直播,二次元弹幕直播平台$/,"$1").trim()})(),ep:(()=>{if(!t)return;const e=(0,o.dq)("#eplist_module li.cursor .ep-title");if(null!==e)return e.innerText;const n=(0,o.dq)("#multi_page .cur-list>ul li.on a, .video-episode-card__info-playing .video-episode-card__info-title");if(null!==n)return n.getAttribute("title");const i=(0,o.dq)(".multip-list-item.multip-list-item-active");return null!==i?i.getAttribute("title"):void 0})(),aid:unsafeWindow.aid,bvid:unsafeWindow.bvid,cid:unsafeWindow.cid,lid:document.URL.replace(/https:\/\/live\.bilibili\.com\/(blanc\/)?([\d]+)/,"$2"),y:i.year,M:i.month,d:i.day,h:i.hour,m:i.minute,s:i.second,ms:i.millisecond},...n},l=(e=>{let t=0,n=0;const o=[];return e.split("").forEach(((i,r)=>{"["===i&&(0===n?(o.push(e.substring(t,r)),t=r):n++),"]"===i&&(0===n?(o.push(e.substring(t,r+1)),t=r+1):n--)})),t""!==e))})(e),d=Object.entries(s).sort((0,a.descendingSort)((e=>{let[t]=e;return t.length}))),m=l.map((e=>{if(!e.startsWith("[")||!e.endsWith("]"))return e;for(const[t,n]of d){const o=new RegExp(`^\\[([^\\[\\]]*?)${t}([^\\[\\]]*?)\\]$`),i=e.match(o);if(i&&Boolean(n))return`${i[1]??""}${n}${i[2]??""}`}return""})).join("");return(0,r.formatFilename)(m," ")},l=function(){let e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return s((0,i.getGeneralSettings)().filenameFormat,e,t)}},8514:(e,t,n)=>{"use strict";n.r(t),n.d(t,{allVideoUrls:()=>f,bangumiUrls:()=>d,cheeseUrls:()=>m,columnUrls:()=>v,favoriteListUrls:()=>r,feedsUrls:()=>g,feedsUrlsWithoutDetail:()=>h,festivalUrls:()=>s,liveUrls:()=>b,mainSiteUrls:()=>p,matchCurrentPage:()=>w,mediaListUrls:()=>c,playerUrls:()=>F,upListUrls:()=>a,videoAndBangumiUrls:()=>u,videoUrls:()=>l,watchlaterUrls:()=>i});var o=n(8566);const i=["//www.bilibili.com/medialist/play/watchlater","//www.bilibili.com/list/watchlater"],r=["//www.bilibili.com/medialist/play/ml","//www.bilibili.com/list/ml"],a=[/\/\/www\.bilibili\.com\/medialist\/play\/\d+/,/\/\/www\.bilibili\.com\/list\/\d+/],c=[...i,...r,...a,/\/\/www\.bilibili\.com\/list\//],s=[/\/\/www\.bilibili\.com\/festival\//],l=["//www.bilibili.com/video/",...s,...c],d=["//www.bilibili.com/bangumi/play/"],m=["//www.bilibili.com/cheese/"],u=[...l,...d],f=[...u,...m],p=["https://www.bilibili.com/v/","https://www.bilibili.com/c/",/^https:\/\/www\.bilibili\.com\/$/,/^https:\/\/www\.bilibili\.com\/([^\/]+)\.html$/,/^https:\/\/www\.bilibili\.com\/watchlater\/#\/list$/,"https://www.bilibili.com/account/"],b=[/^https:\/\/live\.bilibili\.com\/(blanc\/)?[\d]+/],h=[/^https:\/\/t\.bilibili\.com\/$/,/^https:\/\/space\.bilibili\.com\//,/^https:\/\/live\.bilibili\.com\/(blanc\/)?[\d]+/],g=[...h,/^https:\/\/t\.bilibili\.com\//,/^https:\/\/www\.bilibili\.com\/opus\/[\d]+$/],v=[/^https:\/\/www\.bilibili\.com\/read\/cv/],F=["//player.bilibili.com","//www.bilibili.com/html/player.html",...l,...d,...m],w=function(){for(var e=arguments.length,t=new Array(e),n=0;nArray.isArray(e)?e.some((e=>(0,o.matchUrlPattern)(e))):(0,o.matchUrlPattern)(e)))}},68:(e,t,n)=>{"use strict";n.r(t),n.d(t,{CompareResult:()=>c,Version:()=>s,isFeatureAcceptable:()=>l});var o=n(7755),i=n(5207),r=n(9724);function a(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!=typeof o)return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}let c=function(e){return e[e.Less=-1]="Less",e[e.Equal=0]="Equal",e[e.Greater=1]="Greater",e[e.Incomparable=NaN]="Incomparable",e}({});class s{constructor(e){if(this.versionString=e,a(this,"parts",void 0),!/^[\d\.]+$/.test(e))throw new Error("Invalid version string");this.parts=e.split(".").map((e=>parseInt(e)))}compareTo(e){for(let t=0;te.parts[t]?c.Greater:c.Less}return this.parts.length!==e.parts.length?c.Less:c.Equal}greaterThan(e){return this.compareTo(e)===c.Greater}lessThan(e){return this.compareTo(e)===c.Less}equals(e){return this.compareTo(e)===c.Equal}}const l=async e=>{try{const t=(0,r.useScopedConsole)("isFeatureAcceptable");if("string"==typeof e&&(e=(0,o.loadFeatureCode)(e)),null==e)return!1;const{version:n}=i.meta.compilationInfo,{coreVersion:a}=e;if(t.log("currentVersion =",n,", requiredVersion =",a),!a||!n)return!0;const c=new s(n),l=new s(a);return c.equals(l)||c.greaterThan(l)}catch(t){return console.warn("check failed, feature =",e),!0}}},3541:(e,t,n)=>{"use strict";n.r(t),n.d(t,{addData:()=>r,getData:()=>a,registerAndGetData:()=>c,registerData:()=>i});const o=new Map,i=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),i=1;i{if(o.has(e)){const{providers:n,loaded:i,data:r}=o.get(e);i?t(...r):n.push(t)}else o.set(e,{registered:!1,data:[],loaded:!1,providers:[t]})},a=e=>{if(o.has(e)){const t=o.get(e),{data:n,registered:i,loaded:r,providers:a}=t;if(i)return r||(a.forEach((e=>e(...n))),t.providers=[],t.loaded=!0),n}return[]},c=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),o=1;o{"use strict";n.r(t),n.d(t,{addHook:()=>i,getHook:()=>r});const o=new Map,i=(e,t)=>{if(o.has(e)){const{providers:n}=o.get(e);n.push(t)}else o.set(e,{providers:[t]})},r=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),i=1;ie.before?.(...n.concat(t)))))},after:async function(){for(var e=arguments.length,t=new Array(e),o=0;oe.after?.(...n.concat(t)))))}}}return{before:async()=>Promise.all([]),after:async()=>Promise.all([])}}},4066:(e,t,n)=>{"use strict";n.r(t),n.d(t,{plugin:()=>r});const o=async(e,t,o)=>{const i={name:t,icon:"mdi-content-copy",description:`复制${e}`,indexer:o,action:async()=>{if(i.name===t){await navigator.clipboard.writeText(t);const{Toast:o}=await Promise.resolve().then(n.bind(n,4757));o.success("复制成功",`复制${e}`,1500)}}};return[i]},i=[{pattern:/^av([\d]+)$/i,getActions:async e=>{const{getJsonWithCredentials:t}=await Promise.resolve().then(n.bind(n,572)),i=await t(`https://api.bilibili.com/x/web-interface/view?aid=${e[1]}`),r=lodash.get(i,"data",{}),{bvid:a,title:c}=r,s=`av${e[1]}`;return{name:c||s,description:"av号跳转",indexer:s,link:`https://www.bilibili.com/av${e[1]}`,extraActions:a?await o("BV号",a,s):[]}}},{pattern:/^bv([\da-zA-Z]+)$/i,getActions:async e=>{const{getJsonWithCredentials:t}=await Promise.resolve().then(n.bind(n,572)),i=await t(`https://api.bilibili.com/x/web-interface/view?bvid=${e[1]}`),r=lodash.get(i,"data",{}),{aid:a,title:c}=r,s=`BV${e[1]}`;return{name:c||s,description:"BV号跳转",indexer:s,link:`https://www.bilibili.com/BV${e[1]}`,extraActions:a?await o("av号",`av${a}`,s):[]}}}],r={name:"launchBar.actions.IDSearch",displayName:"搜索栏 - 视频跳转",async setup(){const{addData:e}=await Promise.resolve().then(n.bind(n,3541)),{LaunchBarActionProviders:t}=await Promise.resolve().then(n.bind(n,1167));e(t,(e=>{e.push({name:"IDSearchProvider",getActions:async e=>{const t=[];for(const n of i){const o=e.match(n.pattern);if(o){const{name:e,description:i="",indexer:r,link:a,extraActions:c=[]}=await n.getActions(o);t.push({name:e,icon:"mdi-open-in-new",indexer:r,description:i,action:()=>{window.open(a,"_blank")},order:0},...c)}}return t}})}))},commitHash:"d87d69cfb9d7e0124bd90a06fec4569bd61e02c5",coreVersion:"2.10.7"}},9814:(e,t,n)=>{"use strict";n.r(t),n.d(t,{extractPluginFromComponent:()=>d,installPlugin:()=>s,loadAllPlugins:()=>u,loadPlugin:()=>m,plugins:()=>c,pluginsMap:()=>a,uninstallPlugin:()=>l});var o=n(8566),i=n(3541),r=n(226);const a={},c=lodash.once((()=>{const e=n(6761);return e.keys().map((t=>{const n=e(t);if("plugin"in n){const e=n.plugin;return a[e.name]=e,e}})).filter((e=>void 0!==e))}))(),s=async e=>{const{loadFeatureCode:t}=await Promise.resolve().then(n.bind(n,7755));let o;try{o=t(e)}catch(e){throw new Error("无效的插件代码",e)}const{settings:i}=await Promise.resolve().then(n.bind(n,7509)),r=i.userPlugins[o.name];if(r)return r.code=e,r.name=o.name,r.displayName=o.displayName||o.name,{metadata:o,message:`已更新插件'${o.displayName}', 刷新后生效`};const a={code:e,displayName:o.name,...o};return i.userPlugins[o.name]=a,c.push(a),{metadata:o,message:`已安装插件'${o.displayName||o.name}', 刷新后生效`}},l=async e=>{const{settings:t}=await Promise.resolve().then(n.bind(n,7509)),i=Object.entries(t.userPlugins).find((t=>{let[n,{displayName:o}]=t;return n===e||o===e}));if(!i)throw new Error(`没有找到与名称'${e}'相关联的插件`);const[r,a]=i;return delete t.userPlugins[r],(0,o.deleteValue)(c,(e=>e.name===r)),{metadata:a,message:`已卸载插件'${a.displayName}', 刷新后生效`}},d=e=>e.plugin?{name:`${e.name}.plugin`,displayName:`${e.displayName} - 附带插件`,...e.plugin}:null,m=async e=>{if(e.setup){const{pluginLoadTrace:t}=await Promise.resolve().then(n.bind(n,1438));await t(e);const{coreApis:o}=await Promise.resolve().then(n.bind(n,270));return e.setup({coreApis:o,addData:i.addData,addHook:r.addHook,registerData:i.registerData,registerAndGetData:i.registerAndGetData,getHook:r.getHook})}return null},u=async e=>{const{settings:t,getGeneralSettings:o}=await Promise.resolve().then(n.bind(n,7509)),{loadFeatureCode:i}=await Promise.resolve().then(n.bind(n,5208));for(const t of e){const e=d(t);e&&c.push(e)}for(const[e,n]of Object.entries(t.userPlugins)){const{code:t}=n;let o;try{o=i(t)}catch(t){console.error("从代码加载用户插件失败。代码可能包含语法错误或执行时产生了异常",{pluginName:e,error:t});continue}c.push(o)}return Promise.allSettled(c.map(m)).then((async()=>{if(o().devMode){const{pluginLoadTime:e,pluginResolveTime:t}=await Promise.resolve().then(n.bind(n,1438)),{logStats:o}=await Promise.resolve().then(n.bind(n,2218));o("plugins block",e),o("plugins resolve",t)}}))}},1416:(e,t,n)=>{"use strict";n.r(t),n.d(t,{UserStyleMode:()=>r,installStyle:()=>c,styles:()=>a,uninstallStyle:()=>s});var o=n(7509),i=n(8566);let r=function(e){return e.Default="default",e.Instant="instant",e.Important="important",e}({});const a=Object.values(o.settings.userStyles),c=async e=>{try{let t;const{loadFeatureCode:i}=await Promise.resolve().then(n.bind(n,7755));t="string"==typeof e?i(e):e;const{name:c,style:s,displayName:l,mode:d}=t,{removeStyle:m,addImportantStyle:u,addStyle:f}=await Promise.resolve().then(n.bind(n,997)),p=o.settings.userStyles[c];if(p)Object.assign(p,t),m(c);else{const e={displayName:c,mode:r.Default,...t};o.settings.userStyles[c]=e,a.push(e)}return d===r.Important?u(s,c):f(s,c),{metadata:t,message:`已安装样式'${l||c}'`}}catch(e){throw new Error("无效的样式代码",{cause:e})}},s=async e=>{const t=Object.entries(o.settings.userStyles).find((t=>{let[n,{displayName:o}]=t;return n===e||o===e}));if(!t)throw new Error(`没有找到与名称'${e}'相关联的样式`);const{removeStyle:r}=await Promise.resolve().then(n.bind(n,997)),[c,{displayName:s}]=t;return r(c),delete o.settings.userStyles[c],(0,i.deleteValue)(a,(e=>e.name===c)),{metadata:t,message:`已卸载样式'${s}'`}}},2191:(e,t,n)=>{"use strict";n.r(t),n.d(t,{AsyncButton:()=>s,CheckBox:()=>h,CollapsibleContainer:()=>vt,ColorPicker:()=>E,DefaultWidget:()=>mt,DpiImage:()=>P,ImagePicker:()=>j,ImageViewer:()=>Y,MiniToast:()=>Nt.A,OptionRadioGroup:()=>jt,OptionWidgetLayout:()=>Mt,ProgressBar:()=>ne,ProgressRing:()=>se,RadioButton:()=>fe,RadioGroupItem:()=>Et,RangeInput:()=>we,ScrollTrigger:()=>Be,SwitchBox:()=>De.A,TabControl:()=>Oe,TextArea:()=>qe,TextBox:()=>Ue.default,VButton:()=>r.default,VDropdown:()=>Ke,VEmpty:()=>ot,VIcon:()=>o.default,VLoading:()=>it.default,VPopup:()=>Ze.default,VSlider:()=>rt.default,showImage:()=>X});var o=n(7382),i=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("VButton",e._g(e._b({attrs:{disabled:e.disabled||e.internalDisabled},on:{click:e.onClick}},"VButton",e.$attrs,!1),e.listeners),[e._t("default",(function(){return[e._v("Button")]}))],2)};i._withStripped=!0;var r=n(2539);const a=Vue.extend({components:{VButton:r.default},props:{disabled:{type:Boolean,default:!1}},data:()=>({internalDisabled:!1}),computed:{listeners(){return lodash.omit(this.$listeners,"click")},onClick(){var e=this;return async function(){try{e.internalDisabled=!0;for(var t=arguments.length,n=new Array(t),o=0;oPromise.resolve().then(n.bind(n,2539)).then((e=>e.default)),VIcon:()=>Promise.resolve().then(n.bind(n,7382)).then((e=>e.default))},model:{prop:"checked",event:"change"},props:{checked:{type:Boolean,required:!0},iconPosition:{type:String,default:"left"},checkedIcon:{type:String,default:"mdi-checkbox-marked-circle"},notCheckedIcon:{type:String,default:"mdi-checkbox-blank-circle-outline"}}});var m=n(6991),u=n.n(m),f=n(9533),p=n.n(f),b={insert:"head",singleton:!1};u()(p(),b);p().locals;const h=(0,c.A)(d,l,[],!1,null,"07bbf374",null).exports;var g=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"be-color-picker"},[t("div",{directives:[{name:"hit",rawName:"v-hit",value:()=>e.popupOpened=!e.popupOpened,expression:"() => (popupOpened = !popupOpened)"}],ref:"button",staticClass:"selected-color",style:{backgroundColor:e.color,width:e.size+"px",height:e.size+"px"},attrs:{role:"button",tabindex:"0"}}),e._v(" "),t("VPopup",{staticClass:"picker",class:{compact:e.compact},style:{"--offset":e.popupOffset+"px"},attrs:{"esc-close":"","auto-close":!1,"trigger-element":e.$refs.button},model:{value:e.popupOpened,callback:function(t){e.popupOpened=t},expression:"popupOpened"}},[t("div",{staticClass:"item-group"},[t("div",{staticClass:"item-title"},[e._v("预设颜色")]),e._v(" "),t("div",{staticClass:"colors"},e._l(e.colors,(function(n){return t("div",{directives:[{name:"hit",rawName:"v-hit",value:()=>e.selectHexColor(n),expression:"() => selectHexColor(c)"}],key:n,staticClass:"color",style:{backgroundColor:n},attrs:{role:"radio",tabindex:e.popupOpened?0:-1}})})),0)]),e._v(" "),t("div",{staticClass:"item-group"},[t("div",{staticClass:"item-title"},[e._v("调色")]),e._v(" "),t("div",{staticClass:"bars"},[e.isRGB?[t("div",{staticClass:"bar"},[t("div",{staticClass:"bar-name"},[e._v("R")]),e._v(" "),t("VSlider",{attrs:{focusable:!1,max:255,value:e.wrapper.red},on:{change:function(t){return e.wrapper.change("red",t)}},scopedSlots:e._u([{key:"bar",fn:function(){return[t("div",{staticClass:"color-bar",style:{background:e.wrapper.redGradient}})]},proxy:!0},{key:"thumb",fn:function(){return[t("div",{staticClass:"color-thumb"})]},proxy:!0}],null,!1,2466330035)}),e._v(" "),t("TextBox",{staticClass:"bar-value",attrs:{"max-length":"3","change-on-blur":"",disabled:!e.popupOpened,text:e.int(e.wrapper.red)},on:{change:function(t){return e.wrapper.change("red",t)}}})],1),e._v(" "),t("div",{staticClass:"bar"},[t("div",{staticClass:"bar-name"},[e._v("G")]),e._v(" "),t("VSlider",{attrs:{focusable:!1,max:255,value:e.wrapper.green},on:{change:function(t){return e.wrapper.change("green",t)}},scopedSlots:e._u([{key:"bar",fn:function(){return[t("div",{staticClass:"color-bar",style:{background:e.wrapper.greenGradient}})]},proxy:!0},{key:"thumb",fn:function(){return[t("div",{staticClass:"color-thumb"})]},proxy:!0}],null,!1,2962781435)}),e._v(" "),t("TextBox",{staticClass:"bar-value",attrs:{"max-length":"3","change-on-blur":"",disabled:!e.popupOpened,text:e.int(e.wrapper.green)},on:{change:function(t){return e.wrapper.change("green",t)}}})],1),e._v(" "),t("div",{staticClass:"bar"},[t("div",{staticClass:"bar-name"},[e._v("B")]),e._v(" "),t("VSlider",{attrs:{focusable:!1,max:255,value:e.wrapper.blue},on:{change:function(t){return e.wrapper.change("blue",t)}},scopedSlots:e._u([{key:"bar",fn:function(){return[t("div",{staticClass:"color-bar",style:{background:e.wrapper.blueGradient}})]},proxy:!0},{key:"thumb",fn:function(){return[t("div",{staticClass:"color-thumb"})]},proxy:!0}],null,!1,660815582)}),e._v(" "),t("TextBox",{staticClass:"bar-value",attrs:{"max-length":"3","change-on-blur":"",disabled:!e.popupOpened,text:e.int(e.wrapper.blue)},on:{change:function(t){return e.wrapper.change("blue",t)}}})],1)]:[t("div",{staticClass:"bar"},[t("div",{staticClass:"bar-name"},[e._v("H")]),e._v(" "),t("VSlider",{attrs:{focusable:!1,max:359.9,value:e.wrapper.hue},on:{change:function(t){return e.wrapper.change("hue",t)}},scopedSlots:e._u([{key:"bar",fn:function(){return[t("div",{staticClass:"color-bar",style:{background:e.wrapper.hueGradient}})]},proxy:!0},{key:"thumb",fn:function(){return[t("div",{staticClass:"color-thumb"})]},proxy:!0}])}),e._v(" "),t("TextBox",{staticClass:"bar-value",attrs:{"max-length":"4","change-on-blur":"",disabled:!e.popupOpened,text:e.fixed(e.wrapper.hue)},on:{change:function(t){return e.wrapper.change("hue",t)}}})],1),e._v(" "),t("div",{staticClass:"bar"},[t("div",{staticClass:"bar-name"},[e._v("S")]),e._v(" "),t("VSlider",{attrs:{focusable:!1,value:e.wrapper.saturation},on:{change:function(t){return e.wrapper.change("saturationv",t)}},scopedSlots:e._u([{key:"bar",fn:function(){return[t("div",{staticClass:"color-bar",style:{background:e.wrapper.saturationGradient}})]},proxy:!0},{key:"thumb",fn:function(){return[t("div",{staticClass:"color-thumb"})]},proxy:!0}])}),e._v(" "),t("TextBox",{staticClass:"bar-value",attrs:{"max-length":"5","change-on-blur":"",disabled:!e.popupOpened,text:e.fixed(e.wrapper.saturation)},on:{change:function(t){return e.wrapper.change("saturationv",t)}}})],1),e._v(" "),t("div",{staticClass:"bar"},[t("div",{staticClass:"bar-name"},[e._v("B")]),e._v(" "),t("VSlider",{attrs:{focusable:!1,value:e.wrapper.brightness},on:{change:function(t){return e.wrapper.change("value",t)}},scopedSlots:e._u([{key:"bar",fn:function(){return[t("div",{staticClass:"color-bar",style:{background:e.wrapper.brightnessGradient}})]},proxy:!0},{key:"thumb",fn:function(){return[t("div",{staticClass:"color-thumb"})]},proxy:!0}])}),e._v(" "),t("TextBox",{staticClass:"bar-value",attrs:{"max-length":"5","change-on-blur":"",disabled:!e.popupOpened,text:e.fixed(e.wrapper.brightness)},on:{change:function(t){return e.wrapper.change("value",t)}}})],1)]],2)]),e._v(" "),t("div",{staticClass:"info item-group"},[t("VButton",{staticClass:"toggle-mode",attrs:{disabled:!e.popupOpened,type:"transparent",title:e.isRGB?"切换至HSB":"切换至RGB"},on:{click:function(t){e.isRGB=!e.isRGB}}},[e._v("\n "+e._s(e.isRGB?"切换至HSB":"切换至RGB")+"\n ")]),e._v(" "),t("div",{staticClass:"grow"}),e._v(" "),t("div",{staticClass:"color-preview",style:{backgroundColor:e.wrapper.hex}}),e._v(" "),t("TextBox",{staticClass:"hex",attrs:{disabled:!e.popupOpened,text:e.wrapper.hex,"change-on-blur":""},on:{change:function(t){return e.selectHexColor(t)}}})],1),e._v(" "),t("div",{staticClass:"operations item-group",on:{click:function(t){e.popupOpened=!e.popupOpened}}},[t("VButton",{staticClass:"cancel",attrs:{disabled:!e.popupOpened},on:{click:function(t){return e.reset()}}},[e._v(" 取消 ")]),e._v(" "),t("VButton",{staticClass:"ok",attrs:{disabled:!e.popupOpened,type:"primary"},on:{click:function(t){return e.ok()}}},[e._v(" 确定 ")])],1)])],1)};g._withStripped=!0;var v=n(3639),F=n.n(v);const w=JSON.parse('["#E57373","#F06292","#BA68C8","#9575CD","#7986CB","#2196F3","#00A0D8","#00ACC1","#26A69A","#81C784","#9CCC65","#FF9800","#FF7043","#A1887F","#757575","#78909C"]'),y=e=>{let t=new(F())(e);const n={get color(){return t},set color(e){t=e,this.updateProps()},change(e,n){"string"==typeof n&&(n=parseFloat(n),Number.isNaN(n))||(this.color=t[e](n))},updateProps(){this.red=t.red(),this.green=t.green(),this.blue=t.blue(),this.hue=t.hue(),this.saturation=t.saturationv(),this.brightness=t.value(),this.hex=t.hex(),this.hueGradient=`linear-gradient(to right, ${t.hue(0).hex()}, ${t.hue(60).hex()}, ${t.hue(120).hex()}, ${t.hue(180).hex()}, ${t.hue(240).hex()}, ${t.hue(300).hex()}, ${t.hue(0).hex()})`,this.saturationGradient=`linear-gradient(to right, ${t.saturationv(0).hex()}, ${t.saturationv(100).hex()})`,this.brightnessGradient=`linear-gradient(to right, ${t.value(0).hex()}, ${t.value(100).hex()})`,this.redGradient=`linear-gradient(to right, ${t.red(0).hex()}, ${t.red(255).hex()})`,this.greenGradient=`linear-gradient(to right, ${t.green(0).hex()}, ${t.green(255).hex()})`,this.blueGradient=`linear-gradient(to right, ${t.blue(0).hex()}, ${t.blue(255).hex()})`}};return n.updateProps(),n},x=Vue.extend({name:"ColorPicker",components:{TextBox:()=>Promise.resolve().then(n.bind(n,5601)).then((e=>e.default)),VSlider:()=>Promise.resolve().then(n.bind(n,906)).then((e=>e.default)),VButton:()=>Promise.resolve().then(n.bind(n,2539)).then((e=>e.default)),VPopup:()=>Promise.resolve().then(n.bind(n,9495)).then((e=>e.default))},model:{prop:"color",event:"change"},props:{color:{type:String,default:"#000000",required:!0},size:{type:Number,default:24,required:!1},compact:{type:Boolean,default:!1},popupOffset:{type:Number,default:0}},data(){return{popupOpened:!1,wrapper:y(this.color),colors:w,isRGB:!1}},watch:{popupOpened(e){e&&(document.body.addEventListener("mousedown",(e=>{this.$el.contains(e.target)||this.$el===e.target||document.body.addEventListener("mouseup",(()=>{this.popupOpened=!1}),{once:!0})})),document.body.addEventListener("touchstart",(e=>{1!==e.touches.length||this.$el.contains(e.target)||this.$el===e.target||document.body.addEventListener("touchend",(()=>{this.popupOpened=!1}),{once:!0})})))}},methods:{ok(){this.$emit("change",this.wrapper.hex)},reset(){this.wrapper.color=new(F())(this.color)},selectHexColor(e){try{const t=new(F())(e,"hex");this.wrapper.color=t}catch(e){}},fixed:e=>(Math.round(10*e)/10).toString(),int:e=>Math.round(e).toString()}});var k=n(8330),C=n.n(k),A={insert:"head",singleton:!1};u()(C(),A);C().locals;const E=(0,c.A)(x,g,[],!1,null,"87a36270",null).exports;var B=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("img",e._b({class:{placeholder:e.isPlaceholderActive},attrs:{width:e.width,height:e.height,srcset:e.srcset,src:e.actualSrc}},"img",e.$attrs,!1))};B._withStripped=!0;var D=n(8566),I=n(6623);const S=Vue.extend({name:"DpiImage",props:{size:{type:[Object,Number],required:!0},src:{type:String,required:!0},intersection:{type:Object,default:()=>({})},placeholderImage:{type:Boolean,default:!1}},data:()=>({srcset:null,actualSrc:I.EmptyImageUrl,isPlaceholderActive:!1}),computed:{width(){return"object"==typeof this.size&&"width"in this.size?this.size.width:"number"==typeof this.size?this.size:null},height(){return"object"==typeof this.size&&"height"in this.size?this.size.height:"number"==typeof this.size?this.size:null}},watch:{size(){this.sourceChange()},src(){this.sourceChange()}},mounted(){const e={rootMargin:"200px",...this.intersection},t=new IntersectionObserver((e=>{e.forEach((e=>{e.isIntersecting&&(this.calcSrc(),t.disconnect())}))}),e);t.observe(this.$el)},methods:{sourceChange(){this.actualSrc!==I.EmptyImageUrl&&null!==this.srcset&&this.calcSrc()},calcSrc(){const e=!this.src||!this.size;if(this.isPlaceholderActive=e&&this.placeholderImage,e)return this.srcset=null,void(this.placeholderImage?this.actualSrc="https://s1.hdslb.com/bfs/static/blive/live-web-center/static/img/no-cover.1ebe4d5.jpg":this.actualSrc=I.EmptyImageUrl);let{src:t}=this;if(t.startsWith("http:")&&(t=t.replace("http:","https:")),t.includes("//static.hdslb.com/images/member/noface.gif"))return this.srcset=t,void(this.actualSrc=t);this.srcset=(0,D.getDpiSourceSet)(t,this.size),this.actualSrc=t}}}),z=S;const P=(0,c.A)(z,B,[],!1,null,null,null).exports;var M=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"be-image-picker"},[t("VButton",{ref:"pickButton",staticClass:"pick-button",on:{click:function(t){e.popupOpen=!e.popupOpen}}},[e._t("text",(function(){return[e._v(" 选择图片 ")]}))],2),e._v(" "),t("VPopup",{staticClass:"popup",attrs:{"trigger-element":e.$refs.pickButton},on:{keydown:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"esc",27,t.key,["Esc","Escape"])?null:e.cancel()}},model:{value:e.popupOpen,callback:function(t){e.popupOpen=t},expression:"popupOpen"}},[t("transition-group",{staticClass:"images",attrs:{name:"image-list",tag:"div",tabindex:"-1"}},e._l(e.images,(function(n){return t("div",{directives:[{name:"hit",rawName:"v-hit",value:()=>e.selectImage(n),expression:"() => selectImage(i)"}],key:n.name,staticClass:"image",class:{selected:n.name===e.selectedImage.name},attrs:{title:n.name,tabindex:e.popupOpen?0:-1}},[t("img",{attrs:{width:"64",height:"64",src:n.url}})])})),0),e._v(" "),t("div",{directives:[{name:"show",rawName:"v-show",value:0===e.images.length,expression:"images.length === 0"}],staticClass:"empty-tip"},[e._v("空空如也哦 = ̄ω ̄=")]),e._v(" "),t("div",{staticClass:"operations"},[t("VPopup",{staticClass:"add-image-popup",attrs:{tabindex:"-1",lazy:!1,"trigger-element":e.$refs.addButton},model:{value:e.addImagePopupOpen,callback:function(t){e.addImagePopupOpen=t},expression:"addImagePopupOpen"}},[t("div",{staticClass:"add-image-row"},[e._v("\n 名称:\n "),t("TextBox",{ref:"addImageInput",attrs:{disabled:!e.addImagePopupOpen},model:{value:e.newImage.name,callback:function(t){e.$set(e.newImage,"name",t)},expression:"newImage.name"}})],1),e._v(" "),t("div",{staticClass:"add-image-row"},[e._v("\n 链接:\n "),t("TextBox",{attrs:{disabled:!e.addImagePopupOpen},model:{value:e.newImage.url,callback:function(t){e.$set(e.newImage,"url",t)},expression:"newImage.url"}})],1),e._v(" "),t("div",{staticClass:"add-image-row buttons"},[t("VButton",{attrs:{disabled:!e.addImagePopupOpen},on:{click:function(t){e.addImagePopupOpen=!1,e.clearNewImage()}}},[e._v("\n 取消\n ")]),e._v(" "),t("VButton",{attrs:{disabled:!e.newImage.url||!e.newImage.name,type:"primary"},on:{click:function(t){e.addImage(e.newImage),e.addImagePopupOpen=!1,e.clearNewImage()}}},[e._v("\n 确定\n ")])],1)]),e._v(" "),t("VButton",{staticClass:"clear-image",attrs:{disabled:!e.selectedImage.name},on:{click:function(t){return e.clearImage()}}},[e._v("\n 清除选择\n ")]),e._v(" "),t("VButton",{ref:"addButton",staticClass:"add-image",attrs:{disabled:!e.popupOpen},on:{click:function(t){return e.openAddImagePopup()}}},[e._v("\n 添加\n ")]),e._v(" "),t("VButton",{staticClass:"edit-image",attrs:{disabled:!e.selectedImage.name},on:{click:function(t){return e.editImage()}}},[e._v("\n 编辑\n ")]),e._v(" "),t("VButton",{attrs:{disabled:!e.selectedImage.name},on:{click:function(t){e.removeImage(e.selectedImage),e.clearImage()}}},[e._v("\n 删除\n ")])],1),e._v(" "),t("div",{staticClass:"operations"},[t("VButton",{attrs:{disabled:!e.popupOpen},on:{click:function(t){return e.cancel()}}},[e._v(" 取消 ")]),e._v(" "),t("VButton",{attrs:{disabled:!e.popupOpen,type:"primary"},on:{click:function(t){return e.ok()}}},[e._v(" 确定 ")])],1),e._v(" "),e.addImagePopupOpen?t("div",{staticClass:"mask"}):e._e()],1)],1)};M._withStripped=!0;const O=[],V=Vue.extend({name:"ImagePicker",components:{VButton:()=>Promise.resolve().then(n.bind(n,2539)).then((e=>e.default)),VPopup:()=>Promise.resolve().then(n.bind(n,9495)).then((e=>e.default)),TextBox:()=>Promise.resolve().then(n.bind(n,5601)).then((e=>e.default))},model:{prop:"image",event:"change"},props:{image:{type:Object,required:!0}},data:()=>({images:O,popupOpen:!1,addImagePopupOpen:!1,selectedImage:{name:"",url:""},newImage:{name:"",url:""}}),methods:{addImage:e=>{if(!e.name||!e.url)return;const t=O.find((t=>t.name===e.name));t?t.url=e.url:O.unshift(e)},removeImage:e=>{const t="string"==typeof e?e:e.name,n=O.findIndex((e=>e.name===t));-1!==n&&O.splice(n,1)},ok(){this.$emit("change",this.selectedImage),this.popupOpen=!1},cancel(){this.selectedImage=this.image,this.popupOpen=!1},selectImage(e){this.selectedImage.name===e.name?this.selectedImage={name:"",url:""}:this.selectedImage=e},clearImage(){this.selectedImage={name:"",url:""}},clearNewImage(){this.newImage={name:"",url:""}},editImage(){this.newImage=this.selectedImage,this.openAddImagePopup()},async openAddImagePopup(){this.addImagePopupOpen=!this.addImagePopupOpen,await this.$nextTick(),this.$refs.addImageInput.$refs.input.focus()}}});var T=n(8544),L=n.n(T),R={insert:"head",singleton:!1};u()(L(),R);L().locals;const j=(0,c.A)(V,M,[],!1,null,"7b32c90b",null).exports;var N=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"image-viewer-container",class:{open:e.open},on:{click:e.detectOutside}},[t("div",{ref:"viewer",staticClass:"image-viewer"},[t("div",{staticClass:"image-container"},[e.image?t("img",{staticClass:"image",attrs:{src:e.image}}):e._e()]),e._v(" "),t("div",{staticClass:"close image-viewer-icon",attrs:{title:"关闭"},on:{click:function(t){e.open=!1}}},[t("VIcon",{attrs:{size:48,icon:"mdi-close"}})],1),e._v(" "),t("a",{staticClass:"copy-link image-viewer-icon",attrs:{target:"_blank",title:"复制原链接"},on:{click:function(t){return e.copyLink()}}},[e.copiedTimer?t("VIcon",{attrs:{size:48,icon:"mdi-check"}}):t("VIcon",{attrs:{size:48,icon:"mdi-link"}})],1),e._v(" "),t("a",{staticClass:"new-tab image-viewer-icon",attrs:{target:"_blank",title:"在新标签页打开"},on:{click:function(t){return e.newTab()}}},[t("VIcon",{attrs:{size:48,icon:"mdi-open-in-new"}})],1),e._v(" "),e.blobUrl?t("a",{staticClass:"download image-viewer-icon",attrs:{target:"_blank",title:"下载",href:e.blobUrl,download:e.filename}},[t("VIcon",{attrs:{size:48,icon:"mdi-download"}})],1):e._e()])])};N._withStripped=!0;var q=n(7509),U=n(6844),H=n(572);const Z=Vue.extend({components:{VIcon:o.default},props:{image:{type:String,required:!0}},data:()=>({filename:"",open:!1,blobUrl:"",keyHandler:null,copiedTimer:0}),watch:{async image(e){this.blobUrl&&URL.revokeObjectURL(this.blobUrl),e||(this.blobUrl="");const t=await(0,H.getBlob)(e);this.blobUrl=URL.createObjectURL(t),this.updateFilename()}},mounted(){this.keyHandler=e=>{"Escape"===e.key&&(this.open=!1)},document.addEventListener("keydown",this.keyHandler),(0,q.addComponentListener)("settingsPanel.filenameFormat",(()=>{this.updateFilename()}),!0)},beforeDestroy(){document.removeEventListener("keydown",this.keyHandler)},methods:{async copyLink(){await navigator.clipboard.writeText(this.image),this.copiedTimer&&window.clearTimeout(this.copiedTimer),this.copiedTimer=window.setTimeout((()=>{this.copiedTimer=0}),2e3)},newTab(){window.open(this.image,"_blank")},detectOutside(e){const t=this.$el,{viewer:n}=this.$refs;e.target!==t&&e.target!==n||(this.open=!1)},updateFilename(){const e=this.image;this.filename=e?(0,U.getFriendlyTitle)(document.URL.includes("/www.bilibili.com/bangumi/"))+e.substring(e.lastIndexOf(".")):""}}});var W=n(4572),G=n.n(W),Q={insert:"head",singleton:!1};u()(G(),Q);G().locals;const Y=(0,c.A)(Z,N,[],!1,null,"8829ba14",null).exports;let K;const X=async e=>(K||await(async()=>(K=new Y({propsData:{image:"",open:!1}}).$mount(),document.body.insertAdjacentElement("beforeend",K.$el),K))(),setTimeout((()=>{K.image=e,K.open=!0})),K);var J=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"be-progress-bar"},[t("div",{staticClass:"progress",class:{transition:e.transition},style:{width:e.width}})])};J._withStripped=!0;const _=Vue.extend({name:"ProgressBar",props:{progress:{type:Number,default:50},min:{type:Number,default:0},max:{type:Number,default:100},transition:{type:Boolean,default:!1}},computed:{width(){let e=this.progress;e>this.max?e=this.max:ethis.max?e=this.max:e{de.has(e)?de.get(e).push({instance:t,uncheck:n}):de.set(e,[{instance:t,uncheck:n}])})),ue=Vue.extend({name:"RadioButton",components:{CheckBox:h},model:{prop:"checked",event:"change"},props:{checked:{type:Boolean,required:!0},allowUncheck:{type:Boolean,default:!1},group:{type:String,default:""},checkedIcon:{type:String,default:"mdi-radiobox-marked"},notCheckedIcon:{type:String,default:"mdi-radiobox-blank"}},watch:{checked(e){if(e){const e=this.group,t=this.$el;let n;n=""===e?t.parentElement:e,de.get(n).forEach((e=>{let{instance:t,uncheck:n}=e;t!==this&&n()}))}}},mounted(){const e=this.group,t=this.$el;let n;n=me(""===e?t.parentElement:e),n(this,(()=>this.$emit("change",!1)))},methods:{emitChange(e){(this.checked&&this.allowUncheck||!this.checked)&&this.$emit("change",e)}}});const fe=(0,c.A)(ue,le,[],!1,null,null,null).exports;var pe=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"be-range-input"},[t("TextBox",{attrs:{"change-on-blur":"",text:e.wrapper.range.start.toString()},on:{change:function(t){e.wrapper.start=t}}}),e._v(" "),e._t("separator",(function(){return[t("div",{staticClass:"default-separator"},[e._v("~")])]})),e._v(" "),t("TextBox",{attrs:{"change-on-blur":"",text:e.wrapper.range.end.toString()},on:{change:function(t){e.wrapper.end=t}}})],2)};pe._withStripped=!0;const be=e=>({range:e.range,get start(){return this.range.start.toString()},set start(e){this.createNewRange(e,this.end)},get end(){return this.range.end.toString()},set end(e){this.createNewRange(this.start,e)},createNewRange(t,n){let o={start:t,end:n};e.validator&&(o=e.validator(o)),null!=o?(this.range=o,e.$emit("change",o)):this.range={start:this.range.start,end:this.range.end}}}),he=Vue.extend({name:"RangeInput",components:{TextBox:()=>Promise.resolve().then(n.bind(n,5601))},model:{prop:"range",event:"change"},props:{range:{type:Object,required:!0},validator:{type:Function,default:void 0}},data(){return{wrapper:be(this)}}});var ge=n(2771),ve=n.n(ge),Fe={insert:"head",singleton:!1};u()(ve(),Fe);ve().locals;const we=(0,c.A)(he,pe,[],!1,null,"b459c060",null).exports;var ye=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"be-scroll-trigger",on:{click:function(t){return e.trigger()}}},[e._t("default",(function(){return[t("VLoading")]}))],2)};ye._withStripped=!0;var xe=n(9724);const ke=Vue.extend({components:{VLoading:()=>Promise.resolve().then(n.bind(n,1367)).then((e=>e.default))},props:{detectViewport:{type:Boolean,required:!1,default:!1}},data:()=>({isFirstLoad:!0,isViewportTriggerRunning:!1,parentLoadState:"none"}),async mounted(){const e=(0,xe.useScopedConsole)("ScrollTrigger"),t=this.$el,{visible:o}=await Promise.resolve().then(n.bind(n,7356));o(t,(async n=>{if(n.some((e=>e.intersectionRatio>0))){if(e.log("Intersection Observer trigger"),this.trigger(),!this.detectViewport&&!this.isFirstLoad&&this.isViewportTriggerRunning)return;for(this.isViewportTriggerRunning=!0;this.getVisibleStateByViewport(t);)if(await(0,D.delay)(500),"loaded"===this.parentLoadState){if(!this.getVisibleStateByViewport(t))break;e.log("is first load & viewport trigger"),this.trigger()}this.isFirstLoad=!1}}))},methods:{getElementToViewportBottomDistance:e=>document.documentElement.clientHeight-e.getBoundingClientRect().top,getVisibleStateByViewport(e){return Boolean(this.getElementToViewportBottomDistance(e)>-20)},setLoadState(e){this.parentLoadState=e},resetIsFirstLoad(){this.isFirstLoad=!0},trigger(){this.$emit("trigger")}}});var Ce=n(69),Ae=n.n(Ce),Ee={insert:"head",singleton:!1};u()(Ae(),Ee);Ae().locals;const Be=(0,c.A)(ke,ye,[],!1,null,null,null).exports;var De=n(9726),Ie=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"be-tab-control"},[t("div",{staticClass:"default-header"},[e._t("tabs",(function(){return[t("div",{staticClass:"default-tabs"},e._l(e.tabs,(function(n){return t("div",{key:n.name,staticClass:"default-tab",class:{selected:n===e.selectedTab},attrs:{"data-count":n.count>0?n.count:null},on:{click:function(t){return e.selectTab(n)}}},[t("div",{staticClass:"default-tab-name"},[e._v("\n "+e._s(n.displayName)+"\n ")])])})),0)]})),e._v(" "),t("div",{staticClass:"header-item"},[e._t("header-item")],2),e._v(" "),null!==e.moreLink&&void 0!==e.moreLink?t("a",{staticClass:"be-more-link",attrs:{href:"function"==typeof e.moreLink?e.moreLink(e.selectedTab):e.moreLink,target:"_blank"}},[t("VButton",{attrs:{disabled:!e.moreLink,round:""}},[e._t("more-link",(function(){return[e._v("\n 查看更多\n "),t("VIcon",{attrs:{icon:"mdi-dots-horizontal",size:18}})]}))],2)],1):e._e()],2),e._v(" "),e._t("content",(function(){return[t("div",{staticClass:"default-content"},[t("transition",{attrs:{name:"content-transition"}},[t(e.selectedTab.component,e._b({tag:"component"},"component",e.selectedTab.propsData,!1))],1)],1)]}))],2)};Ie._withStripped=!0;const Se=Vue.extend({name:"TabControl",components:{VButton:()=>Promise.resolve().then(n.bind(n,2539)).then((e=>e.default)),VIcon:()=>Promise.resolve().then(n.bind(n,7382)).then((e=>e.default))},model:{prop:"link",event:"change"},props:{tabs:{type:Array,required:!0,validator:e=>0!==e.length},defaultTab:{type:String,required:!1,default:""},link:{type:String,required:!1,default:null},moreLink:{type:[String,Function],default:null}},data(){const e=this.tabs;return{selectedTabName:e.find((e=>e.name===this.defaultTab))?.name??e[0].name}},computed:{selectedTab(){return this.tabs.find((e=>e.name===this.selectedTabName))}},mounted(){this.$emit("change",this.selectedTab.activeLink)},methods:{selectTab(e){this.selectedTabName!==e.name?(this.selectedTabName=e.name,e.count=0,this.$emit("change",this.selectedTab.activeLink)):e.activeLink&&window.open(e.activeLink,"_blank")}}});var ze=n(9435),Pe=n.n(ze),Me={insert:"head",singleton:!1};u()(Pe(),Me);Pe().locals;const Oe=(0,c.A)(Se,Ie,[],!1,null,null,null).exports;var Ve=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"be-text-area",attrs:{role:"text"}},[t("textarea",e._g(e._b({ref:"input",attrs:{type:"text"},domProps:{value:e.text},on:{change:function(t){return t.stopPropagation(),e.change.apply(null,arguments)},input:function(t){return t.stopPropagation(),e.input.apply(null,arguments)},compositionstart:e.compositionStart,compositionend:e.compositionEnd}},"textarea",e.$attrs,!1),e.restListeners))])};Ve._withStripped=!0;var Te=n(4462);const Le=Vue.extend({name:"TextArea",mixins:[Te.Q]});var Re=n(2934),je=n.n(Re),Ne={insert:"head",singleton:!1};u()(je(),Ne);je().locals;const qe=(0,c.A)(Le,Ve,[],!1,null,null,null).exports;var Ue=n(5601),He=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{directives:[{name:"hit",rawName:"v-hit",value:e.hit,expression:"hit"}],staticClass:"be-dropdown",class:{disabled:e.disabled,round:e.round},attrs:{role:"combobox",tabindex:e.disabled?-1:0,"aria-disabled":e.disabled}},[t("div",{ref:"selected",staticClass:"selected"},[t("div",{staticClass:"selected-item"},[null!==e.value&&void 0!==e.value?e._t("item",(function(){return[e._v("\n "+e._s(e.value.displayName)+"\n ")]}),{item:e.value}):e._e()],2),e._v(" "),t("div",{staticClass:"arrow",class:{open:e.popupOpen}},[e._t("arrow",(function(){return[t("div",{staticClass:"default-arrow"},[t("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 24 24"}},[t("defs",[t("clipPath",{attrs:{id:"clip-arrow-down"}},[t("rect",{attrs:{width:"24",height:"24"}})])]),e._v(" "),t("g",{attrs:{id:"arrow-down","clip-path":"url(#clip-arrow-down)"}},[t("path",{attrs:{id:"Path_1","data-name":"Path 1",d:"M2,17,12,7,22,17",transform:"translate(24 25) rotate(180)","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2"}})])])])]}))],2)]),e._v(" "),t("VPopup",{ref:"popup",staticClass:"dropdown-popup",attrs:{lazy:!1,"trigger-element":e.$refs.selected},on:{keydown:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"esc",27,t.key,["Esc","Escape"])?null:e.selectItem(e.value)}},model:{value:e.popupOpen,callback:function(t){e.popupOpen=t},expression:"popupOpen"}},e._l(e.items,(function(n){return t("div",{directives:[{name:"hit",rawName:"v-hit",value:()=>e.selectItem(n),expression:"() => selectItem(item)"}],key:e.keyMapper(n),staticClass:"bex-dropdown-item",attrs:{tabindex:e.popupOpen?0:-1}},[e._t("item",(function(){return[e._v("\n "+e._s(n.displayName)+"\n ")]}),{item:n})],2)})),0)],1)};He._withStripped=!0;var Ze=n(9495);const We=Vue.extend({name:"VDropdown",components:{VPopup:Ze.default},model:{prop:"value",event:"change"},props:{value:{required:!0},items:{type:Array,required:!0},keyMapper:{type:Function,default:e=>e.name},round:{type:Boolean,default:!1}},data:()=>({popupOpen:!1}),computed:{disabled(){return Boolean(this.$attrs.disabled)}},watch:{disabled(e){e&&(this.popupOpen=!1)}},created(){null!==this.value&&void 0!==this.value||this.$emit("change",this.items[0]||"")},methods:{selectItem(e){e!==this.value&&this.$emit("change",e),this.popupOpen=!1,this.$el.focus()},hit(e){if(this.disabled)return;const t=this.$refs.popup.$el,n=e.target;t===n||t.contains(n)||(this.popupOpen=!this.popupOpen)}}});var Ge=n(5745),Qe=n.n(Ge),Ye={insert:"head",singleton:!1};u()(Qe(),Ye);Qe().locals;const Ke=(0,c.A)(We,He,[],!1,null,"a50268e4",null).exports;var Xe=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"be-empty"},[e._t("default",(function(){return["string"==typeof e.config.content&&e.config.content.length>0?[e._v("\n "+e._s(e.config.content)+"\n ")]:e._e(),e._v(" "),"string"!=typeof e.config.content?t(e.config.content,{tag:"component"}):e._e()]}))],2)};Xe._withStripped=!0;var Je=n(3541);const[_e]=(0,Je.registerAndGetData)("vEmpty",{content:"空空如也哦 = ̄ω ̄="}),$e=Vue.extend({name:"VEmpty",data:()=>({config:_e})});var et=n(5136),tt=n.n(et),nt={insert:"head",singleton:!1};u()(tt(),nt);tt().locals;const ot=(0,c.A)($e,Xe,[],!1,null,null,null).exports;var it=n(1367),rt=n(906),at=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("VButton",e._g(e._b({staticClass:"default-widget"},"VButton",e.$attrs,!1),e.$listeners),[t("div",{staticClass:"widget-icon"},[e._t("icon",(function(){return[t("VIcon",{attrs:{type:e.iconType,icon:e.icon}})]}))],2),e._v(" "),t("div",{staticClass:"widget-name"},[e._t("default",(function(){return[e._v(e._s(e.name))]}))],2)])};at._withStripped=!0;const ct=Vue.extend({components:{VIcon:o.default,VButton:r.default},props:{name:{type:String,default:""},icon:{type:String,default:""},iconType:{type:String,default:""}}});var st=n(3953),lt=n.n(st),dt={insert:"head",singleton:!1};u()(lt(),dt);lt().locals;const mt=(0,c.A)(ct,at,[],!1,null,"20e1bedd",null).exports;var ut=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"collapsible-container"},[t("div",{staticClass:"header",on:{click:e.onHeaderClick}},[e._t("header",(function(){return[t("div",{staticClass:"default-header"},[e._t("title",(function(){return[t("span",{staticClass:"default-header-title"},[e._v(e._s(e.title))])]})),e._v(" "),e.hideExpandButton?e._e():t("VIcon",{staticClass:"arrow",class:{expanded:e.computedExpanded},attrs:{size:18,icon:"mdi-chevron-down"},on:{click:e.onBtnClick}})],2)]}))],2),e._v(" "),t("div",{directives:[{name:"show",rawName:"v-show",value:e.computedExpanded,expression:"computedExpanded"}],staticClass:"content",class:{disabled:e.disableContent}},[e._t("default")],2)])};ut._withStripped=!0;var ft=n(3654);const pt=(0,ft.defineComponent)({name:"CollapsibleContainer",components:{VIcon:o.default},props:{title:{type:String,default:""},expanded:{type:Boolean,default:void 0},defaultExpanded:{type:Boolean,default:!1},enableExpandByHeader:{type:Boolean,default:!0},hideExpandButton:{type:Boolean,default:!1},disableContent:{type:Boolean,default:!1}},emits:["expanded"],setup(e,t){let{emit:n}=t;const o=(0,ft.shallowRef)(e.defaultExpanded),i=(0,ft.computed)((()=>void 0!==e.expanded?e.expanded:o.value)),r=()=>{void 0!==e.expanded?n("expanded",!e.expanded):o.value=!o.value};return{computedExpanded:i,onBtnClick:e=>{e.stopPropagation(),r()},onHeaderClick:()=>{e.enableExpandByHeader&&r()}}}});var bt=n(5640),ht=n.n(bt),gt={insert:"head",singleton:!1};u()(ht(),gt);ht().locals;const vt=(0,c.A)(pt,ut,[],!1,null,"2c565e7e",null).exports;var Ft=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("OptionWidgetLayout",{attrs:{title:e.title,"is-popup":e.isPopup,icon:e.icon}},[t(e.currentComponent,e._b({tag:"component"},"component","div"===e.currentComponent?{class:"container"}:{defaultExpanded:!0,title:e.title},!1),e._l(Object.entries(e.itemVMs),(function([n,o]){return t("RadioGroupItem",{key:n,attrs:{title:o.displayName,"default-expanded":!!o.optionsFiltered,"hide-expand-button":!o.optionsFiltered,checked:o.checked,group:e.groupName,"disable-content":!!e.disableContent&&!o.checked},on:{change:t=>e.onRadioChange(o,t)}},[o.optionsFiltered?t("div",e._l(Object.entries(o.optionsFiltered),(function([n,o]){return t("ComponentOption",{key:n,attrs:{name:n,"display-name":o.displayName,option:o,component:e.componentData}})})),1):e._e()])})),1)],1)};Ft._withStripped=!0;var wt=n(1164),yt=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("CollapsibleContainer",{attrs:{expanded:e.computedExpanded,"default-expanded":e.defaultExpanded,"hide-expand-button":e.hideExpandButton,"enable-expand-by-header":!1,"disable-content":e.disableContent},on:{expanded:e.onExpanded},scopedSlots:e._u([{key:"title",fn:function(){return[t("RadioButton",{staticClass:"group-title",attrs:{"no-effects":"",checked:e.computedChecked,"allow-uncheck":e.allowUncheck,group:e.group,"checked-icon":e.checkedIcon,"not-checked-icon":e.notCheckedIcon},on:{change:e.onRadioChanged}},[e._v("\n "+e._s(e.title)+"\n ")])]},proxy:!0}])},[e._v(" "),e._t("default")],2)};yt._withStripped=!0;const xt=(0,ft.defineComponent)({components:{RadioButton:fe,CollapsibleContainer:vt},props:{title:{type:String,default:""},expanded:{type:Boolean,default:void 0},defaultExpanded:{type:Boolean,default:!1},hideExpandButton:{type:Boolean,default:!1},disableContent:{type:Boolean,default:!1},checked:{type:Boolean,default:void 0},allowUncheck:{type:Boolean,default:!1},group:{type:String,default:""},checkedIcon:{type:String,default:"mdi-radiobox-marked"},notCheckedIcon:{type:String,default:"mdi-radiobox-blank"}},emits:["expanded","change"],setup(e,t){let{emit:n}=t;const o=(0,ft.shallowRef)(e.defaultExpanded),i=(0,ft.computed)((()=>void 0!==e.expanded?e.expanded:o.value)),r=(0,ft.shallowRef)(!1);return{computedExpanded:i,onExpanded:t=>{void 0!==e.expanded?n("expanded",t):o.value=t},computedChecked:(0,ft.computed)((()=>void 0!==e.checked?e.checked:r.value)),onRadioChanged:t=>{void 0!==e.checked?n("change",t):r.value=t}}}});var kt=n(4222),Ct=n.n(kt),At={insert:"head",singleton:!1};u()(Ct(),At);Ct().locals;const Et=(0,c.A)(xt,yt,[],!1,null,"9b855096",null).exports;var Bt=n(9496),Dt=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"option-widget-layout"},[e.isPopup?t("VPopup",{staticClass:"option-widget-popup",attrs:{"trigger-element":e.$refs.popupButton,"auto-destroy":""},model:{value:e.popup,callback:function(t){e.popup=t},expression:"popup"}},[e._t("default")],2):e._e(),e._v(" "),e.isPopup?t("DefaultWidget",{ref:"popupButton",attrs:{icon:e.icon},on:{click:function(t){e.popup=!e.popup}}},[t("span",[e._v(e._s(e.title))])]):e._e(),e._v(" "),e.isPopup?e._e():e._t("default")],2)};Dt._withStripped=!0;const It=Vue.extend({components:{DefaultWidget:mt,VPopup:Ze.default},props:{isPopup:{type:Boolean,required:!0},title:{type:String,required:!0},icon:{type:String,default:""}},data:()=>({popup:!1})});var St=n(1009),zt=n.n(St),Pt={insert:"head",singleton:!1};u()(zt(),Pt);zt().locals;const Mt=(0,c.A)(It,Dt,[],!1,null,null,null).exports,Ot=(0,ft.defineComponent)({components:{ComponentOption:wt.A,RadioGroupItem:Et,CollapsibleContainer:vt,OptionWidgetLayout:Mt},props:{title:{type:String,default:""},groupName:{type:String,required:!0},items:{type:Object,required:!0},componentName:{type:String,required:!0},isPopup:{type:Boolean,required:!0},icon:{type:String,default:""},hasContainer:{type:Boolean,default:!0},disableContent:{type:Boolean,default:!1}},setup(e){const t=Bt.componentsMap[e.componentName],n=t.options,o=(0,q.getComponentSettings)(t).options,i=Object.fromEntries(Object.entries(e.items).map((t=>{let[i,r]=t;const a={...r};return r.isOption?(a.displayName=n[r.name]?.displayName??r.name,a.checked=!!o[r.name],(0,q.addComponentListener)(`${e.componentName}.${r.name}`,(e=>{a.checked=e}))):a.displayName=r.name,r.optionsIncluded&&(a.optionsFiltered=Object.fromEntries(Object.entries(n).filter((e=>{let[t]=e;return((e,t)=>{if(t.optionsIncluded){const n=t.optionsIncluded;return n instanceof RegExp?n.test(e):!!Array.isArray(n)&&n.includes(e)}return!0})(t,r)})))),[i,a]})));return{componentData:t,itemVMs:(0,ft.ref)(i),onRadioChange:function(e,t){e.checked=t,e.isOption&&setTimeout((()=>o[e.name]=t),200),e.onChange&&e.onChange(t)},currentComponent:e.hasContainer?vt:"div"}}}),Vt=Ot;var Tt=n(1513),Lt=n.n(Tt),Rt={insert:"head",singleton:!1};u()(Lt(),Rt);Lt().locals;const jt=(0,c.A)(Vt,Ft,[],!1,null,"106e4984",null).exports;var Nt=n(7641)},1262:(e,t,n)=>{"use strict";n.d(t,{initMdiStyle:()=>r});var o=n(9137),i=n.n(o);const r=()=>{const e=document.createElement("style");return e.id="be-mdi",e.innerHTML=i(),e}},4462:(e,t,n)=>{"use strict";n.d(t,{Q:()=>o});const o=Vue.extend({model:{prop:"text",event:"change"},props:{text:{type:String,required:!1,default:""},changeOnBlur:{type:Boolean,required:!1,default:!1},validator:{type:Function,default:void 0}},data(){return{composing:!1,restListeners:lodash.omit(this.$listeners,"change","input","compositionstart","compositionend")}},methods:{emitChange(){let{value:e}=this.$refs.input;this.validator&&(e=this.validator(e,this.text),this.changeOnBlur&&(this.$refs.input.value=e)),e!==this.text&&this.$emit("change",e)},input(){this.changeOnBlur||this.composing||this.emitChange()},change(){this.changeOnBlur&&!this.composing&&this.emitChange()},compositionStart(){this.composing=!0},compositionEnd(){this.composing=!1,this.input()},focus(){this.$refs.input.focus()}}})},6758:(e,t,n)=>{"use strict";n.d(t,{A:()=>u});var o=n(6073);const i="the1812",r="cdn.jsdelivr.net",a={name:"jsDelivr",owner:i,host:r,stableClient:`https://${r}/gh/${i}/Bilibili-Evolved@master/dist/bilibili-evolved.user.js`,previewClient:`https://${r}/gh/${i}/Bilibili-Evolved@preview/dist/bilibili-evolved.preview.user.js`,library:{lodash:{url:`https://${r}/npm/lodash@4.17.21/lodash.min.js`,sha256:"a9705dfc47c0763380d851ab1801be6f76019f6b67e40e9b873f8b4a0603f7a9"},protobuf:{url:`https://${r}/npm/protobufjs@6.10.1/dist/light/protobuf.min.js`,sha256:"8978daf871b02d683ecaee371861702a6f31d0a4c52925b7db2bb1655a8bc7d1"},jszip:{url:`https://${r}/npm/jszip@3.7.1/dist/jszip.min.js`,sha256:"c9e4a52bac18aee4f3f90d05fbca603f5b0f5bf1ce8c45e60bb4ed3a2cb2ed86"},sortable:{url:`https://${r}/npm/sortablejs@1.14.0/Sortable.min.js`,sha256:"0ea5a6fbfbf5434b606878533cb7a66bcf700f0f08afe908335d0978fb63ad94"},streamsaver:{url:`https://${r}/npm/streamsaver@2.0.6/StreamSaver.js`,sha256:"a110f78e0b092481dc372901c4d57ae50681d773bc9d55e62356f9a22f17e24b"},ffmpeg:{worker:{url:`https://${r}/npm/@ffmpeg/ffmpeg@0.12.4/dist/umd/814.ffmpeg.js`,sha256:"baf19437171b1bccae4416e4da69fb40455b8e67142f79c8ec9da36b1de7fd8a"},core:{url:`https://${r}/npm/@ffmpeg/core@0.12.4/dist/umd/ffmpeg-core.js`,sha256:"6af6b8cd8c878dec6f61f3cd6be16e88f9391dd265e51f20afea5c0f718bfba0"},wasm:{url:`https://${r}/npm/@ffmpeg/core@0.12.4/dist/umd/ffmpeg-core.wasm`,sha256:"81bdc645b71d7d74ff56fdc0979c5fcb2f92ffcc7f24573a79681fed4ea73905"}}},smallLogo:`https://${r}/gh/${i}/Bilibili-Evolved@preview/images/logo-small.png`,logo:`https://${r}/gh/${i}/Bilibili-Evolved@preview/images/logo.png`,root:(e,t)=>`https://${r}/gh/${t||i}/Bilibili-Evolved@${e}/`},c="the1812",s="raw.githubusercontent.com",l={name:"GitHub",owner:c,host:s,stableClient:`https://${s}/${c}/Bilibili-Evolved/master/dist/bilibili-evolved.user.js`,previewClient:`https://${s}/${c}/Bilibili-Evolved/preview/dist/bilibili-evolved.preview.user.js`,library:{lodash:{url:`https://${s}/lodash/lodash/4.17.21/dist/lodash.min.js`,sha256:"a9705dfc47c0763380d851ab1801be6f76019f6b67e40e9b873f8b4a0603f7a9"},protobuf:{url:`https://${s}/protobufjs/protobuf.js/v6.10.1/dist/light/protobuf.min.js`,sha256:"8978daf871b02d683ecaee371861702a6f31d0a4c52925b7db2bb1655a8bc7d1"},jszip:{url:`https://${s}/Stuk/jszip/v3.7.1/dist/jszip.min.js`,sha256:"c9e4a52bac18aee4f3f90d05fbca603f5b0f5bf1ce8c45e60bb4ed3a2cb2ed86"},sortable:{url:`https://${s}/SortableJS/Sortable/1.14.0/Sortable.min.js`,sha256:"0ea5a6fbfbf5434b606878533cb7a66bcf700f0f08afe908335d0978fb63ad94"},streamsaver:{url:`https://${s}/jimmywarting/StreamSaver.js/2.0.6/StreamSaver.js`,sha256:"a110f78e0b092481dc372901c4d57ae50681d773bc9d55e62356f9a22f17e24b"},ffmpeg:a.library.ffmpeg},smallLogo:`https://${s}/${c}/Bilibili-Evolved/preview/images/logo-small.png`,logo:`https://${s}/${c}/Bilibili-Evolved/preview/images/logo.png`,root:(e,t)=>`https://${s}/${t||c}/Bilibili-Evolved/${e}/`},d=l,m={github:l,jsDelivr:a},u={...{year:(new Date).getFullYear(),version:o.version,altCdn:d,allCdns:m},commitHash:"d87d69cfb9d7e0124bd90a06fec4569bd61e02c5",branch:"master",nearestTag:"v2.10.7",versionWithTag:"v2.10.7-133-gd87d69cfb"}},6481:(e,t,n)=>{var o=n(4176),i={};for(var r in o)o.hasOwnProperty(r)&&(i[o[r]]=r);var a=e.exports={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};for(var c in a)if(a.hasOwnProperty(c)){if(!("channels"in a[c]))throw new Error("missing channels property: "+c);if(!("labels"in a[c]))throw new Error("missing channel labels property: "+c);if(a[c].labels.length!==a[c].channels)throw new Error("channel and label counts mismatch: "+c);var s=a[c].channels,l=a[c].labels;delete a[c].channels,delete a[c].labels,Object.defineProperty(a[c],"channels",{value:s}),Object.defineProperty(a[c],"labels",{value:l})}a.rgb.hsl=function(e){var t,n,o=e[0]/255,i=e[1]/255,r=e[2]/255,a=Math.min(o,i,r),c=Math.max(o,i,r),s=c-a;return c===a?t=0:o===c?t=(i-r)/s:i===c?t=2+(r-o)/s:r===c&&(t=4+(o-i)/s),(t=Math.min(60*t,360))<0&&(t+=360),n=(a+c)/2,[t,100*(c===a?0:n<=.5?s/(c+a):s/(2-c-a)),100*n]},a.rgb.hsv=function(e){var t,n,o,i,r,a=e[0]/255,c=e[1]/255,s=e[2]/255,l=Math.max(a,c,s),d=l-Math.min(a,c,s),m=function(e){return(l-e)/6/d+.5};return 0===d?i=r=0:(r=d/l,t=m(a),n=m(c),o=m(s),a===l?i=o-n:c===l?i=1/3+t-o:s===l&&(i=2/3+n-t),i<0?i+=1:i>1&&(i-=1)),[360*i,100*r,100*l]},a.rgb.hwb=function(e){var t=e[0],n=e[1],o=e[2];return[a.rgb.hsl(e)[0],100*(1/255*Math.min(t,Math.min(n,o))),100*(o=1-1/255*Math.max(t,Math.max(n,o)))]},a.rgb.cmyk=function(e){var t,n=e[0]/255,o=e[1]/255,i=e[2]/255;return[100*((1-n-(t=Math.min(1-n,1-o,1-i)))/(1-t)||0),100*((1-o-t)/(1-t)||0),100*((1-i-t)/(1-t)||0),100*t]},a.rgb.keyword=function(e){var t=i[e];if(t)return t;var n,r,a,c=1/0;for(var s in o)if(o.hasOwnProperty(s)){var l=o[s],d=(r=e,a=l,Math.pow(r[0]-a[0],2)+Math.pow(r[1]-a[1],2)+Math.pow(r[2]-a[2],2));d.04045?Math.pow((t+.055)/1.055,2.4):t/12.92)+.3576*(n=n>.04045?Math.pow((n+.055)/1.055,2.4):n/12.92)+.1805*(o=o>.04045?Math.pow((o+.055)/1.055,2.4):o/12.92)),100*(.2126*t+.7152*n+.0722*o),100*(.0193*t+.1192*n+.9505*o)]},a.rgb.lab=function(e){var t=a.rgb.xyz(e),n=t[0],o=t[1],i=t[2];return o/=100,i/=108.883,n=(n/=95.047)>.008856?Math.pow(n,1/3):7.787*n+16/116,[116*(o=o>.008856?Math.pow(o,1/3):7.787*o+16/116)-16,500*(n-o),200*(o-(i=i>.008856?Math.pow(i,1/3):7.787*i+16/116))]},a.hsl.rgb=function(e){var t,n,o,i,r,a=e[0]/360,c=e[1]/100,s=e[2]/100;if(0===c)return[r=255*s,r,r];t=2*s-(n=s<.5?s*(1+c):s+c-s*c),i=[0,0,0];for(var l=0;l<3;l++)(o=a+1/3*-(l-1))<0&&o++,o>1&&o--,r=6*o<1?t+6*(n-t)*o:2*o<1?n:3*o<2?t+(n-t)*(2/3-o)*6:t,i[l]=255*r;return i},a.hsl.hsv=function(e){var t=e[0],n=e[1]/100,o=e[2]/100,i=n,r=Math.max(o,.01);return n*=(o*=2)<=1?o:2-o,i*=r<=1?r:2-r,[t,100*(0===o?2*i/(r+i):2*n/(o+n)),100*((o+n)/2)]},a.hsv.rgb=function(e){var t=e[0]/60,n=e[1]/100,o=e[2]/100,i=Math.floor(t)%6,r=t-Math.floor(t),a=255*o*(1-n),c=255*o*(1-n*r),s=255*o*(1-n*(1-r));switch(o*=255,i){case 0:return[o,s,a];case 1:return[c,o,a];case 2:return[a,o,s];case 3:return[a,c,o];case 4:return[s,a,o];case 5:return[o,a,c]}},a.hsv.hsl=function(e){var t,n,o,i=e[0],r=e[1]/100,a=e[2]/100,c=Math.max(a,.01);return o=(2-r)*a,n=r*c,[i,100*(n=(n/=(t=(2-r)*c)<=1?t:2-t)||0),100*(o/=2)]},a.hwb.rgb=function(e){var t,n,o,i,r,a,c,s=e[0]/360,l=e[1]/100,d=e[2]/100,m=l+d;switch(m>1&&(l/=m,d/=m),o=6*s-(t=Math.floor(6*s)),1&t&&(o=1-o),i=l+o*((n=1-d)-l),t){default:case 6:case 0:r=n,a=i,c=l;break;case 1:r=i,a=n,c=l;break;case 2:r=l,a=n,c=i;break;case 3:r=l,a=i,c=n;break;case 4:r=i,a=l,c=n;break;case 5:r=n,a=l,c=i}return[255*r,255*a,255*c]},a.cmyk.rgb=function(e){var t=e[0]/100,n=e[1]/100,o=e[2]/100,i=e[3]/100;return[255*(1-Math.min(1,t*(1-i)+i)),255*(1-Math.min(1,n*(1-i)+i)),255*(1-Math.min(1,o*(1-i)+i))]},a.xyz.rgb=function(e){var t,n,o,i=e[0]/100,r=e[1]/100,a=e[2]/100;return n=-.9689*i+1.8758*r+.0415*a,o=.0557*i+-.204*r+1.057*a,t=(t=3.2406*i+-1.5372*r+-.4986*a)>.0031308?1.055*Math.pow(t,1/2.4)-.055:12.92*t,n=n>.0031308?1.055*Math.pow(n,1/2.4)-.055:12.92*n,o=o>.0031308?1.055*Math.pow(o,1/2.4)-.055:12.92*o,[255*(t=Math.min(Math.max(0,t),1)),255*(n=Math.min(Math.max(0,n),1)),255*(o=Math.min(Math.max(0,o),1))]},a.xyz.lab=function(e){var t=e[0],n=e[1],o=e[2];return n/=100,o/=108.883,t=(t/=95.047)>.008856?Math.pow(t,1/3):7.787*t+16/116,[116*(n=n>.008856?Math.pow(n,1/3):7.787*n+16/116)-16,500*(t-n),200*(n-(o=o>.008856?Math.pow(o,1/3):7.787*o+16/116))]},a.lab.xyz=function(e){var t,n,o,i=e[0];t=e[1]/500+(n=(i+16)/116),o=n-e[2]/200;var r=Math.pow(n,3),a=Math.pow(t,3),c=Math.pow(o,3);return n=r>.008856?r:(n-16/116)/7.787,t=a>.008856?a:(t-16/116)/7.787,o=c>.008856?c:(o-16/116)/7.787,[t*=95.047,n*=100,o*=108.883]},a.lab.lch=function(e){var t,n=e[0],o=e[1],i=e[2];return(t=360*Math.atan2(i,o)/2/Math.PI)<0&&(t+=360),[n,Math.sqrt(o*o+i*i),t]},a.lch.lab=function(e){var t,n=e[0],o=e[1];return t=e[2]/360*2*Math.PI,[n,o*Math.cos(t),o*Math.sin(t)]},a.rgb.ansi16=function(e){var t=e[0],n=e[1],o=e[2],i=1 in arguments?arguments[1]:a.rgb.hsv(e)[2];if(0===(i=Math.round(i/50)))return 30;var r=30+(Math.round(o/255)<<2|Math.round(n/255)<<1|Math.round(t/255));return 2===i&&(r+=60),r},a.hsv.ansi16=function(e){return a.rgb.ansi16(a.hsv.rgb(e),e[2])},a.rgb.ansi256=function(e){var t=e[0],n=e[1],o=e[2];return t===n&&n===o?t<8?16:t>248?231:Math.round((t-8)/247*24)+232:16+36*Math.round(t/255*5)+6*Math.round(n/255*5)+Math.round(o/255*5)},a.ansi16.rgb=function(e){var t=e%10;if(0===t||7===t)return e>50&&(t+=3.5),[t=t/10.5*255,t,t];var n=.5*(1+~~(e>50));return[(1&t)*n*255,(t>>1&1)*n*255,(t>>2&1)*n*255]},a.ansi256.rgb=function(e){if(e>=232){var t=10*(e-232)+8;return[t,t,t]}var n;return e-=16,[Math.floor(e/36)/5*255,Math.floor((n=e%36)/6)/5*255,n%6/5*255]},a.rgb.hex=function(e){var t=(((255&Math.round(e[0]))<<16)+((255&Math.round(e[1]))<<8)+(255&Math.round(e[2]))).toString(16).toUpperCase();return"000000".substring(t.length)+t},a.hex.rgb=function(e){var t=e.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!t)return[0,0,0];var n=t[0];3===t[0].length&&(n=n.split("").map((function(e){return e+e})).join(""));var o=parseInt(n,16);return[o>>16&255,o>>8&255,255&o]},a.rgb.hcg=function(e){var t,n=e[0]/255,o=e[1]/255,i=e[2]/255,r=Math.max(Math.max(n,o),i),a=Math.min(Math.min(n,o),i),c=r-a;return t=c<=0?0:r===n?(o-i)/c%6:r===o?2+(i-n)/c:4+(n-o)/c+4,t/=6,[360*(t%=1),100*c,100*(c<1?a/(1-c):0)]},a.hsl.hcg=function(e){var t=e[1]/100,n=e[2]/100,o=1,i=0;return(o=n<.5?2*t*n:2*t*(1-n))<1&&(i=(n-.5*o)/(1-o)),[e[0],100*o,100*i]},a.hsv.hcg=function(e){var t=e[1]/100,n=e[2]/100,o=t*n,i=0;return o<1&&(i=(n-o)/(1-o)),[e[0],100*o,100*i]},a.hcg.rgb=function(e){var t=e[0]/360,n=e[1]/100,o=e[2]/100;if(0===n)return[255*o,255*o,255*o];var i,r=[0,0,0],a=t%1*6,c=a%1,s=1-c;switch(Math.floor(a)){case 0:r[0]=1,r[1]=c,r[2]=0;break;case 1:r[0]=s,r[1]=1,r[2]=0;break;case 2:r[0]=0,r[1]=1,r[2]=c;break;case 3:r[0]=0,r[1]=s,r[2]=1;break;case 4:r[0]=c,r[1]=0,r[2]=1;break;default:r[0]=1,r[1]=0,r[2]=s}return i=(1-n)*o,[255*(n*r[0]+i),255*(n*r[1]+i),255*(n*r[2]+i)]},a.hcg.hsv=function(e){var t=e[1]/100,n=t+e[2]/100*(1-t),o=0;return n>0&&(o=t/n),[e[0],100*o,100*n]},a.hcg.hsl=function(e){var t=e[1]/100,n=e[2]/100*(1-t)+.5*t,o=0;return n>0&&n<.5?o=t/(2*n):n>=.5&&n<1&&(o=t/(2*(1-n))),[e[0],100*o,100*n]},a.hcg.hwb=function(e){var t=e[1]/100,n=t+e[2]/100*(1-t);return[e[0],100*(n-t),100*(1-n)]},a.hwb.hcg=function(e){var t=e[1]/100,n=1-e[2]/100,o=n-t,i=0;return o<1&&(i=(n-o)/(1-o)),[e[0],100*o,100*i]},a.apple.rgb=function(e){return[e[0]/65535*255,e[1]/65535*255,e[2]/65535*255]},a.rgb.apple=function(e){return[e[0]/255*65535,e[1]/255*65535,e[2]/255*65535]},a.gray.rgb=function(e){return[e[0]/100*255,e[0]/100*255,e[0]/100*255]},a.gray.hsl=a.gray.hsv=function(e){return[0,0,e[0]]},a.gray.hwb=function(e){return[0,100,e[0]]},a.gray.cmyk=function(e){return[0,0,0,e[0]]},a.gray.lab=function(e){return[e[0],0,0]},a.gray.hex=function(e){var t=255&Math.round(e[0]/100*255),n=((t<<16)+(t<<8)+t).toString(16).toUpperCase();return"000000".substring(n.length)+n},a.rgb.gray=function(e){return[(e[0]+e[1]+e[2])/3/255*100]}},4732:(e,t,n)=>{var o=n(6481),i=n(1157),r={};Object.keys(o).forEach((function(e){r[e]={},Object.defineProperty(r[e],"channels",{value:o[e].channels}),Object.defineProperty(r[e],"labels",{value:o[e].labels});var t=i(e);Object.keys(t).forEach((function(n){var o=t[n];r[e][n]=function(e){var t=function(t){if(null==t)return t;arguments.length>1&&(t=Array.prototype.slice.call(arguments));var n=e(t);if("object"==typeof n)for(var o=n.length,i=0;i1&&(t=Array.prototype.slice.call(arguments)),e(t))};return"conversion"in e&&(t.conversion=e.conversion),t}(o)}))})),e.exports=r},1157:(e,t,n)=>{var o=n(6481);function i(e){var t=function(){for(var e={},t=Object.keys(o),n=t.length,i=0;i{"use strict";e.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}},4877:e=>{"use strict";e.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}},6138:(e,t,n)=>{var o=n(4877),i=n(301),r=Object.hasOwnProperty,a=Object.create(null);for(var c in o)r.call(o,c)&&(a[o[c]]=c);var s=e.exports={to:{},get:{}};function l(e,t,n){return Math.min(Math.max(t,e),n)}function d(e){var t=Math.round(e).toString(16).toUpperCase();return t.length<2?"0"+t:t}s.get=function(e){var t,n;switch(e.substring(0,3).toLowerCase()){case"hsl":t=s.get.hsl(e),n="hsl";break;case"hwb":t=s.get.hwb(e),n="hwb";break;default:t=s.get.rgb(e),n="rgb"}return t?{model:n,value:t}:null},s.get.rgb=function(e){if(!e)return null;var t,n,i,a=[0,0,0,1];if(t=e.match(/^#([a-f0-9]{6})([a-f0-9]{2})?$/i)){for(i=t[2],t=t[1],n=0;n<3;n++){var c=2*n;a[n]=parseInt(t.slice(c,c+2),16)}i&&(a[3]=parseInt(i,16)/255)}else if(t=e.match(/^#([a-f0-9]{3,4})$/i)){for(i=(t=t[1])[3],n=0;n<3;n++)a[n]=parseInt(t[n]+t[n],16);i&&(a[3]=parseInt(i+i,16)/255)}else if(t=e.match(/^rgba?\(\s*([+-]?\d+)(?=[\s,])\s*(?:,\s*)?([+-]?\d+)(?=[\s,])\s*(?:,\s*)?([+-]?\d+)\s*(?:[,|\/]\s*([+-]?[\d\.]+)(%?)\s*)?\)$/)){for(n=0;n<3;n++)a[n]=parseInt(t[n+1],0);t[4]&&(t[5]?a[3]=.01*parseFloat(t[4]):a[3]=parseFloat(t[4]))}else{if(!(t=e.match(/^rgba?\(\s*([+-]?[\d\.]+)\%\s*,?\s*([+-]?[\d\.]+)\%\s*,?\s*([+-]?[\d\.]+)\%\s*(?:[,|\/]\s*([+-]?[\d\.]+)(%?)\s*)?\)$/)))return(t=e.match(/^(\w+)$/))?"transparent"===t[1]?[0,0,0,0]:r.call(o,t[1])?((a=o[t[1]])[3]=1,a):null:null;for(n=0;n<3;n++)a[n]=Math.round(2.55*parseFloat(t[n+1]));t[4]&&(t[5]?a[3]=.01*parseFloat(t[4]):a[3]=parseFloat(t[4]))}for(n=0;n<3;n++)a[n]=l(a[n],0,255);return a[3]=l(a[3],0,1),a},s.get.hsl=function(e){if(!e)return null;var t=e.match(/^hsla?\(\s*([+-]?(?:\d{0,3}\.)?\d+)(?:deg)?\s*,?\s*([+-]?[\d\.]+)%\s*,?\s*([+-]?[\d\.]+)%\s*(?:[,|\/]\s*([+-]?(?=\.\d|\d)(?:0|[1-9]\d*)?(?:\.\d*)?(?:[eE][+-]?\d+)?)\s*)?\)$/);if(t){var n=parseFloat(t[4]);return[(parseFloat(t[1])%360+360)%360,l(parseFloat(t[2]),0,100),l(parseFloat(t[3]),0,100),l(isNaN(n)?1:n,0,1)]}return null},s.get.hwb=function(e){if(!e)return null;var t=e.match(/^hwb\(\s*([+-]?\d{0,3}(?:\.\d+)?)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?(?=\.\d|\d)(?:0|[1-9]\d*)?(?:\.\d*)?(?:[eE][+-]?\d+)?)\s*)?\)$/);if(t){var n=parseFloat(t[4]);return[(parseFloat(t[1])%360+360)%360,l(parseFloat(t[2]),0,100),l(parseFloat(t[3]),0,100),l(isNaN(n)?1:n,0,1)]}return null},s.to.hex=function(){var e=i(arguments);return"#"+d(e[0])+d(e[1])+d(e[2])+(e[3]<1?d(Math.round(255*e[3])):"")},s.to.rgb=function(){var e=i(arguments);return e.length<4||1===e[3]?"rgb("+Math.round(e[0])+", "+Math.round(e[1])+", "+Math.round(e[2])+")":"rgba("+Math.round(e[0])+", "+Math.round(e[1])+", "+Math.round(e[2])+", "+e[3]+")"},s.to.rgb.percent=function(){var e=i(arguments),t=Math.round(e[0]/255*100),n=Math.round(e[1]/255*100),o=Math.round(e[2]/255*100);return e.length<4||1===e[3]?"rgb("+t+"%, "+n+"%, "+o+"%)":"rgba("+t+"%, "+n+"%, "+o+"%, "+e[3]+")"},s.to.hsl=function(){var e=i(arguments);return e.length<4||1===e[3]?"hsl("+e[0]+", "+e[1]+"%, "+e[2]+"%)":"hsla("+e[0]+", "+e[1]+"%, "+e[2]+"%, "+e[3]+")"},s.to.hwb=function(){var e=i(arguments),t="";return e.length>=4&&1!==e[3]&&(t=", "+e[3]),"hwb("+e[0]+", "+e[1]+"%, "+e[2]+"%"+t+")"},s.to.keyword=function(e){return a[e.slice(0,3)]}},3639:(e,t,n)=>{"use strict";var o=n(6138),i=n(4732),r=[].slice,a=["keyword","gray","hex"],c={};Object.keys(i).forEach((function(e){c[r.call(i[e].labels).sort().join("")]=e}));var s={};function l(e,t){if(!(this instanceof l))return new l(e,t);if(t&&t in a&&(t=null),t&&!(t in i))throw new Error("Unknown model: "+t);var n,d;if(null==e)// eslint-disable-line no-eq-null,eqeqeq this.model="rgb",this.color=[0,0,0],this.valpha=1;else if(e instanceof l)this.model=e.model,this.color=e.color.slice(),this.valpha=e.valpha;else if("string"==typeof e){var m=o.get(e);if(null===m)throw new Error("Unable to parse color from string: "+e);this.model=m.model,d=i[this.model].channels,this.color=m.value.slice(0,d),this.valpha="number"==typeof m.value[d]?m.value[d]:1}else if(e.length){this.model=t||"rgb",d=i[this.model].channels;var f=r.call(e,0,d);this.color=u(f,d),this.valpha="number"==typeof e[d]?e[d]:1}else if("number"==typeof e)e&=16777215,this.model="rgb",this.color=[e>>16&255,e>>8&255,255&e],this.valpha=1;else{this.valpha=1;var p=Object.keys(e);"alpha"in e&&(p.splice(p.indexOf("alpha"),1),this.valpha="number"==typeof e.alpha?e.alpha:0);var b=p.sort().join("");if(!(b in c))throw new Error("Unable to parse color from object: "+JSON.stringify(e));this.model=c[b];var h=i[this.model].labels,g=[];for(n=0;nn?(t+.05)/(n+.05):(n+.05)/(t+.05)},level:function(e){var t=this.contrast(e);return t>=7.1?"AAA":t>=4.5?"AA":""},isDark:function(){var e=this.rgb().color;return(299*e[0]+587*e[1]+114*e[2])/1e3<128},isLight:function(){return!this.isDark()},negate:function(){for(var e=this.rgb(),t=0;t<3;t++)e.color[t]=255-e.color[t];return e},lighten:function(e){var t=this.hsl();return t.color[2]+=t.color[2]*e,t},darken:function(e){var t=this.hsl();return t.color[2]-=t.color[2]*e,t},saturate:function(e){var t=this.hsl();return t.color[1]+=t.color[1]*e,t},desaturate:function(e){var t=this.hsl();return t.color[1]-=t.color[1]*e,t},whiten:function(e){var t=this.hwb();return t.color[1]+=t.color[1]*e,t},blacken:function(e){var t=this.hwb();return t.color[2]+=t.color[2]*e,t},grayscale:function(){var e=this.rgb().color,t=.3*e[0]+.59*e[1]+.11*e[2];return l.rgb(t,t,t)},fade:function(e){return this.alpha(this.valpha-this.valpha*e)},opaquer:function(e){return this.alpha(this.valpha+this.valpha*e)},rotate:function(e){var t=this.hsl(),n=t.color[0];return n=(n=(n+e)%360)<0?360+n:n,t.color[0]=n,t},mix:function(e,t){if(!e||!e.rgb)throw new Error('Argument to "mix" was not a Color instance, but rather an instance of '+typeof e);var n=e.rgb(),o=this.rgb(),i=void 0===t?.5:t,r=2*i-1,a=n.alpha()-o.alpha(),c=((r*a==-1?r:(r+a)/(1+r*a))+1)/2,s=1-c;return l.rgb(c*n.red()+s*o.red(),c*n.green()+s*o.green(),c*n.blue()+s*o.blue(),n.alpha()*i+o.alpha()*(1-i))}},Object.keys(i).forEach((function(e){if(-1===a.indexOf(e)){var t=i[e].channels;l.prototype[e]=function(){if(this.model===e)return new l(this);if(arguments.length)return new l(arguments,e);var n,o="number"==typeof arguments[t]?t:this.valpha;return new l((n=i[this.model][e].raw(this.color),Array.isArray(n)?n:[n]).concat(o),e)},l[e]=function(n){return"number"==typeof n&&(n=u(r.call(arguments),t)),new l(n,e)}}})),e.exports=l},6241:(e,t,n)=>{var o=n(2955)((function(e){return e[1]}));o.push([e.id,'.tippy-box[data-animation=fade][data-state=hidden]{opacity:0}[data-tippy-root]{max-width:calc(100vw - 10px)}.tippy-box{position:relative;background-color:#333;color:#fff;border-radius:4px;font-size:14px;line-height:1.4;white-space:normal;outline:0;transition-property:transform,visibility,opacity}.tippy-box[data-placement^=top]>.tippy-arrow{bottom:0}.tippy-box[data-placement^=top]>.tippy-arrow:before{bottom:-7px;left:0;border-width:8px 8px 0;border-top-color:initial;transform-origin:center top}.tippy-box[data-placement^=bottom]>.tippy-arrow{top:0}.tippy-box[data-placement^=bottom]>.tippy-arrow:before{top:-7px;left:0;border-width:0 8px 8px;border-bottom-color:initial;transform-origin:center bottom}.tippy-box[data-placement^=left]>.tippy-arrow{right:0}.tippy-box[data-placement^=left]>.tippy-arrow:before{border-width:8px 0 8px 8px;border-left-color:initial;right:-7px;transform-origin:center left}.tippy-box[data-placement^=right]>.tippy-arrow{left:0}.tippy-box[data-placement^=right]>.tippy-arrow:before{left:-7px;border-width:8px 8px 8px 0;border-right-color:initial;transform-origin:center right}.tippy-box[data-inertia][data-state=visible]{transition-timing-function:cubic-bezier(.54,1.5,.38,1.11)}.tippy-arrow{width:16px;height:16px;color:#333}.tippy-arrow:before{content:"";position:absolute;border-color:transparent;border-style:solid}.tippy-content{position:relative;padding:5px 9px;z-index:1}',""]),e.exports=o},9123:(e,t,n)=>{var o=n(2955),i=n(8818),r=n(4213),a=o((function(e){return e[1]})),c=i(r);a.push([e.id,'@font-face{font-family:"Material Design Icons";src:url('+c+');font-weight:normal;font-style:normal}.mdi:before,.mdi-set{display:inline-block;font:normal normal normal 24px/1 "Material Design Icons";font-size:inherit;text-rendering:auto;line-height:inherit;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.mdi-ab-testing::before{content:"\\F01C9"}.mdi-abjad-arabic::before{content:"\\F1328"}.mdi-abjad-hebrew::before{content:"\\F1329"}.mdi-abugida-devanagari::before{content:"\\F132A"}.mdi-abugida-thai::before{content:"\\F132B"}.mdi-access-point::before{content:"\\F0003"}.mdi-access-point-network::before{content:"\\F0002"}.mdi-access-point-network-off::before{content:"\\F0BE1"}.mdi-account::before{content:"\\F0004"}.mdi-account-alert::before{content:"\\F0005"}.mdi-account-alert-outline::before{content:"\\F0B50"}.mdi-account-arrow-left::before{content:"\\F0B51"}.mdi-account-arrow-left-outline::before{content:"\\F0B52"}.mdi-account-arrow-right::before{content:"\\F0B53"}.mdi-account-arrow-right-outline::before{content:"\\F0B54"}.mdi-account-box::before{content:"\\F0006"}.mdi-account-box-multiple::before{content:"\\F0934"}.mdi-account-box-multiple-outline::before{content:"\\F100A"}.mdi-account-box-outline::before{content:"\\F0007"}.mdi-account-cancel::before{content:"\\F12DF"}.mdi-account-cancel-outline::before{content:"\\F12E0"}.mdi-account-cash::before{content:"\\F1097"}.mdi-account-cash-outline::before{content:"\\F1098"}.mdi-account-check::before{content:"\\F0008"}.mdi-account-check-outline::before{content:"\\F0BE2"}.mdi-account-child::before{content:"\\F0A89"}.mdi-account-child-circle::before{content:"\\F0A8A"}.mdi-account-child-outline::before{content:"\\F10C8"}.mdi-account-circle::before{content:"\\F0009"}.mdi-account-circle-outline::before{content:"\\F0B55"}.mdi-account-clock::before{content:"\\F0B56"}.mdi-account-clock-outline::before{content:"\\F0B57"}.mdi-account-cog::before{content:"\\F1370"}.mdi-account-cog-outline::before{content:"\\F1371"}.mdi-account-convert::before{content:"\\F000A"}.mdi-account-convert-outline::before{content:"\\F1301"}.mdi-account-cowboy-hat::before{content:"\\F0E9B"}.mdi-account-details::before{content:"\\F0631"}.mdi-account-details-outline::before{content:"\\F1372"}.mdi-account-edit::before{content:"\\F06BC"}.mdi-account-edit-outline::before{content:"\\F0FFB"}.mdi-account-group::before{content:"\\F0849"}.mdi-account-group-outline::before{content:"\\F0B58"}.mdi-account-hard-hat::before{content:"\\F05B5"}.mdi-account-heart::before{content:"\\F0899"}.mdi-account-heart-outline::before{content:"\\F0BE3"}.mdi-account-key::before{content:"\\F000B"}.mdi-account-key-outline::before{content:"\\F0BE4"}.mdi-account-lock::before{content:"\\F115E"}.mdi-account-lock-outline::before{content:"\\F115F"}.mdi-account-minus::before{content:"\\F000D"}.mdi-account-minus-outline::before{content:"\\F0AEC"}.mdi-account-multiple::before{content:"\\F000E"}.mdi-account-multiple-check::before{content:"\\F08C5"}.mdi-account-multiple-check-outline::before{content:"\\F11FE"}.mdi-account-multiple-minus::before{content:"\\F05D3"}.mdi-account-multiple-minus-outline::before{content:"\\F0BE5"}.mdi-account-multiple-outline::before{content:"\\F000F"}.mdi-account-multiple-plus::before{content:"\\F0010"}.mdi-account-multiple-plus-outline::before{content:"\\F0800"}.mdi-account-multiple-remove::before{content:"\\F120A"}.mdi-account-multiple-remove-outline::before{content:"\\F120B"}.mdi-account-music::before{content:"\\F0803"}.mdi-account-music-outline::before{content:"\\F0CE9"}.mdi-account-network::before{content:"\\F0011"}.mdi-account-network-outline::before{content:"\\F0BE6"}.mdi-account-off::before{content:"\\F0012"}.mdi-account-off-outline::before{content:"\\F0BE7"}.mdi-account-outline::before{content:"\\F0013"}.mdi-account-plus::before{content:"\\F0014"}.mdi-account-plus-outline::before{content:"\\F0801"}.mdi-account-question::before{content:"\\F0B59"}.mdi-account-question-outline::before{content:"\\F0B5A"}.mdi-account-remove::before{content:"\\F0015"}.mdi-account-remove-outline::before{content:"\\F0AED"}.mdi-account-search::before{content:"\\F0016"}.mdi-account-search-outline::before{content:"\\F0935"}.mdi-account-settings::before{content:"\\F0630"}.mdi-account-settings-outline::before{content:"\\F10C9"}.mdi-account-star::before{content:"\\F0017"}.mdi-account-star-outline::before{content:"\\F0BE8"}.mdi-account-supervisor::before{content:"\\F0A8B"}.mdi-account-supervisor-circle::before{content:"\\F0A8C"}.mdi-account-supervisor-outline::before{content:"\\F112D"}.mdi-account-switch::before{content:"\\F0019"}.mdi-account-switch-outline::before{content:"\\F04CB"}.mdi-account-tie::before{content:"\\F0CE3"}.mdi-account-tie-outline::before{content:"\\F10CA"}.mdi-account-tie-voice::before{content:"\\F1308"}.mdi-account-tie-voice-off::before{content:"\\F130A"}.mdi-account-tie-voice-off-outline::before{content:"\\F130B"}.mdi-account-tie-voice-outline::before{content:"\\F1309"}.mdi-account-voice::before{content:"\\F05CB"}.mdi-adjust::before{content:"\\F001A"}.mdi-adobe::before{content:"\\F0936"}.mdi-adobe-acrobat::before{content:"\\F0F9D"}.mdi-air-conditioner::before{content:"\\F001B"}.mdi-air-filter::before{content:"\\F0D43"}.mdi-air-horn::before{content:"\\F0DAC"}.mdi-air-humidifier::before{content:"\\F1099"}.mdi-air-humidifier-off::before{content:"\\F1466"}.mdi-air-purifier::before{content:"\\F0D44"}.mdi-airbag::before{content:"\\F0BE9"}.mdi-airballoon::before{content:"\\F001C"}.mdi-airballoon-outline::before{content:"\\F100B"}.mdi-airplane::before{content:"\\F001D"}.mdi-airplane-landing::before{content:"\\F05D4"}.mdi-airplane-off::before{content:"\\F001E"}.mdi-airplane-takeoff::before{content:"\\F05D5"}.mdi-airport::before{content:"\\F084B"}.mdi-alarm::before{content:"\\F0020"}.mdi-alarm-bell::before{content:"\\F078E"}.mdi-alarm-check::before{content:"\\F0021"}.mdi-alarm-light::before{content:"\\F078F"}.mdi-alarm-light-outline::before{content:"\\F0BEA"}.mdi-alarm-multiple::before{content:"\\F0022"}.mdi-alarm-note::before{content:"\\F0E71"}.mdi-alarm-note-off::before{content:"\\F0E72"}.mdi-alarm-off::before{content:"\\F0023"}.mdi-alarm-plus::before{content:"\\F0024"}.mdi-alarm-snooze::before{content:"\\F068E"}.mdi-album::before{content:"\\F0025"}.mdi-alert::before{content:"\\F0026"}.mdi-alert-box::before{content:"\\F0027"}.mdi-alert-box-outline::before{content:"\\F0CE4"}.mdi-alert-circle::before{content:"\\F0028"}.mdi-alert-circle-check::before{content:"\\F11ED"}.mdi-alert-circle-check-outline::before{content:"\\F11EE"}.mdi-alert-circle-outline::before{content:"\\F05D6"}.mdi-alert-decagram::before{content:"\\F06BD"}.mdi-alert-decagram-outline::before{content:"\\F0CE5"}.mdi-alert-minus::before{content:"\\F14BB"}.mdi-alert-minus-outline::before{content:"\\F14BE"}.mdi-alert-octagon::before{content:"\\F0029"}.mdi-alert-octagon-outline::before{content:"\\F0CE6"}.mdi-alert-octagram::before{content:"\\F0767"}.mdi-alert-octagram-outline::before{content:"\\F0CE7"}.mdi-alert-outline::before{content:"\\F002A"}.mdi-alert-plus::before{content:"\\F14BA"}.mdi-alert-plus-outline::before{content:"\\F14BD"}.mdi-alert-remove::before{content:"\\F14BC"}.mdi-alert-remove-outline::before{content:"\\F14BF"}.mdi-alert-rhombus::before{content:"\\F11CE"}.mdi-alert-rhombus-outline::before{content:"\\F11CF"}.mdi-alien::before{content:"\\F089A"}.mdi-alien-outline::before{content:"\\F10CB"}.mdi-align-horizontal-center::before{content:"\\F11C3"}.mdi-align-horizontal-left::before{content:"\\F11C2"}.mdi-align-horizontal-right::before{content:"\\F11C4"}.mdi-align-vertical-bottom::before{content:"\\F11C5"}.mdi-align-vertical-center::before{content:"\\F11C6"}.mdi-align-vertical-top::before{content:"\\F11C7"}.mdi-all-inclusive::before{content:"\\F06BE"}.mdi-allergy::before{content:"\\F1258"}.mdi-alpha::before{content:"\\F002B"}.mdi-alpha-a::before{content:"\\F0AEE"}.mdi-alpha-a-box::before{content:"\\F0B08"}.mdi-alpha-a-box-outline::before{content:"\\F0BEB"}.mdi-alpha-a-circle::before{content:"\\F0BEC"}.mdi-alpha-a-circle-outline::before{content:"\\F0BED"}.mdi-alpha-b::before{content:"\\F0AEF"}.mdi-alpha-b-box::before{content:"\\F0B09"}.mdi-alpha-b-box-outline::before{content:"\\F0BEE"}.mdi-alpha-b-circle::before{content:"\\F0BEF"}.mdi-alpha-b-circle-outline::before{content:"\\F0BF0"}.mdi-alpha-c::before{content:"\\F0AF0"}.mdi-alpha-c-box::before{content:"\\F0B0A"}.mdi-alpha-c-box-outline::before{content:"\\F0BF1"}.mdi-alpha-c-circle::before{content:"\\F0BF2"}.mdi-alpha-c-circle-outline::before{content:"\\F0BF3"}.mdi-alpha-d::before{content:"\\F0AF1"}.mdi-alpha-d-box::before{content:"\\F0B0B"}.mdi-alpha-d-box-outline::before{content:"\\F0BF4"}.mdi-alpha-d-circle::before{content:"\\F0BF5"}.mdi-alpha-d-circle-outline::before{content:"\\F0BF6"}.mdi-alpha-e::before{content:"\\F0AF2"}.mdi-alpha-e-box::before{content:"\\F0B0C"}.mdi-alpha-e-box-outline::before{content:"\\F0BF7"}.mdi-alpha-e-circle::before{content:"\\F0BF8"}.mdi-alpha-e-circle-outline::before{content:"\\F0BF9"}.mdi-alpha-f::before{content:"\\F0AF3"}.mdi-alpha-f-box::before{content:"\\F0B0D"}.mdi-alpha-f-box-outline::before{content:"\\F0BFA"}.mdi-alpha-f-circle::before{content:"\\F0BFB"}.mdi-alpha-f-circle-outline::before{content:"\\F0BFC"}.mdi-alpha-g::before{content:"\\F0AF4"}.mdi-alpha-g-box::before{content:"\\F0B0E"}.mdi-alpha-g-box-outline::before{content:"\\F0BFD"}.mdi-alpha-g-circle::before{content:"\\F0BFE"}.mdi-alpha-g-circle-outline::before{content:"\\F0BFF"}.mdi-alpha-h::before{content:"\\F0AF5"}.mdi-alpha-h-box::before{content:"\\F0B0F"}.mdi-alpha-h-box-outline::before{content:"\\F0C00"}.mdi-alpha-h-circle::before{content:"\\F0C01"}.mdi-alpha-h-circle-outline::before{content:"\\F0C02"}.mdi-alpha-i::before{content:"\\F0AF6"}.mdi-alpha-i-box::before{content:"\\F0B10"}.mdi-alpha-i-box-outline::before{content:"\\F0C03"}.mdi-alpha-i-circle::before{content:"\\F0C04"}.mdi-alpha-i-circle-outline::before{content:"\\F0C05"}.mdi-alpha-j::before{content:"\\F0AF7"}.mdi-alpha-j-box::before{content:"\\F0B11"}.mdi-alpha-j-box-outline::before{content:"\\F0C06"}.mdi-alpha-j-circle::before{content:"\\F0C07"}.mdi-alpha-j-circle-outline::before{content:"\\F0C08"}.mdi-alpha-k::before{content:"\\F0AF8"}.mdi-alpha-k-box::before{content:"\\F0B12"}.mdi-alpha-k-box-outline::before{content:"\\F0C09"}.mdi-alpha-k-circle::before{content:"\\F0C0A"}.mdi-alpha-k-circle-outline::before{content:"\\F0C0B"}.mdi-alpha-l::before{content:"\\F0AF9"}.mdi-alpha-l-box::before{content:"\\F0B13"}.mdi-alpha-l-box-outline::before{content:"\\F0C0C"}.mdi-alpha-l-circle::before{content:"\\F0C0D"}.mdi-alpha-l-circle-outline::before{content:"\\F0C0E"}.mdi-alpha-m::before{content:"\\F0AFA"}.mdi-alpha-m-box::before{content:"\\F0B14"}.mdi-alpha-m-box-outline::before{content:"\\F0C0F"}.mdi-alpha-m-circle::before{content:"\\F0C10"}.mdi-alpha-m-circle-outline::before{content:"\\F0C11"}.mdi-alpha-n::before{content:"\\F0AFB"}.mdi-alpha-n-box::before{content:"\\F0B15"}.mdi-alpha-n-box-outline::before{content:"\\F0C12"}.mdi-alpha-n-circle::before{content:"\\F0C13"}.mdi-alpha-n-circle-outline::before{content:"\\F0C14"}.mdi-alpha-o::before{content:"\\F0AFC"}.mdi-alpha-o-box::before{content:"\\F0B16"}.mdi-alpha-o-box-outline::before{content:"\\F0C15"}.mdi-alpha-o-circle::before{content:"\\F0C16"}.mdi-alpha-o-circle-outline::before{content:"\\F0C17"}.mdi-alpha-p::before{content:"\\F0AFD"}.mdi-alpha-p-box::before{content:"\\F0B17"}.mdi-alpha-p-box-outline::before{content:"\\F0C18"}.mdi-alpha-p-circle::before{content:"\\F0C19"}.mdi-alpha-p-circle-outline::before{content:"\\F0C1A"}.mdi-alpha-q::before{content:"\\F0AFE"}.mdi-alpha-q-box::before{content:"\\F0B18"}.mdi-alpha-q-box-outline::before{content:"\\F0C1B"}.mdi-alpha-q-circle::before{content:"\\F0C1C"}.mdi-alpha-q-circle-outline::before{content:"\\F0C1D"}.mdi-alpha-r::before{content:"\\F0AFF"}.mdi-alpha-r-box::before{content:"\\F0B19"}.mdi-alpha-r-box-outline::before{content:"\\F0C1E"}.mdi-alpha-r-circle::before{content:"\\F0C1F"}.mdi-alpha-r-circle-outline::before{content:"\\F0C20"}.mdi-alpha-s::before{content:"\\F0B00"}.mdi-alpha-s-box::before{content:"\\F0B1A"}.mdi-alpha-s-box-outline::before{content:"\\F0C21"}.mdi-alpha-s-circle::before{content:"\\F0C22"}.mdi-alpha-s-circle-outline::before{content:"\\F0C23"}.mdi-alpha-t::before{content:"\\F0B01"}.mdi-alpha-t-box::before{content:"\\F0B1B"}.mdi-alpha-t-box-outline::before{content:"\\F0C24"}.mdi-alpha-t-circle::before{content:"\\F0C25"}.mdi-alpha-t-circle-outline::before{content:"\\F0C26"}.mdi-alpha-u::before{content:"\\F0B02"}.mdi-alpha-u-box::before{content:"\\F0B1C"}.mdi-alpha-u-box-outline::before{content:"\\F0C27"}.mdi-alpha-u-circle::before{content:"\\F0C28"}.mdi-alpha-u-circle-outline::before{content:"\\F0C29"}.mdi-alpha-v::before{content:"\\F0B03"}.mdi-alpha-v-box::before{content:"\\F0B1D"}.mdi-alpha-v-box-outline::before{content:"\\F0C2A"}.mdi-alpha-v-circle::before{content:"\\F0C2B"}.mdi-alpha-v-circle-outline::before{content:"\\F0C2C"}.mdi-alpha-w::before{content:"\\F0B04"}.mdi-alpha-w-box::before{content:"\\F0B1E"}.mdi-alpha-w-box-outline::before{content:"\\F0C2D"}.mdi-alpha-w-circle::before{content:"\\F0C2E"}.mdi-alpha-w-circle-outline::before{content:"\\F0C2F"}.mdi-alpha-x::before{content:"\\F0B05"}.mdi-alpha-x-box::before{content:"\\F0B1F"}.mdi-alpha-x-box-outline::before{content:"\\F0C30"}.mdi-alpha-x-circle::before{content:"\\F0C31"}.mdi-alpha-x-circle-outline::before{content:"\\F0C32"}.mdi-alpha-y::before{content:"\\F0B06"}.mdi-alpha-y-box::before{content:"\\F0B20"}.mdi-alpha-y-box-outline::before{content:"\\F0C33"}.mdi-alpha-y-circle::before{content:"\\F0C34"}.mdi-alpha-y-circle-outline::before{content:"\\F0C35"}.mdi-alpha-z::before{content:"\\F0B07"}.mdi-alpha-z-box::before{content:"\\F0B21"}.mdi-alpha-z-box-outline::before{content:"\\F0C36"}.mdi-alpha-z-circle::before{content:"\\F0C37"}.mdi-alpha-z-circle-outline::before{content:"\\F0C38"}.mdi-alphabet-aurebesh::before{content:"\\F132C"}.mdi-alphabet-cyrillic::before{content:"\\F132D"}.mdi-alphabet-greek::before{content:"\\F132E"}.mdi-alphabet-latin::before{content:"\\F132F"}.mdi-alphabet-piqad::before{content:"\\F1330"}.mdi-alphabet-tengwar::before{content:"\\F1337"}.mdi-alphabetical::before{content:"\\F002C"}.mdi-alphabetical-off::before{content:"\\F100C"}.mdi-alphabetical-variant::before{content:"\\F100D"}.mdi-alphabetical-variant-off::before{content:"\\F100E"}.mdi-altimeter::before{content:"\\F05D7"}.mdi-amazon::before{content:"\\F002D"}.mdi-amazon-alexa::before{content:"\\F08C6"}.mdi-ambulance::before{content:"\\F002F"}.mdi-ammunition::before{content:"\\F0CE8"}.mdi-ampersand::before{content:"\\F0A8D"}.mdi-amplifier::before{content:"\\F0030"}.mdi-amplifier-off::before{content:"\\F11B5"}.mdi-anchor::before{content:"\\F0031"}.mdi-android::before{content:"\\F0032"}.mdi-android-auto::before{content:"\\F0A8E"}.mdi-android-debug-bridge::before{content:"\\F0033"}.mdi-android-messages::before{content:"\\F0D45"}.mdi-android-studio::before{content:"\\F0034"}.mdi-angle-acute::before{content:"\\F0937"}.mdi-angle-obtuse::before{content:"\\F0938"}.mdi-angle-right::before{content:"\\F0939"}.mdi-angular::before{content:"\\F06B2"}.mdi-angularjs::before{content:"\\F06BF"}.mdi-animation::before{content:"\\F05D8"}.mdi-animation-outline::before{content:"\\F0A8F"}.mdi-animation-play::before{content:"\\F093A"}.mdi-animation-play-outline::before{content:"\\F0A90"}.mdi-ansible::before{content:"\\F109A"}.mdi-antenna::before{content:"\\F1119"}.mdi-anvil::before{content:"\\F089B"}.mdi-apache-kafka::before{content:"\\F100F"}.mdi-api::before{content:"\\F109B"}.mdi-api-off::before{content:"\\F1257"}.mdi-apple::before{content:"\\F0035"}.mdi-apple-airplay::before{content:"\\F001F"}.mdi-apple-finder::before{content:"\\F0036"}.mdi-apple-icloud::before{content:"\\F0038"}.mdi-apple-ios::before{content:"\\F0037"}.mdi-apple-keyboard-caps::before{content:"\\F0632"}.mdi-apple-keyboard-command::before{content:"\\F0633"}.mdi-apple-keyboard-control::before{content:"\\F0634"}.mdi-apple-keyboard-option::before{content:"\\F0635"}.mdi-apple-keyboard-shift::before{content:"\\F0636"}.mdi-apple-safari::before{content:"\\F0039"}.mdi-application::before{content:"\\F0614"}.mdi-application-export::before{content:"\\F0DAD"}.mdi-application-import::before{content:"\\F0DAE"}.mdi-approximately-equal::before{content:"\\F0F9E"}.mdi-approximately-equal-box::before{content:"\\F0F9F"}.mdi-apps::before{content:"\\F003B"}.mdi-apps-box::before{content:"\\F0D46"}.mdi-arch::before{content:"\\F08C7"}.mdi-archive::before{content:"\\F003C"}.mdi-archive-arrow-down::before{content:"\\F1259"}.mdi-archive-arrow-down-outline::before{content:"\\F125A"}.mdi-archive-arrow-up::before{content:"\\F125B"}.mdi-archive-arrow-up-outline::before{content:"\\F125C"}.mdi-archive-outline::before{content:"\\F120E"}.mdi-arm-flex::before{content:"\\F0FD7"}.mdi-arm-flex-outline::before{content:"\\F0FD6"}.mdi-arrange-bring-forward::before{content:"\\F003D"}.mdi-arrange-bring-to-front::before{content:"\\F003E"}.mdi-arrange-send-backward::before{content:"\\F003F"}.mdi-arrange-send-to-back::before{content:"\\F0040"}.mdi-arrow-all::before{content:"\\F0041"}.mdi-arrow-bottom-left::before{content:"\\F0042"}.mdi-arrow-bottom-left-bold-outline::before{content:"\\F09B7"}.mdi-arrow-bottom-left-thick::before{content:"\\F09B8"}.mdi-arrow-bottom-right::before{content:"\\F0043"}.mdi-arrow-bottom-right-bold-outline::before{content:"\\F09B9"}.mdi-arrow-bottom-right-thick::before{content:"\\F09BA"}.mdi-arrow-collapse::before{content:"\\F0615"}.mdi-arrow-collapse-all::before{content:"\\F0044"}.mdi-arrow-collapse-down::before{content:"\\F0792"}.mdi-arrow-collapse-horizontal::before{content:"\\F084C"}.mdi-arrow-collapse-left::before{content:"\\F0793"}.mdi-arrow-collapse-right::before{content:"\\F0794"}.mdi-arrow-collapse-up::before{content:"\\F0795"}.mdi-arrow-collapse-vertical::before{content:"\\F084D"}.mdi-arrow-decision::before{content:"\\F09BB"}.mdi-arrow-decision-auto::before{content:"\\F09BC"}.mdi-arrow-decision-auto-outline::before{content:"\\F09BD"}.mdi-arrow-decision-outline::before{content:"\\F09BE"}.mdi-arrow-down::before{content:"\\F0045"}.mdi-arrow-down-bold::before{content:"\\F072E"}.mdi-arrow-down-bold-box::before{content:"\\F072F"}.mdi-arrow-down-bold-box-outline::before{content:"\\F0730"}.mdi-arrow-down-bold-circle::before{content:"\\F0047"}.mdi-arrow-down-bold-circle-outline::before{content:"\\F0048"}.mdi-arrow-down-bold-hexagon-outline::before{content:"\\F0049"}.mdi-arrow-down-bold-outline::before{content:"\\F09BF"}.mdi-arrow-down-box::before{content:"\\F06C0"}.mdi-arrow-down-circle::before{content:"\\F0CDB"}.mdi-arrow-down-circle-outline::before{content:"\\F0CDC"}.mdi-arrow-down-drop-circle::before{content:"\\F004A"}.mdi-arrow-down-drop-circle-outline::before{content:"\\F004B"}.mdi-arrow-down-thick::before{content:"\\F0046"}.mdi-arrow-expand::before{content:"\\F0616"}.mdi-arrow-expand-all::before{content:"\\F004C"}.mdi-arrow-expand-down::before{content:"\\F0796"}.mdi-arrow-expand-horizontal::before{content:"\\F084E"}.mdi-arrow-expand-left::before{content:"\\F0797"}.mdi-arrow-expand-right::before{content:"\\F0798"}.mdi-arrow-expand-up::before{content:"\\F0799"}.mdi-arrow-expand-vertical::before{content:"\\F084F"}.mdi-arrow-horizontal-lock::before{content:"\\F115B"}.mdi-arrow-left::before{content:"\\F004D"}.mdi-arrow-left-bold::before{content:"\\F0731"}.mdi-arrow-left-bold-box::before{content:"\\F0732"}.mdi-arrow-left-bold-box-outline::before{content:"\\F0733"}.mdi-arrow-left-bold-circle::before{content:"\\F004F"}.mdi-arrow-left-bold-circle-outline::before{content:"\\F0050"}.mdi-arrow-left-bold-hexagon-outline::before{content:"\\F0051"}.mdi-arrow-left-bold-outline::before{content:"\\F09C0"}.mdi-arrow-left-box::before{content:"\\F06C1"}.mdi-arrow-left-circle::before{content:"\\F0CDD"}.mdi-arrow-left-circle-outline::before{content:"\\F0CDE"}.mdi-arrow-left-drop-circle::before{content:"\\F0052"}.mdi-arrow-left-drop-circle-outline::before{content:"\\F0053"}.mdi-arrow-left-right::before{content:"\\F0E73"}.mdi-arrow-left-right-bold::before{content:"\\F0E74"}.mdi-arrow-left-right-bold-outline::before{content:"\\F09C1"}.mdi-arrow-left-thick::before{content:"\\F004E"}.mdi-arrow-right::before{content:"\\F0054"}.mdi-arrow-right-bold::before{content:"\\F0734"}.mdi-arrow-right-bold-box::before{content:"\\F0735"}.mdi-arrow-right-bold-box-outline::before{content:"\\F0736"}.mdi-arrow-right-bold-circle::before{content:"\\F0056"}.mdi-arrow-right-bold-circle-outline::before{content:"\\F0057"}.mdi-arrow-right-bold-hexagon-outline::before{content:"\\F0058"}.mdi-arrow-right-bold-outline::before{content:"\\F09C2"}.mdi-arrow-right-box::before{content:"\\F06C2"}.mdi-arrow-right-circle::before{content:"\\F0CDF"}.mdi-arrow-right-circle-outline::before{content:"\\F0CE0"}.mdi-arrow-right-drop-circle::before{content:"\\F0059"}.mdi-arrow-right-drop-circle-outline::before{content:"\\F005A"}.mdi-arrow-right-thick::before{content:"\\F0055"}.mdi-arrow-split-horizontal::before{content:"\\F093B"}.mdi-arrow-split-vertical::before{content:"\\F093C"}.mdi-arrow-top-left::before{content:"\\F005B"}.mdi-arrow-top-left-bold-outline::before{content:"\\F09C3"}.mdi-arrow-top-left-bottom-right::before{content:"\\F0E75"}.mdi-arrow-top-left-bottom-right-bold::before{content:"\\F0E76"}.mdi-arrow-top-left-thick::before{content:"\\F09C4"}.mdi-arrow-top-right::before{content:"\\F005C"}.mdi-arrow-top-right-bold-outline::before{content:"\\F09C5"}.mdi-arrow-top-right-bottom-left::before{content:"\\F0E77"}.mdi-arrow-top-right-bottom-left-bold::before{content:"\\F0E78"}.mdi-arrow-top-right-thick::before{content:"\\F09C6"}.mdi-arrow-up::before{content:"\\F005D"}.mdi-arrow-up-bold::before{content:"\\F0737"}.mdi-arrow-up-bold-box::before{content:"\\F0738"}.mdi-arrow-up-bold-box-outline::before{content:"\\F0739"}.mdi-arrow-up-bold-circle::before{content:"\\F005F"}.mdi-arrow-up-bold-circle-outline::before{content:"\\F0060"}.mdi-arrow-up-bold-hexagon-outline::before{content:"\\F0061"}.mdi-arrow-up-bold-outline::before{content:"\\F09C7"}.mdi-arrow-up-box::before{content:"\\F06C3"}.mdi-arrow-up-circle::before{content:"\\F0CE1"}.mdi-arrow-up-circle-outline::before{content:"\\F0CE2"}.mdi-arrow-up-down::before{content:"\\F0E79"}.mdi-arrow-up-down-bold::before{content:"\\F0E7A"}.mdi-arrow-up-down-bold-outline::before{content:"\\F09C8"}.mdi-arrow-up-drop-circle::before{content:"\\F0062"}.mdi-arrow-up-drop-circle-outline::before{content:"\\F0063"}.mdi-arrow-up-thick::before{content:"\\F005E"}.mdi-arrow-vertical-lock::before{content:"\\F115C"}.mdi-artstation::before{content:"\\F0B5B"}.mdi-aspect-ratio::before{content:"\\F0A24"}.mdi-assistant::before{content:"\\F0064"}.mdi-asterisk::before{content:"\\F06C4"}.mdi-at::before{content:"\\F0065"}.mdi-atlassian::before{content:"\\F0804"}.mdi-atm::before{content:"\\F0D47"}.mdi-atom::before{content:"\\F0768"}.mdi-atom-variant::before{content:"\\F0E7B"}.mdi-attachment::before{content:"\\F0066"}.mdi-audio-video::before{content:"\\F093D"}.mdi-audio-video-off::before{content:"\\F11B6"}.mdi-augmented-reality::before{content:"\\F0850"}.mdi-auto-download::before{content:"\\F137E"}.mdi-auto-fix::before{content:"\\F0068"}.mdi-auto-upload::before{content:"\\F0069"}.mdi-autorenew::before{content:"\\F006A"}.mdi-av-timer::before{content:"\\F006B"}.mdi-aws::before{content:"\\F0E0F"}.mdi-axe::before{content:"\\F08C8"}.mdi-axis::before{content:"\\F0D48"}.mdi-axis-arrow::before{content:"\\F0D49"}.mdi-axis-arrow-info::before{content:"\\F140E"}.mdi-axis-arrow-lock::before{content:"\\F0D4A"}.mdi-axis-lock::before{content:"\\F0D4B"}.mdi-axis-x-arrow::before{content:"\\F0D4C"}.mdi-axis-x-arrow-lock::before{content:"\\F0D4D"}.mdi-axis-x-rotate-clockwise::before{content:"\\F0D4E"}.mdi-axis-x-rotate-counterclockwise::before{content:"\\F0D4F"}.mdi-axis-x-y-arrow-lock::before{content:"\\F0D50"}.mdi-axis-y-arrow::before{content:"\\F0D51"}.mdi-axis-y-arrow-lock::before{content:"\\F0D52"}.mdi-axis-y-rotate-clockwise::before{content:"\\F0D53"}.mdi-axis-y-rotate-counterclockwise::before{content:"\\F0D54"}.mdi-axis-z-arrow::before{content:"\\F0D55"}.mdi-axis-z-arrow-lock::before{content:"\\F0D56"}.mdi-axis-z-rotate-clockwise::before{content:"\\F0D57"}.mdi-axis-z-rotate-counterclockwise::before{content:"\\F0D58"}.mdi-babel::before{content:"\\F0A25"}.mdi-baby::before{content:"\\F006C"}.mdi-baby-bottle::before{content:"\\F0F39"}.mdi-baby-bottle-outline::before{content:"\\F0F3A"}.mdi-baby-buggy::before{content:"\\F13E0"}.mdi-baby-carriage::before{content:"\\F068F"}.mdi-baby-carriage-off::before{content:"\\F0FA0"}.mdi-baby-face::before{content:"\\F0E7C"}.mdi-baby-face-outline::before{content:"\\F0E7D"}.mdi-backburger::before{content:"\\F006D"}.mdi-backspace::before{content:"\\F006E"}.mdi-backspace-outline::before{content:"\\F0B5C"}.mdi-backspace-reverse::before{content:"\\F0E7E"}.mdi-backspace-reverse-outline::before{content:"\\F0E7F"}.mdi-backup-restore::before{content:"\\F006F"}.mdi-bacteria::before{content:"\\F0ED5"}.mdi-bacteria-outline::before{content:"\\F0ED6"}.mdi-badge-account::before{content:"\\F0DA7"}.mdi-badge-account-alert::before{content:"\\F0DA8"}.mdi-badge-account-alert-outline::before{content:"\\F0DA9"}.mdi-badge-account-horizontal::before{content:"\\F0E0D"}.mdi-badge-account-horizontal-outline::before{content:"\\F0E0E"}.mdi-badge-account-outline::before{content:"\\F0DAA"}.mdi-badminton::before{content:"\\F0851"}.mdi-bag-carry-on::before{content:"\\F0F3B"}.mdi-bag-carry-on-check::before{content:"\\F0D65"}.mdi-bag-carry-on-off::before{content:"\\F0F3C"}.mdi-bag-checked::before{content:"\\F0F3D"}.mdi-bag-personal::before{content:"\\F0E10"}.mdi-bag-personal-off::before{content:"\\F0E11"}.mdi-bag-personal-off-outline::before{content:"\\F0E12"}.mdi-bag-personal-outline::before{content:"\\F0E13"}.mdi-baguette::before{content:"\\F0F3E"}.mdi-balloon::before{content:"\\F0A26"}.mdi-ballot::before{content:"\\F09C9"}.mdi-ballot-outline::before{content:"\\F09CA"}.mdi-ballot-recount::before{content:"\\F0C39"}.mdi-ballot-recount-outline::before{content:"\\F0C3A"}.mdi-bandage::before{content:"\\F0DAF"}.mdi-bandcamp::before{content:"\\F0675"}.mdi-bank::before{content:"\\F0070"}.mdi-bank-minus::before{content:"\\F0DB0"}.mdi-bank-outline::before{content:"\\F0E80"}.mdi-bank-plus::before{content:"\\F0DB1"}.mdi-bank-remove::before{content:"\\F0DB2"}.mdi-bank-transfer::before{content:"\\F0A27"}.mdi-bank-transfer-in::before{content:"\\F0A28"}.mdi-bank-transfer-out::before{content:"\\F0A29"}.mdi-barcode::before{content:"\\F0071"}.mdi-barcode-off::before{content:"\\F1236"}.mdi-barcode-scan::before{content:"\\F0072"}.mdi-barley::before{content:"\\F0073"}.mdi-barley-off::before{content:"\\F0B5D"}.mdi-barn::before{content:"\\F0B5E"}.mdi-barrel::before{content:"\\F0074"}.mdi-baseball::before{content:"\\F0852"}.mdi-baseball-bat::before{content:"\\F0853"}.mdi-bash::before{content:"\\F1183"}.mdi-basket::before{content:"\\F0076"}.mdi-basket-fill::before{content:"\\F0077"}.mdi-basket-outline::before{content:"\\F1181"}.mdi-basket-unfill::before{content:"\\F0078"}.mdi-basketball::before{content:"\\F0806"}.mdi-basketball-hoop::before{content:"\\F0C3B"}.mdi-basketball-hoop-outline::before{content:"\\F0C3C"}.mdi-bat::before{content:"\\F0B5F"}.mdi-battery::before{content:"\\F0079"}.mdi-battery-10::before{content:"\\F007A"}.mdi-battery-10-bluetooth::before{content:"\\F093E"}.mdi-battery-20::before{content:"\\F007B"}.mdi-battery-20-bluetooth::before{content:"\\F093F"}.mdi-battery-30::before{content:"\\F007C"}.mdi-battery-30-bluetooth::before{content:"\\F0940"}.mdi-battery-40::before{content:"\\F007D"}.mdi-battery-40-bluetooth::before{content:"\\F0941"}.mdi-battery-50::before{content:"\\F007E"}.mdi-battery-50-bluetooth::before{content:"\\F0942"}.mdi-battery-60::before{content:"\\F007F"}.mdi-battery-60-bluetooth::before{content:"\\F0943"}.mdi-battery-70::before{content:"\\F0080"}.mdi-battery-70-bluetooth::before{content:"\\F0944"}.mdi-battery-80::before{content:"\\F0081"}.mdi-battery-80-bluetooth::before{content:"\\F0945"}.mdi-battery-90::before{content:"\\F0082"}.mdi-battery-90-bluetooth::before{content:"\\F0946"}.mdi-battery-alert::before{content:"\\F0083"}.mdi-battery-alert-bluetooth::before{content:"\\F0947"}.mdi-battery-alert-variant::before{content:"\\F10CC"}.mdi-battery-alert-variant-outline::before{content:"\\F10CD"}.mdi-battery-bluetooth::before{content:"\\F0948"}.mdi-battery-bluetooth-variant::before{content:"\\F0949"}.mdi-battery-charging::before{content:"\\F0084"}.mdi-battery-charging-10::before{content:"\\F089C"}.mdi-battery-charging-100::before{content:"\\F0085"}.mdi-battery-charging-20::before{content:"\\F0086"}.mdi-battery-charging-30::before{content:"\\F0087"}.mdi-battery-charging-40::before{content:"\\F0088"}.mdi-battery-charging-50::before{content:"\\F089D"}.mdi-battery-charging-60::before{content:"\\F0089"}.mdi-battery-charging-70::before{content:"\\F089E"}.mdi-battery-charging-80::before{content:"\\F008A"}.mdi-battery-charging-90::before{content:"\\F008B"}.mdi-battery-charging-high::before{content:"\\F12A6"}.mdi-battery-charging-low::before{content:"\\F12A4"}.mdi-battery-charging-medium::before{content:"\\F12A5"}.mdi-battery-charging-outline::before{content:"\\F089F"}.mdi-battery-charging-wireless::before{content:"\\F0807"}.mdi-battery-charging-wireless-10::before{content:"\\F0808"}.mdi-battery-charging-wireless-20::before{content:"\\F0809"}.mdi-battery-charging-wireless-30::before{content:"\\F080A"}.mdi-battery-charging-wireless-40::before{content:"\\F080B"}.mdi-battery-charging-wireless-50::before{content:"\\F080C"}.mdi-battery-charging-wireless-60::before{content:"\\F080D"}.mdi-battery-charging-wireless-70::before{content:"\\F080E"}.mdi-battery-charging-wireless-80::before{content:"\\F080F"}.mdi-battery-charging-wireless-90::before{content:"\\F0810"}.mdi-battery-charging-wireless-alert::before{content:"\\F0811"}.mdi-battery-charging-wireless-outline::before{content:"\\F0812"}.mdi-battery-heart::before{content:"\\F120F"}.mdi-battery-heart-outline::before{content:"\\F1210"}.mdi-battery-heart-variant::before{content:"\\F1211"}.mdi-battery-high::before{content:"\\F12A3"}.mdi-battery-low::before{content:"\\F12A1"}.mdi-battery-medium::before{content:"\\F12A2"}.mdi-battery-minus::before{content:"\\F008C"}.mdi-battery-negative::before{content:"\\F008D"}.mdi-battery-off::before{content:"\\F125D"}.mdi-battery-off-outline::before{content:"\\F125E"}.mdi-battery-outline::before{content:"\\F008E"}.mdi-battery-plus::before{content:"\\F008F"}.mdi-battery-positive::before{content:"\\F0090"}.mdi-battery-unknown::before{content:"\\F0091"}.mdi-battery-unknown-bluetooth::before{content:"\\F094A"}.mdi-battlenet::before{content:"\\F0B60"}.mdi-beach::before{content:"\\F0092"}.mdi-beaker::before{content:"\\F0CEA"}.mdi-beaker-alert::before{content:"\\F1229"}.mdi-beaker-alert-outline::before{content:"\\F122A"}.mdi-beaker-check::before{content:"\\F122B"}.mdi-beaker-check-outline::before{content:"\\F122C"}.mdi-beaker-minus::before{content:"\\F122D"}.mdi-beaker-minus-outline::before{content:"\\F122E"}.mdi-beaker-outline::before{content:"\\F0690"}.mdi-beaker-plus::before{content:"\\F122F"}.mdi-beaker-plus-outline::before{content:"\\F1230"}.mdi-beaker-question::before{content:"\\F1231"}.mdi-beaker-question-outline::before{content:"\\F1232"}.mdi-beaker-remove::before{content:"\\F1233"}.mdi-beaker-remove-outline::before{content:"\\F1234"}.mdi-bed::before{content:"\\F02E3"}.mdi-bed-double::before{content:"\\F0FD4"}.mdi-bed-double-outline::before{content:"\\F0FD3"}.mdi-bed-empty::before{content:"\\F08A0"}.mdi-bed-king::before{content:"\\F0FD2"}.mdi-bed-king-outline::before{content:"\\F0FD1"}.mdi-bed-outline::before{content:"\\F0099"}.mdi-bed-queen::before{content:"\\F0FD0"}.mdi-bed-queen-outline::before{content:"\\F0FDB"}.mdi-bed-single::before{content:"\\F106D"}.mdi-bed-single-outline::before{content:"\\F106E"}.mdi-bee::before{content:"\\F0FA1"}.mdi-bee-flower::before{content:"\\F0FA2"}.mdi-beehive-off-outline::before{content:"\\F13ED"}.mdi-beehive-outline::before{content:"\\F10CE"}.mdi-beer::before{content:"\\F0098"}.mdi-beer-outline::before{content:"\\F130C"}.mdi-bell::before{content:"\\F009A"}.mdi-bell-alert::before{content:"\\F0D59"}.mdi-bell-alert-outline::before{content:"\\F0E81"}.mdi-bell-cancel::before{content:"\\F13E7"}.mdi-bell-cancel-outline::before{content:"\\F13E8"}.mdi-bell-check::before{content:"\\F11E5"}.mdi-bell-check-outline::before{content:"\\F11E6"}.mdi-bell-circle::before{content:"\\F0D5A"}.mdi-bell-circle-outline::before{content:"\\F0D5B"}.mdi-bell-minus::before{content:"\\F13E9"}.mdi-bell-minus-outline::before{content:"\\F13EA"}.mdi-bell-off::before{content:"\\F009B"}.mdi-bell-off-outline::before{content:"\\F0A91"}.mdi-bell-outline::before{content:"\\F009C"}.mdi-bell-plus::before{content:"\\F009D"}.mdi-bell-plus-outline::before{content:"\\F0A92"}.mdi-bell-remove::before{content:"\\F13EB"}.mdi-bell-remove-outline::before{content:"\\F13EC"}.mdi-bell-ring::before{content:"\\F009E"}.mdi-bell-ring-outline::before{content:"\\F009F"}.mdi-bell-sleep::before{content:"\\F00A0"}.mdi-bell-sleep-outline::before{content:"\\F0A93"}.mdi-beta::before{content:"\\F00A1"}.mdi-betamax::before{content:"\\F09CB"}.mdi-biathlon::before{content:"\\F0E14"}.mdi-bicycle::before{content:"\\F109C"}.mdi-bicycle-basket::before{content:"\\F1235"}.mdi-bike::before{content:"\\F00A3"}.mdi-bike-fast::before{content:"\\F111F"}.mdi-billboard::before{content:"\\F1010"}.mdi-billiards::before{content:"\\F0B61"}.mdi-billiards-rack::before{content:"\\F0B62"}.mdi-binoculars::before{content:"\\F00A5"}.mdi-bio::before{content:"\\F00A6"}.mdi-biohazard::before{content:"\\F00A7"}.mdi-bitbucket::before{content:"\\F00A8"}.mdi-bitcoin::before{content:"\\F0813"}.mdi-black-mesa::before{content:"\\F00A9"}.mdi-blender::before{content:"\\F0CEB"}.mdi-blender-software::before{content:"\\F00AB"}.mdi-blinds::before{content:"\\F00AC"}.mdi-blinds-open::before{content:"\\F1011"}.mdi-block-helper::before{content:"\\F00AD"}.mdi-blogger::before{content:"\\F00AE"}.mdi-blood-bag::before{content:"\\F0CEC"}.mdi-bluetooth::before{content:"\\F00AF"}.mdi-bluetooth-audio::before{content:"\\F00B0"}.mdi-bluetooth-connect::before{content:"\\F00B1"}.mdi-bluetooth-off::before{content:"\\F00B2"}.mdi-bluetooth-settings::before{content:"\\F00B3"}.mdi-bluetooth-transfer::before{content:"\\F00B4"}.mdi-blur::before{content:"\\F00B5"}.mdi-blur-linear::before{content:"\\F00B6"}.mdi-blur-off::before{content:"\\F00B7"}.mdi-blur-radial::before{content:"\\F00B8"}.mdi-bolnisi-cross::before{content:"\\F0CED"}.mdi-bolt::before{content:"\\F0DB3"}.mdi-bomb::before{content:"\\F0691"}.mdi-bomb-off::before{content:"\\F06C5"}.mdi-bone::before{content:"\\F00B9"}.mdi-book::before{content:"\\F00BA"}.mdi-book-account::before{content:"\\F13AD"}.mdi-book-account-outline::before{content:"\\F13AE"}.mdi-book-alphabet::before{content:"\\F061D"}.mdi-book-cross::before{content:"\\F00A2"}.mdi-book-information-variant::before{content:"\\F106F"}.mdi-book-lock::before{content:"\\F079A"}.mdi-book-lock-open::before{content:"\\F079B"}.mdi-book-minus::before{content:"\\F05D9"}.mdi-book-minus-multiple::before{content:"\\F0A94"}.mdi-book-minus-multiple-outline::before{content:"\\F090B"}.mdi-book-multiple::before{content:"\\F00BB"}.mdi-book-multiple-outline::before{content:"\\F0436"}.mdi-book-music::before{content:"\\F0067"}.mdi-book-open::before{content:"\\F00BD"}.mdi-book-open-outline::before{content:"\\F0B63"}.mdi-book-open-page-variant::before{content:"\\F05DA"}.mdi-book-open-variant::before{content:"\\F00BE"}.mdi-book-outline::before{content:"\\F0B64"}.mdi-book-play::before{content:"\\F0E82"}.mdi-book-play-outline::before{content:"\\F0E83"}.mdi-book-plus::before{content:"\\F05DB"}.mdi-book-plus-multiple::before{content:"\\F0A95"}.mdi-book-plus-multiple-outline::before{content:"\\F0ADE"}.mdi-book-remove::before{content:"\\F0A97"}.mdi-book-remove-multiple::before{content:"\\F0A96"}.mdi-book-remove-multiple-outline::before{content:"\\F04CA"}.mdi-book-search::before{content:"\\F0E84"}.mdi-book-search-outline::before{content:"\\F0E85"}.mdi-book-variant::before{content:"\\F00BF"}.mdi-book-variant-multiple::before{content:"\\F00BC"}.mdi-bookmark::before{content:"\\F00C0"}.mdi-bookmark-check::before{content:"\\F00C1"}.mdi-bookmark-check-outline::before{content:"\\F137B"}.mdi-bookmark-minus::before{content:"\\F09CC"}.mdi-bookmark-minus-outline::before{content:"\\F09CD"}.mdi-bookmark-multiple::before{content:"\\F0E15"}.mdi-bookmark-multiple-outline::before{content:"\\F0E16"}.mdi-bookmark-music::before{content:"\\F00C2"}.mdi-bookmark-music-outline::before{content:"\\F1379"}.mdi-bookmark-off::before{content:"\\F09CE"}.mdi-bookmark-off-outline::before{content:"\\F09CF"}.mdi-bookmark-outline::before{content:"\\F00C3"}.mdi-bookmark-plus::before{content:"\\F00C5"}.mdi-bookmark-plus-outline::before{content:"\\F00C4"}.mdi-bookmark-remove::before{content:"\\F00C6"}.mdi-bookmark-remove-outline::before{content:"\\F137A"}.mdi-bookshelf::before{content:"\\F125F"}.mdi-boom-gate::before{content:"\\F0E86"}.mdi-boom-gate-alert::before{content:"\\F0E87"}.mdi-boom-gate-alert-outline::before{content:"\\F0E88"}.mdi-boom-gate-down::before{content:"\\F0E89"}.mdi-boom-gate-down-outline::before{content:"\\F0E8A"}.mdi-boom-gate-outline::before{content:"\\F0E8B"}.mdi-boom-gate-up::before{content:"\\F0E8C"}.mdi-boom-gate-up-outline::before{content:"\\F0E8D"}.mdi-boombox::before{content:"\\F05DC"}.mdi-boomerang::before{content:"\\F10CF"}.mdi-bootstrap::before{content:"\\F06C6"}.mdi-border-all::before{content:"\\F00C7"}.mdi-border-all-variant::before{content:"\\F08A1"}.mdi-border-bottom::before{content:"\\F00C8"}.mdi-border-bottom-variant::before{content:"\\F08A2"}.mdi-border-color::before{content:"\\F00C9"}.mdi-border-horizontal::before{content:"\\F00CA"}.mdi-border-inside::before{content:"\\F00CB"}.mdi-border-left::before{content:"\\F00CC"}.mdi-border-left-variant::before{content:"\\F08A3"}.mdi-border-none::before{content:"\\F00CD"}.mdi-border-none-variant::before{content:"\\F08A4"}.mdi-border-outside::before{content:"\\F00CE"}.mdi-border-right::before{content:"\\F00CF"}.mdi-border-right-variant::before{content:"\\F08A5"}.mdi-border-style::before{content:"\\F00D0"}.mdi-border-top::before{content:"\\F00D1"}.mdi-border-top-variant::before{content:"\\F08A6"}.mdi-border-vertical::before{content:"\\F00D2"}.mdi-bottle-soda::before{content:"\\F1070"}.mdi-bottle-soda-classic::before{content:"\\F1071"}.mdi-bottle-soda-classic-outline::before{content:"\\F1363"}.mdi-bottle-soda-outline::before{content:"\\F1072"}.mdi-bottle-tonic::before{content:"\\F112E"}.mdi-bottle-tonic-outline::before{content:"\\F112F"}.mdi-bottle-tonic-plus::before{content:"\\F1130"}.mdi-bottle-tonic-plus-outline::before{content:"\\F1131"}.mdi-bottle-tonic-skull::before{content:"\\F1132"}.mdi-bottle-tonic-skull-outline::before{content:"\\F1133"}.mdi-bottle-wine::before{content:"\\F0854"}.mdi-bottle-wine-outline::before{content:"\\F1310"}.mdi-bow-tie::before{content:"\\F0678"}.mdi-bowl::before{content:"\\F028E"}.mdi-bowl-mix::before{content:"\\F0617"}.mdi-bowl-mix-outline::before{content:"\\F02E4"}.mdi-bowl-outline::before{content:"\\F02A9"}.mdi-bowling::before{content:"\\F00D3"}.mdi-box::before{content:"\\F00D4"}.mdi-box-cutter::before{content:"\\F00D5"}.mdi-box-cutter-off::before{content:"\\F0B4A"}.mdi-box-shadow::before{content:"\\F0637"}.mdi-boxing-glove::before{content:"\\F0B65"}.mdi-braille::before{content:"\\F09D0"}.mdi-brain::before{content:"\\F09D1"}.mdi-bread-slice::before{content:"\\F0CEE"}.mdi-bread-slice-outline::before{content:"\\F0CEF"}.mdi-bridge::before{content:"\\F0618"}.mdi-briefcase::before{content:"\\F00D6"}.mdi-briefcase-account::before{content:"\\F0CF0"}.mdi-briefcase-account-outline::before{content:"\\F0CF1"}.mdi-briefcase-check::before{content:"\\F00D7"}.mdi-briefcase-check-outline::before{content:"\\F131E"}.mdi-briefcase-clock::before{content:"\\F10D0"}.mdi-briefcase-clock-outline::before{content:"\\F10D1"}.mdi-briefcase-download::before{content:"\\F00D8"}.mdi-briefcase-download-outline::before{content:"\\F0C3D"}.mdi-briefcase-edit::before{content:"\\F0A98"}.mdi-briefcase-edit-outline::before{content:"\\F0C3E"}.mdi-briefcase-minus::before{content:"\\F0A2A"}.mdi-briefcase-minus-outline::before{content:"\\F0C3F"}.mdi-briefcase-outline::before{content:"\\F0814"}.mdi-briefcase-plus::before{content:"\\F0A2B"}.mdi-briefcase-plus-outline::before{content:"\\F0C40"}.mdi-briefcase-remove::before{content:"\\F0A2C"}.mdi-briefcase-remove-outline::before{content:"\\F0C41"}.mdi-briefcase-search::before{content:"\\F0A2D"}.mdi-briefcase-search-outline::before{content:"\\F0C42"}.mdi-briefcase-upload::before{content:"\\F00D9"}.mdi-briefcase-upload-outline::before{content:"\\F0C43"}.mdi-briefcase-variant::before{content:"\\F1494"}.mdi-briefcase-variant-outline::before{content:"\\F1495"}.mdi-brightness-1::before{content:"\\F00DA"}.mdi-brightness-2::before{content:"\\F00DB"}.mdi-brightness-3::before{content:"\\F00DC"}.mdi-brightness-4::before{content:"\\F00DD"}.mdi-brightness-5::before{content:"\\F00DE"}.mdi-brightness-6::before{content:"\\F00DF"}.mdi-brightness-7::before{content:"\\F00E0"}.mdi-brightness-auto::before{content:"\\F00E1"}.mdi-brightness-percent::before{content:"\\F0CF2"}.mdi-broom::before{content:"\\F00E2"}.mdi-brush::before{content:"\\F00E3"}.mdi-bucket::before{content:"\\F1415"}.mdi-bucket-outline::before{content:"\\F1416"}.mdi-buddhism::before{content:"\\F094B"}.mdi-buffer::before{content:"\\F0619"}.mdi-buffet::before{content:"\\F0578"}.mdi-bug::before{content:"\\F00E4"}.mdi-bug-check::before{content:"\\F0A2E"}.mdi-bug-check-outline::before{content:"\\F0A2F"}.mdi-bug-outline::before{content:"\\F0A30"}.mdi-bugle::before{content:"\\F0DB4"}.mdi-bulldozer::before{content:"\\F0B22"}.mdi-bullet::before{content:"\\F0CF3"}.mdi-bulletin-board::before{content:"\\F00E5"}.mdi-bullhorn::before{content:"\\F00E6"}.mdi-bullhorn-outline::before{content:"\\F0B23"}.mdi-bullseye::before{content:"\\F05DD"}.mdi-bullseye-arrow::before{content:"\\F08C9"}.mdi-bulma::before{content:"\\F12E7"}.mdi-bunk-bed::before{content:"\\F1302"}.mdi-bunk-bed-outline::before{content:"\\F0097"}.mdi-bus::before{content:"\\F00E7"}.mdi-bus-alert::before{content:"\\F0A99"}.mdi-bus-articulated-end::before{content:"\\F079C"}.mdi-bus-articulated-front::before{content:"\\F079D"}.mdi-bus-clock::before{content:"\\F08CA"}.mdi-bus-double-decker::before{content:"\\F079E"}.mdi-bus-marker::before{content:"\\F1212"}.mdi-bus-multiple::before{content:"\\F0F3F"}.mdi-bus-school::before{content:"\\F079F"}.mdi-bus-side::before{content:"\\F07A0"}.mdi-bus-stop::before{content:"\\F1012"}.mdi-bus-stop-covered::before{content:"\\F1013"}.mdi-bus-stop-uncovered::before{content:"\\F1014"}.mdi-cable-data::before{content:"\\F1394"}.mdi-cached::before{content:"\\F00E8"}.mdi-cactus::before{content:"\\F0DB5"}.mdi-cake::before{content:"\\F00E9"}.mdi-cake-layered::before{content:"\\F00EA"}.mdi-cake-variant::before{content:"\\F00EB"}.mdi-calculator::before{content:"\\F00EC"}.mdi-calculator-variant::before{content:"\\F0A9A"}.mdi-calendar::before{content:"\\F00ED"}.mdi-calendar-account::before{content:"\\F0ED7"}.mdi-calendar-account-outline::before{content:"\\F0ED8"}.mdi-calendar-alert::before{content:"\\F0A31"}.mdi-calendar-arrow-left::before{content:"\\F1134"}.mdi-calendar-arrow-right::before{content:"\\F1135"}.mdi-calendar-blank::before{content:"\\F00EE"}.mdi-calendar-blank-multiple::before{content:"\\F1073"}.mdi-calendar-blank-outline::before{content:"\\F0B66"}.mdi-calendar-check::before{content:"\\F00EF"}.mdi-calendar-check-outline::before{content:"\\F0C44"}.mdi-calendar-clock::before{content:"\\F00F0"}.mdi-calendar-edit::before{content:"\\F08A7"}.mdi-calendar-export::before{content:"\\F0B24"}.mdi-calendar-heart::before{content:"\\F09D2"}.mdi-calendar-import::before{content:"\\F0B25"}.mdi-calendar-minus::before{content:"\\F0D5C"}.mdi-calendar-month::before{content:"\\F0E17"}.mdi-calendar-month-outline::before{content:"\\F0E18"}.mdi-calendar-multiple::before{content:"\\F00F1"}.mdi-calendar-multiple-check::before{content:"\\F00F2"}.mdi-calendar-multiselect::before{content:"\\F0A32"}.mdi-calendar-outline::before{content:"\\F0B67"}.mdi-calendar-plus::before{content:"\\F00F3"}.mdi-calendar-question::before{content:"\\F0692"}.mdi-calendar-range::before{content:"\\F0679"}.mdi-calendar-range-outline::before{content:"\\F0B68"}.mdi-calendar-refresh::before{content:"\\F01E1"}.mdi-calendar-refresh-outline::before{content:"\\F0203"}.mdi-calendar-remove::before{content:"\\F00F4"}.mdi-calendar-remove-outline::before{content:"\\F0C45"}.mdi-calendar-search::before{content:"\\F094C"}.mdi-calendar-star::before{content:"\\F09D3"}.mdi-calendar-sync::before{content:"\\F0E8E"}.mdi-calendar-sync-outline::before{content:"\\F0E8F"}.mdi-calendar-text::before{content:"\\F00F5"}.mdi-calendar-text-outline::before{content:"\\F0C46"}.mdi-calendar-today::before{content:"\\F00F6"}.mdi-calendar-week::before{content:"\\F0A33"}.mdi-calendar-week-begin::before{content:"\\F0A34"}.mdi-calendar-weekend::before{content:"\\F0ED9"}.mdi-calendar-weekend-outline::before{content:"\\F0EDA"}.mdi-call-made::before{content:"\\F00F7"}.mdi-call-merge::before{content:"\\F00F8"}.mdi-call-missed::before{content:"\\F00F9"}.mdi-call-received::before{content:"\\F00FA"}.mdi-call-split::before{content:"\\F00FB"}.mdi-camcorder::before{content:"\\F00FC"}.mdi-camcorder-off::before{content:"\\F00FF"}.mdi-camera::before{content:"\\F0100"}.mdi-camera-account::before{content:"\\F08CB"}.mdi-camera-burst::before{content:"\\F0693"}.mdi-camera-control::before{content:"\\F0B69"}.mdi-camera-enhance::before{content:"\\F0101"}.mdi-camera-enhance-outline::before{content:"\\F0B6A"}.mdi-camera-front::before{content:"\\F0102"}.mdi-camera-front-variant::before{content:"\\F0103"}.mdi-camera-gopro::before{content:"\\F07A1"}.mdi-camera-image::before{content:"\\F08CC"}.mdi-camera-iris::before{content:"\\F0104"}.mdi-camera-metering-center::before{content:"\\F07A2"}.mdi-camera-metering-matrix::before{content:"\\F07A3"}.mdi-camera-metering-partial::before{content:"\\F07A4"}.mdi-camera-metering-spot::before{content:"\\F07A5"}.mdi-camera-off::before{content:"\\F05DF"}.mdi-camera-outline::before{content:"\\F0D5D"}.mdi-camera-party-mode::before{content:"\\F0105"}.mdi-camera-plus::before{content:"\\F0EDB"}.mdi-camera-plus-outline::before{content:"\\F0EDC"}.mdi-camera-rear::before{content:"\\F0106"}.mdi-camera-rear-variant::before{content:"\\F0107"}.mdi-camera-retake::before{content:"\\F0E19"}.mdi-camera-retake-outline::before{content:"\\F0E1A"}.mdi-camera-switch::before{content:"\\F0108"}.mdi-camera-switch-outline::before{content:"\\F084A"}.mdi-camera-timer::before{content:"\\F0109"}.mdi-camera-wireless::before{content:"\\F0DB6"}.mdi-camera-wireless-outline::before{content:"\\F0DB7"}.mdi-campfire::before{content:"\\F0EDD"}.mdi-cancel::before{content:"\\F073A"}.mdi-candle::before{content:"\\F05E2"}.mdi-candycane::before{content:"\\F010A"}.mdi-cannabis::before{content:"\\F07A6"}.mdi-caps-lock::before{content:"\\F0A9B"}.mdi-car::before{content:"\\F010B"}.mdi-car-2-plus::before{content:"\\F1015"}.mdi-car-3-plus::before{content:"\\F1016"}.mdi-car-arrow-left::before{content:"\\F13B2"}.mdi-car-arrow-right::before{content:"\\F13B3"}.mdi-car-back::before{content:"\\F0E1B"}.mdi-car-battery::before{content:"\\F010C"}.mdi-car-brake-abs::before{content:"\\F0C47"}.mdi-car-brake-alert::before{content:"\\F0C48"}.mdi-car-brake-hold::before{content:"\\F0D5E"}.mdi-car-brake-parking::before{content:"\\F0D5F"}.mdi-car-brake-retarder::before{content:"\\F1017"}.mdi-car-child-seat::before{content:"\\F0FA3"}.mdi-car-clutch::before{content:"\\F1018"}.mdi-car-cog::before{content:"\\F13CC"}.mdi-car-connected::before{content:"\\F010D"}.mdi-car-convertible::before{content:"\\F07A7"}.mdi-car-coolant-level::before{content:"\\F1019"}.mdi-car-cruise-control::before{content:"\\F0D60"}.mdi-car-defrost-front::before{content:"\\F0D61"}.mdi-car-defrost-rear::before{content:"\\F0D62"}.mdi-car-door::before{content:"\\F0B6B"}.mdi-car-door-lock::before{content:"\\F109D"}.mdi-car-electric::before{content:"\\F0B6C"}.mdi-car-esp::before{content:"\\F0C49"}.mdi-car-estate::before{content:"\\F07A8"}.mdi-car-hatchback::before{content:"\\F07A9"}.mdi-car-info::before{content:"\\F11BE"}.mdi-car-key::before{content:"\\F0B6D"}.mdi-car-light-dimmed::before{content:"\\F0C4A"}.mdi-car-light-fog::before{content:"\\F0C4B"}.mdi-car-light-high::before{content:"\\F0C4C"}.mdi-car-limousine::before{content:"\\F08CD"}.mdi-car-multiple::before{content:"\\F0B6E"}.mdi-car-off::before{content:"\\F0E1C"}.mdi-car-parking-lights::before{content:"\\F0D63"}.mdi-car-pickup::before{content:"\\F07AA"}.mdi-car-seat::before{content:"\\F0FA4"}.mdi-car-seat-cooler::before{content:"\\F0FA5"}.mdi-car-seat-heater::before{content:"\\F0FA6"}.mdi-car-settings::before{content:"\\F13CD"}.mdi-car-shift-pattern::before{content:"\\F0F40"}.mdi-car-side::before{content:"\\F07AB"}.mdi-car-sports::before{content:"\\F07AC"}.mdi-car-tire-alert::before{content:"\\F0C4D"}.mdi-car-traction-control::before{content:"\\F0D64"}.mdi-car-turbocharger::before{content:"\\F101A"}.mdi-car-wash::before{content:"\\F010E"}.mdi-car-windshield::before{content:"\\F101B"}.mdi-car-windshield-outline::before{content:"\\F101C"}.mdi-carabiner::before{content:"\\F14C0"}.mdi-caravan::before{content:"\\F07AD"}.mdi-card::before{content:"\\F0B6F"}.mdi-card-account-details::before{content:"\\F05D2"}.mdi-card-account-details-outline::before{content:"\\F0DAB"}.mdi-card-account-details-star::before{content:"\\F02A3"}.mdi-card-account-details-star-outline::before{content:"\\F06DB"}.mdi-card-account-mail::before{content:"\\F018E"}.mdi-card-account-mail-outline::before{content:"\\F0E98"}.mdi-card-account-phone::before{content:"\\F0E99"}.mdi-card-account-phone-outline::before{content:"\\F0E9A"}.mdi-card-bulleted::before{content:"\\F0B70"}.mdi-card-bulleted-off::before{content:"\\F0B71"}.mdi-card-bulleted-off-outline::before{content:"\\F0B72"}.mdi-card-bulleted-outline::before{content:"\\F0B73"}.mdi-card-bulleted-settings::before{content:"\\F0B74"}.mdi-card-bulleted-settings-outline::before{content:"\\F0B75"}.mdi-card-outline::before{content:"\\F0B76"}.mdi-card-plus::before{content:"\\F11FF"}.mdi-card-plus-outline::before{content:"\\F1200"}.mdi-card-search::before{content:"\\F1074"}.mdi-card-search-outline::before{content:"\\F1075"}.mdi-card-text::before{content:"\\F0B77"}.mdi-card-text-outline::before{content:"\\F0B78"}.mdi-cards::before{content:"\\F0638"}.mdi-cards-club::before{content:"\\F08CE"}.mdi-cards-diamond::before{content:"\\F08CF"}.mdi-cards-diamond-outline::before{content:"\\F101D"}.mdi-cards-heart::before{content:"\\F08D0"}.mdi-cards-outline::before{content:"\\F0639"}.mdi-cards-playing-outline::before{content:"\\F063A"}.mdi-cards-spade::before{content:"\\F08D1"}.mdi-cards-variant::before{content:"\\F06C7"}.mdi-carrot::before{content:"\\F010F"}.mdi-cart::before{content:"\\F0110"}.mdi-cart-arrow-down::before{content:"\\F0D66"}.mdi-cart-arrow-right::before{content:"\\F0C4E"}.mdi-cart-arrow-up::before{content:"\\F0D67"}.mdi-cart-minus::before{content:"\\F0D68"}.mdi-cart-off::before{content:"\\F066B"}.mdi-cart-outline::before{content:"\\F0111"}.mdi-cart-plus::before{content:"\\F0112"}.mdi-cart-remove::before{content:"\\F0D69"}.mdi-case-sensitive-alt::before{content:"\\F0113"}.mdi-cash::before{content:"\\F0114"}.mdi-cash-100::before{content:"\\F0115"}.mdi-cash-marker::before{content:"\\F0DB8"}.mdi-cash-minus::before{content:"\\F1260"}.mdi-cash-multiple::before{content:"\\F0116"}.mdi-cash-plus::before{content:"\\F1261"}.mdi-cash-refund::before{content:"\\F0A9C"}.mdi-cash-register::before{content:"\\F0CF4"}.mdi-cash-remove::before{content:"\\F1262"}.mdi-cash-usd::before{content:"\\F1176"}.mdi-cash-usd-outline::before{content:"\\F0117"}.mdi-cassette::before{content:"\\F09D4"}.mdi-cast::before{content:"\\F0118"}.mdi-cast-audio::before{content:"\\F101E"}.mdi-cast-connected::before{content:"\\F0119"}.mdi-cast-education::before{content:"\\F0E1D"}.mdi-cast-off::before{content:"\\F078A"}.mdi-castle::before{content:"\\F011A"}.mdi-cat::before{content:"\\F011B"}.mdi-cctv::before{content:"\\F07AE"}.mdi-ceiling-light::before{content:"\\F0769"}.mdi-cellphone::before{content:"\\F011C"}.mdi-cellphone-android::before{content:"\\F011D"}.mdi-cellphone-arrow-down::before{content:"\\F09D5"}.mdi-cellphone-basic::before{content:"\\F011E"}.mdi-cellphone-charging::before{content:"\\F1397"}.mdi-cellphone-cog::before{content:"\\F0951"}.mdi-cellphone-dock::before{content:"\\F011F"}.mdi-cellphone-erase::before{content:"\\F094D"}.mdi-cellphone-information::before{content:"\\F0F41"}.mdi-cellphone-iphone::before{content:"\\F0120"}.mdi-cellphone-key::before{content:"\\F094E"}.mdi-cellphone-link::before{content:"\\F0121"}.mdi-cellphone-link-off::before{content:"\\F0122"}.mdi-cellphone-lock::before{content:"\\F094F"}.mdi-cellphone-message::before{content:"\\F08D3"}.mdi-cellphone-message-off::before{content:"\\F10D2"}.mdi-cellphone-nfc::before{content:"\\F0E90"}.mdi-cellphone-nfc-off::before{content:"\\F12D8"}.mdi-cellphone-off::before{content:"\\F0950"}.mdi-cellphone-play::before{content:"\\F101F"}.mdi-cellphone-screenshot::before{content:"\\F0A35"}.mdi-cellphone-settings::before{content:"\\F0123"}.mdi-cellphone-sound::before{content:"\\F0952"}.mdi-cellphone-text::before{content:"\\F08D2"}.mdi-cellphone-wireless::before{content:"\\F0815"}.mdi-celtic-cross::before{content:"\\F0CF5"}.mdi-centos::before{content:"\\F111A"}.mdi-certificate::before{content:"\\F0124"}.mdi-certificate-outline::before{content:"\\F1188"}.mdi-chair-rolling::before{content:"\\F0F48"}.mdi-chair-school::before{content:"\\F0125"}.mdi-charity::before{content:"\\F0C4F"}.mdi-chart-arc::before{content:"\\F0126"}.mdi-chart-areaspline::before{content:"\\F0127"}.mdi-chart-areaspline-variant::before{content:"\\F0E91"}.mdi-chart-bar::before{content:"\\F0128"}.mdi-chart-bar-stacked::before{content:"\\F076A"}.mdi-chart-bell-curve::before{content:"\\F0C50"}.mdi-chart-bell-curve-cumulative::before{content:"\\F0FA7"}.mdi-chart-bubble::before{content:"\\F05E3"}.mdi-chart-donut::before{content:"\\F07AF"}.mdi-chart-donut-variant::before{content:"\\F07B0"}.mdi-chart-gantt::before{content:"\\F066C"}.mdi-chart-histogram::before{content:"\\F0129"}.mdi-chart-line::before{content:"\\F012A"}.mdi-chart-line-stacked::before{content:"\\F076B"}.mdi-chart-line-variant::before{content:"\\F07B1"}.mdi-chart-multiline::before{content:"\\F08D4"}.mdi-chart-multiple::before{content:"\\F1213"}.mdi-chart-pie::before{content:"\\F012B"}.mdi-chart-ppf::before{content:"\\F1380"}.mdi-chart-sankey::before{content:"\\F11DF"}.mdi-chart-sankey-variant::before{content:"\\F11E0"}.mdi-chart-scatter-plot::before{content:"\\F0E92"}.mdi-chart-scatter-plot-hexbin::before{content:"\\F066D"}.mdi-chart-timeline::before{content:"\\F066E"}.mdi-chart-timeline-variant::before{content:"\\F0E93"}.mdi-chart-tree::before{content:"\\F0E94"}.mdi-chat::before{content:"\\F0B79"}.mdi-chat-alert::before{content:"\\F0B7A"}.mdi-chat-alert-outline::before{content:"\\F12C9"}.mdi-chat-minus::before{content:"\\F1410"}.mdi-chat-minus-outline::before{content:"\\F1413"}.mdi-chat-outline::before{content:"\\F0EDE"}.mdi-chat-plus::before{content:"\\F140F"}.mdi-chat-plus-outline::before{content:"\\F1412"}.mdi-chat-processing::before{content:"\\F0B7B"}.mdi-chat-processing-outline::before{content:"\\F12CA"}.mdi-chat-remove::before{content:"\\F1411"}.mdi-chat-remove-outline::before{content:"\\F1414"}.mdi-chat-sleep::before{content:"\\F12D1"}.mdi-chat-sleep-outline::before{content:"\\F12D2"}.mdi-check::before{content:"\\F012C"}.mdi-check-all::before{content:"\\F012D"}.mdi-check-bold::before{content:"\\F0E1E"}.mdi-check-box-multiple-outline::before{content:"\\F0C51"}.mdi-check-box-outline::before{content:"\\F0C52"}.mdi-check-circle::before{content:"\\F05E0"}.mdi-check-circle-outline::before{content:"\\F05E1"}.mdi-check-decagram::before{content:"\\F0791"}.mdi-check-network::before{content:"\\F0C53"}.mdi-check-network-outline::before{content:"\\F0C54"}.mdi-check-outline::before{content:"\\F0855"}.mdi-check-underline::before{content:"\\F0E1F"}.mdi-check-underline-circle::before{content:"\\F0E20"}.mdi-check-underline-circle-outline::before{content:"\\F0E21"}.mdi-checkbook::before{content:"\\F0A9D"}.mdi-checkbox-blank::before{content:"\\F012E"}.mdi-checkbox-blank-circle::before{content:"\\F012F"}.mdi-checkbox-blank-circle-outline::before{content:"\\F0130"}.mdi-checkbox-blank-off::before{content:"\\F12EC"}.mdi-checkbox-blank-off-outline::before{content:"\\F12ED"}.mdi-checkbox-blank-outline::before{content:"\\F0131"}.mdi-checkbox-intermediate::before{content:"\\F0856"}.mdi-checkbox-marked::before{content:"\\F0132"}.mdi-checkbox-marked-circle::before{content:"\\F0133"}.mdi-checkbox-marked-circle-outline::before{content:"\\F0134"}.mdi-checkbox-marked-outline::before{content:"\\F0135"}.mdi-checkbox-multiple-blank::before{content:"\\F0136"}.mdi-checkbox-multiple-blank-circle::before{content:"\\F063B"}.mdi-checkbox-multiple-blank-circle-outline::before{content:"\\F063C"}.mdi-checkbox-multiple-blank-outline::before{content:"\\F0137"}.mdi-checkbox-multiple-marked::before{content:"\\F0138"}.mdi-checkbox-multiple-marked-circle::before{content:"\\F063D"}.mdi-checkbox-multiple-marked-circle-outline::before{content:"\\F063E"}.mdi-checkbox-multiple-marked-outline::before{content:"\\F0139"}.mdi-checkerboard::before{content:"\\F013A"}.mdi-checkerboard-minus::before{content:"\\F1202"}.mdi-checkerboard-plus::before{content:"\\F1201"}.mdi-checkerboard-remove::before{content:"\\F1203"}.mdi-cheese::before{content:"\\F12B9"}.mdi-cheese-off::before{content:"\\F13EE"}.mdi-chef-hat::before{content:"\\F0B7C"}.mdi-chemical-weapon::before{content:"\\F013B"}.mdi-chess-bishop::before{content:"\\F085C"}.mdi-chess-king::before{content:"\\F0857"}.mdi-chess-knight::before{content:"\\F0858"}.mdi-chess-pawn::before{content:"\\F0859"}.mdi-chess-queen::before{content:"\\F085A"}.mdi-chess-rook::before{content:"\\F085B"}.mdi-chevron-double-down::before{content:"\\F013C"}.mdi-chevron-double-left::before{content:"\\F013D"}.mdi-chevron-double-right::before{content:"\\F013E"}.mdi-chevron-double-up::before{content:"\\F013F"}.mdi-chevron-down::before{content:"\\F0140"}.mdi-chevron-down-box::before{content:"\\F09D6"}.mdi-chevron-down-box-outline::before{content:"\\F09D7"}.mdi-chevron-down-circle::before{content:"\\F0B26"}.mdi-chevron-down-circle-outline::before{content:"\\F0B27"}.mdi-chevron-left::before{content:"\\F0141"}.mdi-chevron-left-box::before{content:"\\F09D8"}.mdi-chevron-left-box-outline::before{content:"\\F09D9"}.mdi-chevron-left-circle::before{content:"\\F0B28"}.mdi-chevron-left-circle-outline::before{content:"\\F0B29"}.mdi-chevron-right::before{content:"\\F0142"}.mdi-chevron-right-box::before{content:"\\F09DA"}.mdi-chevron-right-box-outline::before{content:"\\F09DB"}.mdi-chevron-right-circle::before{content:"\\F0B2A"}.mdi-chevron-right-circle-outline::before{content:"\\F0B2B"}.mdi-chevron-triple-down::before{content:"\\F0DB9"}.mdi-chevron-triple-left::before{content:"\\F0DBA"}.mdi-chevron-triple-right::before{content:"\\F0DBB"}.mdi-chevron-triple-up::before{content:"\\F0DBC"}.mdi-chevron-up::before{content:"\\F0143"}.mdi-chevron-up-box::before{content:"\\F09DC"}.mdi-chevron-up-box-outline::before{content:"\\F09DD"}.mdi-chevron-up-circle::before{content:"\\F0B2C"}.mdi-chevron-up-circle-outline::before{content:"\\F0B2D"}.mdi-chili-hot::before{content:"\\F07B2"}.mdi-chili-medium::before{content:"\\F07B3"}.mdi-chili-mild::before{content:"\\F07B4"}.mdi-chili-off::before{content:"\\F1467"}.mdi-chip::before{content:"\\F061A"}.mdi-christianity::before{content:"\\F0953"}.mdi-christianity-outline::before{content:"\\F0CF6"}.mdi-church::before{content:"\\F0144"}.mdi-cigar::before{content:"\\F1189"}.mdi-cigar-off::before{content:"\\F141B"}.mdi-circle::before{content:"\\F0765"}.mdi-circle-double::before{content:"\\F0E95"}.mdi-circle-edit-outline::before{content:"\\F08D5"}.mdi-circle-expand::before{content:"\\F0E96"}.mdi-circle-half::before{content:"\\F1395"}.mdi-circle-half-full::before{content:"\\F1396"}.mdi-circle-medium::before{content:"\\F09DE"}.mdi-circle-multiple::before{content:"\\F0B38"}.mdi-circle-multiple-outline::before{content:"\\F0695"}.mdi-circle-off-outline::before{content:"\\F10D3"}.mdi-circle-outline::before{content:"\\F0766"}.mdi-circle-slice-1::before{content:"\\F0A9E"}.mdi-circle-slice-2::before{content:"\\F0A9F"}.mdi-circle-slice-3::before{content:"\\F0AA0"}.mdi-circle-slice-4::before{content:"\\F0AA1"}.mdi-circle-slice-5::before{content:"\\F0AA2"}.mdi-circle-slice-6::before{content:"\\F0AA3"}.mdi-circle-slice-7::before{content:"\\F0AA4"}.mdi-circle-slice-8::before{content:"\\F0AA5"}.mdi-circle-small::before{content:"\\F09DF"}.mdi-circular-saw::before{content:"\\F0E22"}.mdi-city::before{content:"\\F0146"}.mdi-city-variant::before{content:"\\F0A36"}.mdi-city-variant-outline::before{content:"\\F0A37"}.mdi-clipboard::before{content:"\\F0147"}.mdi-clipboard-account::before{content:"\\F0148"}.mdi-clipboard-account-outline::before{content:"\\F0C55"}.mdi-clipboard-alert::before{content:"\\F0149"}.mdi-clipboard-alert-outline::before{content:"\\F0CF7"}.mdi-clipboard-arrow-down::before{content:"\\F014A"}.mdi-clipboard-arrow-down-outline::before{content:"\\F0C56"}.mdi-clipboard-arrow-left::before{content:"\\F014B"}.mdi-clipboard-arrow-left-outline::before{content:"\\F0CF8"}.mdi-clipboard-arrow-right::before{content:"\\F0CF9"}.mdi-clipboard-arrow-right-outline::before{content:"\\F0CFA"}.mdi-clipboard-arrow-up::before{content:"\\F0C57"}.mdi-clipboard-arrow-up-outline::before{content:"\\F0C58"}.mdi-clipboard-check::before{content:"\\F014E"}.mdi-clipboard-check-multiple::before{content:"\\F1263"}.mdi-clipboard-check-multiple-outline::before{content:"\\F1264"}.mdi-clipboard-check-outline::before{content:"\\F08A8"}.mdi-clipboard-file::before{content:"\\F1265"}.mdi-clipboard-file-outline::before{content:"\\F1266"}.mdi-clipboard-flow::before{content:"\\F06C8"}.mdi-clipboard-flow-outline::before{content:"\\F1117"}.mdi-clipboard-list::before{content:"\\F10D4"}.mdi-clipboard-list-outline::before{content:"\\F10D5"}.mdi-clipboard-multiple::before{content:"\\F1267"}.mdi-clipboard-multiple-outline::before{content:"\\F1268"}.mdi-clipboard-outline::before{content:"\\F014C"}.mdi-clipboard-play::before{content:"\\F0C59"}.mdi-clipboard-play-multiple::before{content:"\\F1269"}.mdi-clipboard-play-multiple-outline::before{content:"\\F126A"}.mdi-clipboard-play-outline::before{content:"\\F0C5A"}.mdi-clipboard-plus::before{content:"\\F0751"}.mdi-clipboard-plus-outline::before{content:"\\F131F"}.mdi-clipboard-pulse::before{content:"\\F085D"}.mdi-clipboard-pulse-outline::before{content:"\\F085E"}.mdi-clipboard-text::before{content:"\\F014D"}.mdi-clipboard-text-multiple::before{content:"\\F126B"}.mdi-clipboard-text-multiple-outline::before{content:"\\F126C"}.mdi-clipboard-text-outline::before{content:"\\F0A38"}.mdi-clipboard-text-play::before{content:"\\F0C5B"}.mdi-clipboard-text-play-outline::before{content:"\\F0C5C"}.mdi-clippy::before{content:"\\F014F"}.mdi-clock::before{content:"\\F0954"}.mdi-clock-alert::before{content:"\\F0955"}.mdi-clock-alert-outline::before{content:"\\F05CE"}.mdi-clock-check::before{content:"\\F0FA8"}.mdi-clock-check-outline::before{content:"\\F0FA9"}.mdi-clock-digital::before{content:"\\F0E97"}.mdi-clock-end::before{content:"\\F0151"}.mdi-clock-fast::before{content:"\\F0152"}.mdi-clock-in::before{content:"\\F0153"}.mdi-clock-out::before{content:"\\F0154"}.mdi-clock-outline::before{content:"\\F0150"}.mdi-clock-start::before{content:"\\F0155"}.mdi-clock-time-eight::before{content:"\\F1446"}.mdi-clock-time-eight-outline::before{content:"\\F1452"}.mdi-clock-time-eleven::before{content:"\\F1449"}.mdi-clock-time-eleven-outline::before{content:"\\F1455"}.mdi-clock-time-five::before{content:"\\F1443"}.mdi-clock-time-five-outline::before{content:"\\F144F"}.mdi-clock-time-four::before{content:"\\F1442"}.mdi-clock-time-four-outline::before{content:"\\F144E"}.mdi-clock-time-nine::before{content:"\\F1447"}.mdi-clock-time-nine-outline::before{content:"\\F1453"}.mdi-clock-time-one::before{content:"\\F143F"}.mdi-clock-time-one-outline::before{content:"\\F144B"}.mdi-clock-time-seven::before{content:"\\F1445"}.mdi-clock-time-seven-outline::before{content:"\\F1451"}.mdi-clock-time-six::before{content:"\\F1444"}.mdi-clock-time-six-outline::before{content:"\\F1450"}.mdi-clock-time-ten::before{content:"\\F1448"}.mdi-clock-time-ten-outline::before{content:"\\F1454"}.mdi-clock-time-three::before{content:"\\F1441"}.mdi-clock-time-three-outline::before{content:"\\F144D"}.mdi-clock-time-twelve::before{content:"\\F144A"}.mdi-clock-time-twelve-outline::before{content:"\\F1456"}.mdi-clock-time-two::before{content:"\\F1440"}.mdi-clock-time-two-outline::before{content:"\\F144C"}.mdi-close::before{content:"\\F0156"}.mdi-close-box::before{content:"\\F0157"}.mdi-close-box-multiple::before{content:"\\F0C5D"}.mdi-close-box-multiple-outline::before{content:"\\F0C5E"}.mdi-close-box-outline::before{content:"\\F0158"}.mdi-close-circle::before{content:"\\F0159"}.mdi-close-circle-multiple::before{content:"\\F062A"}.mdi-close-circle-multiple-outline::before{content:"\\F0883"}.mdi-close-circle-outline::before{content:"\\F015A"}.mdi-close-network::before{content:"\\F015B"}.mdi-close-network-outline::before{content:"\\F0C5F"}.mdi-close-octagon::before{content:"\\F015C"}.mdi-close-octagon-outline::before{content:"\\F015D"}.mdi-close-outline::before{content:"\\F06C9"}.mdi-close-thick::before{content:"\\F1398"}.mdi-closed-caption::before{content:"\\F015E"}.mdi-closed-caption-outline::before{content:"\\F0DBD"}.mdi-cloud::before{content:"\\F015F"}.mdi-cloud-alert::before{content:"\\F09E0"}.mdi-cloud-braces::before{content:"\\F07B5"}.mdi-cloud-check::before{content:"\\F0160"}.mdi-cloud-check-outline::before{content:"\\F12CC"}.mdi-cloud-circle::before{content:"\\F0161"}.mdi-cloud-download::before{content:"\\F0162"}.mdi-cloud-download-outline::before{content:"\\F0B7D"}.mdi-cloud-lock::before{content:"\\F11F1"}.mdi-cloud-lock-outline::before{content:"\\F11F2"}.mdi-cloud-off-outline::before{content:"\\F0164"}.mdi-cloud-outline::before{content:"\\F0163"}.mdi-cloud-print::before{content:"\\F0165"}.mdi-cloud-print-outline::before{content:"\\F0166"}.mdi-cloud-question::before{content:"\\F0A39"}.mdi-cloud-refresh::before{content:"\\F052A"}.mdi-cloud-search::before{content:"\\F0956"}.mdi-cloud-search-outline::before{content:"\\F0957"}.mdi-cloud-sync::before{content:"\\F063F"}.mdi-cloud-sync-outline::before{content:"\\F12D6"}.mdi-cloud-tags::before{content:"\\F07B6"}.mdi-cloud-upload::before{content:"\\F0167"}.mdi-cloud-upload-outline::before{content:"\\F0B7E"}.mdi-clover::before{content:"\\F0816"}.mdi-coach-lamp::before{content:"\\F1020"}.mdi-coat-rack::before{content:"\\F109E"}.mdi-code-array::before{content:"\\F0168"}.mdi-code-braces::before{content:"\\F0169"}.mdi-code-braces-box::before{content:"\\F10D6"}.mdi-code-brackets::before{content:"\\F016A"}.mdi-code-equal::before{content:"\\F016B"}.mdi-code-greater-than::before{content:"\\F016C"}.mdi-code-greater-than-or-equal::before{content:"\\F016D"}.mdi-code-json::before{content:"\\F0626"}.mdi-code-less-than::before{content:"\\F016E"}.mdi-code-less-than-or-equal::before{content:"\\F016F"}.mdi-code-not-equal::before{content:"\\F0170"}.mdi-code-not-equal-variant::before{content:"\\F0171"}.mdi-code-parentheses::before{content:"\\F0172"}.mdi-code-parentheses-box::before{content:"\\F10D7"}.mdi-code-string::before{content:"\\F0173"}.mdi-code-tags::before{content:"\\F0174"}.mdi-code-tags-check::before{content:"\\F0694"}.mdi-codepen::before{content:"\\F0175"}.mdi-coffee::before{content:"\\F0176"}.mdi-coffee-maker::before{content:"\\F109F"}.mdi-coffee-off::before{content:"\\F0FAA"}.mdi-coffee-off-outline::before{content:"\\F0FAB"}.mdi-coffee-outline::before{content:"\\F06CA"}.mdi-coffee-to-go::before{content:"\\F0177"}.mdi-coffee-to-go-outline::before{content:"\\F130E"}.mdi-coffin::before{content:"\\F0B7F"}.mdi-cog::before{content:"\\F0493"}.mdi-cog-box::before{content:"\\F0494"}.mdi-cog-clockwise::before{content:"\\F11DD"}.mdi-cog-counterclockwise::before{content:"\\F11DE"}.mdi-cog-off::before{content:"\\F13CE"}.mdi-cog-off-outline::before{content:"\\F13CF"}.mdi-cog-outline::before{content:"\\F08BB"}.mdi-cog-refresh::before{content:"\\F145E"}.mdi-cog-refresh-outline::before{content:"\\F145F"}.mdi-cog-sync::before{content:"\\F1460"}.mdi-cog-sync-outline::before{content:"\\F1461"}.mdi-cog-transfer::before{content:"\\F105B"}.mdi-cog-transfer-outline::before{content:"\\F105C"}.mdi-cogs::before{content:"\\F08D6"}.mdi-collage::before{content:"\\F0640"}.mdi-collapse-all::before{content:"\\F0AA6"}.mdi-collapse-all-outline::before{content:"\\F0AA7"}.mdi-color-helper::before{content:"\\F0179"}.mdi-comma::before{content:"\\F0E23"}.mdi-comma-box::before{content:"\\F0E2B"}.mdi-comma-box-outline::before{content:"\\F0E24"}.mdi-comma-circle::before{content:"\\F0E25"}.mdi-comma-circle-outline::before{content:"\\F0E26"}.mdi-comment::before{content:"\\F017A"}.mdi-comment-account::before{content:"\\F017B"}.mdi-comment-account-outline::before{content:"\\F017C"}.mdi-comment-alert::before{content:"\\F017D"}.mdi-comment-alert-outline::before{content:"\\F017E"}.mdi-comment-arrow-left::before{content:"\\F09E1"}.mdi-comment-arrow-left-outline::before{content:"\\F09E2"}.mdi-comment-arrow-right::before{content:"\\F09E3"}.mdi-comment-arrow-right-outline::before{content:"\\F09E4"}.mdi-comment-check::before{content:"\\F017F"}.mdi-comment-check-outline::before{content:"\\F0180"}.mdi-comment-edit::before{content:"\\F11BF"}.mdi-comment-edit-outline::before{content:"\\F12C4"}.mdi-comment-eye::before{content:"\\F0A3A"}.mdi-comment-eye-outline::before{content:"\\F0A3B"}.mdi-comment-multiple::before{content:"\\F085F"}.mdi-comment-multiple-outline::before{content:"\\F0181"}.mdi-comment-outline::before{content:"\\F0182"}.mdi-comment-plus::before{content:"\\F09E5"}.mdi-comment-plus-outline::before{content:"\\F0183"}.mdi-comment-processing::before{content:"\\F0184"}.mdi-comment-processing-outline::before{content:"\\F0185"}.mdi-comment-question::before{content:"\\F0817"}.mdi-comment-question-outline::before{content:"\\F0186"}.mdi-comment-quote::before{content:"\\F1021"}.mdi-comment-quote-outline::before{content:"\\F1022"}.mdi-comment-remove::before{content:"\\F05DE"}.mdi-comment-remove-outline::before{content:"\\F0187"}.mdi-comment-search::before{content:"\\F0A3C"}.mdi-comment-search-outline::before{content:"\\F0A3D"}.mdi-comment-text::before{content:"\\F0188"}.mdi-comment-text-multiple::before{content:"\\F0860"}.mdi-comment-text-multiple-outline::before{content:"\\F0861"}.mdi-comment-text-outline::before{content:"\\F0189"}.mdi-compare::before{content:"\\F018A"}.mdi-compare-horizontal::before{content:"\\F1492"}.mdi-compare-vertical::before{content:"\\F1493"}.mdi-compass::before{content:"\\F018B"}.mdi-compass-off::before{content:"\\F0B80"}.mdi-compass-off-outline::before{content:"\\F0B81"}.mdi-compass-outline::before{content:"\\F018C"}.mdi-compass-rose::before{content:"\\F1382"}.mdi-concourse-ci::before{content:"\\F10A0"}.mdi-console::before{content:"\\F018D"}.mdi-console-line::before{content:"\\F07B7"}.mdi-console-network::before{content:"\\F08A9"}.mdi-console-network-outline::before{content:"\\F0C60"}.mdi-consolidate::before{content:"\\F10D8"}.mdi-contactless-payment::before{content:"\\F0D6A"}.mdi-contactless-payment-circle::before{content:"\\F0321"}.mdi-contactless-payment-circle-outline::before{content:"\\F0408"}.mdi-contacts::before{content:"\\F06CB"}.mdi-contacts-outline::before{content:"\\F05B8"}.mdi-contain::before{content:"\\F0A3E"}.mdi-contain-end::before{content:"\\F0A3F"}.mdi-contain-start::before{content:"\\F0A40"}.mdi-content-copy::before{content:"\\F018F"}.mdi-content-cut::before{content:"\\F0190"}.mdi-content-duplicate::before{content:"\\F0191"}.mdi-content-paste::before{content:"\\F0192"}.mdi-content-save::before{content:"\\F0193"}.mdi-content-save-alert::before{content:"\\F0F42"}.mdi-content-save-alert-outline::before{content:"\\F0F43"}.mdi-content-save-all::before{content:"\\F0194"}.mdi-content-save-all-outline::before{content:"\\F0F44"}.mdi-content-save-cog::before{content:"\\F145B"}.mdi-content-save-cog-outline::before{content:"\\F145C"}.mdi-content-save-edit::before{content:"\\F0CFB"}.mdi-content-save-edit-outline::before{content:"\\F0CFC"}.mdi-content-save-move::before{content:"\\F0E27"}.mdi-content-save-move-outline::before{content:"\\F0E28"}.mdi-content-save-outline::before{content:"\\F0818"}.mdi-content-save-settings::before{content:"\\F061B"}.mdi-content-save-settings-outline::before{content:"\\F0B2E"}.mdi-contrast::before{content:"\\F0195"}.mdi-contrast-box::before{content:"\\F0196"}.mdi-contrast-circle::before{content:"\\F0197"}.mdi-controller-classic::before{content:"\\F0B82"}.mdi-controller-classic-outline::before{content:"\\F0B83"}.mdi-cookie::before{content:"\\F0198"}.mdi-coolant-temperature::before{content:"\\F03C8"}.mdi-copyright::before{content:"\\F05E6"}.mdi-cordova::before{content:"\\F0958"}.mdi-corn::before{content:"\\F07B8"}.mdi-corn-off::before{content:"\\F13EF"}.mdi-cosine-wave::before{content:"\\F1479"}.mdi-counter::before{content:"\\F0199"}.mdi-cow::before{content:"\\F019A"}.mdi-cpu-32-bit::before{content:"\\F0EDF"}.mdi-cpu-64-bit::before{content:"\\F0EE0"}.mdi-crane::before{content:"\\F0862"}.mdi-creation::before{content:"\\F0674"}.mdi-creative-commons::before{content:"\\F0D6B"}.mdi-credit-card::before{content:"\\F0FEF"}.mdi-credit-card-check::before{content:"\\F13D0"}.mdi-credit-card-check-outline::before{content:"\\F13D1"}.mdi-credit-card-clock::before{content:"\\F0EE1"}.mdi-credit-card-clock-outline::before{content:"\\F0EE2"}.mdi-credit-card-marker::before{content:"\\F06A8"}.mdi-credit-card-marker-outline::before{content:"\\F0DBE"}.mdi-credit-card-minus::before{content:"\\F0FAC"}.mdi-credit-card-minus-outline::before{content:"\\F0FAD"}.mdi-credit-card-multiple::before{content:"\\F0FF0"}.mdi-credit-card-multiple-outline::before{content:"\\F019C"}.mdi-credit-card-off::before{content:"\\F0FF1"}.mdi-credit-card-off-outline::before{content:"\\F05E4"}.mdi-credit-card-outline::before{content:"\\F019B"}.mdi-credit-card-plus::before{content:"\\F0FF2"}.mdi-credit-card-plus-outline::before{content:"\\F0676"}.mdi-credit-card-refund::before{content:"\\F0FF3"}.mdi-credit-card-refund-outline::before{content:"\\F0AA8"}.mdi-credit-card-remove::before{content:"\\F0FAE"}.mdi-credit-card-remove-outline::before{content:"\\F0FAF"}.mdi-credit-card-scan::before{content:"\\F0FF4"}.mdi-credit-card-scan-outline::before{content:"\\F019D"}.mdi-credit-card-settings::before{content:"\\F0FF5"}.mdi-credit-card-settings-outline::before{content:"\\F08D7"}.mdi-credit-card-wireless::before{content:"\\F0802"}.mdi-credit-card-wireless-off::before{content:"\\F057A"}.mdi-credit-card-wireless-off-outline::before{content:"\\F057B"}.mdi-credit-card-wireless-outline::before{content:"\\F0D6C"}.mdi-cricket::before{content:"\\F0D6D"}.mdi-crop::before{content:"\\F019E"}.mdi-crop-free::before{content:"\\F019F"}.mdi-crop-landscape::before{content:"\\F01A0"}.mdi-crop-portrait::before{content:"\\F01A1"}.mdi-crop-rotate::before{content:"\\F0696"}.mdi-crop-square::before{content:"\\F01A2"}.mdi-crosshairs::before{content:"\\F01A3"}.mdi-crosshairs-gps::before{content:"\\F01A4"}.mdi-crosshairs-off::before{content:"\\F0F45"}.mdi-crosshairs-question::before{content:"\\F1136"}.mdi-crown::before{content:"\\F01A5"}.mdi-crown-outline::before{content:"\\F11D0"}.mdi-cryengine::before{content:"\\F0959"}.mdi-crystal-ball::before{content:"\\F0B2F"}.mdi-cube::before{content:"\\F01A6"}.mdi-cube-off::before{content:"\\F141C"}.mdi-cube-off-outline::before{content:"\\F141D"}.mdi-cube-outline::before{content:"\\F01A7"}.mdi-cube-scan::before{content:"\\F0B84"}.mdi-cube-send::before{content:"\\F01A8"}.mdi-cube-unfolded::before{content:"\\F01A9"}.mdi-cup::before{content:"\\F01AA"}.mdi-cup-off::before{content:"\\F05E5"}.mdi-cup-off-outline::before{content:"\\F137D"}.mdi-cup-outline::before{content:"\\F130F"}.mdi-cup-water::before{content:"\\F01AB"}.mdi-cupboard::before{content:"\\F0F46"}.mdi-cupboard-outline::before{content:"\\F0F47"}.mdi-cupcake::before{content:"\\F095A"}.mdi-curling::before{content:"\\F0863"}.mdi-currency-bdt::before{content:"\\F0864"}.mdi-currency-brl::before{content:"\\F0B85"}.mdi-currency-btc::before{content:"\\F01AC"}.mdi-currency-cny::before{content:"\\F07BA"}.mdi-currency-eth::before{content:"\\F07BB"}.mdi-currency-eur::before{content:"\\F01AD"}.mdi-currency-eur-off::before{content:"\\F1315"}.mdi-currency-gbp::before{content:"\\F01AE"}.mdi-currency-ils::before{content:"\\F0C61"}.mdi-currency-inr::before{content:"\\F01AF"}.mdi-currency-jpy::before{content:"\\F07BC"}.mdi-currency-krw::before{content:"\\F07BD"}.mdi-currency-kzt::before{content:"\\F0865"}.mdi-currency-ngn::before{content:"\\F01B0"}.mdi-currency-php::before{content:"\\F09E6"}.mdi-currency-rial::before{content:"\\F0E9C"}.mdi-currency-rub::before{content:"\\F01B1"}.mdi-currency-sign::before{content:"\\F07BE"}.mdi-currency-try::before{content:"\\F01B2"}.mdi-currency-twd::before{content:"\\F07BF"}.mdi-currency-usd::before{content:"\\F01C1"}.mdi-currency-usd-circle::before{content:"\\F116B"}.mdi-currency-usd-circle-outline::before{content:"\\F0178"}.mdi-currency-usd-off::before{content:"\\F067A"}.mdi-current-ac::before{content:"\\F1480"}.mdi-current-dc::before{content:"\\F095C"}.mdi-cursor-default::before{content:"\\F01C0"}.mdi-cursor-default-click::before{content:"\\F0CFD"}.mdi-cursor-default-click-outline::before{content:"\\F0CFE"}.mdi-cursor-default-gesture::before{content:"\\F1127"}.mdi-cursor-default-gesture-outline::before{content:"\\F1128"}.mdi-cursor-default-outline::before{content:"\\F01BF"}.mdi-cursor-move::before{content:"\\F01BE"}.mdi-cursor-pointer::before{content:"\\F01BD"}.mdi-cursor-text::before{content:"\\F05E7"}.mdi-database::before{content:"\\F01BC"}.mdi-database-check::before{content:"\\F0AA9"}.mdi-database-edit::before{content:"\\F0B86"}.mdi-database-export::before{content:"\\F095E"}.mdi-database-import::before{content:"\\F095D"}.mdi-database-lock::before{content:"\\F0AAA"}.mdi-database-marker::before{content:"\\F12F6"}.mdi-database-minus::before{content:"\\F01BB"}.mdi-database-plus::before{content:"\\F01BA"}.mdi-database-refresh::before{content:"\\F05C2"}.mdi-database-remove::before{content:"\\F0D00"}.mdi-database-search::before{content:"\\F0866"}.mdi-database-settings::before{content:"\\F0D01"}.mdi-database-sync::before{content:"\\F0CFF"}.mdi-death-star::before{content:"\\F08D8"}.mdi-death-star-variant::before{content:"\\F08D9"}.mdi-deathly-hallows::before{content:"\\F0B87"}.mdi-debian::before{content:"\\F08DA"}.mdi-debug-step-into::before{content:"\\F01B9"}.mdi-debug-step-out::before{content:"\\F01B8"}.mdi-debug-step-over::before{content:"\\F01B7"}.mdi-decagram::before{content:"\\F076C"}.mdi-decagram-outline::before{content:"\\F076D"}.mdi-decimal::before{content:"\\F10A1"}.mdi-decimal-comma::before{content:"\\F10A2"}.mdi-decimal-comma-decrease::before{content:"\\F10A3"}.mdi-decimal-comma-increase::before{content:"\\F10A4"}.mdi-decimal-decrease::before{content:"\\F01B6"}.mdi-decimal-increase::before{content:"\\F01B5"}.mdi-delete::before{content:"\\F01B4"}.mdi-delete-alert::before{content:"\\F10A5"}.mdi-delete-alert-outline::before{content:"\\F10A6"}.mdi-delete-circle::before{content:"\\F0683"}.mdi-delete-circle-outline::before{content:"\\F0B88"}.mdi-delete-empty::before{content:"\\F06CC"}.mdi-delete-empty-outline::before{content:"\\F0E9D"}.mdi-delete-forever::before{content:"\\F05E8"}.mdi-delete-forever-outline::before{content:"\\F0B89"}.mdi-delete-off::before{content:"\\F10A7"}.mdi-delete-off-outline::before{content:"\\F10A8"}.mdi-delete-outline::before{content:"\\F09E7"}.mdi-delete-restore::before{content:"\\F0819"}.mdi-delete-sweep::before{content:"\\F05E9"}.mdi-delete-sweep-outline::before{content:"\\F0C62"}.mdi-delete-variant::before{content:"\\F01B3"}.mdi-delta::before{content:"\\F01C2"}.mdi-desk::before{content:"\\F1239"}.mdi-desk-lamp::before{content:"\\F095F"}.mdi-deskphone::before{content:"\\F01C3"}.mdi-desktop-classic::before{content:"\\F07C0"}.mdi-desktop-mac::before{content:"\\F01C4"}.mdi-desktop-mac-dashboard::before{content:"\\F09E8"}.mdi-desktop-tower::before{content:"\\F01C5"}.mdi-desktop-tower-monitor::before{content:"\\F0AAB"}.mdi-details::before{content:"\\F01C6"}.mdi-dev-to::before{content:"\\F0D6E"}.mdi-developer-board::before{content:"\\F0697"}.mdi-deviantart::before{content:"\\F01C7"}.mdi-devices::before{content:"\\F0FB0"}.mdi-diabetes::before{content:"\\F1126"}.mdi-dialpad::before{content:"\\F061C"}.mdi-diameter::before{content:"\\F0C63"}.mdi-diameter-outline::before{content:"\\F0C64"}.mdi-diameter-variant::before{content:"\\F0C65"}.mdi-diamond::before{content:"\\F0B8A"}.mdi-diamond-outline::before{content:"\\F0B8B"}.mdi-diamond-stone::before{content:"\\F01C8"}.mdi-dice-1::before{content:"\\F01CA"}.mdi-dice-1-outline::before{content:"\\F114A"}.mdi-dice-2::before{content:"\\F01CB"}.mdi-dice-2-outline::before{content:"\\F114B"}.mdi-dice-3::before{content:"\\F01CC"}.mdi-dice-3-outline::before{content:"\\F114C"}.mdi-dice-4::before{content:"\\F01CD"}.mdi-dice-4-outline::before{content:"\\F114D"}.mdi-dice-5::before{content:"\\F01CE"}.mdi-dice-5-outline::before{content:"\\F114E"}.mdi-dice-6::before{content:"\\F01CF"}.mdi-dice-6-outline::before{content:"\\F114F"}.mdi-dice-d10::before{content:"\\F1153"}.mdi-dice-d10-outline::before{content:"\\F076F"}.mdi-dice-d12::before{content:"\\F1154"}.mdi-dice-d12-outline::before{content:"\\F0867"}.mdi-dice-d20::before{content:"\\F1155"}.mdi-dice-d20-outline::before{content:"\\F05EA"}.mdi-dice-d4::before{content:"\\F1150"}.mdi-dice-d4-outline::before{content:"\\F05EB"}.mdi-dice-d6::before{content:"\\F1151"}.mdi-dice-d6-outline::before{content:"\\F05ED"}.mdi-dice-d8::before{content:"\\F1152"}.mdi-dice-d8-outline::before{content:"\\F05EC"}.mdi-dice-multiple::before{content:"\\F076E"}.mdi-dice-multiple-outline::before{content:"\\F1156"}.mdi-digital-ocean::before{content:"\\F1237"}.mdi-dip-switch::before{content:"\\F07C1"}.mdi-directions::before{content:"\\F01D0"}.mdi-directions-fork::before{content:"\\F0641"}.mdi-disc::before{content:"\\F05EE"}.mdi-disc-alert::before{content:"\\F01D1"}.mdi-disc-player::before{content:"\\F0960"}.mdi-discord::before{content:"\\F066F"}.mdi-dishwasher::before{content:"\\F0AAC"}.mdi-dishwasher-alert::before{content:"\\F11B8"}.mdi-dishwasher-off::before{content:"\\F11B9"}.mdi-disqus::before{content:"\\F01D2"}.mdi-distribute-horizontal-center::before{content:"\\F11C9"}.mdi-distribute-horizontal-left::before{content:"\\F11C8"}.mdi-distribute-horizontal-right::before{content:"\\F11CA"}.mdi-distribute-vertical-bottom::before{content:"\\F11CB"}.mdi-distribute-vertical-center::before{content:"\\F11CC"}.mdi-distribute-vertical-top::before{content:"\\F11CD"}.mdi-diving-flippers::before{content:"\\F0DBF"}.mdi-diving-helmet::before{content:"\\F0DC0"}.mdi-diving-scuba::before{content:"\\F0DC1"}.mdi-diving-scuba-flag::before{content:"\\F0DC2"}.mdi-diving-scuba-tank::before{content:"\\F0DC3"}.mdi-diving-scuba-tank-multiple::before{content:"\\F0DC4"}.mdi-diving-snorkel::before{content:"\\F0DC5"}.mdi-division::before{content:"\\F01D4"}.mdi-division-box::before{content:"\\F01D5"}.mdi-dlna::before{content:"\\F0A41"}.mdi-dna::before{content:"\\F0684"}.mdi-dns::before{content:"\\F01D6"}.mdi-dns-outline::before{content:"\\F0B8C"}.mdi-do-not-disturb::before{content:"\\F0698"}.mdi-do-not-disturb-off::before{content:"\\F0699"}.mdi-dock-bottom::before{content:"\\F10A9"}.mdi-dock-left::before{content:"\\F10AA"}.mdi-dock-right::before{content:"\\F10AB"}.mdi-dock-window::before{content:"\\F10AC"}.mdi-docker::before{content:"\\F0868"}.mdi-doctor::before{content:"\\F0A42"}.mdi-dog::before{content:"\\F0A43"}.mdi-dog-service::before{content:"\\F0AAD"}.mdi-dog-side::before{content:"\\F0A44"}.mdi-dolby::before{content:"\\F06B3"}.mdi-dolly::before{content:"\\F0E9E"}.mdi-domain::before{content:"\\F01D7"}.mdi-domain-off::before{content:"\\F0D6F"}.mdi-domain-plus::before{content:"\\F10AD"}.mdi-domain-remove::before{content:"\\F10AE"}.mdi-dome-light::before{content:"\\F141E"}.mdi-domino-mask::before{content:"\\F1023"}.mdi-donkey::before{content:"\\F07C2"}.mdi-door::before{content:"\\F081A"}.mdi-door-closed::before{content:"\\F081B"}.mdi-door-closed-lock::before{content:"\\F10AF"}.mdi-door-open::before{content:"\\F081C"}.mdi-doorbell::before{content:"\\F12E6"}.mdi-doorbell-video::before{content:"\\F0869"}.mdi-dot-net::before{content:"\\F0AAE"}.mdi-dots-horizontal::before{content:"\\F01D8"}.mdi-dots-horizontal-circle::before{content:"\\F07C3"}.mdi-dots-horizontal-circle-outline::before{content:"\\F0B8D"}.mdi-dots-vertical::before{content:"\\F01D9"}.mdi-dots-vertical-circle::before{content:"\\F07C4"}.mdi-dots-vertical-circle-outline::before{content:"\\F0B8E"}.mdi-douban::before{content:"\\F069A"}.mdi-download::before{content:"\\F01DA"}.mdi-download-box::before{content:"\\F1462"}.mdi-download-box-outline::before{content:"\\F1463"}.mdi-download-circle::before{content:"\\F1464"}.mdi-download-circle-outline::before{content:"\\F1465"}.mdi-download-lock::before{content:"\\F1320"}.mdi-download-lock-outline::before{content:"\\F1321"}.mdi-download-multiple::before{content:"\\F09E9"}.mdi-download-network::before{content:"\\F06F4"}.mdi-download-network-outline::before{content:"\\F0C66"}.mdi-download-off::before{content:"\\F10B0"}.mdi-download-off-outline::before{content:"\\F10B1"}.mdi-download-outline::before{content:"\\F0B8F"}.mdi-drag::before{content:"\\F01DB"}.mdi-drag-horizontal::before{content:"\\F01DC"}.mdi-drag-horizontal-variant::before{content:"\\F12F0"}.mdi-drag-variant::before{content:"\\F0B90"}.mdi-drag-vertical::before{content:"\\F01DD"}.mdi-drag-vertical-variant::before{content:"\\F12F1"}.mdi-drama-masks::before{content:"\\F0D02"}.mdi-draw::before{content:"\\F0F49"}.mdi-drawing::before{content:"\\F01DE"}.mdi-drawing-box::before{content:"\\F01DF"}.mdi-dresser::before{content:"\\F0F4A"}.mdi-dresser-outline::before{content:"\\F0F4B"}.mdi-drone::before{content:"\\F01E2"}.mdi-dropbox::before{content:"\\F01E3"}.mdi-drupal::before{content:"\\F01E4"}.mdi-duck::before{content:"\\F01E5"}.mdi-dumbbell::before{content:"\\F01E6"}.mdi-dump-truck::before{content:"\\F0C67"}.mdi-ear-hearing::before{content:"\\F07C5"}.mdi-ear-hearing-off::before{content:"\\F0A45"}.mdi-earth::before{content:"\\F01E7"}.mdi-earth-arrow-right::before{content:"\\F1311"}.mdi-earth-box::before{content:"\\F06CD"}.mdi-earth-box-minus::before{content:"\\F1407"}.mdi-earth-box-off::before{content:"\\F06CE"}.mdi-earth-box-plus::before{content:"\\F1406"}.mdi-earth-box-remove::before{content:"\\F1408"}.mdi-earth-minus::before{content:"\\F1404"}.mdi-earth-off::before{content:"\\F01E8"}.mdi-earth-plus::before{content:"\\F1403"}.mdi-earth-remove::before{content:"\\F1405"}.mdi-egg::before{content:"\\F0AAF"}.mdi-egg-easter::before{content:"\\F0AB0"}.mdi-egg-off::before{content:"\\F13F0"}.mdi-egg-off-outline::before{content:"\\F13F1"}.mdi-egg-outline::before{content:"\\F13F2"}.mdi-eight-track::before{content:"\\F09EA"}.mdi-eject::before{content:"\\F01EA"}.mdi-eject-outline::before{content:"\\F0B91"}.mdi-electric-switch::before{content:"\\F0E9F"}.mdi-electric-switch-closed::before{content:"\\F10D9"}.mdi-electron-framework::before{content:"\\F1024"}.mdi-elephant::before{content:"\\F07C6"}.mdi-elevation-decline::before{content:"\\F01EB"}.mdi-elevation-rise::before{content:"\\F01EC"}.mdi-elevator::before{content:"\\F01ED"}.mdi-elevator-down::before{content:"\\F12C2"}.mdi-elevator-passenger::before{content:"\\F1381"}.mdi-elevator-up::before{content:"\\F12C1"}.mdi-ellipse::before{content:"\\F0EA0"}.mdi-ellipse-outline::before{content:"\\F0EA1"}.mdi-email::before{content:"\\F01EE"}.mdi-email-alert::before{content:"\\F06CF"}.mdi-email-alert-outline::before{content:"\\F0D42"}.mdi-email-box::before{content:"\\F0D03"}.mdi-email-check::before{content:"\\F0AB1"}.mdi-email-check-outline::before{content:"\\F0AB2"}.mdi-email-edit::before{content:"\\F0EE3"}.mdi-email-edit-outline::before{content:"\\F0EE4"}.mdi-email-lock::before{content:"\\F01F1"}.mdi-email-mark-as-unread::before{content:"\\F0B92"}.mdi-email-minus::before{content:"\\F0EE5"}.mdi-email-minus-outline::before{content:"\\F0EE6"}.mdi-email-multiple::before{content:"\\F0EE7"}.mdi-email-multiple-outline::before{content:"\\F0EE8"}.mdi-email-newsletter::before{content:"\\F0FB1"}.mdi-email-off::before{content:"\\F13E3"}.mdi-email-off-outline::before{content:"\\F13E4"}.mdi-email-open::before{content:"\\F01EF"}.mdi-email-open-multiple::before{content:"\\F0EE9"}.mdi-email-open-multiple-outline::before{content:"\\F0EEA"}.mdi-email-open-outline::before{content:"\\F05EF"}.mdi-email-outline::before{content:"\\F01F0"}.mdi-email-plus::before{content:"\\F09EB"}.mdi-email-plus-outline::before{content:"\\F09EC"}.mdi-email-receive::before{content:"\\F10DA"}.mdi-email-receive-outline::before{content:"\\F10DB"}.mdi-email-search::before{content:"\\F0961"}.mdi-email-search-outline::before{content:"\\F0962"}.mdi-email-send::before{content:"\\F10DC"}.mdi-email-send-outline::before{content:"\\F10DD"}.mdi-email-sync::before{content:"\\F12C7"}.mdi-email-sync-outline::before{content:"\\F12C8"}.mdi-email-variant::before{content:"\\F05F0"}.mdi-ember::before{content:"\\F0B30"}.mdi-emby::before{content:"\\F06B4"}.mdi-emoticon::before{content:"\\F0C68"}.mdi-emoticon-angry::before{content:"\\F0C69"}.mdi-emoticon-angry-outline::before{content:"\\F0C6A"}.mdi-emoticon-confused::before{content:"\\F10DE"}.mdi-emoticon-confused-outline::before{content:"\\F10DF"}.mdi-emoticon-cool::before{content:"\\F0C6B"}.mdi-emoticon-cool-outline::before{content:"\\F01F3"}.mdi-emoticon-cry::before{content:"\\F0C6C"}.mdi-emoticon-cry-outline::before{content:"\\F0C6D"}.mdi-emoticon-dead::before{content:"\\F0C6E"}.mdi-emoticon-dead-outline::before{content:"\\F069B"}.mdi-emoticon-devil::before{content:"\\F0C6F"}.mdi-emoticon-devil-outline::before{content:"\\F01F4"}.mdi-emoticon-excited::before{content:"\\F0C70"}.mdi-emoticon-excited-outline::before{content:"\\F069C"}.mdi-emoticon-frown::before{content:"\\F0F4C"}.mdi-emoticon-frown-outline::before{content:"\\F0F4D"}.mdi-emoticon-happy::before{content:"\\F0C71"}.mdi-emoticon-happy-outline::before{content:"\\F01F5"}.mdi-emoticon-kiss::before{content:"\\F0C72"}.mdi-emoticon-kiss-outline::before{content:"\\F0C73"}.mdi-emoticon-lol::before{content:"\\F1214"}.mdi-emoticon-lol-outline::before{content:"\\F1215"}.mdi-emoticon-neutral::before{content:"\\F0C74"}.mdi-emoticon-neutral-outline::before{content:"\\F01F6"}.mdi-emoticon-outline::before{content:"\\F01F2"}.mdi-emoticon-poop::before{content:"\\F01F7"}.mdi-emoticon-poop-outline::before{content:"\\F0C75"}.mdi-emoticon-sad::before{content:"\\F0C76"}.mdi-emoticon-sad-outline::before{content:"\\F01F8"}.mdi-emoticon-tongue::before{content:"\\F01F9"}.mdi-emoticon-tongue-outline::before{content:"\\F0C77"}.mdi-emoticon-wink::before{content:"\\F0C78"}.mdi-emoticon-wink-outline::before{content:"\\F0C79"}.mdi-engine::before{content:"\\F01FA"}.mdi-engine-off::before{content:"\\F0A46"}.mdi-engine-off-outline::before{content:"\\F0A47"}.mdi-engine-outline::before{content:"\\F01FB"}.mdi-epsilon::before{content:"\\F10E0"}.mdi-equal::before{content:"\\F01FC"}.mdi-equal-box::before{content:"\\F01FD"}.mdi-equalizer::before{content:"\\F0EA2"}.mdi-equalizer-outline::before{content:"\\F0EA3"}.mdi-eraser::before{content:"\\F01FE"}.mdi-eraser-variant::before{content:"\\F0642"}.mdi-escalator::before{content:"\\F01FF"}.mdi-escalator-box::before{content:"\\F1399"}.mdi-escalator-down::before{content:"\\F12C0"}.mdi-escalator-up::before{content:"\\F12BF"}.mdi-eslint::before{content:"\\F0C7A"}.mdi-et::before{content:"\\F0AB3"}.mdi-ethereum::before{content:"\\F086A"}.mdi-ethernet::before{content:"\\F0200"}.mdi-ethernet-cable::before{content:"\\F0201"}.mdi-ethernet-cable-off::before{content:"\\F0202"}.mdi-ev-station::before{content:"\\F05F1"}.mdi-evernote::before{content:"\\F0204"}.mdi-excavator::before{content:"\\F1025"}.mdi-exclamation::before{content:"\\F0205"}.mdi-exclamation-thick::before{content:"\\F1238"}.mdi-exit-run::before{content:"\\F0A48"}.mdi-exit-to-app::before{content:"\\F0206"}.mdi-expand-all::before{content:"\\F0AB4"}.mdi-expand-all-outline::before{content:"\\F0AB5"}.mdi-expansion-card::before{content:"\\F08AE"}.mdi-expansion-card-variant::before{content:"\\F0FB2"}.mdi-exponent::before{content:"\\F0963"}.mdi-exponent-box::before{content:"\\F0964"}.mdi-export::before{content:"\\F0207"}.mdi-export-variant::before{content:"\\F0B93"}.mdi-eye::before{content:"\\F0208"}.mdi-eye-check::before{content:"\\F0D04"}.mdi-eye-check-outline::before{content:"\\F0D05"}.mdi-eye-circle::before{content:"\\F0B94"}.mdi-eye-circle-outline::before{content:"\\F0B95"}.mdi-eye-minus::before{content:"\\F1026"}.mdi-eye-minus-outline::before{content:"\\F1027"}.mdi-eye-off::before{content:"\\F0209"}.mdi-eye-off-outline::before{content:"\\F06D1"}.mdi-eye-outline::before{content:"\\F06D0"}.mdi-eye-plus::before{content:"\\F086B"}.mdi-eye-plus-outline::before{content:"\\F086C"}.mdi-eye-settings::before{content:"\\F086D"}.mdi-eye-settings-outline::before{content:"\\F086E"}.mdi-eyedropper::before{content:"\\F020A"}.mdi-eyedropper-minus::before{content:"\\F13DD"}.mdi-eyedropper-off::before{content:"\\F13DF"}.mdi-eyedropper-plus::before{content:"\\F13DC"}.mdi-eyedropper-remove::before{content:"\\F13DE"}.mdi-eyedropper-variant::before{content:"\\F020B"}.mdi-face::before{content:"\\F0643"}.mdi-face-agent::before{content:"\\F0D70"}.mdi-face-outline::before{content:"\\F0B96"}.mdi-face-profile::before{content:"\\F0644"}.mdi-face-profile-woman::before{content:"\\F1076"}.mdi-face-recognition::before{content:"\\F0C7B"}.mdi-face-woman::before{content:"\\F1077"}.mdi-face-woman-outline::before{content:"\\F1078"}.mdi-facebook::before{content:"\\F020C"}.mdi-facebook-messenger::before{content:"\\F020E"}.mdi-facebook-workplace::before{content:"\\F0B31"}.mdi-factory::before{content:"\\F020F"}.mdi-fan::before{content:"\\F0210"}.mdi-fan-alert::before{content:"\\F146C"}.mdi-fan-chevron-down::before{content:"\\F146D"}.mdi-fan-chevron-up::before{content:"\\F146E"}.mdi-fan-minus::before{content:"\\F1470"}.mdi-fan-off::before{content:"\\F081D"}.mdi-fan-plus::before{content:"\\F146F"}.mdi-fan-remove::before{content:"\\F1471"}.mdi-fan-speed-1::before{content:"\\F1472"}.mdi-fan-speed-2::before{content:"\\F1473"}.mdi-fan-speed-3::before{content:"\\F1474"}.mdi-fast-forward::before{content:"\\F0211"}.mdi-fast-forward-10::before{content:"\\F0D71"}.mdi-fast-forward-30::before{content:"\\F0D06"}.mdi-fast-forward-5::before{content:"\\F11F8"}.mdi-fast-forward-outline::before{content:"\\F06D2"}.mdi-fax::before{content:"\\F0212"}.mdi-feather::before{content:"\\F06D3"}.mdi-feature-search::before{content:"\\F0A49"}.mdi-feature-search-outline::before{content:"\\F0A4A"}.mdi-fedora::before{content:"\\F08DB"}.mdi-fencing::before{content:"\\F14C1"}.mdi-ferris-wheel::before{content:"\\F0EA4"}.mdi-ferry::before{content:"\\F0213"}.mdi-file::before{content:"\\F0214"}.mdi-file-account::before{content:"\\F073B"}.mdi-file-account-outline::before{content:"\\F1028"}.mdi-file-alert::before{content:"\\F0A4B"}.mdi-file-alert-outline::before{content:"\\F0A4C"}.mdi-file-cabinet::before{content:"\\F0AB6"}.mdi-file-cad::before{content:"\\F0EEB"}.mdi-file-cad-box::before{content:"\\F0EEC"}.mdi-file-cancel::before{content:"\\F0DC6"}.mdi-file-cancel-outline::before{content:"\\F0DC7"}.mdi-file-certificate::before{content:"\\F1186"}.mdi-file-certificate-outline::before{content:"\\F1187"}.mdi-file-chart::before{content:"\\F0215"}.mdi-file-chart-outline::before{content:"\\F1029"}.mdi-file-check::before{content:"\\F0216"}.mdi-file-check-outline::before{content:"\\F0E29"}.mdi-file-clock::before{content:"\\F12E1"}.mdi-file-clock-outline::before{content:"\\F12E2"}.mdi-file-cloud::before{content:"\\F0217"}.mdi-file-cloud-outline::before{content:"\\F102A"}.mdi-file-code::before{content:"\\F022E"}.mdi-file-code-outline::before{content:"\\F102B"}.mdi-file-cog::before{content:"\\F107B"}.mdi-file-cog-outline::before{content:"\\F107C"}.mdi-file-compare::before{content:"\\F08AA"}.mdi-file-delimited::before{content:"\\F0218"}.mdi-file-delimited-outline::before{content:"\\F0EA5"}.mdi-file-document::before{content:"\\F0219"}.mdi-file-document-edit::before{content:"\\F0DC8"}.mdi-file-document-edit-outline::before{content:"\\F0DC9"}.mdi-file-document-outline::before{content:"\\F09EE"}.mdi-file-download::before{content:"\\F0965"}.mdi-file-download-outline::before{content:"\\F0966"}.mdi-file-edit::before{content:"\\F11E7"}.mdi-file-edit-outline::before{content:"\\F11E8"}.mdi-file-excel::before{content:"\\F021B"}.mdi-file-excel-box::before{content:"\\F021C"}.mdi-file-excel-box-outline::before{content:"\\F102C"}.mdi-file-excel-outline::before{content:"\\F102D"}.mdi-file-export::before{content:"\\F021D"}.mdi-file-export-outline::before{content:"\\F102E"}.mdi-file-eye::before{content:"\\F0DCA"}.mdi-file-eye-outline::before{content:"\\F0DCB"}.mdi-file-find::before{content:"\\F021E"}.mdi-file-find-outline::before{content:"\\F0B97"}.mdi-file-hidden::before{content:"\\F0613"}.mdi-file-image::before{content:"\\F021F"}.mdi-file-image-outline::before{content:"\\F0EB0"}.mdi-file-import::before{content:"\\F0220"}.mdi-file-import-outline::before{content:"\\F102F"}.mdi-file-key::before{content:"\\F1184"}.mdi-file-key-outline::before{content:"\\F1185"}.mdi-file-link::before{content:"\\F1177"}.mdi-file-link-outline::before{content:"\\F1178"}.mdi-file-lock::before{content:"\\F0221"}.mdi-file-lock-outline::before{content:"\\F1030"}.mdi-file-move::before{content:"\\F0AB9"}.mdi-file-move-outline::before{content:"\\F1031"}.mdi-file-multiple::before{content:"\\F0222"}.mdi-file-multiple-outline::before{content:"\\F1032"}.mdi-file-music::before{content:"\\F0223"}.mdi-file-music-outline::before{content:"\\F0E2A"}.mdi-file-outline::before{content:"\\F0224"}.mdi-file-pdf::before{content:"\\F0225"}.mdi-file-pdf-box::before{content:"\\F0226"}.mdi-file-pdf-box-outline::before{content:"\\F0FB3"}.mdi-file-pdf-outline::before{content:"\\F0E2D"}.mdi-file-percent::before{content:"\\F081E"}.mdi-file-percent-outline::before{content:"\\F1033"}.mdi-file-phone::before{content:"\\F1179"}.mdi-file-phone-outline::before{content:"\\F117A"}.mdi-file-plus::before{content:"\\F0752"}.mdi-file-plus-outline::before{content:"\\F0EED"}.mdi-file-powerpoint::before{content:"\\F0227"}.mdi-file-powerpoint-box::before{content:"\\F0228"}.mdi-file-powerpoint-box-outline::before{content:"\\F1034"}.mdi-file-powerpoint-outline::before{content:"\\F1035"}.mdi-file-presentation-box::before{content:"\\F0229"}.mdi-file-question::before{content:"\\F086F"}.mdi-file-question-outline::before{content:"\\F1036"}.mdi-file-refresh::before{content:"\\F0918"}.mdi-file-refresh-outline::before{content:"\\F0541"}.mdi-file-remove::before{content:"\\F0B98"}.mdi-file-remove-outline::before{content:"\\F1037"}.mdi-file-replace::before{content:"\\F0B32"}.mdi-file-replace-outline::before{content:"\\F0B33"}.mdi-file-restore::before{content:"\\F0670"}.mdi-file-restore-outline::before{content:"\\F1038"}.mdi-file-search::before{content:"\\F0C7C"}.mdi-file-search-outline::before{content:"\\F0C7D"}.mdi-file-send::before{content:"\\F022A"}.mdi-file-send-outline::before{content:"\\F1039"}.mdi-file-settings::before{content:"\\F1079"}.mdi-file-settings-outline::before{content:"\\F107A"}.mdi-file-star::before{content:"\\F103A"}.mdi-file-star-outline::before{content:"\\F103B"}.mdi-file-swap::before{content:"\\F0FB4"}.mdi-file-swap-outline::before{content:"\\F0FB5"}.mdi-file-sync::before{content:"\\F1216"}.mdi-file-sync-outline::before{content:"\\F1217"}.mdi-file-table::before{content:"\\F0C7E"}.mdi-file-table-box::before{content:"\\F10E1"}.mdi-file-table-box-multiple::before{content:"\\F10E2"}.mdi-file-table-box-multiple-outline::before{content:"\\F10E3"}.mdi-file-table-box-outline::before{content:"\\F10E4"}.mdi-file-table-outline::before{content:"\\F0C7F"}.mdi-file-tree::before{content:"\\F0645"}.mdi-file-tree-outline::before{content:"\\F13D2"}.mdi-file-undo::before{content:"\\F08DC"}.mdi-file-undo-outline::before{content:"\\F103C"}.mdi-file-upload::before{content:"\\F0A4D"}.mdi-file-upload-outline::before{content:"\\F0A4E"}.mdi-file-video::before{content:"\\F022B"}.mdi-file-video-outline::before{content:"\\F0E2C"}.mdi-file-word::before{content:"\\F022C"}.mdi-file-word-box::before{content:"\\F022D"}.mdi-file-word-box-outline::before{content:"\\F103D"}.mdi-file-word-outline::before{content:"\\F103E"}.mdi-film::before{content:"\\F022F"}.mdi-filmstrip::before{content:"\\F0230"}.mdi-filmstrip-box::before{content:"\\F0332"}.mdi-filmstrip-box-multiple::before{content:"\\F0D18"}.mdi-filmstrip-off::before{content:"\\F0231"}.mdi-filter::before{content:"\\F0232"}.mdi-filter-menu::before{content:"\\F10E5"}.mdi-filter-menu-outline::before{content:"\\F10E6"}.mdi-filter-minus::before{content:"\\F0EEE"}.mdi-filter-minus-outline::before{content:"\\F0EEF"}.mdi-filter-outline::before{content:"\\F0233"}.mdi-filter-plus::before{content:"\\F0EF0"}.mdi-filter-plus-outline::before{content:"\\F0EF1"}.mdi-filter-remove::before{content:"\\F0234"}.mdi-filter-remove-outline::before{content:"\\F0235"}.mdi-filter-variant::before{content:"\\F0236"}.mdi-filter-variant-minus::before{content:"\\F1112"}.mdi-filter-variant-plus::before{content:"\\F1113"}.mdi-filter-variant-remove::before{content:"\\F103F"}.mdi-finance::before{content:"\\F081F"}.mdi-find-replace::before{content:"\\F06D4"}.mdi-fingerprint::before{content:"\\F0237"}.mdi-fingerprint-off::before{content:"\\F0EB1"}.mdi-fire::before{content:"\\F0238"}.mdi-fire-extinguisher::before{content:"\\F0EF2"}.mdi-fire-hydrant::before{content:"\\F1137"}.mdi-fire-hydrant-alert::before{content:"\\F1138"}.mdi-fire-hydrant-off::before{content:"\\F1139"}.mdi-fire-truck::before{content:"\\F08AB"}.mdi-firebase::before{content:"\\F0967"}.mdi-firefox::before{content:"\\F0239"}.mdi-fireplace::before{content:"\\F0E2E"}.mdi-fireplace-off::before{content:"\\F0E2F"}.mdi-firework::before{content:"\\F0E30"}.mdi-fish::before{content:"\\F023A"}.mdi-fish-off::before{content:"\\F13F3"}.mdi-fishbowl::before{content:"\\F0EF3"}.mdi-fishbowl-outline::before{content:"\\F0EF4"}.mdi-fit-to-page::before{content:"\\F0EF5"}.mdi-fit-to-page-outline::before{content:"\\F0EF6"}.mdi-flag::before{content:"\\F023B"}.mdi-flag-checkered::before{content:"\\F023C"}.mdi-flag-minus::before{content:"\\F0B99"}.mdi-flag-minus-outline::before{content:"\\F10B2"}.mdi-flag-outline::before{content:"\\F023D"}.mdi-flag-plus::before{content:"\\F0B9A"}.mdi-flag-plus-outline::before{content:"\\F10B3"}.mdi-flag-remove::before{content:"\\F0B9B"}.mdi-flag-remove-outline::before{content:"\\F10B4"}.mdi-flag-triangle::before{content:"\\F023F"}.mdi-flag-variant::before{content:"\\F0240"}.mdi-flag-variant-outline::before{content:"\\F023E"}.mdi-flare::before{content:"\\F0D72"}.mdi-flash::before{content:"\\F0241"}.mdi-flash-alert::before{content:"\\F0EF7"}.mdi-flash-alert-outline::before{content:"\\F0EF8"}.mdi-flash-auto::before{content:"\\F0242"}.mdi-flash-circle::before{content:"\\F0820"}.mdi-flash-off::before{content:"\\F0243"}.mdi-flash-outline::before{content:"\\F06D5"}.mdi-flash-red-eye::before{content:"\\F067B"}.mdi-flashlight::before{content:"\\F0244"}.mdi-flashlight-off::before{content:"\\F0245"}.mdi-flask::before{content:"\\F0093"}.mdi-flask-empty::before{content:"\\F0094"}.mdi-flask-empty-minus::before{content:"\\F123A"}.mdi-flask-empty-minus-outline::before{content:"\\F123B"}.mdi-flask-empty-off::before{content:"\\F13F4"}.mdi-flask-empty-off-outline::before{content:"\\F13F5"}.mdi-flask-empty-outline::before{content:"\\F0095"}.mdi-flask-empty-plus::before{content:"\\F123C"}.mdi-flask-empty-plus-outline::before{content:"\\F123D"}.mdi-flask-empty-remove::before{content:"\\F123E"}.mdi-flask-empty-remove-outline::before{content:"\\F123F"}.mdi-flask-minus::before{content:"\\F1240"}.mdi-flask-minus-outline::before{content:"\\F1241"}.mdi-flask-off::before{content:"\\F13F6"}.mdi-flask-off-outline::before{content:"\\F13F7"}.mdi-flask-outline::before{content:"\\F0096"}.mdi-flask-plus::before{content:"\\F1242"}.mdi-flask-plus-outline::before{content:"\\F1243"}.mdi-flask-remove::before{content:"\\F1244"}.mdi-flask-remove-outline::before{content:"\\F1245"}.mdi-flask-round-bottom::before{content:"\\F124B"}.mdi-flask-round-bottom-empty::before{content:"\\F124C"}.mdi-flask-round-bottom-empty-outline::before{content:"\\F124D"}.mdi-flask-round-bottom-outline::before{content:"\\F124E"}.mdi-fleur-de-lis::before{content:"\\F1303"}.mdi-flip-horizontal::before{content:"\\F10E7"}.mdi-flip-to-back::before{content:"\\F0247"}.mdi-flip-to-front::before{content:"\\F0248"}.mdi-flip-vertical::before{content:"\\F10E8"}.mdi-floor-lamp::before{content:"\\F08DD"}.mdi-floor-lamp-dual::before{content:"\\F1040"}.mdi-floor-lamp-variant::before{content:"\\F1041"}.mdi-floor-plan::before{content:"\\F0821"}.mdi-floppy::before{content:"\\F0249"}.mdi-floppy-variant::before{content:"\\F09EF"}.mdi-flower::before{content:"\\F024A"}.mdi-flower-outline::before{content:"\\F09F0"}.mdi-flower-poppy::before{content:"\\F0D08"}.mdi-flower-tulip::before{content:"\\F09F1"}.mdi-flower-tulip-outline::before{content:"\\F09F2"}.mdi-focus-auto::before{content:"\\F0F4E"}.mdi-focus-field::before{content:"\\F0F4F"}.mdi-focus-field-horizontal::before{content:"\\F0F50"}.mdi-focus-field-vertical::before{content:"\\F0F51"}.mdi-folder::before{content:"\\F024B"}.mdi-folder-account::before{content:"\\F024C"}.mdi-folder-account-outline::before{content:"\\F0B9C"}.mdi-folder-alert::before{content:"\\F0DCC"}.mdi-folder-alert-outline::before{content:"\\F0DCD"}.mdi-folder-clock::before{content:"\\F0ABA"}.mdi-folder-clock-outline::before{content:"\\F0ABB"}.mdi-folder-cog::before{content:"\\F107F"}.mdi-folder-cog-outline::before{content:"\\F1080"}.mdi-folder-download::before{content:"\\F024D"}.mdi-folder-download-outline::before{content:"\\F10E9"}.mdi-folder-edit::before{content:"\\F08DE"}.mdi-folder-edit-outline::before{content:"\\F0DCE"}.mdi-folder-google-drive::before{content:"\\F024E"}.mdi-folder-heart::before{content:"\\F10EA"}.mdi-folder-heart-outline::before{content:"\\F10EB"}.mdi-folder-home::before{content:"\\F10B5"}.mdi-folder-home-outline::before{content:"\\F10B6"}.mdi-folder-image::before{content:"\\F024F"}.mdi-folder-information::before{content:"\\F10B7"}.mdi-folder-information-outline::before{content:"\\F10B8"}.mdi-folder-key::before{content:"\\F08AC"}.mdi-folder-key-network::before{content:"\\F08AD"}.mdi-folder-key-network-outline::before{content:"\\F0C80"}.mdi-folder-key-outline::before{content:"\\F10EC"}.mdi-folder-lock::before{content:"\\F0250"}.mdi-folder-lock-open::before{content:"\\F0251"}.mdi-folder-marker::before{content:"\\F126D"}.mdi-folder-marker-outline::before{content:"\\F126E"}.mdi-folder-move::before{content:"\\F0252"}.mdi-folder-move-outline::before{content:"\\F1246"}.mdi-folder-multiple::before{content:"\\F0253"}.mdi-folder-multiple-image::before{content:"\\F0254"}.mdi-folder-multiple-outline::before{content:"\\F0255"}.mdi-folder-multiple-plus::before{content:"\\F147E"}.mdi-folder-multiple-plus-outline::before{content:"\\F147F"}.mdi-folder-music::before{content:"\\F1359"}.mdi-folder-music-outline::before{content:"\\F135A"}.mdi-folder-network::before{content:"\\F0870"}.mdi-folder-network-outline::before{content:"\\F0C81"}.mdi-folder-open::before{content:"\\F0770"}.mdi-folder-open-outline::before{content:"\\F0DCF"}.mdi-folder-outline::before{content:"\\F0256"}.mdi-folder-plus::before{content:"\\F0257"}.mdi-folder-plus-outline::before{content:"\\F0B9D"}.mdi-folder-pound::before{content:"\\F0D09"}.mdi-folder-pound-outline::before{content:"\\F0D0A"}.mdi-folder-refresh::before{content:"\\F0749"}.mdi-folder-refresh-outline::before{content:"\\F0542"}.mdi-folder-remove::before{content:"\\F0258"}.mdi-folder-remove-outline::before{content:"\\F0B9E"}.mdi-folder-search::before{content:"\\F0968"}.mdi-folder-search-outline::before{content:"\\F0969"}.mdi-folder-settings::before{content:"\\F107D"}.mdi-folder-settings-outline::before{content:"\\F107E"}.mdi-folder-star::before{content:"\\F069D"}.mdi-folder-star-multiple::before{content:"\\F13D3"}.mdi-folder-star-multiple-outline::before{content:"\\F13D4"}.mdi-folder-star-outline::before{content:"\\F0B9F"}.mdi-folder-swap::before{content:"\\F0FB6"}.mdi-folder-swap-outline::before{content:"\\F0FB7"}.mdi-folder-sync::before{content:"\\F0D0B"}.mdi-folder-sync-outline::before{content:"\\F0D0C"}.mdi-folder-table::before{content:"\\F12E3"}.mdi-folder-table-outline::before{content:"\\F12E4"}.mdi-folder-text::before{content:"\\F0C82"}.mdi-folder-text-outline::before{content:"\\F0C83"}.mdi-folder-upload::before{content:"\\F0259"}.mdi-folder-upload-outline::before{content:"\\F10ED"}.mdi-folder-zip::before{content:"\\F06EB"}.mdi-folder-zip-outline::before{content:"\\F07B9"}.mdi-font-awesome::before{content:"\\F003A"}.mdi-food::before{content:"\\F025A"}.mdi-food-apple::before{content:"\\F025B"}.mdi-food-apple-outline::before{content:"\\F0C84"}.mdi-food-croissant::before{content:"\\F07C8"}.mdi-food-drumstick::before{content:"\\F141F"}.mdi-food-drumstick-off::before{content:"\\F1468"}.mdi-food-drumstick-off-outline::before{content:"\\F1469"}.mdi-food-drumstick-outline::before{content:"\\F1420"}.mdi-food-fork-drink::before{content:"\\F05F2"}.mdi-food-off::before{content:"\\F05F3"}.mdi-food-steak::before{content:"\\F146A"}.mdi-food-steak-off::before{content:"\\F146B"}.mdi-food-variant::before{content:"\\F025C"}.mdi-food-variant-off::before{content:"\\F13E5"}.mdi-foot-print::before{content:"\\F0F52"}.mdi-football::before{content:"\\F025D"}.mdi-football-australian::before{content:"\\F025E"}.mdi-football-helmet::before{content:"\\F025F"}.mdi-forklift::before{content:"\\F07C9"}.mdi-form-dropdown::before{content:"\\F1400"}.mdi-form-select::before{content:"\\F1401"}.mdi-form-textarea::before{content:"\\F1095"}.mdi-form-textbox::before{content:"\\F060E"}.mdi-form-textbox-lock::before{content:"\\F135D"}.mdi-form-textbox-password::before{content:"\\F07F5"}.mdi-format-align-bottom::before{content:"\\F0753"}.mdi-format-align-center::before{content:"\\F0260"}.mdi-format-align-justify::before{content:"\\F0261"}.mdi-format-align-left::before{content:"\\F0262"}.mdi-format-align-middle::before{content:"\\F0754"}.mdi-format-align-right::before{content:"\\F0263"}.mdi-format-align-top::before{content:"\\F0755"}.mdi-format-annotation-minus::before{content:"\\F0ABC"}.mdi-format-annotation-plus::before{content:"\\F0646"}.mdi-format-bold::before{content:"\\F0264"}.mdi-format-clear::before{content:"\\F0265"}.mdi-format-color-fill::before{content:"\\F0266"}.mdi-format-color-highlight::before{content:"\\F0E31"}.mdi-format-color-marker-cancel::before{content:"\\F1313"}.mdi-format-color-text::before{content:"\\F069E"}.mdi-format-columns::before{content:"\\F08DF"}.mdi-format-float-center::before{content:"\\F0267"}.mdi-format-float-left::before{content:"\\F0268"}.mdi-format-float-none::before{content:"\\F0269"}.mdi-format-float-right::before{content:"\\F026A"}.mdi-format-font::before{content:"\\F06D6"}.mdi-format-font-size-decrease::before{content:"\\F09F3"}.mdi-format-font-size-increase::before{content:"\\F09F4"}.mdi-format-header-1::before{content:"\\F026B"}.mdi-format-header-2::before{content:"\\F026C"}.mdi-format-header-3::before{content:"\\F026D"}.mdi-format-header-4::before{content:"\\F026E"}.mdi-format-header-5::before{content:"\\F026F"}.mdi-format-header-6::before{content:"\\F0270"}.mdi-format-header-decrease::before{content:"\\F0271"}.mdi-format-header-equal::before{content:"\\F0272"}.mdi-format-header-increase::before{content:"\\F0273"}.mdi-format-header-pound::before{content:"\\F0274"}.mdi-format-horizontal-align-center::before{content:"\\F061E"}.mdi-format-horizontal-align-left::before{content:"\\F061F"}.mdi-format-horizontal-align-right::before{content:"\\F0620"}.mdi-format-indent-decrease::before{content:"\\F0275"}.mdi-format-indent-increase::before{content:"\\F0276"}.mdi-format-italic::before{content:"\\F0277"}.mdi-format-letter-case::before{content:"\\F0B34"}.mdi-format-letter-case-lower::before{content:"\\F0B35"}.mdi-format-letter-case-upper::before{content:"\\F0B36"}.mdi-format-letter-ends-with::before{content:"\\F0FB8"}.mdi-format-letter-matches::before{content:"\\F0FB9"}.mdi-format-letter-starts-with::before{content:"\\F0FBA"}.mdi-format-line-spacing::before{content:"\\F0278"}.mdi-format-line-style::before{content:"\\F05C8"}.mdi-format-line-weight::before{content:"\\F05C9"}.mdi-format-list-bulleted::before{content:"\\F0279"}.mdi-format-list-bulleted-square::before{content:"\\F0DD0"}.mdi-format-list-bulleted-triangle::before{content:"\\F0EB2"}.mdi-format-list-bulleted-type::before{content:"\\F027A"}.mdi-format-list-checkbox::before{content:"\\F096A"}.mdi-format-list-checks::before{content:"\\F0756"}.mdi-format-list-numbered::before{content:"\\F027B"}.mdi-format-list-numbered-rtl::before{content:"\\F0D0D"}.mdi-format-list-text::before{content:"\\F126F"}.mdi-format-overline::before{content:"\\F0EB3"}.mdi-format-page-break::before{content:"\\F06D7"}.mdi-format-paint::before{content:"\\F027C"}.mdi-format-paragraph::before{content:"\\F027D"}.mdi-format-pilcrow::before{content:"\\F06D8"}.mdi-format-quote-close::before{content:"\\F027E"}.mdi-format-quote-close-outline::before{content:"\\F11A8"}.mdi-format-quote-open::before{content:"\\F0757"}.mdi-format-quote-open-outline::before{content:"\\F11A7"}.mdi-format-rotate-90::before{content:"\\F06AA"}.mdi-format-section::before{content:"\\F069F"}.mdi-format-size::before{content:"\\F027F"}.mdi-format-strikethrough::before{content:"\\F0280"}.mdi-format-strikethrough-variant::before{content:"\\F0281"}.mdi-format-subscript::before{content:"\\F0282"}.mdi-format-superscript::before{content:"\\F0283"}.mdi-format-text::before{content:"\\F0284"}.mdi-format-text-rotation-angle-down::before{content:"\\F0FBB"}.mdi-format-text-rotation-angle-up::before{content:"\\F0FBC"}.mdi-format-text-rotation-down::before{content:"\\F0D73"}.mdi-format-text-rotation-down-vertical::before{content:"\\F0FBD"}.mdi-format-text-rotation-none::before{content:"\\F0D74"}.mdi-format-text-rotation-up::before{content:"\\F0FBE"}.mdi-format-text-rotation-vertical::before{content:"\\F0FBF"}.mdi-format-text-variant::before{content:"\\F0E32"}.mdi-format-text-wrapping-clip::before{content:"\\F0D0E"}.mdi-format-text-wrapping-overflow::before{content:"\\F0D0F"}.mdi-format-text-wrapping-wrap::before{content:"\\F0D10"}.mdi-format-textbox::before{content:"\\F0D11"}.mdi-format-textdirection-l-to-r::before{content:"\\F0285"}.mdi-format-textdirection-r-to-l::before{content:"\\F0286"}.mdi-format-title::before{content:"\\F05F4"}.mdi-format-underline::before{content:"\\F0287"}.mdi-format-vertical-align-bottom::before{content:"\\F0621"}.mdi-format-vertical-align-center::before{content:"\\F0622"}.mdi-format-vertical-align-top::before{content:"\\F0623"}.mdi-format-wrap-inline::before{content:"\\F0288"}.mdi-format-wrap-square::before{content:"\\F0289"}.mdi-format-wrap-tight::before{content:"\\F028A"}.mdi-format-wrap-top-bottom::before{content:"\\F028B"}.mdi-forum::before{content:"\\F028C"}.mdi-forum-outline::before{content:"\\F0822"}.mdi-forward::before{content:"\\F028D"}.mdi-forwardburger::before{content:"\\F0D75"}.mdi-fountain::before{content:"\\F096B"}.mdi-fountain-pen::before{content:"\\F0D12"}.mdi-fountain-pen-tip::before{content:"\\F0D13"}.mdi-freebsd::before{content:"\\F08E0"}.mdi-frequently-asked-questions::before{content:"\\F0EB4"}.mdi-fridge::before{content:"\\F0290"}.mdi-fridge-alert::before{content:"\\F11B1"}.mdi-fridge-alert-outline::before{content:"\\F11B2"}.mdi-fridge-bottom::before{content:"\\F0292"}.mdi-fridge-off::before{content:"\\F11AF"}.mdi-fridge-off-outline::before{content:"\\F11B0"}.mdi-fridge-outline::before{content:"\\F028F"}.mdi-fridge-top::before{content:"\\F0291"}.mdi-fruit-cherries::before{content:"\\F1042"}.mdi-fruit-cherries-off::before{content:"\\F13F8"}.mdi-fruit-citrus::before{content:"\\F1043"}.mdi-fruit-citrus-off::before{content:"\\F13F9"}.mdi-fruit-grapes::before{content:"\\F1044"}.mdi-fruit-grapes-outline::before{content:"\\F1045"}.mdi-fruit-pineapple::before{content:"\\F1046"}.mdi-fruit-watermelon::before{content:"\\F1047"}.mdi-fuel::before{content:"\\F07CA"}.mdi-fullscreen::before{content:"\\F0293"}.mdi-fullscreen-exit::before{content:"\\F0294"}.mdi-function::before{content:"\\F0295"}.mdi-function-variant::before{content:"\\F0871"}.mdi-furigana-horizontal::before{content:"\\F1081"}.mdi-furigana-vertical::before{content:"\\F1082"}.mdi-fuse::before{content:"\\F0C85"}.mdi-fuse-alert::before{content:"\\F142D"}.mdi-fuse-blade::before{content:"\\F0C86"}.mdi-fuse-off::before{content:"\\F142C"}.mdi-gamepad::before{content:"\\F0296"}.mdi-gamepad-circle::before{content:"\\F0E33"}.mdi-gamepad-circle-down::before{content:"\\F0E34"}.mdi-gamepad-circle-left::before{content:"\\F0E35"}.mdi-gamepad-circle-outline::before{content:"\\F0E36"}.mdi-gamepad-circle-right::before{content:"\\F0E37"}.mdi-gamepad-circle-up::before{content:"\\F0E38"}.mdi-gamepad-down::before{content:"\\F0E39"}.mdi-gamepad-left::before{content:"\\F0E3A"}.mdi-gamepad-right::before{content:"\\F0E3B"}.mdi-gamepad-round::before{content:"\\F0E3C"}.mdi-gamepad-round-down::before{content:"\\F0E3D"}.mdi-gamepad-round-left::before{content:"\\F0E3E"}.mdi-gamepad-round-outline::before{content:"\\F0E3F"}.mdi-gamepad-round-right::before{content:"\\F0E40"}.mdi-gamepad-round-up::before{content:"\\F0E41"}.mdi-gamepad-square::before{content:"\\F0EB5"}.mdi-gamepad-square-outline::before{content:"\\F0EB6"}.mdi-gamepad-up::before{content:"\\F0E42"}.mdi-gamepad-variant::before{content:"\\F0297"}.mdi-gamepad-variant-outline::before{content:"\\F0EB7"}.mdi-gamma::before{content:"\\F10EE"}.mdi-gantry-crane::before{content:"\\F0DD1"}.mdi-garage::before{content:"\\F06D9"}.mdi-garage-alert::before{content:"\\F0872"}.mdi-garage-alert-variant::before{content:"\\F12D5"}.mdi-garage-open::before{content:"\\F06DA"}.mdi-garage-open-variant::before{content:"\\F12D4"}.mdi-garage-variant::before{content:"\\F12D3"}.mdi-gas-cylinder::before{content:"\\F0647"}.mdi-gas-station::before{content:"\\F0298"}.mdi-gas-station-off::before{content:"\\F1409"}.mdi-gas-station-off-outline::before{content:"\\F140A"}.mdi-gas-station-outline::before{content:"\\F0EB8"}.mdi-gate::before{content:"\\F0299"}.mdi-gate-and::before{content:"\\F08E1"}.mdi-gate-arrow-right::before{content:"\\F1169"}.mdi-gate-nand::before{content:"\\F08E2"}.mdi-gate-nor::before{content:"\\F08E3"}.mdi-gate-not::before{content:"\\F08E4"}.mdi-gate-open::before{content:"\\F116A"}.mdi-gate-or::before{content:"\\F08E5"}.mdi-gate-xnor::before{content:"\\F08E6"}.mdi-gate-xor::before{content:"\\F08E7"}.mdi-gatsby::before{content:"\\F0E43"}.mdi-gauge::before{content:"\\F029A"}.mdi-gauge-empty::before{content:"\\F0873"}.mdi-gauge-full::before{content:"\\F0874"}.mdi-gauge-low::before{content:"\\F0875"}.mdi-gavel::before{content:"\\F029B"}.mdi-gender-female::before{content:"\\F029C"}.mdi-gender-male::before{content:"\\F029D"}.mdi-gender-male-female::before{content:"\\F029E"}.mdi-gender-male-female-variant::before{content:"\\F113F"}.mdi-gender-non-binary::before{content:"\\F1140"}.mdi-gender-transgender::before{content:"\\F029F"}.mdi-gentoo::before{content:"\\F08E8"}.mdi-gesture::before{content:"\\F07CB"}.mdi-gesture-double-tap::before{content:"\\F073C"}.mdi-gesture-pinch::before{content:"\\F0ABD"}.mdi-gesture-spread::before{content:"\\F0ABE"}.mdi-gesture-swipe::before{content:"\\F0D76"}.mdi-gesture-swipe-down::before{content:"\\F073D"}.mdi-gesture-swipe-horizontal::before{content:"\\F0ABF"}.mdi-gesture-swipe-left::before{content:"\\F073E"}.mdi-gesture-swipe-right::before{content:"\\F073F"}.mdi-gesture-swipe-up::before{content:"\\F0740"}.mdi-gesture-swipe-vertical::before{content:"\\F0AC0"}.mdi-gesture-tap::before{content:"\\F0741"}.mdi-gesture-tap-box::before{content:"\\F12A9"}.mdi-gesture-tap-button::before{content:"\\F12A8"}.mdi-gesture-tap-hold::before{content:"\\F0D77"}.mdi-gesture-two-double-tap::before{content:"\\F0742"}.mdi-gesture-two-tap::before{content:"\\F0743"}.mdi-ghost::before{content:"\\F02A0"}.mdi-ghost-off::before{content:"\\F09F5"}.mdi-gif::before{content:"\\F0D78"}.mdi-gift::before{content:"\\F0E44"}.mdi-gift-outline::before{content:"\\F02A1"}.mdi-git::before{content:"\\F02A2"}.mdi-github::before{content:"\\F02A4"}.mdi-gitlab::before{content:"\\F0BA0"}.mdi-glass-cocktail::before{content:"\\F0356"}.mdi-glass-flute::before{content:"\\F02A5"}.mdi-glass-mug::before{content:"\\F02A6"}.mdi-glass-mug-variant::before{content:"\\F1116"}.mdi-glass-pint-outline::before{content:"\\F130D"}.mdi-glass-stange::before{content:"\\F02A7"}.mdi-glass-tulip::before{content:"\\F02A8"}.mdi-glass-wine::before{content:"\\F0876"}.mdi-glasses::before{content:"\\F02AA"}.mdi-globe-light::before{content:"\\F12D7"}.mdi-globe-model::before{content:"\\F08E9"}.mdi-gmail::before{content:"\\F02AB"}.mdi-gnome::before{content:"\\F02AC"}.mdi-go-kart::before{content:"\\F0D79"}.mdi-go-kart-track::before{content:"\\F0D7A"}.mdi-gog::before{content:"\\F0BA1"}.mdi-gold::before{content:"\\F124F"}.mdi-golf::before{content:"\\F0823"}.mdi-golf-cart::before{content:"\\F11A4"}.mdi-golf-tee::before{content:"\\F1083"}.mdi-gondola::before{content:"\\F0686"}.mdi-goodreads::before{content:"\\F0D7B"}.mdi-google::before{content:"\\F02AD"}.mdi-google-ads::before{content:"\\F0C87"}.mdi-google-analytics::before{content:"\\F07CC"}.mdi-google-assistant::before{content:"\\F07CD"}.mdi-google-cardboard::before{content:"\\F02AE"}.mdi-google-chrome::before{content:"\\F02AF"}.mdi-google-circles::before{content:"\\F02B0"}.mdi-google-circles-communities::before{content:"\\F02B1"}.mdi-google-circles-extended::before{content:"\\F02B2"}.mdi-google-circles-group::before{content:"\\F02B3"}.mdi-google-classroom::before{content:"\\F02C0"}.mdi-google-cloud::before{content:"\\F11F6"}.mdi-google-controller::before{content:"\\F02B4"}.mdi-google-controller-off::before{content:"\\F02B5"}.mdi-google-downasaur::before{content:"\\F1362"}.mdi-google-drive::before{content:"\\F02B6"}.mdi-google-earth::before{content:"\\F02B7"}.mdi-google-fit::before{content:"\\F096C"}.mdi-google-glass::before{content:"\\F02B8"}.mdi-google-hangouts::before{content:"\\F02C9"}.mdi-google-home::before{content:"\\F0824"}.mdi-google-keep::before{content:"\\F06DC"}.mdi-google-lens::before{content:"\\F09F6"}.mdi-google-maps::before{content:"\\F05F5"}.mdi-google-my-business::before{content:"\\F1048"}.mdi-google-nearby::before{content:"\\F02B9"}.mdi-google-photos::before{content:"\\F06DD"}.mdi-google-play::before{content:"\\F02BC"}.mdi-google-plus::before{content:"\\F02BD"}.mdi-google-podcast::before{content:"\\F0EB9"}.mdi-google-spreadsheet::before{content:"\\F09F7"}.mdi-google-street-view::before{content:"\\F0C88"}.mdi-google-translate::before{content:"\\F02BF"}.mdi-gradient::before{content:"\\F06A0"}.mdi-grain::before{content:"\\F0D7C"}.mdi-graph::before{content:"\\F1049"}.mdi-graph-outline::before{content:"\\F104A"}.mdi-graphql::before{content:"\\F0877"}.mdi-grave-stone::before{content:"\\F0BA2"}.mdi-grease-pencil::before{content:"\\F0648"}.mdi-greater-than::before{content:"\\F096D"}.mdi-greater-than-or-equal::before{content:"\\F096E"}.mdi-grid::before{content:"\\F02C1"}.mdi-grid-large::before{content:"\\F0758"}.mdi-grid-off::before{content:"\\F02C2"}.mdi-grill::before{content:"\\F0E45"}.mdi-grill-outline::before{content:"\\F118A"}.mdi-group::before{content:"\\F02C3"}.mdi-guitar-acoustic::before{content:"\\F0771"}.mdi-guitar-electric::before{content:"\\F02C4"}.mdi-guitar-pick::before{content:"\\F02C5"}.mdi-guitar-pick-outline::before{content:"\\F02C6"}.mdi-guy-fawkes-mask::before{content:"\\F0825"}.mdi-hail::before{content:"\\F0AC1"}.mdi-hair-dryer::before{content:"\\F10EF"}.mdi-hair-dryer-outline::before{content:"\\F10F0"}.mdi-halloween::before{content:"\\F0BA3"}.mdi-hamburger::before{content:"\\F0685"}.mdi-hammer::before{content:"\\F08EA"}.mdi-hammer-screwdriver::before{content:"\\F1322"}.mdi-hammer-wrench::before{content:"\\F1323"}.mdi-hand::before{content:"\\F0A4F"}.mdi-hand-heart::before{content:"\\F10F1"}.mdi-hand-left::before{content:"\\F0E46"}.mdi-hand-okay::before{content:"\\F0A50"}.mdi-hand-peace::before{content:"\\F0A51"}.mdi-hand-peace-variant::before{content:"\\F0A52"}.mdi-hand-pointing-down::before{content:"\\F0A53"}.mdi-hand-pointing-left::before{content:"\\F0A54"}.mdi-hand-pointing-right::before{content:"\\F02C7"}.mdi-hand-pointing-up::before{content:"\\F0A55"}.mdi-hand-right::before{content:"\\F0E47"}.mdi-hand-saw::before{content:"\\F0E48"}.mdi-hand-water::before{content:"\\F139F"}.mdi-handball::before{content:"\\F0F53"}.mdi-handcuffs::before{content:"\\F113E"}.mdi-handshake::before{content:"\\F1218"}.mdi-hanger::before{content:"\\F02C8"}.mdi-hard-hat::before{content:"\\F096F"}.mdi-harddisk::before{content:"\\F02CA"}.mdi-harddisk-plus::before{content:"\\F104B"}.mdi-harddisk-remove::before{content:"\\F104C"}.mdi-hat-fedora::before{content:"\\F0BA4"}.mdi-hazard-lights::before{content:"\\F0C89"}.mdi-hdr::before{content:"\\F0D7D"}.mdi-hdr-off::before{content:"\\F0D7E"}.mdi-head::before{content:"\\F135E"}.mdi-head-alert::before{content:"\\F1338"}.mdi-head-alert-outline::before{content:"\\F1339"}.mdi-head-check::before{content:"\\F133A"}.mdi-head-check-outline::before{content:"\\F133B"}.mdi-head-cog::before{content:"\\F133C"}.mdi-head-cog-outline::before{content:"\\F133D"}.mdi-head-dots-horizontal::before{content:"\\F133E"}.mdi-head-dots-horizontal-outline::before{content:"\\F133F"}.mdi-head-flash::before{content:"\\F1340"}.mdi-head-flash-outline::before{content:"\\F1341"}.mdi-head-heart::before{content:"\\F1342"}.mdi-head-heart-outline::before{content:"\\F1343"}.mdi-head-lightbulb::before{content:"\\F1344"}.mdi-head-lightbulb-outline::before{content:"\\F1345"}.mdi-head-minus::before{content:"\\F1346"}.mdi-head-minus-outline::before{content:"\\F1347"}.mdi-head-outline::before{content:"\\F135F"}.mdi-head-plus::before{content:"\\F1348"}.mdi-head-plus-outline::before{content:"\\F1349"}.mdi-head-question::before{content:"\\F134A"}.mdi-head-question-outline::before{content:"\\F134B"}.mdi-head-remove::before{content:"\\F134C"}.mdi-head-remove-outline::before{content:"\\F134D"}.mdi-head-snowflake::before{content:"\\F134E"}.mdi-head-snowflake-outline::before{content:"\\F134F"}.mdi-head-sync::before{content:"\\F1350"}.mdi-head-sync-outline::before{content:"\\F1351"}.mdi-headphones::before{content:"\\F02CB"}.mdi-headphones-bluetooth::before{content:"\\F0970"}.mdi-headphones-box::before{content:"\\F02CC"}.mdi-headphones-off::before{content:"\\F07CE"}.mdi-headphones-settings::before{content:"\\F02CD"}.mdi-headset::before{content:"\\F02CE"}.mdi-headset-dock::before{content:"\\F02CF"}.mdi-headset-off::before{content:"\\F02D0"}.mdi-heart::before{content:"\\F02D1"}.mdi-heart-box::before{content:"\\F02D2"}.mdi-heart-box-outline::before{content:"\\F02D3"}.mdi-heart-broken::before{content:"\\F02D4"}.mdi-heart-broken-outline::before{content:"\\F0D14"}.mdi-heart-circle::before{content:"\\F0971"}.mdi-heart-circle-outline::before{content:"\\F0972"}.mdi-heart-flash::before{content:"\\F0EF9"}.mdi-heart-half::before{content:"\\F06DF"}.mdi-heart-half-full::before{content:"\\F06DE"}.mdi-heart-half-outline::before{content:"\\F06E0"}.mdi-heart-minus::before{content:"\\F142F"}.mdi-heart-minus-outline::before{content:"\\F1432"}.mdi-heart-multiple::before{content:"\\F0A56"}.mdi-heart-multiple-outline::before{content:"\\F0A57"}.mdi-heart-off::before{content:"\\F0759"}.mdi-heart-off-outline::before{content:"\\F1434"}.mdi-heart-outline::before{content:"\\F02D5"}.mdi-heart-plus::before{content:"\\F142E"}.mdi-heart-plus-outline::before{content:"\\F1431"}.mdi-heart-pulse::before{content:"\\F05F6"}.mdi-heart-remove::before{content:"\\F1430"}.mdi-heart-remove-outline::before{content:"\\F1433"}.mdi-helicopter::before{content:"\\F0AC2"}.mdi-help::before{content:"\\F02D6"}.mdi-help-box::before{content:"\\F078B"}.mdi-help-circle::before{content:"\\F02D7"}.mdi-help-circle-outline::before{content:"\\F0625"}.mdi-help-network::before{content:"\\F06F5"}.mdi-help-network-outline::before{content:"\\F0C8A"}.mdi-help-rhombus::before{content:"\\F0BA5"}.mdi-help-rhombus-outline::before{content:"\\F0BA6"}.mdi-hexadecimal::before{content:"\\F12A7"}.mdi-hexagon::before{content:"\\F02D8"}.mdi-hexagon-multiple::before{content:"\\F06E1"}.mdi-hexagon-multiple-outline::before{content:"\\F10F2"}.mdi-hexagon-outline::before{content:"\\F02D9"}.mdi-hexagon-slice-1::before{content:"\\F0AC3"}.mdi-hexagon-slice-2::before{content:"\\F0AC4"}.mdi-hexagon-slice-3::before{content:"\\F0AC5"}.mdi-hexagon-slice-4::before{content:"\\F0AC6"}.mdi-hexagon-slice-5::before{content:"\\F0AC7"}.mdi-hexagon-slice-6::before{content:"\\F0AC8"}.mdi-hexagram::before{content:"\\F0AC9"}.mdi-hexagram-outline::before{content:"\\F0ACA"}.mdi-high-definition::before{content:"\\F07CF"}.mdi-high-definition-box::before{content:"\\F0878"}.mdi-highway::before{content:"\\F05F7"}.mdi-hiking::before{content:"\\F0D7F"}.mdi-hinduism::before{content:"\\F0973"}.mdi-history::before{content:"\\F02DA"}.mdi-hockey-puck::before{content:"\\F0879"}.mdi-hockey-sticks::before{content:"\\F087A"}.mdi-hololens::before{content:"\\F02DB"}.mdi-home::before{content:"\\F02DC"}.mdi-home-account::before{content:"\\F0826"}.mdi-home-alert::before{content:"\\F087B"}.mdi-home-analytics::before{content:"\\F0EBA"}.mdi-home-assistant::before{content:"\\F07D0"}.mdi-home-automation::before{content:"\\F07D1"}.mdi-home-circle::before{content:"\\F07D2"}.mdi-home-circle-outline::before{content:"\\F104D"}.mdi-home-city::before{content:"\\F0D15"}.mdi-home-city-outline::before{content:"\\F0D16"}.mdi-home-currency-usd::before{content:"\\F08AF"}.mdi-home-edit::before{content:"\\F1159"}.mdi-home-edit-outline::before{content:"\\F115A"}.mdi-home-export-outline::before{content:"\\F0F9B"}.mdi-home-flood::before{content:"\\F0EFA"}.mdi-home-floor-0::before{content:"\\F0DD2"}.mdi-home-floor-1::before{content:"\\F0D80"}.mdi-home-floor-2::before{content:"\\F0D81"}.mdi-home-floor-3::before{content:"\\F0D82"}.mdi-home-floor-a::before{content:"\\F0D83"}.mdi-home-floor-b::before{content:"\\F0D84"}.mdi-home-floor-g::before{content:"\\F0D85"}.mdi-home-floor-l::before{content:"\\F0D86"}.mdi-home-floor-negative-1::before{content:"\\F0DD3"}.mdi-home-group::before{content:"\\F0DD4"}.mdi-home-heart::before{content:"\\F0827"}.mdi-home-import-outline::before{content:"\\F0F9C"}.mdi-home-lightbulb::before{content:"\\F1251"}.mdi-home-lightbulb-outline::before{content:"\\F1252"}.mdi-home-lock::before{content:"\\F08EB"}.mdi-home-lock-open::before{content:"\\F08EC"}.mdi-home-map-marker::before{content:"\\F05F8"}.mdi-home-minus::before{content:"\\F0974"}.mdi-home-minus-outline::before{content:"\\F13D5"}.mdi-home-modern::before{content:"\\F02DD"}.mdi-home-outline::before{content:"\\F06A1"}.mdi-home-plus::before{content:"\\F0975"}.mdi-home-plus-outline::before{content:"\\F13D6"}.mdi-home-remove::before{content:"\\F1247"}.mdi-home-remove-outline::before{content:"\\F13D7"}.mdi-home-roof::before{content:"\\F112B"}.mdi-home-search::before{content:"\\F13B0"}.mdi-home-search-outline::before{content:"\\F13B1"}.mdi-home-thermometer::before{content:"\\F0F54"}.mdi-home-thermometer-outline::before{content:"\\F0F55"}.mdi-home-variant::before{content:"\\F02DE"}.mdi-home-variant-outline::before{content:"\\F0BA7"}.mdi-hook::before{content:"\\F06E2"}.mdi-hook-off::before{content:"\\F06E3"}.mdi-hops::before{content:"\\F02DF"}.mdi-horizontal-rotate-clockwise::before{content:"\\F10F3"}.mdi-horizontal-rotate-counterclockwise::before{content:"\\F10F4"}.mdi-horseshoe::before{content:"\\F0A58"}.mdi-hospital::before{content:"\\F0FF6"}.mdi-hospital-box::before{content:"\\F02E0"}.mdi-hospital-box-outline::before{content:"\\F0FF7"}.mdi-hospital-building::before{content:"\\F02E1"}.mdi-hospital-marker::before{content:"\\F02E2"}.mdi-hot-tub::before{content:"\\F0828"}.mdi-hours-24::before{content:"\\F1478"}.mdi-hubspot::before{content:"\\F0D17"}.mdi-hulu::before{content:"\\F0829"}.mdi-human::before{content:"\\F02E6"}.mdi-human-baby-changing-table::before{content:"\\F138B"}.mdi-human-child::before{content:"\\F02E7"}.mdi-human-female::before{content:"\\F0649"}.mdi-human-female-boy::before{content:"\\F0A59"}.mdi-human-female-female::before{content:"\\F0A5A"}.mdi-human-female-girl::before{content:"\\F0A5B"}.mdi-human-greeting::before{content:"\\F064A"}.mdi-human-handsdown::before{content:"\\F064B"}.mdi-human-handsup::before{content:"\\F064C"}.mdi-human-male::before{content:"\\F064D"}.mdi-human-male-boy::before{content:"\\F0A5C"}.mdi-human-male-child::before{content:"\\F138C"}.mdi-human-male-female::before{content:"\\F02E8"}.mdi-human-male-girl::before{content:"\\F0A5D"}.mdi-human-male-height::before{content:"\\F0EFB"}.mdi-human-male-height-variant::before{content:"\\F0EFC"}.mdi-human-male-male::before{content:"\\F0A5E"}.mdi-human-pregnant::before{content:"\\F05CF"}.mdi-human-wheelchair::before{content:"\\F138D"}.mdi-humble-bundle::before{content:"\\F0744"}.mdi-hvac::before{content:"\\F1352"}.mdi-hydraulic-oil-level::before{content:"\\F1324"}.mdi-hydraulic-oil-temperature::before{content:"\\F1325"}.mdi-hydro-power::before{content:"\\F12E5"}.mdi-ice-cream::before{content:"\\F082A"}.mdi-ice-cream-off::before{content:"\\F0E52"}.mdi-ice-pop::before{content:"\\F0EFD"}.mdi-id-card::before{content:"\\F0FC0"}.mdi-identifier::before{content:"\\F0EFE"}.mdi-ideogram-cjk::before{content:"\\F1331"}.mdi-ideogram-cjk-variant::before{content:"\\F1332"}.mdi-iframe::before{content:"\\F0C8B"}.mdi-iframe-array::before{content:"\\F10F5"}.mdi-iframe-array-outline::before{content:"\\F10F6"}.mdi-iframe-braces::before{content:"\\F10F7"}.mdi-iframe-braces-outline::before{content:"\\F10F8"}.mdi-iframe-outline::before{content:"\\F0C8C"}.mdi-iframe-parentheses::before{content:"\\F10F9"}.mdi-iframe-parentheses-outline::before{content:"\\F10FA"}.mdi-iframe-variable::before{content:"\\F10FB"}.mdi-iframe-variable-outline::before{content:"\\F10FC"}.mdi-image::before{content:"\\F02E9"}.mdi-image-album::before{content:"\\F02EA"}.mdi-image-area::before{content:"\\F02EB"}.mdi-image-area-close::before{content:"\\F02EC"}.mdi-image-auto-adjust::before{content:"\\F0FC1"}.mdi-image-broken::before{content:"\\F02ED"}.mdi-image-broken-variant::before{content:"\\F02EE"}.mdi-image-edit::before{content:"\\F11E3"}.mdi-image-edit-outline::before{content:"\\F11E4"}.mdi-image-filter-black-white::before{content:"\\F02F0"}.mdi-image-filter-center-focus::before{content:"\\F02F1"}.mdi-image-filter-center-focus-strong::before{content:"\\F0EFF"}.mdi-image-filter-center-focus-strong-outline::before{content:"\\F0F00"}.mdi-image-filter-center-focus-weak::before{content:"\\F02F2"}.mdi-image-filter-drama::before{content:"\\F02F3"}.mdi-image-filter-frames::before{content:"\\F02F4"}.mdi-image-filter-hdr::before{content:"\\F02F5"}.mdi-image-filter-none::before{content:"\\F02F6"}.mdi-image-filter-tilt-shift::before{content:"\\F02F7"}.mdi-image-filter-vintage::before{content:"\\F02F8"}.mdi-image-frame::before{content:"\\F0E49"}.mdi-image-minus::before{content:"\\F1419"}.mdi-image-move::before{content:"\\F09F8"}.mdi-image-multiple::before{content:"\\F02F9"}.mdi-image-multiple-outline::before{content:"\\F02EF"}.mdi-image-off::before{content:"\\F082B"}.mdi-image-off-outline::before{content:"\\F11D1"}.mdi-image-outline::before{content:"\\F0976"}.mdi-image-plus::before{content:"\\F087C"}.mdi-image-remove::before{content:"\\F1418"}.mdi-image-search::before{content:"\\F0977"}.mdi-image-search-outline::before{content:"\\F0978"}.mdi-image-size-select-actual::before{content:"\\F0C8D"}.mdi-image-size-select-large::before{content:"\\F0C8E"}.mdi-image-size-select-small::before{content:"\\F0C8F"}.mdi-import::before{content:"\\F02FA"}.mdi-inbox::before{content:"\\F0687"}.mdi-inbox-arrow-down::before{content:"\\F02FB"}.mdi-inbox-arrow-down-outline::before{content:"\\F1270"}.mdi-inbox-arrow-up::before{content:"\\F03D1"}.mdi-inbox-arrow-up-outline::before{content:"\\F1271"}.mdi-inbox-full::before{content:"\\F1272"}.mdi-inbox-full-outline::before{content:"\\F1273"}.mdi-inbox-multiple::before{content:"\\F08B0"}.mdi-inbox-multiple-outline::before{content:"\\F0BA8"}.mdi-inbox-outline::before{content:"\\F1274"}.mdi-incognito::before{content:"\\F05F9"}.mdi-incognito-circle::before{content:"\\F1421"}.mdi-incognito-circle-off::before{content:"\\F1422"}.mdi-incognito-off::before{content:"\\F0075"}.mdi-infinity::before{content:"\\F06E4"}.mdi-information::before{content:"\\F02FC"}.mdi-information-outline::before{content:"\\F02FD"}.mdi-information-variant::before{content:"\\F064E"}.mdi-instagram::before{content:"\\F02FE"}.mdi-instrument-triangle::before{content:"\\F104E"}.mdi-invert-colors::before{content:"\\F0301"}.mdi-invert-colors-off::before{content:"\\F0E4A"}.mdi-iobroker::before{content:"\\F12E8"}.mdi-ip::before{content:"\\F0A5F"}.mdi-ip-network::before{content:"\\F0A60"}.mdi-ip-network-outline::before{content:"\\F0C90"}.mdi-ipod::before{content:"\\F0C91"}.mdi-islam::before{content:"\\F0979"}.mdi-island::before{content:"\\F104F"}.mdi-iv-bag::before{content:"\\F10B9"}.mdi-jabber::before{content:"\\F0DD5"}.mdi-jeepney::before{content:"\\F0302"}.mdi-jellyfish::before{content:"\\F0F01"}.mdi-jellyfish-outline::before{content:"\\F0F02"}.mdi-jira::before{content:"\\F0303"}.mdi-jquery::before{content:"\\F087D"}.mdi-jsfiddle::before{content:"\\F0304"}.mdi-judaism::before{content:"\\F097A"}.mdi-jump-rope::before{content:"\\F12FF"}.mdi-kabaddi::before{content:"\\F0D87"}.mdi-karate::before{content:"\\F082C"}.mdi-keg::before{content:"\\F0305"}.mdi-kettle::before{content:"\\F05FA"}.mdi-kettle-alert::before{content:"\\F1317"}.mdi-kettle-alert-outline::before{content:"\\F1318"}.mdi-kettle-off::before{content:"\\F131B"}.mdi-kettle-off-outline::before{content:"\\F131C"}.mdi-kettle-outline::before{content:"\\F0F56"}.mdi-kettle-steam::before{content:"\\F1319"}.mdi-kettle-steam-outline::before{content:"\\F131A"}.mdi-kettlebell::before{content:"\\F1300"}.mdi-key::before{content:"\\F0306"}.mdi-key-arrow-right::before{content:"\\F1312"}.mdi-key-change::before{content:"\\F0307"}.mdi-key-link::before{content:"\\F119F"}.mdi-key-minus::before{content:"\\F0308"}.mdi-key-outline::before{content:"\\F0DD6"}.mdi-key-plus::before{content:"\\F0309"}.mdi-key-remove::before{content:"\\F030A"}.mdi-key-star::before{content:"\\F119E"}.mdi-key-variant::before{content:"\\F030B"}.mdi-key-wireless::before{content:"\\F0FC2"}.mdi-keyboard::before{content:"\\F030C"}.mdi-keyboard-backspace::before{content:"\\F030D"}.mdi-keyboard-caps::before{content:"\\F030E"}.mdi-keyboard-close::before{content:"\\F030F"}.mdi-keyboard-esc::before{content:"\\F12B7"}.mdi-keyboard-f1::before{content:"\\F12AB"}.mdi-keyboard-f10::before{content:"\\F12B4"}.mdi-keyboard-f11::before{content:"\\F12B5"}.mdi-keyboard-f12::before{content:"\\F12B6"}.mdi-keyboard-f2::before{content:"\\F12AC"}.mdi-keyboard-f3::before{content:"\\F12AD"}.mdi-keyboard-f4::before{content:"\\F12AE"}.mdi-keyboard-f5::before{content:"\\F12AF"}.mdi-keyboard-f6::before{content:"\\F12B0"}.mdi-keyboard-f7::before{content:"\\F12B1"}.mdi-keyboard-f8::before{content:"\\F12B2"}.mdi-keyboard-f9::before{content:"\\F12B3"}.mdi-keyboard-off::before{content:"\\F0310"}.mdi-keyboard-off-outline::before{content:"\\F0E4B"}.mdi-keyboard-outline::before{content:"\\F097B"}.mdi-keyboard-return::before{content:"\\F0311"}.mdi-keyboard-settings::before{content:"\\F09F9"}.mdi-keyboard-settings-outline::before{content:"\\F09FA"}.mdi-keyboard-space::before{content:"\\F1050"}.mdi-keyboard-tab::before{content:"\\F0312"}.mdi-keyboard-variant::before{content:"\\F0313"}.mdi-khanda::before{content:"\\F10FD"}.mdi-kickstarter::before{content:"\\F0745"}.mdi-klingon::before{content:"\\F135B"}.mdi-knife::before{content:"\\F09FB"}.mdi-knife-military::before{content:"\\F09FC"}.mdi-kodi::before{content:"\\F0314"}.mdi-kubernetes::before{content:"\\F10FE"}.mdi-label::before{content:"\\F0315"}.mdi-label-multiple::before{content:"\\F1375"}.mdi-label-multiple-outline::before{content:"\\F1376"}.mdi-label-off::before{content:"\\F0ACB"}.mdi-label-off-outline::before{content:"\\F0ACC"}.mdi-label-outline::before{content:"\\F0316"}.mdi-label-percent::before{content:"\\F12EA"}.mdi-label-percent-outline::before{content:"\\F12EB"}.mdi-label-variant::before{content:"\\F0ACD"}.mdi-label-variant-outline::before{content:"\\F0ACE"}.mdi-ladybug::before{content:"\\F082D"}.mdi-lambda::before{content:"\\F0627"}.mdi-lamp::before{content:"\\F06B5"}.mdi-lan::before{content:"\\F0317"}.mdi-lan-check::before{content:"\\F12AA"}.mdi-lan-connect::before{content:"\\F0318"}.mdi-lan-disconnect::before{content:"\\F0319"}.mdi-lan-pending::before{content:"\\F031A"}.mdi-language-c::before{content:"\\F0671"}.mdi-language-cpp::before{content:"\\F0672"}.mdi-language-csharp::before{content:"\\F031B"}.mdi-language-css3::before{content:"\\F031C"}.mdi-language-fortran::before{content:"\\F121A"}.mdi-language-go::before{content:"\\F07D3"}.mdi-language-haskell::before{content:"\\F0C92"}.mdi-language-html5::before{content:"\\F031D"}.mdi-language-java::before{content:"\\F0B37"}.mdi-language-javascript::before{content:"\\F031E"}.mdi-language-kotlin::before{content:"\\F1219"}.mdi-language-lua::before{content:"\\F08B1"}.mdi-language-markdown::before{content:"\\F0354"}.mdi-language-markdown-outline::before{content:"\\F0F5B"}.mdi-language-php::before{content:"\\F031F"}.mdi-language-python::before{content:"\\F0320"}.mdi-language-r::before{content:"\\F07D4"}.mdi-language-ruby::before{content:"\\F0D2D"}.mdi-language-ruby-on-rails::before{content:"\\F0ACF"}.mdi-language-swift::before{content:"\\F06E5"}.mdi-language-typescript::before{content:"\\F06E6"}.mdi-language-xaml::before{content:"\\F0673"}.mdi-laptop::before{content:"\\F0322"}.mdi-laptop-chromebook::before{content:"\\F0323"}.mdi-laptop-mac::before{content:"\\F0324"}.mdi-laptop-off::before{content:"\\F06E7"}.mdi-laptop-windows::before{content:"\\F0325"}.mdi-laravel::before{content:"\\F0AD0"}.mdi-laser-pointer::before{content:"\\F1484"}.mdi-lasso::before{content:"\\F0F03"}.mdi-lastpass::before{content:"\\F0446"}.mdi-latitude::before{content:"\\F0F57"}.mdi-launch::before{content:"\\F0327"}.mdi-lava-lamp::before{content:"\\F07D5"}.mdi-layers::before{content:"\\F0328"}.mdi-layers-minus::before{content:"\\F0E4C"}.mdi-layers-off::before{content:"\\F0329"}.mdi-layers-off-outline::before{content:"\\F09FD"}.mdi-layers-outline::before{content:"\\F09FE"}.mdi-layers-plus::before{content:"\\F0E4D"}.mdi-layers-remove::before{content:"\\F0E4E"}.mdi-layers-search::before{content:"\\F1206"}.mdi-layers-search-outline::before{content:"\\F1207"}.mdi-layers-triple::before{content:"\\F0F58"}.mdi-layers-triple-outline::before{content:"\\F0F59"}.mdi-lead-pencil::before{content:"\\F064F"}.mdi-leaf::before{content:"\\F032A"}.mdi-leaf-maple::before{content:"\\F0C93"}.mdi-leaf-maple-off::before{content:"\\F12DA"}.mdi-leaf-off::before{content:"\\F12D9"}.mdi-leak::before{content:"\\F0DD7"}.mdi-leak-off::before{content:"\\F0DD8"}.mdi-led-off::before{content:"\\F032B"}.mdi-led-on::before{content:"\\F032C"}.mdi-led-outline::before{content:"\\F032D"}.mdi-led-strip::before{content:"\\F07D6"}.mdi-led-strip-variant::before{content:"\\F1051"}.mdi-led-variant-off::before{content:"\\F032E"}.mdi-led-variant-on::before{content:"\\F032F"}.mdi-led-variant-outline::before{content:"\\F0330"}.mdi-leek::before{content:"\\F117D"}.mdi-less-than::before{content:"\\F097C"}.mdi-less-than-or-equal::before{content:"\\F097D"}.mdi-library::before{content:"\\F0331"}.mdi-library-shelves::before{content:"\\F0BA9"}.mdi-license::before{content:"\\F0FC3"}.mdi-lifebuoy::before{content:"\\F087E"}.mdi-light-switch::before{content:"\\F097E"}.mdi-lightbulb::before{content:"\\F0335"}.mdi-lightbulb-cfl::before{content:"\\F1208"}.mdi-lightbulb-cfl-off::before{content:"\\F1209"}.mdi-lightbulb-cfl-spiral::before{content:"\\F1275"}.mdi-lightbulb-cfl-spiral-off::before{content:"\\F12C3"}.mdi-lightbulb-group::before{content:"\\F1253"}.mdi-lightbulb-group-off::before{content:"\\F12CD"}.mdi-lightbulb-group-off-outline::before{content:"\\F12CE"}.mdi-lightbulb-group-outline::before{content:"\\F1254"}.mdi-lightbulb-multiple::before{content:"\\F1255"}.mdi-lightbulb-multiple-off::before{content:"\\F12CF"}.mdi-lightbulb-multiple-off-outline::before{content:"\\F12D0"}.mdi-lightbulb-multiple-outline::before{content:"\\F1256"}.mdi-lightbulb-off::before{content:"\\F0E4F"}.mdi-lightbulb-off-outline::before{content:"\\F0E50"}.mdi-lightbulb-on::before{content:"\\F06E8"}.mdi-lightbulb-on-outline::before{content:"\\F06E9"}.mdi-lightbulb-outline::before{content:"\\F0336"}.mdi-lighthouse::before{content:"\\F09FF"}.mdi-lighthouse-on::before{content:"\\F0A00"}.mdi-lightning-bolt::before{content:"\\F140B"}.mdi-lightning-bolt-outline::before{content:"\\F140C"}.mdi-lingerie::before{content:"\\F1476"}.mdi-link::before{content:"\\F0337"}.mdi-link-box::before{content:"\\F0D1A"}.mdi-link-box-outline::before{content:"\\F0D1B"}.mdi-link-box-variant::before{content:"\\F0D1C"}.mdi-link-box-variant-outline::before{content:"\\F0D1D"}.mdi-link-lock::before{content:"\\F10BA"}.mdi-link-off::before{content:"\\F0338"}.mdi-link-plus::before{content:"\\F0C94"}.mdi-link-variant::before{content:"\\F0339"}.mdi-link-variant-minus::before{content:"\\F10FF"}.mdi-link-variant-off::before{content:"\\F033A"}.mdi-link-variant-plus::before{content:"\\F1100"}.mdi-link-variant-remove::before{content:"\\F1101"}.mdi-linkedin::before{content:"\\F033B"}.mdi-linux::before{content:"\\F033D"}.mdi-linux-mint::before{content:"\\F08ED"}.mdi-lipstick::before{content:"\\F13B5"}.mdi-litecoin::before{content:"\\F0A61"}.mdi-loading::before{content:"\\F0772"}.mdi-location-enter::before{content:"\\F0FC4"}.mdi-location-exit::before{content:"\\F0FC5"}.mdi-lock::before{content:"\\F033E"}.mdi-lock-alert::before{content:"\\F08EE"}.mdi-lock-check::before{content:"\\F139A"}.mdi-lock-clock::before{content:"\\F097F"}.mdi-lock-open::before{content:"\\F033F"}.mdi-lock-open-alert::before{content:"\\F139B"}.mdi-lock-open-check::before{content:"\\F139C"}.mdi-lock-open-outline::before{content:"\\F0340"}.mdi-lock-open-variant::before{content:"\\F0FC6"}.mdi-lock-open-variant-outline::before{content:"\\F0FC7"}.mdi-lock-outline::before{content:"\\F0341"}.mdi-lock-pattern::before{content:"\\F06EA"}.mdi-lock-plus::before{content:"\\F05FB"}.mdi-lock-question::before{content:"\\F08EF"}.mdi-lock-reset::before{content:"\\F0773"}.mdi-lock-smart::before{content:"\\F08B2"}.mdi-locker::before{content:"\\F07D7"}.mdi-locker-multiple::before{content:"\\F07D8"}.mdi-login::before{content:"\\F0342"}.mdi-login-variant::before{content:"\\F05FC"}.mdi-logout::before{content:"\\F0343"}.mdi-logout-variant::before{content:"\\F05FD"}.mdi-longitude::before{content:"\\F0F5A"}.mdi-looks::before{content:"\\F0344"}.mdi-loupe::before{content:"\\F0345"}.mdi-lumx::before{content:"\\F0346"}.mdi-lungs::before{content:"\\F1084"}.mdi-magnet::before{content:"\\F0347"}.mdi-magnet-on::before{content:"\\F0348"}.mdi-magnify::before{content:"\\F0349"}.mdi-magnify-close::before{content:"\\F0980"}.mdi-magnify-minus::before{content:"\\F034A"}.mdi-magnify-minus-cursor::before{content:"\\F0A62"}.mdi-magnify-minus-outline::before{content:"\\F06EC"}.mdi-magnify-plus::before{content:"\\F034B"}.mdi-magnify-plus-cursor::before{content:"\\F0A63"}.mdi-magnify-plus-outline::before{content:"\\F06ED"}.mdi-magnify-remove-cursor::before{content:"\\F120C"}.mdi-magnify-remove-outline::before{content:"\\F120D"}.mdi-magnify-scan::before{content:"\\F1276"}.mdi-mail::before{content:"\\F0EBB"}.mdi-mailbox::before{content:"\\F06EE"}.mdi-mailbox-open::before{content:"\\F0D88"}.mdi-mailbox-open-outline::before{content:"\\F0D89"}.mdi-mailbox-open-up::before{content:"\\F0D8A"}.mdi-mailbox-open-up-outline::before{content:"\\F0D8B"}.mdi-mailbox-outline::before{content:"\\F0D8C"}.mdi-mailbox-up::before{content:"\\F0D8D"}.mdi-mailbox-up-outline::before{content:"\\F0D8E"}.mdi-map::before{content:"\\F034D"}.mdi-map-check::before{content:"\\F0EBC"}.mdi-map-check-outline::before{content:"\\F0EBD"}.mdi-map-clock::before{content:"\\F0D1E"}.mdi-map-clock-outline::before{content:"\\F0D1F"}.mdi-map-legend::before{content:"\\F0A01"}.mdi-map-marker::before{content:"\\F034E"}.mdi-map-marker-alert::before{content:"\\F0F05"}.mdi-map-marker-alert-outline::before{content:"\\F0F06"}.mdi-map-marker-check::before{content:"\\F0C95"}.mdi-map-marker-check-outline::before{content:"\\F12FB"}.mdi-map-marker-circle::before{content:"\\F034F"}.mdi-map-marker-distance::before{content:"\\F08F0"}.mdi-map-marker-down::before{content:"\\F1102"}.mdi-map-marker-left::before{content:"\\F12DB"}.mdi-map-marker-left-outline::before{content:"\\F12DD"}.mdi-map-marker-minus::before{content:"\\F0650"}.mdi-map-marker-minus-outline::before{content:"\\F12F9"}.mdi-map-marker-multiple::before{content:"\\F0350"}.mdi-map-marker-multiple-outline::before{content:"\\F1277"}.mdi-map-marker-off::before{content:"\\F0351"}.mdi-map-marker-off-outline::before{content:"\\F12FD"}.mdi-map-marker-outline::before{content:"\\F07D9"}.mdi-map-marker-path::before{content:"\\F0D20"}.mdi-map-marker-plus::before{content:"\\F0651"}.mdi-map-marker-plus-outline::before{content:"\\F12F8"}.mdi-map-marker-question::before{content:"\\F0F07"}.mdi-map-marker-question-outline::before{content:"\\F0F08"}.mdi-map-marker-radius::before{content:"\\F0352"}.mdi-map-marker-radius-outline::before{content:"\\F12FC"}.mdi-map-marker-remove::before{content:"\\F0F09"}.mdi-map-marker-remove-outline::before{content:"\\F12FA"}.mdi-map-marker-remove-variant::before{content:"\\F0F0A"}.mdi-map-marker-right::before{content:"\\F12DC"}.mdi-map-marker-right-outline::before{content:"\\F12DE"}.mdi-map-marker-up::before{content:"\\F1103"}.mdi-map-minus::before{content:"\\F0981"}.mdi-map-outline::before{content:"\\F0982"}.mdi-map-plus::before{content:"\\F0983"}.mdi-map-search::before{content:"\\F0984"}.mdi-map-search-outline::before{content:"\\F0985"}.mdi-mapbox::before{content:"\\F0BAA"}.mdi-margin::before{content:"\\F0353"}.mdi-marker::before{content:"\\F0652"}.mdi-marker-cancel::before{content:"\\F0DD9"}.mdi-marker-check::before{content:"\\F0355"}.mdi-mastodon::before{content:"\\F0AD1"}.mdi-material-design::before{content:"\\F0986"}.mdi-material-ui::before{content:"\\F0357"}.mdi-math-compass::before{content:"\\F0358"}.mdi-math-cos::before{content:"\\F0C96"}.mdi-math-integral::before{content:"\\F0FC8"}.mdi-math-integral-box::before{content:"\\F0FC9"}.mdi-math-log::before{content:"\\F1085"}.mdi-math-norm::before{content:"\\F0FCA"}.mdi-math-norm-box::before{content:"\\F0FCB"}.mdi-math-sin::before{content:"\\F0C97"}.mdi-math-tan::before{content:"\\F0C98"}.mdi-matrix::before{content:"\\F0628"}.mdi-medal::before{content:"\\F0987"}.mdi-medal-outline::before{content:"\\F1326"}.mdi-medical-bag::before{content:"\\F06EF"}.mdi-meditation::before{content:"\\F117B"}.mdi-memory::before{content:"\\F035B"}.mdi-menu::before{content:"\\F035C"}.mdi-menu-down::before{content:"\\F035D"}.mdi-menu-down-outline::before{content:"\\F06B6"}.mdi-menu-left::before{content:"\\F035E"}.mdi-menu-left-outline::before{content:"\\F0A02"}.mdi-menu-open::before{content:"\\F0BAB"}.mdi-menu-right::before{content:"\\F035F"}.mdi-menu-right-outline::before{content:"\\F0A03"}.mdi-menu-swap::before{content:"\\F0A64"}.mdi-menu-swap-outline::before{content:"\\F0A65"}.mdi-menu-up::before{content:"\\F0360"}.mdi-menu-up-outline::before{content:"\\F06B7"}.mdi-merge::before{content:"\\F0F5C"}.mdi-message::before{content:"\\F0361"}.mdi-message-alert::before{content:"\\F0362"}.mdi-message-alert-outline::before{content:"\\F0A04"}.mdi-message-arrow-left::before{content:"\\F12F2"}.mdi-message-arrow-left-outline::before{content:"\\F12F3"}.mdi-message-arrow-right::before{content:"\\F12F4"}.mdi-message-arrow-right-outline::before{content:"\\F12F5"}.mdi-message-bulleted::before{content:"\\F06A2"}.mdi-message-bulleted-off::before{content:"\\F06A3"}.mdi-message-cog::before{content:"\\F06F1"}.mdi-message-cog-outline::before{content:"\\F1172"}.mdi-message-draw::before{content:"\\F0363"}.mdi-message-image::before{content:"\\F0364"}.mdi-message-image-outline::before{content:"\\F116C"}.mdi-message-lock::before{content:"\\F0FCC"}.mdi-message-lock-outline::before{content:"\\F116D"}.mdi-message-minus::before{content:"\\F116E"}.mdi-message-minus-outline::before{content:"\\F116F"}.mdi-message-outline::before{content:"\\F0365"}.mdi-message-plus::before{content:"\\F0653"}.mdi-message-plus-outline::before{content:"\\F10BB"}.mdi-message-processing::before{content:"\\F0366"}.mdi-message-processing-outline::before{content:"\\F1170"}.mdi-message-reply::before{content:"\\F0367"}.mdi-message-reply-text::before{content:"\\F0368"}.mdi-message-settings::before{content:"\\F06F0"}.mdi-message-settings-outline::before{content:"\\F1171"}.mdi-message-text::before{content:"\\F0369"}.mdi-message-text-clock::before{content:"\\F1173"}.mdi-message-text-clock-outline::before{content:"\\F1174"}.mdi-message-text-lock::before{content:"\\F0FCD"}.mdi-message-text-lock-outline::before{content:"\\F1175"}.mdi-message-text-outline::before{content:"\\F036A"}.mdi-message-video::before{content:"\\F036B"}.mdi-meteor::before{content:"\\F0629"}.mdi-metronome::before{content:"\\F07DA"}.mdi-metronome-tick::before{content:"\\F07DB"}.mdi-micro-sd::before{content:"\\F07DC"}.mdi-microphone::before{content:"\\F036C"}.mdi-microphone-minus::before{content:"\\F08B3"}.mdi-microphone-off::before{content:"\\F036D"}.mdi-microphone-outline::before{content:"\\F036E"}.mdi-microphone-plus::before{content:"\\F08B4"}.mdi-microphone-settings::before{content:"\\F036F"}.mdi-microphone-variant::before{content:"\\F0370"}.mdi-microphone-variant-off::before{content:"\\F0371"}.mdi-microscope::before{content:"\\F0654"}.mdi-microsoft::before{content:"\\F0372"}.mdi-microsoft-access::before{content:"\\F138E"}.mdi-microsoft-azure::before{content:"\\F0805"}.mdi-microsoft-azure-devops::before{content:"\\F0FD5"}.mdi-microsoft-bing::before{content:"\\F00A4"}.mdi-microsoft-dynamics-365::before{content:"\\F0988"}.mdi-microsoft-edge::before{content:"\\F01E9"}.mdi-microsoft-edge-legacy::before{content:"\\F1250"}.mdi-microsoft-excel::before{content:"\\F138F"}.mdi-microsoft-internet-explorer::before{content:"\\F0300"}.mdi-microsoft-office::before{content:"\\F03C6"}.mdi-microsoft-onedrive::before{content:"\\F03CA"}.mdi-microsoft-onenote::before{content:"\\F0747"}.mdi-microsoft-outlook::before{content:"\\F0D22"}.mdi-microsoft-powerpoint::before{content:"\\F1390"}.mdi-microsoft-sharepoint::before{content:"\\F1391"}.mdi-microsoft-teams::before{content:"\\F02BB"}.mdi-microsoft-visual-studio::before{content:"\\F0610"}.mdi-microsoft-visual-studio-code::before{content:"\\F0A1E"}.mdi-microsoft-windows::before{content:"\\F05B3"}.mdi-microsoft-windows-classic::before{content:"\\F0A21"}.mdi-microsoft-word::before{content:"\\F1392"}.mdi-microsoft-xbox::before{content:"\\F05B9"}.mdi-microsoft-xbox-controller::before{content:"\\F05BA"}.mdi-microsoft-xbox-controller-battery-alert::before{content:"\\F074B"}.mdi-microsoft-xbox-controller-battery-charging::before{content:"\\F0A22"}.mdi-microsoft-xbox-controller-battery-empty::before{content:"\\F074C"}.mdi-microsoft-xbox-controller-battery-full::before{content:"\\F074D"}.mdi-microsoft-xbox-controller-battery-low::before{content:"\\F074E"}.mdi-microsoft-xbox-controller-battery-medium::before{content:"\\F074F"}.mdi-microsoft-xbox-controller-battery-unknown::before{content:"\\F0750"}.mdi-microsoft-xbox-controller-menu::before{content:"\\F0E6F"}.mdi-microsoft-xbox-controller-off::before{content:"\\F05BB"}.mdi-microsoft-xbox-controller-view::before{content:"\\F0E70"}.mdi-microsoft-yammer::before{content:"\\F0789"}.mdi-microwave::before{content:"\\F0C99"}.mdi-microwave-off::before{content:"\\F1423"}.mdi-middleware::before{content:"\\F0F5D"}.mdi-middleware-outline::before{content:"\\F0F5E"}.mdi-midi::before{content:"\\F08F1"}.mdi-midi-port::before{content:"\\F08F2"}.mdi-mine::before{content:"\\F0DDA"}.mdi-minecraft::before{content:"\\F0373"}.mdi-mini-sd::before{content:"\\F0A05"}.mdi-minidisc::before{content:"\\F0A06"}.mdi-minus::before{content:"\\F0374"}.mdi-minus-box::before{content:"\\F0375"}.mdi-minus-box-multiple::before{content:"\\F1141"}.mdi-minus-box-multiple-outline::before{content:"\\F1142"}.mdi-minus-box-outline::before{content:"\\F06F2"}.mdi-minus-circle::before{content:"\\F0376"}.mdi-minus-circle-multiple::before{content:"\\F035A"}.mdi-minus-circle-multiple-outline::before{content:"\\F0AD3"}.mdi-minus-circle-off::before{content:"\\F1459"}.mdi-minus-circle-off-outline::before{content:"\\F145A"}.mdi-minus-circle-outline::before{content:"\\F0377"}.mdi-minus-network::before{content:"\\F0378"}.mdi-minus-network-outline::before{content:"\\F0C9A"}.mdi-mirror::before{content:"\\F11FD"}.mdi-mixed-martial-arts::before{content:"\\F0D8F"}.mdi-mixed-reality::before{content:"\\F087F"}.mdi-mixer::before{content:"\\F07DD"}.mdi-molecule::before{content:"\\F0BAC"}.mdi-molecule-co::before{content:"\\F12FE"}.mdi-molecule-co2::before{content:"\\F07E4"}.mdi-monitor::before{content:"\\F0379"}.mdi-monitor-cellphone::before{content:"\\F0989"}.mdi-monitor-cellphone-star::before{content:"\\F098A"}.mdi-monitor-clean::before{content:"\\F1104"}.mdi-monitor-dashboard::before{content:"\\F0A07"}.mdi-monitor-edit::before{content:"\\F12C6"}.mdi-monitor-eye::before{content:"\\F13B4"}.mdi-monitor-lock::before{content:"\\F0DDB"}.mdi-monitor-multiple::before{content:"\\F037A"}.mdi-monitor-off::before{content:"\\F0D90"}.mdi-monitor-screenshot::before{content:"\\F0E51"}.mdi-monitor-share::before{content:"\\F1483"}.mdi-monitor-speaker::before{content:"\\F0F5F"}.mdi-monitor-speaker-off::before{content:"\\F0F60"}.mdi-monitor-star::before{content:"\\F0DDC"}.mdi-moon-first-quarter::before{content:"\\F0F61"}.mdi-moon-full::before{content:"\\F0F62"}.mdi-moon-last-quarter::before{content:"\\F0F63"}.mdi-moon-new::before{content:"\\F0F64"}.mdi-moon-waning-crescent::before{content:"\\F0F65"}.mdi-moon-waning-gibbous::before{content:"\\F0F66"}.mdi-moon-waxing-crescent::before{content:"\\F0F67"}.mdi-moon-waxing-gibbous::before{content:"\\F0F68"}.mdi-moped::before{content:"\\F1086"}.mdi-more::before{content:"\\F037B"}.mdi-mother-heart::before{content:"\\F1314"}.mdi-mother-nurse::before{content:"\\F0D21"}.mdi-motion-sensor::before{content:"\\F0D91"}.mdi-motion-sensor-off::before{content:"\\F1435"}.mdi-motorbike::before{content:"\\F037C"}.mdi-mouse::before{content:"\\F037D"}.mdi-mouse-bluetooth::before{content:"\\F098B"}.mdi-mouse-off::before{content:"\\F037E"}.mdi-mouse-variant::before{content:"\\F037F"}.mdi-mouse-variant-off::before{content:"\\F0380"}.mdi-move-resize::before{content:"\\F0655"}.mdi-move-resize-variant::before{content:"\\F0656"}.mdi-movie::before{content:"\\F0381"}.mdi-movie-edit::before{content:"\\F1122"}.mdi-movie-edit-outline::before{content:"\\F1123"}.mdi-movie-filter::before{content:"\\F1124"}.mdi-movie-filter-outline::before{content:"\\F1125"}.mdi-movie-open::before{content:"\\F0FCE"}.mdi-movie-open-outline::before{content:"\\F0FCF"}.mdi-movie-outline::before{content:"\\F0DDD"}.mdi-movie-roll::before{content:"\\F07DE"}.mdi-movie-search::before{content:"\\F11D2"}.mdi-movie-search-outline::before{content:"\\F11D3"}.mdi-muffin::before{content:"\\F098C"}.mdi-multiplication::before{content:"\\F0382"}.mdi-multiplication-box::before{content:"\\F0383"}.mdi-mushroom::before{content:"\\F07DF"}.mdi-mushroom-off::before{content:"\\F13FA"}.mdi-mushroom-off-outline::before{content:"\\F13FB"}.mdi-mushroom-outline::before{content:"\\F07E0"}.mdi-music::before{content:"\\F075A"}.mdi-music-accidental-double-flat::before{content:"\\F0F69"}.mdi-music-accidental-double-sharp::before{content:"\\F0F6A"}.mdi-music-accidental-flat::before{content:"\\F0F6B"}.mdi-music-accidental-natural::before{content:"\\F0F6C"}.mdi-music-accidental-sharp::before{content:"\\F0F6D"}.mdi-music-box::before{content:"\\F0384"}.mdi-music-box-multiple::before{content:"\\F0333"}.mdi-music-box-multiple-outline::before{content:"\\F0F04"}.mdi-music-box-outline::before{content:"\\F0385"}.mdi-music-circle::before{content:"\\F0386"}.mdi-music-circle-outline::before{content:"\\F0AD4"}.mdi-music-clef-alto::before{content:"\\F0F6E"}.mdi-music-clef-bass::before{content:"\\F0F6F"}.mdi-music-clef-treble::before{content:"\\F0F70"}.mdi-music-note::before{content:"\\F0387"}.mdi-music-note-bluetooth::before{content:"\\F05FE"}.mdi-music-note-bluetooth-off::before{content:"\\F05FF"}.mdi-music-note-eighth::before{content:"\\F0388"}.mdi-music-note-eighth-dotted::before{content:"\\F0F71"}.mdi-music-note-half::before{content:"\\F0389"}.mdi-music-note-half-dotted::before{content:"\\F0F72"}.mdi-music-note-off::before{content:"\\F038A"}.mdi-music-note-off-outline::before{content:"\\F0F73"}.mdi-music-note-outline::before{content:"\\F0F74"}.mdi-music-note-plus::before{content:"\\F0DDE"}.mdi-music-note-quarter::before{content:"\\F038B"}.mdi-music-note-quarter-dotted::before{content:"\\F0F75"}.mdi-music-note-sixteenth::before{content:"\\F038C"}.mdi-music-note-sixteenth-dotted::before{content:"\\F0F76"}.mdi-music-note-whole::before{content:"\\F038D"}.mdi-music-note-whole-dotted::before{content:"\\F0F77"}.mdi-music-off::before{content:"\\F075B"}.mdi-music-rest-eighth::before{content:"\\F0F78"}.mdi-music-rest-half::before{content:"\\F0F79"}.mdi-music-rest-quarter::before{content:"\\F0F7A"}.mdi-music-rest-sixteenth::before{content:"\\F0F7B"}.mdi-music-rest-whole::before{content:"\\F0F7C"}.mdi-nail::before{content:"\\F0DDF"}.mdi-nas::before{content:"\\F08F3"}.mdi-nativescript::before{content:"\\F0880"}.mdi-nature::before{content:"\\F038E"}.mdi-nature-people::before{content:"\\F038F"}.mdi-navigation::before{content:"\\F0390"}.mdi-near-me::before{content:"\\F05CD"}.mdi-necklace::before{content:"\\F0F0B"}.mdi-needle::before{content:"\\F0391"}.mdi-netflix::before{content:"\\F0746"}.mdi-network::before{content:"\\F06F3"}.mdi-network-off::before{content:"\\F0C9B"}.mdi-network-off-outline::before{content:"\\F0C9C"}.mdi-network-outline::before{content:"\\F0C9D"}.mdi-network-strength-1::before{content:"\\F08F4"}.mdi-network-strength-1-alert::before{content:"\\F08F5"}.mdi-network-strength-2::before{content:"\\F08F6"}.mdi-network-strength-2-alert::before{content:"\\F08F7"}.mdi-network-strength-3::before{content:"\\F08F8"}.mdi-network-strength-3-alert::before{content:"\\F08F9"}.mdi-network-strength-4::before{content:"\\F08FA"}.mdi-network-strength-4-alert::before{content:"\\F08FB"}.mdi-network-strength-off::before{content:"\\F08FC"}.mdi-network-strength-off-outline::before{content:"\\F08FD"}.mdi-network-strength-outline::before{content:"\\F08FE"}.mdi-new-box::before{content:"\\F0394"}.mdi-newspaper::before{content:"\\F0395"}.mdi-newspaper-minus::before{content:"\\F0F0C"}.mdi-newspaper-plus::before{content:"\\F0F0D"}.mdi-newspaper-variant::before{content:"\\F1001"}.mdi-newspaper-variant-multiple::before{content:"\\F1002"}.mdi-newspaper-variant-multiple-outline::before{content:"\\F1003"}.mdi-newspaper-variant-outline::before{content:"\\F1004"}.mdi-nfc::before{content:"\\F0396"}.mdi-nfc-search-variant::before{content:"\\F0E53"}.mdi-nfc-tap::before{content:"\\F0397"}.mdi-nfc-variant::before{content:"\\F0398"}.mdi-nfc-variant-off::before{content:"\\F0E54"}.mdi-ninja::before{content:"\\F0774"}.mdi-nintendo-game-boy::before{content:"\\F1393"}.mdi-nintendo-switch::before{content:"\\F07E1"}.mdi-nintendo-wii::before{content:"\\F05AB"}.mdi-nintendo-wiiu::before{content:"\\F072D"}.mdi-nix::before{content:"\\F1105"}.mdi-nodejs::before{content:"\\F0399"}.mdi-noodles::before{content:"\\F117E"}.mdi-not-equal::before{content:"\\F098D"}.mdi-not-equal-variant::before{content:"\\F098E"}.mdi-note::before{content:"\\F039A"}.mdi-note-multiple::before{content:"\\F06B8"}.mdi-note-multiple-outline::before{content:"\\F06B9"}.mdi-note-outline::before{content:"\\F039B"}.mdi-note-plus::before{content:"\\F039C"}.mdi-note-plus-outline::before{content:"\\F039D"}.mdi-note-text::before{content:"\\F039E"}.mdi-note-text-outline::before{content:"\\F11D7"}.mdi-notebook::before{content:"\\F082E"}.mdi-notebook-multiple::before{content:"\\F0E55"}.mdi-notebook-outline::before{content:"\\F0EBF"}.mdi-notification-clear-all::before{content:"\\F039F"}.mdi-npm::before{content:"\\F06F7"}.mdi-nuke::before{content:"\\F06A4"}.mdi-null::before{content:"\\F07E2"}.mdi-numeric::before{content:"\\F03A0"}.mdi-numeric-0::before{content:"\\F0B39"}.mdi-numeric-0-box::before{content:"\\F03A1"}.mdi-numeric-0-box-multiple::before{content:"\\F0F0E"}.mdi-numeric-0-box-multiple-outline::before{content:"\\F03A2"}.mdi-numeric-0-box-outline::before{content:"\\F03A3"}.mdi-numeric-0-circle::before{content:"\\F0C9E"}.mdi-numeric-0-circle-outline::before{content:"\\F0C9F"}.mdi-numeric-1::before{content:"\\F0B3A"}.mdi-numeric-1-box::before{content:"\\F03A4"}.mdi-numeric-1-box-multiple::before{content:"\\F0F0F"}.mdi-numeric-1-box-multiple-outline::before{content:"\\F03A5"}.mdi-numeric-1-box-outline::before{content:"\\F03A6"}.mdi-numeric-1-circle::before{content:"\\F0CA0"}.mdi-numeric-1-circle-outline::before{content:"\\F0CA1"}.mdi-numeric-10::before{content:"\\F0FE9"}.mdi-numeric-10-box::before{content:"\\F0F7D"}.mdi-numeric-10-box-multiple::before{content:"\\F0FEA"}.mdi-numeric-10-box-multiple-outline::before{content:"\\F0FEB"}.mdi-numeric-10-box-outline::before{content:"\\F0F7E"}.mdi-numeric-10-circle::before{content:"\\F0FEC"}.mdi-numeric-10-circle-outline::before{content:"\\F0FED"}.mdi-numeric-2::before{content:"\\F0B3B"}.mdi-numeric-2-box::before{content:"\\F03A7"}.mdi-numeric-2-box-multiple::before{content:"\\F0F10"}.mdi-numeric-2-box-multiple-outline::before{content:"\\F03A8"}.mdi-numeric-2-box-outline::before{content:"\\F03A9"}.mdi-numeric-2-circle::before{content:"\\F0CA2"}.mdi-numeric-2-circle-outline::before{content:"\\F0CA3"}.mdi-numeric-3::before{content:"\\F0B3C"}.mdi-numeric-3-box::before{content:"\\F03AA"}.mdi-numeric-3-box-multiple::before{content:"\\F0F11"}.mdi-numeric-3-box-multiple-outline::before{content:"\\F03AB"}.mdi-numeric-3-box-outline::before{content:"\\F03AC"}.mdi-numeric-3-circle::before{content:"\\F0CA4"}.mdi-numeric-3-circle-outline::before{content:"\\F0CA5"}.mdi-numeric-4::before{content:"\\F0B3D"}.mdi-numeric-4-box::before{content:"\\F03AD"}.mdi-numeric-4-box-multiple::before{content:"\\F0F12"}.mdi-numeric-4-box-multiple-outline::before{content:"\\F03B2"}.mdi-numeric-4-box-outline::before{content:"\\F03AE"}.mdi-numeric-4-circle::before{content:"\\F0CA6"}.mdi-numeric-4-circle-outline::before{content:"\\F0CA7"}.mdi-numeric-5::before{content:"\\F0B3E"}.mdi-numeric-5-box::before{content:"\\F03B1"}.mdi-numeric-5-box-multiple::before{content:"\\F0F13"}.mdi-numeric-5-box-multiple-outline::before{content:"\\F03AF"}.mdi-numeric-5-box-outline::before{content:"\\F03B0"}.mdi-numeric-5-circle::before{content:"\\F0CA8"}.mdi-numeric-5-circle-outline::before{content:"\\F0CA9"}.mdi-numeric-6::before{content:"\\F0B3F"}.mdi-numeric-6-box::before{content:"\\F03B3"}.mdi-numeric-6-box-multiple::before{content:"\\F0F14"}.mdi-numeric-6-box-multiple-outline::before{content:"\\F03B4"}.mdi-numeric-6-box-outline::before{content:"\\F03B5"}.mdi-numeric-6-circle::before{content:"\\F0CAA"}.mdi-numeric-6-circle-outline::before{content:"\\F0CAB"}.mdi-numeric-7::before{content:"\\F0B40"}.mdi-numeric-7-box::before{content:"\\F03B6"}.mdi-numeric-7-box-multiple::before{content:"\\F0F15"}.mdi-numeric-7-box-multiple-outline::before{content:"\\F03B7"}.mdi-numeric-7-box-outline::before{content:"\\F03B8"}.mdi-numeric-7-circle::before{content:"\\F0CAC"}.mdi-numeric-7-circle-outline::before{content:"\\F0CAD"}.mdi-numeric-8::before{content:"\\F0B41"}.mdi-numeric-8-box::before{content:"\\F03B9"}.mdi-numeric-8-box-multiple::before{content:"\\F0F16"}.mdi-numeric-8-box-multiple-outline::before{content:"\\F03BA"}.mdi-numeric-8-box-outline::before{content:"\\F03BB"}.mdi-numeric-8-circle::before{content:"\\F0CAE"}.mdi-numeric-8-circle-outline::before{content:"\\F0CAF"}.mdi-numeric-9::before{content:"\\F0B42"}.mdi-numeric-9-box::before{content:"\\F03BC"}.mdi-numeric-9-box-multiple::before{content:"\\F0F17"}.mdi-numeric-9-box-multiple-outline::before{content:"\\F03BD"}.mdi-numeric-9-box-outline::before{content:"\\F03BE"}.mdi-numeric-9-circle::before{content:"\\F0CB0"}.mdi-numeric-9-circle-outline::before{content:"\\F0CB1"}.mdi-numeric-9-plus::before{content:"\\F0FEE"}.mdi-numeric-9-plus-box::before{content:"\\F03BF"}.mdi-numeric-9-plus-box-multiple::before{content:"\\F0F18"}.mdi-numeric-9-plus-box-multiple-outline::before{content:"\\F03C0"}.mdi-numeric-9-plus-box-outline::before{content:"\\F03C1"}.mdi-numeric-9-plus-circle::before{content:"\\F0CB2"}.mdi-numeric-9-plus-circle-outline::before{content:"\\F0CB3"}.mdi-numeric-negative-1::before{content:"\\F1052"}.mdi-nut::before{content:"\\F06F8"}.mdi-nutrition::before{content:"\\F03C2"}.mdi-nuxt::before{content:"\\F1106"}.mdi-oar::before{content:"\\F067C"}.mdi-ocarina::before{content:"\\F0DE0"}.mdi-oci::before{content:"\\F12E9"}.mdi-ocr::before{content:"\\F113A"}.mdi-octagon::before{content:"\\F03C3"}.mdi-octagon-outline::before{content:"\\F03C4"}.mdi-octagram::before{content:"\\F06F9"}.mdi-octagram-outline::before{content:"\\F0775"}.mdi-odnoklassniki::before{content:"\\F03C5"}.mdi-offer::before{content:"\\F121B"}.mdi-office-building::before{content:"\\F0991"}.mdi-oil::before{content:"\\F03C7"}.mdi-oil-lamp::before{content:"\\F0F19"}.mdi-oil-level::before{content:"\\F1053"}.mdi-oil-temperature::before{content:"\\F0FF8"}.mdi-omega::before{content:"\\F03C9"}.mdi-one-up::before{content:"\\F0BAD"}.mdi-onepassword::before{content:"\\F0881"}.mdi-opacity::before{content:"\\F05CC"}.mdi-open-in-app::before{content:"\\F03CB"}.mdi-open-in-new::before{content:"\\F03CC"}.mdi-open-source-initiative::before{content:"\\F0BAE"}.mdi-openid::before{content:"\\F03CD"}.mdi-opera::before{content:"\\F03CE"}.mdi-orbit::before{content:"\\F0018"}.mdi-order-alphabetical-ascending::before{content:"\\F020D"}.mdi-order-alphabetical-descending::before{content:"\\F0D07"}.mdi-order-bool-ascending::before{content:"\\F02BE"}.mdi-order-bool-ascending-variant::before{content:"\\F098F"}.mdi-order-bool-descending::before{content:"\\F1384"}.mdi-order-bool-descending-variant::before{content:"\\F0990"}.mdi-order-numeric-ascending::before{content:"\\F0545"}.mdi-order-numeric-descending::before{content:"\\F0546"}.mdi-origin::before{content:"\\F0B43"}.mdi-ornament::before{content:"\\F03CF"}.mdi-ornament-variant::before{content:"\\F03D0"}.mdi-outdoor-lamp::before{content:"\\F1054"}.mdi-overscan::before{content:"\\F1005"}.mdi-owl::before{content:"\\F03D2"}.mdi-pac-man::before{content:"\\F0BAF"}.mdi-package::before{content:"\\F03D3"}.mdi-package-down::before{content:"\\F03D4"}.mdi-package-up::before{content:"\\F03D5"}.mdi-package-variant::before{content:"\\F03D6"}.mdi-package-variant-closed::before{content:"\\F03D7"}.mdi-page-first::before{content:"\\F0600"}.mdi-page-last::before{content:"\\F0601"}.mdi-page-layout-body::before{content:"\\F06FA"}.mdi-page-layout-footer::before{content:"\\F06FB"}.mdi-page-layout-header::before{content:"\\F06FC"}.mdi-page-layout-header-footer::before{content:"\\F0F7F"}.mdi-page-layout-sidebar-left::before{content:"\\F06FD"}.mdi-page-layout-sidebar-right::before{content:"\\F06FE"}.mdi-page-next::before{content:"\\F0BB0"}.mdi-page-next-outline::before{content:"\\F0BB1"}.mdi-page-previous::before{content:"\\F0BB2"}.mdi-page-previous-outline::before{content:"\\F0BB3"}.mdi-pail::before{content:"\\F1417"}.mdi-pail-minus::before{content:"\\F1437"}.mdi-pail-minus-outline::before{content:"\\F143C"}.mdi-pail-off::before{content:"\\F1439"}.mdi-pail-off-outline::before{content:"\\F143E"}.mdi-pail-outline::before{content:"\\F143A"}.mdi-pail-plus::before{content:"\\F1436"}.mdi-pail-plus-outline::before{content:"\\F143B"}.mdi-pail-remove::before{content:"\\F1438"}.mdi-pail-remove-outline::before{content:"\\F143D"}.mdi-palette::before{content:"\\F03D8"}.mdi-palette-advanced::before{content:"\\F03D9"}.mdi-palette-outline::before{content:"\\F0E0C"}.mdi-palette-swatch::before{content:"\\F08B5"}.mdi-palette-swatch-outline::before{content:"\\F135C"}.mdi-palm-tree::before{content:"\\F1055"}.mdi-pan::before{content:"\\F0BB4"}.mdi-pan-bottom-left::before{content:"\\F0BB5"}.mdi-pan-bottom-right::before{content:"\\F0BB6"}.mdi-pan-down::before{content:"\\F0BB7"}.mdi-pan-horizontal::before{content:"\\F0BB8"}.mdi-pan-left::before{content:"\\F0BB9"}.mdi-pan-right::before{content:"\\F0BBA"}.mdi-pan-top-left::before{content:"\\F0BBB"}.mdi-pan-top-right::before{content:"\\F0BBC"}.mdi-pan-up::before{content:"\\F0BBD"}.mdi-pan-vertical::before{content:"\\F0BBE"}.mdi-panda::before{content:"\\F03DA"}.mdi-pandora::before{content:"\\F03DB"}.mdi-panorama::before{content:"\\F03DC"}.mdi-panorama-fisheye::before{content:"\\F03DD"}.mdi-panorama-horizontal::before{content:"\\F03DE"}.mdi-panorama-vertical::before{content:"\\F03DF"}.mdi-panorama-wide-angle::before{content:"\\F03E0"}.mdi-paper-cut-vertical::before{content:"\\F03E1"}.mdi-paper-roll::before{content:"\\F1157"}.mdi-paper-roll-outline::before{content:"\\F1158"}.mdi-paperclip::before{content:"\\F03E2"}.mdi-parachute::before{content:"\\F0CB4"}.mdi-parachute-outline::before{content:"\\F0CB5"}.mdi-parking::before{content:"\\F03E3"}.mdi-party-popper::before{content:"\\F1056"}.mdi-passport::before{content:"\\F07E3"}.mdi-passport-biometric::before{content:"\\F0DE1"}.mdi-pasta::before{content:"\\F1160"}.mdi-patio-heater::before{content:"\\F0F80"}.mdi-patreon::before{content:"\\F0882"}.mdi-pause::before{content:"\\F03E4"}.mdi-pause-circle::before{content:"\\F03E5"}.mdi-pause-circle-outline::before{content:"\\F03E6"}.mdi-pause-octagon::before{content:"\\F03E7"}.mdi-pause-octagon-outline::before{content:"\\F03E8"}.mdi-paw::before{content:"\\F03E9"}.mdi-paw-off::before{content:"\\F0657"}.mdi-pdf-box::before{content:"\\F0E56"}.mdi-peace::before{content:"\\F0884"}.mdi-peanut::before{content:"\\F0FFC"}.mdi-peanut-off::before{content:"\\F0FFD"}.mdi-peanut-off-outline::before{content:"\\F0FFF"}.mdi-peanut-outline::before{content:"\\F0FFE"}.mdi-pen::before{content:"\\F03EA"}.mdi-pen-lock::before{content:"\\F0DE2"}.mdi-pen-minus::before{content:"\\F0DE3"}.mdi-pen-off::before{content:"\\F0DE4"}.mdi-pen-plus::before{content:"\\F0DE5"}.mdi-pen-remove::before{content:"\\F0DE6"}.mdi-pencil::before{content:"\\F03EB"}.mdi-pencil-box::before{content:"\\F03EC"}.mdi-pencil-box-multiple::before{content:"\\F1144"}.mdi-pencil-box-multiple-outline::before{content:"\\F1145"}.mdi-pencil-box-outline::before{content:"\\F03ED"}.mdi-pencil-circle::before{content:"\\F06FF"}.mdi-pencil-circle-outline::before{content:"\\F0776"}.mdi-pencil-lock::before{content:"\\F03EE"}.mdi-pencil-lock-outline::before{content:"\\F0DE7"}.mdi-pencil-minus::before{content:"\\F0DE8"}.mdi-pencil-minus-outline::before{content:"\\F0DE9"}.mdi-pencil-off::before{content:"\\F03EF"}.mdi-pencil-off-outline::before{content:"\\F0DEA"}.mdi-pencil-outline::before{content:"\\F0CB6"}.mdi-pencil-plus::before{content:"\\F0DEB"}.mdi-pencil-plus-outline::before{content:"\\F0DEC"}.mdi-pencil-remove::before{content:"\\F0DED"}.mdi-pencil-remove-outline::before{content:"\\F0DEE"}.mdi-pencil-ruler::before{content:"\\F1353"}.mdi-penguin::before{content:"\\F0EC0"}.mdi-pentagon::before{content:"\\F0701"}.mdi-pentagon-outline::before{content:"\\F0700"}.mdi-percent::before{content:"\\F03F0"}.mdi-percent-outline::before{content:"\\F1278"}.mdi-periodic-table::before{content:"\\F08B6"}.mdi-perspective-less::before{content:"\\F0D23"}.mdi-perspective-more::before{content:"\\F0D24"}.mdi-pharmacy::before{content:"\\F03F1"}.mdi-phone::before{content:"\\F03F2"}.mdi-phone-alert::before{content:"\\F0F1A"}.mdi-phone-alert-outline::before{content:"\\F118E"}.mdi-phone-bluetooth::before{content:"\\F03F3"}.mdi-phone-bluetooth-outline::before{content:"\\F118F"}.mdi-phone-cancel::before{content:"\\F10BC"}.mdi-phone-cancel-outline::before{content:"\\F1190"}.mdi-phone-check::before{content:"\\F11A9"}.mdi-phone-check-outline::before{content:"\\F11AA"}.mdi-phone-classic::before{content:"\\F0602"}.mdi-phone-classic-off::before{content:"\\F1279"}.mdi-phone-forward::before{content:"\\F03F4"}.mdi-phone-forward-outline::before{content:"\\F1191"}.mdi-phone-hangup::before{content:"\\F03F5"}.mdi-phone-hangup-outline::before{content:"\\F1192"}.mdi-phone-in-talk::before{content:"\\F03F6"}.mdi-phone-in-talk-outline::before{content:"\\F1182"}.mdi-phone-incoming::before{content:"\\F03F7"}.mdi-phone-incoming-outline::before{content:"\\F1193"}.mdi-phone-lock::before{content:"\\F03F8"}.mdi-phone-lock-outline::before{content:"\\F1194"}.mdi-phone-log::before{content:"\\F03F9"}.mdi-phone-log-outline::before{content:"\\F1195"}.mdi-phone-message::before{content:"\\F1196"}.mdi-phone-message-outline::before{content:"\\F1197"}.mdi-phone-minus::before{content:"\\F0658"}.mdi-phone-minus-outline::before{content:"\\F1198"}.mdi-phone-missed::before{content:"\\F03FA"}.mdi-phone-missed-outline::before{content:"\\F11A5"}.mdi-phone-off::before{content:"\\F0DEF"}.mdi-phone-off-outline::before{content:"\\F11A6"}.mdi-phone-outgoing::before{content:"\\F03FB"}.mdi-phone-outgoing-outline::before{content:"\\F1199"}.mdi-phone-outline::before{content:"\\F0DF0"}.mdi-phone-paused::before{content:"\\F03FC"}.mdi-phone-paused-outline::before{content:"\\F119A"}.mdi-phone-plus::before{content:"\\F0659"}.mdi-phone-plus-outline::before{content:"\\F119B"}.mdi-phone-return::before{content:"\\F082F"}.mdi-phone-return-outline::before{content:"\\F119C"}.mdi-phone-ring::before{content:"\\F11AB"}.mdi-phone-ring-outline::before{content:"\\F11AC"}.mdi-phone-rotate-landscape::before{content:"\\F0885"}.mdi-phone-rotate-portrait::before{content:"\\F0886"}.mdi-phone-settings::before{content:"\\F03FD"}.mdi-phone-settings-outline::before{content:"\\F119D"}.mdi-phone-voip::before{content:"\\F03FE"}.mdi-pi::before{content:"\\F03FF"}.mdi-pi-box::before{content:"\\F0400"}.mdi-pi-hole::before{content:"\\F0DF1"}.mdi-piano::before{content:"\\F067D"}.mdi-pickaxe::before{content:"\\F08B7"}.mdi-picture-in-picture-bottom-right::before{content:"\\F0E57"}.mdi-picture-in-picture-bottom-right-outline::before{content:"\\F0E58"}.mdi-picture-in-picture-top-right::before{content:"\\F0E59"}.mdi-picture-in-picture-top-right-outline::before{content:"\\F0E5A"}.mdi-pier::before{content:"\\F0887"}.mdi-pier-crane::before{content:"\\F0888"}.mdi-pig::before{content:"\\F0401"}.mdi-pig-variant::before{content:"\\F1006"}.mdi-piggy-bank::before{content:"\\F1007"}.mdi-pill::before{content:"\\F0402"}.mdi-pillar::before{content:"\\F0702"}.mdi-pin::before{content:"\\F0403"}.mdi-pin-off::before{content:"\\F0404"}.mdi-pin-off-outline::before{content:"\\F0930"}.mdi-pin-outline::before{content:"\\F0931"}.mdi-pine-tree::before{content:"\\F0405"}.mdi-pine-tree-box::before{content:"\\F0406"}.mdi-pine-tree-fire::before{content:"\\F141A"}.mdi-pinterest::before{content:"\\F0407"}.mdi-pinwheel::before{content:"\\F0AD5"}.mdi-pinwheel-outline::before{content:"\\F0AD6"}.mdi-pipe::before{content:"\\F07E5"}.mdi-pipe-disconnected::before{content:"\\F07E6"}.mdi-pipe-leak::before{content:"\\F0889"}.mdi-pipe-wrench::before{content:"\\F1354"}.mdi-pirate::before{content:"\\F0A08"}.mdi-pistol::before{content:"\\F0703"}.mdi-piston::before{content:"\\F088A"}.mdi-pizza::before{content:"\\F0409"}.mdi-play::before{content:"\\F040A"}.mdi-play-box::before{content:"\\F127A"}.mdi-play-box-multiple::before{content:"\\F0D19"}.mdi-play-box-multiple-outline::before{content:"\\F13E6"}.mdi-play-box-outline::before{content:"\\F040B"}.mdi-play-circle::before{content:"\\F040C"}.mdi-play-circle-outline::before{content:"\\F040D"}.mdi-play-network::before{content:"\\F088B"}.mdi-play-network-outline::before{content:"\\F0CB7"}.mdi-play-outline::before{content:"\\F0F1B"}.mdi-play-pause::before{content:"\\F040E"}.mdi-play-protected-content::before{content:"\\F040F"}.mdi-play-speed::before{content:"\\F08FF"}.mdi-playlist-check::before{content:"\\F05C7"}.mdi-playlist-edit::before{content:"\\F0900"}.mdi-playlist-minus::before{content:"\\F0410"}.mdi-playlist-music::before{content:"\\F0CB8"}.mdi-playlist-music-outline::before{content:"\\F0CB9"}.mdi-playlist-play::before{content:"\\F0411"}.mdi-playlist-plus::before{content:"\\F0412"}.mdi-playlist-remove::before{content:"\\F0413"}.mdi-playlist-star::before{content:"\\F0DF2"}.mdi-plex::before{content:"\\F06BA"}.mdi-plus::before{content:"\\F0415"}.mdi-plus-box::before{content:"\\F0416"}.mdi-plus-box-multiple::before{content:"\\F0334"}.mdi-plus-box-multiple-outline::before{content:"\\F1143"}.mdi-plus-box-outline::before{content:"\\F0704"}.mdi-plus-circle::before{content:"\\F0417"}.mdi-plus-circle-multiple::before{content:"\\F034C"}.mdi-plus-circle-multiple-outline::before{content:"\\F0418"}.mdi-plus-circle-outline::before{content:"\\F0419"}.mdi-plus-minus::before{content:"\\F0992"}.mdi-plus-minus-box::before{content:"\\F0993"}.mdi-plus-minus-variant::before{content:"\\F14C9"}.mdi-plus-network::before{content:"\\F041A"}.mdi-plus-network-outline::before{content:"\\F0CBA"}.mdi-plus-one::before{content:"\\F041B"}.mdi-plus-outline::before{content:"\\F0705"}.mdi-plus-thick::before{content:"\\F11EC"}.mdi-podcast::before{content:"\\F0994"}.mdi-podium::before{content:"\\F0D25"}.mdi-podium-bronze::before{content:"\\F0D26"}.mdi-podium-gold::before{content:"\\F0D27"}.mdi-podium-silver::before{content:"\\F0D28"}.mdi-point-of-sale::before{content:"\\F0D92"}.mdi-pokeball::before{content:"\\F041D"}.mdi-pokemon-go::before{content:"\\F0A09"}.mdi-poker-chip::before{content:"\\F0830"}.mdi-polaroid::before{content:"\\F041E"}.mdi-police-badge::before{content:"\\F1167"}.mdi-police-badge-outline::before{content:"\\F1168"}.mdi-poll::before{content:"\\F041F"}.mdi-poll-box::before{content:"\\F0420"}.mdi-poll-box-outline::before{content:"\\F127B"}.mdi-polo::before{content:"\\F14C3"}.mdi-polymer::before{content:"\\F0421"}.mdi-pool::before{content:"\\F0606"}.mdi-popcorn::before{content:"\\F0422"}.mdi-post::before{content:"\\F1008"}.mdi-post-outline::before{content:"\\F1009"}.mdi-postage-stamp::before{content:"\\F0CBB"}.mdi-pot::before{content:"\\F02E5"}.mdi-pot-mix::before{content:"\\F065B"}.mdi-pot-mix-outline::before{content:"\\F0677"}.mdi-pot-outline::before{content:"\\F02FF"}.mdi-pot-steam::before{content:"\\F065A"}.mdi-pot-steam-outline::before{content:"\\F0326"}.mdi-pound::before{content:"\\F0423"}.mdi-pound-box::before{content:"\\F0424"}.mdi-pound-box-outline::before{content:"\\F117F"}.mdi-power::before{content:"\\F0425"}.mdi-power-cycle::before{content:"\\F0901"}.mdi-power-off::before{content:"\\F0902"}.mdi-power-on::before{content:"\\F0903"}.mdi-power-plug::before{content:"\\F06A5"}.mdi-power-plug-off::before{content:"\\F06A6"}.mdi-power-plug-off-outline::before{content:"\\F1424"}.mdi-power-plug-outline::before{content:"\\F1425"}.mdi-power-settings::before{content:"\\F0426"}.mdi-power-sleep::before{content:"\\F0904"}.mdi-power-socket::before{content:"\\F0427"}.mdi-power-socket-au::before{content:"\\F0905"}.mdi-power-socket-de::before{content:"\\F1107"}.mdi-power-socket-eu::before{content:"\\F07E7"}.mdi-power-socket-fr::before{content:"\\F1108"}.mdi-power-socket-jp::before{content:"\\F1109"}.mdi-power-socket-uk::before{content:"\\F07E8"}.mdi-power-socket-us::before{content:"\\F07E9"}.mdi-power-standby::before{content:"\\F0906"}.mdi-powershell::before{content:"\\F0A0A"}.mdi-prescription::before{content:"\\F0706"}.mdi-presentation::before{content:"\\F0428"}.mdi-presentation-play::before{content:"\\F0429"}.mdi-printer::before{content:"\\F042A"}.mdi-printer-3d::before{content:"\\F042B"}.mdi-printer-3d-nozzle::before{content:"\\F0E5B"}.mdi-printer-3d-nozzle-alert::before{content:"\\F11C0"}.mdi-printer-3d-nozzle-alert-outline::before{content:"\\F11C1"}.mdi-printer-3d-nozzle-outline::before{content:"\\F0E5C"}.mdi-printer-alert::before{content:"\\F042C"}.mdi-printer-check::before{content:"\\F1146"}.mdi-printer-eye::before{content:"\\F1458"}.mdi-printer-off::before{content:"\\F0E5D"}.mdi-printer-pos::before{content:"\\F1057"}.mdi-printer-search::before{content:"\\F1457"}.mdi-printer-settings::before{content:"\\F0707"}.mdi-printer-wireless::before{content:"\\F0A0B"}.mdi-priority-high::before{content:"\\F0603"}.mdi-priority-low::before{content:"\\F0604"}.mdi-professional-hexagon::before{content:"\\F042D"}.mdi-progress-alert::before{content:"\\F0CBC"}.mdi-progress-check::before{content:"\\F0995"}.mdi-progress-clock::before{content:"\\F0996"}.mdi-progress-close::before{content:"\\F110A"}.mdi-progress-download::before{content:"\\F0997"}.mdi-progress-upload::before{content:"\\F0998"}.mdi-progress-wrench::before{content:"\\F0CBD"}.mdi-projector::before{content:"\\F042E"}.mdi-projector-screen::before{content:"\\F042F"}.mdi-propane-tank::before{content:"\\F1357"}.mdi-propane-tank-outline::before{content:"\\F1358"}.mdi-protocol::before{content:"\\F0FD8"}.mdi-publish::before{content:"\\F06A7"}.mdi-pulse::before{content:"\\F0430"}.mdi-pump::before{content:"\\F1402"}.mdi-pumpkin::before{content:"\\F0BBF"}.mdi-purse::before{content:"\\F0F1C"}.mdi-purse-outline::before{content:"\\F0F1D"}.mdi-puzzle::before{content:"\\F0431"}.mdi-puzzle-check::before{content:"\\F1426"}.mdi-puzzle-check-outline::before{content:"\\F1427"}.mdi-puzzle-edit::before{content:"\\F14D3"}.mdi-puzzle-edit-outline::before{content:"\\F14D9"}.mdi-puzzle-heart::before{content:"\\F14D4"}.mdi-puzzle-heart-outline::before{content:"\\F14DA"}.mdi-puzzle-minus::before{content:"\\F14D1"}.mdi-puzzle-minus-outline::before{content:"\\F14D7"}.mdi-puzzle-outline::before{content:"\\F0A66"}.mdi-puzzle-plus::before{content:"\\F14D0"}.mdi-puzzle-plus-outline::before{content:"\\F14D6"}.mdi-puzzle-remove::before{content:"\\F14D2"}.mdi-puzzle-remove-outline::before{content:"\\F14D8"}.mdi-puzzle-star::before{content:"\\F14D5"}.mdi-puzzle-star-outline::before{content:"\\F14DB"}.mdi-qi::before{content:"\\F0999"}.mdi-qqchat::before{content:"\\F0605"}.mdi-qrcode::before{content:"\\F0432"}.mdi-qrcode-edit::before{content:"\\F08B8"}.mdi-qrcode-minus::before{content:"\\F118C"}.mdi-qrcode-plus::before{content:"\\F118B"}.mdi-qrcode-remove::before{content:"\\F118D"}.mdi-qrcode-scan::before{content:"\\F0433"}.mdi-quadcopter::before{content:"\\F0434"}.mdi-quality-high::before{content:"\\F0435"}.mdi-quality-low::before{content:"\\F0A0C"}.mdi-quality-medium::before{content:"\\F0A0D"}.mdi-quora::before{content:"\\F0D29"}.mdi-rabbit::before{content:"\\F0907"}.mdi-racing-helmet::before{content:"\\F0D93"}.mdi-racquetball::before{content:"\\F0D94"}.mdi-radar::before{content:"\\F0437"}.mdi-radiator::before{content:"\\F0438"}.mdi-radiator-disabled::before{content:"\\F0AD7"}.mdi-radiator-off::before{content:"\\F0AD8"}.mdi-radio::before{content:"\\F0439"}.mdi-radio-am::before{content:"\\F0CBE"}.mdi-radio-fm::before{content:"\\F0CBF"}.mdi-radio-handheld::before{content:"\\F043A"}.mdi-radio-off::before{content:"\\F121C"}.mdi-radio-tower::before{content:"\\F043B"}.mdi-radioactive::before{content:"\\F043C"}.mdi-radioactive-off::before{content:"\\F0EC1"}.mdi-radiobox-blank::before{content:"\\F043D"}.mdi-radiobox-marked::before{content:"\\F043E"}.mdi-radiology-box::before{content:"\\F14C5"}.mdi-radiology-box-outline::before{content:"\\F14C6"}.mdi-radius::before{content:"\\F0CC0"}.mdi-radius-outline::before{content:"\\F0CC1"}.mdi-railroad-light::before{content:"\\F0F1E"}.mdi-raspberry-pi::before{content:"\\F043F"}.mdi-ray-end::before{content:"\\F0440"}.mdi-ray-end-arrow::before{content:"\\F0441"}.mdi-ray-start::before{content:"\\F0442"}.mdi-ray-start-arrow::before{content:"\\F0443"}.mdi-ray-start-end::before{content:"\\F0444"}.mdi-ray-vertex::before{content:"\\F0445"}.mdi-react::before{content:"\\F0708"}.mdi-read::before{content:"\\F0447"}.mdi-receipt::before{content:"\\F0449"}.mdi-record::before{content:"\\F044A"}.mdi-record-circle::before{content:"\\F0EC2"}.mdi-record-circle-outline::before{content:"\\F0EC3"}.mdi-record-player::before{content:"\\F099A"}.mdi-record-rec::before{content:"\\F044B"}.mdi-rectangle::before{content:"\\F0E5E"}.mdi-rectangle-outline::before{content:"\\F0E5F"}.mdi-recycle::before{content:"\\F044C"}.mdi-recycle-variant::before{content:"\\F139D"}.mdi-reddit::before{content:"\\F044D"}.mdi-redhat::before{content:"\\F111B"}.mdi-redo::before{content:"\\F044E"}.mdi-redo-variant::before{content:"\\F044F"}.mdi-reflect-horizontal::before{content:"\\F0A0E"}.mdi-reflect-vertical::before{content:"\\F0A0F"}.mdi-refresh::before{content:"\\F0450"}.mdi-refresh-circle::before{content:"\\F1377"}.mdi-regex::before{content:"\\F0451"}.mdi-registered-trademark::before{content:"\\F0A67"}.mdi-relation-many-to-many::before{content:"\\F1496"}.mdi-relation-many-to-one::before{content:"\\F1497"}.mdi-relation-many-to-one-or-many::before{content:"\\F1498"}.mdi-relation-many-to-only-one::before{content:"\\F1499"}.mdi-relation-many-to-zero-or-many::before{content:"\\F149A"}.mdi-relation-many-to-zero-or-one::before{content:"\\F149B"}.mdi-relation-one-or-many-to-many::before{content:"\\F149C"}.mdi-relation-one-or-many-to-one::before{content:"\\F149D"}.mdi-relation-one-or-many-to-one-or-many::before{content:"\\F149E"}.mdi-relation-one-or-many-to-only-one::before{content:"\\F149F"}.mdi-relation-one-or-many-to-zero-or-many::before{content:"\\F14A0"}.mdi-relation-one-or-many-to-zero-or-one::before{content:"\\F14A1"}.mdi-relation-one-to-many::before{content:"\\F14A2"}.mdi-relation-one-to-one::before{content:"\\F14A3"}.mdi-relation-one-to-one-or-many::before{content:"\\F14A4"}.mdi-relation-one-to-only-one::before{content:"\\F14A5"}.mdi-relation-one-to-zero-or-many::before{content:"\\F14A6"}.mdi-relation-one-to-zero-or-one::before{content:"\\F14A7"}.mdi-relation-only-one-to-many::before{content:"\\F14A8"}.mdi-relation-only-one-to-one::before{content:"\\F14A9"}.mdi-relation-only-one-to-one-or-many::before{content:"\\F14AA"}.mdi-relation-only-one-to-only-one::before{content:"\\F14AB"}.mdi-relation-only-one-to-zero-or-many::before{content:"\\F14AC"}.mdi-relation-only-one-to-zero-or-one::before{content:"\\F14AD"}.mdi-relation-zero-or-many-to-many::before{content:"\\F14AE"}.mdi-relation-zero-or-many-to-one::before{content:"\\F14AF"}.mdi-relation-zero-or-many-to-one-or-many::before{content:"\\F14B0"}.mdi-relation-zero-or-many-to-only-one::before{content:"\\F14B1"}.mdi-relation-zero-or-many-to-zero-or-many::before{content:"\\F14B2"}.mdi-relation-zero-or-many-to-zero-or-one::before{content:"\\F14B3"}.mdi-relation-zero-or-one-to-many::before{content:"\\F14B4"}.mdi-relation-zero-or-one-to-one::before{content:"\\F14B5"}.mdi-relation-zero-or-one-to-one-or-many::before{content:"\\F14B6"}.mdi-relation-zero-or-one-to-only-one::before{content:"\\F14B7"}.mdi-relation-zero-or-one-to-zero-or-many::before{content:"\\F14B8"}.mdi-relation-zero-or-one-to-zero-or-one::before{content:"\\F14B9"}.mdi-relative-scale::before{content:"\\F0452"}.mdi-reload::before{content:"\\F0453"}.mdi-reload-alert::before{content:"\\F110B"}.mdi-reminder::before{content:"\\F088C"}.mdi-remote::before{content:"\\F0454"}.mdi-remote-desktop::before{content:"\\F08B9"}.mdi-remote-off::before{content:"\\F0EC4"}.mdi-remote-tv::before{content:"\\F0EC5"}.mdi-remote-tv-off::before{content:"\\F0EC6"}.mdi-rename-box::before{content:"\\F0455"}.mdi-reorder-horizontal::before{content:"\\F0688"}.mdi-reorder-vertical::before{content:"\\F0689"}.mdi-repeat::before{content:"\\F0456"}.mdi-repeat-off::before{content:"\\F0457"}.mdi-repeat-once::before{content:"\\F0458"}.mdi-replay::before{content:"\\F0459"}.mdi-reply::before{content:"\\F045A"}.mdi-reply-all::before{content:"\\F045B"}.mdi-reply-all-outline::before{content:"\\F0F1F"}.mdi-reply-circle::before{content:"\\F11AE"}.mdi-reply-outline::before{content:"\\F0F20"}.mdi-reproduction::before{content:"\\F045C"}.mdi-resistor::before{content:"\\F0B44"}.mdi-resistor-nodes::before{content:"\\F0B45"}.mdi-resize::before{content:"\\F0A68"}.mdi-resize-bottom-right::before{content:"\\F045D"}.mdi-responsive::before{content:"\\F045E"}.mdi-restart::before{content:"\\F0709"}.mdi-restart-alert::before{content:"\\F110C"}.mdi-restart-off::before{content:"\\F0D95"}.mdi-restore::before{content:"\\F099B"}.mdi-restore-alert::before{content:"\\F110D"}.mdi-rewind::before{content:"\\F045F"}.mdi-rewind-10::before{content:"\\F0D2A"}.mdi-rewind-30::before{content:"\\F0D96"}.mdi-rewind-5::before{content:"\\F11F9"}.mdi-rewind-outline::before{content:"\\F070A"}.mdi-rhombus::before{content:"\\F070B"}.mdi-rhombus-medium::before{content:"\\F0A10"}.mdi-rhombus-medium-outline::before{content:"\\F14DC"}.mdi-rhombus-outline::before{content:"\\F070C"}.mdi-rhombus-split::before{content:"\\F0A11"}.mdi-rhombus-split-outline::before{content:"\\F14DD"}.mdi-ribbon::before{content:"\\F0460"}.mdi-rice::before{content:"\\F07EA"}.mdi-ring::before{content:"\\F07EB"}.mdi-rivet::before{content:"\\F0E60"}.mdi-road::before{content:"\\F0461"}.mdi-road-variant::before{content:"\\F0462"}.mdi-robber::before{content:"\\F1058"}.mdi-robot::before{content:"\\F06A9"}.mdi-robot-industrial::before{content:"\\F0B46"}.mdi-robot-mower::before{content:"\\F11F7"}.mdi-robot-mower-outline::before{content:"\\F11F3"}.mdi-robot-vacuum::before{content:"\\F070D"}.mdi-robot-vacuum-variant::before{content:"\\F0908"}.mdi-rocket::before{content:"\\F0463"}.mdi-rocket-launch::before{content:"\\F14DE"}.mdi-rocket-launch-outline::before{content:"\\F14DF"}.mdi-rocket-outline::before{content:"\\F13AF"}.mdi-rodent::before{content:"\\F1327"}.mdi-roller-skate::before{content:"\\F0D2B"}.mdi-roller-skate-off::before{content:"\\F0145"}.mdi-rollerblade::before{content:"\\F0D2C"}.mdi-rollerblade-off::before{content:"\\F002E"}.mdi-rollupjs::before{content:"\\F0BC0"}.mdi-roman-numeral-1::before{content:"\\F1088"}.mdi-roman-numeral-10::before{content:"\\F1091"}.mdi-roman-numeral-2::before{content:"\\F1089"}.mdi-roman-numeral-3::before{content:"\\F108A"}.mdi-roman-numeral-4::before{content:"\\F108B"}.mdi-roman-numeral-5::before{content:"\\F108C"}.mdi-roman-numeral-6::before{content:"\\F108D"}.mdi-roman-numeral-7::before{content:"\\F108E"}.mdi-roman-numeral-8::before{content:"\\F108F"}.mdi-roman-numeral-9::before{content:"\\F1090"}.mdi-room-service::before{content:"\\F088D"}.mdi-room-service-outline::before{content:"\\F0D97"}.mdi-rotate-3d::before{content:"\\F0EC7"}.mdi-rotate-3d-variant::before{content:"\\F0464"}.mdi-rotate-left::before{content:"\\F0465"}.mdi-rotate-left-variant::before{content:"\\F0466"}.mdi-rotate-orbit::before{content:"\\F0D98"}.mdi-rotate-right::before{content:"\\F0467"}.mdi-rotate-right-variant::before{content:"\\F0468"}.mdi-rounded-corner::before{content:"\\F0607"}.mdi-router::before{content:"\\F11E2"}.mdi-router-network::before{content:"\\F1087"}.mdi-router-wireless::before{content:"\\F0469"}.mdi-router-wireless-settings::before{content:"\\F0A69"}.mdi-routes::before{content:"\\F046A"}.mdi-routes-clock::before{content:"\\F1059"}.mdi-rowing::before{content:"\\F0608"}.mdi-rss::before{content:"\\F046B"}.mdi-rss-box::before{content:"\\F046C"}.mdi-rss-off::before{content:"\\F0F21"}.mdi-rug::before{content:"\\F1475"}.mdi-rugby::before{content:"\\F0D99"}.mdi-ruler::before{content:"\\F046D"}.mdi-ruler-square::before{content:"\\F0CC2"}.mdi-ruler-square-compass::before{content:"\\F0EBE"}.mdi-run::before{content:"\\F070E"}.mdi-run-fast::before{content:"\\F046E"}.mdi-rv-truck::before{content:"\\F11D4"}.mdi-sack::before{content:"\\F0D2E"}.mdi-sack-percent::before{content:"\\F0D2F"}.mdi-safe::before{content:"\\F0A6A"}.mdi-safe-square::before{content:"\\F127C"}.mdi-safe-square-outline::before{content:"\\F127D"}.mdi-safety-goggles::before{content:"\\F0D30"}.mdi-sail-boat::before{content:"\\F0EC8"}.mdi-sale::before{content:"\\F046F"}.mdi-salesforce::before{content:"\\F088E"}.mdi-sass::before{content:"\\F07EC"}.mdi-satellite::before{content:"\\F0470"}.mdi-satellite-uplink::before{content:"\\F0909"}.mdi-satellite-variant::before{content:"\\F0471"}.mdi-sausage::before{content:"\\F08BA"}.mdi-saw-blade::before{content:"\\F0E61"}.mdi-sawtooth-wave::before{content:"\\F147A"}.mdi-saxophone::before{content:"\\F0609"}.mdi-scale::before{content:"\\F0472"}.mdi-scale-balance::before{content:"\\F05D1"}.mdi-scale-bathroom::before{content:"\\F0473"}.mdi-scale-off::before{content:"\\F105A"}.mdi-scan-helper::before{content:"\\F13D8"}.mdi-scanner::before{content:"\\F06AB"}.mdi-scanner-off::before{content:"\\F090A"}.mdi-scatter-plot::before{content:"\\F0EC9"}.mdi-scatter-plot-outline::before{content:"\\F0ECA"}.mdi-school::before{content:"\\F0474"}.mdi-school-outline::before{content:"\\F1180"}.mdi-scissors-cutting::before{content:"\\F0A6B"}.mdi-scooter::before{content:"\\F11E9"}.mdi-scoreboard::before{content:"\\F127E"}.mdi-scoreboard-outline::before{content:"\\F127F"}.mdi-screen-rotation::before{content:"\\F0475"}.mdi-screen-rotation-lock::before{content:"\\F0478"}.mdi-screw-flat-top::before{content:"\\F0DF3"}.mdi-screw-lag::before{content:"\\F0DF4"}.mdi-screw-machine-flat-top::before{content:"\\F0DF5"}.mdi-screw-machine-round-top::before{content:"\\F0DF6"}.mdi-screw-round-top::before{content:"\\F0DF7"}.mdi-screwdriver::before{content:"\\F0476"}.mdi-script::before{content:"\\F0BC1"}.mdi-script-outline::before{content:"\\F0477"}.mdi-script-text::before{content:"\\F0BC2"}.mdi-script-text-outline::before{content:"\\F0BC3"}.mdi-sd::before{content:"\\F0479"}.mdi-seal::before{content:"\\F047A"}.mdi-seal-variant::before{content:"\\F0FD9"}.mdi-search-web::before{content:"\\F070F"}.mdi-seat::before{content:"\\F0CC3"}.mdi-seat-flat::before{content:"\\F047B"}.mdi-seat-flat-angled::before{content:"\\F047C"}.mdi-seat-individual-suite::before{content:"\\F047D"}.mdi-seat-legroom-extra::before{content:"\\F047E"}.mdi-seat-legroom-normal::before{content:"\\F047F"}.mdi-seat-legroom-reduced::before{content:"\\F0480"}.mdi-seat-outline::before{content:"\\F0CC4"}.mdi-seat-passenger::before{content:"\\F1249"}.mdi-seat-recline-extra::before{content:"\\F0481"}.mdi-seat-recline-normal::before{content:"\\F0482"}.mdi-seatbelt::before{content:"\\F0CC5"}.mdi-security::before{content:"\\F0483"}.mdi-security-network::before{content:"\\F0484"}.mdi-seed::before{content:"\\F0E62"}.mdi-seed-off::before{content:"\\F13FD"}.mdi-seed-off-outline::before{content:"\\F13FE"}.mdi-seed-outline::before{content:"\\F0E63"}.mdi-segment::before{content:"\\F0ECB"}.mdi-select::before{content:"\\F0485"}.mdi-select-all::before{content:"\\F0486"}.mdi-select-color::before{content:"\\F0D31"}.mdi-select-compare::before{content:"\\F0AD9"}.mdi-select-drag::before{content:"\\F0A6C"}.mdi-select-group::before{content:"\\F0F82"}.mdi-select-inverse::before{content:"\\F0487"}.mdi-select-marker::before{content:"\\F1280"}.mdi-select-multiple::before{content:"\\F1281"}.mdi-select-multiple-marker::before{content:"\\F1282"}.mdi-select-off::before{content:"\\F0488"}.mdi-select-place::before{content:"\\F0FDA"}.mdi-select-search::before{content:"\\F1204"}.mdi-selection::before{content:"\\F0489"}.mdi-selection-drag::before{content:"\\F0A6D"}.mdi-selection-ellipse::before{content:"\\F0D32"}.mdi-selection-ellipse-arrow-inside::before{content:"\\F0F22"}.mdi-selection-marker::before{content:"\\F1283"}.mdi-selection-multiple::before{content:"\\F1285"}.mdi-selection-multiple-marker::before{content:"\\F1284"}.mdi-selection-off::before{content:"\\F0777"}.mdi-selection-search::before{content:"\\F1205"}.mdi-semantic-web::before{content:"\\F1316"}.mdi-send::before{content:"\\F048A"}.mdi-send-check::before{content:"\\F1161"}.mdi-send-check-outline::before{content:"\\F1162"}.mdi-send-circle::before{content:"\\F0DF8"}.mdi-send-circle-outline::before{content:"\\F0DF9"}.mdi-send-clock::before{content:"\\F1163"}.mdi-send-clock-outline::before{content:"\\F1164"}.mdi-send-lock::before{content:"\\F07ED"}.mdi-send-lock-outline::before{content:"\\F1166"}.mdi-send-outline::before{content:"\\F1165"}.mdi-serial-port::before{content:"\\F065C"}.mdi-server::before{content:"\\F048B"}.mdi-server-minus::before{content:"\\F048C"}.mdi-server-network::before{content:"\\F048D"}.mdi-server-network-off::before{content:"\\F048E"}.mdi-server-off::before{content:"\\F048F"}.mdi-server-plus::before{content:"\\F0490"}.mdi-server-remove::before{content:"\\F0491"}.mdi-server-security::before{content:"\\F0492"}.mdi-set-all::before{content:"\\F0778"}.mdi-set-center::before{content:"\\F0779"}.mdi-set-center-right::before{content:"\\F077A"}.mdi-set-left::before{content:"\\F077B"}.mdi-set-left-center::before{content:"\\F077C"}.mdi-set-left-right::before{content:"\\F077D"}.mdi-set-merge::before{content:"\\F14E0"}.mdi-set-none::before{content:"\\F077E"}.mdi-set-right::before{content:"\\F077F"}.mdi-set-split::before{content:"\\F14E1"}.mdi-set-square::before{content:"\\F145D"}.mdi-set-top-box::before{content:"\\F099F"}.mdi-settings-helper::before{content:"\\F0A6E"}.mdi-shaker::before{content:"\\F110E"}.mdi-shaker-outline::before{content:"\\F110F"}.mdi-shape::before{content:"\\F0831"}.mdi-shape-circle-plus::before{content:"\\F065D"}.mdi-shape-outline::before{content:"\\F0832"}.mdi-shape-oval-plus::before{content:"\\F11FA"}.mdi-shape-plus::before{content:"\\F0495"}.mdi-shape-polygon-plus::before{content:"\\F065E"}.mdi-shape-rectangle-plus::before{content:"\\F065F"}.mdi-shape-square-plus::before{content:"\\F0660"}.mdi-share::before{content:"\\F0496"}.mdi-share-all::before{content:"\\F11F4"}.mdi-share-all-outline::before{content:"\\F11F5"}.mdi-share-circle::before{content:"\\F11AD"}.mdi-share-off::before{content:"\\F0F23"}.mdi-share-off-outline::before{content:"\\F0F24"}.mdi-share-outline::before{content:"\\F0932"}.mdi-share-variant::before{content:"\\F0497"}.mdi-sheep::before{content:"\\F0CC6"}.mdi-shield::before{content:"\\F0498"}.mdi-shield-account::before{content:"\\F088F"}.mdi-shield-account-outline::before{content:"\\F0A12"}.mdi-shield-airplane::before{content:"\\F06BB"}.mdi-shield-airplane-outline::before{content:"\\F0CC7"}.mdi-shield-alert::before{content:"\\F0ECC"}.mdi-shield-alert-outline::before{content:"\\F0ECD"}.mdi-shield-bug::before{content:"\\F13DA"}.mdi-shield-bug-outline::before{content:"\\F13DB"}.mdi-shield-car::before{content:"\\F0F83"}.mdi-shield-check::before{content:"\\F0565"}.mdi-shield-check-outline::before{content:"\\F0CC8"}.mdi-shield-cross::before{content:"\\F0CC9"}.mdi-shield-cross-outline::before{content:"\\F0CCA"}.mdi-shield-edit::before{content:"\\F11A0"}.mdi-shield-edit-outline::before{content:"\\F11A1"}.mdi-shield-half::before{content:"\\F1360"}.mdi-shield-half-full::before{content:"\\F0780"}.mdi-shield-home::before{content:"\\F068A"}.mdi-shield-home-outline::before{content:"\\F0CCB"}.mdi-shield-key::before{content:"\\F0BC4"}.mdi-shield-key-outline::before{content:"\\F0BC5"}.mdi-shield-link-variant::before{content:"\\F0D33"}.mdi-shield-link-variant-outline::before{content:"\\F0D34"}.mdi-shield-lock::before{content:"\\F099D"}.mdi-shield-lock-outline::before{content:"\\F0CCC"}.mdi-shield-off::before{content:"\\F099E"}.mdi-shield-off-outline::before{content:"\\F099C"}.mdi-shield-outline::before{content:"\\F0499"}.mdi-shield-plus::before{content:"\\F0ADA"}.mdi-shield-plus-outline::before{content:"\\F0ADB"}.mdi-shield-refresh::before{content:"\\F00AA"}.mdi-shield-refresh-outline::before{content:"\\F01E0"}.mdi-shield-remove::before{content:"\\F0ADC"}.mdi-shield-remove-outline::before{content:"\\F0ADD"}.mdi-shield-search::before{content:"\\F0D9A"}.mdi-shield-star::before{content:"\\F113B"}.mdi-shield-star-outline::before{content:"\\F113C"}.mdi-shield-sun::before{content:"\\F105D"}.mdi-shield-sun-outline::before{content:"\\F105E"}.mdi-shield-sync::before{content:"\\F11A2"}.mdi-shield-sync-outline::before{content:"\\F11A3"}.mdi-ship-wheel::before{content:"\\F0833"}.mdi-shoe-formal::before{content:"\\F0B47"}.mdi-shoe-heel::before{content:"\\F0B48"}.mdi-shoe-print::before{content:"\\F0DFA"}.mdi-shopping::before{content:"\\F049A"}.mdi-shopping-music::before{content:"\\F049B"}.mdi-shopping-outline::before{content:"\\F11D5"}.mdi-shopping-search::before{content:"\\F0F84"}.mdi-shovel::before{content:"\\F0710"}.mdi-shovel-off::before{content:"\\F0711"}.mdi-shower::before{content:"\\F09A0"}.mdi-shower-head::before{content:"\\F09A1"}.mdi-shredder::before{content:"\\F049C"}.mdi-shuffle::before{content:"\\F049D"}.mdi-shuffle-disabled::before{content:"\\F049E"}.mdi-shuffle-variant::before{content:"\\F049F"}.mdi-shuriken::before{content:"\\F137F"}.mdi-sigma::before{content:"\\F04A0"}.mdi-sigma-lower::before{content:"\\F062B"}.mdi-sign-caution::before{content:"\\F04A1"}.mdi-sign-direction::before{content:"\\F0781"}.mdi-sign-direction-minus::before{content:"\\F1000"}.mdi-sign-direction-plus::before{content:"\\F0FDC"}.mdi-sign-direction-remove::before{content:"\\F0FDD"}.mdi-sign-real-estate::before{content:"\\F1118"}.mdi-sign-text::before{content:"\\F0782"}.mdi-signal::before{content:"\\F04A2"}.mdi-signal-2g::before{content:"\\F0712"}.mdi-signal-3g::before{content:"\\F0713"}.mdi-signal-4g::before{content:"\\F0714"}.mdi-signal-5g::before{content:"\\F0A6F"}.mdi-signal-cellular-1::before{content:"\\F08BC"}.mdi-signal-cellular-2::before{content:"\\F08BD"}.mdi-signal-cellular-3::before{content:"\\F08BE"}.mdi-signal-cellular-outline::before{content:"\\F08BF"}.mdi-signal-distance-variant::before{content:"\\F0E64"}.mdi-signal-hspa::before{content:"\\F0715"}.mdi-signal-hspa-plus::before{content:"\\F0716"}.mdi-signal-off::before{content:"\\F0783"}.mdi-signal-variant::before{content:"\\F060A"}.mdi-signature::before{content:"\\F0DFB"}.mdi-signature-freehand::before{content:"\\F0DFC"}.mdi-signature-image::before{content:"\\F0DFD"}.mdi-signature-text::before{content:"\\F0DFE"}.mdi-silo::before{content:"\\F0B49"}.mdi-silverware::before{content:"\\F04A3"}.mdi-silverware-clean::before{content:"\\F0FDE"}.mdi-silverware-fork::before{content:"\\F04A4"}.mdi-silverware-fork-knife::before{content:"\\F0A70"}.mdi-silverware-spoon::before{content:"\\F04A5"}.mdi-silverware-variant::before{content:"\\F04A6"}.mdi-sim::before{content:"\\F04A7"}.mdi-sim-alert::before{content:"\\F04A8"}.mdi-sim-off::before{content:"\\F04A9"}.mdi-simple-icons::before{content:"\\F131D"}.mdi-sina-weibo::before{content:"\\F0ADF"}.mdi-sine-wave::before{content:"\\F095B"}.mdi-sitemap::before{content:"\\F04AA"}.mdi-size-l::before{content:"\\F13A6"}.mdi-size-m::before{content:"\\F13A5"}.mdi-size-s::before{content:"\\F13A4"}.mdi-size-xl::before{content:"\\F13A7"}.mdi-size-xs::before{content:"\\F13A3"}.mdi-size-xxl::before{content:"\\F13A8"}.mdi-size-xxs::before{content:"\\F13A2"}.mdi-size-xxxl::before{content:"\\F13A9"}.mdi-skate::before{content:"\\F0D35"}.mdi-skateboard::before{content:"\\F14C2"}.mdi-skew-less::before{content:"\\F0D36"}.mdi-skew-more::before{content:"\\F0D37"}.mdi-ski::before{content:"\\F1304"}.mdi-ski-cross-country::before{content:"\\F1305"}.mdi-ski-water::before{content:"\\F1306"}.mdi-skip-backward::before{content:"\\F04AB"}.mdi-skip-backward-outline::before{content:"\\F0F25"}.mdi-skip-forward::before{content:"\\F04AC"}.mdi-skip-forward-outline::before{content:"\\F0F26"}.mdi-skip-next::before{content:"\\F04AD"}.mdi-skip-next-circle::before{content:"\\F0661"}.mdi-skip-next-circle-outline::before{content:"\\F0662"}.mdi-skip-next-outline::before{content:"\\F0F27"}.mdi-skip-previous::before{content:"\\F04AE"}.mdi-skip-previous-circle::before{content:"\\F0663"}.mdi-skip-previous-circle-outline::before{content:"\\F0664"}.mdi-skip-previous-outline::before{content:"\\F0F28"}.mdi-skull::before{content:"\\F068C"}.mdi-skull-crossbones::before{content:"\\F0BC6"}.mdi-skull-crossbones-outline::before{content:"\\F0BC7"}.mdi-skull-outline::before{content:"\\F0BC8"}.mdi-skull-scan::before{content:"\\F14C7"}.mdi-skull-scan-outline::before{content:"\\F14C8"}.mdi-skype::before{content:"\\F04AF"}.mdi-skype-business::before{content:"\\F04B0"}.mdi-slack::before{content:"\\F04B1"}.mdi-slash-forward::before{content:"\\F0FDF"}.mdi-slash-forward-box::before{content:"\\F0FE0"}.mdi-sleep::before{content:"\\F04B2"}.mdi-sleep-off::before{content:"\\F04B3"}.mdi-slope-downhill::before{content:"\\F0DFF"}.mdi-slope-uphill::before{content:"\\F0E00"}.mdi-slot-machine::before{content:"\\F1114"}.mdi-slot-machine-outline::before{content:"\\F1115"}.mdi-smart-card::before{content:"\\F10BD"}.mdi-smart-card-outline::before{content:"\\F10BE"}.mdi-smart-card-reader::before{content:"\\F10BF"}.mdi-smart-card-reader-outline::before{content:"\\F10C0"}.mdi-smog::before{content:"\\F0A71"}.mdi-smoke-detector::before{content:"\\F0392"}.mdi-smoking::before{content:"\\F04B4"}.mdi-smoking-off::before{content:"\\F04B5"}.mdi-smoking-pipe::before{content:"\\F140D"}.mdi-smoking-pipe-off::before{content:"\\F1428"}.mdi-snapchat::before{content:"\\F04B6"}.mdi-snowboard::before{content:"\\F1307"}.mdi-snowflake::before{content:"\\F0717"}.mdi-snowflake-alert::before{content:"\\F0F29"}.mdi-snowflake-melt::before{content:"\\F12CB"}.mdi-snowflake-variant::before{content:"\\F0F2A"}.mdi-snowman::before{content:"\\F04B7"}.mdi-soccer::before{content:"\\F04B8"}.mdi-soccer-field::before{content:"\\F0834"}.mdi-sofa::before{content:"\\F04B9"}.mdi-solar-panel::before{content:"\\F0D9B"}.mdi-solar-panel-large::before{content:"\\F0D9C"}.mdi-solar-power::before{content:"\\F0A72"}.mdi-soldering-iron::before{content:"\\F1092"}.mdi-solid::before{content:"\\F068D"}.mdi-sony-playstation::before{content:"\\F0414"}.mdi-sort::before{content:"\\F04BA"}.mdi-sort-alphabetical-ascending::before{content:"\\F05BD"}.mdi-sort-alphabetical-ascending-variant::before{content:"\\F1148"}.mdi-sort-alphabetical-descending::before{content:"\\F05BF"}.mdi-sort-alphabetical-descending-variant::before{content:"\\F1149"}.mdi-sort-alphabetical-variant::before{content:"\\F04BB"}.mdi-sort-ascending::before{content:"\\F04BC"}.mdi-sort-bool-ascending::before{content:"\\F1385"}.mdi-sort-bool-ascending-variant::before{content:"\\F1386"}.mdi-sort-bool-descending::before{content:"\\F1387"}.mdi-sort-bool-descending-variant::before{content:"\\F1388"}.mdi-sort-descending::before{content:"\\F04BD"}.mdi-sort-numeric-ascending::before{content:"\\F1389"}.mdi-sort-numeric-ascending-variant::before{content:"\\F090D"}.mdi-sort-numeric-descending::before{content:"\\F138A"}.mdi-sort-numeric-descending-variant::before{content:"\\F0AD2"}.mdi-sort-numeric-variant::before{content:"\\F04BE"}.mdi-sort-reverse-variant::before{content:"\\F033C"}.mdi-sort-variant::before{content:"\\F04BF"}.mdi-sort-variant-lock::before{content:"\\F0CCD"}.mdi-sort-variant-lock-open::before{content:"\\F0CCE"}.mdi-sort-variant-remove::before{content:"\\F1147"}.mdi-soundcloud::before{content:"\\F04C0"}.mdi-source-branch::before{content:"\\F062C"}.mdi-source-branch-check::before{content:"\\F14CF"}.mdi-source-branch-minus::before{content:"\\F14CB"}.mdi-source-branch-plus::before{content:"\\F14CA"}.mdi-source-branch-refresh::before{content:"\\F14CD"}.mdi-source-branch-remove::before{content:"\\F14CC"}.mdi-source-branch-sync::before{content:"\\F14CE"}.mdi-source-commit::before{content:"\\F0718"}.mdi-source-commit-end::before{content:"\\F0719"}.mdi-source-commit-end-local::before{content:"\\F071A"}.mdi-source-commit-local::before{content:"\\F071B"}.mdi-source-commit-next-local::before{content:"\\F071C"}.mdi-source-commit-start::before{content:"\\F071D"}.mdi-source-commit-start-next-local::before{content:"\\F071E"}.mdi-source-fork::before{content:"\\F04C1"}.mdi-source-merge::before{content:"\\F062D"}.mdi-source-pull::before{content:"\\F04C2"}.mdi-source-repository::before{content:"\\F0CCF"}.mdi-source-repository-multiple::before{content:"\\F0CD0"}.mdi-soy-sauce::before{content:"\\F07EE"}.mdi-soy-sauce-off::before{content:"\\F13FC"}.mdi-spa::before{content:"\\F0CD1"}.mdi-spa-outline::before{content:"\\F0CD2"}.mdi-space-invaders::before{content:"\\F0BC9"}.mdi-space-station::before{content:"\\F1383"}.mdi-spade::before{content:"\\F0E65"}.mdi-speaker::before{content:"\\F04C3"}.mdi-speaker-bluetooth::before{content:"\\F09A2"}.mdi-speaker-multiple::before{content:"\\F0D38"}.mdi-speaker-off::before{content:"\\F04C4"}.mdi-speaker-wireless::before{content:"\\F071F"}.mdi-speedometer::before{content:"\\F04C5"}.mdi-speedometer-medium::before{content:"\\F0F85"}.mdi-speedometer-slow::before{content:"\\F0F86"}.mdi-spellcheck::before{content:"\\F04C6"}.mdi-spider::before{content:"\\F11EA"}.mdi-spider-thread::before{content:"\\F11EB"}.mdi-spider-web::before{content:"\\F0BCA"}.mdi-spoon-sugar::before{content:"\\F1429"}.mdi-spotify::before{content:"\\F04C7"}.mdi-spotlight::before{content:"\\F04C8"}.mdi-spotlight-beam::before{content:"\\F04C9"}.mdi-spray::before{content:"\\F0665"}.mdi-spray-bottle::before{content:"\\F0AE0"}.mdi-sprinkler::before{content:"\\F105F"}.mdi-sprinkler-variant::before{content:"\\F1060"}.mdi-sprout::before{content:"\\F0E66"}.mdi-sprout-outline::before{content:"\\F0E67"}.mdi-square::before{content:"\\F0764"}.mdi-square-edit-outline::before{content:"\\F090C"}.mdi-square-medium::before{content:"\\F0A13"}.mdi-square-medium-outline::before{content:"\\F0A14"}.mdi-square-off::before{content:"\\F12EE"}.mdi-square-off-outline::before{content:"\\F12EF"}.mdi-square-outline::before{content:"\\F0763"}.mdi-square-root::before{content:"\\F0784"}.mdi-square-root-box::before{content:"\\F09A3"}.mdi-square-small::before{content:"\\F0A15"}.mdi-square-wave::before{content:"\\F147B"}.mdi-squeegee::before{content:"\\F0AE1"}.mdi-ssh::before{content:"\\F08C0"}.mdi-stack-exchange::before{content:"\\F060B"}.mdi-stack-overflow::before{content:"\\F04CC"}.mdi-stackpath::before{content:"\\F0359"}.mdi-stadium::before{content:"\\F0FF9"}.mdi-stadium-variant::before{content:"\\F0720"}.mdi-stairs::before{content:"\\F04CD"}.mdi-stairs-box::before{content:"\\F139E"}.mdi-stairs-down::before{content:"\\F12BE"}.mdi-stairs-up::before{content:"\\F12BD"}.mdi-stamper::before{content:"\\F0D39"}.mdi-standard-definition::before{content:"\\F07EF"}.mdi-star::before{content:"\\F04CE"}.mdi-star-box::before{content:"\\F0A73"}.mdi-star-box-multiple::before{content:"\\F1286"}.mdi-star-box-multiple-outline::before{content:"\\F1287"}.mdi-star-box-outline::before{content:"\\F0A74"}.mdi-star-circle::before{content:"\\F04CF"}.mdi-star-circle-outline::before{content:"\\F09A4"}.mdi-star-face::before{content:"\\F09A5"}.mdi-star-four-points::before{content:"\\F0AE2"}.mdi-star-four-points-outline::before{content:"\\F0AE3"}.mdi-star-half::before{content:"\\F0246"}.mdi-star-half-full::before{content:"\\F04D0"}.mdi-star-off::before{content:"\\F04D1"}.mdi-star-outline::before{content:"\\F04D2"}.mdi-star-three-points::before{content:"\\F0AE4"}.mdi-star-three-points-outline::before{content:"\\F0AE5"}.mdi-state-machine::before{content:"\\F11EF"}.mdi-steam::before{content:"\\F04D3"}.mdi-steering::before{content:"\\F04D4"}.mdi-steering-off::before{content:"\\F090E"}.mdi-step-backward::before{content:"\\F04D5"}.mdi-step-backward-2::before{content:"\\F04D6"}.mdi-step-forward::before{content:"\\F04D7"}.mdi-step-forward-2::before{content:"\\F04D8"}.mdi-stethoscope::before{content:"\\F04D9"}.mdi-sticker::before{content:"\\F1364"}.mdi-sticker-alert::before{content:"\\F1365"}.mdi-sticker-alert-outline::before{content:"\\F1366"}.mdi-sticker-check::before{content:"\\F1367"}.mdi-sticker-check-outline::before{content:"\\F1368"}.mdi-sticker-circle-outline::before{content:"\\F05D0"}.mdi-sticker-emoji::before{content:"\\F0785"}.mdi-sticker-minus::before{content:"\\F1369"}.mdi-sticker-minus-outline::before{content:"\\F136A"}.mdi-sticker-outline::before{content:"\\F136B"}.mdi-sticker-plus::before{content:"\\F136C"}.mdi-sticker-plus-outline::before{content:"\\F136D"}.mdi-sticker-remove::before{content:"\\F136E"}.mdi-sticker-remove-outline::before{content:"\\F136F"}.mdi-stocking::before{content:"\\F04DA"}.mdi-stomach::before{content:"\\F1093"}.mdi-stop::before{content:"\\F04DB"}.mdi-stop-circle::before{content:"\\F0666"}.mdi-stop-circle-outline::before{content:"\\F0667"}.mdi-store::before{content:"\\F04DC"}.mdi-store-24-hour::before{content:"\\F04DD"}.mdi-store-outline::before{content:"\\F1361"}.mdi-storefront::before{content:"\\F07C7"}.mdi-storefront-outline::before{content:"\\F10C1"}.mdi-stove::before{content:"\\F04DE"}.mdi-strategy::before{content:"\\F11D6"}.mdi-stretch-to-page::before{content:"\\F0F2B"}.mdi-stretch-to-page-outline::before{content:"\\F0F2C"}.mdi-string-lights::before{content:"\\F12BA"}.mdi-string-lights-off::before{content:"\\F12BB"}.mdi-subdirectory-arrow-left::before{content:"\\F060C"}.mdi-subdirectory-arrow-right::before{content:"\\F060D"}.mdi-subtitles::before{content:"\\F0A16"}.mdi-subtitles-outline::before{content:"\\F0A17"}.mdi-subway::before{content:"\\F06AC"}.mdi-subway-alert-variant::before{content:"\\F0D9D"}.mdi-subway-variant::before{content:"\\F04DF"}.mdi-summit::before{content:"\\F0786"}.mdi-sunglasses::before{content:"\\F04E0"}.mdi-surround-sound::before{content:"\\F05C5"}.mdi-surround-sound-2-0::before{content:"\\F07F0"}.mdi-surround-sound-3-1::before{content:"\\F07F1"}.mdi-surround-sound-5-1::before{content:"\\F07F2"}.mdi-surround-sound-7-1::before{content:"\\F07F3"}.mdi-svg::before{content:"\\F0721"}.mdi-swap-horizontal::before{content:"\\F04E1"}.mdi-swap-horizontal-bold::before{content:"\\F0BCD"}.mdi-swap-horizontal-circle::before{content:"\\F0FE1"}.mdi-swap-horizontal-circle-outline::before{content:"\\F0FE2"}.mdi-swap-horizontal-variant::before{content:"\\F08C1"}.mdi-swap-vertical::before{content:"\\F04E2"}.mdi-swap-vertical-bold::before{content:"\\F0BCE"}.mdi-swap-vertical-circle::before{content:"\\F0FE3"}.mdi-swap-vertical-circle-outline::before{content:"\\F0FE4"}.mdi-swap-vertical-variant::before{content:"\\F08C2"}.mdi-swim::before{content:"\\F04E3"}.mdi-switch::before{content:"\\F04E4"}.mdi-sword::before{content:"\\F04E5"}.mdi-sword-cross::before{content:"\\F0787"}.mdi-syllabary-hangul::before{content:"\\F1333"}.mdi-syllabary-hiragana::before{content:"\\F1334"}.mdi-syllabary-katakana::before{content:"\\F1335"}.mdi-syllabary-katakana-halfwidth::before{content:"\\F1336"}.mdi-symfony::before{content:"\\F0AE6"}.mdi-sync::before{content:"\\F04E6"}.mdi-sync-alert::before{content:"\\F04E7"}.mdi-sync-circle::before{content:"\\F1378"}.mdi-sync-off::before{content:"\\F04E8"}.mdi-tab::before{content:"\\F04E9"}.mdi-tab-minus::before{content:"\\F0B4B"}.mdi-tab-plus::before{content:"\\F075C"}.mdi-tab-remove::before{content:"\\F0B4C"}.mdi-tab-unselected::before{content:"\\F04EA"}.mdi-table::before{content:"\\F04EB"}.mdi-table-account::before{content:"\\F13B9"}.mdi-table-alert::before{content:"\\F13BA"}.mdi-table-arrow-down::before{content:"\\F13BB"}.mdi-table-arrow-left::before{content:"\\F13BC"}.mdi-table-arrow-right::before{content:"\\F13BD"}.mdi-table-arrow-up::before{content:"\\F13BE"}.mdi-table-border::before{content:"\\F0A18"}.mdi-table-cancel::before{content:"\\F13BF"}.mdi-table-chair::before{content:"\\F1061"}.mdi-table-check::before{content:"\\F13C0"}.mdi-table-clock::before{content:"\\F13C1"}.mdi-table-cog::before{content:"\\F13C2"}.mdi-table-column::before{content:"\\F0835"}.mdi-table-column-plus-after::before{content:"\\F04EC"}.mdi-table-column-plus-before::before{content:"\\F04ED"}.mdi-table-column-remove::before{content:"\\F04EE"}.mdi-table-column-width::before{content:"\\F04EF"}.mdi-table-edit::before{content:"\\F04F0"}.mdi-table-eye::before{content:"\\F1094"}.mdi-table-eye-off::before{content:"\\F13C3"}.mdi-table-furniture::before{content:"\\F05BC"}.mdi-table-headers-eye::before{content:"\\F121D"}.mdi-table-headers-eye-off::before{content:"\\F121E"}.mdi-table-heart::before{content:"\\F13C4"}.mdi-table-key::before{content:"\\F13C5"}.mdi-table-large::before{content:"\\F04F1"}.mdi-table-large-plus::before{content:"\\F0F87"}.mdi-table-large-remove::before{content:"\\F0F88"}.mdi-table-lock::before{content:"\\F13C6"}.mdi-table-merge-cells::before{content:"\\F09A6"}.mdi-table-minus::before{content:"\\F13C7"}.mdi-table-multiple::before{content:"\\F13C8"}.mdi-table-network::before{content:"\\F13C9"}.mdi-table-of-contents::before{content:"\\F0836"}.mdi-table-off::before{content:"\\F13CA"}.mdi-table-plus::before{content:"\\F0A75"}.mdi-table-refresh::before{content:"\\F13A0"}.mdi-table-remove::before{content:"\\F0A76"}.mdi-table-row::before{content:"\\F0837"}.mdi-table-row-height::before{content:"\\F04F2"}.mdi-table-row-plus-after::before{content:"\\F04F3"}.mdi-table-row-plus-before::before{content:"\\F04F4"}.mdi-table-row-remove::before{content:"\\F04F5"}.mdi-table-search::before{content:"\\F090F"}.mdi-table-settings::before{content:"\\F0838"}.mdi-table-split-cell::before{content:"\\F142A"}.mdi-table-star::before{content:"\\F13CB"}.mdi-table-sync::before{content:"\\F13A1"}.mdi-table-tennis::before{content:"\\F0E68"}.mdi-tablet::before{content:"\\F04F6"}.mdi-tablet-android::before{content:"\\F04F7"}.mdi-tablet-cellphone::before{content:"\\F09A7"}.mdi-tablet-dashboard::before{content:"\\F0ECE"}.mdi-tablet-ipad::before{content:"\\F04F8"}.mdi-taco::before{content:"\\F0762"}.mdi-tag::before{content:"\\F04F9"}.mdi-tag-faces::before{content:"\\F04FA"}.mdi-tag-heart::before{content:"\\F068B"}.mdi-tag-heart-outline::before{content:"\\F0BCF"}.mdi-tag-minus::before{content:"\\F0910"}.mdi-tag-minus-outline::before{content:"\\F121F"}.mdi-tag-multiple::before{content:"\\F04FB"}.mdi-tag-multiple-outline::before{content:"\\F12F7"}.mdi-tag-off::before{content:"\\F1220"}.mdi-tag-off-outline::before{content:"\\F1221"}.mdi-tag-outline::before{content:"\\F04FC"}.mdi-tag-plus::before{content:"\\F0722"}.mdi-tag-plus-outline::before{content:"\\F1222"}.mdi-tag-remove::before{content:"\\F0723"}.mdi-tag-remove-outline::before{content:"\\F1223"}.mdi-tag-text::before{content:"\\F1224"}.mdi-tag-text-outline::before{content:"\\F04FD"}.mdi-tailwind::before{content:"\\F13FF"}.mdi-tank::before{content:"\\F0D3A"}.mdi-tanker-truck::before{content:"\\F0FE5"}.mdi-tape-measure::before{content:"\\F0B4D"}.mdi-target::before{content:"\\F04FE"}.mdi-target-account::before{content:"\\F0BD0"}.mdi-target-variant::before{content:"\\F0A77"}.mdi-taxi::before{content:"\\F04FF"}.mdi-tea::before{content:"\\F0D9E"}.mdi-tea-outline::before{content:"\\F0D9F"}.mdi-teach::before{content:"\\F0890"}.mdi-teamviewer::before{content:"\\F0500"}.mdi-telegram::before{content:"\\F0501"}.mdi-telescope::before{content:"\\F0B4E"}.mdi-television::before{content:"\\F0502"}.mdi-television-ambient-light::before{content:"\\F1356"}.mdi-television-box::before{content:"\\F0839"}.mdi-television-classic::before{content:"\\F07F4"}.mdi-television-classic-off::before{content:"\\F083A"}.mdi-television-clean::before{content:"\\F1110"}.mdi-television-guide::before{content:"\\F0503"}.mdi-television-off::before{content:"\\F083B"}.mdi-television-pause::before{content:"\\F0F89"}.mdi-television-play::before{content:"\\F0ECF"}.mdi-television-stop::before{content:"\\F0F8A"}.mdi-temperature-celsius::before{content:"\\F0504"}.mdi-temperature-fahrenheit::before{content:"\\F0505"}.mdi-temperature-kelvin::before{content:"\\F0506"}.mdi-tennis::before{content:"\\F0DA0"}.mdi-tennis-ball::before{content:"\\F0507"}.mdi-tent::before{content:"\\F0508"}.mdi-terraform::before{content:"\\F1062"}.mdi-terrain::before{content:"\\F0509"}.mdi-test-tube::before{content:"\\F0668"}.mdi-test-tube-empty::before{content:"\\F0911"}.mdi-test-tube-off::before{content:"\\F0912"}.mdi-text::before{content:"\\F09A8"}.mdi-text-box::before{content:"\\F021A"}.mdi-text-box-check::before{content:"\\F0EA6"}.mdi-text-box-check-outline::before{content:"\\F0EA7"}.mdi-text-box-minus::before{content:"\\F0EA8"}.mdi-text-box-minus-outline::before{content:"\\F0EA9"}.mdi-text-box-multiple::before{content:"\\F0AB7"}.mdi-text-box-multiple-outline::before{content:"\\F0AB8"}.mdi-text-box-outline::before{content:"\\F09ED"}.mdi-text-box-plus::before{content:"\\F0EAA"}.mdi-text-box-plus-outline::before{content:"\\F0EAB"}.mdi-text-box-remove::before{content:"\\F0EAC"}.mdi-text-box-remove-outline::before{content:"\\F0EAD"}.mdi-text-box-search::before{content:"\\F0EAE"}.mdi-text-box-search-outline::before{content:"\\F0EAF"}.mdi-text-recognition::before{content:"\\F113D"}.mdi-text-search::before{content:"\\F13B8"}.mdi-text-shadow::before{content:"\\F0669"}.mdi-text-short::before{content:"\\F09A9"}.mdi-text-subject::before{content:"\\F09AA"}.mdi-text-to-speech::before{content:"\\F050A"}.mdi-text-to-speech-off::before{content:"\\F050B"}.mdi-texture::before{content:"\\F050C"}.mdi-texture-box::before{content:"\\F0FE6"}.mdi-theater::before{content:"\\F050D"}.mdi-theme-light-dark::before{content:"\\F050E"}.mdi-thermometer::before{content:"\\F050F"}.mdi-thermometer-alert::before{content:"\\F0E01"}.mdi-thermometer-chevron-down::before{content:"\\F0E02"}.mdi-thermometer-chevron-up::before{content:"\\F0E03"}.mdi-thermometer-high::before{content:"\\F10C2"}.mdi-thermometer-lines::before{content:"\\F0510"}.mdi-thermometer-low::before{content:"\\F10C3"}.mdi-thermometer-minus::before{content:"\\F0E04"}.mdi-thermometer-plus::before{content:"\\F0E05"}.mdi-thermostat::before{content:"\\F0393"}.mdi-thermostat-box::before{content:"\\F0891"}.mdi-thought-bubble::before{content:"\\F07F6"}.mdi-thought-bubble-outline::before{content:"\\F07F7"}.mdi-thumb-down::before{content:"\\F0511"}.mdi-thumb-down-outline::before{content:"\\F0512"}.mdi-thumb-up::before{content:"\\F0513"}.mdi-thumb-up-outline::before{content:"\\F0514"}.mdi-thumbs-up-down::before{content:"\\F0515"}.mdi-ticket::before{content:"\\F0516"}.mdi-ticket-account::before{content:"\\F0517"}.mdi-ticket-confirmation::before{content:"\\F0518"}.mdi-ticket-confirmation-outline::before{content:"\\F13AA"}.mdi-ticket-outline::before{content:"\\F0913"}.mdi-ticket-percent::before{content:"\\F0724"}.mdi-ticket-percent-outline::before{content:"\\F142B"}.mdi-tie::before{content:"\\F0519"}.mdi-tilde::before{content:"\\F0725"}.mdi-timelapse::before{content:"\\F051A"}.mdi-timeline::before{content:"\\F0BD1"}.mdi-timeline-alert::before{content:"\\F0F95"}.mdi-timeline-alert-outline::before{content:"\\F0F98"}.mdi-timeline-clock::before{content:"\\F11FB"}.mdi-timeline-clock-outline::before{content:"\\F11FC"}.mdi-timeline-help::before{content:"\\F0F99"}.mdi-timeline-help-outline::before{content:"\\F0F9A"}.mdi-timeline-outline::before{content:"\\F0BD2"}.mdi-timeline-plus::before{content:"\\F0F96"}.mdi-timeline-plus-outline::before{content:"\\F0F97"}.mdi-timeline-text::before{content:"\\F0BD3"}.mdi-timeline-text-outline::before{content:"\\F0BD4"}.mdi-timer::before{content:"\\F13AB"}.mdi-timer-10::before{content:"\\F051C"}.mdi-timer-3::before{content:"\\F051D"}.mdi-timer-off::before{content:"\\F13AC"}.mdi-timer-off-outline::before{content:"\\F051E"}.mdi-timer-outline::before{content:"\\F051B"}.mdi-timer-sand::before{content:"\\F051F"}.mdi-timer-sand-empty::before{content:"\\F06AD"}.mdi-timer-sand-full::before{content:"\\F078C"}.mdi-timetable::before{content:"\\F0520"}.mdi-toaster::before{content:"\\F1063"}.mdi-toaster-off::before{content:"\\F11B7"}.mdi-toaster-oven::before{content:"\\F0CD3"}.mdi-toggle-switch::before{content:"\\F0521"}.mdi-toggle-switch-off::before{content:"\\F0522"}.mdi-toggle-switch-off-outline::before{content:"\\F0A19"}.mdi-toggle-switch-outline::before{content:"\\F0A1A"}.mdi-toilet::before{content:"\\F09AB"}.mdi-toolbox::before{content:"\\F09AC"}.mdi-toolbox-outline::before{content:"\\F09AD"}.mdi-tools::before{content:"\\F1064"}.mdi-tooltip::before{content:"\\F0523"}.mdi-tooltip-account::before{content:"\\F000C"}.mdi-tooltip-edit::before{content:"\\F0524"}.mdi-tooltip-edit-outline::before{content:"\\F12C5"}.mdi-tooltip-image::before{content:"\\F0525"}.mdi-tooltip-image-outline::before{content:"\\F0BD5"}.mdi-tooltip-outline::before{content:"\\F0526"}.mdi-tooltip-plus::before{content:"\\F0BD6"}.mdi-tooltip-plus-outline::before{content:"\\F0527"}.mdi-tooltip-text::before{content:"\\F0528"}.mdi-tooltip-text-outline::before{content:"\\F0BD7"}.mdi-tooth::before{content:"\\F08C3"}.mdi-tooth-outline::before{content:"\\F0529"}.mdi-toothbrush::before{content:"\\F1129"}.mdi-toothbrush-electric::before{content:"\\F112C"}.mdi-toothbrush-paste::before{content:"\\F112A"}.mdi-tortoise::before{content:"\\F0D3B"}.mdi-toslink::before{content:"\\F12B8"}.mdi-tournament::before{content:"\\F09AE"}.mdi-tow-truck::before{content:"\\F083C"}.mdi-tower-beach::before{content:"\\F0681"}.mdi-tower-fire::before{content:"\\F0682"}.mdi-toy-brick::before{content:"\\F1288"}.mdi-toy-brick-marker::before{content:"\\F1289"}.mdi-toy-brick-marker-outline::before{content:"\\F128A"}.mdi-toy-brick-minus::before{content:"\\F128B"}.mdi-toy-brick-minus-outline::before{content:"\\F128C"}.mdi-toy-brick-outline::before{content:"\\F128D"}.mdi-toy-brick-plus::before{content:"\\F128E"}.mdi-toy-brick-plus-outline::before{content:"\\F128F"}.mdi-toy-brick-remove::before{content:"\\F1290"}.mdi-toy-brick-remove-outline::before{content:"\\F1291"}.mdi-toy-brick-search::before{content:"\\F1292"}.mdi-toy-brick-search-outline::before{content:"\\F1293"}.mdi-track-light::before{content:"\\F0914"}.mdi-trackpad::before{content:"\\F07F8"}.mdi-trackpad-lock::before{content:"\\F0933"}.mdi-tractor::before{content:"\\F0892"}.mdi-tractor-variant::before{content:"\\F14C4"}.mdi-trademark::before{content:"\\F0A78"}.mdi-traffic-cone::before{content:"\\F137C"}.mdi-traffic-light::before{content:"\\F052B"}.mdi-train::before{content:"\\F052C"}.mdi-train-car::before{content:"\\F0BD8"}.mdi-train-variant::before{content:"\\F08C4"}.mdi-tram::before{content:"\\F052D"}.mdi-tram-side::before{content:"\\F0FE7"}.mdi-transcribe::before{content:"\\F052E"}.mdi-transcribe-close::before{content:"\\F052F"}.mdi-transfer::before{content:"\\F1065"}.mdi-transfer-down::before{content:"\\F0DA1"}.mdi-transfer-left::before{content:"\\F0DA2"}.mdi-transfer-right::before{content:"\\F0530"}.mdi-transfer-up::before{content:"\\F0DA3"}.mdi-transit-connection::before{content:"\\F0D3C"}.mdi-transit-connection-variant::before{content:"\\F0D3D"}.mdi-transit-detour::before{content:"\\F0F8B"}.mdi-transit-transfer::before{content:"\\F06AE"}.mdi-transition::before{content:"\\F0915"}.mdi-transition-masked::before{content:"\\F0916"}.mdi-translate::before{content:"\\F05CA"}.mdi-translate-off::before{content:"\\F0E06"}.mdi-transmission-tower::before{content:"\\F0D3E"}.mdi-trash-can::before{content:"\\F0A79"}.mdi-trash-can-outline::before{content:"\\F0A7A"}.mdi-tray::before{content:"\\F1294"}.mdi-tray-alert::before{content:"\\F1295"}.mdi-tray-full::before{content:"\\F1296"}.mdi-tray-minus::before{content:"\\F1297"}.mdi-tray-plus::before{content:"\\F1298"}.mdi-tray-remove::before{content:"\\F1299"}.mdi-treasure-chest::before{content:"\\F0726"}.mdi-tree::before{content:"\\F0531"}.mdi-tree-outline::before{content:"\\F0E69"}.mdi-trello::before{content:"\\F0532"}.mdi-trending-down::before{content:"\\F0533"}.mdi-trending-neutral::before{content:"\\F0534"}.mdi-trending-up::before{content:"\\F0535"}.mdi-triangle::before{content:"\\F0536"}.mdi-triangle-outline::before{content:"\\F0537"}.mdi-triangle-wave::before{content:"\\F147C"}.mdi-triforce::before{content:"\\F0BD9"}.mdi-trophy::before{content:"\\F0538"}.mdi-trophy-award::before{content:"\\F0539"}.mdi-trophy-broken::before{content:"\\F0DA4"}.mdi-trophy-outline::before{content:"\\F053A"}.mdi-trophy-variant::before{content:"\\F053B"}.mdi-trophy-variant-outline::before{content:"\\F053C"}.mdi-truck::before{content:"\\F053D"}.mdi-truck-check::before{content:"\\F0CD4"}.mdi-truck-check-outline::before{content:"\\F129A"}.mdi-truck-delivery::before{content:"\\F053E"}.mdi-truck-delivery-outline::before{content:"\\F129B"}.mdi-truck-fast::before{content:"\\F0788"}.mdi-truck-fast-outline::before{content:"\\F129C"}.mdi-truck-outline::before{content:"\\F129D"}.mdi-truck-trailer::before{content:"\\F0727"}.mdi-trumpet::before{content:"\\F1096"}.mdi-tshirt-crew::before{content:"\\F0A7B"}.mdi-tshirt-crew-outline::before{content:"\\F053F"}.mdi-tshirt-v::before{content:"\\F0A7C"}.mdi-tshirt-v-outline::before{content:"\\F0540"}.mdi-tumble-dryer::before{content:"\\F0917"}.mdi-tumble-dryer-alert::before{content:"\\F11BA"}.mdi-tumble-dryer-off::before{content:"\\F11BB"}.mdi-tune::before{content:"\\F062E"}.mdi-tune-vertical::before{content:"\\F066A"}.mdi-turnstile::before{content:"\\F0CD5"}.mdi-turnstile-outline::before{content:"\\F0CD6"}.mdi-turtle::before{content:"\\F0CD7"}.mdi-twitch::before{content:"\\F0543"}.mdi-twitter::before{content:"\\F0544"}.mdi-twitter-retweet::before{content:"\\F0547"}.mdi-two-factor-authentication::before{content:"\\F09AF"}.mdi-typewriter::before{content:"\\F0F2D"}.mdi-ubisoft::before{content:"\\F0BDA"}.mdi-ubuntu::before{content:"\\F0548"}.mdi-ufo::before{content:"\\F10C4"}.mdi-ufo-outline::before{content:"\\F10C5"}.mdi-ultra-high-definition::before{content:"\\F07F9"}.mdi-umbraco::before{content:"\\F0549"}.mdi-umbrella::before{content:"\\F054A"}.mdi-umbrella-closed::before{content:"\\F09B0"}.mdi-umbrella-closed-outline::before{content:"\\F13E2"}.mdi-umbrella-closed-variant::before{content:"\\F13E1"}.mdi-umbrella-outline::before{content:"\\F054B"}.mdi-undo::before{content:"\\F054C"}.mdi-undo-variant::before{content:"\\F054D"}.mdi-unfold-less-horizontal::before{content:"\\F054E"}.mdi-unfold-less-vertical::before{content:"\\F0760"}.mdi-unfold-more-horizontal::before{content:"\\F054F"}.mdi-unfold-more-vertical::before{content:"\\F0761"}.mdi-ungroup::before{content:"\\F0550"}.mdi-unicode::before{content:"\\F0ED0"}.mdi-unity::before{content:"\\F06AF"}.mdi-unreal::before{content:"\\F09B1"}.mdi-untappd::before{content:"\\F0551"}.mdi-update::before{content:"\\F06B0"}.mdi-upload::before{content:"\\F0552"}.mdi-upload-lock::before{content:"\\F1373"}.mdi-upload-lock-outline::before{content:"\\F1374"}.mdi-upload-multiple::before{content:"\\F083D"}.mdi-upload-network::before{content:"\\F06F6"}.mdi-upload-network-outline::before{content:"\\F0CD8"}.mdi-upload-off::before{content:"\\F10C6"}.mdi-upload-off-outline::before{content:"\\F10C7"}.mdi-upload-outline::before{content:"\\F0E07"}.mdi-usb::before{content:"\\F0553"}.mdi-usb-flash-drive::before{content:"\\F129E"}.mdi-usb-flash-drive-outline::before{content:"\\F129F"}.mdi-usb-port::before{content:"\\F11F0"}.mdi-valve::before{content:"\\F1066"}.mdi-valve-closed::before{content:"\\F1067"}.mdi-valve-open::before{content:"\\F1068"}.mdi-van-passenger::before{content:"\\F07FA"}.mdi-van-utility::before{content:"\\F07FB"}.mdi-vanish::before{content:"\\F07FC"}.mdi-vanity-light::before{content:"\\F11E1"}.mdi-variable::before{content:"\\F0AE7"}.mdi-variable-box::before{content:"\\F1111"}.mdi-vector-arrange-above::before{content:"\\F0554"}.mdi-vector-arrange-below::before{content:"\\F0555"}.mdi-vector-bezier::before{content:"\\F0AE8"}.mdi-vector-circle::before{content:"\\F0556"}.mdi-vector-circle-variant::before{content:"\\F0557"}.mdi-vector-combine::before{content:"\\F0558"}.mdi-vector-curve::before{content:"\\F0559"}.mdi-vector-difference::before{content:"\\F055A"}.mdi-vector-difference-ab::before{content:"\\F055B"}.mdi-vector-difference-ba::before{content:"\\F055C"}.mdi-vector-ellipse::before{content:"\\F0893"}.mdi-vector-intersection::before{content:"\\F055D"}.mdi-vector-line::before{content:"\\F055E"}.mdi-vector-link::before{content:"\\F0FE8"}.mdi-vector-point::before{content:"\\F055F"}.mdi-vector-polygon::before{content:"\\F0560"}.mdi-vector-polyline::before{content:"\\F0561"}.mdi-vector-polyline-edit::before{content:"\\F1225"}.mdi-vector-polyline-minus::before{content:"\\F1226"}.mdi-vector-polyline-plus::before{content:"\\F1227"}.mdi-vector-polyline-remove::before{content:"\\F1228"}.mdi-vector-radius::before{content:"\\F074A"}.mdi-vector-rectangle::before{content:"\\F05C6"}.mdi-vector-selection::before{content:"\\F0562"}.mdi-vector-square::before{content:"\\F0001"}.mdi-vector-triangle::before{content:"\\F0563"}.mdi-vector-union::before{content:"\\F0564"}.mdi-vhs::before{content:"\\F0A1B"}.mdi-vibrate::before{content:"\\F0566"}.mdi-vibrate-off::before{content:"\\F0CD9"}.mdi-video::before{content:"\\F0567"}.mdi-video-3d::before{content:"\\F07FD"}.mdi-video-3d-off::before{content:"\\F13D9"}.mdi-video-3d-variant::before{content:"\\F0ED1"}.mdi-video-4k-box::before{content:"\\F083E"}.mdi-video-account::before{content:"\\F0919"}.mdi-video-box::before{content:"\\F00FD"}.mdi-video-box-off::before{content:"\\F00FE"}.mdi-video-check::before{content:"\\F1069"}.mdi-video-check-outline::before{content:"\\F106A"}.mdi-video-image::before{content:"\\F091A"}.mdi-video-input-antenna::before{content:"\\F083F"}.mdi-video-input-component::before{content:"\\F0840"}.mdi-video-input-hdmi::before{content:"\\F0841"}.mdi-video-input-scart::before{content:"\\F0F8C"}.mdi-video-input-svideo::before{content:"\\F0842"}.mdi-video-minus::before{content:"\\F09B2"}.mdi-video-minus-outline::before{content:"\\F02BA"}.mdi-video-off::before{content:"\\F0568"}.mdi-video-off-outline::before{content:"\\F0BDB"}.mdi-video-outline::before{content:"\\F0BDC"}.mdi-video-plus::before{content:"\\F09B3"}.mdi-video-plus-outline::before{content:"\\F01D3"}.mdi-video-stabilization::before{content:"\\F091B"}.mdi-video-switch::before{content:"\\F0569"}.mdi-video-switch-outline::before{content:"\\F0790"}.mdi-video-vintage::before{content:"\\F0A1C"}.mdi-video-wireless::before{content:"\\F0ED2"}.mdi-video-wireless-outline::before{content:"\\F0ED3"}.mdi-view-agenda::before{content:"\\F056A"}.mdi-view-agenda-outline::before{content:"\\F11D8"}.mdi-view-array::before{content:"\\F056B"}.mdi-view-array-outline::before{content:"\\F1485"}.mdi-view-carousel::before{content:"\\F056C"}.mdi-view-carousel-outline::before{content:"\\F1486"}.mdi-view-column::before{content:"\\F056D"}.mdi-view-column-outline::before{content:"\\F1487"}.mdi-view-comfy::before{content:"\\F0E6A"}.mdi-view-comfy-outline::before{content:"\\F1488"}.mdi-view-compact::before{content:"\\F0E6B"}.mdi-view-compact-outline::before{content:"\\F0E6C"}.mdi-view-dashboard::before{content:"\\F056E"}.mdi-view-dashboard-outline::before{content:"\\F0A1D"}.mdi-view-dashboard-variant::before{content:"\\F0843"}.mdi-view-dashboard-variant-outline::before{content:"\\F1489"}.mdi-view-day::before{content:"\\F056F"}.mdi-view-day-outline::before{content:"\\F148A"}.mdi-view-grid::before{content:"\\F0570"}.mdi-view-grid-outline::before{content:"\\F11D9"}.mdi-view-grid-plus::before{content:"\\F0F8D"}.mdi-view-grid-plus-outline::before{content:"\\F11DA"}.mdi-view-headline::before{content:"\\F0571"}.mdi-view-list::before{content:"\\F0572"}.mdi-view-list-outline::before{content:"\\F148B"}.mdi-view-module::before{content:"\\F0573"}.mdi-view-module-outline::before{content:"\\F148C"}.mdi-view-parallel::before{content:"\\F0728"}.mdi-view-parallel-outline::before{content:"\\F148D"}.mdi-view-quilt::before{content:"\\F0574"}.mdi-view-quilt-outline::before{content:"\\F148E"}.mdi-view-sequential::before{content:"\\F0729"}.mdi-view-sequential-outline::before{content:"\\F148F"}.mdi-view-split-horizontal::before{content:"\\F0BCB"}.mdi-view-split-vertical::before{content:"\\F0BCC"}.mdi-view-stream::before{content:"\\F0575"}.mdi-view-stream-outline::before{content:"\\F1490"}.mdi-view-week::before{content:"\\F0576"}.mdi-view-week-outline::before{content:"\\F1491"}.mdi-vimeo::before{content:"\\F0577"}.mdi-violin::before{content:"\\F060F"}.mdi-virtual-reality::before{content:"\\F0894"}.mdi-virus::before{content:"\\F13B6"}.mdi-virus-outline::before{content:"\\F13B7"}.mdi-vk::before{content:"\\F0579"}.mdi-vlc::before{content:"\\F057C"}.mdi-voice-off::before{content:"\\F0ED4"}.mdi-voicemail::before{content:"\\F057D"}.mdi-volleyball::before{content:"\\F09B4"}.mdi-volume-high::before{content:"\\F057E"}.mdi-volume-low::before{content:"\\F057F"}.mdi-volume-medium::before{content:"\\F0580"}.mdi-volume-minus::before{content:"\\F075E"}.mdi-volume-mute::before{content:"\\F075F"}.mdi-volume-off::before{content:"\\F0581"}.mdi-volume-plus::before{content:"\\F075D"}.mdi-volume-source::before{content:"\\F1120"}.mdi-volume-variant-off::before{content:"\\F0E08"}.mdi-volume-vibrate::before{content:"\\F1121"}.mdi-vote::before{content:"\\F0A1F"}.mdi-vote-outline::before{content:"\\F0A20"}.mdi-vpn::before{content:"\\F0582"}.mdi-vuejs::before{content:"\\F0844"}.mdi-vuetify::before{content:"\\F0E6D"}.mdi-walk::before{content:"\\F0583"}.mdi-wall::before{content:"\\F07FE"}.mdi-wall-sconce::before{content:"\\F091C"}.mdi-wall-sconce-flat::before{content:"\\F091D"}.mdi-wall-sconce-flat-variant::before{content:"\\F041C"}.mdi-wall-sconce-round::before{content:"\\F0748"}.mdi-wall-sconce-round-variant::before{content:"\\F091E"}.mdi-wallet::before{content:"\\F0584"}.mdi-wallet-giftcard::before{content:"\\F0585"}.mdi-wallet-membership::before{content:"\\F0586"}.mdi-wallet-outline::before{content:"\\F0BDD"}.mdi-wallet-plus::before{content:"\\F0F8E"}.mdi-wallet-plus-outline::before{content:"\\F0F8F"}.mdi-wallet-travel::before{content:"\\F0587"}.mdi-wallpaper::before{content:"\\F0E09"}.mdi-wan::before{content:"\\F0588"}.mdi-wardrobe::before{content:"\\F0F90"}.mdi-wardrobe-outline::before{content:"\\F0F91"}.mdi-warehouse::before{content:"\\F0F81"}.mdi-washing-machine::before{content:"\\F072A"}.mdi-washing-machine-alert::before{content:"\\F11BC"}.mdi-washing-machine-off::before{content:"\\F11BD"}.mdi-watch::before{content:"\\F0589"}.mdi-watch-export::before{content:"\\F058A"}.mdi-watch-export-variant::before{content:"\\F0895"}.mdi-watch-import::before{content:"\\F058B"}.mdi-watch-import-variant::before{content:"\\F0896"}.mdi-watch-variant::before{content:"\\F0897"}.mdi-watch-vibrate::before{content:"\\F06B1"}.mdi-watch-vibrate-off::before{content:"\\F0CDA"}.mdi-water::before{content:"\\F058C"}.mdi-water-boiler::before{content:"\\F0F92"}.mdi-water-boiler-alert::before{content:"\\F11B3"}.mdi-water-boiler-off::before{content:"\\F11B4"}.mdi-water-off::before{content:"\\F058D"}.mdi-water-outline::before{content:"\\F0E0A"}.mdi-water-percent::before{content:"\\F058E"}.mdi-water-polo::before{content:"\\F12A0"}.mdi-water-pump::before{content:"\\F058F"}.mdi-water-pump-off::before{content:"\\F0F93"}.mdi-water-well::before{content:"\\F106B"}.mdi-water-well-outline::before{content:"\\F106C"}.mdi-watering-can::before{content:"\\F1481"}.mdi-watering-can-outline::before{content:"\\F1482"}.mdi-watermark::before{content:"\\F0612"}.mdi-wave::before{content:"\\F0F2E"}.mdi-waveform::before{content:"\\F147D"}.mdi-waves::before{content:"\\F078D"}.mdi-waze::before{content:"\\F0BDE"}.mdi-weather-cloudy::before{content:"\\F0590"}.mdi-weather-cloudy-alert::before{content:"\\F0F2F"}.mdi-weather-cloudy-arrow-right::before{content:"\\F0E6E"}.mdi-weather-fog::before{content:"\\F0591"}.mdi-weather-hail::before{content:"\\F0592"}.mdi-weather-hazy::before{content:"\\F0F30"}.mdi-weather-hurricane::before{content:"\\F0898"}.mdi-weather-lightning::before{content:"\\F0593"}.mdi-weather-lightning-rainy::before{content:"\\F067E"}.mdi-weather-night::before{content:"\\F0594"}.mdi-weather-night-partly-cloudy::before{content:"\\F0F31"}.mdi-weather-partly-cloudy::before{content:"\\F0595"}.mdi-weather-partly-lightning::before{content:"\\F0F32"}.mdi-weather-partly-rainy::before{content:"\\F0F33"}.mdi-weather-partly-snowy::before{content:"\\F0F34"}.mdi-weather-partly-snowy-rainy::before{content:"\\F0F35"}.mdi-weather-pouring::before{content:"\\F0596"}.mdi-weather-rainy::before{content:"\\F0597"}.mdi-weather-snowy::before{content:"\\F0598"}.mdi-weather-snowy-heavy::before{content:"\\F0F36"}.mdi-weather-snowy-rainy::before{content:"\\F067F"}.mdi-weather-sunny::before{content:"\\F0599"}.mdi-weather-sunny-alert::before{content:"\\F0F37"}.mdi-weather-sunset::before{content:"\\F059A"}.mdi-weather-sunset-down::before{content:"\\F059B"}.mdi-weather-sunset-up::before{content:"\\F059C"}.mdi-weather-tornado::before{content:"\\F0F38"}.mdi-weather-windy::before{content:"\\F059D"}.mdi-weather-windy-variant::before{content:"\\F059E"}.mdi-web::before{content:"\\F059F"}.mdi-web-box::before{content:"\\F0F94"}.mdi-web-clock::before{content:"\\F124A"}.mdi-webcam::before{content:"\\F05A0"}.mdi-webhook::before{content:"\\F062F"}.mdi-webpack::before{content:"\\F072B"}.mdi-webrtc::before{content:"\\F1248"}.mdi-wechat::before{content:"\\F0611"}.mdi-weight::before{content:"\\F05A1"}.mdi-weight-gram::before{content:"\\F0D3F"}.mdi-weight-kilogram::before{content:"\\F05A2"}.mdi-weight-lifter::before{content:"\\F115D"}.mdi-weight-pound::before{content:"\\F09B5"}.mdi-whatsapp::before{content:"\\F05A3"}.mdi-wheelchair-accessibility::before{content:"\\F05A4"}.mdi-whistle::before{content:"\\F09B6"}.mdi-whistle-outline::before{content:"\\F12BC"}.mdi-white-balance-auto::before{content:"\\F05A5"}.mdi-white-balance-incandescent::before{content:"\\F05A6"}.mdi-white-balance-iridescent::before{content:"\\F05A7"}.mdi-white-balance-sunny::before{content:"\\F05A8"}.mdi-widgets::before{content:"\\F072C"}.mdi-widgets-outline::before{content:"\\F1355"}.mdi-wifi::before{content:"\\F05A9"}.mdi-wifi-off::before{content:"\\F05AA"}.mdi-wifi-star::before{content:"\\F0E0B"}.mdi-wifi-strength-1::before{content:"\\F091F"}.mdi-wifi-strength-1-alert::before{content:"\\F0920"}.mdi-wifi-strength-1-lock::before{content:"\\F0921"}.mdi-wifi-strength-2::before{content:"\\F0922"}.mdi-wifi-strength-2-alert::before{content:"\\F0923"}.mdi-wifi-strength-2-lock::before{content:"\\F0924"}.mdi-wifi-strength-3::before{content:"\\F0925"}.mdi-wifi-strength-3-alert::before{content:"\\F0926"}.mdi-wifi-strength-3-lock::before{content:"\\F0927"}.mdi-wifi-strength-4::before{content:"\\F0928"}.mdi-wifi-strength-4-alert::before{content:"\\F0929"}.mdi-wifi-strength-4-lock::before{content:"\\F092A"}.mdi-wifi-strength-alert-outline::before{content:"\\F092B"}.mdi-wifi-strength-lock-outline::before{content:"\\F092C"}.mdi-wifi-strength-off::before{content:"\\F092D"}.mdi-wifi-strength-off-outline::before{content:"\\F092E"}.mdi-wifi-strength-outline::before{content:"\\F092F"}.mdi-wikipedia::before{content:"\\F05AC"}.mdi-wind-turbine::before{content:"\\F0DA5"}.mdi-window-close::before{content:"\\F05AD"}.mdi-window-closed::before{content:"\\F05AE"}.mdi-window-closed-variant::before{content:"\\F11DB"}.mdi-window-maximize::before{content:"\\F05AF"}.mdi-window-minimize::before{content:"\\F05B0"}.mdi-window-open::before{content:"\\F05B1"}.mdi-window-open-variant::before{content:"\\F11DC"}.mdi-window-restore::before{content:"\\F05B2"}.mdi-window-shutter::before{content:"\\F111C"}.mdi-window-shutter-alert::before{content:"\\F111D"}.mdi-window-shutter-open::before{content:"\\F111E"}.mdi-wiper::before{content:"\\F0AE9"}.mdi-wiper-wash::before{content:"\\F0DA6"}.mdi-wizard-hat::before{content:"\\F1477"}.mdi-wordpress::before{content:"\\F05B4"}.mdi-wrap::before{content:"\\F05B6"}.mdi-wrap-disabled::before{content:"\\F0BDF"}.mdi-wrench::before{content:"\\F05B7"}.mdi-wrench-outline::before{content:"\\F0BE0"}.mdi-xamarin::before{content:"\\F0845"}.mdi-xamarin-outline::before{content:"\\F0846"}.mdi-xing::before{content:"\\F05BE"}.mdi-xml::before{content:"\\F05C0"}.mdi-xmpp::before{content:"\\F07FF"}.mdi-y-combinator::before{content:"\\F0624"}.mdi-yahoo::before{content:"\\F0B4F"}.mdi-yeast::before{content:"\\F05C1"}.mdi-yin-yang::before{content:"\\F0680"}.mdi-yoga::before{content:"\\F117C"}.mdi-youtube::before{content:"\\F05C3"}.mdi-youtube-gaming::before{content:"\\F0848"}.mdi-youtube-studio::before{content:"\\F0847"}.mdi-youtube-subscription::before{content:"\\F0D40"}.mdi-youtube-tv::before{content:"\\F0448"}.mdi-z-wave::before{content:"\\F0AEA"}.mdi-zend::before{content:"\\F0AEB"}.mdi-zigbee::before{content:"\\F0D41"}.mdi-zip-box::before{content:"\\F05C4"}.mdi-zip-box-outline::before{content:"\\F0FFA"}.mdi-zip-disk::before{content:"\\F0A23"}.mdi-zodiac-aquarius::before{content:"\\F0A7D"}.mdi-zodiac-aries::before{content:"\\F0A7E"}.mdi-zodiac-cancer::before{content:"\\F0A7F"}.mdi-zodiac-capricorn::before{content:"\\F0A80"}.mdi-zodiac-gemini::before{content:"\\F0A81"}.mdi-zodiac-leo::before{content:"\\F0A82"}.mdi-zodiac-libra::before{content:"\\F0A83"}.mdi-zodiac-pisces::before{content:"\\F0A84"}.mdi-zodiac-sagittarius::before{content:"\\F0A85"}.mdi-zodiac-scorpio::before{content:"\\F0A86"}.mdi-zodiac-taurus::before{content:"\\F0A87"}.mdi-zodiac-virgo::before{content:"\\F0A88"}.mdi-blank::before{content:"\\F68C";visibility:hidden}.mdi-18px.mdi-set,.mdi-18px.mdi:before{font-size:18px}.mdi-24px.mdi-set,.mdi-24px.mdi:before{font-size:24px}.mdi-36px.mdi-set,.mdi-36px.mdi:before{font-size:36px}.mdi-48px.mdi-set,.mdi-48px.mdi:before{font-size:48px}.mdi-dark:before{color:rgba(0,0,0,0.54)}.mdi-dark.mdi-inactive:before{color:rgba(0,0,0,0.26)}.mdi-light:before{color:#fff}.mdi-light.mdi-inactive:before{color:rgba(255,255,255,0.3)}.mdi-rotate-45:before{transform:rotate(45deg)}.mdi-rotate-90:before{transform:rotate(90deg)}.mdi-rotate-135:before{transform:rotate(135deg)}.mdi-rotate-180:before{transform:rotate(180deg)}.mdi-rotate-225:before{transform:rotate(225deg)}.mdi-rotate-270:before{transform:rotate(270deg)}.mdi-rotate-315:before{transform:rotate(315deg)}.mdi-flip-h:before{transform:scaleX(-1);filter:FlipH;-ms-filter:"FlipH"}.mdi-flip-v:before{transform:scaleY(-1);filter:FlipV;-ms-filter:"FlipV"}.mdi-spin:before{animation:mdi-spin 2s infinite linear}@keyframes mdi-spin{0%{transform:rotate(0deg)}100%{transform:rotate(359deg)}}',""]),e.exports=a},3646:(e,t,n)=>{var o=n(2955)((function(e){return e[1]}));o.push([e.id,".switch-options {\n position: relative;\n --columns: 1;\n}\n.switch-options.grid {\n width: 100%;\n}\n.switch-options .switch-icon {\n margin-right: 8px;\n opacity: 0.75;\n transform: scale(0.9);\n}\n.switch-options .dim {\n opacity: 0.5;\n}\n.switch-options-grid {\n font-size: 12px;\n display: grid;\n grid-template-columns: repeat(auto-fill, 50%);\n}\n.switch-options-popup {\n font-size: 12px;\n transition: 0.2s ease-out;\n transform-origin: left;\n transform: translateY(-50%) scale(0.9);\n top: 50%;\n left: calc(100% + 8px);\n background-color: #fff;\n box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.05);\n white-space: nowrap;\n padding: 4px;\n display: grid;\n width: max-content;\n grid-template-columns: repeat(var(--columns), auto);\n border-radius: 5px;\n border: 1px solid #8882;\n max-height: calc(100vh - 100px);\n overflow: auto;\n scrollbar-width: none !important;\n overscroll-behavior: contain;\n}\nbody.dark .switch-options-popup {\n background-color: var(--be-color-panel-bg, #333);\n}\nbody.dark .switch-options-popup {\n box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.2);\n}\n.switch-options-popup::-webkit-scrollbar {\n height: 0 !important;\n width: 0 !important;\n}\n.switch-options-popup.open {\n transform: translateY(-50%) scale(1);\n}\nbody.settings-panel-dock-right .switch-options-popup {\n right: calc(100% + 8px);\n left: unset;\n transform-origin: right;\n}\n.switch-options.small-size .switch-options-popup {\n transform-origin: top;\n top: calc(100% + 8px);\n left: 50%;\n transform: translateX(-50%) scale(0.9);\n}\n.switch-options.small-size .switch-options-popup.open {\n transform: translateX(-50%) scale(1);\n}",""]),e.exports=o},848:(e,t,n)=>{var o=n(2955)((function(e){return e[1]}));o.push([e.id,".check-all-updates[data-v-76652ef2] {\n margin: 1px 0;\n}\n.check-all-updates .be-icon[data-v-76652ef2] {\n margin-right: 6px;\n}",""]),e.exports=o},8456:(e,t,n)=>{var o=n(2955)((function(e){return e[1]}));o.push([e.id,".bisector-dialog-content-container[data-v-31cf1990] {\n padding: 0 16px;\n}\n.bisector-dialog-content-container .bisector-dialog-content-text.weak[data-v-31cf1990] {\n opacity: 0.6;\n}\n.bisector-dialog-content-container .bisector-dialog-content-text[data-v-31cf1990],\n.bisector-dialog-content-container .bisector-dialog-button-group[data-v-31cf1990] {\n margin-bottom: 8px;\n}\n.bisector-dialog-content-container .bisector-dialog-button-group[data-v-31cf1990] {\n display: grid;\n gap: 8px;\n grid-template-columns: 1fr 1fr;\n}\n.bisector-dialog-content-container .bisector-dialog-button-group .be-button[data-v-31cf1990]:last-child {\n grid-column: span 2;\n}",""]),e.exports=o},1407:(e,t,n)=>{var o=n(2955)((function(e){return e[1]}));o.push([e.id,"div[data-v-386ddf8e] {\n display: flex;\n align-items: center;\n gap: 8px;\n}\n.peek[data-v-386ddf8e] {\n cursor: pointer;\n}",""]),e.exports=o},6557:(e,t,n)=>{var o=n(2955)((function(e){return e[1]}));o.push([e.id,'.bangumi-card[data-v-b2f4653c] {\n --cover-width: 94px;\n background-color: #fff;\n margin: 0 8px 8px 8px;\n box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.05);\n box-sizing: border-box;\n border: 1px solid #8882;\n border-radius: 8px;\n display: grid;\n grid-template-areas: "cover epTitle" "cover title";\n grid-template-columns: var(--cover-width) 1fr;\n grid-template-rows: 6fr 5fr;\n position: relative;\n flex-shrink: 0;\n}\n.bangumi-card .up[data-v-b2f4653c] {\n grid-area: title;\n display: flex;\n align-items: center;\n padding: 0 12px;\n align-self: center;\n overflow: hidden;\n margin-bottom: 4px;\n}\n.bangumi-card .up .cover[data-v-b2f4653c] {\n height: 18px;\n width: 18px;\n border-radius: 50%;\n}\n.bangumi-card .up .title[data-v-b2f4653c] {\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n margin: 0 6px;\n line-height: normal;\n}\n.bangumi-card .ep-title[data-v-b2f4653c] {\n grid-area: epTitle;\n font-size: 11pt;\n font-weight: 600;\n padding: 0 12px;\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n align-self: center;\n color: inherit;\n line-height: normal;\n margin: 4px 0 0 0;\n}\n.bangumi-card .ep-cover-container[data-v-b2f4653c] {\n grid-area: cover;\n border-radius: 8px 0 0 8px;\n overflow: hidden;\n display: flex;\n}\n.bangumi-card .ep-cover-container .ep-cover[data-v-b2f4653c] {\n background-color: #8884;\n width: var(--cover-width);\n min-height: 62.5px;\n}\n.bangumi-card:hover .ep-title[data-v-b2f4653c] {\n color: var(--theme-color);\n}\n.bangumi-card:hover .ep-cover[data-v-b2f4653c] {\n transform: scale(1.05);\n}\nbody.dark .bangumi-card[data-v-b2f4653c] {\n box-shadow: #0001 0 4px 12px 0px;\n background-color: #2d2d2d;\n color: #eee;\n}\n.bangumi-card.new[data-v-b2f4653c]::before {\n content: "NEW";\n position: absolute;\n top: 4px;\n left: 4px;\n background-color: var(--theme-color);\n color: var(--foreground-color);\n padding: 0 6px;\n height: 18px;\n border-radius: 9px;\n font-weight: 700;\n font-size: 11px;\n line-height: 18px;\n z-index: 1;\n}',""]),e.exports=o},8501:(e,t,n)=>{var o=n(2955)((function(e){return e[1]}));o.push([e.id,".column-card[data-v-335afa63] {\n width: 356px;\n display: flex;\n flex-direction: column;\n margin-bottom: 12px;\n box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.05);\n border: 1px solid #8882;\n background-color: #fff;\n box-sizing: border-box;\n position: relative;\n flex-shrink: 0;\n font-size: 12px;\n cursor: pointer;\n border-radius: 8px;\n}\nbody.dark .column-card[data-v-335afa63] {\n background-color: #282828;\n color: #eee;\n}\n.column-card .covers[data-v-335afa63] {\n position: relative;\n display: flex;\n overflow: hidden;\n border-radius: 8px 8px 0 0;\n}\n.column-card .covers .cover[data-v-335afa63] {\n flex: 1 0 0;\n height: 120px;\n width: 0;\n object-fit: cover;\n}\n.column-card .up[data-v-335afa63] {\n position: absolute;\n left: 8px;\n top: calc(120px - 28px - 6px);\n padding: 2px;\n display: flex;\n align-items: center;\n background-color: #000a;\n border-radius: 14px;\n height: 28px;\n box-sizing: border-box;\n}\n.column-card .up .face[data-v-335afa63] {\n border-radius: 50%;\n height: 24px;\n width: 24px;\n}\n.column-card .up .name[data-v-335afa63] {\n margin: 0 6px;\n color: #fff;\n}\n.column-card .title[data-v-335afa63] {\n padding: 10px 10px 0;\n margin: 0;\n font-size: 11pt;\n font-weight: 600;\n color: inherit;\n line-height: normal;\n max-width: 100%;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n.column-card .description[data-v-335afa63] {\n margin: 8px 10px;\n display: -webkit-box;\n white-space: normal;\n overflow: hidden;\n text-overflow: ellipsis;\n word-break: break-all;\n -webkit-line-clamp: 2;\n -webkit-box-orient: vertical;\n line-height: 1.5;\n max-height: 3em;\n}\n.column-card:hover .title[data-v-335afa63] {\n color: var(--theme-color);\n}\n.column-card:hover .cover[data-v-335afa63] {\n transform: scale(1.05);\n}",""]),e.exports=o},2213:(e,t,n)=>{var o=n(2955)((function(e){return e[1]}));o.push([e.id,".be-up-info {\n display: flex;\n align-items: center;\n gap: 8px;\n font-size: 12px;\n line-height: normal;\n}\n.be-up-info:not(.fallback) {\n background-color: #fff;\n color: black;\n border-radius: 14px;\n border: 1px solid #8882;\n box-sizing: border-box;\n box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.05);\n box-sizing: border-box;\n height: 28px;\n border-radius: 14px;\n padding: 2px;\n box-shadow: none;\n padding-right: 8px;\n}\nbody.dark .be-up-info:not(.fallback) {\n box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.2);\n}\nbody.dark .be-up-info:not(.fallback) {\n background-color: var(--be-color-card-bg, #282828);\n color: var(--be-color-text-title, #eee);\n}\n.be-up-info-cover {\n border-radius: 50%;\n}\n.be-up-info-cover-fallback {\n display: flex;\n align-items: center;\n justify-content: center;\n height: 24px;\n width: 18px;\n margin-right: -3px;\n}\n.be-up-info-name {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n transition: 0.2s ease-out;\n}\n.be-up-info:hover .be-up-info-name {\n color: var(--theme-color) !important;\n}",""]),e.exports=o},479:(e,t,n)=>{var o=n(2955)((function(e){return e[1]}));o.push([e.id,'.video-card[data-v-c27449aa] {\n display: grid;\n grid-template-columns: 196px 1fr;\n grid-template-rows: 1fr 1fr 1fr;\n grid-template-areas: "cover title" "cover description" "cover up";\n height: var(--card-height);\n width: var(--card-width);\n color: black;\n background-color: #fff;\n border-radius: 8px;\n box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.05);\n border: 1px solid #8882;\n box-sizing: border-box;\n margin-right: var(--card-margin);\n margin-bottom: var(--card-margin);\n position: relative;\n}\nbody.dark .video-card[data-v-c27449aa], body.dark .video-card[data-v-c27449aa]:hover {\n background-color: #282828;\n color: #eee;\n}\n.video-card[data-v-c27449aa]:hover {\n color: black;\n}\n.video-card.vertical[data-v-c27449aa] {\n grid-template-columns: auto auto;\n grid-template-rows: auto 1fr auto auto;\n grid-template-areas: "cover cover" "title title" "up up" "stats stats";\n gap: 4px;\n}\n.video-card.vertical .description[data-v-c27449aa],\n.video-card.vertical .topics[data-v-c27449aa] {\n display: none;\n}\n.video-card.vertical .cover-container[data-v-c27449aa] {\n border-radius: 8px 8px 0 0;\n width: calc(var(--card-width) - 2px);\n height: calc(var(--card-width) / 20 * 12.5);\n}\n.video-card.vertical .title[data-v-c27449aa] {\n display: -webkit-box;\n -webkit-line-clamp: 2;\n -webkit-box-orient: vertical;\n max-height: 3em;\n word-break: break-all;\n white-space: normal;\n line-height: 1.5;\n margin: 4px 0;\n padding: 0 10px;\n font-size: 14px;\n}\n.video-card.vertical .up[data-v-c27449aa] {\n align-self: start;\n white-space: nowrap;\n}\n.video-card.vertical .up .name[data-v-c27449aa] {\n text-overflow: ellipsis;\n overflow: hidden;\n}\n.video-card.vertical .up[data-v-c27449aa]:not(.no-face) {\n margin-left: 8px;\n max-width: calc(var(--card-width) - 24px);\n}\n.video-card.vertical .up.no-face[data-v-c27449aa] {\n margin-top: 8px;\n max-width: calc(var(--card-width) - 24px);\n}\n.video-card.vertical .cooperation[data-v-c27449aa] {\n margin: 0 12px 6px 8px;\n}\n.video-card.vertical .cooperation-note[data-v-c27449aa] {\n display: flex;\n opacity: 0.5;\n}\n.video-card.vertical .stats[data-v-c27449aa] {\n grid-area: stats;\n align-self: end;\n justify-self: start;\n margin-bottom: 8px;\n margin-right: 0;\n}\n.video-card > *[data-v-c27449aa] {\n justify-self: self-start;\n align-self: center;\n}\n.video-card .publish-time-summary[data-v-c27449aa],\n.video-card .publish-time-detail[data-v-c27449aa],\n.video-card .duration[data-v-c27449aa],\n.video-card .watchlater[data-v-c27449aa] {\n opacity: 0;\n}\n.video-card:hover .cover[data-v-c27449aa] {\n transform: scale(1.05);\n}\n.video-card:hover .publish-time-summary[data-v-c27449aa],\n.video-card:hover .duration[data-v-c27449aa],\n.video-card:hover .watchlater[data-v-c27449aa] {\n opacity: 1;\n}\n.video-card .publish-time-summary[data-v-c27449aa]:hover {\n opacity: 0;\n}\n.video-card .publish-time-summary:hover ~ .publish-time-detail[data-v-c27449aa] {\n opacity: 1;\n}\n.video-card .cover-container[data-v-c27449aa] {\n grid-area: cover;\n border-radius: 8px 0 0 8px;\n position: relative;\n width: calc(var(--card-height) / 12.5 * 20);\n height: calc(var(--card-height) - 2px);\n overflow: hidden;\n}\n.video-card .cover-container .cover[data-v-c27449aa] {\n transition: 0.1s cubic-bezier(0.39, 0.58, 0.57, 1);\n -webkit-transform: rotate(0deg);\n object-fit: cover;\n width: 100%;\n height: 100%;\n}\n.video-card .cover-container[data-v-c27449aa] > :not(.cover) {\n position: absolute;\n display: flex;\n align-items: center;\n}\n.video-card .cover-container .publish-time-detail[data-v-c27449aa],\n.video-card .cover-container .publish-time-summary[data-v-c27449aa],\n.video-card .cover-container .duration[data-v-c27449aa],\n.video-card .cover-container .watchlater[data-v-c27449aa] {\n bottom: 6px;\n padding: 2px 8px;\n background-color: #000a;\n color: white;\n border-radius: 10px;\n height: 20px;\n box-sizing: border-box;\n}\n.video-card .cover-container .publish-time-detail .mdi[data-v-c27449aa],\n.video-card .cover-container .publish-time-summary .mdi[data-v-c27449aa],\n.video-card .cover-container .duration .mdi[data-v-c27449aa],\n.video-card .cover-container .watchlater .mdi[data-v-c27449aa] {\n margin-right: 4px;\n}\n.video-card .cover-container .new[data-v-c27449aa] {\n top: 6px;\n left: 6px;\n background-color: var(--theme-color);\n color: var(--foreground-color);\n font-weight: 600;\n padding: 2px 8px;\n border-radius: 10px;\n height: 20px;\n box-sizing: border-box;\n}\n.video-card .cover-container .publish-time-detail[data-v-c27449aa] {\n z-index: 0;\n}\n.video-card .cover-container .publish-time-summary[data-v-c27449aa] {\n z-index: 1;\n}\n.video-card .cover-container .publish-time-detail[data-v-c27449aa],\n.video-card .cover-container .publish-time-summary[data-v-c27449aa] {\n top: 6px;\n right: 6px;\n}\n.video-card .cover-container .duration[data-v-c27449aa] {\n left: 6px;\n}\n.video-card .cover-container .watchlater[data-v-c27449aa] {\n right: 6px;\n padding-left: 4px;\n}\n.video-card .title[data-v-c27449aa] {\n grid-area: title;\n font-size: 15px;\n font-weight: 600;\n color: inherit;\n padding: 4px 12px 0 12px;\n white-space: nowrap;\n overflow: hidden;\n justify-self: stretch;\n text-overflow: ellipsis;\n}\n.video-card .title[data-v-c27449aa]:hover {\n color: var(--theme-color);\n}\n.video-card .topics[data-v-c27449aa] {\n display: flex;\n align-items: center;\n grid-area: description;\n margin-left: 12px;\n}\n.video-card .topics .topic[data-v-c27449aa] {\n display: flex;\n align-items: center;\n gap: 4px;\n color: inherit;\n padding: 4px 8px;\n border: 1px solid #8882;\n margin-right: 8px;\n border-radius: 14px;\n opacity: 0.75;\n}\n.video-card .topics .topic .topic-name[data-v-c27449aa] {\n max-width: 84px;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n.video-card .topics .topic[data-v-c27449aa]:hover {\n background-color: #8882;\n color: var(--theme-color);\n opacity: 1;\n}\n.video-card .description[data-v-c27449aa] {\n grid-area: description;\n color: inherit;\n overflow: hidden;\n align-self: stretch;\n justify-self: stretch;\n margin: 0 12px;\n line-height: 1.5;\n height: 3em;\n display: -webkit-box;\n -webkit-line-clamp: 2;\n -webkit-box-orient: vertical;\n scrollbar-width: none !important;\n}\n.video-card .description[data-v-c27449aa]::-webkit-scrollbar {\n width: 0px !important;\n}\n.video-card .description.single-line[data-v-c27449aa] {\n overflow: hidden;\n white-space: nowrap;\n text-overflow: ellipsis;\n}\n.video-card .cooperation[data-v-c27449aa],\n.video-card .up[data-v-c27449aa],\n.video-card .stats[data-v-c27449aa] {\n grid-area: up;\n}\n.video-card .up[data-v-c27449aa] {\n margin-left: 12px;\n margin-bottom: 6px;\n display: flex;\n align-items: center;\n padding: 2px;\n background-color: transparent;\n border: 1px solid #8882;\n box-sizing: border-box;\n border-radius: 15px;\n color: inherit;\n}\n.video-card .up .name[data-v-c27449aa] {\n margin: 0 8px;\n}\n.video-card .up.no-face[data-v-c27449aa] {\n background-color: transparent;\n padding: 0;\n}\n.video-card .up.no-face .be-icon[data-v-c27449aa] {\n font-size: 18px;\n opacity: 0.75;\n}\n.video-card .up .face[data-v-c27449aa] {\n border-radius: 50%;\n width: 24px;\n height: 24px;\n box-sizing: content-box;\n}\n.video-card .up[data-v-c27449aa]:not(.no-face):hover {\n background-color: #8882;\n}\n.video-card .up:hover .name[data-v-c27449aa],\n.video-card .up:hover .be-icon[data-v-c27449aa] {\n color: var(--theme-color);\n}\n.video-card.no-stats .up[data-v-c27449aa],\n.video-card.no-stats .cooperation[data-v-c27449aa] {\n margin-bottom: 4px;\n}\n.video-card .cooperation[data-v-c27449aa] {\n margin-left: 12px;\n display: flex;\n align-items: center;\n justify-self: stretch;\n justify-content: space-between;\n}\n.video-card .cooperation-ups[data-v-c27449aa] {\n display: flex;\n flex-direction: row-reverse;\n align-items: center;\n justify-content: flex-start;\n}\n.video-card .cooperation-ups .cooperation-up[data-v-c27449aa] {\n flex: 0 0 15px;\n width: 15px;\n display: flex;\n}\n.video-card .cooperation-ups .cooperation-up.no-face[data-v-c27449aa] {\n background-color: transparent;\n padding: 0;\n}\n.video-card .cooperation-ups .cooperation-up.no-face .be-icon[data-v-c27449aa] {\n font-size: 18px;\n opacity: 0.75;\n}\n.video-card .cooperation-ups .cooperation-up .face[data-v-c27449aa] {\n border-radius: 50%;\n width: 24px;\n height: 24px;\n box-sizing: content-box;\n}\n.video-card .cooperation-ups .cooperation-up .face[data-v-c27449aa] {\n border: 1px solid #8882;\n padding: 2px;\n background-color: #fff;\n}\nbody.dark .video-card .cooperation-ups .cooperation-up .face[data-v-c27449aa] {\n background-color: #282828;\n}\n.video-card .cooperation-ups:hover .cooperation-up[data-v-c27449aa] {\n flex-basis: auto;\n width: 30px;\n margin-right: 4px;\n}\n.video-card .cooperation-note[data-v-c27449aa] {\n display: none;\n}\n.video-card .stats[data-v-c27449aa] {\n font-size: 11px;\n justify-self: self-end;\n margin-right: 12px;\n display: flex;\n align-items: center;\n opacity: 0.5;\n}\n.video-card .stats[data-v-c27449aa] > :nth-child(n+4) {\n display: none;\n}\n.video-card .stats .be-icon[data-v-c27449aa] {\n margin: 0 4px 0 12px;\n}',""]),e.exports=o},2870:(e,t,n)=>{var o=n(2955)((function(e){return e[1]}));o.push([e.id,".bb-comment .translate-container,\n.card-content .translate-container {\n margin: 4px 0 2px 0;\n display: inline-block;\n font-weight: normal;\n font-size: 14px;\n}\n.bb-comment .translate-container .translated,\n.card-content .translate-container .translated {\n font-size: 12px;\n display: flex;\n align-items: center;\n gap: 8px;\n}\n.bb-comment .translate-container .translated a,\n.card-content .translate-container .translated a {\n color: #aaa !important;\n}\n.bb-comment .translate-container .translated a:hover,\n.card-content .translate-container .translated a:hover {\n color: var(--theme-color) !important;\n}\n.bb-comment .translate-container .translate,\n.card-content .translate-container .translate {\n display: flex;\n align-items: center;\n gap: 2px;\n font-size: 12px;\n height: 18px;\n color: #aaa;\n cursor: pointer;\n}\n.bb-comment .translate-container .translate:hover,\n.card-content .translate-container .translate:hover {\n color: var(--theme-color);\n}\n.bb-comment .translate-container .translate-result,\n.card-content .translate-container .translate-result {\n padding-top: 6px;\n white-space: pre-wrap;\n line-height: 20px;\n word-break: break-all;\n overflow-wrap: break-word;\n}\nbody.dark .bb-comment .translate-container .translate-result,\nbody.dark .card-content .translate-container .translate-result {\n color: #eee;\n}\nbody.machine-translator-enabled .bb-comment .reply-con .text-con {\n display: block;\n margin: 0 !important;\n}\nbody.machine-translator-enabled .card-content .translate-container {\n margin: 13px 0 2px 0;\n}",""]),e.exports=o},9242:(e,t,n)=>{var o=n(2955)((function(e){return e[1]}));o.push([e.id,".be-launch-bar-suggest-item {\n outline: none !important;\n padding: 6px 6px 6px 10px;\n cursor: pointer;\n}\n.be-launch-bar-suggest-item.disabled {\n cursor: default;\n display: flex;\n align-items: center;\n justify-content: center;\n}\n.be-launch-bar-suggest-item:not(.disabled).focused, .be-launch-bar-suggest-item:not(.disabled):hover, .be-launch-bar-suggest-item:not(.disabled):focus-within {\n background-color: #8882;\n}\n.be-launch-bar-suggest-item:first-child {\n padding-top: 8px;\n border-radius: 7px 7px 0 0;\n}\n.be-launch-bar-suggest-item:last-child {\n padding-bottom: 8px;\n border-radius: 0 0 7px 7px;\n}\n.be-launch-bar-suggest-item-content {\n display: flex;\n align-items: center;\n}\n.be-launch-bar-suggest-item-icon {\n margin-right: 6px;\n}\n.be-launch-bar-suggest-item-title {\n display: flex;\n align-items: stretch;\n flex-direction: column;\n flex: 1 0 0;\n width: 0;\n}\n.be-launch-bar-suggest-item-name {\n max-width: 100%;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n.be-launch-bar-suggest-item-description {\n opacity: 0.5;\n font-size: smaller;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n.be-launch-bar-suggest-item-delete {\n opacity: 0.5;\n margin-right: 4px;\n}\n.be-launch-bar-suggest-item-delete:hover {\n opacity: 1;\n}",""]),e.exports=o},2703:(e,t,n)=>{var o=n(2955)((function(e){return e[1]}));o.push([e.id,".global-launch-bar-container {\n display: flex;\n top: 20vh;\n left: 50%;\n width: 40vw;\n max-width: 650px;\n height: 50px;\n padding: 0 8px;\n z-index: 5000;\n background-color: #fff;\n color: black;\n border-radius: 8px;\n border: 1px solid #8882;\n box-sizing: border-box;\n box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.05);\n border: 1px solid #8882;\n font-size: 16px;\n transform: translateX(-50%);\n transition: opacity 0.2s ease-out;\n}\nbody.dark .global-launch-bar-container {\n box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.2);\n}\nbody.dark .global-launch-bar-container {\n background-color: var(--be-color-card-bg, #282828);\n color: var(--be-color-text-title, #eee);\n}\nbody.dark .global-launch-bar-container {\n background-color: var(--be-color-popup-bg, #222);\n}\n.global-launch-bar-container .launch-bar {\n flex: 1;\n}\nbody.dark .global-launch-bar-container .launch-bar {\n --color: #eee;\n}\n.global-launch-bar-container .launch-bar .launch-bar-suggest-list {\n top: calc(100% + 8px);\n max-height: calc(80vh - 16px - 50px);\n overflow: auto;\n scrollbar-width: none !important;\n overscroll-behavior: contain;\n font-size: 14px;\n}\n.global-launch-bar-container .launch-bar .launch-bar-suggest-list::-webkit-scrollbar {\n height: 0 !important;\n width: 0 !important;\n}",""]),e.exports=o},9236:(e,t,n)=>{var o=n(2955)((function(e){return e[1]}));o.push([e.id,".launch-bar {\n --color: black;\n color: var(--color);\n position: relative;\n display: flex;\n align-items: center;\n}\n.launch-bar .input-area {\n display: flex;\n flex-direction: column;\n flex: 1;\n}\n.launch-bar .input-area .recommended-target {\n display: none;\n}\n.launch-bar .input-area .launch-bar-form {\n flex: 1;\n display: flex;\n}\n.launch-bar .input-area .launch-bar-form .input {\n flex: 1;\n padding: 8px;\n background-color: transparent;\n border: none;\n outline: none !important;\n color: inherit;\n box-sizing: border-box;\n width: 15vw;\n font-size: inherit;\n}\n.launch-bar .input-area .launch-bar-form .input::placeholder {\n color: inherit !important;\n opacity: 0.8;\n}\n.launch-bar .input-area .launch-bar-form .submit {\n color: inherit;\n padding: 4px;\n background: transparent;\n border: none;\n outline: none !important;\n cursor: pointer;\n}\n.launch-bar .input-area .input-active-bar {\n flex: 0 0 auto;\n align-self: flex-start;\n height: 2px;\n width: 0;\n border-radius: 1px;\n background-color: var(--theme-color);\n transition: 0.3s ease-in-out;\n}\n.launch-bar .launch-bar-suggest-list {\n position: absolute;\n top: 100%;\n left: 50%;\n opacity: 0;\n width: 100%;\n transform: translateX(-50%) translateY(-4px);\n pointer-events: none;\n transition: 0.2s all ease-out;\n border: 1px solid #8882;\n white-space: nowrap;\n border-radius: 8px;\n box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.05);\n color: black;\n background-color: #fff;\n}\nbody.dark .launch-bar .launch-bar-suggest-list {\n box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.2);\n}\nbody.dark .launch-bar .launch-bar-suggest-list {\n color: var(--be-color-text-title, #eee);\n background-color: var(--be-color-panel-bg, #222);\n}\n.launch-bar .launch-bar-suggest-list .suggest-highlight {\n color: var(--theme-color);\n font-style: normal;\n}\n.launch-bar:focus-within .input-active-bar {\n width: 100%;\n}\n.launch-bar:focus-within .launch-bar-suggest-list,\n.launch-bar .launch-bar-suggest-list:focus-within {\n opacity: 1;\n transform: translateX(-50%);\n pointer-events: initial;\n}",""]),e.exports=o},6582:(e,t,n)=>{var o=n(2955)((function(e){return e[1]}));o.push([e.id,'.release-content {\n display: flex;\n align-items: stretch;\n flex-direction: column;\n gap: 12px;\n padding: 0 16px 16px 16px;\n}\n.release-content-markdown {\n font-size: 14px;\n flex-grow: 1;\n max-height: calc(100vh - 220px);\n overflow: auto;\n line-height: normal;\n}\n.release-content-markdown > * {\n font-size: inherit;\n}\n.release-content-markdown h1,\n.release-content-markdown h2,\n.release-content-markdown h3,\n.release-content-markdown h4,\n.release-content-markdown h5,\n.release-content-markdown h6 {\n margin-block-start: 1em;\n margin-block-end: 0.75em;\n font-weight: 600;\n color: inherit;\n}\n.release-content-markdown ul,\n.release-content-markdown ul li {\n list-style: disc;\n font-size: inherit;\n}\n.release-content-markdown ol,\n.release-content-markdown ol li {\n list-style: decimal;\n font-size: inherit;\n}\n.release-content-markdown ul,\n.release-content-markdown ol {\n padding-left: 16px;\n margin: 0;\n}\n.release-content-markdown ul li,\n.release-content-markdown ol li {\n line-height: 1.75;\n}\n.release-content-markdown p {\n margin: 0;\n}\n.release-content-markdown details {\n line-height: 1.75;\n}\n.release-content-markdown details summary {\n cursor: pointer;\n margin: 4px 0;\n}\n.release-content-markdown > p {\n line-height: 1.75;\n}\n.release-content-markdown p + p {\n margin-top: 8px;\n}\n.release-content-markdown pre {\n white-space: pre-wrap;\n}\n.release-content-markdown code {\n display: inline-block;\n padding: 0 4px;\n margin: 1px 2px;\n border-radius: 4px;\n background-color: #8882;\n line-height: normal;\n}\n.release-content-markdown kbd {\n font-family: monospace;\n border: 1px solid #ccc;\n display: inline-block;\n border-radius: 4px;\n padding: 0 4px;\n margin: 1px 2px;\n line-height: 1.1;\n}\nbody.dark .release-content-markdown kbd {\n border-color: #666;\n}\n.release-content-markdown blockquote {\n border-radius: 4px;\n margin: 0;\n padding: 4px;\n padding-left: 12px;\n color: inherit;\n background-color: #8881;\n box-sizing: border-box;\n position: relative;\n}\nbody.dark .release-content-markdown blockquote * {\n color: inherit !important;\n}\n.release-content-markdown blockquote::before {\n content: "";\n position: absolute;\n display: block;\n width: 3px;\n height: calc(100% - 8px);\n top: 4px;\n left: 0;\n border-radius: 2px;\n background-color: var(--theme-color);\n}\n.release-content-markdown a,\n.release-content-markdown a:focus-within,\n.release-content-markdown a:hover {\n color: var(--theme-color);\n}\n.release-content-markdown > :last-child {\n margin-bottom: 0;\n}\n.release-content-actions {\n display: flex;\n align-items: center;\n gap: 6px;\n flex-shrink: 0;\n font-size: 15px;\n justify-content: flex-end;\n}\n.release-content-actions .be-button {\n padding: 6px 12px;\n}',""]),e.exports=o},5470:(e,t,n)=>{var o=n(2955)((function(e){return e[1]}));o.push([e.id,'.component-description {\n word-break: break-all;\n line-height: normal;\n}\n.component-description > * {\n font-size: inherit;\n}\n.component-description h1,\n.component-description h2,\n.component-description h3,\n.component-description h4,\n.component-description h5,\n.component-description h6 {\n margin-block-start: 1em;\n margin-block-end: 0.75em;\n font-weight: 600;\n color: inherit;\n}\n.component-description ul,\n.component-description ul li {\n list-style: disc;\n font-size: inherit;\n}\n.component-description ol,\n.component-description ol li {\n list-style: decimal;\n font-size: inherit;\n}\n.component-description ul,\n.component-description ol {\n padding-left: 16px;\n margin: 0;\n}\n.component-description ul li,\n.component-description ol li {\n line-height: 1.75;\n}\n.component-description p {\n margin: 0;\n}\n.component-description details {\n line-height: 1.75;\n}\n.component-description details summary {\n cursor: pointer;\n margin: 4px 0;\n}\n.component-description > p {\n line-height: 1.75;\n}\n.component-description p + p {\n margin-top: 8px;\n}\n.component-description pre {\n white-space: pre-wrap;\n}\n.component-description code {\n display: inline-block;\n padding: 0 4px;\n margin: 1px 2px;\n border-radius: 4px;\n background-color: #8882;\n line-height: normal;\n}\n.component-description kbd {\n font-family: monospace;\n border: 1px solid #ccc;\n display: inline-block;\n border-radius: 4px;\n padding: 0 4px;\n margin: 1px 2px;\n line-height: 1.1;\n}\nbody.dark .component-description kbd {\n border-color: #666;\n}\n.component-description blockquote {\n border-radius: 4px;\n margin: 0;\n padding: 4px;\n padding-left: 12px;\n color: inherit;\n background-color: #8881;\n box-sizing: border-box;\n position: relative;\n}\nbody.dark .component-description blockquote * {\n color: inherit !important;\n}\n.component-description blockquote::before {\n content: "";\n position: absolute;\n display: block;\n width: 3px;\n height: calc(100% - 8px);\n top: 4px;\n left: 0;\n border-radius: 2px;\n background-color: var(--theme-color);\n}\n.component-description a,\n.component-description a:focus-within,\n.component-description a:hover {\n color: var(--theme-color);\n}\n.component-description > :last-child {\n margin-bottom: 0;\n}',""]),e.exports=o},3835:(e,t,n)=>{var o=n(2955)((function(e){return e[1]}));o.push([e.id,".component-detail {\n min-width: 264px;\n width: 264px;\n flex: 1;\n background-color: inherit;\n border-radius: 7px;\n overflow: auto;\n overscroll-behavior: contain;\n display: flex;\n align-items: stretch;\n flex-direction: column;\n}\n.component-detail .extra-option {\n display: flow-root;\n}\n.component-detail-separator {\n height: 1px;\n border-bottom: 1px solid #8882;\n margin: 8px 0;\n flex-shrink: 0;\n align-self: stretch;\n box-sizing: border-box;\n}\n.component-detail-header {\n display: flex;\n align-items: center;\n justify-content: space-between;\n padding: 12px;\n background-color: inherit;\n position: sticky;\n top: 0;\n z-index: 2;\n}\n.component-detail-header .display-name {\n font-weight: 600;\n font-size: 16px;\n}\n.component-detail-header .close {\n cursor: pointer;\n}\n.component-detail-header .close:hover {\n color: var(--theme-color);\n}\n.component-detail-description:not(:last-child) {\n padding: 6px 12px;\n}\n.component-detail-tags {\n display: flex;\n align-items: center;\n flex-wrap: wrap;\n padding: 0 8px 8px;\n}\n.component-detail-tags .tag {\n display: flex;\n align-items: center;\n background-color: #fff;\n color: black;\n border-radius: 8px;\n border: 1px solid #8882;\n box-sizing: border-box;\n box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.05);\n box-sizing: border-box;\n height: 24px;\n border-radius: 12px;\n padding: 2px 6px;\n margin-right: 4px;\n margin-bottom: 4px;\n font-size: 12px;\n box-shadow: none;\n}\nbody.dark .component-detail-tags .tag {\n box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.2);\n}\nbody.dark .component-detail-tags .tag {\n background-color: var(--be-color-card-bg, #282828);\n color: var(--be-color-text-title, #eee);\n}\n.component-detail-tags .tag .tag-color {\n border-radius: 50%;\n width: 12px;\n height: 12px;\n margin-right: 4px;\n}\n.component-detail-internal-data {\n display: flex;\n align-items: stretch;\n flex-direction: column;\n justify-content: center;\n flex-shrink: 0;\n position: sticky;\n bottom: 0;\n min-height: 24px;\n box-sizing: content-box;\n background-color: inherit;\n padding-bottom: 8px;\n}\n.component-detail-internal-data .component-detail-separator {\n margin-top: 0;\n}\n.component-detail-internal-data-row {\n display: flex;\n align-items: center;\n justify-content: space-between;\n line-height: 24px;\n padding: 0 12px;\n}\n.component-detail-internal-data .internal-name {\n opacity: 0.5;\n}\n.component-detail-internal-data .tippy-content {\n padding: 4px;\n}\n.component-detail-internal-data .extra-actions-wrapper {\n position: relative;\n transform: translateX(2px);\n}\n.component-detail-internal-data .extra-actions-wrapper .extra-actions {\n padding: 4px;\n cursor: pointer;\n}\n.component-detail-internal-data .extra-actions-wrapper .extra-actions-list {\n width: max-content;\n}\n.component-detail-operations {\n display: flex;\n align-items: center;\n}\n.component-detail-operations > * {\n flex: 1 0 0;\n}\n.component-detail-operations > *:not(:last-child) {\n margin-right: 8px;\n}\n.component-detail-options {\n padding: 8px 12px;\n}\n.component-detail-options .component-detail-options-title {\n font-weight: 600;\n font-size: 14px;\n margin-bottom: 8px;\n}\n.component-detail-options .generated-option:not(:last-child) {\n margin-bottom: 4px;\n}\n.component-detail-grow {\n flex: 1;\n}",""]),e.exports=o},1261:(e,t,n)=>{var o=n(2955)((function(e){return e[1]}));o.push([e.id,".component-option {\n display: flex;\n align-items: center;\n min-height: 24px;\n}\n.component-option .unknown-option-type,\n.component-option .be-slider,\n.component-option .be-range-input,\n.component-option .be-text-box {\n flex: 1 0 0;\n}\n.component-option[data-type=boolean] .option-name {\n flex: 1 0 0;\n}\n.component-option[data-type=dropdown] .option-name {\n flex: 1 0 0;\n}\n.component-option[data-type=color] .option-name {\n flex: 1 0 0;\n}\n.component-option[data-type=switch] {\n justify-content: center;\n}\n.component-option[data-type=switch] .option-name {\n display: none;\n}\n.component-option .option-name {\n margin-right: 8px;\n}\n.component-option .be-slider {\n margin: 0 8px;\n}\n.component-option textarea {\n resize: vertical;\n min-height: 16px;\n}",""]),e.exports=o},4260:(e,t,n)=>{var o=n(2955)((function(e){return e[1]}));o.push([e.id,'.component-settings {\n display: flex;\n flex-direction: column;\n justify-content: center;\n box-sizing: border-box;\n overflow: hidden;\n padding: 7px 12px 7px 7px;\n width: 100%;\n min-height: 36px;\n position: relative;\n cursor: pointer;\n transition: 0.2s ease-out;\n -webkit-user-select: none;\n user-select: none;\n}\n.component-settings::after {\n content: "";\n opacity: 0;\n transition: opacity 0.2s ease-out;\n position: absolute;\n top: 0;\n left: 10px;\n height: 100%;\n width: calc(100% - 20px);\n pointer-events: none;\n background-image: repeating-linear-gradient(to bottom, #0000, #0000 10px, #8882 10px, #8882 30px, #0000 30px, #0000 38px, #8882 38px, #8882 50px, #0000 50px);\n}\n.component-settings.virtual::after {\n opacity: 1;\n}\n.component-settings.virtual .component-settings-row {\n display: none;\n}\n.component-settings .component-settings-row {\n display: flex;\n align-items: center;\n justify-content: space-between;\n}\n.component-settings .component-settings-row:not(:last-child) {\n margin-bottom: 8px;\n}\n.component-settings .display-name {\n font-size: 14px;\n height: 20px;\n flex: 1 0 auto;\n margin-left: 6px;\n width: 200px;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n display: flex;\n align-items: center;\n}\n.component-settings .details-arrow {\n opacity: 0.75;\n width: 32px;\n justify-content: flex-end;\n}\n.component-settings .be-switch-box {\n margin: 0;\n}\n.component-settings:hover {\n background-color: #8881;\n}\n.component-settings:hover .options-count {\n opacity: 1;\n}\n.component-settings.selected {\n background-color: #8882;\n}',""]),e.exports=o},2835:(e,t,n)=>{var o=n(2955)((function(e){return e[1]}));o.push([e.id,".settings-panel-content .sidebar > * {\n position: relative;\n flex: 1;\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n}\n.settings-panel-content .sidebar > * .settings-panel-sub-page {\n font-size: 13px;\n top: 12px;\n transition: 0.3s cubic-bezier(0.22, 0.61, 0.36, 1);\n transform: translateX(calc(-12.5% * var(--direction)));\n min-width: 372px;\n padding: 12px;\n box-sizing: border-box;\n background-color: #fff;\n color: black;\n border-radius: 8px;\n border: 1px solid #8882;\n box-sizing: border-box;\n box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.05);\n}\nbody.dark .settings-panel-content .sidebar > * .settings-panel-sub-page {\n box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.2);\n}\nbody.dark .settings-panel-content .sidebar > * .settings-panel-sub-page {\n background-color: var(--be-color-card-bg, #282828);\n color: var(--be-color-text-title, #eee);\n}\nbody.dark .settings-panel-content .sidebar > * .settings-panel-sub-page {\n background-color: var(--be-color-popup-bg, #222);\n}\n.settings-panel-content .sidebar > * .settings-panel-sub-page.open {\n transform: translateX(0);\n}\n.settings-panel-content .sidebar > * .settings-panel-sub-page .sub-page-row {\n display: flex;\n align-items: center;\n justify-content: space-between;\n flex-shrink: 0;\n}\n.settings-panel-content .sidebar > * .settings-panel-sub-page .sub-page-row:not(:last-child) {\n margin-bottom: 12px;\n}\n.settings-panel-content .sidebar > * .settings-panel-sub-page .separator {\n height: 1px;\n background-color: #8882;\n width: 100%;\n}\n.settings-panel-content .sidebar > * .component-tags-item {\n background-color: transparent;\n cursor: pointer;\n display: flex;\n align-items: center;\n white-space: nowrap;\n padding: 8px;\n padding-right: 10px;\n font-size: 13px;\n}\n.settings-panel-content .sidebar > * .component-tags-item .tag-name {\n margin-right: 4px;\n margin-left: 8px;\n}\n.settings-panel-content .sidebar > * .component-tags-item:hover, .settings-panel-content .sidebar > * .component-tags-item.selected {\n background-color: #8882;\n}\n.settings-panel-content .sidebar > * .icon-list,\n.settings-panel-content .sidebar > * .component-tags {\n flex-grow: 1;\n max-height: calc(var(--panel-height) - var(--header-height));\n overflow: auto;\n scrollbar-width: none !important;\n overscroll-behavior: contain;\n background-color: transparent;\n width: 40px;\n display: flex;\n flex-direction: column;\n}\n.settings-panel-content .sidebar > * .icon-list::-webkit-scrollbar,\n.settings-panel-content .sidebar > * .component-tags::-webkit-scrollbar {\n height: 0 !important;\n width: 0 !important;\n}\n.settings-panel-content .sidebar > * .icon-list .grow,\n.settings-panel-content .sidebar > * .component-tags .grow {\n flex-grow: 1;\n}\n.settings-panel-content .sidebar > * .icon-list .be-icon,\n.settings-panel-content .sidebar > * .component-tags .be-icon {\n margin-left: 2px;\n}\n.settings-panel-content .sidebar > * .component-tags {\n height: 100%;\n width: auto;\n position: absolute;\n top: 0;\n opacity: 0;\n transition: 0.2s ease-out;\n pointer-events: none;\n background-color: #fff;\n border-right: 1px solid #8882;\n}\nbody.dark .settings-panel-content .sidebar > * .component-tags {\n background-color: var(--be-color-panel-bg, #222);\n}\n.settings-panel-content .sidebar > * .icon-list:hover ~ .component-tags,\n.settings-panel-content .sidebar > * .component-tags:hover {\n opacity: 1;\n pointer-events: initial;\n}",""]),e.exports=o},3748:(e,t,n)=>{var o=n(2955)((function(e){return e[1]}));o.push([e.id,'.be-settings {\n line-height: normal;\n font-size: 12px;\n --panel-height: calc(100vh - 120px);\n}\nbody.player-mode-blackmask .be-settings {\n visibility: hidden;\n}\n.be-settings > .sidebar {\n position: fixed;\n top: 50%;\n z-index: 1002;\n transform: translateX(calc(-50% * var(--direction))) translateY(-50%);\n}\nbody.player-mode-full .be-settings > .sidebar, body.player-fullscreen-fix .be-settings > .sidebar, body.player-mode-web .be-settings > .sidebar, body.player-full-win .be-settings > .sidebar {\n z-index: 1;\n}\n.be-settings > .sidebar > * {\n transition: transform 0.3s ease-out, opacity 0.3s ease-out;\n cursor: pointer;\n -webkit-tap-highlight-color: transparent;\n width: 26px;\n height: 26px;\n padding: 8px;\n box-sizing: content-box;\n background-color: #fffa;\n border-radius: 50%;\n position: relative;\n}\nbody.dark .be-settings > .sidebar > * {\n background-color: #333a;\n}\n.be-settings > .sidebar > *:not(:last-child) {\n margin-bottom: 26px;\n}\n.be-settings > .sidebar > *::after {\n content: "";\n width: 140%;\n height: 140%;\n position: absolute;\n top: -20%;\n left: -20%;\n background: transparent;\n}\n.be-settings > .sidebar > * .be-icon {\n font-size: 26px;\n color: #888;\n fill: #888;\n transition: fill 0.3s ease-out;\n}\n.be-settings > .sidebar > *:hover {\n transform: translateX(calc(60% * var(--direction))) scale(1.1);\n background-color: #fff;\n}\nbody.dark .be-settings > .sidebar > *:hover {\n background-color: var(--be-color-button-bg, #333);\n}\n.be-settings > .sidebar > *:hover .be-icon {\n color: #222;\n fill: #222;\n}\nbody.dark .be-settings > .sidebar > *:hover .be-icon {\n color: var(--be-color-text-title, #eee);\n fill: var(--be-color-text-title, #eee);\n}\n.be-settings > .sidebar > *.open {\n transform: translateX(calc(100% * var(--direction))) scale(1.5);\n opacity: 0;\n}\n.be-settings .settings-panel-popup {\n transition: transform 0.3s cubic-bezier(0.22, 0.61, 0.36, 1), opacity 0.3s cubic-bezier(0.22, 0.61, 0.36, 1);\n top: 50%;\n z-index: 100001;\n}\n.be-settings .settings-panel-popup.close {\n transform: translateZ(0) translateY(-50%) translateX(calc(-48% * var(--direction)));\n}\n.be-settings .settings-panel-popup.open {\n transform: translateZ(0) translateY(-50%) translateX(0);\n}\n.be-settings .widgets-panel-popup {\n top: 50%;\n z-index: 100001;\n transition: transform 0.3s cubic-bezier(0.22, 0.61, 0.36, 1), opacity 0.3s cubic-bezier(0.22, 0.61, 0.36, 1);\n}\n.be-settings .widgets-panel-popup.close {\n transform: translateZ(0) translateY(-50%) translateX(calc(-48% * var(--direction)));\n}\n.be-settings .widgets-panel-popup.open {\n transform: translateZ(0) translateY(-50%) translateX(0);\n}\n.bilibili-player-dm-tip-wrap {\n pointer-events: none !important;\n}\nbody:not(.settings-panel-dock-right) .contact-help {\n display: none !important;\n}\nbody:not(.settings-panel-dock-right) .be-settings {\n --direction: 1;\n}\nbody:not(.settings-panel-dock-right) .be-settings > .sidebar {\n left: 0;\n}\nbody:not(.settings-panel-dock-right) .widgets-panel-popup,\nbody:not(.settings-panel-dock-right) .settings-panel-popup {\n left: 12px;\n transform-origin: left;\n}\nbody:not(.settings-panel-dock-right) .settings-panel-popup .settings-panel-content .sidebar {\n border-right: 1px solid #8882;\n}\nbody:not(.settings-panel-dock-right) .settings-panel-popup .settings-panel-content .main {\n border-bottom-right-radius: 7px;\n}\nbody:not(.settings-panel-dock-right) .settings-panel-popup .component-tags {\n border-bottom-left-radius: 8px;\n border-right: 1px solid #8882;\n left: 0;\n}\nbody:not(.settings-panel-dock-right) .settings-panel-popup .component-tags .component-tags-item:last-child {\n border-bottom-left-radius: 7px;\n}\nbody:not(.settings-panel-dock-right) .settings-panel-sub-page {\n left: 53px;\n}\nbody.settings-panel-dock-right {\n --direction: -1;\n}\nbody.settings-panel-dock-right .be-settings > .sidebar {\n right: 0;\n}\nbody.settings-panel-dock-right .widgets-panel-popup,\nbody.settings-panel-dock-right .settings-panel-popup {\n right: 12px;\n transform-origin: right;\n}\nbody.settings-panel-dock-right .settings-panel-popup .settings-panel-content .sidebar {\n order: 1;\n border-left: 1px solid #8882;\n}\nbody.settings-panel-dock-right .settings-panel-popup .settings-panel-content .main {\n border-bottom-left-radius: 7px;\n}\nbody.settings-panel-dock-right .settings-panel-popup .component-tags {\n border-bottom-right-radius: 8px;\n border-left: 1px solid #8882;\n right: 0;\n}\nbody.settings-panel-dock-right .settings-panel-popup .component-tags .component-tags-item:last-child {\n border-bottom-right-radius: 7px;\n}\nbody.settings-panel-dock-right .settings-panel-popup .component-settings {\n padding: 7px 7px 7px 12px;\n}\nbody.settings-panel-dock-right .settings-panel-popup .component-settings .row {\n flex-direction: row-reverse;\n}\nbody.settings-panel-dock-right .settings-panel-popup .component-settings .row .details-arrow {\n transform: rotate(180deg);\n}\nbody.settings-panel-dock-right .settings-panel-popup .component-settings .row .display-name {\n margin-left: 12px;\n width: 180px;\n}\nbody.settings-panel-dock-right .settings-panel-sub-page {\n right: 53px;\n}',""]),e.exports=o},8763:(e,t,n)=>{var o=n(2955)((function(e){return e[1]}));o.push([e.id,".settings-panel-popup {\n z-index: 1000;\n}\n.settings-panel-popup .settings-panel {\n box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.05);\n display: flex;\n align-items: stretch;\n flex-direction: column;\n --header-height: 50px;\n --settings-panel-background: #fff;\n background-color: var(--settings-panel-background);\n position: relative;\n overscroll-behavior: contain;\n border-radius: 8px;\n color: black;\n border: 1px solid #8882;\n box-sizing: content-box;\n width: auto;\n min-width: 320px;\n height: var(--panel-height);\n transition: opacity 0.2s 0.2s ease-out;\n}\nbody.dark .settings-panel-popup .settings-panel {\n box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.2);\n}\nbody.dark .settings-panel-popup .settings-panel {\n --settings-panel-background: var(--be-color-panel-bg, #222);\n color: var(--be-color-text-title, #eee);\n}\n.settings-panel-popup .settings-panel .settings-panel-header {\n box-sizing: border-box;\n height: var(--header-height);\n padding: 12px;\n border-bottom: 1px solid #8882;\n display: flex;\n align-items: center;\n gap: 8px;\n color: black;\n fill: black;\n stroke: black;\n}\nbody.dark .settings-panel-popup .settings-panel .settings-panel-header {\n color: var(--be-color-text-title, #eee);\n fill: var(--be-color-text-title, #eee);\n stroke: var(--be-color-text-title, #eee);\n}\n.settings-panel-popup .settings-panel .settings-panel-header .title {\n font-size: 18px;\n font-weight: 600;\n}\n.settings-panel-popup .settings-panel .settings-panel-header .collaspe .be-icon {\n font-size: 28px;\n}\n.settings-panel-popup .settings-panel .settings-panel-header .peek {\n cursor: pointer;\n}\n.settings-panel-popup .settings-panel .settings-panel-header .collaspe .be-icon,\n.settings-panel-popup .settings-panel .settings-panel-header .close .be-icon {\n cursor: pointer;\n transition: 0.2s ease-out;\n}\n.settings-panel-popup .settings-panel .settings-panel-header .collaspe .be-icon:hover,\n.settings-panel-popup .settings-panel .settings-panel-header .close .be-icon:hover {\n color: var(--theme-color);\n}\n.settings-panel-popup .settings-panel .settings-panel-content {\n flex: 1;\n display: flex;\n max-height: calc(var(--panel-height) - var(--header-height));\n}\n.settings-panel-popup .settings-panel .settings-panel-content .sidebar {\n display: flex;\n flex-direction: column;\n z-index: 2;\n}\n.settings-panel-popup .settings-panel .settings-panel-content .main {\n flex: 1;\n padding: 0;\n position: relative;\n overflow: auto;\n scrollbar-width: none !important;\n overscroll-behavior: contain;\n}\n.settings-panel-popup .settings-panel .settings-panel-content .main::-webkit-scrollbar {\n height: 0 !important;\n width: 0 !important;\n}\n.settings-panel-popup .settings-panel .settings-panel-content .main .be-empty {\n min-height: 36px;\n padding: 7px;\n}\n.settings-panel-popup .settings-panel .settings-panel-content .main .component-list {\n display: grid;\n grid-template-columns: auto;\n gap: 0;\n width: auto;\n margin: 0;\n}\n.settings-panel-popup .settings-panel .settings-panel-content .main .component-list .transition-move, .settings-panel-popup .settings-panel .settings-panel-content .main .component-list .transition-enter-active, .settings-panel-popup .settings-panel .settings-panel-content .main .component-list .transition-leave-active {\n transition: all 0.5s ease;\n}\n.settings-panel-popup .settings-panel .settings-panel-content .main .component-list .transition-enter-from, .settings-panel-popup .settings-panel .settings-panel-content .main .component-list .transition-leave-to {\n opacity: 0;\n transform: translateY(-30px);\n}\n.settings-panel-popup .settings-panel .settings-panel-content .main .component-list .transition-leave-active {\n position: absolute;\n}\n.settings-panel-popup .settings-panel .settings-panel-content .main .component-list .settings-panel-search-bar {\n display: flex;\n align-items: center;\n background-color: var(--settings-panel-background);\n padding-right: 8px;\n height: 36px;\n box-sizing: border-box;\n border-bottom: 1px solid #8882;\n position: sticky;\n top: 0;\n z-index: 1;\n}\n.settings-panel-popup .settings-panel .settings-panel-content .main .component-list .settings-panel-search-bar .settings-panel-search {\n align-self: stretch;\n font-size: 13px;\n box-shadow: none;\n}\n.settings-panel-popup .settings-panel .settings-panel-content .main .component-list .settings-panel-search-bar .settings-panel-search input {\n padding: 4px 10px;\n}\n.settings-panel-popup .settings-panel .settings-panel-content .main > * {\n flex: 1;\n}\n.settings-panel-popup .settings-panel .component-detail-panel {\n background-color: #fff;\n color: black;\n border-radius: 8px;\n border: 1px solid #8882;\n box-sizing: border-box;\n box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.05);\n display: flex;\n align-items: stretch;\n flex-direction: column;\n top: 50%;\n left: calc(100% - 12px);\n height: calc(100% - 22px);\n z-index: -1;\n transform: translateZ(0) translateY(-50%) translateX(calc(-48% * var(--direction)));\n transition: transform 0.3s cubic-bezier(0.22, 0.61, 0.36, 1), opacity 0.3s cubic-bezier(0.22, 0.61, 0.36, 1);\n padding-left: 12px;\n}\nbody.dark .settings-panel-popup .settings-panel .component-detail-panel {\n box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.2);\n}\nbody.dark .settings-panel-popup .settings-panel .component-detail-panel {\n background-color: var(--be-color-card-bg, #282828);\n color: var(--be-color-text-title, #eee);\n}\nbody.dark .settings-panel-popup .settings-panel .component-detail-panel {\n background-color: var(--be-color-popup-bg, #222);\n}\nbody.settings-panel-dock-right .settings-panel-popup .settings-panel .component-detail-panel {\n left: unset;\n right: calc(100% - 12px);\n padding: 0 12px 0 0;\n}\n.settings-panel-popup .settings-panel .component-detail-panel.open {\n transform: translateZ(0) translateY(-50%) translateX(0);\n}\n.settings-panel-popup .settings-panel.collapsed {\n height: auto;\n transform: translateY(calc(50% - 45vh));\n opacity: 0.3;\n}\n.settings-panel-popup .settings-panel.collapsed .header, body.dark .settings-panel-popup .settings-panel.collapsed .header {\n border-color: transparent;\n}\n.settings-panel-popup .settings-panel.collapsed .sidebar,\n.settings-panel-popup .settings-panel.collapsed .main {\n opacity: 0;\n padding: 0;\n pointer-events: none;\n}\n.settings-panel-popup .settings-panel.collapsed .sidebar {\n display: none;\n}\n.settings-panel-popup .settings-panel.collapsed:hover {\n opacity: 1;\n}\n.settings-panel-popup .settings-panel.peek {\n opacity: 0.1;\n}",""]),e.exports=o},5502:(e,t,n)=>{var o=n(2955)((function(e){return e[1]}));o.push([e.id,".tag-ring {\n display: flex;\n transform: scaleX(-1) rotate(-90deg);\n}\n.tag-ring svg {\n height: 18px;\n width: 18px;\n}",""]),e.exports=o},2899:(e,t,n)=>{var o=n(2955)((function(e){return e[1]}));o.push([e.id,'.widgets-panel {\n max-height: var(--panel-height);\n min-height: 80px;\n display: flex;\n align-items: center;\n flex-direction: column;\n justify-content: flex-start;\n align-items: flex-start;\n padding: 16px;\n padding-right: 20px;\n background-color: #fff;\n color: black;\n border-radius: 8px;\n border: 1px solid #8882;\n box-sizing: border-box;\n box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.05);\n color: black;\n fill: black;\n stroke: black;\n}\nbody.dark .widgets-panel {\n box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.2);\n}\nbody.dark .widgets-panel {\n background-color: var(--be-color-card-bg, #282828);\n color: var(--be-color-text-title, #eee);\n}\nbody.dark .widgets-panel {\n background-color: var(--be-color-popup-bg, #222);\n}\nbody.dark .widgets-panel {\n color: var(--be-color-text-title, #eee);\n fill: var(--be-color-text-title, #eee);\n stroke: var(--be-color-text-title, #eee);\n}\n.widgets-panel-header {\n flex: 0 0 auto;\n display: flex;\n align-items: center;\n font-weight: 600;\n font-size: 18px;\n margin-bottom: 18px;\n}\n.widgets-panel-header .be-icon {\n margin-right: 6px;\n}\n.widgets-panel .widgets-loading,\n.widgets-panel .widgets-empty {\n padding: 12px 0;\n}\n.widgets-panel .widgets-loading .widgets-empty-content,\n.widgets-panel .widgets-empty .widgets-empty-content {\n line-height: normal;\n}\n.widgets-panel .widgets-loading .widgets-empty-content > *,\n.widgets-panel .widgets-empty .widgets-empty-content > * {\n font-size: inherit;\n}\n.widgets-panel .widgets-loading .widgets-empty-content h1,\n.widgets-panel .widgets-loading .widgets-empty-content h2,\n.widgets-panel .widgets-loading .widgets-empty-content h3,\n.widgets-panel .widgets-loading .widgets-empty-content h4,\n.widgets-panel .widgets-loading .widgets-empty-content h5,\n.widgets-panel .widgets-loading .widgets-empty-content h6,\n.widgets-panel .widgets-empty .widgets-empty-content h1,\n.widgets-panel .widgets-empty .widgets-empty-content h2,\n.widgets-panel .widgets-empty .widgets-empty-content h3,\n.widgets-panel .widgets-empty .widgets-empty-content h4,\n.widgets-panel .widgets-empty .widgets-empty-content h5,\n.widgets-panel .widgets-empty .widgets-empty-content h6 {\n margin-block-start: 1em;\n margin-block-end: 0.75em;\n font-weight: 600;\n color: inherit;\n}\n.widgets-panel .widgets-loading .widgets-empty-content ul,\n.widgets-panel .widgets-loading .widgets-empty-content ul li,\n.widgets-panel .widgets-empty .widgets-empty-content ul,\n.widgets-panel .widgets-empty .widgets-empty-content ul li {\n list-style: disc;\n font-size: inherit;\n}\n.widgets-panel .widgets-loading .widgets-empty-content ol,\n.widgets-panel .widgets-loading .widgets-empty-content ol li,\n.widgets-panel .widgets-empty .widgets-empty-content ol,\n.widgets-panel .widgets-empty .widgets-empty-content ol li {\n list-style: decimal;\n font-size: inherit;\n}\n.widgets-panel .widgets-loading .widgets-empty-content ul,\n.widgets-panel .widgets-loading .widgets-empty-content ol,\n.widgets-panel .widgets-empty .widgets-empty-content ul,\n.widgets-panel .widgets-empty .widgets-empty-content ol {\n padding-left: 16px;\n margin: 0;\n}\n.widgets-panel .widgets-loading .widgets-empty-content ul li,\n.widgets-panel .widgets-loading .widgets-empty-content ol li,\n.widgets-panel .widgets-empty .widgets-empty-content ul li,\n.widgets-panel .widgets-empty .widgets-empty-content ol li {\n line-height: 1.75;\n}\n.widgets-panel .widgets-loading .widgets-empty-content p,\n.widgets-panel .widgets-empty .widgets-empty-content p {\n margin: 0;\n}\n.widgets-panel .widgets-loading .widgets-empty-content details,\n.widgets-panel .widgets-empty .widgets-empty-content details {\n line-height: 1.75;\n}\n.widgets-panel .widgets-loading .widgets-empty-content details summary,\n.widgets-panel .widgets-empty .widgets-empty-content details summary {\n cursor: pointer;\n margin: 4px 0;\n}\n.widgets-panel .widgets-loading .widgets-empty-content > p,\n.widgets-panel .widgets-empty .widgets-empty-content > p {\n line-height: 1.75;\n}\n.widgets-panel .widgets-loading .widgets-empty-content p + p,\n.widgets-panel .widgets-empty .widgets-empty-content p + p {\n margin-top: 8px;\n}\n.widgets-panel .widgets-loading .widgets-empty-content pre,\n.widgets-panel .widgets-empty .widgets-empty-content pre {\n white-space: pre-wrap;\n}\n.widgets-panel .widgets-loading .widgets-empty-content code,\n.widgets-panel .widgets-empty .widgets-empty-content code {\n display: inline-block;\n padding: 0 4px;\n margin: 1px 2px;\n border-radius: 4px;\n background-color: #8882;\n line-height: normal;\n}\n.widgets-panel .widgets-loading .widgets-empty-content kbd,\n.widgets-panel .widgets-empty .widgets-empty-content kbd {\n font-family: monospace;\n border: 1px solid #ccc;\n display: inline-block;\n border-radius: 4px;\n padding: 0 4px;\n margin: 1px 2px;\n line-height: 1.1;\n}\nbody.dark .widgets-panel .widgets-loading .widgets-empty-content kbd,\nbody.dark .widgets-panel .widgets-empty .widgets-empty-content kbd {\n border-color: #666;\n}\n.widgets-panel .widgets-loading .widgets-empty-content blockquote,\n.widgets-panel .widgets-empty .widgets-empty-content blockquote {\n border-radius: 4px;\n margin: 0;\n padding: 4px;\n padding-left: 12px;\n color: inherit;\n background-color: #8881;\n box-sizing: border-box;\n position: relative;\n}\nbody.dark .widgets-panel .widgets-loading .widgets-empty-content blockquote *,\nbody.dark .widgets-panel .widgets-empty .widgets-empty-content blockquote * {\n color: inherit !important;\n}\n.widgets-panel .widgets-loading .widgets-empty-content blockquote::before,\n.widgets-panel .widgets-empty .widgets-empty-content blockquote::before {\n content: "";\n position: absolute;\n display: block;\n width: 3px;\n height: calc(100% - 8px);\n top: 4px;\n left: 0;\n border-radius: 2px;\n background-color: var(--theme-color);\n}\n.widgets-panel .widgets-loading .widgets-empty-content a,\n.widgets-panel .widgets-loading .widgets-empty-content a:focus-within,\n.widgets-panel .widgets-loading .widgets-empty-content a:hover,\n.widgets-panel .widgets-empty .widgets-empty-content a,\n.widgets-panel .widgets-empty .widgets-empty-content a:focus-within,\n.widgets-panel .widgets-empty .widgets-empty-content a:hover {\n color: var(--theme-color);\n}\n.widgets-panel .widgets-loading .widgets-empty-content > :last-child,\n.widgets-panel .widgets-empty .widgets-empty-content > :last-child {\n margin-bottom: 0;\n}\n.widgets-panel .widget-items {\n position: relative;\n display: flex;\n align-items: stretch;\n flex-direction: column;\n gap: 8px;\n align-items: flex-start;\n}\n.widgets-panel .widget-items .widget-item {\n font-size: 14px;\n transition: 0.2s ease-out;\n display: flex;\n}\n.widgets-panel .widget-items .widget-item-enter, .widgets-panel .widget-items .widget-item-leave-to {\n opacity: 0;\n transform: scale(0.9);\n}\n.widgets-panel .widget-items .widget-item-leave-active {\n transition: 0.24s cubic-bezier(0.22, 0.61, 0.36, 1);\n position: absolute;\n white-space: nowrap;\n}\n.widgets-panel .widget-items .multiple-widgets {\n display: flex;\n align-items: stretch;\n flex-direction: column;\n gap: 8px;\n align-items: flex-start;\n position: relative;\n}',""]),e.exports=o},7093:(e,t,n)=>{var o=n(2955)((function(e){return e[1]}));o.push([e.id,".component-action {\n display: flex;\n align-items: center;\n gap: 6px;\n cursor: pointer;\n border-radius: 4px;\n padding: 4px 8px 4px 6px;\n font-size: 13px;\n}\n.component-action:hover {\n background-color: #8884;\n}\n.component-action.disabled {\n cursor: not-allowed;\n opacity: 0.5;\n}",""]),e.exports=o},9768:(e,t,n)=>{var o=n(2955)((function(e){return e[1]}));o.push([e.id,".be-about-page {\n flex: 1;\n}\n.be-about-page-header {\n display: flex;\n align-items: center;\n gap: 6px;\n margin-bottom: 12px;\n}\n.be-about-page-header .title-text {\n font-size: 16px;\n font-weight: 600;\n flex: 1 0 auto;\n}\n.be-about-page-content {\n display: flex;\n align-items: stretch;\n flex-direction: column;\n gap: 24px;\n}\n.be-about-page-content .script-meta-info {\n display: flex;\n align-items: center;\n flex-direction: column;\n gap: 8px;\n text-align: center;\n padding: 0 24px;\n}\n.be-about-page-content .script-meta-info .meta-info-name {\n font-weight: 500;\n font-size: 22px;\n}\n.be-about-page-content .script-meta-info .meta-info-version {\n font-size: 14px;\n color: var(--theme-color);\n}\n.be-about-page-content .script-meta-info .meta-info-description {\n opacity: 0.5;\n}\n.be-about-page-content .script-links .script-link {\n display: flex;\n align-items: stretch;\n}\n.be-about-page-content .script-links .script-link .be-button {\n flex: 1;\n}\n.be-about-page-content .script-links,\n.be-about-page-content .about-page-actions {\n display: flex;\n align-items: stretch;\n gap: 8px;\n flex-wrap: wrap;\n}\n.be-about-page-content .script-links .script-link,\n.be-about-page-content .script-links .about-page-action,\n.be-about-page-content .about-page-actions .script-link,\n.be-about-page-content .about-page-actions .about-page-action {\n flex: 1 0 auto;\n}\n.be-about-page-content .script-links .script-link .be-icon,\n.be-about-page-content .script-links .about-page-action .be-icon,\n.be-about-page-content .about-page-actions .script-link .be-icon,\n.be-about-page-content .about-page-actions .about-page-action .be-icon {\n margin-right: 6px;\n}",""]),e.exports=o},4797:(e,t,n)=>{var o=n(2955)((function(e){return e[1]}));o.push([e.id,".manage-panel .manage-item {\n flex: 0 0 auto;\n min-height: 30px;\n width: 100%;\n box-sizing: border-box;\n}",""]),e.exports=o},2839:(e,t,n)=>{var o=n(2955)((function(e){return e[1]}));o.push([e.id,".manage-panel {\n height: calc(var(--panel-height) - 52px - 48px);\n display: flex;\n flex-direction: column;\n}\n.manage-panel > :not(:last-child) {\n margin-bottom: 12px;\n}\n.manage-panel .be-button .be-icon {\n margin-right: 6px;\n}\n.manage-panel .exclude-built-in .be-switch-box {\n margin-left: 6px;\n}\n.manage-panel .title-text {\n font-size: 14px;\n font-weight: 600;\n}\n.manage-panel .item-url-result {\n color: var(--theme-color);\n}\n.manage-panel .item-url {\n margin-right: 12px;\n}\n.manage-panel .manage-item-list {\n display: flex;\n align-items: center;\n flex-direction: column;\n overflow: auto;\n scrollbar-width: none !important;\n overscroll-behavior: contain;\n flex-shrink: 1;\n}\n.manage-panel .manage-item-list::-webkit-scrollbar {\n height: 0 !important;\n width: 0 !important;\n}\n.manage-panel .item-actions {\n display: flex;\n align-items: center;\n gap: 12px;\n}\n.manage-panel .exclude-built-in {\n display: flex;\n align-items: center;\n}\n.manage-panel .be-loading {\n width: 100%;\n text-align: center;\n}\n.manage-panel .description-text {\n opacity: 0.75;\n}\n.manage-panel .add-item-row {\n position: relative;\n}\n.manage-panel .batch-add-popup {\n top: calc(100% + 8px);\n left: 50%;\n transition: 0.2s ease-out;\n transform: translateX(-50%) translateY(-8px);\n padding: 8px;\n width: 100%;\n min-height: calc(var(--panel-height) / 2);\n background-color: #fff;\n color: black;\n border-radius: 8px;\n border: 1px solid #8882;\n box-sizing: border-box;\n box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.05);\n display: flex;\n align-items: stretch;\n flex-direction: column;\n gap: 8px;\n}\nbody.dark .manage-panel .batch-add-popup {\n box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.2);\n}\nbody.dark .manage-panel .batch-add-popup {\n background-color: var(--be-color-card-bg, #282828);\n color: var(--be-color-text-title, #eee);\n}\nbody.dark .manage-panel .batch-add-popup {\n background-color: var(--be-color-popup-bg, #222);\n}\n.manage-panel .batch-add-popup.open {\n transform: translateX(-50%) translateY(0px);\n}\n.manage-panel .batch-add-popup .be-text-area {\n flex: 1 0 auto;\n}\n.manage-panel .batch-add-popup .batch-add-actions {\n display: flex;\n align-items: center;\n gap: 8px;\n}\n.manage-panel .batch-add-popup .batch-add-actions .be-button {\n flex: 1 0 0;\n}\n.manage-panel .batch-add-popup .batch-add-actions .be-icon {\n margin-right: 6px;\n}\n.manage-panel-title {\n gap: 6px;\n}\n.manage-panel-title .title-text {\n font-size: 16px;\n font-weight: 600;\n flex: 1 0 auto;\n}\n.manage-panel .search-item-row {\n gap: 6px;\n}",""]),e.exports=o},5794:(e,t,n)=>{var o=n(2955)((function(e){return e[1]}));o.push([e.id,'.manage-panel .user-item {\n display: grid;\n column-gap: 6px;\n grid-template: "displayName line remove" auto "name line remove" auto/auto 1fr auto;\n align-items: center;\n padding: 6px 0;\n}\n.manage-panel .user-item .user-item-display-name {\n grid-area: displayName;\n}\n.manage-panel .user-item .user-item-name {\n grid-area: name;\n opacity: 0.5;\n font-size: 11px;\n}\n.manage-panel .user-item .user-item-line {\n grid-area: line;\n justify-self: stretch;\n transition: 0.2s ease-out;\n opacity: 0;\n height: 0;\n width: 100%;\n border-bottom: 1px dashed;\n box-sizing: border-box;\n}\n.manage-panel .user-item .user-item-toggle {\n grid-area: toggle;\n justify-self: end;\n}\n.manage-panel .user-item .user-item-remove-confirm {\n display: flex;\n align-items: center;\n gap: 8px;\n font-size: 13px;\n color: white;\n}\n.manage-panel .user-item .user-item-remove-confirm .be-button {\n color: inherit;\n font-size: 12px;\n padding: 4px;\n padding-right: 6px;\n}\n.manage-panel .user-item .user-item-remove-confirm .be-button .be-icon {\n margin-right: 4px;\n}\n.manage-panel .user-item .tippy-box {\n border-radius: 8px;\n}\n.manage-panel .user-item .tippy-box .tippy-content {\n padding-right: 5px;\n}\n.manage-panel .user-item .user-item-remove {\n grid-area: remove;\n justify-self: end;\n display: flex;\n align-items: center;\n opacity: 0.1;\n transition: 0.2s ease-out;\n cursor: pointer;\n padding: 4px;\n}\n.manage-panel .user-item .user-item-remove:hover {\n opacity: 1;\n color: #e54e4e;\n}\n.manage-panel .user-item:hover .user-item-remove:not(:hover) {\n opacity: 0.75;\n}\n.manage-panel .user-item:hover .user-item-line {\n opacity: 0.5;\n}',""]),e.exports=o},8292:(e,t,n)=>{var o=n(2955)((function(e){return e[1]}));o.push([e.id,".online-registry {\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%) scale(0.95);\n width: 400px;\n height: 85vh;\n z-index: 100000;\n transition: 0.2s ease-out;\n font-size: 14px;\n display: flex;\n align-items: stretch;\n flex-direction: column;\n background-color: #fff;\n color: black;\n border-radius: 8px;\n border: 1px solid #8882;\n box-sizing: border-box;\n box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.05);\n}\nbody.dark .online-registry {\n box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.2);\n}\nbody.dark .online-registry {\n background-color: var(--be-color-card-bg, #282828);\n color: var(--be-color-text-title, #eee);\n}\nbody.dark .online-registry {\n background-color: var(--be-color-popup-bg, #222);\n}\n.online-registry.open {\n transform: translate(-50%, -50%) scale(1);\n}\n.online-registry-header {\n padding: 12px 12px 6px 12px;\n display: flex;\n align-items: center;\n gap: 12px;\n row-gap: 6px;\n flex-wrap: wrap;\n}\n.online-registry-header + .online-registry-header {\n padding-top: 6px;\n}\n.online-registry-header-title {\n flex: 1;\n font-size: 18px;\n font-weight: 600;\n}\n.online-registry-header-search {\n flex: 1;\n justify-content: center;\n display: flex;\n align-items: center;\n gap: 6px;\n}\n.online-registry-header-search .be-textbox {\n max-width: 320px;\n flex: 1;\n font-size: 12px;\n}\n.online-registry-header-filter {\n display: flex;\n align-items: center;\n gap: 6px;\n font-size: 12px;\n}\n.online-registry-header-branch {\n display: flex;\n align-items: center;\n gap: 6px;\n font-size: 12px;\n}\n.online-registry-header-refresh-icon, .online-registry-header-close-icon {\n padding: 2px;\n cursor: pointer;\n transition: 0.3s ease-out;\n}\n.online-registry-header-refresh-icon:hover, .online-registry-header-close-icon:hover {\n color: var(--theme-color);\n}\n.online-registry-header-refresh-icon {\n padding: 3px;\n}\n.online-registry-header-refresh-icon:hover {\n transform: rotate(360deg);\n}\n.online-registry-separator {\n height: 1px;\n width: calc(100% - 24px);\n margin: 0 12px;\n background-color: #8882;\n}\n.online-registry-content {\n flex: 1;\n padding: 4px 0;\n overflow: auto;\n scrollbar-width: none !important;\n overscroll-behavior: contain;\n}\n.online-registry-content::-webkit-scrollbar {\n height: 0 !important;\n width: 0 !important;\n}\n.online-registry-content .be-loading,\n.online-registry-content .be-empty {\n margin: 12px 0;\n}",""]),e.exports=o},9906:(e,t,n)=>{var o=n(2955)((function(e){return e[1]}));o.push([e.id,'.online-registry-item-wrapper {\n min-height: 39px;\n position: relative;\n}\n.online-registry-item-wrapper.hidden {\n display: none;\n}\n.online-registry-item-wrapper::before {\n content: "";\n opacity: 0;\n transition: opacity 0.2s ease-out;\n position: absolute;\n pointer-events: none;\n top: 50%;\n left: 12px;\n transform: translateY(-50%);\n width: calc(100% - 24px);\n height: 20px;\n background-color: #8882;\n display: flex;\n}\n.online-registry-item-wrapper.virtual::before {\n opacity: 1;\n}\n.online-registry-item {\n display: flex;\n align-items: center;\n gap: 4px;\n flex-wrap: wrap;\n padding: 8px 12px;\n}\n.online-registry-item:hover {\n background-color: #8881;\n}\n.online-registry-item:not(:last-child) {\n border-bottom: 1px solid #8882;\n}\n.online-registry-item .item-badge {\n padding: 2px 4px;\n border: 1px solid #8882;\n border-radius: 4px;\n font-size: 12px;\n}\n.online-registry-item .item-display-name {\n font-weight: 600;\n}\n.online-registry-item .grow {\n flex: 1 0 0;\n}\n.online-registry-item .item-action {\n font-size: 12px;\n}\n.online-registry-item .item-action .be-icon {\n margin-right: 6px;\n}\n.online-registry-item .item-action .reinstall-button:not(:hover):not(:focus-within) {\n opacity: 0.5;\n}\n.online-registry-item:hover .item-description {\n opacity: 1;\n}\n.online-registry-description {\n font-size: 13px;\n line-height: normal;\n word-break: break-all;\n}\n.online-registry-description > * {\n font-size: inherit;\n}\n.online-registry-description h1,\n.online-registry-description h2,\n.online-registry-description h3,\n.online-registry-description h4,\n.online-registry-description h5,\n.online-registry-description h6 {\n margin-block-start: 1em;\n margin-block-end: 0.75em;\n font-weight: 600;\n color: inherit;\n}\n.online-registry-description ul,\n.online-registry-description ul li {\n list-style: disc;\n font-size: inherit;\n}\n.online-registry-description ol,\n.online-registry-description ol li {\n list-style: decimal;\n font-size: inherit;\n}\n.online-registry-description ul,\n.online-registry-description ol {\n padding-left: 16px;\n margin: 0;\n}\n.online-registry-description ul li,\n.online-registry-description ol li {\n line-height: 1.75;\n}\n.online-registry-description p {\n margin: 0;\n}\n.online-registry-description details {\n line-height: 1.75;\n}\n.online-registry-description details summary {\n cursor: pointer;\n margin: 4px 0;\n}\n.online-registry-description > p {\n line-height: 1.75;\n}\n.online-registry-description p + p {\n margin-top: 8px;\n}\n.online-registry-description pre {\n white-space: pre-wrap;\n}\n.online-registry-description code {\n display: inline-block;\n padding: 0 4px;\n margin: 1px 2px;\n border-radius: 4px;\n background-color: #8882;\n line-height: normal;\n}\n.online-registry-description kbd {\n font-family: monospace;\n border: 1px solid #ccc;\n display: inline-block;\n border-radius: 4px;\n padding: 0 4px;\n margin: 1px 2px;\n line-height: 1.1;\n}\nbody.dark .online-registry-description kbd {\n border-color: #666;\n}\n.online-registry-description blockquote {\n border-radius: 4px;\n margin: 0;\n padding: 4px;\n padding-left: 12px;\n color: inherit;\n background-color: #8881;\n box-sizing: border-box;\n position: relative;\n}\nbody.dark .online-registry-description blockquote * {\n color: inherit !important;\n}\n.online-registry-description blockquote::before {\n content: "";\n position: absolute;\n display: block;\n width: 3px;\n height: calc(100% - 8px);\n top: 4px;\n left: 0;\n border-radius: 2px;\n background-color: var(--theme-color);\n}\n.online-registry-description a,\n.online-registry-description a:focus-within,\n.online-registry-description a:hover {\n color: var(--theme-color);\n}\n.online-registry-description > :last-child {\n margin-bottom: 0;\n}',""]),e.exports=o},4160:(e,t,n)=>{var o=n(2955)((function(e){return e[1]}));o.push([e.id,".be-video-control-bar-extend {\n display: flex;\n}\n.squirtle-controller-wrap .be-video-control-bar-extend {\n margin-top: 1px;\n}\n.be-video-control-bar-extend, .squirtle-controller.squirtle-wide-screen .be-video-control-bar-extend.squirtle-block-wrap {\n width: auto !important;\n margin-top: 0px;\n}\n.be-video-control-bar-extend .bp-svgicon {\n width: auto;\n padding-top: 1px;\n}\n.be-video-control-bar-extend .bp-svgicon .be-icon {\n transition: transform 0.2s ease-out;\n}\n.be-video-control-bar-extend .bp-svgicon .be-icon svg,\n.be-video-control-bar-extend .bp-svgicon .be-icon {\n font-size: 22px;\n width: 22px;\n height: 22px;\n color: #fff;\n fill: #fff;\n}\nbody.player-mode-full .be-video-control-bar-extend .bp-svgicon .be-icon svg, body.player-fullscreen-fix .be-video-control-bar-extend .bp-svgicon .be-icon svg, body.player-mode-web .be-video-control-bar-extend .bp-svgicon .be-icon svg, body.player-full-win .be-video-control-bar-extend .bp-svgicon .be-icon svg,\nbody.player-mode-full .be-video-control-bar-extend .bp-svgicon .be-icon,\nbody.player-fullscreen-fix .be-video-control-bar-extend .bp-svgicon .be-icon,\nbody.player-mode-web .be-video-control-bar-extend .bp-svgicon .be-icon,\nbody.player-full-win .be-video-control-bar-extend .bp-svgicon .be-icon {\n font-size: 28px;\n width: 28px;\n height: 28px;\n}\n.be-video-control-bar-extend .be-video-control-tooltip {\n pointer-events: none;\n font-size: 12px;\n padding: 6px 8px;\n line-height: normal;\n white-space: nowrap;\n color: #fff;\n background-color: #000000b3;\n border-radius: 4px;\n position: absolute;\n top: 0;\n left: 50%;\n transform: translateX(-50%) translateY(calc(-100% - 11px));\n opacity: 0;\n}\n.be-video-control-bar-extend-item {\n display: flex;\n align-items: flex-start;\n justify-content: center;\n position: relative;\n}\n.squirtle-controller-wrap .be-video-control-bar-extend-item {\n align-items: center;\n}\n.be-video-control-bar-extend-item:hover .be-video-control-tooltip {\n transition: all 0.3s ease-in-out 0.3s;\n opacity: 1;\n transform: translateX(-50%) translateY(calc(-100% - 19px));\n}\n.be-video-control-bar-extend-item:active .bp-svgicon .be-icon {\n transform: scale(0.95);\n}\n.be-video-control-bar-extend-item button {\n background-color: transparent;\n margin: 0;\n padding: 0;\n border: none;\n cursor: pointer;\n}\n.be-video-control-bar-extend-item button:hover, .be-video-control-bar-extend-item button:active {\n outline: none !important;\n}\nbody.player-mode-full .bpx-player-control-wrap .be-video-control-bar-extend-item button, body.player-fullscreen-fix .bpx-player-control-wrap .be-video-control-bar-extend-item button, body.player-mode-web .bpx-player-control-wrap .be-video-control-bar-extend-item button, body.player-full-win .bpx-player-control-wrap .be-video-control-bar-extend-item button {\n padding-top: 2px;\n}",""]),e.exports=o},4674:(e,t,n)=>{var o=n(2955)((function(e){return e[1]}));o.push([e.id,".be-dialog {\n background-color: #fff;\n color: black;\n border-radius: 8px;\n border: 1px solid #8882;\n box-sizing: border-box;\n box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.05);\n display: flex;\n align-items: stretch;\n flex-direction: column;\n min-width: 200px;\n min-height: 150px;\n max-width: calc(100vw - 100px);\n max-height: calc(100vh - 100px);\n position: fixed;\n transition: 0.2s ease-out;\n left: 50%;\n top: 50%;\n transform: translateX(-50%) translateY(-50%) scale(0.95);\n opacity: 0;\n pointer-events: none;\n}\nbody.dark .be-dialog {\n box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.2);\n}\nbody.dark .be-dialog {\n background-color: var(--be-color-card-bg, #282828);\n color: var(--be-color-text-title, #eee);\n}\nbody.dark .be-dialog {\n background-color: var(--be-color-popup-bg, #222);\n}\n.be-dialog.open {\n transform: translateX(-50%) translateY(-50%) scale(1);\n opacity: 1;\n pointer-events: initial;\n}\n.be-dialog-header {\n display: flex;\n align-items: center;\n gap: 8px;\n justify-content: space-between;\n padding: 12px 12px 12px 16px;\n}\n.be-dialog-header-title {\n font-weight: 600;\n font-size: 18px;\n}\n.be-dialog-header-close .be-button {\n padding: 6px;\n}\n.be-dialog-content {\n flex: 1 0 auto;\n overflow: auto;\n}",""]),e.exports=o},9412:(e,t,n)=>{var o=n(2955)((function(e){return e[1]}));o.push([e.id,".toast-card {\n background: var(--be-color-card-bg, #fff);\n min-width: var(--card-min-width);\n max-width: 60vw;\n min-height: 87px;\n margin: 8px 0;\n box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.05);\n box-sizing: border-box;\n border: 1px solid #8884;\n transform-origin: left;\n overflow: hidden;\n display: flex;\n flex-direction: column;\n transition: 0.3s cubic-bezier(0.18, 0.89, 0.32, 1.28);\n position: relative;\n padding-left: 8px;\n border-radius: 8px;\n}\nbody.dark .toast-card {\n box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.2);\n}\n.toast-card.toast-card-container-enter, .toast-card.toast-card-container-leave-to {\n opacity: 0;\n transform: translateX(var(--card-min-width-negative));\n}\n.toast-card.toast-card-container-leave-active {\n position: absolute;\n transition: 0.3s cubic-bezier(0.6, -0.28, 0.74, 0.05);\n}\n.toast-card-header {\n display: flex;\n align-items: center;\n}\n.toast-card-title {\n font-size: 18px;\n color: var(--be-color-text-title, #444);\n opacity: 0.5;\n margin: 12px;\n font-weight: 600;\n flex: 1 1 auto;\n}\n.toast-card-close {\n height: 24px;\n width: 24px;\n display: flex;\n align-items: center;\n position: relative;\n justify-content: center;\n flex: 0 0 auto;\n padding: 14px;\n cursor: pointer;\n -webkit-tap-highlight-color: transparent;\n box-sizing: content-box;\n opacity: 0.75;\n}\n.toast-card-close:hover {\n opacity: 0.85;\n}\n.toast-card-close:hover .be-icon {\n transform: scale(1.2);\n}\n.toast-card-close:active {\n opacity: 0.9;\n}\n.toast-card-close:active .be-icon {\n transform: scale(1.3);\n}\n.toast-card-close .be-icon {\n transition: 0.2s ease-out;\n}\n.toast-card-close .be-progress-ring {\n position: absolute;\n top: 50%;\n left: 50%;\n transform: translateX(-50%) translateY(-50%);\n --ring-color: currentColor;\n opacity: 0;\n}\n.toast-card-close.show-progress .be-progress-ring {\n opacity: 1;\n}\n.toast-card-message {\n color: var(--be-color-text-content, #000);\n font-size: 14px;\n margin: 0 16px 12px 12px;\n white-space: pre-wrap;\n display: flex;\n align-items: center;\n line-height: 1.5;\n flex-wrap: wrap;\n word-break: break-all;\n max-height: 200px;\n overflow: auto;\n}\n.toast-card-border {\n position: absolute;\n border-radius: 2px;\n height: calc(100% - 10px);\n width: 4px;\n top: 5px;\n left: 0;\n}\n.toast-card.toast-default .toast-card-border {\n background-color: #444;\n}\n.toast-card.toast-error .toast-card-border {\n background-color: #f44336;\n}\n.toast-card.toast-info .toast-card-border {\n background-color: #2196f3;\n}\n.toast-card.toast-success .toast-card-border {\n background-color: #8bc34a;\n}\n.toast-card span,\n.toast-card .link {\n display: inline-block;\n padding: 2px 4px;\n margin: 2px;\n background-color: var(--be-color-tag-bg, #8882);\n color: var(--be-color-text-content, #000);\n text-decoration: none;\n transition: all 0.2s ease-out;\n border-radius: 6px;\n}\n.toast-card .link {\n cursor: pointer;\n}\n.toast-card .link:hover {\n background-color: var(--be-color-tag-bg-hover, #8883);\n}\n.toast-card .link:active {\n background-color: var(--be-color-tag-bg-active, #8884);\n}\n.toast-card .download-link,\n.toast-card .download-link:hover {\n color: inherit !important;\n text-decoration: underline;\n word-break: break-all;\n}",""]),e.exports=o},2241:(e,t,n)=>{var o=n(2955)((function(e){return e[1]}));o.push([e.id,".toast-card-container {\n --card-min-width: 240px;\n --card-min-width-negative: -240px;\n position: fixed;\n left: 0;\n bottom: 0;\n display: flex;\n flex-direction: column-reverse;\n align-items: flex-start;\n padding-left: 16px;\n z-index: 100001;\n pointer-events: none;\n overflow: hidden;\n width: 100%;\n height: 100%;\n transition: 0.2s ease-out;\n}\n.toast-card-container * {\n pointer-events: initial;\n transition: 0.2s ease-out;\n}",""]),e.exports=o},9533:(e,t,n)=>{var o=n(2955)((function(e){return e[1]}));o.push([e.id,".be-check-box .text-container[data-v-07bbf374] {\n flex: 1 1 auto;\n display: flex;\n align-items: center;\n}\n.be-check-box .icon-container[data-v-07bbf374] {\n flex-shrink: 0;\n position: relative;\n margin: 2px 0 2px 8px;\n}\n.be-check-box .icon-container > *[data-v-07bbf374] {\n transition: 0.3s cubic-bezier(0.18, 0.89, 0.32, 1.28);\n}\n.be-check-box .icon-container .not-checked[data-v-07bbf374] {\n opacity: 0.75;\n}\n.be-check-box .icon-container .checked[data-v-07bbf374] {\n position: absolute;\n top: 0;\n left: 0;\n opacity: 0;\n transform: scale(0);\n}\n.be-check-box.checked .icon-container[data-v-07bbf374] {\n color: var(--theme-color);\n}\n.be-check-box.checked .icon-container .not-checked[data-v-07bbf374] {\n transform: scale(0);\n opacity: 0;\n}\n.be-check-box.checked .icon-container .checked[data-v-07bbf374] {\n transform: scale(1);\n opacity: 1;\n}\n.be-check-box.left-icon .icon-container[data-v-07bbf374] {\n order: -1;\n margin: 2px 6px 2px 0;\n}",""]),e.exports=o},5640:(e,t,n)=>{var o=n(2955)((function(e){return e[1]}));o.push([e.id,".collapsible-container[data-v-2c565e7e] {\n border: 1px solid #8884;\n border-radius: 4px;\n overflow: hidden;\n color: #000;\n background-color: #fff;\n}\nbody.dark .collapsible-container[data-v-2c565e7e] {\n color: var(--be-color-text-title, #eee);\n background-color: var(--be-color-popup-bg, #444);\n}\n.collapsible-container .header[data-v-2c565e7e] {\n display: flex;\n align-items: center;\n justify-content: space-between;\n cursor: pointer;\n -webkit-user-select: none;\n user-select: none;\n background-color: #8882;\n}\nbody.dark .collapsible-container .header[data-v-2c565e7e] {\n background-color: var(--be-color-popup-bg, #333);\n}\n.collapsible-container .header .default-header[data-v-2c565e7e] {\n display: flex;\n align-items: center;\n gap: 8px;\n justify-content: space-between;\n width: 100%;\n}\n.collapsible-container .header .default-header-title[data-v-2c565e7e] {\n align-content: center;\n padding: 8px 10px;\n}\n.collapsible-container .header .default-header .arrow[data-v-2c565e7e] {\n transition: transform 0.3s ease;\n padding: 7px 10px;\n}\n.collapsible-container .header .default-header .arrow.expanded[data-v-2c565e7e] {\n transform: rotate(180deg);\n}\n.collapsible-container .content[data-v-2c565e7e] {\n padding: 10px;\n color: #000;\n background-color: #fff;\n}\nbody.dark .collapsible-container .content[data-v-2c565e7e] {\n color: var(--be-color-text-title, #eee);\n background-color: var(--be-color-popup-bg, #444);\n}\n.collapsible-container .content > *[data-v-2c565e7e]:not(:last-child) {\n margin-bottom: 8px;\n}\n.collapsible-container .content.disabled[data-v-2c565e7e] {\n opacity: 0.6;\n pointer-events: none;\n}",""]),e.exports=o},8330:(e,t,n)=>{var o=n(2955)((function(e){return e[1]}));o.push([e.id,".be-color-picker[data-v-87a36270] {\n font-size: 14px;\n display: flex;\n position: relative;\n color: #000;\n}\n.be-color-picker[data-v-87a36270], .be-color-picker *[data-v-87a36270] {\n -webkit-tap-highlight-color: transparent;\n}\nbody.dark .be-color-picker[data-v-87a36270] {\n color: var(--be-color-text-title, #eee);\n}\n.be-color-picker .selected-color[data-v-87a36270] {\n cursor: pointer;\n border-radius: 50%;\n outline: none !important;\n transition: box-shadow 0.2s ease-out;\n}\n.be-color-picker .selected-color[data-v-87a36270]:focus-within {\n box-shadow: 0 0 0 3px var(--theme-color-20);\n}\n.be-color-picker .picker[data-v-87a36270] {\n left: calc(50% + var(--offset));\n top: 100%;\n transition: 0.12s ease-out;\n transform: translateX(-50%) translateY(8px) scale(0.75);\n transform-origin: top;\n display: flex;\n flex-direction: column;\n align-items: stretch;\n padding: 14px;\n width: 240px;\n background-color: #fff;\n color: black;\n border-radius: 8px;\n border: 1px solid #8882;\n box-sizing: border-box;\n box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.05);\n box-sizing: content-box;\n}\nbody.dark .be-color-picker .picker[data-v-87a36270] {\n box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.2);\n}\nbody.dark .be-color-picker .picker[data-v-87a36270] {\n background-color: var(--be-color-card-bg, #282828);\n color: var(--be-color-text-title, #eee);\n}\nbody.dark .be-color-picker .picker[data-v-87a36270] {\n background-color: var(--be-color-popup-bg, #222);\n}\n.be-color-picker .picker.open[data-v-87a36270] {\n transform: translateX(-50%) translateY(8px) scale(1);\n}\n.be-color-picker .picker .item-group[data-v-87a36270] {\n display: flex;\n flex-direction: column;\n}\n.be-color-picker .picker .item-group .item-title[data-v-87a36270] {\n font-weight: 600;\n margin-bottom: 8px;\n}\n.be-color-picker .picker .item-group.info[data-v-87a36270], .be-color-picker .picker .item-group.operations[data-v-87a36270] {\n flex-direction: row;\n}\n.be-color-picker .picker .item-group.operations .ok[data-v-87a36270],\n.be-color-picker .picker .item-group.operations .cancel[data-v-87a36270] {\n padding: 6px 8px;\n flex: 1 0 0;\n text-align: center;\n font-size: 14px;\n}\n.be-color-picker .picker .item-group.operations .cancel[data-v-87a36270] {\n margin-right: 4px;\n}\n.be-color-picker .picker .item-group.operations .ok[data-v-87a36270] {\n margin-left: 4px;\n}\n.be-color-picker .picker .item-group.info[data-v-87a36270] {\n display: flex;\n align-items: center;\n justify-content: space-between;\n}\n.be-color-picker .picker .item-group.info .color-preview[data-v-87a36270] {\n transition: none;\n width: 24px;\n height: 24px;\n margin-right: 8px;\n border-radius: 50%;\n}\n.be-color-picker .picker .item-group.info .grow[data-v-87a36270] {\n flex: 1 0 0;\n}\n.be-color-picker .picker .item-group.info .toggle-mode[data-v-87a36270] {\n font-size: 14px;\n padding: 4px 8px;\n}\n.be-color-picker .picker .item-group.info .hex[data-v-87a36270] {\n flex: 1 1 64px;\n}\n.be-color-picker .picker .item-group .colors[data-v-87a36270] {\n display: flex;\n flex-wrap: wrap;\n justify-content: flex-start;\n}\n.be-color-picker .picker .item-group .colors .color[data-v-87a36270] {\n outline: none !important;\n margin-right: 6px;\n margin-bottom: 6px;\n height: 24px;\n width: 24px;\n cursor: pointer;\n border-radius: 50%;\n transition: transform 0.2s ease-out;\n}\n.be-color-picker .picker .item-group .colors .color[data-v-87a36270]:hover, .be-color-picker .picker .item-group .colors .color[data-v-87a36270]:focus-within {\n transform: scale(1.1);\n}\n.be-color-picker .picker .item-group .colors .color[data-v-87a36270]:active {\n transform: scale(1.05);\n}\n.be-color-picker .picker .item-group .bars[data-v-87a36270] {\n display: flex;\n flex-direction: column;\n}\n.be-color-picker .picker .item-group .bars .bar[data-v-87a36270] {\n display: flex;\n align-items: center;\n font-size: 14px;\n margin-bottom: 4px;\n}\n.be-color-picker .picker .item-group .bars .bar .color-bar[data-v-87a36270] {\n height: 4px;\n border-radius: 2px;\n box-shadow: 0 0 0 2px #8882;\n}\n.be-color-picker .picker .item-group .bars .bar .color-thumb[data-v-87a36270] {\n width: 14px;\n height: 14px;\n border-radius: 50%;\n border: 2px solid var(--theme-color-20);\n transition: border 0.2s ease-out;\n background-color: #fff;\n}\n.be-color-picker .picker .item-group .bars .bar .be-slider:focus-within .color-thumb[data-v-87a36270] {\n border-color: var(--theme-color);\n}\n.be-color-picker .picker .item-group .bars .bar-name[data-v-87a36270] {\n flex-shrink: 0;\n width: 24px;\n}\n.be-color-picker .picker .item-group .bars .bar-value[data-v-87a36270] {\n flex: 0 0 48px;\n margin-left: 6px;\n text-align: right;\n}\n.be-color-picker .picker .item-group .bars .be-slider[data-v-87a36270] {\n flex: 1 0 0;\n margin: 4px 6px;\n}\n.be-color-picker .picker .item-group[data-v-87a36270]:not(:last-child) {\n margin-bottom: 16px;\n}\n.be-color-picker .picker.compact[data-v-87a36270] {\n width: 200px;\n}\n.be-color-picker .picker.compact .item-group .colors .color[data-v-87a36270] {\n width: 19px;\n height: 19px;\n}",""]),e.exports=o},3953:(e,t,n)=>{var o=n(2955)((function(e){return e[1]}));o.push([e.id,".default-widget[data-v-20e1bedd] {\n position: relative;\n}\n.default-widget .widget-icon[data-v-20e1bedd] {\n margin-right: 8px;\n opacity: 0.75;\n}\n.default-widget .widget-name[data-v-20e1bedd] {\n display: flex;\n}",""]),e.exports=o},8544:(e,t,n)=>{var o=n(2955)((function(e){return e[1]}));o.push([e.id,".be-image-picker[data-v-7b32c90b] {\n position: relative;\n font-size: 14px;\n}\n.be-image-picker .popup[data-v-7b32c90b] {\n transition: 0.12s ease-out;\n transform: translateX(-50%) translateY(8px) scale(0.75);\n transform-origin: top;\n top: 100%;\n left: 50%;\n padding: 8px;\n width: 302px;\n box-sizing: border-box;\n background-color: #fff;\n color: black;\n border-radius: 8px;\n border: 1px solid #8882;\n box-sizing: border-box;\n box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.05);\n}\nbody.dark .be-image-picker .popup[data-v-7b32c90b] {\n box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.2);\n}\nbody.dark .be-image-picker .popup[data-v-7b32c90b] {\n background-color: var(--be-color-card-bg, #282828);\n color: var(--be-color-text-title, #eee);\n}\nbody.dark .be-image-picker .popup[data-v-7b32c90b] {\n background-color: var(--be-color-popup-bg, #222);\n}\n.be-image-picker .popup.open[data-v-7b32c90b] {\n transform: translateX(-50%) translateY(8px) scale(1);\n}\n.be-image-picker .popup .empty-tip[data-v-7b32c90b] {\n color: black;\n fill: black;\n stroke: black;\n text-align: center;\n margin-bottom: 16px;\n}\nbody.dark .be-image-picker .popup .empty-tip[data-v-7b32c90b] {\n color: var(--be-color-text-title, #eee);\n fill: var(--be-color-text-title, #eee);\n stroke: var(--be-color-text-title, #eee);\n}\n.be-image-picker .popup .images[data-v-7b32c90b] {\n max-height: 240px;\n overflow: auto;\n scrollbar-width: none !important;\n overscroll-behavior: contain;\n outline: none !important;\n display: flex;\n flex-wrap: wrap;\n align-items: center;\n justify-content: flex-start;\n padding-left: 6px;\n padding-top: 6px;\n}\n.be-image-picker .popup .images[data-v-7b32c90b]::-webkit-scrollbar {\n height: 0 !important;\n width: 0 !important;\n}\n.be-image-picker .popup .images .image[data-v-7b32c90b] {\n border-radius: 4px;\n transition: transform 0.2s ease-out, box-shadow 0.2s ease-out;\n outline: none !important;\n overflow: hidden;\n cursor: pointer;\n display: flex;\n margin-right: 6px;\n margin-bottom: 6px;\n}\n.be-image-picker .popup .images .image.image-list-enter[data-v-7b32c90b], .be-image-picker .popup .images .image.image-list-leave-to[data-v-7b32c90b] {\n opacity: 0;\n}\n.be-image-picker .popup .images .image.image-list-leave-active[data-v-7b32c90b] {\n position: absolute;\n}\n.be-image-picker .popup .images .image img[data-v-7b32c90b] {\n object-fit: cover;\n transition: 0.2s ease-out;\n}\n.be-image-picker .popup .images .image[data-v-7b32c90b]:hover, .be-image-picker .popup .images .image[data-v-7b32c90b]:focus-within {\n box-shadow: 0 0 0 2px var(--theme-color), 0 0 0 4px var(--theme-color-20);\n}\n.be-image-picker .popup .images .image:hover img[data-v-7b32c90b], .be-image-picker .popup .images .image:focus-within img[data-v-7b32c90b] {\n transform: scale(1.1);\n}\n.be-image-picker .popup .images .image.selected[data-v-7b32c90b] {\n box-shadow: 0 0 0 3px var(--theme-color);\n}\n.be-image-picker .popup .mask[data-v-7b32c90b] {\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n border-radius: 8px;\n background-color: #000a;\n}\n.be-image-picker .popup .operations[data-v-7b32c90b] {\n display: flex;\n margin: 8px 4px 4px 4px;\n}\n.be-image-picker .popup .operations[data-v-7b32c90b] > :not(:last-child) {\n margin-right: 8px;\n}\n.be-image-picker .popup .operations > .be-button[data-v-7b32c90b] {\n flex: 1 0 0;\n padding: 6px 8px;\n}\n.be-image-picker .popup .operations > .be-button.clear-image[data-v-7b32c90b] {\n flex-grow: 2;\n}\n.be-image-picker .popup .operations .add-image-popup[data-v-7b32c90b] {\n transition: 0.12s ease-out;\n transform: translateX(-50%) translateY(-50%) scale(0.75);\n top: 50%;\n left: 50%;\n padding: 14px;\n background-color: #fff;\n color: black;\n border-radius: 8px;\n border: 1px solid #8882;\n box-sizing: border-box;\n box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.05);\n width: 80%;\n}\nbody.dark .be-image-picker .popup .operations .add-image-popup[data-v-7b32c90b] {\n box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.2);\n}\nbody.dark .be-image-picker .popup .operations .add-image-popup[data-v-7b32c90b] {\n background-color: var(--be-color-card-bg, #282828);\n color: var(--be-color-text-title, #eee);\n}\nbody.dark .be-image-picker .popup .operations .add-image-popup[data-v-7b32c90b] {\n background-color: var(--be-color-popup-bg, #222);\n}\n.be-image-picker .popup .operations .add-image-popup.open[data-v-7b32c90b] {\n transform: translateX(-50%) translateY(-50%) scale(1);\n}\n.be-image-picker .popup .operations .add-image-popup .add-image-row[data-v-7b32c90b] {\n display: flex;\n align-items: center;\n justify-content: center;\n color: black;\n fill: black;\n stroke: black;\n}\nbody.dark .be-image-picker .popup .operations .add-image-popup .add-image-row[data-v-7b32c90b] {\n color: var(--be-color-text-title, #eee);\n fill: var(--be-color-text-title, #eee);\n stroke: var(--be-color-text-title, #eee);\n}\n.be-image-picker .popup .operations .add-image-popup .add-image-row[data-v-7b32c90b]:not(:last-child) {\n margin-bottom: 12px;\n}\n.be-image-picker .popup .operations .add-image-popup .add-image-row .be-textbox[data-v-7b32c90b] {\n margin-left: 8px;\n flex: 1 0 0;\n}\n.be-image-picker .popup .operations .add-image-popup .add-image-row .be-button[data-v-7b32c90b] {\n flex: 1 0 0;\n padding: 6px 8px;\n}\n.be-image-picker .popup .operations .add-image-popup .add-image-row .title[data-v-7b32c90b] {\n font-weight: 600;\n font-size: 16px;\n}\n.be-image-picker .popup .operations .add-image-popup .add-image-row.buttons[data-v-7b32c90b] > :not(:last-child) {\n margin-right: 8px;\n}",""]),e.exports=o},4572:(e,t,n)=>{var o=n(2955)((function(e){return e[1]}));o.push([e.id,'.image-viewer-container[data-v-8829ba14] {\n background: rgba(0, 0, 0, 0.85);\n width: 100%;\n height: 100%;\n position: fixed;\n top: 0;\n left: 0;\n z-index: 100002;\n display: flex;\n justify-content: center;\n align-items: center;\n opacity: 0;\n pointer-events: none;\n color: #eee;\n}\n.image-viewer-container[data-v-8829ba14], .image-viewer-container *[data-v-8829ba14] {\n transition: 0.2s ease-out;\n}\n.image-viewer-container.open[data-v-8829ba14] {\n opacity: 1;\n pointer-events: initial;\n}\n.image-viewer-container .image-viewer[data-v-8829ba14] {\n width: 90%;\n height: 90%;\n display: grid;\n grid-template: "image close" 48px "image ." auto "image copy-link" 48px "image ." 12px "image new-tab" 48px "image ." 18px "image download" 48px/auto 48px;\n column-gap: 12px;\n justify-items: center;\n justify-content: stretch;\n align-items: center;\n align-content: stretch;\n transform: scale(0.95);\n}\n.image-viewer-container .image-viewer .image-container[data-v-8829ba14] {\n grid-area: image;\n width: 100%;\n height: 100%;\n display: flex;\n flex-direction: column;\n}\n.image-viewer-container .image-viewer .image-container .image[data-v-8829ba14] {\n flex: 1 0 0;\n height: 0;\n object-fit: contain;\n}\n.image-viewer-container .image-viewer .close[data-v-8829ba14] {\n grid-area: close;\n}\n.image-viewer-container .image-viewer .download[data-v-8829ba14] {\n grid-area: download;\n}\n.image-viewer-container .image-viewer .copy-link[data-v-8829ba14] {\n grid-area: copy-link;\n transform: scale(0.95);\n}\n.image-viewer-container .image-viewer .new-tab[data-v-8829ba14] {\n grid-area: new-tab;\n transform: scale(0.85);\n}\n.image-viewer-container .image-viewer .image-viewer-icon[data-v-8829ba14] {\n cursor: pointer;\n width: 100%;\n height: 100%;\n transition: 0.2s ease-out;\n color: #eee;\n}\n.image-viewer-container .image-viewer .image-viewer-icon:hover .be-icon[data-v-8829ba14] {\n color: var(--theme-color);\n}\n.image-viewer-container.open .image-viewer[data-v-8829ba14] {\n transform: scale(1);\n}',""]),e.exports=o},1513:(e,t,n)=>{var o=n(2955)((function(e){return e[1]}));o.push([e.id,".container[data-v-106e4984] {\n display: flex;\n align-items: stretch;\n flex-direction: column;\n gap: 8px;\n}",""]),e.exports=o},1009:(e,t,n)=>{var o=n(2955)((function(e){return e[1]}));o.push([e.id,".option-widget-layout {\n position: relative;\n}\n.option-widget-popup {\n font-size: 12px;\n transition: 0.2s ease-out;\n transform-origin: left;\n transform: translateY(-50%) scale(0.9);\n top: 50%;\n left: calc(100% + 8px);\n background-color: #fff;\n box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.05);\n white-space: nowrap;\n display: grid;\n width: max-content;\n min-width: 180px;\n grid-template-columns: repeat(var(--columns), auto);\n border-radius: 4px;\n border: none;\n max-height: calc(100vh - 100px);\n overflow: auto;\n scrollbar-width: none !important;\n overscroll-behavior: contain;\n}\nbody.dark .option-widget-popup {\n background-color: var(--be-color-panel-bg, #333);\n}\nbody.dark .option-widget-popup {\n box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.2);\n}\n.option-widget-popup::-webkit-scrollbar {\n height: 0 !important;\n width: 0 !important;\n}\n.option-widget-popup.open {\n transform: translateY(-50%) scale(1);\n}\nbody.settings-panel-dock-right .option-widget-popup {\n right: calc(100% + 8px);\n left: unset;\n transform-origin: right;\n}",""]),e.exports=o},2923:(e,t,n)=>{var o=n(2955)((function(e){return e[1]}));o.push([e.id,".be-progress-bar[data-v-56b62124] {\n display: flex;\n justify-content: flex-start;\n align-items: stretch;\n height: 4px;\n background-color: #8884;\n border-radius: 2px;\n min-width: 24px;\n overflow: hidden;\n}\n.be-progress-bar .progress[data-v-56b62124] {\n border-radius: 2px;\n background-color: var(--theme-color);\n}\n.be-progress-bar .progress.transition[data-v-56b62124] {\n transition: width 0.3s ease-out;\n}",""]),e.exports=o},2514:(e,t,n)=>{var o=n(2955)((function(e){return e[1]}));o.push([e.id,".be-progress-ring[data-v-360d0319] {\n --ring-color: var(--theme-color);\n --ring-background: #8884;\n display: flex;\n}\n.be-progress-ring svg[data-v-360d0319] {\n transform: rotate(-90deg);\n}\n.be-progress-ring svg .progress[data-v-360d0319] {\n stroke: var(--ring-color);\n}\n.be-progress-ring svg .progress.transition[data-v-360d0319] {\n transition: stroke-dashoffset 0.3s ease-out;\n}\n.be-progress-ring svg .progress-background[data-v-360d0319] {\n stroke: var(--ring-background);\n}",""]),e.exports=o},4222:(e,t,n)=>{var o=n(2955)((function(e){return e[1]}));o.push([e.id,".group-title[data-v-9b855096] {\n flex-grow: 1;\n padding: 6px 8px;\n}",""]),e.exports=o},2771:(e,t,n)=>{var o=n(2955)((function(e){return e[1]}));o.push([e.id,".be-range-input[data-v-b459c060] {\n display: flex;\n align-items: center;\n}\n.be-range-input > .be-textbox[data-v-b459c060] {\n flex: 1;\n}\n.be-range-input .default-separator[data-v-b459c060] {\n margin: 0 8px;\n flex: 0 0 auto;\n}",""]),e.exports=o},69:(e,t,n)=>{var o=n(2955)((function(e){return e[1]}));o.push([e.id,".be-scroll-trigger {\n cursor: pointer;\n}",""]),e.exports=o},8912:(e,t,n)=>{var o=n(2955)((function(e){return e[1]}));o.push([e.id,".be-switch-box {\n outline: none !important;\n width: 32px;\n margin: 4px 0;\n}\n.be-switch-box, .be-switch-box *, .be-switch-box *::before, .be-switch-box *::after {\n transition: 0.2s all ease-out;\n}\n.be-switch-box input[type=checkbox] {\n display: none;\n}\n.be-switch-box label {\n display: block;\n cursor: pointer;\n -webkit-tap-highlight-color: transparent;\n}\n.be-switch-box .bar {\n position: relative;\n background-color: var(--be-color-switch-bg, #8884);\n box-sizing: border-box;\n height: 12px;\n border-radius: 6px;\n}\n.be-switch-box .bar .thumb {\n position: absolute;\n left: 0;\n top: 50%;\n transform: translateY(-50%);\n width: 18px;\n height: 18px;\n border-radius: 50%;\n background-color: #fff;\n border: 1px solid #ddd;\n}\nbody.dark .be-switch-box .bar .thumb {\n border-color: var(--be-color-thumb-border, #555);\n background-color: var(--be-color-thumb-bg, #666);\n}\n.be-switch-box.checked .bar {\n background-color: var(--theme-color-50);\n}\n.be-switch-box.checked .bar .thumb {\n background-color: var(--theme-color);\n border-color: transparent;\n left: calc(100% - 18px);\n}\nbody.dark .be-switch-box.checked .bar .thumb {\n border-color: transparent;\n background-color: var(--theme-color);\n}\n.be-switch-box:focus-within.checked .thumb {\n box-shadow: 0 0 0 1px var(--theme-color-20);\n}\n.be-switch-box.disabled {\n opacity: 0.5;\n}\n.be-switch-box.disabled, .be-switch-box.disabled * {\n cursor: not-allowed;\n}",""]),e.exports=o},9435:(e,t,n)=>{var o=n(2955)((function(e){return e[1]}));o.push([e.id,'.be-tab-control {\n display: flex;\n flex-direction: column;\n}\n.be-tab-control .default-header {\n display: flex;\n justify-content: space-between;\n align-items: center;\n padding: 0 8px 8px 0;\n}\n.be-tab-control .default-header .default-tabs {\n display: flex;\n padding: 6px 8px;\n}\n.be-tab-control .default-header .default-tabs .default-tab {\n font-size: 14px;\n position: relative;\n cursor: pointer;\n -webkit-user-select: none;\n user-select: none;\n color: black;\n fill: black;\n stroke: black;\n}\nbody.dark .be-tab-control .default-header .default-tabs .default-tab {\n color: var(--be-color-text-title, #eee);\n fill: var(--be-color-text-title, #eee);\n stroke: var(--be-color-text-title, #eee);\n}\n.be-tab-control .default-header .default-tabs .default-tab:not(:last-child) {\n margin-right: 16px;\n}\n.be-tab-control .default-header .default-tabs .default-tab::after {\n content: "";\n position: absolute;\n top: calc(100% + 4px);\n left: 50%;\n display: block;\n height: 3px;\n border-radius: 2px;\n width: 80%;\n background-color: var(--theme-color);\n transition: transform 0.2s ease-out;\n transform: translateX(-50%) scaleX(0);\n}\n.be-tab-control .default-header .default-tabs .default-tab-name {\n transition: transform 0.2s ease-out;\n opacity: 0.5;\n}\n.be-tab-control .default-header .default-tabs .default-tab.selected .default-tab-name {\n font-weight: 600;\n transform: scale(1.1);\n opacity: 1;\n}\n.be-tab-control .default-header .default-tabs .default-tab.selected::after {\n transform: translateX(-50%) scaleX(1);\n}\n.be-tab-control .default-header .default-tabs .default-tab:not(.selected)[data-count]::before {\n content: attr(data-count);\n position: absolute;\n bottom: calc(100% + 2px);\n left: 50%;\n transform: translateX(-50%);\n display: flex;\n align-items: center;\n justify-content: center;\n padding: 4px;\n font-size: 11px;\n border-radius: 10px;\n background-color: #fff;\n border: 1px solid #8882;\n height: 10px;\n min-width: 10px;\n box-sizing: content-box;\n line-height: 1;\n}\nbody.dark .be-tab-control .default-header .default-tabs .default-tab:not(.selected)[data-count]::before {\n background-color: #333;\n}\n.be-tab-control .default-header .header-item {\n flex: 1;\n margin: 0 8px;\n}\n.be-tab-control .default-header .header-item:empty {\n display: none;\n}\n.be-tab-control .default-header .be-more-link .be-button {\n padding: 4px 6px 4px 10px;\n}\n.be-tab-control .default-header .be-more-link .be-button .be-icon {\n margin-left: 4px;\n}\n.be-tab-control .default-content {\n display: flex;\n flex: 1;\n justify-content: center;\n padding: 6px 0;\n position: relative;\n max-height: 100%;\n overflow: auto;\n scrollbar-width: none !important;\n overscroll-behavior: contain;\n}\n.be-tab-control .default-content::-webkit-scrollbar {\n height: 0 !important;\n width: 0 !important;\n}\n.be-tab-control .default-content .content-transition-enter, .be-tab-control .default-content .content-transition-leave-to {\n opacity: 0;\n transform: translateY(-12px);\n}\n.be-tab-control .default-content .content-transition-leave-active {\n position: absolute;\n}\n.be-tab-control .default-content .content-transition-enter-active, .be-tab-control .default-content .content-transition-leave-active {\n transition: 0.2s ease-out;\n}',""]),e.exports=o},2934:(e,t,n)=>{var o=n(2955)((function(e){return e[1]}));o.push([e.id,".be-text-area {\n flex: 1 1 32px;\n min-width: 32px;\n display: flex;\n align-items: stretch;\n justify-content: stretch;\n border-radius: 4px;\n transition: border 0.2s ease-out, box-shadow 0.2s ease-out;\n box-shadow: 0 0 0 1px #8884, 0 0 0 0px var(--theme-color-20);\n}\n.be-text-area:focus-within {\n box-shadow: 0 0 0 1px var(--theme-color), 0 0 0 3px var(--theme-color-20);\n}\n.be-text-area textarea {\n resize: none;\n field-sizing: content;\n width: 0;\n flex: 1 0 0;\n padding: 4px 6px;\n border-radius: 4px;\n background-color: transparent;\n overflow: auto;\n border: none;\n outline: none !important;\n color: black;\n font-size: inherit;\n}\nbody.dark .be-text-area textarea {\n color: var(--be-color-text-content, #eee);\n}\n.be-text-area textarea:disabled {\n opacity: 0.3;\n cursor: not-allowed;\n}\n.be-text-area textarea::-webkit-input-placeholder {\n color: var(--be-color-text-placeholder, #888);\n}",""]),e.exports=o},7886:(e,t,n)=>{var o=n(2955)((function(e){return e[1]}));o.push([e.id,".be-textbox[data-v-a2f75c14] {\n position: relative;\n flex: 1 1 32px;\n min-width: 32px;\n display: flex;\n align-items: stretch;\n justify-content: stretch;\n border-radius: 4px;\n transition: border 0.2s ease-out, box-shadow 0.2s ease-out;\n box-shadow: 0 0 0 1px #8884, 0 0 0 0px var(--theme-color-20);\n}\n.be-textbox[data-v-a2f75c14]:focus-within {\n box-shadow: 0 0 0 1px var(--theme-color), 0 0 0 3px var(--theme-color-20);\n}\n.be-textbox input[type=text][data-v-a2f75c14] {\n line-height: normal;\n padding: 4px 6px;\n border-radius: 4px;\n flex: 1 0 0;\n background-color: transparent;\n border: none;\n outline: none !important;\n color: black;\n width: 0;\n font-size: inherit;\n}\nbody.dark .be-textbox input[type=text][data-v-a2f75c14] {\n color: var(--be-color-text-content, #eee);\n}\n.be-textbox input[type=text][data-v-a2f75c14]:disabled {\n opacity: 0.3;\n cursor: not-allowed;\n}\n.be-textbox input[type=text][data-v-a2f75c14]::-webkit-input-placeholder {\n color: var(--be-color-text-placeholder, #888);\n}\n.be-textbox.linear[data-v-a2f75c14] {\n box-shadow: none;\n}\n.be-textbox.linear input[type=text][data-v-a2f75c14] {\n padding: 4px;\n}\n.be-textbox.linear .linear-bar[data-v-a2f75c14] {\n position: absolute;\n top: calc(100% - 1px);\n left: 50%;\n transform: translateX(-50%);\n border-radius: 1px;\n height: 1px;\n width: 100%;\n background-color: #8884;\n}\n.be-textbox.linear[data-v-a2f75c14]:focus-within {\n box-shadow: none;\n}\n.be-textbox.linear:focus-within .linear-bar[data-v-a2f75c14] {\n background-color: var(--theme-color);\n}",""]),e.exports=o},3056:(e,t,n)=>{var o=n(2955)((function(e){return e[1]}));o.push([e.id,".be-button[data-v-2c606c52] {\n outline: none !important;\n line-height: normal;\n transition: background-color 0.2s ease-out, box-shadow 0.2s ease-out;\n background-color: #8882;\n color: black;\n border: none;\n border-radius: 4px;\n padding: 4px 8px;\n cursor: pointer;\n display: flex;\n align-items: center;\n justify-content: center;\n}\n.be-button[data-v-2c606c52], .be-button *[data-v-2c606c52] {\n -webkit-tap-highlight-color: transparent;\n}\nbody.dark .be-button[data-v-2c606c52] {\n color: var(--be-color-text-title, #eee);\n}\n.be-button.round[data-v-2c606c52] {\n border-radius: calc(1em + 8px);\n padding: 4px 10px;\n}\n.be-button.icon[data-v-2c606c52] {\n border-radius: 50%;\n padding: 4px;\n background-image: none !important;\n}\n.be-button .content-container[data-v-2c606c52] {\n -webkit-user-select: none;\n user-select: none;\n display: flex;\n align-items: center;\n justify-content: center;\n flex: 1;\n}\n.be-button.transparent[data-v-2c606c52] {\n background-color: transparent;\n}\n.be-button.primary[data-v-2c606c52] {\n box-shadow: 0 0 0 1px var(--theme-color-80);\n background-color: var(--theme-color-80);\n color: var(--foreground-color);\n}\n.be-button.light[data-v-2c606c52] {\n background-color: #fff;\n box-shadow: 0 0 0 1px #8884;\n transition: box-shadow 0.2s ease-out;\n}\nbody.dark .be-button.light[data-v-2c606c52] {\n background-color: var(--be-color-button-bg, #333);\n}\n.be-button[data-v-2c606c52]:not(.disabled):not(.no-effects):hover, .be-button[data-v-2c606c52]:not(.disabled):not(.no-effects):focus-within {\n background-color: #8884;\n}\n.be-button[data-v-2c606c52]:not(.disabled):not(.no-effects):focus-within {\n box-shadow: 0 0 0 1px var(--theme-color), 0 0 0 3px var(--theme-color-20);\n}\n.be-button:not(.disabled):not(.no-effects).transparent[data-v-2c606c52]:hover, .be-button:not(.disabled):not(.no-effects).transparent[data-v-2c606c52]:focus-within {\n background-color: #8882;\n}\n.be-button:not(.disabled):not(.no-effects).primary[data-v-2c606c52]:hover {\n box-shadow: 0 0 0 1px var(--theme-color);\n}\n.be-button:not(.disabled):not(.no-effects).primary[data-v-2c606c52]:focus-within {\n box-shadow: 0 0 0 1px var(--theme-color), 0 0 0 3px var(--theme-color-20);\n}\n.be-button:not(.disabled):not(.no-effects).primary[data-v-2c606c52]:hover, .be-button:not(.disabled):not(.no-effects).primary[data-v-2c606c52]:focus-within {\n background-color: var(--theme-color);\n}\n.be-button:not(.disabled):not(.no-effects).light[data-v-2c606c52]:hover {\n background-color: #fff;\n box-shadow: 0 0 0 1px var(--theme-color);\n}\n.be-button:not(.disabled):not(.no-effects).light[data-v-2c606c52]:active, .be-button:not(.disabled):not(.no-effects).light[data-v-2c606c52]:focus-within {\n background-color: #fff;\n box-shadow: 0 0 0 1px var(--theme-color), 0 0 0 3px var(--theme-color-20);\n}\nbody.dark .be-button:not(.disabled):not(.no-effects).light[data-v-2c606c52]:hover {\n background-color: var(--be-color-button-bg, #333);\n box-shadow: 0 0 0 1px var(--theme-color);\n}\nbody.dark .be-button:not(.disabled):not(.no-effects).light[data-v-2c606c52]:active, body.dark .be-button:not(.disabled):not(.no-effects).light[data-v-2c606c52]:focus-within {\n background-color: var(--be-color-button-bg, #333);\n box-shadow: 0 0 0 1px var(--theme-color), 0 0 0 3px var(--theme-color-20);\n}\n.be-button.disabled[data-v-2c606c52] {\n cursor: not-allowed;\n opacity: 0.5;\n}",""]),e.exports=o},5745:(e,t,n)=>{var o=n(2955)((function(e){return e[1]}));o.push([e.id,".be-dropdown[data-v-a50268e4] {\n display: flex;\n border-radius: 4px;\n color: black;\n fill: black;\n stroke: black;\n background-color: #fff;\n transition: box-shadow 0.2s ease-out;\n box-shadow: 0 0 0 1px #8884;\n position: relative;\n cursor: pointer;\n}\nbody.dark .be-dropdown[data-v-a50268e4] {\n color: var(--be-color-text-title, #eee);\n fill: var(--be-color-text-title, #eee);\n stroke: var(--be-color-text-title, #eee);\n}\n.be-dropdown[data-v-a50268e4], .be-dropdown *[data-v-a50268e4] {\n -webkit-tap-highlight-color: transparent;\n outline: none !important;\n}\nbody.dark .be-dropdown[data-v-a50268e4] {\n background-color: var(--be-color-button-bg, #333);\n}\n.be-dropdown[data-v-a50268e4]:not(.disabled):hover {\n box-shadow: 0 0 0 1px var(--theme-color);\n}\n.be-dropdown[data-v-a50268e4]:not(.disabled):active, .be-dropdown[data-v-a50268e4]:not(.disabled):focus-within {\n box-shadow: 0 0 0 1px var(--theme-color), 0 0 0 3px var(--theme-color-20);\n}\n.be-dropdown .dropdown-popup[data-v-a50268e4] {\n background-color: inherit;\n top: calc(100% + 4px);\n left: 50%;\n transform: translateX(-50%) translateY(-4px) scale(0.8);\n transform-origin: top;\n transition: 0.2s ease-out;\n min-width: 100%;\n box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.05);\n border: 1px solid #8882;\n box-sizing: border-box;\n}\nbody.dark .be-dropdown .dropdown-popup[data-v-a50268e4] {\n box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.2);\n}\n.be-dropdown .dropdown-popup.open[data-v-a50268e4] {\n transform: translateX(-50%) scale(1);\n}\n.be-dropdown .dropdown-popup .bex-dropdown-item[data-v-a50268e4] {\n padding: 4px 6px;\n margin: 2px 4px;\n border-radius: 4px;\n white-space: nowrap;\n display: flex;\n align-items: center;\n justify-content: center;\n transition: background-color 0.2s ease-out;\n}\n.be-dropdown .dropdown-popup .bex-dropdown-item[data-v-a50268e4]:hover, .be-dropdown .dropdown-popup .bex-dropdown-item[data-v-a50268e4]:focus-within {\n background-color: #8882;\n}\n.be-dropdown .dropdown-popup .bex-dropdown-item[data-v-a50268e4]:first-child {\n margin-top: 4px;\n}\n.be-dropdown .dropdown-popup .bex-dropdown-item[data-v-a50268e4]:last-child {\n margin-bottom: 4px;\n}\n.be-dropdown .selected[data-v-a50268e4] {\n display: flex;\n align-items: center;\n flex-grow: 1;\n line-height: normal;\n}\n.be-dropdown .selected-item[data-v-a50268e4] {\n flex: 1;\n padding: 4px 8px;\n}\n.be-dropdown .selected .arrow[data-v-a50268e4] {\n flex-shrink: 0;\n transition: transform 0.2s ease-out;\n}\n.be-dropdown .selected .arrow.open[data-v-a50268e4] {\n transform: rotate(180deg);\n}\n.be-dropdown .selected .arrow .default-arrow[data-v-a50268e4] {\n padding: 0 6px;\n display: flex;\n align-items: center;\n}\n.be-dropdown .selected .arrow .default-arrow path[data-v-a50268e4] {\n fill: transparent;\n}\n.be-dropdown .selected .arrow .default-arrow svg[data-v-a50268e4] {\n transition: 0.2s ease-out;\n stroke: #888a;\n fill: transparent;\n width: 12px;\n height: 12px;\n}\n.be-dropdown:not(.disabled):hover .selected .arrow .default-arrow svg[data-v-a50268e4], .be-dropdown:not(.disabled):active .selected .arrow .default-arrow svg[data-v-a50268e4], .be-dropdown:not(.disabled):focus-within .selected .arrow .default-arrow svg[data-v-a50268e4] {\n stroke: var(--theme-color);\n}\n.be-dropdown.disabled[data-v-a50268e4] {\n opacity: 0.5;\n cursor: not-allowed;\n}\n.be-dropdown.round[data-v-a50268e4] {\n border-radius: calc(1em + 8px);\n}\n.be-dropdown.round .selected-item[data-v-a50268e4] {\n padding: 4px 10px;\n}",""]),e.exports=o},5136:(e,t,n)=>{var o=n(2955)((function(e){return e[1]}));o.push([e.id,".be-empty {\n flex-grow: 1;\n display: flex;\n align-items: center;\n justify-content: center;\n}",""]),e.exports=o},3004:(e,t,n)=>{var o=n(2955)((function(e){return e[1]}));o.push([e.id,".be-loading {\n flex-grow: 1;\n display: flex;\n align-items: center;\n justify-content: center;\n}",""]),e.exports=o},1034:(e,t,n)=>{var o=n(2955)((function(e){return e[1]}));o.push([e.id,".be-popup {\n position: absolute;\n z-index: 1;\n border-radius: 8px;\n}\n.be-popup.fixed {\n position: fixed;\n}\n.be-popup.close.closed-style {\n pointer-events: none;\n opacity: 0;\n}\n.be-popup.open {\n pointer-events: initial;\n opacity: 1;\n}",""]),e.exports=o},4749:(e,t,n)=>{var o=n(2955)((function(e){return e[1]}));o.push([e.id,".be-slider[data-v-94f62aa6] {\n min-width: 50px;\n position: relative;\n outline: none !important;\n}\n.be-slider .bar-container[data-v-94f62aa6] {\n padding: 6px 0;\n}\n.be-slider .default-bar[data-v-94f62aa6] {\n height: 4px;\n cursor: pointer;\n border-radius: 2px;\n background-color: #8882;\n}\n.be-slider .thumb-container[data-v-94f62aa6] {\n cursor: pointer;\n position: absolute;\n top: 50%;\n transform: translateX(-50%) translateY(-50%);\n transition: none;\n}\n.be-slider .default-thumb[data-v-94f62aa6] {\n width: 16px;\n height: 16px;\n border-radius: 50%;\n background-color: var(--theme-color);\n box-shadow: 0 0 0 2px var(--theme-color-20);\n transition: box-shadow 0.2s ease-out;\n}",""]),e.exports=o},694:(e,t,n)=>{var o=n(2955)((function(e){return e[1]}));o.push([e.id,'@charset "UTF-8";\n/** 由于允许自定义SVG插入, 样式不能是scoped的, 否则匹配不上 */\n@font-face {\n font-family: "be-iconfont-bilifont";\n src: url("//s1.hdslb.com/bfs/seed/jinkela/header-v2/asserts/iconfont.ttf") format("truetype");\n}\n@font-face {\n font-family: "be-iconfont-vanfont";\n src: url("//s1.hdslb.com/bfs/static/jinkela/video/asserts/iconfont.6401a86.ttf") format("truetype");\n}\n.be-icon {\n color: inherit;\n fill: inherit;\n stroke: inherit;\n font-size: var(--size);\n font-style: normal;\n line-height: 1;\n display: flex;\n align-items: center;\n justify-content: center;\n width: var(--size);\n height: var(--size);\n}\n.be-icon.be-iconfont-logo::before {\n font-family: "be-iconfont-bilifont" !important;\n content: "";\n}\n.be-icon.be-iconfont-profile::before {\n font-family: "be-iconfont-bilifont" !important;\n content: "";\n}\n.be-icon.be-iconfont-posts::before {\n font-family: "be-iconfont-bilifont" !important;\n content: "";\n}\n.be-icon.be-iconfont-wallet::before {\n font-family: "be-iconfont-bilifont" !important;\n content: "";\n}\n.be-icon.be-iconfont-live-center::before {\n font-family: "be-iconfont-bilifont" !important;\n content: "";\n}\n.be-icon.be-iconfont-order-center::before {\n font-family: "be-iconfont-bilifont" !important;\n content: "";\n}\n.be-icon.be-iconfont-course::before {\n font-family: "be-iconfont-bilifont" !important;\n content: "";\n}\n.be-icon.be-iconfont-logout::before {\n font-family: "be-iconfont-bilifont" !important;\n content: "";\n}\n.be-icon.be-iconfont-ok::before {\n font-family: "be-iconfont-bilifont" !important;\n content: "";\n}\n.be-icon.be-iconfont-cancel::before {\n font-family: "be-iconfont-bilifont" !important;\n content: "";\n}\n.be-icon.be-iconfont-bind-phone::before {\n font-family: "be-iconfont-bilifont" !important;\n content: "";\n}\n.be-icon.be-iconfont-bind-email::before {\n font-family: "be-iconfont-bilifont" !important;\n content: "";\n}\n.be-icon.be-iconfont-coin-outline::before {\n font-family: "be-iconfont-bilifont" !important;\n content: "";\n}\n.be-icon.be-iconfont-b-coin::before {\n font-family: "be-iconfont-bilifont" !important;\n content: "";\n}\n.be-icon.be-iconfont-b-coin-outline::before {\n font-family: "be-iconfont-bilifont" !important;\n content: "";\n}\n.be-icon.be-iconfont-activity::before {\n font-family: "be-iconfont-bilifont" !important;\n content: "";\n}\n.be-icon.be-iconfont-feeds::before {\n font-family: "be-iconfont-bilifont" !important;\n content: "";\n}\n.be-icon.be-iconfont-message::before {\n font-family: "be-iconfont-bilifont" !important;\n content: "";\n}\n.be-icon.be-iconfont-favorites-outline::before {\n font-family: "be-iconfont-bilifont" !important;\n content: "";\n}\n.be-icon.be-iconfont-history::before {\n font-family: "be-iconfont-bilifont" !important;\n content: "";\n}\n.be-icon.be-iconfont-vip::before {\n font-family: "be-iconfont-bilifont" !important;\n content: "";\n}\n.be-icon.be-iconfont-up-outline::before {\n font-family: "be-iconfont-bilifont" !important;\n content: "";\n}\n.be-icon.be-iconfont-play-triangle::before {\n font-family: "be-iconfont-bilifont" !important;\n content: "";\n}\n.be-icon.be-iconfont-refresh::before {\n font-family: "be-iconfont-bilifont" !important;\n content: "";\n}\n.be-icon.be-iconfont-eye::before {\n font-family: "be-iconfont-bilifont" !important;\n content: "";\n}\n.be-icon.be-iconfont-coin::before {\n font-family: "be-iconfont-vanfont" !important;\n content: "";\n}\n.be-icon.be-iconfont-favorites::before {\n font-family: "be-iconfont-vanfont" !important;\n content: "";\n}\n.be-icon.be-iconfont-play::before {\n font-family: "be-iconfont-vanfont" !important;\n content: "";\n}\n.be-icon.be-iconfont-danmaku::before {\n font-family: "be-iconfont-vanfont" !important;\n content: "";\n}\n.be-icon.be-iconfont-like::before {\n font-family: "be-iconfont-vanfont" !important;\n content: "";\n}\n.be-icon.be-iconfont-like-outline::before {\n font-family: "be-iconfont-vanfont" !important;\n content: "";\n}\n.be-icon.be-iconfont-dislike-outline::before {\n font-family: "be-iconfont-vanfont" !important;\n content: "";\n}\n.be-icon.be-iconfont-comment-outline::before {\n font-family: "be-iconfont-vanfont" !important;\n content: "";\n}\n.be-icon.be-iconfont-up::before {\n font-family: "be-iconfont-vanfont" !important;\n content: "";\n}\n.be-icon.be-iconfont-left-arrow::before {\n font-family: "be-iconfont-vanfont" !important;\n content: "";\n}\n.be-icon.be-iconfont-right-arrow::before {\n font-family: "be-iconfont-vanfont" !important;\n content: "";\n}\n.be-icon.be-iconfont-up-arrow::before {\n font-family: "be-iconfont-vanfont" !important;\n content: "";\n}\n.be-icon.be-iconfont-down-arrow::before {\n font-family: "be-iconfont-vanfont" !important;\n content: "";\n}\n.be-icon.be-iconfont-close::before {\n font-family: "be-iconfont-vanfont" !important;\n content: "";\n}\n.be-icon.be-iconfont-search::before {\n font-family: "be-iconfont-vanfont" !important;\n content: "";\n}\n.be-icon.be-iconfont-upload::before {\n font-family: "be-iconfont-vanfont" !important;\n content: "";\n}\n.be-icon.be-iconfont-lv0::before {\n font-family: "be-iconfont-vanfont" !important;\n content: "";\n color: #9a9a9a;\n}\nbody.dark .be-icon.be-iconfont-lv0::before {\n color: #777;\n}\n.be-icon.be-iconfont-lv1::before {\n font-family: "be-iconfont-vanfont" !important;\n content: "";\n color: #646464;\n}\nbody.dark .be-icon.be-iconfont-lv1::before {\n color: #ddd;\n}\n.be-icon.be-iconfont-lv2::before {\n font-family: "be-iconfont-vanfont" !important;\n content: "";\n color: #1bc861;\n}\n.be-icon.be-iconfont-lv3::before {\n font-family: "be-iconfont-vanfont" !important;\n content: "";\n color: #22baea;\n}\n.be-icon.be-iconfont-lv4::before {\n font-family: "be-iconfont-vanfont" !important;\n content: "";\n color: #eaa722;\n}\n.be-icon.be-iconfont-lv5::before {\n font-family: "be-iconfont-vanfont" !important;\n content: "";\n color: #ff7631;\n}\n.be-icon.be-iconfont-lv6::before {\n font-family: "be-iconfont-vanfont" !important;\n content: "";\n color: #ff3131;\n}\n.be-icon:not(.colored) svg, .be-icon:not(.colored) svg path {\n fill: inherit;\n stroke: inherit;\n stroke-width: 0;\n}\n.be-icon .custom-icon {\n display: flex;\n}\n.be-icon .custom-icon > svg {\n width: var(--size);\n height: var(--size);\n}',""]),e.exports=o},6724:(e,t,n)=>{var o=n(2955)((function(e){return e[1]}));o.push([e.id,".tippy-box.tippy-box {\n font-size: inherit;\n filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.2));\n background-color: var(--be-color-tooltip-bg, #333);\n}\n\n.tippy-arrow.tippy-arrow {\n color: var(--be-color-tooltip-bg, #333);\n}",""]),e.exports=o},2955:e=>{"use strict"; // eslint-disable-next-line func-names diff --git a/bb-evolved/dist/bilibili-evolved.user.js b/bb-evolved/dist/bilibili-evolved.user.js index 94a3ce3ebc..a07acc7486 100644 --- a/bb-evolved/dist/bilibili-evolved.user.js +++ b/bb-evolved/dist/bilibili-evolved.user.js @@ -46,9 +46,9 @@ const a=()=>{(0,o.contentLoaded)((async()=>{document.body.classList.add("round-c /* eslint-disable no-bitwise */ function*(e,t){let n,o=t?.low??0,i=t?.high??e.length;for(;o+1>>1;(yield{low:o,high:i,mid:n,slice:e.slice(o,n),rouge:Math.trunc(Math.log2(i-o))})?i=n:o=n}return{low:o,high:i,mid:n,slice:e.slice(o,n),rouge:Math.trunc(Math.log2(i-o)),target:e[o]}};var c=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",[t("div",[e._v("可能出问题的组件是:"+e._s(e.displayName)+"("+e._s(e.name)+")")]),e._v(" "),t("div",[t("span",{staticClass:"link",on:{click:e.restore}},[e._v("恢复原状("+e._s(e.countdown)+" 秒)")])])])};c._withStripped=!0;var s=n(3654);const l=n.n(s)().extend({data:()=>({countdown:30,userComponent:void 0}),computed:{displayName(){return this.userComponent?.metadata?.displayName},name(){return this.userComponent?.metadata?.name}},watch:{countdown(e){0===e&&this.restore()}},created(){this.interval=setInterval((()=>{this.countdown>0?this.countdown--:clearInterval(this.interval)}),1e3)},destroyed(){clearInterval(this.interval)},methods:{restore(){clearInterval(this.interval),this.$emit("restore")}}});const d=(0,n(8678).A)(l,c,[],!1,null,null,null).exports;let m,u,f,p,b;const h=e=>{m?Object.assign(m,e):m=e},g=e=>{u=e},v=async()=>{const{settings:e}=await Promise.resolve().then(n.bind(n,3558)),{userComponents:t}=e,o=lodash.pickBy(t,(e=>e.metadata.configurable||!0)),{targetComponents:i,keepDisabledComponents:r,keepEnabledComponents:a}=lodash.transform(o,((e,t,n)=>{m.keepEnabledComponents?.includes(n)?e.keepEnabledComponents.push(t):m.keepDisabledComponents?.includes(n)?e.keepDisabledComponents.push(t):e.targetComponents.push(t)}),{targetComponents:[],keepDisabledComponents:[],keepEnabledComponents:[]});return{userComponents:t,configurableUserComponents:o,targetComponents:i,keepDisabledComponents:r,keepEnabledComponents:a}},F=(e,t)=>e.forEach((e=>e.settings.enabled=t)),w=e=>e.map((e=>`${e.metadata.displayName}(${e.metadata.name})`)).join(", ")||"无",y=()=>!lodash.isEmpty(m.bisectInitialState),x=async()=>{u?.log("stop - 准备停止组件二等分"),b?.close();const{configurableUserComponents:e}=await v(),t=[];for(const[n,o]of Object.entries(e)){const e=m.originalComponentEnableState?.[n];null!=e?o.settings.enabled=e:t.push(o)}if(t.length){const e=`部分组件未能还原状态:${w(t)}`;u?.warn(`stop - ${e}`),i.Toast.error(e,"组件二等分"),await(0,r.delay)(3e3)}u?.log("stop - 清理状态"),f=null,m.bisectInitialState={},m.originalComponentEnableState={},u?.log("stop - 重载页面"),location.reload()},k=async(e,t)=>{b?.close(),u?.log("next - 当前工作状态:"+( // eslint-disable-next-line no-nested-ternary -null==e?"未知":e?"异常":"正常"));const{done:n,value:o}=f.next(e);if(n){const{low:e,high:t}=o;m.bisectInitialState={low:e,high:t};const n=`bisector-result-toast-content-${(0,r.getRandomId)()}`;i.Toast.info(`
`,"组件二等分结果"),await(0,r.delay)();const a=(0,r.mountVueComponent)(d,`#${n}`);a.userComponent=o.target,a.$on("restore",(()=>{x()}))}else{const{slice:e,low:n,high:i}=o,r=e,a=lodash.difference(p.targetComponents,e);m.bisectInitialState={low:n,high:i},u?.log(`next - 关闭组件:${w(a)}`),u?.log(`next - 开启组件:${w(r)}`),F(a,!1),F(r,!0),t&&(u?.log("next - 重载页面"),location.reload())}return{done:n,value:o}},C=async()=>{u?.log("recover - 准备恢复组件二等分"),p=await v();const{targetComponents:e,keepDisabledComponents:t,keepEnabledComponents:i}=p;F(i,!0),F(t,!1),u?.log(`recover - 保持关闭组件:${w(t)}`),u?.log(`recover - 保持开启组件:${w(i)}`),u?.log(`recover - 全部目标组件:${w(e)}`),f=a(e,m.bisectInitialState);const{done:r,value:c}=await k();if(!r){const{rouge:e}=c;b=(0,o.showDialog)({title:()=>Promise.resolve().then(n.bind(n,7438)),content:()=>Promise.resolve().then(n.bind(n,729)),contentProps:{rouge:e,onGood:()=>k(!1,!0),onBad:()=>k(!0,!0),onAbort:()=>x()}})}},A=async()=>{if(y())return void await C();u?.log("start - 准备开始组件二等分"),p=await v();const{configurableUserComponents:e,targetComponents:t,keepDisabledComponents:n,keepEnabledComponents:o}=p;u?.log("start - 保存组件初始启用状态"),m.originalComponentEnableState=lodash.mapValues(e,(e=>e.settings.enabled)),F(t,!0),F(o,!0),F(n,!1),u?.log(`start - 保持关闭组件:${w(n)}`),u?.log(`start - 保持开启组件:${w(o)}`),u?.log(`start - 启用全部目标组件:${w(t)}`),f=a(t,m.bisectInitialState),await k(void 0,!0)}},8986:(e,t,n)=>{"use strict";n.r(t),n.d(t,{getBuiltInComponents:()=>O,isBuiltInComponent:()=>V});var o=n(5914),i=n(8418),r=n(4528),a=n(2822);const c={name:"launchBar.plugin",displayName:"搜索栏 - 快捷键支持",setup:e=>{let{addData:t}=e;t("keymap.actions",(e=>{e.showLaunchBar={displayName:"显示搜索栏",run:async()=>{const{toggleLaunchBar:e}=await Promise.resolve().then(n.bind(n,9927));return e(),!0}}})),t("keymap.presets",(e=>{e.showLaunchBar="/"}))}},s=(0,r.defineComponentMetadata)({name:"launchBar",displayName:"搜索栏",configurable:!1,entry:i.none,plugin:c,hidden:!0,tags:[a.K.general,a.K.utils],commitHash:"58c0b438ca2371e397f70466a91572cb2757b142",coreVersion:"2.10.7"});var l=n(328),d=n(1048),m=n(24);function u(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!=typeof o)return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}class f{constructor(){u(this,"accepts",(e=>e.nodeType===Node.ELEMENT_NODE)),u(this,"getValue",(e=>e.nodeValue)),u(this,"setValue",((e,t)=>{e.nodeValue=t})),u(this,"getElement",(e=>e))}translate(e){let t=this.getValue(e);if(!t||"string"!=typeof t||"*"===t)return;t=t.trim();const n=f.map.get(t);if(void 0===n){const n=f.regex.find((e=>{let[n]=e;return n.test(t)}));if(n){const[o,i]=n;this.setValue(e,t.replace(o,i))}}else if("string"==typeof n)this.setValue(e,n);else if(Array.isArray(n)){let t=null;for(const o of n)if("string"==typeof o)t=o;else{const{text:n,selector:i,not:r}=o;this.getElement(e)?.matches(i)!==Boolean(r)&&(t=n)}null!==t&&this.setValue(e,t)}else{const{text:t,selector:o,not:i}=n;this.getElement(e)?.matches(o)!==Boolean(i)&&this.setValue(e,t)}}static walk(e,t){const n=document.createNodeIterator(e, +null==e?"未知":e?"异常":"正常"));const{done:n,value:o}=f.next(e);if(n){const{low:e,high:t}=o;m.bisectInitialState={low:e,high:t};const n=`bisector-result-toast-content-${(0,r.getRandomId)()}`;i.Toast.info(`
`,"组件二等分结果"),await(0,r.delay)();const a=(0,r.mountVueComponent)(d,`#${n}`);a.userComponent=o.target,a.$on("restore",(()=>{x()}))}else{const{slice:e,low:n,high:i}=o,r=e,a=lodash.difference(p.targetComponents,e);m.bisectInitialState={low:n,high:i},u?.log(`next - 关闭组件:${w(a)}`),u?.log(`next - 开启组件:${w(r)}`),F(a,!1),F(r,!0),t&&(u?.log("next - 重载页面"),location.reload())}return{done:n,value:o}},C=async()=>{u?.log("recover - 准备恢复组件二等分"),p=await v();const{targetComponents:e,keepDisabledComponents:t,keepEnabledComponents:i}=p;F(i,!0),F(t,!1),u?.log(`recover - 保持关闭组件:${w(t)}`),u?.log(`recover - 保持开启组件:${w(i)}`),u?.log(`recover - 全部目标组件:${w(e)}`),f=a(e,m.bisectInitialState);const{done:r,value:c}=await k();if(!r){const{rouge:e}=c;b=(0,o.showDialog)({title:()=>Promise.resolve().then(n.bind(n,7438)),content:()=>Promise.resolve().then(n.bind(n,729)),contentProps:{rouge:e,onGood:()=>k(!1,!0),onBad:()=>k(!0,!0),onAbort:()=>x()}})}},A=async()=>{if(y())return void await C();u?.log("start - 准备开始组件二等分"),p=await v();const{configurableUserComponents:e,targetComponents:t,keepDisabledComponents:n,keepEnabledComponents:o}=p;u?.log("start - 保存组件初始启用状态"),m.originalComponentEnableState=lodash.mapValues(e,(e=>e.settings.enabled)),F(t,!0),F(o,!0),F(n,!1),u?.log(`start - 保持关闭组件:${w(n)}`),u?.log(`start - 保持开启组件:${w(o)}`),u?.log(`start - 启用全部目标组件:${w(t)}`),f=a(t,m.bisectInitialState),await k(void 0,!0)}},8986:(e,t,n)=>{"use strict";n.r(t),n.d(t,{getBuiltInComponents:()=>O,isBuiltInComponent:()=>V});var o=n(5914),i=n(8418),r=n(4528),a=n(2822);const c={name:"launchBar.plugin",displayName:"搜索栏 - 快捷键支持",setup:e=>{let{addData:t}=e;t("keymap.actions",(e=>{e.showLaunchBar={displayName:"显示搜索栏",run:async()=>{const{toggleLaunchBar:e}=await Promise.resolve().then(n.bind(n,9927));return e(),!0}}})),t("keymap.presets",(e=>{e.showLaunchBar="/"}))}},s=(0,r.defineComponentMetadata)({name:"launchBar",displayName:"搜索栏",configurable:!1,entry:i.none,plugin:c,hidden:!0,tags:[a.K.general,a.K.utils],commitHash:"d87d69cfb9d7e0124bd90a06fec4569bd61e02c5",coreVersion:"2.10.7"});var l=n(328),d=n(1048),m=n(24);function u(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!=typeof o)return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}class f{constructor(){u(this,"accepts",(e=>e.nodeType===Node.ELEMENT_NODE)),u(this,"getValue",(e=>e.nodeValue)),u(this,"setValue",((e,t)=>{e.nodeValue=t})),u(this,"getElement",(e=>e))}translate(e){let t=this.getValue(e);if(!t||"string"!=typeof t||"*"===t)return;t=t.trim();const n=f.map.get(t);if(void 0===n){const n=f.regex.find((e=>{let[n]=e;return n.test(t)}));if(n){const[o,i]=n;this.setValue(e,t.replace(o,i))}}else if("string"==typeof n)this.setValue(e,n);else if(Array.isArray(n)){let t=null;for(const o of n)if("string"==typeof o)t=o;else{const{text:n,selector:i,not:r}=o;this.getElement(e)?.matches(i)!==Boolean(r)&&(t=n)}null!==t&&this.setValue(e,t)}else{const{text:t,selector:o,not:i}=n;this.getElement(e)?.matches(o)!==Boolean(i)&&this.setValue(e,t)}}static walk(e,t){const n=document.createNodeIterator(e, // eslint-disable-next-line no-bitwise -NodeFilter.SHOW_TEXT|NodeFilter.SHOW_ELEMENT);let o=n.nextNode();for(;o;)t(o),o=n.nextNode()}static translate(e){if(e.nodeType===Node.TEXT_NODE)return void f.textNode.translate(e);const t=e=>{for(const t of f.sensitiveTranslators)t.accepts(e)&&t.translate(e)};t(e),f.walk(e,t)}static translateCssMatches(){const e=f.map.get("*");if(e)for(const{selector:t,text:n}of e){const e=document.querySelector(t);e&&[...e.childNodes].filter((e=>e.nodeType===Node.TEXT_NODE)).forEach((e=>e.nodeValue=n))}}}u(f,"textNode",void 0),u(f,"title",void 0),u(f,"placeholder",void 0),u(f,"sensitiveTranslators",void 0),u(f,"map",void 0),u(f,"regex",void 0);f.textNode=new class extends f{constructor(){super(...arguments),u(this,"accepts",(e=>e.nodeType===Node.TEXT_NODE)),u(this,"getElement",(e=>e.parentElement))}},f.title=new class extends f{constructor(){super(...arguments),u(this,"getValue",(e=>e.getAttribute("title"))),u(this,"setValue",((e,t)=>{e.setAttribute("title",t)}))}},f.placeholder=new class extends f{constructor(){super(...arguments),u(this,"getValue",(e=>e.getAttribute("placeholder"))),u(this,"setValue",((e,t)=>{e.setAttribute("placeholder",t)}))}},f.sensitiveTranslators=[f.textNode,f.title,f.placeholder];const p=(0,r.defineComponentMetadata)({name:"i18n",displayName:"多语言",configurable:!1,entry:async()=>{const{getSelectedLanguage:e}=await Promise.resolve().then(n.bind(n,8925)),t=e();if(t===l.defaultLanguageCode)return;const{registerAndGetData:o}=await Promise.resolve().then(n.bind(n,5417)),[i,r]=o(`i18n.${t}`,new Map,[]);console.log(t,i.size,r.length),0===i.size&&0===r.length||(document.documentElement.setAttribute("lang",t),f.map=i,f.regex=r,f.translate(document.body),f.translateCssMatches(),(0,m.allMutations)((e=>{e.forEach((e=>{"childList"===e.type?(e.addedNodes.length>0&&f.translateCssMatches(),e.addedNodes.forEach((e=>{f.translate(e)}))):"characterData"===e.type?f.textNode.translate(e.target):"attributes"===e.type&&("title"===e.attributeName?f.title.translate(e.target):"placeholder"===e.attributeName&&f.placeholder.translate(e.target))}))})))},tags:[a.K.utils,a.K.experimental,a.K.general],description:{"zh-CN":"安装其他语言包可以更换界面语言, 机器翻译选择可以设定其他一些功能如`动态翻译`, `评论翻译`使用的翻译器. 机器翻译的选择不影响界面语言."},options:{language:{defaultValue:l.languageCodeToName[l.defaultLanguageCode],displayName:"界面语言选择",dropdownEnum:l.languageCodeToName},translator:{defaultValue:Object.keys(d.Ve)[0],displayName:"机器翻译选择",dropdownEnum:d.Qx}},hidden:!0,commitHash:"58c0b438ca2371e397f70466a91572cb2757b142",coreVersion:"2.10.7"});var b=n(5035),h=n(3558),g=n(7848),v=n(8202),F=n(2776);const{checkComponentsUpdate:w,checkLastFeature:y,forceCheckUpdate:x,forceCheckUpdateAndReload:k,silentCheckUpdate:C}=F,A=(0,r.defineOptionsMetadata)({lastUpdateCheck:{displayName:"最后检查更新日期",defaultValue:0,hidden:!0},lastInstalledVersion:{displayName:"最后安装版本",defaultValue:"2.0.0",hidden:!0},localPortOverride:{displayName:"本地组件链接端口",defaultValue:"",hidden:!0},minimumDuration:{displayName:"更新间隔 (ms)",defaultValue:864e5},urls:{displayName:"更新链接",defaultValue:{components:{},plugins:{},styles:{}},hidden:!0},maxUpdateCount:{displayName:"单次最大更新量 (个)",defaultValue:4}}),E=(0,r.defineComponentMetadata)({name:v.UU,displayName:"自动更新器",description:{"zh-CN":"自动检查组件, 插件和样式的更新. (仅限从设置面板中安装的)"},tags:[a.K.utils],options:A,extraOptions:()=>Promise.resolve().then(n.bind(n,6540)).then((e=>e.default)),entry:async e=>{let{settings:{options:t}}=e;if((0,i.isIframe)())return F;const n=Number(new Date)-t.lastUpdateCheck>=t.minimumDuration,o=new g.Version(b.meta.version).greaterThan(new g.Version(t.lastInstalledVersion));return n?coreApis.lifeCycle.fullyLoaded((()=>C())):o&&coreApis.lifeCycle.fullyLoaded((()=>x())),F},plugin:{displayName:"自动更新器 - 功能扩展",description:{"zh-CN":"记录在设置面板中的功能安装/卸载数据供自动更新使用; 并在组件详情中支持手动检查该组件的更新."},setup:e=>{let{addData:t,addHook:o}=e;["components","plugins","styles"].forEach((e=>{o(`user${lodash.startCase(e)}.add`,{after:(t,n,o)=>{const{options:i}=(0,h.getComponentSettings)("autoUpdate"),r=i.urls[e][o.name];r?(r.url=n,r.lastUpdateCheck=Number(new Date),r.alwaysUpdate=(0,v.Du)(n)):i.urls[e][o.name]={url:n,lastUpdateCheck:Number(new Date),installTime:Number(new Date),alwaysUpdate:(0,v.Du)(n)}}}),o(`user${lodash.startCase(e)}.remove`,{after:t=>{const{options:n}=(0,h.getComponentSettings)("autoUpdate");n.urls[e][t.name]&&delete n.urls[e][t.name]}})})),t("settingsPanel.componentActions",(e=>{const{options:t}=(0,h.getComponentSettings)("autoUpdate");e.push((e=>{const o=t.urls.components[e.name];if(o)return{name:"checkUpdate",displayName:"检查更新",icon:(0,v.Du)(o.url)?"mdi-file-download-outline":"mdi-cloud-download-outline",visible:(0,h.isUserComponent)(e),title:o.url,action:async()=>{const{Toast:t}=await Promise.resolve().then(n.bind(n,2692)),o=t.info("检查更新中...","检查更新");o.message=await w({filterNames:[e.name],force:!0}),o.duration=3e3}}}))}));const i="mdi-cloud-sync-outline";t("launchBar.actions",(e=>{e.push({name:"updateAllFeaturesActions",getActions:async()=>[{name:"检查所有更新",description:"Check Updates",action:async()=>{const{Toast:e}=await Promise.resolve().then(n.bind(n,2692)),t=e.info("正在检查更新...","检查所有更新");await k(),t.close()},icon:i}]})})),t("settingsPanel.searchBarActions",(e=>{e.unshift({key:"updateFeatures",title:e=>{let{selectedComponents:t}=e;return t.length>0?"更新所选组件":"检查所有更新"},icon:"mdi-cloud-download-outline",run:async e=>{const t=e.selectedComponents.length>0?`确定要更新所选的 ${e.selectedComponents.length} 个组件吗?`:"确定要检查所有更新吗?";if(!window.confirm(t))return;const{Toast:o}=await Promise.resolve().then(n.bind(n,2692)),{isBuiltInComponent:i}=await Promise.resolve().then(n.bind(n,8986));if(0===e.selectedComponents.length){const e=o.info("正在检查更新...","检查所有更新");k(),await k(),e.close()}else e.selectedComponents.forEach((async e=>{let{name:t}=e;if(i(t))o.info("内置组件不能更新","检查更新",3e3);else{const e=o.info("检查更新中...","检查更新"),n=await w({filterNames:[t],force:!0});e.message=n,e.duration=3e3}}))}})})),(0,h.getGeneralSettings)().devMode&&t("launchBar.actions",(e=>{e.push({name:"updateLastFeatureActions",getActions:async()=>[{name:"检查最近更新的功能",description:"Check Last Update",action:async()=>{const{Toast:e}=await Promise.resolve().then(n.bind(n,2692)),t=e.info("正在检查更新...","检查最近更新的功能");await y(),t.close()},icon:i}]})}))}},commitHash:"58c0b438ca2371e397f70466a91572cb2757b142",coreVersion:"2.10.7"}),B=async()=>{const{cdnRoots:e}=await Promise.resolve().then(n.bind(n,3027)),{meta:t}=await Promise.resolve().then(n.bind(n,5035)),{getGeneralSettings:o}=await Promise.resolve().then(n.bind(n,3558));return`${e[o().cdnRoot](t.compilationInfo.branch)}dist/${t.originalFilename}`},D=(0,r.defineComponentMetadata)({name:"notifyNewVersion",displayName:"新版本提示",description:"定期检查脚本本体的更新, 并弹出提示.",tags:[a.K.utils],options:{lastUpdateCheck:{displayName:"最后检查更新日期",defaultValue:0,hidden:!0},minimumDuration:{displayName:"更新间隔 (ms)",defaultValue:864e5}},entry:async e=>{let{settings:{options:t}}=e;try{const{Version:e}=await Promise.resolve().then(n.bind(n,7848)),{monkey:o}=await Promise.resolve().then(n.bind(n,392)),{meta:i}=await Promise.resolve().then(n.bind(n,5035)),{Toast:r}=await Promise.resolve().then(n.bind(n,2692)),{isDataSaveMode:a}=await Promise.resolve().then(n.bind(n,8418));if(a())return;const c=Number(new Date);if(c-t.lastUpdateCheck${m.versionString} 已发布. 查看详情`,"检查更新");(await p.element).querySelector(".view-details").addEventListener("click",(()=>{(async e=>{const{showDialog:t}=await Promise.resolve().then(n.bind(n,3648));t({title:"更新说明",content:()=>Promise.resolve().then(n.bind(n,8285)),contentProps:{content:e,updateUrl:await B()}})})(f)}))}catch(e){console.warn("[新版本提示] 检查更新时发生错误: ",e)}},commitHash:"58c0b438ca2371e397f70466a91572cb2757b142",coreVersion:"2.10.7"}),I=(0,r.defineOptionsMetadata)({originalComponentEnableState:{defaultValue:{},hidden:!0},keepDisabledComponents:{defaultValue:[],hidden:!0},keepEnabledComponents:{defaultValue:[],hidden:!0},bisectInitialState:{defaultValue:{},hidden:!0}});var S=n(9007),z=n(7656);const P=(0,r.defineComponentMetadata)({name:"bisector",displayName:"组件二等分",tags:[a.K.general,a.K.utils],hidden:!0,configurable:!1,entry:async e=>{let{settings:{options:t}}=e;const o=await Promise.resolve().then(n.bind(n,8494));o.setOptions(t),o.setConsole((0,z.useScopedConsole)("组件二等分")),unsafeWindow.addEventListener(S.LifeCycleEventTypes.ComponentsLoaded,(()=>{o.isRecover()&&o.recover()}))},options:I,plugin:{displayName:"组件二等分 - 功能扩展",setup:e=>{let{addData:t}=e;t("launchBar.actions",(e=>{e.push({name:"bisector-start",getActions:async()=>[{name:"开始 / 继续组件二等分",description:"Start / Continue component bisection",icon:"mdi-view-split-horizontal",action:async()=>{const e=await Promise.resolve().then(n.bind(n,8494));await e.start()}}]})}))}},commitHash:"58c0b438ca2371e397f70466a91572cb2757b142",coreVersion:"2.10.7"}),M=(0,r.defineComponentMetadata)({name:"compatibilities",displayName:"兼容性选项",configurable:!1,tags:[a.K.general],options:{disableOnBalh:{defaultValue:!1,displayName:'与 "解除 B 站区域限制" 互斥'}},entry:i.none,commitHash:"58c0b438ca2371e397f70466a91572cb2757b142",coreVersion:"2.10.7",description:(()=>{const e=n(5841);return{...Object.fromEntries(e.keys().map((t=>[t.match(/index\.(.+)\.md$/)[1],e(t)]))),"zh-CN":()=>Promise.resolve().then(n.t.bind(n,2090,17)).then((e=>e.default))}})()}),O=()=>[o.s,s,p,E,D,P,M],V=e=>O().some((t=>t.name===e))},5772:(e,t,n)=>{"use strict";n.r(t),n.d(t,{components:()=>d,componentsMap:()=>l,componentsTags:()=>c.K,defineComponentMetadata:()=>s.defineComponentMetadata,defineOptionMetadata:()=>s.defineOptionMetadata,defineOptionsMetadata:()=>s.defineOptionsMetadata,importComponent:()=>b,loadAllComponents:()=>v,loadAllUserComponents:()=>g,loadComponent:()=>h});var o=n(3558),i=n(9007),r=n(2734),a=n(8986),c=n(2822),s=n(4528);const l={},d=lodash.once((()=>{const e=(0,a.getBuiltInComponents)();return e.forEach((e=>l[e.name]=e)),e}))(),m=async e=>{if(!e.i18n)return;const{addI18nData:t}=await Promise.resolve().then(n.bind(n,8925));for(const[n,o]of Object.entries(e.i18n)){const{map:e=[],regex:i=[]}="function"==typeof o?await o():o;t(n,e,i)}},u=e=>`${e.name}.widget`,f=async e=>{if(e.widget){const t={...e.widget,name:u(e)},{addData:o}=await Promise.resolve().then(n.bind(n,5417)),{WidgetsPlugin:i}=await Promise.resolve().then(n.bind(n,5914));o(i,(n=>{if(n.find((e=>e.name===t.name)))return;const{urlInclude:o,urlExclude:i}=t;e.urlInclude&&(o?o.push(...e.urlInclude):t.urlInclude=[...e.urlInclude]),e.urlExclude&&(i?i.push(...e.urlExclude):t.urlExclude=[...e.urlExclude]),n.push(t)}))}},p={},b=e=>{if(!(e in p))throw new Error(`组件'${e}'未加载, 请确认拼写无误且组件已开启.`);return p[e]},h=async e=>{const{componentLoadTrace:t}=await Promise.resolve().then(n.bind(n,1054)),{matchUrlPattern:i}=await Promise.resolve().then(n.bind(n,8418)),{coreApis:r}=await Promise.resolve().then(n.bind(n,6482));await t(e);const a=async()=>{f(e);const t=await e.entry({settings:(0,o.getComponentSettings)(e),metadata:e,coreApis:r});p[e.name]=t||{}};e.reload&&e.unload&&(0,o.addComponentListener)(e.name,(async t=>{if(!1!==e.configurable&&!(e.urlExclude&&e.urlExclude.some(i)||e.urlInclude&&e.urlInclude.every(lodash.negate(i))))if(e.name in p){if(t&&e.reload&&(e.reload(),e.widget&&f(e)),!t&&e.unload&&(e.unload(),e.widget)){const{getData:t}=await Promise.resolve().then(n.bind(n,5417)),{WidgetsPlugin:o}=await Promise.resolve().then(n.bind(n,5914)),[i]=t(o);if(i){const t=u(e),n=i.findIndex((e=>e.name===t));-1!==n&&i.splice(n,1)}}}else t&&await a()})),(0,o.isComponentEnabled)(e)&&await a()},g=async()=>{const{settings:e}=await Promise.resolve().then(n.bind(n,3558)),{loadFeatureCode:t}=await Promise.resolve().then(n.bind(n,6716));for(const[n,i]of Object.entries(e.userComponents)){const{code:e}=i;let r;try{r=t(e)}catch(e){console.error("从代码加载用户组件失败。代码可能有语法错误或代码执行时有抛出值。",{componentName:n,error:e});continue}o=r,d.push(o),l[o.name]=o}var o},v=async()=>{const e=(0,o.getGeneralSettings)(),{loadAllPlugins:t}=await Promise.resolve().then(n.bind(n,6010)),a=()=>t(d).then((()=>Promise.all(d.map(m)))).then((()=>Promise.all(d.map(h)))).then((async()=>{if(e.devMode){const{componentLoadTime:e,componentResolveTime:t}=await Promise.resolve().then(n.bind(n,1054)),{logStats:o}=await Promise.resolve().then(n.bind(n,6102));o("components block",e),o("components resolve",t)}}));return new Promise(((t,n)=>{e.scriptLoadingMode===r.LoadingMode.Delay?(0,i.fullyLoaded)((()=>a().then(t).catch(n))):e.scriptLoadingMode===r.LoadingMode.Race&&(0,i.contentLoaded)((()=>a().then(t).catch(n)))}))}},4528:(e,t,n)=>{"use strict";n.r(t),n.d(t,{defineComponentMetadata:()=>r,defineOptionMetadata:()=>o,defineOptionsMetadata:()=>i});const o=e=>e,i=e=>e,r=e=>e},3449:(e,t,n)=>{"use strict";n.r(t),n.d(t,{getDescriptionHTML:()=>c,getDescriptionMarkdown:()=>a,getDescriptionText:()=>s});var o=n(8507),i=n.n(o),r=n(8925);const a=async e=>{const{description:t,author:n}=e;return(n?Array.isArray(n)?`by ${n.map((e=>`[@${e.name}](${e.link})`)).join(",")}\n\n`:`by [@${n.name}](${n.link})\n\n`:"")+await(async()=>{if(!t)return"暂无描述.";const e=async e=>"string"==typeof e?e:e();if("object"==typeof t){const n=(0,r.getSelectedLanguage)();return e(t[n]??t["zh-CN"])}return e(t)})()},c=async e=>i()(await a(e)),s=async e=>{const t=await c(e),n=document.createElement("div");return n.innerHTML=t,n.innerText}},8925:(e,t,n)=>{"use strict";n.d(t,{addI18nData:()=>a,getSelectedLanguage:()=>c});var o=n(5417),i=n(3558),r=n(328);const a=(e,t,n)=>{(0,o.addData)(`i18n.${e}`,((e,o)=>{t?.forEach((t=>{let[n,o]=t;return e.set(n,o)})),n&&o.push(...n)}))},c=()=>{const e=(0,i.getComponentSettings)("i18n");return(0,r.languageNameToCode)(e.options.language)}},1048:(e,t,n)=>{"use strict";n.d(t,{Qx:()=>f,Ve:()=>u,tI:()=>p});var o=n(392),i=n(6635),r=n(3558),a=n(328),c=n(5417),s=n(8418);function l(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!=typeof o)return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}class d{constructor(){l(this,"name",void 0),l(this,"link",void 0),l(this,"defaultLanguage",void 0)}getTargetLanguage(){const e=(0,r.getComponentSettings)("i18n");return e.enabled?(0,a.languageNameToCode)(e.options.language):this.defaultLanguage}toString(){return this.name}}class m extends d{constructor(){super(...arguments),l(this,"name","Google"),l(this,"link","https://translate.google.com/"),l(this,"defaultLanguage","zh"),l(this,"apiUrl","https://translate.google.com/translate_a/single")}async translate(e){let t=this.getTargetLanguage();t.includes("-")&&t!==this.defaultLanguage&&(t=t.substring(0,t.indexOf("-")));try{const n=await(0,o.monkey)({url:`${this.apiUrl}?${(0,s.formData)({client:"gtx",sl:"auto",tl:t,dt:"t",q:encodeURIComponent(e)})}`,method:"GET",headers:{"User-Agent":i.UserAgent},responseType:"json"});return n[0].map((e=>e[0])).join("")}catch(e){throw console.error("Translator: Google",e),new Error("调用Google翻译失败.")}}}const[u]=(0,c.registerAndGetData)("i18n.machineTranslators",{GoogleCN:new class extends m{constructor(){super(...arguments),l(this,"name","GoogleCN"),l(this,"link","https://translate.google.cn/"),l(this,"apiUrl","https://translate.google.cn/translate_a/single")}},Google:new m}),f=Object.keys(u),p=()=>{const{options:{translator:e}}=(0,r.getComponentSettings)("i18n");return u[e]||u.GoogleCN}},573:(e,t,n)=>{"use strict";n.d(t,{C9:()=>c,ri:()=>a});var o=n(1211);const i="search_history:search_history",r=async function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:i;const t=await o.crossOriginLocalStorage.getItem(e);return t?JSON.parse(t):[]},a=async function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i;console.log("add",e),await o.crossOriginLocalStorage.setItem(t,JSON.stringify(lodash.sortBy(lodash.uniqBy([{value:e,timestamp:Number(new Date)},...await r()],(e=>e.value)),(e=>e.timestamp)).reverse().slice(0,20)))},c={name:"history",getActions:async()=>{const{search:e}=await Promise.resolve().then(n.bind(n,3141)),t={name:"清除搜索历史",icon:"mdi-trash-can-outline",description:"Clear History",explicitSelect:!0,action:async()=>{await function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:i;return o.crossOriginLocalStorage.setItem(e,"[]")}()}},a=(await r()).map((t=>({name:t.value,icon:"mdi-history",explicitSelect:!0,suggestName:t.value,action:()=>{e(t.value)},deleteAction:async()=>{await async function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i;const n=await r(),a=n.findIndex((t=>t.value===e));console.log("delete",e,a),-1!==a&&(n.splice(a,1),await o.crossOriginLocalStorage.setItem(t,JSON.stringify(n)))}(t.value)}})));return a.length>0&&a.push(t),a}}},9467:(e,t,n)=>{"use strict";n.d(t,{LaunchBarActionProviders:()=>o});const o="launchBar.actions"},3141:(e,t,n)=>{"use strict";n.d(t,{k:()=>c,search:()=>a});var o=n(8418),i=n(392),r=n(573);const a=e=>{if(!e)return;(0,r.ri)(e);const t={keyword:e,from_source:"nav_suggest_new"};window.open(`https://search.bilibili.com/all?${new URLSearchParams(t)}`,"_blank")},c={name:"search",getActions:async e=>{const t=`https://s.search.bilibili.com/main/suggest?func=suggest&suggest_type=accurate&sub_type=tag&main_ver=v1&highlight=&userid=${(0,o.getUID)()}&bangumi_acc_num=1&special_acc_num=1&topic_acc_num=1&upuser_acc_num=3&tag_num=10&special_num=10&bangumi_num=10&upuser_num=3&term=${e}`,n=await(0,i.getJson)(t),r=[{name:e,icon:"search",content:async()=>Vue.extend({render:t=>t("div",{class:"suggest-highlight"},[e])}),action:()=>a(e)}];if(0!==n.code)return r;const c=lodash.get(n,"result.tag");return c?(r.push(...c.map((t=>({name:`${e}.${t.value}`,icon:"search",suggestName:t.value,content:async()=>Vue.extend({render:e=>e("div",{domProps:{innerHTML:t.name.replace(/suggest_high_light/g,"suggest-highlight")}})}),action:()=>a(t.value)})))),lodash.uniqBy(r,(e=>e.name))):r}}},9927:(e,t,n)=>{"use strict";n.d(t,{toggleLaunchBar:()=>h});var o=n(8418),i=function(){var e=this,t=e._self._c,n=e._self._setupProxy;return t(n.VPopup,{staticClass:"global-launch-bar-container",attrs:{lazy:!1,fixed:""},on:{"!keydown":function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"esc",27,t.key,["Esc","Escape"])?null:n.close()}},model:{value:n.show,callback:function(e){n.show=e},expression:"show"}},[t(n.LaunchBar,{ref:"launchBar",on:{close:function(e){return n.close()}}})],1)};i._withStripped=!0;var r=n(3654),a=n(4512),c=n(7556);const s=(0,r.defineComponent)({__name:"GlobalLaunchBar",setup(e,t){let{expose:n}=t;const o=(0,r.ref)(),i=(0,r.ref)(!0),s=()=>{const e=o.value?.input;e?.focus(),e?.select()};return(0,r.watch)(i,(e=>{e&&s()})),(0,r.onMounted)((async()=>{await(0,r.nextTick)(),s()})),n({show:i}),{__sfc:!0,launchBar:o,show:i,focus:s,close:()=>{i.value=!1;const e=o.value?.input;e?.blur()},VPopup:a.default,LaunchBar:c.A}}});var l=n(6991),d=n.n(l),m=n(8021),u=n.n(m),f={insert:"head",singleton:!1};d()(u(),f);u().locals;const p=(0,n(8678).A)(s,i,[],!1,null,null,null).exports;let b;const h=()=>{if(!b)return b=(0,o.mountVueComponent)(p),void document.body.append(b.$el);b.show=!b.show}},6083:(e,t,n)=>{"use strict";n.d(t,{W:()=>o});let o=function(e){return e.Left="左侧",e.Right="右侧",e}({})},1654:(e,t,n)=>{"use strict";n.r(t),n.d(t,{map:()=>o});const o=new Map([["通用设置","General"],["实验性","Experimental"],["通用","General"],["开发者模式","Dev mode"],["辅助颜色","Accent color"],["功能加载模式","Script loading mode"],["样式加载模式","Style loading mode"]])},5914:(e,t,n)=>{"use strict";n.d(t,{WidgetsPlugin:()=>b,s:()=>g});var o=n(8418),i=n(2734),r=n(5911),a=n(3027),c=n(3558),s=n(9424),l=n(2822),d=n(4528),m=n(5417),u=n(9467),f=n(8427);var p=n(6083);const b="widgets",h=(0,d.defineOptionsMetadata)({themeColor:{defaultValue:"#00A0D8",displayName:"主题颜色",color:!0},scriptLoadingMode:{defaultValue:i.LoadingMode.Delay,displayName:"功能加载模式",dropdownEnum:i.LoadingMode},styleLoadingMode:{defaultValue:i.LoadingMode.Race,displayName:"样式加载模式",dropdownEnum:i.LoadingMode},textColor:{defaultValue:r.TextColor.Auto,displayName:"文本颜色",dropdownEnum:r.TextColor},cdnRoot:{defaultValue:a.CdnTypes.AltCdn,displayName:"更新源",dropdownEnum:a.CdnTypes},dockSide:{defaultValue:p.W.Left,displayName:"设置面板停靠",dropdownEnum:p.W},filenameFormat:{defaultValue:"[title][ - ep]",displayName:"文件命名格式",multiline:!0},batchFilenameFormat:{defaultValue:"[n - ][ep]",displayName:"批量命名格式",multiline:!0},downloadPackageEmitMode:{defaultValue:s.p.Packed,displayName:"文件下载模式",dropdownEnum:s.p},devMode:{defaultValue:!1,displayName:"开发者模式"}}),g=(0,d.defineComponentMetadata)({name:"settingsPanel",displayName:"通用设置",configurable:!1,entry:async e=>{let{metadata:t}=e;const{isIframe:i}=await Promise.resolve().then(n.bind(n,8418));i()||((0,c.addComponentListener)(`${t.name}.dockSide`,(e=>{document.body.classList.toggle("settings-panel-dock-right",e===p.W.Right)}),!0),requestIdleCallback((async()=>{const e=await Promise.resolve().then(n.bind(n,9561)),t=(0,o.mountVueComponent)(e);document.body.insertAdjacentElement("beforeend",t.$el)})))},options:h,tags:[l.K.general],plugin:{displayName:"设置面板 - 功能扩展",setup:()=>{(0,m.addData)(u.LaunchBarActionProviders,(e=>{e.push({name:"onlineRegistry",getActions:async()=>[{name:"切换在线仓库",description:"Toggle Online Registry",icon:"mdi-web",action:async()=>{const{togglePopup:e}=await Promise.resolve().then(n.bind(n,5153));e()}}]},{name:"aboutPageActionsProvider",getActions:async()=>f.a.map((e=>e.actionName?{name:e.name,displayName:e.displayName,icon:e.icon,description:e.actionName,action:()=>e.run()}:null)).filter((e=>null!==e))})}))}},commitHash:"58c0b438ca2371e397f70466a91572cb2757b142",coreVersion:"2.10.7",description:(()=>{const e=n(3851);return{...Object.fromEntries(e.keys().map((t=>[t.match(/index\.(.+)\.md$/)[1],e(t)]))),"zh-CN":()=>Promise.resolve().then(n.t.bind(n,7107,17)).then((e=>e.default))}})(),i18n:(()=>{const e=n(7527);return{...Object.fromEntries(e.keys().map((t=>[t.match(/index\.(.+)\.ts$/)[1],e(t)])))}})()})},650:(e,t,n)=>{"use strict";n.d(t,{I:()=>i,W:()=>r});var o=n(3558);const i=Vue.extend({props:{componentData:{type:Object,required:!0}},data(){return{settings:(0,o.getComponentSettings)(this.componentData)}}}),r=e=>Vue.extend({data:()=>({virtual:!1}),async mounted(){const{dq:t}=await Promise.resolve().then(n.bind(n,8418)),{visibleInside:o}=await Promise.resolve().then(n.bind(n,24)),i=this.$el,r=t(e);r?o(i,r,"150% 0px",(e=>{e.forEach((e=>{this.virtual=!e.isIntersecting}))})):console.warn("virtual container not found, virtual scroll will be disabled!")}})},8427:(e,t,n)=>{"use strict";n.d(t,{a:()=>r});var o=n(5417);const i=[{icon:"mdi-inbox-arrow-up-outline",name:"exportSettings",displayName:"导出设置",actionName:"Export Settings",run:async()=>{const{settings:e}=await Promise.resolve().then(n.bind(n,3558)),{DownloadPackage:t}=await Promise.resolve().then(n.bind(n,6738));t.single("settings.json",JSON.stringify(e,void 0,2))}},{icon:"mdi-inbox-arrow-down-outline",name:"importSettings",displayName:"导入设置",actionName:"Import Settings",run:async()=>{const{logError:e}=await Promise.resolve().then(n.bind(n,7656)),{pickFile:t}=await Promise.resolve().then(n.bind(n,103)),{Toast:o}=await Promise.resolve().then(n.bind(n,2692)),i=await t({accept:"*.json"});if(0===i.length)return;const[r]=i;try{const e=JSON.parse(await r.text());Object.entries(e).forEach((e=>{let[t,n]=e;GM_setValue(t,n)})),o.success("导入成功, 正在刷新页面...","导入设置"),window.location.reload()}catch(t){e(t)}}}],[r]=(0,o.registerAndGetData)("settingsPanel.about.actions",i)},5153:(e,t,n)=>{"use strict";n.d(t,{f:()=>N,togglePopup:()=>q});var o=n(8418),i=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("VPopup",{staticClass:"online-registry be-settings-extra-options",attrs:{fixed:"","auto-close":!1},model:{value:e.popupOpen,callback:function(t){e.popupOpen=t},expression:"popupOpen"}},[t("div",{staticClass:"online-registry-header"},[t("VIcon",{staticClass:"online-registry-header-title-icon",attrs:{icon:"mdi-web"}}),e._v(" "),t("div",{staticClass:"online-registry-header-title"},[e._v("在线仓库")]),e._v(" "),t("VIcon",{staticClass:"online-registry-header-refresh-icon",attrs:{icon:"mdi-refresh",size:22,title:"刷新"},on:{click:function(t){return e.fetchFeatures()}}}),e._v(" "),t("VIcon",{staticClass:"online-registry-header-close-icon",attrs:{icon:"mdi-close",size:24,title:"关闭"},on:{click:function(t){e.popupOpen=!1}}})],1),e._v(" "),t("div",{staticClass:"online-registry-header"},[t("div",{staticClass:"online-registry-header-search"},[t("VIcon",{attrs:{icon:"search",size:18}}),e._v(" "),t("TextBox",{attrs:{disabled:e.loading,placeholder:"搜索功能"},model:{value:e.searchKeyword,callback:function(t){e.searchKeyword=t},expression:"searchKeyword"}})],1),e._v(" "),t("div",{staticClass:"online-registry-header-branch"},[e._v("\n 分支:\n "),t("VDropdown",{attrs:{disabled:e.loading,items:e.registryBranches},scopedSlots:e._u([{key:"item",fn:function({item:t}){return[e._v("\n "+e._s(t)+"\n ")]}}]),model:{value:e.selectedBranch,callback:function(t){e.selectedBranch=t},expression:"selectedBranch"}})],1),e._v(" "),t("div",{staticClass:"online-registry-header-filter"},[e._v("\n 查看:\n "),e._l(e.itemFilterOptions,(function(n){return t("RadioButton",{key:n.value,attrs:{group:"itemFilter",checked:e.itemFilter===n.value},on:{change:function(t){t&&(e.itemFilter=n.value)}}},[e._v("\n "+e._s(n.label)+"\n ")])}))],2)]),e._v(" "),t("div",{staticClass:"online-registry-separator"}),e._v(" "),t("div",{ref:"content",staticClass:"online-registry-content"},[e.loading?t("VLoading"):e._e(),e._v(" "),e.loading||e.filteredList.length?e._e():t("VEmpty"),e._v(" "),e._l(e.filteredList,(function(n){return t("RegistryItem",{key:n.name,ref:"items",refInFor:!0,attrs:{item:n,branch:e.selectedBranch,"item-filter":e.itemFilter},on:{refresh:e.checkInstalled}})}))],2)])};i._withStripped=!0;var r=n(392),a=n(3027),c=n(5035),s=n(3558),l=n(7656),d=n(5113),m=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("MiniToast",{staticClass:"online-registry-item-wrapper",class:{virtual:e.virtual,hidden:e.hidden},attrs:{placement:e.placement,container:"body",delay:[200,0],offset:[0,12]},scopedSlots:e._u([{key:"toast",fn:function(){return[e.item.description?t("ComponentDescription",{attrs:{"component-data":e.item}}):e._e()]},proxy:!0}])},[e.virtual?e._e():t("div",{staticClass:"online-registry-item"},[t("VIcon",{staticClass:"item-icon",attrs:{size:18,icon:e.icon}}),e._v(" "),t("div",{staticClass:"item-badge"},[e._v("\n "+e._s(e.badge)+"\n ")]),e._v(" "),t("div",{staticClass:"item-display-name"},[e._v("\n "+e._s(e.item.displayName)+"\n ")]),e._v(" "),t("div",{staticClass:"grow"}),e._v(" "),t("div",{staticClass:"item-action"},[e.installed?t("VButton",{staticClass:"reinstall-button",attrs:{title:"重新安装",disabled:e.installing},on:{click:function(t){e.install(e.getUrl(e.item))}}},[e._v("\n "+e._s(e.installing?"正在安装":"已安装")+"\n ")]):t("VButton",{staticClass:"install-button",attrs:{title:"安装",type:"primary",disabled:e.installing},on:{click:function(t){e.install(e.getUrl(e.item))}}},[t("VIcon",{attrs:{icon:"mdi-plus",size:15}}),e._v("\n "+e._s(e.installing?"正在安装":"安装")+"\n ")],1)],1)],1)])};m._withStripped=!0;var u=n(1024),f=n(24),p=n(4143),b=n(6083);let h=function(e){return e.All="all",e.Installed="installed",e.NotInstalled="notInstalled",e}({});const g=(e,t)=>`${(0,a.cdnRoots[(0,s.getGeneralSettings)().cdnRoot])(t,e.owner)}${e.fullAbsolutePath}`,v=e=>{const t=`user${lodash.startCase(e.type)}s`;return e.name in s.settings[t]},F={component:{icon:"mdi-cube-scan",badge:"组件",getUrl:g,isInstalled:v},plugin:{icon:"mdi-puzzle-outline",badge:"插件",getUrl:g,isInstalled:v},style:{icon:"mdi-tune",badge:"样式",getUrl:g,isInstalled:v},pack:{icon:"mdi-package-variant-closed",badge:"合集包",getUrl:(e,t)=>e.items.map((e=>g(e,t))).join("\n"),isInstalled:e=>e.items.every(v)}},w=Vue.extend({components:{VIcon:d.VIcon,VButton:d.VButton,MiniToast:d.MiniToast,ComponentDescription:p.A},props:{item:{type:Object,required:!0},branch:{type:String,required:!0},itemFilter:{type:String,default:h.All}},data(){const{icon:e,badge:t,getUrl:n,isInstalled:o}=F[this.item.type];return{icon:e,badge:t,getUrl:e=>n(e,this.branch),isInstalled:o,installing:!1,installed:!1,virtual:!1,placement:"right"}},computed:{hidden(){switch(this.itemFilter){case h.All:default:return!1;case h.Installed:return!this.installed;case h.NotInstalled:return this.installed}}},created(){this.checkInstalled(),(0,s.addComponentListener)("settingsPanel.dockSide",(e=>{this.placement=e===b.W.Left?"right":"left"}),!0)},mounted(){const e=this.$el;(0,f.visibleInside)(e,e.parentElement,"150% 0px",(e=>{e.forEach((e=>{this.virtual=!e.isIntersecting}))}))},methods:{checkInstalled(){this.installed=this.isInstalled(this.item)},async install(e){const t=e.split("\n").map((e=>e.trim())).filter((e=>""!==e));try{this.installing=!0,await Promise.all(t.map((async e=>(0,u.installFeature)(e)))),this.checkInstalled(),"pack"===this.item.type&&this.$emit("refresh")}catch(e){(0,l.logError)(e)}finally{this.installing=!1}}}});var y=n(6991),x=n.n(y),k=n(5932),C=n.n(k),A={insert:"head",singleton:!1};x()(C(),A);C().locals;var E=n(8678);const B=(0,E.A)(w,m,[],!1,null,null,null).exports;var D=n(5417);const[I]=(0,D.registerAndGetData)("settingsPanel.registryBranches",["master","preview"]);var S=n(3449);const z=(0,s.getGeneralSettings)();function P(e){e?(this.filteredList=this.list.filter((t=>[t.name,t.displayName,t.descriptionText].join("\n").toLowerCase().includes(e))),this.$nextTick().then((()=>this.$refs.content.scrollTo(0,0)))):this.filteredList=this.list}const M=[{label:"全部",value:h.All},{label:"已安装",value:h.Installed},{label:"未安装",value:h.NotInstalled}],O=Vue.extend({components:{VIcon:d.VIcon,VDropdown:d.VDropdown,TextBox:d.TextBox,VPopup:d.VPopup,RegistryItem:B,VLoading:d.VLoading,VEmpty:d.VEmpty,RadioButton:d.RadioButton},props:{open:{default:!1,type:Boolean}},data(){const e=[z.registryBranch,c.meta.compilationInfo.branch,I[0]].filter((e=>I.includes(e)&&Boolean(e)));return{searchKeyword:"",popupOpen:!1,loading:!1,list:[],itemFilter:h.All,itemFilterOptions:M,filteredList:[],registryBranches:I,selectedBranch:e[0]}},watch:{searchKeyword:lodash.debounce(P,200),selectedBranch(e){z.registryBranch=e,this.fetchFeatures()}},mounted(){this.fetchFeatures()},methods:{async fetchFeatures(){if(this.loading)return;const e=a.cdnRoots[z.cdnRoot](this.selectedBranch);try{this.loading=!0,this.list=[],this.filteredList=[];const t=`${e}doc/features/features.json`,n=`${e}doc/features/pack/pack.json`,o=await(0,r.monkey)({url:t,responseType:"json"}),i=await(0,r.monkey)({url:n,responseType:"json"});if(!Array.isArray(o)||!Array.isArray(i))throw console.error("Fetch failed:",o,i,t,n),new Error("获取在线仓库数据失败, 请尝试在通用设置中设置其他更新源, 然后再试一次.");this.list=await Promise.all([...i,...o].map((async e=>({...e,descriptionText:await(0,S.getDescriptionText)(e)})))),console.log(this.list),P.call(this,this.searchKeyword)}catch(e){(0,l.logError)(e)}finally{this.loading=!1}},checkInstalled(){this.$refs.items?.forEach((e=>e.checkInstalled()))}}});var V=n(1402),T=n.n(V),L={insert:"head",singleton:!1};x()(T(),L);T().locals;const R=(0,E.A)(O,i,[],!1,null,null,null).exports;let j;const N=()=>{j||(j=(0,o.mountVueComponent)(R),document.body.append(j.$el))},q=()=>{j||N(),j.popupOpen=!j.popupOpen}},2822:(e,t,n)=>{"use strict";n.d(t,{K:()=>o});const o={video:{name:"video",displayName:"视频",color:"#2196F3",icon:"mdi-play-circle-outline",order:1},style:{name:"style",displayName:"样式",color:"#8BC34A",icon:"mdi-palette-outline",order:2},feeds:{name:"feeds",displayName:"动态",color:"#00ACC1",icon:"mdi-pinwheel-outline",order:3},live:{name:"live",displayName:"直播",color:"#26A69A",icon:"mdi-video-wireless-outline",order:4},utils:{name:"utils",displayName:"工具",color:"#A36FFD",icon:"mdi-rocket-launch-outline",order:5},touch:{name:"touch",displayName:"触摸",color:"#78909C",icon:"mdi-gesture-tap-button",order:6},experimental:{name:"experimental",displayName:"实验",color:"#FF5722",icon:"mdi-flask-outline",order:7},general:{name:"general",displayName:"通用",color:"#888",icon:"mdi-progress-wrench",order:8}}},2770:(e,t,n)=>{"use strict";n.r(t),n.d(t,{bisectComponent:()=>d,installComponent:()=>c,toggleComponent:()=>l,uninstallComponent:()=>s});var o=n(3558),i=n(8986),r=n(5772),a=n(8494);const c=async e=>{const{components:t}=await Promise.resolve().then(n.bind(n,5772)),{loadFeatureCode:a}=await Promise.resolve().then(n.bind(n,3791));let c;try{c=a(e)}catch(e){throw new Error("无效的组件代码",{cause:e})}const{settings:s}=await Promise.resolve().then(n.bind(n,3558));if((0,i.isBuiltInComponent)(c.name))throw new Error(`不能覆盖内置组件'${c.name}', 请更换名称`);const l={...lodash.omit(c,"entry","widget","instantStyles","reload","unload","plugin","urlInclude","urlExclude")},d=s.userComponents[c.name];if(d){d.code=e,d.metadata=l;const t=(0,o.componentToSettings)(c);return lodash.defaultsDeep(d.settings.options,lodash.pickBy(t.options,((e,t)=>!Array.isArray(e)||void 0===lodash.get(d.settings.options,t)))),{metadata:c,message:`已更新组件'${c.displayName}', 刷新后生效`}}return s.userComponents[c.name]={code:e,metadata:l,settings:(0,o.componentToSettings)(c)},t.push(c),r.componentsMap[c.name]=c,{metadata:c,message:`已安装组件'${c.displayName}', 刷新后生效`}},s=async e=>{const{settings:t}=await Promise.resolve().then(n.bind(n,3558)),{components:o}=await Promise.resolve().then(n.bind(n,5772)),i=Object.entries(t.userComponents).find((t=>{let[n,{metadata:{displayName:o}}]=t;return n===e||o===e}));if(!i)throw new Error(`没有找到与名称'${e}'相关联的组件`);const[a,{metadata:c,settings:s}]=i,l=o.findIndex((e=>e.name===a));if(-1!==l){const{instantStyles:e}=o[l];if(e){const{removeInstantStyle:t}=await Promise.resolve().then(n.bind(n,9425));e.forEach((e=>t(e)))}s.enabled=!1,o.splice(l,1),delete r.componentsMap[a]}return delete t.userComponents[a],{metadata:c,message:`已卸载组件'${c.displayName}, 刷新后生效'`}},l=async e=>{const{settings:t}=await Promise.resolve().then(n.bind(n,3558)),o=Object.entries(t.userComponents).find((t=>{let[n,{metadata:{displayName:o}}]=t;return n===e||o===e}));if(!o)throw new Error(`没有找到与名称'${e}'相关联的组件`);const[,i]=o;i.settings.enabled=!i.settings.enabled;const{enabled:r}=i.settings,{displayName:a}=i.metadata;return`已${r?"开启":"关闭"}组件'${a}', 可能需要刷新后才能生效`},d=async e=>(e&&a.setOptions(e),a)},5595:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{updateCategories:()=>updateCategories,updateIcons:()=>updateIcons});var _core_ajax__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(392),_core_download__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(6738);const updateCategories=async()=>{const[script]=dqa("script").filter((e=>e.src.includes("stardust-video")));if(!script)throw new Error("no script found");const scriptText=await(0,_core_ajax__WEBPACK_IMPORTED_MODULE_0__.getText)(script.src),match=scriptText.match(/([\w]+?=\[\{name:"首页".+?\}.+?\]),[\w]+?=\[\{name:"首頁"/);if(!match)throw new Error("no match in script");const variables=match[1].match(/(\w+?)(?==\[)/g),data=eval(`var ${match[1]}; [${variables.join(",")}]`);_core_download__WEBPACK_IMPORTED_MODULE_1__.DownloadPackage.single("raw.json",data)},updateIcons=()=>{const e=dqa(".bili-header-channel-panel svg");if(0===e.length)throw new Error("svg icons not found");const t=document.createElementNS("http://www.w3.org/2000/svg","svg");t.setAttribute("aria-hidden","true"),t.setAttribute("style","position: absolute; width: 0px; height: 0px; overflow: hidden;"),t.id="be-category-icons",e.forEach((e=>{const n=document.createElementNS("http://www.w3.org/2000/svg","symbol");n.innerHTML=e.innerHTML,n.id=e.id.replace(/^channel-icon-/,"header-icon-")||`header-icon-${e.parentElement?.href.match(/\/v\/(.+)$/)?.[1]}`,"header-icon-teleplay"===n.id&&(n.id="header-icon-tv"),n.id||console.warn("cannot find id for",e),n.setAttribute("viewBox",e.getAttribute("viewBox")),t.appendChild(n)})),_core_download__WEBPACK_IMPORTED_MODULE_1__.DownloadPackage.single("icons.svg",t.outerHTML)}},3206:(e,t,n)=>{"use strict";n.d(t,{playerPolyfill:()=>p});var o=n(24),i=n(639),r=n(8418);let a=function(e){return e.Normal="normal",e.WideScreen="wide",e.WebFullscreen="web",e.Fullscreen="full",e.Mini="mini",e}({});const c=async()=>{await(0,r.playerReady)();const e=await(0,i.select)(".bpx-player-container");if(!e)return void console.warn("[bpx player polyfill] bpxContainer not found");let t=a.Normal;(0,o.attributes)(e,(()=>{const n=e.getAttribute("data-screen"),o="player-mode-",i=[a.Normal,a.WideScreen,a.WebFullscreen,a.Fullscreen,a.Mini].map((e=>`${o}${e}`));document.body.classList.remove(...i),n!==a.Normal&&document.body.classList.add(`${o}${n}`),n!==t&&(window.dispatchEvent(new CustomEvent("playerModeChange",{detail:{mode:n,bubbles:!0,cancelable:!0}})),t=n)}))},s=lodash.once((async()=>{c()}));var l=n(3694);const d=lodash.once((()=>{l.bangumiUrls.some((e=>(0,r.matchUrlPattern)(e)))||unsafeWindow.aid||unsafeWindow.cid||(async()=>{const e=await(0,i.select)((()=>unsafeWindow.player));if(!e?.getVideoMessage)return;const{useScopedConsole:t}=await Promise.resolve().then(n.bind(n,7656)),r=t("v2 player polyfill");(0,o.allMutations)((()=>{const t=e.getVideoMessage();if(!t)return void r.warn("invalid getUserParams data");const n={aid:t.aid.toString(),cid:t.cid.toString(),bvid:t.bvid};Object.values(n).some((e=>""===e||parseInt(e)<=0))&&r.warn("invalid input data"),Object.assign(unsafeWindow,n)}))})()})),m=lodash.once((()=>{l.bangumiUrls.some((e=>(0,r.matchUrlPattern)(e)))||unsafeWindow.aid||unsafeWindow.cid||(async()=>{const e=await(0,i.select)((()=>unsafeWindow.player));if(!e?.getUserParams)return;const{useScopedConsole:t}=await Promise.resolve().then(n.bind(n,7656)),r=t("v3 player polyfill");(0,o.allMutations)((()=>{const{input:t}=e.getUserParams();if(!t)return void r.warn("invalid getUserParams data");const n={aid:t.aid.toString(),cid:t.cid.toString(),bvid:t.bvid};Object.values(n).some((e=>""===e||parseInt(e)<=0))&&r.warn("invalid input data"),Object.assign(unsafeWindow,n)}))})()})),u=e=>{if(""===e)return!1;const t=parseInt(e);return!!Number.isNaN(t)||t>0},f=lodash.once((()=>{unsafeWindow.aid||unsafeWindow.cid||(async()=>{const e=await(0,i.select)((()=>unsafeWindow.player));if(!e?.getManifest)return;const{useScopedConsole:t}=await Promise.resolve().then(n.bind(n,7656)),a=t("v4 player polyfill");(0,o.allMutations)((()=>{const t=e.getManifest();if(!t)return void a.warn("invalid getManifest data");const n={aid:t.aid.toString(),cid:t.cid.toString(),bvid:t.bvid??""};(l.bangumiUrls.some((e=>(0,r.matchUrlPattern)(e)))?u(n.aid)&&u(n.cid):Object.values(n).every((e=>u(e))))||a.warn("invalid manifest data",n),Object.assign(unsafeWindow,n)}))})()})),p=lodash.once((()=>Promise.allSettled([s(),d(),m(),f()])))},7366:(e,t,n)=>{"use strict";n.r(t),n.d(t,{PlayerAgentEventTypes:()=>a,playerAgent:()=>h});var o=n(3694),i=n(639),r=n(8418);let a=function(e){return e.Play="play",e.Pause="pause",e}({});function c(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!=typeof o)return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const s=e=>{const t=e=>"string"!=typeof e?lodash.mapValues(e,t):(e=>{const t=()=>(0,i.select)(e);return t.selector=e,t.sync=()=>dq(e),t})(e);return lodash.mapValues(e,t)},l=e=>{const t=e.sync();return t?.click(),t};class d extends EventTarget{constructor(){super(),c(this,"isBpxPlayer",!0),c(this,"type",void 0),c(this,"query",void 0),c(this,"eventHandlerMap",new Map)}provideCustomQuery(e){const t=s(e[this.type]??e.video);return{...this,custom:t}}widescreen(){return l(this.query.control.buttons.widescreen)}webFullscreen(){return l(this.query.control.buttons.webFullscreen)}fullscreen(){return l(this.query.control.buttons.fullscreen)}togglePlay(){return l(this.query.control.buttons.start)}togglePip(){return l(this.query.control.buttons.pip)}toggleMute(){return l(this.query.control.buttons.volume)}toggleDanmaku(){const e=this.query.danmakuSwitch.sync();return e?(e.checked=!e.checked,(0,r.raiseEvent)(e,"change"),e.checked):null}toggleSubtitle(){return l(this.query.control.buttons.subtitle)}async toggleLight(e){if(!this.nativeApi)return null;const t=this.nativeApi.getLightOff();return void 0===e?(this.nativeApi.setLightOff(!t),!t):e&&t?(this.nativeApi.setLightOff(!1),!0):e||t?null:(this.nativeApi.setLightOff(!0),!1)}getPlayerConfig(e,t){const n=this.isBpxPlayer?"bpx_player_profile":"bilibili_player_settings";return lodash.get(JSON.parse(localStorage.getItem(n)),e,t)}isAutoPlay(){return this.getPlayerConfig("video_status.autoplay")}get nativeApi(){return unsafeWindow.player||unsafeWindow.playerRaw}get nanoApi(){return unsafeWindow.nano}get nanoTypeMap(){return{[a.Play]:this.nanoApi.EventType.Player_Play,[a.Pause]:this.nanoApi.EventType.Player_Pause}}addEventListener(e,t,n){super.addEventListener(e,t,n);const o=this.nanoTypeMap[e];o?(e=>{"object"==typeof n&&n.once?this.nativeApi.once(e,t):this.nativeApi.on(e,t),this.eventHandlerMap.set(t,{handler:t,options:n})})(o):console.warn("[PlayerAgent] unknown event type",e)}removeEventListener(e,t,n){super.removeEventListener(e,t,n);const o=this.nanoTypeMap[e];o&&(e=>{const o=this.eventHandlerMap.get(t);o&&!lodash.isEqual(n,o.options)&&this.nativeApi.off(e,o.handler)})(o)}isMute(){return this.nativeApi?this.nativeApi.isMuted?this.nativeApi.isMuted():this.nativeApi.isMute():null}changeVolume(e){if(!this.nativeApi)return null;if(this.nativeApi.getVolume){const t=this.nativeApi.getVolume();return this.nativeApi.setVolume(t+e/100),Math.round(100*this.nativeApi.getVolume())}const t=this.nativeApi.volume();return this.nativeApi.volume(t+e/100),Math.round(100*this.nativeApi.volume())}seek(e){return this.nativeApi?(this.nativeApi.seek(e),this.nativeApi.getCurrentTime()):null}changeTime(e){if(!this.nativeApi)return null;const t=this.query.video.element.sync();return t?(this.nativeApi.seek(t.currentTime+e,t.paused),this.nativeApi.getCurrentTime()):null}} +NodeFilter.SHOW_TEXT|NodeFilter.SHOW_ELEMENT);let o=n.nextNode();for(;o;)t(o),o=n.nextNode()}static translate(e){if(e.nodeType===Node.TEXT_NODE)return void f.textNode.translate(e);const t=e=>{for(const t of f.sensitiveTranslators)t.accepts(e)&&t.translate(e)};t(e),f.walk(e,t)}static translateCssMatches(){const e=f.map.get("*");if(e)for(const{selector:t,text:n}of e){const e=document.querySelector(t);e&&[...e.childNodes].filter((e=>e.nodeType===Node.TEXT_NODE)).forEach((e=>e.nodeValue=n))}}}u(f,"textNode",void 0),u(f,"title",void 0),u(f,"placeholder",void 0),u(f,"sensitiveTranslators",void 0),u(f,"map",void 0),u(f,"regex",void 0);f.textNode=new class extends f{constructor(){super(...arguments),u(this,"accepts",(e=>e.nodeType===Node.TEXT_NODE)),u(this,"getElement",(e=>e.parentElement))}},f.title=new class extends f{constructor(){super(...arguments),u(this,"getValue",(e=>e.getAttribute("title"))),u(this,"setValue",((e,t)=>{e.setAttribute("title",t)}))}},f.placeholder=new class extends f{constructor(){super(...arguments),u(this,"getValue",(e=>e.getAttribute("placeholder"))),u(this,"setValue",((e,t)=>{e.setAttribute("placeholder",t)}))}},f.sensitiveTranslators=[f.textNode,f.title,f.placeholder];const p=(0,r.defineComponentMetadata)({name:"i18n",displayName:"多语言",configurable:!1,entry:async()=>{const{getSelectedLanguage:e}=await Promise.resolve().then(n.bind(n,8925)),t=e();if(t===l.defaultLanguageCode)return;const{registerAndGetData:o}=await Promise.resolve().then(n.bind(n,5417)),[i,r]=o(`i18n.${t}`,new Map,[]);console.log(t,i.size,r.length),0===i.size&&0===r.length||(document.documentElement.setAttribute("lang",t),f.map=i,f.regex=r,f.translate(document.body),f.translateCssMatches(),(0,m.allMutations)((e=>{e.forEach((e=>{"childList"===e.type?(e.addedNodes.length>0&&f.translateCssMatches(),e.addedNodes.forEach((e=>{f.translate(e)}))):"characterData"===e.type?f.textNode.translate(e.target):"attributes"===e.type&&("title"===e.attributeName?f.title.translate(e.target):"placeholder"===e.attributeName&&f.placeholder.translate(e.target))}))})))},tags:[a.K.utils,a.K.experimental,a.K.general],description:{"zh-CN":"安装其他语言包可以更换界面语言, 机器翻译选择可以设定其他一些功能如`动态翻译`, `评论翻译`使用的翻译器. 机器翻译的选择不影响界面语言."},options:{language:{defaultValue:l.languageCodeToName[l.defaultLanguageCode],displayName:"界面语言选择",dropdownEnum:l.languageCodeToName},translator:{defaultValue:Object.keys(d.Ve)[0],displayName:"机器翻译选择",dropdownEnum:d.Qx}},hidden:!0,commitHash:"d87d69cfb9d7e0124bd90a06fec4569bd61e02c5",coreVersion:"2.10.7"});var b=n(5035),h=n(3558),g=n(7848),v=n(8202),F=n(2776);const{checkComponentsUpdate:w,checkLastFeature:y,forceCheckUpdate:x,forceCheckUpdateAndReload:k,silentCheckUpdate:C}=F,A=(0,r.defineOptionsMetadata)({lastUpdateCheck:{displayName:"最后检查更新日期",defaultValue:0,hidden:!0},lastInstalledVersion:{displayName:"最后安装版本",defaultValue:"2.0.0",hidden:!0},localPortOverride:{displayName:"本地组件链接端口",defaultValue:"",hidden:!0},minimumDuration:{displayName:"更新间隔 (ms)",defaultValue:864e5},urls:{displayName:"更新链接",defaultValue:{components:{},plugins:{},styles:{}},hidden:!0},maxUpdateCount:{displayName:"单次最大更新量 (个)",defaultValue:4}}),E=(0,r.defineComponentMetadata)({name:v.UU,displayName:"自动更新器",description:{"zh-CN":"自动检查组件, 插件和样式的更新. (仅限从设置面板中安装的)"},tags:[a.K.utils],options:A,extraOptions:()=>Promise.resolve().then(n.bind(n,6540)).then((e=>e.default)),entry:async e=>{let{settings:{options:t}}=e;if((0,i.isIframe)())return F;const n=Number(new Date)-t.lastUpdateCheck>=t.minimumDuration,o=new g.Version(b.meta.version).greaterThan(new g.Version(t.lastInstalledVersion));return n?coreApis.lifeCycle.fullyLoaded((()=>C())):o&&coreApis.lifeCycle.fullyLoaded((()=>x())),F},plugin:{displayName:"自动更新器 - 功能扩展",description:{"zh-CN":"记录在设置面板中的功能安装/卸载数据供自动更新使用; 并在组件详情中支持手动检查该组件的更新."},setup:e=>{let{addData:t,addHook:o}=e;["components","plugins","styles"].forEach((e=>{o(`user${lodash.startCase(e)}.add`,{after:(t,n,o)=>{const{options:i}=(0,h.getComponentSettings)("autoUpdate"),r=i.urls[e][o.name];r?(r.url=n,r.lastUpdateCheck=Number(new Date),r.alwaysUpdate=(0,v.Du)(n)):i.urls[e][o.name]={url:n,lastUpdateCheck:Number(new Date),installTime:Number(new Date),alwaysUpdate:(0,v.Du)(n)}}}),o(`user${lodash.startCase(e)}.remove`,{after:t=>{const{options:n}=(0,h.getComponentSettings)("autoUpdate");n.urls[e][t.name]&&delete n.urls[e][t.name]}})})),t("settingsPanel.componentActions",(e=>{const{options:t}=(0,h.getComponentSettings)("autoUpdate");e.push((e=>{const o=t.urls.components[e.name];if(o)return{name:"checkUpdate",displayName:"检查更新",icon:(0,v.Du)(o.url)?"mdi-file-download-outline":"mdi-cloud-download-outline",visible:(0,h.isUserComponent)(e),title:o.url,action:async()=>{const{Toast:t}=await Promise.resolve().then(n.bind(n,2692)),o=t.info("检查更新中...","检查更新");o.message=await w({filterNames:[e.name],force:!0}),o.duration=3e3}}}))}));const i="mdi-cloud-sync-outline";t("launchBar.actions",(e=>{e.push({name:"updateAllFeaturesActions",getActions:async()=>[{name:"检查所有更新",description:"Check Updates",action:async()=>{const{Toast:e}=await Promise.resolve().then(n.bind(n,2692)),t=e.info("正在检查更新...","检查所有更新");await k(),t.close()},icon:i}]})})),t("settingsPanel.searchBarActions",(e=>{e.unshift({key:"updateFeatures",title:e=>{let{selectedComponents:t}=e;return t.length>0?"更新所选组件":"检查所有更新"},icon:"mdi-cloud-download-outline",run:async e=>{const t=e.selectedComponents.length>0?`确定要更新所选的 ${e.selectedComponents.length} 个组件吗?`:"确定要检查所有更新吗?";if(!window.confirm(t))return;const{Toast:o}=await Promise.resolve().then(n.bind(n,2692)),{isBuiltInComponent:i}=await Promise.resolve().then(n.bind(n,8986));if(0===e.selectedComponents.length){const e=o.info("正在检查更新...","检查所有更新");k(),await k(),e.close()}else e.selectedComponents.forEach((async e=>{let{name:t}=e;if(i(t))o.info("内置组件不能更新","检查更新",3e3);else{const e=o.info("检查更新中...","检查更新"),n=await w({filterNames:[t],force:!0});e.message=n,e.duration=3e3}}))}})})),(0,h.getGeneralSettings)().devMode&&t("launchBar.actions",(e=>{e.push({name:"updateLastFeatureActions",getActions:async()=>[{name:"检查最近更新的功能",description:"Check Last Update",action:async()=>{const{Toast:e}=await Promise.resolve().then(n.bind(n,2692)),t=e.info("正在检查更新...","检查最近更新的功能");await y(),t.close()},icon:i}]})}))}},commitHash:"d87d69cfb9d7e0124bd90a06fec4569bd61e02c5",coreVersion:"2.10.7"}),B=async()=>{const{cdnRoots:e}=await Promise.resolve().then(n.bind(n,3027)),{meta:t}=await Promise.resolve().then(n.bind(n,5035)),{getGeneralSettings:o}=await Promise.resolve().then(n.bind(n,3558));return`${e[o().cdnRoot](t.compilationInfo.branch)}dist/${t.originalFilename}`},D=(0,r.defineComponentMetadata)({name:"notifyNewVersion",displayName:"新版本提示",description:"定期检查脚本本体的更新, 并弹出提示.",tags:[a.K.utils],options:{lastUpdateCheck:{displayName:"最后检查更新日期",defaultValue:0,hidden:!0},minimumDuration:{displayName:"更新间隔 (ms)",defaultValue:864e5}},entry:async e=>{let{settings:{options:t}}=e;try{const{Version:e}=await Promise.resolve().then(n.bind(n,7848)),{monkey:o}=await Promise.resolve().then(n.bind(n,392)),{meta:i}=await Promise.resolve().then(n.bind(n,5035)),{Toast:r}=await Promise.resolve().then(n.bind(n,2692)),{isDataSaveMode:a}=await Promise.resolve().then(n.bind(n,8418));if(a())return;const c=Number(new Date);if(c-t.lastUpdateCheck${m.versionString} 已发布. 查看详情`,"检查更新");(await p.element).querySelector(".view-details").addEventListener("click",(()=>{(async e=>{const{showDialog:t}=await Promise.resolve().then(n.bind(n,3648));t({title:"更新说明",content:()=>Promise.resolve().then(n.bind(n,8285)),contentProps:{content:e,updateUrl:await B()}})})(f)}))}catch(e){console.warn("[新版本提示] 检查更新时发生错误: ",e)}},commitHash:"d87d69cfb9d7e0124bd90a06fec4569bd61e02c5",coreVersion:"2.10.7"}),I=(0,r.defineOptionsMetadata)({originalComponentEnableState:{defaultValue:{},hidden:!0},keepDisabledComponents:{defaultValue:[],hidden:!0},keepEnabledComponents:{defaultValue:[],hidden:!0},bisectInitialState:{defaultValue:{},hidden:!0}});var S=n(9007),z=n(7656);const P=(0,r.defineComponentMetadata)({name:"bisector",displayName:"组件二等分",tags:[a.K.general,a.K.utils],hidden:!0,configurable:!1,entry:async e=>{let{settings:{options:t}}=e;const o=await Promise.resolve().then(n.bind(n,8494));o.setOptions(t),o.setConsole((0,z.useScopedConsole)("组件二等分")),unsafeWindow.addEventListener(S.LifeCycleEventTypes.ComponentsLoaded,(()=>{o.isRecover()&&o.recover()}))},options:I,plugin:{displayName:"组件二等分 - 功能扩展",setup:e=>{let{addData:t}=e;t("launchBar.actions",(e=>{e.push({name:"bisector-start",getActions:async()=>[{name:"开始 / 继续组件二等分",description:"Start / Continue component bisection",icon:"mdi-view-split-horizontal",action:async()=>{const e=await Promise.resolve().then(n.bind(n,8494));await e.start()}}]})}))}},commitHash:"d87d69cfb9d7e0124bd90a06fec4569bd61e02c5",coreVersion:"2.10.7"}),M=(0,r.defineComponentMetadata)({name:"compatibilities",displayName:"兼容性选项",configurable:!1,tags:[a.K.general],options:{disableOnBalh:{defaultValue:!1,displayName:'与 "解除 B 站区域限制" 互斥'}},entry:i.none,commitHash:"d87d69cfb9d7e0124bd90a06fec4569bd61e02c5",coreVersion:"2.10.7",description:(()=>{const e=n(5841);return{...Object.fromEntries(e.keys().map((t=>[t.match(/index\.(.+)\.md$/)[1],e(t)]))),"zh-CN":()=>Promise.resolve().then(n.t.bind(n,2090,17)).then((e=>e.default))}})()}),O=()=>[o.s,s,p,E,D,P,M],V=e=>O().some((t=>t.name===e))},5772:(e,t,n)=>{"use strict";n.r(t),n.d(t,{components:()=>d,componentsMap:()=>l,componentsTags:()=>c.K,defineComponentMetadata:()=>s.defineComponentMetadata,defineOptionMetadata:()=>s.defineOptionMetadata,defineOptionsMetadata:()=>s.defineOptionsMetadata,importComponent:()=>b,loadAllComponents:()=>v,loadAllUserComponents:()=>g,loadComponent:()=>h});var o=n(3558),i=n(9007),r=n(2734),a=n(8986),c=n(2822),s=n(4528);const l={},d=lodash.once((()=>{const e=(0,a.getBuiltInComponents)();return e.forEach((e=>l[e.name]=e)),e}))(),m=async e=>{if(!e.i18n)return;const{addI18nData:t}=await Promise.resolve().then(n.bind(n,8925));for(const[n,o]of Object.entries(e.i18n)){const{map:e=[],regex:i=[]}="function"==typeof o?await o():o;t(n,e,i)}},u=e=>`${e.name}.widget`,f=async e=>{if(e.widget){const t={...e.widget,name:u(e)},{addData:o}=await Promise.resolve().then(n.bind(n,5417)),{WidgetsPlugin:i}=await Promise.resolve().then(n.bind(n,5914));o(i,(n=>{if(n.find((e=>e.name===t.name)))return;const{urlInclude:o,urlExclude:i}=t;e.urlInclude&&(o?o.push(...e.urlInclude):t.urlInclude=[...e.urlInclude]),e.urlExclude&&(i?i.push(...e.urlExclude):t.urlExclude=[...e.urlExclude]),n.push(t)}))}},p={},b=e=>{if(!(e in p))throw new Error(`组件'${e}'未加载, 请确认拼写无误且组件已开启.`);return p[e]},h=async e=>{const{componentLoadTrace:t}=await Promise.resolve().then(n.bind(n,1054)),{matchUrlPattern:i}=await Promise.resolve().then(n.bind(n,8418)),{coreApis:r}=await Promise.resolve().then(n.bind(n,6482));await t(e);const a=async()=>{f(e);const t=await e.entry({settings:(0,o.getComponentSettings)(e),metadata:e,coreApis:r});p[e.name]=t||{}};e.reload&&e.unload&&(0,o.addComponentListener)(e.name,(async t=>{if(!1!==e.configurable&&!(e.urlExclude&&e.urlExclude.some(i)||e.urlInclude&&e.urlInclude.every(lodash.negate(i))))if(e.name in p){if(t&&e.reload&&(e.reload(),e.widget&&f(e)),!t&&e.unload&&(e.unload(),e.widget)){const{getData:t}=await Promise.resolve().then(n.bind(n,5417)),{WidgetsPlugin:o}=await Promise.resolve().then(n.bind(n,5914)),[i]=t(o);if(i){const t=u(e),n=i.findIndex((e=>e.name===t));-1!==n&&i.splice(n,1)}}}else t&&await a()})),(0,o.isComponentEnabled)(e)&&await a()},g=async()=>{const{settings:e}=await Promise.resolve().then(n.bind(n,3558)),{loadFeatureCode:t}=await Promise.resolve().then(n.bind(n,6716));for(const[n,i]of Object.entries(e.userComponents)){const{code:e}=i;let r;try{r=t(e)}catch(e){console.error("从代码加载用户组件失败。代码可能有语法错误或代码执行时有抛出值。",{componentName:n,error:e});continue}o=r,d.push(o),l[o.name]=o}var o},v=async()=>{const e=(0,o.getGeneralSettings)(),{loadAllPlugins:t}=await Promise.resolve().then(n.bind(n,6010)),a=()=>t(d).then((()=>Promise.all(d.map(m)))).then((()=>Promise.all(d.map(h)))).then((async()=>{if(e.devMode){const{componentLoadTime:e,componentResolveTime:t}=await Promise.resolve().then(n.bind(n,1054)),{logStats:o}=await Promise.resolve().then(n.bind(n,6102));o("components block",e),o("components resolve",t)}}));return new Promise(((t,n)=>{e.scriptLoadingMode===r.LoadingMode.Delay?(0,i.fullyLoaded)((()=>a().then(t).catch(n))):e.scriptLoadingMode===r.LoadingMode.Race&&(0,i.contentLoaded)((()=>a().then(t).catch(n)))}))}},4528:(e,t,n)=>{"use strict";n.r(t),n.d(t,{defineComponentMetadata:()=>r,defineOptionMetadata:()=>o,defineOptionsMetadata:()=>i});const o=e=>e,i=e=>e,r=e=>e},3449:(e,t,n)=>{"use strict";n.r(t),n.d(t,{getDescriptionHTML:()=>c,getDescriptionMarkdown:()=>a,getDescriptionText:()=>s});var o=n(8507),i=n.n(o),r=n(8925);const a=async e=>{const{description:t,author:n}=e;return(n?Array.isArray(n)?`by ${n.map((e=>`[@${e.name}](${e.link})`)).join(",")}\n\n`:`by [@${n.name}](${n.link})\n\n`:"")+await(async()=>{if(!t)return"暂无描述.";const e=async e=>"string"==typeof e?e:e();if("object"==typeof t){const n=(0,r.getSelectedLanguage)();return e(t[n]??t["zh-CN"])}return e(t)})()},c=async e=>i()(await a(e)),s=async e=>{const t=await c(e),n=document.createElement("div");return n.innerHTML=t,n.innerText}},8925:(e,t,n)=>{"use strict";n.d(t,{addI18nData:()=>a,getSelectedLanguage:()=>c});var o=n(5417),i=n(3558),r=n(328);const a=(e,t,n)=>{(0,o.addData)(`i18n.${e}`,((e,o)=>{t?.forEach((t=>{let[n,o]=t;return e.set(n,o)})),n&&o.push(...n)}))},c=()=>{const e=(0,i.getComponentSettings)("i18n");return(0,r.languageNameToCode)(e.options.language)}},1048:(e,t,n)=>{"use strict";n.d(t,{Qx:()=>f,Ve:()=>u,tI:()=>p});var o=n(392),i=n(6635),r=n(3558),a=n(328),c=n(5417),s=n(8418);function l(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!=typeof o)return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}class d{constructor(){l(this,"name",void 0),l(this,"link",void 0),l(this,"defaultLanguage",void 0)}getTargetLanguage(){const e=(0,r.getComponentSettings)("i18n");return e.enabled?(0,a.languageNameToCode)(e.options.language):this.defaultLanguage}toString(){return this.name}}class m extends d{constructor(){super(...arguments),l(this,"name","Google"),l(this,"link","https://translate.google.com/"),l(this,"defaultLanguage","zh"),l(this,"apiUrl","https://translate.google.com/translate_a/single")}async translate(e){let t=this.getTargetLanguage();t.includes("-")&&t!==this.defaultLanguage&&(t=t.substring(0,t.indexOf("-")));try{const n=await(0,o.monkey)({url:`${this.apiUrl}?${(0,s.formData)({client:"gtx",sl:"auto",tl:t,dt:"t",q:encodeURIComponent(e)})}`,method:"GET",headers:{"User-Agent":i.UserAgent},responseType:"json"});return n[0].map((e=>e[0])).join("")}catch(e){throw console.error("Translator: Google",e),new Error("调用Google翻译失败.")}}}const[u]=(0,c.registerAndGetData)("i18n.machineTranslators",{GoogleCN:new class extends m{constructor(){super(...arguments),l(this,"name","GoogleCN"),l(this,"link","https://translate.google.cn/"),l(this,"apiUrl","https://translate.google.cn/translate_a/single")}},Google:new m}),f=Object.keys(u),p=()=>{const{options:{translator:e}}=(0,r.getComponentSettings)("i18n");return u[e]||u.GoogleCN}},573:(e,t,n)=>{"use strict";n.d(t,{C9:()=>c,ri:()=>a});var o=n(1211);const i="search_history:search_history",r=async function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:i;const t=await o.crossOriginLocalStorage.getItem(e);return t?JSON.parse(t):[]},a=async function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i;console.log("add",e),await o.crossOriginLocalStorage.setItem(t,JSON.stringify(lodash.sortBy(lodash.uniqBy([{value:e,timestamp:Number(new Date)},...await r()],(e=>e.value)),(e=>e.timestamp)).reverse().slice(0,20)))},c={name:"history",getActions:async()=>{const{search:e}=await Promise.resolve().then(n.bind(n,3141)),t={name:"清除搜索历史",icon:"mdi-trash-can-outline",description:"Clear History",explicitSelect:!0,action:async()=>{await function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:i;return o.crossOriginLocalStorage.setItem(e,"[]")}()}},a=(await r()).map((t=>({name:t.value,icon:"mdi-history",explicitSelect:!0,suggestName:t.value,action:()=>{e(t.value)},deleteAction:async()=>{await async function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i;const n=await r(),a=n.findIndex((t=>t.value===e));console.log("delete",e,a),-1!==a&&(n.splice(a,1),await o.crossOriginLocalStorage.setItem(t,JSON.stringify(n)))}(t.value)}})));return a.length>0&&a.push(t),a}}},9467:(e,t,n)=>{"use strict";n.d(t,{LaunchBarActionProviders:()=>o});const o="launchBar.actions"},3141:(e,t,n)=>{"use strict";n.d(t,{k:()=>c,search:()=>a});var o=n(8418),i=n(392),r=n(573);const a=e=>{if(!e)return;(0,r.ri)(e);const t={keyword:e,from_source:"nav_suggest_new"};window.open(`https://search.bilibili.com/all?${new URLSearchParams(t)}`,"_blank")},c={name:"search",getActions:async e=>{const t=`https://s.search.bilibili.com/main/suggest?func=suggest&suggest_type=accurate&sub_type=tag&main_ver=v1&highlight=&userid=${(0,o.getUID)()}&bangumi_acc_num=1&special_acc_num=1&topic_acc_num=1&upuser_acc_num=3&tag_num=10&special_num=10&bangumi_num=10&upuser_num=3&term=${e}`,n=await(0,i.getJson)(t),r=[{name:e,icon:"search",content:async()=>Vue.extend({render:t=>t("div",{class:"suggest-highlight"},[e])}),action:()=>a(e)}];if(0!==n.code)return r;const c=lodash.get(n,"result.tag");return c?(r.push(...c.map((t=>({name:`${e}.${t.value}`,icon:"search",suggestName:t.value,content:async()=>Vue.extend({render:e=>e("div",{domProps:{innerHTML:t.name.replace(/suggest_high_light/g,"suggest-highlight")}})}),action:()=>a(t.value)})))),lodash.uniqBy(r,(e=>e.name))):r}}},9927:(e,t,n)=>{"use strict";n.d(t,{toggleLaunchBar:()=>h});var o=n(8418),i=function(){var e=this,t=e._self._c,n=e._self._setupProxy;return t(n.VPopup,{staticClass:"global-launch-bar-container",attrs:{lazy:!1,fixed:""},on:{"!keydown":function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"esc",27,t.key,["Esc","Escape"])?null:n.close()}},model:{value:n.show,callback:function(e){n.show=e},expression:"show"}},[t(n.LaunchBar,{ref:"launchBar",on:{close:function(e){return n.close()}}})],1)};i._withStripped=!0;var r=n(3654),a=n(4512),c=n(7556);const s=(0,r.defineComponent)({__name:"GlobalLaunchBar",setup(e,t){let{expose:n}=t;const o=(0,r.ref)(),i=(0,r.ref)(!0),s=()=>{const e=o.value?.input;e?.focus(),e?.select()};return(0,r.watch)(i,(e=>{e&&s()})),(0,r.onMounted)((async()=>{await(0,r.nextTick)(),s()})),n({show:i}),{__sfc:!0,launchBar:o,show:i,focus:s,close:()=>{i.value=!1;const e=o.value?.input;e?.blur()},VPopup:a.default,LaunchBar:c.A}}});var l=n(6991),d=n.n(l),m=n(8021),u=n.n(m),f={insert:"head",singleton:!1};d()(u(),f);u().locals;const p=(0,n(8678).A)(s,i,[],!1,null,null,null).exports;let b;const h=()=>{if(!b)return b=(0,o.mountVueComponent)(p),void document.body.append(b.$el);b.show=!b.show}},6083:(e,t,n)=>{"use strict";n.d(t,{W:()=>o});let o=function(e){return e.Left="左侧",e.Right="右侧",e}({})},1654:(e,t,n)=>{"use strict";n.r(t),n.d(t,{map:()=>o});const o=new Map([["通用设置","General"],["实验性","Experimental"],["通用","General"],["开发者模式","Dev mode"],["辅助颜色","Accent color"],["功能加载模式","Script loading mode"],["样式加载模式","Style loading mode"]])},5914:(e,t,n)=>{"use strict";n.d(t,{WidgetsPlugin:()=>b,s:()=>g});var o=n(8418),i=n(2734),r=n(5911),a=n(3027),c=n(3558),s=n(9424),l=n(2822),d=n(4528),m=n(5417),u=n(9467),f=n(8427);var p=n(6083);const b="widgets",h=(0,d.defineOptionsMetadata)({themeColor:{defaultValue:"#00A0D8",displayName:"主题颜色",color:!0},scriptLoadingMode:{defaultValue:i.LoadingMode.Delay,displayName:"功能加载模式",dropdownEnum:i.LoadingMode},styleLoadingMode:{defaultValue:i.LoadingMode.Race,displayName:"样式加载模式",dropdownEnum:i.LoadingMode},textColor:{defaultValue:r.TextColor.Auto,displayName:"文本颜色",dropdownEnum:r.TextColor},cdnRoot:{defaultValue:a.CdnTypes.AltCdn,displayName:"更新源",dropdownEnum:a.CdnTypes},dockSide:{defaultValue:p.W.Left,displayName:"设置面板停靠",dropdownEnum:p.W},filenameFormat:{defaultValue:"[title][ - ep]",displayName:"文件命名格式",multiline:!0},batchFilenameFormat:{defaultValue:"[n - ][ep]",displayName:"批量命名格式",multiline:!0},downloadPackageEmitMode:{defaultValue:s.p.Packed,displayName:"文件下载模式",dropdownEnum:s.p},devMode:{defaultValue:!1,displayName:"开发者模式"}}),g=(0,d.defineComponentMetadata)({name:"settingsPanel",displayName:"通用设置",configurable:!1,entry:async e=>{let{metadata:t}=e;const{isIframe:i}=await Promise.resolve().then(n.bind(n,8418));i()||((0,c.addComponentListener)(`${t.name}.dockSide`,(e=>{document.body.classList.toggle("settings-panel-dock-right",e===p.W.Right)}),!0),requestIdleCallback((async()=>{const e=await Promise.resolve().then(n.bind(n,9561)),t=(0,o.mountVueComponent)(e);document.body.insertAdjacentElement("beforeend",t.$el)})))},options:h,tags:[l.K.general],plugin:{displayName:"设置面板 - 功能扩展",setup:()=>{(0,m.addData)(u.LaunchBarActionProviders,(e=>{e.push({name:"onlineRegistry",getActions:async()=>[{name:"切换在线仓库",description:"Toggle Online Registry",icon:"mdi-web",action:async()=>{const{togglePopup:e}=await Promise.resolve().then(n.bind(n,5153));e()}}]},{name:"aboutPageActionsProvider",getActions:async()=>f.a.map((e=>e.actionName?{name:e.name,displayName:e.displayName,icon:e.icon,description:e.actionName,action:()=>e.run()}:null)).filter((e=>null!==e))})}))}},commitHash:"d87d69cfb9d7e0124bd90a06fec4569bd61e02c5",coreVersion:"2.10.7",description:(()=>{const e=n(3851);return{...Object.fromEntries(e.keys().map((t=>[t.match(/index\.(.+)\.md$/)[1],e(t)]))),"zh-CN":()=>Promise.resolve().then(n.t.bind(n,7107,17)).then((e=>e.default))}})(),i18n:(()=>{const e=n(7527);return{...Object.fromEntries(e.keys().map((t=>[t.match(/index\.(.+)\.ts$/)[1],e(t)])))}})()})},650:(e,t,n)=>{"use strict";n.d(t,{I:()=>i,W:()=>r});var o=n(3558);const i=Vue.extend({props:{componentData:{type:Object,required:!0}},data(){return{settings:(0,o.getComponentSettings)(this.componentData)}}}),r=e=>Vue.extend({data:()=>({virtual:!1}),async mounted(){const{dq:t}=await Promise.resolve().then(n.bind(n,8418)),{visibleInside:o}=await Promise.resolve().then(n.bind(n,24)),i=this.$el,r=t(e);r?o(i,r,"150% 0px",(e=>{e.forEach((e=>{this.virtual=!e.isIntersecting}))})):console.warn("virtual container not found, virtual scroll will be disabled!")}})},8427:(e,t,n)=>{"use strict";n.d(t,{a:()=>r});var o=n(5417);const i=[{icon:"mdi-inbox-arrow-up-outline",name:"exportSettings",displayName:"导出设置",actionName:"Export Settings",run:async()=>{const{settings:e}=await Promise.resolve().then(n.bind(n,3558)),{DownloadPackage:t}=await Promise.resolve().then(n.bind(n,6738));t.single("settings.json",JSON.stringify(e,void 0,2))}},{icon:"mdi-inbox-arrow-down-outline",name:"importSettings",displayName:"导入设置",actionName:"Import Settings",run:async()=>{const{logError:e}=await Promise.resolve().then(n.bind(n,7656)),{pickFile:t}=await Promise.resolve().then(n.bind(n,103)),{Toast:o}=await Promise.resolve().then(n.bind(n,2692)),i=await t({accept:"*.json"});if(0===i.length)return;const[r]=i;try{const e=JSON.parse(await r.text());Object.entries(e).forEach((e=>{let[t,n]=e;GM_setValue(t,n)})),o.success("导入成功, 正在刷新页面...","导入设置"),window.location.reload()}catch(t){e(t)}}}],[r]=(0,o.registerAndGetData)("settingsPanel.about.actions",i)},5153:(e,t,n)=>{"use strict";n.d(t,{f:()=>N,togglePopup:()=>q});var o=n(8418),i=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("VPopup",{staticClass:"online-registry be-settings-extra-options",attrs:{fixed:"","auto-close":!1},model:{value:e.popupOpen,callback:function(t){e.popupOpen=t},expression:"popupOpen"}},[t("div",{staticClass:"online-registry-header"},[t("VIcon",{staticClass:"online-registry-header-title-icon",attrs:{icon:"mdi-web"}}),e._v(" "),t("div",{staticClass:"online-registry-header-title"},[e._v("在线仓库")]),e._v(" "),t("VIcon",{staticClass:"online-registry-header-refresh-icon",attrs:{icon:"mdi-refresh",size:22,title:"刷新"},on:{click:function(t){return e.fetchFeatures()}}}),e._v(" "),t("VIcon",{staticClass:"online-registry-header-close-icon",attrs:{icon:"mdi-close",size:24,title:"关闭"},on:{click:function(t){e.popupOpen=!1}}})],1),e._v(" "),t("div",{staticClass:"online-registry-header"},[t("div",{staticClass:"online-registry-header-search"},[t("VIcon",{attrs:{icon:"search",size:18}}),e._v(" "),t("TextBox",{attrs:{disabled:e.loading,placeholder:"搜索功能"},model:{value:e.searchKeyword,callback:function(t){e.searchKeyword=t},expression:"searchKeyword"}})],1),e._v(" "),t("div",{staticClass:"online-registry-header-branch"},[e._v("\n 分支:\n "),t("VDropdown",{attrs:{disabled:e.loading,items:e.registryBranches},scopedSlots:e._u([{key:"item",fn:function({item:t}){return[e._v("\n "+e._s(t)+"\n ")]}}]),model:{value:e.selectedBranch,callback:function(t){e.selectedBranch=t},expression:"selectedBranch"}})],1),e._v(" "),t("div",{staticClass:"online-registry-header-filter"},[e._v("\n 查看:\n "),e._l(e.itemFilterOptions,(function(n){return t("RadioButton",{key:n.value,attrs:{group:"itemFilter",checked:e.itemFilter===n.value},on:{change:function(t){t&&(e.itemFilter=n.value)}}},[e._v("\n "+e._s(n.label)+"\n ")])}))],2)]),e._v(" "),t("div",{staticClass:"online-registry-separator"}),e._v(" "),t("div",{ref:"content",staticClass:"online-registry-content"},[e.loading?t("VLoading"):e._e(),e._v(" "),e.loading||e.filteredList.length?e._e():t("VEmpty"),e._v(" "),e._l(e.filteredList,(function(n){return t("RegistryItem",{key:n.name,ref:"items",refInFor:!0,attrs:{item:n,branch:e.selectedBranch,"item-filter":e.itemFilter},on:{refresh:e.checkInstalled}})}))],2)])};i._withStripped=!0;var r=n(392),a=n(3027),c=n(5035),s=n(3558),l=n(7656),d=n(5113),m=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("MiniToast",{staticClass:"online-registry-item-wrapper",class:{virtual:e.virtual,hidden:e.hidden},attrs:{placement:e.placement,container:"body",delay:[200,0],offset:[0,12]},scopedSlots:e._u([{key:"toast",fn:function(){return[e.item.description?t("ComponentDescription",{attrs:{"component-data":e.item}}):e._e()]},proxy:!0}])},[e.virtual?e._e():t("div",{staticClass:"online-registry-item"},[t("VIcon",{staticClass:"item-icon",attrs:{size:18,icon:e.icon}}),e._v(" "),t("div",{staticClass:"item-badge"},[e._v("\n "+e._s(e.badge)+"\n ")]),e._v(" "),t("div",{staticClass:"item-display-name"},[e._v("\n "+e._s(e.item.displayName)+"\n ")]),e._v(" "),t("div",{staticClass:"grow"}),e._v(" "),t("div",{staticClass:"item-action"},[e.installed?t("VButton",{staticClass:"reinstall-button",attrs:{title:"重新安装",disabled:e.installing},on:{click:function(t){e.install(e.getUrl(e.item))}}},[e._v("\n "+e._s(e.installing?"正在安装":"已安装")+"\n ")]):t("VButton",{staticClass:"install-button",attrs:{title:"安装",type:"primary",disabled:e.installing},on:{click:function(t){e.install(e.getUrl(e.item))}}},[t("VIcon",{attrs:{icon:"mdi-plus",size:15}}),e._v("\n "+e._s(e.installing?"正在安装":"安装")+"\n ")],1)],1)],1)])};m._withStripped=!0;var u=n(1024),f=n(24),p=n(4143),b=n(6083);let h=function(e){return e.All="all",e.Installed="installed",e.NotInstalled="notInstalled",e}({});const g=(e,t)=>`${(0,a.cdnRoots[(0,s.getGeneralSettings)().cdnRoot])(t,e.owner)}${e.fullAbsolutePath}`,v=e=>{const t=`user${lodash.startCase(e.type)}s`;return e.name in s.settings[t]},F={component:{icon:"mdi-cube-scan",badge:"组件",getUrl:g,isInstalled:v},plugin:{icon:"mdi-puzzle-outline",badge:"插件",getUrl:g,isInstalled:v},style:{icon:"mdi-tune",badge:"样式",getUrl:g,isInstalled:v},pack:{icon:"mdi-package-variant-closed",badge:"合集包",getUrl:(e,t)=>e.items.map((e=>g(e,t))).join("\n"),isInstalled:e=>e.items.every(v)}},w=Vue.extend({components:{VIcon:d.VIcon,VButton:d.VButton,MiniToast:d.MiniToast,ComponentDescription:p.A},props:{item:{type:Object,required:!0},branch:{type:String,required:!0},itemFilter:{type:String,default:h.All}},data(){const{icon:e,badge:t,getUrl:n,isInstalled:o}=F[this.item.type];return{icon:e,badge:t,getUrl:e=>n(e,this.branch),isInstalled:o,installing:!1,installed:!1,virtual:!1,placement:"right"}},computed:{hidden(){switch(this.itemFilter){case h.All:default:return!1;case h.Installed:return!this.installed;case h.NotInstalled:return this.installed}}},created(){this.checkInstalled(),(0,s.addComponentListener)("settingsPanel.dockSide",(e=>{this.placement=e===b.W.Left?"right":"left"}),!0)},mounted(){const e=this.$el;(0,f.visibleInside)(e,e.parentElement,"150% 0px",(e=>{e.forEach((e=>{this.virtual=!e.isIntersecting}))}))},methods:{checkInstalled(){this.installed=this.isInstalled(this.item)},async install(e){const t=e.split("\n").map((e=>e.trim())).filter((e=>""!==e));try{this.installing=!0,await Promise.all(t.map((async e=>(0,u.installFeature)(e)))),this.checkInstalled(),"pack"===this.item.type&&this.$emit("refresh")}catch(e){(0,l.logError)(e)}finally{this.installing=!1}}}});var y=n(6991),x=n.n(y),k=n(5932),C=n.n(k),A={insert:"head",singleton:!1};x()(C(),A);C().locals;var E=n(8678);const B=(0,E.A)(w,m,[],!1,null,null,null).exports;var D=n(5417);const[I]=(0,D.registerAndGetData)("settingsPanel.registryBranches",["master","preview"]);var S=n(3449);const z=(0,s.getGeneralSettings)();function P(e){e?(this.filteredList=this.list.filter((t=>[t.name,t.displayName,t.descriptionText].join("\n").toLowerCase().includes(e))),this.$nextTick().then((()=>this.$refs.content.scrollTo(0,0)))):this.filteredList=this.list}const M=[{label:"全部",value:h.All},{label:"已安装",value:h.Installed},{label:"未安装",value:h.NotInstalled}],O=Vue.extend({components:{VIcon:d.VIcon,VDropdown:d.VDropdown,TextBox:d.TextBox,VPopup:d.VPopup,RegistryItem:B,VLoading:d.VLoading,VEmpty:d.VEmpty,RadioButton:d.RadioButton},props:{open:{default:!1,type:Boolean}},data(){const e=[z.registryBranch,c.meta.compilationInfo.branch,I[0]].filter((e=>I.includes(e)&&Boolean(e)));return{searchKeyword:"",popupOpen:!1,loading:!1,list:[],itemFilter:h.All,itemFilterOptions:M,filteredList:[],registryBranches:I,selectedBranch:e[0]}},watch:{searchKeyword:lodash.debounce(P,200),selectedBranch(e){z.registryBranch=e,this.fetchFeatures()}},mounted(){this.fetchFeatures()},methods:{async fetchFeatures(){if(this.loading)return;const e=a.cdnRoots[z.cdnRoot](this.selectedBranch);try{this.loading=!0,this.list=[],this.filteredList=[];const t=`${e}doc/features/features.json`,n=`${e}doc/features/pack/pack.json`,o=await(0,r.monkey)({url:t,responseType:"json"}),i=await(0,r.monkey)({url:n,responseType:"json"});if(!Array.isArray(o)||!Array.isArray(i))throw console.error("Fetch failed:",o,i,t,n),new Error("获取在线仓库数据失败, 请尝试在通用设置中设置其他更新源, 然后再试一次.");this.list=await Promise.all([...i,...o].map((async e=>({...e,descriptionText:await(0,S.getDescriptionText)(e)})))),console.log(this.list),P.call(this,this.searchKeyword)}catch(e){(0,l.logError)(e)}finally{this.loading=!1}},checkInstalled(){this.$refs.items?.forEach((e=>e.checkInstalled()))}}});var V=n(1402),T=n.n(V),L={insert:"head",singleton:!1};x()(T(),L);T().locals;const R=(0,E.A)(O,i,[],!1,null,null,null).exports;let j;const N=()=>{j||(j=(0,o.mountVueComponent)(R),document.body.append(j.$el))},q=()=>{j||N(),j.popupOpen=!j.popupOpen}},2822:(e,t,n)=>{"use strict";n.d(t,{K:()=>o});const o={video:{name:"video",displayName:"视频",color:"#2196F3",icon:"mdi-play-circle-outline",order:1},style:{name:"style",displayName:"样式",color:"#8BC34A",icon:"mdi-palette-outline",order:2},feeds:{name:"feeds",displayName:"动态",color:"#00ACC1",icon:"mdi-pinwheel-outline",order:3},live:{name:"live",displayName:"直播",color:"#26A69A",icon:"mdi-video-wireless-outline",order:4},utils:{name:"utils",displayName:"工具",color:"#A36FFD",icon:"mdi-rocket-launch-outline",order:5},touch:{name:"touch",displayName:"触摸",color:"#78909C",icon:"mdi-gesture-tap-button",order:6},experimental:{name:"experimental",displayName:"实验",color:"#FF5722",icon:"mdi-flask-outline",order:7},general:{name:"general",displayName:"通用",color:"#888",icon:"mdi-progress-wrench",order:8}}},2770:(e,t,n)=>{"use strict";n.r(t),n.d(t,{bisectComponent:()=>d,installComponent:()=>c,toggleComponent:()=>l,uninstallComponent:()=>s});var o=n(3558),i=n(8986),r=n(5772),a=n(8494);const c=async e=>{const{components:t}=await Promise.resolve().then(n.bind(n,5772)),{loadFeatureCode:a}=await Promise.resolve().then(n.bind(n,3791));let c;try{c=a(e)}catch(e){throw new Error("无效的组件代码",{cause:e})}const{settings:s}=await Promise.resolve().then(n.bind(n,3558));if((0,i.isBuiltInComponent)(c.name))throw new Error(`不能覆盖内置组件'${c.name}', 请更换名称`);const l={...lodash.omit(c,"entry","widget","instantStyles","reload","unload","plugin","urlInclude","urlExclude")},d=s.userComponents[c.name];if(d){d.code=e,d.metadata=l;const t=(0,o.componentToSettings)(c);return lodash.defaultsDeep(d.settings.options,lodash.pickBy(t.options,((e,t)=>!Array.isArray(e)||void 0===lodash.get(d.settings.options,t)))),{metadata:c,message:`已更新组件'${c.displayName}', 刷新后生效`}}return s.userComponents[c.name]={code:e,metadata:l,settings:(0,o.componentToSettings)(c)},t.push(c),r.componentsMap[c.name]=c,{metadata:c,message:`已安装组件'${c.displayName}', 刷新后生效`}},s=async e=>{const{settings:t}=await Promise.resolve().then(n.bind(n,3558)),{components:o}=await Promise.resolve().then(n.bind(n,5772)),i=Object.entries(t.userComponents).find((t=>{let[n,{metadata:{displayName:o}}]=t;return n===e||o===e}));if(!i)throw new Error(`没有找到与名称'${e}'相关联的组件`);const[a,{metadata:c,settings:s}]=i,l=o.findIndex((e=>e.name===a));if(-1!==l){const{instantStyles:e}=o[l];if(e){const{removeInstantStyle:t}=await Promise.resolve().then(n.bind(n,9425));e.forEach((e=>t(e)))}s.enabled=!1,o.splice(l,1),delete r.componentsMap[a]}return delete t.userComponents[a],{metadata:c,message:`已卸载组件'${c.displayName}, 刷新后生效'`}},l=async e=>{const{settings:t}=await Promise.resolve().then(n.bind(n,3558)),o=Object.entries(t.userComponents).find((t=>{let[n,{metadata:{displayName:o}}]=t;return n===e||o===e}));if(!o)throw new Error(`没有找到与名称'${e}'相关联的组件`);const[,i]=o;i.settings.enabled=!i.settings.enabled;const{enabled:r}=i.settings,{displayName:a}=i.metadata;return`已${r?"开启":"关闭"}组件'${a}', 可能需要刷新后才能生效`},d=async e=>(e&&a.setOptions(e),a)},5595:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{updateCategories:()=>updateCategories,updateIcons:()=>updateIcons});var _core_ajax__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(392),_core_download__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(6738);const updateCategories=async()=>{const[script]=dqa("script").filter((e=>e.src.includes("stardust-video")));if(!script)throw new Error("no script found");const scriptText=await(0,_core_ajax__WEBPACK_IMPORTED_MODULE_0__.getText)(script.src),match=scriptText.match(/([\w]+?=\[\{name:"首页".+?\}.+?\]),[\w]+?=\[\{name:"首頁"/);if(!match)throw new Error("no match in script");const variables=match[1].match(/(\w+?)(?==\[)/g),data=eval(`var ${match[1]}; [${variables.join(",")}]`);_core_download__WEBPACK_IMPORTED_MODULE_1__.DownloadPackage.single("raw.json",data)},updateIcons=()=>{const e=dqa(".bili-header-channel-panel svg");if(0===e.length)throw new Error("svg icons not found");const t=document.createElementNS("http://www.w3.org/2000/svg","svg");t.setAttribute("aria-hidden","true"),t.setAttribute("style","position: absolute; width: 0px; height: 0px; overflow: hidden;"),t.id="be-category-icons",e.forEach((e=>{const n=document.createElementNS("http://www.w3.org/2000/svg","symbol");n.innerHTML=e.innerHTML,n.id=e.id.replace(/^channel-icon-/,"header-icon-")||`header-icon-${e.parentElement?.href.match(/\/v\/(.+)$/)?.[1]}`,"header-icon-teleplay"===n.id&&(n.id="header-icon-tv"),n.id||console.warn("cannot find id for",e),n.setAttribute("viewBox",e.getAttribute("viewBox")),t.appendChild(n)})),_core_download__WEBPACK_IMPORTED_MODULE_1__.DownloadPackage.single("icons.svg",t.outerHTML)}},3206:(e,t,n)=>{"use strict";n.d(t,{playerPolyfill:()=>p});var o=n(24),i=n(639),r=n(8418);let a=function(e){return e.Normal="normal",e.WideScreen="wide",e.WebFullscreen="web",e.Fullscreen="full",e.Mini="mini",e}({});const c=async()=>{await(0,r.playerReady)();const e=await(0,i.select)(".bpx-player-container");if(!e)return void console.warn("[bpx player polyfill] bpxContainer not found");let t=a.Normal;(0,o.attributes)(e,(()=>{const n=e.getAttribute("data-screen"),o="player-mode-",i=[a.Normal,a.WideScreen,a.WebFullscreen,a.Fullscreen,a.Mini].map((e=>`${o}${e}`));document.body.classList.remove(...i),n!==a.Normal&&document.body.classList.add(`${o}${n}`),n!==t&&(window.dispatchEvent(new CustomEvent("playerModeChange",{detail:{mode:n,bubbles:!0,cancelable:!0}})),t=n)}))},s=lodash.once((async()=>{c()}));var l=n(3694);const d=lodash.once((()=>{l.bangumiUrls.some((e=>(0,r.matchUrlPattern)(e)))||unsafeWindow.aid||unsafeWindow.cid||(async()=>{const e=await(0,i.select)((()=>unsafeWindow.player));if(!e?.getVideoMessage)return;const{useScopedConsole:t}=await Promise.resolve().then(n.bind(n,7656)),r=t("v2 player polyfill");(0,o.allMutations)((()=>{const t=e.getVideoMessage();if(!t)return void r.warn("invalid getUserParams data");const n={aid:t.aid.toString(),cid:t.cid.toString(),bvid:t.bvid};Object.values(n).some((e=>""===e||parseInt(e)<=0))&&r.warn("invalid input data"),Object.assign(unsafeWindow,n)}))})()})),m=lodash.once((()=>{l.bangumiUrls.some((e=>(0,r.matchUrlPattern)(e)))||unsafeWindow.aid||unsafeWindow.cid||(async()=>{const e=await(0,i.select)((()=>unsafeWindow.player));if(!e?.getUserParams)return;const{useScopedConsole:t}=await Promise.resolve().then(n.bind(n,7656)),r=t("v3 player polyfill");(0,o.allMutations)((()=>{const{input:t}=e.getUserParams();if(!t)return void r.warn("invalid getUserParams data");const n={aid:t.aid.toString(),cid:t.cid.toString(),bvid:t.bvid};Object.values(n).some((e=>""===e||parseInt(e)<=0))&&r.warn("invalid input data"),Object.assign(unsafeWindow,n)}))})()})),u=e=>{if(""===e)return!1;const t=parseInt(e);return!!Number.isNaN(t)||t>0},f=lodash.once((()=>{unsafeWindow.aid||unsafeWindow.cid||(async()=>{const e=await(0,i.select)((()=>unsafeWindow.player));if(!e?.getManifest)return;const{useScopedConsole:t}=await Promise.resolve().then(n.bind(n,7656)),a=t("v4 player polyfill");(0,o.allMutations)((()=>{const t=e.getManifest();if(!t)return void a.warn("invalid getManifest data");const n={aid:t.aid.toString(),cid:t.cid.toString(),bvid:t.bvid??""};(l.bangumiUrls.some((e=>(0,r.matchUrlPattern)(e)))?u(n.aid)&&u(n.cid):Object.values(n).every((e=>u(e))))||a.warn("invalid manifest data",n),Object.assign(unsafeWindow,n)}))})()})),p=lodash.once((()=>Promise.allSettled([s(),d(),m(),f()])))},7366:(e,t,n)=>{"use strict";n.r(t),n.d(t,{PlayerAgentEventTypes:()=>a,playerAgent:()=>h});var o=n(3694),i=n(639),r=n(8418);let a=function(e){return e.Play="play",e.Pause="pause",e}({});function c(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!=typeof o)return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const s=e=>{const t=e=>"string"!=typeof e?lodash.mapValues(e,t):(e=>{const t=()=>(0,i.select)(e);return t.selector=e,t.sync=()=>dq(e),t})(e);return lodash.mapValues(e,t)},l=e=>{const t=e.sync();return t?.click(),t};class d extends EventTarget{constructor(){super(),c(this,"isBpxPlayer",!0),c(this,"type",void 0),c(this,"query",void 0),c(this,"eventHandlerMap",new Map)}provideCustomQuery(e){const t=s(e[this.type]??e.video);return{...this,custom:t}}widescreen(){return l(this.query.control.buttons.widescreen)}webFullscreen(){return l(this.query.control.buttons.webFullscreen)}fullscreen(){return l(this.query.control.buttons.fullscreen)}togglePlay(){return l(this.query.control.buttons.start)}togglePip(){return l(this.query.control.buttons.pip)}toggleMute(){return l(this.query.control.buttons.volume)}toggleDanmaku(){const e=this.query.danmakuSwitch.sync();return e?(e.checked=!e.checked,(0,r.raiseEvent)(e,"change"),e.checked):null}toggleSubtitle(){return l(this.query.control.buttons.subtitle)}async toggleLight(e){if(!this.nativeApi)return null;const t=this.nativeApi.getLightOff();return void 0===e?(this.nativeApi.setLightOff(!t),!t):e&&t?(this.nativeApi.setLightOff(!1),!0):e||t?null:(this.nativeApi.setLightOff(!0),!1)}getPlayerConfig(e,t){const n=this.isBpxPlayer?"bpx_player_profile":"bilibili_player_settings";return lodash.get(JSON.parse(localStorage.getItem(n)),e,t)}isAutoPlay(){return this.getPlayerConfig("video_status.autoplay")}get nativeApi(){return unsafeWindow.player||unsafeWindow.playerRaw}get nanoApi(){return unsafeWindow.nano}get nanoTypeMap(){return{[a.Play]:this.nanoApi.EventType.Player_Play,[a.Pause]:this.nanoApi.EventType.Player_Pause}}addEventListener(e,t,n){super.addEventListener(e,t,n);const o=this.nanoTypeMap[e];o?(e=>{"object"==typeof n&&n.once?this.nativeApi.once(e,t):this.nativeApi.on(e,t),this.eventHandlerMap.set(t,{handler:t,options:n})})(o):console.warn("[PlayerAgent] unknown event type",e)}removeEventListener(e,t,n){super.removeEventListener(e,t,n);const o=this.nanoTypeMap[e];o&&(e=>{const o=this.eventHandlerMap.get(t);o&&!lodash.isEqual(n,o.options)&&this.nativeApi.off(e,o.handler)})(o)}isMute(){return this.nativeApi?this.nativeApi.isMuted?this.nativeApi.isMuted():this.nativeApi.isMute():null}changeVolume(e){if(!this.nativeApi)return null;if(this.nativeApi.getVolume){const t=this.nativeApi.getVolume();return this.nativeApi.setVolume(t+e/100),Math.round(100*this.nativeApi.getVolume())}const t=this.nativeApi.volume();return this.nativeApi.volume(t+e/100),Math.round(100*this.nativeApi.volume())}seek(e){return this.nativeApi?(this.nativeApi.seek(e),this.nativeApi.getCurrentTime()):null}changeTime(e){if(!this.nativeApi)return null;const t=this.query.video.element.sync();return t?(this.nativeApi.seek(t.currentTime+e,t.paused),this.nativeApi.getCurrentTime()):null}} // spell-checker: disable const m={playerArea:".bpx-player-primary-area",video:{element:".bpx-player-video-wrap video",wrap:".bpx-player-video-area",top:".bpx-player-top-wrap",state:".bpx-player-state-wrap",panel:".bpx-player-ending-panel",popup:".bpx-player-dialog-wrap",subtitle:".bpx-player-subtitle-wrap",basDanmaku:".bpx-player-bas-dm-wrap",advDanmaku:".bpx-player-adv-dm-wrap",danmaku:".bpx-player-row-dm-wrap",container:".bpx-player-video-perch"},control:{element:".bpx-player-control-entity",wrap:".bpx-player-control-wrap",mask:".bpx-player-control-mask",top:".bpx-player-control-top",progress:".bpx-player-progress",bottom:".bpx-player-control-bottom",bottomLeft:".bpx-player-control-bottom-left",bottomCenter:".bpx-player-control-bottom-center",bottomRight:".bpx-player-control-bottom-right",buttons:{start:".bpx-player-ctrl-play",next:".bpx-player-ctrl-next",time:".bpx-player-ctrl-time",quality:".bpx-player-ctrl-quality",pageList:".bpx-player-ctrl-eplist",speed:".bpx-player-ctrl-playbackrate",subtitle:".bpx-player-ctrl-subtitle > div > span",volume:".bpx-player-ctrl-volume-icon",settings:".bpx-player-ctrl-setting",pip:".bpx-player-ctrl-pip",widescreen:".bpx-player-ctrl-wide",webFullscreen:".bpx-player-ctrl-web",fullscreen:".bpx-player-ctrl-full"},settings:{wrap:".bpx-player-ctrl-setting-box",lightOff:".bpx-player-ctrl-setting-lightoff .bui-checkbox-input"}},toastWrap:".bpx-player-dialog-wrap",danmakuTipLayer:".bpx-player-dm-tip",danmakuSwitch:".bpx-player-dm-switch input"}; // spell-checker: enable @@ -87,7 +87,7 @@ unsafeWindow.__ENABLE_WASM_PLAYER__||Boolean(r("#bilibili-player bwp-video")))}, // eslint-disable-next-line prefer-arrow-callback const t=E(unsafeWindow,"scrollTo",(function(){return!1}));return e?(await e(),t(),m):t},j=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:-1/0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1/0;return(n,o)=>lodash.isNumber(Number(n))?lodash.clamp(n,e,t):o},N=e=>lodash.upperFirst(lodash.camelCase(e)),q=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:8;const t=new Uint8Array(Math.ceil(e/2));return crypto.getRandomValues(t),[...t].map((e=>e.toString(16).padStart(2,"0"))).join("").substring(0,e)},U=function(){for(var e=arguments.length,t=new Array(e),n=0;n{throw new Error("unreachable")},Z=()=>navigator.connection?.saveData??!1,W=(e,t)=>{const n=new MouseEvent("mousedown",t),o=new MouseEvent("mouseup",t),i=new PointerEvent("pointerdown",t),r=new PointerEvent("pointerup",t),a=new MouseEvent("click",t);e.dispatchEvent(i),e.dispatchEvent(n),e.dispatchEvent(r),e.dispatchEvent(o),e.dispatchEvent(a)},G=e=> // eslint-disable-next-line no-underscore-dangle -e.__vue__??e.parentElement.__vue__??e.children[0].__vue__??e.__vueParentComponent;function Q(e,t){return Vue.extend({render:n=>n(e,{props:t})})}},7656:(e,t,n)=>{"use strict";n.r(t),n.d(t,{ScopedConsoleCallHook:()=>m,ScopedConsoleCreateHook:()=>d,logError:()=>a,randomScopedConsole:()=>f,useScopedConsole:()=>u});var o=n(5830),i=n(8418),r=n(3558);const a=async(e,t)=>{let o;"string"==typeof e?(o=e,console.error(o)):(o=(0,r.getGeneralSettings)().devMode?e.stack:e.message,console.error(e));const{Toast:i}=await Promise.resolve().then(n.bind(n,2692));i.error(o,"错误",t)},c=Symbol("ScopedConsole"),s=Symbol("NamePatch"),l={default:"#78909C",warn:"#CC7A00",error:"#BF6060",group:"#9575CD"},d="scopedConsole.create",m="scopedConsole.call",u=e=>{const{before:t,after:n}=(0,o.getHook)(d),{name:i,color:a=l.default,console:u=window.console}="string"==typeof e?{name:e}:e,f={name:i,color:a,console:u};t(e,u);let p=0;const b=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:t.color;const i=e[c],r=(i?t.color:n)??l.default,a=i?["%c "]:["%c"],d={badgeNames:[...i?.badgeNames??[],...a,`%c${t.name}`],badgeValues:[...i?.badgeValues??[],"",`background-color: ${r}; color: #fff; padding: 2px 4px; border-radius: 4px;`],original:i?.original??e},u=d.original,f=function(){for(var e=arguments.length,t=new Array(e),n=0;n2&&void 0!==arguments[2]?arguments[2]:t.color,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:e=>e;const i=b(e,t,n),r=function(){for(var e=arguments.length,t=new Array(e),n=0;n{g[e][s]||(g[e][s]=e)}));const v={...unsafeWindow.console,...u};return v.log=b(u.log,f),v.info=b(u.info,f),v.warn=b(u.warn,f,l.warn),v.error=b(u.error,f,l.error),v.group=h(u.group,f,l.group,(e=>e+1)),v.groupCollapsed=h(u.groupCollapsed,f,l.group,(e=>e+1)),v.groupEnd=h(u.groupEnd,f,l.group,(e=>e-1)),v.debug=(()=>{const e=b(u.debug,f);return function(){if((0,r.getGeneralSettings)().devMode){for(var t=arguments.length,n=new Array(t),o=0;ou({...e,name:(0,i.getRandomId)()})},7560:(e,t,n)=>{"use strict";n.r(t),n.d(t,{ascendingBigIntSort:()=>a,ascendingSort:()=>i,ascendingStringSort:()=>r,descendingBigIntSort:()=>l,descendingSort:()=>c,descendingStringSort:()=>s});const o=e=>e,i=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:o;return(t,n)=>e(t)-e(n)},r=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:o;return(t,n)=>e(t).localeCompare(e(n))},a=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:o;return(t,n)=>{const o=BigInt(e(t)),i=BigInt(e(n));return o===i?0:o>i?1:-1}},c=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:o;return(t,n)=>e(n)-e(t)},s=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:o;return(t,n)=>e(n).localeCompare(e(t))},l=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:o;return(t,n)=>-a(e)(t,n)}},5936:(e,t,n)=>{"use strict";n.r(t),n.d(t,{formatTitle:()=>s,getFriendlyTitle:()=>l,getTitleVariablesFromDate:()=>c});var o=n(8418),i=n(3558),r=n(1787),a=n(7560);const c=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2;return{year:e.getFullYear().toString(),month:(e.getMonth()+1).toString().padStart(t,"0"),day:e.getDate().toString().padStart(t,"0"),hour:e.getHours().toString().padStart(t,"0"),minute:e.getMinutes().toString().padStart(t,"0"),second:e.getSeconds().toString().padStart(t,"0"),millisecond:e.getMilliseconds().toString().substring(0,3)}},s=function(e){let t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const i=c(new Date),s={...{title:(()=>{const e=(0,o.dq)(".video-info-container .video-title");if(null!==e)return e.getAttribute("title");const t=(0,o.dq)('[class*="mediainfo_mediaTitle"]');if(null!==t)return t.getAttribute("title");const n=(0,o.dq)(".header-info-ctnr .live-title .text");return null!==n?n.getAttribute("title"):document.title.replace(/第[0-9]*[零一二三四五六七八九十百千]*[集话]-[^-]+-[^-]+-[^-]+在线观看-bilibili-哔哩哔哩$/,"").replace(/-[^-]+-[^-]+-[^-]+在线观看-bilibili-哔哩哔哩$/,"").replace(/-[^-]+-[^-]+在线观看-bilibili-哔哩哔哩$/,"").replace(/:([^:]+?)_.+?_bilibili_哔哩哔哩$/,"").replace(/_哔哩哔哩_bilibili$/,"").replace(/ - 哔哩哔哩$/,"").replace(/_哔哩哔哩 \(゜-゜\)つロ 干杯~-bilibili$/,"").replace(/(.*?) - (.*?) - 哔哩哔哩直播,二次元弹幕直播平台$/,"$1").trim()})(),ep:(()=>{if(!t)return;const e=(0,o.dq)("#eplist_module li.cursor .ep-title");if(null!==e)return e.innerText;const n=(0,o.dq)("#multi_page .cur-list>ul li.on a, .video-episode-card__info-playing .video-episode-card__info-title");if(null!==n)return n.getAttribute("title");const i=(0,o.dq)(".multip-list-item.multip-list-item-active");return null!==i?i.getAttribute("title"):void 0})(),aid:unsafeWindow.aid,bvid:unsafeWindow.bvid,cid:unsafeWindow.cid,lid:document.URL.replace(/https:\/\/live\.bilibili\.com\/(blanc\/)?([\d]+)/,"$2"),y:i.year,M:i.month,d:i.day,h:i.hour,m:i.minute,s:i.second,ms:i.millisecond},...n},l=(e=>{let t=0,n=0;const o=[];return e.split("").forEach(((i,r)=>{"["===i&&(0===n?(o.push(e.substring(t,r)),t=r):n++),"]"===i&&(0===n?(o.push(e.substring(t,r+1)),t=r+1):n--)})),t""!==e))})(e),d=Object.entries(s).sort((0,a.descendingSort)((e=>{let[t]=e;return t.length}))),m=l.map((e=>{if(!e.startsWith("[")||!e.endsWith("]"))return e;for(const[t,n]of d){const o=new RegExp(`^\\[([^\\[\\]]*?)${t}([^\\[\\]]*?)\\]$`),i=e.match(o);if(i&&Boolean(n))return`${i[1]??""}${n}${i[2]??""}`}return""})).join("");return(0,r.formatFilename)(m," ")},l=function(){let e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return s((0,i.getGeneralSettings)().filenameFormat,e,t)}},3694:(e,t,n)=>{"use strict";n.r(t),n.d(t,{allVideoUrls:()=>f,bangumiUrls:()=>d,cheeseUrls:()=>m,columnUrls:()=>v,favoriteListUrls:()=>r,feedsUrls:()=>g,feedsUrlsWithoutDetail:()=>h,festivalUrls:()=>s,liveUrls:()=>b,mainSiteUrls:()=>p,matchCurrentPage:()=>w,mediaListUrls:()=>c,playerUrls:()=>F,upListUrls:()=>a,videoAndBangumiUrls:()=>u,videoUrls:()=>l,watchlaterUrls:()=>i});var o=n(8418);const i=["//www.bilibili.com/medialist/play/watchlater","//www.bilibili.com/list/watchlater"],r=["//www.bilibili.com/medialist/play/ml","//www.bilibili.com/list/ml"],a=[/\/\/www\.bilibili\.com\/medialist\/play\/\d+/,/\/\/www\.bilibili\.com\/list\/\d+/],c=[...i,...r,...a,/\/\/www\.bilibili\.com\/list\//],s=[/\/\/www\.bilibili\.com\/festival\//],l=["//www.bilibili.com/video/",...s,...c],d=["//www.bilibili.com/bangumi/play/"],m=["//www.bilibili.com/cheese/"],u=[...l,...d],f=[...u,...m],p=["https://www.bilibili.com/v/","https://www.bilibili.com/c/",/^https:\/\/www\.bilibili\.com\/$/,/^https:\/\/www\.bilibili\.com\/([^\/]+)\.html$/,/^https:\/\/www\.bilibili\.com\/watchlater\/#\/list$/,"https://www.bilibili.com/account/"],b=[/^https:\/\/live\.bilibili\.com\/(blanc\/)?[\d]+/],h=[/^https:\/\/t\.bilibili\.com\/$/,/^https:\/\/space\.bilibili\.com\//,/^https:\/\/live\.bilibili\.com\/(blanc\/)?[\d]+/],g=[...h,/^https:\/\/t\.bilibili\.com\//,/^https:\/\/www\.bilibili\.com\/opus\/[\d]+$/],v=[/^https:\/\/www\.bilibili\.com\/read\/cv/],F=["//player.bilibili.com","//www.bilibili.com/html/player.html",...l,...d,...m],w=function(){for(var e=arguments.length,t=new Array(e),n=0;nArray.isArray(e)?e.some((e=>(0,o.matchUrlPattern)(e))):(0,o.matchUrlPattern)(e)))}},7848:(e,t,n)=>{"use strict";n.r(t),n.d(t,{CompareResult:()=>c,Version:()=>s,isFeatureAcceptable:()=>l});var o=n(3791),i=n(5035),r=n(7656);function a(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!=typeof o)return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}let c=function(e){return e[e.Less=-1]="Less",e[e.Equal=0]="Equal",e[e.Greater=1]="Greater",e[e.Incomparable=NaN]="Incomparable",e}({});class s{constructor(e){if(this.versionString=e,a(this,"parts",void 0),!/^[\d\.]+$/.test(e))throw new Error("Invalid version string");this.parts=e.split(".").map((e=>parseInt(e)))}compareTo(e){for(let t=0;te.parts[t]?c.Greater:c.Less}return this.parts.length!==e.parts.length?c.Less:c.Equal}greaterThan(e){return this.compareTo(e)===c.Greater}lessThan(e){return this.compareTo(e)===c.Less}equals(e){return this.compareTo(e)===c.Equal}}const l=async e=>{try{const t=(0,r.useScopedConsole)("isFeatureAcceptable");if("string"==typeof e&&(e=(0,o.loadFeatureCode)(e)),null==e)return!1;const{version:n}=i.meta.compilationInfo,{coreVersion:a}=e;if(t.log("currentVersion =",n,", requiredVersion =",a),!a||!n)return!0;const c=new s(n),l=new s(a);return c.equals(l)||c.greaterThan(l)}catch(t){return console.warn("check failed, feature =",e),!0}}},5417:(e,t,n)=>{"use strict";n.r(t),n.d(t,{addData:()=>r,getData:()=>a,registerAndGetData:()=>c,registerData:()=>i});const o=new Map,i=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),i=1;i{if(o.has(e)){const{providers:n,loaded:i,data:r}=o.get(e);i?t(...r):n.push(t)}else o.set(e,{registered:!1,data:[],loaded:!1,providers:[t]})},a=e=>{if(o.has(e)){const t=o.get(e),{data:n,registered:i,loaded:r,providers:a}=t;if(i)return r||(a.forEach((e=>e(...n))),t.providers=[],t.loaded=!0),n}return[]},c=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),o=1;o{"use strict";n.r(t),n.d(t,{addHook:()=>i,getHook:()=>r});const o=new Map,i=(e,t)=>{if(o.has(e)){const{providers:n}=o.get(e);n.push(t)}else o.set(e,{providers:[t]})},r=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),i=1;ie.before?.(...n.concat(t)))))},after:async function(){for(var e=arguments.length,t=new Array(e),o=0;oe.after?.(...n.concat(t)))))}}}return{before:async()=>Promise.all([]),after:async()=>Promise.all([])}}},8006:(e,t,n)=>{"use strict";n.r(t),n.d(t,{plugin:()=>r});const o=async(e,t,o)=>{const i={name:t,icon:"mdi-content-copy",description:`复制${e}`,indexer:o,action:async()=>{if(i.name===t){await navigator.clipboard.writeText(t);const{Toast:o}=await Promise.resolve().then(n.bind(n,2692));o.success("复制成功",`复制${e}`,1500)}}};return[i]},i=[{pattern:/^av([\d]+)$/i,getActions:async e=>{const{getJsonWithCredentials:t}=await Promise.resolve().then(n.bind(n,392)),i=await t(`https://api.bilibili.com/x/web-interface/view?aid=${e[1]}`),r=lodash.get(i,"data",{}),{bvid:a,title:c}=r,s=`av${e[1]}`;return{name:c||s,description:"av号跳转",indexer:s,link:`https://www.bilibili.com/av${e[1]}`,extraActions:a?await o("BV号",a,s):[]}}},{pattern:/^bv([\da-zA-Z]+)$/i,getActions:async e=>{const{getJsonWithCredentials:t}=await Promise.resolve().then(n.bind(n,392)),i=await t(`https://api.bilibili.com/x/web-interface/view?bvid=${e[1]}`),r=lodash.get(i,"data",{}),{aid:a,title:c}=r,s=`BV${e[1]}`;return{name:c||s,description:"BV号跳转",indexer:s,link:`https://www.bilibili.com/BV${e[1]}`,extraActions:a?await o("av号",`av${a}`,s):[]}}}],r={name:"launchBar.actions.IDSearch",displayName:"搜索栏 - 视频跳转",async setup(){const{addData:e}=await Promise.resolve().then(n.bind(n,5417)),{LaunchBarActionProviders:t}=await Promise.resolve().then(n.bind(n,9467));e(t,(e=>{e.push({name:"IDSearchProvider",getActions:async e=>{const t=[];for(const n of i){const o=e.match(n.pattern);if(o){const{name:e,description:i="",indexer:r,link:a,extraActions:c=[]}=await n.getActions(o);t.push({name:e,icon:"mdi-open-in-new",indexer:r,description:i,action:()=>{window.open(a,"_blank")},order:0},...c)}}return t}})}))},commitHash:"58c0b438ca2371e397f70466a91572cb2757b142",coreVersion:"2.10.7"}},6010:(e,t,n)=>{"use strict";n.r(t),n.d(t,{extractPluginFromComponent:()=>d,installPlugin:()=>s,loadAllPlugins:()=>u,loadPlugin:()=>m,plugins:()=>c,pluginsMap:()=>a,uninstallPlugin:()=>l});var o=n(8418),i=n(5417),r=n(5830);const a={},c=lodash.once((()=>{const e=n(6761);return e.keys().map((t=>{const n=e(t);if("plugin"in n){const e=n.plugin;return a[e.name]=e,e}})).filter((e=>void 0!==e))}))(),s=async e=>{const{loadFeatureCode:t}=await Promise.resolve().then(n.bind(n,3791));let o;try{o=t(e)}catch(e){throw new Error("无效的插件代码",e)}const{settings:i}=await Promise.resolve().then(n.bind(n,3558)),r=i.userPlugins[o.name];if(r)return r.code=e,r.name=o.name,r.displayName=o.displayName||o.name,{metadata:o,message:`已更新插件'${o.displayName}', 刷新后生效`};const a={code:e,displayName:o.name,...o};return i.userPlugins[o.name]=a,c.push(a),{metadata:o,message:`已安装插件'${o.displayName||o.name}', 刷新后生效`}},l=async e=>{const{settings:t}=await Promise.resolve().then(n.bind(n,3558)),i=Object.entries(t.userPlugins).find((t=>{let[n,{displayName:o}]=t;return n===e||o===e}));if(!i)throw new Error(`没有找到与名称'${e}'相关联的插件`);const[r,a]=i;return delete t.userPlugins[r],(0,o.deleteValue)(c,(e=>e.name===r)),{metadata:a,message:`已卸载插件'${a.displayName}', 刷新后生效`}},d=e=>e.plugin?{name:`${e.name}.plugin`,displayName:`${e.displayName} - 附带插件`,...e.plugin}:null,m=async e=>{if(e.setup){const{pluginLoadTrace:t}=await Promise.resolve().then(n.bind(n,9530));await t(e);const{coreApis:o}=await Promise.resolve().then(n.bind(n,6482));return e.setup({coreApis:o,addData:i.addData,addHook:r.addHook,registerData:i.registerData,registerAndGetData:i.registerAndGetData,getHook:r.getHook})}return null},u=async e=>{const{settings:t,getGeneralSettings:o}=await Promise.resolve().then(n.bind(n,3558)),{loadFeatureCode:i}=await Promise.resolve().then(n.bind(n,6716));for(const t of e){const e=d(t);e&&c.push(e)}for(const[e,n]of Object.entries(t.userPlugins)){const{code:t}=n;let o;try{o=i(t)}catch(t){console.error("从代码加载用户插件失败。代码可能包含语法错误或执行时产生了异常",{pluginName:e,error:t});continue}c.push(o)}return Promise.allSettled(c.map(m)).then((async()=>{if(o().devMode){const{pluginLoadTime:e,pluginResolveTime:t}=await Promise.resolve().then(n.bind(n,9530)),{logStats:o}=await Promise.resolve().then(n.bind(n,6102));o("plugins block",e),o("plugins resolve",t)}}))}},4892:(e,t,n)=>{"use strict";n.r(t),n.d(t,{UserStyleMode:()=>r,installStyle:()=>c,styles:()=>a,uninstallStyle:()=>s});var o=n(3558),i=n(8418);let r=function(e){return e.Default="default",e.Instant="instant",e.Important="important",e}({});const a=Object.values(o.settings.userStyles),c=async e=>{try{let t;const{loadFeatureCode:i}=await Promise.resolve().then(n.bind(n,3791));t="string"==typeof e?i(e):e;const{name:c,style:s,displayName:l,mode:d}=t,{removeStyle:m,addImportantStyle:u,addStyle:f}=await Promise.resolve().then(n.bind(n,9425)),p=o.settings.userStyles[c];if(p)Object.assign(p,t),m(c);else{const e={displayName:c,mode:r.Default,...t};o.settings.userStyles[c]=e,a.push(e)}return d===r.Important?u(s,c):f(s,c),{metadata:t,message:`已安装样式'${l||c}'`}}catch(e){throw new Error("无效的样式代码",{cause:e})}},s=async e=>{const t=Object.entries(o.settings.userStyles).find((t=>{let[n,{displayName:o}]=t;return n===e||o===e}));if(!t)throw new Error(`没有找到与名称'${e}'相关联的样式`);const{removeStyle:r}=await Promise.resolve().then(n.bind(n,9425)),[c,{displayName:s}]=t;return r(c),delete o.settings.userStyles[c],(0,i.deleteValue)(a,(e=>e.name===c)),{metadata:t,message:`已卸载样式'${s}'`}}},5113:(e,t,n)=>{"use strict";n.r(t),n.d(t,{AsyncButton:()=>s,CheckBox:()=>h,CollapsibleContainer:()=>vt,ColorPicker:()=>E,DefaultWidget:()=>mt,DpiImage:()=>P,ImagePicker:()=>j,ImageViewer:()=>Y,MiniToast:()=>Nt.A,OptionRadioGroup:()=>jt,OptionWidgetLayout:()=>Mt,ProgressBar:()=>ne,ProgressRing:()=>se,RadioButton:()=>fe,RadioGroupItem:()=>Et,RangeInput:()=>we,ScrollTrigger:()=>Be,SwitchBox:()=>De.A,TabControl:()=>Oe,TextArea:()=>qe,TextBox:()=>Ue.default,VButton:()=>r.default,VDropdown:()=>Ke,VEmpty:()=>ot,VIcon:()=>o.default,VLoading:()=>it.default,VPopup:()=>Ze.default,VSlider:()=>rt.default,showImage:()=>X});var o=n(4833),i=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("VButton",e._g(e._b({attrs:{disabled:e.disabled||e.internalDisabled},on:{click:e.onClick}},"VButton",e.$attrs,!1),e.listeners),[e._t("default",(function(){return[e._v("Button")]}))],2)};i._withStripped=!0;var r=n(7389);const a=Vue.extend({components:{VButton:r.default},props:{disabled:{type:Boolean,default:!1}},data:()=>({internalDisabled:!1}),computed:{listeners(){return lodash.omit(this.$listeners,"click")},onClick(){var e=this;return async function(){try{e.internalDisabled=!0;for(var t=arguments.length,n=new Array(t),o=0;oPromise.resolve().then(n.bind(n,7389)).then((e=>e.default)),VIcon:()=>Promise.resolve().then(n.bind(n,4833)).then((e=>e.default))},model:{prop:"checked",event:"change"},props:{checked:{type:Boolean,required:!0},iconPosition:{type:String,default:"left"},checkedIcon:{type:String,default:"mdi-checkbox-marked-circle"},notCheckedIcon:{type:String,default:"mdi-checkbox-blank-circle-outline"}}});var m=n(6991),u=n.n(m),f=n(6183),p=n.n(f),b={insert:"head",singleton:!1};u()(p(),b);p().locals;const h=(0,c.A)(d,l,[],!1,null,"07bbf374",null).exports;var g=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"be-color-picker"},[t("div",{directives:[{name:"hit",rawName:"v-hit",value:()=>e.popupOpened=!e.popupOpened,expression:"() => (popupOpened = !popupOpened)"}],ref:"button",staticClass:"selected-color",style:{backgroundColor:e.color,width:e.size+"px",height:e.size+"px"},attrs:{role:"button",tabindex:"0"}}),e._v(" "),t("VPopup",{staticClass:"picker",class:{compact:e.compact},style:{"--offset":e.popupOffset+"px"},attrs:{"esc-close":"","auto-close":!1,"trigger-element":e.$refs.button},model:{value:e.popupOpened,callback:function(t){e.popupOpened=t},expression:"popupOpened"}},[t("div",{staticClass:"item-group"},[t("div",{staticClass:"item-title"},[e._v("预设颜色")]),e._v(" "),t("div",{staticClass:"colors"},e._l(e.colors,(function(n){return t("div",{directives:[{name:"hit",rawName:"v-hit",value:()=>e.selectHexColor(n),expression:"() => selectHexColor(c)"}],key:n,staticClass:"color",style:{backgroundColor:n},attrs:{role:"radio",tabindex:e.popupOpened?0:-1}})})),0)]),e._v(" "),t("div",{staticClass:"item-group"},[t("div",{staticClass:"item-title"},[e._v("调色")]),e._v(" "),t("div",{staticClass:"bars"},[e.isRGB?[t("div",{staticClass:"bar"},[t("div",{staticClass:"bar-name"},[e._v("R")]),e._v(" "),t("VSlider",{attrs:{focusable:!1,max:255,value:e.wrapper.red},on:{change:function(t){return e.wrapper.change("red",t)}},scopedSlots:e._u([{key:"bar",fn:function(){return[t("div",{staticClass:"color-bar",style:{background:e.wrapper.redGradient}})]},proxy:!0},{key:"thumb",fn:function(){return[t("div",{staticClass:"color-thumb"})]},proxy:!0}],null,!1,2466330035)}),e._v(" "),t("TextBox",{staticClass:"bar-value",attrs:{"max-length":"3","change-on-blur":"",disabled:!e.popupOpened,text:e.int(e.wrapper.red)},on:{change:function(t){return e.wrapper.change("red",t)}}})],1),e._v(" "),t("div",{staticClass:"bar"},[t("div",{staticClass:"bar-name"},[e._v("G")]),e._v(" "),t("VSlider",{attrs:{focusable:!1,max:255,value:e.wrapper.green},on:{change:function(t){return e.wrapper.change("green",t)}},scopedSlots:e._u([{key:"bar",fn:function(){return[t("div",{staticClass:"color-bar",style:{background:e.wrapper.greenGradient}})]},proxy:!0},{key:"thumb",fn:function(){return[t("div",{staticClass:"color-thumb"})]},proxy:!0}],null,!1,2962781435)}),e._v(" "),t("TextBox",{staticClass:"bar-value",attrs:{"max-length":"3","change-on-blur":"",disabled:!e.popupOpened,text:e.int(e.wrapper.green)},on:{change:function(t){return e.wrapper.change("green",t)}}})],1),e._v(" "),t("div",{staticClass:"bar"},[t("div",{staticClass:"bar-name"},[e._v("B")]),e._v(" "),t("VSlider",{attrs:{focusable:!1,max:255,value:e.wrapper.blue},on:{change:function(t){return e.wrapper.change("blue",t)}},scopedSlots:e._u([{key:"bar",fn:function(){return[t("div",{staticClass:"color-bar",style:{background:e.wrapper.blueGradient}})]},proxy:!0},{key:"thumb",fn:function(){return[t("div",{staticClass:"color-thumb"})]},proxy:!0}],null,!1,660815582)}),e._v(" "),t("TextBox",{staticClass:"bar-value",attrs:{"max-length":"3","change-on-blur":"",disabled:!e.popupOpened,text:e.int(e.wrapper.blue)},on:{change:function(t){return e.wrapper.change("blue",t)}}})],1)]:[t("div",{staticClass:"bar"},[t("div",{staticClass:"bar-name"},[e._v("H")]),e._v(" "),t("VSlider",{attrs:{focusable:!1,max:359.9,value:e.wrapper.hue},on:{change:function(t){return e.wrapper.change("hue",t)}},scopedSlots:e._u([{key:"bar",fn:function(){return[t("div",{staticClass:"color-bar",style:{background:e.wrapper.hueGradient}})]},proxy:!0},{key:"thumb",fn:function(){return[t("div",{staticClass:"color-thumb"})]},proxy:!0}])}),e._v(" "),t("TextBox",{staticClass:"bar-value",attrs:{"max-length":"4","change-on-blur":"",disabled:!e.popupOpened,text:e.fixed(e.wrapper.hue)},on:{change:function(t){return e.wrapper.change("hue",t)}}})],1),e._v(" "),t("div",{staticClass:"bar"},[t("div",{staticClass:"bar-name"},[e._v("S")]),e._v(" "),t("VSlider",{attrs:{focusable:!1,value:e.wrapper.saturation},on:{change:function(t){return e.wrapper.change("saturationv",t)}},scopedSlots:e._u([{key:"bar",fn:function(){return[t("div",{staticClass:"color-bar",style:{background:e.wrapper.saturationGradient}})]},proxy:!0},{key:"thumb",fn:function(){return[t("div",{staticClass:"color-thumb"})]},proxy:!0}])}),e._v(" "),t("TextBox",{staticClass:"bar-value",attrs:{"max-length":"5","change-on-blur":"",disabled:!e.popupOpened,text:e.fixed(e.wrapper.saturation)},on:{change:function(t){return e.wrapper.change("saturationv",t)}}})],1),e._v(" "),t("div",{staticClass:"bar"},[t("div",{staticClass:"bar-name"},[e._v("B")]),e._v(" "),t("VSlider",{attrs:{focusable:!1,value:e.wrapper.brightness},on:{change:function(t){return e.wrapper.change("value",t)}},scopedSlots:e._u([{key:"bar",fn:function(){return[t("div",{staticClass:"color-bar",style:{background:e.wrapper.brightnessGradient}})]},proxy:!0},{key:"thumb",fn:function(){return[t("div",{staticClass:"color-thumb"})]},proxy:!0}])}),e._v(" "),t("TextBox",{staticClass:"bar-value",attrs:{"max-length":"5","change-on-blur":"",disabled:!e.popupOpened,text:e.fixed(e.wrapper.brightness)},on:{change:function(t){return e.wrapper.change("value",t)}}})],1)]],2)]),e._v(" "),t("div",{staticClass:"info item-group"},[t("VButton",{staticClass:"toggle-mode",attrs:{disabled:!e.popupOpened,type:"transparent",title:e.isRGB?"切换至HSB":"切换至RGB"},on:{click:function(t){e.isRGB=!e.isRGB}}},[e._v("\n "+e._s(e.isRGB?"切换至HSB":"切换至RGB")+"\n ")]),e._v(" "),t("div",{staticClass:"grow"}),e._v(" "),t("div",{staticClass:"color-preview",style:{backgroundColor:e.wrapper.hex}}),e._v(" "),t("TextBox",{staticClass:"hex",attrs:{disabled:!e.popupOpened,text:e.wrapper.hex,"change-on-blur":""},on:{change:function(t){return e.selectHexColor(t)}}})],1),e._v(" "),t("div",{staticClass:"operations item-group",on:{click:function(t){e.popupOpened=!e.popupOpened}}},[t("VButton",{staticClass:"cancel",attrs:{disabled:!e.popupOpened},on:{click:function(t){return e.reset()}}},[e._v(" 取消 ")]),e._v(" "),t("VButton",{staticClass:"ok",attrs:{disabled:!e.popupOpened,type:"primary"},on:{click:function(t){return e.ok()}}},[e._v(" 确定 ")])],1)])],1)};g._withStripped=!0;var v=n(3639),F=n.n(v);const w=JSON.parse('["#E57373","#F06292","#BA68C8","#9575CD","#7986CB","#2196F3","#00A0D8","#00ACC1","#26A69A","#81C784","#9CCC65","#FF9800","#FF7043","#A1887F","#757575","#78909C"]'),y=e=>{let t=new(F())(e);const n={get color(){return t},set color(e){t=e,this.updateProps()},change(e,n){"string"==typeof n&&(n=parseFloat(n),Number.isNaN(n))||(this.color=t[e](n))},updateProps(){this.red=t.red(),this.green=t.green(),this.blue=t.blue(),this.hue=t.hue(),this.saturation=t.saturationv(),this.brightness=t.value(),this.hex=t.hex(),this.hueGradient=`linear-gradient(to right, ${t.hue(0).hex()}, ${t.hue(60).hex()}, ${t.hue(120).hex()}, ${t.hue(180).hex()}, ${t.hue(240).hex()}, ${t.hue(300).hex()}, ${t.hue(0).hex()})`,this.saturationGradient=`linear-gradient(to right, ${t.saturationv(0).hex()}, ${t.saturationv(100).hex()})`,this.brightnessGradient=`linear-gradient(to right, ${t.value(0).hex()}, ${t.value(100).hex()})`,this.redGradient=`linear-gradient(to right, ${t.red(0).hex()}, ${t.red(255).hex()})`,this.greenGradient=`linear-gradient(to right, ${t.green(0).hex()}, ${t.green(255).hex()})`,this.blueGradient=`linear-gradient(to right, ${t.blue(0).hex()}, ${t.blue(255).hex()})`}};return n.updateProps(),n},x=Vue.extend({name:"ColorPicker",components:{TextBox:()=>Promise.resolve().then(n.bind(n,9740)).then((e=>e.default)),VSlider:()=>Promise.resolve().then(n.bind(n,3616)).then((e=>e.default)),VButton:()=>Promise.resolve().then(n.bind(n,7389)).then((e=>e.default)),VPopup:()=>Promise.resolve().then(n.bind(n,4512)).then((e=>e.default))},model:{prop:"color",event:"change"},props:{color:{type:String,default:"#000000",required:!0},size:{type:Number,default:24,required:!1},compact:{type:Boolean,default:!1},popupOffset:{type:Number,default:0}},data(){return{popupOpened:!1,wrapper:y(this.color),colors:w,isRGB:!1}},watch:{popupOpened(e){e&&(document.body.addEventListener("mousedown",(e=>{this.$el.contains(e.target)||this.$el===e.target||document.body.addEventListener("mouseup",(()=>{this.popupOpened=!1}),{once:!0})})),document.body.addEventListener("touchstart",(e=>{1!==e.touches.length||this.$el.contains(e.target)||this.$el===e.target||document.body.addEventListener("touchend",(()=>{this.popupOpened=!1}),{once:!0})})))}},methods:{ok(){this.$emit("change",this.wrapper.hex)},reset(){this.wrapper.color=new(F())(this.color)},selectHexColor(e){try{const t=new(F())(e,"hex");this.wrapper.color=t}catch(e){}},fixed:e=>(Math.round(10*e)/10).toString(),int:e=>Math.round(e).toString()}});var k=n(8364),C=n.n(k),A={insert:"head",singleton:!1};u()(C(),A);C().locals;const E=(0,c.A)(x,g,[],!1,null,"87a36270",null).exports;var B=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("img",e._b({class:{placeholder:e.isPlaceholderActive},attrs:{width:e.width,height:e.height,srcset:e.srcset,src:e.actualSrc}},"img",e.$attrs,!1))};B._withStripped=!0;var D=n(8418),I=n(6635);const S=Vue.extend({name:"DpiImage",props:{size:{type:[Object,Number],required:!0},src:{type:String,required:!0},intersection:{type:Object,default:()=>({})},placeholderImage:{type:Boolean,default:!1}},data:()=>({srcset:null,actualSrc:I.EmptyImageUrl,isPlaceholderActive:!1}),computed:{width(){return"object"==typeof this.size&&"width"in this.size?this.size.width:"number"==typeof this.size?this.size:null},height(){return"object"==typeof this.size&&"height"in this.size?this.size.height:"number"==typeof this.size?this.size:null}},watch:{size(){this.sourceChange()},src(){this.sourceChange()}},mounted(){const e={rootMargin:"200px",...this.intersection},t=new IntersectionObserver((e=>{e.forEach((e=>{e.isIntersecting&&(this.calcSrc(),t.disconnect())}))}),e);t.observe(this.$el)},methods:{sourceChange(){this.actualSrc!==I.EmptyImageUrl&&null!==this.srcset&&this.calcSrc()},calcSrc(){const e=!this.src||!this.size;if(this.isPlaceholderActive=e&&this.placeholderImage,e)return this.srcset=null,void(this.placeholderImage?this.actualSrc="https://s1.hdslb.com/bfs/static/blive/live-web-center/static/img/no-cover.1ebe4d5.jpg":this.actualSrc=I.EmptyImageUrl);let{src:t}=this;if(t.startsWith("http:")&&(t=t.replace("http:","https:")),t.includes("//static.hdslb.com/images/member/noface.gif"))return this.srcset=t,void(this.actualSrc=t);this.srcset=(0,D.getDpiSourceSet)(t,this.size),this.actualSrc=t}}}),z=S;const P=(0,c.A)(z,B,[],!1,null,null,null).exports;var M=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"be-image-picker"},[t("VButton",{ref:"pickButton",staticClass:"pick-button",on:{click:function(t){e.popupOpen=!e.popupOpen}}},[e._t("text",(function(){return[e._v(" 选择图片 ")]}))],2),e._v(" "),t("VPopup",{staticClass:"popup",attrs:{"trigger-element":e.$refs.pickButton},on:{keydown:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"esc",27,t.key,["Esc","Escape"])?null:e.cancel()}},model:{value:e.popupOpen,callback:function(t){e.popupOpen=t},expression:"popupOpen"}},[t("transition-group",{staticClass:"images",attrs:{name:"image-list",tag:"div",tabindex:"-1"}},e._l(e.images,(function(n){return t("div",{directives:[{name:"hit",rawName:"v-hit",value:()=>e.selectImage(n),expression:"() => selectImage(i)"}],key:n.name,staticClass:"image",class:{selected:n.name===e.selectedImage.name},attrs:{title:n.name,tabindex:e.popupOpen?0:-1}},[t("img",{attrs:{width:"64",height:"64",src:n.url}})])})),0),e._v(" "),t("div",{directives:[{name:"show",rawName:"v-show",value:0===e.images.length,expression:"images.length === 0"}],staticClass:"empty-tip"},[e._v("空空如也哦 = ̄ω ̄=")]),e._v(" "),t("div",{staticClass:"operations"},[t("VPopup",{staticClass:"add-image-popup",attrs:{tabindex:"-1",lazy:!1,"trigger-element":e.$refs.addButton},model:{value:e.addImagePopupOpen,callback:function(t){e.addImagePopupOpen=t},expression:"addImagePopupOpen"}},[t("div",{staticClass:"add-image-row"},[e._v("\n 名称:\n "),t("TextBox",{ref:"addImageInput",attrs:{disabled:!e.addImagePopupOpen},model:{value:e.newImage.name,callback:function(t){e.$set(e.newImage,"name",t)},expression:"newImage.name"}})],1),e._v(" "),t("div",{staticClass:"add-image-row"},[e._v("\n 链接:\n "),t("TextBox",{attrs:{disabled:!e.addImagePopupOpen},model:{value:e.newImage.url,callback:function(t){e.$set(e.newImage,"url",t)},expression:"newImage.url"}})],1),e._v(" "),t("div",{staticClass:"add-image-row buttons"},[t("VButton",{attrs:{disabled:!e.addImagePopupOpen},on:{click:function(t){e.addImagePopupOpen=!1,e.clearNewImage()}}},[e._v("\n 取消\n ")]),e._v(" "),t("VButton",{attrs:{disabled:!e.newImage.url||!e.newImage.name,type:"primary"},on:{click:function(t){e.addImage(e.newImage),e.addImagePopupOpen=!1,e.clearNewImage()}}},[e._v("\n 确定\n ")])],1)]),e._v(" "),t("VButton",{staticClass:"clear-image",attrs:{disabled:!e.selectedImage.name},on:{click:function(t){return e.clearImage()}}},[e._v("\n 清除选择\n ")]),e._v(" "),t("VButton",{ref:"addButton",staticClass:"add-image",attrs:{disabled:!e.popupOpen},on:{click:function(t){return e.openAddImagePopup()}}},[e._v("\n 添加\n ")]),e._v(" "),t("VButton",{staticClass:"edit-image",attrs:{disabled:!e.selectedImage.name},on:{click:function(t){return e.editImage()}}},[e._v("\n 编辑\n ")]),e._v(" "),t("VButton",{attrs:{disabled:!e.selectedImage.name},on:{click:function(t){e.removeImage(e.selectedImage),e.clearImage()}}},[e._v("\n 删除\n ")])],1),e._v(" "),t("div",{staticClass:"operations"},[t("VButton",{attrs:{disabled:!e.popupOpen},on:{click:function(t){return e.cancel()}}},[e._v(" 取消 ")]),e._v(" "),t("VButton",{attrs:{disabled:!e.popupOpen,type:"primary"},on:{click:function(t){return e.ok()}}},[e._v(" 确定 ")])],1),e._v(" "),e.addImagePopupOpen?t("div",{staticClass:"mask"}):e._e()],1)],1)};M._withStripped=!0;const O=[],V=Vue.extend({name:"ImagePicker",components:{VButton:()=>Promise.resolve().then(n.bind(n,7389)).then((e=>e.default)),VPopup:()=>Promise.resolve().then(n.bind(n,4512)).then((e=>e.default)),TextBox:()=>Promise.resolve().then(n.bind(n,9740)).then((e=>e.default))},model:{prop:"image",event:"change"},props:{image:{type:Object,required:!0}},data:()=>({images:O,popupOpen:!1,addImagePopupOpen:!1,selectedImage:{name:"",url:""},newImage:{name:"",url:""}}),methods:{addImage:e=>{if(!e.name||!e.url)return;const t=O.find((t=>t.name===e.name));t?t.url=e.url:O.unshift(e)},removeImage:e=>{const t="string"==typeof e?e:e.name,n=O.findIndex((e=>e.name===t));-1!==n&&O.splice(n,1)},ok(){this.$emit("change",this.selectedImage),this.popupOpen=!1},cancel(){this.selectedImage=this.image,this.popupOpen=!1},selectImage(e){this.selectedImage.name===e.name?this.selectedImage={name:"",url:""}:this.selectedImage=e},clearImage(){this.selectedImage={name:"",url:""}},clearNewImage(){this.newImage={name:"",url:""}},editImage(){this.newImage=this.selectedImage,this.openAddImagePopup()},async openAddImagePopup(){this.addImagePopupOpen=!this.addImagePopupOpen,await this.$nextTick(),this.$refs.addImageInput.$refs.input.focus()}}});var T=n(6586),L=n.n(T),R={insert:"head",singleton:!1};u()(L(),R);L().locals;const j=(0,c.A)(V,M,[],!1,null,"7b32c90b",null).exports;var N=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"image-viewer-container",class:{open:e.open},on:{click:e.detectOutside}},[t("div",{ref:"viewer",staticClass:"image-viewer"},[t("div",{staticClass:"image-container"},[e.image?t("img",{staticClass:"image",attrs:{src:e.image}}):e._e()]),e._v(" "),t("div",{staticClass:"close image-viewer-icon",attrs:{title:"关闭"},on:{click:function(t){e.open=!1}}},[t("VIcon",{attrs:{size:48,icon:"mdi-close"}})],1),e._v(" "),t("a",{staticClass:"copy-link image-viewer-icon",attrs:{target:"_blank",title:"复制原链接"},on:{click:function(t){return e.copyLink()}}},[e.copiedTimer?t("VIcon",{attrs:{size:48,icon:"mdi-check"}}):t("VIcon",{attrs:{size:48,icon:"mdi-link"}})],1),e._v(" "),t("a",{staticClass:"new-tab image-viewer-icon",attrs:{target:"_blank",title:"在新标签页打开"},on:{click:function(t){return e.newTab()}}},[t("VIcon",{attrs:{size:48,icon:"mdi-open-in-new"}})],1),e._v(" "),e.blobUrl?t("a",{staticClass:"download image-viewer-icon",attrs:{target:"_blank",title:"下载",href:e.blobUrl,download:e.filename}},[t("VIcon",{attrs:{size:48,icon:"mdi-download"}})],1):e._e()])])};N._withStripped=!0;var q=n(3558),U=n(5936),H=n(392);const Z=Vue.extend({components:{VIcon:o.default},props:{image:{type:String,required:!0}},data:()=>({filename:"",open:!1,blobUrl:"",keyHandler:null,copiedTimer:0}),watch:{async image(e){this.blobUrl&&URL.revokeObjectURL(this.blobUrl),e||(this.blobUrl="");const t=await(0,H.getBlob)(e);this.blobUrl=URL.createObjectURL(t),this.updateFilename()}},mounted(){this.keyHandler=e=>{"Escape"===e.key&&(this.open=!1)},document.addEventListener("keydown",this.keyHandler),(0,q.addComponentListener)("settingsPanel.filenameFormat",(()=>{this.updateFilename()}),!0)},beforeDestroy(){document.removeEventListener("keydown",this.keyHandler)},methods:{async copyLink(){await navigator.clipboard.writeText(this.image),this.copiedTimer&&window.clearTimeout(this.copiedTimer),this.copiedTimer=window.setTimeout((()=>{this.copiedTimer=0}),2e3)},newTab(){window.open(this.image,"_blank")},detectOutside(e){const t=this.$el,{viewer:n}=this.$refs;e.target!==t&&e.target!==n||(this.open=!1)},updateFilename(){const e=this.image;this.filename=e?(0,U.getFriendlyTitle)(document.URL.includes("/www.bilibili.com/bangumi/"))+e.substring(e.lastIndexOf(".")):""}}});var W=n(6529),G=n.n(W),Q={insert:"head",singleton:!1};u()(G(),Q);G().locals;const Y=(0,c.A)(Z,N,[],!1,null,"8829ba14",null).exports;let K;const X=async e=>(K||await(async()=>(K=new Y({propsData:{image:"",open:!1}}).$mount(),document.body.insertAdjacentElement("beforeend",K.$el),K))(),setTimeout((()=>{K.image=e,K.open=!0})),K);var J=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"be-progress-bar"},[t("div",{staticClass:"progress",class:{transition:e.transition},style:{width:e.width}})])};J._withStripped=!0;const _=Vue.extend({name:"ProgressBar",props:{progress:{type:Number,default:50},min:{type:Number,default:0},max:{type:Number,default:100},transition:{type:Boolean,default:!1}},computed:{width(){let e=this.progress;e>this.max?e=this.max:ethis.max?e=this.max:e{de.has(e)?de.get(e).push({instance:t,uncheck:n}):de.set(e,[{instance:t,uncheck:n}])})),ue=Vue.extend({name:"RadioButton",components:{CheckBox:h},model:{prop:"checked",event:"change"},props:{checked:{type:Boolean,required:!0},allowUncheck:{type:Boolean,default:!1},group:{type:String,default:""},checkedIcon:{type:String,default:"mdi-radiobox-marked"},notCheckedIcon:{type:String,default:"mdi-radiobox-blank"}},watch:{checked(e){if(e){const e=this.group,t=this.$el;let n;n=""===e?t.parentElement:e,de.get(n).forEach((e=>{let{instance:t,uncheck:n}=e;t!==this&&n()}))}}},mounted(){const e=this.group,t=this.$el;let n;n=me(""===e?t.parentElement:e),n(this,(()=>this.$emit("change",!1)))},methods:{emitChange(e){(this.checked&&this.allowUncheck||!this.checked)&&this.$emit("change",e)}}});const fe=(0,c.A)(ue,le,[],!1,null,null,null).exports;var pe=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"be-range-input"},[t("TextBox",{attrs:{"change-on-blur":"",text:e.wrapper.range.start.toString()},on:{change:function(t){e.wrapper.start=t}}}),e._v(" "),e._t("separator",(function(){return[t("div",{staticClass:"default-separator"},[e._v("~")])]})),e._v(" "),t("TextBox",{attrs:{"change-on-blur":"",text:e.wrapper.range.end.toString()},on:{change:function(t){e.wrapper.end=t}}})],2)};pe._withStripped=!0;const be=e=>({range:e.range,get start(){return this.range.start.toString()},set start(e){this.createNewRange(e,this.end)},get end(){return this.range.end.toString()},set end(e){this.createNewRange(this.start,e)},createNewRange(t,n){let o={start:t,end:n};e.validator&&(o=e.validator(o)),null!=o?(this.range=o,e.$emit("change",o)):this.range={start:this.range.start,end:this.range.end}}}),he=Vue.extend({name:"RangeInput",components:{TextBox:()=>Promise.resolve().then(n.bind(n,9740))},model:{prop:"range",event:"change"},props:{range:{type:Object,required:!0},validator:{type:Function,default:void 0}},data(){return{wrapper:be(this)}}});var ge=n(5221),ve=n.n(ge),Fe={insert:"head",singleton:!1};u()(ve(),Fe);ve().locals;const we=(0,c.A)(he,pe,[],!1,null,"b459c060",null).exports;var ye=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"be-scroll-trigger",on:{click:function(t){return e.trigger()}}},[e._t("default",(function(){return[t("VLoading")]}))],2)};ye._withStripped=!0;var xe=n(7656);const ke=Vue.extend({components:{VLoading:()=>Promise.resolve().then(n.bind(n,9677)).then((e=>e.default))},props:{detectViewport:{type:Boolean,required:!1,default:!1}},data:()=>({isFirstLoad:!0,isViewportTriggerRunning:!1,parentLoadState:"none"}),async mounted(){const e=(0,xe.useScopedConsole)("ScrollTrigger"),t=this.$el,{visible:o}=await Promise.resolve().then(n.bind(n,24));o(t,(async n=>{if(n.some((e=>e.intersectionRatio>0))){if(e.log("Intersection Observer trigger"),this.trigger(),!this.detectViewport&&!this.isFirstLoad&&this.isViewportTriggerRunning)return;for(this.isViewportTriggerRunning=!0;this.getVisibleStateByViewport(t);)if(await(0,D.delay)(500),"loaded"===this.parentLoadState){if(!this.getVisibleStateByViewport(t))break;e.log("is first load & viewport trigger"),this.trigger()}this.isFirstLoad=!1}}))},methods:{getElementToViewportBottomDistance:e=>document.documentElement.clientHeight-e.getBoundingClientRect().top,getVisibleStateByViewport(e){return Boolean(this.getElementToViewportBottomDistance(e)>-20)},setLoadState(e){this.parentLoadState=e},resetIsFirstLoad(){this.isFirstLoad=!0},trigger(){this.$emit("trigger")}}});var Ce=n(1867),Ae=n.n(Ce),Ee={insert:"head",singleton:!1};u()(Ae(),Ee);Ae().locals;const Be=(0,c.A)(ke,ye,[],!1,null,null,null).exports;var De=n(9923),Ie=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"be-tab-control"},[t("div",{staticClass:"default-header"},[e._t("tabs",(function(){return[t("div",{staticClass:"default-tabs"},e._l(e.tabs,(function(n){return t("div",{key:n.name,staticClass:"default-tab",class:{selected:n===e.selectedTab},attrs:{"data-count":n.count>0?n.count:null},on:{click:function(t){return e.selectTab(n)}}},[t("div",{staticClass:"default-tab-name"},[e._v("\n "+e._s(n.displayName)+"\n ")])])})),0)]})),e._v(" "),t("div",{staticClass:"header-item"},[e._t("header-item")],2),e._v(" "),null!==e.moreLink&&void 0!==e.moreLink?t("a",{staticClass:"be-more-link",attrs:{href:"function"==typeof e.moreLink?e.moreLink(e.selectedTab):e.moreLink,target:"_blank"}},[t("VButton",{attrs:{disabled:!e.moreLink,round:""}},[e._t("more-link",(function(){return[e._v("\n 查看更多\n "),t("VIcon",{attrs:{icon:"mdi-dots-horizontal",size:18}})]}))],2)],1):e._e()],2),e._v(" "),e._t("content",(function(){return[t("div",{staticClass:"default-content"},[t("transition",{attrs:{name:"content-transition"}},[t(e.selectedTab.component,e._b({tag:"component"},"component",e.selectedTab.propsData,!1))],1)],1)]}))],2)};Ie._withStripped=!0;const Se=Vue.extend({name:"TabControl",components:{VButton:()=>Promise.resolve().then(n.bind(n,7389)).then((e=>e.default)),VIcon:()=>Promise.resolve().then(n.bind(n,4833)).then((e=>e.default))},model:{prop:"link",event:"change"},props:{tabs:{type:Array,required:!0,validator:e=>0!==e.length},defaultTab:{type:String,required:!1,default:""},link:{type:String,required:!1,default:null},moreLink:{type:[String,Function],default:null}},data(){const e=this.tabs;return{selectedTabName:e.find((e=>e.name===this.defaultTab))?.name??e[0].name}},computed:{selectedTab(){return this.tabs.find((e=>e.name===this.selectedTabName))}},mounted(){this.$emit("change",this.selectedTab.activeLink)},methods:{selectTab(e){this.selectedTabName!==e.name?(this.selectedTabName=e.name,e.count=0,this.$emit("change",this.selectedTab.activeLink)):e.activeLink&&window.open(e.activeLink,"_blank")}}});var ze=n(2413),Pe=n.n(ze),Me={insert:"head",singleton:!1};u()(Pe(),Me);Pe().locals;const Oe=(0,c.A)(Se,Ie,[],!1,null,null,null).exports;var Ve=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"be-text-area",attrs:{role:"text"}},[t("textarea",e._g(e._b({ref:"input",attrs:{type:"text"},domProps:{value:e.text},on:{change:function(t){return t.stopPropagation(),e.change.apply(null,arguments)},input:function(t){return t.stopPropagation(),e.input.apply(null,arguments)},compositionstart:e.compositionStart,compositionend:e.compositionEnd}},"textarea",e.$attrs,!1),e.restListeners))])};Ve._withStripped=!0;var Te=n(8330);const Le=Vue.extend({name:"TextArea",mixins:[Te.Q]});var Re=n(9732),je=n.n(Re),Ne={insert:"head",singleton:!1};u()(je(),Ne);je().locals;const qe=(0,c.A)(Le,Ve,[],!1,null,null,null).exports;var Ue=n(9740),He=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{directives:[{name:"hit",rawName:"v-hit",value:e.hit,expression:"hit"}],staticClass:"be-dropdown",class:{disabled:e.disabled,round:e.round},attrs:{role:"combobox",tabindex:e.disabled?-1:0,"aria-disabled":e.disabled}},[t("div",{ref:"selected",staticClass:"selected"},[t("div",{staticClass:"selected-item"},[null!==e.value&&void 0!==e.value?e._t("item",(function(){return[e._v("\n "+e._s(e.value.displayName)+"\n ")]}),{item:e.value}):e._e()],2),e._v(" "),t("div",{staticClass:"arrow",class:{open:e.popupOpen}},[e._t("arrow",(function(){return[t("div",{staticClass:"default-arrow"},[t("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 24 24"}},[t("defs",[t("clipPath",{attrs:{id:"clip-arrow-down"}},[t("rect",{attrs:{width:"24",height:"24"}})])]),e._v(" "),t("g",{attrs:{id:"arrow-down","clip-path":"url(#clip-arrow-down)"}},[t("path",{attrs:{id:"Path_1","data-name":"Path 1",d:"M2,17,12,7,22,17",transform:"translate(24 25) rotate(180)","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2"}})])])])]}))],2)]),e._v(" "),t("VPopup",{ref:"popup",staticClass:"dropdown-popup",attrs:{lazy:!1,"trigger-element":e.$refs.selected},on:{keydown:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"esc",27,t.key,["Esc","Escape"])?null:e.selectItem(e.value)}},model:{value:e.popupOpen,callback:function(t){e.popupOpen=t},expression:"popupOpen"}},e._l(e.items,(function(n){return t("div",{directives:[{name:"hit",rawName:"v-hit",value:()=>e.selectItem(n),expression:"() => selectItem(item)"}],key:e.keyMapper(n),staticClass:"bex-dropdown-item",attrs:{tabindex:e.popupOpen?0:-1}},[e._t("item",(function(){return[e._v("\n "+e._s(n.displayName)+"\n ")]}),{item:n})],2)})),0)],1)};He._withStripped=!0;var Ze=n(4512);const We=Vue.extend({name:"VDropdown",components:{VPopup:Ze.default},model:{prop:"value",event:"change"},props:{value:{required:!0},items:{type:Array,required:!0},keyMapper:{type:Function,default:e=>e.name},round:{type:Boolean,default:!1}},data:()=>({popupOpen:!1}),computed:{disabled(){return Boolean(this.$attrs.disabled)}},watch:{disabled(e){e&&(this.popupOpen=!1)}},created(){null!==this.value&&void 0!==this.value||this.$emit("change",this.items[0]||"")},methods:{selectItem(e){e!==this.value&&this.$emit("change",e),this.popupOpen=!1,this.$el.focus()},hit(e){if(this.disabled)return;const t=this.$refs.popup.$el,n=e.target;t===n||t.contains(n)||(this.popupOpen=!this.popupOpen)}}});var Ge=n(8267),Qe=n.n(Ge),Ye={insert:"head",singleton:!1};u()(Qe(),Ye);Qe().locals;const Ke=(0,c.A)(We,He,[],!1,null,"a50268e4",null).exports;var Xe=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"be-empty"},[e._t("default",(function(){return["string"==typeof e.config.content&&e.config.content.length>0?[e._v("\n "+e._s(e.config.content)+"\n ")]:e._e(),e._v(" "),"string"!=typeof e.config.content?t(e.config.content,{tag:"component"}):e._e()]}))],2)};Xe._withStripped=!0;var Je=n(5417);const[_e]=(0,Je.registerAndGetData)("vEmpty",{content:"空空如也哦 = ̄ω ̄="}),$e=Vue.extend({name:"VEmpty",data:()=>({config:_e})});var et=n(4478),tt=n.n(et),nt={insert:"head",singleton:!1};u()(tt(),nt);tt().locals;const ot=(0,c.A)($e,Xe,[],!1,null,null,null).exports;var it=n(9677),rt=n(3616),at=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("VButton",e._g(e._b({staticClass:"default-widget"},"VButton",e.$attrs,!1),e.$listeners),[t("div",{staticClass:"widget-icon"},[e._t("icon",(function(){return[t("VIcon",{attrs:{type:e.iconType,icon:e.icon}})]}))],2),e._v(" "),t("div",{staticClass:"widget-name"},[e._t("default",(function(){return[e._v(e._s(e.name))]}))],2)])};at._withStripped=!0;const ct=Vue.extend({components:{VIcon:o.default,VButton:r.default},props:{name:{type:String,default:""},icon:{type:String,default:""},iconType:{type:String,default:""}}});var st=n(8071),lt=n.n(st),dt={insert:"head",singleton:!1};u()(lt(),dt);lt().locals;const mt=(0,c.A)(ct,at,[],!1,null,"20e1bedd",null).exports;var ut=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"collapsible-container"},[t("div",{staticClass:"header",on:{click:e.onHeaderClick}},[e._t("header",(function(){return[t("div",{staticClass:"default-header"},[e._t("title",(function(){return[t("span",{staticClass:"default-header-title"},[e._v(e._s(e.title))])]})),e._v(" "),e.hideExpandButton?e._e():t("VIcon",{staticClass:"arrow",class:{expanded:e.computedExpanded},attrs:{size:18,icon:"mdi-chevron-down"},on:{click:e.onBtnClick}})],2)]}))],2),e._v(" "),t("div",{directives:[{name:"show",rawName:"v-show",value:e.computedExpanded,expression:"computedExpanded"}],staticClass:"content",class:{disabled:e.disableContent}},[e._t("default")],2)])};ut._withStripped=!0;var ft=n(3654);const pt=(0,ft.defineComponent)({name:"CollapsibleContainer",components:{VIcon:o.default},props:{title:{type:String,default:""},expanded:{type:Boolean,default:void 0},defaultExpanded:{type:Boolean,default:!1},enableExpandByHeader:{type:Boolean,default:!0},hideExpandButton:{type:Boolean,default:!1},disableContent:{type:Boolean,default:!1}},emits:["expanded"],setup(e,t){let{emit:n}=t;const o=(0,ft.shallowRef)(e.defaultExpanded),i=(0,ft.computed)((()=>void 0!==e.expanded?e.expanded:o.value)),r=()=>{void 0!==e.expanded?n("expanded",!e.expanded):o.value=!o.value};return{computedExpanded:i,onBtnClick:e=>{e.stopPropagation(),r()},onHeaderClick:()=>{e.enableExpandByHeader&&r()}}}});var bt=n(9594),ht=n.n(bt),gt={insert:"head",singleton:!1};u()(ht(),gt);ht().locals;const vt=(0,c.A)(pt,ut,[],!1,null,"2c565e7e",null).exports;var Ft=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("OptionWidgetLayout",{attrs:{title:e.title,"is-popup":e.isPopup,icon:e.icon}},[t(e.currentComponent,e._b({tag:"component"},"component","div"===e.currentComponent?{class:"container"}:{defaultExpanded:!0,title:e.title},!1),e._l(Object.entries(e.itemVMs),(function([n,o]){return t("RadioGroupItem",{key:n,attrs:{title:o.displayName,"default-expanded":!!o.optionsFiltered,"hide-expand-button":!o.optionsFiltered,checked:o.checked,group:e.groupName,"disable-content":!!e.disableContent&&!o.checked},on:{change:t=>e.onRadioChange(o,t)}},[o.optionsFiltered?t("div",e._l(Object.entries(o.optionsFiltered),(function([n,o]){return t("ComponentOption",{key:n,attrs:{name:n,"display-name":o.displayName,option:o,component:e.componentData}})})),1):e._e()])})),1)],1)};Ft._withStripped=!0;var wt=n(552),yt=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("CollapsibleContainer",{attrs:{expanded:e.computedExpanded,"default-expanded":e.defaultExpanded,"hide-expand-button":e.hideExpandButton,"enable-expand-by-header":!1,"disable-content":e.disableContent},on:{expanded:e.onExpanded},scopedSlots:e._u([{key:"title",fn:function(){return[t("RadioButton",{staticClass:"group-title",attrs:{"no-effects":"",checked:e.computedChecked,"allow-uncheck":e.allowUncheck,group:e.group,"checked-icon":e.checkedIcon,"not-checked-icon":e.notCheckedIcon},on:{change:e.onRadioChanged}},[e._v("\n "+e._s(e.title)+"\n ")])]},proxy:!0}])},[e._v(" "),e._t("default")],2)};yt._withStripped=!0;const xt=(0,ft.defineComponent)({components:{RadioButton:fe,CollapsibleContainer:vt},props:{title:{type:String,default:""},expanded:{type:Boolean,default:void 0},defaultExpanded:{type:Boolean,default:!1},hideExpandButton:{type:Boolean,default:!1},disableContent:{type:Boolean,default:!1},checked:{type:Boolean,default:void 0},allowUncheck:{type:Boolean,default:!1},group:{type:String,default:""},checkedIcon:{type:String,default:"mdi-radiobox-marked"},notCheckedIcon:{type:String,default:"mdi-radiobox-blank"}},emits:["expanded","change"],setup(e,t){let{emit:n}=t;const o=(0,ft.shallowRef)(e.defaultExpanded),i=(0,ft.computed)((()=>void 0!==e.expanded?e.expanded:o.value)),r=(0,ft.shallowRef)(!1);return{computedExpanded:i,onExpanded:t=>{void 0!==e.expanded?n("expanded",t):o.value=t},computedChecked:(0,ft.computed)((()=>void 0!==e.checked?e.checked:r.value)),onRadioChanged:t=>{void 0!==e.checked?n("change",t):r.value=t}}}});var kt=n(6104),Ct=n.n(kt),At={insert:"head",singleton:!1};u()(Ct(),At);Ct().locals;const Et=(0,c.A)(xt,yt,[],!1,null,"9b855096",null).exports;var Bt=n(5772),Dt=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"option-widget-layout"},[e.isPopup?t("VPopup",{staticClass:"option-widget-popup",attrs:{"trigger-element":e.$refs.popupButton,"auto-destroy":""},model:{value:e.popup,callback:function(t){e.popup=t},expression:"popup"}},[e._t("default")],2):e._e(),e._v(" "),e.isPopup?t("DefaultWidget",{ref:"popupButton",attrs:{icon:e.icon},on:{click:function(t){e.popup=!e.popup}}},[t("span",[e._v(e._s(e.title))])]):e._e(),e._v(" "),e.isPopup?e._e():e._t("default")],2)};Dt._withStripped=!0;const It=Vue.extend({components:{DefaultWidget:mt,VPopup:Ze.default},props:{isPopup:{type:Boolean,required:!0},title:{type:String,required:!0},icon:{type:String,default:""}},data:()=>({popup:!1})});var St=n(4271),zt=n.n(St),Pt={insert:"head",singleton:!1};u()(zt(),Pt);zt().locals;const Mt=(0,c.A)(It,Dt,[],!1,null,null,null).exports,Ot=(0,ft.defineComponent)({components:{ComponentOption:wt.A,RadioGroupItem:Et,CollapsibleContainer:vt,OptionWidgetLayout:Mt},props:{title:{type:String,default:""},groupName:{type:String,required:!0},items:{type:Object,required:!0},componentName:{type:String,required:!0},isPopup:{type:Boolean,required:!0},icon:{type:String,default:""},hasContainer:{type:Boolean,default:!0},disableContent:{type:Boolean,default:!1}},setup(e){const t=Bt.componentsMap[e.componentName],n=t.options,o=(0,q.getComponentSettings)(t).options,i=Object.fromEntries(Object.entries(e.items).map((t=>{let[i,r]=t;const a={...r};return r.isOption?(a.displayName=n[r.name]?.displayName??r.name,a.checked=!!o[r.name],(0,q.addComponentListener)(`${e.componentName}.${r.name}`,(e=>{a.checked=e}))):a.displayName=r.name,r.optionsIncluded&&(a.optionsFiltered=Object.fromEntries(Object.entries(n).filter((e=>{let[t]=e;return((e,t)=>{if(t.optionsIncluded){const n=t.optionsIncluded;return n instanceof RegExp?n.test(e):!!Array.isArray(n)&&n.includes(e)}return!0})(t,r)})))),[i,a]})));return{componentData:t,itemVMs:(0,ft.ref)(i),onRadioChange:function(e,t){e.checked=t,e.isOption&&setTimeout((()=>o[e.name]=t),200),e.onChange&&e.onChange(t)},currentComponent:e.hasContainer?vt:"div"}}}),Vt=Ot;var Tt=n(4067),Lt=n.n(Tt),Rt={insert:"head",singleton:!1};u()(Lt(),Rt);Lt().locals;const jt=(0,c.A)(Vt,Ft,[],!1,null,"106e4984",null).exports;var Nt=n(3070)},9418:(e,t,n)=>{"use strict";n.d(t,{initMdiStyle:()=>r});var o=n(9621),i=n.n(o);const r=()=>{const e=document.createElement("style");return e.id="be-mdi",e.innerHTML=i(),e}},8330:(e,t,n)=>{"use strict";n.d(t,{Q:()=>o});const o=Vue.extend({model:{prop:"text",event:"change"},props:{text:{type:String,required:!1,default:""},changeOnBlur:{type:Boolean,required:!1,default:!1},validator:{type:Function,default:void 0}},data(){return{composing:!1,restListeners:lodash.omit(this.$listeners,"change","input","compositionstart","compositionend")}},methods:{emitChange(){let{value:e}=this.$refs.input;this.validator&&(e=this.validator(e,this.text),this.changeOnBlur&&(this.$refs.input.value=e)),e!==this.text&&this.$emit("change",e)},input(){this.changeOnBlur||this.composing||this.emitChange()},change(){this.changeOnBlur&&!this.composing&&this.emitChange()},compositionStart(){this.composing=!0},compositionEnd(){this.composing=!1,this.input()},focus(){this.$refs.input.focus()}}})},534:(e,t,n)=>{"use strict";n.d(t,{A:()=>u});var o=n(6073);const i="the1812",r="cdn.jsdelivr.net",a={name:"jsDelivr",owner:i,host:r,stableClient:`https://${r}/gh/${i}/Bilibili-Evolved@master/dist/bilibili-evolved.user.js`,previewClient:`https://${r}/gh/${i}/Bilibili-Evolved@preview/dist/bilibili-evolved.preview.user.js`,library:{lodash:{url:`https://${r}/npm/lodash@4.17.21/lodash.min.js`,sha256:"a9705dfc47c0763380d851ab1801be6f76019f6b67e40e9b873f8b4a0603f7a9"},protobuf:{url:`https://${r}/npm/protobufjs@6.10.1/dist/light/protobuf.min.js`,sha256:"8978daf871b02d683ecaee371861702a6f31d0a4c52925b7db2bb1655a8bc7d1"},jszip:{url:`https://${r}/npm/jszip@3.7.1/dist/jszip.min.js`,sha256:"c9e4a52bac18aee4f3f90d05fbca603f5b0f5bf1ce8c45e60bb4ed3a2cb2ed86"},sortable:{url:`https://${r}/npm/sortablejs@1.14.0/Sortable.min.js`,sha256:"0ea5a6fbfbf5434b606878533cb7a66bcf700f0f08afe908335d0978fb63ad94"},streamsaver:{url:`https://${r}/npm/streamsaver@2.0.6/StreamSaver.js`,sha256:"a110f78e0b092481dc372901c4d57ae50681d773bc9d55e62356f9a22f17e24b"},ffmpeg:{worker:{url:`https://${r}/npm/@ffmpeg/ffmpeg@0.12.4/dist/umd/814.ffmpeg.js`,sha256:"baf19437171b1bccae4416e4da69fb40455b8e67142f79c8ec9da36b1de7fd8a"},core:{url:`https://${r}/npm/@ffmpeg/core@0.12.4/dist/umd/ffmpeg-core.js`,sha256:"6af6b8cd8c878dec6f61f3cd6be16e88f9391dd265e51f20afea5c0f718bfba0"},wasm:{url:`https://${r}/npm/@ffmpeg/core@0.12.4/dist/umd/ffmpeg-core.wasm`,sha256:"81bdc645b71d7d74ff56fdc0979c5fcb2f92ffcc7f24573a79681fed4ea73905"}}},smallLogo:`https://${r}/gh/${i}/Bilibili-Evolved@preview/images/logo-small.png`,logo:`https://${r}/gh/${i}/Bilibili-Evolved@preview/images/logo.png`,root:(e,t)=>`https://${r}/gh/${t||i}/Bilibili-Evolved@${e}/`},c="the1812",s="raw.githubusercontent.com",l={name:"GitHub",owner:c,host:s,stableClient:`https://${s}/${c}/Bilibili-Evolved/master/dist/bilibili-evolved.user.js`,previewClient:`https://${s}/${c}/Bilibili-Evolved/preview/dist/bilibili-evolved.preview.user.js`,library:{lodash:{url:`https://${s}/lodash/lodash/4.17.21/dist/lodash.min.js`,sha256:"a9705dfc47c0763380d851ab1801be6f76019f6b67e40e9b873f8b4a0603f7a9"},protobuf:{url:`https://${s}/protobufjs/protobuf.js/v6.10.1/dist/light/protobuf.min.js`,sha256:"8978daf871b02d683ecaee371861702a6f31d0a4c52925b7db2bb1655a8bc7d1"},jszip:{url:`https://${s}/Stuk/jszip/v3.7.1/dist/jszip.min.js`,sha256:"c9e4a52bac18aee4f3f90d05fbca603f5b0f5bf1ce8c45e60bb4ed3a2cb2ed86"},sortable:{url:`https://${s}/SortableJS/Sortable/1.14.0/Sortable.min.js`,sha256:"0ea5a6fbfbf5434b606878533cb7a66bcf700f0f08afe908335d0978fb63ad94"},streamsaver:{url:`https://${s}/jimmywarting/StreamSaver.js/2.0.6/StreamSaver.js`,sha256:"a110f78e0b092481dc372901c4d57ae50681d773bc9d55e62356f9a22f17e24b"},ffmpeg:a.library.ffmpeg},smallLogo:`https://${s}/${c}/Bilibili-Evolved/preview/images/logo-small.png`,logo:`https://${s}/${c}/Bilibili-Evolved/preview/images/logo.png`,root:(e,t)=>`https://${s}/${t||c}/Bilibili-Evolved/${e}/`},d=l,m={github:l,jsDelivr:a},u={...{year:(new Date).getFullYear(),version:o.version,altCdn:d,allCdns:m},commitHash:"58c0b438ca2371e397f70466a91572cb2757b142",branch:"master",nearestTag:"v2.10.7",versionWithTag:"v2.10.7-128-g58c0b438c"}},6481:(e,t,n)=>{var o=n(4176),i={};for(var r in o)o.hasOwnProperty(r)&&(i[o[r]]=r);var a=e.exports={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};for(var c in a)if(a.hasOwnProperty(c)){if(!("channels"in a[c]))throw new Error("missing channels property: "+c);if(!("labels"in a[c]))throw new Error("missing channel labels property: "+c);if(a[c].labels.length!==a[c].channels)throw new Error("channel and label counts mismatch: "+c);var s=a[c].channels,l=a[c].labels;delete a[c].channels,delete a[c].labels,Object.defineProperty(a[c],"channels",{value:s}),Object.defineProperty(a[c],"labels",{value:l})}a.rgb.hsl=function(e){var t,n,o=e[0]/255,i=e[1]/255,r=e[2]/255,a=Math.min(o,i,r),c=Math.max(o,i,r),s=c-a;return c===a?t=0:o===c?t=(i-r)/s:i===c?t=2+(r-o)/s:r===c&&(t=4+(o-i)/s),(t=Math.min(60*t,360))<0&&(t+=360),n=(a+c)/2,[t,100*(c===a?0:n<=.5?s/(c+a):s/(2-c-a)),100*n]},a.rgb.hsv=function(e){var t,n,o,i,r,a=e[0]/255,c=e[1]/255,s=e[2]/255,l=Math.max(a,c,s),d=l-Math.min(a,c,s),m=function(e){return(l-e)/6/d+.5};return 0===d?i=r=0:(r=d/l,t=m(a),n=m(c),o=m(s),a===l?i=o-n:c===l?i=1/3+t-o:s===l&&(i=2/3+n-t),i<0?i+=1:i>1&&(i-=1)),[360*i,100*r,100*l]},a.rgb.hwb=function(e){var t=e[0],n=e[1],o=e[2];return[a.rgb.hsl(e)[0],100*(1/255*Math.min(t,Math.min(n,o))),100*(o=1-1/255*Math.max(t,Math.max(n,o)))]},a.rgb.cmyk=function(e){var t,n=e[0]/255,o=e[1]/255,i=e[2]/255;return[100*((1-n-(t=Math.min(1-n,1-o,1-i)))/(1-t)||0),100*((1-o-t)/(1-t)||0),100*((1-i-t)/(1-t)||0),100*t]},a.rgb.keyword=function(e){var t=i[e];if(t)return t;var n,r,a,c=1/0;for(var s in o)if(o.hasOwnProperty(s)){var l=o[s],d=(r=e,a=l,Math.pow(r[0]-a[0],2)+Math.pow(r[1]-a[1],2)+Math.pow(r[2]-a[2],2));d.04045?Math.pow((t+.055)/1.055,2.4):t/12.92)+.3576*(n=n>.04045?Math.pow((n+.055)/1.055,2.4):n/12.92)+.1805*(o=o>.04045?Math.pow((o+.055)/1.055,2.4):o/12.92)),100*(.2126*t+.7152*n+.0722*o),100*(.0193*t+.1192*n+.9505*o)]},a.rgb.lab=function(e){var t=a.rgb.xyz(e),n=t[0],o=t[1],i=t[2];return o/=100,i/=108.883,n=(n/=95.047)>.008856?Math.pow(n,1/3):7.787*n+16/116,[116*(o=o>.008856?Math.pow(o,1/3):7.787*o+16/116)-16,500*(n-o),200*(o-(i=i>.008856?Math.pow(i,1/3):7.787*i+16/116))]},a.hsl.rgb=function(e){var t,n,o,i,r,a=e[0]/360,c=e[1]/100,s=e[2]/100;if(0===c)return[r=255*s,r,r];t=2*s-(n=s<.5?s*(1+c):s+c-s*c),i=[0,0,0];for(var l=0;l<3;l++)(o=a+1/3*-(l-1))<0&&o++,o>1&&o--,r=6*o<1?t+6*(n-t)*o:2*o<1?n:3*o<2?t+(n-t)*(2/3-o)*6:t,i[l]=255*r;return i},a.hsl.hsv=function(e){var t=e[0],n=e[1]/100,o=e[2]/100,i=n,r=Math.max(o,.01);return n*=(o*=2)<=1?o:2-o,i*=r<=1?r:2-r,[t,100*(0===o?2*i/(r+i):2*n/(o+n)),100*((o+n)/2)]},a.hsv.rgb=function(e){var t=e[0]/60,n=e[1]/100,o=e[2]/100,i=Math.floor(t)%6,r=t-Math.floor(t),a=255*o*(1-n),c=255*o*(1-n*r),s=255*o*(1-n*(1-r));switch(o*=255,i){case 0:return[o,s,a];case 1:return[c,o,a];case 2:return[a,o,s];case 3:return[a,c,o];case 4:return[s,a,o];case 5:return[o,a,c]}},a.hsv.hsl=function(e){var t,n,o,i=e[0],r=e[1]/100,a=e[2]/100,c=Math.max(a,.01);return o=(2-r)*a,n=r*c,[i,100*(n=(n/=(t=(2-r)*c)<=1?t:2-t)||0),100*(o/=2)]},a.hwb.rgb=function(e){var t,n,o,i,r,a,c,s=e[0]/360,l=e[1]/100,d=e[2]/100,m=l+d;switch(m>1&&(l/=m,d/=m),o=6*s-(t=Math.floor(6*s)),1&t&&(o=1-o),i=l+o*((n=1-d)-l),t){default:case 6:case 0:r=n,a=i,c=l;break;case 1:r=i,a=n,c=l;break;case 2:r=l,a=n,c=i;break;case 3:r=l,a=i,c=n;break;case 4:r=i,a=l,c=n;break;case 5:r=n,a=l,c=i}return[255*r,255*a,255*c]},a.cmyk.rgb=function(e){var t=e[0]/100,n=e[1]/100,o=e[2]/100,i=e[3]/100;return[255*(1-Math.min(1,t*(1-i)+i)),255*(1-Math.min(1,n*(1-i)+i)),255*(1-Math.min(1,o*(1-i)+i))]},a.xyz.rgb=function(e){var t,n,o,i=e[0]/100,r=e[1]/100,a=e[2]/100;return n=-.9689*i+1.8758*r+.0415*a,o=.0557*i+-.204*r+1.057*a,t=(t=3.2406*i+-1.5372*r+-.4986*a)>.0031308?1.055*Math.pow(t,1/2.4)-.055:12.92*t,n=n>.0031308?1.055*Math.pow(n,1/2.4)-.055:12.92*n,o=o>.0031308?1.055*Math.pow(o,1/2.4)-.055:12.92*o,[255*(t=Math.min(Math.max(0,t),1)),255*(n=Math.min(Math.max(0,n),1)),255*(o=Math.min(Math.max(0,o),1))]},a.xyz.lab=function(e){var t=e[0],n=e[1],o=e[2];return n/=100,o/=108.883,t=(t/=95.047)>.008856?Math.pow(t,1/3):7.787*t+16/116,[116*(n=n>.008856?Math.pow(n,1/3):7.787*n+16/116)-16,500*(t-n),200*(n-(o=o>.008856?Math.pow(o,1/3):7.787*o+16/116))]},a.lab.xyz=function(e){var t,n,o,i=e[0];t=e[1]/500+(n=(i+16)/116),o=n-e[2]/200;var r=Math.pow(n,3),a=Math.pow(t,3),c=Math.pow(o,3);return n=r>.008856?r:(n-16/116)/7.787,t=a>.008856?a:(t-16/116)/7.787,o=c>.008856?c:(o-16/116)/7.787,[t*=95.047,n*=100,o*=108.883]},a.lab.lch=function(e){var t,n=e[0],o=e[1],i=e[2];return(t=360*Math.atan2(i,o)/2/Math.PI)<0&&(t+=360),[n,Math.sqrt(o*o+i*i),t]},a.lch.lab=function(e){var t,n=e[0],o=e[1];return t=e[2]/360*2*Math.PI,[n,o*Math.cos(t),o*Math.sin(t)]},a.rgb.ansi16=function(e){var t=e[0],n=e[1],o=e[2],i=1 in arguments?arguments[1]:a.rgb.hsv(e)[2];if(0===(i=Math.round(i/50)))return 30;var r=30+(Math.round(o/255)<<2|Math.round(n/255)<<1|Math.round(t/255));return 2===i&&(r+=60),r},a.hsv.ansi16=function(e){return a.rgb.ansi16(a.hsv.rgb(e),e[2])},a.rgb.ansi256=function(e){var t=e[0],n=e[1],o=e[2];return t===n&&n===o?t<8?16:t>248?231:Math.round((t-8)/247*24)+232:16+36*Math.round(t/255*5)+6*Math.round(n/255*5)+Math.round(o/255*5)},a.ansi16.rgb=function(e){var t=e%10;if(0===t||7===t)return e>50&&(t+=3.5),[t=t/10.5*255,t,t];var n=.5*(1+~~(e>50));return[(1&t)*n*255,(t>>1&1)*n*255,(t>>2&1)*n*255]},a.ansi256.rgb=function(e){if(e>=232){var t=10*(e-232)+8;return[t,t,t]}var n;return e-=16,[Math.floor(e/36)/5*255,Math.floor((n=e%36)/6)/5*255,n%6/5*255]},a.rgb.hex=function(e){var t=(((255&Math.round(e[0]))<<16)+((255&Math.round(e[1]))<<8)+(255&Math.round(e[2]))).toString(16).toUpperCase();return"000000".substring(t.length)+t},a.hex.rgb=function(e){var t=e.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!t)return[0,0,0];var n=t[0];3===t[0].length&&(n=n.split("").map((function(e){return e+e})).join(""));var o=parseInt(n,16);return[o>>16&255,o>>8&255,255&o]},a.rgb.hcg=function(e){var t,n=e[0]/255,o=e[1]/255,i=e[2]/255,r=Math.max(Math.max(n,o),i),a=Math.min(Math.min(n,o),i),c=r-a;return t=c<=0?0:r===n?(o-i)/c%6:r===o?2+(i-n)/c:4+(n-o)/c+4,t/=6,[360*(t%=1),100*c,100*(c<1?a/(1-c):0)]},a.hsl.hcg=function(e){var t=e[1]/100,n=e[2]/100,o=1,i=0;return(o=n<.5?2*t*n:2*t*(1-n))<1&&(i=(n-.5*o)/(1-o)),[e[0],100*o,100*i]},a.hsv.hcg=function(e){var t=e[1]/100,n=e[2]/100,o=t*n,i=0;return o<1&&(i=(n-o)/(1-o)),[e[0],100*o,100*i]},a.hcg.rgb=function(e){var t=e[0]/360,n=e[1]/100,o=e[2]/100;if(0===n)return[255*o,255*o,255*o];var i,r=[0,0,0],a=t%1*6,c=a%1,s=1-c;switch(Math.floor(a)){case 0:r[0]=1,r[1]=c,r[2]=0;break;case 1:r[0]=s,r[1]=1,r[2]=0;break;case 2:r[0]=0,r[1]=1,r[2]=c;break;case 3:r[0]=0,r[1]=s,r[2]=1;break;case 4:r[0]=c,r[1]=0,r[2]=1;break;default:r[0]=1,r[1]=0,r[2]=s}return i=(1-n)*o,[255*(n*r[0]+i),255*(n*r[1]+i),255*(n*r[2]+i)]},a.hcg.hsv=function(e){var t=e[1]/100,n=t+e[2]/100*(1-t),o=0;return n>0&&(o=t/n),[e[0],100*o,100*n]},a.hcg.hsl=function(e){var t=e[1]/100,n=e[2]/100*(1-t)+.5*t,o=0;return n>0&&n<.5?o=t/(2*n):n>=.5&&n<1&&(o=t/(2*(1-n))),[e[0],100*o,100*n]},a.hcg.hwb=function(e){var t=e[1]/100,n=t+e[2]/100*(1-t);return[e[0],100*(n-t),100*(1-n)]},a.hwb.hcg=function(e){var t=e[1]/100,n=1-e[2]/100,o=n-t,i=0;return o<1&&(i=(n-o)/(1-o)),[e[0],100*o,100*i]},a.apple.rgb=function(e){return[e[0]/65535*255,e[1]/65535*255,e[2]/65535*255]},a.rgb.apple=function(e){return[e[0]/255*65535,e[1]/255*65535,e[2]/255*65535]},a.gray.rgb=function(e){return[e[0]/100*255,e[0]/100*255,e[0]/100*255]},a.gray.hsl=a.gray.hsv=function(e){return[0,0,e[0]]},a.gray.hwb=function(e){return[0,100,e[0]]},a.gray.cmyk=function(e){return[0,0,0,e[0]]},a.gray.lab=function(e){return[e[0],0,0]},a.gray.hex=function(e){var t=255&Math.round(e[0]/100*255),n=((t<<16)+(t<<8)+t).toString(16).toUpperCase();return"000000".substring(n.length)+n},a.rgb.gray=function(e){return[(e[0]+e[1]+e[2])/3/255*100]}},4732:(e,t,n)=>{var o=n(6481),i=n(1157),r={};Object.keys(o).forEach((function(e){r[e]={},Object.defineProperty(r[e],"channels",{value:o[e].channels}),Object.defineProperty(r[e],"labels",{value:o[e].labels});var t=i(e);Object.keys(t).forEach((function(n){var o=t[n];r[e][n]=function(e){var t=function(t){if(null==t)return t;arguments.length>1&&(t=Array.prototype.slice.call(arguments));var n=e(t);if("object"==typeof n)for(var o=n.length,i=0;i1&&(t=Array.prototype.slice.call(arguments)),e(t))};return"conversion"in e&&(t.conversion=e.conversion),t}(o)}))})),e.exports=r},1157:(e,t,n)=>{var o=n(6481);function i(e){var t=function(){for(var e={},t=Object.keys(o),n=t.length,i=0;i{"use strict";e.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}},4877:e=>{"use strict";e.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}},6138:(e,t,n)=>{var o=n(4877),i=n(301),r=Object.hasOwnProperty,a=Object.create(null);for(var c in o)r.call(o,c)&&(a[o[c]]=c);var s=e.exports={to:{},get:{}};function l(e,t,n){return Math.min(Math.max(t,e),n)}function d(e){var t=Math.round(e).toString(16).toUpperCase();return t.length<2?"0"+t:t}s.get=function(e){var t,n;switch(e.substring(0,3).toLowerCase()){case"hsl":t=s.get.hsl(e),n="hsl";break;case"hwb":t=s.get.hwb(e),n="hwb";break;default:t=s.get.rgb(e),n="rgb"}return t?{model:n,value:t}:null},s.get.rgb=function(e){if(!e)return null;var t,n,i,a=[0,0,0,1];if(t=e.match(/^#([a-f0-9]{6})([a-f0-9]{2})?$/i)){for(i=t[2],t=t[1],n=0;n<3;n++){var c=2*n;a[n]=parseInt(t.slice(c,c+2),16)}i&&(a[3]=parseInt(i,16)/255)}else if(t=e.match(/^#([a-f0-9]{3,4})$/i)){for(i=(t=t[1])[3],n=0;n<3;n++)a[n]=parseInt(t[n]+t[n],16);i&&(a[3]=parseInt(i+i,16)/255)}else if(t=e.match(/^rgba?\(\s*([+-]?\d+)(?=[\s,])\s*(?:,\s*)?([+-]?\d+)(?=[\s,])\s*(?:,\s*)?([+-]?\d+)\s*(?:[,|\/]\s*([+-]?[\d\.]+)(%?)\s*)?\)$/)){for(n=0;n<3;n++)a[n]=parseInt(t[n+1],0);t[4]&&(t[5]?a[3]=.01*parseFloat(t[4]):a[3]=parseFloat(t[4]))}else{if(!(t=e.match(/^rgba?\(\s*([+-]?[\d\.]+)\%\s*,?\s*([+-]?[\d\.]+)\%\s*,?\s*([+-]?[\d\.]+)\%\s*(?:[,|\/]\s*([+-]?[\d\.]+)(%?)\s*)?\)$/)))return(t=e.match(/^(\w+)$/))?"transparent"===t[1]?[0,0,0,0]:r.call(o,t[1])?((a=o[t[1]])[3]=1,a):null:null;for(n=0;n<3;n++)a[n]=Math.round(2.55*parseFloat(t[n+1]));t[4]&&(t[5]?a[3]=.01*parseFloat(t[4]):a[3]=parseFloat(t[4]))}for(n=0;n<3;n++)a[n]=l(a[n],0,255);return a[3]=l(a[3],0,1),a},s.get.hsl=function(e){if(!e)return null;var t=e.match(/^hsla?\(\s*([+-]?(?:\d{0,3}\.)?\d+)(?:deg)?\s*,?\s*([+-]?[\d\.]+)%\s*,?\s*([+-]?[\d\.]+)%\s*(?:[,|\/]\s*([+-]?(?=\.\d|\d)(?:0|[1-9]\d*)?(?:\.\d*)?(?:[eE][+-]?\d+)?)\s*)?\)$/);if(t){var n=parseFloat(t[4]);return[(parseFloat(t[1])%360+360)%360,l(parseFloat(t[2]),0,100),l(parseFloat(t[3]),0,100),l(isNaN(n)?1:n,0,1)]}return null},s.get.hwb=function(e){if(!e)return null;var t=e.match(/^hwb\(\s*([+-]?\d{0,3}(?:\.\d+)?)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?(?=\.\d|\d)(?:0|[1-9]\d*)?(?:\.\d*)?(?:[eE][+-]?\d+)?)\s*)?\)$/);if(t){var n=parseFloat(t[4]);return[(parseFloat(t[1])%360+360)%360,l(parseFloat(t[2]),0,100),l(parseFloat(t[3]),0,100),l(isNaN(n)?1:n,0,1)]}return null},s.to.hex=function(){var e=i(arguments);return"#"+d(e[0])+d(e[1])+d(e[2])+(e[3]<1?d(Math.round(255*e[3])):"")},s.to.rgb=function(){var e=i(arguments);return e.length<4||1===e[3]?"rgb("+Math.round(e[0])+", "+Math.round(e[1])+", "+Math.round(e[2])+")":"rgba("+Math.round(e[0])+", "+Math.round(e[1])+", "+Math.round(e[2])+", "+e[3]+")"},s.to.rgb.percent=function(){var e=i(arguments),t=Math.round(e[0]/255*100),n=Math.round(e[1]/255*100),o=Math.round(e[2]/255*100);return e.length<4||1===e[3]?"rgb("+t+"%, "+n+"%, "+o+"%)":"rgba("+t+"%, "+n+"%, "+o+"%, "+e[3]+")"},s.to.hsl=function(){var e=i(arguments);return e.length<4||1===e[3]?"hsl("+e[0]+", "+e[1]+"%, "+e[2]+"%)":"hsla("+e[0]+", "+e[1]+"%, "+e[2]+"%, "+e[3]+")"},s.to.hwb=function(){var e=i(arguments),t="";return e.length>=4&&1!==e[3]&&(t=", "+e[3]),"hwb("+e[0]+", "+e[1]+"%, "+e[2]+"%"+t+")"},s.to.keyword=function(e){return a[e.slice(0,3)]}},3639:(e,t,n)=>{"use strict";var o=n(6138),i=n(4732),r=[].slice,a=["keyword","gray","hex"],c={};Object.keys(i).forEach((function(e){c[r.call(i[e].labels).sort().join("")]=e}));var s={};function l(e,t){if(!(this instanceof l))return new l(e,t);if(t&&t in a&&(t=null),t&&!(t in i))throw new Error("Unknown model: "+t);var n,d;if(null==e)// eslint-disable-line no-eq-null,eqeqeq +e.__vue__??e.parentElement.__vue__??e.children[0].__vue__??e.__vueParentComponent;function Q(e,t){return Vue.extend({render:n=>n(e,{props:t})})}},7656:(e,t,n)=>{"use strict";n.r(t),n.d(t,{ScopedConsoleCallHook:()=>m,ScopedConsoleCreateHook:()=>d,logError:()=>a,randomScopedConsole:()=>f,useScopedConsole:()=>u});var o=n(5830),i=n(8418),r=n(3558);const a=async(e,t)=>{let o;"string"==typeof e?(o=e,console.error(o)):(o=(0,r.getGeneralSettings)().devMode?e.stack:e.message,console.error(e));const{Toast:i}=await Promise.resolve().then(n.bind(n,2692));i.error(o,"错误",t)},c=Symbol("ScopedConsole"),s=Symbol("NamePatch"),l={default:"#78909C",warn:"#CC7A00",error:"#BF6060",group:"#9575CD"},d="scopedConsole.create",m="scopedConsole.call",u=e=>{const{before:t,after:n}=(0,o.getHook)(d),{name:i,color:a=l.default,console:u=window.console}="string"==typeof e?{name:e}:e,f={name:i,color:a,console:u};t(e,u);let p=0;const b=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:t.color;const i=e[c],r=(i?t.color:n)??l.default,a=i?["%c "]:["%c"],d={badgeNames:[...i?.badgeNames??[],...a,`%c${t.name}`],badgeValues:[...i?.badgeValues??[],"",`background-color: ${r}; color: #fff; padding: 2px 4px; border-radius: 4px;`],original:i?.original??e},u=d.original,f=function(){for(var e=arguments.length,t=new Array(e),n=0;n2&&void 0!==arguments[2]?arguments[2]:t.color,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:e=>e;const i=b(e,t,n),r=function(){for(var e=arguments.length,t=new Array(e),n=0;n{g[e][s]||(g[e][s]=e)}));const v={...unsafeWindow.console,...u};return v.log=b(u.log,f),v.info=b(u.info,f),v.warn=b(u.warn,f,l.warn),v.error=b(u.error,f,l.error),v.group=h(u.group,f,l.group,(e=>e+1)),v.groupCollapsed=h(u.groupCollapsed,f,l.group,(e=>e+1)),v.groupEnd=h(u.groupEnd,f,l.group,(e=>e-1)),v.debug=(()=>{const e=b(u.debug,f);return function(){if((0,r.getGeneralSettings)().devMode){for(var t=arguments.length,n=new Array(t),o=0;ou({...e,name:(0,i.getRandomId)()})},7560:(e,t,n)=>{"use strict";n.r(t),n.d(t,{ascendingBigIntSort:()=>a,ascendingSort:()=>i,ascendingStringSort:()=>r,descendingBigIntSort:()=>l,descendingSort:()=>c,descendingStringSort:()=>s});const o=e=>e,i=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:o;return(t,n)=>e(t)-e(n)},r=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:o;return(t,n)=>e(t).localeCompare(e(n))},a=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:o;return(t,n)=>{const o=BigInt(e(t)),i=BigInt(e(n));return o===i?0:o>i?1:-1}},c=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:o;return(t,n)=>e(n)-e(t)},s=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:o;return(t,n)=>e(n).localeCompare(e(t))},l=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:o;return(t,n)=>-a(e)(t,n)}},5936:(e,t,n)=>{"use strict";n.r(t),n.d(t,{formatTitle:()=>s,getFriendlyTitle:()=>l,getTitleVariablesFromDate:()=>c});var o=n(8418),i=n(3558),r=n(1787),a=n(7560);const c=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2;return{year:e.getFullYear().toString(),month:(e.getMonth()+1).toString().padStart(t,"0"),day:e.getDate().toString().padStart(t,"0"),hour:e.getHours().toString().padStart(t,"0"),minute:e.getMinutes().toString().padStart(t,"0"),second:e.getSeconds().toString().padStart(t,"0"),millisecond:e.getMilliseconds().toString().substring(0,3)}},s=function(e){let t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const i=c(new Date),s={...{title:(()=>{const e=(0,o.dq)(".video-info-container .video-title");if(null!==e)return e.getAttribute("title");const t=(0,o.dq)('[class*="mediainfo_mediaTitle"]');if(null!==t)return t.getAttribute("title");const n=(0,o.dq)(".header-info-ctnr .live-title .text");return null!==n?n.getAttribute("title"):document.title.replace(/第[0-9]*[零一二三四五六七八九十百千]*[集话]-[^-]+-[^-]+-[^-]+在线观看-bilibili-哔哩哔哩$/,"").replace(/-[^-]+-[^-]+-[^-]+在线观看-bilibili-哔哩哔哩$/,"").replace(/-[^-]+-[^-]+在线观看-bilibili-哔哩哔哩$/,"").replace(/:([^:]+?)_.+?_bilibili_哔哩哔哩$/,"").replace(/_哔哩哔哩_bilibili$/,"").replace(/ - 哔哩哔哩$/,"").replace(/_哔哩哔哩 \(゜-゜\)つロ 干杯~-bilibili$/,"").replace(/(.*?) - (.*?) - 哔哩哔哩直播,二次元弹幕直播平台$/,"$1").trim()})(),ep:(()=>{if(!t)return;const e=(0,o.dq)("#eplist_module li.cursor .ep-title");if(null!==e)return e.innerText;const n=(0,o.dq)("#multi_page .cur-list>ul li.on a, .video-episode-card__info-playing .video-episode-card__info-title");if(null!==n)return n.getAttribute("title");const i=(0,o.dq)(".multip-list-item.multip-list-item-active");return null!==i?i.getAttribute("title"):void 0})(),aid:unsafeWindow.aid,bvid:unsafeWindow.bvid,cid:unsafeWindow.cid,lid:document.URL.replace(/https:\/\/live\.bilibili\.com\/(blanc\/)?([\d]+)/,"$2"),y:i.year,M:i.month,d:i.day,h:i.hour,m:i.minute,s:i.second,ms:i.millisecond},...n},l=(e=>{let t=0,n=0;const o=[];return e.split("").forEach(((i,r)=>{"["===i&&(0===n?(o.push(e.substring(t,r)),t=r):n++),"]"===i&&(0===n?(o.push(e.substring(t,r+1)),t=r+1):n--)})),t""!==e))})(e),d=Object.entries(s).sort((0,a.descendingSort)((e=>{let[t]=e;return t.length}))),m=l.map((e=>{if(!e.startsWith("[")||!e.endsWith("]"))return e;for(const[t,n]of d){const o=new RegExp(`^\\[([^\\[\\]]*?)${t}([^\\[\\]]*?)\\]$`),i=e.match(o);if(i&&Boolean(n))return`${i[1]??""}${n}${i[2]??""}`}return""})).join("");return(0,r.formatFilename)(m," ")},l=function(){let e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return s((0,i.getGeneralSettings)().filenameFormat,e,t)}},3694:(e,t,n)=>{"use strict";n.r(t),n.d(t,{allVideoUrls:()=>f,bangumiUrls:()=>d,cheeseUrls:()=>m,columnUrls:()=>v,favoriteListUrls:()=>r,feedsUrls:()=>g,feedsUrlsWithoutDetail:()=>h,festivalUrls:()=>s,liveUrls:()=>b,mainSiteUrls:()=>p,matchCurrentPage:()=>w,mediaListUrls:()=>c,playerUrls:()=>F,upListUrls:()=>a,videoAndBangumiUrls:()=>u,videoUrls:()=>l,watchlaterUrls:()=>i});var o=n(8418);const i=["//www.bilibili.com/medialist/play/watchlater","//www.bilibili.com/list/watchlater"],r=["//www.bilibili.com/medialist/play/ml","//www.bilibili.com/list/ml"],a=[/\/\/www\.bilibili\.com\/medialist\/play\/\d+/,/\/\/www\.bilibili\.com\/list\/\d+/],c=[...i,...r,...a,/\/\/www\.bilibili\.com\/list\//],s=[/\/\/www\.bilibili\.com\/festival\//],l=["//www.bilibili.com/video/",...s,...c],d=["//www.bilibili.com/bangumi/play/"],m=["//www.bilibili.com/cheese/"],u=[...l,...d],f=[...u,...m],p=["https://www.bilibili.com/v/","https://www.bilibili.com/c/",/^https:\/\/www\.bilibili\.com\/$/,/^https:\/\/www\.bilibili\.com\/([^\/]+)\.html$/,/^https:\/\/www\.bilibili\.com\/watchlater\/#\/list$/,"https://www.bilibili.com/account/"],b=[/^https:\/\/live\.bilibili\.com\/(blanc\/)?[\d]+/],h=[/^https:\/\/t\.bilibili\.com\/$/,/^https:\/\/space\.bilibili\.com\//,/^https:\/\/live\.bilibili\.com\/(blanc\/)?[\d]+/],g=[...h,/^https:\/\/t\.bilibili\.com\//,/^https:\/\/www\.bilibili\.com\/opus\/[\d]+$/],v=[/^https:\/\/www\.bilibili\.com\/read\/cv/],F=["//player.bilibili.com","//www.bilibili.com/html/player.html",...l,...d,...m],w=function(){for(var e=arguments.length,t=new Array(e),n=0;nArray.isArray(e)?e.some((e=>(0,o.matchUrlPattern)(e))):(0,o.matchUrlPattern)(e)))}},7848:(e,t,n)=>{"use strict";n.r(t),n.d(t,{CompareResult:()=>c,Version:()=>s,isFeatureAcceptable:()=>l});var o=n(3791),i=n(5035),r=n(7656);function a(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!=typeof o)return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}let c=function(e){return e[e.Less=-1]="Less",e[e.Equal=0]="Equal",e[e.Greater=1]="Greater",e[e.Incomparable=NaN]="Incomparable",e}({});class s{constructor(e){if(this.versionString=e,a(this,"parts",void 0),!/^[\d\.]+$/.test(e))throw new Error("Invalid version string");this.parts=e.split(".").map((e=>parseInt(e)))}compareTo(e){for(let t=0;te.parts[t]?c.Greater:c.Less}return this.parts.length!==e.parts.length?c.Less:c.Equal}greaterThan(e){return this.compareTo(e)===c.Greater}lessThan(e){return this.compareTo(e)===c.Less}equals(e){return this.compareTo(e)===c.Equal}}const l=async e=>{try{const t=(0,r.useScopedConsole)("isFeatureAcceptable");if("string"==typeof e&&(e=(0,o.loadFeatureCode)(e)),null==e)return!1;const{version:n}=i.meta.compilationInfo,{coreVersion:a}=e;if(t.log("currentVersion =",n,", requiredVersion =",a),!a||!n)return!0;const c=new s(n),l=new s(a);return c.equals(l)||c.greaterThan(l)}catch(t){return console.warn("check failed, feature =",e),!0}}},5417:(e,t,n)=>{"use strict";n.r(t),n.d(t,{addData:()=>r,getData:()=>a,registerAndGetData:()=>c,registerData:()=>i});const o=new Map,i=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),i=1;i{if(o.has(e)){const{providers:n,loaded:i,data:r}=o.get(e);i?t(...r):n.push(t)}else o.set(e,{registered:!1,data:[],loaded:!1,providers:[t]})},a=e=>{if(o.has(e)){const t=o.get(e),{data:n,registered:i,loaded:r,providers:a}=t;if(i)return r||(a.forEach((e=>e(...n))),t.providers=[],t.loaded=!0),n}return[]},c=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),o=1;o{"use strict";n.r(t),n.d(t,{addHook:()=>i,getHook:()=>r});const o=new Map,i=(e,t)=>{if(o.has(e)){const{providers:n}=o.get(e);n.push(t)}else o.set(e,{providers:[t]})},r=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),i=1;ie.before?.(...n.concat(t)))))},after:async function(){for(var e=arguments.length,t=new Array(e),o=0;oe.after?.(...n.concat(t)))))}}}return{before:async()=>Promise.all([]),after:async()=>Promise.all([])}}},8006:(e,t,n)=>{"use strict";n.r(t),n.d(t,{plugin:()=>r});const o=async(e,t,o)=>{const i={name:t,icon:"mdi-content-copy",description:`复制${e}`,indexer:o,action:async()=>{if(i.name===t){await navigator.clipboard.writeText(t);const{Toast:o}=await Promise.resolve().then(n.bind(n,2692));o.success("复制成功",`复制${e}`,1500)}}};return[i]},i=[{pattern:/^av([\d]+)$/i,getActions:async e=>{const{getJsonWithCredentials:t}=await Promise.resolve().then(n.bind(n,392)),i=await t(`https://api.bilibili.com/x/web-interface/view?aid=${e[1]}`),r=lodash.get(i,"data",{}),{bvid:a,title:c}=r,s=`av${e[1]}`;return{name:c||s,description:"av号跳转",indexer:s,link:`https://www.bilibili.com/av${e[1]}`,extraActions:a?await o("BV号",a,s):[]}}},{pattern:/^bv([\da-zA-Z]+)$/i,getActions:async e=>{const{getJsonWithCredentials:t}=await Promise.resolve().then(n.bind(n,392)),i=await t(`https://api.bilibili.com/x/web-interface/view?bvid=${e[1]}`),r=lodash.get(i,"data",{}),{aid:a,title:c}=r,s=`BV${e[1]}`;return{name:c||s,description:"BV号跳转",indexer:s,link:`https://www.bilibili.com/BV${e[1]}`,extraActions:a?await o("av号",`av${a}`,s):[]}}}],r={name:"launchBar.actions.IDSearch",displayName:"搜索栏 - 视频跳转",async setup(){const{addData:e}=await Promise.resolve().then(n.bind(n,5417)),{LaunchBarActionProviders:t}=await Promise.resolve().then(n.bind(n,9467));e(t,(e=>{e.push({name:"IDSearchProvider",getActions:async e=>{const t=[];for(const n of i){const o=e.match(n.pattern);if(o){const{name:e,description:i="",indexer:r,link:a,extraActions:c=[]}=await n.getActions(o);t.push({name:e,icon:"mdi-open-in-new",indexer:r,description:i,action:()=>{window.open(a,"_blank")},order:0},...c)}}return t}})}))},commitHash:"d87d69cfb9d7e0124bd90a06fec4569bd61e02c5",coreVersion:"2.10.7"}},6010:(e,t,n)=>{"use strict";n.r(t),n.d(t,{extractPluginFromComponent:()=>d,installPlugin:()=>s,loadAllPlugins:()=>u,loadPlugin:()=>m,plugins:()=>c,pluginsMap:()=>a,uninstallPlugin:()=>l});var o=n(8418),i=n(5417),r=n(5830);const a={},c=lodash.once((()=>{const e=n(6761);return e.keys().map((t=>{const n=e(t);if("plugin"in n){const e=n.plugin;return a[e.name]=e,e}})).filter((e=>void 0!==e))}))(),s=async e=>{const{loadFeatureCode:t}=await Promise.resolve().then(n.bind(n,3791));let o;try{o=t(e)}catch(e){throw new Error("无效的插件代码",e)}const{settings:i}=await Promise.resolve().then(n.bind(n,3558)),r=i.userPlugins[o.name];if(r)return r.code=e,r.name=o.name,r.displayName=o.displayName||o.name,{metadata:o,message:`已更新插件'${o.displayName}', 刷新后生效`};const a={code:e,displayName:o.name,...o};return i.userPlugins[o.name]=a,c.push(a),{metadata:o,message:`已安装插件'${o.displayName||o.name}', 刷新后生效`}},l=async e=>{const{settings:t}=await Promise.resolve().then(n.bind(n,3558)),i=Object.entries(t.userPlugins).find((t=>{let[n,{displayName:o}]=t;return n===e||o===e}));if(!i)throw new Error(`没有找到与名称'${e}'相关联的插件`);const[r,a]=i;return delete t.userPlugins[r],(0,o.deleteValue)(c,(e=>e.name===r)),{metadata:a,message:`已卸载插件'${a.displayName}', 刷新后生效`}},d=e=>e.plugin?{name:`${e.name}.plugin`,displayName:`${e.displayName} - 附带插件`,...e.plugin}:null,m=async e=>{if(e.setup){const{pluginLoadTrace:t}=await Promise.resolve().then(n.bind(n,9530));await t(e);const{coreApis:o}=await Promise.resolve().then(n.bind(n,6482));return e.setup({coreApis:o,addData:i.addData,addHook:r.addHook,registerData:i.registerData,registerAndGetData:i.registerAndGetData,getHook:r.getHook})}return null},u=async e=>{const{settings:t,getGeneralSettings:o}=await Promise.resolve().then(n.bind(n,3558)),{loadFeatureCode:i}=await Promise.resolve().then(n.bind(n,6716));for(const t of e){const e=d(t);e&&c.push(e)}for(const[e,n]of Object.entries(t.userPlugins)){const{code:t}=n;let o;try{o=i(t)}catch(t){console.error("从代码加载用户插件失败。代码可能包含语法错误或执行时产生了异常",{pluginName:e,error:t});continue}c.push(o)}return Promise.allSettled(c.map(m)).then((async()=>{if(o().devMode){const{pluginLoadTime:e,pluginResolveTime:t}=await Promise.resolve().then(n.bind(n,9530)),{logStats:o}=await Promise.resolve().then(n.bind(n,6102));o("plugins block",e),o("plugins resolve",t)}}))}},4892:(e,t,n)=>{"use strict";n.r(t),n.d(t,{UserStyleMode:()=>r,installStyle:()=>c,styles:()=>a,uninstallStyle:()=>s});var o=n(3558),i=n(8418);let r=function(e){return e.Default="default",e.Instant="instant",e.Important="important",e}({});const a=Object.values(o.settings.userStyles),c=async e=>{try{let t;const{loadFeatureCode:i}=await Promise.resolve().then(n.bind(n,3791));t="string"==typeof e?i(e):e;const{name:c,style:s,displayName:l,mode:d}=t,{removeStyle:m,addImportantStyle:u,addStyle:f}=await Promise.resolve().then(n.bind(n,9425)),p=o.settings.userStyles[c];if(p)Object.assign(p,t),m(c);else{const e={displayName:c,mode:r.Default,...t};o.settings.userStyles[c]=e,a.push(e)}return d===r.Important?u(s,c):f(s,c),{metadata:t,message:`已安装样式'${l||c}'`}}catch(e){throw new Error("无效的样式代码",{cause:e})}},s=async e=>{const t=Object.entries(o.settings.userStyles).find((t=>{let[n,{displayName:o}]=t;return n===e||o===e}));if(!t)throw new Error(`没有找到与名称'${e}'相关联的样式`);const{removeStyle:r}=await Promise.resolve().then(n.bind(n,9425)),[c,{displayName:s}]=t;return r(c),delete o.settings.userStyles[c],(0,i.deleteValue)(a,(e=>e.name===c)),{metadata:t,message:`已卸载样式'${s}'`}}},5113:(e,t,n)=>{"use strict";n.r(t),n.d(t,{AsyncButton:()=>s,CheckBox:()=>h,CollapsibleContainer:()=>vt,ColorPicker:()=>E,DefaultWidget:()=>mt,DpiImage:()=>P,ImagePicker:()=>j,ImageViewer:()=>Y,MiniToast:()=>Nt.A,OptionRadioGroup:()=>jt,OptionWidgetLayout:()=>Mt,ProgressBar:()=>ne,ProgressRing:()=>se,RadioButton:()=>fe,RadioGroupItem:()=>Et,RangeInput:()=>we,ScrollTrigger:()=>Be,SwitchBox:()=>De.A,TabControl:()=>Oe,TextArea:()=>qe,TextBox:()=>Ue.default,VButton:()=>r.default,VDropdown:()=>Ke,VEmpty:()=>ot,VIcon:()=>o.default,VLoading:()=>it.default,VPopup:()=>Ze.default,VSlider:()=>rt.default,showImage:()=>X});var o=n(4833),i=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("VButton",e._g(e._b({attrs:{disabled:e.disabled||e.internalDisabled},on:{click:e.onClick}},"VButton",e.$attrs,!1),e.listeners),[e._t("default",(function(){return[e._v("Button")]}))],2)};i._withStripped=!0;var r=n(7389);const a=Vue.extend({components:{VButton:r.default},props:{disabled:{type:Boolean,default:!1}},data:()=>({internalDisabled:!1}),computed:{listeners(){return lodash.omit(this.$listeners,"click")},onClick(){var e=this;return async function(){try{e.internalDisabled=!0;for(var t=arguments.length,n=new Array(t),o=0;oPromise.resolve().then(n.bind(n,7389)).then((e=>e.default)),VIcon:()=>Promise.resolve().then(n.bind(n,4833)).then((e=>e.default))},model:{prop:"checked",event:"change"},props:{checked:{type:Boolean,required:!0},iconPosition:{type:String,default:"left"},checkedIcon:{type:String,default:"mdi-checkbox-marked-circle"},notCheckedIcon:{type:String,default:"mdi-checkbox-blank-circle-outline"}}});var m=n(6991),u=n.n(m),f=n(6183),p=n.n(f),b={insert:"head",singleton:!1};u()(p(),b);p().locals;const h=(0,c.A)(d,l,[],!1,null,"07bbf374",null).exports;var g=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"be-color-picker"},[t("div",{directives:[{name:"hit",rawName:"v-hit",value:()=>e.popupOpened=!e.popupOpened,expression:"() => (popupOpened = !popupOpened)"}],ref:"button",staticClass:"selected-color",style:{backgroundColor:e.color,width:e.size+"px",height:e.size+"px"},attrs:{role:"button",tabindex:"0"}}),e._v(" "),t("VPopup",{staticClass:"picker",class:{compact:e.compact},style:{"--offset":e.popupOffset+"px"},attrs:{"esc-close":"","auto-close":!1,"trigger-element":e.$refs.button},model:{value:e.popupOpened,callback:function(t){e.popupOpened=t},expression:"popupOpened"}},[t("div",{staticClass:"item-group"},[t("div",{staticClass:"item-title"},[e._v("预设颜色")]),e._v(" "),t("div",{staticClass:"colors"},e._l(e.colors,(function(n){return t("div",{directives:[{name:"hit",rawName:"v-hit",value:()=>e.selectHexColor(n),expression:"() => selectHexColor(c)"}],key:n,staticClass:"color",style:{backgroundColor:n},attrs:{role:"radio",tabindex:e.popupOpened?0:-1}})})),0)]),e._v(" "),t("div",{staticClass:"item-group"},[t("div",{staticClass:"item-title"},[e._v("调色")]),e._v(" "),t("div",{staticClass:"bars"},[e.isRGB?[t("div",{staticClass:"bar"},[t("div",{staticClass:"bar-name"},[e._v("R")]),e._v(" "),t("VSlider",{attrs:{focusable:!1,max:255,value:e.wrapper.red},on:{change:function(t){return e.wrapper.change("red",t)}},scopedSlots:e._u([{key:"bar",fn:function(){return[t("div",{staticClass:"color-bar",style:{background:e.wrapper.redGradient}})]},proxy:!0},{key:"thumb",fn:function(){return[t("div",{staticClass:"color-thumb"})]},proxy:!0}],null,!1,2466330035)}),e._v(" "),t("TextBox",{staticClass:"bar-value",attrs:{"max-length":"3","change-on-blur":"",disabled:!e.popupOpened,text:e.int(e.wrapper.red)},on:{change:function(t){return e.wrapper.change("red",t)}}})],1),e._v(" "),t("div",{staticClass:"bar"},[t("div",{staticClass:"bar-name"},[e._v("G")]),e._v(" "),t("VSlider",{attrs:{focusable:!1,max:255,value:e.wrapper.green},on:{change:function(t){return e.wrapper.change("green",t)}},scopedSlots:e._u([{key:"bar",fn:function(){return[t("div",{staticClass:"color-bar",style:{background:e.wrapper.greenGradient}})]},proxy:!0},{key:"thumb",fn:function(){return[t("div",{staticClass:"color-thumb"})]},proxy:!0}],null,!1,2962781435)}),e._v(" "),t("TextBox",{staticClass:"bar-value",attrs:{"max-length":"3","change-on-blur":"",disabled:!e.popupOpened,text:e.int(e.wrapper.green)},on:{change:function(t){return e.wrapper.change("green",t)}}})],1),e._v(" "),t("div",{staticClass:"bar"},[t("div",{staticClass:"bar-name"},[e._v("B")]),e._v(" "),t("VSlider",{attrs:{focusable:!1,max:255,value:e.wrapper.blue},on:{change:function(t){return e.wrapper.change("blue",t)}},scopedSlots:e._u([{key:"bar",fn:function(){return[t("div",{staticClass:"color-bar",style:{background:e.wrapper.blueGradient}})]},proxy:!0},{key:"thumb",fn:function(){return[t("div",{staticClass:"color-thumb"})]},proxy:!0}],null,!1,660815582)}),e._v(" "),t("TextBox",{staticClass:"bar-value",attrs:{"max-length":"3","change-on-blur":"",disabled:!e.popupOpened,text:e.int(e.wrapper.blue)},on:{change:function(t){return e.wrapper.change("blue",t)}}})],1)]:[t("div",{staticClass:"bar"},[t("div",{staticClass:"bar-name"},[e._v("H")]),e._v(" "),t("VSlider",{attrs:{focusable:!1,max:359.9,value:e.wrapper.hue},on:{change:function(t){return e.wrapper.change("hue",t)}},scopedSlots:e._u([{key:"bar",fn:function(){return[t("div",{staticClass:"color-bar",style:{background:e.wrapper.hueGradient}})]},proxy:!0},{key:"thumb",fn:function(){return[t("div",{staticClass:"color-thumb"})]},proxy:!0}])}),e._v(" "),t("TextBox",{staticClass:"bar-value",attrs:{"max-length":"4","change-on-blur":"",disabled:!e.popupOpened,text:e.fixed(e.wrapper.hue)},on:{change:function(t){return e.wrapper.change("hue",t)}}})],1),e._v(" "),t("div",{staticClass:"bar"},[t("div",{staticClass:"bar-name"},[e._v("S")]),e._v(" "),t("VSlider",{attrs:{focusable:!1,value:e.wrapper.saturation},on:{change:function(t){return e.wrapper.change("saturationv",t)}},scopedSlots:e._u([{key:"bar",fn:function(){return[t("div",{staticClass:"color-bar",style:{background:e.wrapper.saturationGradient}})]},proxy:!0},{key:"thumb",fn:function(){return[t("div",{staticClass:"color-thumb"})]},proxy:!0}])}),e._v(" "),t("TextBox",{staticClass:"bar-value",attrs:{"max-length":"5","change-on-blur":"",disabled:!e.popupOpened,text:e.fixed(e.wrapper.saturation)},on:{change:function(t){return e.wrapper.change("saturationv",t)}}})],1),e._v(" "),t("div",{staticClass:"bar"},[t("div",{staticClass:"bar-name"},[e._v("B")]),e._v(" "),t("VSlider",{attrs:{focusable:!1,value:e.wrapper.brightness},on:{change:function(t){return e.wrapper.change("value",t)}},scopedSlots:e._u([{key:"bar",fn:function(){return[t("div",{staticClass:"color-bar",style:{background:e.wrapper.brightnessGradient}})]},proxy:!0},{key:"thumb",fn:function(){return[t("div",{staticClass:"color-thumb"})]},proxy:!0}])}),e._v(" "),t("TextBox",{staticClass:"bar-value",attrs:{"max-length":"5","change-on-blur":"",disabled:!e.popupOpened,text:e.fixed(e.wrapper.brightness)},on:{change:function(t){return e.wrapper.change("value",t)}}})],1)]],2)]),e._v(" "),t("div",{staticClass:"info item-group"},[t("VButton",{staticClass:"toggle-mode",attrs:{disabled:!e.popupOpened,type:"transparent",title:e.isRGB?"切换至HSB":"切换至RGB"},on:{click:function(t){e.isRGB=!e.isRGB}}},[e._v("\n "+e._s(e.isRGB?"切换至HSB":"切换至RGB")+"\n ")]),e._v(" "),t("div",{staticClass:"grow"}),e._v(" "),t("div",{staticClass:"color-preview",style:{backgroundColor:e.wrapper.hex}}),e._v(" "),t("TextBox",{staticClass:"hex",attrs:{disabled:!e.popupOpened,text:e.wrapper.hex,"change-on-blur":""},on:{change:function(t){return e.selectHexColor(t)}}})],1),e._v(" "),t("div",{staticClass:"operations item-group",on:{click:function(t){e.popupOpened=!e.popupOpened}}},[t("VButton",{staticClass:"cancel",attrs:{disabled:!e.popupOpened},on:{click:function(t){return e.reset()}}},[e._v(" 取消 ")]),e._v(" "),t("VButton",{staticClass:"ok",attrs:{disabled:!e.popupOpened,type:"primary"},on:{click:function(t){return e.ok()}}},[e._v(" 确定 ")])],1)])],1)};g._withStripped=!0;var v=n(3639),F=n.n(v);const w=JSON.parse('["#E57373","#F06292","#BA68C8","#9575CD","#7986CB","#2196F3","#00A0D8","#00ACC1","#26A69A","#81C784","#9CCC65","#FF9800","#FF7043","#A1887F","#757575","#78909C"]'),y=e=>{let t=new(F())(e);const n={get color(){return t},set color(e){t=e,this.updateProps()},change(e,n){"string"==typeof n&&(n=parseFloat(n),Number.isNaN(n))||(this.color=t[e](n))},updateProps(){this.red=t.red(),this.green=t.green(),this.blue=t.blue(),this.hue=t.hue(),this.saturation=t.saturationv(),this.brightness=t.value(),this.hex=t.hex(),this.hueGradient=`linear-gradient(to right, ${t.hue(0).hex()}, ${t.hue(60).hex()}, ${t.hue(120).hex()}, ${t.hue(180).hex()}, ${t.hue(240).hex()}, ${t.hue(300).hex()}, ${t.hue(0).hex()})`,this.saturationGradient=`linear-gradient(to right, ${t.saturationv(0).hex()}, ${t.saturationv(100).hex()})`,this.brightnessGradient=`linear-gradient(to right, ${t.value(0).hex()}, ${t.value(100).hex()})`,this.redGradient=`linear-gradient(to right, ${t.red(0).hex()}, ${t.red(255).hex()})`,this.greenGradient=`linear-gradient(to right, ${t.green(0).hex()}, ${t.green(255).hex()})`,this.blueGradient=`linear-gradient(to right, ${t.blue(0).hex()}, ${t.blue(255).hex()})`}};return n.updateProps(),n},x=Vue.extend({name:"ColorPicker",components:{TextBox:()=>Promise.resolve().then(n.bind(n,9740)).then((e=>e.default)),VSlider:()=>Promise.resolve().then(n.bind(n,3616)).then((e=>e.default)),VButton:()=>Promise.resolve().then(n.bind(n,7389)).then((e=>e.default)),VPopup:()=>Promise.resolve().then(n.bind(n,4512)).then((e=>e.default))},model:{prop:"color",event:"change"},props:{color:{type:String,default:"#000000",required:!0},size:{type:Number,default:24,required:!1},compact:{type:Boolean,default:!1},popupOffset:{type:Number,default:0}},data(){return{popupOpened:!1,wrapper:y(this.color),colors:w,isRGB:!1}},watch:{popupOpened(e){e&&(document.body.addEventListener("mousedown",(e=>{this.$el.contains(e.target)||this.$el===e.target||document.body.addEventListener("mouseup",(()=>{this.popupOpened=!1}),{once:!0})})),document.body.addEventListener("touchstart",(e=>{1!==e.touches.length||this.$el.contains(e.target)||this.$el===e.target||document.body.addEventListener("touchend",(()=>{this.popupOpened=!1}),{once:!0})})))}},methods:{ok(){this.$emit("change",this.wrapper.hex)},reset(){this.wrapper.color=new(F())(this.color)},selectHexColor(e){try{const t=new(F())(e,"hex");this.wrapper.color=t}catch(e){}},fixed:e=>(Math.round(10*e)/10).toString(),int:e=>Math.round(e).toString()}});var k=n(8364),C=n.n(k),A={insert:"head",singleton:!1};u()(C(),A);C().locals;const E=(0,c.A)(x,g,[],!1,null,"87a36270",null).exports;var B=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("img",e._b({class:{placeholder:e.isPlaceholderActive},attrs:{width:e.width,height:e.height,srcset:e.srcset,src:e.actualSrc}},"img",e.$attrs,!1))};B._withStripped=!0;var D=n(8418),I=n(6635);const S=Vue.extend({name:"DpiImage",props:{size:{type:[Object,Number],required:!0},src:{type:String,required:!0},intersection:{type:Object,default:()=>({})},placeholderImage:{type:Boolean,default:!1}},data:()=>({srcset:null,actualSrc:I.EmptyImageUrl,isPlaceholderActive:!1}),computed:{width(){return"object"==typeof this.size&&"width"in this.size?this.size.width:"number"==typeof this.size?this.size:null},height(){return"object"==typeof this.size&&"height"in this.size?this.size.height:"number"==typeof this.size?this.size:null}},watch:{size(){this.sourceChange()},src(){this.sourceChange()}},mounted(){const e={rootMargin:"200px",...this.intersection},t=new IntersectionObserver((e=>{e.forEach((e=>{e.isIntersecting&&(this.calcSrc(),t.disconnect())}))}),e);t.observe(this.$el)},methods:{sourceChange(){this.actualSrc!==I.EmptyImageUrl&&null!==this.srcset&&this.calcSrc()},calcSrc(){const e=!this.src||!this.size;if(this.isPlaceholderActive=e&&this.placeholderImage,e)return this.srcset=null,void(this.placeholderImage?this.actualSrc="https://s1.hdslb.com/bfs/static/blive/live-web-center/static/img/no-cover.1ebe4d5.jpg":this.actualSrc=I.EmptyImageUrl);let{src:t}=this;if(t.startsWith("http:")&&(t=t.replace("http:","https:")),t.includes("//static.hdslb.com/images/member/noface.gif"))return this.srcset=t,void(this.actualSrc=t);this.srcset=(0,D.getDpiSourceSet)(t,this.size),this.actualSrc=t}}}),z=S;const P=(0,c.A)(z,B,[],!1,null,null,null).exports;var M=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"be-image-picker"},[t("VButton",{ref:"pickButton",staticClass:"pick-button",on:{click:function(t){e.popupOpen=!e.popupOpen}}},[e._t("text",(function(){return[e._v(" 选择图片 ")]}))],2),e._v(" "),t("VPopup",{staticClass:"popup",attrs:{"trigger-element":e.$refs.pickButton},on:{keydown:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"esc",27,t.key,["Esc","Escape"])?null:e.cancel()}},model:{value:e.popupOpen,callback:function(t){e.popupOpen=t},expression:"popupOpen"}},[t("transition-group",{staticClass:"images",attrs:{name:"image-list",tag:"div",tabindex:"-1"}},e._l(e.images,(function(n){return t("div",{directives:[{name:"hit",rawName:"v-hit",value:()=>e.selectImage(n),expression:"() => selectImage(i)"}],key:n.name,staticClass:"image",class:{selected:n.name===e.selectedImage.name},attrs:{title:n.name,tabindex:e.popupOpen?0:-1}},[t("img",{attrs:{width:"64",height:"64",src:n.url}})])})),0),e._v(" "),t("div",{directives:[{name:"show",rawName:"v-show",value:0===e.images.length,expression:"images.length === 0"}],staticClass:"empty-tip"},[e._v("空空如也哦 = ̄ω ̄=")]),e._v(" "),t("div",{staticClass:"operations"},[t("VPopup",{staticClass:"add-image-popup",attrs:{tabindex:"-1",lazy:!1,"trigger-element":e.$refs.addButton},model:{value:e.addImagePopupOpen,callback:function(t){e.addImagePopupOpen=t},expression:"addImagePopupOpen"}},[t("div",{staticClass:"add-image-row"},[e._v("\n 名称:\n "),t("TextBox",{ref:"addImageInput",attrs:{disabled:!e.addImagePopupOpen},model:{value:e.newImage.name,callback:function(t){e.$set(e.newImage,"name",t)},expression:"newImage.name"}})],1),e._v(" "),t("div",{staticClass:"add-image-row"},[e._v("\n 链接:\n "),t("TextBox",{attrs:{disabled:!e.addImagePopupOpen},model:{value:e.newImage.url,callback:function(t){e.$set(e.newImage,"url",t)},expression:"newImage.url"}})],1),e._v(" "),t("div",{staticClass:"add-image-row buttons"},[t("VButton",{attrs:{disabled:!e.addImagePopupOpen},on:{click:function(t){e.addImagePopupOpen=!1,e.clearNewImage()}}},[e._v("\n 取消\n ")]),e._v(" "),t("VButton",{attrs:{disabled:!e.newImage.url||!e.newImage.name,type:"primary"},on:{click:function(t){e.addImage(e.newImage),e.addImagePopupOpen=!1,e.clearNewImage()}}},[e._v("\n 确定\n ")])],1)]),e._v(" "),t("VButton",{staticClass:"clear-image",attrs:{disabled:!e.selectedImage.name},on:{click:function(t){return e.clearImage()}}},[e._v("\n 清除选择\n ")]),e._v(" "),t("VButton",{ref:"addButton",staticClass:"add-image",attrs:{disabled:!e.popupOpen},on:{click:function(t){return e.openAddImagePopup()}}},[e._v("\n 添加\n ")]),e._v(" "),t("VButton",{staticClass:"edit-image",attrs:{disabled:!e.selectedImage.name},on:{click:function(t){return e.editImage()}}},[e._v("\n 编辑\n ")]),e._v(" "),t("VButton",{attrs:{disabled:!e.selectedImage.name},on:{click:function(t){e.removeImage(e.selectedImage),e.clearImage()}}},[e._v("\n 删除\n ")])],1),e._v(" "),t("div",{staticClass:"operations"},[t("VButton",{attrs:{disabled:!e.popupOpen},on:{click:function(t){return e.cancel()}}},[e._v(" 取消 ")]),e._v(" "),t("VButton",{attrs:{disabled:!e.popupOpen,type:"primary"},on:{click:function(t){return e.ok()}}},[e._v(" 确定 ")])],1),e._v(" "),e.addImagePopupOpen?t("div",{staticClass:"mask"}):e._e()],1)],1)};M._withStripped=!0;const O=[],V=Vue.extend({name:"ImagePicker",components:{VButton:()=>Promise.resolve().then(n.bind(n,7389)).then((e=>e.default)),VPopup:()=>Promise.resolve().then(n.bind(n,4512)).then((e=>e.default)),TextBox:()=>Promise.resolve().then(n.bind(n,9740)).then((e=>e.default))},model:{prop:"image",event:"change"},props:{image:{type:Object,required:!0}},data:()=>({images:O,popupOpen:!1,addImagePopupOpen:!1,selectedImage:{name:"",url:""},newImage:{name:"",url:""}}),methods:{addImage:e=>{if(!e.name||!e.url)return;const t=O.find((t=>t.name===e.name));t?t.url=e.url:O.unshift(e)},removeImage:e=>{const t="string"==typeof e?e:e.name,n=O.findIndex((e=>e.name===t));-1!==n&&O.splice(n,1)},ok(){this.$emit("change",this.selectedImage),this.popupOpen=!1},cancel(){this.selectedImage=this.image,this.popupOpen=!1},selectImage(e){this.selectedImage.name===e.name?this.selectedImage={name:"",url:""}:this.selectedImage=e},clearImage(){this.selectedImage={name:"",url:""}},clearNewImage(){this.newImage={name:"",url:""}},editImage(){this.newImage=this.selectedImage,this.openAddImagePopup()},async openAddImagePopup(){this.addImagePopupOpen=!this.addImagePopupOpen,await this.$nextTick(),this.$refs.addImageInput.$refs.input.focus()}}});var T=n(6586),L=n.n(T),R={insert:"head",singleton:!1};u()(L(),R);L().locals;const j=(0,c.A)(V,M,[],!1,null,"7b32c90b",null).exports;var N=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"image-viewer-container",class:{open:e.open},on:{click:e.detectOutside}},[t("div",{ref:"viewer",staticClass:"image-viewer"},[t("div",{staticClass:"image-container"},[e.image?t("img",{staticClass:"image",attrs:{src:e.image}}):e._e()]),e._v(" "),t("div",{staticClass:"close image-viewer-icon",attrs:{title:"关闭"},on:{click:function(t){e.open=!1}}},[t("VIcon",{attrs:{size:48,icon:"mdi-close"}})],1),e._v(" "),t("a",{staticClass:"copy-link image-viewer-icon",attrs:{target:"_blank",title:"复制原链接"},on:{click:function(t){return e.copyLink()}}},[e.copiedTimer?t("VIcon",{attrs:{size:48,icon:"mdi-check"}}):t("VIcon",{attrs:{size:48,icon:"mdi-link"}})],1),e._v(" "),t("a",{staticClass:"new-tab image-viewer-icon",attrs:{target:"_blank",title:"在新标签页打开"},on:{click:function(t){return e.newTab()}}},[t("VIcon",{attrs:{size:48,icon:"mdi-open-in-new"}})],1),e._v(" "),e.blobUrl?t("a",{staticClass:"download image-viewer-icon",attrs:{target:"_blank",title:"下载",href:e.blobUrl,download:e.filename}},[t("VIcon",{attrs:{size:48,icon:"mdi-download"}})],1):e._e()])])};N._withStripped=!0;var q=n(3558),U=n(5936),H=n(392);const Z=Vue.extend({components:{VIcon:o.default},props:{image:{type:String,required:!0}},data:()=>({filename:"",open:!1,blobUrl:"",keyHandler:null,copiedTimer:0}),watch:{async image(e){this.blobUrl&&URL.revokeObjectURL(this.blobUrl),e||(this.blobUrl="");const t=await(0,H.getBlob)(e);this.blobUrl=URL.createObjectURL(t),this.updateFilename()}},mounted(){this.keyHandler=e=>{"Escape"===e.key&&(this.open=!1)},document.addEventListener("keydown",this.keyHandler),(0,q.addComponentListener)("settingsPanel.filenameFormat",(()=>{this.updateFilename()}),!0)},beforeDestroy(){document.removeEventListener("keydown",this.keyHandler)},methods:{async copyLink(){await navigator.clipboard.writeText(this.image),this.copiedTimer&&window.clearTimeout(this.copiedTimer),this.copiedTimer=window.setTimeout((()=>{this.copiedTimer=0}),2e3)},newTab(){window.open(this.image,"_blank")},detectOutside(e){const t=this.$el,{viewer:n}=this.$refs;e.target!==t&&e.target!==n||(this.open=!1)},updateFilename(){const e=this.image;this.filename=e?(0,U.getFriendlyTitle)(document.URL.includes("/www.bilibili.com/bangumi/"))+e.substring(e.lastIndexOf(".")):""}}});var W=n(6529),G=n.n(W),Q={insert:"head",singleton:!1};u()(G(),Q);G().locals;const Y=(0,c.A)(Z,N,[],!1,null,"8829ba14",null).exports;let K;const X=async e=>(K||await(async()=>(K=new Y({propsData:{image:"",open:!1}}).$mount(),document.body.insertAdjacentElement("beforeend",K.$el),K))(),setTimeout((()=>{K.image=e,K.open=!0})),K);var J=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"be-progress-bar"},[t("div",{staticClass:"progress",class:{transition:e.transition},style:{width:e.width}})])};J._withStripped=!0;const _=Vue.extend({name:"ProgressBar",props:{progress:{type:Number,default:50},min:{type:Number,default:0},max:{type:Number,default:100},transition:{type:Boolean,default:!1}},computed:{width(){let e=this.progress;e>this.max?e=this.max:ethis.max?e=this.max:e{de.has(e)?de.get(e).push({instance:t,uncheck:n}):de.set(e,[{instance:t,uncheck:n}])})),ue=Vue.extend({name:"RadioButton",components:{CheckBox:h},model:{prop:"checked",event:"change"},props:{checked:{type:Boolean,required:!0},allowUncheck:{type:Boolean,default:!1},group:{type:String,default:""},checkedIcon:{type:String,default:"mdi-radiobox-marked"},notCheckedIcon:{type:String,default:"mdi-radiobox-blank"}},watch:{checked(e){if(e){const e=this.group,t=this.$el;let n;n=""===e?t.parentElement:e,de.get(n).forEach((e=>{let{instance:t,uncheck:n}=e;t!==this&&n()}))}}},mounted(){const e=this.group,t=this.$el;let n;n=me(""===e?t.parentElement:e),n(this,(()=>this.$emit("change",!1)))},methods:{emitChange(e){(this.checked&&this.allowUncheck||!this.checked)&&this.$emit("change",e)}}});const fe=(0,c.A)(ue,le,[],!1,null,null,null).exports;var pe=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"be-range-input"},[t("TextBox",{attrs:{"change-on-blur":"",text:e.wrapper.range.start.toString()},on:{change:function(t){e.wrapper.start=t}}}),e._v(" "),e._t("separator",(function(){return[t("div",{staticClass:"default-separator"},[e._v("~")])]})),e._v(" "),t("TextBox",{attrs:{"change-on-blur":"",text:e.wrapper.range.end.toString()},on:{change:function(t){e.wrapper.end=t}}})],2)};pe._withStripped=!0;const be=e=>({range:e.range,get start(){return this.range.start.toString()},set start(e){this.createNewRange(e,this.end)},get end(){return this.range.end.toString()},set end(e){this.createNewRange(this.start,e)},createNewRange(t,n){let o={start:t,end:n};e.validator&&(o=e.validator(o)),null!=o?(this.range=o,e.$emit("change",o)):this.range={start:this.range.start,end:this.range.end}}}),he=Vue.extend({name:"RangeInput",components:{TextBox:()=>Promise.resolve().then(n.bind(n,9740))},model:{prop:"range",event:"change"},props:{range:{type:Object,required:!0},validator:{type:Function,default:void 0}},data(){return{wrapper:be(this)}}});var ge=n(5221),ve=n.n(ge),Fe={insert:"head",singleton:!1};u()(ve(),Fe);ve().locals;const we=(0,c.A)(he,pe,[],!1,null,"b459c060",null).exports;var ye=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"be-scroll-trigger",on:{click:function(t){return e.trigger()}}},[e._t("default",(function(){return[t("VLoading")]}))],2)};ye._withStripped=!0;var xe=n(7656);const ke=Vue.extend({components:{VLoading:()=>Promise.resolve().then(n.bind(n,9677)).then((e=>e.default))},props:{detectViewport:{type:Boolean,required:!1,default:!1}},data:()=>({isFirstLoad:!0,isViewportTriggerRunning:!1,parentLoadState:"none"}),async mounted(){const e=(0,xe.useScopedConsole)("ScrollTrigger"),t=this.$el,{visible:o}=await Promise.resolve().then(n.bind(n,24));o(t,(async n=>{if(n.some((e=>e.intersectionRatio>0))){if(e.log("Intersection Observer trigger"),this.trigger(),!this.detectViewport&&!this.isFirstLoad&&this.isViewportTriggerRunning)return;for(this.isViewportTriggerRunning=!0;this.getVisibleStateByViewport(t);)if(await(0,D.delay)(500),"loaded"===this.parentLoadState){if(!this.getVisibleStateByViewport(t))break;e.log("is first load & viewport trigger"),this.trigger()}this.isFirstLoad=!1}}))},methods:{getElementToViewportBottomDistance:e=>document.documentElement.clientHeight-e.getBoundingClientRect().top,getVisibleStateByViewport(e){return Boolean(this.getElementToViewportBottomDistance(e)>-20)},setLoadState(e){this.parentLoadState=e},resetIsFirstLoad(){this.isFirstLoad=!0},trigger(){this.$emit("trigger")}}});var Ce=n(1867),Ae=n.n(Ce),Ee={insert:"head",singleton:!1};u()(Ae(),Ee);Ae().locals;const Be=(0,c.A)(ke,ye,[],!1,null,null,null).exports;var De=n(9923),Ie=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"be-tab-control"},[t("div",{staticClass:"default-header"},[e._t("tabs",(function(){return[t("div",{staticClass:"default-tabs"},e._l(e.tabs,(function(n){return t("div",{key:n.name,staticClass:"default-tab",class:{selected:n===e.selectedTab},attrs:{"data-count":n.count>0?n.count:null},on:{click:function(t){return e.selectTab(n)}}},[t("div",{staticClass:"default-tab-name"},[e._v("\n "+e._s(n.displayName)+"\n ")])])})),0)]})),e._v(" "),t("div",{staticClass:"header-item"},[e._t("header-item")],2),e._v(" "),null!==e.moreLink&&void 0!==e.moreLink?t("a",{staticClass:"be-more-link",attrs:{href:"function"==typeof e.moreLink?e.moreLink(e.selectedTab):e.moreLink,target:"_blank"}},[t("VButton",{attrs:{disabled:!e.moreLink,round:""}},[e._t("more-link",(function(){return[e._v("\n 查看更多\n "),t("VIcon",{attrs:{icon:"mdi-dots-horizontal",size:18}})]}))],2)],1):e._e()],2),e._v(" "),e._t("content",(function(){return[t("div",{staticClass:"default-content"},[t("transition",{attrs:{name:"content-transition"}},[t(e.selectedTab.component,e._b({tag:"component"},"component",e.selectedTab.propsData,!1))],1)],1)]}))],2)};Ie._withStripped=!0;const Se=Vue.extend({name:"TabControl",components:{VButton:()=>Promise.resolve().then(n.bind(n,7389)).then((e=>e.default)),VIcon:()=>Promise.resolve().then(n.bind(n,4833)).then((e=>e.default))},model:{prop:"link",event:"change"},props:{tabs:{type:Array,required:!0,validator:e=>0!==e.length},defaultTab:{type:String,required:!1,default:""},link:{type:String,required:!1,default:null},moreLink:{type:[String,Function],default:null}},data(){const e=this.tabs;return{selectedTabName:e.find((e=>e.name===this.defaultTab))?.name??e[0].name}},computed:{selectedTab(){return this.tabs.find((e=>e.name===this.selectedTabName))}},mounted(){this.$emit("change",this.selectedTab.activeLink)},methods:{selectTab(e){this.selectedTabName!==e.name?(this.selectedTabName=e.name,e.count=0,this.$emit("change",this.selectedTab.activeLink)):e.activeLink&&window.open(e.activeLink,"_blank")}}});var ze=n(2413),Pe=n.n(ze),Me={insert:"head",singleton:!1};u()(Pe(),Me);Pe().locals;const Oe=(0,c.A)(Se,Ie,[],!1,null,null,null).exports;var Ve=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"be-text-area",attrs:{role:"text"}},[t("textarea",e._g(e._b({ref:"input",attrs:{type:"text"},domProps:{value:e.text},on:{change:function(t){return t.stopPropagation(),e.change.apply(null,arguments)},input:function(t){return t.stopPropagation(),e.input.apply(null,arguments)},compositionstart:e.compositionStart,compositionend:e.compositionEnd}},"textarea",e.$attrs,!1),e.restListeners))])};Ve._withStripped=!0;var Te=n(8330);const Le=Vue.extend({name:"TextArea",mixins:[Te.Q]});var Re=n(9732),je=n.n(Re),Ne={insert:"head",singleton:!1};u()(je(),Ne);je().locals;const qe=(0,c.A)(Le,Ve,[],!1,null,null,null).exports;var Ue=n(9740),He=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{directives:[{name:"hit",rawName:"v-hit",value:e.hit,expression:"hit"}],staticClass:"be-dropdown",class:{disabled:e.disabled,round:e.round},attrs:{role:"combobox",tabindex:e.disabled?-1:0,"aria-disabled":e.disabled}},[t("div",{ref:"selected",staticClass:"selected"},[t("div",{staticClass:"selected-item"},[null!==e.value&&void 0!==e.value?e._t("item",(function(){return[e._v("\n "+e._s(e.value.displayName)+"\n ")]}),{item:e.value}):e._e()],2),e._v(" "),t("div",{staticClass:"arrow",class:{open:e.popupOpen}},[e._t("arrow",(function(){return[t("div",{staticClass:"default-arrow"},[t("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 24 24"}},[t("defs",[t("clipPath",{attrs:{id:"clip-arrow-down"}},[t("rect",{attrs:{width:"24",height:"24"}})])]),e._v(" "),t("g",{attrs:{id:"arrow-down","clip-path":"url(#clip-arrow-down)"}},[t("path",{attrs:{id:"Path_1","data-name":"Path 1",d:"M2,17,12,7,22,17",transform:"translate(24 25) rotate(180)","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2"}})])])])]}))],2)]),e._v(" "),t("VPopup",{ref:"popup",staticClass:"dropdown-popup",attrs:{lazy:!1,"trigger-element":e.$refs.selected},on:{keydown:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"esc",27,t.key,["Esc","Escape"])?null:e.selectItem(e.value)}},model:{value:e.popupOpen,callback:function(t){e.popupOpen=t},expression:"popupOpen"}},e._l(e.items,(function(n){return t("div",{directives:[{name:"hit",rawName:"v-hit",value:()=>e.selectItem(n),expression:"() => selectItem(item)"}],key:e.keyMapper(n),staticClass:"bex-dropdown-item",attrs:{tabindex:e.popupOpen?0:-1}},[e._t("item",(function(){return[e._v("\n "+e._s(n.displayName)+"\n ")]}),{item:n})],2)})),0)],1)};He._withStripped=!0;var Ze=n(4512);const We=Vue.extend({name:"VDropdown",components:{VPopup:Ze.default},model:{prop:"value",event:"change"},props:{value:{required:!0},items:{type:Array,required:!0},keyMapper:{type:Function,default:e=>e.name},round:{type:Boolean,default:!1}},data:()=>({popupOpen:!1}),computed:{disabled(){return Boolean(this.$attrs.disabled)}},watch:{disabled(e){e&&(this.popupOpen=!1)}},created(){null!==this.value&&void 0!==this.value||this.$emit("change",this.items[0]||"")},methods:{selectItem(e){e!==this.value&&this.$emit("change",e),this.popupOpen=!1,this.$el.focus()},hit(e){if(this.disabled)return;const t=this.$refs.popup.$el,n=e.target;t===n||t.contains(n)||(this.popupOpen=!this.popupOpen)}}});var Ge=n(8267),Qe=n.n(Ge),Ye={insert:"head",singleton:!1};u()(Qe(),Ye);Qe().locals;const Ke=(0,c.A)(We,He,[],!1,null,"a50268e4",null).exports;var Xe=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"be-empty"},[e._t("default",(function(){return["string"==typeof e.config.content&&e.config.content.length>0?[e._v("\n "+e._s(e.config.content)+"\n ")]:e._e(),e._v(" "),"string"!=typeof e.config.content?t(e.config.content,{tag:"component"}):e._e()]}))],2)};Xe._withStripped=!0;var Je=n(5417);const[_e]=(0,Je.registerAndGetData)("vEmpty",{content:"空空如也哦 = ̄ω ̄="}),$e=Vue.extend({name:"VEmpty",data:()=>({config:_e})});var et=n(4478),tt=n.n(et),nt={insert:"head",singleton:!1};u()(tt(),nt);tt().locals;const ot=(0,c.A)($e,Xe,[],!1,null,null,null).exports;var it=n(9677),rt=n(3616),at=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("VButton",e._g(e._b({staticClass:"default-widget"},"VButton",e.$attrs,!1),e.$listeners),[t("div",{staticClass:"widget-icon"},[e._t("icon",(function(){return[t("VIcon",{attrs:{type:e.iconType,icon:e.icon}})]}))],2),e._v(" "),t("div",{staticClass:"widget-name"},[e._t("default",(function(){return[e._v(e._s(e.name))]}))],2)])};at._withStripped=!0;const ct=Vue.extend({components:{VIcon:o.default,VButton:r.default},props:{name:{type:String,default:""},icon:{type:String,default:""},iconType:{type:String,default:""}}});var st=n(8071),lt=n.n(st),dt={insert:"head",singleton:!1};u()(lt(),dt);lt().locals;const mt=(0,c.A)(ct,at,[],!1,null,"20e1bedd",null).exports;var ut=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"collapsible-container"},[t("div",{staticClass:"header",on:{click:e.onHeaderClick}},[e._t("header",(function(){return[t("div",{staticClass:"default-header"},[e._t("title",(function(){return[t("span",{staticClass:"default-header-title"},[e._v(e._s(e.title))])]})),e._v(" "),e.hideExpandButton?e._e():t("VIcon",{staticClass:"arrow",class:{expanded:e.computedExpanded},attrs:{size:18,icon:"mdi-chevron-down"},on:{click:e.onBtnClick}})],2)]}))],2),e._v(" "),t("div",{directives:[{name:"show",rawName:"v-show",value:e.computedExpanded,expression:"computedExpanded"}],staticClass:"content",class:{disabled:e.disableContent}},[e._t("default")],2)])};ut._withStripped=!0;var ft=n(3654);const pt=(0,ft.defineComponent)({name:"CollapsibleContainer",components:{VIcon:o.default},props:{title:{type:String,default:""},expanded:{type:Boolean,default:void 0},defaultExpanded:{type:Boolean,default:!1},enableExpandByHeader:{type:Boolean,default:!0},hideExpandButton:{type:Boolean,default:!1},disableContent:{type:Boolean,default:!1}},emits:["expanded"],setup(e,t){let{emit:n}=t;const o=(0,ft.shallowRef)(e.defaultExpanded),i=(0,ft.computed)((()=>void 0!==e.expanded?e.expanded:o.value)),r=()=>{void 0!==e.expanded?n("expanded",!e.expanded):o.value=!o.value};return{computedExpanded:i,onBtnClick:e=>{e.stopPropagation(),r()},onHeaderClick:()=>{e.enableExpandByHeader&&r()}}}});var bt=n(9594),ht=n.n(bt),gt={insert:"head",singleton:!1};u()(ht(),gt);ht().locals;const vt=(0,c.A)(pt,ut,[],!1,null,"2c565e7e",null).exports;var Ft=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("OptionWidgetLayout",{attrs:{title:e.title,"is-popup":e.isPopup,icon:e.icon}},[t(e.currentComponent,e._b({tag:"component"},"component","div"===e.currentComponent?{class:"container"}:{defaultExpanded:!0,title:e.title},!1),e._l(Object.entries(e.itemVMs),(function([n,o]){return t("RadioGroupItem",{key:n,attrs:{title:o.displayName,"default-expanded":!!o.optionsFiltered,"hide-expand-button":!o.optionsFiltered,checked:o.checked,group:e.groupName,"disable-content":!!e.disableContent&&!o.checked},on:{change:t=>e.onRadioChange(o,t)}},[o.optionsFiltered?t("div",e._l(Object.entries(o.optionsFiltered),(function([n,o]){return t("ComponentOption",{key:n,attrs:{name:n,"display-name":o.displayName,option:o,component:e.componentData}})})),1):e._e()])})),1)],1)};Ft._withStripped=!0;var wt=n(552),yt=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("CollapsibleContainer",{attrs:{expanded:e.computedExpanded,"default-expanded":e.defaultExpanded,"hide-expand-button":e.hideExpandButton,"enable-expand-by-header":!1,"disable-content":e.disableContent},on:{expanded:e.onExpanded},scopedSlots:e._u([{key:"title",fn:function(){return[t("RadioButton",{staticClass:"group-title",attrs:{"no-effects":"",checked:e.computedChecked,"allow-uncheck":e.allowUncheck,group:e.group,"checked-icon":e.checkedIcon,"not-checked-icon":e.notCheckedIcon},on:{change:e.onRadioChanged}},[e._v("\n "+e._s(e.title)+"\n ")])]},proxy:!0}])},[e._v(" "),e._t("default")],2)};yt._withStripped=!0;const xt=(0,ft.defineComponent)({components:{RadioButton:fe,CollapsibleContainer:vt},props:{title:{type:String,default:""},expanded:{type:Boolean,default:void 0},defaultExpanded:{type:Boolean,default:!1},hideExpandButton:{type:Boolean,default:!1},disableContent:{type:Boolean,default:!1},checked:{type:Boolean,default:void 0},allowUncheck:{type:Boolean,default:!1},group:{type:String,default:""},checkedIcon:{type:String,default:"mdi-radiobox-marked"},notCheckedIcon:{type:String,default:"mdi-radiobox-blank"}},emits:["expanded","change"],setup(e,t){let{emit:n}=t;const o=(0,ft.shallowRef)(e.defaultExpanded),i=(0,ft.computed)((()=>void 0!==e.expanded?e.expanded:o.value)),r=(0,ft.shallowRef)(!1);return{computedExpanded:i,onExpanded:t=>{void 0!==e.expanded?n("expanded",t):o.value=t},computedChecked:(0,ft.computed)((()=>void 0!==e.checked?e.checked:r.value)),onRadioChanged:t=>{void 0!==e.checked?n("change",t):r.value=t}}}});var kt=n(6104),Ct=n.n(kt),At={insert:"head",singleton:!1};u()(Ct(),At);Ct().locals;const Et=(0,c.A)(xt,yt,[],!1,null,"9b855096",null).exports;var Bt=n(5772),Dt=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"option-widget-layout"},[e.isPopup?t("VPopup",{staticClass:"option-widget-popup",attrs:{"trigger-element":e.$refs.popupButton,"auto-destroy":""},model:{value:e.popup,callback:function(t){e.popup=t},expression:"popup"}},[e._t("default")],2):e._e(),e._v(" "),e.isPopup?t("DefaultWidget",{ref:"popupButton",attrs:{icon:e.icon},on:{click:function(t){e.popup=!e.popup}}},[t("span",[e._v(e._s(e.title))])]):e._e(),e._v(" "),e.isPopup?e._e():e._t("default")],2)};Dt._withStripped=!0;const It=Vue.extend({components:{DefaultWidget:mt,VPopup:Ze.default},props:{isPopup:{type:Boolean,required:!0},title:{type:String,required:!0},icon:{type:String,default:""}},data:()=>({popup:!1})});var St=n(4271),zt=n.n(St),Pt={insert:"head",singleton:!1};u()(zt(),Pt);zt().locals;const Mt=(0,c.A)(It,Dt,[],!1,null,null,null).exports,Ot=(0,ft.defineComponent)({components:{ComponentOption:wt.A,RadioGroupItem:Et,CollapsibleContainer:vt,OptionWidgetLayout:Mt},props:{title:{type:String,default:""},groupName:{type:String,required:!0},items:{type:Object,required:!0},componentName:{type:String,required:!0},isPopup:{type:Boolean,required:!0},icon:{type:String,default:""},hasContainer:{type:Boolean,default:!0},disableContent:{type:Boolean,default:!1}},setup(e){const t=Bt.componentsMap[e.componentName],n=t.options,o=(0,q.getComponentSettings)(t).options,i=Object.fromEntries(Object.entries(e.items).map((t=>{let[i,r]=t;const a={...r};return r.isOption?(a.displayName=n[r.name]?.displayName??r.name,a.checked=!!o[r.name],(0,q.addComponentListener)(`${e.componentName}.${r.name}`,(e=>{a.checked=e}))):a.displayName=r.name,r.optionsIncluded&&(a.optionsFiltered=Object.fromEntries(Object.entries(n).filter((e=>{let[t]=e;return((e,t)=>{if(t.optionsIncluded){const n=t.optionsIncluded;return n instanceof RegExp?n.test(e):!!Array.isArray(n)&&n.includes(e)}return!0})(t,r)})))),[i,a]})));return{componentData:t,itemVMs:(0,ft.ref)(i),onRadioChange:function(e,t){e.checked=t,e.isOption&&setTimeout((()=>o[e.name]=t),200),e.onChange&&e.onChange(t)},currentComponent:e.hasContainer?vt:"div"}}}),Vt=Ot;var Tt=n(4067),Lt=n.n(Tt),Rt={insert:"head",singleton:!1};u()(Lt(),Rt);Lt().locals;const jt=(0,c.A)(Vt,Ft,[],!1,null,"106e4984",null).exports;var Nt=n(3070)},9418:(e,t,n)=>{"use strict";n.d(t,{initMdiStyle:()=>r});var o=n(9621),i=n.n(o);const r=()=>{const e=document.createElement("style");return e.id="be-mdi",e.innerHTML=i(),e}},8330:(e,t,n)=>{"use strict";n.d(t,{Q:()=>o});const o=Vue.extend({model:{prop:"text",event:"change"},props:{text:{type:String,required:!1,default:""},changeOnBlur:{type:Boolean,required:!1,default:!1},validator:{type:Function,default:void 0}},data(){return{composing:!1,restListeners:lodash.omit(this.$listeners,"change","input","compositionstart","compositionend")}},methods:{emitChange(){let{value:e}=this.$refs.input;this.validator&&(e=this.validator(e,this.text),this.changeOnBlur&&(this.$refs.input.value=e)),e!==this.text&&this.$emit("change",e)},input(){this.changeOnBlur||this.composing||this.emitChange()},change(){this.changeOnBlur&&!this.composing&&this.emitChange()},compositionStart(){this.composing=!0},compositionEnd(){this.composing=!1,this.input()},focus(){this.$refs.input.focus()}}})},534:(e,t,n)=>{"use strict";n.d(t,{A:()=>u});var o=n(6073);const i="the1812",r="cdn.jsdelivr.net",a={name:"jsDelivr",owner:i,host:r,stableClient:`https://${r}/gh/${i}/Bilibili-Evolved@master/dist/bilibili-evolved.user.js`,previewClient:`https://${r}/gh/${i}/Bilibili-Evolved@preview/dist/bilibili-evolved.preview.user.js`,library:{lodash:{url:`https://${r}/npm/lodash@4.17.21/lodash.min.js`,sha256:"a9705dfc47c0763380d851ab1801be6f76019f6b67e40e9b873f8b4a0603f7a9"},protobuf:{url:`https://${r}/npm/protobufjs@6.10.1/dist/light/protobuf.min.js`,sha256:"8978daf871b02d683ecaee371861702a6f31d0a4c52925b7db2bb1655a8bc7d1"},jszip:{url:`https://${r}/npm/jszip@3.7.1/dist/jszip.min.js`,sha256:"c9e4a52bac18aee4f3f90d05fbca603f5b0f5bf1ce8c45e60bb4ed3a2cb2ed86"},sortable:{url:`https://${r}/npm/sortablejs@1.14.0/Sortable.min.js`,sha256:"0ea5a6fbfbf5434b606878533cb7a66bcf700f0f08afe908335d0978fb63ad94"},streamsaver:{url:`https://${r}/npm/streamsaver@2.0.6/StreamSaver.js`,sha256:"a110f78e0b092481dc372901c4d57ae50681d773bc9d55e62356f9a22f17e24b"},ffmpeg:{worker:{url:`https://${r}/npm/@ffmpeg/ffmpeg@0.12.4/dist/umd/814.ffmpeg.js`,sha256:"baf19437171b1bccae4416e4da69fb40455b8e67142f79c8ec9da36b1de7fd8a"},core:{url:`https://${r}/npm/@ffmpeg/core@0.12.4/dist/umd/ffmpeg-core.js`,sha256:"6af6b8cd8c878dec6f61f3cd6be16e88f9391dd265e51f20afea5c0f718bfba0"},wasm:{url:`https://${r}/npm/@ffmpeg/core@0.12.4/dist/umd/ffmpeg-core.wasm`,sha256:"81bdc645b71d7d74ff56fdc0979c5fcb2f92ffcc7f24573a79681fed4ea73905"}}},smallLogo:`https://${r}/gh/${i}/Bilibili-Evolved@preview/images/logo-small.png`,logo:`https://${r}/gh/${i}/Bilibili-Evolved@preview/images/logo.png`,root:(e,t)=>`https://${r}/gh/${t||i}/Bilibili-Evolved@${e}/`},c="the1812",s="raw.githubusercontent.com",l={name:"GitHub",owner:c,host:s,stableClient:`https://${s}/${c}/Bilibili-Evolved/master/dist/bilibili-evolved.user.js`,previewClient:`https://${s}/${c}/Bilibili-Evolved/preview/dist/bilibili-evolved.preview.user.js`,library:{lodash:{url:`https://${s}/lodash/lodash/4.17.21/dist/lodash.min.js`,sha256:"a9705dfc47c0763380d851ab1801be6f76019f6b67e40e9b873f8b4a0603f7a9"},protobuf:{url:`https://${s}/protobufjs/protobuf.js/v6.10.1/dist/light/protobuf.min.js`,sha256:"8978daf871b02d683ecaee371861702a6f31d0a4c52925b7db2bb1655a8bc7d1"},jszip:{url:`https://${s}/Stuk/jszip/v3.7.1/dist/jszip.min.js`,sha256:"c9e4a52bac18aee4f3f90d05fbca603f5b0f5bf1ce8c45e60bb4ed3a2cb2ed86"},sortable:{url:`https://${s}/SortableJS/Sortable/1.14.0/Sortable.min.js`,sha256:"0ea5a6fbfbf5434b606878533cb7a66bcf700f0f08afe908335d0978fb63ad94"},streamsaver:{url:`https://${s}/jimmywarting/StreamSaver.js/2.0.6/StreamSaver.js`,sha256:"a110f78e0b092481dc372901c4d57ae50681d773bc9d55e62356f9a22f17e24b"},ffmpeg:a.library.ffmpeg},smallLogo:`https://${s}/${c}/Bilibili-Evolved/preview/images/logo-small.png`,logo:`https://${s}/${c}/Bilibili-Evolved/preview/images/logo.png`,root:(e,t)=>`https://${s}/${t||c}/Bilibili-Evolved/${e}/`},d=l,m={github:l,jsDelivr:a},u={...{year:(new Date).getFullYear(),version:o.version,altCdn:d,allCdns:m},commitHash:"d87d69cfb9d7e0124bd90a06fec4569bd61e02c5",branch:"master",nearestTag:"v2.10.7",versionWithTag:"v2.10.7-133-gd87d69cfb"}},6481:(e,t,n)=>{var o=n(4176),i={};for(var r in o)o.hasOwnProperty(r)&&(i[o[r]]=r);var a=e.exports={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};for(var c in a)if(a.hasOwnProperty(c)){if(!("channels"in a[c]))throw new Error("missing channels property: "+c);if(!("labels"in a[c]))throw new Error("missing channel labels property: "+c);if(a[c].labels.length!==a[c].channels)throw new Error("channel and label counts mismatch: "+c);var s=a[c].channels,l=a[c].labels;delete a[c].channels,delete a[c].labels,Object.defineProperty(a[c],"channels",{value:s}),Object.defineProperty(a[c],"labels",{value:l})}a.rgb.hsl=function(e){var t,n,o=e[0]/255,i=e[1]/255,r=e[2]/255,a=Math.min(o,i,r),c=Math.max(o,i,r),s=c-a;return c===a?t=0:o===c?t=(i-r)/s:i===c?t=2+(r-o)/s:r===c&&(t=4+(o-i)/s),(t=Math.min(60*t,360))<0&&(t+=360),n=(a+c)/2,[t,100*(c===a?0:n<=.5?s/(c+a):s/(2-c-a)),100*n]},a.rgb.hsv=function(e){var t,n,o,i,r,a=e[0]/255,c=e[1]/255,s=e[2]/255,l=Math.max(a,c,s),d=l-Math.min(a,c,s),m=function(e){return(l-e)/6/d+.5};return 0===d?i=r=0:(r=d/l,t=m(a),n=m(c),o=m(s),a===l?i=o-n:c===l?i=1/3+t-o:s===l&&(i=2/3+n-t),i<0?i+=1:i>1&&(i-=1)),[360*i,100*r,100*l]},a.rgb.hwb=function(e){var t=e[0],n=e[1],o=e[2];return[a.rgb.hsl(e)[0],100*(1/255*Math.min(t,Math.min(n,o))),100*(o=1-1/255*Math.max(t,Math.max(n,o)))]},a.rgb.cmyk=function(e){var t,n=e[0]/255,o=e[1]/255,i=e[2]/255;return[100*((1-n-(t=Math.min(1-n,1-o,1-i)))/(1-t)||0),100*((1-o-t)/(1-t)||0),100*((1-i-t)/(1-t)||0),100*t]},a.rgb.keyword=function(e){var t=i[e];if(t)return t;var n,r,a,c=1/0;for(var s in o)if(o.hasOwnProperty(s)){var l=o[s],d=(r=e,a=l,Math.pow(r[0]-a[0],2)+Math.pow(r[1]-a[1],2)+Math.pow(r[2]-a[2],2));d.04045?Math.pow((t+.055)/1.055,2.4):t/12.92)+.3576*(n=n>.04045?Math.pow((n+.055)/1.055,2.4):n/12.92)+.1805*(o=o>.04045?Math.pow((o+.055)/1.055,2.4):o/12.92)),100*(.2126*t+.7152*n+.0722*o),100*(.0193*t+.1192*n+.9505*o)]},a.rgb.lab=function(e){var t=a.rgb.xyz(e),n=t[0],o=t[1],i=t[2];return o/=100,i/=108.883,n=(n/=95.047)>.008856?Math.pow(n,1/3):7.787*n+16/116,[116*(o=o>.008856?Math.pow(o,1/3):7.787*o+16/116)-16,500*(n-o),200*(o-(i=i>.008856?Math.pow(i,1/3):7.787*i+16/116))]},a.hsl.rgb=function(e){var t,n,o,i,r,a=e[0]/360,c=e[1]/100,s=e[2]/100;if(0===c)return[r=255*s,r,r];t=2*s-(n=s<.5?s*(1+c):s+c-s*c),i=[0,0,0];for(var l=0;l<3;l++)(o=a+1/3*-(l-1))<0&&o++,o>1&&o--,r=6*o<1?t+6*(n-t)*o:2*o<1?n:3*o<2?t+(n-t)*(2/3-o)*6:t,i[l]=255*r;return i},a.hsl.hsv=function(e){var t=e[0],n=e[1]/100,o=e[2]/100,i=n,r=Math.max(o,.01);return n*=(o*=2)<=1?o:2-o,i*=r<=1?r:2-r,[t,100*(0===o?2*i/(r+i):2*n/(o+n)),100*((o+n)/2)]},a.hsv.rgb=function(e){var t=e[0]/60,n=e[1]/100,o=e[2]/100,i=Math.floor(t)%6,r=t-Math.floor(t),a=255*o*(1-n),c=255*o*(1-n*r),s=255*o*(1-n*(1-r));switch(o*=255,i){case 0:return[o,s,a];case 1:return[c,o,a];case 2:return[a,o,s];case 3:return[a,c,o];case 4:return[s,a,o];case 5:return[o,a,c]}},a.hsv.hsl=function(e){var t,n,o,i=e[0],r=e[1]/100,a=e[2]/100,c=Math.max(a,.01);return o=(2-r)*a,n=r*c,[i,100*(n=(n/=(t=(2-r)*c)<=1?t:2-t)||0),100*(o/=2)]},a.hwb.rgb=function(e){var t,n,o,i,r,a,c,s=e[0]/360,l=e[1]/100,d=e[2]/100,m=l+d;switch(m>1&&(l/=m,d/=m),o=6*s-(t=Math.floor(6*s)),1&t&&(o=1-o),i=l+o*((n=1-d)-l),t){default:case 6:case 0:r=n,a=i,c=l;break;case 1:r=i,a=n,c=l;break;case 2:r=l,a=n,c=i;break;case 3:r=l,a=i,c=n;break;case 4:r=i,a=l,c=n;break;case 5:r=n,a=l,c=i}return[255*r,255*a,255*c]},a.cmyk.rgb=function(e){var t=e[0]/100,n=e[1]/100,o=e[2]/100,i=e[3]/100;return[255*(1-Math.min(1,t*(1-i)+i)),255*(1-Math.min(1,n*(1-i)+i)),255*(1-Math.min(1,o*(1-i)+i))]},a.xyz.rgb=function(e){var t,n,o,i=e[0]/100,r=e[1]/100,a=e[2]/100;return n=-.9689*i+1.8758*r+.0415*a,o=.0557*i+-.204*r+1.057*a,t=(t=3.2406*i+-1.5372*r+-.4986*a)>.0031308?1.055*Math.pow(t,1/2.4)-.055:12.92*t,n=n>.0031308?1.055*Math.pow(n,1/2.4)-.055:12.92*n,o=o>.0031308?1.055*Math.pow(o,1/2.4)-.055:12.92*o,[255*(t=Math.min(Math.max(0,t),1)),255*(n=Math.min(Math.max(0,n),1)),255*(o=Math.min(Math.max(0,o),1))]},a.xyz.lab=function(e){var t=e[0],n=e[1],o=e[2];return n/=100,o/=108.883,t=(t/=95.047)>.008856?Math.pow(t,1/3):7.787*t+16/116,[116*(n=n>.008856?Math.pow(n,1/3):7.787*n+16/116)-16,500*(t-n),200*(n-(o=o>.008856?Math.pow(o,1/3):7.787*o+16/116))]},a.lab.xyz=function(e){var t,n,o,i=e[0];t=e[1]/500+(n=(i+16)/116),o=n-e[2]/200;var r=Math.pow(n,3),a=Math.pow(t,3),c=Math.pow(o,3);return n=r>.008856?r:(n-16/116)/7.787,t=a>.008856?a:(t-16/116)/7.787,o=c>.008856?c:(o-16/116)/7.787,[t*=95.047,n*=100,o*=108.883]},a.lab.lch=function(e){var t,n=e[0],o=e[1],i=e[2];return(t=360*Math.atan2(i,o)/2/Math.PI)<0&&(t+=360),[n,Math.sqrt(o*o+i*i),t]},a.lch.lab=function(e){var t,n=e[0],o=e[1];return t=e[2]/360*2*Math.PI,[n,o*Math.cos(t),o*Math.sin(t)]},a.rgb.ansi16=function(e){var t=e[0],n=e[1],o=e[2],i=1 in arguments?arguments[1]:a.rgb.hsv(e)[2];if(0===(i=Math.round(i/50)))return 30;var r=30+(Math.round(o/255)<<2|Math.round(n/255)<<1|Math.round(t/255));return 2===i&&(r+=60),r},a.hsv.ansi16=function(e){return a.rgb.ansi16(a.hsv.rgb(e),e[2])},a.rgb.ansi256=function(e){var t=e[0],n=e[1],o=e[2];return t===n&&n===o?t<8?16:t>248?231:Math.round((t-8)/247*24)+232:16+36*Math.round(t/255*5)+6*Math.round(n/255*5)+Math.round(o/255*5)},a.ansi16.rgb=function(e){var t=e%10;if(0===t||7===t)return e>50&&(t+=3.5),[t=t/10.5*255,t,t];var n=.5*(1+~~(e>50));return[(1&t)*n*255,(t>>1&1)*n*255,(t>>2&1)*n*255]},a.ansi256.rgb=function(e){if(e>=232){var t=10*(e-232)+8;return[t,t,t]}var n;return e-=16,[Math.floor(e/36)/5*255,Math.floor((n=e%36)/6)/5*255,n%6/5*255]},a.rgb.hex=function(e){var t=(((255&Math.round(e[0]))<<16)+((255&Math.round(e[1]))<<8)+(255&Math.round(e[2]))).toString(16).toUpperCase();return"000000".substring(t.length)+t},a.hex.rgb=function(e){var t=e.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!t)return[0,0,0];var n=t[0];3===t[0].length&&(n=n.split("").map((function(e){return e+e})).join(""));var o=parseInt(n,16);return[o>>16&255,o>>8&255,255&o]},a.rgb.hcg=function(e){var t,n=e[0]/255,o=e[1]/255,i=e[2]/255,r=Math.max(Math.max(n,o),i),a=Math.min(Math.min(n,o),i),c=r-a;return t=c<=0?0:r===n?(o-i)/c%6:r===o?2+(i-n)/c:4+(n-o)/c+4,t/=6,[360*(t%=1),100*c,100*(c<1?a/(1-c):0)]},a.hsl.hcg=function(e){var t=e[1]/100,n=e[2]/100,o=1,i=0;return(o=n<.5?2*t*n:2*t*(1-n))<1&&(i=(n-.5*o)/(1-o)),[e[0],100*o,100*i]},a.hsv.hcg=function(e){var t=e[1]/100,n=e[2]/100,o=t*n,i=0;return o<1&&(i=(n-o)/(1-o)),[e[0],100*o,100*i]},a.hcg.rgb=function(e){var t=e[0]/360,n=e[1]/100,o=e[2]/100;if(0===n)return[255*o,255*o,255*o];var i,r=[0,0,0],a=t%1*6,c=a%1,s=1-c;switch(Math.floor(a)){case 0:r[0]=1,r[1]=c,r[2]=0;break;case 1:r[0]=s,r[1]=1,r[2]=0;break;case 2:r[0]=0,r[1]=1,r[2]=c;break;case 3:r[0]=0,r[1]=s,r[2]=1;break;case 4:r[0]=c,r[1]=0,r[2]=1;break;default:r[0]=1,r[1]=0,r[2]=s}return i=(1-n)*o,[255*(n*r[0]+i),255*(n*r[1]+i),255*(n*r[2]+i)]},a.hcg.hsv=function(e){var t=e[1]/100,n=t+e[2]/100*(1-t),o=0;return n>0&&(o=t/n),[e[0],100*o,100*n]},a.hcg.hsl=function(e){var t=e[1]/100,n=e[2]/100*(1-t)+.5*t,o=0;return n>0&&n<.5?o=t/(2*n):n>=.5&&n<1&&(o=t/(2*(1-n))),[e[0],100*o,100*n]},a.hcg.hwb=function(e){var t=e[1]/100,n=t+e[2]/100*(1-t);return[e[0],100*(n-t),100*(1-n)]},a.hwb.hcg=function(e){var t=e[1]/100,n=1-e[2]/100,o=n-t,i=0;return o<1&&(i=(n-o)/(1-o)),[e[0],100*o,100*i]},a.apple.rgb=function(e){return[e[0]/65535*255,e[1]/65535*255,e[2]/65535*255]},a.rgb.apple=function(e){return[e[0]/255*65535,e[1]/255*65535,e[2]/255*65535]},a.gray.rgb=function(e){return[e[0]/100*255,e[0]/100*255,e[0]/100*255]},a.gray.hsl=a.gray.hsv=function(e){return[0,0,e[0]]},a.gray.hwb=function(e){return[0,100,e[0]]},a.gray.cmyk=function(e){return[0,0,0,e[0]]},a.gray.lab=function(e){return[e[0],0,0]},a.gray.hex=function(e){var t=255&Math.round(e[0]/100*255),n=((t<<16)+(t<<8)+t).toString(16).toUpperCase();return"000000".substring(n.length)+n},a.rgb.gray=function(e){return[(e[0]+e[1]+e[2])/3/255*100]}},4732:(e,t,n)=>{var o=n(6481),i=n(1157),r={};Object.keys(o).forEach((function(e){r[e]={},Object.defineProperty(r[e],"channels",{value:o[e].channels}),Object.defineProperty(r[e],"labels",{value:o[e].labels});var t=i(e);Object.keys(t).forEach((function(n){var o=t[n];r[e][n]=function(e){var t=function(t){if(null==t)return t;arguments.length>1&&(t=Array.prototype.slice.call(arguments));var n=e(t);if("object"==typeof n)for(var o=n.length,i=0;i1&&(t=Array.prototype.slice.call(arguments)),e(t))};return"conversion"in e&&(t.conversion=e.conversion),t}(o)}))})),e.exports=r},1157:(e,t,n)=>{var o=n(6481);function i(e){var t=function(){for(var e={},t=Object.keys(o),n=t.length,i=0;i{"use strict";e.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}},4877:e=>{"use strict";e.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}},6138:(e,t,n)=>{var o=n(4877),i=n(301),r=Object.hasOwnProperty,a=Object.create(null);for(var c in o)r.call(o,c)&&(a[o[c]]=c);var s=e.exports={to:{},get:{}};function l(e,t,n){return Math.min(Math.max(t,e),n)}function d(e){var t=Math.round(e).toString(16).toUpperCase();return t.length<2?"0"+t:t}s.get=function(e){var t,n;switch(e.substring(0,3).toLowerCase()){case"hsl":t=s.get.hsl(e),n="hsl";break;case"hwb":t=s.get.hwb(e),n="hwb";break;default:t=s.get.rgb(e),n="rgb"}return t?{model:n,value:t}:null},s.get.rgb=function(e){if(!e)return null;var t,n,i,a=[0,0,0,1];if(t=e.match(/^#([a-f0-9]{6})([a-f0-9]{2})?$/i)){for(i=t[2],t=t[1],n=0;n<3;n++){var c=2*n;a[n]=parseInt(t.slice(c,c+2),16)}i&&(a[3]=parseInt(i,16)/255)}else if(t=e.match(/^#([a-f0-9]{3,4})$/i)){for(i=(t=t[1])[3],n=0;n<3;n++)a[n]=parseInt(t[n]+t[n],16);i&&(a[3]=parseInt(i+i,16)/255)}else if(t=e.match(/^rgba?\(\s*([+-]?\d+)(?=[\s,])\s*(?:,\s*)?([+-]?\d+)(?=[\s,])\s*(?:,\s*)?([+-]?\d+)\s*(?:[,|\/]\s*([+-]?[\d\.]+)(%?)\s*)?\)$/)){for(n=0;n<3;n++)a[n]=parseInt(t[n+1],0);t[4]&&(t[5]?a[3]=.01*parseFloat(t[4]):a[3]=parseFloat(t[4]))}else{if(!(t=e.match(/^rgba?\(\s*([+-]?[\d\.]+)\%\s*,?\s*([+-]?[\d\.]+)\%\s*,?\s*([+-]?[\d\.]+)\%\s*(?:[,|\/]\s*([+-]?[\d\.]+)(%?)\s*)?\)$/)))return(t=e.match(/^(\w+)$/))?"transparent"===t[1]?[0,0,0,0]:r.call(o,t[1])?((a=o[t[1]])[3]=1,a):null:null;for(n=0;n<3;n++)a[n]=Math.round(2.55*parseFloat(t[n+1]));t[4]&&(t[5]?a[3]=.01*parseFloat(t[4]):a[3]=parseFloat(t[4]))}for(n=0;n<3;n++)a[n]=l(a[n],0,255);return a[3]=l(a[3],0,1),a},s.get.hsl=function(e){if(!e)return null;var t=e.match(/^hsla?\(\s*([+-]?(?:\d{0,3}\.)?\d+)(?:deg)?\s*,?\s*([+-]?[\d\.]+)%\s*,?\s*([+-]?[\d\.]+)%\s*(?:[,|\/]\s*([+-]?(?=\.\d|\d)(?:0|[1-9]\d*)?(?:\.\d*)?(?:[eE][+-]?\d+)?)\s*)?\)$/);if(t){var n=parseFloat(t[4]);return[(parseFloat(t[1])%360+360)%360,l(parseFloat(t[2]),0,100),l(parseFloat(t[3]),0,100),l(isNaN(n)?1:n,0,1)]}return null},s.get.hwb=function(e){if(!e)return null;var t=e.match(/^hwb\(\s*([+-]?\d{0,3}(?:\.\d+)?)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?(?=\.\d|\d)(?:0|[1-9]\d*)?(?:\.\d*)?(?:[eE][+-]?\d+)?)\s*)?\)$/);if(t){var n=parseFloat(t[4]);return[(parseFloat(t[1])%360+360)%360,l(parseFloat(t[2]),0,100),l(parseFloat(t[3]),0,100),l(isNaN(n)?1:n,0,1)]}return null},s.to.hex=function(){var e=i(arguments);return"#"+d(e[0])+d(e[1])+d(e[2])+(e[3]<1?d(Math.round(255*e[3])):"")},s.to.rgb=function(){var e=i(arguments);return e.length<4||1===e[3]?"rgb("+Math.round(e[0])+", "+Math.round(e[1])+", "+Math.round(e[2])+")":"rgba("+Math.round(e[0])+", "+Math.round(e[1])+", "+Math.round(e[2])+", "+e[3]+")"},s.to.rgb.percent=function(){var e=i(arguments),t=Math.round(e[0]/255*100),n=Math.round(e[1]/255*100),o=Math.round(e[2]/255*100);return e.length<4||1===e[3]?"rgb("+t+"%, "+n+"%, "+o+"%)":"rgba("+t+"%, "+n+"%, "+o+"%, "+e[3]+")"},s.to.hsl=function(){var e=i(arguments);return e.length<4||1===e[3]?"hsl("+e[0]+", "+e[1]+"%, "+e[2]+"%)":"hsla("+e[0]+", "+e[1]+"%, "+e[2]+"%, "+e[3]+")"},s.to.hwb=function(){var e=i(arguments),t="";return e.length>=4&&1!==e[3]&&(t=", "+e[3]),"hwb("+e[0]+", "+e[1]+"%, "+e[2]+"%"+t+")"},s.to.keyword=function(e){return a[e.slice(0,3)]}},3639:(e,t,n)=>{"use strict";var o=n(6138),i=n(4732),r=[].slice,a=["keyword","gray","hex"],c={};Object.keys(i).forEach((function(e){c[r.call(i[e].labels).sort().join("")]=e}));var s={};function l(e,t){if(!(this instanceof l))return new l(e,t);if(t&&t in a&&(t=null),t&&!(t in i))throw new Error("Unknown model: "+t);var n,d;if(null==e)// eslint-disable-line no-eq-null,eqeqeq this.model="rgb",this.color=[0,0,0],this.valpha=1;else if(e instanceof l)this.model=e.model,this.color=e.color.slice(),this.valpha=e.valpha;else if("string"==typeof e){var m=o.get(e);if(null===m)throw new Error("Unable to parse color from string: "+e);this.model=m.model,d=i[this.model].channels,this.color=m.value.slice(0,d),this.valpha="number"==typeof m.value[d]?m.value[d]:1}else if(e.length){this.model=t||"rgb",d=i[this.model].channels;var f=r.call(e,0,d);this.color=u(f,d),this.valpha="number"==typeof e[d]?e[d]:1}else if("number"==typeof e)e&=16777215,this.model="rgb",this.color=[e>>16&255,e>>8&255,255&e],this.valpha=1;else{this.valpha=1;var p=Object.keys(e);"alpha"in e&&(p.splice(p.indexOf("alpha"),1),this.valpha="number"==typeof e.alpha?e.alpha:0);var b=p.sort().join("");if(!(b in c))throw new Error("Unable to parse color from object: "+JSON.stringify(e));this.model=c[b];var h=i[this.model].labels,g=[];for(n=0;nn?(t+.05)/(n+.05):(n+.05)/(t+.05)},level:function(e){var t=this.contrast(e);return t>=7.1?"AAA":t>=4.5?"AA":""},isDark:function(){var e=this.rgb().color;return(299*e[0]+587*e[1]+114*e[2])/1e3<128},isLight:function(){return!this.isDark()},negate:function(){for(var e=this.rgb(),t=0;t<3;t++)e.color[t]=255-e.color[t];return e},lighten:function(e){var t=this.hsl();return t.color[2]+=t.color[2]*e,t},darken:function(e){var t=this.hsl();return t.color[2]-=t.color[2]*e,t},saturate:function(e){var t=this.hsl();return t.color[1]+=t.color[1]*e,t},desaturate:function(e){var t=this.hsl();return t.color[1]-=t.color[1]*e,t},whiten:function(e){var t=this.hwb();return t.color[1]+=t.color[1]*e,t},blacken:function(e){var t=this.hwb();return t.color[2]+=t.color[2]*e,t},grayscale:function(){var e=this.rgb().color,t=.3*e[0]+.59*e[1]+.11*e[2];return l.rgb(t,t,t)},fade:function(e){return this.alpha(this.valpha-this.valpha*e)},opaquer:function(e){return this.alpha(this.valpha+this.valpha*e)},rotate:function(e){var t=this.hsl(),n=t.color[0];return n=(n=(n+e)%360)<0?360+n:n,t.color[0]=n,t},mix:function(e,t){if(!e||!e.rgb)throw new Error('Argument to "mix" was not a Color instance, but rather an instance of '+typeof e);var n=e.rgb(),o=this.rgb(),i=void 0===t?.5:t,r=2*i-1,a=n.alpha()-o.alpha(),c=((r*a==-1?r:(r+a)/(1+r*a))+1)/2,s=1-c;return l.rgb(c*n.red()+s*o.red(),c*n.green()+s*o.green(),c*n.blue()+s*o.blue(),n.alpha()*i+o.alpha()*(1-i))}},Object.keys(i).forEach((function(e){if(-1===a.indexOf(e)){var t=i[e].channels;l.prototype[e]=function(){if(this.model===e)return new l(this);if(arguments.length)return new l(arguments,e);var n,o="number"==typeof arguments[t]?t:this.valpha;return new l((n=i[this.model][e].raw(this.color),Array.isArray(n)?n:[n]).concat(o),e)},l[e]=function(n){return"number"==typeof n&&(n=u(r.call(arguments),t)),new l(n,e)}}})),e.exports=l},3307:(e,t,n)=>{var o=n(2955)((function(e){return e[1]}));o.push([e.id,'.tippy-box[data-animation=fade][data-state=hidden]{opacity:0}[data-tippy-root]{max-width:calc(100vw - 10px)}.tippy-box{position:relative;background-color:#333;color:#fff;border-radius:4px;font-size:14px;line-height:1.4;white-space:normal;outline:0;transition-property:transform,visibility,opacity}.tippy-box[data-placement^=top]>.tippy-arrow{bottom:0}.tippy-box[data-placement^=top]>.tippy-arrow:before{bottom:-7px;left:0;border-width:8px 8px 0;border-top-color:initial;transform-origin:center top}.tippy-box[data-placement^=bottom]>.tippy-arrow{top:0}.tippy-box[data-placement^=bottom]>.tippy-arrow:before{top:-7px;left:0;border-width:0 8px 8px;border-bottom-color:initial;transform-origin:center bottom}.tippy-box[data-placement^=left]>.tippy-arrow{right:0}.tippy-box[data-placement^=left]>.tippy-arrow:before{border-width:8px 0 8px 8px;border-left-color:initial;right:-7px;transform-origin:center left}.tippy-box[data-placement^=right]>.tippy-arrow{left:0}.tippy-box[data-placement^=right]>.tippy-arrow:before{left:-7px;border-width:8px 8px 8px 0;border-right-color:initial;transform-origin:center right}.tippy-box[data-inertia][data-state=visible]{transition-timing-function:cubic-bezier(.54,1.5,.38,1.11)}.tippy-arrow{width:16px;height:16px;color:#333}.tippy-arrow:before{content:"";position:absolute;border-color:transparent;border-style:solid}.tippy-content{position:relative;padding:5px 9px;z-index:1}',""]),e.exports=o},4663:(e,t,n)=>{var o=n(2955),i=n(8818),r=n(4213),a=o((function(e){return e[1]})),c=i(r);a.push([e.id,'@font-face{font-family:"Material Design Icons";src:url('+c+');font-weight:normal;font-style:normal}.mdi:before,.mdi-set{display:inline-block;font:normal normal normal 24px/1 "Material Design Icons";font-size:inherit;text-rendering:auto;line-height:inherit;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.mdi-ab-testing::before{content:"\\F01C9"}.mdi-abjad-arabic::before{content:"\\F1328"}.mdi-abjad-hebrew::before{content:"\\F1329"}.mdi-abugida-devanagari::before{content:"\\F132A"}.mdi-abugida-thai::before{content:"\\F132B"}.mdi-access-point::before{content:"\\F0003"}.mdi-access-point-network::before{content:"\\F0002"}.mdi-access-point-network-off::before{content:"\\F0BE1"}.mdi-account::before{content:"\\F0004"}.mdi-account-alert::before{content:"\\F0005"}.mdi-account-alert-outline::before{content:"\\F0B50"}.mdi-account-arrow-left::before{content:"\\F0B51"}.mdi-account-arrow-left-outline::before{content:"\\F0B52"}.mdi-account-arrow-right::before{content:"\\F0B53"}.mdi-account-arrow-right-outline::before{content:"\\F0B54"}.mdi-account-box::before{content:"\\F0006"}.mdi-account-box-multiple::before{content:"\\F0934"}.mdi-account-box-multiple-outline::before{content:"\\F100A"}.mdi-account-box-outline::before{content:"\\F0007"}.mdi-account-cancel::before{content:"\\F12DF"}.mdi-account-cancel-outline::before{content:"\\F12E0"}.mdi-account-cash::before{content:"\\F1097"}.mdi-account-cash-outline::before{content:"\\F1098"}.mdi-account-check::before{content:"\\F0008"}.mdi-account-check-outline::before{content:"\\F0BE2"}.mdi-account-child::before{content:"\\F0A89"}.mdi-account-child-circle::before{content:"\\F0A8A"}.mdi-account-child-outline::before{content:"\\F10C8"}.mdi-account-circle::before{content:"\\F0009"}.mdi-account-circle-outline::before{content:"\\F0B55"}.mdi-account-clock::before{content:"\\F0B56"}.mdi-account-clock-outline::before{content:"\\F0B57"}.mdi-account-cog::before{content:"\\F1370"}.mdi-account-cog-outline::before{content:"\\F1371"}.mdi-account-convert::before{content:"\\F000A"}.mdi-account-convert-outline::before{content:"\\F1301"}.mdi-account-cowboy-hat::before{content:"\\F0E9B"}.mdi-account-details::before{content:"\\F0631"}.mdi-account-details-outline::before{content:"\\F1372"}.mdi-account-edit::before{content:"\\F06BC"}.mdi-account-edit-outline::before{content:"\\F0FFB"}.mdi-account-group::before{content:"\\F0849"}.mdi-account-group-outline::before{content:"\\F0B58"}.mdi-account-hard-hat::before{content:"\\F05B5"}.mdi-account-heart::before{content:"\\F0899"}.mdi-account-heart-outline::before{content:"\\F0BE3"}.mdi-account-key::before{content:"\\F000B"}.mdi-account-key-outline::before{content:"\\F0BE4"}.mdi-account-lock::before{content:"\\F115E"}.mdi-account-lock-outline::before{content:"\\F115F"}.mdi-account-minus::before{content:"\\F000D"}.mdi-account-minus-outline::before{content:"\\F0AEC"}.mdi-account-multiple::before{content:"\\F000E"}.mdi-account-multiple-check::before{content:"\\F08C5"}.mdi-account-multiple-check-outline::before{content:"\\F11FE"}.mdi-account-multiple-minus::before{content:"\\F05D3"}.mdi-account-multiple-minus-outline::before{content:"\\F0BE5"}.mdi-account-multiple-outline::before{content:"\\F000F"}.mdi-account-multiple-plus::before{content:"\\F0010"}.mdi-account-multiple-plus-outline::before{content:"\\F0800"}.mdi-account-multiple-remove::before{content:"\\F120A"}.mdi-account-multiple-remove-outline::before{content:"\\F120B"}.mdi-account-music::before{content:"\\F0803"}.mdi-account-music-outline::before{content:"\\F0CE9"}.mdi-account-network::before{content:"\\F0011"}.mdi-account-network-outline::before{content:"\\F0BE6"}.mdi-account-off::before{content:"\\F0012"}.mdi-account-off-outline::before{content:"\\F0BE7"}.mdi-account-outline::before{content:"\\F0013"}.mdi-account-plus::before{content:"\\F0014"}.mdi-account-plus-outline::before{content:"\\F0801"}.mdi-account-question::before{content:"\\F0B59"}.mdi-account-question-outline::before{content:"\\F0B5A"}.mdi-account-remove::before{content:"\\F0015"}.mdi-account-remove-outline::before{content:"\\F0AED"}.mdi-account-search::before{content:"\\F0016"}.mdi-account-search-outline::before{content:"\\F0935"}.mdi-account-settings::before{content:"\\F0630"}.mdi-account-settings-outline::before{content:"\\F10C9"}.mdi-account-star::before{content:"\\F0017"}.mdi-account-star-outline::before{content:"\\F0BE8"}.mdi-account-supervisor::before{content:"\\F0A8B"}.mdi-account-supervisor-circle::before{content:"\\F0A8C"}.mdi-account-supervisor-outline::before{content:"\\F112D"}.mdi-account-switch::before{content:"\\F0019"}.mdi-account-switch-outline::before{content:"\\F04CB"}.mdi-account-tie::before{content:"\\F0CE3"}.mdi-account-tie-outline::before{content:"\\F10CA"}.mdi-account-tie-voice::before{content:"\\F1308"}.mdi-account-tie-voice-off::before{content:"\\F130A"}.mdi-account-tie-voice-off-outline::before{content:"\\F130B"}.mdi-account-tie-voice-outline::before{content:"\\F1309"}.mdi-account-voice::before{content:"\\F05CB"}.mdi-adjust::before{content:"\\F001A"}.mdi-adobe::before{content:"\\F0936"}.mdi-adobe-acrobat::before{content:"\\F0F9D"}.mdi-air-conditioner::before{content:"\\F001B"}.mdi-air-filter::before{content:"\\F0D43"}.mdi-air-horn::before{content:"\\F0DAC"}.mdi-air-humidifier::before{content:"\\F1099"}.mdi-air-humidifier-off::before{content:"\\F1466"}.mdi-air-purifier::before{content:"\\F0D44"}.mdi-airbag::before{content:"\\F0BE9"}.mdi-airballoon::before{content:"\\F001C"}.mdi-airballoon-outline::before{content:"\\F100B"}.mdi-airplane::before{content:"\\F001D"}.mdi-airplane-landing::before{content:"\\F05D4"}.mdi-airplane-off::before{content:"\\F001E"}.mdi-airplane-takeoff::before{content:"\\F05D5"}.mdi-airport::before{content:"\\F084B"}.mdi-alarm::before{content:"\\F0020"}.mdi-alarm-bell::before{content:"\\F078E"}.mdi-alarm-check::before{content:"\\F0021"}.mdi-alarm-light::before{content:"\\F078F"}.mdi-alarm-light-outline::before{content:"\\F0BEA"}.mdi-alarm-multiple::before{content:"\\F0022"}.mdi-alarm-note::before{content:"\\F0E71"}.mdi-alarm-note-off::before{content:"\\F0E72"}.mdi-alarm-off::before{content:"\\F0023"}.mdi-alarm-plus::before{content:"\\F0024"}.mdi-alarm-snooze::before{content:"\\F068E"}.mdi-album::before{content:"\\F0025"}.mdi-alert::before{content:"\\F0026"}.mdi-alert-box::before{content:"\\F0027"}.mdi-alert-box-outline::before{content:"\\F0CE4"}.mdi-alert-circle::before{content:"\\F0028"}.mdi-alert-circle-check::before{content:"\\F11ED"}.mdi-alert-circle-check-outline::before{content:"\\F11EE"}.mdi-alert-circle-outline::before{content:"\\F05D6"}.mdi-alert-decagram::before{content:"\\F06BD"}.mdi-alert-decagram-outline::before{content:"\\F0CE5"}.mdi-alert-minus::before{content:"\\F14BB"}.mdi-alert-minus-outline::before{content:"\\F14BE"}.mdi-alert-octagon::before{content:"\\F0029"}.mdi-alert-octagon-outline::before{content:"\\F0CE6"}.mdi-alert-octagram::before{content:"\\F0767"}.mdi-alert-octagram-outline::before{content:"\\F0CE7"}.mdi-alert-outline::before{content:"\\F002A"}.mdi-alert-plus::before{content:"\\F14BA"}.mdi-alert-plus-outline::before{content:"\\F14BD"}.mdi-alert-remove::before{content:"\\F14BC"}.mdi-alert-remove-outline::before{content:"\\F14BF"}.mdi-alert-rhombus::before{content:"\\F11CE"}.mdi-alert-rhombus-outline::before{content:"\\F11CF"}.mdi-alien::before{content:"\\F089A"}.mdi-alien-outline::before{content:"\\F10CB"}.mdi-align-horizontal-center::before{content:"\\F11C3"}.mdi-align-horizontal-left::before{content:"\\F11C2"}.mdi-align-horizontal-right::before{content:"\\F11C4"}.mdi-align-vertical-bottom::before{content:"\\F11C5"}.mdi-align-vertical-center::before{content:"\\F11C6"}.mdi-align-vertical-top::before{content:"\\F11C7"}.mdi-all-inclusive::before{content:"\\F06BE"}.mdi-allergy::before{content:"\\F1258"}.mdi-alpha::before{content:"\\F002B"}.mdi-alpha-a::before{content:"\\F0AEE"}.mdi-alpha-a-box::before{content:"\\F0B08"}.mdi-alpha-a-box-outline::before{content:"\\F0BEB"}.mdi-alpha-a-circle::before{content:"\\F0BEC"}.mdi-alpha-a-circle-outline::before{content:"\\F0BED"}.mdi-alpha-b::before{content:"\\F0AEF"}.mdi-alpha-b-box::before{content:"\\F0B09"}.mdi-alpha-b-box-outline::before{content:"\\F0BEE"}.mdi-alpha-b-circle::before{content:"\\F0BEF"}.mdi-alpha-b-circle-outline::before{content:"\\F0BF0"}.mdi-alpha-c::before{content:"\\F0AF0"}.mdi-alpha-c-box::before{content:"\\F0B0A"}.mdi-alpha-c-box-outline::before{content:"\\F0BF1"}.mdi-alpha-c-circle::before{content:"\\F0BF2"}.mdi-alpha-c-circle-outline::before{content:"\\F0BF3"}.mdi-alpha-d::before{content:"\\F0AF1"}.mdi-alpha-d-box::before{content:"\\F0B0B"}.mdi-alpha-d-box-outline::before{content:"\\F0BF4"}.mdi-alpha-d-circle::before{content:"\\F0BF5"}.mdi-alpha-d-circle-outline::before{content:"\\F0BF6"}.mdi-alpha-e::before{content:"\\F0AF2"}.mdi-alpha-e-box::before{content:"\\F0B0C"}.mdi-alpha-e-box-outline::before{content:"\\F0BF7"}.mdi-alpha-e-circle::before{content:"\\F0BF8"}.mdi-alpha-e-circle-outline::before{content:"\\F0BF9"}.mdi-alpha-f::before{content:"\\F0AF3"}.mdi-alpha-f-box::before{content:"\\F0B0D"}.mdi-alpha-f-box-outline::before{content:"\\F0BFA"}.mdi-alpha-f-circle::before{content:"\\F0BFB"}.mdi-alpha-f-circle-outline::before{content:"\\F0BFC"}.mdi-alpha-g::before{content:"\\F0AF4"}.mdi-alpha-g-box::before{content:"\\F0B0E"}.mdi-alpha-g-box-outline::before{content:"\\F0BFD"}.mdi-alpha-g-circle::before{content:"\\F0BFE"}.mdi-alpha-g-circle-outline::before{content:"\\F0BFF"}.mdi-alpha-h::before{content:"\\F0AF5"}.mdi-alpha-h-box::before{content:"\\F0B0F"}.mdi-alpha-h-box-outline::before{content:"\\F0C00"}.mdi-alpha-h-circle::before{content:"\\F0C01"}.mdi-alpha-h-circle-outline::before{content:"\\F0C02"}.mdi-alpha-i::before{content:"\\F0AF6"}.mdi-alpha-i-box::before{content:"\\F0B10"}.mdi-alpha-i-box-outline::before{content:"\\F0C03"}.mdi-alpha-i-circle::before{content:"\\F0C04"}.mdi-alpha-i-circle-outline::before{content:"\\F0C05"}.mdi-alpha-j::before{content:"\\F0AF7"}.mdi-alpha-j-box::before{content:"\\F0B11"}.mdi-alpha-j-box-outline::before{content:"\\F0C06"}.mdi-alpha-j-circle::before{content:"\\F0C07"}.mdi-alpha-j-circle-outline::before{content:"\\F0C08"}.mdi-alpha-k::before{content:"\\F0AF8"}.mdi-alpha-k-box::before{content:"\\F0B12"}.mdi-alpha-k-box-outline::before{content:"\\F0C09"}.mdi-alpha-k-circle::before{content:"\\F0C0A"}.mdi-alpha-k-circle-outline::before{content:"\\F0C0B"}.mdi-alpha-l::before{content:"\\F0AF9"}.mdi-alpha-l-box::before{content:"\\F0B13"}.mdi-alpha-l-box-outline::before{content:"\\F0C0C"}.mdi-alpha-l-circle::before{content:"\\F0C0D"}.mdi-alpha-l-circle-outline::before{content:"\\F0C0E"}.mdi-alpha-m::before{content:"\\F0AFA"}.mdi-alpha-m-box::before{content:"\\F0B14"}.mdi-alpha-m-box-outline::before{content:"\\F0C0F"}.mdi-alpha-m-circle::before{content:"\\F0C10"}.mdi-alpha-m-circle-outline::before{content:"\\F0C11"}.mdi-alpha-n::before{content:"\\F0AFB"}.mdi-alpha-n-box::before{content:"\\F0B15"}.mdi-alpha-n-box-outline::before{content:"\\F0C12"}.mdi-alpha-n-circle::before{content:"\\F0C13"}.mdi-alpha-n-circle-outline::before{content:"\\F0C14"}.mdi-alpha-o::before{content:"\\F0AFC"}.mdi-alpha-o-box::before{content:"\\F0B16"}.mdi-alpha-o-box-outline::before{content:"\\F0C15"}.mdi-alpha-o-circle::before{content:"\\F0C16"}.mdi-alpha-o-circle-outline::before{content:"\\F0C17"}.mdi-alpha-p::before{content:"\\F0AFD"}.mdi-alpha-p-box::before{content:"\\F0B17"}.mdi-alpha-p-box-outline::before{content:"\\F0C18"}.mdi-alpha-p-circle::before{content:"\\F0C19"}.mdi-alpha-p-circle-outline::before{content:"\\F0C1A"}.mdi-alpha-q::before{content:"\\F0AFE"}.mdi-alpha-q-box::before{content:"\\F0B18"}.mdi-alpha-q-box-outline::before{content:"\\F0C1B"}.mdi-alpha-q-circle::before{content:"\\F0C1C"}.mdi-alpha-q-circle-outline::before{content:"\\F0C1D"}.mdi-alpha-r::before{content:"\\F0AFF"}.mdi-alpha-r-box::before{content:"\\F0B19"}.mdi-alpha-r-box-outline::before{content:"\\F0C1E"}.mdi-alpha-r-circle::before{content:"\\F0C1F"}.mdi-alpha-r-circle-outline::before{content:"\\F0C20"}.mdi-alpha-s::before{content:"\\F0B00"}.mdi-alpha-s-box::before{content:"\\F0B1A"}.mdi-alpha-s-box-outline::before{content:"\\F0C21"}.mdi-alpha-s-circle::before{content:"\\F0C22"}.mdi-alpha-s-circle-outline::before{content:"\\F0C23"}.mdi-alpha-t::before{content:"\\F0B01"}.mdi-alpha-t-box::before{content:"\\F0B1B"}.mdi-alpha-t-box-outline::before{content:"\\F0C24"}.mdi-alpha-t-circle::before{content:"\\F0C25"}.mdi-alpha-t-circle-outline::before{content:"\\F0C26"}.mdi-alpha-u::before{content:"\\F0B02"}.mdi-alpha-u-box::before{content:"\\F0B1C"}.mdi-alpha-u-box-outline::before{content:"\\F0C27"}.mdi-alpha-u-circle::before{content:"\\F0C28"}.mdi-alpha-u-circle-outline::before{content:"\\F0C29"}.mdi-alpha-v::before{content:"\\F0B03"}.mdi-alpha-v-box::before{content:"\\F0B1D"}.mdi-alpha-v-box-outline::before{content:"\\F0C2A"}.mdi-alpha-v-circle::before{content:"\\F0C2B"}.mdi-alpha-v-circle-outline::before{content:"\\F0C2C"}.mdi-alpha-w::before{content:"\\F0B04"}.mdi-alpha-w-box::before{content:"\\F0B1E"}.mdi-alpha-w-box-outline::before{content:"\\F0C2D"}.mdi-alpha-w-circle::before{content:"\\F0C2E"}.mdi-alpha-w-circle-outline::before{content:"\\F0C2F"}.mdi-alpha-x::before{content:"\\F0B05"}.mdi-alpha-x-box::before{content:"\\F0B1F"}.mdi-alpha-x-box-outline::before{content:"\\F0C30"}.mdi-alpha-x-circle::before{content:"\\F0C31"}.mdi-alpha-x-circle-outline::before{content:"\\F0C32"}.mdi-alpha-y::before{content:"\\F0B06"}.mdi-alpha-y-box::before{content:"\\F0B20"}.mdi-alpha-y-box-outline::before{content:"\\F0C33"}.mdi-alpha-y-circle::before{content:"\\F0C34"}.mdi-alpha-y-circle-outline::before{content:"\\F0C35"}.mdi-alpha-z::before{content:"\\F0B07"}.mdi-alpha-z-box::before{content:"\\F0B21"}.mdi-alpha-z-box-outline::before{content:"\\F0C36"}.mdi-alpha-z-circle::before{content:"\\F0C37"}.mdi-alpha-z-circle-outline::before{content:"\\F0C38"}.mdi-alphabet-aurebesh::before{content:"\\F132C"}.mdi-alphabet-cyrillic::before{content:"\\F132D"}.mdi-alphabet-greek::before{content:"\\F132E"}.mdi-alphabet-latin::before{content:"\\F132F"}.mdi-alphabet-piqad::before{content:"\\F1330"}.mdi-alphabet-tengwar::before{content:"\\F1337"}.mdi-alphabetical::before{content:"\\F002C"}.mdi-alphabetical-off::before{content:"\\F100C"}.mdi-alphabetical-variant::before{content:"\\F100D"}.mdi-alphabetical-variant-off::before{content:"\\F100E"}.mdi-altimeter::before{content:"\\F05D7"}.mdi-amazon::before{content:"\\F002D"}.mdi-amazon-alexa::before{content:"\\F08C6"}.mdi-ambulance::before{content:"\\F002F"}.mdi-ammunition::before{content:"\\F0CE8"}.mdi-ampersand::before{content:"\\F0A8D"}.mdi-amplifier::before{content:"\\F0030"}.mdi-amplifier-off::before{content:"\\F11B5"}.mdi-anchor::before{content:"\\F0031"}.mdi-android::before{content:"\\F0032"}.mdi-android-auto::before{content:"\\F0A8E"}.mdi-android-debug-bridge::before{content:"\\F0033"}.mdi-android-messages::before{content:"\\F0D45"}.mdi-android-studio::before{content:"\\F0034"}.mdi-angle-acute::before{content:"\\F0937"}.mdi-angle-obtuse::before{content:"\\F0938"}.mdi-angle-right::before{content:"\\F0939"}.mdi-angular::before{content:"\\F06B2"}.mdi-angularjs::before{content:"\\F06BF"}.mdi-animation::before{content:"\\F05D8"}.mdi-animation-outline::before{content:"\\F0A8F"}.mdi-animation-play::before{content:"\\F093A"}.mdi-animation-play-outline::before{content:"\\F0A90"}.mdi-ansible::before{content:"\\F109A"}.mdi-antenna::before{content:"\\F1119"}.mdi-anvil::before{content:"\\F089B"}.mdi-apache-kafka::before{content:"\\F100F"}.mdi-api::before{content:"\\F109B"}.mdi-api-off::before{content:"\\F1257"}.mdi-apple::before{content:"\\F0035"}.mdi-apple-airplay::before{content:"\\F001F"}.mdi-apple-finder::before{content:"\\F0036"}.mdi-apple-icloud::before{content:"\\F0038"}.mdi-apple-ios::before{content:"\\F0037"}.mdi-apple-keyboard-caps::before{content:"\\F0632"}.mdi-apple-keyboard-command::before{content:"\\F0633"}.mdi-apple-keyboard-control::before{content:"\\F0634"}.mdi-apple-keyboard-option::before{content:"\\F0635"}.mdi-apple-keyboard-shift::before{content:"\\F0636"}.mdi-apple-safari::before{content:"\\F0039"}.mdi-application::before{content:"\\F0614"}.mdi-application-export::before{content:"\\F0DAD"}.mdi-application-import::before{content:"\\F0DAE"}.mdi-approximately-equal::before{content:"\\F0F9E"}.mdi-approximately-equal-box::before{content:"\\F0F9F"}.mdi-apps::before{content:"\\F003B"}.mdi-apps-box::before{content:"\\F0D46"}.mdi-arch::before{content:"\\F08C7"}.mdi-archive::before{content:"\\F003C"}.mdi-archive-arrow-down::before{content:"\\F1259"}.mdi-archive-arrow-down-outline::before{content:"\\F125A"}.mdi-archive-arrow-up::before{content:"\\F125B"}.mdi-archive-arrow-up-outline::before{content:"\\F125C"}.mdi-archive-outline::before{content:"\\F120E"}.mdi-arm-flex::before{content:"\\F0FD7"}.mdi-arm-flex-outline::before{content:"\\F0FD6"}.mdi-arrange-bring-forward::before{content:"\\F003D"}.mdi-arrange-bring-to-front::before{content:"\\F003E"}.mdi-arrange-send-backward::before{content:"\\F003F"}.mdi-arrange-send-to-back::before{content:"\\F0040"}.mdi-arrow-all::before{content:"\\F0041"}.mdi-arrow-bottom-left::before{content:"\\F0042"}.mdi-arrow-bottom-left-bold-outline::before{content:"\\F09B7"}.mdi-arrow-bottom-left-thick::before{content:"\\F09B8"}.mdi-arrow-bottom-right::before{content:"\\F0043"}.mdi-arrow-bottom-right-bold-outline::before{content:"\\F09B9"}.mdi-arrow-bottom-right-thick::before{content:"\\F09BA"}.mdi-arrow-collapse::before{content:"\\F0615"}.mdi-arrow-collapse-all::before{content:"\\F0044"}.mdi-arrow-collapse-down::before{content:"\\F0792"}.mdi-arrow-collapse-horizontal::before{content:"\\F084C"}.mdi-arrow-collapse-left::before{content:"\\F0793"}.mdi-arrow-collapse-right::before{content:"\\F0794"}.mdi-arrow-collapse-up::before{content:"\\F0795"}.mdi-arrow-collapse-vertical::before{content:"\\F084D"}.mdi-arrow-decision::before{content:"\\F09BB"}.mdi-arrow-decision-auto::before{content:"\\F09BC"}.mdi-arrow-decision-auto-outline::before{content:"\\F09BD"}.mdi-arrow-decision-outline::before{content:"\\F09BE"}.mdi-arrow-down::before{content:"\\F0045"}.mdi-arrow-down-bold::before{content:"\\F072E"}.mdi-arrow-down-bold-box::before{content:"\\F072F"}.mdi-arrow-down-bold-box-outline::before{content:"\\F0730"}.mdi-arrow-down-bold-circle::before{content:"\\F0047"}.mdi-arrow-down-bold-circle-outline::before{content:"\\F0048"}.mdi-arrow-down-bold-hexagon-outline::before{content:"\\F0049"}.mdi-arrow-down-bold-outline::before{content:"\\F09BF"}.mdi-arrow-down-box::before{content:"\\F06C0"}.mdi-arrow-down-circle::before{content:"\\F0CDB"}.mdi-arrow-down-circle-outline::before{content:"\\F0CDC"}.mdi-arrow-down-drop-circle::before{content:"\\F004A"}.mdi-arrow-down-drop-circle-outline::before{content:"\\F004B"}.mdi-arrow-down-thick::before{content:"\\F0046"}.mdi-arrow-expand::before{content:"\\F0616"}.mdi-arrow-expand-all::before{content:"\\F004C"}.mdi-arrow-expand-down::before{content:"\\F0796"}.mdi-arrow-expand-horizontal::before{content:"\\F084E"}.mdi-arrow-expand-left::before{content:"\\F0797"}.mdi-arrow-expand-right::before{content:"\\F0798"}.mdi-arrow-expand-up::before{content:"\\F0799"}.mdi-arrow-expand-vertical::before{content:"\\F084F"}.mdi-arrow-horizontal-lock::before{content:"\\F115B"}.mdi-arrow-left::before{content:"\\F004D"}.mdi-arrow-left-bold::before{content:"\\F0731"}.mdi-arrow-left-bold-box::before{content:"\\F0732"}.mdi-arrow-left-bold-box-outline::before{content:"\\F0733"}.mdi-arrow-left-bold-circle::before{content:"\\F004F"}.mdi-arrow-left-bold-circle-outline::before{content:"\\F0050"}.mdi-arrow-left-bold-hexagon-outline::before{content:"\\F0051"}.mdi-arrow-left-bold-outline::before{content:"\\F09C0"}.mdi-arrow-left-box::before{content:"\\F06C1"}.mdi-arrow-left-circle::before{content:"\\F0CDD"}.mdi-arrow-left-circle-outline::before{content:"\\F0CDE"}.mdi-arrow-left-drop-circle::before{content:"\\F0052"}.mdi-arrow-left-drop-circle-outline::before{content:"\\F0053"}.mdi-arrow-left-right::before{content:"\\F0E73"}.mdi-arrow-left-right-bold::before{content:"\\F0E74"}.mdi-arrow-left-right-bold-outline::before{content:"\\F09C1"}.mdi-arrow-left-thick::before{content:"\\F004E"}.mdi-arrow-right::before{content:"\\F0054"}.mdi-arrow-right-bold::before{content:"\\F0734"}.mdi-arrow-right-bold-box::before{content:"\\F0735"}.mdi-arrow-right-bold-box-outline::before{content:"\\F0736"}.mdi-arrow-right-bold-circle::before{content:"\\F0056"}.mdi-arrow-right-bold-circle-outline::before{content:"\\F0057"}.mdi-arrow-right-bold-hexagon-outline::before{content:"\\F0058"}.mdi-arrow-right-bold-outline::before{content:"\\F09C2"}.mdi-arrow-right-box::before{content:"\\F06C2"}.mdi-arrow-right-circle::before{content:"\\F0CDF"}.mdi-arrow-right-circle-outline::before{content:"\\F0CE0"}.mdi-arrow-right-drop-circle::before{content:"\\F0059"}.mdi-arrow-right-drop-circle-outline::before{content:"\\F005A"}.mdi-arrow-right-thick::before{content:"\\F0055"}.mdi-arrow-split-horizontal::before{content:"\\F093B"}.mdi-arrow-split-vertical::before{content:"\\F093C"}.mdi-arrow-top-left::before{content:"\\F005B"}.mdi-arrow-top-left-bold-outline::before{content:"\\F09C3"}.mdi-arrow-top-left-bottom-right::before{content:"\\F0E75"}.mdi-arrow-top-left-bottom-right-bold::before{content:"\\F0E76"}.mdi-arrow-top-left-thick::before{content:"\\F09C4"}.mdi-arrow-top-right::before{content:"\\F005C"}.mdi-arrow-top-right-bold-outline::before{content:"\\F09C5"}.mdi-arrow-top-right-bottom-left::before{content:"\\F0E77"}.mdi-arrow-top-right-bottom-left-bold::before{content:"\\F0E78"}.mdi-arrow-top-right-thick::before{content:"\\F09C6"}.mdi-arrow-up::before{content:"\\F005D"}.mdi-arrow-up-bold::before{content:"\\F0737"}.mdi-arrow-up-bold-box::before{content:"\\F0738"}.mdi-arrow-up-bold-box-outline::before{content:"\\F0739"}.mdi-arrow-up-bold-circle::before{content:"\\F005F"}.mdi-arrow-up-bold-circle-outline::before{content:"\\F0060"}.mdi-arrow-up-bold-hexagon-outline::before{content:"\\F0061"}.mdi-arrow-up-bold-outline::before{content:"\\F09C7"}.mdi-arrow-up-box::before{content:"\\F06C3"}.mdi-arrow-up-circle::before{content:"\\F0CE1"}.mdi-arrow-up-circle-outline::before{content:"\\F0CE2"}.mdi-arrow-up-down::before{content:"\\F0E79"}.mdi-arrow-up-down-bold::before{content:"\\F0E7A"}.mdi-arrow-up-down-bold-outline::before{content:"\\F09C8"}.mdi-arrow-up-drop-circle::before{content:"\\F0062"}.mdi-arrow-up-drop-circle-outline::before{content:"\\F0063"}.mdi-arrow-up-thick::before{content:"\\F005E"}.mdi-arrow-vertical-lock::before{content:"\\F115C"}.mdi-artstation::before{content:"\\F0B5B"}.mdi-aspect-ratio::before{content:"\\F0A24"}.mdi-assistant::before{content:"\\F0064"}.mdi-asterisk::before{content:"\\F06C4"}.mdi-at::before{content:"\\F0065"}.mdi-atlassian::before{content:"\\F0804"}.mdi-atm::before{content:"\\F0D47"}.mdi-atom::before{content:"\\F0768"}.mdi-atom-variant::before{content:"\\F0E7B"}.mdi-attachment::before{content:"\\F0066"}.mdi-audio-video::before{content:"\\F093D"}.mdi-audio-video-off::before{content:"\\F11B6"}.mdi-augmented-reality::before{content:"\\F0850"}.mdi-auto-download::before{content:"\\F137E"}.mdi-auto-fix::before{content:"\\F0068"}.mdi-auto-upload::before{content:"\\F0069"}.mdi-autorenew::before{content:"\\F006A"}.mdi-av-timer::before{content:"\\F006B"}.mdi-aws::before{content:"\\F0E0F"}.mdi-axe::before{content:"\\F08C8"}.mdi-axis::before{content:"\\F0D48"}.mdi-axis-arrow::before{content:"\\F0D49"}.mdi-axis-arrow-info::before{content:"\\F140E"}.mdi-axis-arrow-lock::before{content:"\\F0D4A"}.mdi-axis-lock::before{content:"\\F0D4B"}.mdi-axis-x-arrow::before{content:"\\F0D4C"}.mdi-axis-x-arrow-lock::before{content:"\\F0D4D"}.mdi-axis-x-rotate-clockwise::before{content:"\\F0D4E"}.mdi-axis-x-rotate-counterclockwise::before{content:"\\F0D4F"}.mdi-axis-x-y-arrow-lock::before{content:"\\F0D50"}.mdi-axis-y-arrow::before{content:"\\F0D51"}.mdi-axis-y-arrow-lock::before{content:"\\F0D52"}.mdi-axis-y-rotate-clockwise::before{content:"\\F0D53"}.mdi-axis-y-rotate-counterclockwise::before{content:"\\F0D54"}.mdi-axis-z-arrow::before{content:"\\F0D55"}.mdi-axis-z-arrow-lock::before{content:"\\F0D56"}.mdi-axis-z-rotate-clockwise::before{content:"\\F0D57"}.mdi-axis-z-rotate-counterclockwise::before{content:"\\F0D58"}.mdi-babel::before{content:"\\F0A25"}.mdi-baby::before{content:"\\F006C"}.mdi-baby-bottle::before{content:"\\F0F39"}.mdi-baby-bottle-outline::before{content:"\\F0F3A"}.mdi-baby-buggy::before{content:"\\F13E0"}.mdi-baby-carriage::before{content:"\\F068F"}.mdi-baby-carriage-off::before{content:"\\F0FA0"}.mdi-baby-face::before{content:"\\F0E7C"}.mdi-baby-face-outline::before{content:"\\F0E7D"}.mdi-backburger::before{content:"\\F006D"}.mdi-backspace::before{content:"\\F006E"}.mdi-backspace-outline::before{content:"\\F0B5C"}.mdi-backspace-reverse::before{content:"\\F0E7E"}.mdi-backspace-reverse-outline::before{content:"\\F0E7F"}.mdi-backup-restore::before{content:"\\F006F"}.mdi-bacteria::before{content:"\\F0ED5"}.mdi-bacteria-outline::before{content:"\\F0ED6"}.mdi-badge-account::before{content:"\\F0DA7"}.mdi-badge-account-alert::before{content:"\\F0DA8"}.mdi-badge-account-alert-outline::before{content:"\\F0DA9"}.mdi-badge-account-horizontal::before{content:"\\F0E0D"}.mdi-badge-account-horizontal-outline::before{content:"\\F0E0E"}.mdi-badge-account-outline::before{content:"\\F0DAA"}.mdi-badminton::before{content:"\\F0851"}.mdi-bag-carry-on::before{content:"\\F0F3B"}.mdi-bag-carry-on-check::before{content:"\\F0D65"}.mdi-bag-carry-on-off::before{content:"\\F0F3C"}.mdi-bag-checked::before{content:"\\F0F3D"}.mdi-bag-personal::before{content:"\\F0E10"}.mdi-bag-personal-off::before{content:"\\F0E11"}.mdi-bag-personal-off-outline::before{content:"\\F0E12"}.mdi-bag-personal-outline::before{content:"\\F0E13"}.mdi-baguette::before{content:"\\F0F3E"}.mdi-balloon::before{content:"\\F0A26"}.mdi-ballot::before{content:"\\F09C9"}.mdi-ballot-outline::before{content:"\\F09CA"}.mdi-ballot-recount::before{content:"\\F0C39"}.mdi-ballot-recount-outline::before{content:"\\F0C3A"}.mdi-bandage::before{content:"\\F0DAF"}.mdi-bandcamp::before{content:"\\F0675"}.mdi-bank::before{content:"\\F0070"}.mdi-bank-minus::before{content:"\\F0DB0"}.mdi-bank-outline::before{content:"\\F0E80"}.mdi-bank-plus::before{content:"\\F0DB1"}.mdi-bank-remove::before{content:"\\F0DB2"}.mdi-bank-transfer::before{content:"\\F0A27"}.mdi-bank-transfer-in::before{content:"\\F0A28"}.mdi-bank-transfer-out::before{content:"\\F0A29"}.mdi-barcode::before{content:"\\F0071"}.mdi-barcode-off::before{content:"\\F1236"}.mdi-barcode-scan::before{content:"\\F0072"}.mdi-barley::before{content:"\\F0073"}.mdi-barley-off::before{content:"\\F0B5D"}.mdi-barn::before{content:"\\F0B5E"}.mdi-barrel::before{content:"\\F0074"}.mdi-baseball::before{content:"\\F0852"}.mdi-baseball-bat::before{content:"\\F0853"}.mdi-bash::before{content:"\\F1183"}.mdi-basket::before{content:"\\F0076"}.mdi-basket-fill::before{content:"\\F0077"}.mdi-basket-outline::before{content:"\\F1181"}.mdi-basket-unfill::before{content:"\\F0078"}.mdi-basketball::before{content:"\\F0806"}.mdi-basketball-hoop::before{content:"\\F0C3B"}.mdi-basketball-hoop-outline::before{content:"\\F0C3C"}.mdi-bat::before{content:"\\F0B5F"}.mdi-battery::before{content:"\\F0079"}.mdi-battery-10::before{content:"\\F007A"}.mdi-battery-10-bluetooth::before{content:"\\F093E"}.mdi-battery-20::before{content:"\\F007B"}.mdi-battery-20-bluetooth::before{content:"\\F093F"}.mdi-battery-30::before{content:"\\F007C"}.mdi-battery-30-bluetooth::before{content:"\\F0940"}.mdi-battery-40::before{content:"\\F007D"}.mdi-battery-40-bluetooth::before{content:"\\F0941"}.mdi-battery-50::before{content:"\\F007E"}.mdi-battery-50-bluetooth::before{content:"\\F0942"}.mdi-battery-60::before{content:"\\F007F"}.mdi-battery-60-bluetooth::before{content:"\\F0943"}.mdi-battery-70::before{content:"\\F0080"}.mdi-battery-70-bluetooth::before{content:"\\F0944"}.mdi-battery-80::before{content:"\\F0081"}.mdi-battery-80-bluetooth::before{content:"\\F0945"}.mdi-battery-90::before{content:"\\F0082"}.mdi-battery-90-bluetooth::before{content:"\\F0946"}.mdi-battery-alert::before{content:"\\F0083"}.mdi-battery-alert-bluetooth::before{content:"\\F0947"}.mdi-battery-alert-variant::before{content:"\\F10CC"}.mdi-battery-alert-variant-outline::before{content:"\\F10CD"}.mdi-battery-bluetooth::before{content:"\\F0948"}.mdi-battery-bluetooth-variant::before{content:"\\F0949"}.mdi-battery-charging::before{content:"\\F0084"}.mdi-battery-charging-10::before{content:"\\F089C"}.mdi-battery-charging-100::before{content:"\\F0085"}.mdi-battery-charging-20::before{content:"\\F0086"}.mdi-battery-charging-30::before{content:"\\F0087"}.mdi-battery-charging-40::before{content:"\\F0088"}.mdi-battery-charging-50::before{content:"\\F089D"}.mdi-battery-charging-60::before{content:"\\F0089"}.mdi-battery-charging-70::before{content:"\\F089E"}.mdi-battery-charging-80::before{content:"\\F008A"}.mdi-battery-charging-90::before{content:"\\F008B"}.mdi-battery-charging-high::before{content:"\\F12A6"}.mdi-battery-charging-low::before{content:"\\F12A4"}.mdi-battery-charging-medium::before{content:"\\F12A5"}.mdi-battery-charging-outline::before{content:"\\F089F"}.mdi-battery-charging-wireless::before{content:"\\F0807"}.mdi-battery-charging-wireless-10::before{content:"\\F0808"}.mdi-battery-charging-wireless-20::before{content:"\\F0809"}.mdi-battery-charging-wireless-30::before{content:"\\F080A"}.mdi-battery-charging-wireless-40::before{content:"\\F080B"}.mdi-battery-charging-wireless-50::before{content:"\\F080C"}.mdi-battery-charging-wireless-60::before{content:"\\F080D"}.mdi-battery-charging-wireless-70::before{content:"\\F080E"}.mdi-battery-charging-wireless-80::before{content:"\\F080F"}.mdi-battery-charging-wireless-90::before{content:"\\F0810"}.mdi-battery-charging-wireless-alert::before{content:"\\F0811"}.mdi-battery-charging-wireless-outline::before{content:"\\F0812"}.mdi-battery-heart::before{content:"\\F120F"}.mdi-battery-heart-outline::before{content:"\\F1210"}.mdi-battery-heart-variant::before{content:"\\F1211"}.mdi-battery-high::before{content:"\\F12A3"}.mdi-battery-low::before{content:"\\F12A1"}.mdi-battery-medium::before{content:"\\F12A2"}.mdi-battery-minus::before{content:"\\F008C"}.mdi-battery-negative::before{content:"\\F008D"}.mdi-battery-off::before{content:"\\F125D"}.mdi-battery-off-outline::before{content:"\\F125E"}.mdi-battery-outline::before{content:"\\F008E"}.mdi-battery-plus::before{content:"\\F008F"}.mdi-battery-positive::before{content:"\\F0090"}.mdi-battery-unknown::before{content:"\\F0091"}.mdi-battery-unknown-bluetooth::before{content:"\\F094A"}.mdi-battlenet::before{content:"\\F0B60"}.mdi-beach::before{content:"\\F0092"}.mdi-beaker::before{content:"\\F0CEA"}.mdi-beaker-alert::before{content:"\\F1229"}.mdi-beaker-alert-outline::before{content:"\\F122A"}.mdi-beaker-check::before{content:"\\F122B"}.mdi-beaker-check-outline::before{content:"\\F122C"}.mdi-beaker-minus::before{content:"\\F122D"}.mdi-beaker-minus-outline::before{content:"\\F122E"}.mdi-beaker-outline::before{content:"\\F0690"}.mdi-beaker-plus::before{content:"\\F122F"}.mdi-beaker-plus-outline::before{content:"\\F1230"}.mdi-beaker-question::before{content:"\\F1231"}.mdi-beaker-question-outline::before{content:"\\F1232"}.mdi-beaker-remove::before{content:"\\F1233"}.mdi-beaker-remove-outline::before{content:"\\F1234"}.mdi-bed::before{content:"\\F02E3"}.mdi-bed-double::before{content:"\\F0FD4"}.mdi-bed-double-outline::before{content:"\\F0FD3"}.mdi-bed-empty::before{content:"\\F08A0"}.mdi-bed-king::before{content:"\\F0FD2"}.mdi-bed-king-outline::before{content:"\\F0FD1"}.mdi-bed-outline::before{content:"\\F0099"}.mdi-bed-queen::before{content:"\\F0FD0"}.mdi-bed-queen-outline::before{content:"\\F0FDB"}.mdi-bed-single::before{content:"\\F106D"}.mdi-bed-single-outline::before{content:"\\F106E"}.mdi-bee::before{content:"\\F0FA1"}.mdi-bee-flower::before{content:"\\F0FA2"}.mdi-beehive-off-outline::before{content:"\\F13ED"}.mdi-beehive-outline::before{content:"\\F10CE"}.mdi-beer::before{content:"\\F0098"}.mdi-beer-outline::before{content:"\\F130C"}.mdi-bell::before{content:"\\F009A"}.mdi-bell-alert::before{content:"\\F0D59"}.mdi-bell-alert-outline::before{content:"\\F0E81"}.mdi-bell-cancel::before{content:"\\F13E7"}.mdi-bell-cancel-outline::before{content:"\\F13E8"}.mdi-bell-check::before{content:"\\F11E5"}.mdi-bell-check-outline::before{content:"\\F11E6"}.mdi-bell-circle::before{content:"\\F0D5A"}.mdi-bell-circle-outline::before{content:"\\F0D5B"}.mdi-bell-minus::before{content:"\\F13E9"}.mdi-bell-minus-outline::before{content:"\\F13EA"}.mdi-bell-off::before{content:"\\F009B"}.mdi-bell-off-outline::before{content:"\\F0A91"}.mdi-bell-outline::before{content:"\\F009C"}.mdi-bell-plus::before{content:"\\F009D"}.mdi-bell-plus-outline::before{content:"\\F0A92"}.mdi-bell-remove::before{content:"\\F13EB"}.mdi-bell-remove-outline::before{content:"\\F13EC"}.mdi-bell-ring::before{content:"\\F009E"}.mdi-bell-ring-outline::before{content:"\\F009F"}.mdi-bell-sleep::before{content:"\\F00A0"}.mdi-bell-sleep-outline::before{content:"\\F0A93"}.mdi-beta::before{content:"\\F00A1"}.mdi-betamax::before{content:"\\F09CB"}.mdi-biathlon::before{content:"\\F0E14"}.mdi-bicycle::before{content:"\\F109C"}.mdi-bicycle-basket::before{content:"\\F1235"}.mdi-bike::before{content:"\\F00A3"}.mdi-bike-fast::before{content:"\\F111F"}.mdi-billboard::before{content:"\\F1010"}.mdi-billiards::before{content:"\\F0B61"}.mdi-billiards-rack::before{content:"\\F0B62"}.mdi-binoculars::before{content:"\\F00A5"}.mdi-bio::before{content:"\\F00A6"}.mdi-biohazard::before{content:"\\F00A7"}.mdi-bitbucket::before{content:"\\F00A8"}.mdi-bitcoin::before{content:"\\F0813"}.mdi-black-mesa::before{content:"\\F00A9"}.mdi-blender::before{content:"\\F0CEB"}.mdi-blender-software::before{content:"\\F00AB"}.mdi-blinds::before{content:"\\F00AC"}.mdi-blinds-open::before{content:"\\F1011"}.mdi-block-helper::before{content:"\\F00AD"}.mdi-blogger::before{content:"\\F00AE"}.mdi-blood-bag::before{content:"\\F0CEC"}.mdi-bluetooth::before{content:"\\F00AF"}.mdi-bluetooth-audio::before{content:"\\F00B0"}.mdi-bluetooth-connect::before{content:"\\F00B1"}.mdi-bluetooth-off::before{content:"\\F00B2"}.mdi-bluetooth-settings::before{content:"\\F00B3"}.mdi-bluetooth-transfer::before{content:"\\F00B4"}.mdi-blur::before{content:"\\F00B5"}.mdi-blur-linear::before{content:"\\F00B6"}.mdi-blur-off::before{content:"\\F00B7"}.mdi-blur-radial::before{content:"\\F00B8"}.mdi-bolnisi-cross::before{content:"\\F0CED"}.mdi-bolt::before{content:"\\F0DB3"}.mdi-bomb::before{content:"\\F0691"}.mdi-bomb-off::before{content:"\\F06C5"}.mdi-bone::before{content:"\\F00B9"}.mdi-book::before{content:"\\F00BA"}.mdi-book-account::before{content:"\\F13AD"}.mdi-book-account-outline::before{content:"\\F13AE"}.mdi-book-alphabet::before{content:"\\F061D"}.mdi-book-cross::before{content:"\\F00A2"}.mdi-book-information-variant::before{content:"\\F106F"}.mdi-book-lock::before{content:"\\F079A"}.mdi-book-lock-open::before{content:"\\F079B"}.mdi-book-minus::before{content:"\\F05D9"}.mdi-book-minus-multiple::before{content:"\\F0A94"}.mdi-book-minus-multiple-outline::before{content:"\\F090B"}.mdi-book-multiple::before{content:"\\F00BB"}.mdi-book-multiple-outline::before{content:"\\F0436"}.mdi-book-music::before{content:"\\F0067"}.mdi-book-open::before{content:"\\F00BD"}.mdi-book-open-outline::before{content:"\\F0B63"}.mdi-book-open-page-variant::before{content:"\\F05DA"}.mdi-book-open-variant::before{content:"\\F00BE"}.mdi-book-outline::before{content:"\\F0B64"}.mdi-book-play::before{content:"\\F0E82"}.mdi-book-play-outline::before{content:"\\F0E83"}.mdi-book-plus::before{content:"\\F05DB"}.mdi-book-plus-multiple::before{content:"\\F0A95"}.mdi-book-plus-multiple-outline::before{content:"\\F0ADE"}.mdi-book-remove::before{content:"\\F0A97"}.mdi-book-remove-multiple::before{content:"\\F0A96"}.mdi-book-remove-multiple-outline::before{content:"\\F04CA"}.mdi-book-search::before{content:"\\F0E84"}.mdi-book-search-outline::before{content:"\\F0E85"}.mdi-book-variant::before{content:"\\F00BF"}.mdi-book-variant-multiple::before{content:"\\F00BC"}.mdi-bookmark::before{content:"\\F00C0"}.mdi-bookmark-check::before{content:"\\F00C1"}.mdi-bookmark-check-outline::before{content:"\\F137B"}.mdi-bookmark-minus::before{content:"\\F09CC"}.mdi-bookmark-minus-outline::before{content:"\\F09CD"}.mdi-bookmark-multiple::before{content:"\\F0E15"}.mdi-bookmark-multiple-outline::before{content:"\\F0E16"}.mdi-bookmark-music::before{content:"\\F00C2"}.mdi-bookmark-music-outline::before{content:"\\F1379"}.mdi-bookmark-off::before{content:"\\F09CE"}.mdi-bookmark-off-outline::before{content:"\\F09CF"}.mdi-bookmark-outline::before{content:"\\F00C3"}.mdi-bookmark-plus::before{content:"\\F00C5"}.mdi-bookmark-plus-outline::before{content:"\\F00C4"}.mdi-bookmark-remove::before{content:"\\F00C6"}.mdi-bookmark-remove-outline::before{content:"\\F137A"}.mdi-bookshelf::before{content:"\\F125F"}.mdi-boom-gate::before{content:"\\F0E86"}.mdi-boom-gate-alert::before{content:"\\F0E87"}.mdi-boom-gate-alert-outline::before{content:"\\F0E88"}.mdi-boom-gate-down::before{content:"\\F0E89"}.mdi-boom-gate-down-outline::before{content:"\\F0E8A"}.mdi-boom-gate-outline::before{content:"\\F0E8B"}.mdi-boom-gate-up::before{content:"\\F0E8C"}.mdi-boom-gate-up-outline::before{content:"\\F0E8D"}.mdi-boombox::before{content:"\\F05DC"}.mdi-boomerang::before{content:"\\F10CF"}.mdi-bootstrap::before{content:"\\F06C6"}.mdi-border-all::before{content:"\\F00C7"}.mdi-border-all-variant::before{content:"\\F08A1"}.mdi-border-bottom::before{content:"\\F00C8"}.mdi-border-bottom-variant::before{content:"\\F08A2"}.mdi-border-color::before{content:"\\F00C9"}.mdi-border-horizontal::before{content:"\\F00CA"}.mdi-border-inside::before{content:"\\F00CB"}.mdi-border-left::before{content:"\\F00CC"}.mdi-border-left-variant::before{content:"\\F08A3"}.mdi-border-none::before{content:"\\F00CD"}.mdi-border-none-variant::before{content:"\\F08A4"}.mdi-border-outside::before{content:"\\F00CE"}.mdi-border-right::before{content:"\\F00CF"}.mdi-border-right-variant::before{content:"\\F08A5"}.mdi-border-style::before{content:"\\F00D0"}.mdi-border-top::before{content:"\\F00D1"}.mdi-border-top-variant::before{content:"\\F08A6"}.mdi-border-vertical::before{content:"\\F00D2"}.mdi-bottle-soda::before{content:"\\F1070"}.mdi-bottle-soda-classic::before{content:"\\F1071"}.mdi-bottle-soda-classic-outline::before{content:"\\F1363"}.mdi-bottle-soda-outline::before{content:"\\F1072"}.mdi-bottle-tonic::before{content:"\\F112E"}.mdi-bottle-tonic-outline::before{content:"\\F112F"}.mdi-bottle-tonic-plus::before{content:"\\F1130"}.mdi-bottle-tonic-plus-outline::before{content:"\\F1131"}.mdi-bottle-tonic-skull::before{content:"\\F1132"}.mdi-bottle-tonic-skull-outline::before{content:"\\F1133"}.mdi-bottle-wine::before{content:"\\F0854"}.mdi-bottle-wine-outline::before{content:"\\F1310"}.mdi-bow-tie::before{content:"\\F0678"}.mdi-bowl::before{content:"\\F028E"}.mdi-bowl-mix::before{content:"\\F0617"}.mdi-bowl-mix-outline::before{content:"\\F02E4"}.mdi-bowl-outline::before{content:"\\F02A9"}.mdi-bowling::before{content:"\\F00D3"}.mdi-box::before{content:"\\F00D4"}.mdi-box-cutter::before{content:"\\F00D5"}.mdi-box-cutter-off::before{content:"\\F0B4A"}.mdi-box-shadow::before{content:"\\F0637"}.mdi-boxing-glove::before{content:"\\F0B65"}.mdi-braille::before{content:"\\F09D0"}.mdi-brain::before{content:"\\F09D1"}.mdi-bread-slice::before{content:"\\F0CEE"}.mdi-bread-slice-outline::before{content:"\\F0CEF"}.mdi-bridge::before{content:"\\F0618"}.mdi-briefcase::before{content:"\\F00D6"}.mdi-briefcase-account::before{content:"\\F0CF0"}.mdi-briefcase-account-outline::before{content:"\\F0CF1"}.mdi-briefcase-check::before{content:"\\F00D7"}.mdi-briefcase-check-outline::before{content:"\\F131E"}.mdi-briefcase-clock::before{content:"\\F10D0"}.mdi-briefcase-clock-outline::before{content:"\\F10D1"}.mdi-briefcase-download::before{content:"\\F00D8"}.mdi-briefcase-download-outline::before{content:"\\F0C3D"}.mdi-briefcase-edit::before{content:"\\F0A98"}.mdi-briefcase-edit-outline::before{content:"\\F0C3E"}.mdi-briefcase-minus::before{content:"\\F0A2A"}.mdi-briefcase-minus-outline::before{content:"\\F0C3F"}.mdi-briefcase-outline::before{content:"\\F0814"}.mdi-briefcase-plus::before{content:"\\F0A2B"}.mdi-briefcase-plus-outline::before{content:"\\F0C40"}.mdi-briefcase-remove::before{content:"\\F0A2C"}.mdi-briefcase-remove-outline::before{content:"\\F0C41"}.mdi-briefcase-search::before{content:"\\F0A2D"}.mdi-briefcase-search-outline::before{content:"\\F0C42"}.mdi-briefcase-upload::before{content:"\\F00D9"}.mdi-briefcase-upload-outline::before{content:"\\F0C43"}.mdi-briefcase-variant::before{content:"\\F1494"}.mdi-briefcase-variant-outline::before{content:"\\F1495"}.mdi-brightness-1::before{content:"\\F00DA"}.mdi-brightness-2::before{content:"\\F00DB"}.mdi-brightness-3::before{content:"\\F00DC"}.mdi-brightness-4::before{content:"\\F00DD"}.mdi-brightness-5::before{content:"\\F00DE"}.mdi-brightness-6::before{content:"\\F00DF"}.mdi-brightness-7::before{content:"\\F00E0"}.mdi-brightness-auto::before{content:"\\F00E1"}.mdi-brightness-percent::before{content:"\\F0CF2"}.mdi-broom::before{content:"\\F00E2"}.mdi-brush::before{content:"\\F00E3"}.mdi-bucket::before{content:"\\F1415"}.mdi-bucket-outline::before{content:"\\F1416"}.mdi-buddhism::before{content:"\\F094B"}.mdi-buffer::before{content:"\\F0619"}.mdi-buffet::before{content:"\\F0578"}.mdi-bug::before{content:"\\F00E4"}.mdi-bug-check::before{content:"\\F0A2E"}.mdi-bug-check-outline::before{content:"\\F0A2F"}.mdi-bug-outline::before{content:"\\F0A30"}.mdi-bugle::before{content:"\\F0DB4"}.mdi-bulldozer::before{content:"\\F0B22"}.mdi-bullet::before{content:"\\F0CF3"}.mdi-bulletin-board::before{content:"\\F00E5"}.mdi-bullhorn::before{content:"\\F00E6"}.mdi-bullhorn-outline::before{content:"\\F0B23"}.mdi-bullseye::before{content:"\\F05DD"}.mdi-bullseye-arrow::before{content:"\\F08C9"}.mdi-bulma::before{content:"\\F12E7"}.mdi-bunk-bed::before{content:"\\F1302"}.mdi-bunk-bed-outline::before{content:"\\F0097"}.mdi-bus::before{content:"\\F00E7"}.mdi-bus-alert::before{content:"\\F0A99"}.mdi-bus-articulated-end::before{content:"\\F079C"}.mdi-bus-articulated-front::before{content:"\\F079D"}.mdi-bus-clock::before{content:"\\F08CA"}.mdi-bus-double-decker::before{content:"\\F079E"}.mdi-bus-marker::before{content:"\\F1212"}.mdi-bus-multiple::before{content:"\\F0F3F"}.mdi-bus-school::before{content:"\\F079F"}.mdi-bus-side::before{content:"\\F07A0"}.mdi-bus-stop::before{content:"\\F1012"}.mdi-bus-stop-covered::before{content:"\\F1013"}.mdi-bus-stop-uncovered::before{content:"\\F1014"}.mdi-cable-data::before{content:"\\F1394"}.mdi-cached::before{content:"\\F00E8"}.mdi-cactus::before{content:"\\F0DB5"}.mdi-cake::before{content:"\\F00E9"}.mdi-cake-layered::before{content:"\\F00EA"}.mdi-cake-variant::before{content:"\\F00EB"}.mdi-calculator::before{content:"\\F00EC"}.mdi-calculator-variant::before{content:"\\F0A9A"}.mdi-calendar::before{content:"\\F00ED"}.mdi-calendar-account::before{content:"\\F0ED7"}.mdi-calendar-account-outline::before{content:"\\F0ED8"}.mdi-calendar-alert::before{content:"\\F0A31"}.mdi-calendar-arrow-left::before{content:"\\F1134"}.mdi-calendar-arrow-right::before{content:"\\F1135"}.mdi-calendar-blank::before{content:"\\F00EE"}.mdi-calendar-blank-multiple::before{content:"\\F1073"}.mdi-calendar-blank-outline::before{content:"\\F0B66"}.mdi-calendar-check::before{content:"\\F00EF"}.mdi-calendar-check-outline::before{content:"\\F0C44"}.mdi-calendar-clock::before{content:"\\F00F0"}.mdi-calendar-edit::before{content:"\\F08A7"}.mdi-calendar-export::before{content:"\\F0B24"}.mdi-calendar-heart::before{content:"\\F09D2"}.mdi-calendar-import::before{content:"\\F0B25"}.mdi-calendar-minus::before{content:"\\F0D5C"}.mdi-calendar-month::before{content:"\\F0E17"}.mdi-calendar-month-outline::before{content:"\\F0E18"}.mdi-calendar-multiple::before{content:"\\F00F1"}.mdi-calendar-multiple-check::before{content:"\\F00F2"}.mdi-calendar-multiselect::before{content:"\\F0A32"}.mdi-calendar-outline::before{content:"\\F0B67"}.mdi-calendar-plus::before{content:"\\F00F3"}.mdi-calendar-question::before{content:"\\F0692"}.mdi-calendar-range::before{content:"\\F0679"}.mdi-calendar-range-outline::before{content:"\\F0B68"}.mdi-calendar-refresh::before{content:"\\F01E1"}.mdi-calendar-refresh-outline::before{content:"\\F0203"}.mdi-calendar-remove::before{content:"\\F00F4"}.mdi-calendar-remove-outline::before{content:"\\F0C45"}.mdi-calendar-search::before{content:"\\F094C"}.mdi-calendar-star::before{content:"\\F09D3"}.mdi-calendar-sync::before{content:"\\F0E8E"}.mdi-calendar-sync-outline::before{content:"\\F0E8F"}.mdi-calendar-text::before{content:"\\F00F5"}.mdi-calendar-text-outline::before{content:"\\F0C46"}.mdi-calendar-today::before{content:"\\F00F6"}.mdi-calendar-week::before{content:"\\F0A33"}.mdi-calendar-week-begin::before{content:"\\F0A34"}.mdi-calendar-weekend::before{content:"\\F0ED9"}.mdi-calendar-weekend-outline::before{content:"\\F0EDA"}.mdi-call-made::before{content:"\\F00F7"}.mdi-call-merge::before{content:"\\F00F8"}.mdi-call-missed::before{content:"\\F00F9"}.mdi-call-received::before{content:"\\F00FA"}.mdi-call-split::before{content:"\\F00FB"}.mdi-camcorder::before{content:"\\F00FC"}.mdi-camcorder-off::before{content:"\\F00FF"}.mdi-camera::before{content:"\\F0100"}.mdi-camera-account::before{content:"\\F08CB"}.mdi-camera-burst::before{content:"\\F0693"}.mdi-camera-control::before{content:"\\F0B69"}.mdi-camera-enhance::before{content:"\\F0101"}.mdi-camera-enhance-outline::before{content:"\\F0B6A"}.mdi-camera-front::before{content:"\\F0102"}.mdi-camera-front-variant::before{content:"\\F0103"}.mdi-camera-gopro::before{content:"\\F07A1"}.mdi-camera-image::before{content:"\\F08CC"}.mdi-camera-iris::before{content:"\\F0104"}.mdi-camera-metering-center::before{content:"\\F07A2"}.mdi-camera-metering-matrix::before{content:"\\F07A3"}.mdi-camera-metering-partial::before{content:"\\F07A4"}.mdi-camera-metering-spot::before{content:"\\F07A5"}.mdi-camera-off::before{content:"\\F05DF"}.mdi-camera-outline::before{content:"\\F0D5D"}.mdi-camera-party-mode::before{content:"\\F0105"}.mdi-camera-plus::before{content:"\\F0EDB"}.mdi-camera-plus-outline::before{content:"\\F0EDC"}.mdi-camera-rear::before{content:"\\F0106"}.mdi-camera-rear-variant::before{content:"\\F0107"}.mdi-camera-retake::before{content:"\\F0E19"}.mdi-camera-retake-outline::before{content:"\\F0E1A"}.mdi-camera-switch::before{content:"\\F0108"}.mdi-camera-switch-outline::before{content:"\\F084A"}.mdi-camera-timer::before{content:"\\F0109"}.mdi-camera-wireless::before{content:"\\F0DB6"}.mdi-camera-wireless-outline::before{content:"\\F0DB7"}.mdi-campfire::before{content:"\\F0EDD"}.mdi-cancel::before{content:"\\F073A"}.mdi-candle::before{content:"\\F05E2"}.mdi-candycane::before{content:"\\F010A"}.mdi-cannabis::before{content:"\\F07A6"}.mdi-caps-lock::before{content:"\\F0A9B"}.mdi-car::before{content:"\\F010B"}.mdi-car-2-plus::before{content:"\\F1015"}.mdi-car-3-plus::before{content:"\\F1016"}.mdi-car-arrow-left::before{content:"\\F13B2"}.mdi-car-arrow-right::before{content:"\\F13B3"}.mdi-car-back::before{content:"\\F0E1B"}.mdi-car-battery::before{content:"\\F010C"}.mdi-car-brake-abs::before{content:"\\F0C47"}.mdi-car-brake-alert::before{content:"\\F0C48"}.mdi-car-brake-hold::before{content:"\\F0D5E"}.mdi-car-brake-parking::before{content:"\\F0D5F"}.mdi-car-brake-retarder::before{content:"\\F1017"}.mdi-car-child-seat::before{content:"\\F0FA3"}.mdi-car-clutch::before{content:"\\F1018"}.mdi-car-cog::before{content:"\\F13CC"}.mdi-car-connected::before{content:"\\F010D"}.mdi-car-convertible::before{content:"\\F07A7"}.mdi-car-coolant-level::before{content:"\\F1019"}.mdi-car-cruise-control::before{content:"\\F0D60"}.mdi-car-defrost-front::before{content:"\\F0D61"}.mdi-car-defrost-rear::before{content:"\\F0D62"}.mdi-car-door::before{content:"\\F0B6B"}.mdi-car-door-lock::before{content:"\\F109D"}.mdi-car-electric::before{content:"\\F0B6C"}.mdi-car-esp::before{content:"\\F0C49"}.mdi-car-estate::before{content:"\\F07A8"}.mdi-car-hatchback::before{content:"\\F07A9"}.mdi-car-info::before{content:"\\F11BE"}.mdi-car-key::before{content:"\\F0B6D"}.mdi-car-light-dimmed::before{content:"\\F0C4A"}.mdi-car-light-fog::before{content:"\\F0C4B"}.mdi-car-light-high::before{content:"\\F0C4C"}.mdi-car-limousine::before{content:"\\F08CD"}.mdi-car-multiple::before{content:"\\F0B6E"}.mdi-car-off::before{content:"\\F0E1C"}.mdi-car-parking-lights::before{content:"\\F0D63"}.mdi-car-pickup::before{content:"\\F07AA"}.mdi-car-seat::before{content:"\\F0FA4"}.mdi-car-seat-cooler::before{content:"\\F0FA5"}.mdi-car-seat-heater::before{content:"\\F0FA6"}.mdi-car-settings::before{content:"\\F13CD"}.mdi-car-shift-pattern::before{content:"\\F0F40"}.mdi-car-side::before{content:"\\F07AB"}.mdi-car-sports::before{content:"\\F07AC"}.mdi-car-tire-alert::before{content:"\\F0C4D"}.mdi-car-traction-control::before{content:"\\F0D64"}.mdi-car-turbocharger::before{content:"\\F101A"}.mdi-car-wash::before{content:"\\F010E"}.mdi-car-windshield::before{content:"\\F101B"}.mdi-car-windshield-outline::before{content:"\\F101C"}.mdi-carabiner::before{content:"\\F14C0"}.mdi-caravan::before{content:"\\F07AD"}.mdi-card::before{content:"\\F0B6F"}.mdi-card-account-details::before{content:"\\F05D2"}.mdi-card-account-details-outline::before{content:"\\F0DAB"}.mdi-card-account-details-star::before{content:"\\F02A3"}.mdi-card-account-details-star-outline::before{content:"\\F06DB"}.mdi-card-account-mail::before{content:"\\F018E"}.mdi-card-account-mail-outline::before{content:"\\F0E98"}.mdi-card-account-phone::before{content:"\\F0E99"}.mdi-card-account-phone-outline::before{content:"\\F0E9A"}.mdi-card-bulleted::before{content:"\\F0B70"}.mdi-card-bulleted-off::before{content:"\\F0B71"}.mdi-card-bulleted-off-outline::before{content:"\\F0B72"}.mdi-card-bulleted-outline::before{content:"\\F0B73"}.mdi-card-bulleted-settings::before{content:"\\F0B74"}.mdi-card-bulleted-settings-outline::before{content:"\\F0B75"}.mdi-card-outline::before{content:"\\F0B76"}.mdi-card-plus::before{content:"\\F11FF"}.mdi-card-plus-outline::before{content:"\\F1200"}.mdi-card-search::before{content:"\\F1074"}.mdi-card-search-outline::before{content:"\\F1075"}.mdi-card-text::before{content:"\\F0B77"}.mdi-card-text-outline::before{content:"\\F0B78"}.mdi-cards::before{content:"\\F0638"}.mdi-cards-club::before{content:"\\F08CE"}.mdi-cards-diamond::before{content:"\\F08CF"}.mdi-cards-diamond-outline::before{content:"\\F101D"}.mdi-cards-heart::before{content:"\\F08D0"}.mdi-cards-outline::before{content:"\\F0639"}.mdi-cards-playing-outline::before{content:"\\F063A"}.mdi-cards-spade::before{content:"\\F08D1"}.mdi-cards-variant::before{content:"\\F06C7"}.mdi-carrot::before{content:"\\F010F"}.mdi-cart::before{content:"\\F0110"}.mdi-cart-arrow-down::before{content:"\\F0D66"}.mdi-cart-arrow-right::before{content:"\\F0C4E"}.mdi-cart-arrow-up::before{content:"\\F0D67"}.mdi-cart-minus::before{content:"\\F0D68"}.mdi-cart-off::before{content:"\\F066B"}.mdi-cart-outline::before{content:"\\F0111"}.mdi-cart-plus::before{content:"\\F0112"}.mdi-cart-remove::before{content:"\\F0D69"}.mdi-case-sensitive-alt::before{content:"\\F0113"}.mdi-cash::before{content:"\\F0114"}.mdi-cash-100::before{content:"\\F0115"}.mdi-cash-marker::before{content:"\\F0DB8"}.mdi-cash-minus::before{content:"\\F1260"}.mdi-cash-multiple::before{content:"\\F0116"}.mdi-cash-plus::before{content:"\\F1261"}.mdi-cash-refund::before{content:"\\F0A9C"}.mdi-cash-register::before{content:"\\F0CF4"}.mdi-cash-remove::before{content:"\\F1262"}.mdi-cash-usd::before{content:"\\F1176"}.mdi-cash-usd-outline::before{content:"\\F0117"}.mdi-cassette::before{content:"\\F09D4"}.mdi-cast::before{content:"\\F0118"}.mdi-cast-audio::before{content:"\\F101E"}.mdi-cast-connected::before{content:"\\F0119"}.mdi-cast-education::before{content:"\\F0E1D"}.mdi-cast-off::before{content:"\\F078A"}.mdi-castle::before{content:"\\F011A"}.mdi-cat::before{content:"\\F011B"}.mdi-cctv::before{content:"\\F07AE"}.mdi-ceiling-light::before{content:"\\F0769"}.mdi-cellphone::before{content:"\\F011C"}.mdi-cellphone-android::before{content:"\\F011D"}.mdi-cellphone-arrow-down::before{content:"\\F09D5"}.mdi-cellphone-basic::before{content:"\\F011E"}.mdi-cellphone-charging::before{content:"\\F1397"}.mdi-cellphone-cog::before{content:"\\F0951"}.mdi-cellphone-dock::before{content:"\\F011F"}.mdi-cellphone-erase::before{content:"\\F094D"}.mdi-cellphone-information::before{content:"\\F0F41"}.mdi-cellphone-iphone::before{content:"\\F0120"}.mdi-cellphone-key::before{content:"\\F094E"}.mdi-cellphone-link::before{content:"\\F0121"}.mdi-cellphone-link-off::before{content:"\\F0122"}.mdi-cellphone-lock::before{content:"\\F094F"}.mdi-cellphone-message::before{content:"\\F08D3"}.mdi-cellphone-message-off::before{content:"\\F10D2"}.mdi-cellphone-nfc::before{content:"\\F0E90"}.mdi-cellphone-nfc-off::before{content:"\\F12D8"}.mdi-cellphone-off::before{content:"\\F0950"}.mdi-cellphone-play::before{content:"\\F101F"}.mdi-cellphone-screenshot::before{content:"\\F0A35"}.mdi-cellphone-settings::before{content:"\\F0123"}.mdi-cellphone-sound::before{content:"\\F0952"}.mdi-cellphone-text::before{content:"\\F08D2"}.mdi-cellphone-wireless::before{content:"\\F0815"}.mdi-celtic-cross::before{content:"\\F0CF5"}.mdi-centos::before{content:"\\F111A"}.mdi-certificate::before{content:"\\F0124"}.mdi-certificate-outline::before{content:"\\F1188"}.mdi-chair-rolling::before{content:"\\F0F48"}.mdi-chair-school::before{content:"\\F0125"}.mdi-charity::before{content:"\\F0C4F"}.mdi-chart-arc::before{content:"\\F0126"}.mdi-chart-areaspline::before{content:"\\F0127"}.mdi-chart-areaspline-variant::before{content:"\\F0E91"}.mdi-chart-bar::before{content:"\\F0128"}.mdi-chart-bar-stacked::before{content:"\\F076A"}.mdi-chart-bell-curve::before{content:"\\F0C50"}.mdi-chart-bell-curve-cumulative::before{content:"\\F0FA7"}.mdi-chart-bubble::before{content:"\\F05E3"}.mdi-chart-donut::before{content:"\\F07AF"}.mdi-chart-donut-variant::before{content:"\\F07B0"}.mdi-chart-gantt::before{content:"\\F066C"}.mdi-chart-histogram::before{content:"\\F0129"}.mdi-chart-line::before{content:"\\F012A"}.mdi-chart-line-stacked::before{content:"\\F076B"}.mdi-chart-line-variant::before{content:"\\F07B1"}.mdi-chart-multiline::before{content:"\\F08D4"}.mdi-chart-multiple::before{content:"\\F1213"}.mdi-chart-pie::before{content:"\\F012B"}.mdi-chart-ppf::before{content:"\\F1380"}.mdi-chart-sankey::before{content:"\\F11DF"}.mdi-chart-sankey-variant::before{content:"\\F11E0"}.mdi-chart-scatter-plot::before{content:"\\F0E92"}.mdi-chart-scatter-plot-hexbin::before{content:"\\F066D"}.mdi-chart-timeline::before{content:"\\F066E"}.mdi-chart-timeline-variant::before{content:"\\F0E93"}.mdi-chart-tree::before{content:"\\F0E94"}.mdi-chat::before{content:"\\F0B79"}.mdi-chat-alert::before{content:"\\F0B7A"}.mdi-chat-alert-outline::before{content:"\\F12C9"}.mdi-chat-minus::before{content:"\\F1410"}.mdi-chat-minus-outline::before{content:"\\F1413"}.mdi-chat-outline::before{content:"\\F0EDE"}.mdi-chat-plus::before{content:"\\F140F"}.mdi-chat-plus-outline::before{content:"\\F1412"}.mdi-chat-processing::before{content:"\\F0B7B"}.mdi-chat-processing-outline::before{content:"\\F12CA"}.mdi-chat-remove::before{content:"\\F1411"}.mdi-chat-remove-outline::before{content:"\\F1414"}.mdi-chat-sleep::before{content:"\\F12D1"}.mdi-chat-sleep-outline::before{content:"\\F12D2"}.mdi-check::before{content:"\\F012C"}.mdi-check-all::before{content:"\\F012D"}.mdi-check-bold::before{content:"\\F0E1E"}.mdi-check-box-multiple-outline::before{content:"\\F0C51"}.mdi-check-box-outline::before{content:"\\F0C52"}.mdi-check-circle::before{content:"\\F05E0"}.mdi-check-circle-outline::before{content:"\\F05E1"}.mdi-check-decagram::before{content:"\\F0791"}.mdi-check-network::before{content:"\\F0C53"}.mdi-check-network-outline::before{content:"\\F0C54"}.mdi-check-outline::before{content:"\\F0855"}.mdi-check-underline::before{content:"\\F0E1F"}.mdi-check-underline-circle::before{content:"\\F0E20"}.mdi-check-underline-circle-outline::before{content:"\\F0E21"}.mdi-checkbook::before{content:"\\F0A9D"}.mdi-checkbox-blank::before{content:"\\F012E"}.mdi-checkbox-blank-circle::before{content:"\\F012F"}.mdi-checkbox-blank-circle-outline::before{content:"\\F0130"}.mdi-checkbox-blank-off::before{content:"\\F12EC"}.mdi-checkbox-blank-off-outline::before{content:"\\F12ED"}.mdi-checkbox-blank-outline::before{content:"\\F0131"}.mdi-checkbox-intermediate::before{content:"\\F0856"}.mdi-checkbox-marked::before{content:"\\F0132"}.mdi-checkbox-marked-circle::before{content:"\\F0133"}.mdi-checkbox-marked-circle-outline::before{content:"\\F0134"}.mdi-checkbox-marked-outline::before{content:"\\F0135"}.mdi-checkbox-multiple-blank::before{content:"\\F0136"}.mdi-checkbox-multiple-blank-circle::before{content:"\\F063B"}.mdi-checkbox-multiple-blank-circle-outline::before{content:"\\F063C"}.mdi-checkbox-multiple-blank-outline::before{content:"\\F0137"}.mdi-checkbox-multiple-marked::before{content:"\\F0138"}.mdi-checkbox-multiple-marked-circle::before{content:"\\F063D"}.mdi-checkbox-multiple-marked-circle-outline::before{content:"\\F063E"}.mdi-checkbox-multiple-marked-outline::before{content:"\\F0139"}.mdi-checkerboard::before{content:"\\F013A"}.mdi-checkerboard-minus::before{content:"\\F1202"}.mdi-checkerboard-plus::before{content:"\\F1201"}.mdi-checkerboard-remove::before{content:"\\F1203"}.mdi-cheese::before{content:"\\F12B9"}.mdi-cheese-off::before{content:"\\F13EE"}.mdi-chef-hat::before{content:"\\F0B7C"}.mdi-chemical-weapon::before{content:"\\F013B"}.mdi-chess-bishop::before{content:"\\F085C"}.mdi-chess-king::before{content:"\\F0857"}.mdi-chess-knight::before{content:"\\F0858"}.mdi-chess-pawn::before{content:"\\F0859"}.mdi-chess-queen::before{content:"\\F085A"}.mdi-chess-rook::before{content:"\\F085B"}.mdi-chevron-double-down::before{content:"\\F013C"}.mdi-chevron-double-left::before{content:"\\F013D"}.mdi-chevron-double-right::before{content:"\\F013E"}.mdi-chevron-double-up::before{content:"\\F013F"}.mdi-chevron-down::before{content:"\\F0140"}.mdi-chevron-down-box::before{content:"\\F09D6"}.mdi-chevron-down-box-outline::before{content:"\\F09D7"}.mdi-chevron-down-circle::before{content:"\\F0B26"}.mdi-chevron-down-circle-outline::before{content:"\\F0B27"}.mdi-chevron-left::before{content:"\\F0141"}.mdi-chevron-left-box::before{content:"\\F09D8"}.mdi-chevron-left-box-outline::before{content:"\\F09D9"}.mdi-chevron-left-circle::before{content:"\\F0B28"}.mdi-chevron-left-circle-outline::before{content:"\\F0B29"}.mdi-chevron-right::before{content:"\\F0142"}.mdi-chevron-right-box::before{content:"\\F09DA"}.mdi-chevron-right-box-outline::before{content:"\\F09DB"}.mdi-chevron-right-circle::before{content:"\\F0B2A"}.mdi-chevron-right-circle-outline::before{content:"\\F0B2B"}.mdi-chevron-triple-down::before{content:"\\F0DB9"}.mdi-chevron-triple-left::before{content:"\\F0DBA"}.mdi-chevron-triple-right::before{content:"\\F0DBB"}.mdi-chevron-triple-up::before{content:"\\F0DBC"}.mdi-chevron-up::before{content:"\\F0143"}.mdi-chevron-up-box::before{content:"\\F09DC"}.mdi-chevron-up-box-outline::before{content:"\\F09DD"}.mdi-chevron-up-circle::before{content:"\\F0B2C"}.mdi-chevron-up-circle-outline::before{content:"\\F0B2D"}.mdi-chili-hot::before{content:"\\F07B2"}.mdi-chili-medium::before{content:"\\F07B3"}.mdi-chili-mild::before{content:"\\F07B4"}.mdi-chili-off::before{content:"\\F1467"}.mdi-chip::before{content:"\\F061A"}.mdi-christianity::before{content:"\\F0953"}.mdi-christianity-outline::before{content:"\\F0CF6"}.mdi-church::before{content:"\\F0144"}.mdi-cigar::before{content:"\\F1189"}.mdi-cigar-off::before{content:"\\F141B"}.mdi-circle::before{content:"\\F0765"}.mdi-circle-double::before{content:"\\F0E95"}.mdi-circle-edit-outline::before{content:"\\F08D5"}.mdi-circle-expand::before{content:"\\F0E96"}.mdi-circle-half::before{content:"\\F1395"}.mdi-circle-half-full::before{content:"\\F1396"}.mdi-circle-medium::before{content:"\\F09DE"}.mdi-circle-multiple::before{content:"\\F0B38"}.mdi-circle-multiple-outline::before{content:"\\F0695"}.mdi-circle-off-outline::before{content:"\\F10D3"}.mdi-circle-outline::before{content:"\\F0766"}.mdi-circle-slice-1::before{content:"\\F0A9E"}.mdi-circle-slice-2::before{content:"\\F0A9F"}.mdi-circle-slice-3::before{content:"\\F0AA0"}.mdi-circle-slice-4::before{content:"\\F0AA1"}.mdi-circle-slice-5::before{content:"\\F0AA2"}.mdi-circle-slice-6::before{content:"\\F0AA3"}.mdi-circle-slice-7::before{content:"\\F0AA4"}.mdi-circle-slice-8::before{content:"\\F0AA5"}.mdi-circle-small::before{content:"\\F09DF"}.mdi-circular-saw::before{content:"\\F0E22"}.mdi-city::before{content:"\\F0146"}.mdi-city-variant::before{content:"\\F0A36"}.mdi-city-variant-outline::before{content:"\\F0A37"}.mdi-clipboard::before{content:"\\F0147"}.mdi-clipboard-account::before{content:"\\F0148"}.mdi-clipboard-account-outline::before{content:"\\F0C55"}.mdi-clipboard-alert::before{content:"\\F0149"}.mdi-clipboard-alert-outline::before{content:"\\F0CF7"}.mdi-clipboard-arrow-down::before{content:"\\F014A"}.mdi-clipboard-arrow-down-outline::before{content:"\\F0C56"}.mdi-clipboard-arrow-left::before{content:"\\F014B"}.mdi-clipboard-arrow-left-outline::before{content:"\\F0CF8"}.mdi-clipboard-arrow-right::before{content:"\\F0CF9"}.mdi-clipboard-arrow-right-outline::before{content:"\\F0CFA"}.mdi-clipboard-arrow-up::before{content:"\\F0C57"}.mdi-clipboard-arrow-up-outline::before{content:"\\F0C58"}.mdi-clipboard-check::before{content:"\\F014E"}.mdi-clipboard-check-multiple::before{content:"\\F1263"}.mdi-clipboard-check-multiple-outline::before{content:"\\F1264"}.mdi-clipboard-check-outline::before{content:"\\F08A8"}.mdi-clipboard-file::before{content:"\\F1265"}.mdi-clipboard-file-outline::before{content:"\\F1266"}.mdi-clipboard-flow::before{content:"\\F06C8"}.mdi-clipboard-flow-outline::before{content:"\\F1117"}.mdi-clipboard-list::before{content:"\\F10D4"}.mdi-clipboard-list-outline::before{content:"\\F10D5"}.mdi-clipboard-multiple::before{content:"\\F1267"}.mdi-clipboard-multiple-outline::before{content:"\\F1268"}.mdi-clipboard-outline::before{content:"\\F014C"}.mdi-clipboard-play::before{content:"\\F0C59"}.mdi-clipboard-play-multiple::before{content:"\\F1269"}.mdi-clipboard-play-multiple-outline::before{content:"\\F126A"}.mdi-clipboard-play-outline::before{content:"\\F0C5A"}.mdi-clipboard-plus::before{content:"\\F0751"}.mdi-clipboard-plus-outline::before{content:"\\F131F"}.mdi-clipboard-pulse::before{content:"\\F085D"}.mdi-clipboard-pulse-outline::before{content:"\\F085E"}.mdi-clipboard-text::before{content:"\\F014D"}.mdi-clipboard-text-multiple::before{content:"\\F126B"}.mdi-clipboard-text-multiple-outline::before{content:"\\F126C"}.mdi-clipboard-text-outline::before{content:"\\F0A38"}.mdi-clipboard-text-play::before{content:"\\F0C5B"}.mdi-clipboard-text-play-outline::before{content:"\\F0C5C"}.mdi-clippy::before{content:"\\F014F"}.mdi-clock::before{content:"\\F0954"}.mdi-clock-alert::before{content:"\\F0955"}.mdi-clock-alert-outline::before{content:"\\F05CE"}.mdi-clock-check::before{content:"\\F0FA8"}.mdi-clock-check-outline::before{content:"\\F0FA9"}.mdi-clock-digital::before{content:"\\F0E97"}.mdi-clock-end::before{content:"\\F0151"}.mdi-clock-fast::before{content:"\\F0152"}.mdi-clock-in::before{content:"\\F0153"}.mdi-clock-out::before{content:"\\F0154"}.mdi-clock-outline::before{content:"\\F0150"}.mdi-clock-start::before{content:"\\F0155"}.mdi-clock-time-eight::before{content:"\\F1446"}.mdi-clock-time-eight-outline::before{content:"\\F1452"}.mdi-clock-time-eleven::before{content:"\\F1449"}.mdi-clock-time-eleven-outline::before{content:"\\F1455"}.mdi-clock-time-five::before{content:"\\F1443"}.mdi-clock-time-five-outline::before{content:"\\F144F"}.mdi-clock-time-four::before{content:"\\F1442"}.mdi-clock-time-four-outline::before{content:"\\F144E"}.mdi-clock-time-nine::before{content:"\\F1447"}.mdi-clock-time-nine-outline::before{content:"\\F1453"}.mdi-clock-time-one::before{content:"\\F143F"}.mdi-clock-time-one-outline::before{content:"\\F144B"}.mdi-clock-time-seven::before{content:"\\F1445"}.mdi-clock-time-seven-outline::before{content:"\\F1451"}.mdi-clock-time-six::before{content:"\\F1444"}.mdi-clock-time-six-outline::before{content:"\\F1450"}.mdi-clock-time-ten::before{content:"\\F1448"}.mdi-clock-time-ten-outline::before{content:"\\F1454"}.mdi-clock-time-three::before{content:"\\F1441"}.mdi-clock-time-three-outline::before{content:"\\F144D"}.mdi-clock-time-twelve::before{content:"\\F144A"}.mdi-clock-time-twelve-outline::before{content:"\\F1456"}.mdi-clock-time-two::before{content:"\\F1440"}.mdi-clock-time-two-outline::before{content:"\\F144C"}.mdi-close::before{content:"\\F0156"}.mdi-close-box::before{content:"\\F0157"}.mdi-close-box-multiple::before{content:"\\F0C5D"}.mdi-close-box-multiple-outline::before{content:"\\F0C5E"}.mdi-close-box-outline::before{content:"\\F0158"}.mdi-close-circle::before{content:"\\F0159"}.mdi-close-circle-multiple::before{content:"\\F062A"}.mdi-close-circle-multiple-outline::before{content:"\\F0883"}.mdi-close-circle-outline::before{content:"\\F015A"}.mdi-close-network::before{content:"\\F015B"}.mdi-close-network-outline::before{content:"\\F0C5F"}.mdi-close-octagon::before{content:"\\F015C"}.mdi-close-octagon-outline::before{content:"\\F015D"}.mdi-close-outline::before{content:"\\F06C9"}.mdi-close-thick::before{content:"\\F1398"}.mdi-closed-caption::before{content:"\\F015E"}.mdi-closed-caption-outline::before{content:"\\F0DBD"}.mdi-cloud::before{content:"\\F015F"}.mdi-cloud-alert::before{content:"\\F09E0"}.mdi-cloud-braces::before{content:"\\F07B5"}.mdi-cloud-check::before{content:"\\F0160"}.mdi-cloud-check-outline::before{content:"\\F12CC"}.mdi-cloud-circle::before{content:"\\F0161"}.mdi-cloud-download::before{content:"\\F0162"}.mdi-cloud-download-outline::before{content:"\\F0B7D"}.mdi-cloud-lock::before{content:"\\F11F1"}.mdi-cloud-lock-outline::before{content:"\\F11F2"}.mdi-cloud-off-outline::before{content:"\\F0164"}.mdi-cloud-outline::before{content:"\\F0163"}.mdi-cloud-print::before{content:"\\F0165"}.mdi-cloud-print-outline::before{content:"\\F0166"}.mdi-cloud-question::before{content:"\\F0A39"}.mdi-cloud-refresh::before{content:"\\F052A"}.mdi-cloud-search::before{content:"\\F0956"}.mdi-cloud-search-outline::before{content:"\\F0957"}.mdi-cloud-sync::before{content:"\\F063F"}.mdi-cloud-sync-outline::before{content:"\\F12D6"}.mdi-cloud-tags::before{content:"\\F07B6"}.mdi-cloud-upload::before{content:"\\F0167"}.mdi-cloud-upload-outline::before{content:"\\F0B7E"}.mdi-clover::before{content:"\\F0816"}.mdi-coach-lamp::before{content:"\\F1020"}.mdi-coat-rack::before{content:"\\F109E"}.mdi-code-array::before{content:"\\F0168"}.mdi-code-braces::before{content:"\\F0169"}.mdi-code-braces-box::before{content:"\\F10D6"}.mdi-code-brackets::before{content:"\\F016A"}.mdi-code-equal::before{content:"\\F016B"}.mdi-code-greater-than::before{content:"\\F016C"}.mdi-code-greater-than-or-equal::before{content:"\\F016D"}.mdi-code-json::before{content:"\\F0626"}.mdi-code-less-than::before{content:"\\F016E"}.mdi-code-less-than-or-equal::before{content:"\\F016F"}.mdi-code-not-equal::before{content:"\\F0170"}.mdi-code-not-equal-variant::before{content:"\\F0171"}.mdi-code-parentheses::before{content:"\\F0172"}.mdi-code-parentheses-box::before{content:"\\F10D7"}.mdi-code-string::before{content:"\\F0173"}.mdi-code-tags::before{content:"\\F0174"}.mdi-code-tags-check::before{content:"\\F0694"}.mdi-codepen::before{content:"\\F0175"}.mdi-coffee::before{content:"\\F0176"}.mdi-coffee-maker::before{content:"\\F109F"}.mdi-coffee-off::before{content:"\\F0FAA"}.mdi-coffee-off-outline::before{content:"\\F0FAB"}.mdi-coffee-outline::before{content:"\\F06CA"}.mdi-coffee-to-go::before{content:"\\F0177"}.mdi-coffee-to-go-outline::before{content:"\\F130E"}.mdi-coffin::before{content:"\\F0B7F"}.mdi-cog::before{content:"\\F0493"}.mdi-cog-box::before{content:"\\F0494"}.mdi-cog-clockwise::before{content:"\\F11DD"}.mdi-cog-counterclockwise::before{content:"\\F11DE"}.mdi-cog-off::before{content:"\\F13CE"}.mdi-cog-off-outline::before{content:"\\F13CF"}.mdi-cog-outline::before{content:"\\F08BB"}.mdi-cog-refresh::before{content:"\\F145E"}.mdi-cog-refresh-outline::before{content:"\\F145F"}.mdi-cog-sync::before{content:"\\F1460"}.mdi-cog-sync-outline::before{content:"\\F1461"}.mdi-cog-transfer::before{content:"\\F105B"}.mdi-cog-transfer-outline::before{content:"\\F105C"}.mdi-cogs::before{content:"\\F08D6"}.mdi-collage::before{content:"\\F0640"}.mdi-collapse-all::before{content:"\\F0AA6"}.mdi-collapse-all-outline::before{content:"\\F0AA7"}.mdi-color-helper::before{content:"\\F0179"}.mdi-comma::before{content:"\\F0E23"}.mdi-comma-box::before{content:"\\F0E2B"}.mdi-comma-box-outline::before{content:"\\F0E24"}.mdi-comma-circle::before{content:"\\F0E25"}.mdi-comma-circle-outline::before{content:"\\F0E26"}.mdi-comment::before{content:"\\F017A"}.mdi-comment-account::before{content:"\\F017B"}.mdi-comment-account-outline::before{content:"\\F017C"}.mdi-comment-alert::before{content:"\\F017D"}.mdi-comment-alert-outline::before{content:"\\F017E"}.mdi-comment-arrow-left::before{content:"\\F09E1"}.mdi-comment-arrow-left-outline::before{content:"\\F09E2"}.mdi-comment-arrow-right::before{content:"\\F09E3"}.mdi-comment-arrow-right-outline::before{content:"\\F09E4"}.mdi-comment-check::before{content:"\\F017F"}.mdi-comment-check-outline::before{content:"\\F0180"}.mdi-comment-edit::before{content:"\\F11BF"}.mdi-comment-edit-outline::before{content:"\\F12C4"}.mdi-comment-eye::before{content:"\\F0A3A"}.mdi-comment-eye-outline::before{content:"\\F0A3B"}.mdi-comment-multiple::before{content:"\\F085F"}.mdi-comment-multiple-outline::before{content:"\\F0181"}.mdi-comment-outline::before{content:"\\F0182"}.mdi-comment-plus::before{content:"\\F09E5"}.mdi-comment-plus-outline::before{content:"\\F0183"}.mdi-comment-processing::before{content:"\\F0184"}.mdi-comment-processing-outline::before{content:"\\F0185"}.mdi-comment-question::before{content:"\\F0817"}.mdi-comment-question-outline::before{content:"\\F0186"}.mdi-comment-quote::before{content:"\\F1021"}.mdi-comment-quote-outline::before{content:"\\F1022"}.mdi-comment-remove::before{content:"\\F05DE"}.mdi-comment-remove-outline::before{content:"\\F0187"}.mdi-comment-search::before{content:"\\F0A3C"}.mdi-comment-search-outline::before{content:"\\F0A3D"}.mdi-comment-text::before{content:"\\F0188"}.mdi-comment-text-multiple::before{content:"\\F0860"}.mdi-comment-text-multiple-outline::before{content:"\\F0861"}.mdi-comment-text-outline::before{content:"\\F0189"}.mdi-compare::before{content:"\\F018A"}.mdi-compare-horizontal::before{content:"\\F1492"}.mdi-compare-vertical::before{content:"\\F1493"}.mdi-compass::before{content:"\\F018B"}.mdi-compass-off::before{content:"\\F0B80"}.mdi-compass-off-outline::before{content:"\\F0B81"}.mdi-compass-outline::before{content:"\\F018C"}.mdi-compass-rose::before{content:"\\F1382"}.mdi-concourse-ci::before{content:"\\F10A0"}.mdi-console::before{content:"\\F018D"}.mdi-console-line::before{content:"\\F07B7"}.mdi-console-network::before{content:"\\F08A9"}.mdi-console-network-outline::before{content:"\\F0C60"}.mdi-consolidate::before{content:"\\F10D8"}.mdi-contactless-payment::before{content:"\\F0D6A"}.mdi-contactless-payment-circle::before{content:"\\F0321"}.mdi-contactless-payment-circle-outline::before{content:"\\F0408"}.mdi-contacts::before{content:"\\F06CB"}.mdi-contacts-outline::before{content:"\\F05B8"}.mdi-contain::before{content:"\\F0A3E"}.mdi-contain-end::before{content:"\\F0A3F"}.mdi-contain-start::before{content:"\\F0A40"}.mdi-content-copy::before{content:"\\F018F"}.mdi-content-cut::before{content:"\\F0190"}.mdi-content-duplicate::before{content:"\\F0191"}.mdi-content-paste::before{content:"\\F0192"}.mdi-content-save::before{content:"\\F0193"}.mdi-content-save-alert::before{content:"\\F0F42"}.mdi-content-save-alert-outline::before{content:"\\F0F43"}.mdi-content-save-all::before{content:"\\F0194"}.mdi-content-save-all-outline::before{content:"\\F0F44"}.mdi-content-save-cog::before{content:"\\F145B"}.mdi-content-save-cog-outline::before{content:"\\F145C"}.mdi-content-save-edit::before{content:"\\F0CFB"}.mdi-content-save-edit-outline::before{content:"\\F0CFC"}.mdi-content-save-move::before{content:"\\F0E27"}.mdi-content-save-move-outline::before{content:"\\F0E28"}.mdi-content-save-outline::before{content:"\\F0818"}.mdi-content-save-settings::before{content:"\\F061B"}.mdi-content-save-settings-outline::before{content:"\\F0B2E"}.mdi-contrast::before{content:"\\F0195"}.mdi-contrast-box::before{content:"\\F0196"}.mdi-contrast-circle::before{content:"\\F0197"}.mdi-controller-classic::before{content:"\\F0B82"}.mdi-controller-classic-outline::before{content:"\\F0B83"}.mdi-cookie::before{content:"\\F0198"}.mdi-coolant-temperature::before{content:"\\F03C8"}.mdi-copyright::before{content:"\\F05E6"}.mdi-cordova::before{content:"\\F0958"}.mdi-corn::before{content:"\\F07B8"}.mdi-corn-off::before{content:"\\F13EF"}.mdi-cosine-wave::before{content:"\\F1479"}.mdi-counter::before{content:"\\F0199"}.mdi-cow::before{content:"\\F019A"}.mdi-cpu-32-bit::before{content:"\\F0EDF"}.mdi-cpu-64-bit::before{content:"\\F0EE0"}.mdi-crane::before{content:"\\F0862"}.mdi-creation::before{content:"\\F0674"}.mdi-creative-commons::before{content:"\\F0D6B"}.mdi-credit-card::before{content:"\\F0FEF"}.mdi-credit-card-check::before{content:"\\F13D0"}.mdi-credit-card-check-outline::before{content:"\\F13D1"}.mdi-credit-card-clock::before{content:"\\F0EE1"}.mdi-credit-card-clock-outline::before{content:"\\F0EE2"}.mdi-credit-card-marker::before{content:"\\F06A8"}.mdi-credit-card-marker-outline::before{content:"\\F0DBE"}.mdi-credit-card-minus::before{content:"\\F0FAC"}.mdi-credit-card-minus-outline::before{content:"\\F0FAD"}.mdi-credit-card-multiple::before{content:"\\F0FF0"}.mdi-credit-card-multiple-outline::before{content:"\\F019C"}.mdi-credit-card-off::before{content:"\\F0FF1"}.mdi-credit-card-off-outline::before{content:"\\F05E4"}.mdi-credit-card-outline::before{content:"\\F019B"}.mdi-credit-card-plus::before{content:"\\F0FF2"}.mdi-credit-card-plus-outline::before{content:"\\F0676"}.mdi-credit-card-refund::before{content:"\\F0FF3"}.mdi-credit-card-refund-outline::before{content:"\\F0AA8"}.mdi-credit-card-remove::before{content:"\\F0FAE"}.mdi-credit-card-remove-outline::before{content:"\\F0FAF"}.mdi-credit-card-scan::before{content:"\\F0FF4"}.mdi-credit-card-scan-outline::before{content:"\\F019D"}.mdi-credit-card-settings::before{content:"\\F0FF5"}.mdi-credit-card-settings-outline::before{content:"\\F08D7"}.mdi-credit-card-wireless::before{content:"\\F0802"}.mdi-credit-card-wireless-off::before{content:"\\F057A"}.mdi-credit-card-wireless-off-outline::before{content:"\\F057B"}.mdi-credit-card-wireless-outline::before{content:"\\F0D6C"}.mdi-cricket::before{content:"\\F0D6D"}.mdi-crop::before{content:"\\F019E"}.mdi-crop-free::before{content:"\\F019F"}.mdi-crop-landscape::before{content:"\\F01A0"}.mdi-crop-portrait::before{content:"\\F01A1"}.mdi-crop-rotate::before{content:"\\F0696"}.mdi-crop-square::before{content:"\\F01A2"}.mdi-crosshairs::before{content:"\\F01A3"}.mdi-crosshairs-gps::before{content:"\\F01A4"}.mdi-crosshairs-off::before{content:"\\F0F45"}.mdi-crosshairs-question::before{content:"\\F1136"}.mdi-crown::before{content:"\\F01A5"}.mdi-crown-outline::before{content:"\\F11D0"}.mdi-cryengine::before{content:"\\F0959"}.mdi-crystal-ball::before{content:"\\F0B2F"}.mdi-cube::before{content:"\\F01A6"}.mdi-cube-off::before{content:"\\F141C"}.mdi-cube-off-outline::before{content:"\\F141D"}.mdi-cube-outline::before{content:"\\F01A7"}.mdi-cube-scan::before{content:"\\F0B84"}.mdi-cube-send::before{content:"\\F01A8"}.mdi-cube-unfolded::before{content:"\\F01A9"}.mdi-cup::before{content:"\\F01AA"}.mdi-cup-off::before{content:"\\F05E5"}.mdi-cup-off-outline::before{content:"\\F137D"}.mdi-cup-outline::before{content:"\\F130F"}.mdi-cup-water::before{content:"\\F01AB"}.mdi-cupboard::before{content:"\\F0F46"}.mdi-cupboard-outline::before{content:"\\F0F47"}.mdi-cupcake::before{content:"\\F095A"}.mdi-curling::before{content:"\\F0863"}.mdi-currency-bdt::before{content:"\\F0864"}.mdi-currency-brl::before{content:"\\F0B85"}.mdi-currency-btc::before{content:"\\F01AC"}.mdi-currency-cny::before{content:"\\F07BA"}.mdi-currency-eth::before{content:"\\F07BB"}.mdi-currency-eur::before{content:"\\F01AD"}.mdi-currency-eur-off::before{content:"\\F1315"}.mdi-currency-gbp::before{content:"\\F01AE"}.mdi-currency-ils::before{content:"\\F0C61"}.mdi-currency-inr::before{content:"\\F01AF"}.mdi-currency-jpy::before{content:"\\F07BC"}.mdi-currency-krw::before{content:"\\F07BD"}.mdi-currency-kzt::before{content:"\\F0865"}.mdi-currency-ngn::before{content:"\\F01B0"}.mdi-currency-php::before{content:"\\F09E6"}.mdi-currency-rial::before{content:"\\F0E9C"}.mdi-currency-rub::before{content:"\\F01B1"}.mdi-currency-sign::before{content:"\\F07BE"}.mdi-currency-try::before{content:"\\F01B2"}.mdi-currency-twd::before{content:"\\F07BF"}.mdi-currency-usd::before{content:"\\F01C1"}.mdi-currency-usd-circle::before{content:"\\F116B"}.mdi-currency-usd-circle-outline::before{content:"\\F0178"}.mdi-currency-usd-off::before{content:"\\F067A"}.mdi-current-ac::before{content:"\\F1480"}.mdi-current-dc::before{content:"\\F095C"}.mdi-cursor-default::before{content:"\\F01C0"}.mdi-cursor-default-click::before{content:"\\F0CFD"}.mdi-cursor-default-click-outline::before{content:"\\F0CFE"}.mdi-cursor-default-gesture::before{content:"\\F1127"}.mdi-cursor-default-gesture-outline::before{content:"\\F1128"}.mdi-cursor-default-outline::before{content:"\\F01BF"}.mdi-cursor-move::before{content:"\\F01BE"}.mdi-cursor-pointer::before{content:"\\F01BD"}.mdi-cursor-text::before{content:"\\F05E7"}.mdi-database::before{content:"\\F01BC"}.mdi-database-check::before{content:"\\F0AA9"}.mdi-database-edit::before{content:"\\F0B86"}.mdi-database-export::before{content:"\\F095E"}.mdi-database-import::before{content:"\\F095D"}.mdi-database-lock::before{content:"\\F0AAA"}.mdi-database-marker::before{content:"\\F12F6"}.mdi-database-minus::before{content:"\\F01BB"}.mdi-database-plus::before{content:"\\F01BA"}.mdi-database-refresh::before{content:"\\F05C2"}.mdi-database-remove::before{content:"\\F0D00"}.mdi-database-search::before{content:"\\F0866"}.mdi-database-settings::before{content:"\\F0D01"}.mdi-database-sync::before{content:"\\F0CFF"}.mdi-death-star::before{content:"\\F08D8"}.mdi-death-star-variant::before{content:"\\F08D9"}.mdi-deathly-hallows::before{content:"\\F0B87"}.mdi-debian::before{content:"\\F08DA"}.mdi-debug-step-into::before{content:"\\F01B9"}.mdi-debug-step-out::before{content:"\\F01B8"}.mdi-debug-step-over::before{content:"\\F01B7"}.mdi-decagram::before{content:"\\F076C"}.mdi-decagram-outline::before{content:"\\F076D"}.mdi-decimal::before{content:"\\F10A1"}.mdi-decimal-comma::before{content:"\\F10A2"}.mdi-decimal-comma-decrease::before{content:"\\F10A3"}.mdi-decimal-comma-increase::before{content:"\\F10A4"}.mdi-decimal-decrease::before{content:"\\F01B6"}.mdi-decimal-increase::before{content:"\\F01B5"}.mdi-delete::before{content:"\\F01B4"}.mdi-delete-alert::before{content:"\\F10A5"}.mdi-delete-alert-outline::before{content:"\\F10A6"}.mdi-delete-circle::before{content:"\\F0683"}.mdi-delete-circle-outline::before{content:"\\F0B88"}.mdi-delete-empty::before{content:"\\F06CC"}.mdi-delete-empty-outline::before{content:"\\F0E9D"}.mdi-delete-forever::before{content:"\\F05E8"}.mdi-delete-forever-outline::before{content:"\\F0B89"}.mdi-delete-off::before{content:"\\F10A7"}.mdi-delete-off-outline::before{content:"\\F10A8"}.mdi-delete-outline::before{content:"\\F09E7"}.mdi-delete-restore::before{content:"\\F0819"}.mdi-delete-sweep::before{content:"\\F05E9"}.mdi-delete-sweep-outline::before{content:"\\F0C62"}.mdi-delete-variant::before{content:"\\F01B3"}.mdi-delta::before{content:"\\F01C2"}.mdi-desk::before{content:"\\F1239"}.mdi-desk-lamp::before{content:"\\F095F"}.mdi-deskphone::before{content:"\\F01C3"}.mdi-desktop-classic::before{content:"\\F07C0"}.mdi-desktop-mac::before{content:"\\F01C4"}.mdi-desktop-mac-dashboard::before{content:"\\F09E8"}.mdi-desktop-tower::before{content:"\\F01C5"}.mdi-desktop-tower-monitor::before{content:"\\F0AAB"}.mdi-details::before{content:"\\F01C6"}.mdi-dev-to::before{content:"\\F0D6E"}.mdi-developer-board::before{content:"\\F0697"}.mdi-deviantart::before{content:"\\F01C7"}.mdi-devices::before{content:"\\F0FB0"}.mdi-diabetes::before{content:"\\F1126"}.mdi-dialpad::before{content:"\\F061C"}.mdi-diameter::before{content:"\\F0C63"}.mdi-diameter-outline::before{content:"\\F0C64"}.mdi-diameter-variant::before{content:"\\F0C65"}.mdi-diamond::before{content:"\\F0B8A"}.mdi-diamond-outline::before{content:"\\F0B8B"}.mdi-diamond-stone::before{content:"\\F01C8"}.mdi-dice-1::before{content:"\\F01CA"}.mdi-dice-1-outline::before{content:"\\F114A"}.mdi-dice-2::before{content:"\\F01CB"}.mdi-dice-2-outline::before{content:"\\F114B"}.mdi-dice-3::before{content:"\\F01CC"}.mdi-dice-3-outline::before{content:"\\F114C"}.mdi-dice-4::before{content:"\\F01CD"}.mdi-dice-4-outline::before{content:"\\F114D"}.mdi-dice-5::before{content:"\\F01CE"}.mdi-dice-5-outline::before{content:"\\F114E"}.mdi-dice-6::before{content:"\\F01CF"}.mdi-dice-6-outline::before{content:"\\F114F"}.mdi-dice-d10::before{content:"\\F1153"}.mdi-dice-d10-outline::before{content:"\\F076F"}.mdi-dice-d12::before{content:"\\F1154"}.mdi-dice-d12-outline::before{content:"\\F0867"}.mdi-dice-d20::before{content:"\\F1155"}.mdi-dice-d20-outline::before{content:"\\F05EA"}.mdi-dice-d4::before{content:"\\F1150"}.mdi-dice-d4-outline::before{content:"\\F05EB"}.mdi-dice-d6::before{content:"\\F1151"}.mdi-dice-d6-outline::before{content:"\\F05ED"}.mdi-dice-d8::before{content:"\\F1152"}.mdi-dice-d8-outline::before{content:"\\F05EC"}.mdi-dice-multiple::before{content:"\\F076E"}.mdi-dice-multiple-outline::before{content:"\\F1156"}.mdi-digital-ocean::before{content:"\\F1237"}.mdi-dip-switch::before{content:"\\F07C1"}.mdi-directions::before{content:"\\F01D0"}.mdi-directions-fork::before{content:"\\F0641"}.mdi-disc::before{content:"\\F05EE"}.mdi-disc-alert::before{content:"\\F01D1"}.mdi-disc-player::before{content:"\\F0960"}.mdi-discord::before{content:"\\F066F"}.mdi-dishwasher::before{content:"\\F0AAC"}.mdi-dishwasher-alert::before{content:"\\F11B8"}.mdi-dishwasher-off::before{content:"\\F11B9"}.mdi-disqus::before{content:"\\F01D2"}.mdi-distribute-horizontal-center::before{content:"\\F11C9"}.mdi-distribute-horizontal-left::before{content:"\\F11C8"}.mdi-distribute-horizontal-right::before{content:"\\F11CA"}.mdi-distribute-vertical-bottom::before{content:"\\F11CB"}.mdi-distribute-vertical-center::before{content:"\\F11CC"}.mdi-distribute-vertical-top::before{content:"\\F11CD"}.mdi-diving-flippers::before{content:"\\F0DBF"}.mdi-diving-helmet::before{content:"\\F0DC0"}.mdi-diving-scuba::before{content:"\\F0DC1"}.mdi-diving-scuba-flag::before{content:"\\F0DC2"}.mdi-diving-scuba-tank::before{content:"\\F0DC3"}.mdi-diving-scuba-tank-multiple::before{content:"\\F0DC4"}.mdi-diving-snorkel::before{content:"\\F0DC5"}.mdi-division::before{content:"\\F01D4"}.mdi-division-box::before{content:"\\F01D5"}.mdi-dlna::before{content:"\\F0A41"}.mdi-dna::before{content:"\\F0684"}.mdi-dns::before{content:"\\F01D6"}.mdi-dns-outline::before{content:"\\F0B8C"}.mdi-do-not-disturb::before{content:"\\F0698"}.mdi-do-not-disturb-off::before{content:"\\F0699"}.mdi-dock-bottom::before{content:"\\F10A9"}.mdi-dock-left::before{content:"\\F10AA"}.mdi-dock-right::before{content:"\\F10AB"}.mdi-dock-window::before{content:"\\F10AC"}.mdi-docker::before{content:"\\F0868"}.mdi-doctor::before{content:"\\F0A42"}.mdi-dog::before{content:"\\F0A43"}.mdi-dog-service::before{content:"\\F0AAD"}.mdi-dog-side::before{content:"\\F0A44"}.mdi-dolby::before{content:"\\F06B3"}.mdi-dolly::before{content:"\\F0E9E"}.mdi-domain::before{content:"\\F01D7"}.mdi-domain-off::before{content:"\\F0D6F"}.mdi-domain-plus::before{content:"\\F10AD"}.mdi-domain-remove::before{content:"\\F10AE"}.mdi-dome-light::before{content:"\\F141E"}.mdi-domino-mask::before{content:"\\F1023"}.mdi-donkey::before{content:"\\F07C2"}.mdi-door::before{content:"\\F081A"}.mdi-door-closed::before{content:"\\F081B"}.mdi-door-closed-lock::before{content:"\\F10AF"}.mdi-door-open::before{content:"\\F081C"}.mdi-doorbell::before{content:"\\F12E6"}.mdi-doorbell-video::before{content:"\\F0869"}.mdi-dot-net::before{content:"\\F0AAE"}.mdi-dots-horizontal::before{content:"\\F01D8"}.mdi-dots-horizontal-circle::before{content:"\\F07C3"}.mdi-dots-horizontal-circle-outline::before{content:"\\F0B8D"}.mdi-dots-vertical::before{content:"\\F01D9"}.mdi-dots-vertical-circle::before{content:"\\F07C4"}.mdi-dots-vertical-circle-outline::before{content:"\\F0B8E"}.mdi-douban::before{content:"\\F069A"}.mdi-download::before{content:"\\F01DA"}.mdi-download-box::before{content:"\\F1462"}.mdi-download-box-outline::before{content:"\\F1463"}.mdi-download-circle::before{content:"\\F1464"}.mdi-download-circle-outline::before{content:"\\F1465"}.mdi-download-lock::before{content:"\\F1320"}.mdi-download-lock-outline::before{content:"\\F1321"}.mdi-download-multiple::before{content:"\\F09E9"}.mdi-download-network::before{content:"\\F06F4"}.mdi-download-network-outline::before{content:"\\F0C66"}.mdi-download-off::before{content:"\\F10B0"}.mdi-download-off-outline::before{content:"\\F10B1"}.mdi-download-outline::before{content:"\\F0B8F"}.mdi-drag::before{content:"\\F01DB"}.mdi-drag-horizontal::before{content:"\\F01DC"}.mdi-drag-horizontal-variant::before{content:"\\F12F0"}.mdi-drag-variant::before{content:"\\F0B90"}.mdi-drag-vertical::before{content:"\\F01DD"}.mdi-drag-vertical-variant::before{content:"\\F12F1"}.mdi-drama-masks::before{content:"\\F0D02"}.mdi-draw::before{content:"\\F0F49"}.mdi-drawing::before{content:"\\F01DE"}.mdi-drawing-box::before{content:"\\F01DF"}.mdi-dresser::before{content:"\\F0F4A"}.mdi-dresser-outline::before{content:"\\F0F4B"}.mdi-drone::before{content:"\\F01E2"}.mdi-dropbox::before{content:"\\F01E3"}.mdi-drupal::before{content:"\\F01E4"}.mdi-duck::before{content:"\\F01E5"}.mdi-dumbbell::before{content:"\\F01E6"}.mdi-dump-truck::before{content:"\\F0C67"}.mdi-ear-hearing::before{content:"\\F07C5"}.mdi-ear-hearing-off::before{content:"\\F0A45"}.mdi-earth::before{content:"\\F01E7"}.mdi-earth-arrow-right::before{content:"\\F1311"}.mdi-earth-box::before{content:"\\F06CD"}.mdi-earth-box-minus::before{content:"\\F1407"}.mdi-earth-box-off::before{content:"\\F06CE"}.mdi-earth-box-plus::before{content:"\\F1406"}.mdi-earth-box-remove::before{content:"\\F1408"}.mdi-earth-minus::before{content:"\\F1404"}.mdi-earth-off::before{content:"\\F01E8"}.mdi-earth-plus::before{content:"\\F1403"}.mdi-earth-remove::before{content:"\\F1405"}.mdi-egg::before{content:"\\F0AAF"}.mdi-egg-easter::before{content:"\\F0AB0"}.mdi-egg-off::before{content:"\\F13F0"}.mdi-egg-off-outline::before{content:"\\F13F1"}.mdi-egg-outline::before{content:"\\F13F2"}.mdi-eight-track::before{content:"\\F09EA"}.mdi-eject::before{content:"\\F01EA"}.mdi-eject-outline::before{content:"\\F0B91"}.mdi-electric-switch::before{content:"\\F0E9F"}.mdi-electric-switch-closed::before{content:"\\F10D9"}.mdi-electron-framework::before{content:"\\F1024"}.mdi-elephant::before{content:"\\F07C6"}.mdi-elevation-decline::before{content:"\\F01EB"}.mdi-elevation-rise::before{content:"\\F01EC"}.mdi-elevator::before{content:"\\F01ED"}.mdi-elevator-down::before{content:"\\F12C2"}.mdi-elevator-passenger::before{content:"\\F1381"}.mdi-elevator-up::before{content:"\\F12C1"}.mdi-ellipse::before{content:"\\F0EA0"}.mdi-ellipse-outline::before{content:"\\F0EA1"}.mdi-email::before{content:"\\F01EE"}.mdi-email-alert::before{content:"\\F06CF"}.mdi-email-alert-outline::before{content:"\\F0D42"}.mdi-email-box::before{content:"\\F0D03"}.mdi-email-check::before{content:"\\F0AB1"}.mdi-email-check-outline::before{content:"\\F0AB2"}.mdi-email-edit::before{content:"\\F0EE3"}.mdi-email-edit-outline::before{content:"\\F0EE4"}.mdi-email-lock::before{content:"\\F01F1"}.mdi-email-mark-as-unread::before{content:"\\F0B92"}.mdi-email-minus::before{content:"\\F0EE5"}.mdi-email-minus-outline::before{content:"\\F0EE6"}.mdi-email-multiple::before{content:"\\F0EE7"}.mdi-email-multiple-outline::before{content:"\\F0EE8"}.mdi-email-newsletter::before{content:"\\F0FB1"}.mdi-email-off::before{content:"\\F13E3"}.mdi-email-off-outline::before{content:"\\F13E4"}.mdi-email-open::before{content:"\\F01EF"}.mdi-email-open-multiple::before{content:"\\F0EE9"}.mdi-email-open-multiple-outline::before{content:"\\F0EEA"}.mdi-email-open-outline::before{content:"\\F05EF"}.mdi-email-outline::before{content:"\\F01F0"}.mdi-email-plus::before{content:"\\F09EB"}.mdi-email-plus-outline::before{content:"\\F09EC"}.mdi-email-receive::before{content:"\\F10DA"}.mdi-email-receive-outline::before{content:"\\F10DB"}.mdi-email-search::before{content:"\\F0961"}.mdi-email-search-outline::before{content:"\\F0962"}.mdi-email-send::before{content:"\\F10DC"}.mdi-email-send-outline::before{content:"\\F10DD"}.mdi-email-sync::before{content:"\\F12C7"}.mdi-email-sync-outline::before{content:"\\F12C8"}.mdi-email-variant::before{content:"\\F05F0"}.mdi-ember::before{content:"\\F0B30"}.mdi-emby::before{content:"\\F06B4"}.mdi-emoticon::before{content:"\\F0C68"}.mdi-emoticon-angry::before{content:"\\F0C69"}.mdi-emoticon-angry-outline::before{content:"\\F0C6A"}.mdi-emoticon-confused::before{content:"\\F10DE"}.mdi-emoticon-confused-outline::before{content:"\\F10DF"}.mdi-emoticon-cool::before{content:"\\F0C6B"}.mdi-emoticon-cool-outline::before{content:"\\F01F3"}.mdi-emoticon-cry::before{content:"\\F0C6C"}.mdi-emoticon-cry-outline::before{content:"\\F0C6D"}.mdi-emoticon-dead::before{content:"\\F0C6E"}.mdi-emoticon-dead-outline::before{content:"\\F069B"}.mdi-emoticon-devil::before{content:"\\F0C6F"}.mdi-emoticon-devil-outline::before{content:"\\F01F4"}.mdi-emoticon-excited::before{content:"\\F0C70"}.mdi-emoticon-excited-outline::before{content:"\\F069C"}.mdi-emoticon-frown::before{content:"\\F0F4C"}.mdi-emoticon-frown-outline::before{content:"\\F0F4D"}.mdi-emoticon-happy::before{content:"\\F0C71"}.mdi-emoticon-happy-outline::before{content:"\\F01F5"}.mdi-emoticon-kiss::before{content:"\\F0C72"}.mdi-emoticon-kiss-outline::before{content:"\\F0C73"}.mdi-emoticon-lol::before{content:"\\F1214"}.mdi-emoticon-lol-outline::before{content:"\\F1215"}.mdi-emoticon-neutral::before{content:"\\F0C74"}.mdi-emoticon-neutral-outline::before{content:"\\F01F6"}.mdi-emoticon-outline::before{content:"\\F01F2"}.mdi-emoticon-poop::before{content:"\\F01F7"}.mdi-emoticon-poop-outline::before{content:"\\F0C75"}.mdi-emoticon-sad::before{content:"\\F0C76"}.mdi-emoticon-sad-outline::before{content:"\\F01F8"}.mdi-emoticon-tongue::before{content:"\\F01F9"}.mdi-emoticon-tongue-outline::before{content:"\\F0C77"}.mdi-emoticon-wink::before{content:"\\F0C78"}.mdi-emoticon-wink-outline::before{content:"\\F0C79"}.mdi-engine::before{content:"\\F01FA"}.mdi-engine-off::before{content:"\\F0A46"}.mdi-engine-off-outline::before{content:"\\F0A47"}.mdi-engine-outline::before{content:"\\F01FB"}.mdi-epsilon::before{content:"\\F10E0"}.mdi-equal::before{content:"\\F01FC"}.mdi-equal-box::before{content:"\\F01FD"}.mdi-equalizer::before{content:"\\F0EA2"}.mdi-equalizer-outline::before{content:"\\F0EA3"}.mdi-eraser::before{content:"\\F01FE"}.mdi-eraser-variant::before{content:"\\F0642"}.mdi-escalator::before{content:"\\F01FF"}.mdi-escalator-box::before{content:"\\F1399"}.mdi-escalator-down::before{content:"\\F12C0"}.mdi-escalator-up::before{content:"\\F12BF"}.mdi-eslint::before{content:"\\F0C7A"}.mdi-et::before{content:"\\F0AB3"}.mdi-ethereum::before{content:"\\F086A"}.mdi-ethernet::before{content:"\\F0200"}.mdi-ethernet-cable::before{content:"\\F0201"}.mdi-ethernet-cable-off::before{content:"\\F0202"}.mdi-ev-station::before{content:"\\F05F1"}.mdi-evernote::before{content:"\\F0204"}.mdi-excavator::before{content:"\\F1025"}.mdi-exclamation::before{content:"\\F0205"}.mdi-exclamation-thick::before{content:"\\F1238"}.mdi-exit-run::before{content:"\\F0A48"}.mdi-exit-to-app::before{content:"\\F0206"}.mdi-expand-all::before{content:"\\F0AB4"}.mdi-expand-all-outline::before{content:"\\F0AB5"}.mdi-expansion-card::before{content:"\\F08AE"}.mdi-expansion-card-variant::before{content:"\\F0FB2"}.mdi-exponent::before{content:"\\F0963"}.mdi-exponent-box::before{content:"\\F0964"}.mdi-export::before{content:"\\F0207"}.mdi-export-variant::before{content:"\\F0B93"}.mdi-eye::before{content:"\\F0208"}.mdi-eye-check::before{content:"\\F0D04"}.mdi-eye-check-outline::before{content:"\\F0D05"}.mdi-eye-circle::before{content:"\\F0B94"}.mdi-eye-circle-outline::before{content:"\\F0B95"}.mdi-eye-minus::before{content:"\\F1026"}.mdi-eye-minus-outline::before{content:"\\F1027"}.mdi-eye-off::before{content:"\\F0209"}.mdi-eye-off-outline::before{content:"\\F06D1"}.mdi-eye-outline::before{content:"\\F06D0"}.mdi-eye-plus::before{content:"\\F086B"}.mdi-eye-plus-outline::before{content:"\\F086C"}.mdi-eye-settings::before{content:"\\F086D"}.mdi-eye-settings-outline::before{content:"\\F086E"}.mdi-eyedropper::before{content:"\\F020A"}.mdi-eyedropper-minus::before{content:"\\F13DD"}.mdi-eyedropper-off::before{content:"\\F13DF"}.mdi-eyedropper-plus::before{content:"\\F13DC"}.mdi-eyedropper-remove::before{content:"\\F13DE"}.mdi-eyedropper-variant::before{content:"\\F020B"}.mdi-face::before{content:"\\F0643"}.mdi-face-agent::before{content:"\\F0D70"}.mdi-face-outline::before{content:"\\F0B96"}.mdi-face-profile::before{content:"\\F0644"}.mdi-face-profile-woman::before{content:"\\F1076"}.mdi-face-recognition::before{content:"\\F0C7B"}.mdi-face-woman::before{content:"\\F1077"}.mdi-face-woman-outline::before{content:"\\F1078"}.mdi-facebook::before{content:"\\F020C"}.mdi-facebook-messenger::before{content:"\\F020E"}.mdi-facebook-workplace::before{content:"\\F0B31"}.mdi-factory::before{content:"\\F020F"}.mdi-fan::before{content:"\\F0210"}.mdi-fan-alert::before{content:"\\F146C"}.mdi-fan-chevron-down::before{content:"\\F146D"}.mdi-fan-chevron-up::before{content:"\\F146E"}.mdi-fan-minus::before{content:"\\F1470"}.mdi-fan-off::before{content:"\\F081D"}.mdi-fan-plus::before{content:"\\F146F"}.mdi-fan-remove::before{content:"\\F1471"}.mdi-fan-speed-1::before{content:"\\F1472"}.mdi-fan-speed-2::before{content:"\\F1473"}.mdi-fan-speed-3::before{content:"\\F1474"}.mdi-fast-forward::before{content:"\\F0211"}.mdi-fast-forward-10::before{content:"\\F0D71"}.mdi-fast-forward-30::before{content:"\\F0D06"}.mdi-fast-forward-5::before{content:"\\F11F8"}.mdi-fast-forward-outline::before{content:"\\F06D2"}.mdi-fax::before{content:"\\F0212"}.mdi-feather::before{content:"\\F06D3"}.mdi-feature-search::before{content:"\\F0A49"}.mdi-feature-search-outline::before{content:"\\F0A4A"}.mdi-fedora::before{content:"\\F08DB"}.mdi-fencing::before{content:"\\F14C1"}.mdi-ferris-wheel::before{content:"\\F0EA4"}.mdi-ferry::before{content:"\\F0213"}.mdi-file::before{content:"\\F0214"}.mdi-file-account::before{content:"\\F073B"}.mdi-file-account-outline::before{content:"\\F1028"}.mdi-file-alert::before{content:"\\F0A4B"}.mdi-file-alert-outline::before{content:"\\F0A4C"}.mdi-file-cabinet::before{content:"\\F0AB6"}.mdi-file-cad::before{content:"\\F0EEB"}.mdi-file-cad-box::before{content:"\\F0EEC"}.mdi-file-cancel::before{content:"\\F0DC6"}.mdi-file-cancel-outline::before{content:"\\F0DC7"}.mdi-file-certificate::before{content:"\\F1186"}.mdi-file-certificate-outline::before{content:"\\F1187"}.mdi-file-chart::before{content:"\\F0215"}.mdi-file-chart-outline::before{content:"\\F1029"}.mdi-file-check::before{content:"\\F0216"}.mdi-file-check-outline::before{content:"\\F0E29"}.mdi-file-clock::before{content:"\\F12E1"}.mdi-file-clock-outline::before{content:"\\F12E2"}.mdi-file-cloud::before{content:"\\F0217"}.mdi-file-cloud-outline::before{content:"\\F102A"}.mdi-file-code::before{content:"\\F022E"}.mdi-file-code-outline::before{content:"\\F102B"}.mdi-file-cog::before{content:"\\F107B"}.mdi-file-cog-outline::before{content:"\\F107C"}.mdi-file-compare::before{content:"\\F08AA"}.mdi-file-delimited::before{content:"\\F0218"}.mdi-file-delimited-outline::before{content:"\\F0EA5"}.mdi-file-document::before{content:"\\F0219"}.mdi-file-document-edit::before{content:"\\F0DC8"}.mdi-file-document-edit-outline::before{content:"\\F0DC9"}.mdi-file-document-outline::before{content:"\\F09EE"}.mdi-file-download::before{content:"\\F0965"}.mdi-file-download-outline::before{content:"\\F0966"}.mdi-file-edit::before{content:"\\F11E7"}.mdi-file-edit-outline::before{content:"\\F11E8"}.mdi-file-excel::before{content:"\\F021B"}.mdi-file-excel-box::before{content:"\\F021C"}.mdi-file-excel-box-outline::before{content:"\\F102C"}.mdi-file-excel-outline::before{content:"\\F102D"}.mdi-file-export::before{content:"\\F021D"}.mdi-file-export-outline::before{content:"\\F102E"}.mdi-file-eye::before{content:"\\F0DCA"}.mdi-file-eye-outline::before{content:"\\F0DCB"}.mdi-file-find::before{content:"\\F021E"}.mdi-file-find-outline::before{content:"\\F0B97"}.mdi-file-hidden::before{content:"\\F0613"}.mdi-file-image::before{content:"\\F021F"}.mdi-file-image-outline::before{content:"\\F0EB0"}.mdi-file-import::before{content:"\\F0220"}.mdi-file-import-outline::before{content:"\\F102F"}.mdi-file-key::before{content:"\\F1184"}.mdi-file-key-outline::before{content:"\\F1185"}.mdi-file-link::before{content:"\\F1177"}.mdi-file-link-outline::before{content:"\\F1178"}.mdi-file-lock::before{content:"\\F0221"}.mdi-file-lock-outline::before{content:"\\F1030"}.mdi-file-move::before{content:"\\F0AB9"}.mdi-file-move-outline::before{content:"\\F1031"}.mdi-file-multiple::before{content:"\\F0222"}.mdi-file-multiple-outline::before{content:"\\F1032"}.mdi-file-music::before{content:"\\F0223"}.mdi-file-music-outline::before{content:"\\F0E2A"}.mdi-file-outline::before{content:"\\F0224"}.mdi-file-pdf::before{content:"\\F0225"}.mdi-file-pdf-box::before{content:"\\F0226"}.mdi-file-pdf-box-outline::before{content:"\\F0FB3"}.mdi-file-pdf-outline::before{content:"\\F0E2D"}.mdi-file-percent::before{content:"\\F081E"}.mdi-file-percent-outline::before{content:"\\F1033"}.mdi-file-phone::before{content:"\\F1179"}.mdi-file-phone-outline::before{content:"\\F117A"}.mdi-file-plus::before{content:"\\F0752"}.mdi-file-plus-outline::before{content:"\\F0EED"}.mdi-file-powerpoint::before{content:"\\F0227"}.mdi-file-powerpoint-box::before{content:"\\F0228"}.mdi-file-powerpoint-box-outline::before{content:"\\F1034"}.mdi-file-powerpoint-outline::before{content:"\\F1035"}.mdi-file-presentation-box::before{content:"\\F0229"}.mdi-file-question::before{content:"\\F086F"}.mdi-file-question-outline::before{content:"\\F1036"}.mdi-file-refresh::before{content:"\\F0918"}.mdi-file-refresh-outline::before{content:"\\F0541"}.mdi-file-remove::before{content:"\\F0B98"}.mdi-file-remove-outline::before{content:"\\F1037"}.mdi-file-replace::before{content:"\\F0B32"}.mdi-file-replace-outline::before{content:"\\F0B33"}.mdi-file-restore::before{content:"\\F0670"}.mdi-file-restore-outline::before{content:"\\F1038"}.mdi-file-search::before{content:"\\F0C7C"}.mdi-file-search-outline::before{content:"\\F0C7D"}.mdi-file-send::before{content:"\\F022A"}.mdi-file-send-outline::before{content:"\\F1039"}.mdi-file-settings::before{content:"\\F1079"}.mdi-file-settings-outline::before{content:"\\F107A"}.mdi-file-star::before{content:"\\F103A"}.mdi-file-star-outline::before{content:"\\F103B"}.mdi-file-swap::before{content:"\\F0FB4"}.mdi-file-swap-outline::before{content:"\\F0FB5"}.mdi-file-sync::before{content:"\\F1216"}.mdi-file-sync-outline::before{content:"\\F1217"}.mdi-file-table::before{content:"\\F0C7E"}.mdi-file-table-box::before{content:"\\F10E1"}.mdi-file-table-box-multiple::before{content:"\\F10E2"}.mdi-file-table-box-multiple-outline::before{content:"\\F10E3"}.mdi-file-table-box-outline::before{content:"\\F10E4"}.mdi-file-table-outline::before{content:"\\F0C7F"}.mdi-file-tree::before{content:"\\F0645"}.mdi-file-tree-outline::before{content:"\\F13D2"}.mdi-file-undo::before{content:"\\F08DC"}.mdi-file-undo-outline::before{content:"\\F103C"}.mdi-file-upload::before{content:"\\F0A4D"}.mdi-file-upload-outline::before{content:"\\F0A4E"}.mdi-file-video::before{content:"\\F022B"}.mdi-file-video-outline::before{content:"\\F0E2C"}.mdi-file-word::before{content:"\\F022C"}.mdi-file-word-box::before{content:"\\F022D"}.mdi-file-word-box-outline::before{content:"\\F103D"}.mdi-file-word-outline::before{content:"\\F103E"}.mdi-film::before{content:"\\F022F"}.mdi-filmstrip::before{content:"\\F0230"}.mdi-filmstrip-box::before{content:"\\F0332"}.mdi-filmstrip-box-multiple::before{content:"\\F0D18"}.mdi-filmstrip-off::before{content:"\\F0231"}.mdi-filter::before{content:"\\F0232"}.mdi-filter-menu::before{content:"\\F10E5"}.mdi-filter-menu-outline::before{content:"\\F10E6"}.mdi-filter-minus::before{content:"\\F0EEE"}.mdi-filter-minus-outline::before{content:"\\F0EEF"}.mdi-filter-outline::before{content:"\\F0233"}.mdi-filter-plus::before{content:"\\F0EF0"}.mdi-filter-plus-outline::before{content:"\\F0EF1"}.mdi-filter-remove::before{content:"\\F0234"}.mdi-filter-remove-outline::before{content:"\\F0235"}.mdi-filter-variant::before{content:"\\F0236"}.mdi-filter-variant-minus::before{content:"\\F1112"}.mdi-filter-variant-plus::before{content:"\\F1113"}.mdi-filter-variant-remove::before{content:"\\F103F"}.mdi-finance::before{content:"\\F081F"}.mdi-find-replace::before{content:"\\F06D4"}.mdi-fingerprint::before{content:"\\F0237"}.mdi-fingerprint-off::before{content:"\\F0EB1"}.mdi-fire::before{content:"\\F0238"}.mdi-fire-extinguisher::before{content:"\\F0EF2"}.mdi-fire-hydrant::before{content:"\\F1137"}.mdi-fire-hydrant-alert::before{content:"\\F1138"}.mdi-fire-hydrant-off::before{content:"\\F1139"}.mdi-fire-truck::before{content:"\\F08AB"}.mdi-firebase::before{content:"\\F0967"}.mdi-firefox::before{content:"\\F0239"}.mdi-fireplace::before{content:"\\F0E2E"}.mdi-fireplace-off::before{content:"\\F0E2F"}.mdi-firework::before{content:"\\F0E30"}.mdi-fish::before{content:"\\F023A"}.mdi-fish-off::before{content:"\\F13F3"}.mdi-fishbowl::before{content:"\\F0EF3"}.mdi-fishbowl-outline::before{content:"\\F0EF4"}.mdi-fit-to-page::before{content:"\\F0EF5"}.mdi-fit-to-page-outline::before{content:"\\F0EF6"}.mdi-flag::before{content:"\\F023B"}.mdi-flag-checkered::before{content:"\\F023C"}.mdi-flag-minus::before{content:"\\F0B99"}.mdi-flag-minus-outline::before{content:"\\F10B2"}.mdi-flag-outline::before{content:"\\F023D"}.mdi-flag-plus::before{content:"\\F0B9A"}.mdi-flag-plus-outline::before{content:"\\F10B3"}.mdi-flag-remove::before{content:"\\F0B9B"}.mdi-flag-remove-outline::before{content:"\\F10B4"}.mdi-flag-triangle::before{content:"\\F023F"}.mdi-flag-variant::before{content:"\\F0240"}.mdi-flag-variant-outline::before{content:"\\F023E"}.mdi-flare::before{content:"\\F0D72"}.mdi-flash::before{content:"\\F0241"}.mdi-flash-alert::before{content:"\\F0EF7"}.mdi-flash-alert-outline::before{content:"\\F0EF8"}.mdi-flash-auto::before{content:"\\F0242"}.mdi-flash-circle::before{content:"\\F0820"}.mdi-flash-off::before{content:"\\F0243"}.mdi-flash-outline::before{content:"\\F06D5"}.mdi-flash-red-eye::before{content:"\\F067B"}.mdi-flashlight::before{content:"\\F0244"}.mdi-flashlight-off::before{content:"\\F0245"}.mdi-flask::before{content:"\\F0093"}.mdi-flask-empty::before{content:"\\F0094"}.mdi-flask-empty-minus::before{content:"\\F123A"}.mdi-flask-empty-minus-outline::before{content:"\\F123B"}.mdi-flask-empty-off::before{content:"\\F13F4"}.mdi-flask-empty-off-outline::before{content:"\\F13F5"}.mdi-flask-empty-outline::before{content:"\\F0095"}.mdi-flask-empty-plus::before{content:"\\F123C"}.mdi-flask-empty-plus-outline::before{content:"\\F123D"}.mdi-flask-empty-remove::before{content:"\\F123E"}.mdi-flask-empty-remove-outline::before{content:"\\F123F"}.mdi-flask-minus::before{content:"\\F1240"}.mdi-flask-minus-outline::before{content:"\\F1241"}.mdi-flask-off::before{content:"\\F13F6"}.mdi-flask-off-outline::before{content:"\\F13F7"}.mdi-flask-outline::before{content:"\\F0096"}.mdi-flask-plus::before{content:"\\F1242"}.mdi-flask-plus-outline::before{content:"\\F1243"}.mdi-flask-remove::before{content:"\\F1244"}.mdi-flask-remove-outline::before{content:"\\F1245"}.mdi-flask-round-bottom::before{content:"\\F124B"}.mdi-flask-round-bottom-empty::before{content:"\\F124C"}.mdi-flask-round-bottom-empty-outline::before{content:"\\F124D"}.mdi-flask-round-bottom-outline::before{content:"\\F124E"}.mdi-fleur-de-lis::before{content:"\\F1303"}.mdi-flip-horizontal::before{content:"\\F10E7"}.mdi-flip-to-back::before{content:"\\F0247"}.mdi-flip-to-front::before{content:"\\F0248"}.mdi-flip-vertical::before{content:"\\F10E8"}.mdi-floor-lamp::before{content:"\\F08DD"}.mdi-floor-lamp-dual::before{content:"\\F1040"}.mdi-floor-lamp-variant::before{content:"\\F1041"}.mdi-floor-plan::before{content:"\\F0821"}.mdi-floppy::before{content:"\\F0249"}.mdi-floppy-variant::before{content:"\\F09EF"}.mdi-flower::before{content:"\\F024A"}.mdi-flower-outline::before{content:"\\F09F0"}.mdi-flower-poppy::before{content:"\\F0D08"}.mdi-flower-tulip::before{content:"\\F09F1"}.mdi-flower-tulip-outline::before{content:"\\F09F2"}.mdi-focus-auto::before{content:"\\F0F4E"}.mdi-focus-field::before{content:"\\F0F4F"}.mdi-focus-field-horizontal::before{content:"\\F0F50"}.mdi-focus-field-vertical::before{content:"\\F0F51"}.mdi-folder::before{content:"\\F024B"}.mdi-folder-account::before{content:"\\F024C"}.mdi-folder-account-outline::before{content:"\\F0B9C"}.mdi-folder-alert::before{content:"\\F0DCC"}.mdi-folder-alert-outline::before{content:"\\F0DCD"}.mdi-folder-clock::before{content:"\\F0ABA"}.mdi-folder-clock-outline::before{content:"\\F0ABB"}.mdi-folder-cog::before{content:"\\F107F"}.mdi-folder-cog-outline::before{content:"\\F1080"}.mdi-folder-download::before{content:"\\F024D"}.mdi-folder-download-outline::before{content:"\\F10E9"}.mdi-folder-edit::before{content:"\\F08DE"}.mdi-folder-edit-outline::before{content:"\\F0DCE"}.mdi-folder-google-drive::before{content:"\\F024E"}.mdi-folder-heart::before{content:"\\F10EA"}.mdi-folder-heart-outline::before{content:"\\F10EB"}.mdi-folder-home::before{content:"\\F10B5"}.mdi-folder-home-outline::before{content:"\\F10B6"}.mdi-folder-image::before{content:"\\F024F"}.mdi-folder-information::before{content:"\\F10B7"}.mdi-folder-information-outline::before{content:"\\F10B8"}.mdi-folder-key::before{content:"\\F08AC"}.mdi-folder-key-network::before{content:"\\F08AD"}.mdi-folder-key-network-outline::before{content:"\\F0C80"}.mdi-folder-key-outline::before{content:"\\F10EC"}.mdi-folder-lock::before{content:"\\F0250"}.mdi-folder-lock-open::before{content:"\\F0251"}.mdi-folder-marker::before{content:"\\F126D"}.mdi-folder-marker-outline::before{content:"\\F126E"}.mdi-folder-move::before{content:"\\F0252"}.mdi-folder-move-outline::before{content:"\\F1246"}.mdi-folder-multiple::before{content:"\\F0253"}.mdi-folder-multiple-image::before{content:"\\F0254"}.mdi-folder-multiple-outline::before{content:"\\F0255"}.mdi-folder-multiple-plus::before{content:"\\F147E"}.mdi-folder-multiple-plus-outline::before{content:"\\F147F"}.mdi-folder-music::before{content:"\\F1359"}.mdi-folder-music-outline::before{content:"\\F135A"}.mdi-folder-network::before{content:"\\F0870"}.mdi-folder-network-outline::before{content:"\\F0C81"}.mdi-folder-open::before{content:"\\F0770"}.mdi-folder-open-outline::before{content:"\\F0DCF"}.mdi-folder-outline::before{content:"\\F0256"}.mdi-folder-plus::before{content:"\\F0257"}.mdi-folder-plus-outline::before{content:"\\F0B9D"}.mdi-folder-pound::before{content:"\\F0D09"}.mdi-folder-pound-outline::before{content:"\\F0D0A"}.mdi-folder-refresh::before{content:"\\F0749"}.mdi-folder-refresh-outline::before{content:"\\F0542"}.mdi-folder-remove::before{content:"\\F0258"}.mdi-folder-remove-outline::before{content:"\\F0B9E"}.mdi-folder-search::before{content:"\\F0968"}.mdi-folder-search-outline::before{content:"\\F0969"}.mdi-folder-settings::before{content:"\\F107D"}.mdi-folder-settings-outline::before{content:"\\F107E"}.mdi-folder-star::before{content:"\\F069D"}.mdi-folder-star-multiple::before{content:"\\F13D3"}.mdi-folder-star-multiple-outline::before{content:"\\F13D4"}.mdi-folder-star-outline::before{content:"\\F0B9F"}.mdi-folder-swap::before{content:"\\F0FB6"}.mdi-folder-swap-outline::before{content:"\\F0FB7"}.mdi-folder-sync::before{content:"\\F0D0B"}.mdi-folder-sync-outline::before{content:"\\F0D0C"}.mdi-folder-table::before{content:"\\F12E3"}.mdi-folder-table-outline::before{content:"\\F12E4"}.mdi-folder-text::before{content:"\\F0C82"}.mdi-folder-text-outline::before{content:"\\F0C83"}.mdi-folder-upload::before{content:"\\F0259"}.mdi-folder-upload-outline::before{content:"\\F10ED"}.mdi-folder-zip::before{content:"\\F06EB"}.mdi-folder-zip-outline::before{content:"\\F07B9"}.mdi-font-awesome::before{content:"\\F003A"}.mdi-food::before{content:"\\F025A"}.mdi-food-apple::before{content:"\\F025B"}.mdi-food-apple-outline::before{content:"\\F0C84"}.mdi-food-croissant::before{content:"\\F07C8"}.mdi-food-drumstick::before{content:"\\F141F"}.mdi-food-drumstick-off::before{content:"\\F1468"}.mdi-food-drumstick-off-outline::before{content:"\\F1469"}.mdi-food-drumstick-outline::before{content:"\\F1420"}.mdi-food-fork-drink::before{content:"\\F05F2"}.mdi-food-off::before{content:"\\F05F3"}.mdi-food-steak::before{content:"\\F146A"}.mdi-food-steak-off::before{content:"\\F146B"}.mdi-food-variant::before{content:"\\F025C"}.mdi-food-variant-off::before{content:"\\F13E5"}.mdi-foot-print::before{content:"\\F0F52"}.mdi-football::before{content:"\\F025D"}.mdi-football-australian::before{content:"\\F025E"}.mdi-football-helmet::before{content:"\\F025F"}.mdi-forklift::before{content:"\\F07C9"}.mdi-form-dropdown::before{content:"\\F1400"}.mdi-form-select::before{content:"\\F1401"}.mdi-form-textarea::before{content:"\\F1095"}.mdi-form-textbox::before{content:"\\F060E"}.mdi-form-textbox-lock::before{content:"\\F135D"}.mdi-form-textbox-password::before{content:"\\F07F5"}.mdi-format-align-bottom::before{content:"\\F0753"}.mdi-format-align-center::before{content:"\\F0260"}.mdi-format-align-justify::before{content:"\\F0261"}.mdi-format-align-left::before{content:"\\F0262"}.mdi-format-align-middle::before{content:"\\F0754"}.mdi-format-align-right::before{content:"\\F0263"}.mdi-format-align-top::before{content:"\\F0755"}.mdi-format-annotation-minus::before{content:"\\F0ABC"}.mdi-format-annotation-plus::before{content:"\\F0646"}.mdi-format-bold::before{content:"\\F0264"}.mdi-format-clear::before{content:"\\F0265"}.mdi-format-color-fill::before{content:"\\F0266"}.mdi-format-color-highlight::before{content:"\\F0E31"}.mdi-format-color-marker-cancel::before{content:"\\F1313"}.mdi-format-color-text::before{content:"\\F069E"}.mdi-format-columns::before{content:"\\F08DF"}.mdi-format-float-center::before{content:"\\F0267"}.mdi-format-float-left::before{content:"\\F0268"}.mdi-format-float-none::before{content:"\\F0269"}.mdi-format-float-right::before{content:"\\F026A"}.mdi-format-font::before{content:"\\F06D6"}.mdi-format-font-size-decrease::before{content:"\\F09F3"}.mdi-format-font-size-increase::before{content:"\\F09F4"}.mdi-format-header-1::before{content:"\\F026B"}.mdi-format-header-2::before{content:"\\F026C"}.mdi-format-header-3::before{content:"\\F026D"}.mdi-format-header-4::before{content:"\\F026E"}.mdi-format-header-5::before{content:"\\F026F"}.mdi-format-header-6::before{content:"\\F0270"}.mdi-format-header-decrease::before{content:"\\F0271"}.mdi-format-header-equal::before{content:"\\F0272"}.mdi-format-header-increase::before{content:"\\F0273"}.mdi-format-header-pound::before{content:"\\F0274"}.mdi-format-horizontal-align-center::before{content:"\\F061E"}.mdi-format-horizontal-align-left::before{content:"\\F061F"}.mdi-format-horizontal-align-right::before{content:"\\F0620"}.mdi-format-indent-decrease::before{content:"\\F0275"}.mdi-format-indent-increase::before{content:"\\F0276"}.mdi-format-italic::before{content:"\\F0277"}.mdi-format-letter-case::before{content:"\\F0B34"}.mdi-format-letter-case-lower::before{content:"\\F0B35"}.mdi-format-letter-case-upper::before{content:"\\F0B36"}.mdi-format-letter-ends-with::before{content:"\\F0FB8"}.mdi-format-letter-matches::before{content:"\\F0FB9"}.mdi-format-letter-starts-with::before{content:"\\F0FBA"}.mdi-format-line-spacing::before{content:"\\F0278"}.mdi-format-line-style::before{content:"\\F05C8"}.mdi-format-line-weight::before{content:"\\F05C9"}.mdi-format-list-bulleted::before{content:"\\F0279"}.mdi-format-list-bulleted-square::before{content:"\\F0DD0"}.mdi-format-list-bulleted-triangle::before{content:"\\F0EB2"}.mdi-format-list-bulleted-type::before{content:"\\F027A"}.mdi-format-list-checkbox::before{content:"\\F096A"}.mdi-format-list-checks::before{content:"\\F0756"}.mdi-format-list-numbered::before{content:"\\F027B"}.mdi-format-list-numbered-rtl::before{content:"\\F0D0D"}.mdi-format-list-text::before{content:"\\F126F"}.mdi-format-overline::before{content:"\\F0EB3"}.mdi-format-page-break::before{content:"\\F06D7"}.mdi-format-paint::before{content:"\\F027C"}.mdi-format-paragraph::before{content:"\\F027D"}.mdi-format-pilcrow::before{content:"\\F06D8"}.mdi-format-quote-close::before{content:"\\F027E"}.mdi-format-quote-close-outline::before{content:"\\F11A8"}.mdi-format-quote-open::before{content:"\\F0757"}.mdi-format-quote-open-outline::before{content:"\\F11A7"}.mdi-format-rotate-90::before{content:"\\F06AA"}.mdi-format-section::before{content:"\\F069F"}.mdi-format-size::before{content:"\\F027F"}.mdi-format-strikethrough::before{content:"\\F0280"}.mdi-format-strikethrough-variant::before{content:"\\F0281"}.mdi-format-subscript::before{content:"\\F0282"}.mdi-format-superscript::before{content:"\\F0283"}.mdi-format-text::before{content:"\\F0284"}.mdi-format-text-rotation-angle-down::before{content:"\\F0FBB"}.mdi-format-text-rotation-angle-up::before{content:"\\F0FBC"}.mdi-format-text-rotation-down::before{content:"\\F0D73"}.mdi-format-text-rotation-down-vertical::before{content:"\\F0FBD"}.mdi-format-text-rotation-none::before{content:"\\F0D74"}.mdi-format-text-rotation-up::before{content:"\\F0FBE"}.mdi-format-text-rotation-vertical::before{content:"\\F0FBF"}.mdi-format-text-variant::before{content:"\\F0E32"}.mdi-format-text-wrapping-clip::before{content:"\\F0D0E"}.mdi-format-text-wrapping-overflow::before{content:"\\F0D0F"}.mdi-format-text-wrapping-wrap::before{content:"\\F0D10"}.mdi-format-textbox::before{content:"\\F0D11"}.mdi-format-textdirection-l-to-r::before{content:"\\F0285"}.mdi-format-textdirection-r-to-l::before{content:"\\F0286"}.mdi-format-title::before{content:"\\F05F4"}.mdi-format-underline::before{content:"\\F0287"}.mdi-format-vertical-align-bottom::before{content:"\\F0621"}.mdi-format-vertical-align-center::before{content:"\\F0622"}.mdi-format-vertical-align-top::before{content:"\\F0623"}.mdi-format-wrap-inline::before{content:"\\F0288"}.mdi-format-wrap-square::before{content:"\\F0289"}.mdi-format-wrap-tight::before{content:"\\F028A"}.mdi-format-wrap-top-bottom::before{content:"\\F028B"}.mdi-forum::before{content:"\\F028C"}.mdi-forum-outline::before{content:"\\F0822"}.mdi-forward::before{content:"\\F028D"}.mdi-forwardburger::before{content:"\\F0D75"}.mdi-fountain::before{content:"\\F096B"}.mdi-fountain-pen::before{content:"\\F0D12"}.mdi-fountain-pen-tip::before{content:"\\F0D13"}.mdi-freebsd::before{content:"\\F08E0"}.mdi-frequently-asked-questions::before{content:"\\F0EB4"}.mdi-fridge::before{content:"\\F0290"}.mdi-fridge-alert::before{content:"\\F11B1"}.mdi-fridge-alert-outline::before{content:"\\F11B2"}.mdi-fridge-bottom::before{content:"\\F0292"}.mdi-fridge-off::before{content:"\\F11AF"}.mdi-fridge-off-outline::before{content:"\\F11B0"}.mdi-fridge-outline::before{content:"\\F028F"}.mdi-fridge-top::before{content:"\\F0291"}.mdi-fruit-cherries::before{content:"\\F1042"}.mdi-fruit-cherries-off::before{content:"\\F13F8"}.mdi-fruit-citrus::before{content:"\\F1043"}.mdi-fruit-citrus-off::before{content:"\\F13F9"}.mdi-fruit-grapes::before{content:"\\F1044"}.mdi-fruit-grapes-outline::before{content:"\\F1045"}.mdi-fruit-pineapple::before{content:"\\F1046"}.mdi-fruit-watermelon::before{content:"\\F1047"}.mdi-fuel::before{content:"\\F07CA"}.mdi-fullscreen::before{content:"\\F0293"}.mdi-fullscreen-exit::before{content:"\\F0294"}.mdi-function::before{content:"\\F0295"}.mdi-function-variant::before{content:"\\F0871"}.mdi-furigana-horizontal::before{content:"\\F1081"}.mdi-furigana-vertical::before{content:"\\F1082"}.mdi-fuse::before{content:"\\F0C85"}.mdi-fuse-alert::before{content:"\\F142D"}.mdi-fuse-blade::before{content:"\\F0C86"}.mdi-fuse-off::before{content:"\\F142C"}.mdi-gamepad::before{content:"\\F0296"}.mdi-gamepad-circle::before{content:"\\F0E33"}.mdi-gamepad-circle-down::before{content:"\\F0E34"}.mdi-gamepad-circle-left::before{content:"\\F0E35"}.mdi-gamepad-circle-outline::before{content:"\\F0E36"}.mdi-gamepad-circle-right::before{content:"\\F0E37"}.mdi-gamepad-circle-up::before{content:"\\F0E38"}.mdi-gamepad-down::before{content:"\\F0E39"}.mdi-gamepad-left::before{content:"\\F0E3A"}.mdi-gamepad-right::before{content:"\\F0E3B"}.mdi-gamepad-round::before{content:"\\F0E3C"}.mdi-gamepad-round-down::before{content:"\\F0E3D"}.mdi-gamepad-round-left::before{content:"\\F0E3E"}.mdi-gamepad-round-outline::before{content:"\\F0E3F"}.mdi-gamepad-round-right::before{content:"\\F0E40"}.mdi-gamepad-round-up::before{content:"\\F0E41"}.mdi-gamepad-square::before{content:"\\F0EB5"}.mdi-gamepad-square-outline::before{content:"\\F0EB6"}.mdi-gamepad-up::before{content:"\\F0E42"}.mdi-gamepad-variant::before{content:"\\F0297"}.mdi-gamepad-variant-outline::before{content:"\\F0EB7"}.mdi-gamma::before{content:"\\F10EE"}.mdi-gantry-crane::before{content:"\\F0DD1"}.mdi-garage::before{content:"\\F06D9"}.mdi-garage-alert::before{content:"\\F0872"}.mdi-garage-alert-variant::before{content:"\\F12D5"}.mdi-garage-open::before{content:"\\F06DA"}.mdi-garage-open-variant::before{content:"\\F12D4"}.mdi-garage-variant::before{content:"\\F12D3"}.mdi-gas-cylinder::before{content:"\\F0647"}.mdi-gas-station::before{content:"\\F0298"}.mdi-gas-station-off::before{content:"\\F1409"}.mdi-gas-station-off-outline::before{content:"\\F140A"}.mdi-gas-station-outline::before{content:"\\F0EB8"}.mdi-gate::before{content:"\\F0299"}.mdi-gate-and::before{content:"\\F08E1"}.mdi-gate-arrow-right::before{content:"\\F1169"}.mdi-gate-nand::before{content:"\\F08E2"}.mdi-gate-nor::before{content:"\\F08E3"}.mdi-gate-not::before{content:"\\F08E4"}.mdi-gate-open::before{content:"\\F116A"}.mdi-gate-or::before{content:"\\F08E5"}.mdi-gate-xnor::before{content:"\\F08E6"}.mdi-gate-xor::before{content:"\\F08E7"}.mdi-gatsby::before{content:"\\F0E43"}.mdi-gauge::before{content:"\\F029A"}.mdi-gauge-empty::before{content:"\\F0873"}.mdi-gauge-full::before{content:"\\F0874"}.mdi-gauge-low::before{content:"\\F0875"}.mdi-gavel::before{content:"\\F029B"}.mdi-gender-female::before{content:"\\F029C"}.mdi-gender-male::before{content:"\\F029D"}.mdi-gender-male-female::before{content:"\\F029E"}.mdi-gender-male-female-variant::before{content:"\\F113F"}.mdi-gender-non-binary::before{content:"\\F1140"}.mdi-gender-transgender::before{content:"\\F029F"}.mdi-gentoo::before{content:"\\F08E8"}.mdi-gesture::before{content:"\\F07CB"}.mdi-gesture-double-tap::before{content:"\\F073C"}.mdi-gesture-pinch::before{content:"\\F0ABD"}.mdi-gesture-spread::before{content:"\\F0ABE"}.mdi-gesture-swipe::before{content:"\\F0D76"}.mdi-gesture-swipe-down::before{content:"\\F073D"}.mdi-gesture-swipe-horizontal::before{content:"\\F0ABF"}.mdi-gesture-swipe-left::before{content:"\\F073E"}.mdi-gesture-swipe-right::before{content:"\\F073F"}.mdi-gesture-swipe-up::before{content:"\\F0740"}.mdi-gesture-swipe-vertical::before{content:"\\F0AC0"}.mdi-gesture-tap::before{content:"\\F0741"}.mdi-gesture-tap-box::before{content:"\\F12A9"}.mdi-gesture-tap-button::before{content:"\\F12A8"}.mdi-gesture-tap-hold::before{content:"\\F0D77"}.mdi-gesture-two-double-tap::before{content:"\\F0742"}.mdi-gesture-two-tap::before{content:"\\F0743"}.mdi-ghost::before{content:"\\F02A0"}.mdi-ghost-off::before{content:"\\F09F5"}.mdi-gif::before{content:"\\F0D78"}.mdi-gift::before{content:"\\F0E44"}.mdi-gift-outline::before{content:"\\F02A1"}.mdi-git::before{content:"\\F02A2"}.mdi-github::before{content:"\\F02A4"}.mdi-gitlab::before{content:"\\F0BA0"}.mdi-glass-cocktail::before{content:"\\F0356"}.mdi-glass-flute::before{content:"\\F02A5"}.mdi-glass-mug::before{content:"\\F02A6"}.mdi-glass-mug-variant::before{content:"\\F1116"}.mdi-glass-pint-outline::before{content:"\\F130D"}.mdi-glass-stange::before{content:"\\F02A7"}.mdi-glass-tulip::before{content:"\\F02A8"}.mdi-glass-wine::before{content:"\\F0876"}.mdi-glasses::before{content:"\\F02AA"}.mdi-globe-light::before{content:"\\F12D7"}.mdi-globe-model::before{content:"\\F08E9"}.mdi-gmail::before{content:"\\F02AB"}.mdi-gnome::before{content:"\\F02AC"}.mdi-go-kart::before{content:"\\F0D79"}.mdi-go-kart-track::before{content:"\\F0D7A"}.mdi-gog::before{content:"\\F0BA1"}.mdi-gold::before{content:"\\F124F"}.mdi-golf::before{content:"\\F0823"}.mdi-golf-cart::before{content:"\\F11A4"}.mdi-golf-tee::before{content:"\\F1083"}.mdi-gondola::before{content:"\\F0686"}.mdi-goodreads::before{content:"\\F0D7B"}.mdi-google::before{content:"\\F02AD"}.mdi-google-ads::before{content:"\\F0C87"}.mdi-google-analytics::before{content:"\\F07CC"}.mdi-google-assistant::before{content:"\\F07CD"}.mdi-google-cardboard::before{content:"\\F02AE"}.mdi-google-chrome::before{content:"\\F02AF"}.mdi-google-circles::before{content:"\\F02B0"}.mdi-google-circles-communities::before{content:"\\F02B1"}.mdi-google-circles-extended::before{content:"\\F02B2"}.mdi-google-circles-group::before{content:"\\F02B3"}.mdi-google-classroom::before{content:"\\F02C0"}.mdi-google-cloud::before{content:"\\F11F6"}.mdi-google-controller::before{content:"\\F02B4"}.mdi-google-controller-off::before{content:"\\F02B5"}.mdi-google-downasaur::before{content:"\\F1362"}.mdi-google-drive::before{content:"\\F02B6"}.mdi-google-earth::before{content:"\\F02B7"}.mdi-google-fit::before{content:"\\F096C"}.mdi-google-glass::before{content:"\\F02B8"}.mdi-google-hangouts::before{content:"\\F02C9"}.mdi-google-home::before{content:"\\F0824"}.mdi-google-keep::before{content:"\\F06DC"}.mdi-google-lens::before{content:"\\F09F6"}.mdi-google-maps::before{content:"\\F05F5"}.mdi-google-my-business::before{content:"\\F1048"}.mdi-google-nearby::before{content:"\\F02B9"}.mdi-google-photos::before{content:"\\F06DD"}.mdi-google-play::before{content:"\\F02BC"}.mdi-google-plus::before{content:"\\F02BD"}.mdi-google-podcast::before{content:"\\F0EB9"}.mdi-google-spreadsheet::before{content:"\\F09F7"}.mdi-google-street-view::before{content:"\\F0C88"}.mdi-google-translate::before{content:"\\F02BF"}.mdi-gradient::before{content:"\\F06A0"}.mdi-grain::before{content:"\\F0D7C"}.mdi-graph::before{content:"\\F1049"}.mdi-graph-outline::before{content:"\\F104A"}.mdi-graphql::before{content:"\\F0877"}.mdi-grave-stone::before{content:"\\F0BA2"}.mdi-grease-pencil::before{content:"\\F0648"}.mdi-greater-than::before{content:"\\F096D"}.mdi-greater-than-or-equal::before{content:"\\F096E"}.mdi-grid::before{content:"\\F02C1"}.mdi-grid-large::before{content:"\\F0758"}.mdi-grid-off::before{content:"\\F02C2"}.mdi-grill::before{content:"\\F0E45"}.mdi-grill-outline::before{content:"\\F118A"}.mdi-group::before{content:"\\F02C3"}.mdi-guitar-acoustic::before{content:"\\F0771"}.mdi-guitar-electric::before{content:"\\F02C4"}.mdi-guitar-pick::before{content:"\\F02C5"}.mdi-guitar-pick-outline::before{content:"\\F02C6"}.mdi-guy-fawkes-mask::before{content:"\\F0825"}.mdi-hail::before{content:"\\F0AC1"}.mdi-hair-dryer::before{content:"\\F10EF"}.mdi-hair-dryer-outline::before{content:"\\F10F0"}.mdi-halloween::before{content:"\\F0BA3"}.mdi-hamburger::before{content:"\\F0685"}.mdi-hammer::before{content:"\\F08EA"}.mdi-hammer-screwdriver::before{content:"\\F1322"}.mdi-hammer-wrench::before{content:"\\F1323"}.mdi-hand::before{content:"\\F0A4F"}.mdi-hand-heart::before{content:"\\F10F1"}.mdi-hand-left::before{content:"\\F0E46"}.mdi-hand-okay::before{content:"\\F0A50"}.mdi-hand-peace::before{content:"\\F0A51"}.mdi-hand-peace-variant::before{content:"\\F0A52"}.mdi-hand-pointing-down::before{content:"\\F0A53"}.mdi-hand-pointing-left::before{content:"\\F0A54"}.mdi-hand-pointing-right::before{content:"\\F02C7"}.mdi-hand-pointing-up::before{content:"\\F0A55"}.mdi-hand-right::before{content:"\\F0E47"}.mdi-hand-saw::before{content:"\\F0E48"}.mdi-hand-water::before{content:"\\F139F"}.mdi-handball::before{content:"\\F0F53"}.mdi-handcuffs::before{content:"\\F113E"}.mdi-handshake::before{content:"\\F1218"}.mdi-hanger::before{content:"\\F02C8"}.mdi-hard-hat::before{content:"\\F096F"}.mdi-harddisk::before{content:"\\F02CA"}.mdi-harddisk-plus::before{content:"\\F104B"}.mdi-harddisk-remove::before{content:"\\F104C"}.mdi-hat-fedora::before{content:"\\F0BA4"}.mdi-hazard-lights::before{content:"\\F0C89"}.mdi-hdr::before{content:"\\F0D7D"}.mdi-hdr-off::before{content:"\\F0D7E"}.mdi-head::before{content:"\\F135E"}.mdi-head-alert::before{content:"\\F1338"}.mdi-head-alert-outline::before{content:"\\F1339"}.mdi-head-check::before{content:"\\F133A"}.mdi-head-check-outline::before{content:"\\F133B"}.mdi-head-cog::before{content:"\\F133C"}.mdi-head-cog-outline::before{content:"\\F133D"}.mdi-head-dots-horizontal::before{content:"\\F133E"}.mdi-head-dots-horizontal-outline::before{content:"\\F133F"}.mdi-head-flash::before{content:"\\F1340"}.mdi-head-flash-outline::before{content:"\\F1341"}.mdi-head-heart::before{content:"\\F1342"}.mdi-head-heart-outline::before{content:"\\F1343"}.mdi-head-lightbulb::before{content:"\\F1344"}.mdi-head-lightbulb-outline::before{content:"\\F1345"}.mdi-head-minus::before{content:"\\F1346"}.mdi-head-minus-outline::before{content:"\\F1347"}.mdi-head-outline::before{content:"\\F135F"}.mdi-head-plus::before{content:"\\F1348"}.mdi-head-plus-outline::before{content:"\\F1349"}.mdi-head-question::before{content:"\\F134A"}.mdi-head-question-outline::before{content:"\\F134B"}.mdi-head-remove::before{content:"\\F134C"}.mdi-head-remove-outline::before{content:"\\F134D"}.mdi-head-snowflake::before{content:"\\F134E"}.mdi-head-snowflake-outline::before{content:"\\F134F"}.mdi-head-sync::before{content:"\\F1350"}.mdi-head-sync-outline::before{content:"\\F1351"}.mdi-headphones::before{content:"\\F02CB"}.mdi-headphones-bluetooth::before{content:"\\F0970"}.mdi-headphones-box::before{content:"\\F02CC"}.mdi-headphones-off::before{content:"\\F07CE"}.mdi-headphones-settings::before{content:"\\F02CD"}.mdi-headset::before{content:"\\F02CE"}.mdi-headset-dock::before{content:"\\F02CF"}.mdi-headset-off::before{content:"\\F02D0"}.mdi-heart::before{content:"\\F02D1"}.mdi-heart-box::before{content:"\\F02D2"}.mdi-heart-box-outline::before{content:"\\F02D3"}.mdi-heart-broken::before{content:"\\F02D4"}.mdi-heart-broken-outline::before{content:"\\F0D14"}.mdi-heart-circle::before{content:"\\F0971"}.mdi-heart-circle-outline::before{content:"\\F0972"}.mdi-heart-flash::before{content:"\\F0EF9"}.mdi-heart-half::before{content:"\\F06DF"}.mdi-heart-half-full::before{content:"\\F06DE"}.mdi-heart-half-outline::before{content:"\\F06E0"}.mdi-heart-minus::before{content:"\\F142F"}.mdi-heart-minus-outline::before{content:"\\F1432"}.mdi-heart-multiple::before{content:"\\F0A56"}.mdi-heart-multiple-outline::before{content:"\\F0A57"}.mdi-heart-off::before{content:"\\F0759"}.mdi-heart-off-outline::before{content:"\\F1434"}.mdi-heart-outline::before{content:"\\F02D5"}.mdi-heart-plus::before{content:"\\F142E"}.mdi-heart-plus-outline::before{content:"\\F1431"}.mdi-heart-pulse::before{content:"\\F05F6"}.mdi-heart-remove::before{content:"\\F1430"}.mdi-heart-remove-outline::before{content:"\\F1433"}.mdi-helicopter::before{content:"\\F0AC2"}.mdi-help::before{content:"\\F02D6"}.mdi-help-box::before{content:"\\F078B"}.mdi-help-circle::before{content:"\\F02D7"}.mdi-help-circle-outline::before{content:"\\F0625"}.mdi-help-network::before{content:"\\F06F5"}.mdi-help-network-outline::before{content:"\\F0C8A"}.mdi-help-rhombus::before{content:"\\F0BA5"}.mdi-help-rhombus-outline::before{content:"\\F0BA6"}.mdi-hexadecimal::before{content:"\\F12A7"}.mdi-hexagon::before{content:"\\F02D8"}.mdi-hexagon-multiple::before{content:"\\F06E1"}.mdi-hexagon-multiple-outline::before{content:"\\F10F2"}.mdi-hexagon-outline::before{content:"\\F02D9"}.mdi-hexagon-slice-1::before{content:"\\F0AC3"}.mdi-hexagon-slice-2::before{content:"\\F0AC4"}.mdi-hexagon-slice-3::before{content:"\\F0AC5"}.mdi-hexagon-slice-4::before{content:"\\F0AC6"}.mdi-hexagon-slice-5::before{content:"\\F0AC7"}.mdi-hexagon-slice-6::before{content:"\\F0AC8"}.mdi-hexagram::before{content:"\\F0AC9"}.mdi-hexagram-outline::before{content:"\\F0ACA"}.mdi-high-definition::before{content:"\\F07CF"}.mdi-high-definition-box::before{content:"\\F0878"}.mdi-highway::before{content:"\\F05F7"}.mdi-hiking::before{content:"\\F0D7F"}.mdi-hinduism::before{content:"\\F0973"}.mdi-history::before{content:"\\F02DA"}.mdi-hockey-puck::before{content:"\\F0879"}.mdi-hockey-sticks::before{content:"\\F087A"}.mdi-hololens::before{content:"\\F02DB"}.mdi-home::before{content:"\\F02DC"}.mdi-home-account::before{content:"\\F0826"}.mdi-home-alert::before{content:"\\F087B"}.mdi-home-analytics::before{content:"\\F0EBA"}.mdi-home-assistant::before{content:"\\F07D0"}.mdi-home-automation::before{content:"\\F07D1"}.mdi-home-circle::before{content:"\\F07D2"}.mdi-home-circle-outline::before{content:"\\F104D"}.mdi-home-city::before{content:"\\F0D15"}.mdi-home-city-outline::before{content:"\\F0D16"}.mdi-home-currency-usd::before{content:"\\F08AF"}.mdi-home-edit::before{content:"\\F1159"}.mdi-home-edit-outline::before{content:"\\F115A"}.mdi-home-export-outline::before{content:"\\F0F9B"}.mdi-home-flood::before{content:"\\F0EFA"}.mdi-home-floor-0::before{content:"\\F0DD2"}.mdi-home-floor-1::before{content:"\\F0D80"}.mdi-home-floor-2::before{content:"\\F0D81"}.mdi-home-floor-3::before{content:"\\F0D82"}.mdi-home-floor-a::before{content:"\\F0D83"}.mdi-home-floor-b::before{content:"\\F0D84"}.mdi-home-floor-g::before{content:"\\F0D85"}.mdi-home-floor-l::before{content:"\\F0D86"}.mdi-home-floor-negative-1::before{content:"\\F0DD3"}.mdi-home-group::before{content:"\\F0DD4"}.mdi-home-heart::before{content:"\\F0827"}.mdi-home-import-outline::before{content:"\\F0F9C"}.mdi-home-lightbulb::before{content:"\\F1251"}.mdi-home-lightbulb-outline::before{content:"\\F1252"}.mdi-home-lock::before{content:"\\F08EB"}.mdi-home-lock-open::before{content:"\\F08EC"}.mdi-home-map-marker::before{content:"\\F05F8"}.mdi-home-minus::before{content:"\\F0974"}.mdi-home-minus-outline::before{content:"\\F13D5"}.mdi-home-modern::before{content:"\\F02DD"}.mdi-home-outline::before{content:"\\F06A1"}.mdi-home-plus::before{content:"\\F0975"}.mdi-home-plus-outline::before{content:"\\F13D6"}.mdi-home-remove::before{content:"\\F1247"}.mdi-home-remove-outline::before{content:"\\F13D7"}.mdi-home-roof::before{content:"\\F112B"}.mdi-home-search::before{content:"\\F13B0"}.mdi-home-search-outline::before{content:"\\F13B1"}.mdi-home-thermometer::before{content:"\\F0F54"}.mdi-home-thermometer-outline::before{content:"\\F0F55"}.mdi-home-variant::before{content:"\\F02DE"}.mdi-home-variant-outline::before{content:"\\F0BA7"}.mdi-hook::before{content:"\\F06E2"}.mdi-hook-off::before{content:"\\F06E3"}.mdi-hops::before{content:"\\F02DF"}.mdi-horizontal-rotate-clockwise::before{content:"\\F10F3"}.mdi-horizontal-rotate-counterclockwise::before{content:"\\F10F4"}.mdi-horseshoe::before{content:"\\F0A58"}.mdi-hospital::before{content:"\\F0FF6"}.mdi-hospital-box::before{content:"\\F02E0"}.mdi-hospital-box-outline::before{content:"\\F0FF7"}.mdi-hospital-building::before{content:"\\F02E1"}.mdi-hospital-marker::before{content:"\\F02E2"}.mdi-hot-tub::before{content:"\\F0828"}.mdi-hours-24::before{content:"\\F1478"}.mdi-hubspot::before{content:"\\F0D17"}.mdi-hulu::before{content:"\\F0829"}.mdi-human::before{content:"\\F02E6"}.mdi-human-baby-changing-table::before{content:"\\F138B"}.mdi-human-child::before{content:"\\F02E7"}.mdi-human-female::before{content:"\\F0649"}.mdi-human-female-boy::before{content:"\\F0A59"}.mdi-human-female-female::before{content:"\\F0A5A"}.mdi-human-female-girl::before{content:"\\F0A5B"}.mdi-human-greeting::before{content:"\\F064A"}.mdi-human-handsdown::before{content:"\\F064B"}.mdi-human-handsup::before{content:"\\F064C"}.mdi-human-male::before{content:"\\F064D"}.mdi-human-male-boy::before{content:"\\F0A5C"}.mdi-human-male-child::before{content:"\\F138C"}.mdi-human-male-female::before{content:"\\F02E8"}.mdi-human-male-girl::before{content:"\\F0A5D"}.mdi-human-male-height::before{content:"\\F0EFB"}.mdi-human-male-height-variant::before{content:"\\F0EFC"}.mdi-human-male-male::before{content:"\\F0A5E"}.mdi-human-pregnant::before{content:"\\F05CF"}.mdi-human-wheelchair::before{content:"\\F138D"}.mdi-humble-bundle::before{content:"\\F0744"}.mdi-hvac::before{content:"\\F1352"}.mdi-hydraulic-oil-level::before{content:"\\F1324"}.mdi-hydraulic-oil-temperature::before{content:"\\F1325"}.mdi-hydro-power::before{content:"\\F12E5"}.mdi-ice-cream::before{content:"\\F082A"}.mdi-ice-cream-off::before{content:"\\F0E52"}.mdi-ice-pop::before{content:"\\F0EFD"}.mdi-id-card::before{content:"\\F0FC0"}.mdi-identifier::before{content:"\\F0EFE"}.mdi-ideogram-cjk::before{content:"\\F1331"}.mdi-ideogram-cjk-variant::before{content:"\\F1332"}.mdi-iframe::before{content:"\\F0C8B"}.mdi-iframe-array::before{content:"\\F10F5"}.mdi-iframe-array-outline::before{content:"\\F10F6"}.mdi-iframe-braces::before{content:"\\F10F7"}.mdi-iframe-braces-outline::before{content:"\\F10F8"}.mdi-iframe-outline::before{content:"\\F0C8C"}.mdi-iframe-parentheses::before{content:"\\F10F9"}.mdi-iframe-parentheses-outline::before{content:"\\F10FA"}.mdi-iframe-variable::before{content:"\\F10FB"}.mdi-iframe-variable-outline::before{content:"\\F10FC"}.mdi-image::before{content:"\\F02E9"}.mdi-image-album::before{content:"\\F02EA"}.mdi-image-area::before{content:"\\F02EB"}.mdi-image-area-close::before{content:"\\F02EC"}.mdi-image-auto-adjust::before{content:"\\F0FC1"}.mdi-image-broken::before{content:"\\F02ED"}.mdi-image-broken-variant::before{content:"\\F02EE"}.mdi-image-edit::before{content:"\\F11E3"}.mdi-image-edit-outline::before{content:"\\F11E4"}.mdi-image-filter-black-white::before{content:"\\F02F0"}.mdi-image-filter-center-focus::before{content:"\\F02F1"}.mdi-image-filter-center-focus-strong::before{content:"\\F0EFF"}.mdi-image-filter-center-focus-strong-outline::before{content:"\\F0F00"}.mdi-image-filter-center-focus-weak::before{content:"\\F02F2"}.mdi-image-filter-drama::before{content:"\\F02F3"}.mdi-image-filter-frames::before{content:"\\F02F4"}.mdi-image-filter-hdr::before{content:"\\F02F5"}.mdi-image-filter-none::before{content:"\\F02F6"}.mdi-image-filter-tilt-shift::before{content:"\\F02F7"}.mdi-image-filter-vintage::before{content:"\\F02F8"}.mdi-image-frame::before{content:"\\F0E49"}.mdi-image-minus::before{content:"\\F1419"}.mdi-image-move::before{content:"\\F09F8"}.mdi-image-multiple::before{content:"\\F02F9"}.mdi-image-multiple-outline::before{content:"\\F02EF"}.mdi-image-off::before{content:"\\F082B"}.mdi-image-off-outline::before{content:"\\F11D1"}.mdi-image-outline::before{content:"\\F0976"}.mdi-image-plus::before{content:"\\F087C"}.mdi-image-remove::before{content:"\\F1418"}.mdi-image-search::before{content:"\\F0977"}.mdi-image-search-outline::before{content:"\\F0978"}.mdi-image-size-select-actual::before{content:"\\F0C8D"}.mdi-image-size-select-large::before{content:"\\F0C8E"}.mdi-image-size-select-small::before{content:"\\F0C8F"}.mdi-import::before{content:"\\F02FA"}.mdi-inbox::before{content:"\\F0687"}.mdi-inbox-arrow-down::before{content:"\\F02FB"}.mdi-inbox-arrow-down-outline::before{content:"\\F1270"}.mdi-inbox-arrow-up::before{content:"\\F03D1"}.mdi-inbox-arrow-up-outline::before{content:"\\F1271"}.mdi-inbox-full::before{content:"\\F1272"}.mdi-inbox-full-outline::before{content:"\\F1273"}.mdi-inbox-multiple::before{content:"\\F08B0"}.mdi-inbox-multiple-outline::before{content:"\\F0BA8"}.mdi-inbox-outline::before{content:"\\F1274"}.mdi-incognito::before{content:"\\F05F9"}.mdi-incognito-circle::before{content:"\\F1421"}.mdi-incognito-circle-off::before{content:"\\F1422"}.mdi-incognito-off::before{content:"\\F0075"}.mdi-infinity::before{content:"\\F06E4"}.mdi-information::before{content:"\\F02FC"}.mdi-information-outline::before{content:"\\F02FD"}.mdi-information-variant::before{content:"\\F064E"}.mdi-instagram::before{content:"\\F02FE"}.mdi-instrument-triangle::before{content:"\\F104E"}.mdi-invert-colors::before{content:"\\F0301"}.mdi-invert-colors-off::before{content:"\\F0E4A"}.mdi-iobroker::before{content:"\\F12E8"}.mdi-ip::before{content:"\\F0A5F"}.mdi-ip-network::before{content:"\\F0A60"}.mdi-ip-network-outline::before{content:"\\F0C90"}.mdi-ipod::before{content:"\\F0C91"}.mdi-islam::before{content:"\\F0979"}.mdi-island::before{content:"\\F104F"}.mdi-iv-bag::before{content:"\\F10B9"}.mdi-jabber::before{content:"\\F0DD5"}.mdi-jeepney::before{content:"\\F0302"}.mdi-jellyfish::before{content:"\\F0F01"}.mdi-jellyfish-outline::before{content:"\\F0F02"}.mdi-jira::before{content:"\\F0303"}.mdi-jquery::before{content:"\\F087D"}.mdi-jsfiddle::before{content:"\\F0304"}.mdi-judaism::before{content:"\\F097A"}.mdi-jump-rope::before{content:"\\F12FF"}.mdi-kabaddi::before{content:"\\F0D87"}.mdi-karate::before{content:"\\F082C"}.mdi-keg::before{content:"\\F0305"}.mdi-kettle::before{content:"\\F05FA"}.mdi-kettle-alert::before{content:"\\F1317"}.mdi-kettle-alert-outline::before{content:"\\F1318"}.mdi-kettle-off::before{content:"\\F131B"}.mdi-kettle-off-outline::before{content:"\\F131C"}.mdi-kettle-outline::before{content:"\\F0F56"}.mdi-kettle-steam::before{content:"\\F1319"}.mdi-kettle-steam-outline::before{content:"\\F131A"}.mdi-kettlebell::before{content:"\\F1300"}.mdi-key::before{content:"\\F0306"}.mdi-key-arrow-right::before{content:"\\F1312"}.mdi-key-change::before{content:"\\F0307"}.mdi-key-link::before{content:"\\F119F"}.mdi-key-minus::before{content:"\\F0308"}.mdi-key-outline::before{content:"\\F0DD6"}.mdi-key-plus::before{content:"\\F0309"}.mdi-key-remove::before{content:"\\F030A"}.mdi-key-star::before{content:"\\F119E"}.mdi-key-variant::before{content:"\\F030B"}.mdi-key-wireless::before{content:"\\F0FC2"}.mdi-keyboard::before{content:"\\F030C"}.mdi-keyboard-backspace::before{content:"\\F030D"}.mdi-keyboard-caps::before{content:"\\F030E"}.mdi-keyboard-close::before{content:"\\F030F"}.mdi-keyboard-esc::before{content:"\\F12B7"}.mdi-keyboard-f1::before{content:"\\F12AB"}.mdi-keyboard-f10::before{content:"\\F12B4"}.mdi-keyboard-f11::before{content:"\\F12B5"}.mdi-keyboard-f12::before{content:"\\F12B6"}.mdi-keyboard-f2::before{content:"\\F12AC"}.mdi-keyboard-f3::before{content:"\\F12AD"}.mdi-keyboard-f4::before{content:"\\F12AE"}.mdi-keyboard-f5::before{content:"\\F12AF"}.mdi-keyboard-f6::before{content:"\\F12B0"}.mdi-keyboard-f7::before{content:"\\F12B1"}.mdi-keyboard-f8::before{content:"\\F12B2"}.mdi-keyboard-f9::before{content:"\\F12B3"}.mdi-keyboard-off::before{content:"\\F0310"}.mdi-keyboard-off-outline::before{content:"\\F0E4B"}.mdi-keyboard-outline::before{content:"\\F097B"}.mdi-keyboard-return::before{content:"\\F0311"}.mdi-keyboard-settings::before{content:"\\F09F9"}.mdi-keyboard-settings-outline::before{content:"\\F09FA"}.mdi-keyboard-space::before{content:"\\F1050"}.mdi-keyboard-tab::before{content:"\\F0312"}.mdi-keyboard-variant::before{content:"\\F0313"}.mdi-khanda::before{content:"\\F10FD"}.mdi-kickstarter::before{content:"\\F0745"}.mdi-klingon::before{content:"\\F135B"}.mdi-knife::before{content:"\\F09FB"}.mdi-knife-military::before{content:"\\F09FC"}.mdi-kodi::before{content:"\\F0314"}.mdi-kubernetes::before{content:"\\F10FE"}.mdi-label::before{content:"\\F0315"}.mdi-label-multiple::before{content:"\\F1375"}.mdi-label-multiple-outline::before{content:"\\F1376"}.mdi-label-off::before{content:"\\F0ACB"}.mdi-label-off-outline::before{content:"\\F0ACC"}.mdi-label-outline::before{content:"\\F0316"}.mdi-label-percent::before{content:"\\F12EA"}.mdi-label-percent-outline::before{content:"\\F12EB"}.mdi-label-variant::before{content:"\\F0ACD"}.mdi-label-variant-outline::before{content:"\\F0ACE"}.mdi-ladybug::before{content:"\\F082D"}.mdi-lambda::before{content:"\\F0627"}.mdi-lamp::before{content:"\\F06B5"}.mdi-lan::before{content:"\\F0317"}.mdi-lan-check::before{content:"\\F12AA"}.mdi-lan-connect::before{content:"\\F0318"}.mdi-lan-disconnect::before{content:"\\F0319"}.mdi-lan-pending::before{content:"\\F031A"}.mdi-language-c::before{content:"\\F0671"}.mdi-language-cpp::before{content:"\\F0672"}.mdi-language-csharp::before{content:"\\F031B"}.mdi-language-css3::before{content:"\\F031C"}.mdi-language-fortran::before{content:"\\F121A"}.mdi-language-go::before{content:"\\F07D3"}.mdi-language-haskell::before{content:"\\F0C92"}.mdi-language-html5::before{content:"\\F031D"}.mdi-language-java::before{content:"\\F0B37"}.mdi-language-javascript::before{content:"\\F031E"}.mdi-language-kotlin::before{content:"\\F1219"}.mdi-language-lua::before{content:"\\F08B1"}.mdi-language-markdown::before{content:"\\F0354"}.mdi-language-markdown-outline::before{content:"\\F0F5B"}.mdi-language-php::before{content:"\\F031F"}.mdi-language-python::before{content:"\\F0320"}.mdi-language-r::before{content:"\\F07D4"}.mdi-language-ruby::before{content:"\\F0D2D"}.mdi-language-ruby-on-rails::before{content:"\\F0ACF"}.mdi-language-swift::before{content:"\\F06E5"}.mdi-language-typescript::before{content:"\\F06E6"}.mdi-language-xaml::before{content:"\\F0673"}.mdi-laptop::before{content:"\\F0322"}.mdi-laptop-chromebook::before{content:"\\F0323"}.mdi-laptop-mac::before{content:"\\F0324"}.mdi-laptop-off::before{content:"\\F06E7"}.mdi-laptop-windows::before{content:"\\F0325"}.mdi-laravel::before{content:"\\F0AD0"}.mdi-laser-pointer::before{content:"\\F1484"}.mdi-lasso::before{content:"\\F0F03"}.mdi-lastpass::before{content:"\\F0446"}.mdi-latitude::before{content:"\\F0F57"}.mdi-launch::before{content:"\\F0327"}.mdi-lava-lamp::before{content:"\\F07D5"}.mdi-layers::before{content:"\\F0328"}.mdi-layers-minus::before{content:"\\F0E4C"}.mdi-layers-off::before{content:"\\F0329"}.mdi-layers-off-outline::before{content:"\\F09FD"}.mdi-layers-outline::before{content:"\\F09FE"}.mdi-layers-plus::before{content:"\\F0E4D"}.mdi-layers-remove::before{content:"\\F0E4E"}.mdi-layers-search::before{content:"\\F1206"}.mdi-layers-search-outline::before{content:"\\F1207"}.mdi-layers-triple::before{content:"\\F0F58"}.mdi-layers-triple-outline::before{content:"\\F0F59"}.mdi-lead-pencil::before{content:"\\F064F"}.mdi-leaf::before{content:"\\F032A"}.mdi-leaf-maple::before{content:"\\F0C93"}.mdi-leaf-maple-off::before{content:"\\F12DA"}.mdi-leaf-off::before{content:"\\F12D9"}.mdi-leak::before{content:"\\F0DD7"}.mdi-leak-off::before{content:"\\F0DD8"}.mdi-led-off::before{content:"\\F032B"}.mdi-led-on::before{content:"\\F032C"}.mdi-led-outline::before{content:"\\F032D"}.mdi-led-strip::before{content:"\\F07D6"}.mdi-led-strip-variant::before{content:"\\F1051"}.mdi-led-variant-off::before{content:"\\F032E"}.mdi-led-variant-on::before{content:"\\F032F"}.mdi-led-variant-outline::before{content:"\\F0330"}.mdi-leek::before{content:"\\F117D"}.mdi-less-than::before{content:"\\F097C"}.mdi-less-than-or-equal::before{content:"\\F097D"}.mdi-library::before{content:"\\F0331"}.mdi-library-shelves::before{content:"\\F0BA9"}.mdi-license::before{content:"\\F0FC3"}.mdi-lifebuoy::before{content:"\\F087E"}.mdi-light-switch::before{content:"\\F097E"}.mdi-lightbulb::before{content:"\\F0335"}.mdi-lightbulb-cfl::before{content:"\\F1208"}.mdi-lightbulb-cfl-off::before{content:"\\F1209"}.mdi-lightbulb-cfl-spiral::before{content:"\\F1275"}.mdi-lightbulb-cfl-spiral-off::before{content:"\\F12C3"}.mdi-lightbulb-group::before{content:"\\F1253"}.mdi-lightbulb-group-off::before{content:"\\F12CD"}.mdi-lightbulb-group-off-outline::before{content:"\\F12CE"}.mdi-lightbulb-group-outline::before{content:"\\F1254"}.mdi-lightbulb-multiple::before{content:"\\F1255"}.mdi-lightbulb-multiple-off::before{content:"\\F12CF"}.mdi-lightbulb-multiple-off-outline::before{content:"\\F12D0"}.mdi-lightbulb-multiple-outline::before{content:"\\F1256"}.mdi-lightbulb-off::before{content:"\\F0E4F"}.mdi-lightbulb-off-outline::before{content:"\\F0E50"}.mdi-lightbulb-on::before{content:"\\F06E8"}.mdi-lightbulb-on-outline::before{content:"\\F06E9"}.mdi-lightbulb-outline::before{content:"\\F0336"}.mdi-lighthouse::before{content:"\\F09FF"}.mdi-lighthouse-on::before{content:"\\F0A00"}.mdi-lightning-bolt::before{content:"\\F140B"}.mdi-lightning-bolt-outline::before{content:"\\F140C"}.mdi-lingerie::before{content:"\\F1476"}.mdi-link::before{content:"\\F0337"}.mdi-link-box::before{content:"\\F0D1A"}.mdi-link-box-outline::before{content:"\\F0D1B"}.mdi-link-box-variant::before{content:"\\F0D1C"}.mdi-link-box-variant-outline::before{content:"\\F0D1D"}.mdi-link-lock::before{content:"\\F10BA"}.mdi-link-off::before{content:"\\F0338"}.mdi-link-plus::before{content:"\\F0C94"}.mdi-link-variant::before{content:"\\F0339"}.mdi-link-variant-minus::before{content:"\\F10FF"}.mdi-link-variant-off::before{content:"\\F033A"}.mdi-link-variant-plus::before{content:"\\F1100"}.mdi-link-variant-remove::before{content:"\\F1101"}.mdi-linkedin::before{content:"\\F033B"}.mdi-linux::before{content:"\\F033D"}.mdi-linux-mint::before{content:"\\F08ED"}.mdi-lipstick::before{content:"\\F13B5"}.mdi-litecoin::before{content:"\\F0A61"}.mdi-loading::before{content:"\\F0772"}.mdi-location-enter::before{content:"\\F0FC4"}.mdi-location-exit::before{content:"\\F0FC5"}.mdi-lock::before{content:"\\F033E"}.mdi-lock-alert::before{content:"\\F08EE"}.mdi-lock-check::before{content:"\\F139A"}.mdi-lock-clock::before{content:"\\F097F"}.mdi-lock-open::before{content:"\\F033F"}.mdi-lock-open-alert::before{content:"\\F139B"}.mdi-lock-open-check::before{content:"\\F139C"}.mdi-lock-open-outline::before{content:"\\F0340"}.mdi-lock-open-variant::before{content:"\\F0FC6"}.mdi-lock-open-variant-outline::before{content:"\\F0FC7"}.mdi-lock-outline::before{content:"\\F0341"}.mdi-lock-pattern::before{content:"\\F06EA"}.mdi-lock-plus::before{content:"\\F05FB"}.mdi-lock-question::before{content:"\\F08EF"}.mdi-lock-reset::before{content:"\\F0773"}.mdi-lock-smart::before{content:"\\F08B2"}.mdi-locker::before{content:"\\F07D7"}.mdi-locker-multiple::before{content:"\\F07D8"}.mdi-login::before{content:"\\F0342"}.mdi-login-variant::before{content:"\\F05FC"}.mdi-logout::before{content:"\\F0343"}.mdi-logout-variant::before{content:"\\F05FD"}.mdi-longitude::before{content:"\\F0F5A"}.mdi-looks::before{content:"\\F0344"}.mdi-loupe::before{content:"\\F0345"}.mdi-lumx::before{content:"\\F0346"}.mdi-lungs::before{content:"\\F1084"}.mdi-magnet::before{content:"\\F0347"}.mdi-magnet-on::before{content:"\\F0348"}.mdi-magnify::before{content:"\\F0349"}.mdi-magnify-close::before{content:"\\F0980"}.mdi-magnify-minus::before{content:"\\F034A"}.mdi-magnify-minus-cursor::before{content:"\\F0A62"}.mdi-magnify-minus-outline::before{content:"\\F06EC"}.mdi-magnify-plus::before{content:"\\F034B"}.mdi-magnify-plus-cursor::before{content:"\\F0A63"}.mdi-magnify-plus-outline::before{content:"\\F06ED"}.mdi-magnify-remove-cursor::before{content:"\\F120C"}.mdi-magnify-remove-outline::before{content:"\\F120D"}.mdi-magnify-scan::before{content:"\\F1276"}.mdi-mail::before{content:"\\F0EBB"}.mdi-mailbox::before{content:"\\F06EE"}.mdi-mailbox-open::before{content:"\\F0D88"}.mdi-mailbox-open-outline::before{content:"\\F0D89"}.mdi-mailbox-open-up::before{content:"\\F0D8A"}.mdi-mailbox-open-up-outline::before{content:"\\F0D8B"}.mdi-mailbox-outline::before{content:"\\F0D8C"}.mdi-mailbox-up::before{content:"\\F0D8D"}.mdi-mailbox-up-outline::before{content:"\\F0D8E"}.mdi-map::before{content:"\\F034D"}.mdi-map-check::before{content:"\\F0EBC"}.mdi-map-check-outline::before{content:"\\F0EBD"}.mdi-map-clock::before{content:"\\F0D1E"}.mdi-map-clock-outline::before{content:"\\F0D1F"}.mdi-map-legend::before{content:"\\F0A01"}.mdi-map-marker::before{content:"\\F034E"}.mdi-map-marker-alert::before{content:"\\F0F05"}.mdi-map-marker-alert-outline::before{content:"\\F0F06"}.mdi-map-marker-check::before{content:"\\F0C95"}.mdi-map-marker-check-outline::before{content:"\\F12FB"}.mdi-map-marker-circle::before{content:"\\F034F"}.mdi-map-marker-distance::before{content:"\\F08F0"}.mdi-map-marker-down::before{content:"\\F1102"}.mdi-map-marker-left::before{content:"\\F12DB"}.mdi-map-marker-left-outline::before{content:"\\F12DD"}.mdi-map-marker-minus::before{content:"\\F0650"}.mdi-map-marker-minus-outline::before{content:"\\F12F9"}.mdi-map-marker-multiple::before{content:"\\F0350"}.mdi-map-marker-multiple-outline::before{content:"\\F1277"}.mdi-map-marker-off::before{content:"\\F0351"}.mdi-map-marker-off-outline::before{content:"\\F12FD"}.mdi-map-marker-outline::before{content:"\\F07D9"}.mdi-map-marker-path::before{content:"\\F0D20"}.mdi-map-marker-plus::before{content:"\\F0651"}.mdi-map-marker-plus-outline::before{content:"\\F12F8"}.mdi-map-marker-question::before{content:"\\F0F07"}.mdi-map-marker-question-outline::before{content:"\\F0F08"}.mdi-map-marker-radius::before{content:"\\F0352"}.mdi-map-marker-radius-outline::before{content:"\\F12FC"}.mdi-map-marker-remove::before{content:"\\F0F09"}.mdi-map-marker-remove-outline::before{content:"\\F12FA"}.mdi-map-marker-remove-variant::before{content:"\\F0F0A"}.mdi-map-marker-right::before{content:"\\F12DC"}.mdi-map-marker-right-outline::before{content:"\\F12DE"}.mdi-map-marker-up::before{content:"\\F1103"}.mdi-map-minus::before{content:"\\F0981"}.mdi-map-outline::before{content:"\\F0982"}.mdi-map-plus::before{content:"\\F0983"}.mdi-map-search::before{content:"\\F0984"}.mdi-map-search-outline::before{content:"\\F0985"}.mdi-mapbox::before{content:"\\F0BAA"}.mdi-margin::before{content:"\\F0353"}.mdi-marker::before{content:"\\F0652"}.mdi-marker-cancel::before{content:"\\F0DD9"}.mdi-marker-check::before{content:"\\F0355"}.mdi-mastodon::before{content:"\\F0AD1"}.mdi-material-design::before{content:"\\F0986"}.mdi-material-ui::before{content:"\\F0357"}.mdi-math-compass::before{content:"\\F0358"}.mdi-math-cos::before{content:"\\F0C96"}.mdi-math-integral::before{content:"\\F0FC8"}.mdi-math-integral-box::before{content:"\\F0FC9"}.mdi-math-log::before{content:"\\F1085"}.mdi-math-norm::before{content:"\\F0FCA"}.mdi-math-norm-box::before{content:"\\F0FCB"}.mdi-math-sin::before{content:"\\F0C97"}.mdi-math-tan::before{content:"\\F0C98"}.mdi-matrix::before{content:"\\F0628"}.mdi-medal::before{content:"\\F0987"}.mdi-medal-outline::before{content:"\\F1326"}.mdi-medical-bag::before{content:"\\F06EF"}.mdi-meditation::before{content:"\\F117B"}.mdi-memory::before{content:"\\F035B"}.mdi-menu::before{content:"\\F035C"}.mdi-menu-down::before{content:"\\F035D"}.mdi-menu-down-outline::before{content:"\\F06B6"}.mdi-menu-left::before{content:"\\F035E"}.mdi-menu-left-outline::before{content:"\\F0A02"}.mdi-menu-open::before{content:"\\F0BAB"}.mdi-menu-right::before{content:"\\F035F"}.mdi-menu-right-outline::before{content:"\\F0A03"}.mdi-menu-swap::before{content:"\\F0A64"}.mdi-menu-swap-outline::before{content:"\\F0A65"}.mdi-menu-up::before{content:"\\F0360"}.mdi-menu-up-outline::before{content:"\\F06B7"}.mdi-merge::before{content:"\\F0F5C"}.mdi-message::before{content:"\\F0361"}.mdi-message-alert::before{content:"\\F0362"}.mdi-message-alert-outline::before{content:"\\F0A04"}.mdi-message-arrow-left::before{content:"\\F12F2"}.mdi-message-arrow-left-outline::before{content:"\\F12F3"}.mdi-message-arrow-right::before{content:"\\F12F4"}.mdi-message-arrow-right-outline::before{content:"\\F12F5"}.mdi-message-bulleted::before{content:"\\F06A2"}.mdi-message-bulleted-off::before{content:"\\F06A3"}.mdi-message-cog::before{content:"\\F06F1"}.mdi-message-cog-outline::before{content:"\\F1172"}.mdi-message-draw::before{content:"\\F0363"}.mdi-message-image::before{content:"\\F0364"}.mdi-message-image-outline::before{content:"\\F116C"}.mdi-message-lock::before{content:"\\F0FCC"}.mdi-message-lock-outline::before{content:"\\F116D"}.mdi-message-minus::before{content:"\\F116E"}.mdi-message-minus-outline::before{content:"\\F116F"}.mdi-message-outline::before{content:"\\F0365"}.mdi-message-plus::before{content:"\\F0653"}.mdi-message-plus-outline::before{content:"\\F10BB"}.mdi-message-processing::before{content:"\\F0366"}.mdi-message-processing-outline::before{content:"\\F1170"}.mdi-message-reply::before{content:"\\F0367"}.mdi-message-reply-text::before{content:"\\F0368"}.mdi-message-settings::before{content:"\\F06F0"}.mdi-message-settings-outline::before{content:"\\F1171"}.mdi-message-text::before{content:"\\F0369"}.mdi-message-text-clock::before{content:"\\F1173"}.mdi-message-text-clock-outline::before{content:"\\F1174"}.mdi-message-text-lock::before{content:"\\F0FCD"}.mdi-message-text-lock-outline::before{content:"\\F1175"}.mdi-message-text-outline::before{content:"\\F036A"}.mdi-message-video::before{content:"\\F036B"}.mdi-meteor::before{content:"\\F0629"}.mdi-metronome::before{content:"\\F07DA"}.mdi-metronome-tick::before{content:"\\F07DB"}.mdi-micro-sd::before{content:"\\F07DC"}.mdi-microphone::before{content:"\\F036C"}.mdi-microphone-minus::before{content:"\\F08B3"}.mdi-microphone-off::before{content:"\\F036D"}.mdi-microphone-outline::before{content:"\\F036E"}.mdi-microphone-plus::before{content:"\\F08B4"}.mdi-microphone-settings::before{content:"\\F036F"}.mdi-microphone-variant::before{content:"\\F0370"}.mdi-microphone-variant-off::before{content:"\\F0371"}.mdi-microscope::before{content:"\\F0654"}.mdi-microsoft::before{content:"\\F0372"}.mdi-microsoft-access::before{content:"\\F138E"}.mdi-microsoft-azure::before{content:"\\F0805"}.mdi-microsoft-azure-devops::before{content:"\\F0FD5"}.mdi-microsoft-bing::before{content:"\\F00A4"}.mdi-microsoft-dynamics-365::before{content:"\\F0988"}.mdi-microsoft-edge::before{content:"\\F01E9"}.mdi-microsoft-edge-legacy::before{content:"\\F1250"}.mdi-microsoft-excel::before{content:"\\F138F"}.mdi-microsoft-internet-explorer::before{content:"\\F0300"}.mdi-microsoft-office::before{content:"\\F03C6"}.mdi-microsoft-onedrive::before{content:"\\F03CA"}.mdi-microsoft-onenote::before{content:"\\F0747"}.mdi-microsoft-outlook::before{content:"\\F0D22"}.mdi-microsoft-powerpoint::before{content:"\\F1390"}.mdi-microsoft-sharepoint::before{content:"\\F1391"}.mdi-microsoft-teams::before{content:"\\F02BB"}.mdi-microsoft-visual-studio::before{content:"\\F0610"}.mdi-microsoft-visual-studio-code::before{content:"\\F0A1E"}.mdi-microsoft-windows::before{content:"\\F05B3"}.mdi-microsoft-windows-classic::before{content:"\\F0A21"}.mdi-microsoft-word::before{content:"\\F1392"}.mdi-microsoft-xbox::before{content:"\\F05B9"}.mdi-microsoft-xbox-controller::before{content:"\\F05BA"}.mdi-microsoft-xbox-controller-battery-alert::before{content:"\\F074B"}.mdi-microsoft-xbox-controller-battery-charging::before{content:"\\F0A22"}.mdi-microsoft-xbox-controller-battery-empty::before{content:"\\F074C"}.mdi-microsoft-xbox-controller-battery-full::before{content:"\\F074D"}.mdi-microsoft-xbox-controller-battery-low::before{content:"\\F074E"}.mdi-microsoft-xbox-controller-battery-medium::before{content:"\\F074F"}.mdi-microsoft-xbox-controller-battery-unknown::before{content:"\\F0750"}.mdi-microsoft-xbox-controller-menu::before{content:"\\F0E6F"}.mdi-microsoft-xbox-controller-off::before{content:"\\F05BB"}.mdi-microsoft-xbox-controller-view::before{content:"\\F0E70"}.mdi-microsoft-yammer::before{content:"\\F0789"}.mdi-microwave::before{content:"\\F0C99"}.mdi-microwave-off::before{content:"\\F1423"}.mdi-middleware::before{content:"\\F0F5D"}.mdi-middleware-outline::before{content:"\\F0F5E"}.mdi-midi::before{content:"\\F08F1"}.mdi-midi-port::before{content:"\\F08F2"}.mdi-mine::before{content:"\\F0DDA"}.mdi-minecraft::before{content:"\\F0373"}.mdi-mini-sd::before{content:"\\F0A05"}.mdi-minidisc::before{content:"\\F0A06"}.mdi-minus::before{content:"\\F0374"}.mdi-minus-box::before{content:"\\F0375"}.mdi-minus-box-multiple::before{content:"\\F1141"}.mdi-minus-box-multiple-outline::before{content:"\\F1142"}.mdi-minus-box-outline::before{content:"\\F06F2"}.mdi-minus-circle::before{content:"\\F0376"}.mdi-minus-circle-multiple::before{content:"\\F035A"}.mdi-minus-circle-multiple-outline::before{content:"\\F0AD3"}.mdi-minus-circle-off::before{content:"\\F1459"}.mdi-minus-circle-off-outline::before{content:"\\F145A"}.mdi-minus-circle-outline::before{content:"\\F0377"}.mdi-minus-network::before{content:"\\F0378"}.mdi-minus-network-outline::before{content:"\\F0C9A"}.mdi-mirror::before{content:"\\F11FD"}.mdi-mixed-martial-arts::before{content:"\\F0D8F"}.mdi-mixed-reality::before{content:"\\F087F"}.mdi-mixer::before{content:"\\F07DD"}.mdi-molecule::before{content:"\\F0BAC"}.mdi-molecule-co::before{content:"\\F12FE"}.mdi-molecule-co2::before{content:"\\F07E4"}.mdi-monitor::before{content:"\\F0379"}.mdi-monitor-cellphone::before{content:"\\F0989"}.mdi-monitor-cellphone-star::before{content:"\\F098A"}.mdi-monitor-clean::before{content:"\\F1104"}.mdi-monitor-dashboard::before{content:"\\F0A07"}.mdi-monitor-edit::before{content:"\\F12C6"}.mdi-monitor-eye::before{content:"\\F13B4"}.mdi-monitor-lock::before{content:"\\F0DDB"}.mdi-monitor-multiple::before{content:"\\F037A"}.mdi-monitor-off::before{content:"\\F0D90"}.mdi-monitor-screenshot::before{content:"\\F0E51"}.mdi-monitor-share::before{content:"\\F1483"}.mdi-monitor-speaker::before{content:"\\F0F5F"}.mdi-monitor-speaker-off::before{content:"\\F0F60"}.mdi-monitor-star::before{content:"\\F0DDC"}.mdi-moon-first-quarter::before{content:"\\F0F61"}.mdi-moon-full::before{content:"\\F0F62"}.mdi-moon-last-quarter::before{content:"\\F0F63"}.mdi-moon-new::before{content:"\\F0F64"}.mdi-moon-waning-crescent::before{content:"\\F0F65"}.mdi-moon-waning-gibbous::before{content:"\\F0F66"}.mdi-moon-waxing-crescent::before{content:"\\F0F67"}.mdi-moon-waxing-gibbous::before{content:"\\F0F68"}.mdi-moped::before{content:"\\F1086"}.mdi-more::before{content:"\\F037B"}.mdi-mother-heart::before{content:"\\F1314"}.mdi-mother-nurse::before{content:"\\F0D21"}.mdi-motion-sensor::before{content:"\\F0D91"}.mdi-motion-sensor-off::before{content:"\\F1435"}.mdi-motorbike::before{content:"\\F037C"}.mdi-mouse::before{content:"\\F037D"}.mdi-mouse-bluetooth::before{content:"\\F098B"}.mdi-mouse-off::before{content:"\\F037E"}.mdi-mouse-variant::before{content:"\\F037F"}.mdi-mouse-variant-off::before{content:"\\F0380"}.mdi-move-resize::before{content:"\\F0655"}.mdi-move-resize-variant::before{content:"\\F0656"}.mdi-movie::before{content:"\\F0381"}.mdi-movie-edit::before{content:"\\F1122"}.mdi-movie-edit-outline::before{content:"\\F1123"}.mdi-movie-filter::before{content:"\\F1124"}.mdi-movie-filter-outline::before{content:"\\F1125"}.mdi-movie-open::before{content:"\\F0FCE"}.mdi-movie-open-outline::before{content:"\\F0FCF"}.mdi-movie-outline::before{content:"\\F0DDD"}.mdi-movie-roll::before{content:"\\F07DE"}.mdi-movie-search::before{content:"\\F11D2"}.mdi-movie-search-outline::before{content:"\\F11D3"}.mdi-muffin::before{content:"\\F098C"}.mdi-multiplication::before{content:"\\F0382"}.mdi-multiplication-box::before{content:"\\F0383"}.mdi-mushroom::before{content:"\\F07DF"}.mdi-mushroom-off::before{content:"\\F13FA"}.mdi-mushroom-off-outline::before{content:"\\F13FB"}.mdi-mushroom-outline::before{content:"\\F07E0"}.mdi-music::before{content:"\\F075A"}.mdi-music-accidental-double-flat::before{content:"\\F0F69"}.mdi-music-accidental-double-sharp::before{content:"\\F0F6A"}.mdi-music-accidental-flat::before{content:"\\F0F6B"}.mdi-music-accidental-natural::before{content:"\\F0F6C"}.mdi-music-accidental-sharp::before{content:"\\F0F6D"}.mdi-music-box::before{content:"\\F0384"}.mdi-music-box-multiple::before{content:"\\F0333"}.mdi-music-box-multiple-outline::before{content:"\\F0F04"}.mdi-music-box-outline::before{content:"\\F0385"}.mdi-music-circle::before{content:"\\F0386"}.mdi-music-circle-outline::before{content:"\\F0AD4"}.mdi-music-clef-alto::before{content:"\\F0F6E"}.mdi-music-clef-bass::before{content:"\\F0F6F"}.mdi-music-clef-treble::before{content:"\\F0F70"}.mdi-music-note::before{content:"\\F0387"}.mdi-music-note-bluetooth::before{content:"\\F05FE"}.mdi-music-note-bluetooth-off::before{content:"\\F05FF"}.mdi-music-note-eighth::before{content:"\\F0388"}.mdi-music-note-eighth-dotted::before{content:"\\F0F71"}.mdi-music-note-half::before{content:"\\F0389"}.mdi-music-note-half-dotted::before{content:"\\F0F72"}.mdi-music-note-off::before{content:"\\F038A"}.mdi-music-note-off-outline::before{content:"\\F0F73"}.mdi-music-note-outline::before{content:"\\F0F74"}.mdi-music-note-plus::before{content:"\\F0DDE"}.mdi-music-note-quarter::before{content:"\\F038B"}.mdi-music-note-quarter-dotted::before{content:"\\F0F75"}.mdi-music-note-sixteenth::before{content:"\\F038C"}.mdi-music-note-sixteenth-dotted::before{content:"\\F0F76"}.mdi-music-note-whole::before{content:"\\F038D"}.mdi-music-note-whole-dotted::before{content:"\\F0F77"}.mdi-music-off::before{content:"\\F075B"}.mdi-music-rest-eighth::before{content:"\\F0F78"}.mdi-music-rest-half::before{content:"\\F0F79"}.mdi-music-rest-quarter::before{content:"\\F0F7A"}.mdi-music-rest-sixteenth::before{content:"\\F0F7B"}.mdi-music-rest-whole::before{content:"\\F0F7C"}.mdi-nail::before{content:"\\F0DDF"}.mdi-nas::before{content:"\\F08F3"}.mdi-nativescript::before{content:"\\F0880"}.mdi-nature::before{content:"\\F038E"}.mdi-nature-people::before{content:"\\F038F"}.mdi-navigation::before{content:"\\F0390"}.mdi-near-me::before{content:"\\F05CD"}.mdi-necklace::before{content:"\\F0F0B"}.mdi-needle::before{content:"\\F0391"}.mdi-netflix::before{content:"\\F0746"}.mdi-network::before{content:"\\F06F3"}.mdi-network-off::before{content:"\\F0C9B"}.mdi-network-off-outline::before{content:"\\F0C9C"}.mdi-network-outline::before{content:"\\F0C9D"}.mdi-network-strength-1::before{content:"\\F08F4"}.mdi-network-strength-1-alert::before{content:"\\F08F5"}.mdi-network-strength-2::before{content:"\\F08F6"}.mdi-network-strength-2-alert::before{content:"\\F08F7"}.mdi-network-strength-3::before{content:"\\F08F8"}.mdi-network-strength-3-alert::before{content:"\\F08F9"}.mdi-network-strength-4::before{content:"\\F08FA"}.mdi-network-strength-4-alert::before{content:"\\F08FB"}.mdi-network-strength-off::before{content:"\\F08FC"}.mdi-network-strength-off-outline::before{content:"\\F08FD"}.mdi-network-strength-outline::before{content:"\\F08FE"}.mdi-new-box::before{content:"\\F0394"}.mdi-newspaper::before{content:"\\F0395"}.mdi-newspaper-minus::before{content:"\\F0F0C"}.mdi-newspaper-plus::before{content:"\\F0F0D"}.mdi-newspaper-variant::before{content:"\\F1001"}.mdi-newspaper-variant-multiple::before{content:"\\F1002"}.mdi-newspaper-variant-multiple-outline::before{content:"\\F1003"}.mdi-newspaper-variant-outline::before{content:"\\F1004"}.mdi-nfc::before{content:"\\F0396"}.mdi-nfc-search-variant::before{content:"\\F0E53"}.mdi-nfc-tap::before{content:"\\F0397"}.mdi-nfc-variant::before{content:"\\F0398"}.mdi-nfc-variant-off::before{content:"\\F0E54"}.mdi-ninja::before{content:"\\F0774"}.mdi-nintendo-game-boy::before{content:"\\F1393"}.mdi-nintendo-switch::before{content:"\\F07E1"}.mdi-nintendo-wii::before{content:"\\F05AB"}.mdi-nintendo-wiiu::before{content:"\\F072D"}.mdi-nix::before{content:"\\F1105"}.mdi-nodejs::before{content:"\\F0399"}.mdi-noodles::before{content:"\\F117E"}.mdi-not-equal::before{content:"\\F098D"}.mdi-not-equal-variant::before{content:"\\F098E"}.mdi-note::before{content:"\\F039A"}.mdi-note-multiple::before{content:"\\F06B8"}.mdi-note-multiple-outline::before{content:"\\F06B9"}.mdi-note-outline::before{content:"\\F039B"}.mdi-note-plus::before{content:"\\F039C"}.mdi-note-plus-outline::before{content:"\\F039D"}.mdi-note-text::before{content:"\\F039E"}.mdi-note-text-outline::before{content:"\\F11D7"}.mdi-notebook::before{content:"\\F082E"}.mdi-notebook-multiple::before{content:"\\F0E55"}.mdi-notebook-outline::before{content:"\\F0EBF"}.mdi-notification-clear-all::before{content:"\\F039F"}.mdi-npm::before{content:"\\F06F7"}.mdi-nuke::before{content:"\\F06A4"}.mdi-null::before{content:"\\F07E2"}.mdi-numeric::before{content:"\\F03A0"}.mdi-numeric-0::before{content:"\\F0B39"}.mdi-numeric-0-box::before{content:"\\F03A1"}.mdi-numeric-0-box-multiple::before{content:"\\F0F0E"}.mdi-numeric-0-box-multiple-outline::before{content:"\\F03A2"}.mdi-numeric-0-box-outline::before{content:"\\F03A3"}.mdi-numeric-0-circle::before{content:"\\F0C9E"}.mdi-numeric-0-circle-outline::before{content:"\\F0C9F"}.mdi-numeric-1::before{content:"\\F0B3A"}.mdi-numeric-1-box::before{content:"\\F03A4"}.mdi-numeric-1-box-multiple::before{content:"\\F0F0F"}.mdi-numeric-1-box-multiple-outline::before{content:"\\F03A5"}.mdi-numeric-1-box-outline::before{content:"\\F03A6"}.mdi-numeric-1-circle::before{content:"\\F0CA0"}.mdi-numeric-1-circle-outline::before{content:"\\F0CA1"}.mdi-numeric-10::before{content:"\\F0FE9"}.mdi-numeric-10-box::before{content:"\\F0F7D"}.mdi-numeric-10-box-multiple::before{content:"\\F0FEA"}.mdi-numeric-10-box-multiple-outline::before{content:"\\F0FEB"}.mdi-numeric-10-box-outline::before{content:"\\F0F7E"}.mdi-numeric-10-circle::before{content:"\\F0FEC"}.mdi-numeric-10-circle-outline::before{content:"\\F0FED"}.mdi-numeric-2::before{content:"\\F0B3B"}.mdi-numeric-2-box::before{content:"\\F03A7"}.mdi-numeric-2-box-multiple::before{content:"\\F0F10"}.mdi-numeric-2-box-multiple-outline::before{content:"\\F03A8"}.mdi-numeric-2-box-outline::before{content:"\\F03A9"}.mdi-numeric-2-circle::before{content:"\\F0CA2"}.mdi-numeric-2-circle-outline::before{content:"\\F0CA3"}.mdi-numeric-3::before{content:"\\F0B3C"}.mdi-numeric-3-box::before{content:"\\F03AA"}.mdi-numeric-3-box-multiple::before{content:"\\F0F11"}.mdi-numeric-3-box-multiple-outline::before{content:"\\F03AB"}.mdi-numeric-3-box-outline::before{content:"\\F03AC"}.mdi-numeric-3-circle::before{content:"\\F0CA4"}.mdi-numeric-3-circle-outline::before{content:"\\F0CA5"}.mdi-numeric-4::before{content:"\\F0B3D"}.mdi-numeric-4-box::before{content:"\\F03AD"}.mdi-numeric-4-box-multiple::before{content:"\\F0F12"}.mdi-numeric-4-box-multiple-outline::before{content:"\\F03B2"}.mdi-numeric-4-box-outline::before{content:"\\F03AE"}.mdi-numeric-4-circle::before{content:"\\F0CA6"}.mdi-numeric-4-circle-outline::before{content:"\\F0CA7"}.mdi-numeric-5::before{content:"\\F0B3E"}.mdi-numeric-5-box::before{content:"\\F03B1"}.mdi-numeric-5-box-multiple::before{content:"\\F0F13"}.mdi-numeric-5-box-multiple-outline::before{content:"\\F03AF"}.mdi-numeric-5-box-outline::before{content:"\\F03B0"}.mdi-numeric-5-circle::before{content:"\\F0CA8"}.mdi-numeric-5-circle-outline::before{content:"\\F0CA9"}.mdi-numeric-6::before{content:"\\F0B3F"}.mdi-numeric-6-box::before{content:"\\F03B3"}.mdi-numeric-6-box-multiple::before{content:"\\F0F14"}.mdi-numeric-6-box-multiple-outline::before{content:"\\F03B4"}.mdi-numeric-6-box-outline::before{content:"\\F03B5"}.mdi-numeric-6-circle::before{content:"\\F0CAA"}.mdi-numeric-6-circle-outline::before{content:"\\F0CAB"}.mdi-numeric-7::before{content:"\\F0B40"}.mdi-numeric-7-box::before{content:"\\F03B6"}.mdi-numeric-7-box-multiple::before{content:"\\F0F15"}.mdi-numeric-7-box-multiple-outline::before{content:"\\F03B7"}.mdi-numeric-7-box-outline::before{content:"\\F03B8"}.mdi-numeric-7-circle::before{content:"\\F0CAC"}.mdi-numeric-7-circle-outline::before{content:"\\F0CAD"}.mdi-numeric-8::before{content:"\\F0B41"}.mdi-numeric-8-box::before{content:"\\F03B9"}.mdi-numeric-8-box-multiple::before{content:"\\F0F16"}.mdi-numeric-8-box-multiple-outline::before{content:"\\F03BA"}.mdi-numeric-8-box-outline::before{content:"\\F03BB"}.mdi-numeric-8-circle::before{content:"\\F0CAE"}.mdi-numeric-8-circle-outline::before{content:"\\F0CAF"}.mdi-numeric-9::before{content:"\\F0B42"}.mdi-numeric-9-box::before{content:"\\F03BC"}.mdi-numeric-9-box-multiple::before{content:"\\F0F17"}.mdi-numeric-9-box-multiple-outline::before{content:"\\F03BD"}.mdi-numeric-9-box-outline::before{content:"\\F03BE"}.mdi-numeric-9-circle::before{content:"\\F0CB0"}.mdi-numeric-9-circle-outline::before{content:"\\F0CB1"}.mdi-numeric-9-plus::before{content:"\\F0FEE"}.mdi-numeric-9-plus-box::before{content:"\\F03BF"}.mdi-numeric-9-plus-box-multiple::before{content:"\\F0F18"}.mdi-numeric-9-plus-box-multiple-outline::before{content:"\\F03C0"}.mdi-numeric-9-plus-box-outline::before{content:"\\F03C1"}.mdi-numeric-9-plus-circle::before{content:"\\F0CB2"}.mdi-numeric-9-plus-circle-outline::before{content:"\\F0CB3"}.mdi-numeric-negative-1::before{content:"\\F1052"}.mdi-nut::before{content:"\\F06F8"}.mdi-nutrition::before{content:"\\F03C2"}.mdi-nuxt::before{content:"\\F1106"}.mdi-oar::before{content:"\\F067C"}.mdi-ocarina::before{content:"\\F0DE0"}.mdi-oci::before{content:"\\F12E9"}.mdi-ocr::before{content:"\\F113A"}.mdi-octagon::before{content:"\\F03C3"}.mdi-octagon-outline::before{content:"\\F03C4"}.mdi-octagram::before{content:"\\F06F9"}.mdi-octagram-outline::before{content:"\\F0775"}.mdi-odnoklassniki::before{content:"\\F03C5"}.mdi-offer::before{content:"\\F121B"}.mdi-office-building::before{content:"\\F0991"}.mdi-oil::before{content:"\\F03C7"}.mdi-oil-lamp::before{content:"\\F0F19"}.mdi-oil-level::before{content:"\\F1053"}.mdi-oil-temperature::before{content:"\\F0FF8"}.mdi-omega::before{content:"\\F03C9"}.mdi-one-up::before{content:"\\F0BAD"}.mdi-onepassword::before{content:"\\F0881"}.mdi-opacity::before{content:"\\F05CC"}.mdi-open-in-app::before{content:"\\F03CB"}.mdi-open-in-new::before{content:"\\F03CC"}.mdi-open-source-initiative::before{content:"\\F0BAE"}.mdi-openid::before{content:"\\F03CD"}.mdi-opera::before{content:"\\F03CE"}.mdi-orbit::before{content:"\\F0018"}.mdi-order-alphabetical-ascending::before{content:"\\F020D"}.mdi-order-alphabetical-descending::before{content:"\\F0D07"}.mdi-order-bool-ascending::before{content:"\\F02BE"}.mdi-order-bool-ascending-variant::before{content:"\\F098F"}.mdi-order-bool-descending::before{content:"\\F1384"}.mdi-order-bool-descending-variant::before{content:"\\F0990"}.mdi-order-numeric-ascending::before{content:"\\F0545"}.mdi-order-numeric-descending::before{content:"\\F0546"}.mdi-origin::before{content:"\\F0B43"}.mdi-ornament::before{content:"\\F03CF"}.mdi-ornament-variant::before{content:"\\F03D0"}.mdi-outdoor-lamp::before{content:"\\F1054"}.mdi-overscan::before{content:"\\F1005"}.mdi-owl::before{content:"\\F03D2"}.mdi-pac-man::before{content:"\\F0BAF"}.mdi-package::before{content:"\\F03D3"}.mdi-package-down::before{content:"\\F03D4"}.mdi-package-up::before{content:"\\F03D5"}.mdi-package-variant::before{content:"\\F03D6"}.mdi-package-variant-closed::before{content:"\\F03D7"}.mdi-page-first::before{content:"\\F0600"}.mdi-page-last::before{content:"\\F0601"}.mdi-page-layout-body::before{content:"\\F06FA"}.mdi-page-layout-footer::before{content:"\\F06FB"}.mdi-page-layout-header::before{content:"\\F06FC"}.mdi-page-layout-header-footer::before{content:"\\F0F7F"}.mdi-page-layout-sidebar-left::before{content:"\\F06FD"}.mdi-page-layout-sidebar-right::before{content:"\\F06FE"}.mdi-page-next::before{content:"\\F0BB0"}.mdi-page-next-outline::before{content:"\\F0BB1"}.mdi-page-previous::before{content:"\\F0BB2"}.mdi-page-previous-outline::before{content:"\\F0BB3"}.mdi-pail::before{content:"\\F1417"}.mdi-pail-minus::before{content:"\\F1437"}.mdi-pail-minus-outline::before{content:"\\F143C"}.mdi-pail-off::before{content:"\\F1439"}.mdi-pail-off-outline::before{content:"\\F143E"}.mdi-pail-outline::before{content:"\\F143A"}.mdi-pail-plus::before{content:"\\F1436"}.mdi-pail-plus-outline::before{content:"\\F143B"}.mdi-pail-remove::before{content:"\\F1438"}.mdi-pail-remove-outline::before{content:"\\F143D"}.mdi-palette::before{content:"\\F03D8"}.mdi-palette-advanced::before{content:"\\F03D9"}.mdi-palette-outline::before{content:"\\F0E0C"}.mdi-palette-swatch::before{content:"\\F08B5"}.mdi-palette-swatch-outline::before{content:"\\F135C"}.mdi-palm-tree::before{content:"\\F1055"}.mdi-pan::before{content:"\\F0BB4"}.mdi-pan-bottom-left::before{content:"\\F0BB5"}.mdi-pan-bottom-right::before{content:"\\F0BB6"}.mdi-pan-down::before{content:"\\F0BB7"}.mdi-pan-horizontal::before{content:"\\F0BB8"}.mdi-pan-left::before{content:"\\F0BB9"}.mdi-pan-right::before{content:"\\F0BBA"}.mdi-pan-top-left::before{content:"\\F0BBB"}.mdi-pan-top-right::before{content:"\\F0BBC"}.mdi-pan-up::before{content:"\\F0BBD"}.mdi-pan-vertical::before{content:"\\F0BBE"}.mdi-panda::before{content:"\\F03DA"}.mdi-pandora::before{content:"\\F03DB"}.mdi-panorama::before{content:"\\F03DC"}.mdi-panorama-fisheye::before{content:"\\F03DD"}.mdi-panorama-horizontal::before{content:"\\F03DE"}.mdi-panorama-vertical::before{content:"\\F03DF"}.mdi-panorama-wide-angle::before{content:"\\F03E0"}.mdi-paper-cut-vertical::before{content:"\\F03E1"}.mdi-paper-roll::before{content:"\\F1157"}.mdi-paper-roll-outline::before{content:"\\F1158"}.mdi-paperclip::before{content:"\\F03E2"}.mdi-parachute::before{content:"\\F0CB4"}.mdi-parachute-outline::before{content:"\\F0CB5"}.mdi-parking::before{content:"\\F03E3"}.mdi-party-popper::before{content:"\\F1056"}.mdi-passport::before{content:"\\F07E3"}.mdi-passport-biometric::before{content:"\\F0DE1"}.mdi-pasta::before{content:"\\F1160"}.mdi-patio-heater::before{content:"\\F0F80"}.mdi-patreon::before{content:"\\F0882"}.mdi-pause::before{content:"\\F03E4"}.mdi-pause-circle::before{content:"\\F03E5"}.mdi-pause-circle-outline::before{content:"\\F03E6"}.mdi-pause-octagon::before{content:"\\F03E7"}.mdi-pause-octagon-outline::before{content:"\\F03E8"}.mdi-paw::before{content:"\\F03E9"}.mdi-paw-off::before{content:"\\F0657"}.mdi-pdf-box::before{content:"\\F0E56"}.mdi-peace::before{content:"\\F0884"}.mdi-peanut::before{content:"\\F0FFC"}.mdi-peanut-off::before{content:"\\F0FFD"}.mdi-peanut-off-outline::before{content:"\\F0FFF"}.mdi-peanut-outline::before{content:"\\F0FFE"}.mdi-pen::before{content:"\\F03EA"}.mdi-pen-lock::before{content:"\\F0DE2"}.mdi-pen-minus::before{content:"\\F0DE3"}.mdi-pen-off::before{content:"\\F0DE4"}.mdi-pen-plus::before{content:"\\F0DE5"}.mdi-pen-remove::before{content:"\\F0DE6"}.mdi-pencil::before{content:"\\F03EB"}.mdi-pencil-box::before{content:"\\F03EC"}.mdi-pencil-box-multiple::before{content:"\\F1144"}.mdi-pencil-box-multiple-outline::before{content:"\\F1145"}.mdi-pencil-box-outline::before{content:"\\F03ED"}.mdi-pencil-circle::before{content:"\\F06FF"}.mdi-pencil-circle-outline::before{content:"\\F0776"}.mdi-pencil-lock::before{content:"\\F03EE"}.mdi-pencil-lock-outline::before{content:"\\F0DE7"}.mdi-pencil-minus::before{content:"\\F0DE8"}.mdi-pencil-minus-outline::before{content:"\\F0DE9"}.mdi-pencil-off::before{content:"\\F03EF"}.mdi-pencil-off-outline::before{content:"\\F0DEA"}.mdi-pencil-outline::before{content:"\\F0CB6"}.mdi-pencil-plus::before{content:"\\F0DEB"}.mdi-pencil-plus-outline::before{content:"\\F0DEC"}.mdi-pencil-remove::before{content:"\\F0DED"}.mdi-pencil-remove-outline::before{content:"\\F0DEE"}.mdi-pencil-ruler::before{content:"\\F1353"}.mdi-penguin::before{content:"\\F0EC0"}.mdi-pentagon::before{content:"\\F0701"}.mdi-pentagon-outline::before{content:"\\F0700"}.mdi-percent::before{content:"\\F03F0"}.mdi-percent-outline::before{content:"\\F1278"}.mdi-periodic-table::before{content:"\\F08B6"}.mdi-perspective-less::before{content:"\\F0D23"}.mdi-perspective-more::before{content:"\\F0D24"}.mdi-pharmacy::before{content:"\\F03F1"}.mdi-phone::before{content:"\\F03F2"}.mdi-phone-alert::before{content:"\\F0F1A"}.mdi-phone-alert-outline::before{content:"\\F118E"}.mdi-phone-bluetooth::before{content:"\\F03F3"}.mdi-phone-bluetooth-outline::before{content:"\\F118F"}.mdi-phone-cancel::before{content:"\\F10BC"}.mdi-phone-cancel-outline::before{content:"\\F1190"}.mdi-phone-check::before{content:"\\F11A9"}.mdi-phone-check-outline::before{content:"\\F11AA"}.mdi-phone-classic::before{content:"\\F0602"}.mdi-phone-classic-off::before{content:"\\F1279"}.mdi-phone-forward::before{content:"\\F03F4"}.mdi-phone-forward-outline::before{content:"\\F1191"}.mdi-phone-hangup::before{content:"\\F03F5"}.mdi-phone-hangup-outline::before{content:"\\F1192"}.mdi-phone-in-talk::before{content:"\\F03F6"}.mdi-phone-in-talk-outline::before{content:"\\F1182"}.mdi-phone-incoming::before{content:"\\F03F7"}.mdi-phone-incoming-outline::before{content:"\\F1193"}.mdi-phone-lock::before{content:"\\F03F8"}.mdi-phone-lock-outline::before{content:"\\F1194"}.mdi-phone-log::before{content:"\\F03F9"}.mdi-phone-log-outline::before{content:"\\F1195"}.mdi-phone-message::before{content:"\\F1196"}.mdi-phone-message-outline::before{content:"\\F1197"}.mdi-phone-minus::before{content:"\\F0658"}.mdi-phone-minus-outline::before{content:"\\F1198"}.mdi-phone-missed::before{content:"\\F03FA"}.mdi-phone-missed-outline::before{content:"\\F11A5"}.mdi-phone-off::before{content:"\\F0DEF"}.mdi-phone-off-outline::before{content:"\\F11A6"}.mdi-phone-outgoing::before{content:"\\F03FB"}.mdi-phone-outgoing-outline::before{content:"\\F1199"}.mdi-phone-outline::before{content:"\\F0DF0"}.mdi-phone-paused::before{content:"\\F03FC"}.mdi-phone-paused-outline::before{content:"\\F119A"}.mdi-phone-plus::before{content:"\\F0659"}.mdi-phone-plus-outline::before{content:"\\F119B"}.mdi-phone-return::before{content:"\\F082F"}.mdi-phone-return-outline::before{content:"\\F119C"}.mdi-phone-ring::before{content:"\\F11AB"}.mdi-phone-ring-outline::before{content:"\\F11AC"}.mdi-phone-rotate-landscape::before{content:"\\F0885"}.mdi-phone-rotate-portrait::before{content:"\\F0886"}.mdi-phone-settings::before{content:"\\F03FD"}.mdi-phone-settings-outline::before{content:"\\F119D"}.mdi-phone-voip::before{content:"\\F03FE"}.mdi-pi::before{content:"\\F03FF"}.mdi-pi-box::before{content:"\\F0400"}.mdi-pi-hole::before{content:"\\F0DF1"}.mdi-piano::before{content:"\\F067D"}.mdi-pickaxe::before{content:"\\F08B7"}.mdi-picture-in-picture-bottom-right::before{content:"\\F0E57"}.mdi-picture-in-picture-bottom-right-outline::before{content:"\\F0E58"}.mdi-picture-in-picture-top-right::before{content:"\\F0E59"}.mdi-picture-in-picture-top-right-outline::before{content:"\\F0E5A"}.mdi-pier::before{content:"\\F0887"}.mdi-pier-crane::before{content:"\\F0888"}.mdi-pig::before{content:"\\F0401"}.mdi-pig-variant::before{content:"\\F1006"}.mdi-piggy-bank::before{content:"\\F1007"}.mdi-pill::before{content:"\\F0402"}.mdi-pillar::before{content:"\\F0702"}.mdi-pin::before{content:"\\F0403"}.mdi-pin-off::before{content:"\\F0404"}.mdi-pin-off-outline::before{content:"\\F0930"}.mdi-pin-outline::before{content:"\\F0931"}.mdi-pine-tree::before{content:"\\F0405"}.mdi-pine-tree-box::before{content:"\\F0406"}.mdi-pine-tree-fire::before{content:"\\F141A"}.mdi-pinterest::before{content:"\\F0407"}.mdi-pinwheel::before{content:"\\F0AD5"}.mdi-pinwheel-outline::before{content:"\\F0AD6"}.mdi-pipe::before{content:"\\F07E5"}.mdi-pipe-disconnected::before{content:"\\F07E6"}.mdi-pipe-leak::before{content:"\\F0889"}.mdi-pipe-wrench::before{content:"\\F1354"}.mdi-pirate::before{content:"\\F0A08"}.mdi-pistol::before{content:"\\F0703"}.mdi-piston::before{content:"\\F088A"}.mdi-pizza::before{content:"\\F0409"}.mdi-play::before{content:"\\F040A"}.mdi-play-box::before{content:"\\F127A"}.mdi-play-box-multiple::before{content:"\\F0D19"}.mdi-play-box-multiple-outline::before{content:"\\F13E6"}.mdi-play-box-outline::before{content:"\\F040B"}.mdi-play-circle::before{content:"\\F040C"}.mdi-play-circle-outline::before{content:"\\F040D"}.mdi-play-network::before{content:"\\F088B"}.mdi-play-network-outline::before{content:"\\F0CB7"}.mdi-play-outline::before{content:"\\F0F1B"}.mdi-play-pause::before{content:"\\F040E"}.mdi-play-protected-content::before{content:"\\F040F"}.mdi-play-speed::before{content:"\\F08FF"}.mdi-playlist-check::before{content:"\\F05C7"}.mdi-playlist-edit::before{content:"\\F0900"}.mdi-playlist-minus::before{content:"\\F0410"}.mdi-playlist-music::before{content:"\\F0CB8"}.mdi-playlist-music-outline::before{content:"\\F0CB9"}.mdi-playlist-play::before{content:"\\F0411"}.mdi-playlist-plus::before{content:"\\F0412"}.mdi-playlist-remove::before{content:"\\F0413"}.mdi-playlist-star::before{content:"\\F0DF2"}.mdi-plex::before{content:"\\F06BA"}.mdi-plus::before{content:"\\F0415"}.mdi-plus-box::before{content:"\\F0416"}.mdi-plus-box-multiple::before{content:"\\F0334"}.mdi-plus-box-multiple-outline::before{content:"\\F1143"}.mdi-plus-box-outline::before{content:"\\F0704"}.mdi-plus-circle::before{content:"\\F0417"}.mdi-plus-circle-multiple::before{content:"\\F034C"}.mdi-plus-circle-multiple-outline::before{content:"\\F0418"}.mdi-plus-circle-outline::before{content:"\\F0419"}.mdi-plus-minus::before{content:"\\F0992"}.mdi-plus-minus-box::before{content:"\\F0993"}.mdi-plus-minus-variant::before{content:"\\F14C9"}.mdi-plus-network::before{content:"\\F041A"}.mdi-plus-network-outline::before{content:"\\F0CBA"}.mdi-plus-one::before{content:"\\F041B"}.mdi-plus-outline::before{content:"\\F0705"}.mdi-plus-thick::before{content:"\\F11EC"}.mdi-podcast::before{content:"\\F0994"}.mdi-podium::before{content:"\\F0D25"}.mdi-podium-bronze::before{content:"\\F0D26"}.mdi-podium-gold::before{content:"\\F0D27"}.mdi-podium-silver::before{content:"\\F0D28"}.mdi-point-of-sale::before{content:"\\F0D92"}.mdi-pokeball::before{content:"\\F041D"}.mdi-pokemon-go::before{content:"\\F0A09"}.mdi-poker-chip::before{content:"\\F0830"}.mdi-polaroid::before{content:"\\F041E"}.mdi-police-badge::before{content:"\\F1167"}.mdi-police-badge-outline::before{content:"\\F1168"}.mdi-poll::before{content:"\\F041F"}.mdi-poll-box::before{content:"\\F0420"}.mdi-poll-box-outline::before{content:"\\F127B"}.mdi-polo::before{content:"\\F14C3"}.mdi-polymer::before{content:"\\F0421"}.mdi-pool::before{content:"\\F0606"}.mdi-popcorn::before{content:"\\F0422"}.mdi-post::before{content:"\\F1008"}.mdi-post-outline::before{content:"\\F1009"}.mdi-postage-stamp::before{content:"\\F0CBB"}.mdi-pot::before{content:"\\F02E5"}.mdi-pot-mix::before{content:"\\F065B"}.mdi-pot-mix-outline::before{content:"\\F0677"}.mdi-pot-outline::before{content:"\\F02FF"}.mdi-pot-steam::before{content:"\\F065A"}.mdi-pot-steam-outline::before{content:"\\F0326"}.mdi-pound::before{content:"\\F0423"}.mdi-pound-box::before{content:"\\F0424"}.mdi-pound-box-outline::before{content:"\\F117F"}.mdi-power::before{content:"\\F0425"}.mdi-power-cycle::before{content:"\\F0901"}.mdi-power-off::before{content:"\\F0902"}.mdi-power-on::before{content:"\\F0903"}.mdi-power-plug::before{content:"\\F06A5"}.mdi-power-plug-off::before{content:"\\F06A6"}.mdi-power-plug-off-outline::before{content:"\\F1424"}.mdi-power-plug-outline::before{content:"\\F1425"}.mdi-power-settings::before{content:"\\F0426"}.mdi-power-sleep::before{content:"\\F0904"}.mdi-power-socket::before{content:"\\F0427"}.mdi-power-socket-au::before{content:"\\F0905"}.mdi-power-socket-de::before{content:"\\F1107"}.mdi-power-socket-eu::before{content:"\\F07E7"}.mdi-power-socket-fr::before{content:"\\F1108"}.mdi-power-socket-jp::before{content:"\\F1109"}.mdi-power-socket-uk::before{content:"\\F07E8"}.mdi-power-socket-us::before{content:"\\F07E9"}.mdi-power-standby::before{content:"\\F0906"}.mdi-powershell::before{content:"\\F0A0A"}.mdi-prescription::before{content:"\\F0706"}.mdi-presentation::before{content:"\\F0428"}.mdi-presentation-play::before{content:"\\F0429"}.mdi-printer::before{content:"\\F042A"}.mdi-printer-3d::before{content:"\\F042B"}.mdi-printer-3d-nozzle::before{content:"\\F0E5B"}.mdi-printer-3d-nozzle-alert::before{content:"\\F11C0"}.mdi-printer-3d-nozzle-alert-outline::before{content:"\\F11C1"}.mdi-printer-3d-nozzle-outline::before{content:"\\F0E5C"}.mdi-printer-alert::before{content:"\\F042C"}.mdi-printer-check::before{content:"\\F1146"}.mdi-printer-eye::before{content:"\\F1458"}.mdi-printer-off::before{content:"\\F0E5D"}.mdi-printer-pos::before{content:"\\F1057"}.mdi-printer-search::before{content:"\\F1457"}.mdi-printer-settings::before{content:"\\F0707"}.mdi-printer-wireless::before{content:"\\F0A0B"}.mdi-priority-high::before{content:"\\F0603"}.mdi-priority-low::before{content:"\\F0604"}.mdi-professional-hexagon::before{content:"\\F042D"}.mdi-progress-alert::before{content:"\\F0CBC"}.mdi-progress-check::before{content:"\\F0995"}.mdi-progress-clock::before{content:"\\F0996"}.mdi-progress-close::before{content:"\\F110A"}.mdi-progress-download::before{content:"\\F0997"}.mdi-progress-upload::before{content:"\\F0998"}.mdi-progress-wrench::before{content:"\\F0CBD"}.mdi-projector::before{content:"\\F042E"}.mdi-projector-screen::before{content:"\\F042F"}.mdi-propane-tank::before{content:"\\F1357"}.mdi-propane-tank-outline::before{content:"\\F1358"}.mdi-protocol::before{content:"\\F0FD8"}.mdi-publish::before{content:"\\F06A7"}.mdi-pulse::before{content:"\\F0430"}.mdi-pump::before{content:"\\F1402"}.mdi-pumpkin::before{content:"\\F0BBF"}.mdi-purse::before{content:"\\F0F1C"}.mdi-purse-outline::before{content:"\\F0F1D"}.mdi-puzzle::before{content:"\\F0431"}.mdi-puzzle-check::before{content:"\\F1426"}.mdi-puzzle-check-outline::before{content:"\\F1427"}.mdi-puzzle-edit::before{content:"\\F14D3"}.mdi-puzzle-edit-outline::before{content:"\\F14D9"}.mdi-puzzle-heart::before{content:"\\F14D4"}.mdi-puzzle-heart-outline::before{content:"\\F14DA"}.mdi-puzzle-minus::before{content:"\\F14D1"}.mdi-puzzle-minus-outline::before{content:"\\F14D7"}.mdi-puzzle-outline::before{content:"\\F0A66"}.mdi-puzzle-plus::before{content:"\\F14D0"}.mdi-puzzle-plus-outline::before{content:"\\F14D6"}.mdi-puzzle-remove::before{content:"\\F14D2"}.mdi-puzzle-remove-outline::before{content:"\\F14D8"}.mdi-puzzle-star::before{content:"\\F14D5"}.mdi-puzzle-star-outline::before{content:"\\F14DB"}.mdi-qi::before{content:"\\F0999"}.mdi-qqchat::before{content:"\\F0605"}.mdi-qrcode::before{content:"\\F0432"}.mdi-qrcode-edit::before{content:"\\F08B8"}.mdi-qrcode-minus::before{content:"\\F118C"}.mdi-qrcode-plus::before{content:"\\F118B"}.mdi-qrcode-remove::before{content:"\\F118D"}.mdi-qrcode-scan::before{content:"\\F0433"}.mdi-quadcopter::before{content:"\\F0434"}.mdi-quality-high::before{content:"\\F0435"}.mdi-quality-low::before{content:"\\F0A0C"}.mdi-quality-medium::before{content:"\\F0A0D"}.mdi-quora::before{content:"\\F0D29"}.mdi-rabbit::before{content:"\\F0907"}.mdi-racing-helmet::before{content:"\\F0D93"}.mdi-racquetball::before{content:"\\F0D94"}.mdi-radar::before{content:"\\F0437"}.mdi-radiator::before{content:"\\F0438"}.mdi-radiator-disabled::before{content:"\\F0AD7"}.mdi-radiator-off::before{content:"\\F0AD8"}.mdi-radio::before{content:"\\F0439"}.mdi-radio-am::before{content:"\\F0CBE"}.mdi-radio-fm::before{content:"\\F0CBF"}.mdi-radio-handheld::before{content:"\\F043A"}.mdi-radio-off::before{content:"\\F121C"}.mdi-radio-tower::before{content:"\\F043B"}.mdi-radioactive::before{content:"\\F043C"}.mdi-radioactive-off::before{content:"\\F0EC1"}.mdi-radiobox-blank::before{content:"\\F043D"}.mdi-radiobox-marked::before{content:"\\F043E"}.mdi-radiology-box::before{content:"\\F14C5"}.mdi-radiology-box-outline::before{content:"\\F14C6"}.mdi-radius::before{content:"\\F0CC0"}.mdi-radius-outline::before{content:"\\F0CC1"}.mdi-railroad-light::before{content:"\\F0F1E"}.mdi-raspberry-pi::before{content:"\\F043F"}.mdi-ray-end::before{content:"\\F0440"}.mdi-ray-end-arrow::before{content:"\\F0441"}.mdi-ray-start::before{content:"\\F0442"}.mdi-ray-start-arrow::before{content:"\\F0443"}.mdi-ray-start-end::before{content:"\\F0444"}.mdi-ray-vertex::before{content:"\\F0445"}.mdi-react::before{content:"\\F0708"}.mdi-read::before{content:"\\F0447"}.mdi-receipt::before{content:"\\F0449"}.mdi-record::before{content:"\\F044A"}.mdi-record-circle::before{content:"\\F0EC2"}.mdi-record-circle-outline::before{content:"\\F0EC3"}.mdi-record-player::before{content:"\\F099A"}.mdi-record-rec::before{content:"\\F044B"}.mdi-rectangle::before{content:"\\F0E5E"}.mdi-rectangle-outline::before{content:"\\F0E5F"}.mdi-recycle::before{content:"\\F044C"}.mdi-recycle-variant::before{content:"\\F139D"}.mdi-reddit::before{content:"\\F044D"}.mdi-redhat::before{content:"\\F111B"}.mdi-redo::before{content:"\\F044E"}.mdi-redo-variant::before{content:"\\F044F"}.mdi-reflect-horizontal::before{content:"\\F0A0E"}.mdi-reflect-vertical::before{content:"\\F0A0F"}.mdi-refresh::before{content:"\\F0450"}.mdi-refresh-circle::before{content:"\\F1377"}.mdi-regex::before{content:"\\F0451"}.mdi-registered-trademark::before{content:"\\F0A67"}.mdi-relation-many-to-many::before{content:"\\F1496"}.mdi-relation-many-to-one::before{content:"\\F1497"}.mdi-relation-many-to-one-or-many::before{content:"\\F1498"}.mdi-relation-many-to-only-one::before{content:"\\F1499"}.mdi-relation-many-to-zero-or-many::before{content:"\\F149A"}.mdi-relation-many-to-zero-or-one::before{content:"\\F149B"}.mdi-relation-one-or-many-to-many::before{content:"\\F149C"}.mdi-relation-one-or-many-to-one::before{content:"\\F149D"}.mdi-relation-one-or-many-to-one-or-many::before{content:"\\F149E"}.mdi-relation-one-or-many-to-only-one::before{content:"\\F149F"}.mdi-relation-one-or-many-to-zero-or-many::before{content:"\\F14A0"}.mdi-relation-one-or-many-to-zero-or-one::before{content:"\\F14A1"}.mdi-relation-one-to-many::before{content:"\\F14A2"}.mdi-relation-one-to-one::before{content:"\\F14A3"}.mdi-relation-one-to-one-or-many::before{content:"\\F14A4"}.mdi-relation-one-to-only-one::before{content:"\\F14A5"}.mdi-relation-one-to-zero-or-many::before{content:"\\F14A6"}.mdi-relation-one-to-zero-or-one::before{content:"\\F14A7"}.mdi-relation-only-one-to-many::before{content:"\\F14A8"}.mdi-relation-only-one-to-one::before{content:"\\F14A9"}.mdi-relation-only-one-to-one-or-many::before{content:"\\F14AA"}.mdi-relation-only-one-to-only-one::before{content:"\\F14AB"}.mdi-relation-only-one-to-zero-or-many::before{content:"\\F14AC"}.mdi-relation-only-one-to-zero-or-one::before{content:"\\F14AD"}.mdi-relation-zero-or-many-to-many::before{content:"\\F14AE"}.mdi-relation-zero-or-many-to-one::before{content:"\\F14AF"}.mdi-relation-zero-or-many-to-one-or-many::before{content:"\\F14B0"}.mdi-relation-zero-or-many-to-only-one::before{content:"\\F14B1"}.mdi-relation-zero-or-many-to-zero-or-many::before{content:"\\F14B2"}.mdi-relation-zero-or-many-to-zero-or-one::before{content:"\\F14B3"}.mdi-relation-zero-or-one-to-many::before{content:"\\F14B4"}.mdi-relation-zero-or-one-to-one::before{content:"\\F14B5"}.mdi-relation-zero-or-one-to-one-or-many::before{content:"\\F14B6"}.mdi-relation-zero-or-one-to-only-one::before{content:"\\F14B7"}.mdi-relation-zero-or-one-to-zero-or-many::before{content:"\\F14B8"}.mdi-relation-zero-or-one-to-zero-or-one::before{content:"\\F14B9"}.mdi-relative-scale::before{content:"\\F0452"}.mdi-reload::before{content:"\\F0453"}.mdi-reload-alert::before{content:"\\F110B"}.mdi-reminder::before{content:"\\F088C"}.mdi-remote::before{content:"\\F0454"}.mdi-remote-desktop::before{content:"\\F08B9"}.mdi-remote-off::before{content:"\\F0EC4"}.mdi-remote-tv::before{content:"\\F0EC5"}.mdi-remote-tv-off::before{content:"\\F0EC6"}.mdi-rename-box::before{content:"\\F0455"}.mdi-reorder-horizontal::before{content:"\\F0688"}.mdi-reorder-vertical::before{content:"\\F0689"}.mdi-repeat::before{content:"\\F0456"}.mdi-repeat-off::before{content:"\\F0457"}.mdi-repeat-once::before{content:"\\F0458"}.mdi-replay::before{content:"\\F0459"}.mdi-reply::before{content:"\\F045A"}.mdi-reply-all::before{content:"\\F045B"}.mdi-reply-all-outline::before{content:"\\F0F1F"}.mdi-reply-circle::before{content:"\\F11AE"}.mdi-reply-outline::before{content:"\\F0F20"}.mdi-reproduction::before{content:"\\F045C"}.mdi-resistor::before{content:"\\F0B44"}.mdi-resistor-nodes::before{content:"\\F0B45"}.mdi-resize::before{content:"\\F0A68"}.mdi-resize-bottom-right::before{content:"\\F045D"}.mdi-responsive::before{content:"\\F045E"}.mdi-restart::before{content:"\\F0709"}.mdi-restart-alert::before{content:"\\F110C"}.mdi-restart-off::before{content:"\\F0D95"}.mdi-restore::before{content:"\\F099B"}.mdi-restore-alert::before{content:"\\F110D"}.mdi-rewind::before{content:"\\F045F"}.mdi-rewind-10::before{content:"\\F0D2A"}.mdi-rewind-30::before{content:"\\F0D96"}.mdi-rewind-5::before{content:"\\F11F9"}.mdi-rewind-outline::before{content:"\\F070A"}.mdi-rhombus::before{content:"\\F070B"}.mdi-rhombus-medium::before{content:"\\F0A10"}.mdi-rhombus-medium-outline::before{content:"\\F14DC"}.mdi-rhombus-outline::before{content:"\\F070C"}.mdi-rhombus-split::before{content:"\\F0A11"}.mdi-rhombus-split-outline::before{content:"\\F14DD"}.mdi-ribbon::before{content:"\\F0460"}.mdi-rice::before{content:"\\F07EA"}.mdi-ring::before{content:"\\F07EB"}.mdi-rivet::before{content:"\\F0E60"}.mdi-road::before{content:"\\F0461"}.mdi-road-variant::before{content:"\\F0462"}.mdi-robber::before{content:"\\F1058"}.mdi-robot::before{content:"\\F06A9"}.mdi-robot-industrial::before{content:"\\F0B46"}.mdi-robot-mower::before{content:"\\F11F7"}.mdi-robot-mower-outline::before{content:"\\F11F3"}.mdi-robot-vacuum::before{content:"\\F070D"}.mdi-robot-vacuum-variant::before{content:"\\F0908"}.mdi-rocket::before{content:"\\F0463"}.mdi-rocket-launch::before{content:"\\F14DE"}.mdi-rocket-launch-outline::before{content:"\\F14DF"}.mdi-rocket-outline::before{content:"\\F13AF"}.mdi-rodent::before{content:"\\F1327"}.mdi-roller-skate::before{content:"\\F0D2B"}.mdi-roller-skate-off::before{content:"\\F0145"}.mdi-rollerblade::before{content:"\\F0D2C"}.mdi-rollerblade-off::before{content:"\\F002E"}.mdi-rollupjs::before{content:"\\F0BC0"}.mdi-roman-numeral-1::before{content:"\\F1088"}.mdi-roman-numeral-10::before{content:"\\F1091"}.mdi-roman-numeral-2::before{content:"\\F1089"}.mdi-roman-numeral-3::before{content:"\\F108A"}.mdi-roman-numeral-4::before{content:"\\F108B"}.mdi-roman-numeral-5::before{content:"\\F108C"}.mdi-roman-numeral-6::before{content:"\\F108D"}.mdi-roman-numeral-7::before{content:"\\F108E"}.mdi-roman-numeral-8::before{content:"\\F108F"}.mdi-roman-numeral-9::before{content:"\\F1090"}.mdi-room-service::before{content:"\\F088D"}.mdi-room-service-outline::before{content:"\\F0D97"}.mdi-rotate-3d::before{content:"\\F0EC7"}.mdi-rotate-3d-variant::before{content:"\\F0464"}.mdi-rotate-left::before{content:"\\F0465"}.mdi-rotate-left-variant::before{content:"\\F0466"}.mdi-rotate-orbit::before{content:"\\F0D98"}.mdi-rotate-right::before{content:"\\F0467"}.mdi-rotate-right-variant::before{content:"\\F0468"}.mdi-rounded-corner::before{content:"\\F0607"}.mdi-router::before{content:"\\F11E2"}.mdi-router-network::before{content:"\\F1087"}.mdi-router-wireless::before{content:"\\F0469"}.mdi-router-wireless-settings::before{content:"\\F0A69"}.mdi-routes::before{content:"\\F046A"}.mdi-routes-clock::before{content:"\\F1059"}.mdi-rowing::before{content:"\\F0608"}.mdi-rss::before{content:"\\F046B"}.mdi-rss-box::before{content:"\\F046C"}.mdi-rss-off::before{content:"\\F0F21"}.mdi-rug::before{content:"\\F1475"}.mdi-rugby::before{content:"\\F0D99"}.mdi-ruler::before{content:"\\F046D"}.mdi-ruler-square::before{content:"\\F0CC2"}.mdi-ruler-square-compass::before{content:"\\F0EBE"}.mdi-run::before{content:"\\F070E"}.mdi-run-fast::before{content:"\\F046E"}.mdi-rv-truck::before{content:"\\F11D4"}.mdi-sack::before{content:"\\F0D2E"}.mdi-sack-percent::before{content:"\\F0D2F"}.mdi-safe::before{content:"\\F0A6A"}.mdi-safe-square::before{content:"\\F127C"}.mdi-safe-square-outline::before{content:"\\F127D"}.mdi-safety-goggles::before{content:"\\F0D30"}.mdi-sail-boat::before{content:"\\F0EC8"}.mdi-sale::before{content:"\\F046F"}.mdi-salesforce::before{content:"\\F088E"}.mdi-sass::before{content:"\\F07EC"}.mdi-satellite::before{content:"\\F0470"}.mdi-satellite-uplink::before{content:"\\F0909"}.mdi-satellite-variant::before{content:"\\F0471"}.mdi-sausage::before{content:"\\F08BA"}.mdi-saw-blade::before{content:"\\F0E61"}.mdi-sawtooth-wave::before{content:"\\F147A"}.mdi-saxophone::before{content:"\\F0609"}.mdi-scale::before{content:"\\F0472"}.mdi-scale-balance::before{content:"\\F05D1"}.mdi-scale-bathroom::before{content:"\\F0473"}.mdi-scale-off::before{content:"\\F105A"}.mdi-scan-helper::before{content:"\\F13D8"}.mdi-scanner::before{content:"\\F06AB"}.mdi-scanner-off::before{content:"\\F090A"}.mdi-scatter-plot::before{content:"\\F0EC9"}.mdi-scatter-plot-outline::before{content:"\\F0ECA"}.mdi-school::before{content:"\\F0474"}.mdi-school-outline::before{content:"\\F1180"}.mdi-scissors-cutting::before{content:"\\F0A6B"}.mdi-scooter::before{content:"\\F11E9"}.mdi-scoreboard::before{content:"\\F127E"}.mdi-scoreboard-outline::before{content:"\\F127F"}.mdi-screen-rotation::before{content:"\\F0475"}.mdi-screen-rotation-lock::before{content:"\\F0478"}.mdi-screw-flat-top::before{content:"\\F0DF3"}.mdi-screw-lag::before{content:"\\F0DF4"}.mdi-screw-machine-flat-top::before{content:"\\F0DF5"}.mdi-screw-machine-round-top::before{content:"\\F0DF6"}.mdi-screw-round-top::before{content:"\\F0DF7"}.mdi-screwdriver::before{content:"\\F0476"}.mdi-script::before{content:"\\F0BC1"}.mdi-script-outline::before{content:"\\F0477"}.mdi-script-text::before{content:"\\F0BC2"}.mdi-script-text-outline::before{content:"\\F0BC3"}.mdi-sd::before{content:"\\F0479"}.mdi-seal::before{content:"\\F047A"}.mdi-seal-variant::before{content:"\\F0FD9"}.mdi-search-web::before{content:"\\F070F"}.mdi-seat::before{content:"\\F0CC3"}.mdi-seat-flat::before{content:"\\F047B"}.mdi-seat-flat-angled::before{content:"\\F047C"}.mdi-seat-individual-suite::before{content:"\\F047D"}.mdi-seat-legroom-extra::before{content:"\\F047E"}.mdi-seat-legroom-normal::before{content:"\\F047F"}.mdi-seat-legroom-reduced::before{content:"\\F0480"}.mdi-seat-outline::before{content:"\\F0CC4"}.mdi-seat-passenger::before{content:"\\F1249"}.mdi-seat-recline-extra::before{content:"\\F0481"}.mdi-seat-recline-normal::before{content:"\\F0482"}.mdi-seatbelt::before{content:"\\F0CC5"}.mdi-security::before{content:"\\F0483"}.mdi-security-network::before{content:"\\F0484"}.mdi-seed::before{content:"\\F0E62"}.mdi-seed-off::before{content:"\\F13FD"}.mdi-seed-off-outline::before{content:"\\F13FE"}.mdi-seed-outline::before{content:"\\F0E63"}.mdi-segment::before{content:"\\F0ECB"}.mdi-select::before{content:"\\F0485"}.mdi-select-all::before{content:"\\F0486"}.mdi-select-color::before{content:"\\F0D31"}.mdi-select-compare::before{content:"\\F0AD9"}.mdi-select-drag::before{content:"\\F0A6C"}.mdi-select-group::before{content:"\\F0F82"}.mdi-select-inverse::before{content:"\\F0487"}.mdi-select-marker::before{content:"\\F1280"}.mdi-select-multiple::before{content:"\\F1281"}.mdi-select-multiple-marker::before{content:"\\F1282"}.mdi-select-off::before{content:"\\F0488"}.mdi-select-place::before{content:"\\F0FDA"}.mdi-select-search::before{content:"\\F1204"}.mdi-selection::before{content:"\\F0489"}.mdi-selection-drag::before{content:"\\F0A6D"}.mdi-selection-ellipse::before{content:"\\F0D32"}.mdi-selection-ellipse-arrow-inside::before{content:"\\F0F22"}.mdi-selection-marker::before{content:"\\F1283"}.mdi-selection-multiple::before{content:"\\F1285"}.mdi-selection-multiple-marker::before{content:"\\F1284"}.mdi-selection-off::before{content:"\\F0777"}.mdi-selection-search::before{content:"\\F1205"}.mdi-semantic-web::before{content:"\\F1316"}.mdi-send::before{content:"\\F048A"}.mdi-send-check::before{content:"\\F1161"}.mdi-send-check-outline::before{content:"\\F1162"}.mdi-send-circle::before{content:"\\F0DF8"}.mdi-send-circle-outline::before{content:"\\F0DF9"}.mdi-send-clock::before{content:"\\F1163"}.mdi-send-clock-outline::before{content:"\\F1164"}.mdi-send-lock::before{content:"\\F07ED"}.mdi-send-lock-outline::before{content:"\\F1166"}.mdi-send-outline::before{content:"\\F1165"}.mdi-serial-port::before{content:"\\F065C"}.mdi-server::before{content:"\\F048B"}.mdi-server-minus::before{content:"\\F048C"}.mdi-server-network::before{content:"\\F048D"}.mdi-server-network-off::before{content:"\\F048E"}.mdi-server-off::before{content:"\\F048F"}.mdi-server-plus::before{content:"\\F0490"}.mdi-server-remove::before{content:"\\F0491"}.mdi-server-security::before{content:"\\F0492"}.mdi-set-all::before{content:"\\F0778"}.mdi-set-center::before{content:"\\F0779"}.mdi-set-center-right::before{content:"\\F077A"}.mdi-set-left::before{content:"\\F077B"}.mdi-set-left-center::before{content:"\\F077C"}.mdi-set-left-right::before{content:"\\F077D"}.mdi-set-merge::before{content:"\\F14E0"}.mdi-set-none::before{content:"\\F077E"}.mdi-set-right::before{content:"\\F077F"}.mdi-set-split::before{content:"\\F14E1"}.mdi-set-square::before{content:"\\F145D"}.mdi-set-top-box::before{content:"\\F099F"}.mdi-settings-helper::before{content:"\\F0A6E"}.mdi-shaker::before{content:"\\F110E"}.mdi-shaker-outline::before{content:"\\F110F"}.mdi-shape::before{content:"\\F0831"}.mdi-shape-circle-plus::before{content:"\\F065D"}.mdi-shape-outline::before{content:"\\F0832"}.mdi-shape-oval-plus::before{content:"\\F11FA"}.mdi-shape-plus::before{content:"\\F0495"}.mdi-shape-polygon-plus::before{content:"\\F065E"}.mdi-shape-rectangle-plus::before{content:"\\F065F"}.mdi-shape-square-plus::before{content:"\\F0660"}.mdi-share::before{content:"\\F0496"}.mdi-share-all::before{content:"\\F11F4"}.mdi-share-all-outline::before{content:"\\F11F5"}.mdi-share-circle::before{content:"\\F11AD"}.mdi-share-off::before{content:"\\F0F23"}.mdi-share-off-outline::before{content:"\\F0F24"}.mdi-share-outline::before{content:"\\F0932"}.mdi-share-variant::before{content:"\\F0497"}.mdi-sheep::before{content:"\\F0CC6"}.mdi-shield::before{content:"\\F0498"}.mdi-shield-account::before{content:"\\F088F"}.mdi-shield-account-outline::before{content:"\\F0A12"}.mdi-shield-airplane::before{content:"\\F06BB"}.mdi-shield-airplane-outline::before{content:"\\F0CC7"}.mdi-shield-alert::before{content:"\\F0ECC"}.mdi-shield-alert-outline::before{content:"\\F0ECD"}.mdi-shield-bug::before{content:"\\F13DA"}.mdi-shield-bug-outline::before{content:"\\F13DB"}.mdi-shield-car::before{content:"\\F0F83"}.mdi-shield-check::before{content:"\\F0565"}.mdi-shield-check-outline::before{content:"\\F0CC8"}.mdi-shield-cross::before{content:"\\F0CC9"}.mdi-shield-cross-outline::before{content:"\\F0CCA"}.mdi-shield-edit::before{content:"\\F11A0"}.mdi-shield-edit-outline::before{content:"\\F11A1"}.mdi-shield-half::before{content:"\\F1360"}.mdi-shield-half-full::before{content:"\\F0780"}.mdi-shield-home::before{content:"\\F068A"}.mdi-shield-home-outline::before{content:"\\F0CCB"}.mdi-shield-key::before{content:"\\F0BC4"}.mdi-shield-key-outline::before{content:"\\F0BC5"}.mdi-shield-link-variant::before{content:"\\F0D33"}.mdi-shield-link-variant-outline::before{content:"\\F0D34"}.mdi-shield-lock::before{content:"\\F099D"}.mdi-shield-lock-outline::before{content:"\\F0CCC"}.mdi-shield-off::before{content:"\\F099E"}.mdi-shield-off-outline::before{content:"\\F099C"}.mdi-shield-outline::before{content:"\\F0499"}.mdi-shield-plus::before{content:"\\F0ADA"}.mdi-shield-plus-outline::before{content:"\\F0ADB"}.mdi-shield-refresh::before{content:"\\F00AA"}.mdi-shield-refresh-outline::before{content:"\\F01E0"}.mdi-shield-remove::before{content:"\\F0ADC"}.mdi-shield-remove-outline::before{content:"\\F0ADD"}.mdi-shield-search::before{content:"\\F0D9A"}.mdi-shield-star::before{content:"\\F113B"}.mdi-shield-star-outline::before{content:"\\F113C"}.mdi-shield-sun::before{content:"\\F105D"}.mdi-shield-sun-outline::before{content:"\\F105E"}.mdi-shield-sync::before{content:"\\F11A2"}.mdi-shield-sync-outline::before{content:"\\F11A3"}.mdi-ship-wheel::before{content:"\\F0833"}.mdi-shoe-formal::before{content:"\\F0B47"}.mdi-shoe-heel::before{content:"\\F0B48"}.mdi-shoe-print::before{content:"\\F0DFA"}.mdi-shopping::before{content:"\\F049A"}.mdi-shopping-music::before{content:"\\F049B"}.mdi-shopping-outline::before{content:"\\F11D5"}.mdi-shopping-search::before{content:"\\F0F84"}.mdi-shovel::before{content:"\\F0710"}.mdi-shovel-off::before{content:"\\F0711"}.mdi-shower::before{content:"\\F09A0"}.mdi-shower-head::before{content:"\\F09A1"}.mdi-shredder::before{content:"\\F049C"}.mdi-shuffle::before{content:"\\F049D"}.mdi-shuffle-disabled::before{content:"\\F049E"}.mdi-shuffle-variant::before{content:"\\F049F"}.mdi-shuriken::before{content:"\\F137F"}.mdi-sigma::before{content:"\\F04A0"}.mdi-sigma-lower::before{content:"\\F062B"}.mdi-sign-caution::before{content:"\\F04A1"}.mdi-sign-direction::before{content:"\\F0781"}.mdi-sign-direction-minus::before{content:"\\F1000"}.mdi-sign-direction-plus::before{content:"\\F0FDC"}.mdi-sign-direction-remove::before{content:"\\F0FDD"}.mdi-sign-real-estate::before{content:"\\F1118"}.mdi-sign-text::before{content:"\\F0782"}.mdi-signal::before{content:"\\F04A2"}.mdi-signal-2g::before{content:"\\F0712"}.mdi-signal-3g::before{content:"\\F0713"}.mdi-signal-4g::before{content:"\\F0714"}.mdi-signal-5g::before{content:"\\F0A6F"}.mdi-signal-cellular-1::before{content:"\\F08BC"}.mdi-signal-cellular-2::before{content:"\\F08BD"}.mdi-signal-cellular-3::before{content:"\\F08BE"}.mdi-signal-cellular-outline::before{content:"\\F08BF"}.mdi-signal-distance-variant::before{content:"\\F0E64"}.mdi-signal-hspa::before{content:"\\F0715"}.mdi-signal-hspa-plus::before{content:"\\F0716"}.mdi-signal-off::before{content:"\\F0783"}.mdi-signal-variant::before{content:"\\F060A"}.mdi-signature::before{content:"\\F0DFB"}.mdi-signature-freehand::before{content:"\\F0DFC"}.mdi-signature-image::before{content:"\\F0DFD"}.mdi-signature-text::before{content:"\\F0DFE"}.mdi-silo::before{content:"\\F0B49"}.mdi-silverware::before{content:"\\F04A3"}.mdi-silverware-clean::before{content:"\\F0FDE"}.mdi-silverware-fork::before{content:"\\F04A4"}.mdi-silverware-fork-knife::before{content:"\\F0A70"}.mdi-silverware-spoon::before{content:"\\F04A5"}.mdi-silverware-variant::before{content:"\\F04A6"}.mdi-sim::before{content:"\\F04A7"}.mdi-sim-alert::before{content:"\\F04A8"}.mdi-sim-off::before{content:"\\F04A9"}.mdi-simple-icons::before{content:"\\F131D"}.mdi-sina-weibo::before{content:"\\F0ADF"}.mdi-sine-wave::before{content:"\\F095B"}.mdi-sitemap::before{content:"\\F04AA"}.mdi-size-l::before{content:"\\F13A6"}.mdi-size-m::before{content:"\\F13A5"}.mdi-size-s::before{content:"\\F13A4"}.mdi-size-xl::before{content:"\\F13A7"}.mdi-size-xs::before{content:"\\F13A3"}.mdi-size-xxl::before{content:"\\F13A8"}.mdi-size-xxs::before{content:"\\F13A2"}.mdi-size-xxxl::before{content:"\\F13A9"}.mdi-skate::before{content:"\\F0D35"}.mdi-skateboard::before{content:"\\F14C2"}.mdi-skew-less::before{content:"\\F0D36"}.mdi-skew-more::before{content:"\\F0D37"}.mdi-ski::before{content:"\\F1304"}.mdi-ski-cross-country::before{content:"\\F1305"}.mdi-ski-water::before{content:"\\F1306"}.mdi-skip-backward::before{content:"\\F04AB"}.mdi-skip-backward-outline::before{content:"\\F0F25"}.mdi-skip-forward::before{content:"\\F04AC"}.mdi-skip-forward-outline::before{content:"\\F0F26"}.mdi-skip-next::before{content:"\\F04AD"}.mdi-skip-next-circle::before{content:"\\F0661"}.mdi-skip-next-circle-outline::before{content:"\\F0662"}.mdi-skip-next-outline::before{content:"\\F0F27"}.mdi-skip-previous::before{content:"\\F04AE"}.mdi-skip-previous-circle::before{content:"\\F0663"}.mdi-skip-previous-circle-outline::before{content:"\\F0664"}.mdi-skip-previous-outline::before{content:"\\F0F28"}.mdi-skull::before{content:"\\F068C"}.mdi-skull-crossbones::before{content:"\\F0BC6"}.mdi-skull-crossbones-outline::before{content:"\\F0BC7"}.mdi-skull-outline::before{content:"\\F0BC8"}.mdi-skull-scan::before{content:"\\F14C7"}.mdi-skull-scan-outline::before{content:"\\F14C8"}.mdi-skype::before{content:"\\F04AF"}.mdi-skype-business::before{content:"\\F04B0"}.mdi-slack::before{content:"\\F04B1"}.mdi-slash-forward::before{content:"\\F0FDF"}.mdi-slash-forward-box::before{content:"\\F0FE0"}.mdi-sleep::before{content:"\\F04B2"}.mdi-sleep-off::before{content:"\\F04B3"}.mdi-slope-downhill::before{content:"\\F0DFF"}.mdi-slope-uphill::before{content:"\\F0E00"}.mdi-slot-machine::before{content:"\\F1114"}.mdi-slot-machine-outline::before{content:"\\F1115"}.mdi-smart-card::before{content:"\\F10BD"}.mdi-smart-card-outline::before{content:"\\F10BE"}.mdi-smart-card-reader::before{content:"\\F10BF"}.mdi-smart-card-reader-outline::before{content:"\\F10C0"}.mdi-smog::before{content:"\\F0A71"}.mdi-smoke-detector::before{content:"\\F0392"}.mdi-smoking::before{content:"\\F04B4"}.mdi-smoking-off::before{content:"\\F04B5"}.mdi-smoking-pipe::before{content:"\\F140D"}.mdi-smoking-pipe-off::before{content:"\\F1428"}.mdi-snapchat::before{content:"\\F04B6"}.mdi-snowboard::before{content:"\\F1307"}.mdi-snowflake::before{content:"\\F0717"}.mdi-snowflake-alert::before{content:"\\F0F29"}.mdi-snowflake-melt::before{content:"\\F12CB"}.mdi-snowflake-variant::before{content:"\\F0F2A"}.mdi-snowman::before{content:"\\F04B7"}.mdi-soccer::before{content:"\\F04B8"}.mdi-soccer-field::before{content:"\\F0834"}.mdi-sofa::before{content:"\\F04B9"}.mdi-solar-panel::before{content:"\\F0D9B"}.mdi-solar-panel-large::before{content:"\\F0D9C"}.mdi-solar-power::before{content:"\\F0A72"}.mdi-soldering-iron::before{content:"\\F1092"}.mdi-solid::before{content:"\\F068D"}.mdi-sony-playstation::before{content:"\\F0414"}.mdi-sort::before{content:"\\F04BA"}.mdi-sort-alphabetical-ascending::before{content:"\\F05BD"}.mdi-sort-alphabetical-ascending-variant::before{content:"\\F1148"}.mdi-sort-alphabetical-descending::before{content:"\\F05BF"}.mdi-sort-alphabetical-descending-variant::before{content:"\\F1149"}.mdi-sort-alphabetical-variant::before{content:"\\F04BB"}.mdi-sort-ascending::before{content:"\\F04BC"}.mdi-sort-bool-ascending::before{content:"\\F1385"}.mdi-sort-bool-ascending-variant::before{content:"\\F1386"}.mdi-sort-bool-descending::before{content:"\\F1387"}.mdi-sort-bool-descending-variant::before{content:"\\F1388"}.mdi-sort-descending::before{content:"\\F04BD"}.mdi-sort-numeric-ascending::before{content:"\\F1389"}.mdi-sort-numeric-ascending-variant::before{content:"\\F090D"}.mdi-sort-numeric-descending::before{content:"\\F138A"}.mdi-sort-numeric-descending-variant::before{content:"\\F0AD2"}.mdi-sort-numeric-variant::before{content:"\\F04BE"}.mdi-sort-reverse-variant::before{content:"\\F033C"}.mdi-sort-variant::before{content:"\\F04BF"}.mdi-sort-variant-lock::before{content:"\\F0CCD"}.mdi-sort-variant-lock-open::before{content:"\\F0CCE"}.mdi-sort-variant-remove::before{content:"\\F1147"}.mdi-soundcloud::before{content:"\\F04C0"}.mdi-source-branch::before{content:"\\F062C"}.mdi-source-branch-check::before{content:"\\F14CF"}.mdi-source-branch-minus::before{content:"\\F14CB"}.mdi-source-branch-plus::before{content:"\\F14CA"}.mdi-source-branch-refresh::before{content:"\\F14CD"}.mdi-source-branch-remove::before{content:"\\F14CC"}.mdi-source-branch-sync::before{content:"\\F14CE"}.mdi-source-commit::before{content:"\\F0718"}.mdi-source-commit-end::before{content:"\\F0719"}.mdi-source-commit-end-local::before{content:"\\F071A"}.mdi-source-commit-local::before{content:"\\F071B"}.mdi-source-commit-next-local::before{content:"\\F071C"}.mdi-source-commit-start::before{content:"\\F071D"}.mdi-source-commit-start-next-local::before{content:"\\F071E"}.mdi-source-fork::before{content:"\\F04C1"}.mdi-source-merge::before{content:"\\F062D"}.mdi-source-pull::before{content:"\\F04C2"}.mdi-source-repository::before{content:"\\F0CCF"}.mdi-source-repository-multiple::before{content:"\\F0CD0"}.mdi-soy-sauce::before{content:"\\F07EE"}.mdi-soy-sauce-off::before{content:"\\F13FC"}.mdi-spa::before{content:"\\F0CD1"}.mdi-spa-outline::before{content:"\\F0CD2"}.mdi-space-invaders::before{content:"\\F0BC9"}.mdi-space-station::before{content:"\\F1383"}.mdi-spade::before{content:"\\F0E65"}.mdi-speaker::before{content:"\\F04C3"}.mdi-speaker-bluetooth::before{content:"\\F09A2"}.mdi-speaker-multiple::before{content:"\\F0D38"}.mdi-speaker-off::before{content:"\\F04C4"}.mdi-speaker-wireless::before{content:"\\F071F"}.mdi-speedometer::before{content:"\\F04C5"}.mdi-speedometer-medium::before{content:"\\F0F85"}.mdi-speedometer-slow::before{content:"\\F0F86"}.mdi-spellcheck::before{content:"\\F04C6"}.mdi-spider::before{content:"\\F11EA"}.mdi-spider-thread::before{content:"\\F11EB"}.mdi-spider-web::before{content:"\\F0BCA"}.mdi-spoon-sugar::before{content:"\\F1429"}.mdi-spotify::before{content:"\\F04C7"}.mdi-spotlight::before{content:"\\F04C8"}.mdi-spotlight-beam::before{content:"\\F04C9"}.mdi-spray::before{content:"\\F0665"}.mdi-spray-bottle::before{content:"\\F0AE0"}.mdi-sprinkler::before{content:"\\F105F"}.mdi-sprinkler-variant::before{content:"\\F1060"}.mdi-sprout::before{content:"\\F0E66"}.mdi-sprout-outline::before{content:"\\F0E67"}.mdi-square::before{content:"\\F0764"}.mdi-square-edit-outline::before{content:"\\F090C"}.mdi-square-medium::before{content:"\\F0A13"}.mdi-square-medium-outline::before{content:"\\F0A14"}.mdi-square-off::before{content:"\\F12EE"}.mdi-square-off-outline::before{content:"\\F12EF"}.mdi-square-outline::before{content:"\\F0763"}.mdi-square-root::before{content:"\\F0784"}.mdi-square-root-box::before{content:"\\F09A3"}.mdi-square-small::before{content:"\\F0A15"}.mdi-square-wave::before{content:"\\F147B"}.mdi-squeegee::before{content:"\\F0AE1"}.mdi-ssh::before{content:"\\F08C0"}.mdi-stack-exchange::before{content:"\\F060B"}.mdi-stack-overflow::before{content:"\\F04CC"}.mdi-stackpath::before{content:"\\F0359"}.mdi-stadium::before{content:"\\F0FF9"}.mdi-stadium-variant::before{content:"\\F0720"}.mdi-stairs::before{content:"\\F04CD"}.mdi-stairs-box::before{content:"\\F139E"}.mdi-stairs-down::before{content:"\\F12BE"}.mdi-stairs-up::before{content:"\\F12BD"}.mdi-stamper::before{content:"\\F0D39"}.mdi-standard-definition::before{content:"\\F07EF"}.mdi-star::before{content:"\\F04CE"}.mdi-star-box::before{content:"\\F0A73"}.mdi-star-box-multiple::before{content:"\\F1286"}.mdi-star-box-multiple-outline::before{content:"\\F1287"}.mdi-star-box-outline::before{content:"\\F0A74"}.mdi-star-circle::before{content:"\\F04CF"}.mdi-star-circle-outline::before{content:"\\F09A4"}.mdi-star-face::before{content:"\\F09A5"}.mdi-star-four-points::before{content:"\\F0AE2"}.mdi-star-four-points-outline::before{content:"\\F0AE3"}.mdi-star-half::before{content:"\\F0246"}.mdi-star-half-full::before{content:"\\F04D0"}.mdi-star-off::before{content:"\\F04D1"}.mdi-star-outline::before{content:"\\F04D2"}.mdi-star-three-points::before{content:"\\F0AE4"}.mdi-star-three-points-outline::before{content:"\\F0AE5"}.mdi-state-machine::before{content:"\\F11EF"}.mdi-steam::before{content:"\\F04D3"}.mdi-steering::before{content:"\\F04D4"}.mdi-steering-off::before{content:"\\F090E"}.mdi-step-backward::before{content:"\\F04D5"}.mdi-step-backward-2::before{content:"\\F04D6"}.mdi-step-forward::before{content:"\\F04D7"}.mdi-step-forward-2::before{content:"\\F04D8"}.mdi-stethoscope::before{content:"\\F04D9"}.mdi-sticker::before{content:"\\F1364"}.mdi-sticker-alert::before{content:"\\F1365"}.mdi-sticker-alert-outline::before{content:"\\F1366"}.mdi-sticker-check::before{content:"\\F1367"}.mdi-sticker-check-outline::before{content:"\\F1368"}.mdi-sticker-circle-outline::before{content:"\\F05D0"}.mdi-sticker-emoji::before{content:"\\F0785"}.mdi-sticker-minus::before{content:"\\F1369"}.mdi-sticker-minus-outline::before{content:"\\F136A"}.mdi-sticker-outline::before{content:"\\F136B"}.mdi-sticker-plus::before{content:"\\F136C"}.mdi-sticker-plus-outline::before{content:"\\F136D"}.mdi-sticker-remove::before{content:"\\F136E"}.mdi-sticker-remove-outline::before{content:"\\F136F"}.mdi-stocking::before{content:"\\F04DA"}.mdi-stomach::before{content:"\\F1093"}.mdi-stop::before{content:"\\F04DB"}.mdi-stop-circle::before{content:"\\F0666"}.mdi-stop-circle-outline::before{content:"\\F0667"}.mdi-store::before{content:"\\F04DC"}.mdi-store-24-hour::before{content:"\\F04DD"}.mdi-store-outline::before{content:"\\F1361"}.mdi-storefront::before{content:"\\F07C7"}.mdi-storefront-outline::before{content:"\\F10C1"}.mdi-stove::before{content:"\\F04DE"}.mdi-strategy::before{content:"\\F11D6"}.mdi-stretch-to-page::before{content:"\\F0F2B"}.mdi-stretch-to-page-outline::before{content:"\\F0F2C"}.mdi-string-lights::before{content:"\\F12BA"}.mdi-string-lights-off::before{content:"\\F12BB"}.mdi-subdirectory-arrow-left::before{content:"\\F060C"}.mdi-subdirectory-arrow-right::before{content:"\\F060D"}.mdi-subtitles::before{content:"\\F0A16"}.mdi-subtitles-outline::before{content:"\\F0A17"}.mdi-subway::before{content:"\\F06AC"}.mdi-subway-alert-variant::before{content:"\\F0D9D"}.mdi-subway-variant::before{content:"\\F04DF"}.mdi-summit::before{content:"\\F0786"}.mdi-sunglasses::before{content:"\\F04E0"}.mdi-surround-sound::before{content:"\\F05C5"}.mdi-surround-sound-2-0::before{content:"\\F07F0"}.mdi-surround-sound-3-1::before{content:"\\F07F1"}.mdi-surround-sound-5-1::before{content:"\\F07F2"}.mdi-surround-sound-7-1::before{content:"\\F07F3"}.mdi-svg::before{content:"\\F0721"}.mdi-swap-horizontal::before{content:"\\F04E1"}.mdi-swap-horizontal-bold::before{content:"\\F0BCD"}.mdi-swap-horizontal-circle::before{content:"\\F0FE1"}.mdi-swap-horizontal-circle-outline::before{content:"\\F0FE2"}.mdi-swap-horizontal-variant::before{content:"\\F08C1"}.mdi-swap-vertical::before{content:"\\F04E2"}.mdi-swap-vertical-bold::before{content:"\\F0BCE"}.mdi-swap-vertical-circle::before{content:"\\F0FE3"}.mdi-swap-vertical-circle-outline::before{content:"\\F0FE4"}.mdi-swap-vertical-variant::before{content:"\\F08C2"}.mdi-swim::before{content:"\\F04E3"}.mdi-switch::before{content:"\\F04E4"}.mdi-sword::before{content:"\\F04E5"}.mdi-sword-cross::before{content:"\\F0787"}.mdi-syllabary-hangul::before{content:"\\F1333"}.mdi-syllabary-hiragana::before{content:"\\F1334"}.mdi-syllabary-katakana::before{content:"\\F1335"}.mdi-syllabary-katakana-halfwidth::before{content:"\\F1336"}.mdi-symfony::before{content:"\\F0AE6"}.mdi-sync::before{content:"\\F04E6"}.mdi-sync-alert::before{content:"\\F04E7"}.mdi-sync-circle::before{content:"\\F1378"}.mdi-sync-off::before{content:"\\F04E8"}.mdi-tab::before{content:"\\F04E9"}.mdi-tab-minus::before{content:"\\F0B4B"}.mdi-tab-plus::before{content:"\\F075C"}.mdi-tab-remove::before{content:"\\F0B4C"}.mdi-tab-unselected::before{content:"\\F04EA"}.mdi-table::before{content:"\\F04EB"}.mdi-table-account::before{content:"\\F13B9"}.mdi-table-alert::before{content:"\\F13BA"}.mdi-table-arrow-down::before{content:"\\F13BB"}.mdi-table-arrow-left::before{content:"\\F13BC"}.mdi-table-arrow-right::before{content:"\\F13BD"}.mdi-table-arrow-up::before{content:"\\F13BE"}.mdi-table-border::before{content:"\\F0A18"}.mdi-table-cancel::before{content:"\\F13BF"}.mdi-table-chair::before{content:"\\F1061"}.mdi-table-check::before{content:"\\F13C0"}.mdi-table-clock::before{content:"\\F13C1"}.mdi-table-cog::before{content:"\\F13C2"}.mdi-table-column::before{content:"\\F0835"}.mdi-table-column-plus-after::before{content:"\\F04EC"}.mdi-table-column-plus-before::before{content:"\\F04ED"}.mdi-table-column-remove::before{content:"\\F04EE"}.mdi-table-column-width::before{content:"\\F04EF"}.mdi-table-edit::before{content:"\\F04F0"}.mdi-table-eye::before{content:"\\F1094"}.mdi-table-eye-off::before{content:"\\F13C3"}.mdi-table-furniture::before{content:"\\F05BC"}.mdi-table-headers-eye::before{content:"\\F121D"}.mdi-table-headers-eye-off::before{content:"\\F121E"}.mdi-table-heart::before{content:"\\F13C4"}.mdi-table-key::before{content:"\\F13C5"}.mdi-table-large::before{content:"\\F04F1"}.mdi-table-large-plus::before{content:"\\F0F87"}.mdi-table-large-remove::before{content:"\\F0F88"}.mdi-table-lock::before{content:"\\F13C6"}.mdi-table-merge-cells::before{content:"\\F09A6"}.mdi-table-minus::before{content:"\\F13C7"}.mdi-table-multiple::before{content:"\\F13C8"}.mdi-table-network::before{content:"\\F13C9"}.mdi-table-of-contents::before{content:"\\F0836"}.mdi-table-off::before{content:"\\F13CA"}.mdi-table-plus::before{content:"\\F0A75"}.mdi-table-refresh::before{content:"\\F13A0"}.mdi-table-remove::before{content:"\\F0A76"}.mdi-table-row::before{content:"\\F0837"}.mdi-table-row-height::before{content:"\\F04F2"}.mdi-table-row-plus-after::before{content:"\\F04F3"}.mdi-table-row-plus-before::before{content:"\\F04F4"}.mdi-table-row-remove::before{content:"\\F04F5"}.mdi-table-search::before{content:"\\F090F"}.mdi-table-settings::before{content:"\\F0838"}.mdi-table-split-cell::before{content:"\\F142A"}.mdi-table-star::before{content:"\\F13CB"}.mdi-table-sync::before{content:"\\F13A1"}.mdi-table-tennis::before{content:"\\F0E68"}.mdi-tablet::before{content:"\\F04F6"}.mdi-tablet-android::before{content:"\\F04F7"}.mdi-tablet-cellphone::before{content:"\\F09A7"}.mdi-tablet-dashboard::before{content:"\\F0ECE"}.mdi-tablet-ipad::before{content:"\\F04F8"}.mdi-taco::before{content:"\\F0762"}.mdi-tag::before{content:"\\F04F9"}.mdi-tag-faces::before{content:"\\F04FA"}.mdi-tag-heart::before{content:"\\F068B"}.mdi-tag-heart-outline::before{content:"\\F0BCF"}.mdi-tag-minus::before{content:"\\F0910"}.mdi-tag-minus-outline::before{content:"\\F121F"}.mdi-tag-multiple::before{content:"\\F04FB"}.mdi-tag-multiple-outline::before{content:"\\F12F7"}.mdi-tag-off::before{content:"\\F1220"}.mdi-tag-off-outline::before{content:"\\F1221"}.mdi-tag-outline::before{content:"\\F04FC"}.mdi-tag-plus::before{content:"\\F0722"}.mdi-tag-plus-outline::before{content:"\\F1222"}.mdi-tag-remove::before{content:"\\F0723"}.mdi-tag-remove-outline::before{content:"\\F1223"}.mdi-tag-text::before{content:"\\F1224"}.mdi-tag-text-outline::before{content:"\\F04FD"}.mdi-tailwind::before{content:"\\F13FF"}.mdi-tank::before{content:"\\F0D3A"}.mdi-tanker-truck::before{content:"\\F0FE5"}.mdi-tape-measure::before{content:"\\F0B4D"}.mdi-target::before{content:"\\F04FE"}.mdi-target-account::before{content:"\\F0BD0"}.mdi-target-variant::before{content:"\\F0A77"}.mdi-taxi::before{content:"\\F04FF"}.mdi-tea::before{content:"\\F0D9E"}.mdi-tea-outline::before{content:"\\F0D9F"}.mdi-teach::before{content:"\\F0890"}.mdi-teamviewer::before{content:"\\F0500"}.mdi-telegram::before{content:"\\F0501"}.mdi-telescope::before{content:"\\F0B4E"}.mdi-television::before{content:"\\F0502"}.mdi-television-ambient-light::before{content:"\\F1356"}.mdi-television-box::before{content:"\\F0839"}.mdi-television-classic::before{content:"\\F07F4"}.mdi-television-classic-off::before{content:"\\F083A"}.mdi-television-clean::before{content:"\\F1110"}.mdi-television-guide::before{content:"\\F0503"}.mdi-television-off::before{content:"\\F083B"}.mdi-television-pause::before{content:"\\F0F89"}.mdi-television-play::before{content:"\\F0ECF"}.mdi-television-stop::before{content:"\\F0F8A"}.mdi-temperature-celsius::before{content:"\\F0504"}.mdi-temperature-fahrenheit::before{content:"\\F0505"}.mdi-temperature-kelvin::before{content:"\\F0506"}.mdi-tennis::before{content:"\\F0DA0"}.mdi-tennis-ball::before{content:"\\F0507"}.mdi-tent::before{content:"\\F0508"}.mdi-terraform::before{content:"\\F1062"}.mdi-terrain::before{content:"\\F0509"}.mdi-test-tube::before{content:"\\F0668"}.mdi-test-tube-empty::before{content:"\\F0911"}.mdi-test-tube-off::before{content:"\\F0912"}.mdi-text::before{content:"\\F09A8"}.mdi-text-box::before{content:"\\F021A"}.mdi-text-box-check::before{content:"\\F0EA6"}.mdi-text-box-check-outline::before{content:"\\F0EA7"}.mdi-text-box-minus::before{content:"\\F0EA8"}.mdi-text-box-minus-outline::before{content:"\\F0EA9"}.mdi-text-box-multiple::before{content:"\\F0AB7"}.mdi-text-box-multiple-outline::before{content:"\\F0AB8"}.mdi-text-box-outline::before{content:"\\F09ED"}.mdi-text-box-plus::before{content:"\\F0EAA"}.mdi-text-box-plus-outline::before{content:"\\F0EAB"}.mdi-text-box-remove::before{content:"\\F0EAC"}.mdi-text-box-remove-outline::before{content:"\\F0EAD"}.mdi-text-box-search::before{content:"\\F0EAE"}.mdi-text-box-search-outline::before{content:"\\F0EAF"}.mdi-text-recognition::before{content:"\\F113D"}.mdi-text-search::before{content:"\\F13B8"}.mdi-text-shadow::before{content:"\\F0669"}.mdi-text-short::before{content:"\\F09A9"}.mdi-text-subject::before{content:"\\F09AA"}.mdi-text-to-speech::before{content:"\\F050A"}.mdi-text-to-speech-off::before{content:"\\F050B"}.mdi-texture::before{content:"\\F050C"}.mdi-texture-box::before{content:"\\F0FE6"}.mdi-theater::before{content:"\\F050D"}.mdi-theme-light-dark::before{content:"\\F050E"}.mdi-thermometer::before{content:"\\F050F"}.mdi-thermometer-alert::before{content:"\\F0E01"}.mdi-thermometer-chevron-down::before{content:"\\F0E02"}.mdi-thermometer-chevron-up::before{content:"\\F0E03"}.mdi-thermometer-high::before{content:"\\F10C2"}.mdi-thermometer-lines::before{content:"\\F0510"}.mdi-thermometer-low::before{content:"\\F10C3"}.mdi-thermometer-minus::before{content:"\\F0E04"}.mdi-thermometer-plus::before{content:"\\F0E05"}.mdi-thermostat::before{content:"\\F0393"}.mdi-thermostat-box::before{content:"\\F0891"}.mdi-thought-bubble::before{content:"\\F07F6"}.mdi-thought-bubble-outline::before{content:"\\F07F7"}.mdi-thumb-down::before{content:"\\F0511"}.mdi-thumb-down-outline::before{content:"\\F0512"}.mdi-thumb-up::before{content:"\\F0513"}.mdi-thumb-up-outline::before{content:"\\F0514"}.mdi-thumbs-up-down::before{content:"\\F0515"}.mdi-ticket::before{content:"\\F0516"}.mdi-ticket-account::before{content:"\\F0517"}.mdi-ticket-confirmation::before{content:"\\F0518"}.mdi-ticket-confirmation-outline::before{content:"\\F13AA"}.mdi-ticket-outline::before{content:"\\F0913"}.mdi-ticket-percent::before{content:"\\F0724"}.mdi-ticket-percent-outline::before{content:"\\F142B"}.mdi-tie::before{content:"\\F0519"}.mdi-tilde::before{content:"\\F0725"}.mdi-timelapse::before{content:"\\F051A"}.mdi-timeline::before{content:"\\F0BD1"}.mdi-timeline-alert::before{content:"\\F0F95"}.mdi-timeline-alert-outline::before{content:"\\F0F98"}.mdi-timeline-clock::before{content:"\\F11FB"}.mdi-timeline-clock-outline::before{content:"\\F11FC"}.mdi-timeline-help::before{content:"\\F0F99"}.mdi-timeline-help-outline::before{content:"\\F0F9A"}.mdi-timeline-outline::before{content:"\\F0BD2"}.mdi-timeline-plus::before{content:"\\F0F96"}.mdi-timeline-plus-outline::before{content:"\\F0F97"}.mdi-timeline-text::before{content:"\\F0BD3"}.mdi-timeline-text-outline::before{content:"\\F0BD4"}.mdi-timer::before{content:"\\F13AB"}.mdi-timer-10::before{content:"\\F051C"}.mdi-timer-3::before{content:"\\F051D"}.mdi-timer-off::before{content:"\\F13AC"}.mdi-timer-off-outline::before{content:"\\F051E"}.mdi-timer-outline::before{content:"\\F051B"}.mdi-timer-sand::before{content:"\\F051F"}.mdi-timer-sand-empty::before{content:"\\F06AD"}.mdi-timer-sand-full::before{content:"\\F078C"}.mdi-timetable::before{content:"\\F0520"}.mdi-toaster::before{content:"\\F1063"}.mdi-toaster-off::before{content:"\\F11B7"}.mdi-toaster-oven::before{content:"\\F0CD3"}.mdi-toggle-switch::before{content:"\\F0521"}.mdi-toggle-switch-off::before{content:"\\F0522"}.mdi-toggle-switch-off-outline::before{content:"\\F0A19"}.mdi-toggle-switch-outline::before{content:"\\F0A1A"}.mdi-toilet::before{content:"\\F09AB"}.mdi-toolbox::before{content:"\\F09AC"}.mdi-toolbox-outline::before{content:"\\F09AD"}.mdi-tools::before{content:"\\F1064"}.mdi-tooltip::before{content:"\\F0523"}.mdi-tooltip-account::before{content:"\\F000C"}.mdi-tooltip-edit::before{content:"\\F0524"}.mdi-tooltip-edit-outline::before{content:"\\F12C5"}.mdi-tooltip-image::before{content:"\\F0525"}.mdi-tooltip-image-outline::before{content:"\\F0BD5"}.mdi-tooltip-outline::before{content:"\\F0526"}.mdi-tooltip-plus::before{content:"\\F0BD6"}.mdi-tooltip-plus-outline::before{content:"\\F0527"}.mdi-tooltip-text::before{content:"\\F0528"}.mdi-tooltip-text-outline::before{content:"\\F0BD7"}.mdi-tooth::before{content:"\\F08C3"}.mdi-tooth-outline::before{content:"\\F0529"}.mdi-toothbrush::before{content:"\\F1129"}.mdi-toothbrush-electric::before{content:"\\F112C"}.mdi-toothbrush-paste::before{content:"\\F112A"}.mdi-tortoise::before{content:"\\F0D3B"}.mdi-toslink::before{content:"\\F12B8"}.mdi-tournament::before{content:"\\F09AE"}.mdi-tow-truck::before{content:"\\F083C"}.mdi-tower-beach::before{content:"\\F0681"}.mdi-tower-fire::before{content:"\\F0682"}.mdi-toy-brick::before{content:"\\F1288"}.mdi-toy-brick-marker::before{content:"\\F1289"}.mdi-toy-brick-marker-outline::before{content:"\\F128A"}.mdi-toy-brick-minus::before{content:"\\F128B"}.mdi-toy-brick-minus-outline::before{content:"\\F128C"}.mdi-toy-brick-outline::before{content:"\\F128D"}.mdi-toy-brick-plus::before{content:"\\F128E"}.mdi-toy-brick-plus-outline::before{content:"\\F128F"}.mdi-toy-brick-remove::before{content:"\\F1290"}.mdi-toy-brick-remove-outline::before{content:"\\F1291"}.mdi-toy-brick-search::before{content:"\\F1292"}.mdi-toy-brick-search-outline::before{content:"\\F1293"}.mdi-track-light::before{content:"\\F0914"}.mdi-trackpad::before{content:"\\F07F8"}.mdi-trackpad-lock::before{content:"\\F0933"}.mdi-tractor::before{content:"\\F0892"}.mdi-tractor-variant::before{content:"\\F14C4"}.mdi-trademark::before{content:"\\F0A78"}.mdi-traffic-cone::before{content:"\\F137C"}.mdi-traffic-light::before{content:"\\F052B"}.mdi-train::before{content:"\\F052C"}.mdi-train-car::before{content:"\\F0BD8"}.mdi-train-variant::before{content:"\\F08C4"}.mdi-tram::before{content:"\\F052D"}.mdi-tram-side::before{content:"\\F0FE7"}.mdi-transcribe::before{content:"\\F052E"}.mdi-transcribe-close::before{content:"\\F052F"}.mdi-transfer::before{content:"\\F1065"}.mdi-transfer-down::before{content:"\\F0DA1"}.mdi-transfer-left::before{content:"\\F0DA2"}.mdi-transfer-right::before{content:"\\F0530"}.mdi-transfer-up::before{content:"\\F0DA3"}.mdi-transit-connection::before{content:"\\F0D3C"}.mdi-transit-connection-variant::before{content:"\\F0D3D"}.mdi-transit-detour::before{content:"\\F0F8B"}.mdi-transit-transfer::before{content:"\\F06AE"}.mdi-transition::before{content:"\\F0915"}.mdi-transition-masked::before{content:"\\F0916"}.mdi-translate::before{content:"\\F05CA"}.mdi-translate-off::before{content:"\\F0E06"}.mdi-transmission-tower::before{content:"\\F0D3E"}.mdi-trash-can::before{content:"\\F0A79"}.mdi-trash-can-outline::before{content:"\\F0A7A"}.mdi-tray::before{content:"\\F1294"}.mdi-tray-alert::before{content:"\\F1295"}.mdi-tray-full::before{content:"\\F1296"}.mdi-tray-minus::before{content:"\\F1297"}.mdi-tray-plus::before{content:"\\F1298"}.mdi-tray-remove::before{content:"\\F1299"}.mdi-treasure-chest::before{content:"\\F0726"}.mdi-tree::before{content:"\\F0531"}.mdi-tree-outline::before{content:"\\F0E69"}.mdi-trello::before{content:"\\F0532"}.mdi-trending-down::before{content:"\\F0533"}.mdi-trending-neutral::before{content:"\\F0534"}.mdi-trending-up::before{content:"\\F0535"}.mdi-triangle::before{content:"\\F0536"}.mdi-triangle-outline::before{content:"\\F0537"}.mdi-triangle-wave::before{content:"\\F147C"}.mdi-triforce::before{content:"\\F0BD9"}.mdi-trophy::before{content:"\\F0538"}.mdi-trophy-award::before{content:"\\F0539"}.mdi-trophy-broken::before{content:"\\F0DA4"}.mdi-trophy-outline::before{content:"\\F053A"}.mdi-trophy-variant::before{content:"\\F053B"}.mdi-trophy-variant-outline::before{content:"\\F053C"}.mdi-truck::before{content:"\\F053D"}.mdi-truck-check::before{content:"\\F0CD4"}.mdi-truck-check-outline::before{content:"\\F129A"}.mdi-truck-delivery::before{content:"\\F053E"}.mdi-truck-delivery-outline::before{content:"\\F129B"}.mdi-truck-fast::before{content:"\\F0788"}.mdi-truck-fast-outline::before{content:"\\F129C"}.mdi-truck-outline::before{content:"\\F129D"}.mdi-truck-trailer::before{content:"\\F0727"}.mdi-trumpet::before{content:"\\F1096"}.mdi-tshirt-crew::before{content:"\\F0A7B"}.mdi-tshirt-crew-outline::before{content:"\\F053F"}.mdi-tshirt-v::before{content:"\\F0A7C"}.mdi-tshirt-v-outline::before{content:"\\F0540"}.mdi-tumble-dryer::before{content:"\\F0917"}.mdi-tumble-dryer-alert::before{content:"\\F11BA"}.mdi-tumble-dryer-off::before{content:"\\F11BB"}.mdi-tune::before{content:"\\F062E"}.mdi-tune-vertical::before{content:"\\F066A"}.mdi-turnstile::before{content:"\\F0CD5"}.mdi-turnstile-outline::before{content:"\\F0CD6"}.mdi-turtle::before{content:"\\F0CD7"}.mdi-twitch::before{content:"\\F0543"}.mdi-twitter::before{content:"\\F0544"}.mdi-twitter-retweet::before{content:"\\F0547"}.mdi-two-factor-authentication::before{content:"\\F09AF"}.mdi-typewriter::before{content:"\\F0F2D"}.mdi-ubisoft::before{content:"\\F0BDA"}.mdi-ubuntu::before{content:"\\F0548"}.mdi-ufo::before{content:"\\F10C4"}.mdi-ufo-outline::before{content:"\\F10C5"}.mdi-ultra-high-definition::before{content:"\\F07F9"}.mdi-umbraco::before{content:"\\F0549"}.mdi-umbrella::before{content:"\\F054A"}.mdi-umbrella-closed::before{content:"\\F09B0"}.mdi-umbrella-closed-outline::before{content:"\\F13E2"}.mdi-umbrella-closed-variant::before{content:"\\F13E1"}.mdi-umbrella-outline::before{content:"\\F054B"}.mdi-undo::before{content:"\\F054C"}.mdi-undo-variant::before{content:"\\F054D"}.mdi-unfold-less-horizontal::before{content:"\\F054E"}.mdi-unfold-less-vertical::before{content:"\\F0760"}.mdi-unfold-more-horizontal::before{content:"\\F054F"}.mdi-unfold-more-vertical::before{content:"\\F0761"}.mdi-ungroup::before{content:"\\F0550"}.mdi-unicode::before{content:"\\F0ED0"}.mdi-unity::before{content:"\\F06AF"}.mdi-unreal::before{content:"\\F09B1"}.mdi-untappd::before{content:"\\F0551"}.mdi-update::before{content:"\\F06B0"}.mdi-upload::before{content:"\\F0552"}.mdi-upload-lock::before{content:"\\F1373"}.mdi-upload-lock-outline::before{content:"\\F1374"}.mdi-upload-multiple::before{content:"\\F083D"}.mdi-upload-network::before{content:"\\F06F6"}.mdi-upload-network-outline::before{content:"\\F0CD8"}.mdi-upload-off::before{content:"\\F10C6"}.mdi-upload-off-outline::before{content:"\\F10C7"}.mdi-upload-outline::before{content:"\\F0E07"}.mdi-usb::before{content:"\\F0553"}.mdi-usb-flash-drive::before{content:"\\F129E"}.mdi-usb-flash-drive-outline::before{content:"\\F129F"}.mdi-usb-port::before{content:"\\F11F0"}.mdi-valve::before{content:"\\F1066"}.mdi-valve-closed::before{content:"\\F1067"}.mdi-valve-open::before{content:"\\F1068"}.mdi-van-passenger::before{content:"\\F07FA"}.mdi-van-utility::before{content:"\\F07FB"}.mdi-vanish::before{content:"\\F07FC"}.mdi-vanity-light::before{content:"\\F11E1"}.mdi-variable::before{content:"\\F0AE7"}.mdi-variable-box::before{content:"\\F1111"}.mdi-vector-arrange-above::before{content:"\\F0554"}.mdi-vector-arrange-below::before{content:"\\F0555"}.mdi-vector-bezier::before{content:"\\F0AE8"}.mdi-vector-circle::before{content:"\\F0556"}.mdi-vector-circle-variant::before{content:"\\F0557"}.mdi-vector-combine::before{content:"\\F0558"}.mdi-vector-curve::before{content:"\\F0559"}.mdi-vector-difference::before{content:"\\F055A"}.mdi-vector-difference-ab::before{content:"\\F055B"}.mdi-vector-difference-ba::before{content:"\\F055C"}.mdi-vector-ellipse::before{content:"\\F0893"}.mdi-vector-intersection::before{content:"\\F055D"}.mdi-vector-line::before{content:"\\F055E"}.mdi-vector-link::before{content:"\\F0FE8"}.mdi-vector-point::before{content:"\\F055F"}.mdi-vector-polygon::before{content:"\\F0560"}.mdi-vector-polyline::before{content:"\\F0561"}.mdi-vector-polyline-edit::before{content:"\\F1225"}.mdi-vector-polyline-minus::before{content:"\\F1226"}.mdi-vector-polyline-plus::before{content:"\\F1227"}.mdi-vector-polyline-remove::before{content:"\\F1228"}.mdi-vector-radius::before{content:"\\F074A"}.mdi-vector-rectangle::before{content:"\\F05C6"}.mdi-vector-selection::before{content:"\\F0562"}.mdi-vector-square::before{content:"\\F0001"}.mdi-vector-triangle::before{content:"\\F0563"}.mdi-vector-union::before{content:"\\F0564"}.mdi-vhs::before{content:"\\F0A1B"}.mdi-vibrate::before{content:"\\F0566"}.mdi-vibrate-off::before{content:"\\F0CD9"}.mdi-video::before{content:"\\F0567"}.mdi-video-3d::before{content:"\\F07FD"}.mdi-video-3d-off::before{content:"\\F13D9"}.mdi-video-3d-variant::before{content:"\\F0ED1"}.mdi-video-4k-box::before{content:"\\F083E"}.mdi-video-account::before{content:"\\F0919"}.mdi-video-box::before{content:"\\F00FD"}.mdi-video-box-off::before{content:"\\F00FE"}.mdi-video-check::before{content:"\\F1069"}.mdi-video-check-outline::before{content:"\\F106A"}.mdi-video-image::before{content:"\\F091A"}.mdi-video-input-antenna::before{content:"\\F083F"}.mdi-video-input-component::before{content:"\\F0840"}.mdi-video-input-hdmi::before{content:"\\F0841"}.mdi-video-input-scart::before{content:"\\F0F8C"}.mdi-video-input-svideo::before{content:"\\F0842"}.mdi-video-minus::before{content:"\\F09B2"}.mdi-video-minus-outline::before{content:"\\F02BA"}.mdi-video-off::before{content:"\\F0568"}.mdi-video-off-outline::before{content:"\\F0BDB"}.mdi-video-outline::before{content:"\\F0BDC"}.mdi-video-plus::before{content:"\\F09B3"}.mdi-video-plus-outline::before{content:"\\F01D3"}.mdi-video-stabilization::before{content:"\\F091B"}.mdi-video-switch::before{content:"\\F0569"}.mdi-video-switch-outline::before{content:"\\F0790"}.mdi-video-vintage::before{content:"\\F0A1C"}.mdi-video-wireless::before{content:"\\F0ED2"}.mdi-video-wireless-outline::before{content:"\\F0ED3"}.mdi-view-agenda::before{content:"\\F056A"}.mdi-view-agenda-outline::before{content:"\\F11D8"}.mdi-view-array::before{content:"\\F056B"}.mdi-view-array-outline::before{content:"\\F1485"}.mdi-view-carousel::before{content:"\\F056C"}.mdi-view-carousel-outline::before{content:"\\F1486"}.mdi-view-column::before{content:"\\F056D"}.mdi-view-column-outline::before{content:"\\F1487"}.mdi-view-comfy::before{content:"\\F0E6A"}.mdi-view-comfy-outline::before{content:"\\F1488"}.mdi-view-compact::before{content:"\\F0E6B"}.mdi-view-compact-outline::before{content:"\\F0E6C"}.mdi-view-dashboard::before{content:"\\F056E"}.mdi-view-dashboard-outline::before{content:"\\F0A1D"}.mdi-view-dashboard-variant::before{content:"\\F0843"}.mdi-view-dashboard-variant-outline::before{content:"\\F1489"}.mdi-view-day::before{content:"\\F056F"}.mdi-view-day-outline::before{content:"\\F148A"}.mdi-view-grid::before{content:"\\F0570"}.mdi-view-grid-outline::before{content:"\\F11D9"}.mdi-view-grid-plus::before{content:"\\F0F8D"}.mdi-view-grid-plus-outline::before{content:"\\F11DA"}.mdi-view-headline::before{content:"\\F0571"}.mdi-view-list::before{content:"\\F0572"}.mdi-view-list-outline::before{content:"\\F148B"}.mdi-view-module::before{content:"\\F0573"}.mdi-view-module-outline::before{content:"\\F148C"}.mdi-view-parallel::before{content:"\\F0728"}.mdi-view-parallel-outline::before{content:"\\F148D"}.mdi-view-quilt::before{content:"\\F0574"}.mdi-view-quilt-outline::before{content:"\\F148E"}.mdi-view-sequential::before{content:"\\F0729"}.mdi-view-sequential-outline::before{content:"\\F148F"}.mdi-view-split-horizontal::before{content:"\\F0BCB"}.mdi-view-split-vertical::before{content:"\\F0BCC"}.mdi-view-stream::before{content:"\\F0575"}.mdi-view-stream-outline::before{content:"\\F1490"}.mdi-view-week::before{content:"\\F0576"}.mdi-view-week-outline::before{content:"\\F1491"}.mdi-vimeo::before{content:"\\F0577"}.mdi-violin::before{content:"\\F060F"}.mdi-virtual-reality::before{content:"\\F0894"}.mdi-virus::before{content:"\\F13B6"}.mdi-virus-outline::before{content:"\\F13B7"}.mdi-vk::before{content:"\\F0579"}.mdi-vlc::before{content:"\\F057C"}.mdi-voice-off::before{content:"\\F0ED4"}.mdi-voicemail::before{content:"\\F057D"}.mdi-volleyball::before{content:"\\F09B4"}.mdi-volume-high::before{content:"\\F057E"}.mdi-volume-low::before{content:"\\F057F"}.mdi-volume-medium::before{content:"\\F0580"}.mdi-volume-minus::before{content:"\\F075E"}.mdi-volume-mute::before{content:"\\F075F"}.mdi-volume-off::before{content:"\\F0581"}.mdi-volume-plus::before{content:"\\F075D"}.mdi-volume-source::before{content:"\\F1120"}.mdi-volume-variant-off::before{content:"\\F0E08"}.mdi-volume-vibrate::before{content:"\\F1121"}.mdi-vote::before{content:"\\F0A1F"}.mdi-vote-outline::before{content:"\\F0A20"}.mdi-vpn::before{content:"\\F0582"}.mdi-vuejs::before{content:"\\F0844"}.mdi-vuetify::before{content:"\\F0E6D"}.mdi-walk::before{content:"\\F0583"}.mdi-wall::before{content:"\\F07FE"}.mdi-wall-sconce::before{content:"\\F091C"}.mdi-wall-sconce-flat::before{content:"\\F091D"}.mdi-wall-sconce-flat-variant::before{content:"\\F041C"}.mdi-wall-sconce-round::before{content:"\\F0748"}.mdi-wall-sconce-round-variant::before{content:"\\F091E"}.mdi-wallet::before{content:"\\F0584"}.mdi-wallet-giftcard::before{content:"\\F0585"}.mdi-wallet-membership::before{content:"\\F0586"}.mdi-wallet-outline::before{content:"\\F0BDD"}.mdi-wallet-plus::before{content:"\\F0F8E"}.mdi-wallet-plus-outline::before{content:"\\F0F8F"}.mdi-wallet-travel::before{content:"\\F0587"}.mdi-wallpaper::before{content:"\\F0E09"}.mdi-wan::before{content:"\\F0588"}.mdi-wardrobe::before{content:"\\F0F90"}.mdi-wardrobe-outline::before{content:"\\F0F91"}.mdi-warehouse::before{content:"\\F0F81"}.mdi-washing-machine::before{content:"\\F072A"}.mdi-washing-machine-alert::before{content:"\\F11BC"}.mdi-washing-machine-off::before{content:"\\F11BD"}.mdi-watch::before{content:"\\F0589"}.mdi-watch-export::before{content:"\\F058A"}.mdi-watch-export-variant::before{content:"\\F0895"}.mdi-watch-import::before{content:"\\F058B"}.mdi-watch-import-variant::before{content:"\\F0896"}.mdi-watch-variant::before{content:"\\F0897"}.mdi-watch-vibrate::before{content:"\\F06B1"}.mdi-watch-vibrate-off::before{content:"\\F0CDA"}.mdi-water::before{content:"\\F058C"}.mdi-water-boiler::before{content:"\\F0F92"}.mdi-water-boiler-alert::before{content:"\\F11B3"}.mdi-water-boiler-off::before{content:"\\F11B4"}.mdi-water-off::before{content:"\\F058D"}.mdi-water-outline::before{content:"\\F0E0A"}.mdi-water-percent::before{content:"\\F058E"}.mdi-water-polo::before{content:"\\F12A0"}.mdi-water-pump::before{content:"\\F058F"}.mdi-water-pump-off::before{content:"\\F0F93"}.mdi-water-well::before{content:"\\F106B"}.mdi-water-well-outline::before{content:"\\F106C"}.mdi-watering-can::before{content:"\\F1481"}.mdi-watering-can-outline::before{content:"\\F1482"}.mdi-watermark::before{content:"\\F0612"}.mdi-wave::before{content:"\\F0F2E"}.mdi-waveform::before{content:"\\F147D"}.mdi-waves::before{content:"\\F078D"}.mdi-waze::before{content:"\\F0BDE"}.mdi-weather-cloudy::before{content:"\\F0590"}.mdi-weather-cloudy-alert::before{content:"\\F0F2F"}.mdi-weather-cloudy-arrow-right::before{content:"\\F0E6E"}.mdi-weather-fog::before{content:"\\F0591"}.mdi-weather-hail::before{content:"\\F0592"}.mdi-weather-hazy::before{content:"\\F0F30"}.mdi-weather-hurricane::before{content:"\\F0898"}.mdi-weather-lightning::before{content:"\\F0593"}.mdi-weather-lightning-rainy::before{content:"\\F067E"}.mdi-weather-night::before{content:"\\F0594"}.mdi-weather-night-partly-cloudy::before{content:"\\F0F31"}.mdi-weather-partly-cloudy::before{content:"\\F0595"}.mdi-weather-partly-lightning::before{content:"\\F0F32"}.mdi-weather-partly-rainy::before{content:"\\F0F33"}.mdi-weather-partly-snowy::before{content:"\\F0F34"}.mdi-weather-partly-snowy-rainy::before{content:"\\F0F35"}.mdi-weather-pouring::before{content:"\\F0596"}.mdi-weather-rainy::before{content:"\\F0597"}.mdi-weather-snowy::before{content:"\\F0598"}.mdi-weather-snowy-heavy::before{content:"\\F0F36"}.mdi-weather-snowy-rainy::before{content:"\\F067F"}.mdi-weather-sunny::before{content:"\\F0599"}.mdi-weather-sunny-alert::before{content:"\\F0F37"}.mdi-weather-sunset::before{content:"\\F059A"}.mdi-weather-sunset-down::before{content:"\\F059B"}.mdi-weather-sunset-up::before{content:"\\F059C"}.mdi-weather-tornado::before{content:"\\F0F38"}.mdi-weather-windy::before{content:"\\F059D"}.mdi-weather-windy-variant::before{content:"\\F059E"}.mdi-web::before{content:"\\F059F"}.mdi-web-box::before{content:"\\F0F94"}.mdi-web-clock::before{content:"\\F124A"}.mdi-webcam::before{content:"\\F05A0"}.mdi-webhook::before{content:"\\F062F"}.mdi-webpack::before{content:"\\F072B"}.mdi-webrtc::before{content:"\\F1248"}.mdi-wechat::before{content:"\\F0611"}.mdi-weight::before{content:"\\F05A1"}.mdi-weight-gram::before{content:"\\F0D3F"}.mdi-weight-kilogram::before{content:"\\F05A2"}.mdi-weight-lifter::before{content:"\\F115D"}.mdi-weight-pound::before{content:"\\F09B5"}.mdi-whatsapp::before{content:"\\F05A3"}.mdi-wheelchair-accessibility::before{content:"\\F05A4"}.mdi-whistle::before{content:"\\F09B6"}.mdi-whistle-outline::before{content:"\\F12BC"}.mdi-white-balance-auto::before{content:"\\F05A5"}.mdi-white-balance-incandescent::before{content:"\\F05A6"}.mdi-white-balance-iridescent::before{content:"\\F05A7"}.mdi-white-balance-sunny::before{content:"\\F05A8"}.mdi-widgets::before{content:"\\F072C"}.mdi-widgets-outline::before{content:"\\F1355"}.mdi-wifi::before{content:"\\F05A9"}.mdi-wifi-off::before{content:"\\F05AA"}.mdi-wifi-star::before{content:"\\F0E0B"}.mdi-wifi-strength-1::before{content:"\\F091F"}.mdi-wifi-strength-1-alert::before{content:"\\F0920"}.mdi-wifi-strength-1-lock::before{content:"\\F0921"}.mdi-wifi-strength-2::before{content:"\\F0922"}.mdi-wifi-strength-2-alert::before{content:"\\F0923"}.mdi-wifi-strength-2-lock::before{content:"\\F0924"}.mdi-wifi-strength-3::before{content:"\\F0925"}.mdi-wifi-strength-3-alert::before{content:"\\F0926"}.mdi-wifi-strength-3-lock::before{content:"\\F0927"}.mdi-wifi-strength-4::before{content:"\\F0928"}.mdi-wifi-strength-4-alert::before{content:"\\F0929"}.mdi-wifi-strength-4-lock::before{content:"\\F092A"}.mdi-wifi-strength-alert-outline::before{content:"\\F092B"}.mdi-wifi-strength-lock-outline::before{content:"\\F092C"}.mdi-wifi-strength-off::before{content:"\\F092D"}.mdi-wifi-strength-off-outline::before{content:"\\F092E"}.mdi-wifi-strength-outline::before{content:"\\F092F"}.mdi-wikipedia::before{content:"\\F05AC"}.mdi-wind-turbine::before{content:"\\F0DA5"}.mdi-window-close::before{content:"\\F05AD"}.mdi-window-closed::before{content:"\\F05AE"}.mdi-window-closed-variant::before{content:"\\F11DB"}.mdi-window-maximize::before{content:"\\F05AF"}.mdi-window-minimize::before{content:"\\F05B0"}.mdi-window-open::before{content:"\\F05B1"}.mdi-window-open-variant::before{content:"\\F11DC"}.mdi-window-restore::before{content:"\\F05B2"}.mdi-window-shutter::before{content:"\\F111C"}.mdi-window-shutter-alert::before{content:"\\F111D"}.mdi-window-shutter-open::before{content:"\\F111E"}.mdi-wiper::before{content:"\\F0AE9"}.mdi-wiper-wash::before{content:"\\F0DA6"}.mdi-wizard-hat::before{content:"\\F1477"}.mdi-wordpress::before{content:"\\F05B4"}.mdi-wrap::before{content:"\\F05B6"}.mdi-wrap-disabled::before{content:"\\F0BDF"}.mdi-wrench::before{content:"\\F05B7"}.mdi-wrench-outline::before{content:"\\F0BE0"}.mdi-xamarin::before{content:"\\F0845"}.mdi-xamarin-outline::before{content:"\\F0846"}.mdi-xing::before{content:"\\F05BE"}.mdi-xml::before{content:"\\F05C0"}.mdi-xmpp::before{content:"\\F07FF"}.mdi-y-combinator::before{content:"\\F0624"}.mdi-yahoo::before{content:"\\F0B4F"}.mdi-yeast::before{content:"\\F05C1"}.mdi-yin-yang::before{content:"\\F0680"}.mdi-yoga::before{content:"\\F117C"}.mdi-youtube::before{content:"\\F05C3"}.mdi-youtube-gaming::before{content:"\\F0848"}.mdi-youtube-studio::before{content:"\\F0847"}.mdi-youtube-subscription::before{content:"\\F0D40"}.mdi-youtube-tv::before{content:"\\F0448"}.mdi-z-wave::before{content:"\\F0AEA"}.mdi-zend::before{content:"\\F0AEB"}.mdi-zigbee::before{content:"\\F0D41"}.mdi-zip-box::before{content:"\\F05C4"}.mdi-zip-box-outline::before{content:"\\F0FFA"}.mdi-zip-disk::before{content:"\\F0A23"}.mdi-zodiac-aquarius::before{content:"\\F0A7D"}.mdi-zodiac-aries::before{content:"\\F0A7E"}.mdi-zodiac-cancer::before{content:"\\F0A7F"}.mdi-zodiac-capricorn::before{content:"\\F0A80"}.mdi-zodiac-gemini::before{content:"\\F0A81"}.mdi-zodiac-leo::before{content:"\\F0A82"}.mdi-zodiac-libra::before{content:"\\F0A83"}.mdi-zodiac-pisces::before{content:"\\F0A84"}.mdi-zodiac-sagittarius::before{content:"\\F0A85"}.mdi-zodiac-scorpio::before{content:"\\F0A86"}.mdi-zodiac-taurus::before{content:"\\F0A87"}.mdi-zodiac-virgo::before{content:"\\F0A88"}.mdi-blank::before{content:"\\F68C";visibility:hidden}.mdi-18px.mdi-set,.mdi-18px.mdi:before{font-size:18px}.mdi-24px.mdi-set,.mdi-24px.mdi:before{font-size:24px}.mdi-36px.mdi-set,.mdi-36px.mdi:before{font-size:36px}.mdi-48px.mdi-set,.mdi-48px.mdi:before{font-size:48px}.mdi-dark:before{color:rgba(0,0,0,0.54)}.mdi-dark.mdi-inactive:before{color:rgba(0,0,0,0.26)}.mdi-light:before{color:#fff}.mdi-light.mdi-inactive:before{color:rgba(255,255,255,0.3)}.mdi-rotate-45:before{transform:rotate(45deg)}.mdi-rotate-90:before{transform:rotate(90deg)}.mdi-rotate-135:before{transform:rotate(135deg)}.mdi-rotate-180:before{transform:rotate(180deg)}.mdi-rotate-225:before{transform:rotate(225deg)}.mdi-rotate-270:before{transform:rotate(270deg)}.mdi-rotate-315:before{transform:rotate(315deg)}.mdi-flip-h:before{transform:scaleX(-1);filter:FlipH;-ms-filter:"FlipH"}.mdi-flip-v:before{transform:scaleY(-1);filter:FlipV;-ms-filter:"FlipV"}.mdi-spin:before{animation:mdi-spin 2s infinite linear}@keyframes mdi-spin{0%{transform:rotate(0deg)}100%{transform:rotate(359deg)}}',""]),e.exports=a},6364:(e,t,n)=>{var o=n(2955)((function(e){return e[1]}));o.push([e.id,".switch-options {\n position: relative;\n --columns: 1;\n}\n.switch-options.grid {\n width: 100%;\n}\n.switch-options .switch-icon {\n margin-right: 8px;\n opacity: 0.75;\n transform: scale(0.9);\n}\n.switch-options .dim {\n opacity: 0.5;\n}\n.switch-options-grid {\n font-size: 12px;\n display: grid;\n grid-template-columns: repeat(auto-fill, 50%);\n}\n.switch-options-popup {\n font-size: 12px;\n transition: 0.2s ease-out;\n transform-origin: left;\n transform: translateY(-50%) scale(0.9);\n top: 50%;\n left: calc(100% + 8px);\n background-color: #fff;\n box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.05);\n white-space: nowrap;\n padding: 4px;\n display: grid;\n width: max-content;\n grid-template-columns: repeat(var(--columns), auto);\n border-radius: 5px;\n border: 1px solid #8882;\n max-height: calc(100vh - 100px);\n overflow: auto;\n scrollbar-width: none !important;\n overscroll-behavior: contain;\n}\nbody.dark .switch-options-popup {\n background-color: var(--be-color-panel-bg, #333);\n}\nbody.dark .switch-options-popup {\n box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.2);\n}\n.switch-options-popup::-webkit-scrollbar {\n height: 0 !important;\n width: 0 !important;\n}\n.switch-options-popup.open {\n transform: translateY(-50%) scale(1);\n}\nbody.settings-panel-dock-right .switch-options-popup {\n right: calc(100% + 8px);\n left: unset;\n transform-origin: right;\n}\n.switch-options.small-size .switch-options-popup {\n transform-origin: top;\n top: calc(100% + 8px);\n left: 50%;\n transform: translateX(-50%) scale(0.9);\n}\n.switch-options.small-size .switch-options-popup.open {\n transform: translateX(-50%) scale(1);\n}",""]),e.exports=o},5330:(e,t,n)=>{var o=n(2955)((function(e){return e[1]}));o.push([e.id,".check-all-updates[data-v-76652ef2] {\n margin: 1px 0;\n}\n.check-all-updates .be-icon[data-v-76652ef2] {\n margin-right: 6px;\n}",""]),e.exports=o},794:(e,t,n)=>{var o=n(2955)((function(e){return e[1]}));o.push([e.id,".bisector-dialog-content-container[data-v-31cf1990] {\n padding: 0 16px;\n}\n.bisector-dialog-content-container .bisector-dialog-content-text.weak[data-v-31cf1990] {\n opacity: 0.6;\n}\n.bisector-dialog-content-container .bisector-dialog-content-text[data-v-31cf1990],\n.bisector-dialog-content-container .bisector-dialog-button-group[data-v-31cf1990] {\n margin-bottom: 8px;\n}\n.bisector-dialog-content-container .bisector-dialog-button-group[data-v-31cf1990] {\n display: grid;\n gap: 8px;\n grid-template-columns: 1fr 1fr;\n}\n.bisector-dialog-content-container .bisector-dialog-button-group .be-button[data-v-31cf1990]:last-child {\n grid-column: span 2;\n}",""]),e.exports=o},7857:(e,t,n)=>{var o=n(2955)((function(e){return e[1]}));o.push([e.id,"div[data-v-386ddf8e] {\n display: flex;\n align-items: center;\n gap: 8px;\n}\n.peek[data-v-386ddf8e] {\n cursor: pointer;\n}",""]),e.exports=o},3471:(e,t,n)=>{var o=n(2955)((function(e){return e[1]}));o.push([e.id,'.bangumi-card[data-v-b2f4653c] {\n --cover-width: 94px;\n background-color: #fff;\n margin: 0 8px 8px 8px;\n box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.05);\n box-sizing: border-box;\n border: 1px solid #8882;\n border-radius: 8px;\n display: grid;\n grid-template-areas: "cover epTitle" "cover title";\n grid-template-columns: var(--cover-width) 1fr;\n grid-template-rows: 6fr 5fr;\n position: relative;\n flex-shrink: 0;\n}\n.bangumi-card .up[data-v-b2f4653c] {\n grid-area: title;\n display: flex;\n align-items: center;\n padding: 0 12px;\n align-self: center;\n overflow: hidden;\n margin-bottom: 4px;\n}\n.bangumi-card .up .cover[data-v-b2f4653c] {\n height: 18px;\n width: 18px;\n border-radius: 50%;\n}\n.bangumi-card .up .title[data-v-b2f4653c] {\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n margin: 0 6px;\n line-height: normal;\n}\n.bangumi-card .ep-title[data-v-b2f4653c] {\n grid-area: epTitle;\n font-size: 11pt;\n font-weight: 600;\n padding: 0 12px;\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n align-self: center;\n color: inherit;\n line-height: normal;\n margin: 4px 0 0 0;\n}\n.bangumi-card .ep-cover-container[data-v-b2f4653c] {\n grid-area: cover;\n border-radius: 8px 0 0 8px;\n overflow: hidden;\n display: flex;\n}\n.bangumi-card .ep-cover-container .ep-cover[data-v-b2f4653c] {\n background-color: #8884;\n width: var(--cover-width);\n min-height: 62.5px;\n}\n.bangumi-card:hover .ep-title[data-v-b2f4653c] {\n color: var(--theme-color);\n}\n.bangumi-card:hover .ep-cover[data-v-b2f4653c] {\n transform: scale(1.05);\n}\nbody.dark .bangumi-card[data-v-b2f4653c] {\n box-shadow: #0001 0 4px 12px 0px;\n background-color: #2d2d2d;\n color: #eee;\n}\n.bangumi-card.new[data-v-b2f4653c]::before {\n content: "NEW";\n position: absolute;\n top: 4px;\n left: 4px;\n background-color: var(--theme-color);\n color: var(--foreground-color);\n padding: 0 6px;\n height: 18px;\n border-radius: 9px;\n font-weight: 700;\n font-size: 11px;\n line-height: 18px;\n z-index: 1;\n}',""]),e.exports=o},4111:(e,t,n)=>{var o=n(2955)((function(e){return e[1]}));o.push([e.id,".column-card[data-v-335afa63] {\n width: 356px;\n display: flex;\n flex-direction: column;\n margin-bottom: 12px;\n box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.05);\n border: 1px solid #8882;\n background-color: #fff;\n box-sizing: border-box;\n position: relative;\n flex-shrink: 0;\n font-size: 12px;\n cursor: pointer;\n border-radius: 8px;\n}\nbody.dark .column-card[data-v-335afa63] {\n background-color: #282828;\n color: #eee;\n}\n.column-card .covers[data-v-335afa63] {\n position: relative;\n display: flex;\n overflow: hidden;\n border-radius: 8px 8px 0 0;\n}\n.column-card .covers .cover[data-v-335afa63] {\n flex: 1 0 0;\n height: 120px;\n width: 0;\n object-fit: cover;\n}\n.column-card .up[data-v-335afa63] {\n position: absolute;\n left: 8px;\n top: calc(120px - 28px - 6px);\n padding: 2px;\n display: flex;\n align-items: center;\n background-color: #000a;\n border-radius: 14px;\n height: 28px;\n box-sizing: border-box;\n}\n.column-card .up .face[data-v-335afa63] {\n border-radius: 50%;\n height: 24px;\n width: 24px;\n}\n.column-card .up .name[data-v-335afa63] {\n margin: 0 6px;\n color: #fff;\n}\n.column-card .title[data-v-335afa63] {\n padding: 10px 10px 0;\n margin: 0;\n font-size: 11pt;\n font-weight: 600;\n color: inherit;\n line-height: normal;\n max-width: 100%;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n.column-card .description[data-v-335afa63] {\n margin: 8px 10px;\n display: -webkit-box;\n white-space: normal;\n overflow: hidden;\n text-overflow: ellipsis;\n word-break: break-all;\n -webkit-line-clamp: 2;\n -webkit-box-orient: vertical;\n line-height: 1.5;\n max-height: 3em;\n}\n.column-card:hover .title[data-v-335afa63] {\n color: var(--theme-color);\n}\n.column-card:hover .cover[data-v-335afa63] {\n transform: scale(1.05);\n}",""]),e.exports=o},4679:(e,t,n)=>{var o=n(2955)((function(e){return e[1]}));o.push([e.id,".be-up-info {\n display: flex;\n align-items: center;\n gap: 8px;\n font-size: 12px;\n line-height: normal;\n}\n.be-up-info:not(.fallback) {\n background-color: #fff;\n color: black;\n border-radius: 14px;\n border: 1px solid #8882;\n box-sizing: border-box;\n box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.05);\n box-sizing: border-box;\n height: 28px;\n border-radius: 14px;\n padding: 2px;\n box-shadow: none;\n padding-right: 8px;\n}\nbody.dark .be-up-info:not(.fallback) {\n box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.2);\n}\nbody.dark .be-up-info:not(.fallback) {\n background-color: var(--be-color-card-bg, #282828);\n color: var(--be-color-text-title, #eee);\n}\n.be-up-info-cover {\n border-radius: 50%;\n}\n.be-up-info-cover-fallback {\n display: flex;\n align-items: center;\n justify-content: center;\n height: 24px;\n width: 18px;\n margin-right: -3px;\n}\n.be-up-info-name {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n transition: 0.2s ease-out;\n}\n.be-up-info:hover .be-up-info-name {\n color: var(--theme-color) !important;\n}",""]),e.exports=o},6153:(e,t,n)=>{var o=n(2955)((function(e){return e[1]}));o.push([e.id,'.video-card[data-v-c27449aa] {\n display: grid;\n grid-template-columns: 196px 1fr;\n grid-template-rows: 1fr 1fr 1fr;\n grid-template-areas: "cover title" "cover description" "cover up";\n height: var(--card-height);\n width: var(--card-width);\n color: black;\n background-color: #fff;\n border-radius: 8px;\n box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.05);\n border: 1px solid #8882;\n box-sizing: border-box;\n margin-right: var(--card-margin);\n margin-bottom: var(--card-margin);\n position: relative;\n}\nbody.dark .video-card[data-v-c27449aa], body.dark .video-card[data-v-c27449aa]:hover {\n background-color: #282828;\n color: #eee;\n}\n.video-card[data-v-c27449aa]:hover {\n color: black;\n}\n.video-card.vertical[data-v-c27449aa] {\n grid-template-columns: auto auto;\n grid-template-rows: auto 1fr auto auto;\n grid-template-areas: "cover cover" "title title" "up up" "stats stats";\n gap: 4px;\n}\n.video-card.vertical .description[data-v-c27449aa],\n.video-card.vertical .topics[data-v-c27449aa] {\n display: none;\n}\n.video-card.vertical .cover-container[data-v-c27449aa] {\n border-radius: 8px 8px 0 0;\n width: calc(var(--card-width) - 2px);\n height: calc(var(--card-width) / 20 * 12.5);\n}\n.video-card.vertical .title[data-v-c27449aa] {\n display: -webkit-box;\n -webkit-line-clamp: 2;\n -webkit-box-orient: vertical;\n max-height: 3em;\n word-break: break-all;\n white-space: normal;\n line-height: 1.5;\n margin: 4px 0;\n padding: 0 10px;\n font-size: 14px;\n}\n.video-card.vertical .up[data-v-c27449aa] {\n align-self: start;\n white-space: nowrap;\n}\n.video-card.vertical .up .name[data-v-c27449aa] {\n text-overflow: ellipsis;\n overflow: hidden;\n}\n.video-card.vertical .up[data-v-c27449aa]:not(.no-face) {\n margin-left: 8px;\n max-width: calc(var(--card-width) - 24px);\n}\n.video-card.vertical .up.no-face[data-v-c27449aa] {\n margin-top: 8px;\n max-width: calc(var(--card-width) - 24px);\n}\n.video-card.vertical .cooperation[data-v-c27449aa] {\n margin: 0 12px 6px 8px;\n}\n.video-card.vertical .cooperation-note[data-v-c27449aa] {\n display: flex;\n opacity: 0.5;\n}\n.video-card.vertical .stats[data-v-c27449aa] {\n grid-area: stats;\n align-self: end;\n justify-self: start;\n margin-bottom: 8px;\n margin-right: 0;\n}\n.video-card > *[data-v-c27449aa] {\n justify-self: self-start;\n align-self: center;\n}\n.video-card .publish-time-summary[data-v-c27449aa],\n.video-card .publish-time-detail[data-v-c27449aa],\n.video-card .duration[data-v-c27449aa],\n.video-card .watchlater[data-v-c27449aa] {\n opacity: 0;\n}\n.video-card:hover .cover[data-v-c27449aa] {\n transform: scale(1.05);\n}\n.video-card:hover .publish-time-summary[data-v-c27449aa],\n.video-card:hover .duration[data-v-c27449aa],\n.video-card:hover .watchlater[data-v-c27449aa] {\n opacity: 1;\n}\n.video-card .publish-time-summary[data-v-c27449aa]:hover {\n opacity: 0;\n}\n.video-card .publish-time-summary:hover ~ .publish-time-detail[data-v-c27449aa] {\n opacity: 1;\n}\n.video-card .cover-container[data-v-c27449aa] {\n grid-area: cover;\n border-radius: 8px 0 0 8px;\n position: relative;\n width: calc(var(--card-height) / 12.5 * 20);\n height: calc(var(--card-height) - 2px);\n overflow: hidden;\n}\n.video-card .cover-container .cover[data-v-c27449aa] {\n transition: 0.1s cubic-bezier(0.39, 0.58, 0.57, 1);\n -webkit-transform: rotate(0deg);\n object-fit: cover;\n width: 100%;\n height: 100%;\n}\n.video-card .cover-container[data-v-c27449aa] > :not(.cover) {\n position: absolute;\n display: flex;\n align-items: center;\n}\n.video-card .cover-container .publish-time-detail[data-v-c27449aa],\n.video-card .cover-container .publish-time-summary[data-v-c27449aa],\n.video-card .cover-container .duration[data-v-c27449aa],\n.video-card .cover-container .watchlater[data-v-c27449aa] {\n bottom: 6px;\n padding: 2px 8px;\n background-color: #000a;\n color: white;\n border-radius: 10px;\n height: 20px;\n box-sizing: border-box;\n}\n.video-card .cover-container .publish-time-detail .mdi[data-v-c27449aa],\n.video-card .cover-container .publish-time-summary .mdi[data-v-c27449aa],\n.video-card .cover-container .duration .mdi[data-v-c27449aa],\n.video-card .cover-container .watchlater .mdi[data-v-c27449aa] {\n margin-right: 4px;\n}\n.video-card .cover-container .new[data-v-c27449aa] {\n top: 6px;\n left: 6px;\n background-color: var(--theme-color);\n color: var(--foreground-color);\n font-weight: 600;\n padding: 2px 8px;\n border-radius: 10px;\n height: 20px;\n box-sizing: border-box;\n}\n.video-card .cover-container .publish-time-detail[data-v-c27449aa] {\n z-index: 0;\n}\n.video-card .cover-container .publish-time-summary[data-v-c27449aa] {\n z-index: 1;\n}\n.video-card .cover-container .publish-time-detail[data-v-c27449aa],\n.video-card .cover-container .publish-time-summary[data-v-c27449aa] {\n top: 6px;\n right: 6px;\n}\n.video-card .cover-container .duration[data-v-c27449aa] {\n left: 6px;\n}\n.video-card .cover-container .watchlater[data-v-c27449aa] {\n right: 6px;\n padding-left: 4px;\n}\n.video-card .title[data-v-c27449aa] {\n grid-area: title;\n font-size: 15px;\n font-weight: 600;\n color: inherit;\n padding: 4px 12px 0 12px;\n white-space: nowrap;\n overflow: hidden;\n justify-self: stretch;\n text-overflow: ellipsis;\n}\n.video-card .title[data-v-c27449aa]:hover {\n color: var(--theme-color);\n}\n.video-card .topics[data-v-c27449aa] {\n display: flex;\n align-items: center;\n grid-area: description;\n margin-left: 12px;\n}\n.video-card .topics .topic[data-v-c27449aa] {\n display: flex;\n align-items: center;\n gap: 4px;\n color: inherit;\n padding: 4px 8px;\n border: 1px solid #8882;\n margin-right: 8px;\n border-radius: 14px;\n opacity: 0.75;\n}\n.video-card .topics .topic .topic-name[data-v-c27449aa] {\n max-width: 84px;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n.video-card .topics .topic[data-v-c27449aa]:hover {\n background-color: #8882;\n color: var(--theme-color);\n opacity: 1;\n}\n.video-card .description[data-v-c27449aa] {\n grid-area: description;\n color: inherit;\n overflow: hidden;\n align-self: stretch;\n justify-self: stretch;\n margin: 0 12px;\n line-height: 1.5;\n height: 3em;\n display: -webkit-box;\n -webkit-line-clamp: 2;\n -webkit-box-orient: vertical;\n scrollbar-width: none !important;\n}\n.video-card .description[data-v-c27449aa]::-webkit-scrollbar {\n width: 0px !important;\n}\n.video-card .description.single-line[data-v-c27449aa] {\n overflow: hidden;\n white-space: nowrap;\n text-overflow: ellipsis;\n}\n.video-card .cooperation[data-v-c27449aa],\n.video-card .up[data-v-c27449aa],\n.video-card .stats[data-v-c27449aa] {\n grid-area: up;\n}\n.video-card .up[data-v-c27449aa] {\n margin-left: 12px;\n margin-bottom: 6px;\n display: flex;\n align-items: center;\n padding: 2px;\n background-color: transparent;\n border: 1px solid #8882;\n box-sizing: border-box;\n border-radius: 15px;\n color: inherit;\n}\n.video-card .up .name[data-v-c27449aa] {\n margin: 0 8px;\n}\n.video-card .up.no-face[data-v-c27449aa] {\n background-color: transparent;\n padding: 0;\n}\n.video-card .up.no-face .be-icon[data-v-c27449aa] {\n font-size: 18px;\n opacity: 0.75;\n}\n.video-card .up .face[data-v-c27449aa] {\n border-radius: 50%;\n width: 24px;\n height: 24px;\n box-sizing: content-box;\n}\n.video-card .up[data-v-c27449aa]:not(.no-face):hover {\n background-color: #8882;\n}\n.video-card .up:hover .name[data-v-c27449aa],\n.video-card .up:hover .be-icon[data-v-c27449aa] {\n color: var(--theme-color);\n}\n.video-card.no-stats .up[data-v-c27449aa],\n.video-card.no-stats .cooperation[data-v-c27449aa] {\n margin-bottom: 4px;\n}\n.video-card .cooperation[data-v-c27449aa] {\n margin-left: 12px;\n display: flex;\n align-items: center;\n justify-self: stretch;\n justify-content: space-between;\n}\n.video-card .cooperation-ups[data-v-c27449aa] {\n display: flex;\n flex-direction: row-reverse;\n align-items: center;\n justify-content: flex-start;\n}\n.video-card .cooperation-ups .cooperation-up[data-v-c27449aa] {\n flex: 0 0 15px;\n width: 15px;\n display: flex;\n}\n.video-card .cooperation-ups .cooperation-up.no-face[data-v-c27449aa] {\n background-color: transparent;\n padding: 0;\n}\n.video-card .cooperation-ups .cooperation-up.no-face .be-icon[data-v-c27449aa] {\n font-size: 18px;\n opacity: 0.75;\n}\n.video-card .cooperation-ups .cooperation-up .face[data-v-c27449aa] {\n border-radius: 50%;\n width: 24px;\n height: 24px;\n box-sizing: content-box;\n}\n.video-card .cooperation-ups .cooperation-up .face[data-v-c27449aa] {\n border: 1px solid #8882;\n padding: 2px;\n background-color: #fff;\n}\nbody.dark .video-card .cooperation-ups .cooperation-up .face[data-v-c27449aa] {\n background-color: #282828;\n}\n.video-card .cooperation-ups:hover .cooperation-up[data-v-c27449aa] {\n flex-basis: auto;\n width: 30px;\n margin-right: 4px;\n}\n.video-card .cooperation-note[data-v-c27449aa] {\n display: none;\n}\n.video-card .stats[data-v-c27449aa] {\n font-size: 11px;\n justify-self: self-end;\n margin-right: 12px;\n display: flex;\n align-items: center;\n opacity: 0.5;\n}\n.video-card .stats[data-v-c27449aa] > :nth-child(n+4) {\n display: none;\n}\n.video-card .stats .be-icon[data-v-c27449aa] {\n margin: 0 4px 0 12px;\n}',""]),e.exports=o},8144:(e,t,n)=>{var o=n(2955)((function(e){return e[1]}));o.push([e.id,".bb-comment .translate-container,\n.card-content .translate-container {\n margin: 4px 0 2px 0;\n display: inline-block;\n font-weight: normal;\n font-size: 14px;\n}\n.bb-comment .translate-container .translated,\n.card-content .translate-container .translated {\n font-size: 12px;\n display: flex;\n align-items: center;\n gap: 8px;\n}\n.bb-comment .translate-container .translated a,\n.card-content .translate-container .translated a {\n color: #aaa !important;\n}\n.bb-comment .translate-container .translated a:hover,\n.card-content .translate-container .translated a:hover {\n color: var(--theme-color) !important;\n}\n.bb-comment .translate-container .translate,\n.card-content .translate-container .translate {\n display: flex;\n align-items: center;\n gap: 2px;\n font-size: 12px;\n height: 18px;\n color: #aaa;\n cursor: pointer;\n}\n.bb-comment .translate-container .translate:hover,\n.card-content .translate-container .translate:hover {\n color: var(--theme-color);\n}\n.bb-comment .translate-container .translate-result,\n.card-content .translate-container .translate-result {\n padding-top: 6px;\n white-space: pre-wrap;\n line-height: 20px;\n word-break: break-all;\n overflow-wrap: break-word;\n}\nbody.dark .bb-comment .translate-container .translate-result,\nbody.dark .card-content .translate-container .translate-result {\n color: #eee;\n}\nbody.machine-translator-enabled .bb-comment .reply-con .text-con {\n display: block;\n margin: 0 !important;\n}\nbody.machine-translator-enabled .card-content .translate-container {\n margin: 13px 0 2px 0;\n}",""]),e.exports=o},6888:(e,t,n)=>{var o=n(2955)((function(e){return e[1]}));o.push([e.id,".be-launch-bar-suggest-item {\n outline: none !important;\n padding: 6px 6px 6px 10px;\n cursor: pointer;\n}\n.be-launch-bar-suggest-item.disabled {\n cursor: default;\n display: flex;\n align-items: center;\n justify-content: center;\n}\n.be-launch-bar-suggest-item:not(.disabled).focused, .be-launch-bar-suggest-item:not(.disabled):hover, .be-launch-bar-suggest-item:not(.disabled):focus-within {\n background-color: #8882;\n}\n.be-launch-bar-suggest-item:first-child {\n padding-top: 8px;\n border-radius: 7px 7px 0 0;\n}\n.be-launch-bar-suggest-item:last-child {\n padding-bottom: 8px;\n border-radius: 0 0 7px 7px;\n}\n.be-launch-bar-suggest-item-content {\n display: flex;\n align-items: center;\n}\n.be-launch-bar-suggest-item-icon {\n margin-right: 6px;\n}\n.be-launch-bar-suggest-item-title {\n display: flex;\n align-items: stretch;\n flex-direction: column;\n flex: 1 0 0;\n width: 0;\n}\n.be-launch-bar-suggest-item-name {\n max-width: 100%;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n.be-launch-bar-suggest-item-description {\n opacity: 0.5;\n font-size: smaller;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n.be-launch-bar-suggest-item-delete {\n opacity: 0.5;\n margin-right: 4px;\n}\n.be-launch-bar-suggest-item-delete:hover {\n opacity: 1;\n}",""]),e.exports=o},8021:(e,t,n)=>{var o=n(2955)((function(e){return e[1]}));o.push([e.id,".global-launch-bar-container {\n display: flex;\n top: 20vh;\n left: 50%;\n width: 40vw;\n max-width: 650px;\n height: 50px;\n padding: 0 8px;\n z-index: 5000;\n background-color: #fff;\n color: black;\n border-radius: 8px;\n border: 1px solid #8882;\n box-sizing: border-box;\n box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.05);\n border: 1px solid #8882;\n font-size: 16px;\n transform: translateX(-50%);\n transition: opacity 0.2s ease-out;\n}\nbody.dark .global-launch-bar-container {\n box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.2);\n}\nbody.dark .global-launch-bar-container {\n background-color: var(--be-color-card-bg, #282828);\n color: var(--be-color-text-title, #eee);\n}\nbody.dark .global-launch-bar-container {\n background-color: var(--be-color-popup-bg, #222);\n}\n.global-launch-bar-container .launch-bar {\n flex: 1;\n}\nbody.dark .global-launch-bar-container .launch-bar {\n --color: #eee;\n}\n.global-launch-bar-container .launch-bar .launch-bar-suggest-list {\n top: calc(100% + 8px);\n max-height: calc(80vh - 16px - 50px);\n overflow: auto;\n scrollbar-width: none !important;\n overscroll-behavior: contain;\n font-size: 14px;\n}\n.global-launch-bar-container .launch-bar .launch-bar-suggest-list::-webkit-scrollbar {\n height: 0 !important;\n width: 0 !important;\n}",""]),e.exports=o},8238:(e,t,n)=>{var o=n(2955)((function(e){return e[1]}));o.push([e.id,".launch-bar {\n --color: black;\n color: var(--color);\n position: relative;\n display: flex;\n align-items: center;\n}\n.launch-bar .input-area {\n display: flex;\n flex-direction: column;\n flex: 1;\n}\n.launch-bar .input-area .recommended-target {\n display: none;\n}\n.launch-bar .input-area .launch-bar-form {\n flex: 1;\n display: flex;\n}\n.launch-bar .input-area .launch-bar-form .input {\n flex: 1;\n padding: 8px;\n background-color: transparent;\n border: none;\n outline: none !important;\n color: inherit;\n box-sizing: border-box;\n width: 15vw;\n font-size: inherit;\n}\n.launch-bar .input-area .launch-bar-form .input::placeholder {\n color: inherit !important;\n opacity: 0.8;\n}\n.launch-bar .input-area .launch-bar-form .submit {\n color: inherit;\n padding: 4px;\n background: transparent;\n border: none;\n outline: none !important;\n cursor: pointer;\n}\n.launch-bar .input-area .input-active-bar {\n flex: 0 0 auto;\n align-self: flex-start;\n height: 2px;\n width: 0;\n border-radius: 1px;\n background-color: var(--theme-color);\n transition: 0.3s ease-in-out;\n}\n.launch-bar .launch-bar-suggest-list {\n position: absolute;\n top: 100%;\n left: 50%;\n opacity: 0;\n width: 100%;\n transform: translateX(-50%) translateY(-4px);\n pointer-events: none;\n transition: 0.2s all ease-out;\n border: 1px solid #8882;\n white-space: nowrap;\n border-radius: 8px;\n box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.05);\n color: black;\n background-color: #fff;\n}\nbody.dark .launch-bar .launch-bar-suggest-list {\n box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.2);\n}\nbody.dark .launch-bar .launch-bar-suggest-list {\n color: var(--be-color-text-title, #eee);\n background-color: var(--be-color-panel-bg, #222);\n}\n.launch-bar .launch-bar-suggest-list .suggest-highlight {\n color: var(--theme-color);\n font-style: normal;\n}\n.launch-bar:focus-within .input-active-bar {\n width: 100%;\n}\n.launch-bar:focus-within .launch-bar-suggest-list,\n.launch-bar .launch-bar-suggest-list:focus-within {\n opacity: 1;\n transform: translateX(-50%);\n pointer-events: initial;\n}",""]),e.exports=o},2196:(e,t,n)=>{var o=n(2955)((function(e){return e[1]}));o.push([e.id,'.release-content {\n display: flex;\n align-items: stretch;\n flex-direction: column;\n gap: 12px;\n padding: 0 16px 16px 16px;\n}\n.release-content-markdown {\n font-size: 14px;\n flex-grow: 1;\n max-height: calc(100vh - 220px);\n overflow: auto;\n line-height: normal;\n}\n.release-content-markdown > * {\n font-size: inherit;\n}\n.release-content-markdown h1,\n.release-content-markdown h2,\n.release-content-markdown h3,\n.release-content-markdown h4,\n.release-content-markdown h5,\n.release-content-markdown h6 {\n margin-block-start: 1em;\n margin-block-end: 0.75em;\n font-weight: 600;\n color: inherit;\n}\n.release-content-markdown ul,\n.release-content-markdown ul li {\n list-style: disc;\n font-size: inherit;\n}\n.release-content-markdown ol,\n.release-content-markdown ol li {\n list-style: decimal;\n font-size: inherit;\n}\n.release-content-markdown ul,\n.release-content-markdown ol {\n padding-left: 16px;\n margin: 0;\n}\n.release-content-markdown ul li,\n.release-content-markdown ol li {\n line-height: 1.75;\n}\n.release-content-markdown p {\n margin: 0;\n}\n.release-content-markdown details {\n line-height: 1.75;\n}\n.release-content-markdown details summary {\n cursor: pointer;\n margin: 4px 0;\n}\n.release-content-markdown > p {\n line-height: 1.75;\n}\n.release-content-markdown p + p {\n margin-top: 8px;\n}\n.release-content-markdown pre {\n white-space: pre-wrap;\n}\n.release-content-markdown code {\n display: inline-block;\n padding: 0 4px;\n margin: 1px 2px;\n border-radius: 4px;\n background-color: #8882;\n line-height: normal;\n}\n.release-content-markdown kbd {\n font-family: monospace;\n border: 1px solid #ccc;\n display: inline-block;\n border-radius: 4px;\n padding: 0 4px;\n margin: 1px 2px;\n line-height: 1.1;\n}\nbody.dark .release-content-markdown kbd {\n border-color: #666;\n}\n.release-content-markdown blockquote {\n border-radius: 4px;\n margin: 0;\n padding: 4px;\n padding-left: 12px;\n color: inherit;\n background-color: #8881;\n box-sizing: border-box;\n position: relative;\n}\nbody.dark .release-content-markdown blockquote * {\n color: inherit !important;\n}\n.release-content-markdown blockquote::before {\n content: "";\n position: absolute;\n display: block;\n width: 3px;\n height: calc(100% - 8px);\n top: 4px;\n left: 0;\n border-radius: 2px;\n background-color: var(--theme-color);\n}\n.release-content-markdown a,\n.release-content-markdown a:focus-within,\n.release-content-markdown a:hover {\n color: var(--theme-color);\n}\n.release-content-markdown > :last-child {\n margin-bottom: 0;\n}\n.release-content-actions {\n display: flex;\n align-items: center;\n gap: 6px;\n flex-shrink: 0;\n font-size: 15px;\n justify-content: flex-end;\n}\n.release-content-actions .be-button {\n padding: 6px 12px;\n}',""]),e.exports=o},7800:(e,t,n)=>{var o=n(2955)((function(e){return e[1]}));o.push([e.id,'.component-description {\n word-break: break-all;\n line-height: normal;\n}\n.component-description > * {\n font-size: inherit;\n}\n.component-description h1,\n.component-description h2,\n.component-description h3,\n.component-description h4,\n.component-description h5,\n.component-description h6 {\n margin-block-start: 1em;\n margin-block-end: 0.75em;\n font-weight: 600;\n color: inherit;\n}\n.component-description ul,\n.component-description ul li {\n list-style: disc;\n font-size: inherit;\n}\n.component-description ol,\n.component-description ol li {\n list-style: decimal;\n font-size: inherit;\n}\n.component-description ul,\n.component-description ol {\n padding-left: 16px;\n margin: 0;\n}\n.component-description ul li,\n.component-description ol li {\n line-height: 1.75;\n}\n.component-description p {\n margin: 0;\n}\n.component-description details {\n line-height: 1.75;\n}\n.component-description details summary {\n cursor: pointer;\n margin: 4px 0;\n}\n.component-description > p {\n line-height: 1.75;\n}\n.component-description p + p {\n margin-top: 8px;\n}\n.component-description pre {\n white-space: pre-wrap;\n}\n.component-description code {\n display: inline-block;\n padding: 0 4px;\n margin: 1px 2px;\n border-radius: 4px;\n background-color: #8882;\n line-height: normal;\n}\n.component-description kbd {\n font-family: monospace;\n border: 1px solid #ccc;\n display: inline-block;\n border-radius: 4px;\n padding: 0 4px;\n margin: 1px 2px;\n line-height: 1.1;\n}\nbody.dark .component-description kbd {\n border-color: #666;\n}\n.component-description blockquote {\n border-radius: 4px;\n margin: 0;\n padding: 4px;\n padding-left: 12px;\n color: inherit;\n background-color: #8881;\n box-sizing: border-box;\n position: relative;\n}\nbody.dark .component-description blockquote * {\n color: inherit !important;\n}\n.component-description blockquote::before {\n content: "";\n position: absolute;\n display: block;\n width: 3px;\n height: calc(100% - 8px);\n top: 4px;\n left: 0;\n border-radius: 2px;\n background-color: var(--theme-color);\n}\n.component-description a,\n.component-description a:focus-within,\n.component-description a:hover {\n color: var(--theme-color);\n}\n.component-description > :last-child {\n margin-bottom: 0;\n}',""]),e.exports=o},1921:(e,t,n)=>{var o=n(2955)((function(e){return e[1]}));o.push([e.id,".component-detail {\n min-width: 264px;\n width: 264px;\n flex: 1;\n background-color: inherit;\n border-radius: 7px;\n overflow: auto;\n overscroll-behavior: contain;\n display: flex;\n align-items: stretch;\n flex-direction: column;\n}\n.component-detail .extra-option {\n display: flow-root;\n}\n.component-detail-separator {\n height: 1px;\n border-bottom: 1px solid #8882;\n margin: 8px 0;\n flex-shrink: 0;\n align-self: stretch;\n box-sizing: border-box;\n}\n.component-detail-header {\n display: flex;\n align-items: center;\n justify-content: space-between;\n padding: 12px;\n background-color: inherit;\n position: sticky;\n top: 0;\n z-index: 2;\n}\n.component-detail-header .display-name {\n font-weight: 600;\n font-size: 16px;\n}\n.component-detail-header .close {\n cursor: pointer;\n}\n.component-detail-header .close:hover {\n color: var(--theme-color);\n}\n.component-detail-description:not(:last-child) {\n padding: 6px 12px;\n}\n.component-detail-tags {\n display: flex;\n align-items: center;\n flex-wrap: wrap;\n padding: 0 8px 8px;\n}\n.component-detail-tags .tag {\n display: flex;\n align-items: center;\n background-color: #fff;\n color: black;\n border-radius: 8px;\n border: 1px solid #8882;\n box-sizing: border-box;\n box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.05);\n box-sizing: border-box;\n height: 24px;\n border-radius: 12px;\n padding: 2px 6px;\n margin-right: 4px;\n margin-bottom: 4px;\n font-size: 12px;\n box-shadow: none;\n}\nbody.dark .component-detail-tags .tag {\n box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.2);\n}\nbody.dark .component-detail-tags .tag {\n background-color: var(--be-color-card-bg, #282828);\n color: var(--be-color-text-title, #eee);\n}\n.component-detail-tags .tag .tag-color {\n border-radius: 50%;\n width: 12px;\n height: 12px;\n margin-right: 4px;\n}\n.component-detail-internal-data {\n display: flex;\n align-items: stretch;\n flex-direction: column;\n justify-content: center;\n flex-shrink: 0;\n position: sticky;\n bottom: 0;\n min-height: 24px;\n box-sizing: content-box;\n background-color: inherit;\n padding-bottom: 8px;\n}\n.component-detail-internal-data .component-detail-separator {\n margin-top: 0;\n}\n.component-detail-internal-data-row {\n display: flex;\n align-items: center;\n justify-content: space-between;\n line-height: 24px;\n padding: 0 12px;\n}\n.component-detail-internal-data .internal-name {\n opacity: 0.5;\n}\n.component-detail-internal-data .tippy-content {\n padding: 4px;\n}\n.component-detail-internal-data .extra-actions-wrapper {\n position: relative;\n transform: translateX(2px);\n}\n.component-detail-internal-data .extra-actions-wrapper .extra-actions {\n padding: 4px;\n cursor: pointer;\n}\n.component-detail-internal-data .extra-actions-wrapper .extra-actions-list {\n width: max-content;\n}\n.component-detail-operations {\n display: flex;\n align-items: center;\n}\n.component-detail-operations > * {\n flex: 1 0 0;\n}\n.component-detail-operations > *:not(:last-child) {\n margin-right: 8px;\n}\n.component-detail-options {\n padding: 8px 12px;\n}\n.component-detail-options .component-detail-options-title {\n font-weight: 600;\n font-size: 14px;\n margin-bottom: 8px;\n}\n.component-detail-options .generated-option:not(:last-child) {\n margin-bottom: 4px;\n}\n.component-detail-grow {\n flex: 1;\n}",""]),e.exports=o},9051:(e,t,n)=>{var o=n(2955)((function(e){return e[1]}));o.push([e.id,".component-option {\n display: flex;\n align-items: center;\n min-height: 24px;\n}\n.component-option .unknown-option-type,\n.component-option .be-slider,\n.component-option .be-range-input,\n.component-option .be-text-box {\n flex: 1 0 0;\n}\n.component-option[data-type=boolean] .option-name {\n flex: 1 0 0;\n}\n.component-option[data-type=dropdown] .option-name {\n flex: 1 0 0;\n}\n.component-option[data-type=color] .option-name {\n flex: 1 0 0;\n}\n.component-option[data-type=switch] {\n justify-content: center;\n}\n.component-option[data-type=switch] .option-name {\n display: none;\n}\n.component-option .option-name {\n margin-right: 8px;\n}\n.component-option .be-slider {\n margin: 0 8px;\n}\n.component-option textarea {\n resize: vertical;\n min-height: 16px;\n}",""]),e.exports=o},6338:(e,t,n)=>{var o=n(2955)((function(e){return e[1]}));o.push([e.id,'.component-settings {\n display: flex;\n flex-direction: column;\n justify-content: center;\n box-sizing: border-box;\n overflow: hidden;\n padding: 7px 12px 7px 7px;\n width: 100%;\n min-height: 36px;\n position: relative;\n cursor: pointer;\n transition: 0.2s ease-out;\n -webkit-user-select: none;\n user-select: none;\n}\n.component-settings::after {\n content: "";\n opacity: 0;\n transition: opacity 0.2s ease-out;\n position: absolute;\n top: 0;\n left: 10px;\n height: 100%;\n width: calc(100% - 20px);\n pointer-events: none;\n background-image: repeating-linear-gradient(to bottom, #0000, #0000 10px, #8882 10px, #8882 30px, #0000 30px, #0000 38px, #8882 38px, #8882 50px, #0000 50px);\n}\n.component-settings.virtual::after {\n opacity: 1;\n}\n.component-settings.virtual .component-settings-row {\n display: none;\n}\n.component-settings .component-settings-row {\n display: flex;\n align-items: center;\n justify-content: space-between;\n}\n.component-settings .component-settings-row:not(:last-child) {\n margin-bottom: 8px;\n}\n.component-settings .display-name {\n font-size: 14px;\n height: 20px;\n flex: 1 0 auto;\n margin-left: 6px;\n width: 200px;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n display: flex;\n align-items: center;\n}\n.component-settings .details-arrow {\n opacity: 0.75;\n width: 32px;\n justify-content: flex-end;\n}\n.component-settings .be-switch-box {\n margin: 0;\n}\n.component-settings:hover {\n background-color: #8881;\n}\n.component-settings:hover .options-count {\n opacity: 1;\n}\n.component-settings.selected {\n background-color: #8882;\n}',""]),e.exports=o},8222:(e,t,n)=>{var o=n(2955)((function(e){return e[1]}));o.push([e.id,".settings-panel-content .sidebar > * {\n position: relative;\n flex: 1;\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n}\n.settings-panel-content .sidebar > * .settings-panel-sub-page {\n font-size: 13px;\n top: 12px;\n transition: 0.3s cubic-bezier(0.22, 0.61, 0.36, 1);\n transform: translateX(calc(-12.5% * var(--direction)));\n min-width: 372px;\n padding: 12px;\n box-sizing: border-box;\n background-color: #fff;\n color: black;\n border-radius: 8px;\n border: 1px solid #8882;\n box-sizing: border-box;\n box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.05);\n}\nbody.dark .settings-panel-content .sidebar > * .settings-panel-sub-page {\n box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.2);\n}\nbody.dark .settings-panel-content .sidebar > * .settings-panel-sub-page {\n background-color: var(--be-color-card-bg, #282828);\n color: var(--be-color-text-title, #eee);\n}\nbody.dark .settings-panel-content .sidebar > * .settings-panel-sub-page {\n background-color: var(--be-color-popup-bg, #222);\n}\n.settings-panel-content .sidebar > * .settings-panel-sub-page.open {\n transform: translateX(0);\n}\n.settings-panel-content .sidebar > * .settings-panel-sub-page .sub-page-row {\n display: flex;\n align-items: center;\n justify-content: space-between;\n flex-shrink: 0;\n}\n.settings-panel-content .sidebar > * .settings-panel-sub-page .sub-page-row:not(:last-child) {\n margin-bottom: 12px;\n}\n.settings-panel-content .sidebar > * .settings-panel-sub-page .separator {\n height: 1px;\n background-color: #8882;\n width: 100%;\n}\n.settings-panel-content .sidebar > * .component-tags-item {\n background-color: transparent;\n cursor: pointer;\n display: flex;\n align-items: center;\n white-space: nowrap;\n padding: 8px;\n padding-right: 10px;\n font-size: 13px;\n}\n.settings-panel-content .sidebar > * .component-tags-item .tag-name {\n margin-right: 4px;\n margin-left: 8px;\n}\n.settings-panel-content .sidebar > * .component-tags-item:hover, .settings-panel-content .sidebar > * .component-tags-item.selected {\n background-color: #8882;\n}\n.settings-panel-content .sidebar > * .icon-list,\n.settings-panel-content .sidebar > * .component-tags {\n flex-grow: 1;\n max-height: calc(var(--panel-height) - var(--header-height));\n overflow: auto;\n scrollbar-width: none !important;\n overscroll-behavior: contain;\n background-color: transparent;\n width: 40px;\n display: flex;\n flex-direction: column;\n}\n.settings-panel-content .sidebar > * .icon-list::-webkit-scrollbar,\n.settings-panel-content .sidebar > * .component-tags::-webkit-scrollbar {\n height: 0 !important;\n width: 0 !important;\n}\n.settings-panel-content .sidebar > * .icon-list .grow,\n.settings-panel-content .sidebar > * .component-tags .grow {\n flex-grow: 1;\n}\n.settings-panel-content .sidebar > * .icon-list .be-icon,\n.settings-panel-content .sidebar > * .component-tags .be-icon {\n margin-left: 2px;\n}\n.settings-panel-content .sidebar > * .component-tags {\n height: 100%;\n width: auto;\n position: absolute;\n top: 0;\n opacity: 0;\n transition: 0.2s ease-out;\n pointer-events: none;\n background-color: #fff;\n border-right: 1px solid #8882;\n}\nbody.dark .settings-panel-content .sidebar > * .component-tags {\n background-color: var(--be-color-panel-bg, #222);\n}\n.settings-panel-content .sidebar > * .icon-list:hover ~ .component-tags,\n.settings-panel-content .sidebar > * .component-tags:hover {\n opacity: 1;\n pointer-events: initial;\n}",""]),e.exports=o},1990:(e,t,n)=>{var o=n(2955)((function(e){return e[1]}));o.push([e.id,'.be-settings {\n line-height: normal;\n font-size: 12px;\n --panel-height: calc(100vh - 120px);\n}\nbody.player-mode-blackmask .be-settings {\n visibility: hidden;\n}\n.be-settings > .sidebar {\n position: fixed;\n top: 50%;\n z-index: 1002;\n transform: translateX(calc(-50% * var(--direction))) translateY(-50%);\n}\nbody.player-mode-full .be-settings > .sidebar, body.player-fullscreen-fix .be-settings > .sidebar, body.player-mode-web .be-settings > .sidebar, body.player-full-win .be-settings > .sidebar {\n z-index: 1;\n}\n.be-settings > .sidebar > * {\n transition: transform 0.3s ease-out, opacity 0.3s ease-out;\n cursor: pointer;\n -webkit-tap-highlight-color: transparent;\n width: 26px;\n height: 26px;\n padding: 8px;\n box-sizing: content-box;\n background-color: #fffa;\n border-radius: 50%;\n position: relative;\n}\nbody.dark .be-settings > .sidebar > * {\n background-color: #333a;\n}\n.be-settings > .sidebar > *:not(:last-child) {\n margin-bottom: 26px;\n}\n.be-settings > .sidebar > *::after {\n content: "";\n width: 140%;\n height: 140%;\n position: absolute;\n top: -20%;\n left: -20%;\n background: transparent;\n}\n.be-settings > .sidebar > * .be-icon {\n font-size: 26px;\n color: #888;\n fill: #888;\n transition: fill 0.3s ease-out;\n}\n.be-settings > .sidebar > *:hover {\n transform: translateX(calc(60% * var(--direction))) scale(1.1);\n background-color: #fff;\n}\nbody.dark .be-settings > .sidebar > *:hover {\n background-color: var(--be-color-button-bg, #333);\n}\n.be-settings > .sidebar > *:hover .be-icon {\n color: #222;\n fill: #222;\n}\nbody.dark .be-settings > .sidebar > *:hover .be-icon {\n color: var(--be-color-text-title, #eee);\n fill: var(--be-color-text-title, #eee);\n}\n.be-settings > .sidebar > *.open {\n transform: translateX(calc(100% * var(--direction))) scale(1.5);\n opacity: 0;\n}\n.be-settings .settings-panel-popup {\n transition: transform 0.3s cubic-bezier(0.22, 0.61, 0.36, 1), opacity 0.3s cubic-bezier(0.22, 0.61, 0.36, 1);\n top: 50%;\n z-index: 100001;\n}\n.be-settings .settings-panel-popup.close {\n transform: translateZ(0) translateY(-50%) translateX(calc(-48% * var(--direction)));\n}\n.be-settings .settings-panel-popup.open {\n transform: translateZ(0) translateY(-50%) translateX(0);\n}\n.be-settings .widgets-panel-popup {\n top: 50%;\n z-index: 100001;\n transition: transform 0.3s cubic-bezier(0.22, 0.61, 0.36, 1), opacity 0.3s cubic-bezier(0.22, 0.61, 0.36, 1);\n}\n.be-settings .widgets-panel-popup.close {\n transform: translateZ(0) translateY(-50%) translateX(calc(-48% * var(--direction)));\n}\n.be-settings .widgets-panel-popup.open {\n transform: translateZ(0) translateY(-50%) translateX(0);\n}\n.bilibili-player-dm-tip-wrap {\n pointer-events: none !important;\n}\nbody:not(.settings-panel-dock-right) .contact-help {\n display: none !important;\n}\nbody:not(.settings-panel-dock-right) .be-settings {\n --direction: 1;\n}\nbody:not(.settings-panel-dock-right) .be-settings > .sidebar {\n left: 0;\n}\nbody:not(.settings-panel-dock-right) .widgets-panel-popup,\nbody:not(.settings-panel-dock-right) .settings-panel-popup {\n left: 12px;\n transform-origin: left;\n}\nbody:not(.settings-panel-dock-right) .settings-panel-popup .settings-panel-content .sidebar {\n border-right: 1px solid #8882;\n}\nbody:not(.settings-panel-dock-right) .settings-panel-popup .settings-panel-content .main {\n border-bottom-right-radius: 7px;\n}\nbody:not(.settings-panel-dock-right) .settings-panel-popup .component-tags {\n border-bottom-left-radius: 8px;\n border-right: 1px solid #8882;\n left: 0;\n}\nbody:not(.settings-panel-dock-right) .settings-panel-popup .component-tags .component-tags-item:last-child {\n border-bottom-left-radius: 7px;\n}\nbody:not(.settings-panel-dock-right) .settings-panel-sub-page {\n left: 53px;\n}\nbody.settings-panel-dock-right {\n --direction: -1;\n}\nbody.settings-panel-dock-right .be-settings > .sidebar {\n right: 0;\n}\nbody.settings-panel-dock-right .widgets-panel-popup,\nbody.settings-panel-dock-right .settings-panel-popup {\n right: 12px;\n transform-origin: right;\n}\nbody.settings-panel-dock-right .settings-panel-popup .settings-panel-content .sidebar {\n order: 1;\n border-left: 1px solid #8882;\n}\nbody.settings-panel-dock-right .settings-panel-popup .settings-panel-content .main {\n border-bottom-left-radius: 7px;\n}\nbody.settings-panel-dock-right .settings-panel-popup .component-tags {\n border-bottom-right-radius: 8px;\n border-left: 1px solid #8882;\n right: 0;\n}\nbody.settings-panel-dock-right .settings-panel-popup .component-tags .component-tags-item:last-child {\n border-bottom-right-radius: 7px;\n}\nbody.settings-panel-dock-right .settings-panel-popup .component-settings {\n padding: 7px 7px 7px 12px;\n}\nbody.settings-panel-dock-right .settings-panel-popup .component-settings .row {\n flex-direction: row-reverse;\n}\nbody.settings-panel-dock-right .settings-panel-popup .component-settings .row .details-arrow {\n transform: rotate(180deg);\n}\nbody.settings-panel-dock-right .settings-panel-popup .component-settings .row .display-name {\n margin-left: 12px;\n width: 180px;\n}\nbody.settings-panel-dock-right .settings-panel-sub-page {\n right: 53px;\n}',""]),e.exports=o},3725:(e,t,n)=>{var o=n(2955)((function(e){return e[1]}));o.push([e.id,".settings-panel-popup {\n z-index: 1000;\n}\n.settings-panel-popup .settings-panel {\n box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.05);\n display: flex;\n align-items: stretch;\n flex-direction: column;\n --header-height: 50px;\n --settings-panel-background: #fff;\n background-color: var(--settings-panel-background);\n position: relative;\n overscroll-behavior: contain;\n border-radius: 8px;\n color: black;\n border: 1px solid #8882;\n box-sizing: content-box;\n width: auto;\n min-width: 320px;\n height: var(--panel-height);\n transition: opacity 0.2s 0.2s ease-out;\n}\nbody.dark .settings-panel-popup .settings-panel {\n box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.2);\n}\nbody.dark .settings-panel-popup .settings-panel {\n --settings-panel-background: var(--be-color-panel-bg, #222);\n color: var(--be-color-text-title, #eee);\n}\n.settings-panel-popup .settings-panel .settings-panel-header {\n box-sizing: border-box;\n height: var(--header-height);\n padding: 12px;\n border-bottom: 1px solid #8882;\n display: flex;\n align-items: center;\n gap: 8px;\n color: black;\n fill: black;\n stroke: black;\n}\nbody.dark .settings-panel-popup .settings-panel .settings-panel-header {\n color: var(--be-color-text-title, #eee);\n fill: var(--be-color-text-title, #eee);\n stroke: var(--be-color-text-title, #eee);\n}\n.settings-panel-popup .settings-panel .settings-panel-header .title {\n font-size: 18px;\n font-weight: 600;\n}\n.settings-panel-popup .settings-panel .settings-panel-header .collaspe .be-icon {\n font-size: 28px;\n}\n.settings-panel-popup .settings-panel .settings-panel-header .peek {\n cursor: pointer;\n}\n.settings-panel-popup .settings-panel .settings-panel-header .collaspe .be-icon,\n.settings-panel-popup .settings-panel .settings-panel-header .close .be-icon {\n cursor: pointer;\n transition: 0.2s ease-out;\n}\n.settings-panel-popup .settings-panel .settings-panel-header .collaspe .be-icon:hover,\n.settings-panel-popup .settings-panel .settings-panel-header .close .be-icon:hover {\n color: var(--theme-color);\n}\n.settings-panel-popup .settings-panel .settings-panel-content {\n flex: 1;\n display: flex;\n max-height: calc(var(--panel-height) - var(--header-height));\n}\n.settings-panel-popup .settings-panel .settings-panel-content .sidebar {\n display: flex;\n flex-direction: column;\n z-index: 2;\n}\n.settings-panel-popup .settings-panel .settings-panel-content .main {\n flex: 1;\n padding: 0;\n position: relative;\n overflow: auto;\n scrollbar-width: none !important;\n overscroll-behavior: contain;\n}\n.settings-panel-popup .settings-panel .settings-panel-content .main::-webkit-scrollbar {\n height: 0 !important;\n width: 0 !important;\n}\n.settings-panel-popup .settings-panel .settings-panel-content .main .be-empty {\n min-height: 36px;\n padding: 7px;\n}\n.settings-panel-popup .settings-panel .settings-panel-content .main .component-list {\n display: grid;\n grid-template-columns: auto;\n gap: 0;\n width: auto;\n margin: 0;\n}\n.settings-panel-popup .settings-panel .settings-panel-content .main .component-list .transition-move, .settings-panel-popup .settings-panel .settings-panel-content .main .component-list .transition-enter-active, .settings-panel-popup .settings-panel .settings-panel-content .main .component-list .transition-leave-active {\n transition: all 0.5s ease;\n}\n.settings-panel-popup .settings-panel .settings-panel-content .main .component-list .transition-enter-from, .settings-panel-popup .settings-panel .settings-panel-content .main .component-list .transition-leave-to {\n opacity: 0;\n transform: translateY(-30px);\n}\n.settings-panel-popup .settings-panel .settings-panel-content .main .component-list .transition-leave-active {\n position: absolute;\n}\n.settings-panel-popup .settings-panel .settings-panel-content .main .component-list .settings-panel-search-bar {\n display: flex;\n align-items: center;\n background-color: var(--settings-panel-background);\n padding-right: 8px;\n height: 36px;\n box-sizing: border-box;\n border-bottom: 1px solid #8882;\n position: sticky;\n top: 0;\n z-index: 1;\n}\n.settings-panel-popup .settings-panel .settings-panel-content .main .component-list .settings-panel-search-bar .settings-panel-search {\n align-self: stretch;\n font-size: 13px;\n box-shadow: none;\n}\n.settings-panel-popup .settings-panel .settings-panel-content .main .component-list .settings-panel-search-bar .settings-panel-search input {\n padding: 4px 10px;\n}\n.settings-panel-popup .settings-panel .settings-panel-content .main > * {\n flex: 1;\n}\n.settings-panel-popup .settings-panel .component-detail-panel {\n background-color: #fff;\n color: black;\n border-radius: 8px;\n border: 1px solid #8882;\n box-sizing: border-box;\n box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.05);\n display: flex;\n align-items: stretch;\n flex-direction: column;\n top: 50%;\n left: calc(100% - 12px);\n height: calc(100% - 22px);\n z-index: -1;\n transform: translateZ(0) translateY(-50%) translateX(calc(-48% * var(--direction)));\n transition: transform 0.3s cubic-bezier(0.22, 0.61, 0.36, 1), opacity 0.3s cubic-bezier(0.22, 0.61, 0.36, 1);\n padding-left: 12px;\n}\nbody.dark .settings-panel-popup .settings-panel .component-detail-panel {\n box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.2);\n}\nbody.dark .settings-panel-popup .settings-panel .component-detail-panel {\n background-color: var(--be-color-card-bg, #282828);\n color: var(--be-color-text-title, #eee);\n}\nbody.dark .settings-panel-popup .settings-panel .component-detail-panel {\n background-color: var(--be-color-popup-bg, #222);\n}\nbody.settings-panel-dock-right .settings-panel-popup .settings-panel .component-detail-panel {\n left: unset;\n right: calc(100% - 12px);\n padding: 0 12px 0 0;\n}\n.settings-panel-popup .settings-panel .component-detail-panel.open {\n transform: translateZ(0) translateY(-50%) translateX(0);\n}\n.settings-panel-popup .settings-panel.collapsed {\n height: auto;\n transform: translateY(calc(50% - 45vh));\n opacity: 0.3;\n}\n.settings-panel-popup .settings-panel.collapsed .header, body.dark .settings-panel-popup .settings-panel.collapsed .header {\n border-color: transparent;\n}\n.settings-panel-popup .settings-panel.collapsed .sidebar,\n.settings-panel-popup .settings-panel.collapsed .main {\n opacity: 0;\n padding: 0;\n pointer-events: none;\n}\n.settings-panel-popup .settings-panel.collapsed .sidebar {\n display: none;\n}\n.settings-panel-popup .settings-panel.collapsed:hover {\n opacity: 1;\n}\n.settings-panel-popup .settings-panel.peek {\n opacity: 0.1;\n}",""]),e.exports=o},7452:(e,t,n)=>{var o=n(2955)((function(e){return e[1]}));o.push([e.id,".tag-ring {\n display: flex;\n transform: scaleX(-1) rotate(-90deg);\n}\n.tag-ring svg {\n height: 18px;\n width: 18px;\n}",""]),e.exports=o},8401:(e,t,n)=>{var o=n(2955)((function(e){return e[1]}));o.push([e.id,'.widgets-panel {\n max-height: var(--panel-height);\n min-height: 80px;\n display: flex;\n align-items: center;\n flex-direction: column;\n justify-content: flex-start;\n align-items: flex-start;\n padding: 16px;\n padding-right: 20px;\n background-color: #fff;\n color: black;\n border-radius: 8px;\n border: 1px solid #8882;\n box-sizing: border-box;\n box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.05);\n color: black;\n fill: black;\n stroke: black;\n}\nbody.dark .widgets-panel {\n box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.2);\n}\nbody.dark .widgets-panel {\n background-color: var(--be-color-card-bg, #282828);\n color: var(--be-color-text-title, #eee);\n}\nbody.dark .widgets-panel {\n background-color: var(--be-color-popup-bg, #222);\n}\nbody.dark .widgets-panel {\n color: var(--be-color-text-title, #eee);\n fill: var(--be-color-text-title, #eee);\n stroke: var(--be-color-text-title, #eee);\n}\n.widgets-panel-header {\n flex: 0 0 auto;\n display: flex;\n align-items: center;\n font-weight: 600;\n font-size: 18px;\n margin-bottom: 18px;\n}\n.widgets-panel-header .be-icon {\n margin-right: 6px;\n}\n.widgets-panel .widgets-loading,\n.widgets-panel .widgets-empty {\n padding: 12px 0;\n}\n.widgets-panel .widgets-loading .widgets-empty-content,\n.widgets-panel .widgets-empty .widgets-empty-content {\n line-height: normal;\n}\n.widgets-panel .widgets-loading .widgets-empty-content > *,\n.widgets-panel .widgets-empty .widgets-empty-content > * {\n font-size: inherit;\n}\n.widgets-panel .widgets-loading .widgets-empty-content h1,\n.widgets-panel .widgets-loading .widgets-empty-content h2,\n.widgets-panel .widgets-loading .widgets-empty-content h3,\n.widgets-panel .widgets-loading .widgets-empty-content h4,\n.widgets-panel .widgets-loading .widgets-empty-content h5,\n.widgets-panel .widgets-loading .widgets-empty-content h6,\n.widgets-panel .widgets-empty .widgets-empty-content h1,\n.widgets-panel .widgets-empty .widgets-empty-content h2,\n.widgets-panel .widgets-empty .widgets-empty-content h3,\n.widgets-panel .widgets-empty .widgets-empty-content h4,\n.widgets-panel .widgets-empty .widgets-empty-content h5,\n.widgets-panel .widgets-empty .widgets-empty-content h6 {\n margin-block-start: 1em;\n margin-block-end: 0.75em;\n font-weight: 600;\n color: inherit;\n}\n.widgets-panel .widgets-loading .widgets-empty-content ul,\n.widgets-panel .widgets-loading .widgets-empty-content ul li,\n.widgets-panel .widgets-empty .widgets-empty-content ul,\n.widgets-panel .widgets-empty .widgets-empty-content ul li {\n list-style: disc;\n font-size: inherit;\n}\n.widgets-panel .widgets-loading .widgets-empty-content ol,\n.widgets-panel .widgets-loading .widgets-empty-content ol li,\n.widgets-panel .widgets-empty .widgets-empty-content ol,\n.widgets-panel .widgets-empty .widgets-empty-content ol li {\n list-style: decimal;\n font-size: inherit;\n}\n.widgets-panel .widgets-loading .widgets-empty-content ul,\n.widgets-panel .widgets-loading .widgets-empty-content ol,\n.widgets-panel .widgets-empty .widgets-empty-content ul,\n.widgets-panel .widgets-empty .widgets-empty-content ol {\n padding-left: 16px;\n margin: 0;\n}\n.widgets-panel .widgets-loading .widgets-empty-content ul li,\n.widgets-panel .widgets-loading .widgets-empty-content ol li,\n.widgets-panel .widgets-empty .widgets-empty-content ul li,\n.widgets-panel .widgets-empty .widgets-empty-content ol li {\n line-height: 1.75;\n}\n.widgets-panel .widgets-loading .widgets-empty-content p,\n.widgets-panel .widgets-empty .widgets-empty-content p {\n margin: 0;\n}\n.widgets-panel .widgets-loading .widgets-empty-content details,\n.widgets-panel .widgets-empty .widgets-empty-content details {\n line-height: 1.75;\n}\n.widgets-panel .widgets-loading .widgets-empty-content details summary,\n.widgets-panel .widgets-empty .widgets-empty-content details summary {\n cursor: pointer;\n margin: 4px 0;\n}\n.widgets-panel .widgets-loading .widgets-empty-content > p,\n.widgets-panel .widgets-empty .widgets-empty-content > p {\n line-height: 1.75;\n}\n.widgets-panel .widgets-loading .widgets-empty-content p + p,\n.widgets-panel .widgets-empty .widgets-empty-content p + p {\n margin-top: 8px;\n}\n.widgets-panel .widgets-loading .widgets-empty-content pre,\n.widgets-panel .widgets-empty .widgets-empty-content pre {\n white-space: pre-wrap;\n}\n.widgets-panel .widgets-loading .widgets-empty-content code,\n.widgets-panel .widgets-empty .widgets-empty-content code {\n display: inline-block;\n padding: 0 4px;\n margin: 1px 2px;\n border-radius: 4px;\n background-color: #8882;\n line-height: normal;\n}\n.widgets-panel .widgets-loading .widgets-empty-content kbd,\n.widgets-panel .widgets-empty .widgets-empty-content kbd {\n font-family: monospace;\n border: 1px solid #ccc;\n display: inline-block;\n border-radius: 4px;\n padding: 0 4px;\n margin: 1px 2px;\n line-height: 1.1;\n}\nbody.dark .widgets-panel .widgets-loading .widgets-empty-content kbd,\nbody.dark .widgets-panel .widgets-empty .widgets-empty-content kbd {\n border-color: #666;\n}\n.widgets-panel .widgets-loading .widgets-empty-content blockquote,\n.widgets-panel .widgets-empty .widgets-empty-content blockquote {\n border-radius: 4px;\n margin: 0;\n padding: 4px;\n padding-left: 12px;\n color: inherit;\n background-color: #8881;\n box-sizing: border-box;\n position: relative;\n}\nbody.dark .widgets-panel .widgets-loading .widgets-empty-content blockquote *,\nbody.dark .widgets-panel .widgets-empty .widgets-empty-content blockquote * {\n color: inherit !important;\n}\n.widgets-panel .widgets-loading .widgets-empty-content blockquote::before,\n.widgets-panel .widgets-empty .widgets-empty-content blockquote::before {\n content: "";\n position: absolute;\n display: block;\n width: 3px;\n height: calc(100% - 8px);\n top: 4px;\n left: 0;\n border-radius: 2px;\n background-color: var(--theme-color);\n}\n.widgets-panel .widgets-loading .widgets-empty-content a,\n.widgets-panel .widgets-loading .widgets-empty-content a:focus-within,\n.widgets-panel .widgets-loading .widgets-empty-content a:hover,\n.widgets-panel .widgets-empty .widgets-empty-content a,\n.widgets-panel .widgets-empty .widgets-empty-content a:focus-within,\n.widgets-panel .widgets-empty .widgets-empty-content a:hover {\n color: var(--theme-color);\n}\n.widgets-panel .widgets-loading .widgets-empty-content > :last-child,\n.widgets-panel .widgets-empty .widgets-empty-content > :last-child {\n margin-bottom: 0;\n}\n.widgets-panel .widget-items {\n position: relative;\n display: flex;\n align-items: stretch;\n flex-direction: column;\n gap: 8px;\n align-items: flex-start;\n}\n.widgets-panel .widget-items .widget-item {\n font-size: 14px;\n transition: 0.2s ease-out;\n display: flex;\n}\n.widgets-panel .widget-items .widget-item-enter, .widgets-panel .widget-items .widget-item-leave-to {\n opacity: 0;\n transform: scale(0.9);\n}\n.widgets-panel .widget-items .widget-item-leave-active {\n transition: 0.24s cubic-bezier(0.22, 0.61, 0.36, 1);\n position: absolute;\n white-space: nowrap;\n}\n.widgets-panel .widget-items .multiple-widgets {\n display: flex;\n align-items: stretch;\n flex-direction: column;\n gap: 8px;\n align-items: flex-start;\n position: relative;\n}',""]),e.exports=o},2615:(e,t,n)=>{var o=n(2955)((function(e){return e[1]}));o.push([e.id,".component-action {\n display: flex;\n align-items: center;\n gap: 6px;\n cursor: pointer;\n border-radius: 4px;\n padding: 4px 8px 4px 6px;\n font-size: 13px;\n}\n.component-action:hover {\n background-color: #8884;\n}\n.component-action.disabled {\n cursor: not-allowed;\n opacity: 0.5;\n}",""]),e.exports=o},1082:(e,t,n)=>{var o=n(2955)((function(e){return e[1]}));o.push([e.id,".be-about-page {\n flex: 1;\n}\n.be-about-page-header {\n display: flex;\n align-items: center;\n gap: 6px;\n margin-bottom: 12px;\n}\n.be-about-page-header .title-text {\n font-size: 16px;\n font-weight: 600;\n flex: 1 0 auto;\n}\n.be-about-page-content {\n display: flex;\n align-items: stretch;\n flex-direction: column;\n gap: 24px;\n}\n.be-about-page-content .script-meta-info {\n display: flex;\n align-items: center;\n flex-direction: column;\n gap: 8px;\n text-align: center;\n padding: 0 24px;\n}\n.be-about-page-content .script-meta-info .meta-info-name {\n font-weight: 500;\n font-size: 22px;\n}\n.be-about-page-content .script-meta-info .meta-info-version {\n font-size: 14px;\n color: var(--theme-color);\n}\n.be-about-page-content .script-meta-info .meta-info-description {\n opacity: 0.5;\n}\n.be-about-page-content .script-links .script-link {\n display: flex;\n align-items: stretch;\n}\n.be-about-page-content .script-links .script-link .be-button {\n flex: 1;\n}\n.be-about-page-content .script-links,\n.be-about-page-content .about-page-actions {\n display: flex;\n align-items: stretch;\n gap: 8px;\n flex-wrap: wrap;\n}\n.be-about-page-content .script-links .script-link,\n.be-about-page-content .script-links .about-page-action,\n.be-about-page-content .about-page-actions .script-link,\n.be-about-page-content .about-page-actions .about-page-action {\n flex: 1 0 auto;\n}\n.be-about-page-content .script-links .script-link .be-icon,\n.be-about-page-content .script-links .about-page-action .be-icon,\n.be-about-page-content .about-page-actions .script-link .be-icon,\n.be-about-page-content .about-page-actions .about-page-action .be-icon {\n margin-right: 6px;\n}",""]),e.exports=o},4903:(e,t,n)=>{var o=n(2955)((function(e){return e[1]}));o.push([e.id,".manage-panel .manage-item {\n flex: 0 0 auto;\n min-height: 30px;\n width: 100%;\n box-sizing: border-box;\n}",""]),e.exports=o},7425:(e,t,n)=>{var o=n(2955)((function(e){return e[1]}));o.push([e.id,".manage-panel {\n height: calc(var(--panel-height) - 52px - 48px);\n display: flex;\n flex-direction: column;\n}\n.manage-panel > :not(:last-child) {\n margin-bottom: 12px;\n}\n.manage-panel .be-button .be-icon {\n margin-right: 6px;\n}\n.manage-panel .exclude-built-in .be-switch-box {\n margin-left: 6px;\n}\n.manage-panel .title-text {\n font-size: 14px;\n font-weight: 600;\n}\n.manage-panel .item-url-result {\n color: var(--theme-color);\n}\n.manage-panel .item-url {\n margin-right: 12px;\n}\n.manage-panel .manage-item-list {\n display: flex;\n align-items: center;\n flex-direction: column;\n overflow: auto;\n scrollbar-width: none !important;\n overscroll-behavior: contain;\n flex-shrink: 1;\n}\n.manage-panel .manage-item-list::-webkit-scrollbar {\n height: 0 !important;\n width: 0 !important;\n}\n.manage-panel .item-actions {\n display: flex;\n align-items: center;\n gap: 12px;\n}\n.manage-panel .exclude-built-in {\n display: flex;\n align-items: center;\n}\n.manage-panel .be-loading {\n width: 100%;\n text-align: center;\n}\n.manage-panel .description-text {\n opacity: 0.75;\n}\n.manage-panel .add-item-row {\n position: relative;\n}\n.manage-panel .batch-add-popup {\n top: calc(100% + 8px);\n left: 50%;\n transition: 0.2s ease-out;\n transform: translateX(-50%) translateY(-8px);\n padding: 8px;\n width: 100%;\n min-height: calc(var(--panel-height) / 2);\n background-color: #fff;\n color: black;\n border-radius: 8px;\n border: 1px solid #8882;\n box-sizing: border-box;\n box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.05);\n display: flex;\n align-items: stretch;\n flex-direction: column;\n gap: 8px;\n}\nbody.dark .manage-panel .batch-add-popup {\n box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.2);\n}\nbody.dark .manage-panel .batch-add-popup {\n background-color: var(--be-color-card-bg, #282828);\n color: var(--be-color-text-title, #eee);\n}\nbody.dark .manage-panel .batch-add-popup {\n background-color: var(--be-color-popup-bg, #222);\n}\n.manage-panel .batch-add-popup.open {\n transform: translateX(-50%) translateY(0px);\n}\n.manage-panel .batch-add-popup .be-text-area {\n flex: 1 0 auto;\n}\n.manage-panel .batch-add-popup .batch-add-actions {\n display: flex;\n align-items: center;\n gap: 8px;\n}\n.manage-panel .batch-add-popup .batch-add-actions .be-button {\n flex: 1 0 0;\n}\n.manage-panel .batch-add-popup .batch-add-actions .be-icon {\n margin-right: 6px;\n}\n.manage-panel-title {\n gap: 6px;\n}\n.manage-panel-title .title-text {\n font-size: 16px;\n font-weight: 600;\n flex: 1 0 auto;\n}\n.manage-panel .search-item-row {\n gap: 6px;\n}",""]),e.exports=o},8952:(e,t,n)=>{var o=n(2955)((function(e){return e[1]}));o.push([e.id,'.manage-panel .user-item {\n display: grid;\n column-gap: 6px;\n grid-template: "displayName line remove" auto "name line remove" auto/auto 1fr auto;\n align-items: center;\n padding: 6px 0;\n}\n.manage-panel .user-item .user-item-display-name {\n grid-area: displayName;\n}\n.manage-panel .user-item .user-item-name {\n grid-area: name;\n opacity: 0.5;\n font-size: 11px;\n}\n.manage-panel .user-item .user-item-line {\n grid-area: line;\n justify-self: stretch;\n transition: 0.2s ease-out;\n opacity: 0;\n height: 0;\n width: 100%;\n border-bottom: 1px dashed;\n box-sizing: border-box;\n}\n.manage-panel .user-item .user-item-toggle {\n grid-area: toggle;\n justify-self: end;\n}\n.manage-panel .user-item .user-item-remove-confirm {\n display: flex;\n align-items: center;\n gap: 8px;\n font-size: 13px;\n color: white;\n}\n.manage-panel .user-item .user-item-remove-confirm .be-button {\n color: inherit;\n font-size: 12px;\n padding: 4px;\n padding-right: 6px;\n}\n.manage-panel .user-item .user-item-remove-confirm .be-button .be-icon {\n margin-right: 4px;\n}\n.manage-panel .user-item .tippy-box {\n border-radius: 8px;\n}\n.manage-panel .user-item .tippy-box .tippy-content {\n padding-right: 5px;\n}\n.manage-panel .user-item .user-item-remove {\n grid-area: remove;\n justify-self: end;\n display: flex;\n align-items: center;\n opacity: 0.1;\n transition: 0.2s ease-out;\n cursor: pointer;\n padding: 4px;\n}\n.manage-panel .user-item .user-item-remove:hover {\n opacity: 1;\n color: #e54e4e;\n}\n.manage-panel .user-item:hover .user-item-remove:not(:hover) {\n opacity: 0.75;\n}\n.manage-panel .user-item:hover .user-item-line {\n opacity: 0.5;\n}',""]),e.exports=o},1402:(e,t,n)=>{var o=n(2955)((function(e){return e[1]}));o.push([e.id,".online-registry {\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%) scale(0.95);\n width: 400px;\n height: 85vh;\n z-index: 100000;\n transition: 0.2s ease-out;\n font-size: 14px;\n display: flex;\n align-items: stretch;\n flex-direction: column;\n background-color: #fff;\n color: black;\n border-radius: 8px;\n border: 1px solid #8882;\n box-sizing: border-box;\n box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.05);\n}\nbody.dark .online-registry {\n box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.2);\n}\nbody.dark .online-registry {\n background-color: var(--be-color-card-bg, #282828);\n color: var(--be-color-text-title, #eee);\n}\nbody.dark .online-registry {\n background-color: var(--be-color-popup-bg, #222);\n}\n.online-registry.open {\n transform: translate(-50%, -50%) scale(1);\n}\n.online-registry-header {\n padding: 12px 12px 6px 12px;\n display: flex;\n align-items: center;\n gap: 12px;\n row-gap: 6px;\n flex-wrap: wrap;\n}\n.online-registry-header + .online-registry-header {\n padding-top: 6px;\n}\n.online-registry-header-title {\n flex: 1;\n font-size: 18px;\n font-weight: 600;\n}\n.online-registry-header-search {\n flex: 1;\n justify-content: center;\n display: flex;\n align-items: center;\n gap: 6px;\n}\n.online-registry-header-search .be-textbox {\n max-width: 320px;\n flex: 1;\n font-size: 12px;\n}\n.online-registry-header-filter {\n display: flex;\n align-items: center;\n gap: 6px;\n font-size: 12px;\n}\n.online-registry-header-branch {\n display: flex;\n align-items: center;\n gap: 6px;\n font-size: 12px;\n}\n.online-registry-header-refresh-icon, .online-registry-header-close-icon {\n padding: 2px;\n cursor: pointer;\n transition: 0.3s ease-out;\n}\n.online-registry-header-refresh-icon:hover, .online-registry-header-close-icon:hover {\n color: var(--theme-color);\n}\n.online-registry-header-refresh-icon {\n padding: 3px;\n}\n.online-registry-header-refresh-icon:hover {\n transform: rotate(360deg);\n}\n.online-registry-separator {\n height: 1px;\n width: calc(100% - 24px);\n margin: 0 12px;\n background-color: #8882;\n}\n.online-registry-content {\n flex: 1;\n padding: 4px 0;\n overflow: auto;\n scrollbar-width: none !important;\n overscroll-behavior: contain;\n}\n.online-registry-content::-webkit-scrollbar {\n height: 0 !important;\n width: 0 !important;\n}\n.online-registry-content .be-loading,\n.online-registry-content .be-empty {\n margin: 12px 0;\n}",""]),e.exports=o},5932:(e,t,n)=>{var o=n(2955)((function(e){return e[1]}));o.push([e.id,'.online-registry-item-wrapper {\n min-height: 39px;\n position: relative;\n}\n.online-registry-item-wrapper.hidden {\n display: none;\n}\n.online-registry-item-wrapper::before {\n content: "";\n opacity: 0;\n transition: opacity 0.2s ease-out;\n position: absolute;\n pointer-events: none;\n top: 50%;\n left: 12px;\n transform: translateY(-50%);\n width: calc(100% - 24px);\n height: 20px;\n background-color: #8882;\n display: flex;\n}\n.online-registry-item-wrapper.virtual::before {\n opacity: 1;\n}\n.online-registry-item {\n display: flex;\n align-items: center;\n gap: 4px;\n flex-wrap: wrap;\n padding: 8px 12px;\n}\n.online-registry-item:hover {\n background-color: #8881;\n}\n.online-registry-item:not(:last-child) {\n border-bottom: 1px solid #8882;\n}\n.online-registry-item .item-badge {\n padding: 2px 4px;\n border: 1px solid #8882;\n border-radius: 4px;\n font-size: 12px;\n}\n.online-registry-item .item-display-name {\n font-weight: 600;\n}\n.online-registry-item .grow {\n flex: 1 0 0;\n}\n.online-registry-item .item-action {\n font-size: 12px;\n}\n.online-registry-item .item-action .be-icon {\n margin-right: 6px;\n}\n.online-registry-item .item-action .reinstall-button:not(:hover):not(:focus-within) {\n opacity: 0.5;\n}\n.online-registry-item:hover .item-description {\n opacity: 1;\n}\n.online-registry-description {\n font-size: 13px;\n line-height: normal;\n word-break: break-all;\n}\n.online-registry-description > * {\n font-size: inherit;\n}\n.online-registry-description h1,\n.online-registry-description h2,\n.online-registry-description h3,\n.online-registry-description h4,\n.online-registry-description h5,\n.online-registry-description h6 {\n margin-block-start: 1em;\n margin-block-end: 0.75em;\n font-weight: 600;\n color: inherit;\n}\n.online-registry-description ul,\n.online-registry-description ul li {\n list-style: disc;\n font-size: inherit;\n}\n.online-registry-description ol,\n.online-registry-description ol li {\n list-style: decimal;\n font-size: inherit;\n}\n.online-registry-description ul,\n.online-registry-description ol {\n padding-left: 16px;\n margin: 0;\n}\n.online-registry-description ul li,\n.online-registry-description ol li {\n line-height: 1.75;\n}\n.online-registry-description p {\n margin: 0;\n}\n.online-registry-description details {\n line-height: 1.75;\n}\n.online-registry-description details summary {\n cursor: pointer;\n margin: 4px 0;\n}\n.online-registry-description > p {\n line-height: 1.75;\n}\n.online-registry-description p + p {\n margin-top: 8px;\n}\n.online-registry-description pre {\n white-space: pre-wrap;\n}\n.online-registry-description code {\n display: inline-block;\n padding: 0 4px;\n margin: 1px 2px;\n border-radius: 4px;\n background-color: #8882;\n line-height: normal;\n}\n.online-registry-description kbd {\n font-family: monospace;\n border: 1px solid #ccc;\n display: inline-block;\n border-radius: 4px;\n padding: 0 4px;\n margin: 1px 2px;\n line-height: 1.1;\n}\nbody.dark .online-registry-description kbd {\n border-color: #666;\n}\n.online-registry-description blockquote {\n border-radius: 4px;\n margin: 0;\n padding: 4px;\n padding-left: 12px;\n color: inherit;\n background-color: #8881;\n box-sizing: border-box;\n position: relative;\n}\nbody.dark .online-registry-description blockquote * {\n color: inherit !important;\n}\n.online-registry-description blockquote::before {\n content: "";\n position: absolute;\n display: block;\n width: 3px;\n height: calc(100% - 8px);\n top: 4px;\n left: 0;\n border-radius: 2px;\n background-color: var(--theme-color);\n}\n.online-registry-description a,\n.online-registry-description a:focus-within,\n.online-registry-description a:hover {\n color: var(--theme-color);\n}\n.online-registry-description > :last-child {\n margin-bottom: 0;\n}',""]),e.exports=o},7034:(e,t,n)=>{var o=n(2955)((function(e){return e[1]}));o.push([e.id,".be-video-control-bar-extend {\n display: flex;\n}\n.squirtle-controller-wrap .be-video-control-bar-extend {\n margin-top: 1px;\n}\n.be-video-control-bar-extend, .squirtle-controller.squirtle-wide-screen .be-video-control-bar-extend.squirtle-block-wrap {\n width: auto !important;\n margin-top: 0px;\n}\n.be-video-control-bar-extend .bp-svgicon {\n width: auto;\n padding-top: 1px;\n}\n.be-video-control-bar-extend .bp-svgicon .be-icon {\n transition: transform 0.2s ease-out;\n}\n.be-video-control-bar-extend .bp-svgicon .be-icon svg,\n.be-video-control-bar-extend .bp-svgicon .be-icon {\n font-size: 22px;\n width: 22px;\n height: 22px;\n color: #fff;\n fill: #fff;\n}\nbody.player-mode-full .be-video-control-bar-extend .bp-svgicon .be-icon svg, body.player-fullscreen-fix .be-video-control-bar-extend .bp-svgicon .be-icon svg, body.player-mode-web .be-video-control-bar-extend .bp-svgicon .be-icon svg, body.player-full-win .be-video-control-bar-extend .bp-svgicon .be-icon svg,\nbody.player-mode-full .be-video-control-bar-extend .bp-svgicon .be-icon,\nbody.player-fullscreen-fix .be-video-control-bar-extend .bp-svgicon .be-icon,\nbody.player-mode-web .be-video-control-bar-extend .bp-svgicon .be-icon,\nbody.player-full-win .be-video-control-bar-extend .bp-svgicon .be-icon {\n font-size: 28px;\n width: 28px;\n height: 28px;\n}\n.be-video-control-bar-extend .be-video-control-tooltip {\n pointer-events: none;\n font-size: 12px;\n padding: 6px 8px;\n line-height: normal;\n white-space: nowrap;\n color: #fff;\n background-color: #000000b3;\n border-radius: 4px;\n position: absolute;\n top: 0;\n left: 50%;\n transform: translateX(-50%) translateY(calc(-100% - 11px));\n opacity: 0;\n}\n.be-video-control-bar-extend-item {\n display: flex;\n align-items: flex-start;\n justify-content: center;\n position: relative;\n}\n.squirtle-controller-wrap .be-video-control-bar-extend-item {\n align-items: center;\n}\n.be-video-control-bar-extend-item:hover .be-video-control-tooltip {\n transition: all 0.3s ease-in-out 0.3s;\n opacity: 1;\n transform: translateX(-50%) translateY(calc(-100% - 19px));\n}\n.be-video-control-bar-extend-item:active .bp-svgicon .be-icon {\n transform: scale(0.95);\n}\n.be-video-control-bar-extend-item button {\n background-color: transparent;\n margin: 0;\n padding: 0;\n border: none;\n cursor: pointer;\n}\n.be-video-control-bar-extend-item button:hover, .be-video-control-bar-extend-item button:active {\n outline: none !important;\n}\nbody.player-mode-full .bpx-player-control-wrap .be-video-control-bar-extend-item button, body.player-fullscreen-fix .bpx-player-control-wrap .be-video-control-bar-extend-item button, body.player-mode-web .bpx-player-control-wrap .be-video-control-bar-extend-item button, body.player-full-win .bpx-player-control-wrap .be-video-control-bar-extend-item button {\n padding-top: 2px;\n}",""]),e.exports=o},8520:(e,t,n)=>{var o=n(2955)((function(e){return e[1]}));o.push([e.id,".be-dialog {\n background-color: #fff;\n color: black;\n border-radius: 8px;\n border: 1px solid #8882;\n box-sizing: border-box;\n box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.05);\n display: flex;\n align-items: stretch;\n flex-direction: column;\n min-width: 200px;\n min-height: 150px;\n max-width: calc(100vw - 100px);\n max-height: calc(100vh - 100px);\n position: fixed;\n transition: 0.2s ease-out;\n left: 50%;\n top: 50%;\n transform: translateX(-50%) translateY(-50%) scale(0.95);\n opacity: 0;\n pointer-events: none;\n}\nbody.dark .be-dialog {\n box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.2);\n}\nbody.dark .be-dialog {\n background-color: var(--be-color-card-bg, #282828);\n color: var(--be-color-text-title, #eee);\n}\nbody.dark .be-dialog {\n background-color: var(--be-color-popup-bg, #222);\n}\n.be-dialog.open {\n transform: translateX(-50%) translateY(-50%) scale(1);\n opacity: 1;\n pointer-events: initial;\n}\n.be-dialog-header {\n display: flex;\n align-items: center;\n gap: 8px;\n justify-content: space-between;\n padding: 12px 12px 12px 16px;\n}\n.be-dialog-header-title {\n font-weight: 600;\n font-size: 18px;\n}\n.be-dialog-header-close .be-button {\n padding: 6px;\n}\n.be-dialog-content {\n flex: 1 0 auto;\n overflow: auto;\n}",""]),e.exports=o},310:(e,t,n)=>{var o=n(2955)((function(e){return e[1]}));o.push([e.id,".toast-card {\n background: var(--be-color-card-bg, #fff);\n min-width: var(--card-min-width);\n max-width: 60vw;\n min-height: 87px;\n margin: 8px 0;\n box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.05);\n box-sizing: border-box;\n border: 1px solid #8884;\n transform-origin: left;\n overflow: hidden;\n display: flex;\n flex-direction: column;\n transition: 0.3s cubic-bezier(0.18, 0.89, 0.32, 1.28);\n position: relative;\n padding-left: 8px;\n border-radius: 8px;\n}\nbody.dark .toast-card {\n box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.2);\n}\n.toast-card.toast-card-container-enter, .toast-card.toast-card-container-leave-to {\n opacity: 0;\n transform: translateX(var(--card-min-width-negative));\n}\n.toast-card.toast-card-container-leave-active {\n position: absolute;\n transition: 0.3s cubic-bezier(0.6, -0.28, 0.74, 0.05);\n}\n.toast-card-header {\n display: flex;\n align-items: center;\n}\n.toast-card-title {\n font-size: 18px;\n color: var(--be-color-text-title, #444);\n opacity: 0.5;\n margin: 12px;\n font-weight: 600;\n flex: 1 1 auto;\n}\n.toast-card-close {\n height: 24px;\n width: 24px;\n display: flex;\n align-items: center;\n position: relative;\n justify-content: center;\n flex: 0 0 auto;\n padding: 14px;\n cursor: pointer;\n -webkit-tap-highlight-color: transparent;\n box-sizing: content-box;\n opacity: 0.75;\n}\n.toast-card-close:hover {\n opacity: 0.85;\n}\n.toast-card-close:hover .be-icon {\n transform: scale(1.2);\n}\n.toast-card-close:active {\n opacity: 0.9;\n}\n.toast-card-close:active .be-icon {\n transform: scale(1.3);\n}\n.toast-card-close .be-icon {\n transition: 0.2s ease-out;\n}\n.toast-card-close .be-progress-ring {\n position: absolute;\n top: 50%;\n left: 50%;\n transform: translateX(-50%) translateY(-50%);\n --ring-color: currentColor;\n opacity: 0;\n}\n.toast-card-close.show-progress .be-progress-ring {\n opacity: 1;\n}\n.toast-card-message {\n color: var(--be-color-text-content, #000);\n font-size: 14px;\n margin: 0 16px 12px 12px;\n white-space: pre-wrap;\n display: flex;\n align-items: center;\n line-height: 1.5;\n flex-wrap: wrap;\n word-break: break-all;\n max-height: 200px;\n overflow: auto;\n}\n.toast-card-border {\n position: absolute;\n border-radius: 2px;\n height: calc(100% - 10px);\n width: 4px;\n top: 5px;\n left: 0;\n}\n.toast-card.toast-default .toast-card-border {\n background-color: #444;\n}\n.toast-card.toast-error .toast-card-border {\n background-color: #f44336;\n}\n.toast-card.toast-info .toast-card-border {\n background-color: #2196f3;\n}\n.toast-card.toast-success .toast-card-border {\n background-color: #8bc34a;\n}\n.toast-card span,\n.toast-card .link {\n display: inline-block;\n padding: 2px 4px;\n margin: 2px;\n background-color: var(--be-color-tag-bg, #8882);\n color: var(--be-color-text-content, #000);\n text-decoration: none;\n transition: all 0.2s ease-out;\n border-radius: 6px;\n}\n.toast-card .link {\n cursor: pointer;\n}\n.toast-card .link:hover {\n background-color: var(--be-color-tag-bg-hover, #8883);\n}\n.toast-card .link:active {\n background-color: var(--be-color-tag-bg-active, #8884);\n}\n.toast-card .download-link,\n.toast-card .download-link:hover {\n color: inherit !important;\n text-decoration: underline;\n word-break: break-all;\n}",""]),e.exports=o},2303:(e,t,n)=>{var o=n(2955)((function(e){return e[1]}));o.push([e.id,".toast-card-container {\n --card-min-width: 240px;\n --card-min-width-negative: -240px;\n position: fixed;\n left: 0;\n bottom: 0;\n display: flex;\n flex-direction: column-reverse;\n align-items: flex-start;\n padding-left: 16px;\n z-index: 100001;\n pointer-events: none;\n overflow: hidden;\n width: 100%;\n height: 100%;\n transition: 0.2s ease-out;\n}\n.toast-card-container * {\n pointer-events: initial;\n transition: 0.2s ease-out;\n}",""]),e.exports=o},6183:(e,t,n)=>{var o=n(2955)((function(e){return e[1]}));o.push([e.id,".be-check-box .text-container[data-v-07bbf374] {\n flex: 1 1 auto;\n display: flex;\n align-items: center;\n}\n.be-check-box .icon-container[data-v-07bbf374] {\n flex-shrink: 0;\n position: relative;\n margin: 2px 0 2px 8px;\n}\n.be-check-box .icon-container > *[data-v-07bbf374] {\n transition: 0.3s cubic-bezier(0.18, 0.89, 0.32, 1.28);\n}\n.be-check-box .icon-container .not-checked[data-v-07bbf374] {\n opacity: 0.75;\n}\n.be-check-box .icon-container .checked[data-v-07bbf374] {\n position: absolute;\n top: 0;\n left: 0;\n opacity: 0;\n transform: scale(0);\n}\n.be-check-box.checked .icon-container[data-v-07bbf374] {\n color: var(--theme-color);\n}\n.be-check-box.checked .icon-container .not-checked[data-v-07bbf374] {\n transform: scale(0);\n opacity: 0;\n}\n.be-check-box.checked .icon-container .checked[data-v-07bbf374] {\n transform: scale(1);\n opacity: 1;\n}\n.be-check-box.left-icon .icon-container[data-v-07bbf374] {\n order: -1;\n margin: 2px 6px 2px 0;\n}",""]),e.exports=o},9594:(e,t,n)=>{var o=n(2955)((function(e){return e[1]}));o.push([e.id,".collapsible-container[data-v-2c565e7e] {\n border: 1px solid #8884;\n border-radius: 4px;\n overflow: hidden;\n color: #000;\n background-color: #fff;\n}\nbody.dark .collapsible-container[data-v-2c565e7e] {\n color: var(--be-color-text-title, #eee);\n background-color: var(--be-color-popup-bg, #444);\n}\n.collapsible-container .header[data-v-2c565e7e] {\n display: flex;\n align-items: center;\n justify-content: space-between;\n cursor: pointer;\n -webkit-user-select: none;\n user-select: none;\n background-color: #8882;\n}\nbody.dark .collapsible-container .header[data-v-2c565e7e] {\n background-color: var(--be-color-popup-bg, #333);\n}\n.collapsible-container .header .default-header[data-v-2c565e7e] {\n display: flex;\n align-items: center;\n gap: 8px;\n justify-content: space-between;\n width: 100%;\n}\n.collapsible-container .header .default-header-title[data-v-2c565e7e] {\n align-content: center;\n padding: 8px 10px;\n}\n.collapsible-container .header .default-header .arrow[data-v-2c565e7e] {\n transition: transform 0.3s ease;\n padding: 7px 10px;\n}\n.collapsible-container .header .default-header .arrow.expanded[data-v-2c565e7e] {\n transform: rotate(180deg);\n}\n.collapsible-container .content[data-v-2c565e7e] {\n padding: 10px;\n color: #000;\n background-color: #fff;\n}\nbody.dark .collapsible-container .content[data-v-2c565e7e] {\n color: var(--be-color-text-title, #eee);\n background-color: var(--be-color-popup-bg, #444);\n}\n.collapsible-container .content > *[data-v-2c565e7e]:not(:last-child) {\n margin-bottom: 8px;\n}\n.collapsible-container .content.disabled[data-v-2c565e7e] {\n opacity: 0.6;\n pointer-events: none;\n}",""]),e.exports=o},8364:(e,t,n)=>{var o=n(2955)((function(e){return e[1]}));o.push([e.id,".be-color-picker[data-v-87a36270] {\n font-size: 14px;\n display: flex;\n position: relative;\n color: #000;\n}\n.be-color-picker[data-v-87a36270], .be-color-picker *[data-v-87a36270] {\n -webkit-tap-highlight-color: transparent;\n}\nbody.dark .be-color-picker[data-v-87a36270] {\n color: var(--be-color-text-title, #eee);\n}\n.be-color-picker .selected-color[data-v-87a36270] {\n cursor: pointer;\n border-radius: 50%;\n outline: none !important;\n transition: box-shadow 0.2s ease-out;\n}\n.be-color-picker .selected-color[data-v-87a36270]:focus-within {\n box-shadow: 0 0 0 3px var(--theme-color-20);\n}\n.be-color-picker .picker[data-v-87a36270] {\n left: calc(50% + var(--offset));\n top: 100%;\n transition: 0.12s ease-out;\n transform: translateX(-50%) translateY(8px) scale(0.75);\n transform-origin: top;\n display: flex;\n flex-direction: column;\n align-items: stretch;\n padding: 14px;\n width: 240px;\n background-color: #fff;\n color: black;\n border-radius: 8px;\n border: 1px solid #8882;\n box-sizing: border-box;\n box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.05);\n box-sizing: content-box;\n}\nbody.dark .be-color-picker .picker[data-v-87a36270] {\n box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.2);\n}\nbody.dark .be-color-picker .picker[data-v-87a36270] {\n background-color: var(--be-color-card-bg, #282828);\n color: var(--be-color-text-title, #eee);\n}\nbody.dark .be-color-picker .picker[data-v-87a36270] {\n background-color: var(--be-color-popup-bg, #222);\n}\n.be-color-picker .picker.open[data-v-87a36270] {\n transform: translateX(-50%) translateY(8px) scale(1);\n}\n.be-color-picker .picker .item-group[data-v-87a36270] {\n display: flex;\n flex-direction: column;\n}\n.be-color-picker .picker .item-group .item-title[data-v-87a36270] {\n font-weight: 600;\n margin-bottom: 8px;\n}\n.be-color-picker .picker .item-group.info[data-v-87a36270], .be-color-picker .picker .item-group.operations[data-v-87a36270] {\n flex-direction: row;\n}\n.be-color-picker .picker .item-group.operations .ok[data-v-87a36270],\n.be-color-picker .picker .item-group.operations .cancel[data-v-87a36270] {\n padding: 6px 8px;\n flex: 1 0 0;\n text-align: center;\n font-size: 14px;\n}\n.be-color-picker .picker .item-group.operations .cancel[data-v-87a36270] {\n margin-right: 4px;\n}\n.be-color-picker .picker .item-group.operations .ok[data-v-87a36270] {\n margin-left: 4px;\n}\n.be-color-picker .picker .item-group.info[data-v-87a36270] {\n display: flex;\n align-items: center;\n justify-content: space-between;\n}\n.be-color-picker .picker .item-group.info .color-preview[data-v-87a36270] {\n transition: none;\n width: 24px;\n height: 24px;\n margin-right: 8px;\n border-radius: 50%;\n}\n.be-color-picker .picker .item-group.info .grow[data-v-87a36270] {\n flex: 1 0 0;\n}\n.be-color-picker .picker .item-group.info .toggle-mode[data-v-87a36270] {\n font-size: 14px;\n padding: 4px 8px;\n}\n.be-color-picker .picker .item-group.info .hex[data-v-87a36270] {\n flex: 1 1 64px;\n}\n.be-color-picker .picker .item-group .colors[data-v-87a36270] {\n display: flex;\n flex-wrap: wrap;\n justify-content: flex-start;\n}\n.be-color-picker .picker .item-group .colors .color[data-v-87a36270] {\n outline: none !important;\n margin-right: 6px;\n margin-bottom: 6px;\n height: 24px;\n width: 24px;\n cursor: pointer;\n border-radius: 50%;\n transition: transform 0.2s ease-out;\n}\n.be-color-picker .picker .item-group .colors .color[data-v-87a36270]:hover, .be-color-picker .picker .item-group .colors .color[data-v-87a36270]:focus-within {\n transform: scale(1.1);\n}\n.be-color-picker .picker .item-group .colors .color[data-v-87a36270]:active {\n transform: scale(1.05);\n}\n.be-color-picker .picker .item-group .bars[data-v-87a36270] {\n display: flex;\n flex-direction: column;\n}\n.be-color-picker .picker .item-group .bars .bar[data-v-87a36270] {\n display: flex;\n align-items: center;\n font-size: 14px;\n margin-bottom: 4px;\n}\n.be-color-picker .picker .item-group .bars .bar .color-bar[data-v-87a36270] {\n height: 4px;\n border-radius: 2px;\n box-shadow: 0 0 0 2px #8882;\n}\n.be-color-picker .picker .item-group .bars .bar .color-thumb[data-v-87a36270] {\n width: 14px;\n height: 14px;\n border-radius: 50%;\n border: 2px solid var(--theme-color-20);\n transition: border 0.2s ease-out;\n background-color: #fff;\n}\n.be-color-picker .picker .item-group .bars .bar .be-slider:focus-within .color-thumb[data-v-87a36270] {\n border-color: var(--theme-color);\n}\n.be-color-picker .picker .item-group .bars .bar-name[data-v-87a36270] {\n flex-shrink: 0;\n width: 24px;\n}\n.be-color-picker .picker .item-group .bars .bar-value[data-v-87a36270] {\n flex: 0 0 48px;\n margin-left: 6px;\n text-align: right;\n}\n.be-color-picker .picker .item-group .bars .be-slider[data-v-87a36270] {\n flex: 1 0 0;\n margin: 4px 6px;\n}\n.be-color-picker .picker .item-group[data-v-87a36270]:not(:last-child) {\n margin-bottom: 16px;\n}\n.be-color-picker .picker.compact[data-v-87a36270] {\n width: 200px;\n}\n.be-color-picker .picker.compact .item-group .colors .color[data-v-87a36270] {\n width: 19px;\n height: 19px;\n}",""]),e.exports=o},8071:(e,t,n)=>{var o=n(2955)((function(e){return e[1]}));o.push([e.id,".default-widget[data-v-20e1bedd] {\n position: relative;\n}\n.default-widget .widget-icon[data-v-20e1bedd] {\n margin-right: 8px;\n opacity: 0.75;\n}\n.default-widget .widget-name[data-v-20e1bedd] {\n display: flex;\n}",""]),e.exports=o},6586:(e,t,n)=>{var o=n(2955)((function(e){return e[1]}));o.push([e.id,".be-image-picker[data-v-7b32c90b] {\n position: relative;\n font-size: 14px;\n}\n.be-image-picker .popup[data-v-7b32c90b] {\n transition: 0.12s ease-out;\n transform: translateX(-50%) translateY(8px) scale(0.75);\n transform-origin: top;\n top: 100%;\n left: 50%;\n padding: 8px;\n width: 302px;\n box-sizing: border-box;\n background-color: #fff;\n color: black;\n border-radius: 8px;\n border: 1px solid #8882;\n box-sizing: border-box;\n box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.05);\n}\nbody.dark .be-image-picker .popup[data-v-7b32c90b] {\n box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.2);\n}\nbody.dark .be-image-picker .popup[data-v-7b32c90b] {\n background-color: var(--be-color-card-bg, #282828);\n color: var(--be-color-text-title, #eee);\n}\nbody.dark .be-image-picker .popup[data-v-7b32c90b] {\n background-color: var(--be-color-popup-bg, #222);\n}\n.be-image-picker .popup.open[data-v-7b32c90b] {\n transform: translateX(-50%) translateY(8px) scale(1);\n}\n.be-image-picker .popup .empty-tip[data-v-7b32c90b] {\n color: black;\n fill: black;\n stroke: black;\n text-align: center;\n margin-bottom: 16px;\n}\nbody.dark .be-image-picker .popup .empty-tip[data-v-7b32c90b] {\n color: var(--be-color-text-title, #eee);\n fill: var(--be-color-text-title, #eee);\n stroke: var(--be-color-text-title, #eee);\n}\n.be-image-picker .popup .images[data-v-7b32c90b] {\n max-height: 240px;\n overflow: auto;\n scrollbar-width: none !important;\n overscroll-behavior: contain;\n outline: none !important;\n display: flex;\n flex-wrap: wrap;\n align-items: center;\n justify-content: flex-start;\n padding-left: 6px;\n padding-top: 6px;\n}\n.be-image-picker .popup .images[data-v-7b32c90b]::-webkit-scrollbar {\n height: 0 !important;\n width: 0 !important;\n}\n.be-image-picker .popup .images .image[data-v-7b32c90b] {\n border-radius: 4px;\n transition: transform 0.2s ease-out, box-shadow 0.2s ease-out;\n outline: none !important;\n overflow: hidden;\n cursor: pointer;\n display: flex;\n margin-right: 6px;\n margin-bottom: 6px;\n}\n.be-image-picker .popup .images .image.image-list-enter[data-v-7b32c90b], .be-image-picker .popup .images .image.image-list-leave-to[data-v-7b32c90b] {\n opacity: 0;\n}\n.be-image-picker .popup .images .image.image-list-leave-active[data-v-7b32c90b] {\n position: absolute;\n}\n.be-image-picker .popup .images .image img[data-v-7b32c90b] {\n object-fit: cover;\n transition: 0.2s ease-out;\n}\n.be-image-picker .popup .images .image[data-v-7b32c90b]:hover, .be-image-picker .popup .images .image[data-v-7b32c90b]:focus-within {\n box-shadow: 0 0 0 2px var(--theme-color), 0 0 0 4px var(--theme-color-20);\n}\n.be-image-picker .popup .images .image:hover img[data-v-7b32c90b], .be-image-picker .popup .images .image:focus-within img[data-v-7b32c90b] {\n transform: scale(1.1);\n}\n.be-image-picker .popup .images .image.selected[data-v-7b32c90b] {\n box-shadow: 0 0 0 3px var(--theme-color);\n}\n.be-image-picker .popup .mask[data-v-7b32c90b] {\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n border-radius: 8px;\n background-color: #000a;\n}\n.be-image-picker .popup .operations[data-v-7b32c90b] {\n display: flex;\n margin: 8px 4px 4px 4px;\n}\n.be-image-picker .popup .operations[data-v-7b32c90b] > :not(:last-child) {\n margin-right: 8px;\n}\n.be-image-picker .popup .operations > .be-button[data-v-7b32c90b] {\n flex: 1 0 0;\n padding: 6px 8px;\n}\n.be-image-picker .popup .operations > .be-button.clear-image[data-v-7b32c90b] {\n flex-grow: 2;\n}\n.be-image-picker .popup .operations .add-image-popup[data-v-7b32c90b] {\n transition: 0.12s ease-out;\n transform: translateX(-50%) translateY(-50%) scale(0.75);\n top: 50%;\n left: 50%;\n padding: 14px;\n background-color: #fff;\n color: black;\n border-radius: 8px;\n border: 1px solid #8882;\n box-sizing: border-box;\n box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.05);\n width: 80%;\n}\nbody.dark .be-image-picker .popup .operations .add-image-popup[data-v-7b32c90b] {\n box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.2);\n}\nbody.dark .be-image-picker .popup .operations .add-image-popup[data-v-7b32c90b] {\n background-color: var(--be-color-card-bg, #282828);\n color: var(--be-color-text-title, #eee);\n}\nbody.dark .be-image-picker .popup .operations .add-image-popup[data-v-7b32c90b] {\n background-color: var(--be-color-popup-bg, #222);\n}\n.be-image-picker .popup .operations .add-image-popup.open[data-v-7b32c90b] {\n transform: translateX(-50%) translateY(-50%) scale(1);\n}\n.be-image-picker .popup .operations .add-image-popup .add-image-row[data-v-7b32c90b] {\n display: flex;\n align-items: center;\n justify-content: center;\n color: black;\n fill: black;\n stroke: black;\n}\nbody.dark .be-image-picker .popup .operations .add-image-popup .add-image-row[data-v-7b32c90b] {\n color: var(--be-color-text-title, #eee);\n fill: var(--be-color-text-title, #eee);\n stroke: var(--be-color-text-title, #eee);\n}\n.be-image-picker .popup .operations .add-image-popup .add-image-row[data-v-7b32c90b]:not(:last-child) {\n margin-bottom: 12px;\n}\n.be-image-picker .popup .operations .add-image-popup .add-image-row .be-textbox[data-v-7b32c90b] {\n margin-left: 8px;\n flex: 1 0 0;\n}\n.be-image-picker .popup .operations .add-image-popup .add-image-row .be-button[data-v-7b32c90b] {\n flex: 1 0 0;\n padding: 6px 8px;\n}\n.be-image-picker .popup .operations .add-image-popup .add-image-row .title[data-v-7b32c90b] {\n font-weight: 600;\n font-size: 16px;\n}\n.be-image-picker .popup .operations .add-image-popup .add-image-row.buttons[data-v-7b32c90b] > :not(:last-child) {\n margin-right: 8px;\n}",""]),e.exports=o},6529:(e,t,n)=>{var o=n(2955)((function(e){return e[1]}));o.push([e.id,'.image-viewer-container[data-v-8829ba14] {\n background: rgba(0, 0, 0, 0.85);\n width: 100%;\n height: 100%;\n position: fixed;\n top: 0;\n left: 0;\n z-index: 100002;\n display: flex;\n justify-content: center;\n align-items: center;\n opacity: 0;\n pointer-events: none;\n color: #eee;\n}\n.image-viewer-container[data-v-8829ba14], .image-viewer-container *[data-v-8829ba14] {\n transition: 0.2s ease-out;\n}\n.image-viewer-container.open[data-v-8829ba14] {\n opacity: 1;\n pointer-events: initial;\n}\n.image-viewer-container .image-viewer[data-v-8829ba14] {\n width: 90%;\n height: 90%;\n display: grid;\n grid-template: "image close" 48px "image ." auto "image copy-link" 48px "image ." 12px "image new-tab" 48px "image ." 18px "image download" 48px/auto 48px;\n column-gap: 12px;\n justify-items: center;\n justify-content: stretch;\n align-items: center;\n align-content: stretch;\n transform: scale(0.95);\n}\n.image-viewer-container .image-viewer .image-container[data-v-8829ba14] {\n grid-area: image;\n width: 100%;\n height: 100%;\n display: flex;\n flex-direction: column;\n}\n.image-viewer-container .image-viewer .image-container .image[data-v-8829ba14] {\n flex: 1 0 0;\n height: 0;\n object-fit: contain;\n}\n.image-viewer-container .image-viewer .close[data-v-8829ba14] {\n grid-area: close;\n}\n.image-viewer-container .image-viewer .download[data-v-8829ba14] {\n grid-area: download;\n}\n.image-viewer-container .image-viewer .copy-link[data-v-8829ba14] {\n grid-area: copy-link;\n transform: scale(0.95);\n}\n.image-viewer-container .image-viewer .new-tab[data-v-8829ba14] {\n grid-area: new-tab;\n transform: scale(0.85);\n}\n.image-viewer-container .image-viewer .image-viewer-icon[data-v-8829ba14] {\n cursor: pointer;\n width: 100%;\n height: 100%;\n transition: 0.2s ease-out;\n color: #eee;\n}\n.image-viewer-container .image-viewer .image-viewer-icon:hover .be-icon[data-v-8829ba14] {\n color: var(--theme-color);\n}\n.image-viewer-container.open .image-viewer[data-v-8829ba14] {\n transform: scale(1);\n}',""]),e.exports=o},4067:(e,t,n)=>{var o=n(2955)((function(e){return e[1]}));o.push([e.id,".container[data-v-106e4984] {\n display: flex;\n align-items: stretch;\n flex-direction: column;\n gap: 8px;\n}",""]),e.exports=o},4271:(e,t,n)=>{var o=n(2955)((function(e){return e[1]}));o.push([e.id,".option-widget-layout {\n position: relative;\n}\n.option-widget-popup {\n font-size: 12px;\n transition: 0.2s ease-out;\n transform-origin: left;\n transform: translateY(-50%) scale(0.9);\n top: 50%;\n left: calc(100% + 8px);\n background-color: #fff;\n box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.05);\n white-space: nowrap;\n display: grid;\n width: max-content;\n min-width: 180px;\n grid-template-columns: repeat(var(--columns), auto);\n border-radius: 4px;\n border: none;\n max-height: calc(100vh - 100px);\n overflow: auto;\n scrollbar-width: none !important;\n overscroll-behavior: contain;\n}\nbody.dark .option-widget-popup {\n background-color: var(--be-color-panel-bg, #333);\n}\nbody.dark .option-widget-popup {\n box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.2);\n}\n.option-widget-popup::-webkit-scrollbar {\n height: 0 !important;\n width: 0 !important;\n}\n.option-widget-popup.open {\n transform: translateY(-50%) scale(1);\n}\nbody.settings-panel-dock-right .option-widget-popup {\n right: calc(100% + 8px);\n left: unset;\n transform-origin: right;\n}",""]),e.exports=o},9737:(e,t,n)=>{var o=n(2955)((function(e){return e[1]}));o.push([e.id,".be-progress-bar[data-v-56b62124] {\n display: flex;\n justify-content: flex-start;\n align-items: stretch;\n height: 4px;\n background-color: #8884;\n border-radius: 2px;\n min-width: 24px;\n overflow: hidden;\n}\n.be-progress-bar .progress[data-v-56b62124] {\n border-radius: 2px;\n background-color: var(--theme-color);\n}\n.be-progress-bar .progress.transition[data-v-56b62124] {\n transition: width 0.3s ease-out;\n}",""]),e.exports=o},8456:(e,t,n)=>{var o=n(2955)((function(e){return e[1]}));o.push([e.id,".be-progress-ring[data-v-360d0319] {\n --ring-color: var(--theme-color);\n --ring-background: #8884;\n display: flex;\n}\n.be-progress-ring svg[data-v-360d0319] {\n transform: rotate(-90deg);\n}\n.be-progress-ring svg .progress[data-v-360d0319] {\n stroke: var(--ring-color);\n}\n.be-progress-ring svg .progress.transition[data-v-360d0319] {\n transition: stroke-dashoffset 0.3s ease-out;\n}\n.be-progress-ring svg .progress-background[data-v-360d0319] {\n stroke: var(--ring-background);\n}",""]),e.exports=o},6104:(e,t,n)=>{var o=n(2955)((function(e){return e[1]}));o.push([e.id,".group-title[data-v-9b855096] {\n flex-grow: 1;\n padding: 6px 8px;\n}",""]),e.exports=o},5221:(e,t,n)=>{var o=n(2955)((function(e){return e[1]}));o.push([e.id,".be-range-input[data-v-b459c060] {\n display: flex;\n align-items: center;\n}\n.be-range-input > .be-textbox[data-v-b459c060] {\n flex: 1;\n}\n.be-range-input .default-separator[data-v-b459c060] {\n margin: 0 8px;\n flex: 0 0 auto;\n}",""]),e.exports=o},1867:(e,t,n)=>{var o=n(2955)((function(e){return e[1]}));o.push([e.id,".be-scroll-trigger {\n cursor: pointer;\n}",""]),e.exports=o},2430:(e,t,n)=>{var o=n(2955)((function(e){return e[1]}));o.push([e.id,".be-switch-box {\n outline: none !important;\n width: 32px;\n margin: 4px 0;\n}\n.be-switch-box, .be-switch-box *, .be-switch-box *::before, .be-switch-box *::after {\n transition: 0.2s all ease-out;\n}\n.be-switch-box input[type=checkbox] {\n display: none;\n}\n.be-switch-box label {\n display: block;\n cursor: pointer;\n -webkit-tap-highlight-color: transparent;\n}\n.be-switch-box .bar {\n position: relative;\n background-color: var(--be-color-switch-bg, #8884);\n box-sizing: border-box;\n height: 12px;\n border-radius: 6px;\n}\n.be-switch-box .bar .thumb {\n position: absolute;\n left: 0;\n top: 50%;\n transform: translateY(-50%);\n width: 18px;\n height: 18px;\n border-radius: 50%;\n background-color: #fff;\n border: 1px solid #ddd;\n}\nbody.dark .be-switch-box .bar .thumb {\n border-color: var(--be-color-thumb-border, #555);\n background-color: var(--be-color-thumb-bg, #666);\n}\n.be-switch-box.checked .bar {\n background-color: var(--theme-color-50);\n}\n.be-switch-box.checked .bar .thumb {\n background-color: var(--theme-color);\n border-color: transparent;\n left: calc(100% - 18px);\n}\nbody.dark .be-switch-box.checked .bar .thumb {\n border-color: transparent;\n background-color: var(--theme-color);\n}\n.be-switch-box:focus-within.checked .thumb {\n box-shadow: 0 0 0 1px var(--theme-color-20);\n}\n.be-switch-box.disabled {\n opacity: 0.5;\n}\n.be-switch-box.disabled, .be-switch-box.disabled * {\n cursor: not-allowed;\n}",""]),e.exports=o},2413:(e,t,n)=>{var o=n(2955)((function(e){return e[1]}));o.push([e.id,'.be-tab-control {\n display: flex;\n flex-direction: column;\n}\n.be-tab-control .default-header {\n display: flex;\n justify-content: space-between;\n align-items: center;\n padding: 0 8px 8px 0;\n}\n.be-tab-control .default-header .default-tabs {\n display: flex;\n padding: 6px 8px;\n}\n.be-tab-control .default-header .default-tabs .default-tab {\n font-size: 14px;\n position: relative;\n cursor: pointer;\n -webkit-user-select: none;\n user-select: none;\n color: black;\n fill: black;\n stroke: black;\n}\nbody.dark .be-tab-control .default-header .default-tabs .default-tab {\n color: var(--be-color-text-title, #eee);\n fill: var(--be-color-text-title, #eee);\n stroke: var(--be-color-text-title, #eee);\n}\n.be-tab-control .default-header .default-tabs .default-tab:not(:last-child) {\n margin-right: 16px;\n}\n.be-tab-control .default-header .default-tabs .default-tab::after {\n content: "";\n position: absolute;\n top: calc(100% + 4px);\n left: 50%;\n display: block;\n height: 3px;\n border-radius: 2px;\n width: 80%;\n background-color: var(--theme-color);\n transition: transform 0.2s ease-out;\n transform: translateX(-50%) scaleX(0);\n}\n.be-tab-control .default-header .default-tabs .default-tab-name {\n transition: transform 0.2s ease-out;\n opacity: 0.5;\n}\n.be-tab-control .default-header .default-tabs .default-tab.selected .default-tab-name {\n font-weight: 600;\n transform: scale(1.1);\n opacity: 1;\n}\n.be-tab-control .default-header .default-tabs .default-tab.selected::after {\n transform: translateX(-50%) scaleX(1);\n}\n.be-tab-control .default-header .default-tabs .default-tab:not(.selected)[data-count]::before {\n content: attr(data-count);\n position: absolute;\n bottom: calc(100% + 2px);\n left: 50%;\n transform: translateX(-50%);\n display: flex;\n align-items: center;\n justify-content: center;\n padding: 4px;\n font-size: 11px;\n border-radius: 10px;\n background-color: #fff;\n border: 1px solid #8882;\n height: 10px;\n min-width: 10px;\n box-sizing: content-box;\n line-height: 1;\n}\nbody.dark .be-tab-control .default-header .default-tabs .default-tab:not(.selected)[data-count]::before {\n background-color: #333;\n}\n.be-tab-control .default-header .header-item {\n flex: 1;\n margin: 0 8px;\n}\n.be-tab-control .default-header .header-item:empty {\n display: none;\n}\n.be-tab-control .default-header .be-more-link .be-button {\n padding: 4px 6px 4px 10px;\n}\n.be-tab-control .default-header .be-more-link .be-button .be-icon {\n margin-left: 4px;\n}\n.be-tab-control .default-content {\n display: flex;\n flex: 1;\n justify-content: center;\n padding: 6px 0;\n position: relative;\n max-height: 100%;\n overflow: auto;\n scrollbar-width: none !important;\n overscroll-behavior: contain;\n}\n.be-tab-control .default-content::-webkit-scrollbar {\n height: 0 !important;\n width: 0 !important;\n}\n.be-tab-control .default-content .content-transition-enter, .be-tab-control .default-content .content-transition-leave-to {\n opacity: 0;\n transform: translateY(-12px);\n}\n.be-tab-control .default-content .content-transition-leave-active {\n position: absolute;\n}\n.be-tab-control .default-content .content-transition-enter-active, .be-tab-control .default-content .content-transition-leave-active {\n transition: 0.2s ease-out;\n}',""]),e.exports=o},9732:(e,t,n)=>{var o=n(2955)((function(e){return e[1]}));o.push([e.id,".be-text-area {\n flex: 1 1 32px;\n min-width: 32px;\n display: flex;\n align-items: stretch;\n justify-content: stretch;\n border-radius: 4px;\n transition: border 0.2s ease-out, box-shadow 0.2s ease-out;\n box-shadow: 0 0 0 1px #8884, 0 0 0 0px var(--theme-color-20);\n}\n.be-text-area:focus-within {\n box-shadow: 0 0 0 1px var(--theme-color), 0 0 0 3px var(--theme-color-20);\n}\n.be-text-area textarea {\n resize: none;\n field-sizing: content;\n width: 0;\n flex: 1 0 0;\n padding: 4px 6px;\n border-radius: 4px;\n background-color: transparent;\n overflow: auto;\n border: none;\n outline: none !important;\n color: black;\n font-size: inherit;\n}\nbody.dark .be-text-area textarea {\n color: var(--be-color-text-content, #eee);\n}\n.be-text-area textarea:disabled {\n opacity: 0.3;\n cursor: not-allowed;\n}\n.be-text-area textarea::-webkit-input-placeholder {\n color: var(--be-color-text-placeholder, #888);\n}",""]),e.exports=o},1120:(e,t,n)=>{var o=n(2955)((function(e){return e[1]}));o.push([e.id,".be-textbox[data-v-a2f75c14] {\n position: relative;\n flex: 1 1 32px;\n min-width: 32px;\n display: flex;\n align-items: stretch;\n justify-content: stretch;\n border-radius: 4px;\n transition: border 0.2s ease-out, box-shadow 0.2s ease-out;\n box-shadow: 0 0 0 1px #8884, 0 0 0 0px var(--theme-color-20);\n}\n.be-textbox[data-v-a2f75c14]:focus-within {\n box-shadow: 0 0 0 1px var(--theme-color), 0 0 0 3px var(--theme-color-20);\n}\n.be-textbox input[type=text][data-v-a2f75c14] {\n line-height: normal;\n padding: 4px 6px;\n border-radius: 4px;\n flex: 1 0 0;\n background-color: transparent;\n border: none;\n outline: none !important;\n color: black;\n width: 0;\n font-size: inherit;\n}\nbody.dark .be-textbox input[type=text][data-v-a2f75c14] {\n color: var(--be-color-text-content, #eee);\n}\n.be-textbox input[type=text][data-v-a2f75c14]:disabled {\n opacity: 0.3;\n cursor: not-allowed;\n}\n.be-textbox input[type=text][data-v-a2f75c14]::-webkit-input-placeholder {\n color: var(--be-color-text-placeholder, #888);\n}\n.be-textbox.linear[data-v-a2f75c14] {\n box-shadow: none;\n}\n.be-textbox.linear input[type=text][data-v-a2f75c14] {\n padding: 4px;\n}\n.be-textbox.linear .linear-bar[data-v-a2f75c14] {\n position: absolute;\n top: calc(100% - 1px);\n left: 50%;\n transform: translateX(-50%);\n border-radius: 1px;\n height: 1px;\n width: 100%;\n background-color: #8884;\n}\n.be-textbox.linear[data-v-a2f75c14]:focus-within {\n box-shadow: none;\n}\n.be-textbox.linear:focus-within .linear-bar[data-v-a2f75c14] {\n background-color: var(--theme-color);\n}",""]),e.exports=o},6722:(e,t,n)=>{var o=n(2955)((function(e){return e[1]}));o.push([e.id,".be-button[data-v-2c606c52] {\n outline: none !important;\n line-height: normal;\n transition: background-color 0.2s ease-out, box-shadow 0.2s ease-out;\n background-color: #8882;\n color: black;\n border: none;\n border-radius: 4px;\n padding: 4px 8px;\n cursor: pointer;\n display: flex;\n align-items: center;\n justify-content: center;\n}\n.be-button[data-v-2c606c52], .be-button *[data-v-2c606c52] {\n -webkit-tap-highlight-color: transparent;\n}\nbody.dark .be-button[data-v-2c606c52] {\n color: var(--be-color-text-title, #eee);\n}\n.be-button.round[data-v-2c606c52] {\n border-radius: calc(1em + 8px);\n padding: 4px 10px;\n}\n.be-button.icon[data-v-2c606c52] {\n border-radius: 50%;\n padding: 4px;\n background-image: none !important;\n}\n.be-button .content-container[data-v-2c606c52] {\n -webkit-user-select: none;\n user-select: none;\n display: flex;\n align-items: center;\n justify-content: center;\n flex: 1;\n}\n.be-button.transparent[data-v-2c606c52] {\n background-color: transparent;\n}\n.be-button.primary[data-v-2c606c52] {\n box-shadow: 0 0 0 1px var(--theme-color-80);\n background-color: var(--theme-color-80);\n color: var(--foreground-color);\n}\n.be-button.light[data-v-2c606c52] {\n background-color: #fff;\n box-shadow: 0 0 0 1px #8884;\n transition: box-shadow 0.2s ease-out;\n}\nbody.dark .be-button.light[data-v-2c606c52] {\n background-color: var(--be-color-button-bg, #333);\n}\n.be-button[data-v-2c606c52]:not(.disabled):not(.no-effects):hover, .be-button[data-v-2c606c52]:not(.disabled):not(.no-effects):focus-within {\n background-color: #8884;\n}\n.be-button[data-v-2c606c52]:not(.disabled):not(.no-effects):focus-within {\n box-shadow: 0 0 0 1px var(--theme-color), 0 0 0 3px var(--theme-color-20);\n}\n.be-button:not(.disabled):not(.no-effects).transparent[data-v-2c606c52]:hover, .be-button:not(.disabled):not(.no-effects).transparent[data-v-2c606c52]:focus-within {\n background-color: #8882;\n}\n.be-button:not(.disabled):not(.no-effects).primary[data-v-2c606c52]:hover {\n box-shadow: 0 0 0 1px var(--theme-color);\n}\n.be-button:not(.disabled):not(.no-effects).primary[data-v-2c606c52]:focus-within {\n box-shadow: 0 0 0 1px var(--theme-color), 0 0 0 3px var(--theme-color-20);\n}\n.be-button:not(.disabled):not(.no-effects).primary[data-v-2c606c52]:hover, .be-button:not(.disabled):not(.no-effects).primary[data-v-2c606c52]:focus-within {\n background-color: var(--theme-color);\n}\n.be-button:not(.disabled):not(.no-effects).light[data-v-2c606c52]:hover {\n background-color: #fff;\n box-shadow: 0 0 0 1px var(--theme-color);\n}\n.be-button:not(.disabled):not(.no-effects).light[data-v-2c606c52]:active, .be-button:not(.disabled):not(.no-effects).light[data-v-2c606c52]:focus-within {\n background-color: #fff;\n box-shadow: 0 0 0 1px var(--theme-color), 0 0 0 3px var(--theme-color-20);\n}\nbody.dark .be-button:not(.disabled):not(.no-effects).light[data-v-2c606c52]:hover {\n background-color: var(--be-color-button-bg, #333);\n box-shadow: 0 0 0 1px var(--theme-color);\n}\nbody.dark .be-button:not(.disabled):not(.no-effects).light[data-v-2c606c52]:active, body.dark .be-button:not(.disabled):not(.no-effects).light[data-v-2c606c52]:focus-within {\n background-color: var(--be-color-button-bg, #333);\n box-shadow: 0 0 0 1px var(--theme-color), 0 0 0 3px var(--theme-color-20);\n}\n.be-button.disabled[data-v-2c606c52] {\n cursor: not-allowed;\n opacity: 0.5;\n}",""]),e.exports=o},8267:(e,t,n)=>{var o=n(2955)((function(e){return e[1]}));o.push([e.id,".be-dropdown[data-v-a50268e4] {\n display: flex;\n border-radius: 4px;\n color: black;\n fill: black;\n stroke: black;\n background-color: #fff;\n transition: box-shadow 0.2s ease-out;\n box-shadow: 0 0 0 1px #8884;\n position: relative;\n cursor: pointer;\n}\nbody.dark .be-dropdown[data-v-a50268e4] {\n color: var(--be-color-text-title, #eee);\n fill: var(--be-color-text-title, #eee);\n stroke: var(--be-color-text-title, #eee);\n}\n.be-dropdown[data-v-a50268e4], .be-dropdown *[data-v-a50268e4] {\n -webkit-tap-highlight-color: transparent;\n outline: none !important;\n}\nbody.dark .be-dropdown[data-v-a50268e4] {\n background-color: var(--be-color-button-bg, #333);\n}\n.be-dropdown[data-v-a50268e4]:not(.disabled):hover {\n box-shadow: 0 0 0 1px var(--theme-color);\n}\n.be-dropdown[data-v-a50268e4]:not(.disabled):active, .be-dropdown[data-v-a50268e4]:not(.disabled):focus-within {\n box-shadow: 0 0 0 1px var(--theme-color), 0 0 0 3px var(--theme-color-20);\n}\n.be-dropdown .dropdown-popup[data-v-a50268e4] {\n background-color: inherit;\n top: calc(100% + 4px);\n left: 50%;\n transform: translateX(-50%) translateY(-4px) scale(0.8);\n transform-origin: top;\n transition: 0.2s ease-out;\n min-width: 100%;\n box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.05);\n border: 1px solid #8882;\n box-sizing: border-box;\n}\nbody.dark .be-dropdown .dropdown-popup[data-v-a50268e4] {\n box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.2);\n}\n.be-dropdown .dropdown-popup.open[data-v-a50268e4] {\n transform: translateX(-50%) scale(1);\n}\n.be-dropdown .dropdown-popup .bex-dropdown-item[data-v-a50268e4] {\n padding: 4px 6px;\n margin: 2px 4px;\n border-radius: 4px;\n white-space: nowrap;\n display: flex;\n align-items: center;\n justify-content: center;\n transition: background-color 0.2s ease-out;\n}\n.be-dropdown .dropdown-popup .bex-dropdown-item[data-v-a50268e4]:hover, .be-dropdown .dropdown-popup .bex-dropdown-item[data-v-a50268e4]:focus-within {\n background-color: #8882;\n}\n.be-dropdown .dropdown-popup .bex-dropdown-item[data-v-a50268e4]:first-child {\n margin-top: 4px;\n}\n.be-dropdown .dropdown-popup .bex-dropdown-item[data-v-a50268e4]:last-child {\n margin-bottom: 4px;\n}\n.be-dropdown .selected[data-v-a50268e4] {\n display: flex;\n align-items: center;\n flex-grow: 1;\n line-height: normal;\n}\n.be-dropdown .selected-item[data-v-a50268e4] {\n flex: 1;\n padding: 4px 8px;\n}\n.be-dropdown .selected .arrow[data-v-a50268e4] {\n flex-shrink: 0;\n transition: transform 0.2s ease-out;\n}\n.be-dropdown .selected .arrow.open[data-v-a50268e4] {\n transform: rotate(180deg);\n}\n.be-dropdown .selected .arrow .default-arrow[data-v-a50268e4] {\n padding: 0 6px;\n display: flex;\n align-items: center;\n}\n.be-dropdown .selected .arrow .default-arrow path[data-v-a50268e4] {\n fill: transparent;\n}\n.be-dropdown .selected .arrow .default-arrow svg[data-v-a50268e4] {\n transition: 0.2s ease-out;\n stroke: #888a;\n fill: transparent;\n width: 12px;\n height: 12px;\n}\n.be-dropdown:not(.disabled):hover .selected .arrow .default-arrow svg[data-v-a50268e4], .be-dropdown:not(.disabled):active .selected .arrow .default-arrow svg[data-v-a50268e4], .be-dropdown:not(.disabled):focus-within .selected .arrow .default-arrow svg[data-v-a50268e4] {\n stroke: var(--theme-color);\n}\n.be-dropdown.disabled[data-v-a50268e4] {\n opacity: 0.5;\n cursor: not-allowed;\n}\n.be-dropdown.round[data-v-a50268e4] {\n border-radius: calc(1em + 8px);\n}\n.be-dropdown.round .selected-item[data-v-a50268e4] {\n padding: 4px 10px;\n}",""]),e.exports=o},4478:(e,t,n)=>{var o=n(2955)((function(e){return e[1]}));o.push([e.id,".be-empty {\n flex-grow: 1;\n display: flex;\n align-items: center;\n justify-content: center;\n}",""]),e.exports=o},3878:(e,t,n)=>{var o=n(2955)((function(e){return e[1]}));o.push([e.id,".be-loading {\n flex-grow: 1;\n display: flex;\n align-items: center;\n justify-content: center;\n}",""]),e.exports=o},8380:(e,t,n)=>{var o=n(2955)((function(e){return e[1]}));o.push([e.id,".be-popup {\n position: absolute;\n z-index: 1;\n border-radius: 8px;\n}\n.be-popup.fixed {\n position: fixed;\n}\n.be-popup.close.closed-style {\n pointer-events: none;\n opacity: 0;\n}\n.be-popup.open {\n pointer-events: initial;\n opacity: 1;\n}",""]),e.exports=o},347:(e,t,n)=>{var o=n(2955)((function(e){return e[1]}));o.push([e.id,".be-slider[data-v-94f62aa6] {\n min-width: 50px;\n position: relative;\n outline: none !important;\n}\n.be-slider .bar-container[data-v-94f62aa6] {\n padding: 6px 0;\n}\n.be-slider .default-bar[data-v-94f62aa6] {\n height: 4px;\n cursor: pointer;\n border-radius: 2px;\n background-color: #8882;\n}\n.be-slider .thumb-container[data-v-94f62aa6] {\n cursor: pointer;\n position: absolute;\n top: 50%;\n transform: translateX(-50%) translateY(-50%);\n transition: none;\n}\n.be-slider .default-thumb[data-v-94f62aa6] {\n width: 16px;\n height: 16px;\n border-radius: 50%;\n background-color: var(--theme-color);\n box-shadow: 0 0 0 2px var(--theme-color-20);\n transition: box-shadow 0.2s ease-out;\n}",""]),e.exports=o},2976:(e,t,n)=>{var o=n(2955)((function(e){return e[1]}));o.push([e.id,'@charset "UTF-8";\n/** 由于允许自定义SVG插入, 样式不能是scoped的, 否则匹配不上 */\n@font-face {\n font-family: "be-iconfont-bilifont";\n src: url("//s1.hdslb.com/bfs/seed/jinkela/header-v2/asserts/iconfont.ttf") format("truetype");\n}\n@font-face {\n font-family: "be-iconfont-vanfont";\n src: url("//s1.hdslb.com/bfs/static/jinkela/video/asserts/iconfont.6401a86.ttf") format("truetype");\n}\n.be-icon {\n color: inherit;\n fill: inherit;\n stroke: inherit;\n font-size: var(--size);\n font-style: normal;\n line-height: 1;\n display: flex;\n align-items: center;\n justify-content: center;\n width: var(--size);\n height: var(--size);\n}\n.be-icon.be-iconfont-logo::before {\n font-family: "be-iconfont-bilifont" !important;\n content: "";\n}\n.be-icon.be-iconfont-profile::before {\n font-family: "be-iconfont-bilifont" !important;\n content: "";\n}\n.be-icon.be-iconfont-posts::before {\n font-family: "be-iconfont-bilifont" !important;\n content: "";\n}\n.be-icon.be-iconfont-wallet::before {\n font-family: "be-iconfont-bilifont" !important;\n content: "";\n}\n.be-icon.be-iconfont-live-center::before {\n font-family: "be-iconfont-bilifont" !important;\n content: "";\n}\n.be-icon.be-iconfont-order-center::before {\n font-family: "be-iconfont-bilifont" !important;\n content: "";\n}\n.be-icon.be-iconfont-course::before {\n font-family: "be-iconfont-bilifont" !important;\n content: "";\n}\n.be-icon.be-iconfont-logout::before {\n font-family: "be-iconfont-bilifont" !important;\n content: "";\n}\n.be-icon.be-iconfont-ok::before {\n font-family: "be-iconfont-bilifont" !important;\n content: "";\n}\n.be-icon.be-iconfont-cancel::before {\n font-family: "be-iconfont-bilifont" !important;\n content: "";\n}\n.be-icon.be-iconfont-bind-phone::before {\n font-family: "be-iconfont-bilifont" !important;\n content: "";\n}\n.be-icon.be-iconfont-bind-email::before {\n font-family: "be-iconfont-bilifont" !important;\n content: "";\n}\n.be-icon.be-iconfont-coin-outline::before {\n font-family: "be-iconfont-bilifont" !important;\n content: "";\n}\n.be-icon.be-iconfont-b-coin::before {\n font-family: "be-iconfont-bilifont" !important;\n content: "";\n}\n.be-icon.be-iconfont-b-coin-outline::before {\n font-family: "be-iconfont-bilifont" !important;\n content: "";\n}\n.be-icon.be-iconfont-activity::before {\n font-family: "be-iconfont-bilifont" !important;\n content: "";\n}\n.be-icon.be-iconfont-feeds::before {\n font-family: "be-iconfont-bilifont" !important;\n content: "";\n}\n.be-icon.be-iconfont-message::before {\n font-family: "be-iconfont-bilifont" !important;\n content: "";\n}\n.be-icon.be-iconfont-favorites-outline::before {\n font-family: "be-iconfont-bilifont" !important;\n content: "";\n}\n.be-icon.be-iconfont-history::before {\n font-family: "be-iconfont-bilifont" !important;\n content: "";\n}\n.be-icon.be-iconfont-vip::before {\n font-family: "be-iconfont-bilifont" !important;\n content: "";\n}\n.be-icon.be-iconfont-up-outline::before {\n font-family: "be-iconfont-bilifont" !important;\n content: "";\n}\n.be-icon.be-iconfont-play-triangle::before {\n font-family: "be-iconfont-bilifont" !important;\n content: "";\n}\n.be-icon.be-iconfont-refresh::before {\n font-family: "be-iconfont-bilifont" !important;\n content: "";\n}\n.be-icon.be-iconfont-eye::before {\n font-family: "be-iconfont-bilifont" !important;\n content: "";\n}\n.be-icon.be-iconfont-coin::before {\n font-family: "be-iconfont-vanfont" !important;\n content: "";\n}\n.be-icon.be-iconfont-favorites::before {\n font-family: "be-iconfont-vanfont" !important;\n content: "";\n}\n.be-icon.be-iconfont-play::before {\n font-family: "be-iconfont-vanfont" !important;\n content: "";\n}\n.be-icon.be-iconfont-danmaku::before {\n font-family: "be-iconfont-vanfont" !important;\n content: "";\n}\n.be-icon.be-iconfont-like::before {\n font-family: "be-iconfont-vanfont" !important;\n content: "";\n}\n.be-icon.be-iconfont-like-outline::before {\n font-family: "be-iconfont-vanfont" !important;\n content: "";\n}\n.be-icon.be-iconfont-dislike-outline::before {\n font-family: "be-iconfont-vanfont" !important;\n content: "";\n}\n.be-icon.be-iconfont-comment-outline::before {\n font-family: "be-iconfont-vanfont" !important;\n content: "";\n}\n.be-icon.be-iconfont-up::before {\n font-family: "be-iconfont-vanfont" !important;\n content: "";\n}\n.be-icon.be-iconfont-left-arrow::before {\n font-family: "be-iconfont-vanfont" !important;\n content: "";\n}\n.be-icon.be-iconfont-right-arrow::before {\n font-family: "be-iconfont-vanfont" !important;\n content: "";\n}\n.be-icon.be-iconfont-up-arrow::before {\n font-family: "be-iconfont-vanfont" !important;\n content: "";\n}\n.be-icon.be-iconfont-down-arrow::before {\n font-family: "be-iconfont-vanfont" !important;\n content: "";\n}\n.be-icon.be-iconfont-close::before {\n font-family: "be-iconfont-vanfont" !important;\n content: "";\n}\n.be-icon.be-iconfont-search::before {\n font-family: "be-iconfont-vanfont" !important;\n content: "";\n}\n.be-icon.be-iconfont-upload::before {\n font-family: "be-iconfont-vanfont" !important;\n content: "";\n}\n.be-icon.be-iconfont-lv0::before {\n font-family: "be-iconfont-vanfont" !important;\n content: "";\n color: #9a9a9a;\n}\nbody.dark .be-icon.be-iconfont-lv0::before {\n color: #777;\n}\n.be-icon.be-iconfont-lv1::before {\n font-family: "be-iconfont-vanfont" !important;\n content: "";\n color: #646464;\n}\nbody.dark .be-icon.be-iconfont-lv1::before {\n color: #ddd;\n}\n.be-icon.be-iconfont-lv2::before {\n font-family: "be-iconfont-vanfont" !important;\n content: "";\n color: #1bc861;\n}\n.be-icon.be-iconfont-lv3::before {\n font-family: "be-iconfont-vanfont" !important;\n content: "";\n color: #22baea;\n}\n.be-icon.be-iconfont-lv4::before {\n font-family: "be-iconfont-vanfont" !important;\n content: "";\n color: #eaa722;\n}\n.be-icon.be-iconfont-lv5::before {\n font-family: "be-iconfont-vanfont" !important;\n content: "";\n color: #ff7631;\n}\n.be-icon.be-iconfont-lv6::before {\n font-family: "be-iconfont-vanfont" !important;\n content: "";\n color: #ff3131;\n}\n.be-icon:not(.colored) svg, .be-icon:not(.colored) svg path {\n fill: inherit;\n stroke: inherit;\n stroke-width: 0;\n}\n.be-icon .custom-icon {\n display: flex;\n}\n.be-icon .custom-icon > svg {\n width: var(--size);\n height: var(--size);\n}',""]),e.exports=o},2929:(e,t,n)=>{var o=n(2955)((function(e){return e[1]}));o.push([e.id,".tippy-box.tippy-box {\n font-size: inherit;\n filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.2));\n background-color: var(--be-color-tooltip-bg, #333);\n}\n\n.tippy-arrow.tippy-arrow {\n color: var(--be-color-tooltip-bg, #333);\n}",""]),e.exports=o},2955:e=>{"use strict"; // eslint-disable-next-line func-names diff --git a/bb-evolved/registry/dist/components/feeds/copy-link.js b/bb-evolved/registry/dist/components/feeds/copy-link.js index cf8feac927..5376b52189 100644 --- a/bb-evolved/registry/dist/components/feeds/copy-link.js +++ b/bb-evolved/registry/dist/components/feeds/copy-link.js @@ -1,2 +1,2 @@ -!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["feeds/copy-link"]=t():e["feeds/copy-link"]=t()}(globalThis,(()=>(()=>{"use strict";var e,t,o={649:e=>{e.exports=coreApis.componentApis.feeds.api}},r={};function n(e){var t=r[e];if(void 0!==t)return t.exports;var i=r[e]={exports:{}};return o[e](i,i.exports,n),i.exports}t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,n.t=function(o,r){if(1&r&&(o=this(o)),8&r)return o;if("object"==typeof o&&o){if(4&r&&o.__esModule)return o;if(16&r&&"function"==typeof o.then)return o}var i=Object.create(null);n.r(i);var c={};e=e||[null,t({}),t([]),t(t)];for(var s=2&r&&o;"object"==typeof s&&!~e.indexOf(s);s=t(s))Object.getOwnPropertyNames(s).forEach((e=>c[e]=()=>o[e]));return c.default=()=>o,n.d(i,c),i},n.d=(e,t)=>{for(var o in t)n.o(t,o)&&!n.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var i={};n.d(i,{component:()=>a});const c=coreApis.componentApis.define,s=coreApis.utils.urls,a=(0,c.defineComponentMetadata)({name:"copyFeedsLink",displayName:"复制动态链接",description:{"zh-CN":"开启后, 可在每条动态的菜单中选择复制链接."},entry:async()=>{const{forEachFeedsCard:e,addMenuItem:t}=await Promise.resolve().then(n.t.bind(n,649,23));e({added:e=>{t(e,{className:"copy-link",text:"复制链接",action:async()=>{await navigator.clipboard.writeText(`https://t.bilibili.com/${e.id}`)}})}})},urlInclude:s.feedsUrls,tags:[componentsTags.feeds,componentsTags.utils],commitHash:"58c0b438ca2371e397f70466a91572cb2757b142",coreVersion:"2.10.7"});return i=i.component})())); +!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["feeds/copy-link"]=t():e["feeds/copy-link"]=t()}(globalThis,(()=>(()=>{"use strict";var e,t,o={649:e=>{e.exports=coreApis.componentApis.feeds.api}},r={};function n(e){var t=r[e];if(void 0!==t)return t.exports;var i=r[e]={exports:{}};return o[e](i,i.exports,n),i.exports}t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,n.t=function(o,r){if(1&r&&(o=this(o)),8&r)return o;if("object"==typeof o&&o){if(4&r&&o.__esModule)return o;if(16&r&&"function"==typeof o.then)return o}var i=Object.create(null);n.r(i);var c={};e=e||[null,t({}),t([]),t(t)];for(var s=2&r&&o;"object"==typeof s&&!~e.indexOf(s);s=t(s))Object.getOwnPropertyNames(s).forEach((e=>c[e]=()=>o[e]));return c.default=()=>o,n.d(i,c),i},n.d=(e,t)=>{for(var o in t)n.o(t,o)&&!n.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var i={};n.d(i,{component:()=>a});const c=coreApis.componentApis.define,s=coreApis.utils.urls,a=(0,c.defineComponentMetadata)({name:"copyFeedsLink",displayName:"复制动态链接",description:{"zh-CN":"开启后, 可在每条动态的菜单中选择复制链接."},entry:async()=>{const{forEachFeedsCard:e,addMenuItem:t}=await Promise.resolve().then(n.t.bind(n,649,23));e({added:e=>{t(e,{className:"copy-link",text:"复制链接",action:async()=>{await navigator.clipboard.writeText(`https://t.bilibili.com/${e.id}`)}})}})},urlInclude:s.feedsUrls,tags:[componentsTags.feeds,componentsTags.utils],commitHash:"d87d69cfb9d7e0124bd90a06fec4569bd61e02c5",coreVersion:"2.10.7"});return i=i.component})())); //# sourceMappingURL=https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/registry/dist/components/feeds/copy-link.js.map \ No newline at end of file diff --git a/bb-evolved/registry/dist/components/feeds/del-feeds.js b/bb-evolved/registry/dist/components/feeds/del-feeds.js index c79928f028..0bbe914216 100644 --- a/bb-evolved/registry/dist/components/feeds/del-feeds.js +++ b/bb-evolved/registry/dist/components/feeds/del-feeds.js @@ -1,2 +1,2 @@ -!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["feeds/del-feeds"]=t():e["feeds/del-feeds"]=t()}(globalThis,(()=>(()=>{var e,t,o={87:(e,t,o)=>{"use strict";o.r(t),o.d(t,{default:()=>f});var i=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"multiple-widgets"},e._l(e.items,(function(o){return t("DefaultWidget",{key:o.name,attrs:{disabled:o.disabled,"data-name":o.name,name:o.displayName,icon:o.icon},on:{click:function(t){return e.runItemAction(o,t)}}})})),1)};i._withStripped=!0;const n=coreApis.ui,r=coreApis.ajax,s=coreApis.toast;var a=o(847);const d=coreApis.pluginApis.data,c=[{name:"del-all-feeds",displayName:"删除所有动态",icon:"mdi-delete",action:async()=>{const{forEachFeedsCard:e}=await Promise.resolve().then(o.t.bind(o,649,23));s.Toast.info("如果想删除所有动态, 可以一直下拉页面到没有动态为止","删除动态",3e3),await e({added:async e=>{const t={dyn_id_str:e.id,dyn_type:e.type.id,rid_str:e.id},o=JSON.parse(await(0,r.postJsonWithCredentials)(`https://api.bilibili.com/x/dynamic/feed/operate/remove?platform=web&csrf=${(0,a.getCsrf)()}`,t));0===o.code?console.info("删除动态成功: ",e.id):console.info("删除动态失败: ",e.id,o)}}),s.Toast.success("打开控制台查看删除动态结果","删除动态",3e3)}},{name:"del-feeds",displayName:"删除转发抽奖动态",icon:"mdi-delete",action:async()=>{const{forEachFeedsCard:e}=await Promise.resolve().then(o.t.bind(o,649,23));s.Toast.info("如果想删除所有动态, 可以一直下拉页面到没有动态为止","删除动态",3e3),await e({added:async e=>{const{isRepostType:t}=await Promise.resolve().then(o.t.bind(o,649,23));if(t(e)){const t=(0,a.getUID)(),o=await(0,r.getJsonWithCredentials)(`https://api.vc.bilibili.com/lottery_svr/v2/lottery_svr/lottery_notice?dynamic_id=${e.repostId}`);if(o.data.lottery_time&&o.data.lottery_time>Date.now()/1e3)return;if(0===o.code){for(let i=0;i({items:l}),methods:{async runItemAction(e,t){try{this.$set(e,"disabled",!0);const o=this.$el.querySelector(`[data-name='${e.name}']`);await e.action(o,t)}finally{e.disabled=!1}}}}),i,[],!1,null,null,null);const f=p.exports},661:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=661,e.exports=t},746:e=>{"use strict";e.exports="删除动态, 可选转发抽奖, 和全部删除.\n"},649:e=>{"use strict";e.exports=coreApis.componentApis.feeds.api},847:e=>{"use strict";e.exports=coreApis.utils}},i={};function n(e){var t=i[e];if(void 0!==t)return t.exports;var r=i[e]={exports:{}};return o[e](r,r.exports,n),r.exports}t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,n.t=function(o,i){if(1&i&&(o=this(o)),8&i)return o;if("object"==typeof o&&o){if(4&i&&o.__esModule)return o;if(16&i&&"function"==typeof o.then)return o}var r=Object.create(null);n.r(r);var s={};e=e||[null,t({}),t([]),t(t)];for(var a=2&i&&o;"object"==typeof a&&!~e.indexOf(a);a=t(a))Object.getOwnPropertyNames(a).forEach((e=>s[e]=()=>o[e]));return s.default=()=>o,n.d(r,s),r},n.d=(e,t)=>{for(var o in t)n.o(t,o)&&!n.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var r={};return(()=>{"use strict";n.d(r,{component:()=>o});const e=coreApis.componentApis.define;var t=n(847);const o=(0,e.defineComponentMetadata)({name:"deleteFeeds",displayName:"删除动态",tags:[componentsTags.feeds],description:{"zh-CN":"删除动态, 可选转发抽奖(不会删除自己中奖的动态), 和全部删除."},entry:none,urlInclude:[`https://space.bilibili.com/${(0,t.getUID)()}/dynamic`],widget:{component:()=>Promise.resolve().then(n.bind(n,87)).then((e=>e.default))},commitHash:"58c0b438ca2371e397f70466a91572cb2757b142",coreVersion:"2.10.7",description:(()=>{const e=n(661);return{...Object.fromEntries(e.keys().map((t=>[t.match(/index\.(.+)\.md$/)[1],e(t)]))),"zh-CN":()=>Promise.resolve().then(n.t.bind(n,746,17)).then((e=>e.default))}})()})})(),r=r.component})())); +!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["feeds/del-feeds"]=t():e["feeds/del-feeds"]=t()}(globalThis,(()=>(()=>{var e,t,o={87:(e,t,o)=>{"use strict";o.r(t),o.d(t,{default:()=>f});var i=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"multiple-widgets"},e._l(e.items,(function(o){return t("DefaultWidget",{key:o.name,attrs:{disabled:o.disabled,"data-name":o.name,name:o.displayName,icon:o.icon},on:{click:function(t){return e.runItemAction(o,t)}}})})),1)};i._withStripped=!0;const n=coreApis.ui,r=coreApis.ajax,s=coreApis.toast;var a=o(847);const d=coreApis.pluginApis.data,c=[{name:"del-all-feeds",displayName:"删除所有动态",icon:"mdi-delete",action:async()=>{const{forEachFeedsCard:e}=await Promise.resolve().then(o.t.bind(o,649,23));s.Toast.info("如果想删除所有动态, 可以一直下拉页面到没有动态为止","删除动态",3e3),await e({added:async e=>{const t={dyn_id_str:e.id,dyn_type:e.type.id,rid_str:e.id},o=JSON.parse(await(0,r.postJsonWithCredentials)(`https://api.bilibili.com/x/dynamic/feed/operate/remove?platform=web&csrf=${(0,a.getCsrf)()}`,t));0===o.code?console.info("删除动态成功: ",e.id):console.info("删除动态失败: ",e.id,o)}}),s.Toast.success("打开控制台查看删除动态结果","删除动态",3e3)}},{name:"del-feeds",displayName:"删除转发抽奖动态",icon:"mdi-delete",action:async()=>{const{forEachFeedsCard:e}=await Promise.resolve().then(o.t.bind(o,649,23));s.Toast.info("如果想删除所有动态, 可以一直下拉页面到没有动态为止","删除动态",3e3),await e({added:async e=>{const{isRepostType:t}=await Promise.resolve().then(o.t.bind(o,649,23));if(t(e)){const t=(0,a.getUID)(),o=await(0,r.getJsonWithCredentials)(`https://api.vc.bilibili.com/lottery_svr/v2/lottery_svr/lottery_notice?dynamic_id=${e.repostId}`);if(o.data.lottery_time&&o.data.lottery_time>Date.now()/1e3)return;if(0===o.code){for(let i=0;i({items:l}),methods:{async runItemAction(e,t){try{this.$set(e,"disabled",!0);const o=this.$el.querySelector(`[data-name='${e.name}']`);await e.action(o,t)}finally{e.disabled=!1}}}}),i,[],!1,null,null,null);const f=p.exports},661:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=661,e.exports=t},746:e=>{"use strict";e.exports="删除动态, 可选转发抽奖, 和全部删除.\n"},649:e=>{"use strict";e.exports=coreApis.componentApis.feeds.api},847:e=>{"use strict";e.exports=coreApis.utils}},i={};function n(e){var t=i[e];if(void 0!==t)return t.exports;var r=i[e]={exports:{}};return o[e](r,r.exports,n),r.exports}t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,n.t=function(o,i){if(1&i&&(o=this(o)),8&i)return o;if("object"==typeof o&&o){if(4&i&&o.__esModule)return o;if(16&i&&"function"==typeof o.then)return o}var r=Object.create(null);n.r(r);var s={};e=e||[null,t({}),t([]),t(t)];for(var a=2&i&&o;"object"==typeof a&&!~e.indexOf(a);a=t(a))Object.getOwnPropertyNames(a).forEach((e=>s[e]=()=>o[e]));return s.default=()=>o,n.d(r,s),r},n.d=(e,t)=>{for(var o in t)n.o(t,o)&&!n.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var r={};return(()=>{"use strict";n.d(r,{component:()=>o});const e=coreApis.componentApis.define;var t=n(847);const o=(0,e.defineComponentMetadata)({name:"deleteFeeds",displayName:"删除动态",tags:[componentsTags.feeds],description:{"zh-CN":"删除动态, 可选转发抽奖(不会删除自己中奖的动态), 和全部删除."},entry:none,urlInclude:[`https://space.bilibili.com/${(0,t.getUID)()}/dynamic`],widget:{component:()=>Promise.resolve().then(n.bind(n,87)).then((e=>e.default))},commitHash:"d87d69cfb9d7e0124bd90a06fec4569bd61e02c5",coreVersion:"2.10.7",description:(()=>{const e=n(661);return{...Object.fromEntries(e.keys().map((t=>[t.match(/index\.(.+)\.md$/)[1],e(t)]))),"zh-CN":()=>Promise.resolve().then(n.t.bind(n,746,17)).then((e=>e.default))}})()})})(),r=r.component})())); //# sourceMappingURL=https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/registry/dist/components/feeds/del-feeds.js.map \ No newline at end of file diff --git a/bb-evolved/registry/dist/components/feeds/disable-details.js b/bb-evolved/registry/dist/components/feeds/disable-details.js index cd9f027e70..dbdd0f605d 100644 --- a/bb-evolved/registry/dist/components/feeds/disable-details.js +++ b/bb-evolved/registry/dist/components/feeds/disable-details.js @@ -8,5 +8,5 @@ t=[[null,t,""]]);var o={};if(r)for(var a=0;a{"use strict";function e(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=t&&("undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"]);if(null==n)return;var r,o,a=[],i=!0,s=!1;try{for(n=n.call(t);!(i=(r=n.next()).done)&&(a.push(r.value),!e||a.length!==e);i=!0);}catch(t){s=!0,o=t}finally{try{i||null==n.return||n.return()}finally{if(s)throw o}}return a}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return n(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return n(t,e)}(t,e)||function(){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 n(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n{var r=n(994);r&&r.__esModule&&(r=r.default),t.exports="string"==typeof r?r:r.toString()},591:(t,e,n)=>{var r=n(225);r&&r.__esModule&&(r=r.default),t.exports="string"==typeof r?r:r.toString()},649:t=>{"use strict";t.exports=coreApis.componentApis.feeds.api},479:t=>{"use strict";t.exports=coreApis.style}},r={};function o(t){var e=r[t];if(void 0!==e)return e.exports;var a=r[t]={id:t,exports:{}};return n[t](a,a.exports,o),a.exports}e=Object.getPrototypeOf?t=>Object.getPrototypeOf(t):t=>t.__proto__,o.t=function(n,r){if(1&r&&(n=this(n)),8&r)return n;if("object"==typeof n&&n){if(4&r&&n.__esModule)return n;if(16&r&&"function"==typeof n.then)return n}var a=Object.create(null);o.r(a);var i={};t=t||[null,e({}),e([]),e(e)];for(var s=2&r&&n;"object"==typeof s&&!~t.indexOf(s);s=e(s))Object.getOwnPropertyNames(s).forEach((t=>i[t]=()=>n[t]));return i.default=()=>n,o.d(a,i),a},o.d=(t,e)=>{for(var n in e)o.o(e,n)&&!o.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},o.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),o.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var a={};return(()=>{"use strict";o.d(a,{component:()=>d});const t=coreApis.componentApis.define;var e=o(649);const n=coreApis.utils.urls;let r=!0;const i="disable-feeds-details-style",s=async()=>{const{addImportantStyle:t}=await Promise.resolve().then(o.t.bind(o,479,23)),{default:e}=await Promise.resolve().then(o.t.bind(o,852,23));t(e,i)},d=(0,t.defineComponentMetadata)({name:"disableFeedsDetails",displayName:"禁止跳转动态详情",tags:[componentsTags.feeds],urlInclude:n.feedsUrls,description:{"zh-CN":"禁止动态点击后跳转详情页, 方便选择其中的文字."},entry:async()=>{const{addImportantStyle:t}=await Promise.resolve().then(o.t.bind(o,479,23)),{forEachFeedsCard:n}=await Promise.resolve().then(o.t.bind(o,649,23)),{default:a}=await Promise.resolve().then(o.t.bind(o,591,23));t(a,"disable-feeds-details-init-style"),s();n({added:t=>{const{element:n}=t;n.addEventListener("click",(t=>{if(t.ctrlKey||!r)return;const e=dqa(n,'.content, .bili-dyn-content [data-module="desc"] .bili-rich-text, .dyn-card-opus__summary'),o=t.target;if(o.hasAttribute("click-title"))return;if(o.hasAttribute("data-pics"))return;if(o.parentElement?.classList.contains("dyn-card-opus__summary__action"))return;if(["bili-rich-text__action","bili-rich-text-topic","bili-rich-text-module","bili-rich-text-link","bili-rich-text-viewpic","opus-text-rich-hl"].some((t=>o.classList.contains(t))))return;dqa(n,".im-popup").some((t=>t.contains(o)))||e.some((t=>t===o||t.contains(o)))&&t.stopImmediatePropagation()}),{capture:!0});const o=dq(n,".post-content, .bili-dyn-content");if(!o)return;if(![".video-container",".bangumi-container",".media-list",".article-container"].some((t=>dq(o,t)))&&!dq(o,".details")&&(o.classList.contains("repost")||t.type===e.feedsCardTypes.repost)){const t=dq(o,".content, .bili-dyn-content__orig__desc, .dyn-card-opus__summary");if(!t)return;const e=document.createElement("div");e.classList.add("details"),e.setAttribute("click-title","详情"),e.innerHTML='\n 详情\n ',t.insertAdjacentElement("beforeend",e)}}})},unload:()=>{document.getElementById(i)?.remove(),r=!1},reload:()=>{s(),r=!0},commitHash:"58c0b438ca2371e397f70466a91572cb2757b142",coreVersion:"2.10.7"})})(),a=a.component})())); +var a=btoa(unescape(encodeURIComponent(JSON.stringify(o)))),i="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(a),s="/*# ".concat(i," */"),d=o.sources.map((function(t){return"/*# sourceURL=".concat(o.sourceRoot||"").concat(t," */")}));return[r].concat(d).concat([s]).join("\n")}return[r].join("\n")}},852:(t,e,n)=>{var r=n(994);r&&r.__esModule&&(r=r.default),t.exports="string"==typeof r?r:r.toString()},591:(t,e,n)=>{var r=n(225);r&&r.__esModule&&(r=r.default),t.exports="string"==typeof r?r:r.toString()},649:t=>{"use strict";t.exports=coreApis.componentApis.feeds.api},479:t=>{"use strict";t.exports=coreApis.style}},r={};function o(t){var e=r[t];if(void 0!==e)return e.exports;var a=r[t]={id:t,exports:{}};return n[t](a,a.exports,o),a.exports}e=Object.getPrototypeOf?t=>Object.getPrototypeOf(t):t=>t.__proto__,o.t=function(n,r){if(1&r&&(n=this(n)),8&r)return n;if("object"==typeof n&&n){if(4&r&&n.__esModule)return n;if(16&r&&"function"==typeof n.then)return n}var a=Object.create(null);o.r(a);var i={};t=t||[null,e({}),e([]),e(e)];for(var s=2&r&&n;"object"==typeof s&&!~t.indexOf(s);s=e(s))Object.getOwnPropertyNames(s).forEach((t=>i[t]=()=>n[t]));return i.default=()=>n,o.d(a,i),a},o.d=(t,e)=>{for(var n in e)o.o(e,n)&&!o.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},o.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),o.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var a={};return(()=>{"use strict";o.d(a,{component:()=>d});const t=coreApis.componentApis.define;var e=o(649);const n=coreApis.utils.urls;let r=!0;const i="disable-feeds-details-style",s=async()=>{const{addImportantStyle:t}=await Promise.resolve().then(o.t.bind(o,479,23)),{default:e}=await Promise.resolve().then(o.t.bind(o,852,23));t(e,i)},d=(0,t.defineComponentMetadata)({name:"disableFeedsDetails",displayName:"禁止跳转动态详情",tags:[componentsTags.feeds],urlInclude:n.feedsUrls,description:{"zh-CN":"禁止动态点击后跳转详情页, 方便选择其中的文字."},entry:async()=>{const{addImportantStyle:t}=await Promise.resolve().then(o.t.bind(o,479,23)),{forEachFeedsCard:n}=await Promise.resolve().then(o.t.bind(o,649,23)),{default:a}=await Promise.resolve().then(o.t.bind(o,591,23));t(a,"disable-feeds-details-init-style"),s();n({added:t=>{const{element:n}=t;n.addEventListener("click",(t=>{if(t.ctrlKey||!r)return;const e=dqa(n,'.content, .bili-dyn-content [data-module="desc"] .bili-rich-text, .dyn-card-opus__summary'),o=t.target;if(o.hasAttribute("click-title"))return;if(o.hasAttribute("data-pics"))return;if(o.parentElement?.classList.contains("dyn-card-opus__summary__action"))return;if(["bili-rich-text__action","bili-rich-text-topic","bili-rich-text-module","bili-rich-text-link","bili-rich-text-viewpic","opus-text-rich-hl"].some((t=>o.classList.contains(t))))return;dqa(n,".im-popup").some((t=>t.contains(o)))||e.some((t=>t===o||t.contains(o)))&&t.stopImmediatePropagation()}),{capture:!0});const o=dq(n,".post-content, .bili-dyn-content");if(!o)return;if(![".video-container",".bangumi-container",".media-list",".article-container"].some((t=>dq(o,t)))&&!dq(o,".details")&&(o.classList.contains("repost")||t.type===e.feedsCardTypes.repost)){const t=dq(o,".content, .bili-dyn-content__orig__desc, .dyn-card-opus__summary");if(!t)return;const e=document.createElement("div");e.classList.add("details"),e.setAttribute("click-title","详情"),e.innerHTML='\n 详情\n ',t.insertAdjacentElement("beforeend",e)}}})},unload:()=>{document.getElementById(i)?.remove(),r=!1},reload:()=>{s(),r=!0},commitHash:"d87d69cfb9d7e0124bd90a06fec4569bd61e02c5",coreVersion:"2.10.7"})})(),a=a.component})())); //# sourceMappingURL=https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/registry/dist/components/feeds/disable-details.js.map \ No newline at end of file diff --git a/bb-evolved/registry/dist/components/feeds/extend-live.js b/bb-evolved/registry/dist/components/feeds/extend-live.js index 7819ab9573..9fff302993 100644 --- a/bb-evolved/registry/dist/components/feeds/extend-live.js +++ b/bb-evolved/registry/dist/components/feeds/extend-live.js @@ -1,4 +1,4 @@ -!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["feeds/extend-live"]=t():e["feeds/extend-live"]=t()}(globalThis,(()=>(()=>{var e,t,n={674:(e,t,n)=>{"use strict";n.d(t,{Q:()=>o,f:()=>s});var i=n(253);const o=-1,s=(0,i.defineOptionsMetadata)({pinnedListID:{defaultValue:o,displayName:"置顶列表 ID",hidden:!0},hiddenListID:{defaultValue:o,displayName:"隐藏列表 ID",hidden:!0}})},327:(e,t,n)=>{var i=n(904),o=n(955)(i);o.push([e.id,".extend-feeds-live-extra-options {\n margin-top: 8px;\n display: flex;\n align-items: stretch;\n flex-direction: column;\n gap: 12px;\n}\n.extend-feeds-live-extra-options .extend-feeds-live-extra-option {\n display: flex;\n align-items: stretch;\n flex-direction: column;\n gap: 8px;\n}\n.extend-feeds-live-extra-options .extend-feeds-live-extra-option-header {\n font-weight: 600;\n}\n.extend-feeds-live-extra-options .extend-feeds-live-extra-option-description {\n font-size: 12px;\n opacity: 0.75;\n}","",{version:3,sources:["webpack://./registry/lib/components/feeds/extend-live/ExtraOptions.vue"],names:[],mappings:"AAAA;EACE,eAAe;EACf,aAAa;EACb,oBAAoB;EACpB,sBAAsB;EACtB,SAAS;AACX;AACA;EACE,aAAa;EACb,oBAAoB;EACpB,sBAAsB;EACtB,QAAQ;AACV;AACA;EACE,gBAAgB;AAClB;AACA;EACE,eAAe;EACf,aAAa;AACf",sourcesContent:[".extend-feeds-live-extra-options {\n margin-top: 8px;\n display: flex;\n align-items: stretch;\n flex-direction: column;\n gap: 12px;\n}\n.extend-feeds-live-extra-options .extend-feeds-live-extra-option {\n display: flex;\n align-items: stretch;\n flex-direction: column;\n gap: 8px;\n}\n.extend-feeds-live-extra-options .extend-feeds-live-extra-option-header {\n font-weight: 600;\n}\n.extend-feeds-live-extra-options .extend-feeds-live-extra-option-description {\n font-size: 12px;\n opacity: 0.75;\n}"],sourceRoot:""}]),e.exports=o},205:(e,t,n)=>{var i=n(904),o=n(955)(i);o.push([e.id,".be-live-list {\n display: flex;\n align-items: stretch;\n flex-direction: column;\n gap: 12px;\n padding: 12px 16px;\n border-radius: 4px;\n font-size: 12px;\n color: #000;\n background-color: #fff;\n}\nbody.dark .be-live-list {\n color: var(--be-color-text-title, #eee);\n background-color: var(--be-color-popup-bg, #444);\n}\n.be-live-list-header {\n display: flex;\n align-items: center;\n justify-content: space-between;\n}\n.be-live-list-title {\n display: flex;\n align-items: center;\n gap: 4px;\n font-size: 14px;\n}\n.be-live-list-count {\n opacity: 0.5;\n font-size: 12px;\n}\n.be-live-list-actions {\n display: flex;\n align-items: center;\n gap: 4px;\n}\n.be-live-list-refresh {\n cursor: pointer;\n padding: 2px;\n}\n.be-live-list-refresh .be-icon {\n opacity: 0.5;\n transition: 0.35s ease-out;\n}\n.be-live-list-refresh:hover .be-icon {\n transform: rotate(360deg);\n opacity: 1;\n color: var(--theme-color);\n}\n.be-live-list-more {\n opacity: 0.5;\n padding: 2px;\n cursor: pointer;\n display: flex;\n align-items: center;\n}\n.be-live-list-more:hover {\n opacity: 1;\n color: var(--theme-color);\n}\n.be-live-list-search {\n display: flex;\n align-items: center;\n gap: 8px;\n}\n.be-live-list-search .be-icon {\n opacity: 0.6;\n}\n.be-live-list-search .be-textbox {\n flex-grow: 1;\n}\n.be-live-list-content {\n overflow: auto;\n scrollbar-width: none !important;\n overscroll-behavior: contain;\n display: flex;\n align-items: stretch;\n flex-direction: column;\n gap: 8px;\n max-height: calc(100vh - 358px);\n}\n.be-live-list-content::-webkit-scrollbar {\n height: 0 !important;\n width: 0 !important;\n}\nbody.enable-feeds-filter .be-live-list-content {\n max-height: calc(100vh - 414px);\n}\nbody.feeds-filter-side-block-profile .be-live-list-content {\n max-height: calc(100vh - 218px);\n}\n.be-live-list-item {\n display: flex;\n align-items: center;\n gap: 8px;\n cursor: pointer;\n}\n.be-live-list-item-avatar {\n overflow: hidden;\n border-radius: 50%;\n display: flex;\n border: 1px solid var(--be-color-avatar-border, #8884);\n}\n.be-live-list-item-info {\n display: flex;\n align-items: stretch;\n flex-direction: column;\n gap: 2px;\n flex-grow: 1;\n width: 0;\n}\n.be-live-list-item-title, .be-live-list-item-user {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n.be-live-list-item-title {\n font-size: 14px;\n transition: 0.2s ease-out;\n}\n.be-live-list-item-user {\n opacity: 0.6;\n}\n.be-live-list-item:hover .be-live-list-item-title {\n color: var(--theme-color);\n}","",{version:3,sources:["webpack://./registry/lib/components/feeds/extend-live/LiveList.vue"],names:[],mappings:"AAAA;EACE,aAAa;EACb,oBAAoB;EACpB,sBAAsB;EACtB,SAAS;EACT,kBAAkB;EAClB,kBAAkB;EAClB,eAAe;EACf,WAAW;EACX,sBAAsB;AACxB;AACA;EACE,uCAAuC;EACvC,gDAAgD;AAClD;AACA;EACE,aAAa;EACb,mBAAmB;EACnB,8BAA8B;AAChC;AACA;EACE,aAAa;EACb,mBAAmB;EACnB,QAAQ;EACR,eAAe;AACjB;AACA;EACE,YAAY;EACZ,eAAe;AACjB;AACA;EACE,aAAa;EACb,mBAAmB;EACnB,QAAQ;AACV;AACA;EACE,eAAe;EACf,YAAY;AACd;AACA;EACE,YAAY;EACZ,0BAA0B;AAC5B;AACA;EACE,yBAAyB;EACzB,UAAU;EACV,yBAAyB;AAC3B;AACA;EACE,YAAY;EACZ,YAAY;EACZ,eAAe;EACf,aAAa;EACb,mBAAmB;AACrB;AACA;EACE,UAAU;EACV,yBAAyB;AAC3B;AACA;EACE,aAAa;EACb,mBAAmB;EACnB,QAAQ;AACV;AACA;EACE,YAAY;AACd;AACA;EACE,YAAY;AACd;AACA;EACE,cAAc;EACd,gCAAgC;EAChC,4BAA4B;EAC5B,aAAa;EACb,oBAAoB;EACpB,sBAAsB;EACtB,QAAQ;EACR,+BAA+B;AACjC;AACA;EACE,oBAAoB;EACpB,mBAAmB;AACrB;AACA;EACE,+BAA+B;AACjC;AACA;EACE,+BAA+B;AACjC;AACA;EACE,aAAa;EACb,mBAAmB;EACnB,QAAQ;EACR,eAAe;AACjB;AACA;EACE,gBAAgB;EAChB,kBAAkB;EAClB,aAAa;EACb,sDAAsD;AACxD;AACA;EACE,aAAa;EACb,oBAAoB;EACpB,sBAAsB;EACtB,QAAQ;EACR,YAAY;EACZ,QAAQ;AACV;AACA;EACE,gBAAgB;EAChB,uBAAuB;EACvB,mBAAmB;AACrB;AACA;EACE,eAAe;EACf,yBAAyB;AAC3B;AACA;EACE,YAAY;AACd;AACA;EACE,yBAAyB;AAC3B",sourcesContent:[".be-live-list {\n display: flex;\n align-items: stretch;\n flex-direction: column;\n gap: 12px;\n padding: 12px 16px;\n border-radius: 4px;\n font-size: 12px;\n color: #000;\n background-color: #fff;\n}\nbody.dark .be-live-list {\n color: var(--be-color-text-title, #eee);\n background-color: var(--be-color-popup-bg, #444);\n}\n.be-live-list-header {\n display: flex;\n align-items: center;\n justify-content: space-between;\n}\n.be-live-list-title {\n display: flex;\n align-items: center;\n gap: 4px;\n font-size: 14px;\n}\n.be-live-list-count {\n opacity: 0.5;\n font-size: 12px;\n}\n.be-live-list-actions {\n display: flex;\n align-items: center;\n gap: 4px;\n}\n.be-live-list-refresh {\n cursor: pointer;\n padding: 2px;\n}\n.be-live-list-refresh .be-icon {\n opacity: 0.5;\n transition: 0.35s ease-out;\n}\n.be-live-list-refresh:hover .be-icon {\n transform: rotate(360deg);\n opacity: 1;\n color: var(--theme-color);\n}\n.be-live-list-more {\n opacity: 0.5;\n padding: 2px;\n cursor: pointer;\n display: flex;\n align-items: center;\n}\n.be-live-list-more:hover {\n opacity: 1;\n color: var(--theme-color);\n}\n.be-live-list-search {\n display: flex;\n align-items: center;\n gap: 8px;\n}\n.be-live-list-search .be-icon {\n opacity: 0.6;\n}\n.be-live-list-search .be-textbox {\n flex-grow: 1;\n}\n.be-live-list-content {\n overflow: auto;\n scrollbar-width: none !important;\n overscroll-behavior: contain;\n display: flex;\n align-items: stretch;\n flex-direction: column;\n gap: 8px;\n max-height: calc(100vh - 358px);\n}\n.be-live-list-content::-webkit-scrollbar {\n height: 0 !important;\n width: 0 !important;\n}\nbody.enable-feeds-filter .be-live-list-content {\n max-height: calc(100vh - 414px);\n}\nbody.feeds-filter-side-block-profile .be-live-list-content {\n max-height: calc(100vh - 218px);\n}\n.be-live-list-item {\n display: flex;\n align-items: center;\n gap: 8px;\n cursor: pointer;\n}\n.be-live-list-item-avatar {\n overflow: hidden;\n border-radius: 50%;\n display: flex;\n border: 1px solid var(--be-color-avatar-border, #8884);\n}\n.be-live-list-item-info {\n display: flex;\n align-items: stretch;\n flex-direction: column;\n gap: 2px;\n flex-grow: 1;\n width: 0;\n}\n.be-live-list-item-title, .be-live-list-item-user {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n.be-live-list-item-title {\n font-size: 14px;\n transition: 0.2s ease-out;\n}\n.be-live-list-item-user {\n opacity: 0.6;\n}\n.be-live-list-item:hover .be-live-list-item-title {\n color: var(--theme-color);\n}"],sourceRoot:""}]),e.exports=o},560:(e,t,n)=>{var i=n(904),o=n(955)(i);o.push([e.id,".live-up-list,\n.bili-dyn-home--member .bili-dyn-live-users {\n display: none !important;\n}","",{version:3,sources:["webpack://./registry/lib/components/feeds/extend-live/extend-feeds-live.scss"],names:[],mappings:"AAAA;;EAEE,wBAAwB;AAC1B",sourcesContent:[".live-up-list,\n.bili-dyn-home--member .bili-dyn-live-users {\n display: none !important;\n}"],sourceRoot:""}]),e.exports=o},955:e=>{"use strict"; +!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["feeds/extend-live"]=t():e["feeds/extend-live"]=t()}(globalThis,(()=>(()=>{var e,t,n={674:(e,t,n)=>{"use strict";n.d(t,{Q:()=>o,f:()=>s});var i=n(253);const o=-1,s=(0,i.defineOptionsMetadata)({pinnedListID:{defaultValue:o,displayName:"置顶列表 ID",hidden:!0},hiddenListID:{defaultValue:o,displayName:"隐藏列表 ID",hidden:!0}})},327:(e,t,n)=>{var i=n(904),o=n(955)(i);o.push([e.id,".extend-feeds-live-extra-options {\n margin-top: 8px;\n display: flex;\n align-items: stretch;\n flex-direction: column;\n gap: 12px;\n}\n.extend-feeds-live-extra-options .extend-feeds-live-extra-option {\n display: flex;\n align-items: stretch;\n flex-direction: column;\n gap: 8px;\n}\n.extend-feeds-live-extra-options .extend-feeds-live-extra-option-header {\n font-weight: 600;\n}\n.extend-feeds-live-extra-options .extend-feeds-live-extra-option-description {\n font-size: 12px;\n opacity: 0.75;\n}","",{version:3,sources:["webpack://./registry/lib/components/feeds/extend-live/ExtraOptions.vue"],names:[],mappings:"AAAA;EACE,eAAe;EACf,aAAa;EACb,oBAAoB;EACpB,sBAAsB;EACtB,SAAS;AACX;AACA;EACE,aAAa;EACb,oBAAoB;EACpB,sBAAsB;EACtB,QAAQ;AACV;AACA;EACE,gBAAgB;AAClB;AACA;EACE,eAAe;EACf,aAAa;AACf",sourcesContent:[".extend-feeds-live-extra-options {\n margin-top: 8px;\n display: flex;\n align-items: stretch;\n flex-direction: column;\n gap: 12px;\n}\n.extend-feeds-live-extra-options .extend-feeds-live-extra-option {\n display: flex;\n align-items: stretch;\n flex-direction: column;\n gap: 8px;\n}\n.extend-feeds-live-extra-options .extend-feeds-live-extra-option-header {\n font-weight: 600;\n}\n.extend-feeds-live-extra-options .extend-feeds-live-extra-option-description {\n font-size: 12px;\n opacity: 0.75;\n}"],sourceRoot:""}]),e.exports=o},901:(e,t,n)=>{var i=n(904),o=n(955)(i);o.push([e.id,".be-live-list {\n display: flex;\n align-items: stretch;\n flex-direction: column;\n gap: 12px;\n padding: 12px 16px;\n border-radius: 4px;\n font-size: 12px;\n color: #000;\n background-color: #fff;\n}\nbody.dark .be-live-list {\n color: var(--be-color-text-title, #eee);\n background-color: var(--be-color-popup-bg, #444);\n}\n.be-live-list-header {\n display: flex;\n align-items: center;\n justify-content: space-between;\n}\n.be-live-list-title {\n display: flex;\n align-items: center;\n gap: 4px;\n font-size: 14px;\n}\n.be-live-list-count {\n opacity: 0.5;\n font-size: 12px;\n}\n.be-live-list-actions {\n display: flex;\n align-items: center;\n gap: 4px;\n}\n.be-live-list-refresh {\n cursor: pointer;\n padding: 2px;\n}\n.be-live-list-refresh .be-icon {\n opacity: 0.5;\n transition: 0.35s ease-out;\n}\n.be-live-list-refresh:hover .be-icon {\n transform: rotate(360deg);\n opacity: 1;\n color: var(--theme-color);\n}\n.be-live-list-more {\n opacity: 0.5;\n padding: 2px;\n cursor: pointer;\n display: flex;\n align-items: center;\n}\n.be-live-list-more:hover {\n opacity: 1;\n color: var(--theme-color);\n}\n.be-live-list-search {\n display: flex;\n align-items: center;\n gap: 8px;\n}\n.be-live-list-search .be-icon {\n opacity: 0.6;\n}\n.be-live-list-search .be-textbox {\n flex-grow: 1;\n}\n.be-live-list-content {\n overflow: auto;\n scrollbar-width: none !important;\n overscroll-behavior: contain;\n display: flex;\n align-items: stretch;\n flex-direction: column;\n gap: 8px;\n max-height: calc(100vh - 358px);\n}\n.be-live-list-content::-webkit-scrollbar {\n height: 0 !important;\n width: 0 !important;\n}\nbody.enable-feeds-filter .be-live-list-content {\n max-height: calc(100vh - 414px);\n}\nbody.feeds-filter-side-block-profile .be-live-list-content {\n max-height: calc(100vh - 218px);\n}\n.be-live-list-item {\n display: flex;\n align-items: center;\n gap: 8px;\n cursor: pointer;\n}\n.be-live-list-item-avatar {\n overflow: hidden;\n border-radius: 50%;\n display: flex;\n border: 1px solid var(--be-color-avatar-border, #8884);\n}\n.be-live-list-item-info {\n display: flex;\n align-items: stretch;\n flex-direction: column;\n gap: 2px;\n flex-grow: 1;\n width: 0;\n}\n.be-live-list-item-title, .be-live-list-item-user {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n.be-live-list-item-title {\n font-size: 14px;\n transition: 0.2s ease-out;\n}\n.be-live-list-item-user {\n opacity: 0.6;\n}\n.be-live-list-item:hover .be-live-list-item-title {\n color: var(--theme-color);\n}","",{version:3,sources:["webpack://./registry/lib/components/feeds/extend-live/LiveList.vue"],names:[],mappings:"AAAA;EACE,aAAa;EACb,oBAAoB;EACpB,sBAAsB;EACtB,SAAS;EACT,kBAAkB;EAClB,kBAAkB;EAClB,eAAe;EACf,WAAW;EACX,sBAAsB;AACxB;AACA;EACE,uCAAuC;EACvC,gDAAgD;AAClD;AACA;EACE,aAAa;EACb,mBAAmB;EACnB,8BAA8B;AAChC;AACA;EACE,aAAa;EACb,mBAAmB;EACnB,QAAQ;EACR,eAAe;AACjB;AACA;EACE,YAAY;EACZ,eAAe;AACjB;AACA;EACE,aAAa;EACb,mBAAmB;EACnB,QAAQ;AACV;AACA;EACE,eAAe;EACf,YAAY;AACd;AACA;EACE,YAAY;EACZ,0BAA0B;AAC5B;AACA;EACE,yBAAyB;EACzB,UAAU;EACV,yBAAyB;AAC3B;AACA;EACE,YAAY;EACZ,YAAY;EACZ,eAAe;EACf,aAAa;EACb,mBAAmB;AACrB;AACA;EACE,UAAU;EACV,yBAAyB;AAC3B;AACA;EACE,aAAa;EACb,mBAAmB;EACnB,QAAQ;AACV;AACA;EACE,YAAY;AACd;AACA;EACE,YAAY;AACd;AACA;EACE,cAAc;EACd,gCAAgC;EAChC,4BAA4B;EAC5B,aAAa;EACb,oBAAoB;EACpB,sBAAsB;EACtB,QAAQ;EACR,+BAA+B;AACjC;AACA;EACE,oBAAoB;EACpB,mBAAmB;AACrB;AACA;EACE,+BAA+B;AACjC;AACA;EACE,+BAA+B;AACjC;AACA;EACE,aAAa;EACb,mBAAmB;EACnB,QAAQ;EACR,eAAe;AACjB;AACA;EACE,gBAAgB;EAChB,kBAAkB;EAClB,aAAa;EACb,sDAAsD;AACxD;AACA;EACE,aAAa;EACb,oBAAoB;EACpB,sBAAsB;EACtB,QAAQ;EACR,YAAY;EACZ,QAAQ;AACV;AACA;EACE,gBAAgB;EAChB,uBAAuB;EACvB,mBAAmB;AACrB;AACA;EACE,eAAe;EACf,yBAAyB;AAC3B;AACA;EACE,YAAY;AACd;AACA;EACE,yBAAyB;AAC3B",sourcesContent:[".be-live-list {\n display: flex;\n align-items: stretch;\n flex-direction: column;\n gap: 12px;\n padding: 12px 16px;\n border-radius: 4px;\n font-size: 12px;\n color: #000;\n background-color: #fff;\n}\nbody.dark .be-live-list {\n color: var(--be-color-text-title, #eee);\n background-color: var(--be-color-popup-bg, #444);\n}\n.be-live-list-header {\n display: flex;\n align-items: center;\n justify-content: space-between;\n}\n.be-live-list-title {\n display: flex;\n align-items: center;\n gap: 4px;\n font-size: 14px;\n}\n.be-live-list-count {\n opacity: 0.5;\n font-size: 12px;\n}\n.be-live-list-actions {\n display: flex;\n align-items: center;\n gap: 4px;\n}\n.be-live-list-refresh {\n cursor: pointer;\n padding: 2px;\n}\n.be-live-list-refresh .be-icon {\n opacity: 0.5;\n transition: 0.35s ease-out;\n}\n.be-live-list-refresh:hover .be-icon {\n transform: rotate(360deg);\n opacity: 1;\n color: var(--theme-color);\n}\n.be-live-list-more {\n opacity: 0.5;\n padding: 2px;\n cursor: pointer;\n display: flex;\n align-items: center;\n}\n.be-live-list-more:hover {\n opacity: 1;\n color: var(--theme-color);\n}\n.be-live-list-search {\n display: flex;\n align-items: center;\n gap: 8px;\n}\n.be-live-list-search .be-icon {\n opacity: 0.6;\n}\n.be-live-list-search .be-textbox {\n flex-grow: 1;\n}\n.be-live-list-content {\n overflow: auto;\n scrollbar-width: none !important;\n overscroll-behavior: contain;\n display: flex;\n align-items: stretch;\n flex-direction: column;\n gap: 8px;\n max-height: calc(100vh - 358px);\n}\n.be-live-list-content::-webkit-scrollbar {\n height: 0 !important;\n width: 0 !important;\n}\nbody.enable-feeds-filter .be-live-list-content {\n max-height: calc(100vh - 414px);\n}\nbody.feeds-filter-side-block-profile .be-live-list-content {\n max-height: calc(100vh - 218px);\n}\n.be-live-list-item {\n display: flex;\n align-items: center;\n gap: 8px;\n cursor: pointer;\n}\n.be-live-list-item-avatar {\n overflow: hidden;\n border-radius: 50%;\n display: flex;\n border: 1px solid var(--be-color-avatar-border, #8884);\n}\n.be-live-list-item-info {\n display: flex;\n align-items: stretch;\n flex-direction: column;\n gap: 2px;\n flex-grow: 1;\n width: 0;\n}\n.be-live-list-item-title, .be-live-list-item-user {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n.be-live-list-item-title {\n font-size: 14px;\n transition: 0.2s ease-out;\n}\n.be-live-list-item-user {\n opacity: 0.6;\n}\n.be-live-list-item:hover .be-live-list-item-title {\n color: var(--theme-color);\n}"],sourceRoot:""}]),e.exports=o},560:(e,t,n)=>{var i=n(904),o=n(955)(i);o.push([e.id,".live-up-list,\n.bili-dyn-home--member .bili-dyn-live-users {\n display: none !important;\n}","",{version:3,sources:["webpack://./registry/lib/components/feeds/extend-live/extend-feeds-live.scss"],names:[],mappings:"AAAA;;EAEE,wBAAwB;AAC1B",sourcesContent:[".live-up-list,\n.bili-dyn-home--member .bili-dyn-live-users {\n display: none !important;\n}"],sourceRoot:""}]),e.exports=o},955:e=>{"use strict"; // eslint-disable-next-line func-names e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n=e(t);return t[2]?"@media ".concat(t[2]," {").concat(n,"}"):n})).join("")}, // eslint-disable-next-line func-names @@ -11,5 +11,5 @@ var r=this[s][0];null!=r&&(o[r]=!0)}for(var a=0;a{"use strict";var i,o=function(){return void 0===i&&( // @see http://browserhacks.com/#hack-e71d8692f65334173fee715c222cb805 // @see https://github.com/webpack-contrib/style-loader/issues/177 -i=Boolean(window&&document&&document.all&&!window.atob)),i},s=function(){var e={};return function(t){if(void 0===e[t]){var n=document.querySelector(t);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}e[t]=n}return e[t]}}(),r=[];function a(e){for(var t=-1,n=0;n{var i=n(560);i&&i.__esModule&&(i=i.default),e.exports="string"==typeof i?i:i.toString()},168:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>x});var i=function(){var e=this,t=e._self._c,n=e._self._setupProxy;return t("div",{staticClass:"extend-feeds-live-extra-options"},[t("div",{staticClass:"extend-feeds-live-extra-option"},[t("div",{staticClass:"extend-feeds-live-extra-option-header"},[e._v("置顶列表")]),e._v(" "),t("div",{staticClass:"extend-feeds-live-extra-option-description"},[e._v("\n 配置直播信息扩充要展示的置顶列表,置顶列表中的用户会排序到上方。\n ")]),e._v(" "),t(n.FollowingListSelect,{attrs:{value:n.pinnedListID},on:{change:n.handlePinnedListChange}})],1),e._v(" "),t("div",{staticClass:"extend-feeds-live-extra-option"},[t("div",{staticClass:"extend-feeds-live-extra-option-header"},[e._v("隐藏列表")]),e._v(" "),t("div",{staticClass:"extend-feeds-live-extra-option-description"},[e._v("\n 配置直播信息扩充要展示的隐藏列表,隐藏列表中的用户会被隐藏,优先级高于置顶列表。\n ")]),e._v(" "),t(n.FollowingListSelect,{attrs:{value:n.hiddenListID},on:{change:n.handleHiddenListChange}})],1)])};i._withStripped=!0;var o=n(259),s=function(){var e=this,t=e._self._c,n=e._self._setupProxy;return t(n.VDropdown,{staticClass:"be-live-following-list-select",attrs:{items:n.followingList,"key-mapper":e=>e.id,value:n.selectedItem},on:{change:n.handleFollowingListChange},scopedSlots:e._u([{key:"item",fn:function({item:n}){return[t("span",{staticClass:"be-live-following-list-item"},[e._v(" "+e._s(n.displayName)+" ")])]}}])})};s._withStripped=!0;var r=n(164),a=n(416),l=n(674);const c=(0,o.defineComponent)({__name:"FollowingListSelect",props:{value:null},emits:["change"],setup(e,t){let{emit:n}=t;const i=e,s=(0,o.computed)((()=>i.value)),c=(0,o.reactive)({id:l.Q,displayName:"<未选择>",count:0}),d=(0,o.ref)([]),A=(0,o.computed)((()=>d.value.find((e=>e.id===s.value))??c)),p=async()=>{const e=await(0,a.bilibiliApi)((0,a.getJsonWithCredentials)("https://api.bilibili.com/x/relation/tags"));d.value=[c,...e.map((e=>({id:e.tagid,displayName:e.name,count:e.count})))],i.value===l.Q||d.value.some((e=>e.id===i.value))||d.value.unshift({id:i.value,displayName:"<已删除的分组>",count:0})};return p(),{__sfc:!0,props:i,emit:n,followingListID:s,handleFollowingListChange:e=>{n("change",e.id)},unselectedListItem:c,followingList:d,selectedItem:A,loadFollowingList:p,VDropdown:r.VDropdown}}});var d=n(678);const A=(0,d.A)(c,s,[],!1,null,null,null).exports;var p=n(905);const u=(0,o.defineComponent)({__name:"ExtraOptions",setup(e){const{options:t}=(0,p.getComponentSettings)("extendFeedsLive"),n=(0,o.ref)(t.pinnedListID),i=(0,o.ref)(t.hiddenListID);return{__sfc:!0,options:t,pinnedListID:n,handlePinnedListChange:e=>{t.pinnedListID=e,n.value=e},hiddenListID:i,handleHiddenListChange:e=>{t.hiddenListID=e,i.value=e},FollowingListSelect:A}}}),f=u;var v=n(991),m=n.n(v),h=n(327),C=n.n(h),b={insert:"head",singleton:!1};m()(C(),b);C().locals;const x=(0,d.A)(f,i,[],!1,null,null,null).exports},653:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>h});var i=function(){var e=this,t=e._self._c,n=e._self._setupProxy;return t("div",{staticClass:"be-live-list"},[t("div",{staticClass:"be-live-list-header"},[t("div",{staticClass:"be-live-list-title"},[e._v("\n 正在直播\n "),t("div",{staticClass:"be-live-list-count"},[e._v("("+e._s(n.items.length)+")")])]),e._v(" "),t("div",{staticClass:"be-live-list-actions"},[n.loaded?t("div",{staticClass:"be-live-list-refresh",attrs:{title:"刷新"},on:{click:n.fetchLiveList}},[t(n.VIcon,{attrs:{icon:"mdi-refresh",size:16}})],1):e._e(),e._v(" "),t("a",{staticClass:"be-live-list-more",attrs:{target:"_blank",href:"https://link.bilibili.com/p/center/index#/user-center/follow/1"}},[e._v("\n 更多\n "),t(n.VIcon,{attrs:{icon:"right-arrow",size:14}})],1)])]),e._v(" "),t("div",{staticClass:"be-live-list-search"},[t(n.VIcon,{attrs:{icon:"search",size:18}}),e._v(" "),t(n.TextBox,{attrs:{placeholder:"搜索"},model:{value:n.keyword,callback:function(e){n.keyword=e},expression:"keyword"}})],1),e._v(" "),t("div",{staticClass:"be-live-list-content"},[n.loaded?e._e():t(n.VLoading),e._v(" "),n.loaded&&0===n.filteredItems.length?t(n.VEmpty):e._e(),e._v(" "),e._l(n.filteredItems,(function(i){return t("a",{key:i.roomid,staticClass:"be-live-list-item",attrs:{target:"_blank",href:i.link}},[t("div",{staticClass:"be-live-list-item-avatar"},[t(n.DpiImage,{attrs:{src:i.face,alt:i.title,size:36}})],1),e._v(" "),t("div",{staticClass:"be-live-list-item-info"},[t("div",{staticClass:"be-live-list-item-title",attrs:{title:i.title}},[e._v("\n "+e._s(n.decodeTitle(i.title))+"\n ")]),e._v(" "),t("div",{staticClass:"be-live-list-item-user",attrs:{title:i.uname}},[e._v("\n "+e._s(i.uname)+"\n ")])])])}))],2)])};i._withStripped=!0;var o=n(259),s=n(164),r=n(416),a=n(847),l=n(674),c=n(905);const d=(0,o.defineComponent)({__name:"LiveList",setup(e){const{options:t}=(0,c.getComponentSettings)("extendFeedsLive"),n=(0,o.ref)([]),i=(0,o.ref)([]),d=(0,o.ref)([]),A=(0,o.ref)(!1),p=(0,o.ref)(""),u=(0,o.computed)((()=>p.value?n.value.filter((e=>{const t=t=>e[t].toString().toLowerCase().includes(p.value.toLowerCase());return t("title")||t("uname")||t("roomid")||t("uid")})):n.value)),f=async()=>{const e=await(0,r.getJsonWithCredentials)("https://api.bilibili.com/x/polymer/web-dynamic/v1/portal");return e.data.live_users?.items?.map((e=>{const{jump_url:t,room_id:n,face:i,title:o,uname:s,mid:r}=e;return{cover:i,face:i,uname:s,title:o,roomid:n,pic:"",online:0,uid:r,link:t}}))??[]},v=(e,t)=>{const n=t.map((e=>e.roomid)),i=e.filter((e=>!n.includes(e.roomid)));return lodash.concat(t,i)},m=function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return(n,i)=>{const o=e.findIndex((e=>e.mid===n.uid)),s=e.findIndex((e=>e.mid===i.uid));return-1===s&&-1===o?0:-1===o?t?-1:1:-1===s?t?1:-1:o-s}},h=async()=>{const e=async e=>{if(e===l.Q||void 0===e)return[];const t=await(0,r.bilibiliApi)((0,r.getJsonWithCredentials)("https://api.bilibili.com/x/relation/tags"));if(!t.some((t=>t.tagid===e)))return[];return await(0,r.getPages)({api:t=>(0,r.getJsonWithCredentials)(`https://api.bilibili.com/x/relation/tag?tagid=${e}&pn=${t}&ps=500&mid=${(0,a.getUID)()}`),getList:e=>lodash.get(e,"data",[]),getTotal:()=>t.find((t=>t.tagid===e))?.count??0})};await Promise.all([e(t.pinnedListID).then((e=>{i.value=e})).catch((()=>{i.value=[]})),e(t.hiddenListID).then((e=>{d.value=e})).catch((()=>{d.value=[]}))])},C=async()=>{try{n.value=[],A.value=!1;const[,e]=(0,r.responsiveGetPages)({api:e=>(0,r.getJsonWithCredentials)(`https://api.live.bilibili.com/xlive/web-ucenter/v1/xfetter/GetWebList?page=${e}`),getList:e=>lodash.get(e,"data.list",[]).map((e=>{const{face:t,uname:n,title:i,room_id:o,cover_from_user:s,online:r,uid:a,link:l}=e;return{cover:t,face:t,uname:n,title:i,roomid:o,pic:s,online:r,uid:a,link:l}})),getTotal:e=>lodash.get(e,"data.count",0)}),[t,o]=await Promise.all([e,f()]),s=v(t,o).sort(m(i.value,!1)).filter((e=>!d.value.some((t=>t.mid===e.uid))));n.value=s}finally{A.value=!0}},b=async()=>{await h(),await C()};return(0,c.addComponentListener)("extendFeedsLive.pinnedListID",b),(0,c.addComponentListener)("extendFeedsLive.hiddenListID",b),(0,o.onMounted)((()=>{b()})),(0,o.onBeforeUnmount)((()=>{(0,c.removeComponentListener)("extendFeedsLive.pinnedListID",b),(0,c.removeComponentListener)("extendFeedsLive.hiddenListID",b)})),{__sfc:!0,decodeTitle:e=>{const t=document.createElement("textarea");return t.innerHTML=e,t.value},FollowingListPageSize:500,options:t,items:n,pinnedUsers:i,hiddenUsers:d,loaded:A,keyword:p,filteredItems:u,fetchRecommendLiveInfos:f,mergeRecommendLiveInfos:v,sortByUsers:m,fetchFollowingLists:h,fetchLiveList:C,initializeLiveList:b,VIcon:s.VIcon,TextBox:s.TextBox,DpiImage:s.DpiImage,VEmpty:s.VEmpty,VLoading:s.VLoading}}}),A=d;var p=n(991),u=n.n(p),f=n(205),v=n.n(f),m={insert:"head",singleton:!1};u()(v(),m);v().locals;const h=(0,n(678).A)(A,i,[],!1,null,null,null).exports},678:(e,t,n)=>{"use strict";function i(e,t,n,i,o,s,r,a){var l,c="function"==typeof e?e.options:e;if(t&&(c.render=t,c.staticRenderFns=n,c._compiled=!0),i&&(c.functional=!0),s&&(c._scopeId="data-v-"+s),r?(l=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),o&&o.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(r)},c._ssrRegister=l):o&&(l=a?function(){o.call(this,(c.functional?this.parent:this).$root.$options.shadowRoot)}:o),l)if(c.functional){c._injectStyles=l;var d=c.render;c.render=function(e,t){return l.call(t),d(e,t)}}else{var A=c.beforeCreate;c.beforeCreate=A?[].concat(A,l):[l]}return{exports:e,options:c}}n.d(t,{A:()=>i})},969:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=969,e.exports=t},246:e=>{"use strict";e.exports="替换动态的 `正在直播` 面板, 能够显示超过 10 个的直播间.\n"},259:e=>{"use strict";e.exports=globalThis.Vue},416:e=>{"use strict";e.exports=coreApis.ajax},253:e=>{"use strict";e.exports=coreApis.componentApis.define},905:e=>{"use strict";e.exports=coreApis.settings},164:e=>{"use strict";e.exports=coreApis.ui},847:e=>{"use strict";e.exports=coreApis.utils}},i={};function o(e){var t=i[e];if(void 0!==t)return t.exports;var s=i[e]={id:e,exports:{}};return n[e](s,s.exports,o),s.exports}o.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return o.d(t,{a:t}),t},t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,o.t=function(n,i){if(1&i&&(n=this(n)),8&i)return n;if("object"==typeof n&&n){if(4&i&&n.__esModule)return n;if(16&i&&"function"==typeof n.then)return n}var s=Object.create(null);o.r(s);var r={};e=e||[null,t({}),t([]),t(t)];for(var a=2&i&&n;"object"==typeof a&&!~e.indexOf(a);a=t(a))Object.getOwnPropertyNames(a).forEach((e=>r[e]=()=>n[e]));return r.default=()=>n,o.d(s,r),s},o.d=(e,t)=>{for(var n in t)o.o(t,n)&&!o.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.nc=void 0;var s={};return(()=>{"use strict";o.d(s,{component:()=>l});var e=o(253);const t=coreApis.componentApis.styledComponent,n=coreApis.spinQuery;var i=o(847);const r=coreApis.utils.log;var a=o(674);const l=(0,e.defineComponentMetadata)({name:"extendFeedsLive",displayName:"直播信息扩充",entry:(0,t.styledComponentEntry)((()=>Promise.resolve().then(o.t.bind(o,18,23))),(async()=>{const e=(0,r.useScopedConsole)("extendFeedsLive"),t=await(0,n.select)(".bili-dyn-home--member aside.left");let s;t||e.error("aside not found");if((a=t.childNodes[t.childNodes.length-1]).nodeType!==Node.COMMENT_NODE&&a instanceof HTMLElement&&"section"===a.tagName.toLowerCase()&&a.classList.contains("sticky"))s=await(0,n.select)((()=>dq(t,"section.sticky")));else{const e=document.createElement("section");e.classList.add("sticky"),t.appendChild(e),s=e}var a;s||e.error("container not found");const l=await Promise.resolve().then(o.bind(o,653)).then((e=>e.default)),c=(0,i.mountVueComponent)(l);s.appendChild(c.$el)})),tags:[componentsTags.feeds,componentsTags.live],urlInclude:[/^https:\/\/t\.bilibili\.com\/$/],extraOptions:()=>Promise.resolve().then(o.bind(o,168)).then((e=>e.default)),options:a.f,commitHash:"58c0b438ca2371e397f70466a91572cb2757b142",coreVersion:"2.10.7",description:(()=>{const e=o(969);return{...Object.fromEntries(e.keys().map((t=>[t.match(/index\.(.+)\.md$/)[1],e(t)]))),"zh-CN":()=>Promise.resolve().then(o.t.bind(o,246,17)).then((e=>e.default))}})()})})(),s=s.component})())); +i=Boolean(window&&document&&document.all&&!window.atob)),i},s=function(){var e={};return function(t){if(void 0===e[t]){var n=document.querySelector(t);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}e[t]=n}return e[t]}}(),r=[];function a(e){for(var t=-1,n=0;n{var i=n(560);i&&i.__esModule&&(i=i.default),e.exports="string"==typeof i?i:i.toString()},168:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>x});var i=function(){var e=this,t=e._self._c,n=e._self._setupProxy;return t("div",{staticClass:"extend-feeds-live-extra-options"},[t("div",{staticClass:"extend-feeds-live-extra-option"},[t("div",{staticClass:"extend-feeds-live-extra-option-header"},[e._v("置顶列表")]),e._v(" "),t("div",{staticClass:"extend-feeds-live-extra-option-description"},[e._v("\n 配置直播信息扩充要展示的置顶列表,置顶列表中的用户会排序到上方。\n ")]),e._v(" "),t(n.FollowingListSelect,{attrs:{value:n.pinnedListID},on:{change:n.handlePinnedListChange}})],1),e._v(" "),t("div",{staticClass:"extend-feeds-live-extra-option"},[t("div",{staticClass:"extend-feeds-live-extra-option-header"},[e._v("隐藏列表")]),e._v(" "),t("div",{staticClass:"extend-feeds-live-extra-option-description"},[e._v("\n 配置直播信息扩充要展示的隐藏列表,隐藏列表中的用户会被隐藏,优先级高于置顶列表。\n ")]),e._v(" "),t(n.FollowingListSelect,{attrs:{value:n.hiddenListID},on:{change:n.handleHiddenListChange}})],1)])};i._withStripped=!0;var o=n(259),s=function(){var e=this,t=e._self._c,n=e._self._setupProxy;return t(n.VDropdown,{staticClass:"be-live-following-list-select",attrs:{items:n.followingList,"key-mapper":e=>e.id,value:n.selectedItem},on:{change:n.handleFollowingListChange},scopedSlots:e._u([{key:"item",fn:function({item:n}){return[t("span",{staticClass:"be-live-following-list-item"},[e._v(" "+e._s(n.displayName)+" ")])]}}])})};s._withStripped=!0;var r=n(164),a=n(416),l=n(674);const c=(0,o.defineComponent)({__name:"FollowingListSelect",props:{value:null},emits:["change"],setup(e,t){let{emit:n}=t;const i=e,s=(0,o.computed)((()=>i.value)),c=(0,o.reactive)({id:l.Q,displayName:"<未选择>",count:0}),d=(0,o.ref)([]),A=(0,o.computed)((()=>d.value.find((e=>e.id===s.value))??c)),p=async()=>{const e=await(0,a.bilibiliApi)((0,a.getJsonWithCredentials)("https://api.bilibili.com/x/relation/tags"));d.value=[c,...e.map((e=>({id:e.tagid,displayName:e.name,count:e.count})))],i.value===l.Q||d.value.some((e=>e.id===i.value))||d.value.unshift({id:i.value,displayName:"<已删除的分组>",count:0})};return p(),{__sfc:!0,props:i,emit:n,followingListID:s,handleFollowingListChange:e=>{n("change",e.id)},unselectedListItem:c,followingList:d,selectedItem:A,loadFollowingList:p,VDropdown:r.VDropdown}}});var d=n(678);const A=(0,d.A)(c,s,[],!1,null,null,null).exports;var p=n(905);const u=(0,o.defineComponent)({__name:"ExtraOptions",setup(e){const{options:t}=(0,p.getComponentSettings)("extendFeedsLive"),n=(0,o.ref)(t.pinnedListID),i=(0,o.ref)(t.hiddenListID);return{__sfc:!0,options:t,pinnedListID:n,handlePinnedListChange:e=>{t.pinnedListID=e,n.value=e},hiddenListID:i,handleHiddenListChange:e=>{t.hiddenListID=e,i.value=e},FollowingListSelect:A}}}),f=u;var v=n(991),m=n.n(v),h=n(327),C=n.n(h),b={insert:"head",singleton:!1};m()(C(),b);C().locals;const x=(0,d.A)(f,i,[],!1,null,null,null).exports},655:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>h});var i=function(){var e=this,t=e._self._c,n=e._self._setupProxy;return t("div",{staticClass:"be-live-list"},[t("div",{staticClass:"be-live-list-header"},[t("div",{staticClass:"be-live-list-title"},[e._v("\n 正在直播\n "),t("div",{staticClass:"be-live-list-count"},[e._v("("+e._s(n.items.length)+")")])]),e._v(" "),t("div",{staticClass:"be-live-list-actions"},[n.loaded?t("div",{staticClass:"be-live-list-refresh",attrs:{title:"刷新"},on:{click:n.fetchLiveList}},[t(n.VIcon,{attrs:{icon:"mdi-refresh",size:16}})],1):e._e(),e._v(" "),t("a",{staticClass:"be-live-list-more",attrs:{target:"_blank",href:"https://link.bilibili.com/p/center/index#/user-center/follow/1"}},[e._v("\n 更多\n "),t(n.VIcon,{attrs:{icon:"right-arrow",size:14}})],1)])]),e._v(" "),t("div",{staticClass:"be-live-list-search"},[t(n.VIcon,{attrs:{icon:"search",size:18}}),e._v(" "),t(n.TextBox,{attrs:{placeholder:"搜索"},model:{value:n.keyword,callback:function(e){n.keyword=e},expression:"keyword"}})],1),e._v(" "),t("div",{staticClass:"be-live-list-content"},[n.loaded?e._e():t(n.VLoading),e._v(" "),n.loaded&&0===n.filteredItems.length?t(n.VEmpty):e._e(),e._v(" "),e._l(n.filteredItems,(function(i){return t("a",{key:i.roomid,staticClass:"be-live-list-item",attrs:{target:"_blank",href:i.link}},[t("div",{staticClass:"be-live-list-item-avatar"},[t(n.DpiImage,{attrs:{src:i.face,alt:i.title,size:36}})],1),e._v(" "),t("div",{staticClass:"be-live-list-item-info"},[t("div",{staticClass:"be-live-list-item-title",attrs:{title:i.title}},[e._v("\n "+e._s(n.decodeTitle(i.title))+"\n ")]),e._v(" "),t("div",{staticClass:"be-live-list-item-user",attrs:{title:i.uname}},[e._v("\n "+e._s(i.uname)+"\n ")])])])}))],2)])};i._withStripped=!0;var o=n(259),s=n(164),r=n(416),a=n(847),l=n(674),c=n(905);const d=(0,o.defineComponent)({__name:"LiveList",setup(e){const{options:t}=(0,c.getComponentSettings)("extendFeedsLive"),n=(0,o.ref)([]),i=(0,o.ref)([]),d=(0,o.ref)([]),A=(0,o.ref)(!1),p=(0,o.ref)(""),u=(0,o.computed)((()=>p.value?n.value.filter((e=>{const t=t=>e[t].toString().toLowerCase().includes(p.value.toLowerCase());return t("title")||t("uname")||t("roomid")||t("uid")})):n.value)),f=async()=>{const e=await(0,r.getJsonWithCredentials)("https://api.bilibili.com/x/polymer/web-dynamic/v1/portal");return e.data.live_users?.items?.map((e=>{const{jump_url:t,room_id:n,face:i,title:o,uname:s,mid:r}=e;return{cover:i,face:i,uname:s,title:o,roomid:n,pic:"",online:0,uid:r,link:t}}))??[]},v=(e,t)=>{const n=t.map((e=>e.roomid)),i=e.filter((e=>!n.includes(e.roomid)));return lodash.concat(t,i)},m=function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return(n,i)=>{const o=e.findIndex((e=>e.mid===n.uid)),s=e.findIndex((e=>e.mid===i.uid));return-1===s&&-1===o?0:-1===o?t?-1:1:-1===s?t?1:-1:o-s}},h=async()=>{const e=async e=>{if(e===l.Q||void 0===e)return[];const t=await(0,r.bilibiliApi)((0,r.getJsonWithCredentials)("https://api.bilibili.com/x/relation/tags"));if(!t.some((t=>t.tagid===e)))return[];return await(0,r.getPages)({api:t=>(0,r.getJsonWithCredentials)(`https://api.bilibili.com/x/relation/tag?tagid=${e}&pn=${t}&ps=500&mid=${(0,a.getUID)()}`),getList:e=>lodash.get(e,"data",[]),getTotal:()=>t.find((t=>t.tagid===e))?.count??0})};await Promise.all([e(t.pinnedListID).then((e=>{i.value=e})).catch((()=>{i.value=[]})),e(t.hiddenListID).then((e=>{d.value=e})).catch((()=>{d.value=[]}))])},C=async()=>{try{n.value=[],A.value=!1;const[,e]=(0,r.responsiveGetPages)({api:e=>(0,r.getJsonWithCredentials)(`https://api.live.bilibili.com/xlive/web-ucenter/v1/xfetter/GetWebList?page=${e}`),getList:e=>lodash.get(e,"data.list",[]).map((e=>{const{face:t,uname:n,title:i,room_id:o,cover_from_user:s,online:r,uid:a,link:l}=e;return{cover:t,face:t,uname:n,title:i,roomid:o.toString(),pic:s,online:r,uid:a,link:l}})),getTotal:e=>lodash.get(e,"data.count",0)}),[t,o]=await Promise.all([e,f()]),s=v(t,o).sort(m(i.value,!1)).filter((e=>!d.value.some((t=>t.mid===e.uid))));n.value=s}finally{A.value=!0}},b=async()=>{await h(),await C()};return(0,c.addComponentListener)("extendFeedsLive.pinnedListID",b),(0,c.addComponentListener)("extendFeedsLive.hiddenListID",b),(0,o.onMounted)((()=>{b()})),(0,o.onBeforeUnmount)((()=>{(0,c.removeComponentListener)("extendFeedsLive.pinnedListID",b),(0,c.removeComponentListener)("extendFeedsLive.hiddenListID",b)})),{__sfc:!0,decodeTitle:e=>{const t=document.createElement("textarea");return t.innerHTML=e,t.value},FollowingListPageSize:500,options:t,items:n,pinnedUsers:i,hiddenUsers:d,loaded:A,keyword:p,filteredItems:u,fetchRecommendLiveInfos:f,mergeRecommendLiveInfos:v,sortByUsers:m,fetchFollowingLists:h,fetchLiveList:C,initializeLiveList:b,VIcon:s.VIcon,TextBox:s.TextBox,DpiImage:s.DpiImage,VEmpty:s.VEmpty,VLoading:s.VLoading}}}),A=d;var p=n(991),u=n.n(p),f=n(901),v=n.n(f),m={insert:"head",singleton:!1};u()(v(),m);v().locals;const h=(0,n(678).A)(A,i,[],!1,null,null,null).exports},678:(e,t,n)=>{"use strict";function i(e,t,n,i,o,s,r,a){var l,c="function"==typeof e?e.options:e;if(t&&(c.render=t,c.staticRenderFns=n,c._compiled=!0),i&&(c.functional=!0),s&&(c._scopeId="data-v-"+s),r?(l=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),o&&o.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(r)},c._ssrRegister=l):o&&(l=a?function(){o.call(this,(c.functional?this.parent:this).$root.$options.shadowRoot)}:o),l)if(c.functional){c._injectStyles=l;var d=c.render;c.render=function(e,t){return l.call(t),d(e,t)}}else{var A=c.beforeCreate;c.beforeCreate=A?[].concat(A,l):[l]}return{exports:e,options:c}}n.d(t,{A:()=>i})},969:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=969,e.exports=t},246:e=>{"use strict";e.exports="替换动态的 `正在直播` 面板, 能够显示超过 10 个的直播间.\n"},259:e=>{"use strict";e.exports=globalThis.Vue},416:e=>{"use strict";e.exports=coreApis.ajax},253:e=>{"use strict";e.exports=coreApis.componentApis.define},905:e=>{"use strict";e.exports=coreApis.settings},164:e=>{"use strict";e.exports=coreApis.ui},847:e=>{"use strict";e.exports=coreApis.utils}},i={};function o(e){var t=i[e];if(void 0!==t)return t.exports;var s=i[e]={id:e,exports:{}};return n[e](s,s.exports,o),s.exports}o.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return o.d(t,{a:t}),t},t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,o.t=function(n,i){if(1&i&&(n=this(n)),8&i)return n;if("object"==typeof n&&n){if(4&i&&n.__esModule)return n;if(16&i&&"function"==typeof n.then)return n}var s=Object.create(null);o.r(s);var r={};e=e||[null,t({}),t([]),t(t)];for(var a=2&i&&n;"object"==typeof a&&!~e.indexOf(a);a=t(a))Object.getOwnPropertyNames(a).forEach((e=>r[e]=()=>n[e]));return r.default=()=>n,o.d(s,r),s},o.d=(e,t)=>{for(var n in t)o.o(t,n)&&!o.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.nc=void 0;var s={};return(()=>{"use strict";o.d(s,{component:()=>l});var e=o(253);const t=coreApis.componentApis.styledComponent,n=coreApis.spinQuery;var i=o(847);const r=coreApis.utils.log;var a=o(674);const l=(0,e.defineComponentMetadata)({name:"extendFeedsLive",displayName:"直播信息扩充",entry:(0,t.styledComponentEntry)((()=>Promise.resolve().then(o.t.bind(o,18,23))),(async()=>{const e=(0,r.useScopedConsole)("extendFeedsLive"),t=await(0,n.select)(".bili-dyn-home--member aside.left");let s;t||e.error("aside not found");if((a=t.childNodes[t.childNodes.length-1]).nodeType!==Node.COMMENT_NODE&&a instanceof HTMLElement&&"section"===a.tagName.toLowerCase()&&a.classList.contains("sticky"))s=await(0,n.select)((()=>dq(t,"section.sticky")));else{const e=document.createElement("section");e.classList.add("sticky"),t.appendChild(e),s=e}var a;s||e.error("container not found");const l=await Promise.resolve().then(o.bind(o,655)).then((e=>e.default)),c=(0,i.mountVueComponent)(l);s.appendChild(c.$el)})),tags:[componentsTags.feeds,componentsTags.live],urlInclude:[/^https:\/\/t\.bilibili\.com\/$/],extraOptions:()=>Promise.resolve().then(o.bind(o,168)).then((e=>e.default)),options:a.f,commitHash:"d87d69cfb9d7e0124bd90a06fec4569bd61e02c5",coreVersion:"2.10.7",description:(()=>{const e=o(969);return{...Object.fromEntries(e.keys().map((t=>[t.match(/index\.(.+)\.md$/)[1],e(t)]))),"zh-CN":()=>Promise.resolve().then(o.t.bind(o,246,17)).then((e=>e.default))}})()})})(),s=s.component})())); //# sourceMappingURL=https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/registry/dist/components/feeds/extend-live.js.map \ No newline at end of file diff --git a/bb-evolved/registry/dist/components/feeds/extend-live.js.map b/bb-evolved/registry/dist/components/feeds/extend-live.js.map index abe9cf90fa..30019677d2 100644 --- a/bb-evolved/registry/dist/components/feeds/extend-live.js.map +++ b/bb-evolved/registry/dist/components/feeds/extend-live.js.map @@ -1 +1 @@ -{"version":3,"file":"feeds/extend-live.js","mappings":"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","sources":["webpack:///webpack/universalModuleDefinition","webpack:///webpack/runtime/create fake namespace object","webpack:///./registry/lib/components/feeds/extend-live/options.ts","webpack:///./registry/lib/components/feeds/extend-live/ExtraOptions.vue?1e9c","webpack:///./registry/lib/components/feeds/extend-live/LiveList.vue?41d2","webpack:///./registry/lib/components/feeds/extend-live/extend-feeds-live.scss","webpack:///./node_modules/.pnpm/css-loader@5.2.7_webpack@5.97.1/node_modules/css-loader/dist/runtime/api.js","webpack:///./node_modules/.pnpm/css-loader@5.2.7_webpack@5.97.1/node_modules/css-loader/dist/runtime/cssWithMappingToString.js","webpack:///./node_modules/.pnpm/style-loader@2.0.0_webpack@5.97.1/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js","webpack:///./registry/lib/components/feeds/extend-live/extend-feeds-live.scss?7937","webpack:///./registry/lib/components/feeds/extend-live/ExtraOptions.vue?1840","webpack:///./registry/lib/components/feeds/extend-live/FollowingListSelect.vue?97d2","webpack:///./registry/lib/components/feeds/extend-live/FollowingListSelect.vue?d70e","webpack:///FollowingListSelect.vue","webpack:///./registry/lib/components/feeds/extend-live/FollowingListSelect.vue","webpack:///ExtraOptions.vue","webpack:///./registry/lib/components/feeds/extend-live/ExtraOptions.vue?4478","webpack:///./registry/lib/components/feeds/extend-live/ExtraOptions.vue?db40","webpack:///./registry/lib/components/feeds/extend-live/ExtraOptions.vue","webpack:///./registry/lib/components/feeds/extend-live/LiveList.vue?59b9","webpack:///LiveList.vue","webpack:///./registry/lib/components/feeds/extend-live/LiveList.vue?896b","webpack:///./registry/lib/components/feeds/extend-live/LiveList.vue?179b","webpack:///./registry/lib/components/feeds/extend-live/LiveList.vue","webpack:///./node_modules/.pnpm/vue-loader@15.11.1_@babel+core@7.22.10_css-loader@5.2.7_webpack@5.97.1__lodash@4.17.21_prettier@2.8.8_webpack@5.97.1/node_modules/vue-loader/lib/runtime/componentNormalizer.js","webpack:///./registry/lib/components/feeds/extend-live/ sync nonrecursive index\\.(.+)\\.md$","webpack:///external global \"Vue\"","webpack:///external root [\"coreApis\",\"ajax\"]","webpack:///external root [\"coreApis\",\"componentApis\",\"define\"]","webpack:///external root [\"coreApis\",\"settings\"]","webpack:///external root [\"coreApis\",\"ui\"]","webpack:///external root [\"coreApis\",\"utils\"]","webpack:///webpack/bootstrap","webpack:///webpack/runtime/compat get default export","webpack:///webpack/runtime/define property getters","webpack:///webpack/runtime/hasOwnProperty shorthand","webpack:///webpack/runtime/make namespace object","webpack:///webpack/runtime/nonce","webpack:///external root [\"coreApis\",\"componentApis\",\"styledComponent\"]","webpack:///external root [\"coreApis\",\"spinQuery\"]","webpack:///external root [\"coreApis\",\"utils\",\"log\"]","webpack:///./registry/lib/components/feeds/extend-live/index.ts"],"sourcesContent":["(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory();\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine([], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"feeds/extend-live\"] = factory();\n\telse\n\t\troot[\"feeds/extend-live\"] = factory();\n})(globalThis, () => {\nreturn ","var getProto = Object.getPrototypeOf ? (obj) => (Object.getPrototypeOf(obj)) : (obj) => (obj.__proto__);\nvar leafPrototypes;\n// create a fake namespace object\n// mode & 1: value is a module id, require it\n// mode & 2: merge all properties of value into the ns\n// mode & 4: return value when already ns object\n// mode & 16: return value when it's Promise-like\n// mode & 8|1: behave like require\n__webpack_require__.t = function(value, mode) {\n\tif(mode & 1) value = this(value);\n\tif(mode & 8) return value;\n\tif(typeof value === 'object' && value) {\n\t\tif((mode & 4) && value.__esModule) return value;\n\t\tif((mode & 16) && typeof value.then === 'function') return value;\n\t}\n\tvar ns = Object.create(null);\n\t__webpack_require__.r(ns);\n\tvar def = {};\n\tleafPrototypes = leafPrototypes || [null, getProto({}), getProto([]), getProto(getProto)];\n\tfor(var current = mode & 2 && value; typeof current == 'object' && !~leafPrototypes.indexOf(current); current = getProto(current)) {\n\t\tObject.getOwnPropertyNames(current).forEach((key) => (def[key] = () => (value[key])));\n\t}\n\tdef['default'] = () => (value);\n\t__webpack_require__.d(ns, def);\n\treturn ns;\n};","import { defineOptionsMetadata, OptionsOfMetadata } from '@/components/define'\nimport { FollowingListID } from './types'\n\nexport const UnselectedListID: FollowingListID = -1\n\nexport const options = defineOptionsMetadata({\n pinnedListID: {\n defaultValue: UnselectedListID as FollowingListID,\n displayName: '置顶列表 ID',\n hidden: true,\n },\n hiddenListID: {\n defaultValue: UnselectedListID as FollowingListID,\n displayName: '隐藏列表 ID',\n hidden: true,\n },\n})\n\nexport type ExtendFeedsLiveOptions = OptionsOfMetadata\n","// Imports\nvar ___CSS_LOADER_API_SOURCEMAP_IMPORT___ = require(\"../../../../../node_modules/.pnpm/css-loader@5.2.7_webpack@5.97.1/node_modules/css-loader/dist/runtime/cssWithMappingToString.js\");\nvar ___CSS_LOADER_API_IMPORT___ = require(\"../../../../../node_modules/.pnpm/css-loader@5.2.7_webpack@5.97.1/node_modules/css-loader/dist/runtime/api.js\");\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, \".extend-feeds-live-extra-options {\\n margin-top: 8px;\\n display: flex;\\n align-items: stretch;\\n flex-direction: column;\\n gap: 12px;\\n}\\n.extend-feeds-live-extra-options .extend-feeds-live-extra-option {\\n display: flex;\\n align-items: stretch;\\n flex-direction: column;\\n gap: 8px;\\n}\\n.extend-feeds-live-extra-options .extend-feeds-live-extra-option-header {\\n font-weight: 600;\\n}\\n.extend-feeds-live-extra-options .extend-feeds-live-extra-option-description {\\n font-size: 12px;\\n opacity: 0.75;\\n}\", \"\",{\"version\":3,\"sources\":[\"webpack://./registry/lib/components/feeds/extend-live/ExtraOptions.vue\"],\"names\":[],\"mappings\":\"AAAA;EACE,eAAe;EACf,aAAa;EACb,oBAAoB;EACpB,sBAAsB;EACtB,SAAS;AACX;AACA;EACE,aAAa;EACb,oBAAoB;EACpB,sBAAsB;EACtB,QAAQ;AACV;AACA;EACE,gBAAgB;AAClB;AACA;EACE,eAAe;EACf,aAAa;AACf\",\"sourcesContent\":[\".extend-feeds-live-extra-options {\\n margin-top: 8px;\\n display: flex;\\n align-items: stretch;\\n flex-direction: column;\\n gap: 12px;\\n}\\n.extend-feeds-live-extra-options .extend-feeds-live-extra-option {\\n display: flex;\\n align-items: stretch;\\n flex-direction: column;\\n gap: 8px;\\n}\\n.extend-feeds-live-extra-options .extend-feeds-live-extra-option-header {\\n font-weight: 600;\\n}\\n.extend-feeds-live-extra-options .extend-feeds-live-extra-option-description {\\n font-size: 12px;\\n opacity: 0.75;\\n}\"],\"sourceRoot\":\"\"}]);\n// Exports\nmodule.exports = ___CSS_LOADER_EXPORT___;\n","// Imports\nvar ___CSS_LOADER_API_SOURCEMAP_IMPORT___ = require(\"../../../../../node_modules/.pnpm/css-loader@5.2.7_webpack@5.97.1/node_modules/css-loader/dist/runtime/cssWithMappingToString.js\");\nvar ___CSS_LOADER_API_IMPORT___ = require(\"../../../../../node_modules/.pnpm/css-loader@5.2.7_webpack@5.97.1/node_modules/css-loader/dist/runtime/api.js\");\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, \".be-live-list {\\n display: flex;\\n align-items: stretch;\\n flex-direction: column;\\n gap: 12px;\\n padding: 12px 16px;\\n border-radius: 4px;\\n font-size: 12px;\\n color: #000;\\n background-color: #fff;\\n}\\nbody.dark .be-live-list {\\n color: var(--be-color-text-title, #eee);\\n background-color: var(--be-color-popup-bg, #444);\\n}\\n.be-live-list-header {\\n display: flex;\\n align-items: center;\\n justify-content: space-between;\\n}\\n.be-live-list-title {\\n display: flex;\\n align-items: center;\\n gap: 4px;\\n font-size: 14px;\\n}\\n.be-live-list-count {\\n opacity: 0.5;\\n font-size: 12px;\\n}\\n.be-live-list-actions {\\n display: flex;\\n align-items: center;\\n gap: 4px;\\n}\\n.be-live-list-refresh {\\n cursor: pointer;\\n padding: 2px;\\n}\\n.be-live-list-refresh .be-icon {\\n opacity: 0.5;\\n transition: 0.35s ease-out;\\n}\\n.be-live-list-refresh:hover .be-icon {\\n transform: rotate(360deg);\\n opacity: 1;\\n color: var(--theme-color);\\n}\\n.be-live-list-more {\\n opacity: 0.5;\\n padding: 2px;\\n cursor: pointer;\\n display: flex;\\n align-items: center;\\n}\\n.be-live-list-more:hover {\\n opacity: 1;\\n color: var(--theme-color);\\n}\\n.be-live-list-search {\\n display: flex;\\n align-items: center;\\n gap: 8px;\\n}\\n.be-live-list-search .be-icon {\\n opacity: 0.6;\\n}\\n.be-live-list-search .be-textbox {\\n flex-grow: 1;\\n}\\n.be-live-list-content {\\n overflow: auto;\\n scrollbar-width: none !important;\\n overscroll-behavior: contain;\\n display: flex;\\n align-items: stretch;\\n flex-direction: column;\\n gap: 8px;\\n max-height: calc(100vh - 358px);\\n}\\n.be-live-list-content::-webkit-scrollbar {\\n height: 0 !important;\\n width: 0 !important;\\n}\\nbody.enable-feeds-filter .be-live-list-content {\\n max-height: calc(100vh - 414px);\\n}\\nbody.feeds-filter-side-block-profile .be-live-list-content {\\n max-height: calc(100vh - 218px);\\n}\\n.be-live-list-item {\\n display: flex;\\n align-items: center;\\n gap: 8px;\\n cursor: pointer;\\n}\\n.be-live-list-item-avatar {\\n overflow: hidden;\\n border-radius: 50%;\\n display: flex;\\n border: 1px solid var(--be-color-avatar-border, #8884);\\n}\\n.be-live-list-item-info {\\n display: flex;\\n align-items: stretch;\\n flex-direction: column;\\n gap: 2px;\\n flex-grow: 1;\\n width: 0;\\n}\\n.be-live-list-item-title, .be-live-list-item-user {\\n overflow: hidden;\\n text-overflow: ellipsis;\\n white-space: nowrap;\\n}\\n.be-live-list-item-title {\\n font-size: 14px;\\n transition: 0.2s ease-out;\\n}\\n.be-live-list-item-user {\\n opacity: 0.6;\\n}\\n.be-live-list-item:hover .be-live-list-item-title {\\n color: var(--theme-color);\\n}\", \"\",{\"version\":3,\"sources\":[\"webpack://./registry/lib/components/feeds/extend-live/LiveList.vue\"],\"names\":[],\"mappings\":\"AAAA;EACE,aAAa;EACb,oBAAoB;EACpB,sBAAsB;EACtB,SAAS;EACT,kBAAkB;EAClB,kBAAkB;EAClB,eAAe;EACf,WAAW;EACX,sBAAsB;AACxB;AACA;EACE,uCAAuC;EACvC,gDAAgD;AAClD;AACA;EACE,aAAa;EACb,mBAAmB;EACnB,8BAA8B;AAChC;AACA;EACE,aAAa;EACb,mBAAmB;EACnB,QAAQ;EACR,eAAe;AACjB;AACA;EACE,YAAY;EACZ,eAAe;AACjB;AACA;EACE,aAAa;EACb,mBAAmB;EACnB,QAAQ;AACV;AACA;EACE,eAAe;EACf,YAAY;AACd;AACA;EACE,YAAY;EACZ,0BAA0B;AAC5B;AACA;EACE,yBAAyB;EACzB,UAAU;EACV,yBAAyB;AAC3B;AACA;EACE,YAAY;EACZ,YAAY;EACZ,eAAe;EACf,aAAa;EACb,mBAAmB;AACrB;AACA;EACE,UAAU;EACV,yBAAyB;AAC3B;AACA;EACE,aAAa;EACb,mBAAmB;EACnB,QAAQ;AACV;AACA;EACE,YAAY;AACd;AACA;EACE,YAAY;AACd;AACA;EACE,cAAc;EACd,gCAAgC;EAChC,4BAA4B;EAC5B,aAAa;EACb,oBAAoB;EACpB,sBAAsB;EACtB,QAAQ;EACR,+BAA+B;AACjC;AACA;EACE,oBAAoB;EACpB,mBAAmB;AACrB;AACA;EACE,+BAA+B;AACjC;AACA;EACE,+BAA+B;AACjC;AACA;EACE,aAAa;EACb,mBAAmB;EACnB,QAAQ;EACR,eAAe;AACjB;AACA;EACE,gBAAgB;EAChB,kBAAkB;EAClB,aAAa;EACb,sDAAsD;AACxD;AACA;EACE,aAAa;EACb,oBAAoB;EACpB,sBAAsB;EACtB,QAAQ;EACR,YAAY;EACZ,QAAQ;AACV;AACA;EACE,gBAAgB;EAChB,uBAAuB;EACvB,mBAAmB;AACrB;AACA;EACE,eAAe;EACf,yBAAyB;AAC3B;AACA;EACE,YAAY;AACd;AACA;EACE,yBAAyB;AAC3B\",\"sourcesContent\":[\".be-live-list {\\n display: flex;\\n align-items: stretch;\\n flex-direction: column;\\n gap: 12px;\\n padding: 12px 16px;\\n border-radius: 4px;\\n font-size: 12px;\\n color: #000;\\n background-color: #fff;\\n}\\nbody.dark .be-live-list {\\n color: var(--be-color-text-title, #eee);\\n background-color: var(--be-color-popup-bg, #444);\\n}\\n.be-live-list-header {\\n display: flex;\\n align-items: center;\\n justify-content: space-between;\\n}\\n.be-live-list-title {\\n display: flex;\\n align-items: center;\\n gap: 4px;\\n font-size: 14px;\\n}\\n.be-live-list-count {\\n opacity: 0.5;\\n font-size: 12px;\\n}\\n.be-live-list-actions {\\n display: flex;\\n align-items: center;\\n gap: 4px;\\n}\\n.be-live-list-refresh {\\n cursor: pointer;\\n padding: 2px;\\n}\\n.be-live-list-refresh .be-icon {\\n opacity: 0.5;\\n transition: 0.35s ease-out;\\n}\\n.be-live-list-refresh:hover .be-icon {\\n transform: rotate(360deg);\\n opacity: 1;\\n color: var(--theme-color);\\n}\\n.be-live-list-more {\\n opacity: 0.5;\\n padding: 2px;\\n cursor: pointer;\\n display: flex;\\n align-items: center;\\n}\\n.be-live-list-more:hover {\\n opacity: 1;\\n color: var(--theme-color);\\n}\\n.be-live-list-search {\\n display: flex;\\n align-items: center;\\n gap: 8px;\\n}\\n.be-live-list-search .be-icon {\\n opacity: 0.6;\\n}\\n.be-live-list-search .be-textbox {\\n flex-grow: 1;\\n}\\n.be-live-list-content {\\n overflow: auto;\\n scrollbar-width: none !important;\\n overscroll-behavior: contain;\\n display: flex;\\n align-items: stretch;\\n flex-direction: column;\\n gap: 8px;\\n max-height: calc(100vh - 358px);\\n}\\n.be-live-list-content::-webkit-scrollbar {\\n height: 0 !important;\\n width: 0 !important;\\n}\\nbody.enable-feeds-filter .be-live-list-content {\\n max-height: calc(100vh - 414px);\\n}\\nbody.feeds-filter-side-block-profile .be-live-list-content {\\n max-height: calc(100vh - 218px);\\n}\\n.be-live-list-item {\\n display: flex;\\n align-items: center;\\n gap: 8px;\\n cursor: pointer;\\n}\\n.be-live-list-item-avatar {\\n overflow: hidden;\\n border-radius: 50%;\\n display: flex;\\n border: 1px solid var(--be-color-avatar-border, #8884);\\n}\\n.be-live-list-item-info {\\n display: flex;\\n align-items: stretch;\\n flex-direction: column;\\n gap: 2px;\\n flex-grow: 1;\\n width: 0;\\n}\\n.be-live-list-item-title, .be-live-list-item-user {\\n overflow: hidden;\\n text-overflow: ellipsis;\\n white-space: nowrap;\\n}\\n.be-live-list-item-title {\\n font-size: 14px;\\n transition: 0.2s ease-out;\\n}\\n.be-live-list-item-user {\\n opacity: 0.6;\\n}\\n.be-live-list-item:hover .be-live-list-item-title {\\n color: var(--theme-color);\\n}\"],\"sourceRoot\":\"\"}]);\n// Exports\nmodule.exports = ___CSS_LOADER_EXPORT___;\n","// Imports\nvar ___CSS_LOADER_API_SOURCEMAP_IMPORT___ = require(\"../../../../../node_modules/.pnpm/css-loader@5.2.7_webpack@5.97.1/node_modules/css-loader/dist/runtime/cssWithMappingToString.js\");\nvar ___CSS_LOADER_API_IMPORT___ = require(\"../../../../../node_modules/.pnpm/css-loader@5.2.7_webpack@5.97.1/node_modules/css-loader/dist/runtime/api.js\");\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, \".live-up-list,\\n.bili-dyn-home--member .bili-dyn-live-users {\\n display: none !important;\\n}\", \"\",{\"version\":3,\"sources\":[\"webpack://./registry/lib/components/feeds/extend-live/extend-feeds-live.scss\"],\"names\":[],\"mappings\":\"AAAA;;EAEE,wBAAwB;AAC1B\",\"sourcesContent\":[\".live-up-list,\\n.bili-dyn-home--member .bili-dyn-live-users {\\n display: none !important;\\n}\"],\"sourceRoot\":\"\"}]);\n// Exports\nmodule.exports = ___CSS_LOADER_EXPORT___;\n","\"use strict\";\n\n/*\n MIT License http://www.opensource.org/licenses/mit-license.php\n Author Tobias Koppers @sokra\n*/\n// css base code, injected by the css-loader\n// eslint-disable-next-line func-names\nmodule.exports = function (cssWithMappingToString) {\n var list = []; // return the list of modules as css string\n\n list.toString = function toString() {\n return this.map(function (item) {\n var content = cssWithMappingToString(item);\n\n if (item[2]) {\n return \"@media \".concat(item[2], \" {\").concat(content, \"}\");\n }\n\n return content;\n }).join(\"\");\n }; // import a list of modules into the list\n // eslint-disable-next-line func-names\n\n\n list.i = function (modules, mediaQuery, dedupe) {\n if (typeof modules === \"string\") {\n // eslint-disable-next-line no-param-reassign\n modules = [[null, modules, \"\"]];\n }\n\n var alreadyImportedModules = {};\n\n if (dedupe) {\n for (var i = 0; i < this.length; i++) {\n // eslint-disable-next-line prefer-destructuring\n var id = this[i][0];\n\n if (id != null) {\n alreadyImportedModules[id] = true;\n }\n }\n }\n\n for (var _i = 0; _i < modules.length; _i++) {\n var item = [].concat(modules[_i]);\n\n if (dedupe && alreadyImportedModules[item[0]]) {\n // eslint-disable-next-line no-continue\n continue;\n }\n\n if (mediaQuery) {\n if (!item[2]) {\n item[2] = mediaQuery;\n } else {\n item[2] = \"\".concat(mediaQuery, \" and \").concat(item[2]);\n }\n }\n\n list.push(item);\n }\n };\n\n return list;\n};","\"use strict\";\n\nfunction _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }\n\nfunction _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.\"); }\n\nfunction _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); }\n\nfunction _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; }\n\nfunction _iterableToArrayLimit(arr, i) { var _i = arr && (typeof Symbol !== \"undefined\" && arr[Symbol.iterator] || arr[\"@@iterator\"]); if (_i == null) return; var _arr = []; var _n = true; var _d = false; var _s, _e; try { for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i[\"return\"] != null) _i[\"return\"](); } finally { if (_d) throw _e; } } return _arr; }\n\nfunction _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }\n\nmodule.exports = function cssWithMappingToString(item) {\n var _item = _slicedToArray(item, 4),\n content = _item[1],\n cssMapping = _item[3];\n\n if (!cssMapping) {\n return content;\n }\n\n if (typeof btoa === \"function\") {\n // eslint-disable-next-line no-undef\n var base64 = btoa(unescape(encodeURIComponent(JSON.stringify(cssMapping))));\n var data = \"sourceMappingURL=data:application/json;charset=utf-8;base64,\".concat(base64);\n var sourceMapping = \"/*# \".concat(data, \" */\");\n var sourceURLs = cssMapping.sources.map(function (source) {\n return \"/*# sourceURL=\".concat(cssMapping.sourceRoot || \"\").concat(source, \" */\");\n });\n return [content].concat(sourceURLs).concat([sourceMapping]).join(\"\\n\");\n }\n\n return [content].join(\"\\n\");\n};","\"use strict\";\n\nvar isOldIE = function isOldIE() {\n var memo;\n return function memorize() {\n if (typeof memo === 'undefined') {\n // Test for IE <= 9 as proposed by Browserhacks\n // @see http://browserhacks.com/#hack-e71d8692f65334173fee715c222cb805\n // Tests for existence of standard globals is to allow style-loader\n // to operate correctly into non-standard environments\n // @see https://github.com/webpack-contrib/style-loader/issues/177\n memo = Boolean(window && document && document.all && !window.atob);\n }\n\n return memo;\n };\n}();\n\nvar getTarget = function getTarget() {\n var memo = {};\n return function memorize(target) {\n if (typeof memo[target] === 'undefined') {\n var styleTarget = document.querySelector(target); // Special case to return head of iframe instead of iframe itself\n\n if (window.HTMLIFrameElement && styleTarget instanceof window.HTMLIFrameElement) {\n try {\n // This will throw an exception if access to iframe is blocked\n // due to cross-origin restrictions\n styleTarget = styleTarget.contentDocument.head;\n } catch (e) {\n // istanbul ignore next\n styleTarget = null;\n }\n }\n\n memo[target] = styleTarget;\n }\n\n return memo[target];\n };\n}();\n\nvar stylesInDom = [];\n\nfunction getIndexByIdentifier(identifier) {\n var result = -1;\n\n for (var i = 0; i < stylesInDom.length; i++) {\n if (stylesInDom[i].identifier === identifier) {\n result = i;\n break;\n }\n }\n\n return result;\n}\n\nfunction modulesToDom(list, options) {\n var idCountMap = {};\n var identifiers = [];\n\n for (var i = 0; i < list.length; i++) {\n var item = list[i];\n var id = options.base ? item[0] + options.base : item[0];\n var count = idCountMap[id] || 0;\n var identifier = \"\".concat(id, \" \").concat(count);\n idCountMap[id] = count + 1;\n var index = getIndexByIdentifier(identifier);\n var obj = {\n css: item[1],\n media: item[2],\n sourceMap: item[3]\n };\n\n if (index !== -1) {\n stylesInDom[index].references++;\n stylesInDom[index].updater(obj);\n } else {\n stylesInDom.push({\n identifier: identifier,\n updater: addStyle(obj, options),\n references: 1\n });\n }\n\n identifiers.push(identifier);\n }\n\n return identifiers;\n}\n\nfunction insertStyleElement(options) {\n var style = document.createElement('style');\n var attributes = options.attributes || {};\n\n if (typeof attributes.nonce === 'undefined') {\n var nonce = typeof __webpack_nonce__ !== 'undefined' ? __webpack_nonce__ : null;\n\n if (nonce) {\n attributes.nonce = nonce;\n }\n }\n\n Object.keys(attributes).forEach(function (key) {\n style.setAttribute(key, attributes[key]);\n });\n\n if (typeof options.insert === 'function') {\n options.insert(style);\n } else {\n var target = getTarget(options.insert || 'head');\n\n if (!target) {\n throw new Error(\"Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.\");\n }\n\n target.appendChild(style);\n }\n\n return style;\n}\n\nfunction removeStyleElement(style) {\n // istanbul ignore if\n if (style.parentNode === null) {\n return false;\n }\n\n style.parentNode.removeChild(style);\n}\n/* istanbul ignore next */\n\n\nvar replaceText = function replaceText() {\n var textStore = [];\n return function replace(index, replacement) {\n textStore[index] = replacement;\n return textStore.filter(Boolean).join('\\n');\n };\n}();\n\nfunction applyToSingletonTag(style, index, remove, obj) {\n var css = remove ? '' : obj.media ? \"@media \".concat(obj.media, \" {\").concat(obj.css, \"}\") : obj.css; // For old IE\n\n /* istanbul ignore if */\n\n if (style.styleSheet) {\n style.styleSheet.cssText = replaceText(index, css);\n } else {\n var cssNode = document.createTextNode(css);\n var childNodes = style.childNodes;\n\n if (childNodes[index]) {\n style.removeChild(childNodes[index]);\n }\n\n if (childNodes.length) {\n style.insertBefore(cssNode, childNodes[index]);\n } else {\n style.appendChild(cssNode);\n }\n }\n}\n\nfunction applyToTag(style, options, obj) {\n var css = obj.css;\n var media = obj.media;\n var sourceMap = obj.sourceMap;\n\n if (media) {\n style.setAttribute('media', media);\n } else {\n style.removeAttribute('media');\n }\n\n if (sourceMap && typeof btoa !== 'undefined') {\n css += \"\\n/*# sourceMappingURL=data:application/json;base64,\".concat(btoa(unescape(encodeURIComponent(JSON.stringify(sourceMap)))), \" */\");\n } // For old IE\n\n /* istanbul ignore if */\n\n\n if (style.styleSheet) {\n style.styleSheet.cssText = css;\n } else {\n while (style.firstChild) {\n style.removeChild(style.firstChild);\n }\n\n style.appendChild(document.createTextNode(css));\n }\n}\n\nvar singleton = null;\nvar singletonCounter = 0;\n\nfunction addStyle(obj, options) {\n var style;\n var update;\n var remove;\n\n if (options.singleton) {\n var styleIndex = singletonCounter++;\n style = singleton || (singleton = insertStyleElement(options));\n update = applyToSingletonTag.bind(null, style, styleIndex, false);\n remove = applyToSingletonTag.bind(null, style, styleIndex, true);\n } else {\n style = insertStyleElement(options);\n update = applyToTag.bind(null, style, options);\n\n remove = function remove() {\n removeStyleElement(style);\n };\n }\n\n update(obj);\n return function updateStyle(newObj) {\n if (newObj) {\n if (newObj.css === obj.css && newObj.media === obj.media && newObj.sourceMap === obj.sourceMap) {\n return;\n }\n\n update(obj = newObj);\n } else {\n remove();\n }\n };\n}\n\nmodule.exports = function (list, options) {\n options = options || {}; // Force single-tag solution on IE6-9, which has a hard limit on the # of \n","import mod from \"-!../../../../../node_modules/.pnpm/babel-loader@9.2.1_@babel+core@7.22.10_webpack@5.97.1/node_modules/babel-loader/lib/index.js??clonedRuleSet-43.use[0]!../../../../../node_modules/.pnpm/vue-loader@15.11.1_@babel+core@7.22.10_css-loader@5.2.7_webpack@5.97.1__lodash@4.17.21_prettier@2.8.8_webpack@5.97.1/node_modules/vue-loader/lib/index.js??vue-loader-options!./ExtraOptions.vue?vue&type=script&setup=true&lang=ts\"; export default mod; export * from \"-!../../../../../node_modules/.pnpm/babel-loader@9.2.1_@babel+core@7.22.10_webpack@5.97.1/node_modules/babel-loader/lib/index.js??clonedRuleSet-43.use[0]!../../../../../node_modules/.pnpm/vue-loader@15.11.1_@babel+core@7.22.10_css-loader@5.2.7_webpack@5.97.1__lodash@4.17.21_prettier@2.8.8_webpack@5.97.1/node_modules/vue-loader/lib/index.js??vue-loader-options!./ExtraOptions.vue?vue&type=script&setup=true&lang=ts\"","import api from \"!../../../../../node_modules/.pnpm/style-loader@2.0.0_webpack@5.97.1/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js\";\n import content from \"!!../../../../../node_modules/.pnpm/css-loader@5.2.7_webpack@5.97.1/node_modules/css-loader/dist/cjs.js??clonedRuleSet-41.use[1]!../../../../../node_modules/.pnpm/vue-loader@15.11.1_@babel+core@7.22.10_css-loader@5.2.7_webpack@5.97.1__lodash@4.17.21_prettier@2.8.8_webpack@5.97.1/node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../node_modules/.pnpm/postcss-loader@4.3.0_postcss@8.5.2_webpack@5.97.1/node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-41.use[2]!../../../../../node_modules/.pnpm/fast-sass-loader@2.0.1_sass@1.25.0_webpack@5.97.1/node_modules/fast-sass-loader/lib/index.js??clonedRuleSet-41.use[3]!../../../../../node_modules/.pnpm/vue-loader@15.11.1_@babel+core@7.22.10_css-loader@5.2.7_webpack@5.97.1__lodash@4.17.21_prettier@2.8.8_webpack@5.97.1/node_modules/vue-loader/lib/index.js??vue-loader-options!./ExtraOptions.vue?vue&type=style&index=0&id=b80dd9d4&prod&lang=scss\";\n\nvar options = {};\n\noptions.insert = \"head\";\noptions.singleton = false;\n\nvar update = api(content, options);\n\n\n\nexport default content.locals || {};","import { render, staticRenderFns } from \"./ExtraOptions.vue?vue&type=template&id=b80dd9d4\"\nimport script from \"./ExtraOptions.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./ExtraOptions.vue?vue&type=script&setup=true&lang=ts\"\nimport style0 from \"./ExtraOptions.vue?vue&type=style&index=0&id=b80dd9d4&prod&lang=scss\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/.pnpm/vue-loader@15.11.1_@babel+core@7.22.10_css-loader@5.2.7_webpack@5.97.1__lodash@4.17.21_prettier@2.8.8_webpack@5.97.1/node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function render() {\n var _vm = this,\n _c = _vm._self._c,\n _setup = _vm._self._setupProxy\n return _c(\"div\", { staticClass: \"be-live-list\" }, [\n _c(\"div\", { staticClass: \"be-live-list-header\" }, [\n _c(\"div\", { staticClass: \"be-live-list-title\" }, [\n _vm._v(\"\\n 正在直播\\n \"),\n _c(\"div\", { staticClass: \"be-live-list-count\" }, [\n _vm._v(\"(\" + _vm._s(_setup.items.length) + \")\"),\n ]),\n ]),\n _vm._v(\" \"),\n _c(\"div\", { staticClass: \"be-live-list-actions\" }, [\n _setup.loaded\n ? _c(\n \"div\",\n {\n staticClass: \"be-live-list-refresh\",\n attrs: { title: \"刷新\" },\n on: { click: _setup.fetchLiveList },\n },\n [_c(_setup.VIcon, { attrs: { icon: \"mdi-refresh\", size: 16 } })],\n 1\n )\n : _vm._e(),\n _vm._v(\" \"),\n _c(\n \"a\",\n {\n staticClass: \"be-live-list-more\",\n attrs: {\n target: \"_blank\",\n href: \"https://link.bilibili.com/p/center/index#/user-center/follow/1\",\n },\n },\n [\n _vm._v(\"\\n 更多\\n \"),\n _c(_setup.VIcon, { attrs: { icon: \"right-arrow\", size: 14 } }),\n ],\n 1\n ),\n ]),\n ]),\n _vm._v(\" \"),\n _c(\n \"div\",\n { staticClass: \"be-live-list-search\" },\n [\n _c(_setup.VIcon, { attrs: { icon: \"search\", size: 18 } }),\n _vm._v(\" \"),\n _c(_setup.TextBox, {\n attrs: { placeholder: \"搜索\" },\n model: {\n value: _setup.keyword,\n callback: function ($$v) {\n _setup.keyword = $$v\n },\n expression: \"keyword\",\n },\n }),\n ],\n 1\n ),\n _vm._v(\" \"),\n _c(\n \"div\",\n { staticClass: \"be-live-list-content\" },\n [\n !_setup.loaded ? _c(_setup.VLoading) : _vm._e(),\n _vm._v(\" \"),\n _setup.loaded && _setup.filteredItems.length === 0\n ? _c(_setup.VEmpty)\n : _vm._e(),\n _vm._v(\" \"),\n _vm._l(_setup.filteredItems, function (item) {\n return _c(\n \"a\",\n {\n key: item.roomid,\n staticClass: \"be-live-list-item\",\n attrs: { target: \"_blank\", href: item.link },\n },\n [\n _c(\n \"div\",\n { staticClass: \"be-live-list-item-avatar\" },\n [\n _c(_setup.DpiImage, {\n attrs: { src: item.face, alt: item.title, size: 36 },\n }),\n ],\n 1\n ),\n _vm._v(\" \"),\n _c(\"div\", { staticClass: \"be-live-list-item-info\" }, [\n _c(\n \"div\",\n {\n staticClass: \"be-live-list-item-title\",\n attrs: { title: item.title },\n },\n [\n _vm._v(\n \"\\n \" +\n _vm._s(_setup.decodeTitle(item.title)) +\n \"\\n \"\n ),\n ]\n ),\n _vm._v(\" \"),\n _c(\n \"div\",\n {\n staticClass: \"be-live-list-item-user\",\n attrs: { title: item.uname },\n },\n [_vm._v(\"\\n \" + _vm._s(item.uname) + \"\\n \")]\n ),\n ]),\n ]\n )\n }),\n ],\n 2\n ),\n ])\n}\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns }","\n\n\n","import mod from \"-!../../../../../node_modules/.pnpm/babel-loader@9.2.1_@babel+core@7.22.10_webpack@5.97.1/node_modules/babel-loader/lib/index.js??clonedRuleSet-43.use[0]!../../../../../node_modules/.pnpm/vue-loader@15.11.1_@babel+core@7.22.10_css-loader@5.2.7_webpack@5.97.1__lodash@4.17.21_prettier@2.8.8_webpack@5.97.1/node_modules/vue-loader/lib/index.js??vue-loader-options!./LiveList.vue?vue&type=script&setup=true&lang=ts\"; export default mod; export * from \"-!../../../../../node_modules/.pnpm/babel-loader@9.2.1_@babel+core@7.22.10_webpack@5.97.1/node_modules/babel-loader/lib/index.js??clonedRuleSet-43.use[0]!../../../../../node_modules/.pnpm/vue-loader@15.11.1_@babel+core@7.22.10_css-loader@5.2.7_webpack@5.97.1__lodash@4.17.21_prettier@2.8.8_webpack@5.97.1/node_modules/vue-loader/lib/index.js??vue-loader-options!./LiveList.vue?vue&type=script&setup=true&lang=ts\"","import api from \"!../../../../../node_modules/.pnpm/style-loader@2.0.0_webpack@5.97.1/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js\";\n import content from \"!!../../../../../node_modules/.pnpm/css-loader@5.2.7_webpack@5.97.1/node_modules/css-loader/dist/cjs.js??clonedRuleSet-41.use[1]!../../../../../node_modules/.pnpm/vue-loader@15.11.1_@babel+core@7.22.10_css-loader@5.2.7_webpack@5.97.1__lodash@4.17.21_prettier@2.8.8_webpack@5.97.1/node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../node_modules/.pnpm/postcss-loader@4.3.0_postcss@8.5.2_webpack@5.97.1/node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-41.use[2]!../../../../../node_modules/.pnpm/fast-sass-loader@2.0.1_sass@1.25.0_webpack@5.97.1/node_modules/fast-sass-loader/lib/index.js??clonedRuleSet-41.use[3]!../../../../../node_modules/.pnpm/vue-loader@15.11.1_@babel+core@7.22.10_css-loader@5.2.7_webpack@5.97.1__lodash@4.17.21_prettier@2.8.8_webpack@5.97.1/node_modules/vue-loader/lib/index.js??vue-loader-options!./LiveList.vue?vue&type=style&index=0&id=56d5f614&prod&lang=scss\";\n\nvar options = {};\n\noptions.insert = \"head\";\noptions.singleton = false;\n\nvar update = api(content, options);\n\n\n\nexport default content.locals || {};","import { render, staticRenderFns } from \"./LiveList.vue?vue&type=template&id=56d5f614\"\nimport script from \"./LiveList.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./LiveList.vue?vue&type=script&setup=true&lang=ts\"\nimport style0 from \"./LiveList.vue?vue&type=style&index=0&id=56d5f614&prod&lang=scss\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/.pnpm/vue-loader@15.11.1_@babel+core@7.22.10_css-loader@5.2.7_webpack@5.97.1__lodash@4.17.21_prettier@2.8.8_webpack@5.97.1/node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","/* globals __VUE_SSR_CONTEXT__ */\n\n// IMPORTANT: Do NOT use ES2015 features in this file (except for modules).\n// This module is a runtime utility for cleaner component module output and will\n// be included in the final webpack user bundle.\n\nexport default function normalizeComponent(\n scriptExports,\n render,\n staticRenderFns,\n functionalTemplate,\n injectStyles,\n scopeId,\n moduleIdentifier /* server only */,\n shadowMode /* vue-cli only */\n) {\n // Vue.extend constructor export interop\n var options =\n typeof scriptExports === 'function' ? scriptExports.options : scriptExports\n\n // render functions\n if (render) {\n options.render = render\n options.staticRenderFns = staticRenderFns\n options._compiled = true\n }\n\n // functional template\n if (functionalTemplate) {\n options.functional = true\n }\n\n // scopedId\n if (scopeId) {\n options._scopeId = 'data-v-' + scopeId\n }\n\n var hook\n if (moduleIdentifier) {\n // server build\n hook = function (context) {\n // 2.3 injection\n context =\n context || // cached call\n (this.$vnode && this.$vnode.ssrContext) || // stateful\n (this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext) // functional\n // 2.2 with runInNewContext: true\n if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') {\n context = __VUE_SSR_CONTEXT__\n }\n // inject component styles\n if (injectStyles) {\n injectStyles.call(this, context)\n }\n // register component module identifier for async chunk inferrence\n if (context && context._registeredComponents) {\n context._registeredComponents.add(moduleIdentifier)\n }\n }\n // used by ssr in case component is cached and beforeCreate\n // never gets called\n options._ssrRegister = hook\n } else if (injectStyles) {\n hook = shadowMode\n ? function () {\n injectStyles.call(\n this,\n (options.functional ? this.parent : this).$root.$options.shadowRoot\n )\n }\n : injectStyles\n }\n\n if (hook) {\n if (options.functional) {\n // for template-only hot-reload because in that case the render fn doesn't\n // go through the normalizer\n options._injectStyles = hook\n // register for functional component in vue file\n var originalRender = options.render\n options.render = function renderWithStyleInjection(h, context) {\n hook.call(context)\n return originalRender(h, context)\n }\n } else {\n // inject component registration as beforeCreate hook\n var existing = options.beforeCreate\n options.beforeCreate = existing ? [].concat(existing, hook) : [hook]\n }\n }\n\n return {\n exports: scriptExports,\n options: options\n }\n}\n","function webpackEmptyContext(req) {\n\tvar e = new Error(\"Cannot find module '\" + req + \"'\");\n\te.code = 'MODULE_NOT_FOUND';\n\tthrow e;\n}\nwebpackEmptyContext.keys = () => ([]);\nwebpackEmptyContext.resolve = webpackEmptyContext;\nwebpackEmptyContext.id = 969;\nmodule.exports = webpackEmptyContext;","module.exports = globalThis[\"Vue\"];","module.exports = coreApis.ajax;","module.exports = coreApis.componentApis.define;","module.exports = coreApis.settings;","module.exports = coreApis.ui;","module.exports = coreApis.utils;","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\tid: moduleId,\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId](module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = (module) => {\n\tvar getter = module && module.__esModule ?\n\t\t() => (module['default']) :\n\t\t() => (module);\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","// define __esModule on exports\n__webpack_require__.r = (exports) => {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","__webpack_require__.nc = undefined;","const __WEBPACK_NAMESPACE_OBJECT__ = coreApis.componentApis.styledComponent;","const __WEBPACK_NAMESPACE_OBJECT__ = coreApis.spinQuery;","const __WEBPACK_NAMESPACE_OBJECT__ = coreApis.utils.log;","import { defineComponentMetadata } from '@/components/define'\nimport { styledComponentEntry } from '@/components/styled-component'\nimport { select } from '@/core/spin-query'\nimport { mountVueComponent } from '@/core/utils'\nimport { useScopedConsole } from '@/core/utils/log'\nimport { options } from './options'\n\nconst entry = async () => {\n const console = useScopedConsole('extendFeedsLive')\n const aside = (await select('.bili-dyn-home--member aside.left')) as HTMLElement\n if (!aside) {\n console.error('aside not found')\n }\n let container: HTMLElement\n const isStickySection = (node: Node) => {\n if (node.nodeType === Node.COMMENT_NODE) {\n return false\n }\n if (\n node instanceof HTMLElement &&\n node.tagName.toLowerCase() === 'section' &&\n node.classList.contains('sticky')\n ) {\n return true\n }\n return false\n }\n if (!isStickySection(aside.childNodes[aside.childNodes.length - 1])) {\n const stickySection = document.createElement('section')\n stickySection.classList.add('sticky')\n aside.appendChild(stickySection)\n container = stickySection\n } else {\n container = (await select(() => dq(aside, 'section.sticky'))) as HTMLElement\n }\n if (!container) {\n console.error('container not found')\n }\n const LiveList = await import('./LiveList.vue').then(m => m.default)\n const liveList = mountVueComponent(LiveList)\n container.appendChild(liveList.$el)\n}\n\nexport const component = defineComponentMetadata({\n name: 'extendFeedsLive',\n displayName: '直播信息扩充',\n entry: styledComponentEntry(() => import('./extend-feeds-live.scss'), entry),\n tags: [componentsTags.feeds, componentsTags.live],\n urlInclude: [/^https:\\/\\/t\\.bilibili\\.com\\/$/],\n extraOptions: () => import('./ExtraOptions.vue').then(m => m.default),\n options,\n})\n"],"names":["root","factory","exports","module","define","amd","globalThis","leafPrototypes","getProto","UnselectedListID","options","defineOptionsMetadata","pinnedListID","defaultValue","displayName","hidden","hiddenListID","___CSS_LOADER_API_SOURCEMAP_IMPORT___","___CSS_LOADER_EXPORT___","___CSS_LOADER_API_IMPORT___","push","id","cssWithMappingToString","list","toString","this","map","item","content","concat","join","i","modules","mediaQuery","dedupe","alreadyImportedModules","length","_i","_slicedToArray","arr","Array","isArray","_arrayWithHoles","Symbol","iterator","_s","_e","_arr","_n","_d","call","next","done","value","err","_iterableToArrayLimit","o","minLen","_arrayLikeToArray","n","Object","prototype","slice","constructor","name","from","test","_unsupportedIterableToArray","TypeError","_nonIterableRest","len","arr2","_item","cssMapping","btoa","base64","unescape","encodeURIComponent","JSON","stringify","data","sourceMapping","sourceURLs","sources","source","sourceRoot","memo","isOldIE","Boolean","window","document","all","atob","getTarget","target","styleTarget","querySelector","HTMLIFrameElement","contentDocument","head","e","stylesInDom","getIndexByIdentifier","identifier","result","modulesToDom","idCountMap","identifiers","base","count","index","obj","css","media","sourceMap","references","updater","addStyle","insertStyleElement","style","createElement","attributes","nonce","keys","forEach","key","setAttribute","insert","Error","appendChild","textStore","replaceText","replacement","filter","applyToSingletonTag","remove","styleSheet","cssText","cssNode","createTextNode","childNodes","removeChild","insertBefore","applyToTag","removeAttribute","firstChild","singleton","singletonCounter","update","styleIndex","bind","parentNode","removeStyleElement","newObj","lastIdentifiers","newList","newLastIdentifiers","_index","splice","__esModule","default","render","_vm","_c","_self","_setup","_setupProxy","staticClass","_v","FollowingListSelect","attrs","on","change","handlePinnedListChange","handleHiddenListChange","_withStripped","VDropdown","items","followingList","selectedItem","handleFollowingListChange","scopedSlots","_u","fn","followingListID","computed","props","unselectedListItem","reactive","ref","find","loadFollowingList","async","bilibiliApi","getJsonWithCredentials","tagid","some","unshift","emit","getComponentSettings","loaded","title","click","fetchLiveList","VIcon","icon","size","href","TextBox","placeholder","model","keyword","callback","$$v","expression","VLoading","filteredItems","VEmpty","_l","roomid","link","DpiImage","src","face","alt","decodeTitle","uname","pinnedUsers","hiddenUsers","it","matchField","field","toLowerCase","includes","fetchRecommendLiveInfos","portalList","live_users","jump_url","room_id","mid","cover","pic","online","uid","mergeRecommendLiveInfos","liveInfos","recommendLiveInfos","recommendRoomIds","feedConcatItems","lodash","sortByUsers","users","descending","arguments","undefined","a","b","aPinnedIndex","findIndex","bPinnedIndex","fetchFollowingLists","fetchFollowingList","getPages","api","page","getUID","getList","json","get","getTotal","Promise","then","catch","promise","responsiveGetPages","cover_from_user","allItems","recommendItems","sortedItems","sort","user","initializeLiveList","addComponentListener","onMounted","onBeforeUnmount","removeComponentListener","textArea","innerHTML","normalizeComponent","scriptExports","staticRenderFns","functionalTemplate","injectStyles","scopeId","moduleIdentifier","shadowMode","hook","_compiled","functional","_scopeId","context","$vnode","ssrContext","parent","__VUE_SSR_CONTEXT__","_registeredComponents","add","_ssrRegister","$root","$options","shadowRoot","_injectStyles","originalRender","h","existing","beforeCreate","webpackEmptyContext","req","code","resolve","coreApis","ajax","componentApis","settings","ui","utils","__webpack_module_cache__","__webpack_require__","moduleId","cachedModule","__webpack_modules__","getter","d","getPrototypeOf","t","mode","ns","create","r","def","current","indexOf","getOwnPropertyNames","definition","defineProperty","enumerable","prop","hasOwnProperty","toStringTag","nc","styledComponent","spinQuery","log","component","defineComponentMetadata","entry","styledComponentEntry","console","useScopedConsole","aside","select","container","error","node","nodeType","Node","COMMENT_NODE","HTMLElement","tagName","classList","contains","dq","stickySection","LiveList","m","liveList","mountVueComponent","$el","tags","componentsTags","feeds","live","urlInclude","extraOptions","commitHash","coreVersion","description","require","fromEntries","path","match","zh-CN"],"sourceRoot":""} \ No newline at end of file +{"version":3,"file":"feeds/extend-live.js","mappings":"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","sources":["webpack:///webpack/universalModuleDefinition","webpack:///webpack/runtime/create fake namespace object","webpack:///./registry/lib/components/feeds/extend-live/options.ts","webpack:///./registry/lib/components/feeds/extend-live/ExtraOptions.vue?1e9c","webpack:///./registry/lib/components/feeds/extend-live/LiveList.vue?c26a","webpack:///./registry/lib/components/feeds/extend-live/extend-feeds-live.scss","webpack:///./node_modules/.pnpm/css-loader@5.2.7_webpack@5.97.1/node_modules/css-loader/dist/runtime/api.js","webpack:///./node_modules/.pnpm/css-loader@5.2.7_webpack@5.97.1/node_modules/css-loader/dist/runtime/cssWithMappingToString.js","webpack:///./node_modules/.pnpm/style-loader@2.0.0_webpack@5.97.1/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js","webpack:///./registry/lib/components/feeds/extend-live/extend-feeds-live.scss?7937","webpack:///./registry/lib/components/feeds/extend-live/ExtraOptions.vue?1840","webpack:///./registry/lib/components/feeds/extend-live/FollowingListSelect.vue?97d2","webpack:///./registry/lib/components/feeds/extend-live/FollowingListSelect.vue?d70e","webpack:///FollowingListSelect.vue","webpack:///./registry/lib/components/feeds/extend-live/FollowingListSelect.vue","webpack:///ExtraOptions.vue","webpack:///./registry/lib/components/feeds/extend-live/ExtraOptions.vue?4478","webpack:///./registry/lib/components/feeds/extend-live/ExtraOptions.vue?db40","webpack:///./registry/lib/components/feeds/extend-live/ExtraOptions.vue","webpack:///./registry/lib/components/feeds/extend-live/LiveList.vue?efbe","webpack:///LiveList.vue","webpack:///./registry/lib/components/feeds/extend-live/LiveList.vue?896b","webpack:///./registry/lib/components/feeds/extend-live/LiveList.vue?627f","webpack:///./registry/lib/components/feeds/extend-live/LiveList.vue","webpack:///./node_modules/.pnpm/vue-loader@15.11.1_@babel+core@7.22.10_css-loader@5.2.7_webpack@5.97.1__lodash@4.17.21_prettier@2.8.8_webpack@5.97.1/node_modules/vue-loader/lib/runtime/componentNormalizer.js","webpack:///./registry/lib/components/feeds/extend-live/ sync nonrecursive index\\.(.+)\\.md$","webpack:///external global \"Vue\"","webpack:///external root [\"coreApis\",\"ajax\"]","webpack:///external root [\"coreApis\",\"componentApis\",\"define\"]","webpack:///external root [\"coreApis\",\"settings\"]","webpack:///external root [\"coreApis\",\"ui\"]","webpack:///external root [\"coreApis\",\"utils\"]","webpack:///webpack/bootstrap","webpack:///webpack/runtime/compat get default export","webpack:///webpack/runtime/define property getters","webpack:///webpack/runtime/hasOwnProperty shorthand","webpack:///webpack/runtime/make namespace object","webpack:///webpack/runtime/nonce","webpack:///external root [\"coreApis\",\"componentApis\",\"styledComponent\"]","webpack:///external root [\"coreApis\",\"spinQuery\"]","webpack:///external root [\"coreApis\",\"utils\",\"log\"]","webpack:///./registry/lib/components/feeds/extend-live/index.ts"],"sourcesContent":["(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory();\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine([], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"feeds/extend-live\"] = factory();\n\telse\n\t\troot[\"feeds/extend-live\"] = factory();\n})(globalThis, () => {\nreturn ","var getProto = Object.getPrototypeOf ? (obj) => (Object.getPrototypeOf(obj)) : (obj) => (obj.__proto__);\nvar leafPrototypes;\n// create a fake namespace object\n// mode & 1: value is a module id, require it\n// mode & 2: merge all properties of value into the ns\n// mode & 4: return value when already ns object\n// mode & 16: return value when it's Promise-like\n// mode & 8|1: behave like require\n__webpack_require__.t = function(value, mode) {\n\tif(mode & 1) value = this(value);\n\tif(mode & 8) return value;\n\tif(typeof value === 'object' && value) {\n\t\tif((mode & 4) && value.__esModule) return value;\n\t\tif((mode & 16) && typeof value.then === 'function') return value;\n\t}\n\tvar ns = Object.create(null);\n\t__webpack_require__.r(ns);\n\tvar def = {};\n\tleafPrototypes = leafPrototypes || [null, getProto({}), getProto([]), getProto(getProto)];\n\tfor(var current = mode & 2 && value; typeof current == 'object' && !~leafPrototypes.indexOf(current); current = getProto(current)) {\n\t\tObject.getOwnPropertyNames(current).forEach((key) => (def[key] = () => (value[key])));\n\t}\n\tdef['default'] = () => (value);\n\t__webpack_require__.d(ns, def);\n\treturn ns;\n};","import { defineOptionsMetadata, OptionsOfMetadata } from '@/components/define'\nimport { FollowingListID } from './types'\n\nexport const UnselectedListID: FollowingListID = -1\n\nexport const options = defineOptionsMetadata({\n pinnedListID: {\n defaultValue: UnselectedListID as FollowingListID,\n displayName: '置顶列表 ID',\n hidden: true,\n },\n hiddenListID: {\n defaultValue: UnselectedListID as FollowingListID,\n displayName: '隐藏列表 ID',\n hidden: true,\n },\n})\n\nexport type ExtendFeedsLiveOptions = OptionsOfMetadata\n","// Imports\nvar ___CSS_LOADER_API_SOURCEMAP_IMPORT___ = require(\"../../../../../node_modules/.pnpm/css-loader@5.2.7_webpack@5.97.1/node_modules/css-loader/dist/runtime/cssWithMappingToString.js\");\nvar ___CSS_LOADER_API_IMPORT___ = require(\"../../../../../node_modules/.pnpm/css-loader@5.2.7_webpack@5.97.1/node_modules/css-loader/dist/runtime/api.js\");\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, \".extend-feeds-live-extra-options {\\n margin-top: 8px;\\n display: flex;\\n align-items: stretch;\\n flex-direction: column;\\n gap: 12px;\\n}\\n.extend-feeds-live-extra-options .extend-feeds-live-extra-option {\\n display: flex;\\n align-items: stretch;\\n flex-direction: column;\\n gap: 8px;\\n}\\n.extend-feeds-live-extra-options .extend-feeds-live-extra-option-header {\\n font-weight: 600;\\n}\\n.extend-feeds-live-extra-options .extend-feeds-live-extra-option-description {\\n font-size: 12px;\\n opacity: 0.75;\\n}\", \"\",{\"version\":3,\"sources\":[\"webpack://./registry/lib/components/feeds/extend-live/ExtraOptions.vue\"],\"names\":[],\"mappings\":\"AAAA;EACE,eAAe;EACf,aAAa;EACb,oBAAoB;EACpB,sBAAsB;EACtB,SAAS;AACX;AACA;EACE,aAAa;EACb,oBAAoB;EACpB,sBAAsB;EACtB,QAAQ;AACV;AACA;EACE,gBAAgB;AAClB;AACA;EACE,eAAe;EACf,aAAa;AACf\",\"sourcesContent\":[\".extend-feeds-live-extra-options {\\n margin-top: 8px;\\n display: flex;\\n align-items: stretch;\\n flex-direction: column;\\n gap: 12px;\\n}\\n.extend-feeds-live-extra-options .extend-feeds-live-extra-option {\\n display: flex;\\n align-items: stretch;\\n flex-direction: column;\\n gap: 8px;\\n}\\n.extend-feeds-live-extra-options .extend-feeds-live-extra-option-header {\\n font-weight: 600;\\n}\\n.extend-feeds-live-extra-options .extend-feeds-live-extra-option-description {\\n font-size: 12px;\\n opacity: 0.75;\\n}\"],\"sourceRoot\":\"\"}]);\n// Exports\nmodule.exports = ___CSS_LOADER_EXPORT___;\n","// Imports\nvar ___CSS_LOADER_API_SOURCEMAP_IMPORT___ = require(\"../../../../../node_modules/.pnpm/css-loader@5.2.7_webpack@5.97.1/node_modules/css-loader/dist/runtime/cssWithMappingToString.js\");\nvar ___CSS_LOADER_API_IMPORT___ = require(\"../../../../../node_modules/.pnpm/css-loader@5.2.7_webpack@5.97.1/node_modules/css-loader/dist/runtime/api.js\");\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, \".be-live-list {\\n display: flex;\\n align-items: stretch;\\n flex-direction: column;\\n gap: 12px;\\n padding: 12px 16px;\\n border-radius: 4px;\\n font-size: 12px;\\n color: #000;\\n background-color: #fff;\\n}\\nbody.dark .be-live-list {\\n color: var(--be-color-text-title, #eee);\\n background-color: var(--be-color-popup-bg, #444);\\n}\\n.be-live-list-header {\\n display: flex;\\n align-items: center;\\n justify-content: space-between;\\n}\\n.be-live-list-title {\\n display: flex;\\n align-items: center;\\n gap: 4px;\\n font-size: 14px;\\n}\\n.be-live-list-count {\\n opacity: 0.5;\\n font-size: 12px;\\n}\\n.be-live-list-actions {\\n display: flex;\\n align-items: center;\\n gap: 4px;\\n}\\n.be-live-list-refresh {\\n cursor: pointer;\\n padding: 2px;\\n}\\n.be-live-list-refresh .be-icon {\\n opacity: 0.5;\\n transition: 0.35s ease-out;\\n}\\n.be-live-list-refresh:hover .be-icon {\\n transform: rotate(360deg);\\n opacity: 1;\\n color: var(--theme-color);\\n}\\n.be-live-list-more {\\n opacity: 0.5;\\n padding: 2px;\\n cursor: pointer;\\n display: flex;\\n align-items: center;\\n}\\n.be-live-list-more:hover {\\n opacity: 1;\\n color: var(--theme-color);\\n}\\n.be-live-list-search {\\n display: flex;\\n align-items: center;\\n gap: 8px;\\n}\\n.be-live-list-search .be-icon {\\n opacity: 0.6;\\n}\\n.be-live-list-search .be-textbox {\\n flex-grow: 1;\\n}\\n.be-live-list-content {\\n overflow: auto;\\n scrollbar-width: none !important;\\n overscroll-behavior: contain;\\n display: flex;\\n align-items: stretch;\\n flex-direction: column;\\n gap: 8px;\\n max-height: calc(100vh - 358px);\\n}\\n.be-live-list-content::-webkit-scrollbar {\\n height: 0 !important;\\n width: 0 !important;\\n}\\nbody.enable-feeds-filter .be-live-list-content {\\n max-height: calc(100vh - 414px);\\n}\\nbody.feeds-filter-side-block-profile .be-live-list-content {\\n max-height: calc(100vh - 218px);\\n}\\n.be-live-list-item {\\n display: flex;\\n align-items: center;\\n gap: 8px;\\n cursor: pointer;\\n}\\n.be-live-list-item-avatar {\\n overflow: hidden;\\n border-radius: 50%;\\n display: flex;\\n border: 1px solid var(--be-color-avatar-border, #8884);\\n}\\n.be-live-list-item-info {\\n display: flex;\\n align-items: stretch;\\n flex-direction: column;\\n gap: 2px;\\n flex-grow: 1;\\n width: 0;\\n}\\n.be-live-list-item-title, .be-live-list-item-user {\\n overflow: hidden;\\n text-overflow: ellipsis;\\n white-space: nowrap;\\n}\\n.be-live-list-item-title {\\n font-size: 14px;\\n transition: 0.2s ease-out;\\n}\\n.be-live-list-item-user {\\n opacity: 0.6;\\n}\\n.be-live-list-item:hover .be-live-list-item-title {\\n color: var(--theme-color);\\n}\", \"\",{\"version\":3,\"sources\":[\"webpack://./registry/lib/components/feeds/extend-live/LiveList.vue\"],\"names\":[],\"mappings\":\"AAAA;EACE,aAAa;EACb,oBAAoB;EACpB,sBAAsB;EACtB,SAAS;EACT,kBAAkB;EAClB,kBAAkB;EAClB,eAAe;EACf,WAAW;EACX,sBAAsB;AACxB;AACA;EACE,uCAAuC;EACvC,gDAAgD;AAClD;AACA;EACE,aAAa;EACb,mBAAmB;EACnB,8BAA8B;AAChC;AACA;EACE,aAAa;EACb,mBAAmB;EACnB,QAAQ;EACR,eAAe;AACjB;AACA;EACE,YAAY;EACZ,eAAe;AACjB;AACA;EACE,aAAa;EACb,mBAAmB;EACnB,QAAQ;AACV;AACA;EACE,eAAe;EACf,YAAY;AACd;AACA;EACE,YAAY;EACZ,0BAA0B;AAC5B;AACA;EACE,yBAAyB;EACzB,UAAU;EACV,yBAAyB;AAC3B;AACA;EACE,YAAY;EACZ,YAAY;EACZ,eAAe;EACf,aAAa;EACb,mBAAmB;AACrB;AACA;EACE,UAAU;EACV,yBAAyB;AAC3B;AACA;EACE,aAAa;EACb,mBAAmB;EACnB,QAAQ;AACV;AACA;EACE,YAAY;AACd;AACA;EACE,YAAY;AACd;AACA;EACE,cAAc;EACd,gCAAgC;EAChC,4BAA4B;EAC5B,aAAa;EACb,oBAAoB;EACpB,sBAAsB;EACtB,QAAQ;EACR,+BAA+B;AACjC;AACA;EACE,oBAAoB;EACpB,mBAAmB;AACrB;AACA;EACE,+BAA+B;AACjC;AACA;EACE,+BAA+B;AACjC;AACA;EACE,aAAa;EACb,mBAAmB;EACnB,QAAQ;EACR,eAAe;AACjB;AACA;EACE,gBAAgB;EAChB,kBAAkB;EAClB,aAAa;EACb,sDAAsD;AACxD;AACA;EACE,aAAa;EACb,oBAAoB;EACpB,sBAAsB;EACtB,QAAQ;EACR,YAAY;EACZ,QAAQ;AACV;AACA;EACE,gBAAgB;EAChB,uBAAuB;EACvB,mBAAmB;AACrB;AACA;EACE,eAAe;EACf,yBAAyB;AAC3B;AACA;EACE,YAAY;AACd;AACA;EACE,yBAAyB;AAC3B\",\"sourcesContent\":[\".be-live-list {\\n display: flex;\\n align-items: stretch;\\n flex-direction: column;\\n gap: 12px;\\n padding: 12px 16px;\\n border-radius: 4px;\\n font-size: 12px;\\n color: #000;\\n background-color: #fff;\\n}\\nbody.dark .be-live-list {\\n color: var(--be-color-text-title, #eee);\\n background-color: var(--be-color-popup-bg, #444);\\n}\\n.be-live-list-header {\\n display: flex;\\n align-items: center;\\n justify-content: space-between;\\n}\\n.be-live-list-title {\\n display: flex;\\n align-items: center;\\n gap: 4px;\\n font-size: 14px;\\n}\\n.be-live-list-count {\\n opacity: 0.5;\\n font-size: 12px;\\n}\\n.be-live-list-actions {\\n display: flex;\\n align-items: center;\\n gap: 4px;\\n}\\n.be-live-list-refresh {\\n cursor: pointer;\\n padding: 2px;\\n}\\n.be-live-list-refresh .be-icon {\\n opacity: 0.5;\\n transition: 0.35s ease-out;\\n}\\n.be-live-list-refresh:hover .be-icon {\\n transform: rotate(360deg);\\n opacity: 1;\\n color: var(--theme-color);\\n}\\n.be-live-list-more {\\n opacity: 0.5;\\n padding: 2px;\\n cursor: pointer;\\n display: flex;\\n align-items: center;\\n}\\n.be-live-list-more:hover {\\n opacity: 1;\\n color: var(--theme-color);\\n}\\n.be-live-list-search {\\n display: flex;\\n align-items: center;\\n gap: 8px;\\n}\\n.be-live-list-search .be-icon {\\n opacity: 0.6;\\n}\\n.be-live-list-search .be-textbox {\\n flex-grow: 1;\\n}\\n.be-live-list-content {\\n overflow: auto;\\n scrollbar-width: none !important;\\n overscroll-behavior: contain;\\n display: flex;\\n align-items: stretch;\\n flex-direction: column;\\n gap: 8px;\\n max-height: calc(100vh - 358px);\\n}\\n.be-live-list-content::-webkit-scrollbar {\\n height: 0 !important;\\n width: 0 !important;\\n}\\nbody.enable-feeds-filter .be-live-list-content {\\n max-height: calc(100vh - 414px);\\n}\\nbody.feeds-filter-side-block-profile .be-live-list-content {\\n max-height: calc(100vh - 218px);\\n}\\n.be-live-list-item {\\n display: flex;\\n align-items: center;\\n gap: 8px;\\n cursor: pointer;\\n}\\n.be-live-list-item-avatar {\\n overflow: hidden;\\n border-radius: 50%;\\n display: flex;\\n border: 1px solid var(--be-color-avatar-border, #8884);\\n}\\n.be-live-list-item-info {\\n display: flex;\\n align-items: stretch;\\n flex-direction: column;\\n gap: 2px;\\n flex-grow: 1;\\n width: 0;\\n}\\n.be-live-list-item-title, .be-live-list-item-user {\\n overflow: hidden;\\n text-overflow: ellipsis;\\n white-space: nowrap;\\n}\\n.be-live-list-item-title {\\n font-size: 14px;\\n transition: 0.2s ease-out;\\n}\\n.be-live-list-item-user {\\n opacity: 0.6;\\n}\\n.be-live-list-item:hover .be-live-list-item-title {\\n color: var(--theme-color);\\n}\"],\"sourceRoot\":\"\"}]);\n// Exports\nmodule.exports = ___CSS_LOADER_EXPORT___;\n","// Imports\nvar ___CSS_LOADER_API_SOURCEMAP_IMPORT___ = require(\"../../../../../node_modules/.pnpm/css-loader@5.2.7_webpack@5.97.1/node_modules/css-loader/dist/runtime/cssWithMappingToString.js\");\nvar ___CSS_LOADER_API_IMPORT___ = require(\"../../../../../node_modules/.pnpm/css-loader@5.2.7_webpack@5.97.1/node_modules/css-loader/dist/runtime/api.js\");\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, \".live-up-list,\\n.bili-dyn-home--member .bili-dyn-live-users {\\n display: none !important;\\n}\", \"\",{\"version\":3,\"sources\":[\"webpack://./registry/lib/components/feeds/extend-live/extend-feeds-live.scss\"],\"names\":[],\"mappings\":\"AAAA;;EAEE,wBAAwB;AAC1B\",\"sourcesContent\":[\".live-up-list,\\n.bili-dyn-home--member .bili-dyn-live-users {\\n display: none !important;\\n}\"],\"sourceRoot\":\"\"}]);\n// Exports\nmodule.exports = ___CSS_LOADER_EXPORT___;\n","\"use strict\";\n\n/*\n MIT License http://www.opensource.org/licenses/mit-license.php\n Author Tobias Koppers @sokra\n*/\n// css base code, injected by the css-loader\n// eslint-disable-next-line func-names\nmodule.exports = function (cssWithMappingToString) {\n var list = []; // return the list of modules as css string\n\n list.toString = function toString() {\n return this.map(function (item) {\n var content = cssWithMappingToString(item);\n\n if (item[2]) {\n return \"@media \".concat(item[2], \" {\").concat(content, \"}\");\n }\n\n return content;\n }).join(\"\");\n }; // import a list of modules into the list\n // eslint-disable-next-line func-names\n\n\n list.i = function (modules, mediaQuery, dedupe) {\n if (typeof modules === \"string\") {\n // eslint-disable-next-line no-param-reassign\n modules = [[null, modules, \"\"]];\n }\n\n var alreadyImportedModules = {};\n\n if (dedupe) {\n for (var i = 0; i < this.length; i++) {\n // eslint-disable-next-line prefer-destructuring\n var id = this[i][0];\n\n if (id != null) {\n alreadyImportedModules[id] = true;\n }\n }\n }\n\n for (var _i = 0; _i < modules.length; _i++) {\n var item = [].concat(modules[_i]);\n\n if (dedupe && alreadyImportedModules[item[0]]) {\n // eslint-disable-next-line no-continue\n continue;\n }\n\n if (mediaQuery) {\n if (!item[2]) {\n item[2] = mediaQuery;\n } else {\n item[2] = \"\".concat(mediaQuery, \" and \").concat(item[2]);\n }\n }\n\n list.push(item);\n }\n };\n\n return list;\n};","\"use strict\";\n\nfunction _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }\n\nfunction _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.\"); }\n\nfunction _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); }\n\nfunction _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; }\n\nfunction _iterableToArrayLimit(arr, i) { var _i = arr && (typeof Symbol !== \"undefined\" && arr[Symbol.iterator] || arr[\"@@iterator\"]); if (_i == null) return; var _arr = []; var _n = true; var _d = false; var _s, _e; try { for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i[\"return\"] != null) _i[\"return\"](); } finally { if (_d) throw _e; } } return _arr; }\n\nfunction _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }\n\nmodule.exports = function cssWithMappingToString(item) {\n var _item = _slicedToArray(item, 4),\n content = _item[1],\n cssMapping = _item[3];\n\n if (!cssMapping) {\n return content;\n }\n\n if (typeof btoa === \"function\") {\n // eslint-disable-next-line no-undef\n var base64 = btoa(unescape(encodeURIComponent(JSON.stringify(cssMapping))));\n var data = \"sourceMappingURL=data:application/json;charset=utf-8;base64,\".concat(base64);\n var sourceMapping = \"/*# \".concat(data, \" */\");\n var sourceURLs = cssMapping.sources.map(function (source) {\n return \"/*# sourceURL=\".concat(cssMapping.sourceRoot || \"\").concat(source, \" */\");\n });\n return [content].concat(sourceURLs).concat([sourceMapping]).join(\"\\n\");\n }\n\n return [content].join(\"\\n\");\n};","\"use strict\";\n\nvar isOldIE = function isOldIE() {\n var memo;\n return function memorize() {\n if (typeof memo === 'undefined') {\n // Test for IE <= 9 as proposed by Browserhacks\n // @see http://browserhacks.com/#hack-e71d8692f65334173fee715c222cb805\n // Tests for existence of standard globals is to allow style-loader\n // to operate correctly into non-standard environments\n // @see https://github.com/webpack-contrib/style-loader/issues/177\n memo = Boolean(window && document && document.all && !window.atob);\n }\n\n return memo;\n };\n}();\n\nvar getTarget = function getTarget() {\n var memo = {};\n return function memorize(target) {\n if (typeof memo[target] === 'undefined') {\n var styleTarget = document.querySelector(target); // Special case to return head of iframe instead of iframe itself\n\n if (window.HTMLIFrameElement && styleTarget instanceof window.HTMLIFrameElement) {\n try {\n // This will throw an exception if access to iframe is blocked\n // due to cross-origin restrictions\n styleTarget = styleTarget.contentDocument.head;\n } catch (e) {\n // istanbul ignore next\n styleTarget = null;\n }\n }\n\n memo[target] = styleTarget;\n }\n\n return memo[target];\n };\n}();\n\nvar stylesInDom = [];\n\nfunction getIndexByIdentifier(identifier) {\n var result = -1;\n\n for (var i = 0; i < stylesInDom.length; i++) {\n if (stylesInDom[i].identifier === identifier) {\n result = i;\n break;\n }\n }\n\n return result;\n}\n\nfunction modulesToDom(list, options) {\n var idCountMap = {};\n var identifiers = [];\n\n for (var i = 0; i < list.length; i++) {\n var item = list[i];\n var id = options.base ? item[0] + options.base : item[0];\n var count = idCountMap[id] || 0;\n var identifier = \"\".concat(id, \" \").concat(count);\n idCountMap[id] = count + 1;\n var index = getIndexByIdentifier(identifier);\n var obj = {\n css: item[1],\n media: item[2],\n sourceMap: item[3]\n };\n\n if (index !== -1) {\n stylesInDom[index].references++;\n stylesInDom[index].updater(obj);\n } else {\n stylesInDom.push({\n identifier: identifier,\n updater: addStyle(obj, options),\n references: 1\n });\n }\n\n identifiers.push(identifier);\n }\n\n return identifiers;\n}\n\nfunction insertStyleElement(options) {\n var style = document.createElement('style');\n var attributes = options.attributes || {};\n\n if (typeof attributes.nonce === 'undefined') {\n var nonce = typeof __webpack_nonce__ !== 'undefined' ? __webpack_nonce__ : null;\n\n if (nonce) {\n attributes.nonce = nonce;\n }\n }\n\n Object.keys(attributes).forEach(function (key) {\n style.setAttribute(key, attributes[key]);\n });\n\n if (typeof options.insert === 'function') {\n options.insert(style);\n } else {\n var target = getTarget(options.insert || 'head');\n\n if (!target) {\n throw new Error(\"Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.\");\n }\n\n target.appendChild(style);\n }\n\n return style;\n}\n\nfunction removeStyleElement(style) {\n // istanbul ignore if\n if (style.parentNode === null) {\n return false;\n }\n\n style.parentNode.removeChild(style);\n}\n/* istanbul ignore next */\n\n\nvar replaceText = function replaceText() {\n var textStore = [];\n return function replace(index, replacement) {\n textStore[index] = replacement;\n return textStore.filter(Boolean).join('\\n');\n };\n}();\n\nfunction applyToSingletonTag(style, index, remove, obj) {\n var css = remove ? '' : obj.media ? \"@media \".concat(obj.media, \" {\").concat(obj.css, \"}\") : obj.css; // For old IE\n\n /* istanbul ignore if */\n\n if (style.styleSheet) {\n style.styleSheet.cssText = replaceText(index, css);\n } else {\n var cssNode = document.createTextNode(css);\n var childNodes = style.childNodes;\n\n if (childNodes[index]) {\n style.removeChild(childNodes[index]);\n }\n\n if (childNodes.length) {\n style.insertBefore(cssNode, childNodes[index]);\n } else {\n style.appendChild(cssNode);\n }\n }\n}\n\nfunction applyToTag(style, options, obj) {\n var css = obj.css;\n var media = obj.media;\n var sourceMap = obj.sourceMap;\n\n if (media) {\n style.setAttribute('media', media);\n } else {\n style.removeAttribute('media');\n }\n\n if (sourceMap && typeof btoa !== 'undefined') {\n css += \"\\n/*# sourceMappingURL=data:application/json;base64,\".concat(btoa(unescape(encodeURIComponent(JSON.stringify(sourceMap)))), \" */\");\n } // For old IE\n\n /* istanbul ignore if */\n\n\n if (style.styleSheet) {\n style.styleSheet.cssText = css;\n } else {\n while (style.firstChild) {\n style.removeChild(style.firstChild);\n }\n\n style.appendChild(document.createTextNode(css));\n }\n}\n\nvar singleton = null;\nvar singletonCounter = 0;\n\nfunction addStyle(obj, options) {\n var style;\n var update;\n var remove;\n\n if (options.singleton) {\n var styleIndex = singletonCounter++;\n style = singleton || (singleton = insertStyleElement(options));\n update = applyToSingletonTag.bind(null, style, styleIndex, false);\n remove = applyToSingletonTag.bind(null, style, styleIndex, true);\n } else {\n style = insertStyleElement(options);\n update = applyToTag.bind(null, style, options);\n\n remove = function remove() {\n removeStyleElement(style);\n };\n }\n\n update(obj);\n return function updateStyle(newObj) {\n if (newObj) {\n if (newObj.css === obj.css && newObj.media === obj.media && newObj.sourceMap === obj.sourceMap) {\n return;\n }\n\n update(obj = newObj);\n } else {\n remove();\n }\n };\n}\n\nmodule.exports = function (list, options) {\n options = options || {}; // Force single-tag solution on IE6-9, which has a hard limit on the # of \n","import mod from \"-!../../../../../node_modules/.pnpm/babel-loader@9.2.1_@babel+core@7.22.10_webpack@5.97.1/node_modules/babel-loader/lib/index.js??clonedRuleSet-43.use[0]!../../../../../node_modules/.pnpm/vue-loader@15.11.1_@babel+core@7.22.10_css-loader@5.2.7_webpack@5.97.1__lodash@4.17.21_prettier@2.8.8_webpack@5.97.1/node_modules/vue-loader/lib/index.js??vue-loader-options!./ExtraOptions.vue?vue&type=script&setup=true&lang=ts\"; export default mod; export * from \"-!../../../../../node_modules/.pnpm/babel-loader@9.2.1_@babel+core@7.22.10_webpack@5.97.1/node_modules/babel-loader/lib/index.js??clonedRuleSet-43.use[0]!../../../../../node_modules/.pnpm/vue-loader@15.11.1_@babel+core@7.22.10_css-loader@5.2.7_webpack@5.97.1__lodash@4.17.21_prettier@2.8.8_webpack@5.97.1/node_modules/vue-loader/lib/index.js??vue-loader-options!./ExtraOptions.vue?vue&type=script&setup=true&lang=ts\"","import api from \"!../../../../../node_modules/.pnpm/style-loader@2.0.0_webpack@5.97.1/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js\";\n import content from \"!!../../../../../node_modules/.pnpm/css-loader@5.2.7_webpack@5.97.1/node_modules/css-loader/dist/cjs.js??clonedRuleSet-41.use[1]!../../../../../node_modules/.pnpm/vue-loader@15.11.1_@babel+core@7.22.10_css-loader@5.2.7_webpack@5.97.1__lodash@4.17.21_prettier@2.8.8_webpack@5.97.1/node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../node_modules/.pnpm/postcss-loader@4.3.0_postcss@8.5.2_webpack@5.97.1/node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-41.use[2]!../../../../../node_modules/.pnpm/fast-sass-loader@2.0.1_sass@1.25.0_webpack@5.97.1/node_modules/fast-sass-loader/lib/index.js??clonedRuleSet-41.use[3]!../../../../../node_modules/.pnpm/vue-loader@15.11.1_@babel+core@7.22.10_css-loader@5.2.7_webpack@5.97.1__lodash@4.17.21_prettier@2.8.8_webpack@5.97.1/node_modules/vue-loader/lib/index.js??vue-loader-options!./ExtraOptions.vue?vue&type=style&index=0&id=b80dd9d4&prod&lang=scss\";\n\nvar options = {};\n\noptions.insert = \"head\";\noptions.singleton = false;\n\nvar update = api(content, options);\n\n\n\nexport default content.locals || {};","import { render, staticRenderFns } from \"./ExtraOptions.vue?vue&type=template&id=b80dd9d4\"\nimport script from \"./ExtraOptions.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./ExtraOptions.vue?vue&type=script&setup=true&lang=ts\"\nimport style0 from \"./ExtraOptions.vue?vue&type=style&index=0&id=b80dd9d4&prod&lang=scss\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/.pnpm/vue-loader@15.11.1_@babel+core@7.22.10_css-loader@5.2.7_webpack@5.97.1__lodash@4.17.21_prettier@2.8.8_webpack@5.97.1/node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function render() {\n var _vm = this,\n _c = _vm._self._c,\n _setup = _vm._self._setupProxy\n return _c(\"div\", { staticClass: \"be-live-list\" }, [\n _c(\"div\", { staticClass: \"be-live-list-header\" }, [\n _c(\"div\", { staticClass: \"be-live-list-title\" }, [\n _vm._v(\"\\n 正在直播\\n \"),\n _c(\"div\", { staticClass: \"be-live-list-count\" }, [\n _vm._v(\"(\" + _vm._s(_setup.items.length) + \")\"),\n ]),\n ]),\n _vm._v(\" \"),\n _c(\"div\", { staticClass: \"be-live-list-actions\" }, [\n _setup.loaded\n ? _c(\n \"div\",\n {\n staticClass: \"be-live-list-refresh\",\n attrs: { title: \"刷新\" },\n on: { click: _setup.fetchLiveList },\n },\n [_c(_setup.VIcon, { attrs: { icon: \"mdi-refresh\", size: 16 } })],\n 1\n )\n : _vm._e(),\n _vm._v(\" \"),\n _c(\n \"a\",\n {\n staticClass: \"be-live-list-more\",\n attrs: {\n target: \"_blank\",\n href: \"https://link.bilibili.com/p/center/index#/user-center/follow/1\",\n },\n },\n [\n _vm._v(\"\\n 更多\\n \"),\n _c(_setup.VIcon, { attrs: { icon: \"right-arrow\", size: 14 } }),\n ],\n 1\n ),\n ]),\n ]),\n _vm._v(\" \"),\n _c(\n \"div\",\n { staticClass: \"be-live-list-search\" },\n [\n _c(_setup.VIcon, { attrs: { icon: \"search\", size: 18 } }),\n _vm._v(\" \"),\n _c(_setup.TextBox, {\n attrs: { placeholder: \"搜索\" },\n model: {\n value: _setup.keyword,\n callback: function ($$v) {\n _setup.keyword = $$v\n },\n expression: \"keyword\",\n },\n }),\n ],\n 1\n ),\n _vm._v(\" \"),\n _c(\n \"div\",\n { staticClass: \"be-live-list-content\" },\n [\n !_setup.loaded ? _c(_setup.VLoading) : _vm._e(),\n _vm._v(\" \"),\n _setup.loaded && _setup.filteredItems.length === 0\n ? _c(_setup.VEmpty)\n : _vm._e(),\n _vm._v(\" \"),\n _vm._l(_setup.filteredItems, function (item) {\n return _c(\n \"a\",\n {\n key: item.roomid,\n staticClass: \"be-live-list-item\",\n attrs: { target: \"_blank\", href: item.link },\n },\n [\n _c(\n \"div\",\n { staticClass: \"be-live-list-item-avatar\" },\n [\n _c(_setup.DpiImage, {\n attrs: { src: item.face, alt: item.title, size: 36 },\n }),\n ],\n 1\n ),\n _vm._v(\" \"),\n _c(\"div\", { staticClass: \"be-live-list-item-info\" }, [\n _c(\n \"div\",\n {\n staticClass: \"be-live-list-item-title\",\n attrs: { title: item.title },\n },\n [\n _vm._v(\n \"\\n \" +\n _vm._s(_setup.decodeTitle(item.title)) +\n \"\\n \"\n ),\n ]\n ),\n _vm._v(\" \"),\n _c(\n \"div\",\n {\n staticClass: \"be-live-list-item-user\",\n attrs: { title: item.uname },\n },\n [_vm._v(\"\\n \" + _vm._s(item.uname) + \"\\n \")]\n ),\n ]),\n ]\n )\n }),\n ],\n 2\n ),\n ])\n}\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns }","\n\n\n","import mod from \"-!../../../../../node_modules/.pnpm/babel-loader@9.2.1_@babel+core@7.22.10_webpack@5.97.1/node_modules/babel-loader/lib/index.js??clonedRuleSet-43.use[0]!../../../../../node_modules/.pnpm/vue-loader@15.11.1_@babel+core@7.22.10_css-loader@5.2.7_webpack@5.97.1__lodash@4.17.21_prettier@2.8.8_webpack@5.97.1/node_modules/vue-loader/lib/index.js??vue-loader-options!./LiveList.vue?vue&type=script&setup=true&lang=ts\"; export default mod; export * from \"-!../../../../../node_modules/.pnpm/babel-loader@9.2.1_@babel+core@7.22.10_webpack@5.97.1/node_modules/babel-loader/lib/index.js??clonedRuleSet-43.use[0]!../../../../../node_modules/.pnpm/vue-loader@15.11.1_@babel+core@7.22.10_css-loader@5.2.7_webpack@5.97.1__lodash@4.17.21_prettier@2.8.8_webpack@5.97.1/node_modules/vue-loader/lib/index.js??vue-loader-options!./LiveList.vue?vue&type=script&setup=true&lang=ts\"","import api from \"!../../../../../node_modules/.pnpm/style-loader@2.0.0_webpack@5.97.1/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js\";\n import content from \"!!../../../../../node_modules/.pnpm/css-loader@5.2.7_webpack@5.97.1/node_modules/css-loader/dist/cjs.js??clonedRuleSet-41.use[1]!../../../../../node_modules/.pnpm/vue-loader@15.11.1_@babel+core@7.22.10_css-loader@5.2.7_webpack@5.97.1__lodash@4.17.21_prettier@2.8.8_webpack@5.97.1/node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../node_modules/.pnpm/postcss-loader@4.3.0_postcss@8.5.2_webpack@5.97.1/node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-41.use[2]!../../../../../node_modules/.pnpm/fast-sass-loader@2.0.1_sass@1.25.0_webpack@5.97.1/node_modules/fast-sass-loader/lib/index.js??clonedRuleSet-41.use[3]!../../../../../node_modules/.pnpm/vue-loader@15.11.1_@babel+core@7.22.10_css-loader@5.2.7_webpack@5.97.1__lodash@4.17.21_prettier@2.8.8_webpack@5.97.1/node_modules/vue-loader/lib/index.js??vue-loader-options!./LiveList.vue?vue&type=style&index=0&id=367e10ba&prod&lang=scss\";\n\nvar options = {};\n\noptions.insert = \"head\";\noptions.singleton = false;\n\nvar update = api(content, options);\n\n\n\nexport default content.locals || {};","import { render, staticRenderFns } from \"./LiveList.vue?vue&type=template&id=367e10ba\"\nimport script from \"./LiveList.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./LiveList.vue?vue&type=script&setup=true&lang=ts\"\nimport style0 from \"./LiveList.vue?vue&type=style&index=0&id=367e10ba&prod&lang=scss\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/.pnpm/vue-loader@15.11.1_@babel+core@7.22.10_css-loader@5.2.7_webpack@5.97.1__lodash@4.17.21_prettier@2.8.8_webpack@5.97.1/node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","/* globals __VUE_SSR_CONTEXT__ */\n\n// IMPORTANT: Do NOT use ES2015 features in this file (except for modules).\n// This module is a runtime utility for cleaner component module output and will\n// be included in the final webpack user bundle.\n\nexport default function normalizeComponent(\n scriptExports,\n render,\n staticRenderFns,\n functionalTemplate,\n injectStyles,\n scopeId,\n moduleIdentifier /* server only */,\n shadowMode /* vue-cli only */\n) {\n // Vue.extend constructor export interop\n var options =\n typeof scriptExports === 'function' ? scriptExports.options : scriptExports\n\n // render functions\n if (render) {\n options.render = render\n options.staticRenderFns = staticRenderFns\n options._compiled = true\n }\n\n // functional template\n if (functionalTemplate) {\n options.functional = true\n }\n\n // scopedId\n if (scopeId) {\n options._scopeId = 'data-v-' + scopeId\n }\n\n var hook\n if (moduleIdentifier) {\n // server build\n hook = function (context) {\n // 2.3 injection\n context =\n context || // cached call\n (this.$vnode && this.$vnode.ssrContext) || // stateful\n (this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext) // functional\n // 2.2 with runInNewContext: true\n if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') {\n context = __VUE_SSR_CONTEXT__\n }\n // inject component styles\n if (injectStyles) {\n injectStyles.call(this, context)\n }\n // register component module identifier for async chunk inferrence\n if (context && context._registeredComponents) {\n context._registeredComponents.add(moduleIdentifier)\n }\n }\n // used by ssr in case component is cached and beforeCreate\n // never gets called\n options._ssrRegister = hook\n } else if (injectStyles) {\n hook = shadowMode\n ? function () {\n injectStyles.call(\n this,\n (options.functional ? this.parent : this).$root.$options.shadowRoot\n )\n }\n : injectStyles\n }\n\n if (hook) {\n if (options.functional) {\n // for template-only hot-reload because in that case the render fn doesn't\n // go through the normalizer\n options._injectStyles = hook\n // register for functional component in vue file\n var originalRender = options.render\n options.render = function renderWithStyleInjection(h, context) {\n hook.call(context)\n return originalRender(h, context)\n }\n } else {\n // inject component registration as beforeCreate hook\n var existing = options.beforeCreate\n options.beforeCreate = existing ? [].concat(existing, hook) : [hook]\n }\n }\n\n return {\n exports: scriptExports,\n options: options\n }\n}\n","function webpackEmptyContext(req) {\n\tvar e = new Error(\"Cannot find module '\" + req + \"'\");\n\te.code = 'MODULE_NOT_FOUND';\n\tthrow e;\n}\nwebpackEmptyContext.keys = () => ([]);\nwebpackEmptyContext.resolve = webpackEmptyContext;\nwebpackEmptyContext.id = 969;\nmodule.exports = webpackEmptyContext;","module.exports = globalThis[\"Vue\"];","module.exports = coreApis.ajax;","module.exports = coreApis.componentApis.define;","module.exports = coreApis.settings;","module.exports = coreApis.ui;","module.exports = coreApis.utils;","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\tid: moduleId,\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId](module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = (module) => {\n\tvar getter = module && module.__esModule ?\n\t\t() => (module['default']) :\n\t\t() => (module);\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","// define __esModule on exports\n__webpack_require__.r = (exports) => {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","__webpack_require__.nc = undefined;","const __WEBPACK_NAMESPACE_OBJECT__ = coreApis.componentApis.styledComponent;","const __WEBPACK_NAMESPACE_OBJECT__ = coreApis.spinQuery;","const __WEBPACK_NAMESPACE_OBJECT__ = coreApis.utils.log;","import { defineComponentMetadata } from '@/components/define'\nimport { styledComponentEntry } from '@/components/styled-component'\nimport { select } from '@/core/spin-query'\nimport { mountVueComponent } from '@/core/utils'\nimport { useScopedConsole } from '@/core/utils/log'\nimport { options } from './options'\n\nconst entry = async () => {\n const console = useScopedConsole('extendFeedsLive')\n const aside = (await select('.bili-dyn-home--member aside.left')) as HTMLElement\n if (!aside) {\n console.error('aside not found')\n }\n let container: HTMLElement\n const isStickySection = (node: Node) => {\n if (node.nodeType === Node.COMMENT_NODE) {\n return false\n }\n if (\n node instanceof HTMLElement &&\n node.tagName.toLowerCase() === 'section' &&\n node.classList.contains('sticky')\n ) {\n return true\n }\n return false\n }\n if (!isStickySection(aside.childNodes[aside.childNodes.length - 1])) {\n const stickySection = document.createElement('section')\n stickySection.classList.add('sticky')\n aside.appendChild(stickySection)\n container = stickySection\n } else {\n container = (await select(() => dq(aside, 'section.sticky'))) as HTMLElement\n }\n if (!container) {\n console.error('container not found')\n }\n const LiveList = await import('./LiveList.vue').then(m => m.default)\n const liveList = mountVueComponent(LiveList)\n container.appendChild(liveList.$el)\n}\n\nexport const component = defineComponentMetadata({\n name: 'extendFeedsLive',\n displayName: '直播信息扩充',\n entry: styledComponentEntry(() => import('./extend-feeds-live.scss'), entry),\n tags: [componentsTags.feeds, componentsTags.live],\n urlInclude: [/^https:\\/\\/t\\.bilibili\\.com\\/$/],\n extraOptions: () => import('./ExtraOptions.vue').then(m => m.default),\n options,\n})\n"],"names":["root","factory","exports","module","define","amd","globalThis","leafPrototypes","getProto","UnselectedListID","options","defineOptionsMetadata","pinnedListID","defaultValue","displayName","hidden","hiddenListID","___CSS_LOADER_API_SOURCEMAP_IMPORT___","___CSS_LOADER_EXPORT___","___CSS_LOADER_API_IMPORT___","push","id","cssWithMappingToString","list","toString","this","map","item","content","concat","join","i","modules","mediaQuery","dedupe","alreadyImportedModules","length","_i","_slicedToArray","arr","Array","isArray","_arrayWithHoles","Symbol","iterator","_s","_e","_arr","_n","_d","call","next","done","value","err","_iterableToArrayLimit","o","minLen","_arrayLikeToArray","n","Object","prototype","slice","constructor","name","from","test","_unsupportedIterableToArray","TypeError","_nonIterableRest","len","arr2","_item","cssMapping","btoa","base64","unescape","encodeURIComponent","JSON","stringify","data","sourceMapping","sourceURLs","sources","source","sourceRoot","memo","isOldIE","Boolean","window","document","all","atob","getTarget","target","styleTarget","querySelector","HTMLIFrameElement","contentDocument","head","e","stylesInDom","getIndexByIdentifier","identifier","result","modulesToDom","idCountMap","identifiers","base","count","index","obj","css","media","sourceMap","references","updater","addStyle","insertStyleElement","style","createElement","attributes","nonce","keys","forEach","key","setAttribute","insert","Error","appendChild","textStore","replaceText","replacement","filter","applyToSingletonTag","remove","styleSheet","cssText","cssNode","createTextNode","childNodes","removeChild","insertBefore","applyToTag","removeAttribute","firstChild","singleton","singletonCounter","update","styleIndex","bind","parentNode","removeStyleElement","newObj","lastIdentifiers","newList","newLastIdentifiers","_index","splice","__esModule","default","render","_vm","_c","_self","_setup","_setupProxy","staticClass","_v","FollowingListSelect","attrs","on","change","handlePinnedListChange","handleHiddenListChange","_withStripped","VDropdown","items","followingList","selectedItem","handleFollowingListChange","scopedSlots","_u","fn","followingListID","computed","props","unselectedListItem","reactive","ref","find","loadFollowingList","async","bilibiliApi","getJsonWithCredentials","tagid","some","unshift","emit","getComponentSettings","loaded","title","click","fetchLiveList","VIcon","icon","size","href","TextBox","placeholder","model","keyword","callback","$$v","expression","VLoading","filteredItems","VEmpty","_l","roomid","link","DpiImage","src","face","alt","decodeTitle","uname","pinnedUsers","hiddenUsers","it","matchField","field","toLowerCase","includes","fetchRecommendLiveInfos","portalList","live_users","jump_url","room_id","mid","cover","pic","online","uid","mergeRecommendLiveInfos","liveInfos","recommendLiveInfos","recommendRoomIds","feedConcatItems","lodash","sortByUsers","users","descending","arguments","undefined","a","b","aPinnedIndex","findIndex","bPinnedIndex","fetchFollowingLists","fetchFollowingList","getPages","api","page","getUID","getList","json","get","getTotal","Promise","then","catch","promise","responsiveGetPages","cover_from_user","allItems","recommendItems","sortedItems","sort","user","initializeLiveList","addComponentListener","onMounted","onBeforeUnmount","removeComponentListener","textArea","innerHTML","normalizeComponent","scriptExports","staticRenderFns","functionalTemplate","injectStyles","scopeId","moduleIdentifier","shadowMode","hook","_compiled","functional","_scopeId","context","$vnode","ssrContext","parent","__VUE_SSR_CONTEXT__","_registeredComponents","add","_ssrRegister","$root","$options","shadowRoot","_injectStyles","originalRender","h","existing","beforeCreate","webpackEmptyContext","req","code","resolve","coreApis","ajax","componentApis","settings","ui","utils","__webpack_module_cache__","__webpack_require__","moduleId","cachedModule","__webpack_modules__","getter","d","getPrototypeOf","t","mode","ns","create","r","def","current","indexOf","getOwnPropertyNames","definition","defineProperty","enumerable","prop","hasOwnProperty","toStringTag","nc","styledComponent","spinQuery","log","component","defineComponentMetadata","entry","styledComponentEntry","console","useScopedConsole","aside","select","container","error","node","nodeType","Node","COMMENT_NODE","HTMLElement","tagName","classList","contains","dq","stickySection","LiveList","m","liveList","mountVueComponent","$el","tags","componentsTags","feeds","live","urlInclude","extraOptions","commitHash","coreVersion","description","require","fromEntries","path","match","zh-CN"],"sourceRoot":""} \ No newline at end of file diff --git a/bb-evolved/registry/dist/components/feeds/filter.js b/bb-evolved/registry/dist/components/feeds/filter.js index 2b048f5f68..a3799516b6 100644 --- a/bb-evolved/registry/dist/components/feeds/filter.js +++ b/bb-evolved/registry/dist/components/feeds/filter.js @@ -11,5 +11,5 @@ var d=this[s][0];null!=d&&(l[d]=!0)}for(var r=0;r{"use strict";var i,l=function(){return void 0===i&&( // @see http://browserhacks.com/#hack-e71d8692f65334173fee715c222cb805 // @see https://github.com/webpack-contrib/style-loader/issues/177 -i=Boolean(window&&document&&document.all&&!window.atob)),i},s=function(){var e={};return function(t){if(void 0===e[t]){var n=document.querySelector(t);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}e[t]=n}return e[t]}}(),d=[];function r(e){for(var t=-1,n=0;n{"use strict";n.r(t),n.d(t,{default:()=>h});var i=function(){var e=this,t=e._self._c,n=e._self._setupProxy;return t("div",{staticClass:"feeds-filter",class:{collapse:n.collapse}},[t("div",{staticClass:"feeds-filter-header",on:{click:function(e){n.collapse=!n.collapse}}},[t("h1",[e._v("动态过滤")]),e._v(" "),t(n.VIcon,{attrs:{icon:"mdi-chevron-up"}})],1),e._v(" "),t("h2",[e._v("类型")]),e._v(" "),t("div",{staticClass:"filter-types"},e._l(n.allTypes,(function([e,i]){return t(n.FilterTypeSwitch,{key:i.id,attrs:{name:e,type:i}})})),1),e._v(" "),t("h2",[e._v("关键词")]),e._v(" "),t("div",{staticClass:"filter-patterns"},e._l(n.patterns,(function(i){return t("div",{key:i.key,staticClass:"pattern",class:{"pattern-disabled":!i.enabled}},[t(n.TextBox,{attrs:{placeholder:"支持正则表达式 /^xxx$/",type:"text"},on:{blur:function(e){return n.savePatternConfig()},keydown:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:n.savePatternConfig()}},model:{value:i.pattern,callback:function(t){e.$set(i,"pattern",t)},expression:"p.pattern"}}),e._v(" "),t("div",{staticClass:"pattern-actions"},[t(n.VIcon,{attrs:{title:i.enabled?"已启用":"已禁用",icon:i.enabled?"mdi-check":"mdi-cancel",size:16},nativeOn:{click:function(e){return n.togglePattern(i)}}}),e._v(" "),t(n.VIcon,{attrs:{title:"删除",icon:"mdi-trash-can-outline",size:16},nativeOn:{click:function(e){return n.deletePattern(i)}}})],1)],1)})),0),e._v(" "),t("div",{staticClass:"add-pattern"},[t(n.TextBox,{attrs:{placeholder:"支持正则表达式 /^xxx$/",type:"text"},on:{keydown:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:n.addPattern(n.newPattern)}},model:{value:n.newPattern,callback:function(e){n.newPattern=e},expression:"newPattern"}}),e._v(" "),t(n.VButton,{attrs:{type:"transparent"},nativeOn:{click:function(e){return n.addPattern(n.newPattern)}}},[t(n.VIcon,{attrs:{title:"添加",icon:"mdi-plus",size:18}})],1)],1),e._v(" "),t("h2",[e._v("板块")]),e._v(" "),t("div",{staticClass:"filter-side-card"},e._l(Object.entries(n.allSideCards),(function([e,i]){return t(n.FilterSideCard,{key:e,attrs:{id:parseInt(e),name:i.displayName,"block-side-cards":n.blockSideCards},on:{click:function(t){n.toggleBlockSide(parseInt(e))}}})})),1)])};i._withStripped=!0;var l=n(259),s=n(649),d=n(905),r=n(728),a=n(847);const o=coreApis.observer;var f=n(164),b=n(331);const c=(0,l.defineComponent)({__name:"FeedsFilterCard",setup(e){const t=(0,l.defineAsyncComponent)((()=>Promise.resolve().then(n.bind(n,689)))),i=(0,l.defineAsyncComponent)((()=>Promise.resolve().then(n.bind(n,996)))),{options:c}=(0,d.getComponentSettings)("feedsFilter"),p=()=>{Array.isArray(c.patterns)&&c.patterns.every((e=>"string"==typeof e))&&(c.patterns=c.patterns.map((e=>({pattern:e,enabled:!0,key:(0,a.getRandomId)()}))))};p();const A={0:{className:"profile",displayName:"个人资料"},2:{className:"notice",displayName:"公告栏"},3:{className:"live",displayName:"正在直播"},5:{className:"most-viewed",displayName:"关注栏"},6:{className:"compose",displayName:"发布动态"},7:{className:"search-trendings",displayName:"热搜"}};(0,d.getComponentSettings)("extendFeedsLive").enabled&&delete A[3];const y=(0,l.ref)(null),m="feeds-filter-side-block-",u=(0,l.ref)([]),C=(0,l.reactive)(lodash.cloneDeep(c.patterns)),h=(0,l.ref)([]),g=(0,l.ref)(""),B=(0,l.reactive)(A),E=(0,l.reactive)([...c.sideCards]),v=(0,l.ref)(!0),x=()=>{h.value=lodash.uniqBy(C,(e=>e.pattern)).filter((e=>""!==e.pattern.trim()&&e.enabled))},k=async e=>{const t={text:e.text,username:e.username};e.type===s.feedsCardTypes.repost&&(t.text+=`\n${e.repostText}`);h.value.some((e=>(0,b.h)(e.pattern,t)))?e.element.classList.add("pattern-block"):e.element.classList.remove("pattern-block")},w=async()=>{null!==y.value&&(x(),y.value.cards.forEach((e=>k(e)))),setTimeout((()=>{c.patterns=lodash.cloneDeep(C)}),100)},_=()=>{Object.entries(A).forEach((e=>{let[t,n]=e;const i=m+n.className;E.includes(parseInt(t))?document.body.classList.add(i):document.body.classList.remove(i)}))};return(0,l.onMounted)((async()=>{_();const e=await(0,r.select)(".feed-card .tab-bar, .bili-dyn-list-tabs__list");if(!e)return void console.error("tabBar not found");document.body.classList.add("enable-feeds-filter");if(u.value=Object.entries(s.feedsCardTypes).concat(Object.entries({"self-repost":{id:-1,name:"自转发"}})).filter((e=>{let[,t]=e;return t.id<=2048&&0!==t.id})).map((e=>{let[t,n]=e;return[t,lodash.clone(n)]})),x(),y.value=await(0,s.forEachFeedsCard)({added:e=>{k(e)}}),"v1"===y.value.managerType){const t=e.querySelector(".tab:nth-child(1) .tab-text");(0,o.attributes)(t,(()=>{document.body.classList.toggle("by-type",!t.classList.contains("selected"))}))}if("v2"===y.value.managerType){const e=await(0,r.select)(".bili-dyn-home--member main"),t=()=>Boolean(dq(".bili-dyn-list-tabs__item:first-child.active")),n=()=>Boolean(dq(".bili-dyn-up-list__item:first-child.active"));(0,o.attributesSubtree)(e,(()=>{document.body.classList.toggle("by-type",n()&&!t())}))}})),{__sfc:!0,FilterTypeSwitch:t,FilterSideCard:i,options:c,migratePatternConfig:p,sideCards:A,cardsManager:y,sideBlock:m,allTypes:u,patterns:C,validPatterns:h,newPattern:g,allSideCards:B,blockSideCards:E,collapse:v,updateValidPatterns:x,updateCard:k,savePatternConfig:w,deletePattern:e=>{const t=C.findIndex((t=>t.key===e.key));-1!==t&&C.splice(t,1),w()},addPattern:e=>{""!==e.trim()&&(C.push({pattern:e.trim(),enabled:!0,key:(0,a.getRandomId)()}),w(),g.value="")},togglePattern:e=>{e.enabled=!e.enabled,w()},updateBlockSide:_,toggleBlockSide:e=>{const t=E.indexOf(e),n=A[e];-1!==t?(E.splice(t,1),document.body.classList.remove(m+n.className)):(E.push(e),document.body.classList.add(m+n.className)),c.sideCards=E},VIcon:f.VIcon,TextBox:f.TextBox,VButton:f.VButton}}}),p=c;var A=n(991),y=n.n(A),m=n(601),u=n.n(m),C={insert:"head",singleton:!1};y()(u(),C);u().locals;const h=(0,n(678).A)(p,i,[],!1,null,null,null).exports},996:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});var i=function(){var e=this,t=e._self._c,n=e._self._setupProxy;return t("div",e._g({staticClass:"filter-side-card-switch feeds-filter-switch"},e.$listeners),[t("label",{class:{disabled:n.disabled}},[t("span",{staticClass:"name",class:{disabled:n.disabled}},[e._v(e._s(e.name))]),e._v(" "),t(n.VIcon,{staticClass:"disabled",attrs:{size:16,icon:"mdi-cancel"}}),e._v(" "),t(n.VIcon,{attrs:{size:16,icon:"mdi-check"}})],1)])};i._withStripped=!0;var l=n(259),s=n(164);const d=(0,l.defineComponent)({__name:"FilterSideCard",props:{blockSideCards:null,id:null,name:null},setup(e){const t=e,n=(0,l.computed)((()=>t.blockSideCards.includes(t.id)));return{__sfc:!0,props:t,disabled:n,VIcon:s.VIcon}}});const r=(0,n(678).A)(d,i,[],!1,null,null,null).exports},689:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>A});var i=function(){var e=this,t=e._self._c,n=e._self._setupProxy;return t("div",{staticClass:"filter-type-switch feeds-filter-switch"},[t("label",{class:{disabled:n.disabled}},[t("span",{staticClass:"name",class:{disabled:n.disabled}},[e._v(e._s(e.type.name))]),e._v(" "),t("input",{directives:[{name:"model",rawName:"v-model",value:n.disabled,expression:"disabled"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(n.disabled)?e._i(n.disabled,null)>-1:n.disabled},on:{change:function(t){var i=n.disabled,l=t.target,s=!!l.checked;if(Array.isArray(i)){var d=e._i(i,null);l.checked?d<0&&(n.disabled=i.concat([null])):d>-1&&(n.disabled=i.slice(0,d).concat(i.slice(d+1)))}else n.disabled=s}}}),e._v(" "),n.disabled?t(n.VIcon,{staticClass:"disabled",attrs:{size:16,icon:"mdi-cancel"}}):t(n.VIcon,{attrs:{size:16,icon:"mdi-check"}})],1)])};i._withStripped=!0;var l=n(259),s=n(905),d=n(164);const r=(0,l.defineComponent)({__name:"FilterTypeSwitch",props:{name:null,type:null},setup(e){const t=e,{options:n}=(0,s.getComponentSettings)("feedsFilter"),i=(0,l.computed)((()=>t.type.id>=0?"types":"specialTypes")),r=(0,l.ref)(n[i.value].includes(t.type.id)),a=function(e){let l=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];if(e?document.body.classList.add(`feeds-filter-block-${t.name}`):document.body.classList.remove(`feeds-filter-block-${t.name}`),!l)return;const s=i.value;if(e)n[s].push(t.type.id);else{const e=n[s].indexOf(t.type.id);-1!==e&&n[s].splice(e,1)}};return(0,l.watch)(r,(e=>{a(e)})),(0,l.onMounted)((()=>{a(r.value,!1)})),{__sfc:!0,props:t,options:n,optionKey:i,disabled:r,setFilter:a,VIcon:d.VIcon}}}),a=r;var o=n(991),f=n.n(o),b=n(406),c=n.n(b),p={insert:"head",singleton:!1};f()(c(),p);c().locals;const A=(0,n(678).A)(a,i,[],!1,null,null,null).exports},678:(e,t,n)=>{"use strict";function i(e,t,n,i,l,s,d,r){var a,o="function"==typeof e?e.options:e;if(t&&(o.render=t,o.staticRenderFns=n,o._compiled=!0),i&&(o.functional=!0),s&&(o._scopeId="data-v-"+s),d?(a=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),l&&l.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(d)},o._ssrRegister=a):l&&(a=r?function(){l.call(this,(o.functional?this.parent:this).$root.$options.shadowRoot)}:l),a)if(o.functional){o._injectStyles=a;var f=o.render;o.render=function(e,t){return a.call(t),f(e,t)}}else{var b=o.beforeCreate;o.beforeCreate=b?[].concat(b,a):[a]}return{exports:e,options:o}}n.d(t,{A:()=>i})},64:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=64,e.exports=t},947:e=>{"use strict";e.exports="按照类型或者关键词过滤动态首页的内容, 也可以移除动态页的一些侧边卡片. 详细设置请前往[动态首页](https://t.bilibili.com/)查看.\n\n> 侧边卡片的 `正在直播` 指原版的板块, 如果你使用了 `直播信息扩充`, 则需要关闭该功能才能生效.\n"},259:e=>{"use strict";e.exports=globalThis.Vue},649:e=>{"use strict";e.exports=coreApis.componentApis.feeds.api},905:e=>{"use strict";e.exports=coreApis.settings},728:e=>{"use strict";e.exports=coreApis.spinQuery},164:e=>{"use strict";e.exports=coreApis.ui},847:e=>{"use strict";e.exports=coreApis.utils}},i={};function l(e){var t=i[e];if(void 0!==t)return t.exports;var s=i[e]={id:e,exports:{}};return n[e](s,s.exports,l),s.exports}l.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return l.d(t,{a:t}),t},t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,l.t=function(n,i){if(1&i&&(n=this(n)),8&i)return n;if("object"==typeof n&&n){if(4&i&&n.__esModule)return n;if(16&i&&"function"==typeof n.then)return n}var s=Object.create(null);l.r(s);var d={};e=e||[null,t({}),t([]),t(t)];for(var r=2&i&&n;"object"==typeof r&&!~e.indexOf(r);r=t(r))Object.getOwnPropertyNames(r).forEach((e=>d[e]=()=>n[e]));return d.default=()=>n,l.d(s,d),s},l.d=(e,t)=>{for(var n in t)l.o(t,n)&&!l.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},l.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),l.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},l.nc=void 0;var s={};return(()=>{"use strict";l.d(s,{component:()=>o});const e=coreApis.componentApis.define;var t=l(649),n=l(905),i=l(331);const d=[{username:"title",text:"epTitle"},{username:"upName",text:["title","dynamic"]},{username:["username","repostUsername"],text:["text","repostText"]}],r={name:"feeds.contentFilters.patterns",displayName:"动态关键词过滤",setup:e=>{let{addData:t}=e;t("feeds.contentFilters",(e=>{e.push({filter:e=>{const{patterns:t}=(0,n.getComponentSettings)("feedsFilter").options;return e.filter((e=>{const n=d.find((t=>Object.values(t).every((t=>Array.isArray(t)?t.some((t=>t in e)):t in e)))),l=Object.fromEntries(Object.entries(n).map((t=>{let[n,i]=t;return Array.isArray(i)?[n,i.map((t=>e[t]??"")).join("\n").trim()]:[n,e[i].trim()]})));return t.every((e=>!(0,i.h)("string"==typeof e?e:e.pattern,l)))}))}})}))}},a=(0,e.defineOptionsMetadata)({types:{defaultValue:[],displayName:"过滤动态类型",hidden:!0},patterns:{defaultValue:[],displayName:"过滤关键词",hidden:!0},sideCards:{defaultValue:[],displayName:"过滤侧边栏",hidden:!0},specialTypes:{defaultValue:[],displayName:"过滤特殊动态类型",hidden:!0}}),o=(0,e.defineComponentMetadata)({name:"feedsFilter",displayName:"动态过滤器",entry:async()=>{const{select:e}=await Promise.resolve().then(l.t.bind(l,728,23));let n;if("v2"===t.feedsCardsManager.managerType){const t=await e(".bili-dyn-home--member aside.left"),i=document.createElement("section");i.classList.add("feeds-filter-section"),t.insertAdjacentElement("afterbegin",i),n=i}else n=await e(".home-container .left-panel");if(null===n)return;const i=await Promise.resolve().then(l.bind(l,950)),{mountVueComponent:s}=await Promise.resolve().then(l.t.bind(l,847,23));n.insertAdjacentElement("afterbegin",s(i).$el)},tags:[componentsTags.feeds],options:a,reload:()=>document.body.classList.remove("disable-feeds-filter"),unload:()=>document.body.classList.add("disable-feeds-filter"),urlInclude:[/^https:\/\/t\.bilibili\.com\/$/],plugin:r,commitHash:"58c0b438ca2371e397f70466a91572cb2757b142",coreVersion:"2.10.7",description:(()=>{const e=l(64);return{...Object.fromEntries(e.keys().map((t=>[t.match(/index\.(.+)\.md$/)[1],e(t)]))),"zh-CN":()=>Promise.resolve().then(l.t.bind(l,947,17)).then((e=>e.default))}})()})})(),s=s.component})())); +i=Boolean(window&&document&&document.all&&!window.atob)),i},s=function(){var e={};return function(t){if(void 0===e[t]){var n=document.querySelector(t);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}e[t]=n}return e[t]}}(),d=[];function r(e){for(var t=-1,n=0;n{"use strict";n.r(t),n.d(t,{default:()=>h});var i=function(){var e=this,t=e._self._c,n=e._self._setupProxy;return t("div",{staticClass:"feeds-filter",class:{collapse:n.collapse}},[t("div",{staticClass:"feeds-filter-header",on:{click:function(e){n.collapse=!n.collapse}}},[t("h1",[e._v("动态过滤")]),e._v(" "),t(n.VIcon,{attrs:{icon:"mdi-chevron-up"}})],1),e._v(" "),t("h2",[e._v("类型")]),e._v(" "),t("div",{staticClass:"filter-types"},e._l(n.allTypes,(function([e,i]){return t(n.FilterTypeSwitch,{key:i.id,attrs:{name:e,type:i}})})),1),e._v(" "),t("h2",[e._v("关键词")]),e._v(" "),t("div",{staticClass:"filter-patterns"},e._l(n.patterns,(function(i){return t("div",{key:i.key,staticClass:"pattern",class:{"pattern-disabled":!i.enabled}},[t(n.TextBox,{attrs:{placeholder:"支持正则表达式 /^xxx$/",type:"text"},on:{blur:function(e){return n.savePatternConfig()},keydown:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:n.savePatternConfig()}},model:{value:i.pattern,callback:function(t){e.$set(i,"pattern",t)},expression:"p.pattern"}}),e._v(" "),t("div",{staticClass:"pattern-actions"},[t(n.VIcon,{attrs:{title:i.enabled?"已启用":"已禁用",icon:i.enabled?"mdi-check":"mdi-cancel",size:16},nativeOn:{click:function(e){return n.togglePattern(i)}}}),e._v(" "),t(n.VIcon,{attrs:{title:"删除",icon:"mdi-trash-can-outline",size:16},nativeOn:{click:function(e){return n.deletePattern(i)}}})],1)],1)})),0),e._v(" "),t("div",{staticClass:"add-pattern"},[t(n.TextBox,{attrs:{placeholder:"支持正则表达式 /^xxx$/",type:"text"},on:{keydown:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:n.addPattern(n.newPattern)}},model:{value:n.newPattern,callback:function(e){n.newPattern=e},expression:"newPattern"}}),e._v(" "),t(n.VButton,{attrs:{type:"transparent"},nativeOn:{click:function(e){return n.addPattern(n.newPattern)}}},[t(n.VIcon,{attrs:{title:"添加",icon:"mdi-plus",size:18}})],1)],1),e._v(" "),t("h2",[e._v("板块")]),e._v(" "),t("div",{staticClass:"filter-side-card"},e._l(Object.entries(n.allSideCards),(function([e,i]){return t(n.FilterSideCard,{key:e,attrs:{id:parseInt(e),name:i.displayName,"block-side-cards":n.blockSideCards},on:{click:function(t){n.toggleBlockSide(parseInt(e))}}})})),1)])};i._withStripped=!0;var l=n(259),s=n(649),d=n(905),r=n(728),a=n(847);const o=coreApis.observer;var f=n(164),b=n(331);const c=(0,l.defineComponent)({__name:"FeedsFilterCard",setup(e){const t=(0,l.defineAsyncComponent)((()=>Promise.resolve().then(n.bind(n,689)))),i=(0,l.defineAsyncComponent)((()=>Promise.resolve().then(n.bind(n,996)))),{options:c}=(0,d.getComponentSettings)("feedsFilter"),p=()=>{Array.isArray(c.patterns)&&c.patterns.every((e=>"string"==typeof e))&&(c.patterns=c.patterns.map((e=>({pattern:e,enabled:!0,key:(0,a.getRandomId)()}))))};p();const A={0:{className:"profile",displayName:"个人资料"},2:{className:"notice",displayName:"公告栏"},3:{className:"live",displayName:"正在直播"},5:{className:"most-viewed",displayName:"关注栏"},6:{className:"compose",displayName:"发布动态"},7:{className:"search-trendings",displayName:"热搜"}};(0,d.getComponentSettings)("extendFeedsLive").enabled&&delete A[3];const y=(0,l.ref)(null),m="feeds-filter-side-block-",u=(0,l.ref)([]),C=(0,l.reactive)(lodash.cloneDeep(c.patterns)),h=(0,l.ref)([]),g=(0,l.ref)(""),B=(0,l.reactive)(A),E=(0,l.reactive)([...c.sideCards]),v=(0,l.ref)(!0),x=()=>{h.value=lodash.uniqBy(C,(e=>e.pattern)).filter((e=>""!==e.pattern.trim()&&e.enabled))},k=async e=>{const t={text:e.text,username:e.username};e.type===s.feedsCardTypes.repost&&(t.text+=`\n${e.repostText}`);h.value.some((e=>(0,b.h)(e.pattern,t)))?e.element.classList.add("pattern-block"):e.element.classList.remove("pattern-block")},w=async()=>{null!==y.value&&(x(),y.value.cards.forEach((e=>k(e)))),setTimeout((()=>{c.patterns=lodash.cloneDeep(C)}),100)},_=()=>{Object.entries(A).forEach((e=>{let[t,n]=e;const i=m+n.className;E.includes(parseInt(t))?document.body.classList.add(i):document.body.classList.remove(i)}))};return(0,l.onMounted)((async()=>{_();const e=await(0,r.select)(".feed-card .tab-bar, .bili-dyn-list-tabs__list");if(!e)return void console.error("tabBar not found");document.body.classList.add("enable-feeds-filter");if(u.value=Object.entries(s.feedsCardTypes).concat(Object.entries({"self-repost":{id:-1,name:"自转发"}})).filter((e=>{let[,t]=e;return t.id<=2048&&0!==t.id})).map((e=>{let[t,n]=e;return[t,lodash.clone(n)]})),x(),y.value=await(0,s.forEachFeedsCard)({added:e=>{k(e)}}),"v1"===y.value.managerType){const t=e.querySelector(".tab:nth-child(1) .tab-text");(0,o.attributes)(t,(()=>{document.body.classList.toggle("by-type",!t.classList.contains("selected"))}))}if("v2"===y.value.managerType){const e=await(0,r.select)(".bili-dyn-home--member main"),t=()=>Boolean(dq(".bili-dyn-list-tabs__item:first-child.active")),n=()=>Boolean(dq(".bili-dyn-up-list__item:first-child.active"));(0,o.attributesSubtree)(e,(()=>{document.body.classList.toggle("by-type",n()&&!t())}))}})),{__sfc:!0,FilterTypeSwitch:t,FilterSideCard:i,options:c,migratePatternConfig:p,sideCards:A,cardsManager:y,sideBlock:m,allTypes:u,patterns:C,validPatterns:h,newPattern:g,allSideCards:B,blockSideCards:E,collapse:v,updateValidPatterns:x,updateCard:k,savePatternConfig:w,deletePattern:e=>{const t=C.findIndex((t=>t.key===e.key));-1!==t&&C.splice(t,1),w()},addPattern:e=>{""!==e.trim()&&(C.push({pattern:e.trim(),enabled:!0,key:(0,a.getRandomId)()}),w(),g.value="")},togglePattern:e=>{e.enabled=!e.enabled,w()},updateBlockSide:_,toggleBlockSide:e=>{const t=E.indexOf(e),n=A[e];-1!==t?(E.splice(t,1),document.body.classList.remove(m+n.className)):(E.push(e),document.body.classList.add(m+n.className)),c.sideCards=E},VIcon:f.VIcon,TextBox:f.TextBox,VButton:f.VButton}}}),p=c;var A=n(991),y=n.n(A),m=n(601),u=n.n(m),C={insert:"head",singleton:!1};y()(u(),C);u().locals;const h=(0,n(678).A)(p,i,[],!1,null,null,null).exports},996:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});var i=function(){var e=this,t=e._self._c,n=e._self._setupProxy;return t("div",e._g({staticClass:"filter-side-card-switch feeds-filter-switch"},e.$listeners),[t("label",{class:{disabled:n.disabled}},[t("span",{staticClass:"name",class:{disabled:n.disabled}},[e._v(e._s(e.name))]),e._v(" "),t(n.VIcon,{staticClass:"disabled",attrs:{size:16,icon:"mdi-cancel"}}),e._v(" "),t(n.VIcon,{attrs:{size:16,icon:"mdi-check"}})],1)])};i._withStripped=!0;var l=n(259),s=n(164);const d=(0,l.defineComponent)({__name:"FilterSideCard",props:{blockSideCards:null,id:null,name:null},setup(e){const t=e,n=(0,l.computed)((()=>t.blockSideCards.includes(t.id)));return{__sfc:!0,props:t,disabled:n,VIcon:s.VIcon}}});const r=(0,n(678).A)(d,i,[],!1,null,null,null).exports},689:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>A});var i=function(){var e=this,t=e._self._c,n=e._self._setupProxy;return t("div",{staticClass:"filter-type-switch feeds-filter-switch"},[t("label",{class:{disabled:n.disabled}},[t("span",{staticClass:"name",class:{disabled:n.disabled}},[e._v(e._s(e.type.name))]),e._v(" "),t("input",{directives:[{name:"model",rawName:"v-model",value:n.disabled,expression:"disabled"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(n.disabled)?e._i(n.disabled,null)>-1:n.disabled},on:{change:function(t){var i=n.disabled,l=t.target,s=!!l.checked;if(Array.isArray(i)){var d=e._i(i,null);l.checked?d<0&&(n.disabled=i.concat([null])):d>-1&&(n.disabled=i.slice(0,d).concat(i.slice(d+1)))}else n.disabled=s}}}),e._v(" "),n.disabled?t(n.VIcon,{staticClass:"disabled",attrs:{size:16,icon:"mdi-cancel"}}):t(n.VIcon,{attrs:{size:16,icon:"mdi-check"}})],1)])};i._withStripped=!0;var l=n(259),s=n(905),d=n(164);const r=(0,l.defineComponent)({__name:"FilterTypeSwitch",props:{name:null,type:null},setup(e){const t=e,{options:n}=(0,s.getComponentSettings)("feedsFilter"),i=(0,l.computed)((()=>t.type.id>=0?"types":"specialTypes")),r=(0,l.ref)(n[i.value].includes(t.type.id)),a=function(e){let l=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];if(e?document.body.classList.add(`feeds-filter-block-${t.name}`):document.body.classList.remove(`feeds-filter-block-${t.name}`),!l)return;const s=i.value;if(e)n[s].push(t.type.id);else{const e=n[s].indexOf(t.type.id);-1!==e&&n[s].splice(e,1)}};return(0,l.watch)(r,(e=>{a(e)})),(0,l.onMounted)((()=>{a(r.value,!1)})),{__sfc:!0,props:t,options:n,optionKey:i,disabled:r,setFilter:a,VIcon:d.VIcon}}}),a=r;var o=n(991),f=n.n(o),b=n(406),c=n.n(b),p={insert:"head",singleton:!1};f()(c(),p);c().locals;const A=(0,n(678).A)(a,i,[],!1,null,null,null).exports},678:(e,t,n)=>{"use strict";function i(e,t,n,i,l,s,d,r){var a,o="function"==typeof e?e.options:e;if(t&&(o.render=t,o.staticRenderFns=n,o._compiled=!0),i&&(o.functional=!0),s&&(o._scopeId="data-v-"+s),d?(a=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),l&&l.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(d)},o._ssrRegister=a):l&&(a=r?function(){l.call(this,(o.functional?this.parent:this).$root.$options.shadowRoot)}:l),a)if(o.functional){o._injectStyles=a;var f=o.render;o.render=function(e,t){return a.call(t),f(e,t)}}else{var b=o.beforeCreate;o.beforeCreate=b?[].concat(b,a):[a]}return{exports:e,options:o}}n.d(t,{A:()=>i})},64:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=64,e.exports=t},947:e=>{"use strict";e.exports="按照类型或者关键词过滤动态首页的内容, 也可以移除动态页的一些侧边卡片. 详细设置请前往[动态首页](https://t.bilibili.com/)查看.\n\n> 侧边卡片的 `正在直播` 指原版的板块, 如果你使用了 `直播信息扩充`, 则需要关闭该功能才能生效.\n"},259:e=>{"use strict";e.exports=globalThis.Vue},649:e=>{"use strict";e.exports=coreApis.componentApis.feeds.api},905:e=>{"use strict";e.exports=coreApis.settings},728:e=>{"use strict";e.exports=coreApis.spinQuery},164:e=>{"use strict";e.exports=coreApis.ui},847:e=>{"use strict";e.exports=coreApis.utils}},i={};function l(e){var t=i[e];if(void 0!==t)return t.exports;var s=i[e]={id:e,exports:{}};return n[e](s,s.exports,l),s.exports}l.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return l.d(t,{a:t}),t},t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,l.t=function(n,i){if(1&i&&(n=this(n)),8&i)return n;if("object"==typeof n&&n){if(4&i&&n.__esModule)return n;if(16&i&&"function"==typeof n.then)return n}var s=Object.create(null);l.r(s);var d={};e=e||[null,t({}),t([]),t(t)];for(var r=2&i&&n;"object"==typeof r&&!~e.indexOf(r);r=t(r))Object.getOwnPropertyNames(r).forEach((e=>d[e]=()=>n[e]));return d.default=()=>n,l.d(s,d),s},l.d=(e,t)=>{for(var n in t)l.o(t,n)&&!l.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},l.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),l.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},l.nc=void 0;var s={};return(()=>{"use strict";l.d(s,{component:()=>o});const e=coreApis.componentApis.define;var t=l(649),n=l(905),i=l(331);const d=[{username:"title",text:"epTitle"},{username:"upName",text:["title","dynamic"]},{username:["username","repostUsername"],text:["text","repostText"]}],r={name:"feeds.contentFilters.patterns",displayName:"动态关键词过滤",setup:e=>{let{addData:t}=e;t("feeds.contentFilters",(e=>{e.push({filter:e=>{const{patterns:t}=(0,n.getComponentSettings)("feedsFilter").options;return e.filter((e=>{const n=d.find((t=>Object.values(t).every((t=>Array.isArray(t)?t.some((t=>t in e)):t in e)))),l=Object.fromEntries(Object.entries(n).map((t=>{let[n,i]=t;return Array.isArray(i)?[n,i.map((t=>e[t]??"")).join("\n").trim()]:[n,e[i].trim()]})));return t.every((e=>!(0,i.h)("string"==typeof e?e:e.pattern,l)))}))}})}))}},a=(0,e.defineOptionsMetadata)({types:{defaultValue:[],displayName:"过滤动态类型",hidden:!0},patterns:{defaultValue:[],displayName:"过滤关键词",hidden:!0},sideCards:{defaultValue:[],displayName:"过滤侧边栏",hidden:!0},specialTypes:{defaultValue:[],displayName:"过滤特殊动态类型",hidden:!0}}),o=(0,e.defineComponentMetadata)({name:"feedsFilter",displayName:"动态过滤器",entry:async()=>{const{select:e}=await Promise.resolve().then(l.t.bind(l,728,23));let n;if("v2"===t.feedsCardsManager.managerType){const t=await e(".bili-dyn-home--member aside.left"),i=document.createElement("section");i.classList.add("feeds-filter-section"),t.insertAdjacentElement("afterbegin",i),n=i}else n=await e(".home-container .left-panel");if(null===n)return;const i=await Promise.resolve().then(l.bind(l,950)),{mountVueComponent:s}=await Promise.resolve().then(l.t.bind(l,847,23));n.insertAdjacentElement("afterbegin",s(i).$el)},tags:[componentsTags.feeds],options:a,reload:()=>document.body.classList.remove("disable-feeds-filter"),unload:()=>document.body.classList.add("disable-feeds-filter"),urlInclude:[/^https:\/\/t\.bilibili\.com\/$/],plugin:r,commitHash:"d87d69cfb9d7e0124bd90a06fec4569bd61e02c5",coreVersion:"2.10.7",description:(()=>{const e=l(64);return{...Object.fromEntries(e.keys().map((t=>[t.match(/index\.(.+)\.md$/)[1],e(t)]))),"zh-CN":()=>Promise.resolve().then(l.t.bind(l,947,17)).then((e=>e.default))}})()})})(),s=s.component})())); //# sourceMappingURL=https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/registry/dist/components/feeds/filter.js.map \ No newline at end of file diff --git a/bb-evolved/registry/dist/components/feeds/fixed-sidebars.js b/bb-evolved/registry/dist/components/feeds/fixed-sidebars.js index e91c7388ac..71e36b6a8d 100644 --- a/bb-evolved/registry/dist/components/feeds/fixed-sidebars.js +++ b/bb-evolved/registry/dist/components/feeds/fixed-sidebars.js @@ -8,5 +8,5 @@ n=[[null,n,""]]);var r={};if(i)for(var o=0;o{"use strict";function e(n,e){return function(n){if(Array.isArray(n))return n}(n)||function(n,e){var t=n&&("undefined"!=typeof Symbol&&n[Symbol.iterator]||n["@@iterator"]);if(null==t)return;var i,r,o=[],a=!0,A=!1;try{for(t=t.call(n);!(a=(i=t.next()).done)&&(o.push(i.value),!e||o.length!==e);a=!0);}catch(n){A=!0,r=n}finally{try{a||null==t.return||t.return()}finally{if(A)throw r}}return o}(n,e)||function(n,e){if(!n)return;if("string"==typeof n)return t(n,e);var i=Object.prototype.toString.call(n).slice(8,-1);"Object"===i&&n.constructor&&(i=n.constructor.name);if("Map"===i||"Set"===i)return Array.from(n);if("Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i))return t(n,e)}(n,e)||function(){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 t(n,e){(null==e||e>n.length)&&(e=n.length);for(var t=0,i=new Array(e);t{var i=t(766);i&&i.__esModule&&(i=i.default),n.exports="string"==typeof i?i:i.toString()},626:n=>{"use strict";n.exports=coreApis.componentApis.feeds.disableProfilePopup}},i={};function r(n){var e=i[n];if(void 0!==e)return e.exports;var o=i[n]={id:n,exports:{}};return t[n](o,o.exports,r),o.exports}e=Object.getPrototypeOf?n=>Object.getPrototypeOf(n):n=>n.__proto__,r.t=function(t,i){if(1&i&&(t=this(t)),8&i)return t;if("object"==typeof t&&t){if(4&i&&t.__esModule)return t;if(16&i&&"function"==typeof t.then)return t}var o=Object.create(null);r.r(o);var a={};n=n||[null,e({}),e([]),e(e)];for(var A=2&i&&t;"object"==typeof A&&!~n.indexOf(A);A=e(A))Object.getOwnPropertyNames(A).forEach((n=>a[n]=()=>t[n]));return a.default=()=>t,r.d(o,a),o},r.d=(n,e)=>{for(var t in e)r.o(e,t)&&!r.o(n,t)&&Object.defineProperty(n,t,{enumerable:!0,get:e[t]})},r.o=(n,e)=>Object.prototype.hasOwnProperty.call(n,e),r.r=n=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(n,"__esModule",{value:!0})};var o={};return(()=>{"use strict";r.d(o,{component:()=>n});const n=(0,coreApis.componentApis.define.defineComponentMetadata)({name:"fixedFeedsSidebars",instantStyles:[{name:"fixed-sidebars-style",style:()=>Promise.resolve().then(r.t.bind(r,456,23)),important:!0}],displayName:"强制固定动态侧栏",description:{"zh-CN":"强制固定动态主页的顶栏和所有侧栏."},tags:[componentsTags.feeds],entry:async()=>{const{disableProfilePopup:n}=await Promise.resolve().then(r.t.bind(r,626,23));n()},urlInclude:[/^https:\/\/t\.bilibili\.com\/$/],commitHash:"58c0b438ca2371e397f70466a91572cb2757b142",coreVersion:"2.10.7"})})(),o=o.component})())); +var o=btoa(unescape(encodeURIComponent(JSON.stringify(r)))),a="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(o),A="/*# ".concat(a," */"),p=r.sources.map((function(n){return"/*# sourceURL=".concat(r.sourceRoot||"").concat(n," */")}));return[i].concat(p).concat([A]).join("\n")}return[i].join("\n")}},456:(n,e,t)=>{var i=t(766);i&&i.__esModule&&(i=i.default),n.exports="string"==typeof i?i:i.toString()},626:n=>{"use strict";n.exports=coreApis.componentApis.feeds.disableProfilePopup}},i={};function r(n){var e=i[n];if(void 0!==e)return e.exports;var o=i[n]={id:n,exports:{}};return t[n](o,o.exports,r),o.exports}e=Object.getPrototypeOf?n=>Object.getPrototypeOf(n):n=>n.__proto__,r.t=function(t,i){if(1&i&&(t=this(t)),8&i)return t;if("object"==typeof t&&t){if(4&i&&t.__esModule)return t;if(16&i&&"function"==typeof t.then)return t}var o=Object.create(null);r.r(o);var a={};n=n||[null,e({}),e([]),e(e)];for(var A=2&i&&t;"object"==typeof A&&!~n.indexOf(A);A=e(A))Object.getOwnPropertyNames(A).forEach((n=>a[n]=()=>t[n]));return a.default=()=>t,r.d(o,a),o},r.d=(n,e)=>{for(var t in e)r.o(e,t)&&!r.o(n,t)&&Object.defineProperty(n,t,{enumerable:!0,get:e[t]})},r.o=(n,e)=>Object.prototype.hasOwnProperty.call(n,e),r.r=n=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(n,"__esModule",{value:!0})};var o={};return(()=>{"use strict";r.d(o,{component:()=>n});const n=(0,coreApis.componentApis.define.defineComponentMetadata)({name:"fixedFeedsSidebars",instantStyles:[{name:"fixed-sidebars-style",style:()=>Promise.resolve().then(r.t.bind(r,456,23)),important:!0}],displayName:"强制固定动态侧栏",description:{"zh-CN":"强制固定动态主页的顶栏和所有侧栏."},tags:[componentsTags.feeds],entry:async()=>{const{disableProfilePopup:n}=await Promise.resolve().then(r.t.bind(r,626,23));n()},urlInclude:[/^https:\/\/t\.bilibili\.com\/$/],commitHash:"d87d69cfb9d7e0124bd90a06fec4569bd61e02c5",coreVersion:"2.10.7"})})(),o=o.component})())); //# sourceMappingURL=https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/registry/dist/components/feeds/fixed-sidebars.js.map \ No newline at end of file diff --git a/bb-evolved/registry/dist/components/feeds/fold-comments.js b/bb-evolved/registry/dist/components/feeds/fold-comments.js index d2ed790073..0b113dfb1e 100644 --- a/bb-evolved/registry/dist/components/feeds/fold-comments.js +++ b/bb-evolved/registry/dist/components/feeds/fold-comments.js @@ -8,5 +8,5 @@ n=[[null,n,""]]);var r={};if(t)for(var i=0;i{"use strict";function e(n,e){return function(n){if(Array.isArray(n))return n}(n)||function(n,e){var o=n&&("undefined"!=typeof Symbol&&n[Symbol.iterator]||n["@@iterator"]);if(null==o)return;var t,r,i=[],c=!0,a=!1;try{for(o=o.call(n);!(c=(t=o.next()).done)&&(i.push(t.value),!e||i.length!==e);c=!0);}catch(n){a=!0,r=n}finally{try{c||null==o.return||o.return()}finally{if(a)throw r}}return i}(n,e)||function(n,e){if(!n)return;if("string"==typeof n)return o(n,e);var t=Object.prototype.toString.call(n).slice(8,-1);"Object"===t&&n.constructor&&(t=n.constructor.name);if("Map"===t||"Set"===t)return Array.from(n);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return o(n,e)}(n,e)||function(){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 o(n,e){(null==e||e>n.length)&&(e=n.length);for(var o=0,t=new Array(e);o{var t=o(472);t&&t.__esModule&&(t=t.default),n.exports="string"==typeof t?t:t.toString()},771:(n,e,o)=>{var t=o(489);t&&t.__esModule&&(t=t.default),n.exports="string"==typeof t?t:t.toString()},649:n=>{"use strict";n.exports=coreApis.componentApis.feeds.api},104:n=>{"use strict";n.exports=coreApis.observer},794:n=>{"use strict";n.exports=coreApis.shadowRoot}},t={};function r(n){var e=t[n];if(void 0!==e)return e.exports;var i=t[n]={id:n,exports:{}};return o[n](i,i.exports,r),i.exports}e=Object.getPrototypeOf?n=>Object.getPrototypeOf(n):n=>n.__proto__,r.t=function(o,t){if(1&t&&(o=this(o)),8&t)return o;if("object"==typeof o&&o){if(4&t&&o.__esModule)return o;if(16&t&&"function"==typeof o.then)return o}var i=Object.create(null);r.r(i);var c={};n=n||[null,e({}),e([]),e(e)];for(var a=2&t&&o;"object"==typeof a&&!~n.indexOf(a);a=e(a))Object.getOwnPropertyNames(a).forEach((n=>c[n]=()=>o[n]));return c.default=()=>o,r.d(i,c),i},r.d=(n,e)=>{for(var o in e)r.o(e,o)&&!r.o(n,o)&&Object.defineProperty(n,o,{enumerable:!0,get:e[o]})},r.o=(n,e)=>Object.prototype.hasOwnProperty.call(n,e),r.r=n=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(n,"__esModule",{value:!0})};var i={};return(()=>{"use strict";r.d(i,{component:()=>l});const n=coreApis.componentApis.define,e=coreApis.componentApis.styledComponent,o=coreApis.utils.urls;var t=r(649);const c=coreApis.spinQuery;var a=r(104);const l=(0,n.defineComponentMetadata)({name:"foldComments",displayName:"快速收起评论",description:{"zh-CN":"动态里查看评论区时, 在底部添加一个`收起评论`按钮, 这样就不用再回到上面收起了."},urlInclude:o.feedsUrlsWithoutDetail,tags:[componentsTags.feeds],entry:(0,e.styledComponentEntry)((()=>Promise.resolve().then(r.t.bind(r,771,23))),(async()=>{const{shadowRootStyles:n}=await Promise.resolve().then(r.t.bind(r,794,23)),{forEachFeedsCard:e}=await Promise.resolve().then(r.t.bind(r,649,23)),{childList:o}=await Promise.resolve().then(r.t.bind(r,104,23)),i=".bb-comment, .bili-comment-container";e({added:n=>(n=>{const e=async(e,o)=>{const t=await(0,c.select)((()=>dq(e,i)));if(null!==t.querySelector(".fold-comment"))return;if(null===t)return void console.error("未找到评论区");const r=document.createElement("div");r.classList.add("fold-comment"),r.innerHTML="收起评论",r.addEventListener("click",(()=>{o(),n.scrollIntoView(),window.scrollBy({top:-75})})),t.insertAdjacentElement("beforeend",r)};if("v2"!==t.feedsCardsManager.managerType)if("v1"!==t.feedsCardsManager.managerType)console.warn("unrecognized card type",n);else{const t=n.querySelector(".panel-area");if(null===t)return void console.warn("panelArea not found",n);const r=()=>{const e=n.querySelector(".button-bar").children[1];e?.click()};if(0===t.childElementCount){const[n]=o(t,(o=>{o.length>0&&(e(t,r),n.disconnect())}))}else e(t,r)}else{const o=()=>dq(n,i),t=()=>null!==o(),r=()=>{const e=dq(n,".bili-dyn-action.comment");e?.click()};t()?e(o(),r):(0,a.childListSubtree)(n,(()=>{t()&&e(n,r)}))}})(n.element)});const l=await Promise.resolve().then(r.t.bind(r,42,23)).then((n=>n.default));n.addStyle({id:"foldComments",style:l})})),commitHash:"58c0b438ca2371e397f70466a91572cb2757b142",coreVersion:"2.10.7"})})(),i=i.component})())); +var i=btoa(unescape(encodeURIComponent(JSON.stringify(r)))),c="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(i),a="/*# ".concat(c," */"),l=r.sources.map((function(n){return"/*# sourceURL=".concat(r.sourceRoot||"").concat(n," */")}));return[t].concat(l).concat([a]).join("\n")}return[t].join("\n")}},42:(n,e,o)=>{var t=o(472);t&&t.__esModule&&(t=t.default),n.exports="string"==typeof t?t:t.toString()},771:(n,e,o)=>{var t=o(489);t&&t.__esModule&&(t=t.default),n.exports="string"==typeof t?t:t.toString()},649:n=>{"use strict";n.exports=coreApis.componentApis.feeds.api},104:n=>{"use strict";n.exports=coreApis.observer},794:n=>{"use strict";n.exports=coreApis.shadowRoot}},t={};function r(n){var e=t[n];if(void 0!==e)return e.exports;var i=t[n]={id:n,exports:{}};return o[n](i,i.exports,r),i.exports}e=Object.getPrototypeOf?n=>Object.getPrototypeOf(n):n=>n.__proto__,r.t=function(o,t){if(1&t&&(o=this(o)),8&t)return o;if("object"==typeof o&&o){if(4&t&&o.__esModule)return o;if(16&t&&"function"==typeof o.then)return o}var i=Object.create(null);r.r(i);var c={};n=n||[null,e({}),e([]),e(e)];for(var a=2&t&&o;"object"==typeof a&&!~n.indexOf(a);a=e(a))Object.getOwnPropertyNames(a).forEach((n=>c[n]=()=>o[n]));return c.default=()=>o,r.d(i,c),i},r.d=(n,e)=>{for(var o in e)r.o(e,o)&&!r.o(n,o)&&Object.defineProperty(n,o,{enumerable:!0,get:e[o]})},r.o=(n,e)=>Object.prototype.hasOwnProperty.call(n,e),r.r=n=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(n,"__esModule",{value:!0})};var i={};return(()=>{"use strict";r.d(i,{component:()=>l});const n=coreApis.componentApis.define,e=coreApis.componentApis.styledComponent,o=coreApis.utils.urls;var t=r(649);const c=coreApis.spinQuery;var a=r(104);const l=(0,n.defineComponentMetadata)({name:"foldComments",displayName:"快速收起评论",description:{"zh-CN":"动态里查看评论区时, 在底部添加一个`收起评论`按钮, 这样就不用再回到上面收起了."},urlInclude:o.feedsUrlsWithoutDetail,tags:[componentsTags.feeds],entry:(0,e.styledComponentEntry)((()=>Promise.resolve().then(r.t.bind(r,771,23))),(async()=>{const{shadowRootStyles:n}=await Promise.resolve().then(r.t.bind(r,794,23)),{forEachFeedsCard:e}=await Promise.resolve().then(r.t.bind(r,649,23)),{childList:o}=await Promise.resolve().then(r.t.bind(r,104,23)),i=".bb-comment, .bili-comment-container";e({added:n=>(n=>{const e=async(e,o)=>{const t=await(0,c.select)((()=>dq(e,i)));if(null!==t.querySelector(".fold-comment"))return;if(null===t)return void console.error("未找到评论区");const r=document.createElement("div");r.classList.add("fold-comment"),r.innerHTML="收起评论",r.addEventListener("click",(()=>{o(),n.scrollIntoView(),window.scrollBy({top:-75})})),t.insertAdjacentElement("beforeend",r)};if("v2"!==t.feedsCardsManager.managerType)if("v1"!==t.feedsCardsManager.managerType)console.warn("unrecognized card type",n);else{const t=n.querySelector(".panel-area");if(null===t)return void console.warn("panelArea not found",n);const r=()=>{const e=n.querySelector(".button-bar").children[1];e?.click()};if(0===t.childElementCount){const[n]=o(t,(o=>{o.length>0&&(e(t,r),n.disconnect())}))}else e(t,r)}else{const o=()=>dq(n,i),t=()=>null!==o(),r=()=>{const e=dq(n,".bili-dyn-action.comment");e?.click()};t()?e(o(),r):(0,a.childListSubtree)(n,(()=>{t()&&e(n,r)}))}})(n.element)});const l=await Promise.resolve().then(r.t.bind(r,42,23)).then((n=>n.default));n.addStyle({id:"foldComments",style:l})})),commitHash:"d87d69cfb9d7e0124bd90a06fec4569bd61e02c5",coreVersion:"2.10.7"})})(),i=i.component})())); //# sourceMappingURL=https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/registry/dist/components/feeds/fold-comments.js.map \ No newline at end of file diff --git a/bb-evolved/registry/dist/components/feeds/full-content.js b/bb-evolved/registry/dist/components/feeds/full-content.js index 2bd0d04329..c6f59a6215 100644 --- a/bb-evolved/registry/dist/components/feeds/full-content.js +++ b/bb-evolved/registry/dist/components/feeds/full-content.js @@ -8,5 +8,5 @@ t=[[null,t,""]]);var r={};if(o)for(var i=0;i{"use strict";function n(t,n){return function(t){if(Array.isArray(t))return t}(t)||function(t,n){var e=t&&("undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"]);if(null==e)return;var o,r,i=[],a=!0,c=!1;try{for(e=e.call(t);!(a=(o=e.next()).done)&&(i.push(o.value),!n||i.length!==n);a=!0);}catch(t){c=!0,r=t}finally{try{a||null==e.return||e.return()}finally{if(c)throw r}}return i}(t,n)||function(t,n){if(!t)return;if("string"==typeof t)return e(t,n);var o=Object.prototype.toString.call(t).slice(8,-1);"Object"===o&&t.constructor&&(o=t.constructor.name);if("Map"===o||"Set"===o)return Array.from(t);if("Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o))return e(t,n)}(t,n)||function(){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 e(t,n){(null==n||n>t.length)&&(n=t.length);for(var e=0,o=new Array(n);e{var o=e(520);o&&o.__esModule&&(o=o.default),t.exports="string"==typeof o?o:o.toString()},967:t=>{function n(t){var n=new Error("Cannot find module '"+t+"'");throw n.code="MODULE_NOT_FOUND",n}n.keys=()=>[],n.resolve=n,n.id=967,t.exports=n},728:t=>{"use strict";t.exports="不管内容多长, 总是完全展开动态的内容. (专栏不算)\n"}},o={};function r(t){var n=o[t];if(void 0!==n)return n.exports;var i=o[t]={id:t,exports:{}};return e[t](i,i.exports,r),i.exports}n=Object.getPrototypeOf?t=>Object.getPrototypeOf(t):t=>t.__proto__,r.t=function(e,o){if(1&o&&(e=this(e)),8&o)return e;if("object"==typeof e&&e){if(4&o&&e.__esModule)return e;if(16&o&&"function"==typeof e.then)return e}var i=Object.create(null);r.r(i);var a={};t=t||[null,n({}),n([]),n(n)];for(var c=2&o&&e;"object"==typeof c&&!~t.indexOf(c);c=n(c))Object.getOwnPropertyNames(c).forEach((t=>a[t]=()=>e[t]));return a.default=()=>e,r.d(i,a),i},r.d=(t,n)=>{for(var e in n)r.o(n,e)&&!r.o(t,e)&&Object.defineProperty(t,e,{enumerable:!0,get:n[e]})},r.o=(t,n)=>Object.prototype.hasOwnProperty.call(t,n),r.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var i={};return(()=>{"use strict";r.d(i,{component:()=>e});const t=coreApis.componentApis.define,n=coreApis.utils.urls,e=(0,t.defineComponentMetadata)({name:"fullFeedsContent",instantStyles:[{name:"full-feeds-content",style:()=>Promise.resolve().then(r.t.bind(r,130,23))}],displayName:"展开动态内容",tags:[componentsTags.style,componentsTags.feeds],urlInclude:n.feedsUrlsWithoutDetail,entry:none,commitHash:"58c0b438ca2371e397f70466a91572cb2757b142",coreVersion:"2.10.7",description:(()=>{const t=r(967);return{...Object.fromEntries(t.keys().map((n=>[n.match(/index\.(.+)\.md$/)[1],t(n)]))),"zh-CN":()=>Promise.resolve().then(r.t.bind(r,728,17)).then((t=>t.default))}})()})})(),i=i.component})())); +var i=btoa(unescape(encodeURIComponent(JSON.stringify(r)))),a="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(i),c="/*# ".concat(a," */"),s=r.sources.map((function(t){return"/*# sourceURL=".concat(r.sourceRoot||"").concat(t," */")}));return[o].concat(s).concat([c]).join("\n")}return[o].join("\n")}},130:(t,n,e)=>{var o=e(520);o&&o.__esModule&&(o=o.default),t.exports="string"==typeof o?o:o.toString()},967:t=>{function n(t){var n=new Error("Cannot find module '"+t+"'");throw n.code="MODULE_NOT_FOUND",n}n.keys=()=>[],n.resolve=n,n.id=967,t.exports=n},728:t=>{"use strict";t.exports="不管内容多长, 总是完全展开动态的内容. (专栏不算)\n"}},o={};function r(t){var n=o[t];if(void 0!==n)return n.exports;var i=o[t]={id:t,exports:{}};return e[t](i,i.exports,r),i.exports}n=Object.getPrototypeOf?t=>Object.getPrototypeOf(t):t=>t.__proto__,r.t=function(e,o){if(1&o&&(e=this(e)),8&o)return e;if("object"==typeof e&&e){if(4&o&&e.__esModule)return e;if(16&o&&"function"==typeof e.then)return e}var i=Object.create(null);r.r(i);var a={};t=t||[null,n({}),n([]),n(n)];for(var c=2&o&&e;"object"==typeof c&&!~t.indexOf(c);c=n(c))Object.getOwnPropertyNames(c).forEach((t=>a[t]=()=>e[t]));return a.default=()=>e,r.d(i,a),i},r.d=(t,n)=>{for(var e in n)r.o(n,e)&&!r.o(t,e)&&Object.defineProperty(t,e,{enumerable:!0,get:n[e]})},r.o=(t,n)=>Object.prototype.hasOwnProperty.call(t,n),r.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var i={};return(()=>{"use strict";r.d(i,{component:()=>e});const t=coreApis.componentApis.define,n=coreApis.utils.urls,e=(0,t.defineComponentMetadata)({name:"fullFeedsContent",instantStyles:[{name:"full-feeds-content",style:()=>Promise.resolve().then(r.t.bind(r,130,23))}],displayName:"展开动态内容",tags:[componentsTags.style,componentsTags.feeds],urlInclude:n.feedsUrlsWithoutDetail,entry:none,commitHash:"d87d69cfb9d7e0124bd90a06fec4569bd61e02c5",coreVersion:"2.10.7",description:(()=>{const t=r(967);return{...Object.fromEntries(t.keys().map((n=>[n.match(/index\.(.+)\.md$/)[1],t(n)]))),"zh-CN":()=>Promise.resolve().then(r.t.bind(r,728,17)).then((t=>t.default))}})()})})(),i=i.component})())); //# sourceMappingURL=https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/registry/dist/components/feeds/full-content.js.map \ No newline at end of file diff --git a/bb-evolved/registry/dist/components/feeds/full-title.js b/bb-evolved/registry/dist/components/feeds/full-title.js index c825552c64..1e1d12121c 100644 --- a/bb-evolved/registry/dist/components/feeds/full-title.js +++ b/bb-evolved/registry/dist/components/feeds/full-title.js @@ -8,5 +8,5 @@ t=[[null,t,""]]);var o={};if(r)for(var i=0;i{"use strict";function e(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=t&&("undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"]);if(null==n)return;var r,o,i=[],a=!0,c=!1;try{for(n=n.call(t);!(a=(r=n.next()).done)&&(i.push(r.value),!e||i.length!==e);a=!0);}catch(t){c=!0,o=t}finally{try{a||null==n.return||n.return()}finally{if(c)throw o}}return i}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return n(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return n(t,e)}(t,e)||function(){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 n(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n{var r=n(900);r&&r.__esModule&&(r=r.default),t.exports="string"==typeof r?r:r.toString()}},r={};function o(t){var e=r[t];if(void 0!==e)return e.exports;var i=r[t]={id:t,exports:{}};return n[t](i,i.exports,o),i.exports}e=Object.getPrototypeOf?t=>Object.getPrototypeOf(t):t=>t.__proto__,o.t=function(n,r){if(1&r&&(n=this(n)),8&r)return n;if("object"==typeof n&&n){if(4&r&&n.__esModule)return n;if(16&r&&"function"==typeof n.then)return n}var i=Object.create(null);o.r(i);var a={};t=t||[null,e({}),e([]),e(e)];for(var c=2&r&&n;"object"==typeof c&&!~t.indexOf(c);c=e(c))Object.getOwnPropertyNames(c).forEach((t=>a[t]=()=>n[t]));return a.default=()=>n,o.d(i,a),i},o.d=(t,e)=>{for(var n in e)o.o(e,n)&&!o.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},o.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),o.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var i={};return(()=>{"use strict";o.d(i,{component:()=>n});const t=coreApis.componentApis.define,e=coreApis.componentApis.styledComponent,n=(0,t.defineComponentMetadata)({...(0,e.toggleStyle)("fullFeedsTitle",(()=>Promise.resolve().then(o.t.bind(o,502,23)))),displayName:"展开动态标题",description:{"zh-CN":"在顶栏的视频动态中, 无论标题多长总是完全展开."},tags:[componentsTags.feeds,componentsTags.style],commitHash:"58c0b438ca2371e397f70466a91572cb2757b142",coreVersion:"2.10.7"})})(),i=i.component})())); +var i=btoa(unescape(encodeURIComponent(JSON.stringify(o)))),a="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(i),c="/*# ".concat(a," */"),s=o.sources.map((function(t){return"/*# sourceURL=".concat(o.sourceRoot||"").concat(t," */")}));return[r].concat(s).concat([c]).join("\n")}return[r].join("\n")}},502:(t,e,n)=>{var r=n(900);r&&r.__esModule&&(r=r.default),t.exports="string"==typeof r?r:r.toString()}},r={};function o(t){var e=r[t];if(void 0!==e)return e.exports;var i=r[t]={id:t,exports:{}};return n[t](i,i.exports,o),i.exports}e=Object.getPrototypeOf?t=>Object.getPrototypeOf(t):t=>t.__proto__,o.t=function(n,r){if(1&r&&(n=this(n)),8&r)return n;if("object"==typeof n&&n){if(4&r&&n.__esModule)return n;if(16&r&&"function"==typeof n.then)return n}var i=Object.create(null);o.r(i);var a={};t=t||[null,e({}),e([]),e(e)];for(var c=2&r&&n;"object"==typeof c&&!~t.indexOf(c);c=e(c))Object.getOwnPropertyNames(c).forEach((t=>a[t]=()=>n[t]));return a.default=()=>n,o.d(i,a),i},o.d=(t,e)=>{for(var n in e)o.o(e,n)&&!o.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},o.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),o.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var i={};return(()=>{"use strict";o.d(i,{component:()=>n});const t=coreApis.componentApis.define,e=coreApis.componentApis.styledComponent,n=(0,t.defineComponentMetadata)({...(0,e.toggleStyle)("fullFeedsTitle",(()=>Promise.resolve().then(o.t.bind(o,502,23)))),displayName:"展开动态标题",description:{"zh-CN":"在顶栏的视频动态中, 无论标题多长总是完全展开."},tags:[componentsTags.feeds,componentsTags.style],commitHash:"d87d69cfb9d7e0124bd90a06fec4569bd61e02c5",coreVersion:"2.10.7"})})(),i=i.component})())); //# sourceMappingURL=https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/registry/dist/components/feeds/full-title.js.map \ No newline at end of file diff --git a/bb-evolved/registry/dist/components/feeds/group-filter.js b/bb-evolved/registry/dist/components/feeds/group-filter.js index 78b6f4c38a..21a33fb524 100644 --- a/bb-evolved/registry/dist/components/feeds/group-filter.js +++ b/bb-evolved/registry/dist/components/feeds/group-filter.js @@ -11,5 +11,5 @@ var a=this[i][0];null!=a&&(o[a]=!0)}for(var s=0;s{"use strict";var r,o=function(){return void 0===r&&( // @see http://browserhacks.com/#hack-e71d8692f65334173fee715c222cb805 // @see https://github.com/webpack-contrib/style-loader/issues/177 -r=Boolean(window&&document&&document.all&&!window.atob)),r},i=function(){var e={};return function(t){if(void 0===e[t]){var n=document.querySelector(t);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}e[t]=n}return e[t]}}(),a=[];function s(e){for(var t=-1,n=0;n{"use strict";n.r(t),n.d(t,{default:()=>A});var r=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"group-filter-panel"},[t("div",{staticClass:"group-filter-header"},[t("h1",[e._v("分组")]),e._v(" "),t("switch-box",{model:{value:e.allChecked,callback:function(t){e.allChecked=t},expression:"allChecked"}})],1),e._v(" "),e._l(e.groups,(function(n,r){return t("div",{key:r,staticClass:"group-item"},[t("CheckBox",{model:{value:n.checked,callback:function(t){e.$set(n,"checked",t)},expression:"group.checked"}},[e._v("\n "+e._s(n.name)+"\n ")])],1)}))],2)};r._withStripped=!0;const o=coreApis.ui,i=coreApis.ajax;var a=n(649),s=n(847);let c;const l=Vue.extend({components:{SwitchBox:o.SwitchBox,CheckBox:o.CheckBox},data:()=>({groups:[],followingMap:new Map,selectedGroupIds:[],allChecked:!0}),watch:{groups:{handler(e){this.selectedGroupIds=e.filter((e=>e.checked)).map((e=>e.id)),c.cards.forEach((e=>{this.updateCard(lodash.clone(e))}))},deep:!0,immediate:!0},allChecked:{handler(e){for(const t of this.groups)t.checked=e}}},async mounted(){c=await(0,a.forEachFeedsCard)({added:e=>{this.updateCard(lodash.clone(e))}}),this.groups=await(0,i.bilibiliApi)((0,i.getJsonWithCredentials)("https://api.bilibili.com/x/relation/tags"),"分组信息获取失败").then((e=>e.map((e=>({name:e.name,checked:!0,id:e.tagid})))));const e=(0,s.getUID)();(await(0,i.getPages)({api:t=>(0,i.getJsonWithCredentials)(`https://api.bilibili.com/x/relation/followings?vmid=${e}&pn=${t}&ps=50`),getList:e=>e.data.list,getTotal:e=>e.data.total})).forEach((e=>{this.followingMap.set(e.uname,e.tag)}))},methods:{updateCard(e){const t=this.followingMap.get(e.username);t&&this.selectedGroupIds&&(t.some((e=>this.selectedGroupIds.includes(e)))?e.element.classList.remove("group-filter-hide-feed"):e.element.classList.add("group-filter-hide-feed"))}}});var u=n(991),d=n.n(u),p=n(813),f=n.n(p),h={insert:"head",singleton:!1};d()(f(),h);f().locals;var m=function(e,t,n,r,o,i,a,s){var c,l="function"==typeof e?e.options:e;if(t&&(l.render=t,l.staticRenderFns=n,l._compiled=!0),r&&(l.functional=!0),i&&(l._scopeId="data-v-"+i),a?(c=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),o&&o.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(a)},l._ssrRegister=c):o&&(c=s?function(){o.call(this,(l.functional?this.parent:this).$root.$options.shadowRoot)}:o),c)if(l.functional){l._injectStyles=c;var u=l.render;l.render=function(e,t){return c.call(t),u(e,t)}}else{var d=l.beforeCreate;l.beforeCreate=d?[].concat(d,c):[c]}return{exports:e,options:l}}(l,r,[],!1,null,null,null);const A=m.exports},366:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=366,e.exports=t},177:e=>{"use strict";e.exports="按照关注分组筛选动态\n"},649:e=>{"use strict";e.exports=coreApis.componentApis.feeds.api},728:e=>{"use strict";e.exports=coreApis.spinQuery},847:e=>{"use strict";e.exports=coreApis.utils}},r={};function o(e){var t=r[e];if(void 0!==t)return t.exports;var i=r[e]={id:e,exports:{}};return n[e](i,i.exports,o),i.exports}o.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return o.d(t,{a:t}),t},t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,o.t=function(n,r){if(1&r&&(n=this(n)),8&r)return n;if("object"==typeof n&&n){if(4&r&&n.__esModule)return n;if(16&r&&"function"==typeof n.then)return n}var i=Object.create(null);o.r(i);var a={};e=e||[null,t({}),t([]),t(t)];for(var s=2&r&&n;"object"==typeof s&&!~e.indexOf(s);s=t(s))Object.getOwnPropertyNames(s).forEach((e=>a[e]=()=>n[e]));return a.default=()=>n,o.d(i,a),i},o.d=(e,t)=>{for(var n in t)o.o(t,n)&&!o.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.nc=void 0;var i={};return(()=>{"use strict";o.d(i,{component:()=>n});const e=coreApis.componentApis.define;var t=o(649);const n=(0,e.defineComponentMetadata)({name:"feedsGroupFilter",entry:async()=>{const{select:e}=await Promise.resolve().then(o.t.bind(o,728,23));let n;if("v2"===t.feedsCardsManager.managerType){const t=await e(".bili-dyn-home--member aside.left"),r=document.createElement("section");r.classList.add("group-filter-section"),t.insertAdjacentElement("afterbegin",r),n=r}else n=await e(".home-container .left-panel");if(null===n)return;const r=await Promise.resolve().then(o.bind(o,951)),{mountVueComponent:i}=await Promise.resolve().then(o.t.bind(o,847,23));n.insertAdjacentElement("afterbegin",i(r).$el)},displayName:"动态分组过滤",author:{name:"Rinne",link:"https://github.com/OharaRinneY"},urlInclude:[/^https:\/\/t\.bilibili\.com\/$/],tags:[componentsTags.feeds],commitHash:"58c0b438ca2371e397f70466a91572cb2757b142",coreVersion:"2.10.7",description:(()=>{const e=o(366);return{...Object.fromEntries(e.keys().map((t=>[t.match(/index\.(.+)\.md$/)[1],e(t)]))),"zh-CN":()=>Promise.resolve().then(o.t.bind(o,177,17)).then((e=>e.default))}})()})})(),i=i.component})())); +r=Boolean(window&&document&&document.all&&!window.atob)),r},i=function(){var e={};return function(t){if(void 0===e[t]){var n=document.querySelector(t);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}e[t]=n}return e[t]}}(),a=[];function s(e){for(var t=-1,n=0;n{"use strict";n.r(t),n.d(t,{default:()=>A});var r=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"group-filter-panel"},[t("div",{staticClass:"group-filter-header"},[t("h1",[e._v("分组")]),e._v(" "),t("switch-box",{model:{value:e.allChecked,callback:function(t){e.allChecked=t},expression:"allChecked"}})],1),e._v(" "),e._l(e.groups,(function(n,r){return t("div",{key:r,staticClass:"group-item"},[t("CheckBox",{model:{value:n.checked,callback:function(t){e.$set(n,"checked",t)},expression:"group.checked"}},[e._v("\n "+e._s(n.name)+"\n ")])],1)}))],2)};r._withStripped=!0;const o=coreApis.ui,i=coreApis.ajax;var a=n(649),s=n(847);let c;const l=Vue.extend({components:{SwitchBox:o.SwitchBox,CheckBox:o.CheckBox},data:()=>({groups:[],followingMap:new Map,selectedGroupIds:[],allChecked:!0}),watch:{groups:{handler(e){this.selectedGroupIds=e.filter((e=>e.checked)).map((e=>e.id)),c.cards.forEach((e=>{this.updateCard(lodash.clone(e))}))},deep:!0,immediate:!0},allChecked:{handler(e){for(const t of this.groups)t.checked=e}}},async mounted(){c=await(0,a.forEachFeedsCard)({added:e=>{this.updateCard(lodash.clone(e))}}),this.groups=await(0,i.bilibiliApi)((0,i.getJsonWithCredentials)("https://api.bilibili.com/x/relation/tags"),"分组信息获取失败").then((e=>e.map((e=>({name:e.name,checked:!0,id:e.tagid})))));const e=(0,s.getUID)();(await(0,i.getPages)({api:t=>(0,i.getJsonWithCredentials)(`https://api.bilibili.com/x/relation/followings?vmid=${e}&pn=${t}&ps=50`),getList:e=>e.data.list,getTotal:e=>e.data.total})).forEach((e=>{this.followingMap.set(e.uname,e.tag)}))},methods:{updateCard(e){const t=this.followingMap.get(e.username);t&&this.selectedGroupIds&&(t.some((e=>this.selectedGroupIds.includes(e)))?e.element.classList.remove("group-filter-hide-feed"):e.element.classList.add("group-filter-hide-feed"))}}});var d=n(991),u=n.n(d),p=n(813),f=n.n(p),h={insert:"head",singleton:!1};u()(f(),h);f().locals;var m=function(e,t,n,r,o,i,a,s){var c,l="function"==typeof e?e.options:e;if(t&&(l.render=t,l.staticRenderFns=n,l._compiled=!0),r&&(l.functional=!0),i&&(l._scopeId="data-v-"+i),a?(c=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),o&&o.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(a)},l._ssrRegister=c):o&&(c=s?function(){o.call(this,(l.functional?this.parent:this).$root.$options.shadowRoot)}:o),c)if(l.functional){l._injectStyles=c;var d=l.render;l.render=function(e,t){return c.call(t),d(e,t)}}else{var u=l.beforeCreate;l.beforeCreate=u?[].concat(u,c):[c]}return{exports:e,options:l}}(l,r,[],!1,null,null,null);const A=m.exports},366:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=366,e.exports=t},177:e=>{"use strict";e.exports="按照关注分组筛选动态\n"},649:e=>{"use strict";e.exports=coreApis.componentApis.feeds.api},728:e=>{"use strict";e.exports=coreApis.spinQuery},847:e=>{"use strict";e.exports=coreApis.utils}},r={};function o(e){var t=r[e];if(void 0!==t)return t.exports;var i=r[e]={id:e,exports:{}};return n[e](i,i.exports,o),i.exports}o.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return o.d(t,{a:t}),t},t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,o.t=function(n,r){if(1&r&&(n=this(n)),8&r)return n;if("object"==typeof n&&n){if(4&r&&n.__esModule)return n;if(16&r&&"function"==typeof n.then)return n}var i=Object.create(null);o.r(i);var a={};e=e||[null,t({}),t([]),t(t)];for(var s=2&r&&n;"object"==typeof s&&!~e.indexOf(s);s=t(s))Object.getOwnPropertyNames(s).forEach((e=>a[e]=()=>n[e]));return a.default=()=>n,o.d(i,a),i},o.d=(e,t)=>{for(var n in t)o.o(t,n)&&!o.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.nc=void 0;var i={};return(()=>{"use strict";o.d(i,{component:()=>n});const e=coreApis.componentApis.define;var t=o(649);const n=(0,e.defineComponentMetadata)({name:"feedsGroupFilter",entry:async()=>{const{select:e}=await Promise.resolve().then(o.t.bind(o,728,23));let n;if("v2"===t.feedsCardsManager.managerType){const t=await e(".bili-dyn-home--member aside.left"),r=document.createElement("section");r.classList.add("group-filter-section"),t.insertAdjacentElement("afterbegin",r),n=r}else n=await e(".home-container .left-panel");if(null===n)return;const r=await Promise.resolve().then(o.bind(o,951)),{mountVueComponent:i}=await Promise.resolve().then(o.t.bind(o,847,23));n.insertAdjacentElement("afterbegin",i(r).$el)},displayName:"动态分组过滤",author:{name:"Rinne",link:"https://github.com/OharaRinneY"},urlInclude:[/^https:\/\/t\.bilibili\.com\/$/],tags:[componentsTags.feeds],commitHash:"d87d69cfb9d7e0124bd90a06fec4569bd61e02c5",coreVersion:"2.10.7",description:(()=>{const e=o(366);return{...Object.fromEntries(e.keys().map((t=>[t.match(/index\.(.+)\.md$/)[1],e(t)]))),"zh-CN":()=>Promise.resolve().then(o.t.bind(o,177,17)).then((e=>e.default))}})()})})(),i=i.component})())); //# sourceMappingURL=https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/registry/dist/components/feeds/group-filter.js.map \ No newline at end of file diff --git a/bb-evolved/registry/dist/components/feeds/hide-comment-preview.js b/bb-evolved/registry/dist/components/feeds/hide-comment-preview.js index d0d241806a..6765b6d723 100644 --- a/bb-evolved/registry/dist/components/feeds/hide-comment-preview.js +++ b/bb-evolved/registry/dist/components/feeds/hide-comment-preview.js @@ -8,5 +8,5 @@ e=[[null,e,""]]);var o={};if(r)for(var i=0;i{"use strict";function t(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=e&&("undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]);if(null==n)return;var r,o,i=[],a=!0,c=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){c=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(c)throw o}}return i}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return n(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return n(e,t)}(e,t)||function(){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 n(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n{var r=n(891);r&&r.__esModule&&(r=r.default),e.exports="string"==typeof r?r:r.toString()},303:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=303,e.exports=t},500:e=>{"use strict";e.exports="隐藏动态评论按钮上方的精选评论预览. (详细可看 [#3322](https://github.com/the1812/Bilibili-Evolved/discussions/3322))\n"}},r={};function o(e){var t=r[e];if(void 0!==t)return t.exports;var i=r[e]={id:e,exports:{}};return n[e](i,i.exports,o),i.exports}t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,o.t=function(n,r){if(1&r&&(n=this(n)),8&r)return n;if("object"==typeof n&&n){if(4&r&&n.__esModule)return n;if(16&r&&"function"==typeof n.then)return n}var i=Object.create(null);o.r(i);var a={};e=e||[null,t({}),t([]),t(t)];for(var c=2&r&&n;"object"==typeof c&&!~e.indexOf(c);c=t(c))Object.getOwnPropertyNames(c).forEach((e=>a[e]=()=>n[e]));return a.default=()=>n,o.d(i,a),i},o.d=(e,t)=>{for(var n in t)o.o(t,n)&&!o.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var i={};return(()=>{"use strict";o.d(i,{component:()=>t});const e="hideFeedsCommentPreview",t=(0,coreApis.componentApis.define.defineComponentMetadata)({name:e,tags:[componentsTags.feeds,componentsTags.style],displayName:"隐藏动态评论预览",entry:none,instantStyles:[{style:()=>Promise.resolve().then(o.t.bind(o,437,23)),name:e}],commitHash:"58c0b438ca2371e397f70466a91572cb2757b142",coreVersion:"2.10.7",description:(()=>{const e=o(303);return{...Object.fromEntries(e.keys().map((t=>[t.match(/index\.(.+)\.md$/)[1],e(t)]))),"zh-CN":()=>Promise.resolve().then(o.t.bind(o,500,17)).then((e=>e.default))}})()})})(),i=i.component})())); +var i=btoa(unescape(encodeURIComponent(JSON.stringify(o)))),a="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(i),c="/*# ".concat(a," */"),s=o.sources.map((function(e){return"/*# sourceURL=".concat(o.sourceRoot||"").concat(e," */")}));return[r].concat(s).concat([c]).join("\n")}return[r].join("\n")}},437:(e,t,n)=>{var r=n(891);r&&r.__esModule&&(r=r.default),e.exports="string"==typeof r?r:r.toString()},303:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=303,e.exports=t},500:e=>{"use strict";e.exports="隐藏动态评论按钮上方的精选评论预览. (详细可看 [#3322](https://github.com/the1812/Bilibili-Evolved/discussions/3322))\n"}},r={};function o(e){var t=r[e];if(void 0!==t)return t.exports;var i=r[e]={id:e,exports:{}};return n[e](i,i.exports,o),i.exports}t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,o.t=function(n,r){if(1&r&&(n=this(n)),8&r)return n;if("object"==typeof n&&n){if(4&r&&n.__esModule)return n;if(16&r&&"function"==typeof n.then)return n}var i=Object.create(null);o.r(i);var a={};e=e||[null,t({}),t([]),t(t)];for(var c=2&r&&n;"object"==typeof c&&!~e.indexOf(c);c=t(c))Object.getOwnPropertyNames(c).forEach((e=>a[e]=()=>n[e]));return a.default=()=>n,o.d(i,a),i},o.d=(e,t)=>{for(var n in t)o.o(t,n)&&!o.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var i={};return(()=>{"use strict";o.d(i,{component:()=>t});const e="hideFeedsCommentPreview",t=(0,coreApis.componentApis.define.defineComponentMetadata)({name:e,tags:[componentsTags.feeds,componentsTags.style],displayName:"隐藏动态评论预览",entry:none,instantStyles:[{style:()=>Promise.resolve().then(o.t.bind(o,437,23)),name:e}],commitHash:"d87d69cfb9d7e0124bd90a06fec4569bd61e02c5",coreVersion:"2.10.7",description:(()=>{const e=o(303);return{...Object.fromEntries(e.keys().map((t=>[t.match(/index\.(.+)\.md$/)[1],e(t)]))),"zh-CN":()=>Promise.resolve().then(o.t.bind(o,500,17)).then((e=>e.default))}})()})})(),i=i.component})())); //# sourceMappingURL=https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/registry/dist/components/feeds/hide-comment-preview.js.map \ No newline at end of file diff --git a/bb-evolved/registry/dist/components/feeds/image-auto-back-to-top.js b/bb-evolved/registry/dist/components/feeds/image-auto-back-to-top.js index 001e505c90..71c840c0b3 100644 --- a/bb-evolved/registry/dist/components/feeds/image-auto-back-to-top.js +++ b/bb-evolved/registry/dist/components/feeds/image-auto-back-to-top.js @@ -1,2 +1,2 @@ -!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["feeds/image-auto-back-to-top"]=t():e["feeds/image-auto-back-to-top"]=t()}(globalThis,(()=>(()=>{var e,t,o={737:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=737,e.exports=t},38:e=>{"use strict";e.exports="在动态里查看图片详情时 (非全屏), 切换图片自动回到图片顶部; 退出查看图片模式时, 自动将动态移入视图内.\n"}},r={};function n(e){var t=r[e];if(void 0!==t)return t.exports;var i=r[e]={exports:{}};return o[e](i,i.exports,n),i.exports}t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,n.t=function(o,r){if(1&r&&(o=this(o)),8&r)return o;if("object"==typeof o&&o){if(4&r&&o.__esModule)return o;if(16&r&&"function"==typeof o.then)return o}var i=Object.create(null);n.r(i);var a={};e=e||[null,t({}),t([]),t(t)];for(var s=2&r&&o;"object"==typeof s&&!~e.indexOf(s);s=t(s))Object.getOwnPropertyNames(s).forEach((e=>a[e]=()=>o[e]));return a.default=()=>o,n.d(i,a),i},n.d=(e,t)=>{for(var o in t)n.o(t,o)&&!n.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var i={};return(()=>{"use strict";n.d(i,{component:()=>s});const e=coreApis.componentApis.define,t=coreApis.componentApis.feeds.api,o=coreApis.observer,r=coreApis.utils.log,a=coreApis.utils.urls,s=(0,e.defineComponentMetadata)({name:"imageAutoBackToTop",displayName:"动态看图自动回顶",tags:[componentsTags.feeds],urlInclude:a.feedsUrlsWithoutDetail,entry:()=>{const e=(0,r.useScopedConsole)("imageAutoBackToTop");(0,t.forEachFeedsCard)({added:t=>{const r=e=>{e?.scrollIntoView(),window.scrollBy({top:-75})},n=dqa(t.element,".bili-album");(0,o.mutationObserve)(n,{childList:!0,attributes:!0,subtree:!0},(o=>{o.forEach((o=>{const n=()=>o.target instanceof HTMLElement&&o.target.classList.contains("bili-album__watch")&&"style"===o.attributeName?"none"!==o.target.style.display:null,i=e=>[...e].some((e=>e instanceof HTMLElement&&e.classList.contains("bili-album__watch")));(i(o.removedNodes)||!1===n())&&(r(t.element),e.log("imagePreviewExited"));if(i(o.addedNodes)||!0===n()){const o=dq(t.element,".bili-album__watch__control");r(o),e.log("imagePreviewEntered")}}))})),(0,o.attributesSubtree)(t.element,(o=>{o.forEach((o=>{if(!(o.target instanceof HTMLImageElement&&o.target.matches(".bili-album__watch__content img")&&"src"===o.attributeName))return;const n=dq(t.element,".bili-album__watch__control");r(n),e.log("imagePreviewSwitched")}))}))}})},commitHash:"58c0b438ca2371e397f70466a91572cb2757b142",coreVersion:"2.10.7",description:(()=>{const e=n(737);return{...Object.fromEntries(e.keys().map((t=>[t.match(/index\.(.+)\.md$/)[1],e(t)]))),"zh-CN":()=>Promise.resolve().then(n.t.bind(n,38,17)).then((e=>e.default))}})()})})(),i=i.component})())); +!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["feeds/image-auto-back-to-top"]=t():e["feeds/image-auto-back-to-top"]=t()}(globalThis,(()=>(()=>{var e,t,o={737:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=737,e.exports=t},38:e=>{"use strict";e.exports="在动态里查看图片详情时 (非全屏), 切换图片自动回到图片顶部; 退出查看图片模式时, 自动将动态移入视图内.\n"}},r={};function n(e){var t=r[e];if(void 0!==t)return t.exports;var i=r[e]={exports:{}};return o[e](i,i.exports,n),i.exports}t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,n.t=function(o,r){if(1&r&&(o=this(o)),8&r)return o;if("object"==typeof o&&o){if(4&r&&o.__esModule)return o;if(16&r&&"function"==typeof o.then)return o}var i=Object.create(null);n.r(i);var a={};e=e||[null,t({}),t([]),t(t)];for(var s=2&r&&o;"object"==typeof s&&!~e.indexOf(s);s=t(s))Object.getOwnPropertyNames(s).forEach((e=>a[e]=()=>o[e]));return a.default=()=>o,n.d(i,a),i},n.d=(e,t)=>{for(var o in t)n.o(t,o)&&!n.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var i={};return(()=>{"use strict";n.d(i,{component:()=>s});const e=coreApis.componentApis.define,t=coreApis.componentApis.feeds.api,o=coreApis.observer,r=coreApis.utils.log,a=coreApis.utils.urls,s=(0,e.defineComponentMetadata)({name:"imageAutoBackToTop",displayName:"动态看图自动回顶",tags:[componentsTags.feeds],urlInclude:a.feedsUrlsWithoutDetail,entry:()=>{const e=(0,r.useScopedConsole)("imageAutoBackToTop");(0,t.forEachFeedsCard)({added:t=>{const r=e=>{e?.scrollIntoView(),window.scrollBy({top:-75})},n=dqa(t.element,".bili-album");(0,o.mutationObserve)(n,{childList:!0,attributes:!0,subtree:!0},(o=>{o.forEach((o=>{const n=()=>o.target instanceof HTMLElement&&o.target.classList.contains("bili-album__watch")&&"style"===o.attributeName?"none"!==o.target.style.display:null,i=e=>[...e].some((e=>e instanceof HTMLElement&&e.classList.contains("bili-album__watch")));(i(o.removedNodes)||!1===n())&&(r(t.element),e.log("imagePreviewExited"));if(i(o.addedNodes)||!0===n()){const o=dq(t.element,".bili-album__watch__control");r(o),e.log("imagePreviewEntered")}}))})),(0,o.attributesSubtree)(t.element,(o=>{o.forEach((o=>{if(!(o.target instanceof HTMLImageElement&&o.target.matches(".bili-album__watch__content img")&&"src"===o.attributeName))return;const n=dq(t.element,".bili-album__watch__control");r(n),e.log("imagePreviewSwitched")}))}))}})},commitHash:"d87d69cfb9d7e0124bd90a06fec4569bd61e02c5",coreVersion:"2.10.7",description:(()=>{const e=n(737);return{...Object.fromEntries(e.keys().map((t=>[t.match(/index\.(.+)\.md$/)[1],e(t)]))),"zh-CN":()=>Promise.resolve().then(n.t.bind(n,38,17)).then((e=>e.default))}})()})})(),i=i.component})())); //# sourceMappingURL=https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/registry/dist/components/feeds/image-auto-back-to-top.js.map \ No newline at end of file diff --git a/bb-evolved/registry/dist/components/feeds/legacy-image-viewer.js b/bb-evolved/registry/dist/components/feeds/legacy-image-viewer.js index d48ba45a9d..f1ba271b45 100644 --- a/bb-evolved/registry/dist/components/feeds/legacy-image-viewer.js +++ b/bb-evolved/registry/dist/components/feeds/legacy-image-viewer.js @@ -1,2 +1,2 @@ -!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["feeds/legacy-image-viewer"]=t():e["feeds/legacy-image-viewer"]=t()}(globalThis,(()=>(()=>{var e,t,o={204:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=204,e.exports=t},787:e=>{"use strict";e.exports="将动态中左右切换式的图片改回传统的平铺展示. (在动态详情中可能稍有延迟)\n"}},r={};function n(e){var t=r[e];if(void 0!==t)return t.exports;var a=r[e]={exports:{}};return o[e](a,a.exports,n),a.exports}t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,n.t=function(o,r){if(1&r&&(o=this(o)),8&r)return o;if("object"==typeof o&&o){if(4&r&&o.__esModule)return o;if(16&r&&"function"==typeof o.then)return o}var a=Object.create(null);n.r(a);var s={};e=e||[null,t({}),t([]),t(t)];for(var i=2&r&&o;"object"==typeof i&&!~e.indexOf(i);i=t(i))Object.getOwnPropertyNames(i).forEach((e=>s[e]=()=>o[e]));return s.default=()=>o,n.d(a,s),a},n.d=(e,t)=>{for(var o in t)n.o(t,o)&&!n.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var a={};return(()=>{"use strict";n.d(a,{component:()=>r});const e=coreApis.componentApis.define,t=coreApis.componentApis.feeds.api,o=coreApis.utils.urls,r=(0,e.defineComponentMetadata)({name:"legacyFeedsImageViewer",displayName:"动态图片平铺展示",tags:[componentsTags.feeds],urlInclude:o.feedsUrls,entry:()=>{(0,t.forEachFeedsCard)({added:e=>{const o=(0,t.getVueData)(e.element),r=o?.data?.type,n="DYNAMIC_TYPE_FORWARD"===r?"data.orig.modules.module_dynamic.major.opus.style":"data.modules.module_dynamic.major.opus.style";if(1===lodash.get(o,n,null))return void lodash.set(o,n,void 0);const a=o?.data?.modules;if(Array.isArray(a)){const e=a.find((e=>"MODULE_TYPE_TOP"===e.module_type)),t=a.find((e=>"MODULE_TYPE_CONTENT"===e.module_type)),o=e?.module_top?.display?.album,r=t?.module_content?.paragraphs;o&&r&&(a.splice(a.indexOf(e),1),r.push({align:0,para_type:2,pic:{pics:o.pics,style:1}}))}}})},commitHash:"58c0b438ca2371e397f70466a91572cb2757b142",coreVersion:"2.10.7",description:(()=>{const e=n(204);return{...Object.fromEntries(e.keys().map((t=>[t.match(/index\.(.+)\.md$/)[1],e(t)]))),"zh-CN":()=>Promise.resolve().then(n.t.bind(n,787,17)).then((e=>e.default))}})()})})(),a=a.component})())); +!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["feeds/legacy-image-viewer"]=t():e["feeds/legacy-image-viewer"]=t()}(globalThis,(()=>(()=>{var e,t,o={204:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=204,e.exports=t},787:e=>{"use strict";e.exports="将动态中左右切换式的图片改回传统的平铺展示. (在动态详情中可能稍有延迟)\n"}},r={};function n(e){var t=r[e];if(void 0!==t)return t.exports;var d=r[e]={exports:{}};return o[e](d,d.exports,n),d.exports}t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,n.t=function(o,r){if(1&r&&(o=this(o)),8&r)return o;if("object"==typeof o&&o){if(4&r&&o.__esModule)return o;if(16&r&&"function"==typeof o.then)return o}var d=Object.create(null);n.r(d);var a={};e=e||[null,t({}),t([]),t(t)];for(var s=2&r&&o;"object"==typeof s&&!~e.indexOf(s);s=t(s))Object.getOwnPropertyNames(s).forEach((e=>a[e]=()=>o[e]));return a.default=()=>o,n.d(d,a),d},n.d=(e,t)=>{for(var o in t)n.o(t,o)&&!n.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var d={};return(()=>{"use strict";n.d(d,{component:()=>r});const e=coreApis.componentApis.define,t=coreApis.componentApis.feeds.api,o=coreApis.utils.urls,r=(0,e.defineComponentMetadata)({name:"legacyFeedsImageViewer",displayName:"动态图片平铺展示",tags:[componentsTags.feeds],urlInclude:o.feedsUrls,entry:()=>{(0,t.forEachFeedsCard)({added:e=>{const o=(0,t.getVueData)(e.element),r=o?.data?.type,n="DYNAMIC_TYPE_FORWARD"===r?"data.orig.modules.module_dynamic.major.opus.style":"data.modules.module_dynamic.major.opus.style";if(1===lodash.get(o,n,null))return void lodash.set(o,n,void 0);const d=o?.data?.modules;if(Array.isArray(d)){const e=d.find((e=>"MODULE_TYPE_TOP"===e.module_type)),t=d.find((e=>"MODULE_TYPE_CONTENT"===e.module_type)),o=e?.module_top?.display?.album,r=t?.module_content?.paragraphs;o&&r&&(d.splice(d.indexOf(e),1),r.push({align:0,para_type:2,pic:{pics:o.pics,style:1}}))}}})},commitHash:"d87d69cfb9d7e0124bd90a06fec4569bd61e02c5",coreVersion:"2.10.7",description:(()=>{const e=n(204);return{...Object.fromEntries(e.keys().map((t=>[t.match(/index\.(.+)\.md$/)[1],e(t)]))),"zh-CN":()=>Promise.resolve().then(n.t.bind(n,787,17)).then((e=>e.default))}})()})})(),d=d.component})())); //# sourceMappingURL=https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/registry/dist/components/feeds/legacy-image-viewer.js.map \ No newline at end of file diff --git a/bb-evolved/registry/dist/components/feeds/unfold.js b/bb-evolved/registry/dist/components/feeds/unfold.js index 5a4dd205ef..b8a573d0e8 100644 --- a/bb-evolved/registry/dist/components/feeds/unfold.js +++ b/bb-evolved/registry/dist/components/feeds/unfold.js @@ -1,2 +1,2 @@ -!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["feeds/unfold"]=t():e["feeds/unfold"]=t()}(globalThis,(()=>(()=>{"use strict";var e,t,o={649:e=>{e.exports=coreApis.componentApis.feeds.api}},n={};function r(e){var t=n[e];if(void 0!==t)return t.exports;var i=n[e]={exports:{}};return o[e](i,i.exports,r),i.exports}t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,r.t=function(o,n){if(1&n&&(o=this(o)),8&n)return o;if("object"==typeof o&&o){if(4&n&&o.__esModule)return o;if(16&n&&"function"==typeof o.then)return o}var i=Object.create(null);r.r(i);var s={};e=e||[null,t({}),t([]),t(t)];for(var c=2&n&&o;"object"==typeof c&&!~e.indexOf(c);c=t(c))Object.getOwnPropertyNames(c).forEach((e=>s[e]=()=>o[e]));return s.default=()=>o,r.d(i,s),i},r.d=(e,t)=>{for(var o in t)r.o(t,o)&&!r.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var i={};r.d(i,{component:()=>d});const s=coreApis.componentApis.define,c=coreApis.spinQuery,f=coreApis.utils.urls,d=(0,s.defineComponentMetadata)({name:"unfoldFeeds",displayName:"动态反折叠",tags:[componentsTags.feeds],description:{"zh-CN":"\n自动展开被折叠的动态.\n\n动态被折叠可能是因为:\n- 短时间内大量更新作品\n- 多人转发同一个作品\n- 被审核折叠\n"},urlInclude:f.feedsUrlsWithoutDetail,entry:async()=>{const{forEachFeedsCard:e}=await Promise.resolve().then(r.t.bind(r,649,23));e({added:async e=>{const t=await(0,c.select)((()=>dq(e.element,".fold-hoverable, .bili-dyn-item-fold")));t?.click()}})},commitHash:"58c0b438ca2371e397f70466a91572cb2757b142",coreVersion:"2.10.7"});return i=i.component})())); +!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["feeds/unfold"]=t():e["feeds/unfold"]=t()}(globalThis,(()=>(()=>{"use strict";var e,t,o={649:e=>{e.exports=coreApis.componentApis.feeds.api}},n={};function r(e){var t=n[e];if(void 0!==t)return t.exports;var i=n[e]={exports:{}};return o[e](i,i.exports,r),i.exports}t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,r.t=function(o,n){if(1&n&&(o=this(o)),8&n)return o;if("object"==typeof o&&o){if(4&n&&o.__esModule)return o;if(16&n&&"function"==typeof o.then)return o}var i=Object.create(null);r.r(i);var d={};e=e||[null,t({}),t([]),t(t)];for(var s=2&n&&o;"object"==typeof s&&!~e.indexOf(s);s=t(s))Object.getOwnPropertyNames(s).forEach((e=>d[e]=()=>o[e]));return d.default=()=>o,r.d(i,d),i},r.d=(e,t)=>{for(var o in t)r.o(t,o)&&!r.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var i={};r.d(i,{component:()=>f});const d=coreApis.componentApis.define,s=coreApis.spinQuery,c=coreApis.utils.urls,f=(0,d.defineComponentMetadata)({name:"unfoldFeeds",displayName:"动态反折叠",tags:[componentsTags.feeds],description:{"zh-CN":"\n自动展开被折叠的动态.\n\n动态被折叠可能是因为:\n- 短时间内大量更新作品\n- 多人转发同一个作品\n- 被审核折叠\n"},urlInclude:c.feedsUrlsWithoutDetail,entry:async()=>{const{forEachFeedsCard:e}=await Promise.resolve().then(r.t.bind(r,649,23));e({added:async e=>{const t=await(0,s.select)((()=>dq(e.element,".fold-hoverable, .bili-dyn-item-fold")));t?.click()}})},commitHash:"d87d69cfb9d7e0124bd90a06fec4569bd61e02c5",coreVersion:"2.10.7"});return i=i.component})())); //# sourceMappingURL=https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/registry/dist/components/feeds/unfold.js.map \ No newline at end of file diff --git a/bb-evolved/registry/dist/components/live/badge-helper.js b/bb-evolved/registry/dist/components/live/badge-helper.js index 07ebd13f09..e8c99e753a 100644 --- a/bb-evolved/registry/dist/components/live/badge-helper.js +++ b/bb-evolved/registry/dist/components/live/badge-helper.js @@ -11,5 +11,5 @@ var t=this[r][0];null!=t&&(a[t]=!0)}for(var i=0;i{"use strict";var o,a=function(){return void 0===o&&( // @see http://browserhacks.com/#hack-e71d8692f65334173fee715c222cb805 // @see https://github.com/webpack-contrib/style-loader/issues/177 -o=Boolean(window&&document&&document.all&&!window.atob)),o},r=function(){var e={};return function(n){if(void 0===e[n]){var l=document.querySelector(n);if(window.HTMLIFrameElement&&l instanceof window.HTMLIFrameElement)try{l=l.contentDocument.head}catch(e){l=null}e[n]=l}return e[n]}}(),t=[];function i(e){for(var n=-1,l=0;l{"use strict";l.r(n),l.d(n,{default:()=>C});var o=function(){var e=this,n=e._self._c,l=e._self._setupProxy;return n("div",{ref:"element",staticClass:"multiple-widgets"},[n(l.VPopup,{ref:"medalPopup",staticClass:"badge-popup widgets-popup medal",attrs:{"trigger-element":e.$refs.medalButton},model:{value:l.medalOpen,callback:function(e){l.medalOpen=e},expression:"medalOpen"}},[n("ul",e._l(l.medalList,(function(o){return n("li",{key:o.id,class:{active:o.isActive,gray:l.grayEffect&&!o.isLighted},attrs:{"data-id":o.id,title:o.upName},on:{click:function(e){return l.toggleBadge(o,l.medalList)}}},[n("div",{staticClass:"fans-medal-item",class:["level-"+o.level]},[n("span",{staticClass:"label"},[e._v(e._s(o.name))]),e._v(" "),n("span",{staticClass:"level"},[e._v(e._s(o.level))])])])})),0)]),e._v(" "),n(l.DefaultWidget,{ref:"medalButton",attrs:{icon:"mdi-medal"},on:{click:function(e){l.medalOpen=!l.medalOpen}}},[n("span",[e._v("更换勋章")])]),e._v(" "),n(l.VPopup,{ref:"titlePopup",staticClass:"badge-popup widgets-popup title",attrs:{"trigger-element":e.$refs.titleButton},model:{value:l.titleOpen,callback:function(e){l.titleOpen=e},expression:"titleOpen"}},[n("ul",e._l(l.titleList,(function(e){return n("li",{key:e.id,class:{active:e.isActive},attrs:{"data-id":e.id},on:{click:function(n){return l.toggleBadge(e,l.titleList)}}},[n("img",{staticClass:"title-image",attrs:{src:e.imageUrl}})])})),0)]),e._v(" "),n(l.DefaultWidget,{ref:"titleButton",attrs:{icon:"mdi-script-outline"},on:{click:function(e){l.titleOpen=!l.titleOpen}}},[n("span",[e._v("更换头衔")])])],1)};o._withStripped=!0;const a=globalThis.Vue;var r=l(905);const t=coreApis.utils.sort,i=coreApis.ui;var A=l(927);const p=(0,a.defineComponent)({__name:"BadgeHelper",setup(e){const{options:n}=(0,r.getComponentSettings)("badgeHelper"),l=(0,a.ref)(),o=(0,a.ref)([]),p=(0,a.ref)([]),c=(0,a.ref)(!1),d=(0,a.ref)(!1),u=(0,a.ref)(!0),s=()=>{const e=Math.min(Math.ceil(o.value.length/18),15);l.value.style.setProperty("--medal-columns",e.toString());const n=Math.min(Math.ceil(p.value.length/18),15);l.value.style.setProperty("--title-columns",n.toString())},b=async()=>{o.value=(await(0,A.SL)()).sort((0,t.descendingSort)((e=>e.level))).slice(0,n.maxBadgeCount)},g=async()=>{p.value=(await(0,A.xn)()).slice(0,n.maxBadgeCount)};return(0,a.onMounted)((async()=>{(0,r.addComponentListener)("badgeHelper.grayEffect",(e=>{u.value=e}),!0);await(async()=>{const e=b();await A.hE.getImageMap();const n=g();return Promise.all([e,n])})(),s()})),{__sfc:!0,options:n,element:l,medalList:o,titleList:p,medalOpen:c,titleOpen:d,grayEffect:u,updateColumnsCount:s,loadMedalList:b,loadTitleList:g,toggleBadge:async(e,l)=>{if(console.log(e),e.isActive)e.isActive=!1,await e.deactivate();else{const o=l.find((e=>e.isActive));o&&(o.isActive=!1),e.isActive=!0,await e.activate(),e instanceof A.QF&&(n.defaultMedalID=e.id)}e instanceof A.QF?await b():e instanceof A.hE&&await g()},DefaultWidget:i.DefaultWidget,VPopup:i.VPopup}}}),c=p;var d=l(991),u=l.n(d),s=l(948),b=l.n(s),g={insert:"head",singleton:!1};u()(b(),g);b().locals;var f=function(e,n,l,o,a,r,t,i){var A,p="function"==typeof e?e.options:e;if(n&&(p.render=n,p.staticRenderFns=l,p._compiled=!0),o&&(p.functional=!0),r&&(p._scopeId="data-v-"+r),t?(A=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),a&&a.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(t)},p._ssrRegister=A):a&&(A=i?function(){a.call(this,(p.functional?this.parent:this).$root.$options.shadowRoot)}:a),A)if(p.functional){p._injectStyles=A;var c=p.render;p.render=function(e,n){return A.call(n),c(e,n)}}else{var d=p.beforeCreate;p.beforeCreate=d?[].concat(d,A):[A]}return{exports:e,options:p}}(c,o,[],!1,null,null,null);const C=f.exports},651:e=>{function n(e){var n=new Error("Cannot find module '"+e+"'");throw n.code="MODULE_NOT_FOUND",n}n.keys=()=>[],n.resolve=n,n.id=651,e.exports=n},700:e=>{"use strict";e.exports="在直播区中, 可从功能面板中直接切换勋章和头衔. 默认显示 256 个 (同时也是上限), 可在选项中修改.\n"},905:e=>{"use strict";e.exports=coreApis.settings},847:e=>{"use strict";e.exports=coreApis.utils}},o={};function a(e){var n=o[e];if(void 0!==n)return n.exports;var r=o[e]={id:e,exports:{}};return l[e](r,r.exports,a),r.exports}a.n=e=>{var n=e&&e.__esModule?()=>e.default:()=>e;return a.d(n,{a:n}),n},n=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,a.t=function(l,o){if(1&o&&(l=this(l)),8&o)return l;if("object"==typeof l&&l){if(4&o&&l.__esModule)return l;if(16&o&&"function"==typeof l.then)return l}var r=Object.create(null);a.r(r);var t={};e=e||[null,n({}),n([]),n(n)];for(var i=2&o&&l;"object"==typeof i&&!~e.indexOf(i);i=n(i))Object.getOwnPropertyNames(i).forEach((e=>t[e]=()=>l[e]));return t.default=()=>l,a.d(r,t),r},a.d=(e,n)=>{for(var l in n)a.o(n,l)&&!a.o(e,l)&&Object.defineProperty(e,l,{enumerable:!0,get:n[l]})},a.o=(e,n)=>Object.prototype.hasOwnProperty.call(e,n),a.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},a.nc=void 0;var r={};return(()=>{"use strict";a.d(r,{component:()=>t});const e=coreApis.componentApis.define;var n=a(847),l=a(927);const o=(0,e.defineOptionsMetadata)({autoMatchMedal:{defaultValue:!0,displayName:"自动佩戴当前直播间勋章"},maxBadgeCount:{defaultValue:256,displayName:"最大显示数量",validator:(0,n.getNumberValidator)(1,256)},defaultMedalID:{displayName:"默认勋章ID",hidden:!0,defaultValue:0},grayEffect:{displayName:"显示勋章的未点亮状态",defaultValue:!0}}),t=(0,e.defineComponentMetadata)({name:"badgeHelper",displayName:"直播勋章快速更换",entry:()=>(async()=>{const{getUID:e}=await Promise.resolve().then(a.t.bind(a,847,23));if(!e())return;const{getComponentSettings:n}=await Promise.resolve().then(a.t.bind(a,905,23)),{options:o}=n("badgeHelper");if(!o.autoMatchMedal)return;const r=document.URL.match(/^https:\/\/live\.bilibili\.com\/(blanc\/)?([\d]+)/);if(!r)return;const t=parseInt(r[2]);if(Number.isNaN(t))return void console.warn("roomID not found");const i=await(0,l.SL)();if(!o.defaultMedalID){const e=i.find((e=>e.isActive));e&&(o.defaultMedalID=e.id,console.log(`set defaultMedalID to activeMedal (${e.id})`))}const A=o.defaultMedalID?i.find((e=>e.id===o.defaultMedalID)):i.find((e=>e.isActive)),p=i.find((e=>e.roomID===t));p?(await p.activate(),console.log(`activated matchMedal (${p.id})`)):A&&(await A.activate(),console.log(`no matchMedal, fallback to defaultMedal (${A.id})`))})(),reload:n.none,unload:n.none,tags:[componentsTags.live],widget:{component:()=>Promise.resolve().then(a.bind(a,742)).then((e=>e.default)),condition:()=>Boolean((0,n.getUID)())},options:o,urlInclude:["//live.bilibili.com"],commitHash:"58c0b438ca2371e397f70466a91572cb2757b142",coreVersion:"2.10.7",description:(()=>{const e=a(651);return{...Object.fromEntries(e.keys().map((n=>[n.match(/index\.(.+)\.md$/)[1],e(n)]))),"zh-CN":()=>Promise.resolve().then(a.t.bind(a,700,17)).then((e=>e.default))}})()})})(),r=r.component})())); +o=Boolean(window&&document&&document.all&&!window.atob)),o},r=function(){var e={};return function(n){if(void 0===e[n]){var l=document.querySelector(n);if(window.HTMLIFrameElement&&l instanceof window.HTMLIFrameElement)try{l=l.contentDocument.head}catch(e){l=null}e[n]=l}return e[n]}}(),t=[];function i(e){for(var n=-1,l=0;l{"use strict";l.r(n),l.d(n,{default:()=>C});var o=function(){var e=this,n=e._self._c,l=e._self._setupProxy;return n("div",{ref:"element",staticClass:"multiple-widgets"},[n(l.VPopup,{ref:"medalPopup",staticClass:"badge-popup widgets-popup medal",attrs:{"trigger-element":e.$refs.medalButton},model:{value:l.medalOpen,callback:function(e){l.medalOpen=e},expression:"medalOpen"}},[n("ul",e._l(l.medalList,(function(o){return n("li",{key:o.id,class:{active:o.isActive,gray:l.grayEffect&&!o.isLighted},attrs:{"data-id":o.id,title:o.upName},on:{click:function(e){return l.toggleBadge(o,l.medalList)}}},[n("div",{staticClass:"fans-medal-item",class:["level-"+o.level]},[n("span",{staticClass:"label"},[e._v(e._s(o.name))]),e._v(" "),n("span",{staticClass:"level"},[e._v(e._s(o.level))])])])})),0)]),e._v(" "),n(l.DefaultWidget,{ref:"medalButton",attrs:{icon:"mdi-medal"},on:{click:function(e){l.medalOpen=!l.medalOpen}}},[n("span",[e._v("更换勋章")])]),e._v(" "),n(l.VPopup,{ref:"titlePopup",staticClass:"badge-popup widgets-popup title",attrs:{"trigger-element":e.$refs.titleButton},model:{value:l.titleOpen,callback:function(e){l.titleOpen=e},expression:"titleOpen"}},[n("ul",e._l(l.titleList,(function(e){return n("li",{key:e.id,class:{active:e.isActive},attrs:{"data-id":e.id},on:{click:function(n){return l.toggleBadge(e,l.titleList)}}},[n("img",{staticClass:"title-image",attrs:{src:e.imageUrl}})])})),0)]),e._v(" "),n(l.DefaultWidget,{ref:"titleButton",attrs:{icon:"mdi-script-outline"},on:{click:function(e){l.titleOpen=!l.titleOpen}}},[n("span",[e._v("更换头衔")])])],1)};o._withStripped=!0;const a=globalThis.Vue;var r=l(905);const t=coreApis.utils.sort,i=coreApis.ui;var A=l(927);const p=(0,a.defineComponent)({__name:"BadgeHelper",setup(e){const{options:n}=(0,r.getComponentSettings)("badgeHelper"),l=(0,a.ref)(),o=(0,a.ref)([]),p=(0,a.ref)([]),c=(0,a.ref)(!1),d=(0,a.ref)(!1),u=(0,a.ref)(!0),s=()=>{const e=Math.min(Math.ceil(o.value.length/18),15);l.value.style.setProperty("--medal-columns",e.toString());const n=Math.min(Math.ceil(p.value.length/18),15);l.value.style.setProperty("--title-columns",n.toString())},b=async()=>{o.value=(await(0,A.SL)()).sort((0,t.descendingSort)((e=>e.level))).slice(0,n.maxBadgeCount)},g=async()=>{p.value=(await(0,A.xn)()).slice(0,n.maxBadgeCount)};return(0,a.onMounted)((async()=>{(0,r.addComponentListener)("badgeHelper.grayEffect",(e=>{u.value=e}),!0);await(async()=>{const e=b();await A.hE.getImageMap();const n=g();return Promise.all([e,n])})(),s()})),{__sfc:!0,options:n,element:l,medalList:o,titleList:p,medalOpen:c,titleOpen:d,grayEffect:u,updateColumnsCount:s,loadMedalList:b,loadTitleList:g,toggleBadge:async(e,l)=>{if(console.log(e),e.isActive)e.isActive=!1,await e.deactivate();else{const o=l.find((e=>e.isActive));o&&(o.isActive=!1),e.isActive=!0,await e.activate(),e instanceof A.QF&&(n.defaultMedalID=e.id)}e instanceof A.QF?await b():e instanceof A.hE&&await g()},DefaultWidget:i.DefaultWidget,VPopup:i.VPopup}}}),c=p;var d=l(991),u=l.n(d),s=l(948),b=l.n(s),g={insert:"head",singleton:!1};u()(b(),g);b().locals;var f=function(e,n,l,o,a,r,t,i){var A,p="function"==typeof e?e.options:e;if(n&&(p.render=n,p.staticRenderFns=l,p._compiled=!0),o&&(p.functional=!0),r&&(p._scopeId="data-v-"+r),t?(A=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),a&&a.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(t)},p._ssrRegister=A):a&&(A=i?function(){a.call(this,(p.functional?this.parent:this).$root.$options.shadowRoot)}:a),A)if(p.functional){p._injectStyles=A;var c=p.render;p.render=function(e,n){return A.call(n),c(e,n)}}else{var d=p.beforeCreate;p.beforeCreate=d?[].concat(d,A):[A]}return{exports:e,options:p}}(c,o,[],!1,null,null,null);const C=f.exports},651:e=>{function n(e){var n=new Error("Cannot find module '"+e+"'");throw n.code="MODULE_NOT_FOUND",n}n.keys=()=>[],n.resolve=n,n.id=651,e.exports=n},700:e=>{"use strict";e.exports="在直播区中, 可从功能面板中直接切换勋章和头衔. 默认显示 256 个 (同时也是上限), 可在选项中修改.\n"},905:e=>{"use strict";e.exports=coreApis.settings},847:e=>{"use strict";e.exports=coreApis.utils}},o={};function a(e){var n=o[e];if(void 0!==n)return n.exports;var r=o[e]={id:e,exports:{}};return l[e](r,r.exports,a),r.exports}a.n=e=>{var n=e&&e.__esModule?()=>e.default:()=>e;return a.d(n,{a:n}),n},n=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,a.t=function(l,o){if(1&o&&(l=this(l)),8&o)return l;if("object"==typeof l&&l){if(4&o&&l.__esModule)return l;if(16&o&&"function"==typeof l.then)return l}var r=Object.create(null);a.r(r);var t={};e=e||[null,n({}),n([]),n(n)];for(var i=2&o&&l;"object"==typeof i&&!~e.indexOf(i);i=n(i))Object.getOwnPropertyNames(i).forEach((e=>t[e]=()=>l[e]));return t.default=()=>l,a.d(r,t),r},a.d=(e,n)=>{for(var l in n)a.o(n,l)&&!a.o(e,l)&&Object.defineProperty(e,l,{enumerable:!0,get:n[l]})},a.o=(e,n)=>Object.prototype.hasOwnProperty.call(e,n),a.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},a.nc=void 0;var r={};return(()=>{"use strict";a.d(r,{component:()=>t});const e=coreApis.componentApis.define;var n=a(847),l=a(927);const o=(0,e.defineOptionsMetadata)({autoMatchMedal:{defaultValue:!0,displayName:"自动佩戴当前直播间勋章"},maxBadgeCount:{defaultValue:256,displayName:"最大显示数量",validator:(0,n.getNumberValidator)(1,256)},defaultMedalID:{displayName:"默认勋章ID",hidden:!0,defaultValue:0},grayEffect:{displayName:"显示勋章的未点亮状态",defaultValue:!0}}),t=(0,e.defineComponentMetadata)({name:"badgeHelper",displayName:"直播勋章快速更换",entry:()=>(async()=>{const{getUID:e}=await Promise.resolve().then(a.t.bind(a,847,23));if(!e())return;const{getComponentSettings:n}=await Promise.resolve().then(a.t.bind(a,905,23)),{options:o}=n("badgeHelper");if(!o.autoMatchMedal)return;const r=document.URL.match(/^https:\/\/live\.bilibili\.com\/(blanc\/)?([\d]+)/);if(!r)return;const t=parseInt(r[2]);if(Number.isNaN(t))return void console.warn("roomID not found");const i=await(0,l.SL)();if(!o.defaultMedalID){const e=i.find((e=>e.isActive));e&&(o.defaultMedalID=e.id,console.log(`set defaultMedalID to activeMedal (${e.id})`))}const A=o.defaultMedalID?i.find((e=>e.id===o.defaultMedalID)):i.find((e=>e.isActive)),p=i.find((e=>e.roomID===t));p?(await p.activate(),console.log(`activated matchMedal (${p.id})`)):A&&(await A.activate(),console.log(`no matchMedal, fallback to defaultMedal (${A.id})`))})(),reload:n.none,unload:n.none,tags:[componentsTags.live],widget:{component:()=>Promise.resolve().then(a.bind(a,742)).then((e=>e.default)),condition:()=>Boolean((0,n.getUID)())},options:o,urlInclude:["//live.bilibili.com"],commitHash:"d87d69cfb9d7e0124bd90a06fec4569bd61e02c5",coreVersion:"2.10.7",description:(()=>{const e=a(651);return{...Object.fromEntries(e.keys().map((n=>[n.match(/index\.(.+)\.md$/)[1],e(n)]))),"zh-CN":()=>Promise.resolve().then(a.t.bind(a,700,17)).then((e=>e.default))}})()})})(),r=r.component})())); //# sourceMappingURL=https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/registry/dist/components/live/badge-helper.js.map \ No newline at end of file diff --git a/bb-evolved/registry/dist/components/live/badge-keepalive.js b/bb-evolved/registry/dist/components/live/badge-keepalive.js index b01d61f81c..137f584be8 100644 --- a/bb-evolved/registry/dist/components/live/badge-keepalive.js +++ b/bb-evolved/registry/dist/components/live/badge-keepalive.js @@ -11,5 +11,5 @@ var a=this[i][0];null!=a&&(o[a]=!0)}for(var c=0;c{"use strict";var r,o=function(){return void 0===r&&( // @see http://browserhacks.com/#hack-e71d8692f65334173fee715c222cb805 // @see https://github.com/webpack-contrib/style-loader/issues/177 -r=Boolean(window&&document&&document.all&&!window.atob)),r},i=function(){var e={};return function(t){if(void 0===e[t]){var n=document.querySelector(t);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}e[t]=n}return e[t]}}(),a=[];function c(e){for(var t=-1,n=0;n{"use strict";n.r(t),n.d(t,{default:()=>y});var r=function(){var e=this,t=e._self._c,n=e._self._setupProxy;return t("div",{staticClass:"container"},[t("p",{staticClass:"title"},[e._v("一键点亮粉丝勋章")]),e._v(" "),t(n.TextBox,{attrs:{placeholder:"直播间ID",text:n.roomid,"change-on-blur":!0},on:{change:n.handleRoomIdChange}}),e._v(" "),t(n.AsyncButton,{on:{click:n.handleKeepAliveRequest}},[e._v("点亮!")])],1)};r._withStripped=!0;const o=globalThis.Vue,i=coreApis.ui,a=coreApis.ajax;var c=n(847);function s(e){if(0!==e.code)throw new Error(e.message);return e.data}async function l(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"300";const n=await async function(e){return s(await(0,a.getJsonWithCredentials)(`https://api.live.bilibili.com/xlive/web-room/v1/index/getInfoByUser?room_id=${e}`))}(e),{curr_weared:r}=n.medal;if(!r)throw new Error(`暂未获得直播间 ${e} 的粉丝勋章`);const o={click_time:t,room_id:e,anchor_id:r.target_id,uid:(0,c.getUID)(),csrf:(0,c.getCsrf)()};return s(JSON.parse(await(0,a.postTextWithCredentials)("https://api.live.bilibili.com/xlive/app-ucenter/v1/like_info_v3/like/likeReportV3",new URLSearchParams(o))))}const u=coreApis.toast,d=(0,o.defineComponent)({__name:"BadgeKeepalive",setup(e){const t=(0,o.ref)(function(){let e=location.href.match(/live.bilibili.com\/(\d+)/);return e?e[1]:(e=location.href.match(/live.bilibili.com\/blanc\/(\d+)/),e?e[1]:"")}());return{__sfc:!0,roomid:t,handleRoomIdChange:e=>{!function(e){return/^\d+$/.test(e)}(e)?t.value="":t.value=e},handleKeepAliveRequest:async()=>{if(t.value)try{await l(t.value),u.Toast.success("发送点亮勋章请求成功","提示")}catch({message:e}){u.Toast.error(`勋章点亮失败,原因: ${e}`,"提示")}},TextBox:i.TextBox,AsyncButton:i.AsyncButton}}});var f=n(991),p=n.n(f),v=n(916),h=n.n(v),m={insert:"head",singleton:!1};p()(h(),m);h().locals;var b=function(e,t,n,r,o,i,a,c){var s,l="function"==typeof e?e.options:e;if(t&&(l.render=t,l.staticRenderFns=n,l._compiled=!0),r&&(l.functional=!0),i&&(l._scopeId="data-v-"+i),a?(s=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),o&&o.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(a)},l._ssrRegister=s):o&&(s=c?function(){o.call(this,(l.functional?this.parent:this).$root.$options.shadowRoot)}:o),s)if(l.functional){l._injectStyles=s;var u=l.render;l.render=function(e,t){return s.call(t),u(e,t)}}else{var d=l.beforeCreate;l.beforeCreate=d?[].concat(d,s):[s]}return{exports:e,options:l}}(d,r,[],!1,null,"49ecb5bb",null);const y=b.exports},637:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=637,e.exports=t},786:e=>{"use strict";e.exports="在直播间页面的功能面板添加一键点亮粉丝勋章功能,仅适用于有粉丝勋章且正在直播的直播间。原理:发送一个 300 次点赞的请求点亮粉丝勋章。"},847:e=>{"use strict";e.exports=coreApis.utils}},r={};function o(e){var t=r[e];if(void 0!==t)return t.exports;var i=r[e]={id:e,exports:{}};return n[e](i,i.exports,o),i.exports}o.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return o.d(t,{a:t}),t},t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,o.t=function(n,r){if(1&r&&(n=this(n)),8&r)return n;if("object"==typeof n&&n){if(4&r&&n.__esModule)return n;if(16&r&&"function"==typeof n.then)return n}var i=Object.create(null);o.r(i);var a={};e=e||[null,t({}),t([]),t(t)];for(var c=2&r&&n;"object"==typeof c&&!~e.indexOf(c);c=t(c))Object.getOwnPropertyNames(c).forEach((e=>a[e]=()=>n[e]));return a.default=()=>n,o.d(i,a),i},o.d=(e,t)=>{for(var n in t)o.o(t,n)&&!o.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.nc=void 0;var i={};return(()=>{"use strict";o.d(i,{component:()=>r});const e=coreApis.componentApis.define;var t=o(847);const n=coreApis.utils.urls,r=(0,e.defineComponentMetadata)({name:"badgeKeepalive",displayName:"一键点亮直播间粉丝勋章",entry:none,reload:none,unload:none,author:{name:"magicFeirl",link:"https://github.com/magicFeirl"},tags:[componentsTags.live],widget:{component:()=>Promise.resolve().then(o.bind(o,137)).then((e=>e.default)),condition:()=>Boolean((0,t.getUID)())},urlInclude:n.liveUrls,commitHash:"58c0b438ca2371e397f70466a91572cb2757b142",coreVersion:"2.10.7",description:(()=>{const e=o(637);return{...Object.fromEntries(e.keys().map((t=>[t.match(/index\.(.+)\.md$/)[1],e(t)]))),"zh-CN":()=>Promise.resolve().then(o.t.bind(o,786,17)).then((e=>e.default))}})()})})(),i=i.component})())); +r=Boolean(window&&document&&document.all&&!window.atob)),r},i=function(){var e={};return function(t){if(void 0===e[t]){var n=document.querySelector(t);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}e[t]=n}return e[t]}}(),a=[];function c(e){for(var t=-1,n=0;n{"use strict";n.r(t),n.d(t,{default:()=>y});var r=function(){var e=this,t=e._self._c,n=e._self._setupProxy;return t("div",{staticClass:"container"},[t("p",{staticClass:"title"},[e._v("一键点亮粉丝勋章")]),e._v(" "),t(n.TextBox,{attrs:{placeholder:"直播间ID",text:n.roomid,"change-on-blur":!0},on:{change:n.handleRoomIdChange}}),e._v(" "),t(n.AsyncButton,{on:{click:n.handleKeepAliveRequest}},[e._v("点亮!")])],1)};r._withStripped=!0;const o=globalThis.Vue,i=coreApis.ui,a=coreApis.ajax;var c=n(847);function s(e){if(0!==e.code)throw new Error(e.message);return e.data}async function l(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"300";const n=await async function(e){return s(await(0,a.getJsonWithCredentials)(`https://api.live.bilibili.com/xlive/web-room/v1/index/getInfoByUser?room_id=${e}`))}(e),{curr_weared:r}=n.medal;if(!r)throw new Error(`暂未获得直播间 ${e} 的粉丝勋章`);const o={click_time:t,room_id:e,anchor_id:r.target_id,uid:(0,c.getUID)(),csrf:(0,c.getCsrf)()};return s(JSON.parse(await(0,a.postTextWithCredentials)("https://api.live.bilibili.com/xlive/app-ucenter/v1/like_info_v3/like/likeReportV3",new URLSearchParams(o))))}const u=coreApis.toast,d=(0,o.defineComponent)({__name:"BadgeKeepalive",setup(e){const t=(0,o.ref)(function(){let e=location.href.match(/live.bilibili.com\/(\d+)/);return e?e[1]:(e=location.href.match(/live.bilibili.com\/blanc\/(\d+)/),e?e[1]:"")}());return{__sfc:!0,roomid:t,handleRoomIdChange:e=>{!function(e){return/^\d+$/.test(e)}(e)?t.value="":t.value=e},handleKeepAliveRequest:async()=>{if(t.value)try{await l(t.value),u.Toast.success("发送点亮勋章请求成功","提示")}catch({message:e}){u.Toast.error(`勋章点亮失败,原因: ${e}`,"提示")}},TextBox:i.TextBox,AsyncButton:i.AsyncButton}}});var f=n(991),p=n.n(f),v=n(916),h=n.n(v),m={insert:"head",singleton:!1};p()(h(),m);h().locals;var b=function(e,t,n,r,o,i,a,c){var s,l="function"==typeof e?e.options:e;if(t&&(l.render=t,l.staticRenderFns=n,l._compiled=!0),r&&(l.functional=!0),i&&(l._scopeId="data-v-"+i),a?(s=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),o&&o.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(a)},l._ssrRegister=s):o&&(s=c?function(){o.call(this,(l.functional?this.parent:this).$root.$options.shadowRoot)}:o),s)if(l.functional){l._injectStyles=s;var u=l.render;l.render=function(e,t){return s.call(t),u(e,t)}}else{var d=l.beforeCreate;l.beforeCreate=d?[].concat(d,s):[s]}return{exports:e,options:l}}(d,r,[],!1,null,"49ecb5bb",null);const y=b.exports},637:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=637,e.exports=t},786:e=>{"use strict";e.exports="在直播间页面的功能面板添加一键点亮粉丝勋章功能,仅适用于有粉丝勋章且正在直播的直播间。原理:发送一个 300 次点赞的请求点亮粉丝勋章。"},847:e=>{"use strict";e.exports=coreApis.utils}},r={};function o(e){var t=r[e];if(void 0!==t)return t.exports;var i=r[e]={id:e,exports:{}};return n[e](i,i.exports,o),i.exports}o.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return o.d(t,{a:t}),t},t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,o.t=function(n,r){if(1&r&&(n=this(n)),8&r)return n;if("object"==typeof n&&n){if(4&r&&n.__esModule)return n;if(16&r&&"function"==typeof n.then)return n}var i=Object.create(null);o.r(i);var a={};e=e||[null,t({}),t([]),t(t)];for(var c=2&r&&n;"object"==typeof c&&!~e.indexOf(c);c=t(c))Object.getOwnPropertyNames(c).forEach((e=>a[e]=()=>n[e]));return a.default=()=>n,o.d(i,a),i},o.d=(e,t)=>{for(var n in t)o.o(t,n)&&!o.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.nc=void 0;var i={};return(()=>{"use strict";o.d(i,{component:()=>r});const e=coreApis.componentApis.define;var t=o(847);const n=coreApis.utils.urls,r=(0,e.defineComponentMetadata)({name:"badgeKeepalive",displayName:"一键点亮直播间粉丝勋章",entry:none,reload:none,unload:none,author:{name:"magicFeirl",link:"https://github.com/magicFeirl"},tags:[componentsTags.live],widget:{component:()=>Promise.resolve().then(o.bind(o,137)).then((e=>e.default)),condition:()=>Boolean((0,t.getUID)())},urlInclude:n.liveUrls,commitHash:"d87d69cfb9d7e0124bd90a06fec4569bd61e02c5",coreVersion:"2.10.7",description:(()=>{const e=o(637);return{...Object.fromEntries(e.keys().map((t=>[t.match(/index\.(.+)\.md$/)[1],e(t)]))),"zh-CN":()=>Promise.resolve().then(o.t.bind(o,786,17)).then((e=>e.default))}})()})})(),i=i.component})())); //# sourceMappingURL=https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/registry/dist/components/live/badge-keepalive.js.map \ No newline at end of file diff --git a/bb-evolved/registry/dist/components/live/chat-panel-fit.js b/bb-evolved/registry/dist/components/live/chat-panel-fit.js index 81897b2746..5fcfdff65d 100644 --- a/bb-evolved/registry/dist/components/live/chat-panel-fit.js +++ b/bb-evolved/registry/dist/components/live/chat-panel-fit.js @@ -11,5 +11,5 @@ var i=this[a][0];null!=i&&(o[i]=!0)}for(var l=0;l{"use strict";var r,o=function(){return void 0===r&&( // @see http://browserhacks.com/#hack-e71d8692f65334173fee715c222cb805 // @see https://github.com/webpack-contrib/style-loader/issues/177 -r=Boolean(window&&document&&document.all&&!window.atob)),r},a=function(){var e={};return function(n){if(void 0===e[n]){var t=document.querySelector(n);if(window.HTMLIFrameElement&&t instanceof window.HTMLIFrameElement)try{t=t.contentDocument.head}catch(e){t=null}e[n]=t}return e[n]}}(),i=[];function l(e){for(var n=-1,t=0;t{var r=t(99);r&&r.__esModule&&(r=r.default),e.exports="string"==typeof r?r:r.toString()},437:(e,n,t)=>{"use strict";t.d(n,{default:()=>h});var r=function(){var e=this,n=e._self._c,t=e._self._setupProxy;return n("div",{ref:"draggerElement",staticClass:"chat-panel-fit-dragger",class:{dragging:t.isDragging},style:{transform:`translateX(${-t.movement}px)`},on:{pointerdown:t.startDragging,pointermove:t.handlePointerMove,dblclick:t.resetCustomWidth}},[n("div",{staticClass:"chat-panel-fit-dragger-bar"}),e._v(" "),n("div",{staticClass:"chat-panel-fit-dragger-preview-area",style:{width:`${t.previewWidth}px`}},[n("div",{staticClass:"chat-panel-fit-dragger-preview-area-background"},[e._v("\n "+e._s(t.previewWidth.toFixed(1))+"px\n ")])])])};r._withStripped=!0;const o=globalThis.Vue;var a=t(905),i=t(749);const l=(0,o.defineComponent)({__name:"ChatPanelFitDragger",setup(e){const n=(0,o.reactive)((0,a.getComponentSettings)("liveChatPanelFit").options);(0,o.onBeforeMount)((()=>{0!==n.customWidth&&document.documentElement.style.setProperty("--live-chat-panel-width",`${n.customWidth}px`)}));const t=()=>parseFloat(document.documentElement.style.getPropertyValue("--live-chat-panel-width")),r=(0,o.ref)(),l=(0,o.ref)(0),s=(0,o.ref)(0),c=(0,o.computed)((()=>n.customWidth?n.customWidth+s.value:t())),p=(0,o.ref)(!1);return{__sfc:!0,options:n,getAutoWidth:t,draggerElement:r,startPoint:l,movement:s,previewWidth:c,isDragging:p,resetCustomWidth:()=>{n.customWidth=0,window.dispatchEvent(new CustomEvent("customWidthReset"))},handlePointerMove:e=>{if(!p.value)return;const t=l.value-e.screenX;s.value=lodash.clamp(n.customWidth+t,i.C,n.maxWidth)-n.customWidth},startDragging:e=>{p.value=!0,l.value=e.screenX,0===n.customWidth&&(n.customWidth=t()),r.value.setPointerCapture(e.pointerId),document.documentElement.style.cursor="ew-resize",document.documentElement.classList.add("custom-width-dragging"),document.documentElement.addEventListener("pointerup",(()=>{if(document.documentElement.style.cursor="",document.documentElement.classList.remove("custom-width-dragging"),p.value=!1,l.value=0,!s.value)return;const e=c.value;n.customWidth=e,s.value=0,document.documentElement.style.setProperty("--live-chat-panel-width",`${e}px`)}),{once:!0})}}}}),s=l;var c=t(991),p=t.n(c),d=t(251),u=t.n(d),f={insert:"head",singleton:!1};p()(u(),f);u().locals;var A=function(e,n,t,r,o,a,i,l){var s,c="function"==typeof e?e.options:e;if(n&&(c.render=n,c.staticRenderFns=t,c._compiled=!0),r&&(c.functional=!0),a&&(c._scopeId="data-v-"+a),i?(s=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),o&&o.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(i)},c._ssrRegister=s):o&&(s=l?function(){o.call(this,(c.functional?this.parent:this).$root.$options.shadowRoot)}:o),s)if(c.functional){c._injectStyles=s;var p=c.render;c.render=function(e,n){return s.call(n),p(e,n)}}else{var d=c.beforeCreate;c.beforeCreate=d?[].concat(d,s):[s]}return{exports:e,options:c}}(s,r,[],!1,null,null,null);const h=A.exports},910:e=>{function n(e){var n=new Error("Cannot find module '"+e+"'");throw n.code="MODULE_NOT_FOUND",n}n.keys=()=>[],n.resolve=n,n.id=910,e.exports=n},833:e=>{"use strict";e.exports="在直播网页全屏时, 自动调整侧边栏的宽度, 使得视频区域的比例和视频源相匹配, 达到无黑边的效果.\n如果在侧边栏的边缘拖动, 可以自定义侧边栏的固定宽度, 双击边缘可以还原到自动宽度.\n\n- `侧边栏最大宽度 (px)`: 限制侧边栏可被拉伸到的最大宽度. (最小宽度固定为 190px, 再小的话布局就要出问题了)\n\n> 注意, 由于有最大宽度和最小宽度的限制, 部分窗口尺寸下仍然无法做到无黑边.\n"},253:e=>{"use strict";e.exports=coreApis.componentApis.define},905:e=>{"use strict";e.exports=coreApis.settings},847:e=>{"use strict";e.exports=coreApis.utils}},r={};function o(e){var n=r[e];if(void 0!==n)return n.exports;var a=r[e]={id:e,exports:{}};return t[e](a,a.exports,o),a.exports}o.n=e=>{var n=e&&e.__esModule?()=>e.default:()=>e;return o.d(n,{a:n}),n},n=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,o.t=function(t,r){if(1&r&&(t=this(t)),8&r)return t;if("object"==typeof t&&t){if(4&r&&t.__esModule)return t;if(16&r&&"function"==typeof t.then)return t}var a=Object.create(null);o.r(a);var i={};e=e||[null,n({}),n([]),n(n)];for(var l=2&r&&t;"object"==typeof l&&!~e.indexOf(l);l=n(l))Object.getOwnPropertyNames(l).forEach((e=>i[e]=()=>t[e]));return i.default=()=>t,o.d(a,i),a},o.d=(e,n)=>{for(var t in n)o.o(n,t)&&!o.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:n[t]})},o.o=(e,n)=>Object.prototype.hasOwnProperty.call(e,n),o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.nc=void 0;var a={};return(()=>{"use strict";o.d(a,{component:()=>h});var e=o(253),n=o(905);const t=coreApis.spinQuery;var r=o(847);const i=coreApis.utils.log,l=coreApis.utils.urls;var s=o(749);const c="liveChatPanelFit",p=(0,i.useScopedConsole)(c),d=()=>{const{maxWidth:e,customWidth:t}=(0,n.getComponentSettings)(c).options;if(0!==t)return;const r=dq(".live-player-ctnr video");if(!r)return;const o=r.videoWidth,a=r.videoHeight;if(0===o||0===a)return;const{innerWidth:i,innerHeight:l}=window,d=i-o*l/a;p.log({liveChatPanelWidth:d}),document.documentElement.style.setProperty("--live-chat-panel-width",`${lodash.clamp(d,s.C,e)}px`)},u=lodash.debounce(d,200);let f;const A=async()=>{(0,n.addComponentListener)(`${c}.targetRatio`,d),(0,n.addComponentListener)(`${c}.maxWidth`,d),window.addEventListener("customWidthReset",d),window.addEventListener("resize",u);if(!await(0,t.sq)((()=>dq(".live-player-ctnr video")),(e=>null!==e&&e.readyState!==HTMLMediaElement.HAVE_NOTHING)))return void p.log("未找到 video 元素");d();const e=await(0,t.select)(".aside-area-toggle-btn");if(!e)return void p.log("未找到侧边栏按钮");const{default:a}=await Promise.resolve().then(o.bind(o,437));f=(0,r.mountVueComponent)(a),e.insertAdjacentElement("afterend",f.$el)},h=(0,e.defineComponentMetadata)({name:c,displayName:"直播间网页全屏自适应",tags:[componentsTags.live,componentsTags.style],urlInclude:[...l.liveUrls],entry:A,reload:A,unload:()=>{(0,n.removeComponentListener)(`${c}.targetRatio`,d),(0,n.removeComponentListener)(`${c}.maxWidth`,d),window.removeEventListener("customWidthReset",d),window.removeEventListener("resize",u),document.documentElement.style.removeProperty("--live-chat-panel-width"),f&&(f.$el.remove(),f.$destroy(),f=void 0)},instantStyles:[{name:c,style:()=>Promise.resolve().then(o.t.bind(o,109,23)),important:!0}],options:s.u,commitHash:"58c0b438ca2371e397f70466a91572cb2757b142",coreVersion:"2.10.7",description:(()=>{const e=o(910);return{...Object.fromEntries(e.keys().map((n=>[n.match(/index\.(.+)\.md$/)[1],e(n)]))),"zh-CN":()=>Promise.resolve().then(o.t.bind(o,833,17)).then((e=>e.default))}})()})})(),a=a.component})())); +r=Boolean(window&&document&&document.all&&!window.atob)),r},a=function(){var e={};return function(n){if(void 0===e[n]){var t=document.querySelector(n);if(window.HTMLIFrameElement&&t instanceof window.HTMLIFrameElement)try{t=t.contentDocument.head}catch(e){t=null}e[n]=t}return e[n]}}(),i=[];function l(e){for(var n=-1,t=0;t{var r=t(99);r&&r.__esModule&&(r=r.default),e.exports="string"==typeof r?r:r.toString()},437:(e,n,t)=>{"use strict";t.d(n,{default:()=>h});var r=function(){var e=this,n=e._self._c,t=e._self._setupProxy;return n("div",{ref:"draggerElement",staticClass:"chat-panel-fit-dragger",class:{dragging:t.isDragging},style:{transform:`translateX(${-t.movement}px)`},on:{pointerdown:t.startDragging,pointermove:t.handlePointerMove,dblclick:t.resetCustomWidth}},[n("div",{staticClass:"chat-panel-fit-dragger-bar"}),e._v(" "),n("div",{staticClass:"chat-panel-fit-dragger-preview-area",style:{width:`${t.previewWidth}px`}},[n("div",{staticClass:"chat-panel-fit-dragger-preview-area-background"},[e._v("\n "+e._s(t.previewWidth.toFixed(1))+"px\n ")])])])};r._withStripped=!0;const o=globalThis.Vue;var a=t(905),i=t(749);const l=(0,o.defineComponent)({__name:"ChatPanelFitDragger",setup(e){const n=(0,o.reactive)((0,a.getComponentSettings)("liveChatPanelFit").options);(0,o.onBeforeMount)((()=>{0!==n.customWidth&&document.documentElement.style.setProperty("--live-chat-panel-width",`${n.customWidth}px`)}));const t=()=>parseFloat(document.documentElement.style.getPropertyValue("--live-chat-panel-width")),r=(0,o.ref)(),l=(0,o.ref)(0),s=(0,o.ref)(0),c=(0,o.computed)((()=>n.customWidth?n.customWidth+s.value:t())),d=(0,o.ref)(!1);return{__sfc:!0,options:n,getAutoWidth:t,draggerElement:r,startPoint:l,movement:s,previewWidth:c,isDragging:d,resetCustomWidth:()=>{n.customWidth=0,window.dispatchEvent(new CustomEvent("customWidthReset"))},handlePointerMove:e=>{if(!d.value)return;const t=l.value-e.screenX;s.value=lodash.clamp(n.customWidth+t,i.C,n.maxWidth)-n.customWidth},startDragging:e=>{d.value=!0,l.value=e.screenX,0===n.customWidth&&(n.customWidth=t()),r.value.setPointerCapture(e.pointerId),document.documentElement.style.cursor="ew-resize",document.documentElement.classList.add("custom-width-dragging"),document.documentElement.addEventListener("pointerup",(()=>{if(document.documentElement.style.cursor="",document.documentElement.classList.remove("custom-width-dragging"),d.value=!1,l.value=0,!s.value)return;const e=c.value;n.customWidth=e,s.value=0,document.documentElement.style.setProperty("--live-chat-panel-width",`${e}px`)}),{once:!0})}}}}),s=l;var c=t(991),d=t.n(c),p=t(251),u=t.n(p),f={insert:"head",singleton:!1};d()(u(),f);u().locals;var A=function(e,n,t,r,o,a,i,l){var s,c="function"==typeof e?e.options:e;if(n&&(c.render=n,c.staticRenderFns=t,c._compiled=!0),r&&(c.functional=!0),a&&(c._scopeId="data-v-"+a),i?(s=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),o&&o.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(i)},c._ssrRegister=s):o&&(s=l?function(){o.call(this,(c.functional?this.parent:this).$root.$options.shadowRoot)}:o),s)if(c.functional){c._injectStyles=s;var d=c.render;c.render=function(e,n){return s.call(n),d(e,n)}}else{var p=c.beforeCreate;c.beforeCreate=p?[].concat(p,s):[s]}return{exports:e,options:c}}(s,r,[],!1,null,null,null);const h=A.exports},910:e=>{function n(e){var n=new Error("Cannot find module '"+e+"'");throw n.code="MODULE_NOT_FOUND",n}n.keys=()=>[],n.resolve=n,n.id=910,e.exports=n},833:e=>{"use strict";e.exports="在直播网页全屏时, 自动调整侧边栏的宽度, 使得视频区域的比例和视频源相匹配, 达到无黑边的效果.\n如果在侧边栏的边缘拖动, 可以自定义侧边栏的固定宽度, 双击边缘可以还原到自动宽度.\n\n- `侧边栏最大宽度 (px)`: 限制侧边栏可被拉伸到的最大宽度. (最小宽度固定为 190px, 再小的话布局就要出问题了)\n\n> 注意, 由于有最大宽度和最小宽度的限制, 部分窗口尺寸下仍然无法做到无黑边.\n"},253:e=>{"use strict";e.exports=coreApis.componentApis.define},905:e=>{"use strict";e.exports=coreApis.settings},847:e=>{"use strict";e.exports=coreApis.utils}},r={};function o(e){var n=r[e];if(void 0!==n)return n.exports;var a=r[e]={id:e,exports:{}};return t[e](a,a.exports,o),a.exports}o.n=e=>{var n=e&&e.__esModule?()=>e.default:()=>e;return o.d(n,{a:n}),n},n=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,o.t=function(t,r){if(1&r&&(t=this(t)),8&r)return t;if("object"==typeof t&&t){if(4&r&&t.__esModule)return t;if(16&r&&"function"==typeof t.then)return t}var a=Object.create(null);o.r(a);var i={};e=e||[null,n({}),n([]),n(n)];for(var l=2&r&&t;"object"==typeof l&&!~e.indexOf(l);l=n(l))Object.getOwnPropertyNames(l).forEach((e=>i[e]=()=>t[e]));return i.default=()=>t,o.d(a,i),a},o.d=(e,n)=>{for(var t in n)o.o(n,t)&&!o.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:n[t]})},o.o=(e,n)=>Object.prototype.hasOwnProperty.call(e,n),o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.nc=void 0;var a={};return(()=>{"use strict";o.d(a,{component:()=>h});var e=o(253),n=o(905);const t=coreApis.spinQuery;var r=o(847);const i=coreApis.utils.log,l=coreApis.utils.urls;var s=o(749);const c="liveChatPanelFit",d=(0,i.useScopedConsole)(c),p=()=>{const{maxWidth:e,customWidth:t}=(0,n.getComponentSettings)(c).options;if(0!==t)return;const r=dq(".live-player-ctnr video");if(!r)return;const o=r.videoWidth,a=r.videoHeight;if(0===o||0===a)return;const{innerWidth:i,innerHeight:l}=window,p=i-o*l/a;d.log({liveChatPanelWidth:p}),document.documentElement.style.setProperty("--live-chat-panel-width",`${lodash.clamp(p,s.C,e)}px`)},u=lodash.debounce(p,200);let f;const A=async()=>{(0,n.addComponentListener)(`${c}.targetRatio`,p),(0,n.addComponentListener)(`${c}.maxWidth`,p),window.addEventListener("customWidthReset",p),window.addEventListener("resize",u);if(!await(0,t.sq)((()=>dq(".live-player-ctnr video")),(e=>null!==e&&e.readyState!==HTMLMediaElement.HAVE_NOTHING)))return void d.log("未找到 video 元素");p();const e=await(0,t.select)(".aside-area-toggle-btn");if(!e)return void d.log("未找到侧边栏按钮");const{default:a}=await Promise.resolve().then(o.bind(o,437));f=(0,r.mountVueComponent)(a),e.insertAdjacentElement("afterend",f.$el)},h=(0,e.defineComponentMetadata)({name:c,displayName:"直播间网页全屏自适应",tags:[componentsTags.live,componentsTags.style],urlInclude:[...l.liveUrls],entry:A,reload:A,unload:()=>{(0,n.removeComponentListener)(`${c}.targetRatio`,p),(0,n.removeComponentListener)(`${c}.maxWidth`,p),window.removeEventListener("customWidthReset",p),window.removeEventListener("resize",u),document.documentElement.style.removeProperty("--live-chat-panel-width"),f&&(f.$el.remove(),f.$destroy(),f=void 0)},instantStyles:[{name:c,style:()=>Promise.resolve().then(o.t.bind(o,109,23)),important:!0}],options:s.u,commitHash:"d87d69cfb9d7e0124bd90a06fec4569bd61e02c5",coreVersion:"2.10.7",description:(()=>{const e=o(910);return{...Object.fromEntries(e.keys().map((n=>[n.match(/index\.(.+)\.md$/)[1],e(n)]))),"zh-CN":()=>Promise.resolve().then(o.t.bind(o,833,17)).then((e=>e.default))}})()})})(),a=a.component})())); //# sourceMappingURL=https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/registry/dist/components/live/chat-panel-fit.js.map \ No newline at end of file diff --git a/bb-evolved/registry/dist/components/live/danmaku-sendbar.js b/bb-evolved/registry/dist/components/live/danmaku-sendbar.js index c8cd75de6a..69e2f38026 100644 --- a/bb-evolved/registry/dist/components/live/danmaku-sendbar.js +++ b/bb-evolved/registry/dist/components/live/danmaku-sendbar.js @@ -11,5 +11,5 @@ var i=this[a][0];null!=i&&(o[i]=!0)}for(var l=0;l{"use strict";var r,o=function(){return void 0===r&&( // @see http://browserhacks.com/#hack-e71d8692f65334173fee715c222cb805 // @see https://github.com/webpack-contrib/style-loader/issues/177 -r=Boolean(window&&document&&document.all&&!window.atob)),r},a=function(){var e={};return function(n){if(void 0===e[n]){var t=document.querySelector(n);if(window.HTMLIFrameElement&&t instanceof window.HTMLIFrameElement)try{t=t.contentDocument.head}catch(e){t=null}e[n]=t}return e[n]}}(),i=[];function l(e){for(var n=-1,t=0;t{"use strict";t.r(n),t.d(n,{default:()=>A});var r=function(){var e=this,n=e._self._c;e._self._setupProxy;return n("div",{staticClass:"danmaku-send-bar"},[n("input",{attrs:{type:"text",placeholder:"发个弹幕呗~",maxlength:"30"},domProps:{value:e.value},on:{keydown:function(n){return!n.type.indexOf("key")&&e._k(n.keyCode,"enter",13,n.key,"Enter")?null:e.send()},input:function(n){return e.updateValue(n.target.value)}}})])};r._withStripped=!0;const o=coreApis.spinQuery;var a=t(847),i=t(146);let l=!1;const s=Vue.extend({data:()=>({originalTextArea:null,sendButton:null,value:""}),async mounted(){const e=await(0,o.select)(i.BE),n=await(0,o.select)(i.eL);if(!e||!n)throw new Error(`[danmakuSendBar] ref elements not found. originalTextArea = ${null===e} sendButton = ${null===n}`);if(this.originalTextArea=e,this.sendButton=n,this.value=e.value,e.addEventListener("input",this.listenChange),e.addEventListener("change",this.listenChange),!l){const n=Object.getOwnPropertyDescriptors(HTMLTextAreaElement.prototype).value;Object.defineProperty(e,"value",{...n,set(t){n.set?.call(this,t),(0,a.raiseEvent)(e,"input")}}),l=!0}},beforeDestroy(){this.originalTextArea.removeEventListener("input",this.listenChange),this.originalTextArea.removeEventListener("change",this.listenChange)},methods:{updateValue(e){this.originalTextArea.value=e,(0,a.raiseEvent)(this.originalTextArea,"input")},send(){this.sendButton.disabled||(this.value="",this.sendButton.click())},listenChange(e){this.value=e.target.value}}});var u=t(991),c=t.n(u),d=t(321),p=t.n(d),f={insert:"head",singleton:!1};c()(p(),f);p().locals;var m=function(e,n,t,r,o,a,i,l){var s,u="function"==typeof e?e.options:e;if(n&&(u.render=n,u.staticRenderFns=t,u._compiled=!0),r&&(u.functional=!0),a&&(u._scopeId="data-v-"+a),i?(s=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),o&&o.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(i)},u._ssrRegister=s):o&&(s=l?function(){o.call(this,(u.functional?this.parent:this).$root.$options.shadowRoot)}:o),s)if(u.functional){u._injectStyles=s;var c=u.render;u.render=function(e,n){return s.call(n),c(e,n)}}else{var d=u.beforeCreate;u.beforeCreate=d?[].concat(d,s):[s]}return{exports:e,options:u}}(s,r,[],!1,null,null,null);const A=m.exports},847:e=>{"use strict";e.exports=coreApis.utils}},r={};function o(e){var n=r[e];if(void 0!==n)return n.exports;var a=r[e]={id:e,exports:{}};return t[e](a,a.exports,o),a.exports}o.n=e=>{var n=e&&e.__esModule?()=>e.default:()=>e;return o.d(n,{a:n}),n},n=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,o.t=function(t,r){if(1&r&&(t=this(t)),8&r)return t;if("object"==typeof t&&t){if(4&r&&t.__esModule)return t;if(16&r&&"function"==typeof t.then)return t}var a=Object.create(null);o.r(a);var i={};e=e||[null,n({}),n([]),n(n)];for(var l=2&r&&t;"object"==typeof l&&!~e.indexOf(l);l=n(l))Object.getOwnPropertyNames(l).forEach((e=>i[e]=()=>t[e]));return i.default=()=>t,o.d(a,i),a},o.d=(e,n)=>{for(var t in n)o.o(n,t)&&!o.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:n[t]})},o.o=(e,n)=>Object.prototype.hasOwnProperty.call(e,n),o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.nc=void 0;var a={};return(()=>{"use strict";o.d(a,{component:()=>l});const e=coreApis.componentApis.live.liveControlBar,n=coreApis.componentApis.define;var t=o(847);const r=coreApis.utils.urls;var i=o(146);const l=(0,n.defineComponentMetadata)({name:"liveDanmakuSendbar",displayName:"直播弹幕发送栏",tags:[componentsTags.live],description:{"zh-CN":"在直播的网页全屏和全屏模式状态下, 在底部显示弹幕栏."},entry:async()=>{if(!(0,t.getUID)())return;let n;(0,e.waitForControlBar)({callback:async e=>{const t=dq(e,i.PT);if(!t)throw new Error("[danmakuSendBar] leftController not found");if(!dq(e,".danmaku-send-bar")){if(!n){const{mountVueComponent:e}=await Promise.resolve().then(o.t.bind(o,847,23)),t=await Promise.resolve().then(o.bind(o,42));n=e(t).$el}t.insertAdjacentElement("afterend",n)}}})},reload:()=>document.body.classList.remove("danmaku-send-bar-unloaded"),unload:()=>document.body.classList.add("danmaku-send-bar-unloaded"),urlInclude:r.liveUrls,commitHash:"58c0b438ca2371e397f70466a91572cb2757b142",coreVersion:"2.10.7"})})(),a=a.component})())); +r=Boolean(window&&document&&document.all&&!window.atob)),r},a=function(){var e={};return function(n){if(void 0===e[n]){var t=document.querySelector(n);if(window.HTMLIFrameElement&&t instanceof window.HTMLIFrameElement)try{t=t.contentDocument.head}catch(e){t=null}e[n]=t}return e[n]}}(),i=[];function l(e){for(var n=-1,t=0;t{"use strict";t.r(n),t.d(n,{default:()=>A});var r=function(){var e=this,n=e._self._c;e._self._setupProxy;return n("div",{staticClass:"danmaku-send-bar"},[n("input",{attrs:{type:"text",placeholder:"发个弹幕呗~",maxlength:"30"},domProps:{value:e.value},on:{keydown:function(n){return!n.type.indexOf("key")&&e._k(n.keyCode,"enter",13,n.key,"Enter")?null:e.send()},input:function(n){return e.updateValue(n.target.value)}}})])};r._withStripped=!0;const o=coreApis.spinQuery;var a=t(847),i=t(146);let l=!1;const s=Vue.extend({data:()=>({originalTextArea:null,sendButton:null,value:""}),async mounted(){const e=await(0,o.select)(i.BE),n=await(0,o.select)(i.eL);if(!e||!n)throw new Error(`[danmakuSendBar] ref elements not found. originalTextArea = ${null===e} sendButton = ${null===n}`);if(this.originalTextArea=e,this.sendButton=n,this.value=e.value,e.addEventListener("input",this.listenChange),e.addEventListener("change",this.listenChange),!l){const n=Object.getOwnPropertyDescriptors(HTMLTextAreaElement.prototype).value;Object.defineProperty(e,"value",{...n,set(t){n.set?.call(this,t),(0,a.raiseEvent)(e,"input")}}),l=!0}},beforeDestroy(){this.originalTextArea.removeEventListener("input",this.listenChange),this.originalTextArea.removeEventListener("change",this.listenChange)},methods:{updateValue(e){this.originalTextArea.value=e,(0,a.raiseEvent)(this.originalTextArea,"input")},send(){this.sendButton.disabled||(this.value="",this.sendButton.click())},listenChange(e){this.value=e.target.value}}});var u=t(991),c=t.n(u),d=t(321),p=t.n(d),f={insert:"head",singleton:!1};c()(p(),f);p().locals;var m=function(e,n,t,r,o,a,i,l){var s,u="function"==typeof e?e.options:e;if(n&&(u.render=n,u.staticRenderFns=t,u._compiled=!0),r&&(u.functional=!0),a&&(u._scopeId="data-v-"+a),i?(s=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),o&&o.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(i)},u._ssrRegister=s):o&&(s=l?function(){o.call(this,(u.functional?this.parent:this).$root.$options.shadowRoot)}:o),s)if(u.functional){u._injectStyles=s;var c=u.render;u.render=function(e,n){return s.call(n),c(e,n)}}else{var d=u.beforeCreate;u.beforeCreate=d?[].concat(d,s):[s]}return{exports:e,options:u}}(s,r,[],!1,null,null,null);const A=m.exports},847:e=>{"use strict";e.exports=coreApis.utils}},r={};function o(e){var n=r[e];if(void 0!==n)return n.exports;var a=r[e]={id:e,exports:{}};return t[e](a,a.exports,o),a.exports}o.n=e=>{var n=e&&e.__esModule?()=>e.default:()=>e;return o.d(n,{a:n}),n},n=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,o.t=function(t,r){if(1&r&&(t=this(t)),8&r)return t;if("object"==typeof t&&t){if(4&r&&t.__esModule)return t;if(16&r&&"function"==typeof t.then)return t}var a=Object.create(null);o.r(a);var i={};e=e||[null,n({}),n([]),n(n)];for(var l=2&r&&t;"object"==typeof l&&!~e.indexOf(l);l=n(l))Object.getOwnPropertyNames(l).forEach((e=>i[e]=()=>t[e]));return i.default=()=>t,o.d(a,i),a},o.d=(e,n)=>{for(var t in n)o.o(n,t)&&!o.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:n[t]})},o.o=(e,n)=>Object.prototype.hasOwnProperty.call(e,n),o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.nc=void 0;var a={};return(()=>{"use strict";o.d(a,{component:()=>l});const e=coreApis.componentApis.live.liveControlBar,n=coreApis.componentApis.define;var t=o(847);const r=coreApis.utils.urls;var i=o(146);const l=(0,n.defineComponentMetadata)({name:"liveDanmakuSendbar",displayName:"直播弹幕发送栏",tags:[componentsTags.live],description:{"zh-CN":"在直播的网页全屏和全屏模式状态下, 在底部显示弹幕栏."},entry:async()=>{if(!(0,t.getUID)())return;let n;(0,e.waitForControlBar)({callback:async e=>{const t=dq(e,i.PT);if(!t)throw new Error("[danmakuSendBar] leftController not found");if(!dq(e,".danmaku-send-bar")){if(!n){const{mountVueComponent:e}=await Promise.resolve().then(o.t.bind(o,847,23)),t=await Promise.resolve().then(o.bind(o,42));n=e(t).$el}t.insertAdjacentElement("afterend",n)}}})},reload:()=>document.body.classList.remove("danmaku-send-bar-unloaded"),unload:()=>document.body.classList.add("danmaku-send-bar-unloaded"),urlInclude:r.liveUrls,commitHash:"d87d69cfb9d7e0124bd90a06fec4569bd61e02c5",coreVersion:"2.10.7"})})(),a=a.component})())); //# sourceMappingURL=https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/registry/dist/components/live/danmaku-sendbar.js.map \ No newline at end of file diff --git a/bb-evolved/registry/dist/components/live/front-back-volume.js b/bb-evolved/registry/dist/components/live/front-back-volume.js index 50317bee6e..de0ef00f67 100644 --- a/bb-evolved/registry/dist/components/live/front-back-volume.js +++ b/bb-evolved/registry/dist/components/live/front-back-volume.js @@ -1,2 +1,2 @@ -!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["live/front-back-volume"]=t():e["live/front-back-volume"]=t()}(globalThis,(()=>(()=>{var e,t,o={843:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=843,e.exports=t},24:e=>{"use strict";e.exports="# 使用说明\n\n\x3c!-- (http://localhost:23333/registry/dist/components/live/front-back-volume.js) --\x3e\n\n1. 分别设定前台/后台音量\n2. 当你切换到其他标签页或最小化窗口时,播放器会自动改用“后台音量”\n3. 若未生效,请先点击一下直播页面再试。\n4. 手动调音量不受影响\n"}},n={};function r(e){var t=n[e];if(void 0!==t)return t.exports;var i=n[e]={exports:{}};return o[e](i,i.exports,r),i.exports}t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,r.t=function(o,n){if(1&n&&(o=this(o)),8&n)return o;if("object"==typeof o&&o){if(4&n&&o.__esModule)return o;if(16&n&&"function"==typeof o.then)return o}var i=Object.create(null);r.r(i);var l={};e=e||[null,t({}),t([]),t(t)];for(var a=2&n&&o;"object"==typeof a&&!~e.indexOf(a);a=t(a))Object.getOwnPropertyNames(a).forEach((e=>l[e]=()=>o[e]));return l.default=()=>o,r.d(i,l),i},r.d=(e,t)=>{for(var o in t)r.o(t,o)&&!r.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var i={};return(()=>{"use strict";r.d(i,{component:()=>h});const e=coreApis.componentApis.define,t=coreApis.utils.urls,o=coreApis.spinQuery,n=coreApis.utils,l=coreApis.settings,a=(0,e.defineOptionsMetadata)({foregroundVolume:{displayName:"前台音量",defaultValue:10,validator:e=>{const t=Math.round(e);return t>=0&&t<=100?t:10}},backgroundVolume:{displayName:"后台音量",defaultValue:3,validator:e=>{const t=Math.round(e);return t>=0&&t<=100?t:3}},enableLogging:{displayName:"启用日志输出",defaultValue:!0}});let s=null,u=!1,c=.1,d=.03,m=null,p=null,f=null,v=null;const b=()=>{let e=location.href.match(/live.bilibili.com\/(\d+)/);return e?e[1]:(e=location.href.match(/live.bilibili.com\/blanc\/(\d+)/),e?e[1]:"")},y=e=>{if(!s)return;const t="visible"===document.visibilityState&&document.hasFocus(),o=t?c:d,n=b();s.volume=Math.max(0,Math.min(1,o)),e&&console.log(`[前后台音量调节] 房间号: ${n} - 音量已设置为: ${t?"前台":"后台"} ${Math.round(100*o)}%`)},g=async e=>{try{s=await(async()=>{try{const e=await(0,o.select)("video");return e&&e.readyState>0?e:null}catch{return null}})();const t=b();return s?(y(e),u||(m=()=>{s&&y(e)},p=()=>y(e),f=()=>y(e),v=()=>y(e),s.addEventListener("loadedmetadata",m),document.addEventListener("visibilitychange",p),window.addEventListener("focus",f),window.addEventListener("blur",v),u=!0,e&&console.log(`[前后台音量调节] 房间号: ${t} - B站直播音量自动调节器已激活`)),Promise.resolve()):(e&&console.log(`[前后台音量调节] 房间号: ${t} - 未找到视频元素,10秒后重试...`),await(0,n.delay)(1e4),g(e))}catch(t){const o=b();return e&&console.error(`[前后台音量调节] 房间号: ${o} - 设置音量控制时出错:`,t),Promise.resolve()}},h=(0,e.defineComponentMetadata)({name:"frontBackVolume",displayName:"直播前后台音量自动调节",description:"自动调节B站直播音量,前台和后台使用不同音量",author:{name:"KDH-KDHKDH",link:"https://github.com/KDH-KDHKDH"},tags:[componentsTags.live],urlInclude:t.liveUrls,entry:async e=>{let{settings:t,metadata:o}=e;const{foregroundVolume:r,backgroundVolume:i,enableLogging:a}=t.options;c=r/100,d=i/100,(0,l.addComponentListener)(`${o.name}.foregroundVolume`,(e=>{c=e/100,y(a)})),(0,l.addComponentListener)(`${o.name}.backgroundVolume`,(e=>{d=e/100,y(a)}));new MutationObserver((()=>{s&&document.contains(s)||g(a)})).observe(document.body,{childList:!0,subtree:!0}),await(0,n.delay)(2e3),await g(a)},options:a,reload:async()=>{const e=(0,l.getComponentSettings)("frontBackVolume");s&&m&&s.removeEventListener("loadedmetadata",m),p&&document.removeEventListener("visibilitychange",p),f&&window.removeEventListener("focus",f),v&&window.removeEventListener("blur",v),u=!1,s=null,m=null,p=null,f=null,v=null,c=e.options.foregroundVolume/100,d=e.options.backgroundVolume/100,await g(e.options.enableLogging)},unload:()=>{s&&m&&s.removeEventListener("loadedmetadata",m),p&&document.removeEventListener("visibilitychange",p),f&&window.removeEventListener("focus",f),v&&window.removeEventListener("blur",v),u=!1,s=null,m=null,p=null,f=null,v=null,c=.1,d=.03},commitHash:"58c0b438ca2371e397f70466a91572cb2757b142",coreVersion:"2.10.7",description:(()=>{const e=r(843);return{...Object.fromEntries(e.keys().map((t=>[t.match(/index\.(.+)\.md$/)[1],e(t)]))),"zh-CN":()=>Promise.resolve().then(r.t.bind(r,24,17)).then((e=>e.default))}})()})})(),i=i.component})())); +!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["live/front-back-volume"]=t():e["live/front-back-volume"]=t()}(globalThis,(()=>(()=>{var e,t,o={843:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=843,e.exports=t},24:e=>{"use strict";e.exports="# 使用说明\n\n\x3c!-- (http://localhost:23333/registry/dist/components/live/front-back-volume.js) --\x3e\n\n1. 分别设定前台/后台音量\n2. 当你切换到其他标签页或最小化窗口时,播放器会自动改用“后台音量”\n3. 若未生效,请先点击一下直播页面再试。\n4. 手动调音量不受影响\n"}},n={};function r(e){var t=n[e];if(void 0!==t)return t.exports;var i=n[e]={exports:{}};return o[e](i,i.exports,r),i.exports}t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,r.t=function(o,n){if(1&n&&(o=this(o)),8&n)return o;if("object"==typeof o&&o){if(4&n&&o.__esModule)return o;if(16&n&&"function"==typeof o.then)return o}var i=Object.create(null);r.r(i);var l={};e=e||[null,t({}),t([]),t(t)];for(var a=2&n&&o;"object"==typeof a&&!~e.indexOf(a);a=t(a))Object.getOwnPropertyNames(a).forEach((e=>l[e]=()=>o[e]));return l.default=()=>o,r.d(i,l),i},r.d=(e,t)=>{for(var o in t)r.o(t,o)&&!r.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var i={};return(()=>{"use strict";r.d(i,{component:()=>h});const e=coreApis.componentApis.define,t=coreApis.utils.urls,o=coreApis.spinQuery,n=coreApis.utils,l=coreApis.settings,a=(0,e.defineOptionsMetadata)({foregroundVolume:{displayName:"前台音量",defaultValue:10,validator:e=>{const t=Math.round(e);return t>=0&&t<=100?t:10}},backgroundVolume:{displayName:"后台音量",defaultValue:3,validator:e=>{const t=Math.round(e);return t>=0&&t<=100?t:3}},enableLogging:{displayName:"启用日志输出",defaultValue:!0}});let s=null,u=!1,d=.1,c=.03,m=null,f=null,p=null,v=null;const b=()=>{let e=location.href.match(/live.bilibili.com\/(\d+)/);return e?e[1]:(e=location.href.match(/live.bilibili.com\/blanc\/(\d+)/),e?e[1]:"")},y=e=>{if(!s)return;const t="visible"===document.visibilityState&&document.hasFocus(),o=t?d:c,n=b();s.volume=Math.max(0,Math.min(1,o)),e&&console.log(`[前后台音量调节] 房间号: ${n} - 音量已设置为: ${t?"前台":"后台"} ${Math.round(100*o)}%`)},g=async e=>{try{s=await(async()=>{try{const e=await(0,o.select)("video");return e&&e.readyState>0?e:null}catch{return null}})();const t=b();return s?(y(e),u||(m=()=>{s&&y(e)},f=()=>y(e),p=()=>y(e),v=()=>y(e),s.addEventListener("loadedmetadata",m),document.addEventListener("visibilitychange",f),window.addEventListener("focus",p),window.addEventListener("blur",v),u=!0,e&&console.log(`[前后台音量调节] 房间号: ${t} - B站直播音量自动调节器已激活`)),Promise.resolve()):(e&&console.log(`[前后台音量调节] 房间号: ${t} - 未找到视频元素,10秒后重试...`),await(0,n.delay)(1e4),g(e))}catch(t){const o=b();return e&&console.error(`[前后台音量调节] 房间号: ${o} - 设置音量控制时出错:`,t),Promise.resolve()}},h=(0,e.defineComponentMetadata)({name:"frontBackVolume",displayName:"直播前后台音量自动调节",description:"自动调节B站直播音量,前台和后台使用不同音量",author:{name:"KDH-KDHKDH",link:"https://github.com/KDH-KDHKDH"},tags:[componentsTags.live],urlInclude:t.liveUrls,entry:async e=>{let{settings:t,metadata:o}=e;const{foregroundVolume:r,backgroundVolume:i,enableLogging:a}=t.options;d=r/100,c=i/100,(0,l.addComponentListener)(`${o.name}.foregroundVolume`,(e=>{d=e/100,y(a)})),(0,l.addComponentListener)(`${o.name}.backgroundVolume`,(e=>{c=e/100,y(a)}));new MutationObserver((()=>{s&&document.contains(s)||g(a)})).observe(document.body,{childList:!0,subtree:!0}),await(0,n.delay)(2e3),await g(a)},options:a,reload:async()=>{const e=(0,l.getComponentSettings)("frontBackVolume");s&&m&&s.removeEventListener("loadedmetadata",m),f&&document.removeEventListener("visibilitychange",f),p&&window.removeEventListener("focus",p),v&&window.removeEventListener("blur",v),u=!1,s=null,m=null,f=null,p=null,v=null,d=e.options.foregroundVolume/100,c=e.options.backgroundVolume/100,await g(e.options.enableLogging)},unload:()=>{s&&m&&s.removeEventListener("loadedmetadata",m),f&&document.removeEventListener("visibilitychange",f),p&&window.removeEventListener("focus",p),v&&window.removeEventListener("blur",v),u=!1,s=null,m=null,f=null,p=null,v=null,d=.1,c=.03},commitHash:"d87d69cfb9d7e0124bd90a06fec4569bd61e02c5",coreVersion:"2.10.7",description:(()=>{const e=r(843);return{...Object.fromEntries(e.keys().map((t=>[t.match(/index\.(.+)\.md$/)[1],e(t)]))),"zh-CN":()=>Promise.resolve().then(r.t.bind(r,24,17)).then((e=>e.default))}})()})})(),i=i.component})())); //# sourceMappingURL=https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/registry/dist/components/live/front-back-volume.js.map \ No newline at end of file diff --git a/bb-evolved/registry/dist/components/live/gift-box.js b/bb-evolved/registry/dist/components/live/gift-box.js index 8b141d8653..3aed1d793d 100644 --- a/bb-evolved/registry/dist/components/live/gift-box.js +++ b/bb-evolved/registry/dist/components/live/gift-box.js @@ -8,5 +8,5 @@ n=[[null,n,""]]);var o={};if(e)for(var i=0;i{"use strict";function t(n,t){return function(n){if(Array.isArray(n))return n}(n)||function(n,t){var r=n&&("undefined"!=typeof Symbol&&n[Symbol.iterator]||n["@@iterator"]);if(null==r)return;var e,o,i=[],a=!0,l=!1;try{for(r=r.call(n);!(a=(e=r.next()).done)&&(i.push(e.value),!t||i.length!==t);a=!0);}catch(n){l=!0,o=n}finally{try{a||null==r.return||r.return()}finally{if(l)throw o}}return i}(n,t)||function(n,t){if(!n)return;if("string"==typeof n)return r(n,t);var e=Object.prototype.toString.call(n).slice(8,-1);"Object"===e&&n.constructor&&(e=n.constructor.name);if("Map"===e||"Set"===e)return Array.from(n);if("Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e))return r(n,t)}(n,t)||function(){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 r(n,t){(null==t||t>n.length)&&(t=n.length);for(var r=0,e=new Array(t);r{var e=r(816);e&&e.__esModule&&(e=e.default),n.exports="string"==typeof e?e:e.toString()}},t={};function r(e){var o=t[e];if(void 0!==o)return o.exports;var i=t[e]={id:e,exports:{}};return n[e](i,i.exports,r),i.exports}r.n=n=>{var t=n&&n.__esModule?()=>n.default:()=>n;return r.d(t,{a:t}),t},r.d=(n,t)=>{for(var e in t)r.o(t,e)&&!r.o(n,e)&&Object.defineProperty(n,e,{enumerable:!0,get:t[e]})},r.o=(n,t)=>Object.prototype.hasOwnProperty.call(n,t);var e={};return(()=>{"use strict";r.d(e,{component:()=>h});const n=coreApis.componentApis.live.liveControlBar,t=coreApis.componentApis.define,o=coreApis.spinQuery,i=coreApis.style,a=coreApis.utils.urls;var l=r(238),p=r.n(l);const c="player-full-win",f="fullscreen-fix",u="full-win-gift-btn-wrapper",A="liveGiftBox";let s=null,g=null,b=null;function w(){return document.body.classList.contains(c)||document.body.classList.contains(f)}function d(n,t){const r=dq(n,".right-area");if(r){const n=document.createElement("div");n.className=u,n.appendChild(t),r.appendChild(n)}else console.warn(`[${A}] .right-area could not be found in control bar`)}function m(n,t){return function(n){function t(n){const t=w(),r=n.oldValue.split(" ");return t===(r.includes(c)||r.includes(f))?null:t}const r=new MutationObserver((r=>{for(const e of r){const r=t(e);null!==r&&n(r)}}));return r?.observe(document.body,{attributes:!0,attributeFilter:["class"],attributeOldValue:!0}),()=>r.disconnect()}((r=>{r?function(n){const t=dq(".control-area");t&&d(t,n)}(n):function(n,t){t.appendChild(n)}(n,t)}))}async function C(){(0,i.addStyle)(p(),A);const n=await async function(){const n=await(0,o.select)(".z-gift-package",{maxRetry:15,queryInterval:200});return n||console.warn(`[${A}] the parent element of gift button not found`),n}();s=n?.children[0],n&&s&&(g=m(s,n),b=function(n){const t=dq("#live-player");if(!t)return console.warn(`[${A}] live player not found`),null;function r(){dq(`.${u} .wrap`)&&n.click()}return t.addEventListener("mouseleave",r),()=>t.removeEventListener("mouseleave",r)}(s))}const h=(0,t.defineComponentMetadata)({name:A,displayName:"直播全屏包裹",description:{"zh-CN":"在直播的网页全屏(不能是全屏)模式下往控制栏添加包裹按钮."},urlInclude:a.liveUrls,tags:[componentsTags.live],entry:function(){(0,n.waitForControlBar)({callback:function(n){const t=w();s&&t&&d(n,s)}}),C()},reload:C,unload:function(){b?.call(null),b=null,g?.call(null),g=null,s=null,(0,i.removeStyle)(A)},commitHash:"58c0b438ca2371e397f70466a91572cb2757b142",coreVersion:"2.10.7"})})(),e=e.component})())); +var i=btoa(unescape(encodeURIComponent(JSON.stringify(o)))),a="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(i),l="/*# ".concat(a," */"),p=o.sources.map((function(n){return"/*# sourceURL=".concat(o.sourceRoot||"").concat(n," */")}));return[e].concat(p).concat([l]).join("\n")}return[e].join("\n")}},238:(n,t,r)=>{var e=r(816);e&&e.__esModule&&(e=e.default),n.exports="string"==typeof e?e:e.toString()}},t={};function r(e){var o=t[e];if(void 0!==o)return o.exports;var i=t[e]={id:e,exports:{}};return n[e](i,i.exports,r),i.exports}r.n=n=>{var t=n&&n.__esModule?()=>n.default:()=>n;return r.d(t,{a:t}),t},r.d=(n,t)=>{for(var e in t)r.o(t,e)&&!r.o(n,e)&&Object.defineProperty(n,e,{enumerable:!0,get:t[e]})},r.o=(n,t)=>Object.prototype.hasOwnProperty.call(n,t);var e={};return(()=>{"use strict";r.d(e,{component:()=>h});const n=coreApis.componentApis.live.liveControlBar,t=coreApis.componentApis.define,o=coreApis.spinQuery,i=coreApis.style,a=coreApis.utils.urls;var l=r(238),p=r.n(l);const c="player-full-win",f="fullscreen-fix",u="full-win-gift-btn-wrapper",A="liveGiftBox";let s=null,g=null,b=null;function w(){return document.body.classList.contains(c)||document.body.classList.contains(f)}function d(n,t){const r=dq(n,".right-area");if(r){const n=document.createElement("div");n.className=u,n.appendChild(t),r.appendChild(n)}else console.warn(`[${A}] .right-area could not be found in control bar`)}function m(n,t){return function(n){function t(n){const t=w(),r=n.oldValue.split(" ");return t===(r.includes(c)||r.includes(f))?null:t}const r=new MutationObserver((r=>{for(const e of r){const r=t(e);null!==r&&n(r)}}));return r?.observe(document.body,{attributes:!0,attributeFilter:["class"],attributeOldValue:!0}),()=>r.disconnect()}((r=>{r?function(n){const t=dq(".control-area");t&&d(t,n)}(n):function(n,t){t.appendChild(n)}(n,t)}))}async function C(){(0,i.addStyle)(p(),A);const n=await async function(){const n=await(0,o.select)(".z-gift-package",{maxRetry:15,queryInterval:200});return n||console.warn(`[${A}] the parent element of gift button not found`),n}();s=n?.children[0],n&&s&&(g=m(s,n),b=function(n){const t=dq("#live-player");if(!t)return console.warn(`[${A}] live player not found`),null;function r(){dq(`.${u} .wrap`)&&n.click()}return t.addEventListener("mouseleave",r),()=>t.removeEventListener("mouseleave",r)}(s))}const h=(0,t.defineComponentMetadata)({name:A,displayName:"直播全屏包裹",description:{"zh-CN":"在直播的网页全屏(不能是全屏)模式下往控制栏添加包裹按钮."},urlInclude:a.liveUrls,tags:[componentsTags.live],entry:function(){(0,n.waitForControlBar)({callback:function(n){const t=w();s&&t&&d(n,s)}}),C()},reload:C,unload:function(){b?.call(null),b=null,g?.call(null),g=null,s=null,(0,i.removeStyle)(A)},commitHash:"d87d69cfb9d7e0124bd90a06fec4569bd61e02c5",coreVersion:"2.10.7"})})(),e=e.component})())); //# sourceMappingURL=https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/registry/dist/components/live/gift-box.js.map \ No newline at end of file diff --git a/bb-evolved/registry/dist/components/live/hide-gift-fullscreen.js b/bb-evolved/registry/dist/components/live/hide-gift-fullscreen.js index 4382fc7e6d..4f8b528f22 100644 --- a/bb-evolved/registry/dist/components/live/hide-gift-fullscreen.js +++ b/bb-evolved/registry/dist/components/live/hide-gift-fullscreen.js @@ -8,5 +8,5 @@ e=[[null,e,""]]);var o={};if(r)for(var i=0;i{"use strict";function t(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=e&&("undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]);if(null==n)return;var r,o,i=[],a=!0,c=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){c=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(c)throw o}}return i}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return n(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return n(e,t)}(e,t)||function(){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 n(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n{var r=n(326);r&&r.__esModule&&(r=r.default),e.exports="string"==typeof r?r:r.toString()}},r={};function o(e){var t=r[e];if(void 0!==t)return t.exports;var i=r[e]={id:e,exports:{}};return n[e](i,i.exports,o),i.exports}t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,o.t=function(n,r){if(1&r&&(n=this(n)),8&r)return n;if("object"==typeof n&&n){if(4&r&&n.__esModule)return n;if(16&r&&"function"==typeof n.then)return n}var i=Object.create(null);o.r(i);var a={};e=e||[null,t({}),t([]),t(t)];for(var c=2&r&&n;"object"==typeof c&&!~e.indexOf(c);c=t(c))Object.getOwnPropertyNames(c).forEach((e=>a[e]=()=>n[e]));return a.default=()=>n,o.d(i,a),i},o.d=(e,t)=>{for(var n in t)o.o(t,n)&&!o.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var i={};return(()=>{"use strict";o.d(i,{component:()=>n});const e=coreApis.componentApis.define,t=coreApis.utils.urls,n=(0,e.defineComponentMetadata)({name:"hide-fullscreen-gift-bar",displayName:"全屏直播礼物简化",description:"移除全屏观看直播时的底部礼物栏",author:{name:"TimmyOVO",link:"https://github.com/TimmyOVO"},instantStyles:[{name:"hide-fullscreen-gift",style:()=>Promise.resolve().then(o.t.bind(o,796,23))}],entry:none,tags:[componentsTags.live,componentsTags.style],urlInclude:t.liveUrls,commitHash:"58c0b438ca2371e397f70466a91572cb2757b142",coreVersion:"2.10.7"})})(),i=i.component})())); +var i=btoa(unescape(encodeURIComponent(JSON.stringify(o)))),a="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(i),c="/*# ".concat(a," */"),u=o.sources.map((function(e){return"/*# sourceURL=".concat(o.sourceRoot||"").concat(e," */")}));return[r].concat(u).concat([c]).join("\n")}return[r].join("\n")}},796:(e,t,n)=>{var r=n(326);r&&r.__esModule&&(r=r.default),e.exports="string"==typeof r?r:r.toString()}},r={};function o(e){var t=r[e];if(void 0!==t)return t.exports;var i=r[e]={id:e,exports:{}};return n[e](i,i.exports,o),i.exports}t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,o.t=function(n,r){if(1&r&&(n=this(n)),8&r)return n;if("object"==typeof n&&n){if(4&r&&n.__esModule)return n;if(16&r&&"function"==typeof n.then)return n}var i=Object.create(null);o.r(i);var a={};e=e||[null,t({}),t([]),t(t)];for(var c=2&r&&n;"object"==typeof c&&!~e.indexOf(c);c=t(c))Object.getOwnPropertyNames(c).forEach((e=>a[e]=()=>n[e]));return a.default=()=>n,o.d(i,a),i},o.d=(e,t)=>{for(var n in t)o.o(t,n)&&!o.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var i={};return(()=>{"use strict";o.d(i,{component:()=>n});const e=coreApis.componentApis.define,t=coreApis.utils.urls,n=(0,e.defineComponentMetadata)({name:"hide-fullscreen-gift-bar",displayName:"全屏直播礼物简化",description:"移除全屏观看直播时的底部礼物栏",author:{name:"TimmyOVO",link:"https://github.com/TimmyOVO"},instantStyles:[{name:"hide-fullscreen-gift",style:()=>Promise.resolve().then(o.t.bind(o,796,23))}],entry:none,tags:[componentsTags.live,componentsTags.style],urlInclude:t.liveUrls,commitHash:"d87d69cfb9d7e0124bd90a06fec4569bd61e02c5",coreVersion:"2.10.7"})})(),i=i.component})())); //# sourceMappingURL=https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/registry/dist/components/live/hide-gift-fullscreen.js.map \ No newline at end of file diff --git a/bb-evolved/registry/dist/components/live/hide-player-blur.js b/bb-evolved/registry/dist/components/live/hide-player-blur.js index 8489c2b9a2..cd36ce1b78 100644 --- a/bb-evolved/registry/dist/components/live/hide-player-blur.js +++ b/bb-evolved/registry/dist/components/live/hide-player-blur.js @@ -8,5 +8,5 @@ e=[[null,e,""]]);var o={};if(n)for(var a=0;a{"use strict";function t(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=e&&("undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]);if(null==r)return;var n,o,a=[],i=!0,c=!1;try{for(r=r.call(e);!(i=(n=r.next()).done)&&(a.push(n.value),!t||a.length!==t);i=!0);}catch(e){c=!0,o=e}finally{try{i||null==r.return||r.return()}finally{if(c)throw o}}return a}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return r(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return r(e,t)}(e,t)||function(){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 r(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r{var n=r(727);n&&n.__esModule&&(n=n.default),e.exports="string"==typeof n?n:n.toString()},881:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=881,e.exports=t},630:e=>{"use strict";e.exports="移除直播画面中的马赛克区域.\n"}},n={};function o(e){var t=n[e];if(void 0!==t)return t.exports;var a=n[e]={id:e,exports:{}};return r[e](a,a.exports,o),a.exports}t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,o.t=function(r,n){if(1&n&&(r=this(r)),8&n)return r;if("object"==typeof r&&r){if(4&n&&r.__esModule)return r;if(16&n&&"function"==typeof r.then)return r}var a=Object.create(null);o.r(a);var i={};e=e||[null,t({}),t([]),t(t)];for(var c=2&n&&r;"object"==typeof c&&!~e.indexOf(c);c=t(c))Object.getOwnPropertyNames(c).forEach((e=>i[e]=()=>r[e]));return i.default=()=>r,o.d(a,i),a},o.d=(e,t)=>{for(var r in t)o.o(t,r)&&!o.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var a={};return(()=>{"use strict";o.d(a,{component:()=>r});const e=coreApis.componentApis.define,t=coreApis.utils.urls,r=(0,e.defineComponentMetadata)({name:"hideLivePlayerBlur",displayName:"隐藏直播马赛克",entry:none,tags:[componentsTags.live,componentsTags.style],urlInclude:[...t.liveUrls],instantStyles:[{name:"hideLivePlayerBlur",style:()=>Promise.resolve().then(o.t.bind(o,525,23))}],commitHash:"58c0b438ca2371e397f70466a91572cb2757b142",coreVersion:"2.10.7",description:(()=>{const e=o(881);return{...Object.fromEntries(e.keys().map((t=>[t.match(/index\.(.+)\.md$/)[1],e(t)]))),"zh-CN":()=>Promise.resolve().then(o.t.bind(o,630,17)).then((e=>e.default))}})()})})(),a=a.component})())); +var a=btoa(unescape(encodeURIComponent(JSON.stringify(o)))),i="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(a),c="/*# ".concat(i," */"),s=o.sources.map((function(e){return"/*# sourceURL=".concat(o.sourceRoot||"").concat(e," */")}));return[n].concat(s).concat([c]).join("\n")}return[n].join("\n")}},525:(e,t,r)=>{var n=r(727);n&&n.__esModule&&(n=n.default),e.exports="string"==typeof n?n:n.toString()},881:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=881,e.exports=t},630:e=>{"use strict";e.exports="移除直播画面中的马赛克区域.\n"}},n={};function o(e){var t=n[e];if(void 0!==t)return t.exports;var a=n[e]={id:e,exports:{}};return r[e](a,a.exports,o),a.exports}t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,o.t=function(r,n){if(1&n&&(r=this(r)),8&n)return r;if("object"==typeof r&&r){if(4&n&&r.__esModule)return r;if(16&n&&"function"==typeof r.then)return r}var a=Object.create(null);o.r(a);var i={};e=e||[null,t({}),t([]),t(t)];for(var c=2&n&&r;"object"==typeof c&&!~e.indexOf(c);c=t(c))Object.getOwnPropertyNames(c).forEach((e=>i[e]=()=>r[e]));return i.default=()=>r,o.d(a,i),a},o.d=(e,t)=>{for(var r in t)o.o(t,r)&&!o.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var a={};return(()=>{"use strict";o.d(a,{component:()=>r});const e=coreApis.componentApis.define,t=coreApis.utils.urls,r=(0,e.defineComponentMetadata)({name:"hideLivePlayerBlur",displayName:"隐藏直播马赛克",entry:none,tags:[componentsTags.live,componentsTags.style],urlInclude:[...t.liveUrls],instantStyles:[{name:"hideLivePlayerBlur",style:()=>Promise.resolve().then(o.t.bind(o,525,23))}],commitHash:"d87d69cfb9d7e0124bd90a06fec4569bd61e02c5",coreVersion:"2.10.7",description:(()=>{const e=o(881);return{...Object.fromEntries(e.keys().map((t=>[t.match(/index\.(.+)\.md$/)[1],e(t)]))),"zh-CN":()=>Promise.resolve().then(o.t.bind(o,630,17)).then((e=>e.default))}})()})})(),a=a.component})())); //# sourceMappingURL=https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/registry/dist/components/live/hide-player-blur.js.map \ No newline at end of file diff --git a/bb-evolved/registry/dist/components/live/home-mute.js b/bb-evolved/registry/dist/components/live/home-mute.js index c588407387..94ef32f8b7 100644 --- a/bb-evolved/registry/dist/components/live/home-mute.js +++ b/bb-evolved/registry/dist/components/live/home-mute.js @@ -1,2 +1,2 @@ -!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["live/home-mute"]=t():e["live/home-mute"]=t()}(globalThis,(()=>(()=>{"use strict";var e,t,o={905:e=>{e.exports=coreApis.settings},728:e=>{e.exports=coreApis.spinQuery},847:e=>{e.exports=coreApis.utils}},r={};function n(e){var t=r[e];if(void 0!==t)return t.exports;var i=r[e]={exports:{}};return o[e](i,i.exports,n),i.exports}t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,n.t=function(o,r){if(1&r&&(o=this(o)),8&r)return o;if("object"==typeof o&&o){if(4&r&&o.__esModule)return o;if(16&r&&"function"==typeof o.then)return o}var i=Object.create(null);n.r(i);var a={};e=e||[null,t({}),t([]),t(t)];for(var s=2&r&&o;"object"==typeof s&&!~e.indexOf(s);s=t(s))Object.getOwnPropertyNames(s).forEach((e=>a[e]=()=>o[e]));return a.default=()=>o,n.d(i,a),i},n.d=(e,t)=>{for(var o in t)n.o(t,o)&&!n.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var i={};n.d(i,{component:()=>c});const a=coreApis.componentApis.define;var s=n(905);const p=coreApis.style,l=/^https:\/\/live\.bilibili\.com\/(index\.html)?$/,c=(0,a.defineComponentMetadata)({name:"liveHomeMute",displayName:"直播首页静音",tags:[componentsTags.live],description:{"zh-CN":"禁止直播首页的推荐直播间自动开始播放."},entry:async e=>{let{metadata:t}=e;const o="hide-home-live";(0,s.addComponentListener)(`${t.name}.hide`,(e=>{e?(0,p.addStyle)(".player-area-ctnr,#player-header { display: none !important }",o):(0,p.removeStyle)(o)}),!0)},options:{hide:{displayName:"隐藏首页直播板块",defaultValue:!1}},urlInclude:[l],plugin:{displayName:"直播首页静音 - 提前执行",description:{"zh-CN":"提前执行代码以尽快静音."},async setup(){const{isComponentEnabled:e}=await Promise.resolve().then(n.t.bind(n,905,23));if(!e("liveHomeMute"))return;const{matchUrlPattern:t}=await Promise.resolve().then(n.t.bind(n,847,23));if(!t(l))return;const{select:o}=await Promise.resolve().then(n.t.bind(n,728,23));o("video").then((e=>{e.muted=!0}))}},commitHash:"58c0b438ca2371e397f70466a91572cb2757b142",coreVersion:"2.10.7"});return i=i.component})())); +!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["live/home-mute"]=t():e["live/home-mute"]=t()}(globalThis,(()=>(()=>{"use strict";var e,t,o={905:e=>{e.exports=coreApis.settings},728:e=>{e.exports=coreApis.spinQuery},847:e=>{e.exports=coreApis.utils}},r={};function n(e){var t=r[e];if(void 0!==t)return t.exports;var i=r[e]={exports:{}};return o[e](i,i.exports,n),i.exports}t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,n.t=function(o,r){if(1&r&&(o=this(o)),8&r)return o;if("object"==typeof o&&o){if(4&r&&o.__esModule)return o;if(16&r&&"function"==typeof o.then)return o}var i=Object.create(null);n.r(i);var a={};e=e||[null,t({}),t([]),t(t)];for(var s=2&r&&o;"object"==typeof s&&!~e.indexOf(s);s=t(s))Object.getOwnPropertyNames(s).forEach((e=>a[e]=()=>o[e]));return a.default=()=>o,n.d(i,a),i},n.d=(e,t)=>{for(var o in t)n.o(t,o)&&!n.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var i={};n.d(i,{component:()=>l});const a=coreApis.componentApis.define;var s=n(905);const p=coreApis.style,d=/^https:\/\/live\.bilibili\.com\/(index\.html)?$/,l=(0,a.defineComponentMetadata)({name:"liveHomeMute",displayName:"直播首页静音",tags:[componentsTags.live],description:{"zh-CN":"禁止直播首页的推荐直播间自动开始播放."},entry:async e=>{let{metadata:t}=e;const o="hide-home-live";(0,s.addComponentListener)(`${t.name}.hide`,(e=>{e?(0,p.addStyle)(".player-area-ctnr,#player-header { display: none !important }",o):(0,p.removeStyle)(o)}),!0)},options:{hide:{displayName:"隐藏首页直播板块",defaultValue:!1}},urlInclude:[d],plugin:{displayName:"直播首页静音 - 提前执行",description:{"zh-CN":"提前执行代码以尽快静音."},async setup(){const{isComponentEnabled:e}=await Promise.resolve().then(n.t.bind(n,905,23));if(!e("liveHomeMute"))return;const{matchUrlPattern:t}=await Promise.resolve().then(n.t.bind(n,847,23));if(!t(d))return;const{select:o}=await Promise.resolve().then(n.t.bind(n,728,23));o("video").then((e=>{e.muted=!0}))}},commitHash:"d87d69cfb9d7e0124bd90a06fec4569bd61e02c5",coreVersion:"2.10.7"});return i=i.component})())); //# sourceMappingURL=https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/registry/dist/components/live/home-mute.js.map \ No newline at end of file diff --git a/bb-evolved/registry/dist/components/live/liveroom-username-link.js b/bb-evolved/registry/dist/components/live/liveroom-username-link.js index 53dfc91341..c12f02b949 100644 --- a/bb-evolved/registry/dist/components/live/liveroom-username-link.js +++ b/bb-evolved/registry/dist/components/live/liveroom-username-link.js @@ -4,5 +4,5 @@ const{uid:e}=t.__vue__.source.uinfo;if(!o){for(;null===t.shadowRoot.querySelecto // eslint-disable-next-line no-underscore-dangle const{uid:e}=o.parentNode.parentNode.parentNode.parentNode.__vue__.source;window.open(`https://space.bilibili.com/${e}`)}));const t=e.querySelector(".face");t.style.cursor="pointer",t.addEventListener("click",(()=>{ // eslint-disable-next-line no-underscore-dangle -const{uid:e}=t.parentNode.parentNode.__vue__.source;window.open(`https://space.bilibili.com/${e}`)})),r.add(e)}})).observe(e,{childList:!0,subtree:!0})},tags:[componentsTags.live],urlInclude:[/^https:\/\/live\.bilibili\.com\/\d+/],description:{"zh-CN":"为直播间的房间观众和大航海界面的用户列表添加可以点击的超链接"},commitHash:"58c0b438ca2371e397f70466a91572cb2757b142",coreVersion:"2.10.7"});return o=o.component})())); +const{uid:e}=t.parentNode.parentNode.__vue__.source;window.open(`https://space.bilibili.com/${e}`)})),r.add(e)}})).observe(e,{childList:!0,subtree:!0})},tags:[componentsTags.live],urlInclude:[/^https:\/\/live\.bilibili\.com\/\d+/],description:{"zh-CN":"为直播间的房间观众和大航海界面的用户列表添加可以点击的超链接"},commitHash:"d87d69cfb9d7e0124bd90a06fec4569bd61e02c5",coreVersion:"2.10.7"});return o=o.component})())); //# sourceMappingURL=https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/registry/dist/components/live/liveroom-username-link.js.map \ No newline at end of file diff --git a/bb-evolved/registry/dist/components/live/original.js b/bb-evolved/registry/dist/components/live/original.js index b30d706e0b..407c4bc43e 100644 --- a/bb-evolved/registry/dist/components/live/original.js +++ b/bb-evolved/registry/dist/components/live/original.js @@ -1,2 +1,2 @@ -!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["live/original"]=t():e["live/original"]=t()}(globalThis,(()=>(()=>{"use strict";var e={341:(e,t,o)=>{o.d(t,{Q:()=>n});const n=e=>{const t=e.match(/^https:\/\/live\.bilibili\.com\/([\d]+)/);return t?`https://live.bilibili.com/blanc/${t[1]}`:e}},664:(e,t,o)=>{o.r(t),o.d(t,{default:()=>a});var n=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("a",{attrs:{href:e.href,tabindex:"-1"}},[t("DefaultWidget",{attrs:{name:"返回原版直播间",icon:"mdi-arrow-left-circle-outline"}})],1)};n._withStripped=!0;const i=coreApis.ui;var r=o(341);var s=function(e,t,o,n,i,r,s,a){var l,c="function"==typeof e?e.options:e;if(t&&(c.render=t,c.staticRenderFns=o,c._compiled=!0),n&&(c.functional=!0),r&&(c._scopeId="data-v-"+r),s?(l=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),i&&i.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(s)},c._ssrRegister=l):i&&(l=a?function(){i.call(this,(c.functional?this.parent:this).$root.$options.shadowRoot)}:i),l)if(c.functional){c._injectStyles=l;var d=c.render;c.render=function(e,t){return l.call(t),d(e,t)}}else{var p=c.beforeCreate;c.beforeCreate=p?[].concat(p,l):[l]}return{exports:e,options:c}}(Vue.extend({components:{DefaultWidget:i.DefaultWidget},data:()=>({href:(0,r.Q)(document.URL)})}),n,[],!1,null,null,null);const a=s.exports}},t={};function o(n){var i=t[n];if(void 0!==i)return i.exports;var r=t[n]={exports:{}};return e[n](r,r.exports,o),r.exports}o.d=(e,t)=>{for(var n in t)o.o(t,n)&&!o.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var n={};o.d(n,{component:()=>a});const i=coreApis.componentApis.define,r=coreApis.utils;var s=o(341);const a=(0,i.defineComponentMetadata)({name:"originalLiveroom",displayName:"返回原版直播间",description:"在直播间中提供返回原版直播间的按钮, 原版直播间将无视活动皮肤, 强制使用标准的直播页面.",tags:[componentsTags.live],entry:e=>{let{settings:t}=e;(0,r.isNotHtml)()||(0,r.isIframe)()||t.options.defaultBack&&window.location.assign((0,s.Q)(document.URL))},options:{defaultBack:{displayName:"默认返回原版直播间",defaultValue:!1}},urlInclude:[/^https:\/\/live\.bilibili\.com\/[\d]+/],widget:{component:()=>Promise.resolve().then(o.bind(o,664)).then((e=>e.default)),condition:()=>(0,r.matchUrlPattern)(/^https:\/\/live\.bilibili\.com\/([\d]+)/)},commitHash:"58c0b438ca2371e397f70466a91572cb2757b142",coreVersion:"2.10.7"});return n=n.component})())); +!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["live/original"]=t():e["live/original"]=t()}(globalThis,(()=>(()=>{"use strict";var e={341:(e,t,o)=>{o.d(t,{Q:()=>n});const n=e=>{const t=e.match(/^https:\/\/live\.bilibili\.com\/([\d]+)/);return t?`https://live.bilibili.com/blanc/${t[1]}`:e}},664:(e,t,o)=>{o.r(t),o.d(t,{default:()=>a});var n=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("a",{attrs:{href:e.href,tabindex:"-1"}},[t("DefaultWidget",{attrs:{name:"返回原版直播间",icon:"mdi-arrow-left-circle-outline"}})],1)};n._withStripped=!0;const i=coreApis.ui;var r=o(341);var s=function(e,t,o,n,i,r,s,a){var l,d="function"==typeof e?e.options:e;if(t&&(d.render=t,d.staticRenderFns=o,d._compiled=!0),n&&(d.functional=!0),r&&(d._scopeId="data-v-"+r),s?(l=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),i&&i.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(s)},d._ssrRegister=l):i&&(l=a?function(){i.call(this,(d.functional?this.parent:this).$root.$options.shadowRoot)}:i),l)if(d.functional){d._injectStyles=l;var c=d.render;d.render=function(e,t){return l.call(t),c(e,t)}}else{var p=d.beforeCreate;d.beforeCreate=p?[].concat(p,l):[l]}return{exports:e,options:d}}(Vue.extend({components:{DefaultWidget:i.DefaultWidget},data:()=>({href:(0,r.Q)(document.URL)})}),n,[],!1,null,null,null);const a=s.exports}},t={};function o(n){var i=t[n];if(void 0!==i)return i.exports;var r=t[n]={exports:{}};return e[n](r,r.exports,o),r.exports}o.d=(e,t)=>{for(var n in t)o.o(t,n)&&!o.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var n={};o.d(n,{component:()=>a});const i=coreApis.componentApis.define,r=coreApis.utils;var s=o(341);const a=(0,i.defineComponentMetadata)({name:"originalLiveroom",displayName:"返回原版直播间",description:"在直播间中提供返回原版直播间的按钮, 原版直播间将无视活动皮肤, 强制使用标准的直播页面.",tags:[componentsTags.live],entry:e=>{let{settings:t}=e;(0,r.isNotHtml)()||(0,r.isIframe)()||t.options.defaultBack&&window.location.assign((0,s.Q)(document.URL))},options:{defaultBack:{displayName:"默认返回原版直播间",defaultValue:!1}},urlInclude:[/^https:\/\/live\.bilibili\.com\/[\d]+/],widget:{component:()=>Promise.resolve().then(o.bind(o,664)).then((e=>e.default)),condition:()=>(0,r.matchUrlPattern)(/^https:\/\/live\.bilibili\.com\/([\d]+)/)},commitHash:"d87d69cfb9d7e0124bd90a06fec4569bd61e02c5",coreVersion:"2.10.7"});return n=n.component})())); //# sourceMappingURL=https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/registry/dist/components/live/original.js.map \ No newline at end of file diff --git a/bb-evolved/registry/dist/components/live/remove-mask-panel.js b/bb-evolved/registry/dist/components/live/remove-mask-panel.js index 073d4ca44f..14ad1b33cb 100644 --- a/bb-evolved/registry/dist/components/live/remove-mask-panel.js +++ b/bb-evolved/registry/dist/components/live/remove-mask-panel.js @@ -1,2 +1,2 @@ -!function(e,o){"object"==typeof exports&&"object"==typeof module?module.exports=o():"function"==typeof define&&define.amd?define([],o):"object"==typeof exports?exports["live/remove-mask-panel"]=o():e["live/remove-mask-panel"]=o()}(globalThis,(()=>(()=>{"use strict";var e={d:(o,t)=>{for(var n in t)e.o(t,n)&&!e.o(o,n)&&Object.defineProperty(o,n,{enumerable:!0,get:t[n]})},o:(e,o)=>Object.prototype.hasOwnProperty.call(e,o)},o={};e.d(o,{component:()=>a});const t=coreApis.componentApis.define,n=coreApis.utils.urls,r=async()=>{const e=new MutationObserver((o=>{o.forEach((o=>{o.addedNodes.forEach((o=>{"web-player-module-area-mask-panel"===o.id&&(o.parentNode?.removeChild(o),e.disconnect())}))}))}));e.observe(document.body,{childList:!0,subtree:!0})},a=(0,t.defineComponentMetadata)({name:"removeLiveMaskPanel",displayName:"删除直播马赛克遮罩",author:{name:"Liki4",link:"https://github.com/Liki4"},tags:[componentsTags.live,componentsTags.style],description:{"zh-CN":"删除观看直播时某些分区的马赛克遮罩."},entry:r,reload:r,urlInclude:n.liveUrls,commitHash:"58c0b438ca2371e397f70466a91572cb2757b142",coreVersion:"2.10.7"});return o=o.component})())); +!function(e,o){"object"==typeof exports&&"object"==typeof module?module.exports=o():"function"==typeof define&&define.amd?define([],o):"object"==typeof exports?exports["live/remove-mask-panel"]=o():e["live/remove-mask-panel"]=o()}(globalThis,(()=>(()=>{"use strict";var e={d:(o,t)=>{for(var n in t)e.o(t,n)&&!e.o(o,n)&&Object.defineProperty(o,n,{enumerable:!0,get:t[n]})},o:(e,o)=>Object.prototype.hasOwnProperty.call(e,o)},o={};e.d(o,{component:()=>a});const t=coreApis.componentApis.define,n=coreApis.utils.urls,r=async()=>{const e=new MutationObserver((o=>{o.forEach((o=>{o.addedNodes.forEach((o=>{"web-player-module-area-mask-panel"===o.id&&(o.parentNode?.removeChild(o),e.disconnect())}))}))}));e.observe(document.body,{childList:!0,subtree:!0})},a=(0,t.defineComponentMetadata)({name:"removeLiveMaskPanel",displayName:"删除直播马赛克遮罩",author:{name:"Liki4",link:"https://github.com/Liki4"},tags:[componentsTags.live,componentsTags.style],description:{"zh-CN":"删除观看直播时某些分区的马赛克遮罩."},entry:r,reload:r,urlInclude:n.liveUrls,commitHash:"d87d69cfb9d7e0124bd90a06fec4569bd61e02c5",coreVersion:"2.10.7"});return o=o.component})())); //# sourceMappingURL=https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/registry/dist/components/live/remove-mask-panel.js.map \ No newline at end of file diff --git a/bb-evolved/registry/dist/components/live/remove-watermark.js b/bb-evolved/registry/dist/components/live/remove-watermark.js index f583f3beb2..0c9f2a3823 100644 --- a/bb-evolved/registry/dist/components/live/remove-watermark.js +++ b/bb-evolved/registry/dist/components/live/remove-watermark.js @@ -1,4 +1,4 @@ -!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["live/remove-watermark"]=t():e["live/remove-watermark"]=t()}(globalThis,(()=>(()=>{var e,t,r={219:(e,t,r)=>{var o=r(904),n=r(955)(o);n.push([e.id,".live-player-ctnr .web-player-icon-roomStatus,\n.bilibili-live-player-video-logo {\n display: none !important;\n}","",{version:3,sources:["webpack://./registry/lib/components/live/remove-watermark/remove-watermark.scss"],names:[],mappings:"AAAA;;EAEE,wBAAwB;AAC1B",sourcesContent:[".live-player-ctnr .web-player-icon-roomStatus,\n.bilibili-live-player-video-logo {\n display: none !important;\n}"],sourceRoot:""}]),e.exports=n},955:e=>{"use strict"; +!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["live/remove-watermark"]=t():e["live/remove-watermark"]=t()}(globalThis,(()=>(()=>{var e,t,r={219:(e,t,r)=>{var o=r(904),n=r(955)(o);n.push([e.id,".player-ctnr .web-player-icon-roomStatus,\n.live-player-ctnr .web-player-icon-roomStatus,\n.bilibili-live-player-video-logo {\n display: none !important;\n}","",{version:3,sources:["webpack://./registry/lib/components/live/remove-watermark/remove-watermark.scss"],names:[],mappings:"AAAA;;;EAGE,wBAAwB;AAC1B",sourcesContent:[".player-ctnr .web-player-icon-roomStatus,\n.live-player-ctnr .web-player-icon-roomStatus,\n.bilibili-live-player-video-logo {\n display: none !important;\n}"],sourceRoot:""}]),e.exports=n},955:e=>{"use strict"; // eslint-disable-next-line func-names e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var r=e(t);return t[2]?"@media ".concat(t[2]," {").concat(r,"}"):r})).join("")}, // eslint-disable-next-line func-names @@ -6,7 +6,7 @@ t.i=function(e,r,o){"string"==typeof e&&( // eslint-disable-next-line no-param-reassign e=[[null,e,""]]);var n={};if(o)for(var i=0;i{"use strict";function t(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=e&&("undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]);if(null==r)return;var o,n,i=[],a=!0,c=!1;try{for(r=r.call(e);!(a=(o=r.next()).done)&&(i.push(o.value),!t||i.length!==t);a=!0);}catch(e){c=!0,n=e}finally{try{a||null==r.return||r.return()}finally{if(c)throw n}}return i}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return r(e,t);var o=Object.prototype.toString.call(e).slice(8,-1);"Object"===o&&e.constructor&&(o=e.constructor.name);if("Map"===o||"Set"===o)return Array.from(e);if("Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o))return r(e,t)}(e,t)||function(){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 r(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,o=new Array(t);r{"use strict";function t(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=e&&("undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]);if(null==r)return;var o,n,i=[],a=!0,c=!1;try{for(r=r.call(e);!(a=(o=r.next()).done)&&(i.push(o.value),!t||i.length!==t);a=!0);}catch(e){c=!0,n=e}finally{try{a||null==r.return||r.return()}finally{if(c)throw n}}return i}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return r(e,t);var o=Object.prototype.toString.call(e).slice(8,-1);"Object"===o&&e.constructor&&(o=e.constructor.name);if("Map"===o||"Set"===o)return Array.from(e);if("Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o))return r(e,t)}(e,t)||function(){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 r(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,o=new Array(t);r{var o=r(219);o&&o.__esModule&&(o=o.default),e.exports="string"==typeof o?o:o.toString()}},o={};function n(e){var t=o[e];if(void 0!==t)return t.exports;var i=o[e]={id:e,exports:{}};return r[e](i,i.exports,n),i.exports}t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,n.t=function(r,o){if(1&o&&(r=this(r)),8&o)return r;if("object"==typeof r&&r){if(4&o&&r.__esModule)return r;if(16&o&&"function"==typeof r.then)return r}var i=Object.create(null);n.r(i);var a={};e=e||[null,t({}),t([]),t(t)];for(var c=2&o&&r;"object"==typeof c&&!~e.indexOf(c);c=t(c))Object.getOwnPropertyNames(c).forEach((e=>a[e]=()=>r[e]));return a.default=()=>r,n.d(i,a),i},n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var i={};return(()=>{"use strict";n.d(i,{component:()=>o});const e=coreApis.componentApis.define,t=coreApis.componentApis.styledComponent,r=coreApis.utils.urls,o=(0,e.defineComponentMetadata)({...(0,t.toggleStyle)("removeLiveWatermark",(()=>Promise.resolve().then(n.t.bind(n,137,23)))),displayName:"删除直播水印",tags:[componentsTags.live,componentsTags.style],description:{"zh-CN":"删除观看直播时角落的水印."},urlInclude:r.liveUrls,commitHash:"58c0b438ca2371e397f70466a91572cb2757b142",coreVersion:"2.10.7"})})(),i=i.component})())); +var i=btoa(unescape(encodeURIComponent(JSON.stringify(n)))),a="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(i),c="/*# ".concat(a," */"),l=n.sources.map((function(e){return"/*# sourceURL=".concat(n.sourceRoot||"").concat(e," */")}));return[o].concat(l).concat([c]).join("\n")}return[o].join("\n")}},137:(e,t,r)=>{var o=r(219);o&&o.__esModule&&(o=o.default),e.exports="string"==typeof o?o:o.toString()}},o={};function n(e){var t=o[e];if(void 0!==t)return t.exports;var i=o[e]={id:e,exports:{}};return r[e](i,i.exports,n),i.exports}t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,n.t=function(r,o){if(1&o&&(r=this(r)),8&o)return r;if("object"==typeof r&&r){if(4&o&&r.__esModule)return r;if(16&o&&"function"==typeof r.then)return r}var i=Object.create(null);n.r(i);var a={};e=e||[null,t({}),t([]),t(t)];for(var c=2&o&&r;"object"==typeof c&&!~e.indexOf(c);c=t(c))Object.getOwnPropertyNames(c).forEach((e=>a[e]=()=>r[e]));return a.default=()=>r,n.d(i,a),i},n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var i={};return(()=>{"use strict";n.d(i,{component:()=>o});const e=coreApis.componentApis.define,t=coreApis.componentApis.styledComponent,r=[...coreApis.utils.urls.liveUrls,/^https:\/\/live\.bilibili\.com\/(index\.html)?$/],o=(0,e.defineComponentMetadata)({...(0,t.toggleStyle)("removeLiveWatermark",(()=>Promise.resolve().then(n.t.bind(n,137,23)))),displayName:"删除直播水印",tags:[componentsTags.live,componentsTags.style],description:{"zh-CN":"删除观看直播时角落的水印."},urlInclude:r,commitHash:"d87d69cfb9d7e0124bd90a06fec4569bd61e02c5",coreVersion:"2.10.7"})})(),i=i.component})())); //# sourceMappingURL=https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/registry/dist/components/live/remove-watermark.js.map \ No newline at end of file diff --git a/bb-evolved/registry/dist/components/live/remove-watermark.js.map b/bb-evolved/registry/dist/components/live/remove-watermark.js.map index 52da4fdc58..59291bdb3b 100644 --- a/bb-evolved/registry/dist/components/live/remove-watermark.js.map +++ b/bb-evolved/registry/dist/components/live/remove-watermark.js.map @@ -1 +1 @@ -{"version":3,"file":"live/remove-watermark.js","mappings":"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","sources":["webpack:///webpack/universalModuleDefinition","webpack:///webpack/runtime/create fake namespace object","webpack:///./registry/lib/components/live/remove-watermark/remove-watermark.scss","webpack:///./node_modules/.pnpm/css-loader@5.2.7_webpack@5.97.1/node_modules/css-loader/dist/runtime/api.js","webpack:///./node_modules/.pnpm/css-loader@5.2.7_webpack@5.97.1/node_modules/css-loader/dist/runtime/cssWithMappingToString.js","webpack:///./registry/lib/components/live/remove-watermark/remove-watermark.scss?f235","webpack:///webpack/bootstrap","webpack:///webpack/runtime/define property getters","webpack:///webpack/runtime/hasOwnProperty shorthand","webpack:///webpack/runtime/make namespace object","webpack:///external root [\"coreApis\",\"componentApis\",\"define\"]","webpack:///external root [\"coreApis\",\"componentApis\",\"styledComponent\"]","webpack:///external root [\"coreApis\",\"utils\",\"urls\"]","webpack:///./registry/lib/components/live/remove-watermark/index.ts"],"sourcesContent":["(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory();\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine([], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"live/remove-watermark\"] = factory();\n\telse\n\t\troot[\"live/remove-watermark\"] = factory();\n})(globalThis, () => {\nreturn ","var getProto = Object.getPrototypeOf ? (obj) => (Object.getPrototypeOf(obj)) : (obj) => (obj.__proto__);\nvar leafPrototypes;\n// create a fake namespace object\n// mode & 1: value is a module id, require it\n// mode & 2: merge all properties of value into the ns\n// mode & 4: return value when already ns object\n// mode & 16: return value when it's Promise-like\n// mode & 8|1: behave like require\n__webpack_require__.t = function(value, mode) {\n\tif(mode & 1) value = this(value);\n\tif(mode & 8) return value;\n\tif(typeof value === 'object' && value) {\n\t\tif((mode & 4) && value.__esModule) return value;\n\t\tif((mode & 16) && typeof value.then === 'function') return value;\n\t}\n\tvar ns = Object.create(null);\n\t__webpack_require__.r(ns);\n\tvar def = {};\n\tleafPrototypes = leafPrototypes || [null, getProto({}), getProto([]), getProto(getProto)];\n\tfor(var current = mode & 2 && value; typeof current == 'object' && !~leafPrototypes.indexOf(current); current = getProto(current)) {\n\t\tObject.getOwnPropertyNames(current).forEach((key) => (def[key] = () => (value[key])));\n\t}\n\tdef['default'] = () => (value);\n\t__webpack_require__.d(ns, def);\n\treturn ns;\n};","// Imports\nvar ___CSS_LOADER_API_SOURCEMAP_IMPORT___ = require(\"../../../../../node_modules/.pnpm/css-loader@5.2.7_webpack@5.97.1/node_modules/css-loader/dist/runtime/cssWithMappingToString.js\");\nvar ___CSS_LOADER_API_IMPORT___ = require(\"../../../../../node_modules/.pnpm/css-loader@5.2.7_webpack@5.97.1/node_modules/css-loader/dist/runtime/api.js\");\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, \".live-player-ctnr .web-player-icon-roomStatus,\\n.bilibili-live-player-video-logo {\\n display: none !important;\\n}\", \"\",{\"version\":3,\"sources\":[\"webpack://./registry/lib/components/live/remove-watermark/remove-watermark.scss\"],\"names\":[],\"mappings\":\"AAAA;;EAEE,wBAAwB;AAC1B\",\"sourcesContent\":[\".live-player-ctnr .web-player-icon-roomStatus,\\n.bilibili-live-player-video-logo {\\n display: none !important;\\n}\"],\"sourceRoot\":\"\"}]);\n// Exports\nmodule.exports = ___CSS_LOADER_EXPORT___;\n","\"use strict\";\n\n/*\n MIT License http://www.opensource.org/licenses/mit-license.php\n Author Tobias Koppers @sokra\n*/\n// css base code, injected by the css-loader\n// eslint-disable-next-line func-names\nmodule.exports = function (cssWithMappingToString) {\n var list = []; // return the list of modules as css string\n\n list.toString = function toString() {\n return this.map(function (item) {\n var content = cssWithMappingToString(item);\n\n if (item[2]) {\n return \"@media \".concat(item[2], \" {\").concat(content, \"}\");\n }\n\n return content;\n }).join(\"\");\n }; // import a list of modules into the list\n // eslint-disable-next-line func-names\n\n\n list.i = function (modules, mediaQuery, dedupe) {\n if (typeof modules === \"string\") {\n // eslint-disable-next-line no-param-reassign\n modules = [[null, modules, \"\"]];\n }\n\n var alreadyImportedModules = {};\n\n if (dedupe) {\n for (var i = 0; i < this.length; i++) {\n // eslint-disable-next-line prefer-destructuring\n var id = this[i][0];\n\n if (id != null) {\n alreadyImportedModules[id] = true;\n }\n }\n }\n\n for (var _i = 0; _i < modules.length; _i++) {\n var item = [].concat(modules[_i]);\n\n if (dedupe && alreadyImportedModules[item[0]]) {\n // eslint-disable-next-line no-continue\n continue;\n }\n\n if (mediaQuery) {\n if (!item[2]) {\n item[2] = mediaQuery;\n } else {\n item[2] = \"\".concat(mediaQuery, \" and \").concat(item[2]);\n }\n }\n\n list.push(item);\n }\n };\n\n return list;\n};","\"use strict\";\n\nfunction _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }\n\nfunction _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.\"); }\n\nfunction _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); }\n\nfunction _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; }\n\nfunction _iterableToArrayLimit(arr, i) { var _i = arr && (typeof Symbol !== \"undefined\" && arr[Symbol.iterator] || arr[\"@@iterator\"]); if (_i == null) return; var _arr = []; var _n = true; var _d = false; var _s, _e; try { for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i[\"return\"] != null) _i[\"return\"](); } finally { if (_d) throw _e; } } return _arr; }\n\nfunction _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }\n\nmodule.exports = function cssWithMappingToString(item) {\n var _item = _slicedToArray(item, 4),\n content = _item[1],\n cssMapping = _item[3];\n\n if (!cssMapping) {\n return content;\n }\n\n if (typeof btoa === \"function\") {\n // eslint-disable-next-line no-undef\n var base64 = btoa(unescape(encodeURIComponent(JSON.stringify(cssMapping))));\n var data = \"sourceMappingURL=data:application/json;charset=utf-8;base64,\".concat(base64);\n var sourceMapping = \"/*# \".concat(data, \" */\");\n var sourceURLs = cssMapping.sources.map(function (source) {\n return \"/*# sourceURL=\".concat(cssMapping.sourceRoot || \"\").concat(source, \" */\");\n });\n return [content].concat(sourceURLs).concat([sourceMapping]).join(\"\\n\");\n }\n\n return [content].join(\"\\n\");\n};","\n var result = require(\"!!../../../../../node_modules/.pnpm/css-loader@5.2.7_webpack@5.97.1/node_modules/css-loader/dist/cjs.js??clonedRuleSet-295.use[1]!../../../../../node_modules/.pnpm/postcss-loader@4.3.0_postcss@8.5.2_webpack@5.97.1/node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-295.use[2]!../../../../../node_modules/.pnpm/fast-sass-loader@2.0.1_sass@1.25.0_webpack@5.97.1/node_modules/fast-sass-loader/lib/index.js??clonedRuleSet-295.use[3]!./remove-watermark.scss\");\n\n if (result && result.__esModule) {\n result = result.default;\n }\n\n if (typeof result === \"string\") {\n module.exports = result;\n } else {\n module.exports = result.toString();\n }\n ","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\tid: moduleId,\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId](module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n","// define getter functions for harmony exports\n__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","// define __esModule on exports\n__webpack_require__.r = (exports) => {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","const __WEBPACK_NAMESPACE_OBJECT__ = coreApis.componentApis.define;","const __WEBPACK_NAMESPACE_OBJECT__ = coreApis.componentApis.styledComponent;","const __WEBPACK_NAMESPACE_OBJECT__ = coreApis.utils.urls;","import { defineComponentMetadata } from '@/components/define'\nimport { toggleStyle } from '@/components/styled-component'\nimport { liveUrls } from '@/core/utils/urls'\n\nexport const component = defineComponentMetadata({\n ...toggleStyle('removeLiveWatermark', () => import('./remove-watermark.scss')),\n displayName: '删除直播水印',\n tags: [componentsTags.live, componentsTags.style],\n description: {\n 'zh-CN': '删除观看直播时角落的水印.',\n },\n urlInclude: liveUrls,\n})\n"],"names":["root","factory","exports","module","define","amd","globalThis","leafPrototypes","getProto","___CSS_LOADER_API_SOURCEMAP_IMPORT___","___CSS_LOADER_EXPORT___","___CSS_LOADER_API_IMPORT___","push","id","cssWithMappingToString","list","toString","this","map","item","content","concat","join","i","modules","mediaQuery","dedupe","alreadyImportedModules","length","_i","_slicedToArray","arr","Array","isArray","_arrayWithHoles","Symbol","iterator","_s","_e","_arr","_n","_d","call","next","done","value","err","_iterableToArrayLimit","o","minLen","_arrayLikeToArray","n","Object","prototype","slice","constructor","name","from","test","_unsupportedIterableToArray","TypeError","_nonIterableRest","len","arr2","_item","cssMapping","btoa","base64","unescape","encodeURIComponent","JSON","stringify","data","sourceMapping","sourceURLs","sources","source","sourceRoot","result","__esModule","default","__webpack_module_cache__","__webpack_require__","moduleId","cachedModule","undefined","__webpack_modules__","getPrototypeOf","obj","t","mode","then","ns","create","r","def","current","indexOf","getOwnPropertyNames","forEach","key","d","definition","defineProperty","enumerable","get","prop","hasOwnProperty","toStringTag","coreApis","componentApis","styledComponent","utils","urls","component","defineComponentMetadata","toggleStyle","displayName","tags","componentsTags","live","style","description","urlInclude","liveUrls","commitHash","coreVersion"],"sourceRoot":""} \ No newline at end of file +{"version":3,"file":"live/remove-watermark.js","mappings":"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","sources":["webpack:///webpack/universalModuleDefinition","webpack:///webpack/runtime/create fake namespace object","webpack:///./registry/lib/components/live/remove-watermark/remove-watermark.scss","webpack:///./node_modules/.pnpm/css-loader@5.2.7_webpack@5.97.1/node_modules/css-loader/dist/runtime/api.js","webpack:///./node_modules/.pnpm/css-loader@5.2.7_webpack@5.97.1/node_modules/css-loader/dist/runtime/cssWithMappingToString.js","webpack:///./registry/lib/components/live/remove-watermark/remove-watermark.scss?f235","webpack:///webpack/bootstrap","webpack:///webpack/runtime/define property getters","webpack:///webpack/runtime/hasOwnProperty shorthand","webpack:///webpack/runtime/make namespace object","webpack:///external root [\"coreApis\",\"componentApis\",\"define\"]","webpack:///external root [\"coreApis\",\"componentApis\",\"styledComponent\"]","webpack:///./registry/lib/components/live/remove-watermark/index.ts","webpack:///external root [\"coreApis\",\"utils\",\"urls\"]"],"sourcesContent":["(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory();\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine([], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"live/remove-watermark\"] = factory();\n\telse\n\t\troot[\"live/remove-watermark\"] = factory();\n})(globalThis, () => {\nreturn ","var getProto = Object.getPrototypeOf ? (obj) => (Object.getPrototypeOf(obj)) : (obj) => (obj.__proto__);\nvar leafPrototypes;\n// create a fake namespace object\n// mode & 1: value is a module id, require it\n// mode & 2: merge all properties of value into the ns\n// mode & 4: return value when already ns object\n// mode & 16: return value when it's Promise-like\n// mode & 8|1: behave like require\n__webpack_require__.t = function(value, mode) {\n\tif(mode & 1) value = this(value);\n\tif(mode & 8) return value;\n\tif(typeof value === 'object' && value) {\n\t\tif((mode & 4) && value.__esModule) return value;\n\t\tif((mode & 16) && typeof value.then === 'function') return value;\n\t}\n\tvar ns = Object.create(null);\n\t__webpack_require__.r(ns);\n\tvar def = {};\n\tleafPrototypes = leafPrototypes || [null, getProto({}), getProto([]), getProto(getProto)];\n\tfor(var current = mode & 2 && value; typeof current == 'object' && !~leafPrototypes.indexOf(current); current = getProto(current)) {\n\t\tObject.getOwnPropertyNames(current).forEach((key) => (def[key] = () => (value[key])));\n\t}\n\tdef['default'] = () => (value);\n\t__webpack_require__.d(ns, def);\n\treturn ns;\n};","// Imports\nvar ___CSS_LOADER_API_SOURCEMAP_IMPORT___ = require(\"../../../../../node_modules/.pnpm/css-loader@5.2.7_webpack@5.97.1/node_modules/css-loader/dist/runtime/cssWithMappingToString.js\");\nvar ___CSS_LOADER_API_IMPORT___ = require(\"../../../../../node_modules/.pnpm/css-loader@5.2.7_webpack@5.97.1/node_modules/css-loader/dist/runtime/api.js\");\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, \".player-ctnr .web-player-icon-roomStatus,\\n.live-player-ctnr .web-player-icon-roomStatus,\\n.bilibili-live-player-video-logo {\\n display: none !important;\\n}\", \"\",{\"version\":3,\"sources\":[\"webpack://./registry/lib/components/live/remove-watermark/remove-watermark.scss\"],\"names\":[],\"mappings\":\"AAAA;;;EAGE,wBAAwB;AAC1B\",\"sourcesContent\":[\".player-ctnr .web-player-icon-roomStatus,\\n.live-player-ctnr .web-player-icon-roomStatus,\\n.bilibili-live-player-video-logo {\\n display: none !important;\\n}\"],\"sourceRoot\":\"\"}]);\n// Exports\nmodule.exports = ___CSS_LOADER_EXPORT___;\n","\"use strict\";\n\n/*\n MIT License http://www.opensource.org/licenses/mit-license.php\n Author Tobias Koppers @sokra\n*/\n// css base code, injected by the css-loader\n// eslint-disable-next-line func-names\nmodule.exports = function (cssWithMappingToString) {\n var list = []; // return the list of modules as css string\n\n list.toString = function toString() {\n return this.map(function (item) {\n var content = cssWithMappingToString(item);\n\n if (item[2]) {\n return \"@media \".concat(item[2], \" {\").concat(content, \"}\");\n }\n\n return content;\n }).join(\"\");\n }; // import a list of modules into the list\n // eslint-disable-next-line func-names\n\n\n list.i = function (modules, mediaQuery, dedupe) {\n if (typeof modules === \"string\") {\n // eslint-disable-next-line no-param-reassign\n modules = [[null, modules, \"\"]];\n }\n\n var alreadyImportedModules = {};\n\n if (dedupe) {\n for (var i = 0; i < this.length; i++) {\n // eslint-disable-next-line prefer-destructuring\n var id = this[i][0];\n\n if (id != null) {\n alreadyImportedModules[id] = true;\n }\n }\n }\n\n for (var _i = 0; _i < modules.length; _i++) {\n var item = [].concat(modules[_i]);\n\n if (dedupe && alreadyImportedModules[item[0]]) {\n // eslint-disable-next-line no-continue\n continue;\n }\n\n if (mediaQuery) {\n if (!item[2]) {\n item[2] = mediaQuery;\n } else {\n item[2] = \"\".concat(mediaQuery, \" and \").concat(item[2]);\n }\n }\n\n list.push(item);\n }\n };\n\n return list;\n};","\"use strict\";\n\nfunction _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }\n\nfunction _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.\"); }\n\nfunction _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); }\n\nfunction _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; }\n\nfunction _iterableToArrayLimit(arr, i) { var _i = arr && (typeof Symbol !== \"undefined\" && arr[Symbol.iterator] || arr[\"@@iterator\"]); if (_i == null) return; var _arr = []; var _n = true; var _d = false; var _s, _e; try { for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i[\"return\"] != null) _i[\"return\"](); } finally { if (_d) throw _e; } } return _arr; }\n\nfunction _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }\n\nmodule.exports = function cssWithMappingToString(item) {\n var _item = _slicedToArray(item, 4),\n content = _item[1],\n cssMapping = _item[3];\n\n if (!cssMapping) {\n return content;\n }\n\n if (typeof btoa === \"function\") {\n // eslint-disable-next-line no-undef\n var base64 = btoa(unescape(encodeURIComponent(JSON.stringify(cssMapping))));\n var data = \"sourceMappingURL=data:application/json;charset=utf-8;base64,\".concat(base64);\n var sourceMapping = \"/*# \".concat(data, \" */\");\n var sourceURLs = cssMapping.sources.map(function (source) {\n return \"/*# sourceURL=\".concat(cssMapping.sourceRoot || \"\").concat(source, \" */\");\n });\n return [content].concat(sourceURLs).concat([sourceMapping]).join(\"\\n\");\n }\n\n return [content].join(\"\\n\");\n};","\n var result = require(\"!!../../../../../node_modules/.pnpm/css-loader@5.2.7_webpack@5.97.1/node_modules/css-loader/dist/cjs.js??clonedRuleSet-295.use[1]!../../../../../node_modules/.pnpm/postcss-loader@4.3.0_postcss@8.5.2_webpack@5.97.1/node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-295.use[2]!../../../../../node_modules/.pnpm/fast-sass-loader@2.0.1_sass@1.25.0_webpack@5.97.1/node_modules/fast-sass-loader/lib/index.js??clonedRuleSet-295.use[3]!./remove-watermark.scss\");\n\n if (result && result.__esModule) {\n result = result.default;\n }\n\n if (typeof result === \"string\") {\n module.exports = result;\n } else {\n module.exports = result.toString();\n }\n ","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\tid: moduleId,\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId](module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n","// define getter functions for harmony exports\n__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","// define __esModule on exports\n__webpack_require__.r = (exports) => {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","const __WEBPACK_NAMESPACE_OBJECT__ = coreApis.componentApis.define;","const __WEBPACK_NAMESPACE_OBJECT__ = coreApis.componentApis.styledComponent;","import { defineComponentMetadata } from '@/components/define'\nimport { toggleStyle } from '@/components/styled-component'\nimport { liveUrls } from '@/core/utils/urls'\n\nconst liveUrlsWithHome = [...liveUrls, /^https:\\/\\/live\\.bilibili\\.com\\/(index\\.html)?$/]\n\nexport const component = defineComponentMetadata({\n ...toggleStyle('removeLiveWatermark', () => import('./remove-watermark.scss')),\n displayName: '删除直播水印',\n tags: [componentsTags.live, componentsTags.style],\n description: {\n 'zh-CN': '删除观看直播时角落的水印.',\n },\n urlInclude: liveUrlsWithHome,\n})\n","const __WEBPACK_NAMESPACE_OBJECT__ = coreApis.utils.urls;"],"names":["root","factory","exports","module","define","amd","globalThis","leafPrototypes","getProto","___CSS_LOADER_API_SOURCEMAP_IMPORT___","___CSS_LOADER_EXPORT___","___CSS_LOADER_API_IMPORT___","push","id","cssWithMappingToString","list","toString","this","map","item","content","concat","join","i","modules","mediaQuery","dedupe","alreadyImportedModules","length","_i","_slicedToArray","arr","Array","isArray","_arrayWithHoles","Symbol","iterator","_s","_e","_arr","_n","_d","call","next","done","value","err","_iterableToArrayLimit","o","minLen","_arrayLikeToArray","n","Object","prototype","slice","constructor","name","from","test","_unsupportedIterableToArray","TypeError","_nonIterableRest","len","arr2","_item","cssMapping","btoa","base64","unescape","encodeURIComponent","JSON","stringify","data","sourceMapping","sourceURLs","sources","source","sourceRoot","result","__esModule","default","__webpack_module_cache__","__webpack_require__","moduleId","cachedModule","undefined","__webpack_modules__","getPrototypeOf","obj","t","mode","then","ns","create","r","def","current","indexOf","getOwnPropertyNames","forEach","key","d","definition","defineProperty","enumerable","get","prop","hasOwnProperty","toStringTag","coreApis","componentApis","styledComponent","liveUrlsWithHome","utils","urls","liveUrls","component","defineComponentMetadata","toggleStyle","displayName","tags","componentsTags","live","style","description","urlInclude","commitHash","coreVersion"],"sourceRoot":""} \ No newline at end of file diff --git a/bb-evolved/registry/dist/components/live/showgirl.js b/bb-evolved/registry/dist/components/live/showgirl.js index d18e40b074..d1cb1c2e85 100644 --- a/bb-evolved/registry/dist/components/live/showgirl.js +++ b/bb-evolved/registry/dist/components/live/showgirl.js @@ -1,2 +1,2 @@ -!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["live/showgirl"]=t():e["live/showgirl"]=t()}(globalThis,(()=>(()=>{"use strict";var e,t,o={479:e=>{e.exports=coreApis.style}},n={};function r(e){var t=n[e];if(void 0!==t)return t.exports;var i=n[e]={exports:{}};return o[e](i,i.exports,r),i.exports}t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,r.t=function(o,n){if(1&n&&(o=this(o)),8&n)return o;if("object"==typeof o&&o){if(4&n&&o.__esModule)return o;if(16&n&&"function"==typeof o.then)return o}var i=Object.create(null);r.r(i);var a={};e=e||[null,t({}),t([]),t(t)];for(var l=2&n&&o;"object"==typeof l&&!~e.indexOf(l);l=t(l))Object.getOwnPropertyNames(l).forEach((e=>a[e]=()=>o[e]));return a.default=()=>o,r.d(i,a),i},r.d=(e,t)=>{for(var o in t)r.o(t,o)&&!r.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var i={};r.d(i,{component:()=>d});const a=coreApis.componentApis.define,l=coreApis.utils.urls,c="dpi-live-showgirl",s=async()=>{const{addStyle:e}=await Promise.resolve().then(r.t.bind(r,479,23));null===document.getElementById(c)&&e(`\n .haruna-ctnr,\n .avatar-btn\n {\n transform: scale(${1/window.devicePixelRatio}) !important;\n }\n `,c)},d=(0,a.defineComponentMetadata)({name:"dpiLiveShowgirl",displayName:"直播看板娘高 DPI 适配",enabledByDefault:window.devicePixelRatio>1,description:{"zh-CN":"根据屏幕 DPI 缩放直播看板娘的大小, 避免像素锯齿."},tags:[componentsTags.live,componentsTags.style],entry:s,reload:s,unload:()=>{document.getElementById(c)?.remove()},urlInclude:l.liveUrls,commitHash:"58c0b438ca2371e397f70466a91572cb2757b142",coreVersion:"2.10.7"});return i=i.component})())); +!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["live/showgirl"]=t():e["live/showgirl"]=t()}(globalThis,(()=>(()=>{"use strict";var e,t,o={479:e=>{e.exports=coreApis.style}},n={};function r(e){var t=n[e];if(void 0!==t)return t.exports;var i=n[e]={exports:{}};return o[e](i,i.exports,r),i.exports}t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,r.t=function(o,n){if(1&n&&(o=this(o)),8&n)return o;if("object"==typeof o&&o){if(4&n&&o.__esModule)return o;if(16&n&&"function"==typeof o.then)return o}var i=Object.create(null);r.r(i);var a={};e=e||[null,t({}),t([]),t(t)];for(var l=2&n&&o;"object"==typeof l&&!~e.indexOf(l);l=t(l))Object.getOwnPropertyNames(l).forEach((e=>a[e]=()=>o[e]));return a.default=()=>o,r.d(i,a),i},r.d=(e,t)=>{for(var o in t)r.o(t,o)&&!r.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var i={};r.d(i,{component:()=>s});const a=coreApis.componentApis.define,l=coreApis.utils.urls,d="dpi-live-showgirl",c=async()=>{const{addStyle:e}=await Promise.resolve().then(r.t.bind(r,479,23));null===document.getElementById(d)&&e(`\n .haruna-ctnr,\n .avatar-btn\n {\n transform: scale(${1/window.devicePixelRatio}) !important;\n }\n `,d)},s=(0,a.defineComponentMetadata)({name:"dpiLiveShowgirl",displayName:"直播看板娘高 DPI 适配",enabledByDefault:window.devicePixelRatio>1,description:{"zh-CN":"根据屏幕 DPI 缩放直播看板娘的大小, 避免像素锯齿."},tags:[componentsTags.live,componentsTags.style],entry:c,reload:c,unload:()=>{document.getElementById(d)?.remove()},urlInclude:l.liveUrls,commitHash:"d87d69cfb9d7e0124bd90a06fec4569bd61e02c5",coreVersion:"2.10.7"});return i=i.component})())); //# sourceMappingURL=https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/registry/dist/components/live/showgirl.js.map \ No newline at end of file diff --git a/bb-evolved/registry/dist/components/live/side-bar.js b/bb-evolved/registry/dist/components/live/side-bar.js index 6c3f2ecf4c..e1de221763 100644 --- a/bb-evolved/registry/dist/components/live/side-bar.js +++ b/bb-evolved/registry/dist/components/live/side-bar.js @@ -8,5 +8,5 @@ r=[[null,r,""]]);var o={};if(e)for(var a=0;a{"use strict";function t(r,t){return function(r){if(Array.isArray(r))return r}(r)||function(r,t){var n=r&&("undefined"!=typeof Symbol&&r[Symbol.iterator]||r["@@iterator"]);if(null==n)return;var e,o,a=[],i=!0,s=!1;try{for(n=n.call(r);!(i=(e=n.next()).done)&&(a.push(e.value),!t||a.length!==t);i=!0);}catch(r){s=!0,o=r}finally{try{i||null==n.return||n.return()}finally{if(s)throw o}}return a}(r,t)||function(r,t){if(!r)return;if("string"==typeof r)return n(r,t);var e=Object.prototype.toString.call(r).slice(8,-1);"Object"===e&&r.constructor&&(e=r.constructor.name);if("Map"===e||"Set"===e)return Array.from(r);if("Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e))return n(r,t)}(r,t)||function(){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 n(r,t){(null==t||t>r.length)&&(t=r.length);for(var n=0,e=new Array(t);n{var e=n(720);e&&e.__esModule&&(e=e.default),r.exports="string"==typeof e?e:e.toString()}},e={};function o(r){var t=e[r];if(void 0!==t)return t.exports;var a=e[r]={id:r,exports:{}};return n[r](a,a.exports,o),a.exports}t=Object.getPrototypeOf?r=>Object.getPrototypeOf(r):r=>r.__proto__,o.t=function(n,e){if(1&e&&(n=this(n)),8&e)return n;if("object"==typeof n&&n){if(4&e&&n.__esModule)return n;if(16&e&&"function"==typeof n.then)return n}var a=Object.create(null);o.r(a);var i={};r=r||[null,t({}),t([]),t(t)];for(var s=2&e&&n;"object"==typeof s&&!~r.indexOf(s);s=t(s))Object.getOwnPropertyNames(s).forEach((r=>i[r]=()=>n[r]));return i.default=()=>n,o.d(a,i),a},o.d=(r,t)=>{for(var n in t)o.o(t,n)&&!o.o(r,n)&&Object.defineProperty(r,n,{enumerable:!0,get:t[n]})},o.o=(r,t)=>Object.prototype.hasOwnProperty.call(r,t),o.r=r=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(r,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(r,"__esModule",{value:!0})};var a={};return(()=>{"use strict";o.d(a,{component:()=>n});const r=coreApis.componentApis.define,t=coreApis.utils.urls,n=(0,r.defineComponentMetadata)({name:"collapseLiveSideBar",entry:none,instantStyles:[{name:"collapseLiveSideBar",style:()=>Promise.resolve().then(o.t.bind(o,698,23))}],displayName:"自动收起直播侧栏",description:'自动收起直播间右边偏下的侧栏. (上面有个 "关注" 的面板)',tags:[componentsTags.live,componentsTags.style],urlInclude:t.liveUrls,commitHash:"58c0b438ca2371e397f70466a91572cb2757b142",coreVersion:"2.10.7"})})(),a=a.component})())); +var a=btoa(unescape(encodeURIComponent(JSON.stringify(o)))),i="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(a),s="/*# ".concat(i," */"),c=o.sources.map((function(r){return"/*# sourceURL=".concat(o.sourceRoot||"").concat(r," */")}));return[e].concat(c).concat([s]).join("\n")}return[e].join("\n")}},698:(r,t,n)=>{var e=n(720);e&&e.__esModule&&(e=e.default),r.exports="string"==typeof e?e:e.toString()}},e={};function o(r){var t=e[r];if(void 0!==t)return t.exports;var a=e[r]={id:r,exports:{}};return n[r](a,a.exports,o),a.exports}t=Object.getPrototypeOf?r=>Object.getPrototypeOf(r):r=>r.__proto__,o.t=function(n,e){if(1&e&&(n=this(n)),8&e)return n;if("object"==typeof n&&n){if(4&e&&n.__esModule)return n;if(16&e&&"function"==typeof n.then)return n}var a=Object.create(null);o.r(a);var i={};r=r||[null,t({}),t([]),t(t)];for(var s=2&e&&n;"object"==typeof s&&!~r.indexOf(s);s=t(s))Object.getOwnPropertyNames(s).forEach((r=>i[r]=()=>n[r]));return i.default=()=>n,o.d(a,i),a},o.d=(r,t)=>{for(var n in t)o.o(t,n)&&!o.o(r,n)&&Object.defineProperty(r,n,{enumerable:!0,get:t[n]})},o.o=(r,t)=>Object.prototype.hasOwnProperty.call(r,t),o.r=r=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(r,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(r,"__esModule",{value:!0})};var a={};return(()=>{"use strict";o.d(a,{component:()=>n});const r=coreApis.componentApis.define,t=coreApis.utils.urls,n=(0,r.defineComponentMetadata)({name:"collapseLiveSideBar",entry:none,instantStyles:[{name:"collapseLiveSideBar",style:()=>Promise.resolve().then(o.t.bind(o,698,23))}],displayName:"自动收起直播侧栏",description:'自动收起直播间右边偏下的侧栏. (上面有个 "关注" 的面板)',tags:[componentsTags.live,componentsTags.style],urlInclude:t.liveUrls,commitHash:"d87d69cfb9d7e0124bd90a06fec4569bd61e02c5",coreVersion:"2.10.7"})})(),a=a.component})())); //# sourceMappingURL=https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/registry/dist/components/live/side-bar.js.map \ No newline at end of file diff --git a/bb-evolved/registry/dist/components/style/always-show-duration.js b/bb-evolved/registry/dist/components/style/always-show-duration.js index 038ddfa879..ade1a4a6f2 100644 --- a/bb-evolved/registry/dist/components/style/always-show-duration.js +++ b/bb-evolved/registry/dist/components/style/always-show-duration.js @@ -8,5 +8,5 @@ t=[[null,t,""]]);var n={};if(o)for(var a=0;a{"use strict";function e(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=t&&("undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"]);if(null==r)return;var o,n,a=[],i=!0,c=!1;try{for(r=r.call(t);!(i=(o=r.next()).done)&&(a.push(o.value),!e||a.length!==e);i=!0);}catch(t){c=!0,n=t}finally{try{i||null==r.return||r.return()}finally{if(c)throw n}}return a}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return r(t,e);var o=Object.prototype.toString.call(t).slice(8,-1);"Object"===o&&t.constructor&&(o=t.constructor.name);if("Map"===o||"Set"===o)return Array.from(t);if("Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o))return r(t,e)}(t,e)||function(){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 r(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,o=new Array(e);r{var o=r(951);o&&o.__esModule&&(o=o.default),t.exports="string"==typeof o?o:o.toString()}},o={};function n(t){var e=o[t];if(void 0!==e)return e.exports;var a=o[t]={id:t,exports:{}};return r[t](a,a.exports,n),a.exports}e=Object.getPrototypeOf?t=>Object.getPrototypeOf(t):t=>t.__proto__,n.t=function(r,o){if(1&o&&(r=this(r)),8&o)return r;if("object"==typeof r&&r){if(4&o&&r.__esModule)return r;if(16&o&&"function"==typeof r.then)return r}var a=Object.create(null);n.r(a);var i={};t=t||[null,e({}),e([]),e(e)];for(var c=2&o&&r;"object"==typeof c&&!~t.indexOf(c);c=e(c))Object.getOwnPropertyNames(c).forEach((t=>i[t]=()=>r[t]));return i.default=()=>r,n.d(a,i),a},n.d=(t,e)=>{for(var r in e)n.o(e,r)&&!n.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},n.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),n.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var a={};return(()=>{"use strict";n.d(a,{component:()=>e});const t=coreApis.componentApis.styledComponent,e=(0,coreApis.componentApis.define.defineComponentMetadata)({...(0,t.toggleStyle)("alwaysShowDuration",(()=>Promise.resolve().then(n.t.bind(n,365,23)))),displayName:"总是显示视频时长",description:{"zh-CN":"使脚本展示的各种视频卡片中的时长无需鼠标经过也能一直显示."},tags:[componentsTags.video,componentsTags.style],commitHash:"58c0b438ca2371e397f70466a91572cb2757b142",coreVersion:"2.10.7"})})(),a=a.component})())); +var a=btoa(unescape(encodeURIComponent(JSON.stringify(n)))),i="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(a),c="/*# ".concat(i," */"),u=n.sources.map((function(t){return"/*# sourceURL=".concat(n.sourceRoot||"").concat(t," */")}));return[o].concat(u).concat([c]).join("\n")}return[o].join("\n")}},365:(t,e,r)=>{var o=r(951);o&&o.__esModule&&(o=o.default),t.exports="string"==typeof o?o:o.toString()}},o={};function n(t){var e=o[t];if(void 0!==e)return e.exports;var a=o[t]={id:t,exports:{}};return r[t](a,a.exports,n),a.exports}e=Object.getPrototypeOf?t=>Object.getPrototypeOf(t):t=>t.__proto__,n.t=function(r,o){if(1&o&&(r=this(r)),8&o)return r;if("object"==typeof r&&r){if(4&o&&r.__esModule)return r;if(16&o&&"function"==typeof r.then)return r}var a=Object.create(null);n.r(a);var i={};t=t||[null,e({}),e([]),e(e)];for(var c=2&o&&r;"object"==typeof c&&!~t.indexOf(c);c=e(c))Object.getOwnPropertyNames(c).forEach((t=>i[t]=()=>r[t]));return i.default=()=>r,n.d(a,i),a},n.d=(t,e)=>{for(var r in e)n.o(e,r)&&!n.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},n.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),n.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var a={};return(()=>{"use strict";n.d(a,{component:()=>e});const t=coreApis.componentApis.styledComponent,e=(0,coreApis.componentApis.define.defineComponentMetadata)({...(0,t.toggleStyle)("alwaysShowDuration",(()=>Promise.resolve().then(n.t.bind(n,365,23)))),displayName:"总是显示视频时长",description:{"zh-CN":"使脚本展示的各种视频卡片中的时长无需鼠标经过也能一直显示."},tags:[componentsTags.video,componentsTags.style],commitHash:"d87d69cfb9d7e0124bd90a06fec4569bd61e02c5",coreVersion:"2.10.7"})})(),a=a.component})())); //# sourceMappingURL=https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/registry/dist/components/style/always-show-duration.js.map \ No newline at end of file diff --git a/bb-evolved/registry/dist/components/style/auto-hide-sidebar.js b/bb-evolved/registry/dist/components/style/auto-hide-sidebar.js index 41d0cbb543..2db8357cb5 100644 --- a/bb-evolved/registry/dist/components/style/auto-hide-sidebar.js +++ b/bb-evolved/registry/dist/components/style/auto-hide-sidebar.js @@ -8,5 +8,5 @@ t=[[null,t,""]]);var o={};if(r)for(var i=0;i{"use strict";function e(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=t&&("undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"]);if(null==n)return;var r,o,i=[],a=!0,s=!1;try{for(n=n.call(t);!(a=(r=n.next()).done)&&(i.push(r.value),!e||i.length!==e);a=!0);}catch(t){s=!0,o=t}finally{try{a||null==n.return||n.return()}finally{if(s)throw o}}return i}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return n(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return n(t,e)}(t,e)||function(){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 n(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n{var r=n(667);r&&r.__esModule&&(r=r.default),t.exports="string"==typeof r?r:r.toString()}},r={};function o(t){var e=r[t];if(void 0!==e)return e.exports;var i=r[t]={id:t,exports:{}};return n[t](i,i.exports,o),i.exports}e=Object.getPrototypeOf?t=>Object.getPrototypeOf(t):t=>t.__proto__,o.t=function(n,r){if(1&r&&(n=this(n)),8&r)return n;if("object"==typeof n&&n){if(4&r&&n.__esModule)return n;if(16&r&&"function"==typeof n.then)return n}var i=Object.create(null);o.r(i);var a={};t=t||[null,e({}),e([]),e(e)];for(var s=2&r&&n;"object"==typeof s&&!~t.indexOf(s);s=e(s))Object.getOwnPropertyNames(s).forEach((t=>a[t]=()=>n[t]));return a.default=()=>n,o.d(i,a),i},o.d=(t,e)=>{for(var n in e)o.o(e,n)&&!o.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},o.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),o.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var i={};return(()=>{"use strict";o.d(i,{component:()=>r});const t=coreApis.componentApis.define,e=coreApis.settings,n=coreApis.utils,r=(0,t.defineComponentMetadata)({name:"autoHideSidebar",entry:()=>{(0,e.addComponentListener)("autoHideSidebar.triggerWidth",(t=>{document.documentElement.style.setProperty("--auto-hide-sidebar-width",`${t}px`)}),!0)},displayName:"自动隐藏侧栏",instantStyles:[{name:"autoHideSidebar",style:()=>Promise.resolve().then(o.t.bind(o,105,23)),important:!0}],tags:[componentsTags.style,componentsTags.general],options:{triggerWidth:{defaultValue:8,displayName:"触发区域宽度 (px)",validator:(0,n.getNumberValidator)(1,1e3)}},description:{"zh-CN":"自动隐藏脚本的侧栏 (功能和设置图标). 设置面板停靠在右侧时不建议使用, 因为网页的滚动条会占用右边缘的触发区域."},commitHash:"58c0b438ca2371e397f70466a91572cb2757b142",coreVersion:"2.10.7"})})(),i=i.component})())); +var i=btoa(unescape(encodeURIComponent(JSON.stringify(o)))),a="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(i),s="/*# ".concat(a," */"),c=o.sources.map((function(t){return"/*# sourceURL=".concat(o.sourceRoot||"").concat(t," */")}));return[r].concat(c).concat([s]).join("\n")}return[r].join("\n")}},105:(t,e,n)=>{var r=n(667);r&&r.__esModule&&(r=r.default),t.exports="string"==typeof r?r:r.toString()}},r={};function o(t){var e=r[t];if(void 0!==e)return e.exports;var i=r[t]={id:t,exports:{}};return n[t](i,i.exports,o),i.exports}e=Object.getPrototypeOf?t=>Object.getPrototypeOf(t):t=>t.__proto__,o.t=function(n,r){if(1&r&&(n=this(n)),8&r)return n;if("object"==typeof n&&n){if(4&r&&n.__esModule)return n;if(16&r&&"function"==typeof n.then)return n}var i=Object.create(null);o.r(i);var a={};t=t||[null,e({}),e([]),e(e)];for(var s=2&r&&n;"object"==typeof s&&!~t.indexOf(s);s=e(s))Object.getOwnPropertyNames(s).forEach((t=>a[t]=()=>n[t]));return a.default=()=>n,o.d(i,a),i},o.d=(t,e)=>{for(var n in e)o.o(e,n)&&!o.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},o.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),o.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var i={};return(()=>{"use strict";o.d(i,{component:()=>r});const t=coreApis.componentApis.define,e=coreApis.settings,n=coreApis.utils,r=(0,t.defineComponentMetadata)({name:"autoHideSidebar",entry:()=>{(0,e.addComponentListener)("autoHideSidebar.triggerWidth",(t=>{document.documentElement.style.setProperty("--auto-hide-sidebar-width",`${t}px`)}),!0)},displayName:"自动隐藏侧栏",instantStyles:[{name:"autoHideSidebar",style:()=>Promise.resolve().then(o.t.bind(o,105,23)),important:!0}],tags:[componentsTags.style,componentsTags.general],options:{triggerWidth:{defaultValue:8,displayName:"触发区域宽度 (px)",validator:(0,n.getNumberValidator)(1,1e3)}},description:{"zh-CN":"自动隐藏脚本的侧栏 (功能和设置图标). 设置面板停靠在右侧时不建议使用, 因为网页的滚动条会占用右边缘的触发区域."},commitHash:"d87d69cfb9d7e0124bd90a06fec4569bd61e02c5",coreVersion:"2.10.7"})})(),i=i.component})())); //# sourceMappingURL=https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/registry/dist/components/style/auto-hide-sidebar.js.map \ No newline at end of file diff --git a/bb-evolved/registry/dist/components/style/clear-home.js b/bb-evolved/registry/dist/components/style/clear-home.js index 00678e586c..decd05c533 100644 --- a/bb-evolved/registry/dist/components/style/clear-home.js +++ b/bb-evolved/registry/dist/components/style/clear-home.js @@ -1,2 +1,2 @@ -!function(e,a){"object"==typeof exports&&"object"==typeof module?module.exports=a():"function"==typeof define&&define.amd?define([],a):"object"==typeof exports?exports["style/clear-home"]=a():e["style/clear-home"]=a()}(globalThis,(()=>(()=>{"use strict";var e={d:(a,l)=>{for(var t in l)e.o(l,t)&&!e.o(a,t)&&Object.defineProperty(a,t,{enumerable:!0,get:l[t]})},o:(e,a)=>Object.prototype.hasOwnProperty.call(e,a)},a={};e.d(a,{component:()=>c});const l=coreApis.componentApis.define,t=coreApis.settings,s=[];let d=!1,i=!0;const o=(0,l.defineOptionsMetadata)({广告:{displayName:"广告",defaultValue:!0},番剧:{displayName:"番剧",defaultValue:!0},电影:{displayName:"电影",defaultValue:!0},国创:{displayName:"国创",defaultValue:!0},电视剧:{displayName:"电视剧",defaultValue:!0},综艺:{displayName:"综艺",defaultValue:!0},纪录片:{displayName:"纪录片",defaultValue:!0},动画:{displayName:"动画",defaultValue:!0},游戏:{displayName:"游戏",defaultValue:!0},鬼畜:{displayName:"鬼畜",defaultValue:!0},音乐:{displayName:"音乐",defaultValue:!0},舞蹈:{displayName:"舞蹈",defaultValue:!0},影视:{displayName:"影视",defaultValue:!0},娱乐:{displayName:"娱乐",defaultValue:!0},知识:{displayName:"知识",defaultValue:!0},科技:{displayName:"科技",defaultValue:!0},资讯:{displayName:"资讯",defaultValue:!0},美食:{displayName:"美食",defaultValue:!0},生活:{displayName:"生活",defaultValue:!0},汽车:{displayName:"汽车",defaultValue:!0},时尚:{displayName:"时尚",defaultValue:!0},运动:{displayName:"运动",defaultValue:!0},动物圈:{displayName:"动物圈",defaultValue:!0},VLOG:{displayName:"VLOG",defaultValue:!0},搞笑:{displayName:"搞笑",defaultValue:!0},单机游戏:{displayName:"单机游戏",defaultValue:!0},虚拟UP主:{displayName:"虚拟UP主",defaultValue:!0},公益:{displayName:"公益",defaultValue:!0},公开课:{displayName:"公开课",defaultValue:!0},专栏:{displayName:"专栏",defaultValue:!0},直播:{displayName:"直播",defaultValue:!0},赛事:{displayName:"赛事",defaultValue:!0},活动:{displayName:"活动",defaultValue:!0},课堂:{displayName:"课堂",defaultValue:!0},社区中心:{displayName:"社区中心",defaultValue:!0},新歌热榜:{displayName:"新歌热榜",defaultValue:!0},漫画:{displayName:"漫画",defaultValue:!0}});function u(e){for(const a of e)if(a.classList)if(a.classList.contains("floor-single-card")){const e=a.querySelector(".badge").textContent;e&&s.includes(e)&&a.remove()}else a.classList.contains("bili-live-card")?d&&a.remove():(a.classList.contains("bili-video-card")||a.classList.contains("feed-card"))&&i&&(a.querySelector(".bili-video-card__info--ad")||a.querySelector(".bili-video-card__info--creative-ad"))&&a.remove()}function n(e){const a=[];for(const l of e){const e=l.target;if(!(e.classList&&e.classList.contains("carousel-transform")||"SPAN"===e.tagName)&&l.addedNodes.length>0)for(const e of l.addedNodes){const l=e;"#text"===l.nodeName||l.classList&&l.classList.contains("bili-watch-later")||a.push(l)}}a.length>0&&u(a)}const c=(0,l.defineComponentMetadata)({name:"clear-home",author:{name:"RieN7",link:"https://github.com/rien7"},tags:[componentsTags.style],displayName:"首页净化",description:"删除首页特定类型的卡片",entry:async e=>{let{metadata:a,settings:l}=e;const o=document.querySelector("main > .feed2 > .recommended-container_floor-aside > .container");if(!o)return;new MutationObserver(n).observe(o,{childList:!0}),Object.keys(l.options).forEach((e=>{(0,t.addComponentListener)(`${a.name}.${e}`,(a=>{if(a){if("广告"===e)return void(i=!0);s.push(e),"直播"===e&&(d=!0)}}),!0)}));u(o.children)},options:o,commitHash:"58c0b438ca2371e397f70466a91572cb2757b142",coreVersion:"2.10.7"});return a=a.component})())); +!function(e,a){"object"==typeof exports&&"object"==typeof module?module.exports=a():"function"==typeof define&&define.amd?define([],a):"object"==typeof exports?exports["style/clear-home"]=a():e["style/clear-home"]=a()}(globalThis,(()=>(()=>{"use strict";var e={d:(a,l)=>{for(var t in l)e.o(l,t)&&!e.o(a,t)&&Object.defineProperty(a,t,{enumerable:!0,get:l[t]})},o:(e,a)=>Object.prototype.hasOwnProperty.call(e,a)},a={};e.d(a,{component:()=>c});const l=coreApis.componentApis.define,t=coreApis.settings,d=[];let s=!1,i=!0;const o=(0,l.defineOptionsMetadata)({广告:{displayName:"广告",defaultValue:!0},番剧:{displayName:"番剧",defaultValue:!0},电影:{displayName:"电影",defaultValue:!0},国创:{displayName:"国创",defaultValue:!0},电视剧:{displayName:"电视剧",defaultValue:!0},综艺:{displayName:"综艺",defaultValue:!0},纪录片:{displayName:"纪录片",defaultValue:!0},动画:{displayName:"动画",defaultValue:!0},游戏:{displayName:"游戏",defaultValue:!0},鬼畜:{displayName:"鬼畜",defaultValue:!0},音乐:{displayName:"音乐",defaultValue:!0},舞蹈:{displayName:"舞蹈",defaultValue:!0},影视:{displayName:"影视",defaultValue:!0},娱乐:{displayName:"娱乐",defaultValue:!0},知识:{displayName:"知识",defaultValue:!0},科技:{displayName:"科技",defaultValue:!0},资讯:{displayName:"资讯",defaultValue:!0},美食:{displayName:"美食",defaultValue:!0},生活:{displayName:"生活",defaultValue:!0},汽车:{displayName:"汽车",defaultValue:!0},时尚:{displayName:"时尚",defaultValue:!0},运动:{displayName:"运动",defaultValue:!0},动物圈:{displayName:"动物圈",defaultValue:!0},VLOG:{displayName:"VLOG",defaultValue:!0},搞笑:{displayName:"搞笑",defaultValue:!0},单机游戏:{displayName:"单机游戏",defaultValue:!0},虚拟UP主:{displayName:"虚拟UP主",defaultValue:!0},公益:{displayName:"公益",defaultValue:!0},公开课:{displayName:"公开课",defaultValue:!0},专栏:{displayName:"专栏",defaultValue:!0},直播:{displayName:"直播",defaultValue:!0},赛事:{displayName:"赛事",defaultValue:!0},活动:{displayName:"活动",defaultValue:!0},课堂:{displayName:"课堂",defaultValue:!0},社区中心:{displayName:"社区中心",defaultValue:!0},新歌热榜:{displayName:"新歌热榜",defaultValue:!0},漫画:{displayName:"漫画",defaultValue:!0}});function u(e){for(const a of e)if(a.classList)if(a.classList.contains("floor-single-card")){const e=a.querySelector(".badge").textContent;e&&d.includes(e)&&a.remove()}else a.classList.contains("bili-live-card")?s&&a.remove():(a.classList.contains("bili-video-card")||a.classList.contains("feed-card"))&&i&&(a.querySelector(".bili-video-card__info--ad")||a.querySelector(".bili-video-card__info--creative-ad"))&&a.remove()}function n(e){const a=[];for(const l of e){const e=l.target;if(!(e.classList&&e.classList.contains("carousel-transform")||"SPAN"===e.tagName)&&l.addedNodes.length>0)for(const e of l.addedNodes){const l=e;"#text"===l.nodeName||l.classList&&l.classList.contains("bili-watch-later")||a.push(l)}}a.length>0&&u(a)}const c=(0,l.defineComponentMetadata)({name:"clear-home",author:{name:"RieN7",link:"https://github.com/rien7"},tags:[componentsTags.style],displayName:"首页净化",description:"删除首页特定类型的卡片",entry:async e=>{let{metadata:a,settings:l}=e;const o=document.querySelector("main > .feed2 > .recommended-container_floor-aside > .container");if(!o)return;new MutationObserver(n).observe(o,{childList:!0}),Object.keys(l.options).forEach((e=>{(0,t.addComponentListener)(`${a.name}.${e}`,(a=>{if(a){if("广告"===e)return void(i=!0);d.push(e),"直播"===e&&(s=!0)}}),!0)}));u(o.children)},options:o,commitHash:"d87d69cfb9d7e0124bd90a06fec4569bd61e02c5",coreVersion:"2.10.7"});return a=a.component})())); //# sourceMappingURL=https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/registry/dist/components/style/clear-home.js.map \ No newline at end of file diff --git a/bb-evolved/registry/dist/components/style/custom-font-family.js b/bb-evolved/registry/dist/components/style/custom-font-family.js index 996ce28bdd..fb26a2ac5c 100644 --- a/bb-evolved/registry/dist/components/style/custom-font-family.js +++ b/bb-evolved/registry/dist/components/style/custom-font-family.js @@ -11,5 +11,5 @@ var s=this[a][0];null!=s&&(i[s]=!0)}for(var r=0;r{"use strict";var o,i=function(){return void 0===o&&( // @see http://browserhacks.com/#hack-e71d8692f65334173fee715c222cb805 // @see https://github.com/webpack-contrib/style-loader/issues/177 -o=Boolean(window&&document&&document.all&&!window.atob)),o},a=function(){var t={};return function(e){if(void 0===t[e]){var n=document.querySelector(e);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(t){n=null}t[e]=n}return t[e]}}(),s=[];function r(t){for(var e=-1,n=0;n{var o=n(81);o&&o.__esModule&&(o=o.default),t.exports="string"==typeof o?o:o.toString()},929:(t,e,n)=>{var o=n(255);o&&o.__esModule&&(o=o.default),t.exports="string"==typeof o?o:o.toString()},947:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>d});var o=function(){var t=this,e=t._self._c;t._self._setupProxy;return e("div",{staticClass:"custom-font-family-extra-options-entry"},[e("VButton",{on:{mouseover:function(e){return t.loadPanel()},click:function(e){return t.togglePanelDisplay()}}},[t._v("\n 更多选项"),e("VIcon",{attrs:{icon:"right-arrow",size:16}})],1)],1)};o._withStripped=!0;var i=n(259),a=n(164),s=n(847);let r;const l=(0,i.defineComponent)({components:{VIcon:a.VIcon,VButton:a.VButton},methods:{loadPanel:async()=>{Boolean(r)||await(async()=>{const t=await Promise.resolve().then(n.bind(n,564)).then((t=>t.default));r=(0,s.mountVueComponent)(t),document.body.insertAdjacentElement("beforeend",r.$el)})()},togglePanelDisplay:async()=>{r.toggleDisplay()}}});var c=n(991),p=n.n(c),f=n(12),u=n.n(f),m={insert:"head",singleton:!1};p()(u(),m);u().locals;const d=(0,n(678).A)(l,o,[],!1,null,null,null).exports},564:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>I});var o=function(){var t=this,e=t._self._c;t._self._setupProxy;return e("ExtraOptionsPanel",{ref:"extraOptionsPanel",staticClass:"custom-font-family-extra-options-panel",class:{peek:t.isPeeking},attrs:{"init-data":t.initData},scopedSlots:t._u([{key:"input0",fn:function(){return[e("TextArea",{model:{value:t.inputFontFamily,callback:function(e){t.inputFontFamily=e},expression:"inputFontFamily"}})]},proxy:!0},{key:"input1",fn:function(){return[e("SwitchOptionsMin",{attrs:{options:t.switchOptionsComponentOptions}})]},proxy:!0}])})};o._withStripped=!0;var i=n(259),a=n(164),s=function(){var t=this,e=t._self._c;t._self._setupProxy;return e("div",{staticClass:"switch-options-min"},[e("div",{staticClass:"switch-options-min-grid"},t._l(Object.keys(t.options.switches),(function(n){return e(t.options.radio?"RadioButton":"CheckBox",t._b({key:n,tag:"component",class:{dim:!(Number(t.componentOptions[n])^Number(t.isDimAtChecked))},attrs:{checked:t.componentOptions[n]},on:{change:function(e){t.componentOptions[n]=e}}},"component",t.mergedSwitchProps,!1),[t._v("\n "+t._s(t.options.switches[n].displayName)+"\n ")])})),1)])};s._withStripped=!0;var r=n(905);const l=(0,i.defineComponent)({name:"SwitchOptionsMin",components:{CheckBox:a.CheckBox,RadioButton:a.RadioButton},props:{options:{type:Object,required:!0}},data(){const{componentName:t}=this.options;return{componentOptions:(0,r.getComponentSettings)(t).options,isDimAtChecked:(()=>"checked"===this.options.dimAt||void 0===this.options.dimAt||(this.options.dimAt,!1))()}},computed:{mergedSwitchProps(){return{checkedIcon:"mdi-eye-off-outline",notCheckedIcon:"mdi-eye-outline",...this.options.switchProps}}},watch:{options(){this.updateColumnsCount()}},mounted(){this.updateColumnsCount()},methods:{updateColumnsCount(){const t=this.$el,e=Math.ceil(Object.keys(this.options.switches).length/12);t.style.setProperty("--columns",e.toString())}}});var c=n(991),p=n.n(c),f=n(383),u=n.n(f),m={insert:"head",singleton:!1};p()(u(),m);u().locals;var d=n(678);const A=(0,d.A)(l,s,[],!1,null,null,null).exports;var b=function(){var t=this,e=t._self._c;t._self._setupProxy;return e("VPopup",{staticClass:"be-extra-options-panel",attrs:{fixed:"",lazy:!1},model:{value:t.popupOpen,callback:function(e){t.popupOpen=e},expression:"popupOpen"}},[e("div",{staticClass:"be-eop-header"},[e("div",{staticClass:"be-eop-h-title"},[e("VIcon",{staticClass:"be-eop-h-t-icon",attrs:{icon:t.initData.header.title.icon,size:24}}),t._v(" "),e("div",{staticClass:"be-eop-h-t-text"},[t._v(t._s(t.initData.header.title.text))])],1),t._v(" "),e("div",{staticClass:"be-eop-h-actions"},[t._l(t.initData.header.actions,(function(t){return e("div",{key:t.id,staticClass:"be-eop-h-a-action"},[e("VIcon",{ref:`action${t.id}`,refInFor:!0,class:`action-${t.actionClassNameSuffix}`,attrs:{title:t.title,icon:t.icon,size:24}})],1)})),t._v(" "),e("div",{staticClass:"be-eop-h-a-action"},[e("VIcon",{staticClass:"action-close",attrs:{title:"关闭",icon:"mdi-close",size:24},on:{click:function(e){t.popupOpen=!1}}})],1)],2)]),t._v(" "),e("div",{staticClass:"be-eop-separator"}),t._v(" "),e("div",{staticClass:"be-eop-content"},t._l(t.initData.content.options,(function(n){return e("div",{key:n.id,staticClass:"be-eop-c-option"},[e("div",{staticClass:"be-eop-c-o-title"},[t._v(t._s(n.title))]),t._v(" "),e("div",{staticClass:"be-eop-c-o-description"},[t._v(t._s(n.description))]),t._v(" "),e("div",{staticClass:"be-eop-c-o-input",class:`input-${n.inputClassNameSuffix}`},[t._t(`input${n.id}`,(function(){return[t._v("\n 选项输入入口默认文字,使用含 v-slot 指令的 template 元素以替换默认内容\n ")]}))],2)])})),0)])};b._withStripped=!0;const h=(0,i.defineComponent)({name:"ExtraOptionsPanel",components:{VPopup:a.VPopup,VIcon:a.VIcon},props:{initData:{type:Object,default:{header:{title:{text:"默认标题",icon:"mdi-format-font"},actions:[{id:0,title:"默认动作 0",icon:"mdi-cog-sync-outline",actionClassNameSuffix:"default-action-0"},{id:1,title:"默认动作 1",icon:"mdi-eye-outline",actionClassNameSuffix:"default-action-1"}]},content:{options:[{id:0,title:"默认选项 0",description:"默认选项 0 的说明",inputClassNameSuffix:"default-option-0"},{id:1,title:"默认选项 1",description:"默认选项 1 的说明",inputClassNameSuffix:"default-option-1"}]}}}},data:()=>({popupOpen:!1})});var y=n(87),x=n.n(y),v={insert:"head",singleton:!1};p()(x(),v);x().locals;const C=(0,d.A)(h,b,[],!1,null,null,null).exports,g=coreApis.toast;var E=n(847);const k=coreApis.utils.log;var B=n(801);const _={header:{title:{text:"自定义字体",icon:"mdi-format-font"},actions:[{id:0,title:"重置面板中的所有选项为默认值",icon:"mdi-cog-sync-outline",actionClassNameSuffix:"reset"},{id:1,title:"透视",icon:"mdi-eye-outline",actionClassNameSuffix:"peek"}]},content:{options:[{id:0,title:"自定义字体",description:"输入需要设置的字体,不同字体之间必须以英文逗号分隔",inputClassNameSuffix:"input-font-family"},{id:1,title:"覆盖选项",description:"下面的元素使用了特殊字体,启用选项后可在对应的元素上应用组件提供的字体设置",inputClassNameSuffix:"cover-options"}]}},w={name:"customFontFamilyCoverOptions",switches:{},radio:!1,dimAt:"notChecked",switchProps:{checkedIcon:"mdi-checkbox-marked-circle",notCheckedIcon:"mdi-checkbox-blank-circle-outline"},componentName:"customFontFamily",optionDisplayName:"自定义字体覆盖选项"};for(const t of B.J_)w.switches[t.camel]={displayName:t.display,defaultValue:B.Ab[t.camel]};const O=(0,k.useScopedConsole)("自定义字体"),S=(0,i.defineComponent)({components:{ExtraOptionsPanel:C,TextArea:a.TextArea,SwitchOptionsMin:A},data:()=>({isPeeking:!1,isMouseOverPeekIcon:!1,initData:_,inputFontFamily:(0,r.getComponentSettings)("customFontFamily").options.fontFamily,switchOptionsComponentOptions:w}),watch:{inputFontFamily:lodash.debounce((t=>{(0,r.getComponentSettings)("customFontFamily").options.fontFamily=t}),1e3),async isMouseOverPeekIcon(t){t?(t&&await(0,E.delay)(200),this.isMouseOverPeekIcon&&(this.isPeeking=!0)):this.isPeeking=!1}},mounted(){this.$refs.extraOptionsPanel.$refs.action0[0].$el.addEventListener("click",this.confirmResetOptions);const t=this.$refs.extraOptionsPanel.$refs.action1[0].$el;t.addEventListener("mouseover",this.setIsMouseOverPeekIconToTrue),t.addEventListener("mouseout",this.setIsMouseOverPeekIconToFalse)},methods:{toggleDisplay(){this.$refs.extraOptionsPanel.popupOpen=!this.$refs.extraOptionsPanel.popupOpen},setIsMouseOverPeekIconToTrue(){this.isMouseOverPeekIcon=!0},setIsMouseOverPeekIconToFalse(){this.isMouseOverPeekIcon=!1},confirmResetOptions(){confirm("确定将面板中的所有选项重置为默认值吗?")&&this.resetOptions()},resetOptions(){(0,r.getComponentSettings)("customFontFamily").options.fontFamily=B.qz,this.inputFontFamily=B.qz;for(const t of B.J_){const e=B.Ab[t.camel];(0,r.getComponentSettings)("customFontFamily").options[t.camel]=e}g.Toast.success("更多选项面板中的所有选项已成功被重置为默认值","自定义字体",2e3),O.log("更多选项面板中的所有选项已成功被重置为默认值")}}});var P=n(317),F=n.n(P),j={insert:"head",singleton:!1};p()(F(),j);F().locals;const I=(0,d.A)(S,o,[],!1,null,null,null).exports},678:(t,e,n)=>{"use strict";function o(t,e,n,o,i,a,s,r){var l,c="function"==typeof t?t.options:t;if(e&&(c.render=e,c.staticRenderFns=n,c._compiled=!0),o&&(c.functional=!0),a&&(c._scopeId="data-v-"+a),s?(l=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),i&&i.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(s)},c._ssrRegister=l):i&&(l=r?function(){i.call(this,(c.functional?this.parent:this).$root.$options.shadowRoot)}:i),l)if(c.functional){c._injectStyles=l;var p=c.render;c.render=function(t,e){return l.call(e),p(t,e)}}else{var f=c.beforeCreate;c.beforeCreate=f?[].concat(f,l):[l]}return{exports:t,options:c}}n.d(e,{A:()=>o})},620:t=>{function e(t){var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e}e.keys=()=>[],e.resolve=e,e.id=620,t.exports=e},535:t=>{"use strict";t.exports="使用组件提供的字体设置覆盖原版的主站字体,并使主站字体可被自定义。\n\n当组件被启用后,几乎所有的元素会立即应用组件提供的字体设置。\n\n选项说明:\n- `禁用标题标点符号缩进`: 在新版视频页中,推荐视频栏中的视频标题,如果首个字符是特定的标点符号,则文本会缩入左侧。这个选项可以禁用这种样式\n- `更多选项`:\n - `自定义字体`: 设置自定义字体。写法请参考 [MDN](https://developer.mozilla.org/zh-CN/docs/Web/CSS/font-family)、默认设置与设置说明。\n - `覆盖选项`: 相当于一个白名单,使用了特殊字体的元素会被加入其中。默认情况下这些元素不会应用组件提供的字体设置,只有在启用对应的选项后才会应用。"},259:t=>{"use strict";t.exports=globalThis.Vue},905:t=>{"use strict";t.exports=coreApis.settings},164:t=>{"use strict";t.exports=coreApis.ui},847:t=>{"use strict";t.exports=coreApis.utils}},o={};function i(t){var e=o[t];if(void 0!==e)return e.exports;var a=o[t]={id:t,exports:{}};return n[t](a,a.exports,i),a.exports}i.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return i.d(e,{a:e}),e},e=Object.getPrototypeOf?t=>Object.getPrototypeOf(t):t=>t.__proto__,i.t=function(n,o){if(1&o&&(n=this(n)),8&o)return n;if("object"==typeof n&&n){if(4&o&&n.__esModule)return n;if(16&o&&"function"==typeof n.then)return n}var a=Object.create(null);i.r(a);var s={};t=t||[null,e({}),e([]),e(e)];for(var r=2&o&&n;"object"==typeof r&&!~t.indexOf(r);r=e(r))Object.getOwnPropertyNames(r).forEach((t=>s[t]=()=>n[t]));return s.default=()=>n,i.d(a,s),a},i.d=(t,e)=>{for(var n in e)i.o(e,n)&&!i.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},i.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),i.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},i.nc=void 0;var a={};return(()=>{"use strict";i.d(a,{component:()=>f});const t=coreApis.componentApis.define;var e=i(905),n=i(801);const o=document.documentElement,s="custom-font-family",r="customFontFamily",l=[componentsTags.style,componentsTags.general],c={fontFamily:{displayName:"字体",defaultValue:n.qz,hidden:!0},disableTitlePunctuationTextIndent:{displayName:"禁用标题标点符号缩进",defaultValue:!0}};(()=>{for(const t of n.J_)c[t.camel]={displayName:t.display,defaultValue:n.Ab[t.camel],hidden:!0}})();const p=[{name:`${s}--style--set-font-family`,style:()=>Promise.resolve().then(i.t.bind(i,929,23)),important:!0},{name:`${s}--style--disable-title-punctuation-text-indent`,style:()=>Promise.resolve().then(i.t.bind(i,783,23)),important:!0}],f=(0,t.defineComponentMetadata)({name:r,displayName:"自定义字体",tags:l,entry:()=>{(0,e.addComponentListener)(`${r}.fontFamily`,(t=>{t?(o.style.setProperty(`--${s}--options--font-family`,`${t}`),o.setAttribute(`${s}--detect--is-input-empty`,"false")):o.setAttribute(`${s}--detect--is-input-empty`,"true")}),!0),(0,e.addComponentListener)(`${r}.disableTitlePunctuationTextIndent`,(t=>{o.setAttribute(`${s}--options--disable-title-punctuation-text-indent`,`${t}`)}),!0);for(const t of n.J_)(0,e.addComponentListener)(`${r}.${t.camel}`,(e=>{o.setAttribute(`${s}--options--${t.kebab}`,`${e}`)}),!0)},options:c,extraOptions:()=>Promise.resolve().then(i.bind(i,947)).then((t=>t.default)),instantStyles:p,author:{name:"Tinhone",link:"https://github.com/Tinhone"},commitHash:"58c0b438ca2371e397f70466a91572cb2757b142",coreVersion:"2.10.7",description:(()=>{const t=i(620);return{...Object.fromEntries(t.keys().map((e=>[e.match(/index\.(.+)\.md$/)[1],t(e)]))),"zh-CN":()=>Promise.resolve().then(i.t.bind(i,535,17)).then((t=>t.default))}})()})})(),a=a.component})())); +o=Boolean(window&&document&&document.all&&!window.atob)),o},a=function(){var t={};return function(e){if(void 0===t[e]){var n=document.querySelector(e);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(t){n=null}t[e]=n}return t[e]}}(),s=[];function r(t){for(var e=-1,n=0;n{var o=n(81);o&&o.__esModule&&(o=o.default),t.exports="string"==typeof o?o:o.toString()},929:(t,e,n)=>{var o=n(255);o&&o.__esModule&&(o=o.default),t.exports="string"==typeof o?o:o.toString()},947:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>d});var o=function(){var t=this,e=t._self._c;t._self._setupProxy;return e("div",{staticClass:"custom-font-family-extra-options-entry"},[e("VButton",{on:{mouseover:function(e){return t.loadPanel()},click:function(e){return t.togglePanelDisplay()}}},[t._v("\n 更多选项"),e("VIcon",{attrs:{icon:"right-arrow",size:16}})],1)],1)};o._withStripped=!0;var i=n(259),a=n(164),s=n(847);let r;const l=(0,i.defineComponent)({components:{VIcon:a.VIcon,VButton:a.VButton},methods:{loadPanel:async()=>{Boolean(r)||await(async()=>{const t=await Promise.resolve().then(n.bind(n,564)).then((t=>t.default));r=(0,s.mountVueComponent)(t),document.body.insertAdjacentElement("beforeend",r.$el)})()},togglePanelDisplay:async()=>{r.toggleDisplay()}}});var c=n(991),p=n.n(c),f=n(12),u=n.n(f),m={insert:"head",singleton:!1};p()(u(),m);u().locals;const d=(0,n(678).A)(l,o,[],!1,null,null,null).exports},564:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>I});var o=function(){var t=this,e=t._self._c;t._self._setupProxy;return e("ExtraOptionsPanel",{ref:"extraOptionsPanel",staticClass:"custom-font-family-extra-options-panel",class:{peek:t.isPeeking},attrs:{"init-data":t.initData},scopedSlots:t._u([{key:"input0",fn:function(){return[e("TextArea",{model:{value:t.inputFontFamily,callback:function(e){t.inputFontFamily=e},expression:"inputFontFamily"}})]},proxy:!0},{key:"input1",fn:function(){return[e("SwitchOptionsMin",{attrs:{options:t.switchOptionsComponentOptions}})]},proxy:!0}])})};o._withStripped=!0;var i=n(259),a=n(164),s=function(){var t=this,e=t._self._c;t._self._setupProxy;return e("div",{staticClass:"switch-options-min"},[e("div",{staticClass:"switch-options-min-grid"},t._l(Object.keys(t.options.switches),(function(n){return e(t.options.radio?"RadioButton":"CheckBox",t._b({key:n,tag:"component",class:{dim:!(Number(t.componentOptions[n])^Number(t.isDimAtChecked))},attrs:{checked:t.componentOptions[n]},on:{change:function(e){t.componentOptions[n]=e}}},"component",t.mergedSwitchProps,!1),[t._v("\n "+t._s(t.options.switches[n].displayName)+"\n ")])})),1)])};s._withStripped=!0;var r=n(905);const l=(0,i.defineComponent)({name:"SwitchOptionsMin",components:{CheckBox:a.CheckBox,RadioButton:a.RadioButton},props:{options:{type:Object,required:!0}},data(){const{componentName:t}=this.options;return{componentOptions:(0,r.getComponentSettings)(t).options,isDimAtChecked:(()=>"checked"===this.options.dimAt||void 0===this.options.dimAt||(this.options.dimAt,!1))()}},computed:{mergedSwitchProps(){return{checkedIcon:"mdi-eye-off-outline",notCheckedIcon:"mdi-eye-outline",...this.options.switchProps}}},watch:{options(){this.updateColumnsCount()}},mounted(){this.updateColumnsCount()},methods:{updateColumnsCount(){const t=this.$el,e=Math.ceil(Object.keys(this.options.switches).length/12);t.style.setProperty("--columns",e.toString())}}});var c=n(991),p=n.n(c),f=n(383),u=n.n(f),m={insert:"head",singleton:!1};p()(u(),m);u().locals;var d=n(678);const A=(0,d.A)(l,s,[],!1,null,null,null).exports;var b=function(){var t=this,e=t._self._c;t._self._setupProxy;return e("VPopup",{staticClass:"be-extra-options-panel",attrs:{fixed:"",lazy:!1},model:{value:t.popupOpen,callback:function(e){t.popupOpen=e},expression:"popupOpen"}},[e("div",{staticClass:"be-eop-header"},[e("div",{staticClass:"be-eop-h-title"},[e("VIcon",{staticClass:"be-eop-h-t-icon",attrs:{icon:t.initData.header.title.icon,size:24}}),t._v(" "),e("div",{staticClass:"be-eop-h-t-text"},[t._v(t._s(t.initData.header.title.text))])],1),t._v(" "),e("div",{staticClass:"be-eop-h-actions"},[t._l(t.initData.header.actions,(function(t){return e("div",{key:t.id,staticClass:"be-eop-h-a-action"},[e("VIcon",{ref:`action${t.id}`,refInFor:!0,class:`action-${t.actionClassNameSuffix}`,attrs:{title:t.title,icon:t.icon,size:24}})],1)})),t._v(" "),e("div",{staticClass:"be-eop-h-a-action"},[e("VIcon",{staticClass:"action-close",attrs:{title:"关闭",icon:"mdi-close",size:24},on:{click:function(e){t.popupOpen=!1}}})],1)],2)]),t._v(" "),e("div",{staticClass:"be-eop-separator"}),t._v(" "),e("div",{staticClass:"be-eop-content"},t._l(t.initData.content.options,(function(n){return e("div",{key:n.id,staticClass:"be-eop-c-option"},[e("div",{staticClass:"be-eop-c-o-title"},[t._v(t._s(n.title))]),t._v(" "),e("div",{staticClass:"be-eop-c-o-description"},[t._v(t._s(n.description))]),t._v(" "),e("div",{staticClass:"be-eop-c-o-input",class:`input-${n.inputClassNameSuffix}`},[t._t(`input${n.id}`,(function(){return[t._v("\n 选项输入入口默认文字,使用含 v-slot 指令的 template 元素以替换默认内容\n ")]}))],2)])})),0)])};b._withStripped=!0;const h=(0,i.defineComponent)({name:"ExtraOptionsPanel",components:{VPopup:a.VPopup,VIcon:a.VIcon},props:{initData:{type:Object,default:{header:{title:{text:"默认标题",icon:"mdi-format-font"},actions:[{id:0,title:"默认动作 0",icon:"mdi-cog-sync-outline",actionClassNameSuffix:"default-action-0"},{id:1,title:"默认动作 1",icon:"mdi-eye-outline",actionClassNameSuffix:"default-action-1"}]},content:{options:[{id:0,title:"默认选项 0",description:"默认选项 0 的说明",inputClassNameSuffix:"default-option-0"},{id:1,title:"默认选项 1",description:"默认选项 1 的说明",inputClassNameSuffix:"default-option-1"}]}}}},data:()=>({popupOpen:!1})});var y=n(87),x=n.n(y),v={insert:"head",singleton:!1};p()(x(),v);x().locals;const C=(0,d.A)(h,b,[],!1,null,null,null).exports,g=coreApis.toast;var E=n(847);const k=coreApis.utils.log;var B=n(801);const _={header:{title:{text:"自定义字体",icon:"mdi-format-font"},actions:[{id:0,title:"重置面板中的所有选项为默认值",icon:"mdi-cog-sync-outline",actionClassNameSuffix:"reset"},{id:1,title:"透视",icon:"mdi-eye-outline",actionClassNameSuffix:"peek"}]},content:{options:[{id:0,title:"自定义字体",description:"输入需要设置的字体,不同字体之间必须以英文逗号分隔",inputClassNameSuffix:"input-font-family"},{id:1,title:"覆盖选项",description:"下面的元素使用了特殊字体,启用选项后可在对应的元素上应用组件提供的字体设置",inputClassNameSuffix:"cover-options"}]}},w={name:"customFontFamilyCoverOptions",switches:{},radio:!1,dimAt:"notChecked",switchProps:{checkedIcon:"mdi-checkbox-marked-circle",notCheckedIcon:"mdi-checkbox-blank-circle-outline"},componentName:"customFontFamily",optionDisplayName:"自定义字体覆盖选项"};for(const t of B.J_)w.switches[t.camel]={displayName:t.display,defaultValue:B.Ab[t.camel]};const O=(0,k.useScopedConsole)("自定义字体"),S=(0,i.defineComponent)({components:{ExtraOptionsPanel:C,TextArea:a.TextArea,SwitchOptionsMin:A},data:()=>({isPeeking:!1,isMouseOverPeekIcon:!1,initData:_,inputFontFamily:(0,r.getComponentSettings)("customFontFamily").options.fontFamily,switchOptionsComponentOptions:w}),watch:{inputFontFamily:lodash.debounce((t=>{(0,r.getComponentSettings)("customFontFamily").options.fontFamily=t}),1e3),async isMouseOverPeekIcon(t){t?(t&&await(0,E.delay)(200),this.isMouseOverPeekIcon&&(this.isPeeking=!0)):this.isPeeking=!1}},mounted(){this.$refs.extraOptionsPanel.$refs.action0[0].$el.addEventListener("click",this.confirmResetOptions);const t=this.$refs.extraOptionsPanel.$refs.action1[0].$el;t.addEventListener("mouseover",this.setIsMouseOverPeekIconToTrue),t.addEventListener("mouseout",this.setIsMouseOverPeekIconToFalse)},methods:{toggleDisplay(){this.$refs.extraOptionsPanel.popupOpen=!this.$refs.extraOptionsPanel.popupOpen},setIsMouseOverPeekIconToTrue(){this.isMouseOverPeekIcon=!0},setIsMouseOverPeekIconToFalse(){this.isMouseOverPeekIcon=!1},confirmResetOptions(){confirm("确定将面板中的所有选项重置为默认值吗?")&&this.resetOptions()},resetOptions(){(0,r.getComponentSettings)("customFontFamily").options.fontFamily=B.qz,this.inputFontFamily=B.qz;for(const t of B.J_){const e=B.Ab[t.camel];(0,r.getComponentSettings)("customFontFamily").options[t.camel]=e}g.Toast.success("更多选项面板中的所有选项已成功被重置为默认值","自定义字体",2e3),O.log("更多选项面板中的所有选项已成功被重置为默认值")}}});var P=n(317),F=n.n(P),j={insert:"head",singleton:!1};p()(F(),j);F().locals;const I=(0,d.A)(S,o,[],!1,null,null,null).exports},678:(t,e,n)=>{"use strict";function o(t,e,n,o,i,a,s,r){var l,c="function"==typeof t?t.options:t;if(e&&(c.render=e,c.staticRenderFns=n,c._compiled=!0),o&&(c.functional=!0),a&&(c._scopeId="data-v-"+a),s?(l=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),i&&i.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(s)},c._ssrRegister=l):i&&(l=r?function(){i.call(this,(c.functional?this.parent:this).$root.$options.shadowRoot)}:i),l)if(c.functional){c._injectStyles=l;var p=c.render;c.render=function(t,e){return l.call(e),p(t,e)}}else{var f=c.beforeCreate;c.beforeCreate=f?[].concat(f,l):[l]}return{exports:t,options:c}}n.d(e,{A:()=>o})},620:t=>{function e(t){var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e}e.keys=()=>[],e.resolve=e,e.id=620,t.exports=e},535:t=>{"use strict";t.exports="使用组件提供的字体设置覆盖原版的主站字体,并使主站字体可被自定义。\n\n当组件被启用后,几乎所有的元素会立即应用组件提供的字体设置。\n\n选项说明:\n- `禁用标题标点符号缩进`: 在新版视频页中,推荐视频栏中的视频标题,如果首个字符是特定的标点符号,则文本会缩入左侧。这个选项可以禁用这种样式\n- `更多选项`:\n - `自定义字体`: 设置自定义字体。写法请参考 [MDN](https://developer.mozilla.org/zh-CN/docs/Web/CSS/font-family)、默认设置与设置说明。\n - `覆盖选项`: 相当于一个白名单,使用了特殊字体的元素会被加入其中。默认情况下这些元素不会应用组件提供的字体设置,只有在启用对应的选项后才会应用。"},259:t=>{"use strict";t.exports=globalThis.Vue},905:t=>{"use strict";t.exports=coreApis.settings},164:t=>{"use strict";t.exports=coreApis.ui},847:t=>{"use strict";t.exports=coreApis.utils}},o={};function i(t){var e=o[t];if(void 0!==e)return e.exports;var a=o[t]={id:t,exports:{}};return n[t](a,a.exports,i),a.exports}i.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return i.d(e,{a:e}),e},e=Object.getPrototypeOf?t=>Object.getPrototypeOf(t):t=>t.__proto__,i.t=function(n,o){if(1&o&&(n=this(n)),8&o)return n;if("object"==typeof n&&n){if(4&o&&n.__esModule)return n;if(16&o&&"function"==typeof n.then)return n}var a=Object.create(null);i.r(a);var s={};t=t||[null,e({}),e([]),e(e)];for(var r=2&o&&n;"object"==typeof r&&!~t.indexOf(r);r=e(r))Object.getOwnPropertyNames(r).forEach((t=>s[t]=()=>n[t]));return s.default=()=>n,i.d(a,s),a},i.d=(t,e)=>{for(var n in e)i.o(e,n)&&!i.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},i.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),i.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},i.nc=void 0;var a={};return(()=>{"use strict";i.d(a,{component:()=>f});const t=coreApis.componentApis.define;var e=i(905),n=i(801);const o=document.documentElement,s="custom-font-family",r="customFontFamily",l=[componentsTags.style,componentsTags.general],c={fontFamily:{displayName:"字体",defaultValue:n.qz,hidden:!0},disableTitlePunctuationTextIndent:{displayName:"禁用标题标点符号缩进",defaultValue:!0}};(()=>{for(const t of n.J_)c[t.camel]={displayName:t.display,defaultValue:n.Ab[t.camel],hidden:!0}})();const p=[{name:`${s}--style--set-font-family`,style:()=>Promise.resolve().then(i.t.bind(i,929,23)),important:!0},{name:`${s}--style--disable-title-punctuation-text-indent`,style:()=>Promise.resolve().then(i.t.bind(i,783,23)),important:!0}],f=(0,t.defineComponentMetadata)({name:r,displayName:"自定义字体",tags:l,entry:()=>{(0,e.addComponentListener)(`${r}.fontFamily`,(t=>{t?(o.style.setProperty(`--${s}--options--font-family`,`${t}`),o.setAttribute(`${s}--detect--is-input-empty`,"false")):o.setAttribute(`${s}--detect--is-input-empty`,"true")}),!0),(0,e.addComponentListener)(`${r}.disableTitlePunctuationTextIndent`,(t=>{o.setAttribute(`${s}--options--disable-title-punctuation-text-indent`,`${t}`)}),!0);for(const t of n.J_)(0,e.addComponentListener)(`${r}.${t.camel}`,(e=>{o.setAttribute(`${s}--options--${t.kebab}`,`${e}`)}),!0)},options:c,extraOptions:()=>Promise.resolve().then(i.bind(i,947)).then((t=>t.default)),instantStyles:p,author:{name:"Tinhone",link:"https://github.com/Tinhone"},commitHash:"d87d69cfb9d7e0124bd90a06fec4569bd61e02c5",coreVersion:"2.10.7",description:(()=>{const t=i(620);return{...Object.fromEntries(t.keys().map((e=>[e.match(/index\.(.+)\.md$/)[1],t(e)]))),"zh-CN":()=>Promise.resolve().then(i.t.bind(i,535,17)).then((t=>t.default))}})()})})(),a=a.component})())); //# sourceMappingURL=https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/registry/dist/components/style/custom-font-family.js.map \ No newline at end of file diff --git a/bb-evolved/registry/dist/components/style/custom-navbar.js b/bb-evolved/registry/dist/components/style/custom-navbar.js index 67c0cb5f8e..efd74e449a 100644 --- a/bb-evolved/registry/dist/components/style/custom-navbar.js +++ b/bb-evolved/registry/dist/components/style/custom-navbar.js @@ -29,5 +29,5 @@ var i=this[r][0];null!=i&&(o[i]=!0)}for(var s=0;s{"use strict";var a,o=function(){return void 0===a&&( // @see http://browserhacks.com/#hack-e71d8692f65334173fee715c222cb805 // @see https://github.com/webpack-contrib/style-loader/issues/177 -a=Boolean(window&&document&&document.all&&!window.atob)),a},r=function(){var n={};return function(t){if(void 0===n[t]){var e=document.querySelector(t);if(window.HTMLIFrameElement&&e instanceof window.HTMLIFrameElement)try{e=e.contentDocument.head}catch(n){e=null}n[t]=e}return n[t]}}(),i=[];function s(n){for(var t=-1,e=0;e{var a=e(1610);a&&a.__esModule&&(a=a.default),n.exports="string"==typeof a?a:a.toString()},531:(n,t,e)=>{"use strict";e.r(t),e.d(t,{default:()=>ln});var a=function(){var n=this,t=n._self._c;n._self._setupProxy;return t("div",{staticClass:"custom-navbar",class:n.styles,attrs:{role:"navigation"}},[t("div",{staticClass:"left-pad padding"}),n._v(" "),t("div",{staticClass:"custom-navbar-items",attrs:{role:"list"}},n._l(n.items,(function(n){return t("NavbarItem",{key:n.name,attrs:{item:n}})})),1),n._v(" "),t("div",{staticClass:"right-pad padding"})])};a._withStripped=!0;var o=e(4905),r=e(2007),i=e(322);const s="https://message.bilibili.com/",A={name:"messages",displayName:"消息",content:"消息",href:s,active:document.URL.startsWith(s),loginRequired:!0,touch:!0,popupContent:()=>Promise.resolve().then(e.bind(e,8020)).then((n=>n.default)),lazy:!1},c="https://www.bilibili.com/v/popular/rank/",l={name:"ranking",displayName:"排行",content:"排行",href:`${c}all`,active:document.URL.startsWith(c),touch:!0,popupContent:()=>Promise.resolve().then(e.bind(e,3859)).then((n=>n.default))};var p=e(7847);const d={name:"userInfo",displayName:"个人信息",content:()=>Promise.resolve().then(e.bind(e,9522)).then((n=>n.default)),href:(0,p.getUID)()?"https://space.bilibili.com":null,touch:!0,popupContent:()=>Promise.resolve().then(e.bind(e,9642)).then((n=>n.default)),lazy:!1,noPopupPadding:!0,boundingWidth:240},u={name:"logo",displayName:"Logo",content:()=>Promise.resolve().then(e.bind(e,2103)).then((n=>n.default)),href:"https://www.bilibili.com/"},m={name:"home",displayName:"主站",content:"主站",href:"https://www.bilibili.com/",touch:!0,boundingWidth:366,popupContent:()=>Promise.resolve().then(e.bind(e,4421)).then((n=>n.default))},b={name:"games",displayName:"游戏中心",content:"游戏中心",touch:!0,href:"https://game.bilibili.com/",boundingWidth:420,noPopupPadding:!0,popupContent:()=>Promise.resolve().then(e.bind(e,1697)).then((n=>n.default))},h=new Array(4).fill(0).map(((n,t)=>({name:`blank${t+1}`,displayName:`弹性空白${t+1}`,content:"",disabled:!0,flexStyle:"1 0 auto"}))),g=n=>({content:n.displayName,...n,active:document.URL.startsWith(n.href)}),v=(g({name:"ranking",displayName:"排行",href:"https://www.bilibili.com/v/popular/rank/all"}),g({name:"bangumi",displayName:"番剧 (链接)",content:"番剧",href:"https://www.bilibili.com/anime/"})),f=g({name:"music",displayName:"音频",href:"https://www.bilibili.com/audio/home/"}),C=g({name:"shop",displayName:"会员购",href:"https://show.bilibili.com"}),B=g({name:"creations",displayName:"创作中心",href:"https://member.bilibili.com/platform/home"}),x=g({name:"lives",displayName:"直播",href:"https://live.bilibili.com"}),E={name:"match",displayName:"赛事",content:"赛事",touch:!0,href:"https://www.bilibili.com/v/game/match/",boundingWidth:650,noPopupPadding:!0,popupContent:()=>Promise.resolve().then(e.bind(e,8486)).then((n=>n.default))},y={name:"upload",displayName:"投稿",content:()=>Promise.resolve().then(e.bind(e,3678)).then((n=>n.default)),touch:!0,href:"https://member.bilibili.com/platform/upload/video/frame",popupContent:()=>Promise.resolve().then(e.bind(e,5778)).then((n=>n.default))},w={name:"search",displayName:"搜索",content:()=>Promise.resolve().then(e.bind(e,7224)).then((n=>n.default)),disabled:!0},k={name:"feeds",displayName:"动态",content:"动态",href:"https://t.bilibili.com/",touch:!0,active:"https://t.bilibili.com/"===document.URL.replace(window.location.search,""),contentMounted:async n=>{const{getNotifyCount:t}=await Promise.resolve().then(e.t.bind(e,2930,23));await(async()=>{const e=await t();n.notifyCount=e})()},loginRequired:!0,popupContent:()=>Promise.resolve().then(e.bind(e,4570)).then((n=>n.default)),boundingWidth:300,noPopupPadding:!0};var _=e(6148);const z={name:"watchlater",displayName:"稍后再看",content:"稍后再看",href:"https://www.bilibili.com/watchlater/#/list",touch:!0,active:document.URL.startsWith("https://www.bilibili.com/watchlater/"),loginRequired:!0,boundingWidth:380,noPopupPadding:!0,popupContent:()=>Promise.resolve().then(e.bind(e,1232)).then((n=>n.default))},S=`https://space.bilibili.com/${(0,p.getUID)()}/favlist`,I={name:"favorites",displayName:"收藏",content:"收藏",href:S,touch:!0,active:document.URL.replace(/\?.*$/,"")===S,loginRequired:!0,boundingWidth:380,noPopupPadding:!0,popupContent:()=>Promise.resolve().then(e.bind(e,3977)).then((n=>n.default))},j="https://www.bilibili.com/history",D={name:"history",displayName:"历史",content:"历史",href:j,touch:!0,active:document.URL.replace(/\?.*$/,"")===j,loginRequired:!0,boundingWidth:400,noPopupPadding:!0,popupContent:()=>Promise.resolve().then(e.bind(e,2627)).then((n=>n.default))},Y={name:"manga",displayName:"漫画",content:"漫画",touch:!0,href:"https://manga.bilibili.com/",boundingWidth:500,noPopupPadding:!0,popupContent:()=>Promise.resolve().then(e.bind(e,9349)).then((n=>n.default))},[V,P,N,U]=h;var L=e(622),W=function(){var n=this,t=n._self._c;n._self._setupProxy;return t("div",{directives:[{name:"show",rawName:"v-show",value:!n.item.hidden,expression:"!item.hidden"}],staticClass:"custom-navbar-item",class:{disabled:n.item.disabled,active:n.item.active,"input-within":n.inputWithin},style:{flex:n.item.flexStyle,order:n.item.order},attrs:{role:"listitem","data-name":n.item.name}},[n.item.href?t("CustomNavbarLink",{staticClass:"main-content",attrs:{"new-tab":n.newTab,href:!n.item.active&&!n.item.touch&&n.item.href},on:{mouseover:function(t){return t.target!==t.currentTarget?null:n.requestPopup()}}},["string"==typeof n.item.content?[n._v("\n "+n._s(n.item.content)+"\n ")]:t(n.item.content,{tag:"component",attrs:{item:n.item}})],2):t("div",{staticClass:"main-content",on:{click:function(t){!n.item.active&&!n.item.touch&&n.item.clickAction&&n.item.clickAction(t)}}},["string"==typeof n.item.content?[n._v("\n "+n._s(n.item.content)+"\n ")]:t(n.item.content,{tag:"component",attrs:{item:n.item}})],2),n._v(" "),t("div",{directives:[{name:"show",rawName:"v-show",value:!n.item.active,expression:"!item.active"}],staticClass:"notify-count"},[n.item.notifyCount>0?[n._v("\n "+n._s(n.item.notifyCount)+"\n ")]:n._e()],2),n._v(" "),t("div",{ref:"popupContainer",staticClass:"popup-container",on:{focusin:function(t){return n.toggleInputWithin(t,!0)},focusout:function(t){return n.toggleInputWithin(t,!1)}}},[n.item.popupContent?t("div",{staticClass:"popup",class:n.popupClasses(n.item)},[n.item.requestedPopup?t(n.item.popupContent,{ref:"popup",tag:"component",attrs:{container:n.$refs.popupContainer,item:n.item}}):n._e()],1):n._e()]),n._v(" "),t("div",{staticClass:"active-bar"})],1)};W._withStripped=!0;var T=function(){var n=this,t=n._self._c;n._self._setupProxy;return t("a",n._g(n._b({attrs:{target:n.newTab?"_blank":null}},"a",n.$attrs,!1),n.$listeners),[n._t("default")],2)};T._withStripped=!0;const O=Vue.extend({props:{newTab:{type:Boolean,default:!0}}});var M=e(8678);const R=(0,M.A)(O,T,[],!1,null,null,null).exports,Z=n=>{const{name:t}=n,e=L.LC.navbarOptions;return t in e.openInNewTabOverrides?e.openInNewTabOverrides[t]:e.openInNewTab},F=Vue.extend({components:{CustomNavbarLink:R},props:{item:{type:L.LC,required:!0}},data(){return{newTab:Z(this.item),cancelListeners:none,inputWithin:!1}},mounted(){const n=this.item;n.contentMounted?.(n);const t=()=>{this.updateLinkOption()};(0,o.addComponentListener)("customNavbar.openInNewTabOverrides",t),(0,o.addComponentListener)("customNavbar.openInNewTab",t),this.cancelListeners=()=>{(0,o.removeComponentListener)("customNavbar.openInNewTabOverrides",t),(0,o.removeComponentListener)("customNavbar.openInNewTab",t)}},beforeDestroy(){this.cancelListeners?.()},methods:{toggleInputWithin(n,t){n.target instanceof HTMLInputElement?this.inputWithin=t:this.inputWithin=!1},updateLinkOption(){this.newTab=Z(this.item)},popupClasses:n=>({transparent:n.transparentPopup,"no-padding":n.noPopupPadding,"iframe-container":n.iframeName}),triggerPopupShow:lodash.debounce((function(n){const{popup:t}=this.$refs;if(!t)return;const e=L.LC.navbarOptions.refreshOnPopup&&t.popupRefresh&&"function"==typeof t.popupRefresh;!n&&e&&t.popupRefresh(),t.popupShow&&"function"==typeof t.popupShow&&t.popupShow()}),300),async requestPopup(){const{item:n}=this;if(!n.disabled)return n.requestedPopup?void this.triggerPopupShow(!1):(n.requestedPopup=!0,void this.triggerPopupShow(!0))}}});var Q=e(6991),X=e.n(Q),q=e(1679),H=e.n(q),J={insert:"head",singleton:!1};X()(H(),J);H().locals;const G=(0,M.A)(F,W,[],!1,null,null,null).exports,K=coreApis.spinQuery,$=coreApis.utils.urls,nn=n=>{(0,o.addComponentListener)("customNavbar.transparent",(t=>{(0,o.getComponentSettings)("hideBanner").enabled||n.toggleStyle(t,"transparent")}),!0),(0,o.addComponentListener)("hideBanner",(t=>{(0,o.getComponentSettings)("customNavbar").options.transparent&&n.toggleStyle(!t,"transparent")}))},tn=["//music.bilibili.com/","//space.bilibili.com/"],[en]=(0,i.registerAndGetData)(L.mW,[V,u,m,v,l,f,b,x,C,E,Y,P,w,N,d,A,k,_.x,z,I,D,B,y,U]),[an]=(0,i.registerAndGetData)(L.z0,{items:[]}),on=()=>{const n=en.map((n=>new L.LC(n))).sort((0,r.ascendingSort)((n=>n.order)));return an.items=n,n},rn=Vue.extend({components:{NavbarItem:G},data:()=>({initItems:en,items:on(),styles:[],height:L.LC.navbarOptions.height}),watch:{initItems(){this.items=on()}},async mounted(){(0,o.addComponentListener)("customNavbar.height",(n=>{document.documentElement.style.setProperty("--navbar-height",`${n}px`)}),!0),await(async n=>{tn.some((n=>(0,p.matchUrlPattern)(n)))?nn(n):(0,$.matchCurrentPage)($.mainSiteUrls)&&(0,K.sq)((()=>dqa(".animated-banner video, .banner-img img, #banner_link, .international-header .bili-banner, .bili-header__banner")),(n=>0!==n.length&&!!n.some((n=>!!n.style.backgroundImage||!!n.src||!!n.querySelector(".animated-banner"))))).then((t=>{0!==t.length&&nn(n)}))})(this)},methods:{toggleStyle(n,t){n&&!this.styles.includes(t)?this.styles.push(t):!n&&this.styles.includes(t)&&this.styles.splice(this.styles.indexOf(t),1)}}});var sn=e(8648),An=e.n(sn),cn={insert:"head",singleton:!1};X()(An(),cn);An().locals;const ln=(0,M.A)(rn,a,[],!1,null,null,null).exports},3977:(n,t,e)=>{"use strict";e.r(t),e.d(t,{default:()=>k});var a=function(){var n=this,t=n._self._c;n._self._setupProxy;return t("div",{staticClass:"favorites-list"},[t("div",{staticClass:"header"},[t("FavoritesFolderSelect",{model:{value:n.folder,callback:function(t){n.folder=t},expression:"folder"}}),n._v(" "),t("div",{staticClass:"search"},[t("TextBox",{attrs:{linear:"",placeholder:"搜索"},model:{value:n.search,callback:function(t){n.search=t},expression:"search"}})],1),n._v(" "),t("a",{staticClass:"operation",attrs:{href:n.playLink,title:"播放全部",target:"_blank"}},[t("VButton",{staticClass:"play-all",attrs:{round:""}},[t("VIcon",{attrs:{icon:"mdi-play",size:18}})],1)],1),n._v(" "),t("a",{staticClass:"operation",attrs:{href:n.moreLink,title:"查看更多",target:"_blank"}},[t("VButton",{staticClass:"more-info",attrs:{round:""}},[t("VIcon",{attrs:{icon:"mdi-dots-horizontal",size:18}})],1)],1)],1),n._v(" "),t("div",{staticClass:"content"},[n.loading&&!n.searching?t("VLoading"):n.loading||n.canLoadMore||0!==n.filteredCards.length?t("transition-group",{staticClass:"cards",attrs:{name:"cards",tag:"div"}},[n._l(n.filteredCards,(function(e){return t("div",{key:e.id,staticClass:"favorite-card"},[t("a",{staticClass:"favorites-cover-container",attrs:{target:"_blank",href:n.getItemPlayLink(e)}},[t("DpiImage",{staticClass:"cover",attrs:{src:e.coverUrl,size:{width:130,height:85}}}),n._v(" "),t("div",{staticClass:"floating duration"},[n._v(n._s(e.durationText))]),n._v(" "),t("div",{staticClass:"floating favorite-time"},[n._v(n._s(e.favoriteTime))])],1),n._v(" "),t("a",{staticClass:"title",attrs:{target:"_blank",href:n.getItemPlayLink(e),title:e.title}},[n._v(n._s(e.title))]),n._v(" "),e.upID?t("a",{staticClass:"up",attrs:{target:"_blank",href:"https://space.bilibili.com/"+e.upID,title:e.upName}},[t("DpiImage",{staticClass:"face",attrs:{"placeholder-image":"",src:e.upFaceUrl,size:20}}),n._v(" "),t("div",{staticClass:"name"},[n._v(n._s(e.upName))])],1):t("div",{staticClass:"description"},[n._v("\n "+n._s(e.description)+"\n ")])])})),n._v(" "),n.canLoadMore?t("ScrollTrigger",{key:"scroll-trigger",on:{trigger:function(t){return n.scrollTrigger()}}}):n._e()],2):t("VEmpty")],1)])};a._withStripped=!0;var o=e(1164),r=e(2082),i=e(7847),s=e(416),A=e(765),c=e(4905);const l={id:0,name:"加载中...",count:0};var p=function(){var n=this,t=n._self._c;n._self._setupProxy;return t("VDropdown",{staticClass:"favorites-folder-select",attrs:{round:"",items:n.folders,"key-mapper":n=>n.id,value:n.folder},on:{change:function(t){return n.change(t)}},scopedSlots:n._u([{key:"item",fn:function({item:t}){return[n._v(" "+n._s(t.name)+" ("+n._s(t.count)+") ")]}}])})};p._withStripped=!0;const d=(0,c.getComponentSettings)("customNavbar").options,u=Vue.extend({components:{VDropdown:o.VDropdown},model:{prop:"folder",event:"change"},props:{folder:{type:Object,required:!0}},data:()=>({folders:[]}),async created(){const n=(0,i.getUID)();if(!n)return;const t=`https://api.bilibili.com/medialist/gateway/base/created?pn=1&ps=100&up_mid=${n}&is_space=0`,e=await(0,s.getJsonWithCredentials)(t);if(0!==e.code)throw new Error(`获取收藏夹列表失败: ${e.message}`);if(this.folders=lodash.get(e,"data.list",[]).map((n=>({id:n.id,name:n.title,count:n.media_count}))),this.folders.length>0&&this.folder.id===l.id){const{lastFavoriteFolder:n}=d,t=this.folders.find((t=>t.id===n));t?this.$emit("change",t):this.$emit("change",this.folders[0])}},methods:{change(n){d.lastFavoriteFolder=n.id,this.$emit("change",n)}}});var m=e(8678);const b=(0,m.A)(u,p,[],!1,null,null,null).exports;var h=e(4253);const g=(0,c.getComponentSettings)("customNavbar").options,v=n=>!!g.showDeadVideos||9!==n.attr&&1!==n.attr,f=n=>({type:n.type,id:n.id,aid:n.id,bvid:n.bvid,coverUrl:n.cover.replace("http:","https:"),favoriteTimestamp:1e3*n.fav_time,favoriteTime:(0,r.formatDate)(new Date(1e3*n.fav_time)),title:n.title,description:n.intro,duration:n.duration,durationText:n.page>1?`${(0,r.formatDuration)(n.duration)} / ${n.page}P`:(0,r.formatDuration)(n.duration),playCount:n.cnt_info.play,danmakuCount:n.cnt_info.danmaku,upName:n.upper.name,upFaceUrl:n.upper.face.replace("http:","https:"),upID:n.upper.mid});const C=Vue.extend({components:{FavoritesFolderSelect:b,VLoading:o.VLoading,VEmpty:o.VEmpty,VIcon:o.VIcon,VButton:o.VButton,TextBox:o.TextBox,DpiImage:o.DpiImage,ScrollTrigger:o.ScrollTrigger},mixins:[h.U],data:()=>({loading:!0,cards:[],filteredCards:[],page:1,hasMorePage:!0,searchPage:1,hasMoreSearchPage:!0,search:"",folder:l}),computed:{searching(){return""!==this.search},moreLink(){const{id:n}=this.folder;return 0===n?`https://space.bilibili.com/${(0,i.getUID)()}/favlist`:`https://space.bilibili.com/${(0,i.getUID)()}/favlist?fid=${n}&ftype=create`},playLink(){const{id:n}=this.folder;if(0!==n)return`https://www.bilibili.com/medialist/play/ml${n}`},canLoadMore(){return this.searching?this.hasMoreSearchPage:this.hasMorePage}},watch:{folder(){this.changeList()},search(n){""!==n?(n=n.toLowerCase(),this.hasMoreSearchPage=!0,this.searchPage=1,this.filteredCards=this.cards.filter((t=>t.title.toLowerCase().includes(n)||t.upName.toLowerCase().includes(n)))):this.filteredCards=this.cards}},methods:{async getCards(){const n=`https://api.bilibili.com/x/v3/fav/resource/list?media_id=${this.folder.id}&pn=${this.page}&ps=20&keyword=&order=mtime&type=0&tid=0&platform=web`,t=await(0,s.getJsonWithCredentials)(n);if(0!==t.code)throw new Error(`加载收藏夹内容失败: ${t.message}`);return t.data.medias?t.data.medias.filter(v).map(f):[]},async changeList(){if(0!==this.folder.id)try{this.search="",this.cards=[],this.loading=!0,this.searchPage=1,this.hasMoreSearchPage=!0,this.page=1,this.hasMorePage=!0,this.cards=await this.getCards(),this.filteredCards=this.cards}catch(n){(0,A.logError)(n)}finally{this.loading=!1}},async loadNextPage(){try{this.page++;const n=await this.getCards();this.cards.push(...n),this.hasMorePage=0!==n.length||this.cards.lengthn.id));this.filteredCards=o;const r=e.length+a.length===0,i=a.length<20;if(r||i)return void(this.hasMoreSearchPage=!1)}catch(n){console.error(n)}finally{this.loading=!1}}),200),scrollTrigger(){this.searching?this.debounceSearchAllList():this.loadNextPage()},getItemPlayLink(n){switch(n.type){default:case 2:return`https://www.bilibili.com/video/${n.bvid}/`;case 12:return`https://www.bilibili.com/audio/au${n.id}/`}}}});var B=e(6991),x=e.n(B),E=e(2629),y=e.n(E),w={insert:"head",singleton:!1};x()(y(),w);y().locals;const k=(0,m.A)(C,a,[],!1,null,null,null).exports},4570:(n,t,e)=>{"use strict";e.r(t),e.d(t,{default:()=>b});var a=function(){var n=this,t=n._self._c;n._self._setupProxy;return t("div",{staticClass:"navbar-feeds"},[t("TabControl",{ref:"tabControl",attrs:{tabs:n.tabs,"more-link":"https://t.bilibili.com/"},scopedSlots:n._u([{key:"more-link",fn:function(){return[n._v("\n 所有动态\n "),t("VIcon",{attrs:{icon:"feeds",size:18}})]},proxy:!0}])})],1)};a._withStripped=!0;var o=e(1164),r=e(1649),i=e(2930),s=e(4253);const A=[{name:"video",displayName:"视频",component:()=>Promise.resolve().then(e.bind(e,4170)).then((n=>n.default)),activeLink:"https://t.bilibili.com/?tab=video",count:0},{name:"bangumi",displayName:"番剧",component:()=>Promise.resolve().then(e.bind(e,7477)).then((n=>n.default)),activeLink:"https://t.bilibili.com/?tab=pgc",count:0},{name:"column",displayName:"专栏",component:()=>Promise.resolve().then(e.bind(e,2057)).then((n=>n.default)),activeLink:"https://t.bilibili.com/?tab=article",count:0},{name:"live",displayName:"直播",component:()=>Promise.resolve().then(e.bind(e,6674)).then((n=>n.default)),activeLink:"https://link.bilibili.com/p/center/index#/user-center/follow/1",count:0}],c=Vue.extend({components:{TabControl:o.TabControl,VIcon:o.VIcon},mixins:[s.U],data:()=>({tabs:A}),mounted(){this.refreshNotifyCount()},methods:{popupShow(){this.item.notifyCount=0},async refreshNotifyCount(){const{tabControl:n}=this.$refs;A.forEach((async t=>{if(n.selectedTab===t)return;if("live"===t.name)return;const e=r.feedsCardTypes[t.name];if(!e.apiType)return;const a=await(0,i.getNotifyCountByType)(e.apiType);t.count=a,console.log(t)}))}}});var l=e(6991),p=e.n(l),d=e(7423),u=e.n(d),m={insert:"head",singleton:!1};p()(u(),m);u().locals;const b=(0,e(8678).A)(c,a,[],!1,null,null,null).exports},7477:(n,t,e)=>{"use strict";e.r(t),e.d(t,{default:()=>b});var a=function(){var n=this,t=n._self._c;n._self._setupProxy;return t("div",{staticClass:"bangumi-feeds"},[n.loading?t("VLoading"):n.loading||0!==n.cards.length?[t("div",{staticClass:"bangumi-feeds-content"},n._l(n.cards,(function(n){return t("BangumiCard",{key:n.id,attrs:{"is-new":n.new,data:n}})})),1),n._v(" "),n.hasMorePage?t("ScrollTrigger",{on:{trigger:function(t){return n.nextPage()}}}):n._e()]:t("VEmpty")],2)};a._withStripped=!0;var o=e(1649),r=e(2930);const i=coreApis.componentApis.feeds.BangumiCard;var s=e.n(i),A=e(8937);const c=Vue.extend({components:{BangumiCard:s()},mixins:[(0,A.I)(o.feedsCardTypes.bangumi,(n=>{const t=lodash.get(n,"modules.module_dynamic.major.pgc"),e=lodash.get(n,"modules.module_author");return{id:n.id_str,title:e.name,coverUrl:e.face,epCoverUrl:t.cover,epTitle:t.title.replace(new RegExp(`^${e.name}:`),""),url:t.jump_url,get new(){return(0,r.isNewID)(this.id)}}}))]});var l=e(6991),p=e.n(l),d=e(3476),u=e.n(d),m={insert:"head",singleton:!1};p()(u(),m);u().locals;const b=(0,e(8678).A)(c,a,[],!1,null,null,null).exports},2057:(n,t,e)=>{"use strict";e.r(t),e.d(t,{default:()=>b});var a=function(){var n=this,t=n._self._c;n._self._setupProxy;return t("div",{staticClass:"column-feeds"},[n.loading?t("VLoading"):n.loading||0!==n.cards.length?[t("div",{staticClass:"columns-feeds-content"},n._l(n.cards,(function(n){return t("ColumnCard",{key:n.id,attrs:{"is-new":n.new,data:n}})})),1),n._v(" "),n.hasMorePage?t("ScrollTrigger",{on:{trigger:function(t){return n.nextPage()}}}):n._e()]:t("VEmpty")],2)};a._withStripped=!0;var o=e(1649),r=e(2930);const i=coreApis.componentApis.feeds.ColumnCard;var s=e.n(i),A=e(8937);const c=Vue.extend({components:{ColumnCard:s()},mixins:[(0,A.I)(o.feedsCardTypes.column,(n=>{const t=lodash.get(n,"modules.module_dynamic.major.article"),e=lodash.get(n,"modules.module_author");return{id:n.id_str,cvID:t.id.toString(),title:t.title,upName:e.name,upFaceUrl:e.face,upID:e.mid,description:t.desc,covers:t.covers,originalCovers:t.covers,get new(){return(0,r.isNewID)(this.id)}}}))]});var l=e(6991),p=e.n(l),d=e(2910),u=e.n(d),m={insert:"head",singleton:!1};p()(u(),m);u().locals;const b=(0,e(8678).A)(c,a,[],!1,null,null,null).exports},6674:(n,t,e)=>{"use strict";e.r(t),e.d(t,{default:()=>d});var a=function(){var n=this,t=n._self._c;n._self._setupProxy;return t("div",{staticClass:"live-feeds"},[n.loading?t("VLoading"):n.loading||0!==n.cards.length?n._e():t("VEmpty"),n._v(" "),t("transition-group",{staticClass:"live-feeds-content",attrs:{name:"cards",tag:"div"}},n._l(n.cards,(function(e){return t("a",{key:e.id,staticClass:"live-card",attrs:{target:"_blank",href:e.url}},[t("div",{staticClass:"face-container"},[t("DpiImage",{staticClass:"face",attrs:{size:48,src:e.upFaceUrl}})],1),n._v(" "),t("div",{staticClass:"live-info"},[t("div",{staticClass:"live-title",attrs:{title:e.title}},[n._v(n._s(e.title))]),n._v(" "),t("div",{staticClass:"live-name",attrs:{title:e.upName}},[n._v(n._s(e.upName))])])])})),0)],1)};a._withStripped=!0;var o=e(1164),r=e(416);const i=Vue.extend({components:{VLoading:o.VLoading,VEmpty:o.VEmpty,DpiImage:o.DpiImage},data:()=>({loading:!0,rawItems:[],hasMorePage:!0}),computed:{cards(){return this.rawItems.map((n=>({id:n.roomid,title:n.title,upFaceUrl:n.face,upName:n.uname,url:n.link})))}},async created(){const[n]=(0,r.responsiveGetPages)({api:n=>(0,r.getJsonWithCredentials)(`https://api.live.bilibili.com/relation/v1/feed/feed_list?page=${n}&pagesize=24`),getList:n=>lodash.get(n,"data.list",[]),getTotal:n=>lodash.get(n,"data.results",0)});this.rawItems=await n,this.loading=!1}});var s=e(6991),A=e.n(s),c=e(8086),l=e.n(c),p={insert:"head",singleton:!1};A()(l(),p);l().locals;const d=(0,e(8678).A)(i,a,[],!1,null,null,null).exports},4170:(n,t,e)=>{"use strict";e.r(t),e.d(t,{default:()=>v});var a=function(){var n=this,t=n._self._c;n._self._setupProxy;return t("div",{staticClass:"video-feeds"},[n.loading?t("VLoading"):n.loading||0!==n.cards.length?[t("div",{staticClass:"video-feeds-content"},[t("transition-group",{staticClass:"left-column",attrs:{name:"cards",tag:"div"}},n._l(n.columnedCards.left,(function(n){return t("VideoCard",{key:n.id,attrs:{orientation:"vertical","is-new":n.new,"show-stats":!1,data:n}})})),1),n._v(" "),t("transition-group",{staticClass:"right-column",attrs:{name:"cards",tag:"div"}},n._l(n.columnedCards.right,(function(n){return t("VideoCard",{key:n.id,attrs:{orientation:"vertical","is-new":n.new,"show-stats":!1,data:n}})})),1)],1),n._v(" "),n.hasMorePage?t("ScrollTrigger",{on:{trigger:function(t){return n.nextPage()}}}):n._e()]:t("VEmpty")],2)};a._withStripped=!0;var o=e(2082),r=e(2930),i=e(1649);const s=coreApis.componentApis.feeds.VideoCard;var A=e.n(s),c=e(8937);const l=n=>{const t=Number(new Date),e=new Date(n),a=[e.getHours(),e.getMinutes(),e.getSeconds()].map((n=>n.toString().padStart(2,"0"))).join(":");let o;return o=new Date(t).getFullYear()!==e.getFullYear()?[e.getFullYear(),e.getMonth()+1,e.getDate()]:[e.getMonth()+1,e.getDate()],`${o.map((n=>n.toString().padStart(2,"0"))).join("-")} ${a}`},p=n=>{const t=Number(new Date);if(t-864e5n.toString().padStart(2,"0"))).join("-")}`},d=Vue.extend({components:{VideoCard:A()},mixins:[(0,c.I)(i.feedsCardTypes.video,(n=>{const t=lodash.get(n,"modules.module_dynamic.major.archive"),e=lodash.get(n,"modules.module_author");return{id:n.id_str,aid:parseInt(t.aid),bvid:t.bvid,videoUrl:`https://www.bilibili.com/${t.bvid}`,coverUrl:t.cover,title:t.title,duration:(0,o.parseDuration)(t.duration_text),durationText:(0,o.formatDuration)((0,o.parseDuration)(t.duration_text)),description:t.desc,pubTime:l(1e3*e.pub_ts),pubTimeText:p(1e3*e.pub_ts),upFaceUrl:e.face,upName:e.name,upID:e.mid,watchlater:!0,playCount:(0,o.formatCount)((0,o.parseCount)(t.stat.play)),get new(){return(0,r.isNewID)(this.id)}}}))],computed:{columnedCards(){const{cards:n}=this;return{left:n.filter(((n,t)=>t%2==0)),right:n.filter(((n,t)=>t%2!=0))}}},methods:{onCardsUpdate:n=>(0,i.groupVideoFeeds)(n)}});var u=e(6991),m=e.n(u),b=e(6206),h=e.n(b),g={insert:"head",singleton:!1};m()(h(),g);h().locals;const v=(0,e(8678).A)(d,a,[],!1,null,"d3e1a0c0",null).exports},1697:(n,t,e)=>{"use strict";e.r(t),e.d(t,{default:()=>m});var a=function(){var n=this,t=n._self._c,e=n._self._setupProxy;return t("div",{staticClass:"custom-navbar-games-popup"},[e.loading?t("div",{staticClass:"loading-container"},[t(e.VLoading)],1):n._e(),n._v(" "),e.gameInfo?t("div",{staticClass:"custom-navbar-games-panel"},[t("div",{staticClass:"custom-navbar-games-left-panel"},[t("a",{staticClass:"banner-game-card",attrs:{href:e.gameInfo.banner.href,title:e.gameInfo.banner.title}},[t("img",{attrs:{src:e.gameInfo.banner.poster,alt:e.gameInfo.banner.title}}),n._v(" "),t("div",{staticClass:"banner-game-card-title"},[n._v("\n "+n._s(e.gameInfo.banner.title)+"\n ")])]),n._v(" "),t("div",{staticClass:"panel-game-cards"},n._l(e.gameInfo.panel,(function(e){return t("a",{key:e.href,staticClass:"panel-game-card",attrs:{href:e.href,title:e.title}},[t("img",{attrs:{src:e.poster,alt:e.title}}),n._v(" "),t("div",{staticClass:"panel-game-card-title"},[n._v("\n "+n._s(e.title)+"\n ")])])})),0)]),n._v(" "),t("div",{staticClass:"custom-navbar-games-panel-separator"}),n._v(" "),t("div",{staticClass:"custom-navbar-games-right-panel"},[t("div",{staticClass:"list-game-cards-title"},[n._v("新游预告")]),n._v(" "),t("div",{staticClass:"list-game-cards"},n._l(e.gameInfo.list.slice(0,8),(function(e){return t("a",{key:e.href,staticClass:"list-game-card",attrs:{href:e.href,title:e.title}},[n._v("\n "+n._s(e.title)+"\n ")])})),0)])]):n._e()])};a._withStripped=!0;var o=e(2259),r=e(1164),i=e(416),s=e(4253);const A=(0,o.defineComponent)({__name:"GamesPopup",props:{item:null,container:null},setup(n,t){let{expose:e}=t;const a=n,A=(0,s.E)(a),c=(0,o.ref)(void 0),l=(0,o.ref)(!0),p=async()=>{if(void 0!==c.value)return;const n=await(0,i.bilibiliApi)((0,i.getJson)("https://le3-api.game.bilibili.com/pc/game/nav/info"));c.value=n,l.value=!1};return e({popupShow(){A.popupShow(),p()}}),{__sfc:!0,props:a,popper:A,gameInfo:c,loading:l,loadGameInfo:p,VLoading:r.VLoading}}});var c=e(6991),l=e.n(c),p=e(3096),d=e.n(p),u={insert:"head",singleton:!1};l()(d(),u);d().locals;const m=(0,e(8678).A)(A,a,[],!1,null,null,null).exports},2627:(n,t,e)=>{"use strict";e.r(t),e.d(t,{default:()=>B});var a=function(){var n=this,t=n._self._c;n._self._setupProxy;return t("div",{staticClass:"custom-navbar-history-list"},[t("div",{staticClass:"header"},[t("div",{staticClass:"header-row"},[t("div",{staticClass:"search"},[t("TextBox",{attrs:{placeholder:"搜索",linear:""},model:{value:n.search,callback:function(t){n.search=t},expression:"search"}})],1),n._v(" "),t("div",{staticClass:"operations"},[t("div",{staticClass:"operation"},[t("VButton",{attrs:{title:"刷新",round:""},on:{click:function(t){return n.reloadHistoryItems()}}},[t("VIcon",{attrs:{icon:"mdi-refresh",size:16}})],1)],1),n._v(" "),t("div",{staticClass:"operation",on:{click:n.toggleHistoryPause}},[n.paused?t("VButton",{attrs:{title:"继续记录历史",round:""}},[t("VIcon",{attrs:{icon:"mdi-play",size:14}})],1):t("VButton",{attrs:{title:"暂停记录历史",round:""}},[t("VIcon",{attrs:{icon:"mdi-pause",size:14}})],1)],1),n._v(" "),t("a",{staticClass:"operation",attrs:{target:"_blank",href:"https://www.bilibili.com/history"}},[t("VButton",{attrs:{title:"查看更多",round:""}},[t("VIcon",{attrs:{icon:"mdi-dots-horizontal",size:18}})],1)],1)])]),n._v(" "),t("div",{staticClass:"header-row"},[t("div",{staticClass:"row-title"},[n._v("过滤:")]),n._v(" "),t("div",{staticClass:"type-filters"},n._l(n.types,(function(e){return t("div",{key:e.name,staticClass:"type-filter"},[t("RadioButton",{class:{checked:e.checked},attrs:{checked:e.checked,disabled:n.loading},on:{change:function(t){return n.toggleTypeFilter(e)}}},[n._v("\n "+n._s(e.displayName)+"\n ")])],1)})),0)])]),n._v(" "),t("div",{staticClass:"content"},[n.loading?t("VLoading"):n.loading||0!==n.groups.length?t("transition-group",{staticClass:"cards",attrs:{name:"cards",tag:"div"}},[n._l(n.groups,(function(e){return t("div",{key:e.name,staticClass:"time-group"},[t("div",{staticClass:"time-group-name"},[n._v("\n "+n._s(e.name)+"\n ")]),n._v(" "),t("transition-group",{staticClass:"time-group-items",attrs:{name:"time-group",tag:"div"}},n._l(e.items,(function(e){return t("div",{key:e.id,staticClass:"time-group-item"},[t("a",{staticClass:"history-cover-container",attrs:{target:"_blank",href:e.url}},[t("DpiImage",{staticClass:"cover",attrs:{src:e.cover,size:{width:160,height:110},"placeholder-image":""}}),n._v(" "),e.progress?t("div",{staticClass:"progress",style:{width:100*e.progress+"%"}}):n._e(),n._v(" "),void 0!==e.pages&&e.pages>1?t("div",{staticClass:"floating pages"},[n._v("\n "+n._s(e.page)+"P / "+n._s(e.pages)+"P\n ")]):n._e()],1),n._v(" "),t("a",{staticClass:"title",attrs:{target:"_blank",href:e.url,title:e.title}},[n._v(n._s(e.title||e.upName+"的直播间"))]),n._v(" "),t("a",{staticClass:"up",attrs:{target:"_blank",href:"pgc"===e.type?e.url:"https://space.bilibili.com/"+e.upID,title:e.upName}},[e.upFaceUrl?t("DpiImage",{staticClass:"up-face",attrs:{size:18,src:e.upFaceUrl}}):n._e(),n._v(" "),t("div",{staticClass:"up-name"},[n._v(n._s(e.upName))])],1),n._v(" "),t("div",{staticClass:"history-info"},[e.progressText?t("div",{staticClass:"progress-number"},[n._v("\n "+n._s(e.progress>=.95?"已看完":e.progressText)+"\n ")]):n._e(),n._v(" "),void 0!==e.liveStatus?t("div",{staticClass:"duration live-status",class:{on:1===e.liveStatus}},[n._v("\n "+n._s(1===e.liveStatus?"直播中":"未开播")+"\n ")]):n._e(),n._v(" "),e.progressText||void 0!==e.liveStatus?t("span",{staticClass:"history-info-separator"},[n._v("|")]):n._e(),n._v(" "),e.timeText?t("div",{staticClass:"time",attrs:{title:new Date(e.viewAt).toLocaleString()}},[n._v("\n "+n._s(e.timeText)+"\n ")]):n._e()])])})),0)],1)})),n._v(" "),n.canNextPage?t("ScrollTrigger",{key:"scroll-trigger",on:{trigger:function(t){return n.nextPage()}}}):n._e()],2):t("VEmpty")],1)])};a._withStripped=!0;var o=e(416),r=e(7847),i=e(2007),s=e(1164),A=e(4253),c=e(2082);let l=function(n){return n.All="all",n.Video="archive",n.Live="live",n.Article="article",n.Bangumi="pgc",n.Cheese="cheese",n}({});const p=[{name:l.All,displayName:"全部",icon:"",checked:!0,apiType:""},{name:l.Video,displayName:"视频",icon:"mdi-play-circle-outline",checked:!1,apiType:"archive"},{name:l.Bangumi,displayName:"番剧",icon:"mdi-television-classic",checked:!1,apiType:"archive"},{name:l.Live,displayName:"直播",icon:"mdi-video-wireless-outline",checked:!1,apiType:"live"},{name:l.Article,displayName:"专栏",icon:"mdi-newspaper-variant-outline",checked:!1,apiType:"article"}],d=()=>{const n=new Date,t=Number(new Date(n.getFullYear(),n.getMonth(),n.getDate())),e=864e5;return{now:n,today:t,oneDay:e,yesterday:t-e,lastWeek:t-7*e}},u=n=>{const{yesterday:t,today:e}=d(),a=Number(n);return a>=t?`${a>=e?"今天":"昨天"} ${n.getHours().toString().padStart(2,"0")}:${n.getMinutes().toString().padStart(2,"0")}`:`${(n.getMonth()+1).toString().padStart(2,"0")}-${n.getDate().toString().padStart(2,"0")} ${n.getHours().toString().padStart(2,"0")}:${n.getMinutes().toString().padStart(2,"0")}`},m=n=>{n.history.business===l.Article&&(n.history.cid=n.history.oid);const{epid:t,bvid:e,cid:a,oid:o,page:r}=n.history,i=n.progress>0?`t=${n.progress}`:"t=0",s=-1===n.progress?1:n.progress/n.duration,A=n=>n.replace("http:","https:"),p=new Date(1e3*n.view_at),d=n.cover?A(n.cover):n.covers?A(n.covers[0]):"",m={title:n.title,viewAt:1e3*n.view_at,time:p,timeText:u(p),cover:d,covers:n.covers?.map(A)??[],progress:s,progressText:Number.isNaN(s)?null:`${(0,c.formatDuration)(n.progress)} / ${(0,c.formatDuration)(n.duration)}`,duration:n.duration,durationText:n.duration?(0,c.formatDuration)(n.duration):null,upName:n.author_name,upFaceUrl:A(n.author_face),upID:n.author_mid};if(n.history.business===l.Cheese)return{...m,id:o,upName:n.title,title:n.show_title,url:n.uri,type:l.Video};if(t)return{...m,id:t,url:`https://www.bilibili.com/bangumi/play/ep${t}?${i}`,title:n.show_title||n.title,upName:n.title,type:l.Bangumi};if(e)return{...m,id:e,url:`https://www.bilibili.com/video/${e}?p=${n.history.page}&${i}`,type:l.Video,page:r,pages:n.videos};if(a)return{...m,id:a,url:`https://www.bilibili.com/read/cv${a}`,type:l.Article};if(o)return{...m,id:o,url:`https://live.bilibili.com/${o}`,liveStatus:n.live_status,type:l.Live};throw console.error("unknown history item type",n),new Error("未知的历史项目类型")},b=Vue.extend({components:{VButton:s.VButton,VIcon:s.VIcon,RadioButton:s.RadioButton,TextBox:s.TextBox,VLoading:s.VLoading,VEmpty:s.VEmpty,ScrollTrigger:s.ScrollTrigger,DpiImage:s.DpiImage},mixins:[A.U],data:()=>({types:p,search:"",viewTime:0,cards:[],groups:[],loading:!0,hasMorePage:!0,paused:!1}),computed:{canNextPage(){return""===this.search&&!this.loading&&this.hasMorePage}},watch:{search:lodash.debounce((function(){this.reloadHistoryItems()}),200)},async created(){try{await Promise.all([this.nextPage(),this.updateHistoryPauseState()])}finally{this.loading=!1}},methods:{toggleTypeFilter(n){p.forEach((t=>t.checked=t.name===n.name)),this.reloadHistoryItems()},async reloadHistoryItems(){this.cards=[],this.viewTime=0,this.hasMorePage=!0,this.loading=!0;try{await this.nextPage()}finally{this.loading=!1}},filterFunc(n){return!(!p.find((n=>n.name===l.All)).checked&&p.some((t=>t.name===n.type&&!t.checked)))&&!(!n.title.toLowerCase().includes(this.search.toLowerCase())&&!n.upName.toLowerCase().includes(this.search.toLowerCase()))},updateGroups(){this.groups=(n=>{if(0===n.length)return[];const{today:t,yesterday:e,lastWeek:a}=d(),o=lodash.groupBy(n,(n=>n.viewAt>=t?"今天":n.viewAt>=e?"昨天":n.viewAt>=a?"本周":"更早"));return Object.entries(o).map((n=>{let[t,e]=n;return{name:t,items:e}}))})(this.cards.filter(this.filterFunc))},async nextPage(){const n=await(async(n,t)=>{const e=new URLSearchParams;n&&e.set("view_at",Math.round(n/1e3).toString()),e.set("type",t?.apiType??"");const{list:a}=await(0,o.bilibiliApi)((0,o.getJsonWithCredentials)(`https://api.bilibili.com/x/web-interface/history/cursor?${e.toString()}`),"获取历史记录失败");return Array.isArray(a)?a.map(m).filter((n=>null!==n&&(!t||t.name===l.All||n.type===t.name))):[]})(this.viewTime,p.find((n=>n.checked))),t=lodash.uniqBy(this.cards.concat(n).sort((0,i.descendingSort)((n=>n.viewAt))),(n=>n.id));this.cards=t,this.updateGroups(),t.length>0&&(this.viewTime=lodash.last(t).viewAt),this.hasMorePage=0!==n.length,this.hasMorePage&&0===this.groups.length&&await this.nextPage()},async updateHistoryPauseState(){const n=await(0,o.bilibiliApi)((0,o.getJsonWithCredentials)("https://api.bilibili.com/x/v2/history/shadow"));this.paused=!0===n},async toggleHistoryPause(){const n=!this.paused;try{this.paused=n,await(0,o.postTextWithCredentials)("https://api.bilibili.com/x/v2/history/shadow/set",new URLSearchParams({csrf:(0,r.getCsrf)(),switch:n.toString()}).toString())}catch(t){this.paused=!n}}}});var h=e(6991),g=e.n(h),v=e(2316),f=e.n(v),C={insert:"head",singleton:!1};g()(f(),C);f().locals;const B=(0,e(8678).A)(b,a,[],!1,null,null,null).exports},4421:(n,t,e)=>{"use strict";e.r(t),e.d(t,{default:()=>m});var a=function(){var n=this,t=n._self._c;n._self._setupProxy;return t("div",{staticClass:"home-popup",attrs:{role:"list"}},n._l(Object.entries(n.categories),(function([e,a]){return t("div",{key:e,staticClass:"category-item",class:{main:null!==a.code},attrs:{role:"listitem"}},[t("a",{attrs:{href:a.link,target:"_blank"}},[t("svg",{attrs:{"aria-hidden":"true"}},[t("use",{attrs:{href:"#header-icon-"+a.icon,"xlink:href":"#header-icon-"+a.icon}})]),n._v(" "),t("div",{staticClass:"name"},[n._v(n._s(e))]),n._v(" "),t("span",{staticClass:"count"},[null!==a.count?[n._v(n._s(a.count))]:n._e()],2)]),n._v(" "),a.subCategories?t("div",{staticClass:"sub-regions-popup popup"},n._l(Object.entries(a.subCategories),(function([e,a]){return t("a",{key:e,staticClass:"sub-region",attrs:{href:a,target:"_blank"}},[n._v(n._s(e))])})),0):n._e()])})),0)};a._withStripped=!0;var o=e(8217),r=e(4253);const i=lodash.cloneDeep(o.categories);Object.values(i).forEach((n=>{n.count=null}));let s=!1;const A=Vue.extend({mixins:[r.U],data:()=>({categories:i}),async created(){if(s)return;s=!0;const{bilibiliApi:n,getJson:t}=await Promise.resolve().then(e.t.bind(e,416,23)),{addCategoryIcons:a}=await Promise.resolve().then(e.t.bind(e,8217,23));a();const{region_count:o={}}=await n(t("https://api.bilibili.com/x/web-interface/online"),"[自定义顶栏] 分区投稿信息获取失败");Object.values(this.categories).forEach((n=>{n.code&&(Array.isArray(n.code)?n.count=lodash.sum(n.code.map((n=>o[n]))):n.count=o[n.code])}))},mounted(){this.$el.style.maxHeight="inherit",this.$nextTick((()=>{this.$el.style.maxHeight=""}))}});var c=e(6991),l=e.n(c),p=e(3787),d=e.n(p),u={insert:"head",singleton:!1};l()(d(),u);d().locals;const m=(0,e(8678).A)(A,a,[],!1,null,null,null).exports},2103:(n,t,e)=>{"use strict";e.r(t),e.d(t,{default:()=>u});var a=function(){var n=this,t=n._self._c;n._self._setupProxy;return t("div",{staticClass:"custom-navbar-logo-container"},[n.seasonLogoUrl?t("div",{staticClass:"custom-navbar-logo season",style:{backgroundImage:`url(${n.seasonLogoUrl})`}}):t("VIcon",{staticClass:"custom-navbar-logo",class:{theme:n.useThemeColor},attrs:{icon:"logo"}})],1)};a._withStripped=!0;var o=e(4905),r=e(416),i=e(1164);const s=Vue.extend({name:"NavbarLogo",components:{VIcon:i.VIcon},data:()=>({seasonLogoUrl:"",useThemeColor:!0}),watch:{seasonLogoUrl(){document.body.classList.toggle("season-logo-enabled",Boolean(this.seasonLogoUrl))}},async created(){(0,o.addComponentListener)("customNavbar.seasonLogo",(async n=>{if(!n)return void(this.seasonLogoUrl="");const t=await(0,r.getJson)("https://api.bilibili.com/x/web-show/page/header?resource_id=1");0===t.code?this.seasonLogoUrl=lodash.get(t,"data.litpic","").replace("http:","https:"):this.seasonLogoUrl=""}),!0),(0,o.addComponentListener)("customNavbar.themeLogo",(async n=>{this.useThemeColor=n}),!0)}});var A=e(6991),c=e.n(A),l=e(439),p=e.n(l),d={insert:"head",singleton:!1};c()(p(),d);p().locals;const u=(0,e(8678).A)(s,a,[],!1,null,null,null).exports},9349:(n,t,e)=>{"use strict";e.r(t),e.d(t,{default:()=>m});var a=function(){var n=this,t=n._self._c,e=n._self._setupProxy;return t("div",{staticClass:"custom-navbar-manga-popup"},[e.loading?t("div",{staticClass:"loading-container"},[t(e.VLoading)],1):n._e(),n._v(" "),e.loading?n._e():t("div",{staticClass:"custom-navbar-manga-panel"},[t("div",{staticClass:"custom-navbar-manga-left-panel"},n._l(e.recommendItems,(function(e){return t("a",{key:e.season_id,staticClass:"recommend-manga-card",attrs:{href:"https://manga.bilibili.com/detail/mc"+e.season_id}},[t("div",{staticClass:"recommend-manga-card-image"},[t("img",{attrs:{src:e.horizontal_cover+"@300w.jpg",alt:e.title}})]),n._v(" "),t("div",{staticClass:"recommend-manga-card-title",attrs:{title:e.title}},[n._v(n._s(e.title))])])})),0),n._v(" "),t("div",{staticClass:"custom-navbar-manga-panel-separator"}),n._v(" "),t("div",{staticClass:"custom-navbar-manga-right-panel"},[t("div",{staticClass:"custom-navbar-manga-hot-title"},[n._v("人气漫画")]),n._v(" "),t("div",{staticClass:"custom-navbar-manga-hot-list"},n._l(e.hotItems.slice(0,7),(function(a){return t("a",{key:a.comic_id,staticClass:"hot-manga-card",attrs:{title:a.title,href:"https://manga.bilibili.com/detail/mc"+a.comic_id},on:{mouseenter:function(n){e.previewCard=a},mouseleave:function(n){e.previewCard=void 0}}},[t("div",{staticClass:"hot-manga-card-title"},[n._v("\n "+n._s(a.title)+"\n ")])])})),0),n._v(" "),e.previewCard?t("div",{staticClass:"hot-manga-card-preview"},[t("img",{attrs:{src:e.previewCard.vertical_cover+"@450h.jpg",alt:e.previewCard.title}})]):n._e()])])])};a._withStripped=!0;var o=e(2259),r=e(1164),i=e(416),s=e(4253);const A=(0,o.defineComponent)({__name:"MangaPopup",props:{item:null,container:null},setup(n,t){let{expose:e}=t;const a=n,A=(0,s.E)(a),c=(0,o.ref)(!0),l=(0,o.ref)(void 0),p=(0,o.ref)(void 0),d=(0,o.ref)(void 0),u=async()=>{void 0===l.value&&(l.value=await(0,i.bilibiliApi)(fetch("https://manga.bilibili.com/twirp/comic.v1.Comic/Recommend?device=pc&platform=web",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({JsonData:JSON.stringify([{pool_id:500003,num:4}])})}).then((n=>n.json()))))},m=async()=>{void 0===p.value&&(p.value=await(0,i.bilibiliApi)(fetch("https://manga.bilibili.com/twirp/comic.v1.Comic/HomeHot?device=pc&platform=web",{headers:{"Content-Type":"application/json"},body:JSON.stringify({type:0}),method:"POST"}).then((n=>n.json()))))},b=async()=>{await Promise.all([u(),m()]),c.value=!1};return e({popupShow(){A.popupShow(),b()}}),{__sfc:!0,props:a,popper:A,loading:c,recommendItems:l,hotItems:p,previewCard:d,loadRecommendItems:u,loadHotItems:m,loadMangaInfo:b,VLoading:r.VLoading}}});var c=e(6991),l=e.n(c),p=e(7816),d=e.n(p),u={insert:"head",singleton:!1};l()(d(),u);d().locals;const m=(0,e(8678).A)(A,a,[],!1,null,null,null).exports},8486:(n,t,e)=>{"use strict";e.r(t),e.d(t,{default:()=>g});var a=function(){var n=this,t=n._self._c,e=n._self._setupProxy;return t("div",{staticClass:"custom-navbar-match-popup"},[e.loading?t("div",{staticClass:"loading-container"},[t(e.VLoading)],1):n._e(),n._v(" "),e.loading?n._e():t("div",{staticClass:"custom-navbar-match-panel"},[t("div",{staticClass:"custom-navbar-match-left-panel"},n._l(e.bannerItems,(function(n){return t("a",{key:n.jump_url,staticClass:"banner-match-card",attrs:{href:n.jump_url}},[t("img",{attrs:{src:n.cover}})])})),0),n._v(" "),t("div",{staticClass:"custom-navbar-match-panel-separator"}),n._v(" "),t("div",{staticClass:"custom-navbar-match-right-panel"},[t("div",{staticClass:"hot-match-list"},[t("div",{staticClass:"hot-match-list-title"},[n._v("热门赛事")]),n._v(" "),n._l(e.hotItems,(function(a){return t("a",{key:a.jump_url,staticClass:"hot-match-card",attrs:{href:a.jump_url,title:a.name}},[t("div",{staticClass:"hot-match-card-status",class:{"in-progress":a.status===e.MatchHotItemStatus.InProgress}},[a.status===e.MatchHotItemStatus.NotStarted?[n._v("未开始")]:n._e(),n._v(" "),a.status===e.MatchHotItemStatus.InProgress?[n._v("进行中")]:n._e(),n._v(" "),a.status===e.MatchHotItemStatus.Finished?[n._v("已结束")]:n._e()],2),n._v(" "),t("div",{staticClass:"hot-match-card-title"},[n._v("\n "+n._s(a.name)+"\n ")])])}))],2),n._v(" "),t("div",{staticClass:"preview-match-list"},[t("div",{staticClass:"preview-match-list-title"},[n._v("精彩预告")]),n._v(" "),n._l(e.previewItems,(function(a){return t("a",{key:a.jump_url,staticClass:"preview-match-card",attrs:{href:a.jump_url,title:a.name}},[t("div",{staticClass:"preview-match-date"},[n._v(n._s(a.stime))]),n._v(" "),t("div",{staticClass:"preview-match-title"},[n._v(n._s(a.name))]),n._v(" "),t(e.VButton,{staticClass:"preview-match-subscribe",attrs:{type:0===a.fav_status?"primary":"light"},on:{click:function(n){return n.preventDefault(),e.toggleSubscribe(a)}}},[n._v("\n "+n._s(0===a.fav_status?"订阅":"已订阅")+"\n ")])],1)}))],2)])])])};a._withStripped=!0;var o=e(2259),r=e(1164),i=e(416),s=e(4253);let A=function(n){return n[n.NotStarted=1]="NotStarted",n[n.InProgress=2]="InProgress",n[n.Finished=3]="Finished",n}({});var c=e(7847),l=e(765);const p=(0,o.defineComponent)({__name:"MatchPopup",props:{item:null,container:null},setup(n,t){let{expose:e}=t;const a=n,p=(0,s.E)(a),d=(0,o.ref)(!0),u=(0,o.ref)(void 0),m=(0,o.computed)((()=>u.value?.banner)),b=(0,o.computed)((()=>u.value?.hot)),h=(0,o.computed)((()=>u.value?.preview)),g=async()=>{u.value=(0,o.reactive)(await(0,i.bilibiliApi)((0,i.getJsonWithCredentials)("https://api.bilibili.com/x/web-interface/nav/game"))),d.value=!1};return e({popupShow(){p.popupShow(),g()}}),{__sfc:!0,props:a,popper:p,loading:d,matchInfo:u,bannerItems:m,hotItems:b,previewItems:h,loadMatchInfo:g,toggleSubscribe:async n=>{const t=0!==n.fav_status;try{await(0,i.postTextWithCredentials)(t?"https://api.bilibili.com/x/esports/fav/del":"https://api.bilibili.com/x/esports/fav/add",new URLSearchParams({cid:n.cid.toString(),csrf:(0,c.getCsrf)()}).toString()),n.fav_status=t?0:1}catch(n){(0,l.logError)(n)}},VLoading:r.VLoading,VButton:r.VButton,MatchHotItemStatus:A}}});var d=e(6991),u=e.n(d),m=e(4676),b=e.n(m),h={insert:"head",singleton:!1};u()(b(),h);b().locals;const g=(0,e(8678).A)(p,a,[],!1,null,null,null).exports},8020:(n,t,e)=>{"use strict";e.r(t),e.d(t,{default:()=>u});var a=function(){var n=this,t=n._self._c;n._self._setupProxy;return t("div",{staticClass:"messages-popup",attrs:{role:"list"}},n._l(n.entries,(function(e){return t("div",{key:e.name,staticClass:"message-entry",attrs:{role:"listitem"}},[t("a",{attrs:{"data-prop":e.prop,target:"_blank",href:e.href,"data-count":e.count||null},on:{click:function(t){return n.clearCount(e)}}},[n._v(n._s(e.name))])])})),0)};a._withStripped=!0;var o=e(416),r=e(4253);const i=[{prop:"reply",href:"https://message.bilibili.com/#/reply",name:"回复我的"},{prop:"at",href:"https://message.bilibili.com/#/at",name:"@我的"},{prop:"like",href:"https://message.bilibili.com/#/love",name:"收到的赞"},{prop:"sys_msg",href:"https://message.bilibili.com/#/system",name:"系统通知"},{prop:"user_msg",href:"https://message.bilibili.com/#/whisper",name:"我的消息"},{href:"https://message.bilibili.com/#/archive",name:"私信存档"},{href:"https://message.bilibili.com/#/config",name:"消息设置"}],s=Vue.extend({name:"MessagesPopup",mixins:[r.U],data:()=>({entries:i.map((n=>(n.count=0,n))),settings:{notify:!0,hideNotFollowedCount:!1,json:{}}}),async created(){await this.fetchSettings(),this.notify()},methods:{popupRefresh(){this.notify()},async fetchSettings(){const n=await(0,o.getJsonWithCredentials)("https://api.vc.bilibili.com/link_setting/v1/link_setting/get?msg_notify=1&show_unfollowed_msg=1");0===n.code&&(this.settings={notify:3!==n.data.msg_notify,hideNotFollowedCount:1===n.data.show_unfollowed_msg,json:n.data})},async notify(){if(!this.settings.notify)return;const[n,t]=await Promise.all([(0,o.getJsonWithCredentials)("https://api.bilibili.com/x/msgfeed/unread"),(0,o.getJsonWithCredentials)("https://api.vc.bilibili.com/session_svr/v1/session_svr/single_unread")]);n.data.user_msg=t.data.follow_unread||0,this.settings.hideNotFollowedCount||(n.data.user_msg+=t.data.unfollow_unread||0),this.item.notifyCount=i.reduce(((t,e)=>t+(e.prop?n.data[e.prop]:0)),0),this.item.notifyCount&&(console.log(i),i.forEach((t=>{if(!t.prop)return;const e=n.data[t.prop];console.log(t.prop,t.count,e),e>0&&(t.count=e)})))},clearCount(n){this.item.notifyCount-=n.count,n.count=0}}});var A=e(6991),c=e.n(A),l=e(1751),p=e.n(l),d={insert:"head",singleton:!1};c()(p(),d);p().locals;const u=(0,e(8678).A)(s,a,[],!1,null,"38cbdbce",null).exports},3859:(n,t,e)=>{"use strict";e.r(t),e.d(t,{default:()=>d});var a=function(){var n=this,t=n._self._c;n._self._setupProxy;return t("div",{staticClass:"ranking-popup",attrs:{role:"list"}},n._l(n.entries,(function(e){return t("div",{key:e.name,staticClass:"ranking-entry",attrs:{role:"listitem"}},[t("a",{attrs:{target:"_blank",href:e.href}},[n._v(n._s(e.name))])])})),0)};a._withStripped=!0;var o=e(4253);const r=[{href:"https://www.bilibili.com/v/popular/all",name:"综合热门"},{href:"https://www.bilibili.com/v/popular/weekly",name:"每周必看"},{href:"https://www.bilibili.com/v/popular/history",name:"入站必刷"},{href:"https://www.bilibili.com/v/popular/rank/all",name:"排行榜"},{href:"https://www.bilibili.com/v/popular/music",name:"全站音乐榜"}],i=Vue.extend({name:"RankingPopup",mixins:[o.U],data:()=>({entries:r})});var s=e(6991),A=e.n(s),c=e(1637),l=e.n(c),p={insert:"head",singleton:!1};A()(l(),p);l().locals;const d=(0,e(8678).A)(i,a,[],!1,null,"dbcac2e2",null).exports},7224:(n,t,e)=>{"use strict";e.r(t),e.d(t,{default:()=>d});var a=function(){var n=this._self._c;this._self._setupProxy;return n("div",{staticClass:"custom-navbar-search"},[n("LaunchBar")],1)};a._withStripped=!0;const o=coreApis.componentApis.launchBar.LaunchBar;var r=e.n(o);const i=Vue.extend({components:{LaunchBar:r()}});var s=e(6991),A=e.n(s),c=e(5676),l=e.n(c),p={insert:"head",singleton:!1};A()(l(),p);l().locals;const d=(0,e(8678).A)(i,a,[],!1,null,null,null).exports},5765:(n,t,e)=>{"use strict";e.r(t),e.d(t,{default:()=>d});var a=function(){var n=this,t=n._self._c;n._self._setupProxy;return t("div",{staticClass:"custom-navbar-extra-options"},[t("VButton",{ref:"button",on:{mouseover:function(t){return n.loadNavbarSettings()},click:function(t){return n.toggleNavbarSettings()}}},[n._v("\n 布局设置"),t("VIcon",{attrs:{icon:"right-arrow",size:16}})],1)],1)};a._withStripped=!0;var o=e(1164),r=e(4848);const i=Vue.extend({components:{VIcon:o.VIcon,VButton:o.VButton},methods:{async loadNavbarSettings(){if(await(0,r.w)()){const n=this.$refs.button.$el;(0,r.D)(n)}},toggleNavbarSettings:r.toggleNavbarSettings}});var s=e(6991),A=e.n(s),c=e(7256),l=e.n(c),p={insert:"head",singleton:!1};A()(l(),p);l().locals;const d=(0,e(8678).A)(i,a,[],!1,null,null,null).exports},9840:(n,t,e)=>{"use strict";e.r(t),e.d(t,{default:()=>f});var a=function(){var n=this,t=n._self._c;n._self._setupProxy;return t("VPopup",{ref:"popup",staticClass:"custom-navbar-settings",attrs:{fixed:"",lazy:!1,"trigger-element":n.triggerElement},model:{value:n.open,callback:function(t){n.open=t},expression:"open"}},[t("div",{staticClass:"navbar-settings-header"},[t("VIcon",{staticClass:"title-icon",attrs:{icon:"mdi-sort",size:24}}),n._v(" "),t("div",{staticClass:"title"},[n._v("顶栏布局设置")]),n._v(" "),t("div",{staticClass:"grow"}),n._v(" "),t("div",{staticClass:"close",on:{click:function(t){n.open=!1}}},[t("VIcon",{attrs:{icon:"close",size:18}})],1)],1),n._v(" "),t("div",{staticClass:"navbar-settings-content"},[t("div",{staticClass:"navbar-settings-section"},[t("div",{staticClass:"navbar-settings-section-title"},[n._v("边缘间距")]),n._v(" "),t("div",{staticClass:"navbar-settings-section-description"},[n._v("\n 设定两侧边缘处的间距, 单位为百分比, 100%为整个顶栏的宽度.\n "),t("br"),n._v("空间不足时, 实际呈现的间距会自动缩小.\n ")]),n._v(" "),t("div",{staticClass:"navbar-settings-section-content",on:{mouseover:function(t){return n.peekPadding(!0)},mouseout:function(t){return n.peekPadding(!1)}}},[t("VSlider",{attrs:{min:0,max:40,step:.5},model:{value:n.padding,callback:function(t){n.padding=t},expression:"padding"}}),n._v(" "),t("div",{staticClass:"padding-value"},[n._v(n._s(n.padding.toFixed(1))+"%")])],1)]),n._v(" "),n.isLogin?t("div",{staticClass:"navbar-settings-section"},[t("div",{staticClass:"navbar-settings-section-title"},[n._v("元素呈现")]),n._v(" "),t("div",{staticClass:"navbar-settings-section-description"},[n._v("\n 按住并拖动可以调整顺序, 点击眼睛图标可以切换隐藏/显示.\n ")]),n._v(" "),n.loaded?n._e():t("VLoading"),n._v(" "),t("div",{directives:[{name:"show",rawName:"v-show",value:n.loaded,expression:"loaded"}],ref:"navbarSortList",staticClass:"navbar-settings-section-content navbar-sort-list"},n._l(n.rendered.items,(function(e){return t("div",{key:e.name,staticClass:"navbar-sort-item",class:{"navbar-hidden":e.hidden},attrs:{"data-name":e.name},on:{mouseover:function(t){return n.peekItem(e,!0)},mouseout:function(t){return n.peekItem(e,!1)}}},[t("div",{staticClass:"item-name"},[n._v("\n "+n._s(e.displayName)+"\n ")]),n._v(" "),t("div",{staticClass:"toggle-visible"},[t("VIcon",{attrs:{size:18,icon:e.hidden?"mdi-eye-off-outline":"mdi-eye-outline"},on:{click:function(t){return n.toggleVisible(e)}}})],1)])})),0)],1):n._e()])])};a._withStripped=!0;var o=e(1164),r=e(4905),i=e(7847);const s=coreApis.runtimeLibrary;var A=e(322),c=e(622);const l=n=>{n.forEach(((n,t)=>{n.order!==t&&(n.order=t)}));const t=Object.fromEntries(n.map((n=>[n.name,n.order])));c.LC.navbarOptions.order=t},{navbarOptions:p}=c.LC,[d]=(0,A.getData)(c.z0),u=Vue.extend({components:{VPopup:o.VPopup,VIcon:o.VIcon,VSlider:o.VSlider,VLoading:o.VLoading},props:{triggerElement:{type:HTMLElement,default:null}},data:()=>({open:!1,padding:p.padding,rendered:d,hidden:p.hidden,loaded:!1,isLogin:Boolean((0,i.getUID)())}),watch:{padding:lodash.debounce((n=>{p.padding=n}),200)},async mounted(){(0,r.addComponentListener)("customNavbar.padding",(n=>{this.padding!==n&&(this.padding=n)}));const n=this.$refs.navbarSortList;if(n){(await s.SortableJSLibrary).create(n,{delay:100,forceFallback:!0,onEnd:n=>{this.onSort(n)}}),(t=d.items).every(((n,t)=>n.order===t))||l(t)}var t;this.loaded=!0},methods:{toggle(){this.$refs.popup.toggle()},peekPadding(n){(0,i.dqa)(".custom-navbar .padding").forEach((t=>t.classList.toggle("peek",n)))},peekItem(n,t){n.element?.classList.toggle("peek",t)},onSort(n){const t=this.$refs.navbarSortList,e=n.item;console.log(`${e.getAttribute("data-name")} ${n.oldIndex}->${n.newIndex}`);const a=Object.fromEntries([...t.children].map(((n,t)=>[n.getAttribute("data-name"),t])));this.rendered.items=((n,t)=>{const e=lodash.sortBy(n,(n=>t[n.name]));return l(e),e})(d.items,a)},toggleVisible(n){p.hidden.includes(n.name)?(lodash.pull(p.hidden,n.name),n.hidden=!1,console.log("delete",n.name)):(p.hidden.push(n.name),n.hidden=!0,console.log("add",n.name))}}});var m=e(6991),b=e.n(m),h=e(5632),g=e.n(h),v={insert:"head",singleton:!1};b()(g(),v);g().locals;const f=(0,e(8678).A)(u,a,[],!1,null,null,null).exports},5238:(n,t,e)=>{"use strict";e.r(t),e.d(t,{default:()=>s});var a=function(){var n=this,t=n._self._c;n._self._setupProxy;return t("DefaultWidget",{attrs:{name:"顶栏布局设置",icon:"mdi-sort"},on:{mouseover:function(t){return n.loadNavbarSettings()},click:function(t){return n.toggleNavbarSettings()}}})};a._withStripped=!0;var o=e(1164),r=e(4848);const i=Vue.extend({components:{DefaultWidget:o.DefaultWidget},methods:{async loadNavbarSettings(){await(0,r.w)()},toggleNavbarSettings:r.toggleNavbarSettings}});const s=(0,e(8678).A)(i,a,[],!1,null,null,null).exports},4856:(n,t,e)=>{"use strict";e.r(t),e.d(t,{default:()=>i});var a=function(){var n=this,t=n._self._c;n._self._setupProxy;return t("SubscriptionsList",{attrs:{type:"bangumi",filter:n.filter}})};a._withStripped=!0;var o=e(4162);const r=Vue.extend({components:{SubscriptionsList:o.A},props:{filter:{type:[Object,null],default:null}}});const i=(0,e(8678).A)(r,a,[],!1,null,null,null).exports},1020:(n,t,e)=>{"use strict";e.r(t),e.d(t,{default:()=>i});var a=function(){var n=this,t=n._self._c;n._self._setupProxy;return t("SubscriptionsList",{attrs:{type:"cinema",filter:n.filter}})};a._withStripped=!0;var o=e(4162);const r=Vue.extend({components:{SubscriptionsList:o.A},props:{filter:{type:[Object,null],default:null}}});const i=(0,e(8678).A)(r,a,[],!1,null,null,null).exports},5588:(n,t,e)=>{"use strict";e.r(t),e.d(t,{default:()=>i});var a=function(){var n=this,t=n._self._c;n._self._setupProxy;return t("div",{},[n._v(n._s(n.content))])};a._withStripped=!0;var o=e(4905);const r=Vue.extend({data:()=>({isBangumiLinkHidden:(0,o.getComponentSettings)("customNavbar").options.hidden.includes("bangumi")}),computed:{content(){return this.isBangumiLinkHidden?"番剧":"追番追剧"}},mounted(){(0,o.addComponentListener)("customNavbar.hidden",this.updateBangumiLinkStatus)},beforeDestroy(){(0,o.removeComponentListener)("customNavbar.hidden",this.updateBangumiLinkStatus)},methods:{updateBangumiLinkStatus(n){const t=n.includes("bangumi");this.isBangumiLinkHidden=t}}});const i=(0,e(8678).A)(r,a,[],!1,null,null,null).exports},7550:(n,t,e)=>{"use strict";e.r(t),e.d(t,{default:()=>h});var a=function(){var n=this,t=n._self._c;n._self._setupProxy;return t("div",{staticClass:"navbar-subscriptions"},[t("TabControl",{ref:"tabControl",attrs:{tabs:n.tabs,"more-link":n.moreLink},scopedSlots:n._u([{key:"header-item",fn:function(){return[t("div",{staticClass:"navbar-subscriptions-filter"},[t("VDropdown",{attrs:{round:"",items:n.filterItems},model:{value:n.selectedFilter,callback:function(t){n.selectedFilter=t},expression:"selectedFilter"}})],1)]},proxy:!0}])})],1)};a._withStripped=!0;var o=e(1164),r=e(7847),i=e(4253),s=e(6148),A=e(75);const c=[{name:"all",value:{viewAll:!0,status:A.i.Viewing},displayName:"全部"},{name:"viewing",value:{viewAll:!1,status:A.i.Viewing},displayName:"在看"},{name:"toView",value:{viewAll:!1,status:A.i.ToView},displayName:"想看"},{name:"viewed",value:{viewAll:!1,status:A.i.Viewed},displayName:"看过"}],l=Vue.extend({components:{TabControl:o.TabControl,VDropdown:o.VDropdown},mixins:[i.U],data(){const n=(0,r.getUID)();return{uid:n,filterItems:c,selectedFilter:c[0],moreLink:t=>`https://space.bilibili.com/${n}/${t.name}`,filter:{viewAll:!0,status:A.i.Viewing}}},computed:{tabs(){return[{name:s.r.Bangumi,displayName:"追番",activeLink:`https://space.bilibili.com/${this.uid}/bangumi`,component:()=>Promise.resolve().then(e.bind(e,4856)).then((n=>n.default)),propsData:{filter:this.selectedFilter.value}},{name:s.r.Cinema,displayName:"追剧",activeLink:`https://space.bilibili.com/${this.uid}/cinema`,component:()=>Promise.resolve().then(e.bind(e,1020)).then((n=>n.default)),propsData:{filter:this.selectedFilter.value}}]}}});var p=e(6991),d=e.n(p),u=e(7596),m=e.n(u),b={insert:"head",singleton:!1};d()(m(),b);m().locals;const h=(0,e(8678).A)(l,a,[],!1,null,null,null).exports},4162:(n,t,e)=>{"use strict";e.d(t,{A:()=>v});var a=function(){var n=this,t=n._self._c;n._self._setupProxy;return t("div",{staticClass:"subscription-list"},[n.loading?t("VLoading"):n.loading||0!==n.cards.length?[t("div",{staticClass:"subscription-content"},n._l(n.cards,(function(e){return t("a",{key:e.id,staticClass:"subscription-card",attrs:{href:e.playUrl,target:"_blank"}},[t("div",{staticClass:"subscriptions-cover-container"},[t("DpiImage",{staticClass:"cover",attrs:{src:e.coverUrl,size:64}})],1),n._v(" "),t("div",{staticClass:"card-info"},[t("h1",{staticClass:"title",attrs:{title:e.title}},[n._v(n._s(e.title))]),n._v(" "),t("div",{staticClass:"progress-row"},[e.status?t("div",{staticClass:"status",class:"status-"+e.status},[n._v("\n "+n._s(e.statusText)+"\n ")]):n._e(),n._v(" "),e.progress?t("div",{staticClass:"progress",attrs:{title:e.progress+" | "+e.latest}},[n._v("\n "+n._s(e.progress)+" | "+n._s(e.latest)+"\n ")]):t("div",{staticClass:"progress",attrs:{title:e.latest}},[n._v(n._s(e.latest))]),n._v(" "),t("a",{staticClass:"info",attrs:{href:e.mediaUrl,target:"_blank",title:"详细信息"}},[t("VIcon",{attrs:{icon:"mdi-information-outline",size:16}})],1)])])])})),0),n._v(" "),n.hasMorePage?t("ScrollTrigger",{on:{trigger:function(t){return n.nextPage()}}}):n._e()]:t("VEmpty")],2)};a._withStripped=!0;var o=e(7847),r=e(765),i=e(1164),s=e(416),A=e(6148),c=e(75);const l=n=>{switch(n){case c.i.ToView:return"想看";case c.i.Viewing:default:return"在看";case c.i.Viewed:return"看过"}},p=(n,t)=>{let e=n.status;e!==c.i.Viewed&&(e=c.i.Viewed-e);let a=t.status;return a!==c.i.Viewed&&(a=c.i.Viewed-a),e-a},d=Vue.extend({components:{DpiImage:i.DpiImage,VLoading:i.VLoading,VEmpty:i.VEmpty,VIcon:i.VIcon,ScrollTrigger:i.ScrollTrigger},props:{filter:{type:[Object,null],default:null},type:{type:String,default:A.r.Bangumi}},data:()=>({loading:!0,hasMorePage:!0,cards:[],page:1}),watch:{filter(){this.cards=[],this.loading=!0,this.page=1,this.nextPage()}},async created(){this.nextPage()},methods:{async nextPage(){try{const n=this.filter,t=n.viewAll?0:n.status,e=new URLSearchParams({type:this.type!==A.r.Bangumi?"2":"1",pn:this.page,ps:"16",vmid:(0,o.getUID)(),follow_status:t.toString()}),a=await(0,s.getJsonWithCredentials)(`https://api.bilibili.com/x/space/bangumi/follow/list?${e}`);if(0!==a.code)return void(0,r.logError)(`加载番剧信息失败: ${a.message}`);const i=lodash.uniqBy(lodash.get(a,"data.list").map((n=>({title:n.title,coverUrl:n.square_cover.replace("http:","https:"),latest:n.new_ep.index_show,progress:n.progress,id:n.season_id,status:n.follow_status,statusText:l(n.follow_status),playUrl:`https://www.bilibili.com/bangumi/play/ss${n.season_id}`,mediaUrl:`https://www.bilibili.com/bangumi/media/md${n.media_id}`}))),(n=>n.id)).sort(p);this.page++,this.cards=this.cards.concat(i),this.hasMorePage=this.cards.length{"use strict";e.r(t),e.d(t,{default:()=>p});var a=function(){var n=this,t=n._self._c;n._self._setupProxy;return t("div",{staticClass:"navbar-upload"},[t("VIcon",{attrs:{icon:"upload",size:18}}),n._v(" "),t("div",{staticClass:"navbar-upload-name"},[n._v("投稿")])],1)};a._withStripped=!0;var o=e(1164);const r=Vue.extend({components:{VIcon:o.VIcon}});var i=e(6991),s=e.n(i),A=e(3661),c=e.n(A),l={insert:"head",singleton:!1};s()(c(),l);c().locals;const p=(0,e(8678).A)(r,a,[],!1,null,"99a054ea",null).exports},5778:(n,t,e)=>{"use strict";e.r(t),e.d(t,{default:()=>p});var a=function(){var n=this;n._self._c,n._self._setupProxy;return n._m(0)};a._withStripped=!0;var o=e(4253);const r=Vue.extend({mixins:[o.U]});var i=e(6991),s=e.n(i),A=e(116),c=e.n(A),l={insert:"head",singleton:!1};s()(c(),l);c().locals;const p=(0,e(8678).A)(r,a,[function(){var n=this,t=n._self._c;n._self._setupProxy;return t("div",{staticClass:"upload-popup",attrs:{role:"list"}},[t("div",{attrs:{role:"listitem"}},[t("a",{attrs:{target:"_blank",href:"https://member.bilibili.com/platform/upload/text/apply"}},[n._v("专栏投稿")])]),n._v(" "),t("div",{attrs:{role:"listitem"}},[t("a",{attrs:{target:"_blank",href:"https://member.bilibili.com/platform/upload/audio/frame"}},[n._v("音频投稿")])]),n._v(" "),t("div",{attrs:{role:"listitem"}},[t("a",{attrs:{target:"_blank",href:"https://member.bilibili.com/platform/upload/sticker"}},[n._v("贴纸投稿")])]),n._v(" "),t("div",{attrs:{role:"listitem"}},[t("a",{attrs:{target:"_blank",href:"https://member.bilibili.com/platform/upload/video/frame"}},[n._v("视频投稿")])]),n._v(" "),t("div",{attrs:{role:"listitem"}},[t("a",{attrs:{target:"_blank",href:"https://member.bilibili.com/platform/upload-manager/article"}},[n._v("投稿管理")])]),n._v(" "),t("div",{attrs:{role:"listitem"}},[t("a",{attrs:{target:"_blank",href:"https://member.bilibili.com/platform/home"}},[n._v("创作中心")])])])}],!1,null,"b43e8cea",null).exports},9522:(n,t,e)=>{"use strict";e.r(t),e.d(t,{default:()=>m});var a=function(){var n=this,t=n._self._c;n._self._setupProxy;return t("div",{staticClass:"user-face-container"},[t("img",{staticClass:"user-face",attrs:{src:n.faceSrc,srcset:n.faceSrcset}}),n._v(" "),t("img",{staticClass:"user-pendant",attrs:{src:n.pendantSrc,srcset:n.pendantSrcset}})])};a._withStripped=!0;var o=e(119),r=e(7847);const i=coreApis.utils.constants,s="//static.hdslb.com/images/member/noface.gif",A=Vue.extend({name:"UserFace",data:()=>({faceSrc:i.EmptyImageUrl,pendantSrc:i.EmptyImageUrl,faceSrcset:null,pendantSrcset:null}),async created(){const n=await(0,o.getUserInfo)();if(n.isLogin){if(n.face){const t=n.face.replace("http:","https:");if(t.includes(s))this.faceSrc=s;else{const n=68;this.faceSrc=t,this.faceSrcset=(0,r.getDpiSourceSet)(t,n)}}if(n.pendant?.image){const t=n.pendant.image.replace("http:","https:"),e=116;this.pendantSrcset=(0,r.getDpiSourceSet)(t,e,"png")}}else this.faceSrc="data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/4QAYRXhpZgAASUkqAAgAAAAAAAAAAAAAAP/sABFEdWNreQABAAQAAABQAAD/4QMxaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wLwA8P3hwYWNrZXQgYmVnaW49Iu+7vyIgaWQ9Ilc1TTBNcENlaGlIenJlU3pOVGN6a2M5ZCI/PiA8eDp4bXBtZXRhIHhtbG5zOng9ImFkb2JlOm5zOm1ldGEvIiB4OnhtcHRrPSJBZG9iZSBYTVAgQ29yZSA1LjYtYzEzOCA3OS4xNTk4MjQsIDIwMTYvMDkvMTQtMDE6MDk6MDEgICAgICAgICI+IDxyZGY6UkRGIHhtbG5zOnJkZj0iaHR0cDovL3d3dy53My5vcmcvMTk5OS8wMi8yMi1yZGYtc3ludGF4LW5zIyI+IDxyZGY6RGVzY3JpcHRpb24gcmRmOmFib3V0PSIiIHhtbG5zOnhtcD0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wLyIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VSZWYjIiB4bXA6Q3JlYXRvclRvb2w9IkFkb2JlIFBob3Rvc2hvcCBDQyAyMDE3IChNYWNpbnRvc2gpIiB4bXBNTTpJbnN0YW5jZUlEPSJ4bXAuaWlkOjEyRkZBREZEOEVGNDExRTc4QUEzRDBCQUMxMzA0MTI5IiB4bXBNTTpEb2N1bWVudElEPSJ4bXAuZGlkOjEyRkZBREZFOEVGNDExRTc4QUEzRDBCQUMxMzA0MTI5Ij4gPHhtcE1NOkRlcml2ZWRGcm9tIHN0UmVmOmluc3RhbmNlSUQ9InhtcC5paWQ6MTJGRkFERkI4RUY0MTFFNzhBQTNEMEJBQzEzMDQxMjkiIHN0UmVmOmRvY3VtZW50SUQ9InhtcC5kaWQ6MTJGRkFERkM4RUY0MTFFNzhBQTNEMEJBQzEzMDQxMjkiLz4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz7/7gAOQWRvYmUAZMAAAAAB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"}});var c=e(6991),l=e.n(c),p=e(3951),d=e.n(p),u={insert:"head",singleton:!1};l()(d(),u);d().locals;const m=(0,e(8678).A)(A,a,[],!1,null,null,null).exports},9642:(n,t,e)=>{"use strict";e.r(t),e.d(t,{default:()=>h});var a=function(){var n=this,t=n._self._c;n._self._setupProxy;return t("div",{staticClass:"user-info-panel"},[n.isLogin&&!0===n.userInfo.isLogin?t("div",{staticClass:"logged-in"},[t("a",{staticClass:"name",attrs:{target:"_blank",href:"https://space.bilibili.com/"}},[n._v(n._s(n.userInfo.uname))]),n._v(" "),t("a",{staticClass:"type",attrs:{target:"_blank",href:"https://account.bilibili.com/account/big"}},[n._v(n._s(n.userType))]),n._v(" "),1===n.userInfo.vipStatus&&2===n.userInfo.vipType?t("div",{staticClass:"privileges row"},[t("div",{staticClass:"b-coin",class:{received:n.privileges.bCoin.received},attrs:{title:"有效期限: "+n.privileges.bCoin.expire},on:{click:function(t){return n.privilegeReceive(1)}}},[n._v("\n "+n._s(n.privileges.bCoin.received?"已领取B币":"领取B币")+"\n ")]),n._v(" "),t("div",{staticClass:"coupons",class:{received:n.privileges.coupons.received},attrs:{title:"有效期限: "+n.privileges.coupons.expire},on:{click:function(t){return n.privilegeReceive(2)}}},[n._v("\n "+n._s(n.privileges.coupons.received?"已领取优惠券":"领取优惠券")+"\n ")])]):n._e(),n._v(" "),t("div",{staticClass:"level-info row"},[t("a",{staticClass:"level",attrs:{target:"_blank",title:"等级",href:"https://account.bilibili.com/account/record"}},[n.userInfo.is_senior_member?t("VIcon",{staticClass:"level-icon plus",attrs:{icon:"lv"+n.userInfo.level_info.current_level+"-plus",colored:"",size:30}}):t("VIcon",{staticClass:"level-icon",attrs:{icon:"lv"+n.userInfo.level_info.current_level}})],1),n._v(" "),t("span",{staticClass:"level-progress-label"},[n._v(n._s(n.userInfo.level_info.current_exp)+" / "+n._s(n.userInfo.level_info.next_exp))])]),n._v(" "),t("div",{staticClass:"level-progress separator"},[t("div",{staticClass:"level-progress-thumb",style:n.levelProgressStyle})]),n._v(" "),t("div",{staticClass:"items"},[t("a",{staticClass:"item",attrs:{target:"_blank",title:"手机验证",href:"https://passport.bilibili.com/account/security#/bindphone"}},[t("VIcon",{attrs:{icon:"bind-phone",size:20}}),n._v(" "),n.userInfo.mobile_verified?t("VIcon",{attrs:{icon:"ok",size:18}}):t("VIcon",{attrs:{icon:"cancel",size:18}})],1),n._v(" "),t("a",{staticClass:"item",attrs:{target:"_blank",title:"邮箱验证",href:"https://passport.bilibili.com/account/security#/bindmail"}},[t("VIcon",{attrs:{icon:"bind-email",size:20}}),n._v(" "),n.userInfo.email_verified?t("VIcon",{attrs:{icon:"ok",size:18}}):t("VIcon",{attrs:{icon:"cancel",size:18}})],1),n._v(" "),t("a",{staticClass:"item",attrs:{target:"_blank",href:"https://account.bilibili.com/site/coin",title:"硬币"}},[t("VIcon",{attrs:{icon:"coin-outline",size:20}}),n._v(" "),t("span",[n._v(n._s(n.userInfo.money))])],1),n._v(" "),t("a",{staticClass:"item",attrs:{target:"_blank",href:"https://pay.bilibili.com/bb_balance.html",title:"B币"}},[t("VIcon",{attrs:{icon:"b-coin-outline",size:20}}),n._v(" "),t("span",[n._v(n._s(n.userInfo.wallet.bcoin_balance))])],1)]),n._v(" "),t("div",{staticClass:"separator"}),n._v(" "),t("div",{staticClass:"stats"},[t("a",{staticClass:"stats-item",attrs:{href:"https://space.bilibili.com/"+n.userInfo.mid+"/fans/follow",target:"_blank"}},[t("div",{staticClass:"stats-number"},[n._v(n._s(n._f("count")(n.stat.following)))]),n._v("\n 关注\n ")]),n._v(" "),t("a",{staticClass:"stats-item",attrs:{href:"https://space.bilibili.com/"+n.userInfo.mid+"/fans/fans",target:"_blank"}},[t("div",{staticClass:"stats-number"},[n._v(n._s(n._f("count")(n.stat.follower)))]),n._v("\n 粉丝\n ")]),n._v(" "),t("a",{staticClass:"stats-item",attrs:{href:"https://space.bilibili.com/"+n.userInfo.mid+"/dynamic",target:"_blank"}},[t("div",{staticClass:"stats-number"},[n._v(n._s(n._f("count")(n.stat.dynamic_count)))]),n._v("\n 动态\n ")])]),n._v(" "),t("div",{staticClass:"separator"}),n._v(" "),t("a",{staticClass:"bv-custom-navbar-operation",attrs:{target:"_blank",href:"https://account.bilibili.com/account/home"}},[t("VIcon",{attrs:{icon:"profile"}}),n._v("个人中心\n ")],1),n._v(" "),t("a",{staticClass:"bv-custom-navbar-operation",attrs:{target:"_blank",href:"https://member.bilibili.com/platform/upload-manager/article"}},[t("VIcon",{attrs:{icon:"posts"}}),n._v("投稿管理\n ")],1),n._v(" "),t("a",{staticClass:"bv-custom-navbar-operation",attrs:{target:"_blank",href:"https://pay.bilibili.com/"}},[t("VIcon",{attrs:{icon:"wallet"}}),n._v("B币钱包\n ")],1),n._v(" "),t("a",{staticClass:"bv-custom-navbar-operation",attrs:{target:"_blank",href:"https://link.bilibili.com/p/center/index"}},[t("VIcon",{attrs:{icon:"live-center"}}),n._v("直播中心\n ")],1),n._v(" "),t("a",{staticClass:"bv-custom-navbar-operation",attrs:{target:"_blank",href:"https://show.bilibili.com/orderlist"}},[t("VIcon",{attrs:{icon:"order-center"}}),n._v("订单中心\n ")],1),n._v(" "),t("a",{staticClass:"bv-custom-navbar-operation",attrs:{target:"_blank",href:"https://www.bilibili.com/v/cheese/mine"}},[t("VIcon",{attrs:{icon:"course"}}),n._v("我的课程\n ")],1),n._v(" "),t("div",{staticClass:"logout grey-button",on:{click:function(t){return n.logout()}}},[n._v("退出登录")])]):n._e(),n._v(" "),n.isLogin?n._e():t("div",{staticClass:"not-logged-in"},[t("h1",{staticClass:"welcome"},[n._v("欢迎来到 bilibili")]),n._v(" "),t("a",{staticClass:"signup grey-button",attrs:{href:"https://passport.bilibili.com/register/phone.html"}},[n._v("注册")]),n._v(" "),t("a",{staticClass:"login theme-button",attrs:{href:"https://passport.bilibili.com/login"}},[n._v("登录")])])])};a._withStripped=!0;var o=e(7847),r=e(2082),i=e(765),s=e(416),A=e(119),c=e(4253);const l=Vue.extend({components:{VIcon:coreApis.ui.VIcon},filters:{count:r.formatCount},mixins:[c.U],data:()=>({userInfo:{},stat:{},isLogin:Boolean((0,o.getUID)()),privileges:{bCoin:{received:!1,expire:""},coupons:{received:!1,expire:""}}}),computed:{level(){const n=`lv${this.userInfo.level_info.current_level}`;return this.userInfo.is_senior_member?{icon:`${n}-plus`,colored:!0}:{icon:n}},userType(){if(!this.userInfo.isLogin)return"未登录";if(0===this.userInfo.level_info.current_level)return"注册会员";if(1===this.userInfo.vipStatus){if(1===this.userInfo.vipType)return this.userInfo.vip_theme_type?"小会员":"大会员";if(2===this.userInfo.vipType)return this.userInfo.vip_theme_type?"年度小会员":"年度大会员"}return"正式会员"},levelProgressStyle(){if(!this.userInfo.isLogin)return{};const{current_exp:n,current_min:t,next_exp:e}=this.userInfo.level_info;return{transform:`scaleX(${(n-t)/(e-t)})`}}},async created(){const n=await(0,A.getUserInfo)();this.userInfo=n;const t=await(0,s.getJsonWithCredentials)("https://api.bilibili.com/x/web-interface/nav/stat");if(this.stat=t.data||{},this.isLogin&&2===this.userInfo.vipType){const n=await(0,s.getJsonWithCredentials)("https://api.bilibili.com/x/vip/privilege/my");if(0===n.code){const t=n.data.list.find((n=>1===n.type));this.privileges.bCoin.received=1===t.state,this.privileges.bCoin.expire=new Date(1e3*t.expire_time).toLocaleDateString();const e=n.data.list.find((n=>2===n.type));this.privileges.coupons.received=1===e.state,this.privileges.coupons.expire=new Date(1e3*e.expire_time).toLocaleDateString()}}},methods:{async privilegeReceive(n){const t={1:"bCoin",2:"coupons"};if(this.privileges[t[n]].received)return;this.privileges[t[n]].received=!0;const e=(0,o.getCsrf)(),a=await(await fetch("https://api.bilibili.com/x/vip/privilege/receive",{credentials:"include",headers:{"content-type":"application/x-www-form-urlencoded"},body:`type=${n}&csrf=${e}`,method:"POST"})).json();console.log(a),0===a.code?"bCoin"===t[n]&&(this.userInfo.wallet.bcoin_balance+=5):69801===a.code||(this.privileges[t[n]].received=!1,(0,i.logError)(a.message))},async logout(){const n=await(0,s.postTextWithCredentials)("https://passport.bilibili.com/login/exit/v2",(0,o.formData)({biliCSRF:(0,o.getCsrf)()})),t=lodash.get(JSON.parse(n),"data.redirectUrl","");t&&window.location.assign(t)}}});var p=e(6991),d=e.n(p),u=e(4081),m=e.n(u),b={insert:"head",singleton:!1};d()(m(),b);m().locals;const h=(0,e(8678).A)(l,a,[],!1,null,null,null).exports},1232:(n,t,e)=>{"use strict";e.r(t),e.d(t,{default:()=>b});var a=function(){var n=this,t=n._self._c;n._self._setupProxy;return t("div",{staticClass:"watchlater-list"},[t("div",{staticClass:"header"},[t("div",{staticClass:"watchlater-list-summary"},[n._v("共 "+n._s(n.filteredCards.length)+" 个")]),n._v(" "),t("div",{staticClass:"search"},[t("TextBox",{attrs:{linear:"",placeholder:"搜索"},model:{value:n.search,callback:function(t){n.search=t},expression:"search"}})],1),n._v(" "),t("a",{staticClass:"operation",attrs:{target:"_blank",href:"https://www.bilibili.com/medialist/play/watchlater"}},[t("VButton",{staticClass:"round-button",attrs:{title:"播放全部",round:""}},[t("VIcon",{attrs:{icon:"mdi-play",size:18}})],1)],1),n._v(" "),t("a",{staticClass:"operation",attrs:{target:"_blank",href:"https://www.bilibili.com/watchlater/#/list"}},[t("VButton",{staticClass:"round-button",attrs:{title:"查看更多",round:""}},[t("VIcon",{attrs:{icon:"mdi-dots-horizontal",size:18}})],1)],1)]),n._v(" "),n.loading?t("VLoading"):n.loading||0!==n.cards.length?t("transition-group",{staticClass:"watchlater-list-content",attrs:{name:"cards",tag:"div"}},n._l(n.filteredCards,(function(e,a){return t("div",{key:e.aid,staticClass:"watchlater-card"},[t("a",{staticClass:"watchlater-cover-container",attrs:{target:"_blank",href:e.href}},[t("DpiImage",{staticClass:"cover",attrs:{src:e.coverUrl,size:{width:130,height:85}}}),n._v(" "),t("div",{staticClass:"floating remove",attrs:{title:"移除"},on:{click:function(t){return t.preventDefault(),n.remove(e.aid,a)}}},[t("VIcon",{attrs:{icon:"mdi-close",size:16}})],1),n._v(" "),t("div",{staticClass:"floating duration"},[n._v(n._s(e.durationText))]),n._v(" "),e.totalPages>1?t("div",{staticClass:"floating pages"},[n._v("\n "+n._s(e.currentPage)+"P / "+n._s(e.totalPages)+"P\n ")]):n._e(),n._v(" "),e.percent?t("div",{staticClass:"progress",style:{width:100*e.percent+"%"}}):n._e()],1),n._v(" "),t("a",{staticClass:"title",attrs:{target:"_blank",href:e.href,title:e.title}},[n._v(n._s(e.title))]),n._v(" "),t("div",{staticClass:"info-row"},[t("a",{staticClass:"up",attrs:{target:"_blank",href:"https://space.bilibili.com/"+e.upID,title:e.upName}},[t("DpiImage",{staticClass:"face",attrs:{src:e.upFaceUrl,size:20}}),n._v(" "),t("div",{staticClass:"name"},[n._v(n._s(e.upName))])],1),n._v(" "),e.complete?t("div",{staticClass:"viewed"},[n._v("已观看")]):n._e()])])})),0):t("VEmpty")],1)};a._withStripped=!0;var o=e(4905),r=e(2082);const i=coreApis.componentApis.video.watchlater;var s=e(1164),A=e(4253);const c=Vue.extend({components:{VLoading:s.VLoading,VEmpty:s.VEmpty,TextBox:s.TextBox,VButton:s.VButton,VIcon:s.VIcon,DpiImage:s.DpiImage},mixins:[A.U],data(){const n=(0,o.getComponentSettings)("watchlaterRedirect");return{watchlaterList:i.watchlaterList,loading:!0,cards:[],filteredCards:[],search:"",redirect:n.enabled&&n.options.navbar}},watch:{search(){this.updateFilteredCards()}},async created(){try{await this.updateList()}finally{this.loading=!1}},methods:{toggleWatchlater:i.toggleWatchlater,popupRefresh(){this.updateList()},async updateList(){const n=await(0,i.getWatchlaterList)(!0);if(!n)return void(this.cards=[]);const t=n=>this.redirect?`https://www.bilibili.com/video/${n.bvid}/`:`https://www.bilibili.com/list/watchlater?bvid=${n.bvid}`,e=n.map((n=>{const e=n.pages?.find((t=>t.cid===n.cid)),a=e?.duration??n.duration,o=(()=>{if(!e||!this.redirect)return t(n);const{page:a}=e;return a<=1?t(n):`${t(n)}?p=${a}`})(),i=Math.round(1e3*n.progress/a)/1e3;return{aid:n.aid,href:o,coverUrl:n.pic.replace("http:","https:"),durationText:(0,r.formatDuration)(a),duration:a,complete:n.progress<0||i>.95,title:n.title,upName:n.owner.name,upFaceUrl:n.owner.face.replace("http:","https:"),upID:n.owner.mid,currentPage:e?.page,totalPages:n.videos,percent:i}}));this.cards=e,this.search?this.updateFilteredCards():this.filteredCards=e},async remove(n,t){this.cards.splice(t,1),await this.toggleWatchlater(n)},updateFilteredCards:lodash.debounce((function(){const n=this.search.toLowerCase();this.$el.querySelector(".watchlater-list-content").scrollTo(0,0),this.filteredCards=this.cards.filter((t=>t.title.toLowerCase().includes(n)||t.upName.toLowerCase().includes(n)))}),100)}});var l=e(6991),p=e.n(l),d=e(5098),u=e.n(d),m={insert:"head",singleton:!1};p()(u(),m);u().locals;const b=(0,e(8678).A)(c,a,[],!1,null,null,null).exports},8678:(n,t,e)=>{"use strict";function a(n,t,e,a,o,r,i,s){var A,c="function"==typeof n?n.options:n;if(t&&(c.render=t,c.staticRenderFns=e,c._compiled=!0),a&&(c.functional=!0),r&&(c._scopeId="data-v-"+r),i?(A=function(n){(n=n||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(n=__VUE_SSR_CONTEXT__),o&&o.call(this,n),n&&n._registeredComponents&&n._registeredComponents.add(i)},c._ssrRegister=A):o&&(A=s?function(){o.call(this,(c.functional?this.parent:this).$root.$options.shadowRoot)}:o),A)if(c.functional){c._injectStyles=A;var l=c.render;c.render=function(n,t){return A.call(t),l(n,t)}}else{var p=c.beforeCreate;c.beforeCreate=p?[].concat(p,A):[A]}return{exports:n,options:c}}e.d(t,{A:()=>a})},3832:n=>{function t(n){var t=new Error("Cannot find module '"+n+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=3832,n.exports=t},3711:n=>{"use strict";n.exports="使用脚本提供的顶栏替换原版的主站顶栏 (非主站不替换).\n\n启用后还可以在反广告插件 (例如 ABP) 中配置禁止原版顶栏的消息 iframe 以提升性能:\n- *://message.bilibili.com/pages/nav/index_new_pc_sync\n- *://message.bilibili.com/pages/nav/index_new_sync\n\n选项说明:\n- `全局固定`: 将顶栏固定显示, 即使页面向下滚动也仍然可见. (除了一部分有 b 站定制顶栏的页面会忽略此选项)\n- `主题色填充`: 使用通用设置中的主题颜色填充顶栏的背景.\n- `透明填充`: 在首页和主站的部分页面中, 当存在顶部横幅图片时, 顶栏背景将变为透明 + 阴影的样式.\n- `背景模糊`: 启用背景模糊效果, 会使背景颜色变得半透明, 注意这个效果非常非常消耗图形性能, 慎用.\n- `投影`: 在顶栏下方增加一小段投影效果.\n- `使用季节 Logo`: 使用 b 站首页的特殊 Logo 图片替换顶栏的 Logo 图, 通常会对应当前季节, 特殊活动期间可能会有变化导致看不清. (比如搞了个全白的 Logo, 而顶栏正好也是白色的)\n- `触摸模式`: 启用后顶栏的一级入口点击时不进行跳转, 方便触屏使用.\n- `新标签页打开`: 控制顶栏内链接是否在新标签页打开.\n- `自动刷新数据`: 启用后, 部分有弹窗的顶栏入口在鼠标经过时会自动刷新数据.\n- `顶栏高度`: 自定义顶栏的高度 (b 站原版的为 64px)\n- `消息提醒样式`: 自定义顶栏入口的消息提醒样式.\n- `搜索栏宽度`: 自定义搜索栏占顶栏的比例.\n- `链接对齐样式`: 自定义纯链接弹窗内链接文字的对齐样式.\n"},2259:n=>{"use strict";n.exports=globalThis.Vue},416:n=>{"use strict";n.exports=coreApis.ajax},1649:n=>{"use strict";n.exports=coreApis.componentApis.feeds.api},2930:n=>{"use strict";n.exports=coreApis.componentApis.feeds.notify},8217:n=>{"use strict";n.exports=coreApis.componentApis.utils.categories.data},322:n=>{"use strict";n.exports=coreApis.pluginApis.data},4905:n=>{"use strict";n.exports=coreApis.settings},1164:n=>{"use strict";n.exports=coreApis.ui},119:n=>{"use strict";n.exports=coreApis.userInfo},2082:n=>{"use strict";n.exports=coreApis.utils.formatters},765:n=>{"use strict";n.exports=coreApis.utils.log},2007:n=>{"use strict";n.exports=coreApis.utils.sort},7847:n=>{"use strict";n.exports=coreApis.utils}},a={};function o(n){var t=a[n];if(void 0!==t)return t.exports;var r=a[n]={id:n,exports:{}};return e[n](r,r.exports,o),r.exports}o.n=n=>{var t=n&&n.__esModule?()=>n.default:()=>n;return o.d(t,{a:t}),t},t=Object.getPrototypeOf?n=>Object.getPrototypeOf(n):n=>n.__proto__,o.t=function(e,a){if(1&a&&(e=this(e)),8&a)return e;if("object"==typeof e&&e){if(4&a&&e.__esModule)return e;if(16&a&&"function"==typeof e.then)return e}var r=Object.create(null);o.r(r);var i={};n=n||[null,t({}),t([]),t(t)];for(var s=2&a&&e;"object"==typeof s&&!~n.indexOf(s);s=t(s))Object.getOwnPropertyNames(s).forEach((n=>i[n]=()=>e[n]));return i.default=()=>e,o.d(r,i),r},o.d=(n,t)=>{for(var e in t)o.o(t,e)&&!o.o(n,e)&&Object.defineProperty(n,e,{enumerable:!0,get:t[e]})},o.o=(n,t)=>Object.prototype.hasOwnProperty.call(n,t),o.r=n=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(n,"__esModule",{value:!0})},o.nc=void 0;var r={};return(()=>{"use strict";o.d(r,{component:()=>A});const n=coreApis.componentApis.define;var t=o(4905),e=o(7847);let a=function(n){return n.Number="数字",n.Hidden="隐藏",n.Dot="点状",n}({});let i=function(n){return n.Left="左侧对齐",n.Center="居中对齐",n.Right="右侧对齐",n}({});const s=(0,n.defineOptionsMetadata)({hidden:{hidden:!0,defaultValue:["blank1","blank4","drawing","music","gamesIframe","bangumi","match","creations"],displayName:"隐藏的元素"},order:{hidden:!0,defaultValue:{},displayName:"元素顺序"},padding:{hidden:!0,defaultValue:10,displayName:"边缘间距(%)"},globalFixed:{defaultValue:!1,displayName:"全局固定"},fill:{defaultValue:!1,displayName:"主题色填充"},transparent:{defaultValue:!0,displayName:"透明填充"},blur:{defaultValue:!1,displayName:"背景模糊"},shadow:{defaultValue:!0,displayName:"投影"},seasonLogo:{defaultValue:!1,displayName:"使用季节 Logo"},themeLogo:{defaultValue:!0,displayName:"使用主题色 Logo"},touch:{defaultValue:!1,displayName:"触摸模式"},openInNewTab:{defaultValue:!0,displayName:"新标签页打开"},refreshOnPopup:{defaultValue:!0,displayName:"自动刷新数据"},height:{defaultValue:50,validator:(0,e.getNumberValidator)(50,64),displayName:"顶栏高度 (px)"},openInNewTabOverrides:{defaultValue:{logo:!1},displayName:"新标签页打开设置覆盖",hidden:!0},showDeadVideos:{defaultValue:!1,displayName:"显示已失效视频",hidden:!0},notifyStyle:{defaultValue:a.Number,dropdownEnum:a,displayName:"消息提醒样式"},linkPopupContentAlignStyle:{defaultValue:i.Left,dropdownEnum:i,displayName:"链接对齐样式"},searchBarWidth:{defaultValue:15,slider:{min:8,max:64},displayName:"搜索栏宽度 (%)"}}),A=(0,n.defineComponentMetadata)({name:"customNavbar",displayName:"自定义顶栏",entry:async n=>{let{metadata:{name:r}}=n;if((0,e.isIframe)()||(0,e.isNotHtml)())return;(0,t.addComponentListener)(`${r}.padding`,(n=>{document.documentElement.style.setProperty("--navbar-bounds-padding",`${n}%`)}),!0),(0,t.addComponentListener)(`${r}.searchBarWidth`,(n=>{document.documentElement.style.setProperty("--navbar-search-width",`${n}vw`)}),!0);["https://space.bilibili.com","https://www.bilibili.com/read","https://www.bilibili.com/opus","https://www.bilibili.com/account/history","https://www.bilibili.com/history","https://www.bilibili.com/v/topic/detail","https://www.bilibili.com/watchlater/list"].some((n=>(0,e.matchUrlPattern)(n)))||(0,t.addComponentListener)(`${r}.globalFixed`,(n=>{document.body.classList.toggle("fixed-navbar",n)}),!0),(0,e.matchUrlPattern)("https://www.bilibili.com/account/history")&&document.body.classList.add("history-page"),(()=>{const{options:n}=(0,t.getComponentSettings)("customNavbar");[["gamesIframe","games"],["livesIframe","lives"],["mangaIframe","manga"]].forEach((t=>{let[e,a]=t;const o=n.order[e];void 0!==o&&(n.order[a]=o,delete n.order[e])}))})();const s=await Promise.resolve().then(o.bind(o,531)),A=(0,e.mountVueComponent)(s);document.body.insertAdjacentElement("beforeend",A.$el),["fill","shadow","blur"].forEach((n=>{(0,t.addComponentListener)(`${r}.${n}`,(t=>A.toggleStyle(t,n)),!0)})),(()=>{const n={[a.Number]:"number",[a.Hidden]:"hidden",[a.Dot]:"dot"};(0,t.addComponentListener)("customNavbar.notifyStyle",(t=>{document.documentElement.setAttribute("data-navbar-notify-style",n[t])}),!0)})(),(()=>{const n={[i.Left]:"left",[i.Center]:"center",[i.Right]:"right"};(0,t.addComponentListener)("customNavbar.linkPopupContentAlignStyle",(t=>{document.documentElement.setAttribute("data-navbar-link-popup-content-align-style",n[t])}),!0)})()},tags:[componentsTags.style,componentsTags.general],options:s,urlInclude:["//www.bilibili.com","//t.bilibili.com","//search.bilibili.com","//space.bilibili.com","//account.bilibili.com","//pay.bilibili.com","//member.bilibili.com","//big.bilibili.com","//message.bilibili.com","//app.bilibili.com","//passport.bilibili.com","//live.bilibili.com/blackboard/","//music.bilibili.com"],urlExclude:["//t.bilibili.com/vote/h5/index/#/result","//t.bilibili.com/lottery/h5/index/#/result","//member.bilibili.com/video/upload","//member.bilibili.com/platform","//space.bilibili.com/ajax/","//www.bilibili.com/h5/comment/","//member.bilibili.com/v2","//game.bilibili.com/","//www.bilibili.com/mooc/","//www.bilibili.com/bubble/publish"],instantStyles:[{name:"custom-navbar-style",style:()=>Promise.resolve().then(o.t.bind(o,2664,23)),important:!0}],unload:async()=>{document.querySelectorAll(".custom-navbar,.custom-navbar-settings").forEach((n=>n.style.display="none"))},reload:async()=>{document.querySelectorAll(".custom-navbar").forEach((n=>n.style.display="flex"));document.querySelectorAll(".custom-navbar-settings").forEach((n=>n.style.display="block"))},widget:{component:()=>Promise.resolve().then(o.bind(o,5238)).then((n=>n.default))},extraOptions:()=>Promise.resolve().then(o.bind(o,5765)).then((n=>n.default)),plugin:{displayName:"自定义顶栏 - 功能扩展",setup:n=>{let{addData:t}=n;t("launchBar.actions",(n=>{n.push({name:"navbarSettings",getActions:async()=>[{name:"自定义顶栏设置",description:"Custom Navbar Settings",icon:"mdi-sort",action:async()=>{const{toggleNavbarSettings:n}=await Promise.resolve().then(o.bind(o,4848));n()}}]})}))}},commitHash:"58c0b438ca2371e397f70466a91572cb2757b142",coreVersion:"2.10.7",description:(()=>{const n=o(3832);return{...Object.fromEntries(n.keys().map((t=>[t.match(/index\.(.+)\.md$/)[1],n(t)]))),"zh-CN":()=>Promise.resolve().then(o.t.bind(o,3711,17)).then((n=>n.default))}})()})})(),r=r.component})())); +a=Boolean(window&&document&&document.all&&!window.atob)),a},r=function(){var n={};return function(t){if(void 0===n[t]){var e=document.querySelector(t);if(window.HTMLIFrameElement&&e instanceof window.HTMLIFrameElement)try{e=e.contentDocument.head}catch(n){e=null}n[t]=e}return n[t]}}(),i=[];function s(n){for(var t=-1,e=0;e{var a=e(1610);a&&a.__esModule&&(a=a.default),n.exports="string"==typeof a?a:a.toString()},531:(n,t,e)=>{"use strict";e.r(t),e.d(t,{default:()=>ln});var a=function(){var n=this,t=n._self._c;n._self._setupProxy;return t("div",{staticClass:"custom-navbar",class:n.styles,attrs:{role:"navigation"}},[t("div",{staticClass:"left-pad padding"}),n._v(" "),t("div",{staticClass:"custom-navbar-items",attrs:{role:"list"}},n._l(n.items,(function(n){return t("NavbarItem",{key:n.name,attrs:{item:n}})})),1),n._v(" "),t("div",{staticClass:"right-pad padding"})])};a._withStripped=!0;var o=e(4905),r=e(2007),i=e(322);const s="https://message.bilibili.com/",A={name:"messages",displayName:"消息",content:"消息",href:s,active:document.URL.startsWith(s),loginRequired:!0,touch:!0,popupContent:()=>Promise.resolve().then(e.bind(e,8020)).then((n=>n.default)),lazy:!1},c="https://www.bilibili.com/v/popular/rank/",l={name:"ranking",displayName:"排行",content:"排行",href:`${c}all`,active:document.URL.startsWith(c),touch:!0,popupContent:()=>Promise.resolve().then(e.bind(e,3859)).then((n=>n.default))};var p=e(7847);const d={name:"userInfo",displayName:"个人信息",content:()=>Promise.resolve().then(e.bind(e,9522)).then((n=>n.default)),href:(0,p.getUID)()?"https://space.bilibili.com":null,touch:!0,popupContent:()=>Promise.resolve().then(e.bind(e,9642)).then((n=>n.default)),lazy:!1,noPopupPadding:!0,boundingWidth:240},u={name:"logo",displayName:"Logo",content:()=>Promise.resolve().then(e.bind(e,2103)).then((n=>n.default)),href:"https://www.bilibili.com/"},m={name:"home",displayName:"主站",content:"主站",href:"https://www.bilibili.com/",touch:!0,boundingWidth:366,popupContent:()=>Promise.resolve().then(e.bind(e,4421)).then((n=>n.default))},b={name:"games",displayName:"游戏中心",content:"游戏中心",touch:!0,href:"https://game.bilibili.com/",boundingWidth:420,noPopupPadding:!0,popupContent:()=>Promise.resolve().then(e.bind(e,1697)).then((n=>n.default))},h=new Array(4).fill(0).map(((n,t)=>({name:`blank${t+1}`,displayName:`弹性空白${t+1}`,content:"",disabled:!0,flexStyle:"1 0 auto"}))),g=n=>({content:n.displayName,...n,active:document.URL.startsWith(n.href)}),v=(g({name:"ranking",displayName:"排行",href:"https://www.bilibili.com/v/popular/rank/all"}),g({name:"bangumi",displayName:"番剧 (链接)",content:"番剧",href:"https://www.bilibili.com/anime/"})),f=g({name:"music",displayName:"音频",href:"https://www.bilibili.com/audio/home/"}),C=g({name:"shop",displayName:"会员购",href:"https://show.bilibili.com"}),B=g({name:"creations",displayName:"创作中心",href:"https://member.bilibili.com/platform/home"}),x=g({name:"lives",displayName:"直播",href:"https://live.bilibili.com"}),E={name:"match",displayName:"赛事",content:"赛事",touch:!0,href:"https://www.bilibili.com/v/game/match/",boundingWidth:650,noPopupPadding:!0,popupContent:()=>Promise.resolve().then(e.bind(e,8486)).then((n=>n.default))},y={name:"upload",displayName:"投稿",content:()=>Promise.resolve().then(e.bind(e,3678)).then((n=>n.default)),touch:!0,href:"https://member.bilibili.com/platform/upload/video/frame",popupContent:()=>Promise.resolve().then(e.bind(e,5778)).then((n=>n.default))},w={name:"search",displayName:"搜索",content:()=>Promise.resolve().then(e.bind(e,7224)).then((n=>n.default)),disabled:!0},k={name:"feeds",displayName:"动态",content:"动态",href:"https://t.bilibili.com/",touch:!0,active:"https://t.bilibili.com/"===document.URL.replace(window.location.search,""),contentMounted:async n=>{const{getNotifyCount:t}=await Promise.resolve().then(e.t.bind(e,2930,23));await(async()=>{const e=await t();n.notifyCount=e})()},loginRequired:!0,popupContent:()=>Promise.resolve().then(e.bind(e,4570)).then((n=>n.default)),boundingWidth:300,noPopupPadding:!0};var _=e(6148);const z={name:"watchlater",displayName:"稍后再看",content:"稍后再看",href:"https://www.bilibili.com/watchlater/#/list",touch:!0,active:document.URL.startsWith("https://www.bilibili.com/watchlater/"),loginRequired:!0,boundingWidth:380,noPopupPadding:!0,popupContent:()=>Promise.resolve().then(e.bind(e,1232)).then((n=>n.default))},S=`https://space.bilibili.com/${(0,p.getUID)()}/favlist`,I={name:"favorites",displayName:"收藏",content:"收藏",href:S,touch:!0,active:document.URL.replace(/\?.*$/,"")===S,loginRequired:!0,boundingWidth:380,noPopupPadding:!0,popupContent:()=>Promise.resolve().then(e.bind(e,3977)).then((n=>n.default))},j="https://www.bilibili.com/history",D={name:"history",displayName:"历史",content:"历史",href:j,touch:!0,active:document.URL.replace(/\?.*$/,"")===j,loginRequired:!0,boundingWidth:400,noPopupPadding:!0,popupContent:()=>Promise.resolve().then(e.bind(e,2627)).then((n=>n.default))},Y={name:"manga",displayName:"漫画",content:"漫画",touch:!0,href:"https://manga.bilibili.com/",boundingWidth:500,noPopupPadding:!0,popupContent:()=>Promise.resolve().then(e.bind(e,9349)).then((n=>n.default))},[V,P,N,U]=h;var L=e(622),W=function(){var n=this,t=n._self._c;n._self._setupProxy;return t("div",{directives:[{name:"show",rawName:"v-show",value:!n.item.hidden,expression:"!item.hidden"}],staticClass:"custom-navbar-item",class:{disabled:n.item.disabled,active:n.item.active,"input-within":n.inputWithin},style:{flex:n.item.flexStyle,order:n.item.order},attrs:{role:"listitem","data-name":n.item.name}},[n.item.href?t("CustomNavbarLink",{staticClass:"main-content",attrs:{"new-tab":n.newTab,href:!n.item.active&&!n.item.touch&&n.item.href},on:{mouseover:function(t){return t.target!==t.currentTarget?null:n.requestPopup()}}},["string"==typeof n.item.content?[n._v("\n "+n._s(n.item.content)+"\n ")]:t(n.item.content,{tag:"component",attrs:{item:n.item}})],2):t("div",{staticClass:"main-content",on:{click:function(t){!n.item.active&&!n.item.touch&&n.item.clickAction&&n.item.clickAction(t)}}},["string"==typeof n.item.content?[n._v("\n "+n._s(n.item.content)+"\n ")]:t(n.item.content,{tag:"component",attrs:{item:n.item}})],2),n._v(" "),t("div",{directives:[{name:"show",rawName:"v-show",value:!n.item.active,expression:"!item.active"}],staticClass:"notify-count"},[n.item.notifyCount>0?[n._v("\n "+n._s(n.item.notifyCount)+"\n ")]:n._e()],2),n._v(" "),t("div",{ref:"popupContainer",staticClass:"popup-container",on:{focusin:function(t){return n.toggleInputWithin(t,!0)},focusout:function(t){return n.toggleInputWithin(t,!1)}}},[n.item.popupContent?t("div",{staticClass:"popup",class:n.popupClasses(n.item)},[n.item.requestedPopup?t(n.item.popupContent,{ref:"popup",tag:"component",attrs:{container:n.$refs.popupContainer,item:n.item}}):n._e()],1):n._e()]),n._v(" "),t("div",{staticClass:"active-bar"})],1)};W._withStripped=!0;var T=function(){var n=this,t=n._self._c;n._self._setupProxy;return t("a",n._g(n._b({attrs:{target:n.newTab?"_blank":null}},"a",n.$attrs,!1),n.$listeners),[n._t("default")],2)};T._withStripped=!0;const O=Vue.extend({props:{newTab:{type:Boolean,default:!0}}});var M=e(8678);const R=(0,M.A)(O,T,[],!1,null,null,null).exports,Z=n=>{const{name:t}=n,e=L.LC.navbarOptions;return t in e.openInNewTabOverrides?e.openInNewTabOverrides[t]:e.openInNewTab},F=Vue.extend({components:{CustomNavbarLink:R},props:{item:{type:L.LC,required:!0}},data(){return{newTab:Z(this.item),cancelListeners:none,inputWithin:!1}},mounted(){const n=this.item;n.contentMounted?.(n);const t=()=>{this.updateLinkOption()};(0,o.addComponentListener)("customNavbar.openInNewTabOverrides",t),(0,o.addComponentListener)("customNavbar.openInNewTab",t),this.cancelListeners=()=>{(0,o.removeComponentListener)("customNavbar.openInNewTabOverrides",t),(0,o.removeComponentListener)("customNavbar.openInNewTab",t)}},beforeDestroy(){this.cancelListeners?.()},methods:{toggleInputWithin(n,t){n.target instanceof HTMLInputElement?this.inputWithin=t:this.inputWithin=!1},updateLinkOption(){this.newTab=Z(this.item)},popupClasses:n=>({transparent:n.transparentPopup,"no-padding":n.noPopupPadding,"iframe-container":n.iframeName}),triggerPopupShow:lodash.debounce((function(n){const{popup:t}=this.$refs;if(!t)return;const e=L.LC.navbarOptions.refreshOnPopup&&t.popupRefresh&&"function"==typeof t.popupRefresh;!n&&e&&t.popupRefresh(),t.popupShow&&"function"==typeof t.popupShow&&t.popupShow()}),300),async requestPopup(){const{item:n}=this;if(!n.disabled)return n.requestedPopup?void this.triggerPopupShow(!1):(n.requestedPopup=!0,void this.triggerPopupShow(!0))}}});var Q=e(6991),X=e.n(Q),q=e(1679),H=e.n(q),J={insert:"head",singleton:!1};X()(H(),J);H().locals;const G=(0,M.A)(F,W,[],!1,null,null,null).exports,K=coreApis.spinQuery,$=coreApis.utils.urls,nn=n=>{(0,o.addComponentListener)("customNavbar.transparent",(t=>{(0,o.getComponentSettings)("hideBanner").enabled||n.toggleStyle(t,"transparent")}),!0),(0,o.addComponentListener)("hideBanner",(t=>{(0,o.getComponentSettings)("customNavbar").options.transparent&&n.toggleStyle(!t,"transparent")}))},tn=["//music.bilibili.com/","//space.bilibili.com/"],[en]=(0,i.registerAndGetData)(L.mW,[V,u,m,v,l,f,b,x,C,E,Y,P,w,N,d,A,k,_.x,z,I,D,B,y,U]),[an]=(0,i.registerAndGetData)(L.z0,{items:[]}),on=()=>{const n=en.map((n=>new L.LC(n))).sort((0,r.ascendingSort)((n=>n.order)));return an.items=n,n},rn=Vue.extend({components:{NavbarItem:G},data:()=>({initItems:en,items:on(),styles:[],height:L.LC.navbarOptions.height}),watch:{initItems(){this.items=on()}},async mounted(){(0,o.addComponentListener)("customNavbar.height",(n=>{document.documentElement.style.setProperty("--navbar-height",`${n}px`)}),!0),await(async n=>{tn.some((n=>(0,p.matchUrlPattern)(n)))?nn(n):(0,$.matchCurrentPage)($.mainSiteUrls)&&(0,K.sq)((()=>dqa(".animated-banner video, .banner-img img, #banner_link, .international-header .bili-banner, .bili-header__banner")),(n=>0!==n.length&&!!n.some((n=>!!n.style.backgroundImage||!!n.src||!!n.querySelector(".animated-banner"))))).then((t=>{0!==t.length&&nn(n)}))})(this)},methods:{toggleStyle(n,t){n&&!this.styles.includes(t)?this.styles.push(t):!n&&this.styles.includes(t)&&this.styles.splice(this.styles.indexOf(t),1)}}});var sn=e(8648),An=e.n(sn),cn={insert:"head",singleton:!1};X()(An(),cn);An().locals;const ln=(0,M.A)(rn,a,[],!1,null,null,null).exports},3977:(n,t,e)=>{"use strict";e.r(t),e.d(t,{default:()=>k});var a=function(){var n=this,t=n._self._c;n._self._setupProxy;return t("div",{staticClass:"favorites-list"},[t("div",{staticClass:"header"},[t("FavoritesFolderSelect",{model:{value:n.folder,callback:function(t){n.folder=t},expression:"folder"}}),n._v(" "),t("div",{staticClass:"search"},[t("TextBox",{attrs:{linear:"",placeholder:"搜索"},model:{value:n.search,callback:function(t){n.search=t},expression:"search"}})],1),n._v(" "),t("a",{staticClass:"operation",attrs:{href:n.playLink,title:"播放全部",target:"_blank"}},[t("VButton",{staticClass:"play-all",attrs:{round:""}},[t("VIcon",{attrs:{icon:"mdi-play",size:18}})],1)],1),n._v(" "),t("a",{staticClass:"operation",attrs:{href:n.moreLink,title:"查看更多",target:"_blank"}},[t("VButton",{staticClass:"more-info",attrs:{round:""}},[t("VIcon",{attrs:{icon:"mdi-dots-horizontal",size:18}})],1)],1)],1),n._v(" "),t("div",{staticClass:"content"},[n.loading&&!n.searching?t("VLoading"):n.loading||n.canLoadMore||0!==n.filteredCards.length?t("transition-group",{staticClass:"cards",attrs:{name:"cards",tag:"div"}},[n._l(n.filteredCards,(function(e){return t("div",{key:e.id,staticClass:"favorite-card"},[t("a",{staticClass:"favorites-cover-container",attrs:{target:"_blank",href:n.getItemPlayLink(e)}},[t("DpiImage",{staticClass:"cover",attrs:{src:e.coverUrl,size:{width:130,height:85}}}),n._v(" "),t("div",{staticClass:"floating duration"},[n._v(n._s(e.durationText))]),n._v(" "),t("div",{staticClass:"floating favorite-time"},[n._v(n._s(e.favoriteTime))])],1),n._v(" "),t("a",{staticClass:"title",attrs:{target:"_blank",href:n.getItemPlayLink(e),title:e.title}},[n._v(n._s(e.title))]),n._v(" "),e.upID?t("a",{staticClass:"up",attrs:{target:"_blank",href:"https://space.bilibili.com/"+e.upID,title:e.upName}},[t("DpiImage",{staticClass:"face",attrs:{"placeholder-image":"",src:e.upFaceUrl,size:20}}),n._v(" "),t("div",{staticClass:"name"},[n._v(n._s(e.upName))])],1):t("div",{staticClass:"description"},[n._v("\n "+n._s(e.description)+"\n ")])])})),n._v(" "),n.canLoadMore?t("ScrollTrigger",{key:"scroll-trigger",on:{trigger:function(t){return n.scrollTrigger()}}}):n._e()],2):t("VEmpty")],1)])};a._withStripped=!0;var o=e(1164),r=e(2082),i=e(7847),s=e(416),A=e(765),c=e(4905);const l={id:0,name:"加载中...",count:0};var p=function(){var n=this,t=n._self._c;n._self._setupProxy;return t("VDropdown",{staticClass:"favorites-folder-select",attrs:{round:"",items:n.folders,"key-mapper":n=>n.id,value:n.folder},on:{change:function(t){return n.change(t)}},scopedSlots:n._u([{key:"item",fn:function({item:t}){return[n._v(" "+n._s(t.name)+" ("+n._s(t.count)+") ")]}}])})};p._withStripped=!0;const d=(0,c.getComponentSettings)("customNavbar").options,u=Vue.extend({components:{VDropdown:o.VDropdown},model:{prop:"folder",event:"change"},props:{folder:{type:Object,required:!0}},data:()=>({folders:[]}),async created(){const n=(0,i.getUID)();if(!n)return;const t=`https://api.bilibili.com/medialist/gateway/base/created?pn=1&ps=100&up_mid=${n}&is_space=0`,e=await(0,s.getJsonWithCredentials)(t);if(0!==e.code)throw new Error(`获取收藏夹列表失败: ${e.message}`);if(this.folders=lodash.get(e,"data.list",[]).map((n=>({id:n.id,name:n.title,count:n.media_count}))),this.folders.length>0&&this.folder.id===l.id){const{lastFavoriteFolder:n}=d,t=this.folders.find((t=>t.id===n));t?this.$emit("change",t):this.$emit("change",this.folders[0])}},methods:{change(n){d.lastFavoriteFolder=n.id,this.$emit("change",n)}}});var m=e(8678);const b=(0,m.A)(u,p,[],!1,null,null,null).exports;var h=e(4253);const g=(0,c.getComponentSettings)("customNavbar").options,v=n=>!!g.showDeadVideos||9!==n.attr&&1!==n.attr,f=n=>({type:n.type,id:n.id,aid:n.id,bvid:n.bvid,coverUrl:n.cover.replace("http:","https:"),favoriteTimestamp:1e3*n.fav_time,favoriteTime:(0,r.formatDate)(new Date(1e3*n.fav_time)),title:n.title,description:n.intro,duration:n.duration,durationText:n.page>1?`${(0,r.formatDuration)(n.duration)} / ${n.page}P`:(0,r.formatDuration)(n.duration),playCount:n.cnt_info.play,danmakuCount:n.cnt_info.danmaku,upName:n.upper.name,upFaceUrl:n.upper.face.replace("http:","https:"),upID:n.upper.mid});const C=Vue.extend({components:{FavoritesFolderSelect:b,VLoading:o.VLoading,VEmpty:o.VEmpty,VIcon:o.VIcon,VButton:o.VButton,TextBox:o.TextBox,DpiImage:o.DpiImage,ScrollTrigger:o.ScrollTrigger},mixins:[h.U],data:()=>({loading:!0,cards:[],filteredCards:[],page:1,hasMorePage:!0,searchPage:1,hasMoreSearchPage:!0,search:"",folder:l}),computed:{searching(){return""!==this.search},moreLink(){const{id:n}=this.folder;return 0===n?`https://space.bilibili.com/${(0,i.getUID)()}/favlist`:`https://space.bilibili.com/${(0,i.getUID)()}/favlist?fid=${n}&ftype=create`},playLink(){const{id:n}=this.folder;if(0!==n)return`https://www.bilibili.com/medialist/play/ml${n}`},canLoadMore(){return this.searching?this.hasMoreSearchPage:this.hasMorePage}},watch:{folder(){this.changeList()},search(n){""!==n?(n=n.toLowerCase(),this.hasMoreSearchPage=!0,this.searchPage=1,this.filteredCards=this.cards.filter((t=>t.title.toLowerCase().includes(n)||t.upName.toLowerCase().includes(n)))):this.filteredCards=this.cards}},methods:{async getCards(){const n=`https://api.bilibili.com/x/v3/fav/resource/list?media_id=${this.folder.id}&pn=${this.page}&ps=20&keyword=&order=mtime&type=0&tid=0&platform=web`,t=await(0,s.getJsonWithCredentials)(n);if(0!==t.code)throw new Error(`加载收藏夹内容失败: ${t.message}`);return t.data.medias?t.data.medias.filter(v).map(f):[]},async changeList(){if(0!==this.folder.id)try{this.search="",this.cards=[],this.loading=!0,this.searchPage=1,this.hasMoreSearchPage=!0,this.page=1,this.hasMorePage=!0,this.cards=await this.getCards(),this.filteredCards=this.cards}catch(n){(0,A.logError)(n)}finally{this.loading=!1}},async loadNextPage(){try{this.page++;const n=await this.getCards();this.cards.push(...n),this.hasMorePage=0!==n.length||this.cards.lengthn.id));this.filteredCards=o;const r=e.length+a.length===0,i=a.length<20;if(r||i)return void(this.hasMoreSearchPage=!1)}catch(n){console.error(n)}finally{this.loading=!1}}),200),scrollTrigger(){this.searching?this.debounceSearchAllList():this.loadNextPage()},getItemPlayLink(n){switch(n.type){default:case 2:return`https://www.bilibili.com/video/${n.bvid}/`;case 12:return`https://www.bilibili.com/audio/au${n.id}/`}}}});var B=e(6991),x=e.n(B),E=e(2629),y=e.n(E),w={insert:"head",singleton:!1};x()(y(),w);y().locals;const k=(0,m.A)(C,a,[],!1,null,null,null).exports},4570:(n,t,e)=>{"use strict";e.r(t),e.d(t,{default:()=>b});var a=function(){var n=this,t=n._self._c;n._self._setupProxy;return t("div",{staticClass:"navbar-feeds"},[t("TabControl",{ref:"tabControl",attrs:{tabs:n.tabs,"more-link":"https://t.bilibili.com/"},scopedSlots:n._u([{key:"more-link",fn:function(){return[n._v("\n 所有动态\n "),t("VIcon",{attrs:{icon:"feeds",size:18}})]},proxy:!0}])})],1)};a._withStripped=!0;var o=e(1164),r=e(1649),i=e(2930),s=e(4253);const A=[{name:"video",displayName:"视频",component:()=>Promise.resolve().then(e.bind(e,4170)).then((n=>n.default)),activeLink:"https://t.bilibili.com/?tab=video",count:0},{name:"bangumi",displayName:"番剧",component:()=>Promise.resolve().then(e.bind(e,7477)).then((n=>n.default)),activeLink:"https://t.bilibili.com/?tab=pgc",count:0},{name:"column",displayName:"专栏",component:()=>Promise.resolve().then(e.bind(e,2057)).then((n=>n.default)),activeLink:"https://t.bilibili.com/?tab=article",count:0},{name:"live",displayName:"直播",component:()=>Promise.resolve().then(e.bind(e,6674)).then((n=>n.default)),activeLink:"https://link.bilibili.com/p/center/index#/user-center/follow/1",count:0}],c=Vue.extend({components:{TabControl:o.TabControl,VIcon:o.VIcon},mixins:[s.U],data:()=>({tabs:A}),mounted(){this.refreshNotifyCount()},methods:{popupShow(){this.item.notifyCount=0},async refreshNotifyCount(){const{tabControl:n}=this.$refs;A.forEach((async t=>{if(n.selectedTab===t)return;if("live"===t.name)return;const e=r.feedsCardTypes[t.name];if(!e.apiType)return;const a=await(0,i.getNotifyCountByType)(e.apiType);t.count=a,console.log(t)}))}}});var l=e(6991),p=e.n(l),d=e(7423),u=e.n(d),m={insert:"head",singleton:!1};p()(u(),m);u().locals;const b=(0,e(8678).A)(c,a,[],!1,null,null,null).exports},7477:(n,t,e)=>{"use strict";e.r(t),e.d(t,{default:()=>b});var a=function(){var n=this,t=n._self._c;n._self._setupProxy;return t("div",{staticClass:"bangumi-feeds"},[n.loading?t("VLoading"):n.loading||0!==n.cards.length?[t("div",{staticClass:"bangumi-feeds-content"},n._l(n.cards,(function(n){return t("BangumiCard",{key:n.id,attrs:{"is-new":n.new,data:n}})})),1),n._v(" "),n.hasMorePage?t("ScrollTrigger",{on:{trigger:function(t){return n.nextPage()}}}):n._e()]:t("VEmpty")],2)};a._withStripped=!0;var o=e(1649),r=e(2930);const i=coreApis.componentApis.feeds.BangumiCard;var s=e.n(i),A=e(8937);const c=Vue.extend({components:{BangumiCard:s()},mixins:[(0,A.I)(o.feedsCardTypes.bangumi,(n=>{const t=lodash.get(n,"modules.module_dynamic.major.pgc"),e=lodash.get(n,"modules.module_author");return{id:n.id_str,title:e.name,coverUrl:e.face,epCoverUrl:t.cover,epTitle:t.title.replace(new RegExp(`^${e.name}:`),""),url:t.jump_url,get new(){return(0,r.isNewID)(this.id)}}}))]});var l=e(6991),p=e.n(l),d=e(3476),u=e.n(d),m={insert:"head",singleton:!1};p()(u(),m);u().locals;const b=(0,e(8678).A)(c,a,[],!1,null,null,null).exports},2057:(n,t,e)=>{"use strict";e.r(t),e.d(t,{default:()=>b});var a=function(){var n=this,t=n._self._c;n._self._setupProxy;return t("div",{staticClass:"column-feeds"},[n.loading?t("VLoading"):n.loading||0!==n.cards.length?[t("div",{staticClass:"columns-feeds-content"},n._l(n.cards,(function(n){return t("ColumnCard",{key:n.id,attrs:{"is-new":n.new,data:n}})})),1),n._v(" "),n.hasMorePage?t("ScrollTrigger",{on:{trigger:function(t){return n.nextPage()}}}):n._e()]:t("VEmpty")],2)};a._withStripped=!0;var o=e(1649),r=e(2930);const i=coreApis.componentApis.feeds.ColumnCard;var s=e.n(i),A=e(8937);const c=Vue.extend({components:{ColumnCard:s()},mixins:[(0,A.I)(o.feedsCardTypes.column,(n=>{const t=lodash.get(n,"modules.module_dynamic.major.article"),e=lodash.get(n,"modules.module_author");return{id:n.id_str,cvID:t.id.toString(),title:t.title,upName:e.name,upFaceUrl:e.face,upID:e.mid,description:t.desc,covers:t.covers,originalCovers:t.covers,get new(){return(0,r.isNewID)(this.id)}}}))]});var l=e(6991),p=e.n(l),d=e(2910),u=e.n(d),m={insert:"head",singleton:!1};p()(u(),m);u().locals;const b=(0,e(8678).A)(c,a,[],!1,null,null,null).exports},6674:(n,t,e)=>{"use strict";e.r(t),e.d(t,{default:()=>d});var a=function(){var n=this,t=n._self._c;n._self._setupProxy;return t("div",{staticClass:"live-feeds"},[n.loading?t("VLoading"):n.loading||0!==n.cards.length?n._e():t("VEmpty"),n._v(" "),t("transition-group",{staticClass:"live-feeds-content",attrs:{name:"cards",tag:"div"}},n._l(n.cards,(function(e){return t("a",{key:e.id,staticClass:"live-card",attrs:{target:"_blank",href:e.url}},[t("div",{staticClass:"face-container"},[t("DpiImage",{staticClass:"face",attrs:{size:48,src:e.upFaceUrl}})],1),n._v(" "),t("div",{staticClass:"live-info"},[t("div",{staticClass:"live-title",attrs:{title:e.title}},[n._v(n._s(e.title))]),n._v(" "),t("div",{staticClass:"live-name",attrs:{title:e.upName}},[n._v(n._s(e.upName))])])])})),0)],1)};a._withStripped=!0;var o=e(1164),r=e(416);const i=Vue.extend({components:{VLoading:o.VLoading,VEmpty:o.VEmpty,DpiImage:o.DpiImage},data:()=>({loading:!0,rawItems:[],hasMorePage:!0}),computed:{cards(){return this.rawItems.map((n=>({id:n.roomid,title:n.title,upFaceUrl:n.face,upName:n.uname,url:n.link})))}},async created(){const[n]=(0,r.responsiveGetPages)({api:n=>(0,r.getJsonWithCredentials)(`https://api.live.bilibili.com/relation/v1/feed/feed_list?page=${n}&pagesize=24`),getList:n=>lodash.get(n,"data.list",[]),getTotal:n=>lodash.get(n,"data.results",0)});this.rawItems=await n,this.loading=!1}});var s=e(6991),A=e.n(s),c=e(8086),l=e.n(c),p={insert:"head",singleton:!1};A()(l(),p);l().locals;const d=(0,e(8678).A)(i,a,[],!1,null,null,null).exports},4170:(n,t,e)=>{"use strict";e.r(t),e.d(t,{default:()=>v});var a=function(){var n=this,t=n._self._c;n._self._setupProxy;return t("div",{staticClass:"video-feeds"},[n.loading?t("VLoading"):n.loading||0!==n.cards.length?[t("div",{staticClass:"video-feeds-content"},[t("transition-group",{staticClass:"left-column",attrs:{name:"cards",tag:"div"}},n._l(n.columnedCards.left,(function(n){return t("VideoCard",{key:n.id,attrs:{orientation:"vertical","is-new":n.new,"show-stats":!1,data:n}})})),1),n._v(" "),t("transition-group",{staticClass:"right-column",attrs:{name:"cards",tag:"div"}},n._l(n.columnedCards.right,(function(n){return t("VideoCard",{key:n.id,attrs:{orientation:"vertical","is-new":n.new,"show-stats":!1,data:n}})})),1)],1),n._v(" "),n.hasMorePage?t("ScrollTrigger",{on:{trigger:function(t){return n.nextPage()}}}):n._e()]:t("VEmpty")],2)};a._withStripped=!0;var o=e(2082),r=e(2930),i=e(1649);const s=coreApis.componentApis.feeds.VideoCard;var A=e.n(s),c=e(8937);const l=n=>{const t=Number(new Date),e=new Date(n),a=[e.getHours(),e.getMinutes(),e.getSeconds()].map((n=>n.toString().padStart(2,"0"))).join(":");let o;return o=new Date(t).getFullYear()!==e.getFullYear()?[e.getFullYear(),e.getMonth()+1,e.getDate()]:[e.getMonth()+1,e.getDate()],`${o.map((n=>n.toString().padStart(2,"0"))).join("-")} ${a}`},p=n=>{const t=Number(new Date);if(t-864e5n.toString().padStart(2,"0"))).join("-")}`},d=Vue.extend({components:{VideoCard:A()},mixins:[(0,c.I)(i.feedsCardTypes.video,(n=>{const t=lodash.get(n,"modules.module_dynamic.major.archive"),e=lodash.get(n,"modules.module_author");return{id:n.id_str,aid:parseInt(t.aid),bvid:t.bvid,videoUrl:`https://www.bilibili.com/${t.bvid}`,coverUrl:t.cover,title:t.title,duration:(0,o.parseDuration)(t.duration_text),durationText:(0,o.formatDuration)((0,o.parseDuration)(t.duration_text)),description:t.desc,pubTime:l(1e3*e.pub_ts),pubTimeText:p(1e3*e.pub_ts),upFaceUrl:e.face,upName:e.name,upID:e.mid,watchlater:!0,playCount:(0,o.formatCount)((0,o.parseCount)(t.stat.play)),get new(){return(0,r.isNewID)(this.id)}}}))],computed:{columnedCards(){const{cards:n}=this;return{left:n.filter(((n,t)=>t%2==0)),right:n.filter(((n,t)=>t%2!=0))}}},methods:{onCardsUpdate:n=>(0,i.groupVideoFeeds)(n)}});var u=e(6991),m=e.n(u),b=e(6206),h=e.n(b),g={insert:"head",singleton:!1};m()(h(),g);h().locals;const v=(0,e(8678).A)(d,a,[],!1,null,"d3e1a0c0",null).exports},1697:(n,t,e)=>{"use strict";e.r(t),e.d(t,{default:()=>m});var a=function(){var n=this,t=n._self._c,e=n._self._setupProxy;return t("div",{staticClass:"custom-navbar-games-popup"},[e.loading?t("div",{staticClass:"loading-container"},[t(e.VLoading)],1):n._e(),n._v(" "),e.gameInfo?t("div",{staticClass:"custom-navbar-games-panel"},[t("div",{staticClass:"custom-navbar-games-left-panel"},[t("a",{staticClass:"banner-game-card",attrs:{href:e.gameInfo.banner.href,title:e.gameInfo.banner.title}},[t("img",{attrs:{src:e.gameInfo.banner.poster,alt:e.gameInfo.banner.title}}),n._v(" "),t("div",{staticClass:"banner-game-card-title"},[n._v("\n "+n._s(e.gameInfo.banner.title)+"\n ")])]),n._v(" "),t("div",{staticClass:"panel-game-cards"},n._l(e.gameInfo.panel,(function(e){return t("a",{key:e.href,staticClass:"panel-game-card",attrs:{href:e.href,title:e.title}},[t("img",{attrs:{src:e.poster,alt:e.title}}),n._v(" "),t("div",{staticClass:"panel-game-card-title"},[n._v("\n "+n._s(e.title)+"\n ")])])})),0)]),n._v(" "),t("div",{staticClass:"custom-navbar-games-panel-separator"}),n._v(" "),t("div",{staticClass:"custom-navbar-games-right-panel"},[t("div",{staticClass:"list-game-cards-title"},[n._v("新游预告")]),n._v(" "),t("div",{staticClass:"list-game-cards"},n._l(e.gameInfo.list.slice(0,8),(function(e){return t("a",{key:e.href,staticClass:"list-game-card",attrs:{href:e.href,title:e.title}},[n._v("\n "+n._s(e.title)+"\n ")])})),0)])]):n._e()])};a._withStripped=!0;var o=e(2259),r=e(1164),i=e(416),s=e(4253);const A=(0,o.defineComponent)({__name:"GamesPopup",props:{item:null,container:null},setup(n,t){let{expose:e}=t;const a=n,A=(0,s.E)(a),c=(0,o.ref)(void 0),l=(0,o.ref)(!0),p=async()=>{if(void 0!==c.value)return;const n=await(0,i.bilibiliApi)((0,i.getJson)("https://le3-api.game.bilibili.com/pc/game/nav/info"));c.value=n,l.value=!1};return e({popupShow(){A.popupShow(),p()}}),{__sfc:!0,props:a,popper:A,gameInfo:c,loading:l,loadGameInfo:p,VLoading:r.VLoading}}});var c=e(6991),l=e.n(c),p=e(3096),d=e.n(p),u={insert:"head",singleton:!1};l()(d(),u);d().locals;const m=(0,e(8678).A)(A,a,[],!1,null,null,null).exports},2627:(n,t,e)=>{"use strict";e.r(t),e.d(t,{default:()=>B});var a=function(){var n=this,t=n._self._c;n._self._setupProxy;return t("div",{staticClass:"custom-navbar-history-list"},[t("div",{staticClass:"header"},[t("div",{staticClass:"header-row"},[t("div",{staticClass:"search"},[t("TextBox",{attrs:{placeholder:"搜索",linear:""},model:{value:n.search,callback:function(t){n.search=t},expression:"search"}})],1),n._v(" "),t("div",{staticClass:"operations"},[t("div",{staticClass:"operation"},[t("VButton",{attrs:{title:"刷新",round:""},on:{click:function(t){return n.reloadHistoryItems()}}},[t("VIcon",{attrs:{icon:"mdi-refresh",size:16}})],1)],1),n._v(" "),t("div",{staticClass:"operation",on:{click:n.toggleHistoryPause}},[n.paused?t("VButton",{attrs:{title:"继续记录历史",round:""}},[t("VIcon",{attrs:{icon:"mdi-play",size:14}})],1):t("VButton",{attrs:{title:"暂停记录历史",round:""}},[t("VIcon",{attrs:{icon:"mdi-pause",size:14}})],1)],1),n._v(" "),t("a",{staticClass:"operation",attrs:{target:"_blank",href:"https://www.bilibili.com/history"}},[t("VButton",{attrs:{title:"查看更多",round:""}},[t("VIcon",{attrs:{icon:"mdi-dots-horizontal",size:18}})],1)],1)])]),n._v(" "),t("div",{staticClass:"header-row"},[t("div",{staticClass:"row-title"},[n._v("过滤:")]),n._v(" "),t("div",{staticClass:"type-filters"},n._l(n.types,(function(e){return t("div",{key:e.name,staticClass:"type-filter"},[t("RadioButton",{class:{checked:e.checked},attrs:{checked:e.checked,disabled:n.loading},on:{change:function(t){return n.toggleTypeFilter(e)}}},[n._v("\n "+n._s(e.displayName)+"\n ")])],1)})),0)])]),n._v(" "),t("div",{staticClass:"content"},[n.loading?t("VLoading"):n.loading||0!==n.groups.length?t("transition-group",{staticClass:"cards",attrs:{name:"cards",tag:"div"}},[n._l(n.groups,(function(e){return t("div",{key:e.name,staticClass:"time-group"},[t("div",{staticClass:"time-group-name"},[n._v("\n "+n._s(e.name)+"\n ")]),n._v(" "),t("transition-group",{staticClass:"time-group-items",attrs:{name:"time-group",tag:"div"}},n._l(e.items,(function(e){return t("div",{key:e.id,staticClass:"time-group-item"},[t("a",{staticClass:"history-cover-container",attrs:{target:"_blank",href:e.url}},[t("DpiImage",{staticClass:"cover",attrs:{src:e.cover,size:{width:160,height:110},"placeholder-image":""}}),n._v(" "),e.progress?t("div",{staticClass:"progress",style:{width:100*e.progress+"%"}}):n._e(),n._v(" "),void 0!==e.pages&&e.pages>1?t("div",{staticClass:"floating pages"},[n._v("\n "+n._s(e.page)+"P / "+n._s(e.pages)+"P\n ")]):n._e()],1),n._v(" "),t("a",{staticClass:"title",attrs:{target:"_blank",href:e.url,title:e.title}},[n._v(n._s(e.title||e.upName+"的直播间"))]),n._v(" "),t("a",{staticClass:"up",attrs:{target:"_blank",href:"pgc"===e.type?e.url:"https://space.bilibili.com/"+e.upID,title:e.upName}},[e.upFaceUrl?t("DpiImage",{staticClass:"up-face",attrs:{size:18,src:e.upFaceUrl}}):n._e(),n._v(" "),t("div",{staticClass:"up-name"},[n._v(n._s(e.upName))])],1),n._v(" "),t("div",{staticClass:"history-info"},[e.progressText?t("div",{staticClass:"progress-number"},[n._v("\n "+n._s(e.progress>=.95?"已看完":e.progressText)+"\n ")]):n._e(),n._v(" "),void 0!==e.liveStatus?t("div",{staticClass:"duration live-status",class:{on:1===e.liveStatus}},[n._v("\n "+n._s(1===e.liveStatus?"直播中":"未开播")+"\n ")]):n._e(),n._v(" "),e.progressText||void 0!==e.liveStatus?t("span",{staticClass:"history-info-separator"},[n._v("|")]):n._e(),n._v(" "),e.timeText?t("div",{staticClass:"time",attrs:{title:new Date(e.viewAt).toLocaleString()}},[n._v("\n "+n._s(e.timeText)+"\n ")]):n._e()])])})),0)],1)})),n._v(" "),n.canNextPage?t("ScrollTrigger",{key:"scroll-trigger",on:{trigger:function(t){return n.nextPage()}}}):n._e()],2):t("VEmpty")],1)])};a._withStripped=!0;var o=e(416),r=e(7847),i=e(2007),s=e(1164),A=e(4253),c=e(2082);let l=function(n){return n.All="all",n.Video="archive",n.Live="live",n.Article="article",n.Bangumi="pgc",n.Cheese="cheese",n}({});const p=[{name:l.All,displayName:"全部",icon:"",checked:!0,apiType:""},{name:l.Video,displayName:"视频",icon:"mdi-play-circle-outline",checked:!1,apiType:"archive"},{name:l.Bangumi,displayName:"番剧",icon:"mdi-television-classic",checked:!1,apiType:"archive"},{name:l.Live,displayName:"直播",icon:"mdi-video-wireless-outline",checked:!1,apiType:"live"},{name:l.Article,displayName:"专栏",icon:"mdi-newspaper-variant-outline",checked:!1,apiType:"article"}],d=()=>{const n=new Date,t=Number(new Date(n.getFullYear(),n.getMonth(),n.getDate())),e=864e5;return{now:n,today:t,oneDay:e,yesterday:t-e,lastWeek:t-7*e}},u=n=>{const{yesterday:t,today:e}=d(),a=Number(n);return a>=t?`${a>=e?"今天":"昨天"} ${n.getHours().toString().padStart(2,"0")}:${n.getMinutes().toString().padStart(2,"0")}`:`${(n.getMonth()+1).toString().padStart(2,"0")}-${n.getDate().toString().padStart(2,"0")} ${n.getHours().toString().padStart(2,"0")}:${n.getMinutes().toString().padStart(2,"0")}`},m=n=>{n.history.business===l.Article&&(n.history.cid=n.history.oid);const{epid:t,bvid:e,cid:a,oid:o,page:r}=n.history,i=n.progress>0?`t=${n.progress}`:"t=0",s=-1===n.progress?1:n.progress/n.duration,A=n=>n.replace("http:","https:"),p=new Date(1e3*n.view_at),d=n.cover?A(n.cover):n.covers?A(n.covers[0]):"",m={title:n.title,viewAt:1e3*n.view_at,time:p,timeText:u(p),cover:d,covers:n.covers?.map(A)??[],progress:s,progressText:Number.isNaN(s)?null:`${(0,c.formatDuration)(n.progress)} / ${(0,c.formatDuration)(n.duration)}`,duration:n.duration,durationText:n.duration?(0,c.formatDuration)(n.duration):null,upName:n.author_name,upFaceUrl:A(n.author_face),upID:n.author_mid};if(n.history.business===l.Cheese)return{...m,id:o,upName:n.title,title:n.show_title,url:n.uri,type:l.Video};if(t)return{...m,id:t,url:`https://www.bilibili.com/bangumi/play/ep${t}?${i}`,title:n.show_title||n.title,upName:n.title,type:l.Bangumi};if(e)return{...m,id:e,url:`https://www.bilibili.com/video/${e}?p=${n.history.page}&${i}`,type:l.Video,page:r,pages:n.videos};if(a)return{...m,id:a,url:`https://www.bilibili.com/read/cv${a}`,type:l.Article};if(o)return{...m,id:o,url:`https://live.bilibili.com/${o}`,liveStatus:n.live_status,type:l.Live};throw console.error("unknown history item type",n),new Error("未知的历史项目类型")},b=Vue.extend({components:{VButton:s.VButton,VIcon:s.VIcon,RadioButton:s.RadioButton,TextBox:s.TextBox,VLoading:s.VLoading,VEmpty:s.VEmpty,ScrollTrigger:s.ScrollTrigger,DpiImage:s.DpiImage},mixins:[A.U],data:()=>({types:p,search:"",viewTime:0,cards:[],groups:[],loading:!0,hasMorePage:!0,paused:!1}),computed:{canNextPage(){return""===this.search&&!this.loading&&this.hasMorePage}},watch:{search:lodash.debounce((function(){this.reloadHistoryItems()}),200)},async created(){try{await Promise.all([this.nextPage(),this.updateHistoryPauseState()])}finally{this.loading=!1}},methods:{toggleTypeFilter(n){p.forEach((t=>t.checked=t.name===n.name)),this.reloadHistoryItems()},async reloadHistoryItems(){this.cards=[],this.viewTime=0,this.hasMorePage=!0,this.loading=!0;try{await this.nextPage()}finally{this.loading=!1}},filterFunc(n){return!(!p.find((n=>n.name===l.All)).checked&&p.some((t=>t.name===n.type&&!t.checked)))&&!(!n.title.toLowerCase().includes(this.search.toLowerCase())&&!n.upName.toLowerCase().includes(this.search.toLowerCase()))},updateGroups(){this.groups=(n=>{if(0===n.length)return[];const{today:t,yesterday:e,lastWeek:a}=d(),o=lodash.groupBy(n,(n=>n.viewAt>=t?"今天":n.viewAt>=e?"昨天":n.viewAt>=a?"本周":"更早"));return Object.entries(o).map((n=>{let[t,e]=n;return{name:t,items:e}}))})(this.cards.filter(this.filterFunc))},async nextPage(){const n=await(async(n,t)=>{const e=new URLSearchParams;n&&e.set("view_at",Math.round(n/1e3).toString()),e.set("type",t?.apiType??"");const{list:a}=await(0,o.bilibiliApi)((0,o.getJsonWithCredentials)(`https://api.bilibili.com/x/web-interface/history/cursor?${e.toString()}`),"获取历史记录失败");return Array.isArray(a)?a.map(m).filter((n=>null!==n&&(!t||t.name===l.All||n.type===t.name))):[]})(this.viewTime,p.find((n=>n.checked))),t=lodash.uniqBy(this.cards.concat(n).sort((0,i.descendingSort)((n=>n.viewAt))),(n=>n.id));this.cards=t,this.updateGroups(),t.length>0&&(this.viewTime=lodash.last(t).viewAt),this.hasMorePage=0!==n.length,this.hasMorePage&&0===this.groups.length&&await this.nextPage()},async updateHistoryPauseState(){const n=await(0,o.bilibiliApi)((0,o.getJsonWithCredentials)("https://api.bilibili.com/x/v2/history/shadow"));this.paused=!0===n},async toggleHistoryPause(){const n=!this.paused;try{this.paused=n,await(0,o.postTextWithCredentials)("https://api.bilibili.com/x/v2/history/shadow/set",new URLSearchParams({csrf:(0,r.getCsrf)(),switch:n.toString()}).toString())}catch(t){this.paused=!n}}}});var h=e(6991),g=e.n(h),v=e(2316),f=e.n(v),C={insert:"head",singleton:!1};g()(f(),C);f().locals;const B=(0,e(8678).A)(b,a,[],!1,null,null,null).exports},4421:(n,t,e)=>{"use strict";e.r(t),e.d(t,{default:()=>m});var a=function(){var n=this,t=n._self._c;n._self._setupProxy;return t("div",{staticClass:"home-popup",attrs:{role:"list"}},n._l(Object.entries(n.categories),(function([e,a]){return t("div",{key:e,staticClass:"category-item",class:{main:null!==a.code},attrs:{role:"listitem"}},[t("a",{attrs:{href:a.link,target:"_blank"}},[t("svg",{attrs:{"aria-hidden":"true"}},[t("use",{attrs:{href:"#header-icon-"+a.icon,"xlink:href":"#header-icon-"+a.icon}})]),n._v(" "),t("div",{staticClass:"name"},[n._v(n._s(e))]),n._v(" "),t("span",{staticClass:"count"},[null!==a.count?[n._v(n._s(a.count))]:n._e()],2)]),n._v(" "),a.subCategories?t("div",{staticClass:"sub-regions-popup popup"},n._l(Object.entries(a.subCategories),(function([e,a]){return t("a",{key:e,staticClass:"sub-region",attrs:{href:a,target:"_blank"}},[n._v(n._s(e))])})),0):n._e()])})),0)};a._withStripped=!0;var o=e(8217),r=e(4253);const i=lodash.cloneDeep(o.categories);Object.values(i).forEach((n=>{n.count=null}));let s=!1;const A=Vue.extend({mixins:[r.U],data:()=>({categories:i}),async created(){if(s)return;s=!0;const{bilibiliApi:n,getJson:t}=await Promise.resolve().then(e.t.bind(e,416,23)),{addCategoryIcons:a}=await Promise.resolve().then(e.t.bind(e,8217,23));a();const{region_count:o={}}=await n(t("https://api.bilibili.com/x/web-interface/online"),"[自定义顶栏] 分区投稿信息获取失败");Object.values(this.categories).forEach((n=>{n.code&&(Array.isArray(n.code)?n.count=lodash.sum(n.code.map((n=>o[n]))):n.count=o[n.code])}))},mounted(){this.$el.style.maxHeight="inherit",this.$nextTick((()=>{this.$el.style.maxHeight=""}))}});var c=e(6991),l=e.n(c),p=e(3787),d=e.n(p),u={insert:"head",singleton:!1};l()(d(),u);d().locals;const m=(0,e(8678).A)(A,a,[],!1,null,null,null).exports},2103:(n,t,e)=>{"use strict";e.r(t),e.d(t,{default:()=>u});var a=function(){var n=this,t=n._self._c;n._self._setupProxy;return t("div",{staticClass:"custom-navbar-logo-container"},[n.seasonLogoUrl?t("div",{staticClass:"custom-navbar-logo season",style:{backgroundImage:`url(${n.seasonLogoUrl})`}}):t("VIcon",{staticClass:"custom-navbar-logo",class:{theme:n.useThemeColor},attrs:{icon:"logo"}})],1)};a._withStripped=!0;var o=e(4905),r=e(416),i=e(1164);const s=Vue.extend({name:"NavbarLogo",components:{VIcon:i.VIcon},data:()=>({seasonLogoUrl:"",useThemeColor:!0}),watch:{seasonLogoUrl(){document.body.classList.toggle("season-logo-enabled",Boolean(this.seasonLogoUrl))}},async created(){(0,o.addComponentListener)("customNavbar.seasonLogo",(async n=>{if(!n)return void(this.seasonLogoUrl="");const t=await(0,r.getJson)("https://api.bilibili.com/x/web-show/page/header?resource_id=1");0===t.code?this.seasonLogoUrl=lodash.get(t,"data.litpic","").replace("http:","https:"):this.seasonLogoUrl=""}),!0),(0,o.addComponentListener)("customNavbar.themeLogo",(async n=>{this.useThemeColor=n}),!0)}});var A=e(6991),c=e.n(A),l=e(439),p=e.n(l),d={insert:"head",singleton:!1};c()(p(),d);p().locals;const u=(0,e(8678).A)(s,a,[],!1,null,null,null).exports},9349:(n,t,e)=>{"use strict";e.r(t),e.d(t,{default:()=>m});var a=function(){var n=this,t=n._self._c,e=n._self._setupProxy;return t("div",{staticClass:"custom-navbar-manga-popup"},[e.loading?t("div",{staticClass:"loading-container"},[t(e.VLoading)],1):n._e(),n._v(" "),e.loading?n._e():t("div",{staticClass:"custom-navbar-manga-panel"},[t("div",{staticClass:"custom-navbar-manga-left-panel"},n._l(e.recommendItems,(function(e){return t("a",{key:e.season_id,staticClass:"recommend-manga-card",attrs:{href:"https://manga.bilibili.com/detail/mc"+e.season_id}},[t("div",{staticClass:"recommend-manga-card-image"},[t("img",{attrs:{src:e.horizontal_cover+"@300w.jpg",alt:e.title}})]),n._v(" "),t("div",{staticClass:"recommend-manga-card-title",attrs:{title:e.title}},[n._v(n._s(e.title))])])})),0),n._v(" "),t("div",{staticClass:"custom-navbar-manga-panel-separator"}),n._v(" "),t("div",{staticClass:"custom-navbar-manga-right-panel"},[t("div",{staticClass:"custom-navbar-manga-hot-title"},[n._v("人气漫画")]),n._v(" "),t("div",{staticClass:"custom-navbar-manga-hot-list"},n._l(e.hotItems.slice(0,7),(function(a){return t("a",{key:a.comic_id,staticClass:"hot-manga-card",attrs:{title:a.title,href:"https://manga.bilibili.com/detail/mc"+a.comic_id},on:{mouseenter:function(n){e.previewCard=a},mouseleave:function(n){e.previewCard=void 0}}},[t("div",{staticClass:"hot-manga-card-title"},[n._v("\n "+n._s(a.title)+"\n ")])])})),0),n._v(" "),e.previewCard?t("div",{staticClass:"hot-manga-card-preview"},[t("img",{attrs:{src:e.previewCard.vertical_cover+"@450h.jpg",alt:e.previewCard.title}})]):n._e()])])])};a._withStripped=!0;var o=e(2259),r=e(1164),i=e(416),s=e(4253);const A=(0,o.defineComponent)({__name:"MangaPopup",props:{item:null,container:null},setup(n,t){let{expose:e}=t;const a=n,A=(0,s.E)(a),c=(0,o.ref)(!0),l=(0,o.ref)(void 0),p=(0,o.ref)(void 0),d=(0,o.ref)(void 0),u=async()=>{void 0===l.value&&(l.value=await(0,i.bilibiliApi)(fetch("https://manga.bilibili.com/twirp/comic.v1.Comic/Recommend?device=pc&platform=web",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({JsonData:JSON.stringify([{pool_id:500003,num:4}])})}).then((n=>n.json()))))},m=async()=>{void 0===p.value&&(p.value=await(0,i.bilibiliApi)(fetch("https://manga.bilibili.com/twirp/comic.v1.Comic/HomeHot?device=pc&platform=web",{headers:{"Content-Type":"application/json"},body:JSON.stringify({type:0}),method:"POST"}).then((n=>n.json()))))},b=async()=>{await Promise.all([u(),m()]),c.value=!1};return e({popupShow(){A.popupShow(),b()}}),{__sfc:!0,props:a,popper:A,loading:c,recommendItems:l,hotItems:p,previewCard:d,loadRecommendItems:u,loadHotItems:m,loadMangaInfo:b,VLoading:r.VLoading}}});var c=e(6991),l=e.n(c),p=e(7816),d=e.n(p),u={insert:"head",singleton:!1};l()(d(),u);d().locals;const m=(0,e(8678).A)(A,a,[],!1,null,null,null).exports},8486:(n,t,e)=>{"use strict";e.r(t),e.d(t,{default:()=>g});var a=function(){var n=this,t=n._self._c,e=n._self._setupProxy;return t("div",{staticClass:"custom-navbar-match-popup"},[e.loading?t("div",{staticClass:"loading-container"},[t(e.VLoading)],1):n._e(),n._v(" "),e.loading?n._e():t("div",{staticClass:"custom-navbar-match-panel"},[t("div",{staticClass:"custom-navbar-match-left-panel"},n._l(e.bannerItems,(function(n){return t("a",{key:n.jump_url,staticClass:"banner-match-card",attrs:{href:n.jump_url}},[t("img",{attrs:{src:n.cover}})])})),0),n._v(" "),t("div",{staticClass:"custom-navbar-match-panel-separator"}),n._v(" "),t("div",{staticClass:"custom-navbar-match-right-panel"},[t("div",{staticClass:"hot-match-list"},[t("div",{staticClass:"hot-match-list-title"},[n._v("热门赛事")]),n._v(" "),n._l(e.hotItems,(function(a){return t("a",{key:a.jump_url,staticClass:"hot-match-card",attrs:{href:a.jump_url,title:a.name}},[t("div",{staticClass:"hot-match-card-status",class:{"in-progress":a.status===e.MatchHotItemStatus.InProgress}},[a.status===e.MatchHotItemStatus.NotStarted?[n._v("未开始")]:n._e(),n._v(" "),a.status===e.MatchHotItemStatus.InProgress?[n._v("进行中")]:n._e(),n._v(" "),a.status===e.MatchHotItemStatus.Finished?[n._v("已结束")]:n._e()],2),n._v(" "),t("div",{staticClass:"hot-match-card-title"},[n._v("\n "+n._s(a.name)+"\n ")])])}))],2),n._v(" "),t("div",{staticClass:"preview-match-list"},[t("div",{staticClass:"preview-match-list-title"},[n._v("精彩预告")]),n._v(" "),n._l(e.previewItems,(function(a){return t("a",{key:a.jump_url,staticClass:"preview-match-card",attrs:{href:a.jump_url,title:a.name}},[t("div",{staticClass:"preview-match-date"},[n._v(n._s(a.stime))]),n._v(" "),t("div",{staticClass:"preview-match-title"},[n._v(n._s(a.name))]),n._v(" "),t(e.VButton,{staticClass:"preview-match-subscribe",attrs:{type:0===a.fav_status?"primary":"light"},on:{click:function(n){return n.preventDefault(),e.toggleSubscribe(a)}}},[n._v("\n "+n._s(0===a.fav_status?"订阅":"已订阅")+"\n ")])],1)}))],2)])])])};a._withStripped=!0;var o=e(2259),r=e(1164),i=e(416),s=e(4253);let A=function(n){return n[n.NotStarted=1]="NotStarted",n[n.InProgress=2]="InProgress",n[n.Finished=3]="Finished",n}({});var c=e(7847),l=e(765);const p=(0,o.defineComponent)({__name:"MatchPopup",props:{item:null,container:null},setup(n,t){let{expose:e}=t;const a=n,p=(0,s.E)(a),d=(0,o.ref)(!0),u=(0,o.ref)(void 0),m=(0,o.computed)((()=>u.value?.banner)),b=(0,o.computed)((()=>u.value?.hot)),h=(0,o.computed)((()=>u.value?.preview)),g=async()=>{u.value=(0,o.reactive)(await(0,i.bilibiliApi)((0,i.getJsonWithCredentials)("https://api.bilibili.com/x/web-interface/nav/game"))),d.value=!1};return e({popupShow(){p.popupShow(),g()}}),{__sfc:!0,props:a,popper:p,loading:d,matchInfo:u,bannerItems:m,hotItems:b,previewItems:h,loadMatchInfo:g,toggleSubscribe:async n=>{const t=0!==n.fav_status;try{await(0,i.postTextWithCredentials)(t?"https://api.bilibili.com/x/esports/fav/del":"https://api.bilibili.com/x/esports/fav/add",new URLSearchParams({cid:n.cid.toString(),csrf:(0,c.getCsrf)()}).toString()),n.fav_status=t?0:1}catch(n){(0,l.logError)(n)}},VLoading:r.VLoading,VButton:r.VButton,MatchHotItemStatus:A}}});var d=e(6991),u=e.n(d),m=e(4676),b=e.n(m),h={insert:"head",singleton:!1};u()(b(),h);b().locals;const g=(0,e(8678).A)(p,a,[],!1,null,null,null).exports},8020:(n,t,e)=>{"use strict";e.r(t),e.d(t,{default:()=>u});var a=function(){var n=this,t=n._self._c;n._self._setupProxy;return t("div",{staticClass:"messages-popup",attrs:{role:"list"}},n._l(n.entries,(function(e){return t("div",{key:e.name,staticClass:"message-entry",attrs:{role:"listitem"}},[t("a",{attrs:{"data-prop":e.prop,target:"_blank",href:e.href,"data-count":e.count||null},on:{click:function(t){return n.clearCount(e)}}},[n._v(n._s(e.name))])])})),0)};a._withStripped=!0;var o=e(416),r=e(4253);const i=[{prop:"reply",href:"https://message.bilibili.com/#/reply",name:"回复我的"},{prop:"at",href:"https://message.bilibili.com/#/at",name:"@我的"},{prop:"like",href:"https://message.bilibili.com/#/love",name:"收到的赞"},{prop:"sys_msg",href:"https://message.bilibili.com/#/system",name:"系统通知"},{prop:"user_msg",href:"https://message.bilibili.com/#/whisper",name:"我的消息"},{href:"https://message.bilibili.com/#/archive",name:"私信存档"},{href:"https://message.bilibili.com/#/config",name:"消息设置"}],s=Vue.extend({name:"MessagesPopup",mixins:[r.U],data:()=>({entries:i.map((n=>(n.count=0,n))),settings:{notify:!0,hideNotFollowedCount:!1,json:{}}}),async created(){await this.fetchSettings(),this.notify()},methods:{popupRefresh(){this.notify()},async fetchSettings(){const n=await(0,o.getJsonWithCredentials)("https://api.vc.bilibili.com/link_setting/v1/link_setting/get?msg_notify=1&show_unfollowed_msg=1");0===n.code&&(this.settings={notify:3!==n.data.msg_notify,hideNotFollowedCount:1===n.data.show_unfollowed_msg,json:n.data})},async notify(){if(!this.settings.notify)return;const[n,t]=await Promise.all([(0,o.getJsonWithCredentials)("https://api.bilibili.com/x/msgfeed/unread"),(0,o.getJsonWithCredentials)("https://api.vc.bilibili.com/session_svr/v1/session_svr/single_unread")]);n.data.user_msg=t.data.follow_unread||0,this.settings.hideNotFollowedCount||(n.data.user_msg+=t.data.unfollow_unread||0),this.item.notifyCount=i.reduce(((t,e)=>t+(e.prop?n.data[e.prop]:0)),0),this.item.notifyCount&&(console.log(i),i.forEach((t=>{if(!t.prop)return;const e=n.data[t.prop];console.log(t.prop,t.count,e),e>0&&(t.count=e)})))},clearCount(n){this.item.notifyCount-=n.count,n.count=0}}});var A=e(6991),c=e.n(A),l=e(1751),p=e.n(l),d={insert:"head",singleton:!1};c()(p(),d);p().locals;const u=(0,e(8678).A)(s,a,[],!1,null,"38cbdbce",null).exports},3859:(n,t,e)=>{"use strict";e.r(t),e.d(t,{default:()=>d});var a=function(){var n=this,t=n._self._c;n._self._setupProxy;return t("div",{staticClass:"ranking-popup",attrs:{role:"list"}},n._l(n.entries,(function(e){return t("div",{key:e.name,staticClass:"ranking-entry",attrs:{role:"listitem"}},[t("a",{attrs:{target:"_blank",href:e.href}},[n._v(n._s(e.name))])])})),0)};a._withStripped=!0;var o=e(4253);const r=[{href:"https://www.bilibili.com/v/popular/all",name:"综合热门"},{href:"https://www.bilibili.com/v/popular/weekly",name:"每周必看"},{href:"https://www.bilibili.com/v/popular/history",name:"入站必刷"},{href:"https://www.bilibili.com/v/popular/rank/all",name:"排行榜"},{href:"https://www.bilibili.com/v/popular/music",name:"全站音乐榜"}],i=Vue.extend({name:"RankingPopup",mixins:[o.U],data:()=>({entries:r})});var s=e(6991),A=e.n(s),c=e(1637),l=e.n(c),p={insert:"head",singleton:!1};A()(l(),p);l().locals;const d=(0,e(8678).A)(i,a,[],!1,null,"dbcac2e2",null).exports},7224:(n,t,e)=>{"use strict";e.r(t),e.d(t,{default:()=>d});var a=function(){var n=this._self._c;this._self._setupProxy;return n("div",{staticClass:"custom-navbar-search"},[n("LaunchBar")],1)};a._withStripped=!0;const o=coreApis.componentApis.launchBar.LaunchBar;var r=e.n(o);const i=Vue.extend({components:{LaunchBar:r()}});var s=e(6991),A=e.n(s),c=e(5676),l=e.n(c),p={insert:"head",singleton:!1};A()(l(),p);l().locals;const d=(0,e(8678).A)(i,a,[],!1,null,null,null).exports},5765:(n,t,e)=>{"use strict";e.r(t),e.d(t,{default:()=>d});var a=function(){var n=this,t=n._self._c;n._self._setupProxy;return t("div",{staticClass:"custom-navbar-extra-options"},[t("VButton",{ref:"button",on:{mouseover:function(t){return n.loadNavbarSettings()},click:function(t){return n.toggleNavbarSettings()}}},[n._v("\n 布局设置"),t("VIcon",{attrs:{icon:"right-arrow",size:16}})],1)],1)};a._withStripped=!0;var o=e(1164),r=e(4848);const i=Vue.extend({components:{VIcon:o.VIcon,VButton:o.VButton},methods:{async loadNavbarSettings(){if(await(0,r.w)()){const n=this.$refs.button.$el;(0,r.D)(n)}},toggleNavbarSettings:r.toggleNavbarSettings}});var s=e(6991),A=e.n(s),c=e(7256),l=e.n(c),p={insert:"head",singleton:!1};A()(l(),p);l().locals;const d=(0,e(8678).A)(i,a,[],!1,null,null,null).exports},9840:(n,t,e)=>{"use strict";e.r(t),e.d(t,{default:()=>f});var a=function(){var n=this,t=n._self._c;n._self._setupProxy;return t("VPopup",{ref:"popup",staticClass:"custom-navbar-settings",attrs:{fixed:"",lazy:!1,"trigger-element":n.triggerElement},model:{value:n.open,callback:function(t){n.open=t},expression:"open"}},[t("div",{staticClass:"navbar-settings-header"},[t("VIcon",{staticClass:"title-icon",attrs:{icon:"mdi-sort",size:24}}),n._v(" "),t("div",{staticClass:"title"},[n._v("顶栏布局设置")]),n._v(" "),t("div",{staticClass:"grow"}),n._v(" "),t("div",{staticClass:"close",on:{click:function(t){n.open=!1}}},[t("VIcon",{attrs:{icon:"close",size:18}})],1)],1),n._v(" "),t("div",{staticClass:"navbar-settings-content"},[t("div",{staticClass:"navbar-settings-section"},[t("div",{staticClass:"navbar-settings-section-title"},[n._v("边缘间距")]),n._v(" "),t("div",{staticClass:"navbar-settings-section-description"},[n._v("\n 设定两侧边缘处的间距, 单位为百分比, 100%为整个顶栏的宽度.\n "),t("br"),n._v("空间不足时, 实际呈现的间距会自动缩小.\n ")]),n._v(" "),t("div",{staticClass:"navbar-settings-section-content",on:{mouseover:function(t){return n.peekPadding(!0)},mouseout:function(t){return n.peekPadding(!1)}}},[t("VSlider",{attrs:{min:0,max:40,step:.5},model:{value:n.padding,callback:function(t){n.padding=t},expression:"padding"}}),n._v(" "),t("div",{staticClass:"padding-value"},[n._v(n._s(n.padding.toFixed(1))+"%")])],1)]),n._v(" "),n.isLogin?t("div",{staticClass:"navbar-settings-section"},[t("div",{staticClass:"navbar-settings-section-title"},[n._v("元素呈现")]),n._v(" "),t("div",{staticClass:"navbar-settings-section-description"},[n._v("\n 按住并拖动可以调整顺序, 点击眼睛图标可以切换隐藏/显示.\n ")]),n._v(" "),n.loaded?n._e():t("VLoading"),n._v(" "),t("div",{directives:[{name:"show",rawName:"v-show",value:n.loaded,expression:"loaded"}],ref:"navbarSortList",staticClass:"navbar-settings-section-content navbar-sort-list"},n._l(n.rendered.items,(function(e){return t("div",{key:e.name,staticClass:"navbar-sort-item",class:{"navbar-hidden":e.hidden},attrs:{"data-name":e.name},on:{mouseover:function(t){return n.peekItem(e,!0)},mouseout:function(t){return n.peekItem(e,!1)}}},[t("div",{staticClass:"item-name"},[n._v("\n "+n._s(e.displayName)+"\n ")]),n._v(" "),t("div",{staticClass:"toggle-visible"},[t("VIcon",{attrs:{size:18,icon:e.hidden?"mdi-eye-off-outline":"mdi-eye-outline"},on:{click:function(t){return n.toggleVisible(e)}}})],1)])})),0)],1):n._e()])])};a._withStripped=!0;var o=e(1164),r=e(4905),i=e(7847);const s=coreApis.runtimeLibrary;var A=e(322),c=e(622);const l=n=>{n.forEach(((n,t)=>{n.order!==t&&(n.order=t)}));const t=Object.fromEntries(n.map((n=>[n.name,n.order])));c.LC.navbarOptions.order=t},{navbarOptions:p}=c.LC,[d]=(0,A.getData)(c.z0),u=Vue.extend({components:{VPopup:o.VPopup,VIcon:o.VIcon,VSlider:o.VSlider,VLoading:o.VLoading},props:{triggerElement:{type:HTMLElement,default:null}},data:()=>({open:!1,padding:p.padding,rendered:d,hidden:p.hidden,loaded:!1,isLogin:Boolean((0,i.getUID)())}),watch:{padding:lodash.debounce((n=>{p.padding=n}),200)},async mounted(){(0,r.addComponentListener)("customNavbar.padding",(n=>{this.padding!==n&&(this.padding=n)}));const n=this.$refs.navbarSortList;if(n){(await s.SortableJSLibrary).create(n,{delay:100,forceFallback:!0,onEnd:n=>{this.onSort(n)}}),(t=d.items).every(((n,t)=>n.order===t))||l(t)}var t;this.loaded=!0},methods:{toggle(){this.$refs.popup.toggle()},peekPadding(n){(0,i.dqa)(".custom-navbar .padding").forEach((t=>t.classList.toggle("peek",n)))},peekItem(n,t){n.element?.classList.toggle("peek",t)},onSort(n){const t=this.$refs.navbarSortList,e=n.item;console.log(`${e.getAttribute("data-name")} ${n.oldIndex}->${n.newIndex}`);const a=Object.fromEntries([...t.children].map(((n,t)=>[n.getAttribute("data-name"),t])));this.rendered.items=((n,t)=>{const e=lodash.sortBy(n,(n=>t[n.name]));return l(e),e})(d.items,a)},toggleVisible(n){p.hidden.includes(n.name)?(lodash.pull(p.hidden,n.name),n.hidden=!1,console.log("delete",n.name)):(p.hidden.push(n.name),n.hidden=!0,console.log("add",n.name))}}});var m=e(6991),b=e.n(m),h=e(5632),g=e.n(h),v={insert:"head",singleton:!1};b()(g(),v);g().locals;const f=(0,e(8678).A)(u,a,[],!1,null,null,null).exports},5238:(n,t,e)=>{"use strict";e.r(t),e.d(t,{default:()=>s});var a=function(){var n=this,t=n._self._c;n._self._setupProxy;return t("DefaultWidget",{attrs:{name:"顶栏布局设置",icon:"mdi-sort"},on:{mouseover:function(t){return n.loadNavbarSettings()},click:function(t){return n.toggleNavbarSettings()}}})};a._withStripped=!0;var o=e(1164),r=e(4848);const i=Vue.extend({components:{DefaultWidget:o.DefaultWidget},methods:{async loadNavbarSettings(){await(0,r.w)()},toggleNavbarSettings:r.toggleNavbarSettings}});const s=(0,e(8678).A)(i,a,[],!1,null,null,null).exports},4856:(n,t,e)=>{"use strict";e.r(t),e.d(t,{default:()=>i});var a=function(){var n=this,t=n._self._c;n._self._setupProxy;return t("SubscriptionsList",{attrs:{type:"bangumi",filter:n.filter}})};a._withStripped=!0;var o=e(4162);const r=Vue.extend({components:{SubscriptionsList:o.A},props:{filter:{type:[Object,null],default:null}}});const i=(0,e(8678).A)(r,a,[],!1,null,null,null).exports},1020:(n,t,e)=>{"use strict";e.r(t),e.d(t,{default:()=>i});var a=function(){var n=this,t=n._self._c;n._self._setupProxy;return t("SubscriptionsList",{attrs:{type:"cinema",filter:n.filter}})};a._withStripped=!0;var o=e(4162);const r=Vue.extend({components:{SubscriptionsList:o.A},props:{filter:{type:[Object,null],default:null}}});const i=(0,e(8678).A)(r,a,[],!1,null,null,null).exports},5588:(n,t,e)=>{"use strict";e.r(t),e.d(t,{default:()=>i});var a=function(){var n=this,t=n._self._c;n._self._setupProxy;return t("div",{},[n._v(n._s(n.content))])};a._withStripped=!0;var o=e(4905);const r=Vue.extend({data:()=>({isBangumiLinkHidden:(0,o.getComponentSettings)("customNavbar").options.hidden.includes("bangumi")}),computed:{content(){return this.isBangumiLinkHidden?"番剧":"追番追剧"}},mounted(){(0,o.addComponentListener)("customNavbar.hidden",this.updateBangumiLinkStatus)},beforeDestroy(){(0,o.removeComponentListener)("customNavbar.hidden",this.updateBangumiLinkStatus)},methods:{updateBangumiLinkStatus(n){const t=n.includes("bangumi");this.isBangumiLinkHidden=t}}});const i=(0,e(8678).A)(r,a,[],!1,null,null,null).exports},7550:(n,t,e)=>{"use strict";e.r(t),e.d(t,{default:()=>h});var a=function(){var n=this,t=n._self._c;n._self._setupProxy;return t("div",{staticClass:"navbar-subscriptions"},[t("TabControl",{ref:"tabControl",attrs:{tabs:n.tabs,"more-link":n.moreLink},scopedSlots:n._u([{key:"header-item",fn:function(){return[t("div",{staticClass:"navbar-subscriptions-filter"},[t("VDropdown",{attrs:{round:"",items:n.filterItems},model:{value:n.selectedFilter,callback:function(t){n.selectedFilter=t},expression:"selectedFilter"}})],1)]},proxy:!0}])})],1)};a._withStripped=!0;var o=e(1164),r=e(7847),i=e(4253),s=e(6148),A=e(75);const c=[{name:"all",value:{viewAll:!0,status:A.i.Viewing},displayName:"全部"},{name:"viewing",value:{viewAll:!1,status:A.i.Viewing},displayName:"在看"},{name:"toView",value:{viewAll:!1,status:A.i.ToView},displayName:"想看"},{name:"viewed",value:{viewAll:!1,status:A.i.Viewed},displayName:"看过"}],l=Vue.extend({components:{TabControl:o.TabControl,VDropdown:o.VDropdown},mixins:[i.U],data(){const n=(0,r.getUID)();return{uid:n,filterItems:c,selectedFilter:c[0],moreLink:t=>`https://space.bilibili.com/${n}/${t.name}`,filter:{viewAll:!0,status:A.i.Viewing}}},computed:{tabs(){return[{name:s.r.Bangumi,displayName:"追番",activeLink:`https://space.bilibili.com/${this.uid}/bangumi`,component:()=>Promise.resolve().then(e.bind(e,4856)).then((n=>n.default)),propsData:{filter:this.selectedFilter.value}},{name:s.r.Cinema,displayName:"追剧",activeLink:`https://space.bilibili.com/${this.uid}/cinema`,component:()=>Promise.resolve().then(e.bind(e,1020)).then((n=>n.default)),propsData:{filter:this.selectedFilter.value}}]}}});var p=e(6991),d=e.n(p),u=e(7596),m=e.n(u),b={insert:"head",singleton:!1};d()(m(),b);m().locals;const h=(0,e(8678).A)(l,a,[],!1,null,null,null).exports},4162:(n,t,e)=>{"use strict";e.d(t,{A:()=>v});var a=function(){var n=this,t=n._self._c;n._self._setupProxy;return t("div",{staticClass:"subscription-list"},[n.loading?t("VLoading"):n.loading||0!==n.cards.length?[t("div",{staticClass:"subscription-content"},n._l(n.cards,(function(e){return t("a",{key:e.id,staticClass:"subscription-card",attrs:{href:e.playUrl,target:"_blank"}},[t("div",{staticClass:"subscriptions-cover-container"},[t("DpiImage",{staticClass:"cover",attrs:{src:e.coverUrl,size:64}})],1),n._v(" "),t("div",{staticClass:"card-info"},[t("h1",{staticClass:"title",attrs:{title:e.title}},[n._v(n._s(e.title))]),n._v(" "),t("div",{staticClass:"progress-row"},[e.status?t("div",{staticClass:"status",class:"status-"+e.status},[n._v("\n "+n._s(e.statusText)+"\n ")]):n._e(),n._v(" "),e.progress?t("div",{staticClass:"progress",attrs:{title:e.progress+" | "+e.latest}},[n._v("\n "+n._s(e.progress)+" | "+n._s(e.latest)+"\n ")]):t("div",{staticClass:"progress",attrs:{title:e.latest}},[n._v(n._s(e.latest))]),n._v(" "),t("a",{staticClass:"info",attrs:{href:e.mediaUrl,target:"_blank",title:"详细信息"}},[t("VIcon",{attrs:{icon:"mdi-information-outline",size:16}})],1)])])])})),0),n._v(" "),n.hasMorePage?t("ScrollTrigger",{on:{trigger:function(t){return n.nextPage()}}}):n._e()]:t("VEmpty")],2)};a._withStripped=!0;var o=e(7847),r=e(765),i=e(1164),s=e(416),A=e(6148),c=e(75);const l=n=>{switch(n){case c.i.ToView:return"想看";case c.i.Viewing:default:return"在看";case c.i.Viewed:return"看过"}},p=(n,t)=>{let e=n.status;e!==c.i.Viewed&&(e=c.i.Viewed-e);let a=t.status;return a!==c.i.Viewed&&(a=c.i.Viewed-a),e-a},d=Vue.extend({components:{DpiImage:i.DpiImage,VLoading:i.VLoading,VEmpty:i.VEmpty,VIcon:i.VIcon,ScrollTrigger:i.ScrollTrigger},props:{filter:{type:[Object,null],default:null},type:{type:String,default:A.r.Bangumi}},data:()=>({loading:!0,hasMorePage:!0,cards:[],page:1}),watch:{filter(){this.cards=[],this.loading=!0,this.page=1,this.nextPage()}},async created(){this.nextPage()},methods:{async nextPage(){try{const n=this.filter,t=n.viewAll?0:n.status,e=new URLSearchParams({type:this.type!==A.r.Bangumi?"2":"1",pn:this.page,ps:"16",vmid:(0,o.getUID)(),follow_status:t.toString()}),a=await(0,s.getJsonWithCredentials)(`https://api.bilibili.com/x/space/bangumi/follow/list?${e}`);if(0!==a.code)return void(0,r.logError)(`加载番剧信息失败: ${a.message}`);const i=lodash.uniqBy(lodash.get(a,"data.list").map((n=>({title:n.title,coverUrl:n.square_cover.replace("http:","https:"),latest:n.new_ep.index_show,progress:n.progress,id:n.season_id,status:n.follow_status,statusText:l(n.follow_status),playUrl:`https://www.bilibili.com/bangumi/play/ss${n.season_id}`,mediaUrl:`https://www.bilibili.com/bangumi/media/md${n.media_id}`}))),(n=>n.id)).sort(p);this.page++,this.cards=this.cards.concat(i),this.hasMorePage=this.cards.length{"use strict";e.r(t),e.d(t,{default:()=>p});var a=function(){var n=this,t=n._self._c;n._self._setupProxy;return t("div",{staticClass:"navbar-upload"},[t("VIcon",{attrs:{icon:"upload",size:18}}),n._v(" "),t("div",{staticClass:"navbar-upload-name"},[n._v("投稿")])],1)};a._withStripped=!0;var o=e(1164);const r=Vue.extend({components:{VIcon:o.VIcon}});var i=e(6991),s=e.n(i),A=e(3661),c=e.n(A),l={insert:"head",singleton:!1};s()(c(),l);c().locals;const p=(0,e(8678).A)(r,a,[],!1,null,"99a054ea",null).exports},5778:(n,t,e)=>{"use strict";e.r(t),e.d(t,{default:()=>p});var a=function(){var n=this;n._self._c,n._self._setupProxy;return n._m(0)};a._withStripped=!0;var o=e(4253);const r=Vue.extend({mixins:[o.U]});var i=e(6991),s=e.n(i),A=e(116),c=e.n(A),l={insert:"head",singleton:!1};s()(c(),l);c().locals;const p=(0,e(8678).A)(r,a,[function(){var n=this,t=n._self._c;n._self._setupProxy;return t("div",{staticClass:"upload-popup",attrs:{role:"list"}},[t("div",{attrs:{role:"listitem"}},[t("a",{attrs:{target:"_blank",href:"https://member.bilibili.com/platform/upload/text/apply"}},[n._v("专栏投稿")])]),n._v(" "),t("div",{attrs:{role:"listitem"}},[t("a",{attrs:{target:"_blank",href:"https://member.bilibili.com/platform/upload/audio/frame"}},[n._v("音频投稿")])]),n._v(" "),t("div",{attrs:{role:"listitem"}},[t("a",{attrs:{target:"_blank",href:"https://member.bilibili.com/platform/upload/sticker"}},[n._v("贴纸投稿")])]),n._v(" "),t("div",{attrs:{role:"listitem"}},[t("a",{attrs:{target:"_blank",href:"https://member.bilibili.com/platform/upload/video/frame"}},[n._v("视频投稿")])]),n._v(" "),t("div",{attrs:{role:"listitem"}},[t("a",{attrs:{target:"_blank",href:"https://member.bilibili.com/platform/upload-manager/article"}},[n._v("投稿管理")])]),n._v(" "),t("div",{attrs:{role:"listitem"}},[t("a",{attrs:{target:"_blank",href:"https://member.bilibili.com/platform/home"}},[n._v("创作中心")])])])}],!1,null,"b43e8cea",null).exports},9522:(n,t,e)=>{"use strict";e.r(t),e.d(t,{default:()=>m});var a=function(){var n=this,t=n._self._c;n._self._setupProxy;return t("div",{staticClass:"user-face-container"},[t("img",{staticClass:"user-face",attrs:{src:n.faceSrc,srcset:n.faceSrcset}}),n._v(" "),t("img",{staticClass:"user-pendant",attrs:{src:n.pendantSrc,srcset:n.pendantSrcset}})])};a._withStripped=!0;var o=e(119),r=e(7847);const i=coreApis.utils.constants,s="//static.hdslb.com/images/member/noface.gif",A=Vue.extend({name:"UserFace",data:()=>({faceSrc:i.EmptyImageUrl,pendantSrc:i.EmptyImageUrl,faceSrcset:null,pendantSrcset:null}),async created(){const n=await(0,o.getUserInfo)();if(n.isLogin){if(n.face){const t=n.face.replace("http:","https:");if(t.includes(s))this.faceSrc=s;else{const n=68;this.faceSrc=t,this.faceSrcset=(0,r.getDpiSourceSet)(t,n)}}if(n.pendant?.image){const t=n.pendant.image.replace("http:","https:"),e=116;this.pendantSrcset=(0,r.getDpiSourceSet)(t,e,"png")}}else this.faceSrc="data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/4QAYRXhpZgAASUkqAAgAAAAAAAAAAAAAAP/sABFEdWNreQABAAQAAABQAAD/4QMxaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wLwA8P3hwYWNrZXQgYmVnaW49Iu+7vyIgaWQ9Ilc1TTBNcENlaGlIenJlU3pOVGN6a2M5ZCI/PiA8eDp4bXBtZXRhIHhtbG5zOng9ImFkb2JlOm5zOm1ldGEvIiB4OnhtcHRrPSJBZG9iZSBYTVAgQ29yZSA1LjYtYzEzOCA3OS4xNTk4MjQsIDIwMTYvMDkvMTQtMDE6MDk6MDEgICAgICAgICI+IDxyZGY6UkRGIHhtbG5zOnJkZj0iaHR0cDovL3d3dy53My5vcmcvMTk5OS8wMi8yMi1yZGYtc3ludGF4LW5zIyI+IDxyZGY6RGVzY3JpcHRpb24gcmRmOmFib3V0PSIiIHhtbG5zOnhtcD0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wLyIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VSZWYjIiB4bXA6Q3JlYXRvclRvb2w9IkFkb2JlIFBob3Rvc2hvcCBDQyAyMDE3IChNYWNpbnRvc2gpIiB4bXBNTTpJbnN0YW5jZUlEPSJ4bXAuaWlkOjEyRkZBREZEOEVGNDExRTc4QUEzRDBCQUMxMzA0MTI5IiB4bXBNTTpEb2N1bWVudElEPSJ4bXAuZGlkOjEyRkZBREZFOEVGNDExRTc4QUEzRDBCQUMxMzA0MTI5Ij4gPHhtcE1NOkRlcml2ZWRGcm9tIHN0UmVmOmluc3RhbmNlSUQ9InhtcC5paWQ6MTJGRkFERkI4RUY0MTFFNzhBQTNEMEJBQzEzMDQxMjkiIHN0UmVmOmRvY3VtZW50SUQ9InhtcC5kaWQ6MTJGRkFERkM4RUY0MTFFNzhBQTNEMEJBQzEzMDQxMjkiLz4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz7/7gAOQWRvYmUAZMAAAAAB/9sBBBAACwALAAsACwALAAsADAANAA0ADAARABIAEAASABEAGAAWABQAFAAWABgAJQAaABwAGgAcABoAJQA4ACMAKQAjACMAKQAjADgAMgA8ADEALgAxADwAMgBZAEYAPgA+AEYAWQBnAFYAUgBWAGcAfQBwAHAAfQCdAJUAnQDNAM0BFBEACwALAAsACwALAAsADAANAA0ADAARABIAEAASABEAGAAWABQAFAAWABgAJQAaABwAGgAcABoAJQA4ACMAKQAjACMAKQAjADgAMgA8ADEALgAxADwAMgBZAEYAPgA+AEYAWQBnAFYAUgBWAGcAfQBwAHAAfQCdAJUAnQDNAM0BFP/CABEIAaoBqgMBEQACEQEDEQH/xAAbAAEAAwEBAQEAAAAAAAAAAAAABAUGAwIBB//aAAgBAQAAAAD9cAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAIksAAAAAAAAZ63lAAAAABHzuqAAQ6PUAAAAAAQ8nse4AKn5bvHsAAAzVPvQAMzZWgAUVb3qJsnhpfMDvZ+gAKHh9hbEACuh3oCt4wewOUSw+eLeaAOed7DQAAePkWcCvgfAAOl4AZPjY/T7fgGaqHPFfuoFPx8gAIGvAQ8NcTTlLugDn0qqnUeweM1IAAeKtI14KOntBC1oAKbjfhSw+3n0AAIEuReBnwze/6gAh+Zwq4PoAABD47IM99K/RzQAPnz0KqIAAA8TbYK/OWbPb72AAR8PsJnSog9QAAOWlCvrPZ2ugAAg5HeFNwAAAjaTqMtJIeo6AABH+90TOzQAAHa6KiH7cdL9AAAFZQWQAAD53uuOUsSRcAAAyOo7GIlfZgAACXa0Pj6q9oAADO4bUUH6kospJvwAAELT424POiAAB8zGhxO9c8155zwAAK7lZ+3zQfQAARPsKz6DnSfAAAjSaWt1hD1gAAAAz30AAKC/rp/osLAAAAAV9d9AAVXW+rvY58tSAAAw25q7QGU69gAgdodZvqXoEG0ugAAPzr9FxG3B+c3skAOVJs6H1JAj6PqAACot8TtgU9jjLSP6gd+80421FGseoCHopQAADJa0BidDlNPlrOd9Hj2AIWkkgAAPlBoAHPpU2xlpIADxfdQAAD5wkAAjZWTKAA5WdkAAAAAH5hopoADncywAAAixLUAZ3x1AAVGx7AAAAYHfADHWIACJdWIAAAD8x/TgCPmpoABOsgAAAH5X+qAFNwAAFZswAAAGV1QBkJ4AA+X/oAAAAAKLwAAHu9AAABw6+giyjPgAA93oAAAI2X08oYfcFJyAACBpZQAAABGk5+XamTmAAAtpQAAAEfO30zJ6wgU/cAAHjRgAAAyVdvmdvepR8wAAPOiAAADzQ6B8z+hEKk+SQAArdkAAAAZ+99gzXUAAPU2xAAAAU1yBVwwAAWM8AAAD4+gUvEAAHnRAAAAACj5gAA7XQAAAAAp44AAOF7KAAAAAMlNAAAg64AAAABVQvQAAHjRgAAAAK+vAAAQdJKAAAAAzXUAAPXk63YAH/xAAUAQEAAAAAAAAAAAAAAAAAAAAA/9oACAECEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAP/8QAFAEBAAAAAAAAAAAAAAAAAAAAAP/aAAgBAxAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD//EAC8QAAIDAAECBgIBAwMFAAAAAAMEAQIFBjBAABARExQgFVASByIjFiExJCYyNXD/2gAIAQEAAQgA/wDtsvAo4sr+1POkdl4cIqwkqFeP0bsuDSYKnmctVOWEtLrOuhSoL3c5E7Gud8v6XUys3VBK7kTucQt6XSdT0FBsq9TXQA3CZS4CZkMoK5/Kxg0vWl+1vqi1YdVTWgK2zk5yfUmInwfj5Umr6OBlbaen/h6nInbIJANWrr4UhJ5a8PVEerQePLBKMsPZGdpXoRxgRyrVXAobkqd6+pNFAFgVO5opZ9Iu03skAWtAfmUxqww0EwGBUMHq7EXfVKoIIhgEMQ6DGOPSmTsspbUYjvV0slV/0L4V121Dwjt9A+uis4FK7TrnvL/EiGyXY+V9jBCwORG/GKS5Ll/ExExMSOxM9Rmmfm6AtRELYukYwlxEMUrcbSFZF5qBH+XAeerBgfz9uWVVW17rspqnz/8Ap4+z5Xlzpezea3LcvWx0pVY0DV6Mcomz/oHSY/ONXRFEREREeaKMzq2fno6XL8XIbum3HMNR7+zI/h/UVz++WOKP/GubX4tx5vZ1x6PQ2jviCAKN72vPrbrYNyk3dy8dB5oKox1JyWXlMefxect8NFYH0PewglvTj6rSmYOrfRuBclv5X8b7Zs7D0nAgG3yXAxrNDGMNKjH9iFGERCkQ0WNPPXaP1rzaKWmqmYKM74zTWslkDpnUQ5YvVmc/WiYmPWPrqHS+aisSFi217NX+kKvuai1Y6nJI/wC3NnxxOJrxrIifpMxWJtbRfbgYq5rQp0FQrv0MwOlV/Fa1pWK17BxGWSLmG+/nVqv+UXAE7QHM3666NJ0kn7fR9lzRfpjZq4aLgEGvU1gQfLfH4yq1plZsV+muymFagGq1rStaU7R9gqqpDBysB5TYh+frywkhwmSU83GHK3EuigiNIU+nVtWt6WrYY6CHQdPprpUPKJSdoQgxVm5AZQobG8X6taI1mQK+DZxmTAsx5JXd29O5BCFUVYrHXdNdZJtikaj2xm8Z2aamorjpFcaCWpghLXxv0cjOsZQBhsBGYfZhyPlu0aa+uroRmJFZ8DKyYQ7s+aqNp0q6EdhMRMTEqZiCC3xVviW5TuyyaIiPPWGcF1Lr9mzps5dKnGsys4uFlbzmYiJmVtW2tQpqebme9o1AAAQiXEMIexfWI0idcaioUVQKg8nnl85YjLC19Bgl2nOziZifWMwS6jDFw+e2CW0bqQMdBDoOnkZgK8Uk1KRSsVjsbWrWs2mJiY9Y89MS56rwXNozFWysdpMTMTEcffYZA0m34ZYEouZk2Y028vZxnzplBMwi4XsubtXBj0TEqH4yqy/0IqWeUbLd7Pgq4BTx8qJdovXtM+oRnPePGuZFq8ZDERFYiI8tU5hiEut2Wi9ykBzCzpT3+SckIFk3DrMk/mxmqfw5vRJDy5OKTYT44zgnZ2GGvAUCAPlsrdpossqINnVUaG4kq3VGrZ9HUfZ8wZMm01dInZWtFaza3Egz8RzRu0xRRVhm/AErxns6h/I9IIElZ/D6SmAoNXjJCextZts1356YmO0Oehmr5t2jnzsLLyQUpA6UpHlM1r/valf4UrWOy0qM3zXoVQVqiiqpTkCzTWQwquAIlgiAL6QANCkNW+bVFh0o+x+Yt8r4flqnauZLMV4nsaWkB0L3m7nE0xhBXvOTnutnBvHYpYRtImjom8MLsE0stkcVrE3mvmhYcwaK95sJEezGACj19I9etDat2iEFdy4CO3PjGbYy1TNwJwJ26s/QpPaEQnjiBlDJtHp2gtp8XPmcmfD+wpmsZq5vtZ5f2nTUAarAAmr09Ju6SJzjWZEdUTEbidc9TGhdEBnveyHCNprEAuS3ySOHMb6znrToA0Yzt4TLZUGezstcP9UBlnw/WNDnWUr99UzOSbk0VvZoD0AJ0oiZn0jEYrq1aNF0Cmy3FM3RjJvUMPq6eDLJGs+qgKNst9A1I/tYoAljACS/ZOZd77WPp08YFbn5VyV6/wBuTLDY4/q+orDdQWLINWZQfYKscbQAnGAj1XJVb0WbIptGgNEeQhTNIisr5xp01jW91hMnmwCrK5gWjQyklgRLeqLdDYOYPEzKVtBBBCCv8A9Ax/cL8BZFSiCYFKdpwylKo6ZujipjjS3kyzlrLUvKeBvq03382NzAT21JGVXL0M13jbz/ADTHf0s2Kob7lc2M20fSg6DiYp0m2ThsAa66o15vaO0v/wCF/HEotTjWZFuhQIhXNcfh7AyHWxuX8zbuS+7fPH1hlCRmFahDUVfSO1JX+Y708JL/ABE1Fuqy2BQdiFcu1uQKaKJqohgKvVWOu4zdYOdlK5tL+3+itataza2lyTX3Wyocfz0/gLVDPWPnX0Rex4SQTzg+0p27w3yJnjPw9kewhBunpGW0bN5kBCFcdRB61RaWywSiy4KKgGAfc8bPQXMuTp16Qi1jW0gA6z4qnTYHfGOuxkIFX7rihaMc+5CxTot2JRYsjz04RUGCOvjLgVX+MLuuD/4uU8jpbo6L4aNLIx2F3nk93IoPupyoyuU11xdE4Ga8m0S37D1mnpeo7WsMdrfo9W7NNFGlexxtFkj2iifuGXFEqUI2IojUggvq48rnigrXnsukX0MlOOxTACNCrU9w8glpLWVd/wBDrJG+Tjo3fleKv/QnpyXkdKV89MKpHUS27HTg8oNSvnt0fQUbr3dHVbtWVp45Jplz0aiVxMumNnBTp5srmNyFp0vZIexC8DF3LTaqILHahrQ5DWISRQVzQewr4xvXZ1WNy/nrO/jcx13wrB4WXhnssRdhfU2jW7f/AI8b/L8/H/wBQwNLcPXR5NERWIiPHITFMMGSsuuFUAgB89W6DRBZ5uz/ACFEDLRftyjGUdxXyuLYuMWxlfK1q0rNrY1ZfZY27/Q+cArlmo0ZfzzesqNgdDBgdjqp3eUkQq+s1j17rfsViFMkAx0COgh/YrcE1X047Gk+l6z4x3/yuUi9PczMViZnLF77DmqT7vrhqzdmvZZSaiKA1lO5vWL1tSa1rSsVr99Fm1Xllez47S6xtle36LZaGsfNpPZV1QIyqFj9Fp/FKysPs2VgtrlXMh/soAdv0NVvTY2nJ7MCbc8jRcH+g3Hi5uS22Gti3rWxuzqVgTSkj/QaDS6/xgF7TRXKypegUD3ZSWKXv+S/+6432V/+fpnXv+WoPrf/xAA9EAACAQIDBgQDBgQEBwAAAAABAgMEEQASMRMgIUBBURAiMEIFYXEUIzJQUoEGQ2KyM5Gh0lRwcqKxwcL/2gAIAQEACT8A/wCdqyM02ezKpKLkF/MfzWaNIsoSmAHUji7YkeQoti7m7Me5/JI0eoVCYkf8LNiA/D679EujfRvXaxlkEcY7s2H+5iXYwKrXDH3sbfk1KknDg2jr81ODLX/Bx11np0xOskbi4ZfVzZqebaIB3tbjiYSyh5Wd/wBTO5cnxlRWa+VSwBa3YctNKqJ921RFYebsjYSNNiZJy8l2NiCrBSdSfWcQzk5pqU8IZ/8AacK1PVoLTUsvCRD6i3vVRRt9HOGSV4XMU09VfhYdvccV8k7y6tYJluLWW2KyuJRgwDTsRimWV0FlJJ4DFXLTZcoDR6gL0F8V1NVxAqMksZRsvU51xUpGZmyxhja5xUJECbDMdTj4XUVOhZlZEUD6uwwslMpYAiQAlb98hbEqyIwurKbg+tO0SuQHddSt+IGFCoihVA6AYQLxJ4DqxucTGcToZqaa1imt0f1s0FYg+4qo+EkeEEUhOWGr0gqP9rejLeok0jXiVHduwxsBFc7cyKxa3TJYjFSJ4ncNFEYlURAdL9d+NXQ6qwuMIZJcqqmc5hGFHsB08BcHEMIkbM6I3BDIe9sLlzcHQm7I44Mp9NwkaKWZjoAMPPBFMAylfJJlvuQIXWmlUSE8V4rwA9aZA97ZcwviFJY31VhcYnaelAAjMhvIg7E9RviIRFmadn1sNFUfPCKHewYgcSBpc+tLdKh1fJ1DWsfSoXmoFn+zvOuok7gdUwzCippLVTdJpB/KHdV92AABuStZaXYJH0BZ8zN6TzbdQDlWMnH8N1Mp02k/kVWxPQUPTZ/j/wDT4/iyqeCNS7Ki5cCZaGGoziWRru+Q3C+ghWSoexqCLpAq8Sx7k6KMEn1yTCscEQ+Ti5PoyhGmbJEDqzfLA2TCVAdmLEIT0wLFIxm6+Y8TuIXZUJCgXJPbD5p5WaWT5FzfL6UEbN+oqCfA2ligJQ9mxMgSYB6sAWMiromECIosqgWA32CoilmY6ADiThAhmzOqdkJOT11zMASFva5xBGxllaaZblhtGN9Tit+ySvGDCEiMhAJsCq2OKimiqV96lkU/UOBlO+hNSUeSJuwHA4W0aUwjjIbUk3a43dpDRQESvIrWMzDRPp39X/hJcHSDdIAAuScLE7SazObpGO9h+LDGbIVYkEpdwNRlwI3pjCyNtLs/H66gjAAUCwA4AAcjUSwTwtdJEPQ6gjQg4+HJPACQ0rRiQQnuVx8YP2ZUUGmQq0ZA3pbCGJ47Hu53WKsQGq6hf5KYLFY0Cgsbk2Frk+r7qeQf6YAA+yxG31UHdFxVuIVXuWwoVVFgBwAA5WnaeQFQsS6sWYLiamihsTsooAjsSNGJvvAGVXhMan3OJAQu5SNPUy6dEQfqc4jiE0hzzsilQ7nU+sLhgQR8jgWRFCqOwAsN3+RKZAPmVK8q6ootdmNhxwzNKiFYkJuiZtWA7neRzJKjuCFuihOrHHxKoniil2ixSBMtxpoPF5YaKmcKF/AzygXYOOw5EAtDBI4B6lVvhxEY/iSJVRppZ32eC2ROi/iYnRVwCBIiuAdQGF/C5khdZWQauinzLg3SRQy/Q8pLtIYiGhgtZVce5u53onlcWWONBcu7cFXGUSlRnC/hB7DidyoDQrTiOFEPDMT5mbkRcHFMqQ7TPk1Ga+a/HHH4X8OcpCluE025FEYy+WZNGCnRl5SkNRCGvOqnzKnVlGJllikXMrroRux5acSssB6yKvv3HEcDvapkvZtmNVX5thFSNFCqo0AHJTGJ5kKbQaqrcCR87YQLFEgRR9PFiEXQAXZidFUdScOUzjyUo4rEvzPV+/KgxmoOZ1U2Qv1YL0J3J2i23ByupTqMKFRFCqALAAeL5Q8ixrYElmc2AAGNByRAAFyToBuoGaKTOnyNrXwzFpamRowfbEDZBypIuNRqMPeejkCO/V0IujHwNo4kLsfkMXBnkaSND7I9FXcZ89Mzuie0l1y3PJ/49fKsCYZiIokS5Nz5Rbca1NTRRi7CwzyIv/gLi5kmjaRCBdcq4eMgxO5APmBQqP8A65WNRJKqh3A4sEvYHwTaNNFtmTiBlRxbAsBoPFgKmqlWGLuC2rfsOT+BRSKDZJ3qF/sxXRUz/DIwyvTAuiO+P4h+JS/uFxV1ZgoomeqZ5i3jcFwguPmwGJAaakBpIhaxzIBnxKZ0eprhUy/9YzKPoCnKi8yRFkw4bawq9xpxGEZNpLsoUbpFHuT3SBGEcNve2r8mbAAknCjbV9XJMzDqoNlwbJDE8jH5ILnHGevmLlvGNZOFwjaErxGONbC21kS4O1ZnLyJjzz01ZNZSej+ZcKFJLBl1AZTYjlIntLSO+09pF8hX68cPaomtSrKPaAPM+CSFUAEm54dz4sFHcmwx0HJreYwOEFr3JGLWhiVOGAweqKQZxoiSNZ2PythbJGioo7BRuxIJHADuFAZgugJxISlTPtih9rsLNyUy7fZiTZ9cpJF/AES1u1s66oIlvhr7CUBfqxYncAMf2iJpuNjs1a5tzqFgayBXANuBPJSPFUx19qUldIoRb/J/CQLHTGVn7kstgMKAXYs1ha5PU7jAupAYdri4511SRihRiNMjBuQjmldJRSsyXdQSAx4A2AHU4jCU0CBhIeGbhc4VVlkXPlUaKdBh1YGd2hIAFom4gEDtuozZFLZUF2awvYDvieOWeWpeSZdHXoodeVlvSPCLJ2IjD+AcyVs4hiCjfzMtNJMkiqPNeEkEAYBCyIrgNqAwvx9RM7qAEW17sxCjEqMjoDnX8OLoJfi8JlKmxczOWbDMJ80c9UQ+YAO9zGvysMTIjycI06m3YYmUoSVjjT8IQHgST7u+8rLURi2dGK5h2bEJpqxQSik3SVP1I3KCySU2dPoIinhZ4qCleokHZ237AkLUw8LC8gCs2IRsJYQ8EqKbeXgyN8/UgBpAxjikbWW2pA7YhNqat2BVrMWRHxNAggmSZC8gSzrcKcMaqWaoSKXZ6pYHzNfRcF3mmbi8huUXoidl9CBJJ4QzQ5uHnt36XxGUZ41ZkJuVJFyOTRBsFnjmOjFXXy+AUhClNG43xpSu4+sYz4FtrCklu2YXwgMtHJPHKi6F4ei4N0lRXX6MMU4USXNNNHco+XVG7MMKpeKF5AjG18gvid6ae8kca6SJI8RODsZIVdZJVsQQujrgPtaVlRnb+YCLhx9dwkLLGyEjoGFsVUEcQ+6SxAF08uRQMSzRfZ6xBLIVKGyfpxSRzuzFnknUSuzdyWxEiL2VQo9GZBWyITGpBNv6jbDM6xLbO5uzMeJY/MnlR55viM+Y9wh9FM4X4j9obt96quuIRGCxYoulziVjHUHaKrKVMcw4OuGMcwU7OVNVxEdsk5oplQ584yMkU2M5l2iB0HVTinDNVVkdOz26MN1QAWZjbuxuT6dHJUSSvYBeAUdWZsKud7Z2A4m3K/pOBZ2Qs37sfRjCtM+eQjqwULf/ACHhTWqIyCk0bFG3IDVtAwcyqoZInHrzR7fLm2eYZsve2Nep5bhmUjBvsYI4r98i29V7BRc4q2h+HPH5o0BSSX6k6LiFY0HQetMryILuFN8o+eFzTSMWlnbi8hPc/kZAUC5J4AAY8lMhtJWYmkla5Z5HNyzHU+vNJDGx87x8GK9gcU6RJ2Ua8w6JVAXjLrdfocR7KdHMc8V7lHX053GzyCdUJU2cXC3xEkaKLKiAKB+w9eU01DE+R6gDzykfiEeC5VFsC7Fm/cnmrhX++AXQFTY+nHC0G0zvKj3YSkAFXX1zJlMZvs+DkdlxGI4mhXLHe+QD282LJspP709I2cqQh7E4IZhcu+mZ24k8gMsau7Ads7FjzYs9nP8A3+krtLIrSG1rIi9W5EXpqkvE47NqDzcTSQV6Gnnt/KdiGD+kjiFqaERt7Ta97ciiu6+ZA3AZsABioLAG4B/JFJppIZcxC3s6kWLHkm4QqkkJCW8j8zOkSPIEDNoWbQYkR1OjKQRvSiNC6oCerMbADcQFanblm6rslB5JTtdiYge6k35mmWaI8Srd8fE6yhcdm2sWEQToxUtGbrIBo47X3fN8O+Fm7t0lqNyZdvDHNkiuLlZMoLclIySiMsjBstivHBB2sKsbaX685LnmTi6IL5B/UdB4AtXVbiClQaljq30XBuwu0j9XdtTuIBHHTpBBppq3J5VEZylV6E8eamSKJdXbBko6Btaoi0sy9ox7R/ViPIlyx6liepJ8P8GINT0I/p0aTcteGFmUNoX9ow2acRIJW7uBxPJt9zULTMnyZAVbmSKqtPBYIzex/rwxIW2wohwRMAADgB4PlmryY2ccTHD73wgSKNQqKOgG4A8yFakLfQIbAnlEJSeZYi1wAhbQm/MDMrqVYdweBxTXl6SSHOy+JAUC5J0AGLgT3ipF/TAnu+rndsrtEEZgOJANxj4dJPS2F5oTndT80w5ZD3BBB5JA8qyRvGpNgWRr4FjYX5t7SVzkSEapAnF2wLIihVHYDfjy/ZkgJbuZgTyXcYUK0sQLKNA2h5o2Awgz1FooLjikCf7jxPoJaWVEVz3Ed7f3cm94Y3kCi97EuWK/sTzWhFjgWAFgPQj8r08kuf5oyrb/AF5OF1iNX9oRzo5mUFrfkcBZ53eNWGqgC55NXCTzCISDRWbQH6/kcq7eC8mQagOCtzyaho5FKsDiRnZECFm1Nup/IlYGaZI1B/RAgXlJmEAppo50vwPb8hUNKgRYx3eRggxbaFRntpfrblI1aMuRKxNiq24W/IbF6l2ES/OMF7/tblZTHKCrow/UhuAcRbOVkBdP0t2/IO1Z/YOS7DcY5DTOSvS+Yet//8QAFBEBAAAAAAAAAAAAAAAAAAAAsP/aAAgBAgEBPwA2T//EABQRAQAAAAAAAAAAAAAAAAAAALD/2gAIAQMBAT8ANk//2Q=="}});var c=e(6991),l=e.n(c),p=e(3951),d=e.n(p),u={insert:"head",singleton:!1};l()(d(),u);d().locals;const m=(0,e(8678).A)(A,a,[],!1,null,null,null).exports},9642:(n,t,e)=>{"use strict";e.r(t),e.d(t,{default:()=>h});var a=function(){var n=this,t=n._self._c;n._self._setupProxy;return t("div",{staticClass:"user-info-panel"},[n.isLogin&&!0===n.userInfo.isLogin?t("div",{staticClass:"logged-in"},[t("a",{staticClass:"name",attrs:{target:"_blank",href:"https://space.bilibili.com/"}},[n._v(n._s(n.userInfo.uname))]),n._v(" "),t("a",{staticClass:"type",attrs:{target:"_blank",href:"https://account.bilibili.com/account/big"}},[n._v(n._s(n.userType))]),n._v(" "),1===n.userInfo.vipStatus&&2===n.userInfo.vipType?t("div",{staticClass:"privileges row"},[t("div",{staticClass:"b-coin",class:{received:n.privileges.bCoin.received},attrs:{title:"有效期限: "+n.privileges.bCoin.expire},on:{click:function(t){return n.privilegeReceive(1)}}},[n._v("\n "+n._s(n.privileges.bCoin.received?"已领取B币":"领取B币")+"\n ")]),n._v(" "),t("div",{staticClass:"coupons",class:{received:n.privileges.coupons.received},attrs:{title:"有效期限: "+n.privileges.coupons.expire},on:{click:function(t){return n.privilegeReceive(2)}}},[n._v("\n "+n._s(n.privileges.coupons.received?"已领取优惠券":"领取优惠券")+"\n ")])]):n._e(),n._v(" "),t("div",{staticClass:"level-info row"},[t("a",{staticClass:"level",attrs:{target:"_blank",title:"等级",href:"https://account.bilibili.com/account/record"}},[n.userInfo.is_senior_member?t("VIcon",{staticClass:"level-icon plus",attrs:{icon:"lv"+n.userInfo.level_info.current_level+"-plus",colored:"",size:30}}):t("VIcon",{staticClass:"level-icon",attrs:{icon:"lv"+n.userInfo.level_info.current_level}})],1),n._v(" "),t("span",{staticClass:"level-progress-label"},[n._v(n._s(n.userInfo.level_info.current_exp)+" / "+n._s(n.userInfo.level_info.next_exp))])]),n._v(" "),t("div",{staticClass:"level-progress separator"},[t("div",{staticClass:"level-progress-thumb",style:n.levelProgressStyle})]),n._v(" "),t("div",{staticClass:"items"},[t("a",{staticClass:"item",attrs:{target:"_blank",title:"手机验证",href:"https://passport.bilibili.com/account/security#/bindphone"}},[t("VIcon",{attrs:{icon:"bind-phone",size:20}}),n._v(" "),n.userInfo.mobile_verified?t("VIcon",{attrs:{icon:"ok",size:18}}):t("VIcon",{attrs:{icon:"cancel",size:18}})],1),n._v(" "),t("a",{staticClass:"item",attrs:{target:"_blank",title:"邮箱验证",href:"https://passport.bilibili.com/account/security#/bindmail"}},[t("VIcon",{attrs:{icon:"bind-email",size:20}}),n._v(" "),n.userInfo.email_verified?t("VIcon",{attrs:{icon:"ok",size:18}}):t("VIcon",{attrs:{icon:"cancel",size:18}})],1),n._v(" "),t("a",{staticClass:"item",attrs:{target:"_blank",href:"https://account.bilibili.com/site/coin",title:"硬币"}},[t("VIcon",{attrs:{icon:"coin-outline",size:20}}),n._v(" "),t("span",[n._v(n._s(n.userInfo.money))])],1),n._v(" "),t("a",{staticClass:"item",attrs:{target:"_blank",href:"https://pay.bilibili.com/bb_balance.html",title:"B币"}},[t("VIcon",{attrs:{icon:"b-coin-outline",size:20}}),n._v(" "),t("span",[n._v(n._s(n.userInfo.wallet.bcoin_balance))])],1)]),n._v(" "),t("div",{staticClass:"separator"}),n._v(" "),t("div",{staticClass:"stats"},[t("a",{staticClass:"stats-item",attrs:{href:"https://space.bilibili.com/"+n.userInfo.mid+"/fans/follow",target:"_blank"}},[t("div",{staticClass:"stats-number"},[n._v(n._s(n._f("count")(n.stat.following)))]),n._v("\n 关注\n ")]),n._v(" "),t("a",{staticClass:"stats-item",attrs:{href:"https://space.bilibili.com/"+n.userInfo.mid+"/fans/fans",target:"_blank"}},[t("div",{staticClass:"stats-number"},[n._v(n._s(n._f("count")(n.stat.follower)))]),n._v("\n 粉丝\n ")]),n._v(" "),t("a",{staticClass:"stats-item",attrs:{href:"https://space.bilibili.com/"+n.userInfo.mid+"/dynamic",target:"_blank"}},[t("div",{staticClass:"stats-number"},[n._v(n._s(n._f("count")(n.stat.dynamic_count)))]),n._v("\n 动态\n ")])]),n._v(" "),t("div",{staticClass:"separator"}),n._v(" "),t("a",{staticClass:"bv-custom-navbar-operation",attrs:{target:"_blank",href:"https://account.bilibili.com/account/home"}},[t("VIcon",{attrs:{icon:"profile"}}),n._v("个人中心\n ")],1),n._v(" "),t("a",{staticClass:"bv-custom-navbar-operation",attrs:{target:"_blank",href:"https://member.bilibili.com/platform/upload-manager/article"}},[t("VIcon",{attrs:{icon:"posts"}}),n._v("投稿管理\n ")],1),n._v(" "),t("a",{staticClass:"bv-custom-navbar-operation",attrs:{target:"_blank",href:"https://pay.bilibili.com/"}},[t("VIcon",{attrs:{icon:"wallet"}}),n._v("B币钱包\n ")],1),n._v(" "),t("a",{staticClass:"bv-custom-navbar-operation",attrs:{target:"_blank",href:"https://link.bilibili.com/p/center/index"}},[t("VIcon",{attrs:{icon:"live-center"}}),n._v("直播中心\n ")],1),n._v(" "),t("a",{staticClass:"bv-custom-navbar-operation",attrs:{target:"_blank",href:"https://show.bilibili.com/orderlist"}},[t("VIcon",{attrs:{icon:"order-center"}}),n._v("订单中心\n ")],1),n._v(" "),t("a",{staticClass:"bv-custom-navbar-operation",attrs:{target:"_blank",href:"https://www.bilibili.com/v/cheese/mine"}},[t("VIcon",{attrs:{icon:"course"}}),n._v("我的课程\n ")],1),n._v(" "),t("div",{staticClass:"logout grey-button",on:{click:function(t){return n.logout()}}},[n._v("退出登录")])]):n._e(),n._v(" "),n.isLogin?n._e():t("div",{staticClass:"not-logged-in"},[t("h1",{staticClass:"welcome"},[n._v("欢迎来到 bilibili")]),n._v(" "),t("a",{staticClass:"signup grey-button",attrs:{href:"https://passport.bilibili.com/register/phone.html"}},[n._v("注册")]),n._v(" "),t("a",{staticClass:"login theme-button",attrs:{href:"https://passport.bilibili.com/login"}},[n._v("登录")])])])};a._withStripped=!0;var o=e(7847),r=e(2082),i=e(765),s=e(416),A=e(119),c=e(4253);const l=Vue.extend({components:{VIcon:coreApis.ui.VIcon},filters:{count:r.formatCount},mixins:[c.U],data:()=>({userInfo:{},stat:{},isLogin:Boolean((0,o.getUID)()),privileges:{bCoin:{received:!1,expire:""},coupons:{received:!1,expire:""}}}),computed:{level(){const n=`lv${this.userInfo.level_info.current_level}`;return this.userInfo.is_senior_member?{icon:`${n}-plus`,colored:!0}:{icon:n}},userType(){if(!this.userInfo.isLogin)return"未登录";if(0===this.userInfo.level_info.current_level)return"注册会员";if(1===this.userInfo.vipStatus){if(1===this.userInfo.vipType)return this.userInfo.vip_theme_type?"小会员":"大会员";if(2===this.userInfo.vipType)return this.userInfo.vip_theme_type?"年度小会员":"年度大会员"}return"正式会员"},levelProgressStyle(){if(!this.userInfo.isLogin)return{};const{current_exp:n,current_min:t,next_exp:e}=this.userInfo.level_info;return{transform:`scaleX(${(n-t)/(e-t)})`}}},async created(){const n=await(0,A.getUserInfo)();this.userInfo=n;const t=await(0,s.getJsonWithCredentials)("https://api.bilibili.com/x/web-interface/nav/stat");if(this.stat=t.data||{},this.isLogin&&2===this.userInfo.vipType){const n=await(0,s.getJsonWithCredentials)("https://api.bilibili.com/x/vip/privilege/my");if(0===n.code){const t=n.data.list.find((n=>1===n.type));this.privileges.bCoin.received=1===t.state,this.privileges.bCoin.expire=new Date(1e3*t.expire_time).toLocaleDateString();const e=n.data.list.find((n=>2===n.type));this.privileges.coupons.received=1===e.state,this.privileges.coupons.expire=new Date(1e3*e.expire_time).toLocaleDateString()}}},methods:{async privilegeReceive(n){const t={1:"bCoin",2:"coupons"};if(this.privileges[t[n]].received)return;this.privileges[t[n]].received=!0;const e=(0,o.getCsrf)(),a=await(await fetch("https://api.bilibili.com/x/vip/privilege/receive",{credentials:"include",headers:{"content-type":"application/x-www-form-urlencoded"},body:`type=${n}&csrf=${e}`,method:"POST"})).json();console.log(a),0===a.code?"bCoin"===t[n]&&(this.userInfo.wallet.bcoin_balance+=5):69801===a.code||(this.privileges[t[n]].received=!1,(0,i.logError)(a.message))},async logout(){const n=await(0,s.postTextWithCredentials)("https://passport.bilibili.com/login/exit/v2",(0,o.formData)({biliCSRF:(0,o.getCsrf)()})),t=lodash.get(JSON.parse(n),"data.redirectUrl","");t&&window.location.assign(t)}}});var p=e(6991),d=e.n(p),u=e(4081),m=e.n(u),b={insert:"head",singleton:!1};d()(m(),b);m().locals;const h=(0,e(8678).A)(l,a,[],!1,null,null,null).exports},1232:(n,t,e)=>{"use strict";e.r(t),e.d(t,{default:()=>b});var a=function(){var n=this,t=n._self._c;n._self._setupProxy;return t("div",{staticClass:"watchlater-list"},[t("div",{staticClass:"header"},[t("div",{staticClass:"watchlater-list-summary"},[n._v("共 "+n._s(n.filteredCards.length)+" 个")]),n._v(" "),t("div",{staticClass:"search"},[t("TextBox",{attrs:{linear:"",placeholder:"搜索"},model:{value:n.search,callback:function(t){n.search=t},expression:"search"}})],1),n._v(" "),t("a",{staticClass:"operation",attrs:{target:"_blank",href:"https://www.bilibili.com/medialist/play/watchlater"}},[t("VButton",{staticClass:"round-button",attrs:{title:"播放全部",round:""}},[t("VIcon",{attrs:{icon:"mdi-play",size:18}})],1)],1),n._v(" "),t("a",{staticClass:"operation",attrs:{target:"_blank",href:"https://www.bilibili.com/watchlater/#/list"}},[t("VButton",{staticClass:"round-button",attrs:{title:"查看更多",round:""}},[t("VIcon",{attrs:{icon:"mdi-dots-horizontal",size:18}})],1)],1)]),n._v(" "),n.loading?t("VLoading"):n.loading||0!==n.cards.length?t("transition-group",{staticClass:"watchlater-list-content",attrs:{name:"cards",tag:"div"}},n._l(n.filteredCards,(function(e,a){return t("div",{key:e.aid,staticClass:"watchlater-card"},[t("a",{staticClass:"watchlater-cover-container",attrs:{target:"_blank",href:e.href}},[t("DpiImage",{staticClass:"cover",attrs:{src:e.coverUrl,size:{width:130,height:85}}}),n._v(" "),t("div",{staticClass:"floating remove",attrs:{title:"移除"},on:{click:function(t){return t.preventDefault(),n.remove(e.aid,a)}}},[t("VIcon",{attrs:{icon:"mdi-close",size:16}})],1),n._v(" "),t("div",{staticClass:"floating duration"},[n._v(n._s(e.durationText))]),n._v(" "),e.totalPages>1?t("div",{staticClass:"floating pages"},[n._v("\n "+n._s(e.currentPage)+"P / "+n._s(e.totalPages)+"P\n ")]):n._e(),n._v(" "),e.percent?t("div",{staticClass:"progress",style:{width:100*e.percent+"%"}}):n._e()],1),n._v(" "),t("a",{staticClass:"title",attrs:{target:"_blank",href:e.href,title:e.title}},[n._v(n._s(e.title))]),n._v(" "),t("div",{staticClass:"info-row"},[t("a",{staticClass:"up",attrs:{target:"_blank",href:"https://space.bilibili.com/"+e.upID,title:e.upName}},[t("DpiImage",{staticClass:"face",attrs:{src:e.upFaceUrl,size:20}}),n._v(" "),t("div",{staticClass:"name"},[n._v(n._s(e.upName))])],1),n._v(" "),e.complete?t("div",{staticClass:"viewed"},[n._v("已观看")]):n._e()])])})),0):t("VEmpty")],1)};a._withStripped=!0;var o=e(4905),r=e(2082);const i=coreApis.componentApis.video.watchlater;var s=e(1164),A=e(4253);const c=Vue.extend({components:{VLoading:s.VLoading,VEmpty:s.VEmpty,TextBox:s.TextBox,VButton:s.VButton,VIcon:s.VIcon,DpiImage:s.DpiImage},mixins:[A.U],data(){const n=(0,o.getComponentSettings)("watchlaterRedirect");return{watchlaterList:i.watchlaterList,loading:!0,cards:[],filteredCards:[],search:"",redirect:n.enabled&&n.options.navbar}},watch:{search(){this.updateFilteredCards()}},async created(){try{await this.updateList()}finally{this.loading=!1}},methods:{toggleWatchlater:i.toggleWatchlater,popupRefresh(){this.updateList()},async updateList(){const n=await(0,i.getWatchlaterList)(!0);if(!n)return void(this.cards=[]);const t=n=>this.redirect?`https://www.bilibili.com/video/${n.bvid}/`:`https://www.bilibili.com/list/watchlater?bvid=${n.bvid}`,e=n.map((n=>{const e=n.pages?.find((t=>t.cid===n.cid)),a=e?.duration??n.duration,o=(()=>{if(!e||!this.redirect)return t(n);const{page:a}=e;return a<=1?t(n):`${t(n)}?p=${a}`})(),i=Math.round(1e3*n.progress/a)/1e3;return{aid:n.aid,href:o,coverUrl:n.pic.replace("http:","https:"),durationText:(0,r.formatDuration)(a),duration:a,complete:n.progress<0||i>.95,title:n.title,upName:n.owner.name,upFaceUrl:n.owner.face.replace("http:","https:"),upID:n.owner.mid,currentPage:e?.page,totalPages:n.videos,percent:i}}));this.cards=e,this.search?this.updateFilteredCards():this.filteredCards=e},async remove(n,t){this.cards.splice(t,1),await this.toggleWatchlater(n)},updateFilteredCards:lodash.debounce((function(){const n=this.search.toLowerCase();this.$el.querySelector(".watchlater-list-content").scrollTo(0,0),this.filteredCards=this.cards.filter((t=>t.title.toLowerCase().includes(n)||t.upName.toLowerCase().includes(n)))}),100)}});var l=e(6991),p=e.n(l),d=e(5098),u=e.n(d),m={insert:"head",singleton:!1};p()(u(),m);u().locals;const b=(0,e(8678).A)(c,a,[],!1,null,null,null).exports},8678:(n,t,e)=>{"use strict";function a(n,t,e,a,o,r,i,s){var A,c="function"==typeof n?n.options:n;if(t&&(c.render=t,c.staticRenderFns=e,c._compiled=!0),a&&(c.functional=!0),r&&(c._scopeId="data-v-"+r),i?(A=function(n){(n=n||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(n=__VUE_SSR_CONTEXT__),o&&o.call(this,n),n&&n._registeredComponents&&n._registeredComponents.add(i)},c._ssrRegister=A):o&&(A=s?function(){o.call(this,(c.functional?this.parent:this).$root.$options.shadowRoot)}:o),A)if(c.functional){c._injectStyles=A;var l=c.render;c.render=function(n,t){return A.call(t),l(n,t)}}else{var p=c.beforeCreate;c.beforeCreate=p?[].concat(p,A):[A]}return{exports:n,options:c}}e.d(t,{A:()=>a})},3832:n=>{function t(n){var t=new Error("Cannot find module '"+n+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=3832,n.exports=t},3711:n=>{"use strict";n.exports="使用脚本提供的顶栏替换原版的主站顶栏 (非主站不替换).\n\n启用后还可以在反广告插件 (例如 ABP) 中配置禁止原版顶栏的消息 iframe 以提升性能:\n- *://message.bilibili.com/pages/nav/index_new_pc_sync\n- *://message.bilibili.com/pages/nav/index_new_sync\n\n选项说明:\n- `全局固定`: 将顶栏固定显示, 即使页面向下滚动也仍然可见. (除了一部分有 b 站定制顶栏的页面会忽略此选项)\n- `主题色填充`: 使用通用设置中的主题颜色填充顶栏的背景.\n- `透明填充`: 在首页和主站的部分页面中, 当存在顶部横幅图片时, 顶栏背景将变为透明 + 阴影的样式.\n- `背景模糊`: 启用背景模糊效果, 会使背景颜色变得半透明, 注意这个效果非常非常消耗图形性能, 慎用.\n- `投影`: 在顶栏下方增加一小段投影效果.\n- `使用季节 Logo`: 使用 b 站首页的特殊 Logo 图片替换顶栏的 Logo 图, 通常会对应当前季节, 特殊活动期间可能会有变化导致看不清. (比如搞了个全白的 Logo, 而顶栏正好也是白色的)\n- `触摸模式`: 启用后顶栏的一级入口点击时不进行跳转, 方便触屏使用.\n- `新标签页打开`: 控制顶栏内链接是否在新标签页打开.\n- `自动刷新数据`: 启用后, 部分有弹窗的顶栏入口在鼠标经过时会自动刷新数据.\n- `顶栏高度`: 自定义顶栏的高度 (b 站原版的为 64px)\n- `消息提醒样式`: 自定义顶栏入口的消息提醒样式.\n- `搜索栏宽度`: 自定义搜索栏占顶栏的比例.\n- `链接对齐样式`: 自定义纯链接弹窗内链接文字的对齐样式.\n"},2259:n=>{"use strict";n.exports=globalThis.Vue},416:n=>{"use strict";n.exports=coreApis.ajax},1649:n=>{"use strict";n.exports=coreApis.componentApis.feeds.api},2930:n=>{"use strict";n.exports=coreApis.componentApis.feeds.notify},8217:n=>{"use strict";n.exports=coreApis.componentApis.utils.categories.data},322:n=>{"use strict";n.exports=coreApis.pluginApis.data},4905:n=>{"use strict";n.exports=coreApis.settings},1164:n=>{"use strict";n.exports=coreApis.ui},119:n=>{"use strict";n.exports=coreApis.userInfo},2082:n=>{"use strict";n.exports=coreApis.utils.formatters},765:n=>{"use strict";n.exports=coreApis.utils.log},2007:n=>{"use strict";n.exports=coreApis.utils.sort},7847:n=>{"use strict";n.exports=coreApis.utils}},a={};function o(n){var t=a[n];if(void 0!==t)return t.exports;var r=a[n]={id:n,exports:{}};return e[n](r,r.exports,o),r.exports}o.n=n=>{var t=n&&n.__esModule?()=>n.default:()=>n;return o.d(t,{a:t}),t},t=Object.getPrototypeOf?n=>Object.getPrototypeOf(n):n=>n.__proto__,o.t=function(e,a){if(1&a&&(e=this(e)),8&a)return e;if("object"==typeof e&&e){if(4&a&&e.__esModule)return e;if(16&a&&"function"==typeof e.then)return e}var r=Object.create(null);o.r(r);var i={};n=n||[null,t({}),t([]),t(t)];for(var s=2&a&&e;"object"==typeof s&&!~n.indexOf(s);s=t(s))Object.getOwnPropertyNames(s).forEach((n=>i[n]=()=>e[n]));return i.default=()=>e,o.d(r,i),r},o.d=(n,t)=>{for(var e in t)o.o(t,e)&&!o.o(n,e)&&Object.defineProperty(n,e,{enumerable:!0,get:t[e]})},o.o=(n,t)=>Object.prototype.hasOwnProperty.call(n,t),o.r=n=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(n,"__esModule",{value:!0})},o.nc=void 0;var r={};return(()=>{"use strict";o.d(r,{component:()=>A});const n=coreApis.componentApis.define;var t=o(4905),e=o(7847);let a=function(n){return n.Number="数字",n.Hidden="隐藏",n.Dot="点状",n}({});let i=function(n){return n.Left="左侧对齐",n.Center="居中对齐",n.Right="右侧对齐",n}({});const s=(0,n.defineOptionsMetadata)({hidden:{hidden:!0,defaultValue:["blank1","blank4","drawing","music","gamesIframe","bangumi","match","creations"],displayName:"隐藏的元素"},order:{hidden:!0,defaultValue:{},displayName:"元素顺序"},padding:{hidden:!0,defaultValue:10,displayName:"边缘间距(%)"},globalFixed:{defaultValue:!1,displayName:"全局固定"},fill:{defaultValue:!1,displayName:"主题色填充"},transparent:{defaultValue:!0,displayName:"透明填充"},blur:{defaultValue:!1,displayName:"背景模糊"},shadow:{defaultValue:!0,displayName:"投影"},seasonLogo:{defaultValue:!1,displayName:"使用季节 Logo"},themeLogo:{defaultValue:!0,displayName:"使用主题色 Logo"},touch:{defaultValue:!1,displayName:"触摸模式"},openInNewTab:{defaultValue:!0,displayName:"新标签页打开"},refreshOnPopup:{defaultValue:!0,displayName:"自动刷新数据"},height:{defaultValue:50,validator:(0,e.getNumberValidator)(50,64),displayName:"顶栏高度 (px)"},openInNewTabOverrides:{defaultValue:{logo:!1},displayName:"新标签页打开设置覆盖",hidden:!0},showDeadVideos:{defaultValue:!1,displayName:"显示已失效视频",hidden:!0},notifyStyle:{defaultValue:a.Number,dropdownEnum:a,displayName:"消息提醒样式"},linkPopupContentAlignStyle:{defaultValue:i.Left,dropdownEnum:i,displayName:"链接对齐样式"},searchBarWidth:{defaultValue:15,slider:{min:8,max:64},displayName:"搜索栏宽度 (%)"}}),A=(0,n.defineComponentMetadata)({name:"customNavbar",displayName:"自定义顶栏",entry:async n=>{let{metadata:{name:r}}=n;if((0,e.isIframe)()||(0,e.isNotHtml)())return;(0,t.addComponentListener)(`${r}.padding`,(n=>{document.documentElement.style.setProperty("--navbar-bounds-padding",`${n}%`)}),!0),(0,t.addComponentListener)(`${r}.searchBarWidth`,(n=>{document.documentElement.style.setProperty("--navbar-search-width",`${n}vw`)}),!0);["https://space.bilibili.com","https://www.bilibili.com/read","https://www.bilibili.com/opus","https://www.bilibili.com/account/history","https://www.bilibili.com/history","https://www.bilibili.com/v/topic/detail","https://www.bilibili.com/watchlater/list"].some((n=>(0,e.matchUrlPattern)(n)))||(0,t.addComponentListener)(`${r}.globalFixed`,(n=>{document.body.classList.toggle("fixed-navbar",n)}),!0),(0,e.matchUrlPattern)("https://www.bilibili.com/account/history")&&document.body.classList.add("history-page"),(()=>{const{options:n}=(0,t.getComponentSettings)("customNavbar");[["gamesIframe","games"],["livesIframe","lives"],["mangaIframe","manga"]].forEach((t=>{let[e,a]=t;const o=n.order[e];void 0!==o&&(n.order[a]=o,delete n.order[e])}))})();const s=await Promise.resolve().then(o.bind(o,531)),A=(0,e.mountVueComponent)(s);document.body.insertAdjacentElement("beforeend",A.$el),["fill","shadow","blur"].forEach((n=>{(0,t.addComponentListener)(`${r}.${n}`,(t=>A.toggleStyle(t,n)),!0)})),(()=>{const n={[a.Number]:"number",[a.Hidden]:"hidden",[a.Dot]:"dot"};(0,t.addComponentListener)("customNavbar.notifyStyle",(t=>{document.documentElement.setAttribute("data-navbar-notify-style",n[t])}),!0)})(),(()=>{const n={[i.Left]:"left",[i.Center]:"center",[i.Right]:"right"};(0,t.addComponentListener)("customNavbar.linkPopupContentAlignStyle",(t=>{document.documentElement.setAttribute("data-navbar-link-popup-content-align-style",n[t])}),!0)})()},tags:[componentsTags.style,componentsTags.general],options:s,urlInclude:["//www.bilibili.com","//t.bilibili.com","//search.bilibili.com","//space.bilibili.com","//account.bilibili.com","//pay.bilibili.com","//member.bilibili.com","//big.bilibili.com","//message.bilibili.com","//app.bilibili.com","//passport.bilibili.com","//live.bilibili.com/blackboard/","//music.bilibili.com"],urlExclude:["//t.bilibili.com/vote/h5/index/#/result","//t.bilibili.com/lottery/h5/index/#/result","//member.bilibili.com/video/upload","//member.bilibili.com/platform","//space.bilibili.com/ajax/","//www.bilibili.com/h5/comment/","//member.bilibili.com/v2","//game.bilibili.com/","//www.bilibili.com/mooc/","//www.bilibili.com/bubble/publish"],instantStyles:[{name:"custom-navbar-style",style:()=>Promise.resolve().then(o.t.bind(o,2664,23)),important:!0}],unload:async()=>{document.querySelectorAll(".custom-navbar,.custom-navbar-settings").forEach((n=>n.style.display="none"))},reload:async()=>{document.querySelectorAll(".custom-navbar").forEach((n=>n.style.display="flex"));document.querySelectorAll(".custom-navbar-settings").forEach((n=>n.style.display="block"))},widget:{component:()=>Promise.resolve().then(o.bind(o,5238)).then((n=>n.default))},extraOptions:()=>Promise.resolve().then(o.bind(o,5765)).then((n=>n.default)),plugin:{displayName:"自定义顶栏 - 功能扩展",setup:n=>{let{addData:t}=n;t("launchBar.actions",(n=>{n.push({name:"navbarSettings",getActions:async()=>[{name:"自定义顶栏设置",description:"Custom Navbar Settings",icon:"mdi-sort",action:async()=>{const{toggleNavbarSettings:n}=await Promise.resolve().then(o.bind(o,4848));n()}}]})}))}},commitHash:"d87d69cfb9d7e0124bd90a06fec4569bd61e02c5",coreVersion:"2.10.7",description:(()=>{const n=o(3832);return{...Object.fromEntries(n.keys().map((t=>[t.match(/index\.(.+)\.md$/)[1],n(t)]))),"zh-CN":()=>Promise.resolve().then(o.t.bind(o,3711,17)).then((n=>n.default))}})()})})(),r=r.component})())); //# sourceMappingURL=https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/registry/dist/components/style/custom-navbar.js.map \ No newline at end of file diff --git a/bb-evolved/registry/dist/components/style/dark-mode.js b/bb-evolved/registry/dist/components/style/dark-mode.js index ee0d988e53..06c466e76a 100644 --- a/bb-evolved/registry/dist/components/style/dark-mode.js +++ b/bb-evolved/registry/dist/components/style/dark-mode.js @@ -8,5 +8,5 @@ n=[[null,n,""]]);var a={};if(o)for(var r=0;r{"use strict";function e(n,e){return function(n){if(Array.isArray(n))return n}(n)||function(n,e){var t=n&&("undefined"!=typeof Symbol&&n[Symbol.iterator]||n["@@iterator"]);if(null==t)return;var o,a,r=[],i=!0,l=!1;try{for(t=t.call(n);!(i=(o=t.next()).done)&&(r.push(o.value),!e||r.length!==e);i=!0);}catch(n){l=!0,a=n}finally{try{i||null==t.return||t.return()}finally{if(l)throw a}}return r}(n,e)||function(n,e){if(!n)return;if("string"==typeof n)return t(n,e);var o=Object.prototype.toString.call(n).slice(8,-1);"Object"===o&&n.constructor&&(o=n.constructor.name);if("Map"===o||"Set"===o)return Array.from(n);if("Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o))return t(n,e)}(n,e)||function(){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 t(n,e){(null==e||e>n.length)&&(e=n.length);for(var t=0,o=new Array(e);t{var o=t(858);o&&o.__esModule&&(o=o.default),n.exports="string"==typeof o?o:o.toString()},660:(n,e,t)=>{var o=t(178);o&&o.__esModule&&(o=o.default),n.exports="string"==typeof o?o:o.toString()},934:(n,e,t)=>{var o=t(912);o&&o.__esModule&&(o=o.default),n.exports="string"==typeof o?o:o.toString()},576:n=>{"use strict";n.exports=coreApis.lifeCycle},905:n=>{"use strict";n.exports=coreApis.settings}},o={};function a(n){var e=o[n];if(void 0!==e)return e.exports;var r=o[n]={id:n,exports:{}};return t[n](r,r.exports,a),r.exports}e=Object.getPrototypeOf?n=>Object.getPrototypeOf(n):n=>n.__proto__,a.t=function(t,o){if(1&o&&(t=this(t)),8&o)return t;if("object"==typeof t&&t){if(4&o&&t.__esModule)return t;if(16&o&&"function"==typeof t.then)return t}var r=Object.create(null);a.r(r);var i={};n=n||[null,e({}),e([]),e(e)];for(var l=2&o&&t;"object"==typeof l&&!~n.indexOf(l);l=e(l))Object.getOwnPropertyNames(l).forEach((n=>i[n]=()=>t[n]));return i.default=()=>t,a.d(r,i),r},a.d=(n,e)=>{for(var t in e)a.o(e,t)&&!a.o(n,t)&&Object.defineProperty(n,t,{enumerable:!0,get:e[t]})},a.o=(n,e)=>Object.prototype.hasOwnProperty.call(n,e),a.r=n=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(n,"__esModule",{value:!0})};var r={};return(()=>{"use strict";a.d(r,{component:()=>c});const n=coreApis.componentApis.define,e="darkMode",t="#111",o=async()=>{document.body.classList.add("dark"),localStorage.setItem("pbp_theme_v4","b");const n=dq('meta[name="theme-color"]');n?(n.dataset.light=n.content,n.content=t):document.head.insertAdjacentHTML("beforeend",``);const e=dq('meta[name="color-scheme"]');e?e.content="dark":document.head.insertAdjacentHTML("beforeend",'')},i=async()=>{document.body.classList.remove("dark");const n=dq('meta[name="theme-color"]');n?.dataset.light?n.content=n.dataset.light:n?.remove();const e=dq('meta[name="color-scheme"]');e&&(e.content="light")},l=async()=>{setTimeout(o,200)},c=(0,n.defineComponentMetadata)({name:e,displayName:"夜间模式",entry:l,reload:l,unload:()=>{setTimeout(i,200)},description:"启用夜间模式能更好地适应光线暗的环境, 并会大量应用主题颜色.",tags:[componentsTags.style,componentsTags.general],instantStyles:[{name:"dark-mode",style:()=>Promise.resolve().then(a.t.bind(a,660,23)),important:!1},{name:"dark-mode-important",style:()=>Promise.resolve().then(a.t.bind(a,916,23)),important:!0},{name:"dark-shadow-dom",style:()=>Promise.resolve().then(a.t.bind(a,934,23)),shadowDom:!0}],plugin:{displayName:"夜间模式 - 提前注入",description:{"zh-CN":"提前注入夜间模式的 .dark class 以减少一些组件首屏仍然是白色的问题."},async setup(){const{contentLoaded:n}=await Promise.resolve().then(a.t.bind(a,576,23)),{isComponentEnabled:t}=await Promise.resolve().then(a.t.bind(a,905,23));n((()=>{t(e)&&document.body.classList.add("dark")}))}},urlExclude:["//member.bilibili.com/v2","//member.bilibili.com/platform","//member.bilibili.com/video/upload.html","//member.bilibili.com/article-text/home","//www.bilibili.com/audio/submit/","//member.bilibili.com/studio/bs-editor/projects","//www.bilibili.com/s/video/","//member.bilibili.com/platform","//live.bilibili.com/p/html/live-lottery/anchor-join.html","//account.bilibili.com/subtitle/edit/#/editor","/york/allowance-charge","//cm.bilibili.com/quests/#/task","//live.bilibili.com/activity/live-activity-full/full-next/index.html","//gf.bilibili.com/","//shop.bilibili.com/","//live.bilibili.com/p/html/live-lottery/anchor-join.html"],commitHash:"58c0b438ca2371e397f70466a91572cb2757b142",coreVersion:"2.10.7"})})(),r=r.component})())); +var r=btoa(unescape(encodeURIComponent(JSON.stringify(a)))),i="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(r),l="/*# ".concat(i," */"),c=a.sources.map((function(n){return"/*# sourceURL=".concat(a.sourceRoot||"").concat(n," */")}));return[o].concat(c).concat([l]).join("\n")}return[o].join("\n")}},916:(n,e,t)=>{var o=t(858);o&&o.__esModule&&(o=o.default),n.exports="string"==typeof o?o:o.toString()},660:(n,e,t)=>{var o=t(178);o&&o.__esModule&&(o=o.default),n.exports="string"==typeof o?o:o.toString()},934:(n,e,t)=>{var o=t(912);o&&o.__esModule&&(o=o.default),n.exports="string"==typeof o?o:o.toString()},576:n=>{"use strict";n.exports=coreApis.lifeCycle},905:n=>{"use strict";n.exports=coreApis.settings}},o={};function a(n){var e=o[n];if(void 0!==e)return e.exports;var r=o[n]={id:n,exports:{}};return t[n](r,r.exports,a),r.exports}e=Object.getPrototypeOf?n=>Object.getPrototypeOf(n):n=>n.__proto__,a.t=function(t,o){if(1&o&&(t=this(t)),8&o)return t;if("object"==typeof t&&t){if(4&o&&t.__esModule)return t;if(16&o&&"function"==typeof t.then)return t}var r=Object.create(null);a.r(r);var i={};n=n||[null,e({}),e([]),e(e)];for(var l=2&o&&t;"object"==typeof l&&!~n.indexOf(l);l=e(l))Object.getOwnPropertyNames(l).forEach((n=>i[n]=()=>t[n]));return i.default=()=>t,a.d(r,i),r},a.d=(n,e)=>{for(var t in e)a.o(e,t)&&!a.o(n,t)&&Object.defineProperty(n,t,{enumerable:!0,get:e[t]})},a.o=(n,e)=>Object.prototype.hasOwnProperty.call(n,e),a.r=n=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(n,"__esModule",{value:!0})};var r={};return(()=>{"use strict";a.d(r,{component:()=>c});const n=coreApis.componentApis.define,e="darkMode",t="#111",o=async()=>{document.body.classList.add("dark"),localStorage.setItem("pbp_theme_v4","b");const n=dq('meta[name="theme-color"]');n?(n.dataset.light=n.content,n.content=t):document.head.insertAdjacentHTML("beforeend",``);const e=dq('meta[name="color-scheme"]');e?e.content="dark":document.head.insertAdjacentHTML("beforeend",'')},i=async()=>{document.body.classList.remove("dark");const n=dq('meta[name="theme-color"]');n?.dataset.light?n.content=n.dataset.light:n?.remove();const e=dq('meta[name="color-scheme"]');e&&(e.content="light")},l=async()=>{setTimeout(o,200)},c=(0,n.defineComponentMetadata)({name:e,displayName:"夜间模式",entry:l,reload:l,unload:()=>{setTimeout(i,200)},description:"启用夜间模式能更好地适应光线暗的环境, 并会大量应用主题颜色.",tags:[componentsTags.style,componentsTags.general],instantStyles:[{name:"dark-mode",style:()=>Promise.resolve().then(a.t.bind(a,660,23)),important:!1},{name:"dark-mode-important",style:()=>Promise.resolve().then(a.t.bind(a,916,23)),important:!0},{name:"dark-shadow-dom",style:()=>Promise.resolve().then(a.t.bind(a,934,23)),shadowDom:!0}],plugin:{displayName:"夜间模式 - 提前注入",description:{"zh-CN":"提前注入夜间模式的 .dark class 以减少一些组件首屏仍然是白色的问题."},async setup(){const{contentLoaded:n}=await Promise.resolve().then(a.t.bind(a,576,23)),{isComponentEnabled:t}=await Promise.resolve().then(a.t.bind(a,905,23));n((()=>{t(e)&&document.body.classList.add("dark")}))}},urlExclude:["//member.bilibili.com/v2","//member.bilibili.com/platform","//member.bilibili.com/video/upload.html","//member.bilibili.com/article-text/home","//www.bilibili.com/audio/submit/","//member.bilibili.com/studio/bs-editor/projects","//www.bilibili.com/s/video/","//member.bilibili.com/platform","//live.bilibili.com/p/html/live-lottery/anchor-join.html","//account.bilibili.com/subtitle/edit/#/editor","/york/allowance-charge","//cm.bilibili.com/quests/#/task","//live.bilibili.com/activity/live-activity-full/full-next/index.html","//gf.bilibili.com/","//shop.bilibili.com/","//live.bilibili.com/p/html/live-lottery/anchor-join.html"],commitHash:"d87d69cfb9d7e0124bd90a06fec4569bd61e02c5",coreVersion:"2.10.7"})})(),r=r.component})())); //# sourceMappingURL=https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/registry/dist/components/style/dark-mode.js.map \ No newline at end of file diff --git a/bb-evolved/registry/dist/components/style/dark-mode/follow-system.js b/bb-evolved/registry/dist/components/style/dark-mode/follow-system.js index 24ae271ca5..8152b40eee 100644 --- a/bb-evolved/registry/dist/components/style/dark-mode/follow-system.js +++ b/bb-evolved/registry/dist/components/style/dark-mode/follow-system.js @@ -1,2 +1,2 @@ -!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["style/dark-mode/follow-system"]=t():e["style/dark-mode/follow-system"]=t()}(globalThis,(()=>(()=>{"use strict";var e,t,o={905:e=>{e.exports=coreApis.settings}},i={};function r(e){var t=i[e];if(void 0!==t)return t.exports;var l=i[e]={exports:{}};return o[e](l,l.exports,r),l.exports}t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,r.t=function(o,i){if(1&i&&(o=this(o)),8&i)return o;if("object"==typeof o&&o){if(4&i&&o.__esModule)return o;if(16&i&&"function"==typeof o.then)return o}var l=Object.create(null);r.r(l);var n={};e=e||[null,t({}),t([]),t(t)];for(var c=2&i&&o;"object"==typeof c&&!~e.indexOf(c);c=t(c))Object.getOwnPropertyNames(c).forEach((e=>n[e]=()=>o[e]));return n.default=()=>o,r.d(l,n),l},r.d=(e,t)=>{for(var o in t)r.o(t,o)&&!r.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var l={};r.d(l,{component:()=>m});const n=coreApis.componentApis.define,c=coreApis.lifeCycle,m=(0,n.defineComponentMetadata)({name:"darkModeFollowSystem",displayName:"夜间模式跟随系统",entry:()=>{unsafeWindow.addEventListener(c.LifeCycleEventTypes.End,(async()=>{const{getComponentSettings:e}=await Promise.resolve().then(r.t.bind(r,905,23)),t=e("darkMode"),o=matchMedia("(prefers-color-scheme: dark)"),i=e=>{e!==t.enabled&&(t.enabled=e)};i(o.matches),o.addEventListener("change",(e=>{i(e.matches)}))}))},urlExclude:["//member.bilibili.com/v2","//member.bilibili.com/platform","//member.bilibili.com/video/upload.html","//member.bilibili.com/article-text/home","//www.bilibili.com/audio/submit/","//member.bilibili.com/studio/bs-editor/projects","//www.bilibili.com/s/video/","//member.bilibili.com/platform","//live.bilibili.com/p/html/live-lottery/anchor-join.html","//account.bilibili.com/subtitle/edit/#/editor","/york/allowance-charge","//cm.bilibili.com/quests/#/task","//live.bilibili.com/activity/live-activity-full/full-next/index.html","//gf.bilibili.com/","//shop.bilibili.com/","//live.bilibili.com/p/html/live-lottery/anchor-join.html"],tags:[componentsTags.style,componentsTags.general],description:{"zh-CN":"\n使夜间模式同步系统设置的亮 / 暗主题, 请勿和 `夜间模式计划时段` 一同使用.\n\n> 注:在某些浏览器 (如 `Microsoft Edge`) 中,夜间模式仅会同步浏览器的亮 / 暗主题.\n ".trim()},commitHash:"58c0b438ca2371e397f70466a91572cb2757b142",coreVersion:"2.10.7"});return l=l.component})())); +!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["style/dark-mode/follow-system"]=t():e["style/dark-mode/follow-system"]=t()}(globalThis,(()=>(()=>{"use strict";var e,t,o={905:e=>{e.exports=coreApis.settings}},i={};function r(e){var t=i[e];if(void 0!==t)return t.exports;var l=i[e]={exports:{}};return o[e](l,l.exports,r),l.exports}t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,r.t=function(o,i){if(1&i&&(o=this(o)),8&i)return o;if("object"==typeof o&&o){if(4&i&&o.__esModule)return o;if(16&i&&"function"==typeof o.then)return o}var l=Object.create(null);r.r(l);var n={};e=e||[null,t({}),t([]),t(t)];for(var c=2&i&&o;"object"==typeof c&&!~e.indexOf(c);c=t(c))Object.getOwnPropertyNames(c).forEach((e=>n[e]=()=>o[e]));return n.default=()=>o,r.d(l,n),l},r.d=(e,t)=>{for(var o in t)r.o(t,o)&&!r.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var l={};r.d(l,{component:()=>m});const n=coreApis.componentApis.define,c=coreApis.lifeCycle,m=(0,n.defineComponentMetadata)({name:"darkModeFollowSystem",displayName:"夜间模式跟随系统",entry:()=>{unsafeWindow.addEventListener(c.LifeCycleEventTypes.End,(async()=>{const{getComponentSettings:e}=await Promise.resolve().then(r.t.bind(r,905,23)),t=e("darkMode"),o=matchMedia("(prefers-color-scheme: dark)"),i=e=>{e!==t.enabled&&(t.enabled=e)};i(o.matches),o.addEventListener("change",(e=>{i(e.matches)}))}))},urlExclude:["//member.bilibili.com/v2","//member.bilibili.com/platform","//member.bilibili.com/video/upload.html","//member.bilibili.com/article-text/home","//www.bilibili.com/audio/submit/","//member.bilibili.com/studio/bs-editor/projects","//www.bilibili.com/s/video/","//member.bilibili.com/platform","//live.bilibili.com/p/html/live-lottery/anchor-join.html","//account.bilibili.com/subtitle/edit/#/editor","/york/allowance-charge","//cm.bilibili.com/quests/#/task","//live.bilibili.com/activity/live-activity-full/full-next/index.html","//gf.bilibili.com/","//shop.bilibili.com/","//live.bilibili.com/p/html/live-lottery/anchor-join.html"],tags:[componentsTags.style,componentsTags.general],description:{"zh-CN":"\n使夜间模式同步系统设置的亮 / 暗主题, 请勿和 `夜间模式计划时段` 一同使用.\n\n> 注:在某些浏览器 (如 `Microsoft Edge`) 中,夜间模式仅会同步浏览器的亮 / 暗主题.\n ".trim()},commitHash:"d87d69cfb9d7e0124bd90a06fec4569bd61e02c5",coreVersion:"2.10.7"});return l=l.component})())); //# sourceMappingURL=https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/registry/dist/components/style/dark-mode/follow-system.js.map \ No newline at end of file diff --git a/bb-evolved/registry/dist/components/style/dark-mode/integrated.js b/bb-evolved/registry/dist/components/style/dark-mode/integrated.js index eb7e64550e..8cb0f7bab6 100644 --- a/bb-evolved/registry/dist/components/style/dark-mode/integrated.js +++ b/bb-evolved/registry/dist/components/style/dark-mode/integrated.js @@ -8,5 +8,5 @@ e=[[null,e,""]]);var n={};if(o)for(var a=0;a{"use strict";function r(e,r){return function(e){if(Array.isArray(e))return e}(e)||function(e,r){var t=e&&("undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]);if(null==t)return;var o,n,a=[],c=!0,i=!1;try{for(t=t.call(e);!(c=(o=t.next()).done)&&(a.push(o.value),!r||a.length!==r);c=!0);}catch(e){i=!0,n=e}finally{try{c||null==t.return||t.return()}finally{if(i)throw n}}return a}(e,r)||function(e,r){if(!e)return;if("string"==typeof e)return t(e,r);var o=Object.prototype.toString.call(e).slice(8,-1);"Object"===o&&e.constructor&&(o=e.constructor.name);if("Map"===o||"Set"===o)return Array.from(e);if("Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o))return t(e,r)}(e,r)||function(){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 t(e,r){(null==r||r>e.length)&&(r=e.length);for(var t=0,o=new Array(r);t{var o=t(34);o&&o.__esModule&&(o=o.default),e.exports="string"==typeof o?o:o.toString()},417:(e,r,t)=>{var o=t(179);o&&o.__esModule&&(o=o.default),e.exports="string"==typeof o?o:o.toString()},178:e=>{function r(e){var r=new Error("Cannot find module '"+e+"'");throw r.code="MODULE_NOT_FOUND",r}r.keys=()=>[],r.resolve=r,r.id=178,e.exports=r},937:e=>{"use strict";e.exports="简化版的夜间模式,跟随 b 站官方的深色主题。\n"},576:e=>{"use strict";e.exports=coreApis.lifeCycle},905:e=>{"use strict";e.exports=coreApis.settings}},o={};function n(e){var r=o[e];if(void 0!==r)return r.exports;var a=o[e]={id:e,exports:{}};return t[e](a,a.exports,n),a.exports}r=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,n.t=function(t,o){if(1&o&&(t=this(t)),8&o)return t;if("object"==typeof t&&t){if(4&o&&t.__esModule)return t;if(16&o&&"function"==typeof t.then)return t}var a=Object.create(null);n.r(a);var c={};e=e||[null,r({}),r([]),r(r)];for(var i=2&o&&t;"object"==typeof i&&!~e.indexOf(i);i=r(i))Object.getOwnPropertyNames(i).forEach((e=>c[e]=()=>t[e]));return c.default=()=>t,n.d(a,c),a},n.d=(e,r)=>{for(var t in r)n.o(r,t)&&!n.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:r[t]})},n.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var a={};return(()=>{"use strict";n.d(a,{component:()=>d});const e=coreApis.componentApis.component,r=coreApis.utils,t="integratedDarkMode",o="dark",c="integrated-dark",i="#111",l=()=>"dark"===(0,r.getCookieValue)("theme_style"),b=()=>{l()?(()=>{document.body.classList.add(o,c);const e=dq('meta[name="theme-color"]');e?(e.dataset.light=e.content,e.content=i):document.head.insertAdjacentHTML("beforeend",``);const r=dq('meta[name="color-scheme"]');r?r.content="dark":document.head.insertAdjacentHTML("beforeend",'')})():(()=>{document.body.classList.remove(o,c);const e=dq('meta[name="theme-color"]');e?.dataset.light?e.content=e.dataset.light:e?.remove();const r=dq('meta[name="color-scheme"]');r&&(r.content="light")})()},s=e=>{e.changed.some((e=>"theme_style"===e.name))&&b()},d=(0,e.defineComponentMetadata)({name:t,displayName:"深色模式",entry:()=>{cookieStore.addEventListener("change",s)},reload:()=>{cookieStore.addEventListener("change",s),b()},unload:()=>{cookieStore.removeEventListener("change",s),document.body.classList.remove(o,c)},tags:[componentsTags.style,componentsTags.general],instantStyles:[{name:t,style:()=>Promise.resolve().then(n.t.bind(n,712,23))},{name:"integratedDarkModePatches",style:()=>Promise.resolve().then(n.t.bind(n,417,23))}],plugin:{displayName:"深色模式 - 提前注入",description:{"zh-CN":"提前注入深色模式的 .dark class 以减少一些组件首屏仍然是白色的问题."},async setup(){if(!l())return;const{contentLoaded:e}=await Promise.resolve().then(n.t.bind(n,576,23)),{isComponentEnabled:r}=await Promise.resolve().then(n.t.bind(n,905,23));e((()=>{r(t)&&(cookieStore.addEventListener("change",s),b())}))}},commitHash:"58c0b438ca2371e397f70466a91572cb2757b142",coreVersion:"2.10.7",description:(()=>{const e=n(178);return{...Object.fromEntries(e.keys().map((r=>[r.match(/index\.(.+)\.md$/)[1],e(r)]))),"zh-CN":()=>Promise.resolve().then(n.t.bind(n,937,17)).then((e=>e.default))}})()})})(),a=a.component})())); +var a=btoa(unescape(encodeURIComponent(JSON.stringify(n)))),c="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(a),i="/*# ".concat(c," */"),l=n.sources.map((function(e){return"/*# sourceURL=".concat(n.sourceRoot||"").concat(e," */")}));return[o].concat(l).concat([i]).join("\n")}return[o].join("\n")}},712:(e,r,t)=>{var o=t(34);o&&o.__esModule&&(o=o.default),e.exports="string"==typeof o?o:o.toString()},417:(e,r,t)=>{var o=t(179);o&&o.__esModule&&(o=o.default),e.exports="string"==typeof o?o:o.toString()},178:e=>{function r(e){var r=new Error("Cannot find module '"+e+"'");throw r.code="MODULE_NOT_FOUND",r}r.keys=()=>[],r.resolve=r,r.id=178,e.exports=r},937:e=>{"use strict";e.exports="简化版的夜间模式,跟随 b 站官方的深色主题。\n"},576:e=>{"use strict";e.exports=coreApis.lifeCycle},905:e=>{"use strict";e.exports=coreApis.settings}},o={};function n(e){var r=o[e];if(void 0!==r)return r.exports;var a=o[e]={id:e,exports:{}};return t[e](a,a.exports,n),a.exports}r=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,n.t=function(t,o){if(1&o&&(t=this(t)),8&o)return t;if("object"==typeof t&&t){if(4&o&&t.__esModule)return t;if(16&o&&"function"==typeof t.then)return t}var a=Object.create(null);n.r(a);var c={};e=e||[null,r({}),r([]),r(r)];for(var i=2&o&&t;"object"==typeof i&&!~e.indexOf(i);i=r(i))Object.getOwnPropertyNames(i).forEach((e=>c[e]=()=>t[e]));return c.default=()=>t,n.d(a,c),a},n.d=(e,r)=>{for(var t in r)n.o(r,t)&&!n.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:r[t]})},n.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var a={};return(()=>{"use strict";n.d(a,{component:()=>d});const e=coreApis.componentApis.component,r=coreApis.utils,t="integratedDarkMode",o="dark",c="integrated-dark",i="#111",l=()=>"dark"===(0,r.getCookieValue)("theme_style"),b=()=>{l()?(()=>{document.body.classList.add(o,c);const e=dq('meta[name="theme-color"]');e?(e.dataset.light=e.content,e.content=i):document.head.insertAdjacentHTML("beforeend",``);const r=dq('meta[name="color-scheme"]');r?r.content="dark":document.head.insertAdjacentHTML("beforeend",'')})():(()=>{document.body.classList.remove(o,c);const e=dq('meta[name="theme-color"]');e?.dataset.light?e.content=e.dataset.light:e?.remove();const r=dq('meta[name="color-scheme"]');r&&(r.content="light")})()},s=e=>{e.changed.some((e=>"theme_style"===e.name))&&b()},d=(0,e.defineComponentMetadata)({name:t,displayName:"深色模式",entry:()=>{cookieStore.addEventListener("change",s)},reload:()=>{cookieStore.addEventListener("change",s),b()},unload:()=>{cookieStore.removeEventListener("change",s),document.body.classList.remove(o,c)},tags:[componentsTags.style,componentsTags.general],instantStyles:[{name:t,style:()=>Promise.resolve().then(n.t.bind(n,712,23))},{name:"integratedDarkModePatches",style:()=>Promise.resolve().then(n.t.bind(n,417,23))}],plugin:{displayName:"深色模式 - 提前注入",description:{"zh-CN":"提前注入深色模式的 .dark class 以减少一些组件首屏仍然是白色的问题."},async setup(){if(!l())return;const{contentLoaded:e}=await Promise.resolve().then(n.t.bind(n,576,23)),{isComponentEnabled:r}=await Promise.resolve().then(n.t.bind(n,905,23));e((()=>{r(t)&&(cookieStore.addEventListener("change",s),b())}))}},commitHash:"d87d69cfb9d7e0124bd90a06fec4569bd61e02c5",coreVersion:"2.10.7",description:(()=>{const e=n(178);return{...Object.fromEntries(e.keys().map((r=>[r.match(/index\.(.+)\.md$/)[1],e(r)]))),"zh-CN":()=>Promise.resolve().then(n.t.bind(n,937,17)).then((e=>e.default))}})()})})(),a=a.component})())); //# sourceMappingURL=https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/registry/dist/components/style/dark-mode/integrated.js.map \ No newline at end of file diff --git a/bb-evolved/registry/dist/components/style/dark-mode/schedule.js b/bb-evolved/registry/dist/components/style/dark-mode/schedule.js index 5862d642d0..aca445e9f2 100644 --- a/bb-evolved/registry/dist/components/style/dark-mode/schedule.js +++ b/bb-evolved/registry/dist/components/style/dark-mode/schedule.js @@ -1,2 +1,2 @@ -!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["style/dark-mode/schedule"]=t():e["style/dark-mode/schedule"]=t()}(globalThis,(()=>(()=>{"use strict";var e={d:(t,i)=>{for(var r in i)e.o(i,r)&&!e.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:i[r]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t)},t={};e.d(t,{component:()=>u});const i=coreApis.componentApis.define,r=coreApis.lifeCycle,o=coreApis.settings;function n(e,t,i){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var i=e[Symbol.toPrimitive];if(void 0!==i){var r=i.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}class s{constructor(){n(this,"hour",void 0),n(this,"minute",void 0);for(var e=arguments.length,t=new Array(e),i=0;is.validatePart(e))),this.normalize()}else 2===t.length&&([this.hour,this.minute]=t)}normalize(){for(;this.minute<0;)this.minute+=60,this.hour-=1;for(;this.minute>=60;)this.minute-=60,this.hour+=1;for(;this.hour<0;)this.hour+=24;for(;this.hour>=24;)this.hour-=24}lessThan(e){return this.houre.hour||this.hour===e.hour&&this.minute>e.minute}equals(e){return this.hour===e.hour&&this.minute===e.minute}isInRange(e,t){if(e.equals(t))return!1;let i=this.greaterThan(e)&&this.lessThan(t);e.greaterThan(t)&&(i=this.greaterThan(e)||this.lessThan(t));return i||this.equals(e)}toString(){return`${this.hour.toString().padStart(2,"0")}:${this.minute.toString().padStart(2,"0")}`}static validatePart(e){const t=parseInt(e);return!Number.isNaN(t)&&t>=0&&t<=59?t:null}static millisecondsBefore(e){const t=new s,i=(new Date).getSeconds(),r=1e3*(3600*t.hour+60*t.minute+i);let o=1e3*(3600*e.hour+60*e.minute)-r;return(t.greaterThan(e)||t.equals(e)&&0!==i)&&(o+=864e5),o}}const l=(0,i.defineOptionsMetadata)({range:{defaultValue:{start:"18:00",end:"6:00"},displayName:"时间段",validator:e=>{const{start:t,end:i}=e,r=/^(\d{1,2}):(\d{1,2})$/;if(!r.test(t)||!r.test(i))return null;const o=new s(e.start),n=new s(e.end);return{start:o.toString(),end:n.toString()}}}}),a=e=>{const t=new s(e.options.range.start),i=new s(e.options.range.end),r=(new s).isInRange(t,i),n=(0,o.getComponentSettings)("darkMode");n.enabled!==r&&(n.enabled=r);let l=0;l=r?s.millisecondsBefore(i):s.millisecondsBefore(t),0!==l&&setTimeout((()=>a(e)),l)},u=(0,i.defineComponentMetadata)({name:"darkModeSchedule",displayName:"夜间模式计划时段",description:"设置一个使用夜间模式的时间段, 进入 / 离开此时间段时, 会自动开启 / 关闭夜间模式. 结束时间小于起始时间时将视为次日, 如 `18:00` 至 `6:00` 表示晚上 18:00 到次日 6:00. 请勿和 `夜间模式跟随系统` 一同使用.",tags:[componentsTags.style,componentsTags.general],entry:e=>{let{settings:t}=e;return(0,r.fullyLoaded)((()=>a(t)))},urlExclude:["//member.bilibili.com/v2","//member.bilibili.com/platform","//member.bilibili.com/video/upload.html","//member.bilibili.com/article-text/home","//www.bilibili.com/audio/submit/","//member.bilibili.com/studio/bs-editor/projects","//www.bilibili.com/s/video/","//member.bilibili.com/platform","//live.bilibili.com/p/html/live-lottery/anchor-join.html","//account.bilibili.com/subtitle/edit/#/editor","/york/allowance-charge","//cm.bilibili.com/quests/#/task","//live.bilibili.com/activity/live-activity-full/full-next/index.html","//gf.bilibili.com/","//shop.bilibili.com/","//live.bilibili.com/p/html/live-lottery/anchor-join.html"],options:l,commitHash:"58c0b438ca2371e397f70466a91572cb2757b142",coreVersion:"2.10.7"});return t=t.component})())); +!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["style/dark-mode/schedule"]=t():e["style/dark-mode/schedule"]=t()}(globalThis,(()=>(()=>{"use strict";var e={d:(t,i)=>{for(var r in i)e.o(i,r)&&!e.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:i[r]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t)},t={};e.d(t,{component:()=>u});const i=coreApis.componentApis.define,r=coreApis.lifeCycle,o=coreApis.settings;function n(e,t,i){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var i=e[Symbol.toPrimitive];if(void 0!==i){var r=i.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}class s{constructor(){n(this,"hour",void 0),n(this,"minute",void 0);for(var e=arguments.length,t=new Array(e),i=0;is.validatePart(e))),this.normalize()}else 2===t.length&&([this.hour,this.minute]=t)}normalize(){for(;this.minute<0;)this.minute+=60,this.hour-=1;for(;this.minute>=60;)this.minute-=60,this.hour+=1;for(;this.hour<0;)this.hour+=24;for(;this.hour>=24;)this.hour-=24}lessThan(e){return this.houre.hour||this.hour===e.hour&&this.minute>e.minute}equals(e){return this.hour===e.hour&&this.minute===e.minute}isInRange(e,t){if(e.equals(t))return!1;let i=this.greaterThan(e)&&this.lessThan(t);e.greaterThan(t)&&(i=this.greaterThan(e)||this.lessThan(t));return i||this.equals(e)}toString(){return`${this.hour.toString().padStart(2,"0")}:${this.minute.toString().padStart(2,"0")}`}static validatePart(e){const t=parseInt(e);return!Number.isNaN(t)&&t>=0&&t<=59?t:null}static millisecondsBefore(e){const t=new s,i=(new Date).getSeconds(),r=1e3*(3600*t.hour+60*t.minute+i);let o=1e3*(3600*e.hour+60*e.minute)-r;return(t.greaterThan(e)||t.equals(e)&&0!==i)&&(o+=864e5),o}}const l=(0,i.defineOptionsMetadata)({range:{defaultValue:{start:"18:00",end:"6:00"},displayName:"时间段",validator:e=>{const{start:t,end:i}=e,r=/^(\d{1,2}):(\d{1,2})$/;if(!r.test(t)||!r.test(i))return null;const o=new s(e.start),n=new s(e.end);return{start:o.toString(),end:n.toString()}}}}),a=e=>{const t=new s(e.options.range.start),i=new s(e.options.range.end),r=(new s).isInRange(t,i),n=(0,o.getComponentSettings)("darkMode");n.enabled!==r&&(n.enabled=r);let l=0;l=r?s.millisecondsBefore(i):s.millisecondsBefore(t),0!==l&&setTimeout((()=>a(e)),l)},u=(0,i.defineComponentMetadata)({name:"darkModeSchedule",displayName:"夜间模式计划时段",description:"设置一个使用夜间模式的时间段, 进入 / 离开此时间段时, 会自动开启 / 关闭夜间模式. 结束时间小于起始时间时将视为次日, 如 `18:00` 至 `6:00` 表示晚上 18:00 到次日 6:00. 请勿和 `夜间模式跟随系统` 一同使用.",tags:[componentsTags.style,componentsTags.general],entry:e=>{let{settings:t}=e;return(0,r.fullyLoaded)((()=>a(t)))},urlExclude:["//member.bilibili.com/v2","//member.bilibili.com/platform","//member.bilibili.com/video/upload.html","//member.bilibili.com/article-text/home","//www.bilibili.com/audio/submit/","//member.bilibili.com/studio/bs-editor/projects","//www.bilibili.com/s/video/","//member.bilibili.com/platform","//live.bilibili.com/p/html/live-lottery/anchor-join.html","//account.bilibili.com/subtitle/edit/#/editor","/york/allowance-charge","//cm.bilibili.com/quests/#/task","//live.bilibili.com/activity/live-activity-full/full-next/index.html","//gf.bilibili.com/","//shop.bilibili.com/","//live.bilibili.com/p/html/live-lottery/anchor-join.html"],options:l,commitHash:"d87d69cfb9d7e0124bd90a06fec4569bd61e02c5",coreVersion:"2.10.7"});return t=t.component})())); //# sourceMappingURL=https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/registry/dist/components/style/dark-mode/schedule.js.map \ No newline at end of file diff --git a/bb-evolved/registry/dist/components/style/hide/bangumi/reviews.js b/bb-evolved/registry/dist/components/style/hide/bangumi/reviews.js index 1cbbe2f665..b27232a1f4 100644 --- a/bb-evolved/registry/dist/components/style/hide/bangumi/reviews.js +++ b/bb-evolved/registry/dist/components/style/hide/bangumi/reviews.js @@ -8,5 +8,5 @@ e=[[null,e,""]]);var o={};if(n)for(var i=0;i{"use strict";function t(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=e&&("undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]);if(null==r)return;var n,o,i=[],a=!0,c=!1;try{for(r=r.call(e);!(a=(n=r.next()).done)&&(i.push(n.value),!t||i.length!==t);a=!0);}catch(e){c=!0,o=e}finally{try{a||null==r.return||r.return()}finally{if(c)throw o}}return i}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return r(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return r(e,t)}(e,t)||function(){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 r(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r{var n=r(226);n&&n.__esModule&&(n=n.default),e.exports="string"==typeof n?n:n.toString()}},n={};function o(e){var t=n[e];if(void 0!==t)return t.exports;var i=n[e]={id:e,exports:{}};return r[e](i,i.exports,o),i.exports}t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,o.t=function(r,n){if(1&n&&(r=this(r)),8&n)return r;if("object"==typeof r&&r){if(4&n&&r.__esModule)return r;if(16&n&&"function"==typeof r.then)return r}var i=Object.create(null);o.r(i);var a={};e=e||[null,t({}),t([]),t(t)];for(var c=2&n&&r;"object"==typeof c&&!~e.indexOf(c);c=t(c))Object.getOwnPropertyNames(c).forEach((e=>a[e]=()=>r[e]));return a.default=()=>r,o.d(i,a),i},o.d=(e,t)=>{for(var r in t)o.o(t,r)&&!o.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var i={};return(()=>{"use strict";o.d(i,{component:()=>n});const e=coreApis.componentApis.define,t=coreApis.componentApis.styledComponent,r=coreApis.utils.urls,n=(0,e.defineComponentMetadata)({displayName:"隐藏番剧点评",tags:[componentsTags.style],...(0,t.toggleStyle)("hideBangumiReviews",(()=>Promise.resolve().then(o.t.bind(o,944,23)))),urlInclude:r.bangumiUrls,description:{"zh-CN":"隐藏番剧播放页面里的点评板块."},commitHash:"58c0b438ca2371e397f70466a91572cb2757b142",coreVersion:"2.10.7"})})(),i=i.component})())); +var i=btoa(unescape(encodeURIComponent(JSON.stringify(o)))),a="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(i),c="/*# ".concat(a," */"),s=o.sources.map((function(e){return"/*# sourceURL=".concat(o.sourceRoot||"").concat(e," */")}));return[n].concat(s).concat([c]).join("\n")}return[n].join("\n")}},944:(e,t,r)=>{var n=r(226);n&&n.__esModule&&(n=n.default),e.exports="string"==typeof n?n:n.toString()}},n={};function o(e){var t=n[e];if(void 0!==t)return t.exports;var i=n[e]={id:e,exports:{}};return r[e](i,i.exports,o),i.exports}t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,o.t=function(r,n){if(1&n&&(r=this(r)),8&n)return r;if("object"==typeof r&&r){if(4&n&&r.__esModule)return r;if(16&n&&"function"==typeof r.then)return r}var i=Object.create(null);o.r(i);var a={};e=e||[null,t({}),t([]),t(t)];for(var c=2&n&&r;"object"==typeof c&&!~e.indexOf(c);c=t(c))Object.getOwnPropertyNames(c).forEach((e=>a[e]=()=>r[e]));return a.default=()=>r,o.d(i,a),i},o.d=(e,t)=>{for(var r in t)o.o(t,r)&&!o.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var i={};return(()=>{"use strict";o.d(i,{component:()=>n});const e=coreApis.componentApis.define,t=coreApis.componentApis.styledComponent,r=coreApis.utils.urls,n=(0,e.defineComponentMetadata)({displayName:"隐藏番剧点评",tags:[componentsTags.style],...(0,t.toggleStyle)("hideBangumiReviews",(()=>Promise.resolve().then(o.t.bind(o,944,23)))),urlInclude:r.bangumiUrls,description:{"zh-CN":"隐藏番剧播放页面里的点评板块."},commitHash:"d87d69cfb9d7e0124bd90a06fec4569bd61e02c5",coreVersion:"2.10.7"})})(),i=i.component})())); //# sourceMappingURL=https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/registry/dist/components/style/hide/bangumi/reviews.js.map \ No newline at end of file diff --git a/bb-evolved/registry/dist/components/style/hide/bangumi/sponsors.js b/bb-evolved/registry/dist/components/style/hide/bangumi/sponsors.js index d94513e2f0..5084ad085a 100644 --- a/bb-evolved/registry/dist/components/style/hide/bangumi/sponsors.js +++ b/bb-evolved/registry/dist/components/style/hide/bangumi/sponsors.js @@ -8,5 +8,5 @@ t=[[null,t,""]]);var r={};if(n)for(var i=0;i{"use strict";function e(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var o=t&&("undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"]);if(null==o)return;var n,r,i=[],a=!0,s=!1;try{for(o=o.call(t);!(a=(n=o.next()).done)&&(i.push(n.value),!e||i.length!==e);a=!0);}catch(t){s=!0,r=t}finally{try{a||null==o.return||o.return()}finally{if(s)throw r}}return i}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return o(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return o(t,e)}(t,e)||function(){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 o(t,e){(null==e||e>t.length)&&(e=t.length);for(var o=0,n=new Array(e);o{var n=o(762);n&&n.__esModule&&(n=n.default),t.exports="string"==typeof n?n:n.toString()}},n={};function r(t){var e=n[t];if(void 0!==e)return e.exports;var i=n[t]={id:t,exports:{}};return o[t](i,i.exports,r),i.exports}e=Object.getPrototypeOf?t=>Object.getPrototypeOf(t):t=>t.__proto__,r.t=function(o,n){if(1&n&&(o=this(o)),8&n)return o;if("object"==typeof o&&o){if(4&n&&o.__esModule)return o;if(16&n&&"function"==typeof o.then)return o}var i=Object.create(null);r.r(i);var a={};t=t||[null,e({}),e([]),e(e)];for(var s=2&n&&o;"object"==typeof s&&!~t.indexOf(s);s=e(s))Object.getOwnPropertyNames(s).forEach((t=>a[t]=()=>o[t]));return a.default=()=>o,r.d(i,a),i},r.d=(t,e)=>{for(var o in e)r.o(e,o)&&!r.o(t,o)&&Object.defineProperty(t,o,{enumerable:!0,get:e[o]})},r.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),r.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var i={};return(()=>{"use strict";r.d(i,{component:()=>n});const t=coreApis.componentApis.define,e=coreApis.componentApis.styledComponent,o=coreApis.utils.urls,n=(0,t.defineComponentMetadata)({displayName:"隐藏番剧承包",tags:[componentsTags.style],...(0,e.toggleStyle)("hideBangumiSponsors",(()=>Promise.resolve().then(r.t.bind(r,52,23)))),urlInclude:o.bangumiUrls,description:{"zh-CN":"隐藏番剧页面下方的承包榜, 以及右边的承包按钮."},commitHash:"58c0b438ca2371e397f70466a91572cb2757b142",coreVersion:"2.10.7"})})(),i=i.component})())); +var i=btoa(unescape(encodeURIComponent(JSON.stringify(r)))),a="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(i),s="/*# ".concat(a," */"),c=r.sources.map((function(t){return"/*# sourceURL=".concat(r.sourceRoot||"").concat(t," */")}));return[n].concat(c).concat([s]).join("\n")}return[n].join("\n")}},52:(t,e,o)=>{var n=o(762);n&&n.__esModule&&(n=n.default),t.exports="string"==typeof n?n:n.toString()}},n={};function r(t){var e=n[t];if(void 0!==e)return e.exports;var i=n[t]={id:t,exports:{}};return o[t](i,i.exports,r),i.exports}e=Object.getPrototypeOf?t=>Object.getPrototypeOf(t):t=>t.__proto__,r.t=function(o,n){if(1&n&&(o=this(o)),8&n)return o;if("object"==typeof o&&o){if(4&n&&o.__esModule)return o;if(16&n&&"function"==typeof o.then)return o}var i=Object.create(null);r.r(i);var a={};t=t||[null,e({}),e([]),e(e)];for(var s=2&n&&o;"object"==typeof s&&!~t.indexOf(s);s=e(s))Object.getOwnPropertyNames(s).forEach((t=>a[t]=()=>o[t]));return a.default=()=>o,r.d(i,a),i},r.d=(t,e)=>{for(var o in e)r.o(e,o)&&!r.o(t,o)&&Object.defineProperty(t,o,{enumerable:!0,get:e[o]})},r.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),r.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var i={};return(()=>{"use strict";r.d(i,{component:()=>n});const t=coreApis.componentApis.define,e=coreApis.componentApis.styledComponent,o=coreApis.utils.urls,n=(0,t.defineComponentMetadata)({displayName:"隐藏番剧承包",tags:[componentsTags.style],...(0,e.toggleStyle)("hideBangumiSponsors",(()=>Promise.resolve().then(r.t.bind(r,52,23)))),urlInclude:o.bangumiUrls,description:{"zh-CN":"隐藏番剧页面下方的承包榜, 以及右边的承包按钮."},commitHash:"d87d69cfb9d7e0124bd90a06fec4569bd61e02c5",coreVersion:"2.10.7"})})(),i=i.component})())); //# sourceMappingURL=https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/registry/dist/components/style/hide/bangumi/sponsors.js.map \ No newline at end of file diff --git a/bb-evolved/registry/dist/components/style/hide/banner.js b/bb-evolved/registry/dist/components/style/hide/banner.js index 681246e180..bf9210301c 100644 --- a/bb-evolved/registry/dist/components/style/hide/banner.js +++ b/bb-evolved/registry/dist/components/style/hide/banner.js @@ -8,5 +8,5 @@ n=[[null,n,""]]);var o={};if(r)for(var i=0;i{"use strict";function e(n,e){return function(n){if(Array.isArray(n))return n}(n)||function(n,e){var t=n&&("undefined"!=typeof Symbol&&n[Symbol.iterator]||n["@@iterator"]);if(null==t)return;var r,o,i=[],a=!0,c=!1;try{for(t=t.call(n);!(a=(r=t.next()).done)&&(i.push(r.value),!e||i.length!==e);a=!0);}catch(n){c=!0,o=n}finally{try{a||null==t.return||t.return()}finally{if(c)throw o}}return i}(n,e)||function(n,e){if(!n)return;if("string"==typeof n)return t(n,e);var r=Object.prototype.toString.call(n).slice(8,-1);"Object"===r&&n.constructor&&(r=n.constructor.name);if("Map"===r||"Set"===r)return Array.from(n);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return t(n,e)}(n,e)||function(){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 t(n,e){(null==e||e>n.length)&&(e=n.length);for(var t=0,r=new Array(e);t{var r=t(48);r&&r.__esModule&&(r=r.default),n.exports="string"==typeof r?r:r.toString()}},r={};function o(n){var e=r[n];if(void 0!==e)return e.exports;var i=r[n]={id:n,exports:{}};return t[n](i,i.exports,o),i.exports}e=Object.getPrototypeOf?n=>Object.getPrototypeOf(n):n=>n.__proto__,o.t=function(t,r){if(1&r&&(t=this(t)),8&r)return t;if("object"==typeof t&&t){if(4&r&&t.__esModule)return t;if(16&r&&"function"==typeof t.then)return t}var i=Object.create(null);o.r(i);var a={};n=n||[null,e({}),e([]),e(e)];for(var c=2&r&&t;"object"==typeof c&&!~n.indexOf(c);c=e(c))Object.getOwnPropertyNames(c).forEach((n=>a[n]=()=>t[n]));return a.default=()=>t,o.d(i,a),i},o.d=(n,e)=>{for(var t in e)o.o(e,t)&&!o.o(n,t)&&Object.defineProperty(n,t,{enumerable:!0,get:e[t]})},o.o=(n,e)=>Object.prototype.hasOwnProperty.call(n,e),o.r=n=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(n,"__esModule",{value:!0})};var i={};return(()=>{"use strict";o.d(i,{component:()=>t});const n=coreApis.componentApis.define,e=coreApis.utils.urls,t=(0,n.defineComponentMetadata)({name:"hideBanner",entry:none,displayName:"隐藏顶部横幅",instantStyles:[{name:"hideBanner",style:()=>Promise.resolve().then(o.t.bind(o,694,23))}],tags:[componentsTags.style],description:{"zh-CN":"隐藏首页顶部横幅."},urlInclude:e.mainSiteUrls,commitHash:"58c0b438ca2371e397f70466a91572cb2757b142",coreVersion:"2.10.7"})})(),i=i.component})())); +var i=btoa(unescape(encodeURIComponent(JSON.stringify(o)))),a="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(i),c="/*# ".concat(a," */"),l=o.sources.map((function(n){return"/*# sourceURL=".concat(o.sourceRoot||"").concat(n," */")}));return[r].concat(l).concat([c]).join("\n")}return[r].join("\n")}},694:(n,e,t)=>{var r=t(48);r&&r.__esModule&&(r=r.default),n.exports="string"==typeof r?r:r.toString()}},r={};function o(n){var e=r[n];if(void 0!==e)return e.exports;var i=r[n]={id:n,exports:{}};return t[n](i,i.exports,o),i.exports}e=Object.getPrototypeOf?n=>Object.getPrototypeOf(n):n=>n.__proto__,o.t=function(t,r){if(1&r&&(t=this(t)),8&r)return t;if("object"==typeof t&&t){if(4&r&&t.__esModule)return t;if(16&r&&"function"==typeof t.then)return t}var i=Object.create(null);o.r(i);var a={};n=n||[null,e({}),e([]),e(e)];for(var c=2&r&&t;"object"==typeof c&&!~n.indexOf(c);c=e(c))Object.getOwnPropertyNames(c).forEach((n=>a[n]=()=>t[n]));return a.default=()=>t,o.d(i,a),i},o.d=(n,e)=>{for(var t in e)o.o(e,t)&&!o.o(n,t)&&Object.defineProperty(n,t,{enumerable:!0,get:e[t]})},o.o=(n,e)=>Object.prototype.hasOwnProperty.call(n,e),o.r=n=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(n,"__esModule",{value:!0})};var i={};return(()=>{"use strict";o.d(i,{component:()=>t});const n=coreApis.componentApis.define,e=coreApis.utils.urls,t=(0,n.defineComponentMetadata)({name:"hideBanner",entry:none,displayName:"隐藏顶部横幅",instantStyles:[{name:"hideBanner",style:()=>Promise.resolve().then(o.t.bind(o,694,23))}],tags:[componentsTags.style],description:{"zh-CN":"隐藏首页顶部横幅."},urlInclude:e.mainSiteUrls,commitHash:"d87d69cfb9d7e0124bd90a06fec4569bd61e02c5",coreVersion:"2.10.7"})})(),i=i.component})())); //# sourceMappingURL=https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/registry/dist/components/style/hide/banner.js.map \ No newline at end of file diff --git a/bb-evolved/registry/dist/components/style/hide/home-carousel.js b/bb-evolved/registry/dist/components/style/hide/home-carousel.js index 18eb77e25d..6b020b615f 100644 --- a/bb-evolved/registry/dist/components/style/hide/home-carousel.js +++ b/bb-evolved/registry/dist/components/style/hide/home-carousel.js @@ -8,5 +8,5 @@ e=[[null,e,""]]);var r={};if(o)for(var i=0;i{"use strict";function t(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=e&&("undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]);if(null==n)return;var o,r,i=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(o=n.next()).done)&&(i.push(o.value),!t||i.length!==t);a=!0);}catch(e){s=!0,r=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw r}}return i}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return n(e,t);var o=Object.prototype.toString.call(e).slice(8,-1);"Object"===o&&e.constructor&&(o=e.constructor.name);if("Map"===o||"Set"===o)return Array.from(e);if("Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o))return n(e,t)}(e,t)||function(){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 n(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n{var o=n(758);o&&o.__esModule&&(o=o.default),e.exports="string"==typeof o?o:o.toString()},353:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=353,e.exports=t},950:e=>{"use strict";e.exports="隐藏首页的轮播图区域\n\n选项说明:\n\n- `完全隐藏`:完全隐藏整个轮播区域\n- `透明化`:完全透明化整个轮播区域,同时禁止点击打开链接\n- `自定义`:\n - `禁用轮播`:禁用图片轮播,可以手动切换\n - `图片模糊`:模糊轮播图片,为0时不模糊\n - `隐藏轮播图片`:隐藏轮播图片,同时禁止点击图片打开链接\n - `隐藏图片标题`:隐藏图片标题,同时禁止点击标题打开链接\n"},164:e=>{"use strict";e.exports=coreApis.ui}},o={};function r(e){var t=o[e];if(void 0!==t)return t.exports;var i=o[e]={id:e,exports:{}};return n[e](i,i.exports,r),i.exports}t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,r.t=function(n,o){if(1&o&&(n=this(n)),8&o)return n;if("object"==typeof n&&n){if(4&o&&n.__esModule)return n;if(16&o&&"function"==typeof n.then)return n}var i=Object.create(null);r.r(i);var a={};e=e||[null,t({}),t([]),t(t)];for(var s=2&o&&n;"object"==typeof s&&!~e.indexOf(s);s=t(s))Object.getOwnPropertyNames(s).forEach((e=>a[e]=()=>n[e]));return a.default=()=>n,r.d(i,a),i},r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var i={};return(()=>{"use strict";r.d(i,{component:()=>c});const e=coreApis.componentApis.define,t=coreApis.settings,n=coreApis.spinQuery,o=coreApis.utils,a="hideHomeCarousel",s=(0,coreApis.utils.log.useScopedConsole)(a),l=e=>{e.stopPropagation()},u={title:"隐藏首页轮播图选项",groupName:`${a}-promotions-card`,items:{full:{name:"full",isOption:!0},transparent:{name:"transparent",isOption:!0},custom:{name:"custom",isOption:!0,optionsIncluded:["disableCarousel","blur","picture","footerText"]}},componentName:a,icon:"mdi-checkbox-marked-circle-outline"},c=(0,e.defineComponentMetadata)({name:a,displayName:"隐藏首页轮播图",entry:async e=>{let{metadata:o}=e;(0,t.addComponentListener)(`${o.name}.disableCarousel`,(async e=>{const t=await(0,n.select)(".vui_carousel");if(t)if(e){t.addEventListener("mouseleave",l,!0);const e=new MouseEvent("mouseenter");t.dispatchEvent(e)}else{t.removeEventListener("mouseleave",l,!0);const e=new MouseEvent("mouseleave");t.dispatchEvent(e)}else s.error("找不到轮播容器节点")}),!0),(0,t.addComponentListener)(`${o.name}.blur`,(async e=>{const t=await(0,n.selectAll)(".vui_carousel__slide");t&&0!==t.length?t.forEach((t=>{t.style.setProperty("--blur-amount",`${e}px`)})):s.error("找不到轮播图片节点")}),!0);["full","transparent","picture","footerText"].forEach((e=>{(0,t.addComponentListener)(`${o.name}.${e}`,(t=>{document.body.classList.toggle(`hideHomeCarousel-switch-${e}`,t)}),!0)}))},tags:[componentsTags.style],urlInclude:[/^https:\/\/www\.bilibili\.com\/$/,/^https:\/\/www\.bilibili\.com\/index\.html$/],instantStyles:[{name:"hide-home-carousel",style:()=>Promise.resolve().then(r.t.bind(r,28,23))}],options:{disableCarousel:{displayName:"禁用轮播",defaultValue:!1,hidden:!0},blur:{displayName:"图片模糊",defaultValue:0,slider:{min:0,max:100,step:1},hidden:!0},full:{displayName:"完全隐藏",defaultValue:!0,hidden:!0},transparent:{displayName:"透明化",defaultValue:!1,hidden:!0},picture:{displayName:"隐藏轮播图片",defaultValue:!1,hidden:!0},footerText:{displayName:"隐藏图片标题",defaultValue:!1,hidden:!0},custom:{displayName:"自定义",defaultValue:!1,hidden:!0}},extraOptions:()=>Promise.resolve().then(r.t.bind(r,164,23)).then((e=>(0,o.createComponentWithProps)(e.OptionRadioGroup,{...u,isPopup:!1,hasContainer:!1}))),widget:{component:()=>Promise.resolve().then(r.t.bind(r,164,23)).then((e=>(0,o.createComponentWithProps)(e.OptionRadioGroup,{...u,isPopup:!0})))},commitHash:"58c0b438ca2371e397f70466a91572cb2757b142",coreVersion:"2.10.7",description:(()=>{const e=r(353);return{...Object.fromEntries(e.keys().map((t=>[t.match(/index\.(.+)\.md$/)[1],e(t)]))),"zh-CN":()=>Promise.resolve().then(r.t.bind(r,950,17)).then((e=>e.default))}})()})})(),i=i.component})())); +var i=btoa(unescape(encodeURIComponent(JSON.stringify(r)))),a="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(i),s="/*# ".concat(a," */"),l=r.sources.map((function(e){return"/*# sourceURL=".concat(r.sourceRoot||"").concat(e," */")}));return[o].concat(l).concat([s]).join("\n")}return[o].join("\n")}},28:(e,t,n)=>{var o=n(758);o&&o.__esModule&&(o=o.default),e.exports="string"==typeof o?o:o.toString()},353:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=353,e.exports=t},950:e=>{"use strict";e.exports="隐藏首页的轮播图区域\n\n选项说明:\n\n- `完全隐藏`:完全隐藏整个轮播区域\n- `透明化`:完全透明化整个轮播区域,同时禁止点击打开链接\n- `自定义`:\n - `禁用轮播`:禁用图片轮播,可以手动切换\n - `图片模糊`:模糊轮播图片,为0时不模糊\n - `隐藏轮播图片`:隐藏轮播图片,同时禁止点击图片打开链接\n - `隐藏图片标题`:隐藏图片标题,同时禁止点击标题打开链接\n"},164:e=>{"use strict";e.exports=coreApis.ui}},o={};function r(e){var t=o[e];if(void 0!==t)return t.exports;var i=o[e]={id:e,exports:{}};return n[e](i,i.exports,r),i.exports}t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,r.t=function(n,o){if(1&o&&(n=this(n)),8&o)return n;if("object"==typeof n&&n){if(4&o&&n.__esModule)return n;if(16&o&&"function"==typeof n.then)return n}var i=Object.create(null);r.r(i);var a={};e=e||[null,t({}),t([]),t(t)];for(var s=2&o&&n;"object"==typeof s&&!~e.indexOf(s);s=t(s))Object.getOwnPropertyNames(s).forEach((e=>a[e]=()=>n[e]));return a.default=()=>n,r.d(i,a),i},r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var i={};return(()=>{"use strict";r.d(i,{component:()=>c});const e=coreApis.componentApis.define,t=coreApis.settings,n=coreApis.spinQuery,o=coreApis.utils,a="hideHomeCarousel",s=(0,coreApis.utils.log.useScopedConsole)(a),l=e=>{e.stopPropagation()},u={title:"隐藏首页轮播图选项",groupName:`${a}-promotions-card`,items:{full:{name:"full",isOption:!0},transparent:{name:"transparent",isOption:!0},custom:{name:"custom",isOption:!0,optionsIncluded:["disableCarousel","blur","picture","footerText"]}},componentName:a,icon:"mdi-checkbox-marked-circle-outline"},c=(0,e.defineComponentMetadata)({name:a,displayName:"隐藏首页轮播图",entry:async e=>{let{metadata:o}=e;(0,t.addComponentListener)(`${o.name}.disableCarousel`,(async e=>{const t=await(0,n.select)(".vui_carousel");if(t)if(e){t.addEventListener("mouseleave",l,!0);const e=new MouseEvent("mouseenter");t.dispatchEvent(e)}else{t.removeEventListener("mouseleave",l,!0);const e=new MouseEvent("mouseleave");t.dispatchEvent(e)}else s.error("找不到轮播容器节点")}),!0),(0,t.addComponentListener)(`${o.name}.blur`,(async e=>{const t=await(0,n.selectAll)(".vui_carousel__slide");t&&0!==t.length?t.forEach((t=>{t.style.setProperty("--blur-amount",`${e}px`)})):s.error("找不到轮播图片节点")}),!0);["full","transparent","picture","footerText"].forEach((e=>{(0,t.addComponentListener)(`${o.name}.${e}`,(t=>{document.body.classList.toggle(`hideHomeCarousel-switch-${e}`,t)}),!0)}))},tags:[componentsTags.style],urlInclude:[/^https:\/\/www\.bilibili\.com\/$/,/^https:\/\/www\.bilibili\.com\/index\.html$/],instantStyles:[{name:"hide-home-carousel",style:()=>Promise.resolve().then(r.t.bind(r,28,23))}],options:{disableCarousel:{displayName:"禁用轮播",defaultValue:!1,hidden:!0},blur:{displayName:"图片模糊",defaultValue:0,slider:{min:0,max:100,step:1},hidden:!0},full:{displayName:"完全隐藏",defaultValue:!0,hidden:!0},transparent:{displayName:"透明化",defaultValue:!1,hidden:!0},picture:{displayName:"隐藏轮播图片",defaultValue:!1,hidden:!0},footerText:{displayName:"隐藏图片标题",defaultValue:!1,hidden:!0},custom:{displayName:"自定义",defaultValue:!1,hidden:!0}},extraOptions:()=>Promise.resolve().then(r.t.bind(r,164,23)).then((e=>(0,o.createComponentWithProps)(e.OptionRadioGroup,{...u,isPopup:!1,hasContainer:!1}))),widget:{component:()=>Promise.resolve().then(r.t.bind(r,164,23)).then((e=>(0,o.createComponentWithProps)(e.OptionRadioGroup,{...u,isPopup:!0})))},commitHash:"d87d69cfb9d7e0124bd90a06fec4569bd61e02c5",coreVersion:"2.10.7",description:(()=>{const e=r(353);return{...Object.fromEntries(e.keys().map((t=>[t.match(/index\.(.+)\.md$/)[1],e(t)]))),"zh-CN":()=>Promise.resolve().then(r.t.bind(r,950,17)).then((e=>e.default))}})()})})(),i=i.component})())); //# sourceMappingURL=https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/registry/dist/components/style/hide/home-carousel.js.map \ No newline at end of file diff --git a/bb-evolved/registry/dist/components/style/hide/trending-search.js b/bb-evolved/registry/dist/components/style/hide/trending-search.js index 4aeb650b61..c70e63c9d5 100644 --- a/bb-evolved/registry/dist/components/style/hide/trending-search.js +++ b/bb-evolved/registry/dist/components/style/hide/trending-search.js @@ -8,5 +8,5 @@ e=[[null,e,""]]);var o={};if(r)for(var a=0;a{"use strict";function n(e,n){return function(e){if(Array.isArray(e))return e}(e)||function(e,n){var t=e&&("undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]);if(null==t)return;var r,o,a=[],i=!0,s=!1;try{for(t=t.call(e);!(i=(r=t.next()).done)&&(a.push(r.value),!n||a.length!==n);i=!0);}catch(e){s=!0,o=e}finally{try{i||null==t.return||t.return()}finally{if(s)throw o}}return a}(e,n)||function(e,n){if(!e)return;if("string"==typeof e)return t(e,n);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return t(e,n)}(e,n)||function(){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 t(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=new Array(n);t{var r=t(556);r&&r.__esModule&&(r=r.default),e.exports="string"==typeof r?r:r.toString()},129:e=>{function n(e){var n=new Error("Cannot find module '"+e+"'");throw n.code="MODULE_NOT_FOUND",n}n.keys=()=>[],n.resolve=n,n.id=129,e.exports=n},278:e=>{"use strict";e.exports="隐藏搜索栏和搜索页面中的 `bilibili 热搜`. 请注意这只是视觉上的隐藏, 如果不输入任何关键词就点 Enter 或搜索按钮, 仍然会跳转至推荐的热搜词."}},r={};function o(e){var n=r[e];if(void 0!==n)return n.exports;var a=r[e]={id:e,exports:{}};return t[e](a,a.exports,o),a.exports}n=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,o.t=function(t,r){if(1&r&&(t=this(t)),8&r)return t;if("object"==typeof t&&t){if(4&r&&t.__esModule)return t;if(16&r&&"function"==typeof t.then)return t}var a=Object.create(null);o.r(a);var i={};e=e||[null,n({}),n([]),n(n)];for(var s=2&r&&t;"object"==typeof s&&!~e.indexOf(s);s=n(s))Object.getOwnPropertyNames(s).forEach((e=>i[e]=()=>t[e]));return i.default=()=>t,o.d(a,i),a},o.d=(e,n)=>{for(var t in n)o.o(n,t)&&!o.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:n[t]})},o.o=(e,n)=>Object.prototype.hasOwnProperty.call(e,n),o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var a={};return(()=>{"use strict";o.d(a,{component:()=>c});const e=coreApis.componentApis.define,n=coreApis.observer,t=coreApis.spinQuery,r="搜索",i=e=>{e.placeholder=r,e.title=r},s=()=>"live.bilibili.com"===window.location.host?"input.nav-search-content":"input.nav-search-input",c=(0,e.defineComponentMetadata)({name:"hideTrendingSearch",displayName:"隐藏热搜",tags:[componentsTags.style],instantStyles:[{name:"hideTrendingSearch",style:()=>Promise.resolve().then(o.t.bind(o,218,23))}],entry:async()=>{const e=s(),o=await(0,t.select)(e,{queryInterval:500});o?i(o):(0,n.allMutations)((e=>{e.forEach((e=>{(e=>{if(!(e instanceof HTMLInputElement))return!1;const n=["nav-search-content","nav-search-input"].some((n=>e.classList.contains(n)));return e.placeholder!==r&&n})(e.target)&&i(e.target)}))}))},commitHash:"58c0b438ca2371e397f70466a91572cb2757b142",coreVersion:"2.10.7",description:(()=>{const e=o(129);return{...Object.fromEntries(e.keys().map((n=>[n.match(/index\.(.+)\.md$/)[1],e(n)]))),"zh-CN":()=>Promise.resolve().then(o.t.bind(o,278,17)).then((e=>e.default))}})()})})(),a=a.component})())); +var a=btoa(unescape(encodeURIComponent(JSON.stringify(o)))),i="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(a),s="/*# ".concat(i," */"),c=o.sources.map((function(e){return"/*# sourceURL=".concat(o.sourceRoot||"").concat(e," */")}));return[r].concat(c).concat([s]).join("\n")}return[r].join("\n")}},218:(e,n,t)=>{var r=t(556);r&&r.__esModule&&(r=r.default),e.exports="string"==typeof r?r:r.toString()},129:e=>{function n(e){var n=new Error("Cannot find module '"+e+"'");throw n.code="MODULE_NOT_FOUND",n}n.keys=()=>[],n.resolve=n,n.id=129,e.exports=n},278:e=>{"use strict";e.exports="隐藏搜索栏和搜索页面中的 `bilibili 热搜`. 请注意这只是视觉上的隐藏, 如果不输入任何关键词就点 Enter 或搜索按钮, 仍然会跳转至推荐的热搜词."}},r={};function o(e){var n=r[e];if(void 0!==n)return n.exports;var a=r[e]={id:e,exports:{}};return t[e](a,a.exports,o),a.exports}n=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,o.t=function(t,r){if(1&r&&(t=this(t)),8&r)return t;if("object"==typeof t&&t){if(4&r&&t.__esModule)return t;if(16&r&&"function"==typeof t.then)return t}var a=Object.create(null);o.r(a);var i={};e=e||[null,n({}),n([]),n(n)];for(var s=2&r&&t;"object"==typeof s&&!~e.indexOf(s);s=n(s))Object.getOwnPropertyNames(s).forEach((e=>i[e]=()=>t[e]));return i.default=()=>t,o.d(a,i),a},o.d=(e,n)=>{for(var t in n)o.o(n,t)&&!o.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:n[t]})},o.o=(e,n)=>Object.prototype.hasOwnProperty.call(e,n),o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var a={};return(()=>{"use strict";o.d(a,{component:()=>c});const e=coreApis.componentApis.define,n=coreApis.observer,t=coreApis.spinQuery,r="搜索",i=e=>{e.placeholder=r,e.title=r},s=()=>"live.bilibili.com"===window.location.host?"input.nav-search-content":"input.nav-search-input",c=(0,e.defineComponentMetadata)({name:"hideTrendingSearch",displayName:"隐藏热搜",tags:[componentsTags.style],instantStyles:[{name:"hideTrendingSearch",style:()=>Promise.resolve().then(o.t.bind(o,218,23))}],entry:async()=>{const e=s(),o=await(0,t.select)(e,{queryInterval:500});o?i(o):(0,n.allMutations)((e=>{e.forEach((e=>{(e=>{if(!(e instanceof HTMLInputElement))return!1;const n=["nav-search-content","nav-search-input"].some((n=>e.classList.contains(n)));return e.placeholder!==r&&n})(e.target)&&i(e.target)}))}))},commitHash:"d87d69cfb9d7e0124bd90a06fec4569bd61e02c5",coreVersion:"2.10.7",description:(()=>{const e=o(129);return{...Object.fromEntries(e.keys().map((n=>[n.match(/index\.(.+)\.md$/)[1],e(n)]))),"zh-CN":()=>Promise.resolve().then(o.t.bind(o,278,17)).then((e=>e.default))}})()})})(),a=a.component})())); //# sourceMappingURL=https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/registry/dist/components/style/hide/trending-search.js.map \ No newline at end of file diff --git a/bb-evolved/registry/dist/components/style/hide/user-card.js b/bb-evolved/registry/dist/components/style/hide/user-card.js index aa2d207df7..8f0640b744 100644 --- a/bb-evolved/registry/dist/components/style/hide/user-card.js +++ b/bb-evolved/registry/dist/components/style/hide/user-card.js @@ -8,5 +8,5 @@ e=[[null,e,""]]);var o={};if(n)for(var i=0;i{"use strict";function t(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=e&&("undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]);if(null==r)return;var n,o,i=[],a=!0,c=!1;try{for(r=r.call(e);!(a=(n=r.next()).done)&&(i.push(n.value),!t||i.length!==t);a=!0);}catch(e){c=!0,o=e}finally{try{a||null==r.return||r.return()}finally{if(c)throw o}}return i}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return r(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return r(e,t)}(e,t)||function(){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 r(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r{var n=r(681);n&&n.__esModule&&(n=n.default),e.exports="string"==typeof n?n:n.toString()}},n={};function o(e){var t=n[e];if(void 0!==t)return t.exports;var i=n[e]={id:e,exports:{}};return r[e](i,i.exports,o),i.exports}t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,o.t=function(r,n){if(1&n&&(r=this(r)),8&n)return r;if("object"==typeof r&&r){if(4&n&&r.__esModule)return r;if(16&n&&"function"==typeof r.then)return r}var i=Object.create(null);o.r(i);var a={};e=e||[null,t({}),t([]),t(t)];for(var c=2&n&&r;"object"==typeof c&&!~e.indexOf(c);c=t(c))Object.getOwnPropertyNames(c).forEach((e=>a[e]=()=>r[e]));return a.default=()=>r,o.d(i,a),i},o.d=(e,t)=>{for(var r in t)o.o(t,r)&&!o.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var i={};return(()=>{"use strict";o.d(i,{component:()=>r});const e=coreApis.componentApis.define,t=coreApis.componentApis.styledComponent,r=(0,e.defineComponentMetadata)({displayName:"隐藏用户信息卡片",description:{"zh-CN":"隐藏鼠标指向用户名或用户头像时弹出的浮动用户信息卡片"},author:{name:"WakelessSloth56",link:"https://github.com/WakelessSloth56"},tags:[componentsTags.style],...(0,t.toggleStyle)("hideUserCard",(()=>Promise.resolve().then(o.t.bind(o,283,23)))),commitHash:"58c0b438ca2371e397f70466a91572cb2757b142",coreVersion:"2.10.7"})})(),i=i.component})())); +var i=btoa(unescape(encodeURIComponent(JSON.stringify(o)))),a="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(i),c="/*# ".concat(a," */"),s=o.sources.map((function(e){return"/*# sourceURL=".concat(o.sourceRoot||"").concat(e," */")}));return[n].concat(s).concat([c]).join("\n")}return[n].join("\n")}},283:(e,t,r)=>{var n=r(681);n&&n.__esModule&&(n=n.default),e.exports="string"==typeof n?n:n.toString()}},n={};function o(e){var t=n[e];if(void 0!==t)return t.exports;var i=n[e]={id:e,exports:{}};return r[e](i,i.exports,o),i.exports}t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,o.t=function(r,n){if(1&n&&(r=this(r)),8&n)return r;if("object"==typeof r&&r){if(4&n&&r.__esModule)return r;if(16&n&&"function"==typeof r.then)return r}var i=Object.create(null);o.r(i);var a={};e=e||[null,t({}),t([]),t(t)];for(var c=2&n&&r;"object"==typeof c&&!~e.indexOf(c);c=t(c))Object.getOwnPropertyNames(c).forEach((e=>a[e]=()=>r[e]));return a.default=()=>r,o.d(i,a),i},o.d=(e,t)=>{for(var r in t)o.o(t,r)&&!o.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var i={};return(()=>{"use strict";o.d(i,{component:()=>r});const e=coreApis.componentApis.define,t=coreApis.componentApis.styledComponent,r=(0,e.defineComponentMetadata)({displayName:"隐藏用户信息卡片",description:{"zh-CN":"隐藏鼠标指向用户名或用户头像时弹出的浮动用户信息卡片"},author:{name:"WakelessSloth56",link:"https://github.com/WakelessSloth56"},tags:[componentsTags.style],...(0,t.toggleStyle)("hideUserCard",(()=>Promise.resolve().then(o.t.bind(o,283,23)))),commitHash:"d87d69cfb9d7e0124bd90a06fec4569bd61e02c5",coreVersion:"2.10.7"})})(),i=i.component})())); //# sourceMappingURL=https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/registry/dist/components/style/hide/user-card.js.map \ No newline at end of file diff --git a/bb-evolved/registry/dist/components/style/hide/user-pendent.js b/bb-evolved/registry/dist/components/style/hide/user-pendent.js index 0d73507464..0a4d9d5fb4 100644 --- a/bb-evolved/registry/dist/components/style/hide/user-pendent.js +++ b/bb-evolved/registry/dist/components/style/hide/user-pendent.js @@ -8,5 +8,5 @@ n=[[null,n,""]]);var a={};if(r)for(var o=0;o{"use strict";function t(n,t){return function(n){if(Array.isArray(n))return n}(n)||function(n,t){var e=n&&("undefined"!=typeof Symbol&&n[Symbol.iterator]||n["@@iterator"]);if(null==e)return;var r,a,o=[],i=!0,s=!1;try{for(e=e.call(n);!(i=(r=e.next()).done)&&(o.push(r.value),!t||o.length!==t);i=!0);}catch(n){s=!0,a=n}finally{try{i||null==e.return||e.return()}finally{if(s)throw a}}return o}(n,t)||function(n,t){if(!n)return;if("string"==typeof n)return e(n,t);var r=Object.prototype.toString.call(n).slice(8,-1);"Object"===r&&n.constructor&&(r=n.constructor.name);if("Map"===r||"Set"===r)return Array.from(n);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return e(n,t)}(n,t)||function(){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 e(n,t){(null==t||t>n.length)&&(t=n.length);for(var e=0,r=new Array(t);e{var r=e(516);r&&r.__esModule&&(r=r.default),n.exports="string"==typeof r?r:r.toString()},23:(n,t,e)=>{var r=e(357);r&&r.__esModule&&(r=r.default),n.exports="string"==typeof r?r:r.toString()},945:n=>{function t(n){var t=new Error("Cannot find module '"+n+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=945,n.exports=t},838:n=>{"use strict";n.exports="隐藏页面中用户的头像框 (包括角标), 目前支持动态和视频页面.\n"}},r={};function a(n){var t=r[n];if(void 0!==t)return t.exports;var o=r[n]={id:n,exports:{}};return e[n](o,o.exports,a),o.exports}t=Object.getPrototypeOf?n=>Object.getPrototypeOf(n):n=>n.__proto__,a.t=function(e,r){if(1&r&&(e=this(e)),8&r)return e;if("object"==typeof e&&e){if(4&r&&e.__esModule)return e;if(16&r&&"function"==typeof e.then)return e}var o=Object.create(null);a.r(o);var i={};n=n||[null,t({}),t([]),t(t)];for(var s=2&r&&e;"object"==typeof s&&!~n.indexOf(s);s=t(s))Object.getOwnPropertyNames(s).forEach((n=>i[n]=()=>e[n]));return i.default=()=>e,a.d(o,i),o},a.d=(n,t)=>{for(var e in t)a.o(t,e)&&!a.o(n,e)&&Object.defineProperty(n,e,{enumerable:!0,get:t[e]})},a.o=(n,t)=>Object.prototype.hasOwnProperty.call(n,t),a.r=n=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(n,"__esModule",{value:!0})};var o={};return(()=>{"use strict";a.d(o,{component:()=>n});const n=(0,coreApis.componentApis.define.defineComponentMetadata)({name:"hideUserPendent",displayName:"隐藏头像框",entry:none,tags:[componentsTags.style],instantStyles:[{name:"hide-user-pendent",style:()=>Promise.resolve().then(a.t.bind(a,23,23))},{name:"hide-user-pendent",style:()=>Promise.resolve().then(a.t.bind(a,190,23)),shadowDom:!0}],commitHash:"58c0b438ca2371e397f70466a91572cb2757b142",coreVersion:"2.10.7",description:(()=>{const n=a(945);return{...Object.fromEntries(n.keys().map((t=>[t.match(/index\.(.+)\.md$/)[1],n(t)]))),"zh-CN":()=>Promise.resolve().then(a.t.bind(a,838,17)).then((n=>n.default))}})()})})(),o=o.component})())); +var o=btoa(unescape(encodeURIComponent(JSON.stringify(a)))),i="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(o),s="/*# ".concat(i," */"),c=a.sources.map((function(n){return"/*# sourceURL=".concat(a.sourceRoot||"").concat(n," */")}));return[r].concat(c).concat([s]).join("\n")}return[r].join("\n")}},190:(n,t,e)=>{var r=e(516);r&&r.__esModule&&(r=r.default),n.exports="string"==typeof r?r:r.toString()},23:(n,t,e)=>{var r=e(357);r&&r.__esModule&&(r=r.default),n.exports="string"==typeof r?r:r.toString()},945:n=>{function t(n){var t=new Error("Cannot find module '"+n+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=945,n.exports=t},838:n=>{"use strict";n.exports="隐藏页面中用户的头像框 (包括角标), 目前支持动态和视频页面.\n"}},r={};function a(n){var t=r[n];if(void 0!==t)return t.exports;var o=r[n]={id:n,exports:{}};return e[n](o,o.exports,a),o.exports}t=Object.getPrototypeOf?n=>Object.getPrototypeOf(n):n=>n.__proto__,a.t=function(e,r){if(1&r&&(e=this(e)),8&r)return e;if("object"==typeof e&&e){if(4&r&&e.__esModule)return e;if(16&r&&"function"==typeof e.then)return e}var o=Object.create(null);a.r(o);var i={};n=n||[null,t({}),t([]),t(t)];for(var s=2&r&&e;"object"==typeof s&&!~n.indexOf(s);s=t(s))Object.getOwnPropertyNames(s).forEach((n=>i[n]=()=>e[n]));return i.default=()=>e,a.d(o,i),o},a.d=(n,t)=>{for(var e in t)a.o(t,e)&&!a.o(n,e)&&Object.defineProperty(n,e,{enumerable:!0,get:t[e]})},a.o=(n,t)=>Object.prototype.hasOwnProperty.call(n,t),a.r=n=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(n,"__esModule",{value:!0})};var o={};return(()=>{"use strict";a.d(o,{component:()=>n});const n=(0,coreApis.componentApis.define.defineComponentMetadata)({name:"hideUserPendent",displayName:"隐藏头像框",entry:none,tags:[componentsTags.style],instantStyles:[{name:"hide-user-pendent",style:()=>Promise.resolve().then(a.t.bind(a,23,23))},{name:"hide-user-pendent",style:()=>Promise.resolve().then(a.t.bind(a,190,23)),shadowDom:!0}],commitHash:"d87d69cfb9d7e0124bd90a06fec4569bd61e02c5",coreVersion:"2.10.7",description:(()=>{const n=a(945);return{...Object.fromEntries(n.keys().map((t=>[t.match(/index\.(.+)\.md$/)[1],n(t)]))),"zh-CN":()=>Promise.resolve().then(a.t.bind(a,838,17)).then((n=>n.default))}})()})})(),o=o.component})())); //# sourceMappingURL=https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/registry/dist/components/style/hide/user-pendent.js.map \ No newline at end of file diff --git a/bb-evolved/registry/dist/components/style/hide/video/notes.js b/bb-evolved/registry/dist/components/style/hide/video/notes.js index 359a0ef164..6a0626214d 100644 --- a/bb-evolved/registry/dist/components/style/hide/video/notes.js +++ b/bb-evolved/registry/dist/components/style/hide/video/notes.js @@ -8,5 +8,5 @@ e=[[null,e,""]]);var r={};if(o)for(var i=0;i{"use strict";function t(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=e&&("undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]);if(null==n)return;var o,r,i=[],a=!0,c=!1;try{for(n=n.call(e);!(a=(o=n.next()).done)&&(i.push(o.value),!t||i.length!==t);a=!0);}catch(e){c=!0,r=e}finally{try{a||null==n.return||n.return()}finally{if(c)throw r}}return i}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return n(e,t);var o=Object.prototype.toString.call(e).slice(8,-1);"Object"===o&&e.constructor&&(o=e.constructor.name);if("Map"===o||"Set"===o)return Array.from(e);if("Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o))return n(e,t)}(e,t)||function(){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 n(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n{var o=n(687);o&&o.__esModule&&(o=o.default),e.exports="string"==typeof o?o:o.toString()},644:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=644,e.exports=t},263:e=>{"use strict";e.exports='隐藏视频页面中的 "记笔记" 按钮.\n'}},o={};function r(e){var t=o[e];if(void 0!==t)return t.exports;var i=o[e]={id:e,exports:{}};return n[e](i,i.exports,r),i.exports}t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,r.t=function(n,o){if(1&o&&(n=this(n)),8&o)return n;if("object"==typeof n&&n){if(4&o&&n.__esModule)return n;if(16&o&&"function"==typeof n.then)return n}var i=Object.create(null);r.r(i);var a={};e=e||[null,t({}),t([]),t(t)];for(var c=2&o&&n;"object"==typeof c&&!~e.indexOf(c);c=t(c))Object.getOwnPropertyNames(c).forEach((e=>a[e]=()=>n[e]));return a.default=()=>n,r.d(i,a),i},r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var i={};return(()=>{"use strict";r.d(i,{component:()=>t});const e="hideVideoNotes",t=(0,coreApis.componentApis.define.defineComponentMetadata)({name:e,displayName:"隐藏记笔记",tags:[componentsTags.video,componentsTags.style],entry:none,instantStyles:[{name:e,style:()=>Promise.resolve().then(r.t.bind(r,77,23))}],commitHash:"58c0b438ca2371e397f70466a91572cb2757b142",coreVersion:"2.10.7",description:(()=>{const e=r(644);return{...Object.fromEntries(e.keys().map((t=>[t.match(/index\.(.+)\.md$/)[1],e(t)]))),"zh-CN":()=>Promise.resolve().then(r.t.bind(r,263,17)).then((e=>e.default))}})()})})(),i=i.component})())); +var i=btoa(unescape(encodeURIComponent(JSON.stringify(r)))),a="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(i),c="/*# ".concat(a," */"),s=r.sources.map((function(e){return"/*# sourceURL=".concat(r.sourceRoot||"").concat(e," */")}));return[o].concat(s).concat([c]).join("\n")}return[o].join("\n")}},77:(e,t,n)=>{var o=n(687);o&&o.__esModule&&(o=o.default),e.exports="string"==typeof o?o:o.toString()},644:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=644,e.exports=t},263:e=>{"use strict";e.exports='隐藏视频页面中的 "记笔记" 按钮.\n'}},o={};function r(e){var t=o[e];if(void 0!==t)return t.exports;var i=o[e]={id:e,exports:{}};return n[e](i,i.exports,r),i.exports}t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,r.t=function(n,o){if(1&o&&(n=this(n)),8&o)return n;if("object"==typeof n&&n){if(4&o&&n.__esModule)return n;if(16&o&&"function"==typeof n.then)return n}var i=Object.create(null);r.r(i);var a={};e=e||[null,t({}),t([]),t(t)];for(var c=2&o&&n;"object"==typeof c&&!~e.indexOf(c);c=t(c))Object.getOwnPropertyNames(c).forEach((e=>a[e]=()=>n[e]));return a.default=()=>n,r.d(i,a),i},r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var i={};return(()=>{"use strict";r.d(i,{component:()=>t});const e="hideVideoNotes",t=(0,coreApis.componentApis.define.defineComponentMetadata)({name:e,displayName:"隐藏记笔记",tags:[componentsTags.video,componentsTags.style],entry:none,instantStyles:[{name:e,style:()=>Promise.resolve().then(r.t.bind(r,77,23))}],commitHash:"d87d69cfb9d7e0124bd90a06fec4569bd61e02c5",coreVersion:"2.10.7",description:(()=>{const e=r(644);return{...Object.fromEntries(e.keys().map((t=>[t.match(/index\.(.+)\.md$/)[1],e(t)]))),"zh-CN":()=>Promise.resolve().then(r.t.bind(r,263,17)).then((e=>e.default))}})()})})(),i=i.component})())); //# sourceMappingURL=https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/registry/dist/components/style/hide/video/notes.js.map \ No newline at end of file diff --git a/bb-evolved/registry/dist/components/style/hide/video/recommended-live.js b/bb-evolved/registry/dist/components/style/hide/video/recommended-live.js index a5233a2940..f6196a4c5e 100644 --- a/bb-evolved/registry/dist/components/style/hide/video/recommended-live.js +++ b/bb-evolved/registry/dist/components/style/hide/video/recommended-live.js @@ -8,5 +8,5 @@ e=[[null,e,""]]);var o={};if(r)for(var i=0;i{"use strict";function t(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=e&&("undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]);if(null==n)return;var r,o,i=[],a=!0,c=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){c=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(c)throw o}}return i}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return n(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return n(e,t)}(e,t)||function(){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 n(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n{var r=n(302);r&&r.__esModule&&(r=r.default),e.exports="string"==typeof r?r:r.toString()}},r={};function o(e){var t=r[e];if(void 0!==t)return t.exports;var i=r[e]={id:e,exports:{}};return n[e](i,i.exports,o),i.exports}t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,o.t=function(n,r){if(1&r&&(n=this(n)),8&r)return n;if("object"==typeof n&&n){if(4&r&&n.__esModule)return n;if(16&r&&"function"==typeof n.then)return n}var i=Object.create(null);o.r(i);var a={};e=e||[null,t({}),t([]),t(t)];for(var c=2&r&&n;"object"==typeof c&&!~e.indexOf(c);c=t(c))Object.getOwnPropertyNames(c).forEach((e=>a[e]=()=>n[e]));return a.default=()=>n,o.d(i,a),i},o.d=(e,t)=>{for(var n in t)o.o(t,n)&&!o.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var i={};return(()=>{"use strict";o.d(i,{component:()=>n});const e=coreApis.componentApis.define,t=coreApis.utils.urls,n=(0,e.defineComponentMetadata)({name:"hideRecommendedLive",entry:none,instantStyles:[{name:"hideRecommendedLive",style:()=>Promise.resolve().then(o.t.bind(o,832,23))}],displayName:"隐藏直播推荐",tags:[componentsTags.style,componentsTags.video],description:{"zh-CN":"隐藏视频页面右侧下方的直播推荐."},urlInclude:t.videoUrls,commitHash:"58c0b438ca2371e397f70466a91572cb2757b142",coreVersion:"2.10.7"})})(),i=i.component})())); +var i=btoa(unescape(encodeURIComponent(JSON.stringify(o)))),a="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(i),c="/*# ".concat(a," */"),s=o.sources.map((function(e){return"/*# sourceURL=".concat(o.sourceRoot||"").concat(e," */")}));return[r].concat(s).concat([c]).join("\n")}return[r].join("\n")}},832:(e,t,n)=>{var r=n(302);r&&r.__esModule&&(r=r.default),e.exports="string"==typeof r?r:r.toString()}},r={};function o(e){var t=r[e];if(void 0!==t)return t.exports;var i=r[e]={id:e,exports:{}};return n[e](i,i.exports,o),i.exports}t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,o.t=function(n,r){if(1&r&&(n=this(n)),8&r)return n;if("object"==typeof n&&n){if(4&r&&n.__esModule)return n;if(16&r&&"function"==typeof n.then)return n}var i=Object.create(null);o.r(i);var a={};e=e||[null,t({}),t([]),t(t)];for(var c=2&r&&n;"object"==typeof c&&!~e.indexOf(c);c=t(c))Object.getOwnPropertyNames(c).forEach((e=>a[e]=()=>n[e]));return a.default=()=>n,o.d(i,a),i},o.d=(e,t)=>{for(var n in t)o.o(t,n)&&!o.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var i={};return(()=>{"use strict";o.d(i,{component:()=>n});const e=coreApis.componentApis.define,t=coreApis.utils.urls,n=(0,e.defineComponentMetadata)({name:"hideRecommendedLive",entry:none,instantStyles:[{name:"hideRecommendedLive",style:()=>Promise.resolve().then(o.t.bind(o,832,23))}],displayName:"隐藏直播推荐",tags:[componentsTags.style,componentsTags.video],description:{"zh-CN":"隐藏视频页面右侧下方的直播推荐."},urlInclude:t.videoUrls,commitHash:"d87d69cfb9d7e0124bd90a06fec4569bd61e02c5",coreVersion:"2.10.7"})})(),i=i.component})())); //# sourceMappingURL=https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/registry/dist/components/style/hide/video/recommended-live.js.map \ No newline at end of file diff --git a/bb-evolved/registry/dist/components/style/hide/video/related-videos.js b/bb-evolved/registry/dist/components/style/hide/video/related-videos.js index 6d05a286a5..d96ea1aeb5 100644 --- a/bb-evolved/registry/dist/components/style/hide/video/related-videos.js +++ b/bb-evolved/registry/dist/components/style/hide/video/related-videos.js @@ -8,5 +8,5 @@ e=[[null,e,""]]);var o={};if(r)for(var i=0;i{"use strict";function n(e,n){return function(e){if(Array.isArray(e))return e}(e)||function(e,n){var t=e&&("undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]);if(null==t)return;var r,o,i=[],a=!0,c=!1;try{for(t=t.call(e);!(a=(r=t.next()).done)&&(i.push(r.value),!n||i.length!==n);a=!0);}catch(e){c=!0,o=e}finally{try{a||null==t.return||t.return()}finally{if(c)throw o}}return i}(e,n)||function(e,n){if(!e)return;if("string"==typeof e)return t(e,n);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return t(e,n)}(e,n)||function(){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 t(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=new Array(n);t{var r=t(332);r&&r.__esModule&&(r=r.default),e.exports="string"==typeof r?r:r.toString()},607:e=>{function n(e){var n=new Error("Cannot find module '"+e+"'");throw n.code="MODULE_NOT_FOUND",n}n.keys=()=>[],n.resolve=n,n.id=607,e.exports=n},500:e=>{"use strict";e.exports="隐藏番剧和视频页面右侧的推荐视频列表. 注意: 如果你想关闭 b 站的自动连播 (自动播放下一个推荐视频) 功能, 需要先取消隐藏视频推荐才能看到开关.\n"}},r={};function o(e){var n=r[e];if(void 0!==n)return n.exports;var i=r[e]={id:e,exports:{}};return t[e](i,i.exports,o),i.exports}n=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,o.t=function(t,r){if(1&r&&(t=this(t)),8&r)return t;if("object"==typeof t&&t){if(4&r&&t.__esModule)return t;if(16&r&&"function"==typeof t.then)return t}var i=Object.create(null);o.r(i);var a={};e=e||[null,n({}),n([]),n(n)];for(var c=2&r&&t;"object"==typeof c&&!~e.indexOf(c);c=n(c))Object.getOwnPropertyNames(c).forEach((e=>a[e]=()=>t[e]));return a.default=()=>t,o.d(i,a),i},o.d=(e,n)=>{for(var t in n)o.o(n,t)&&!o.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:n[t]})},o.o=(e,n)=>Object.prototype.hasOwnProperty.call(e,n),o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var i={};return(()=>{"use strict";o.d(i,{component:()=>t});const e=coreApis.componentApis.define,n=coreApis.utils.urls,t=(0,e.defineComponentMetadata)({name:"hideRelatedVideos",displayName:"隐藏视频推荐",entry:none,instantStyles:[{name:"hideRelatedVideos",style:()=>Promise.resolve().then(o.t.bind(o,414,23))}],tags:[componentsTags.style,componentsTags.video],urlInclude:n.videoAndBangumiUrls,commitHash:"58c0b438ca2371e397f70466a91572cb2757b142",coreVersion:"2.10.7",description:(()=>{const e=o(607);return{...Object.fromEntries(e.keys().map((n=>[n.match(/index\.(.+)\.md$/)[1],e(n)]))),"zh-CN":()=>Promise.resolve().then(o.t.bind(o,500,17)).then((e=>e.default))}})()})})(),i=i.component})())); +var i=btoa(unescape(encodeURIComponent(JSON.stringify(o)))),a="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(i),c="/*# ".concat(a," */"),l=o.sources.map((function(e){return"/*# sourceURL=".concat(o.sourceRoot||"").concat(e," */")}));return[r].concat(l).concat([c]).join("\n")}return[r].join("\n")}},414:(e,n,t)=>{var r=t(332);r&&r.__esModule&&(r=r.default),e.exports="string"==typeof r?r:r.toString()},607:e=>{function n(e){var n=new Error("Cannot find module '"+e+"'");throw n.code="MODULE_NOT_FOUND",n}n.keys=()=>[],n.resolve=n,n.id=607,e.exports=n},500:e=>{"use strict";e.exports="隐藏番剧和视频页面右侧的推荐视频列表. 注意: 如果你想关闭 b 站的自动连播 (自动播放下一个推荐视频) 功能, 需要先取消隐藏视频推荐才能看到开关.\n"}},r={};function o(e){var n=r[e];if(void 0!==n)return n.exports;var i=r[e]={id:e,exports:{}};return t[e](i,i.exports,o),i.exports}n=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,o.t=function(t,r){if(1&r&&(t=this(t)),8&r)return t;if("object"==typeof t&&t){if(4&r&&t.__esModule)return t;if(16&r&&"function"==typeof t.then)return t}var i=Object.create(null);o.r(i);var a={};e=e||[null,n({}),n([]),n(n)];for(var c=2&r&&t;"object"==typeof c&&!~e.indexOf(c);c=n(c))Object.getOwnPropertyNames(c).forEach((e=>a[e]=()=>t[e]));return a.default=()=>t,o.d(i,a),i},o.d=(e,n)=>{for(var t in n)o.o(n,t)&&!o.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:n[t]})},o.o=(e,n)=>Object.prototype.hasOwnProperty.call(e,n),o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var i={};return(()=>{"use strict";o.d(i,{component:()=>t});const e=coreApis.componentApis.define,n=coreApis.utils.urls,t=(0,e.defineComponentMetadata)({name:"hideRelatedVideos",displayName:"隐藏视频推荐",entry:none,instantStyles:[{name:"hideRelatedVideos",style:()=>Promise.resolve().then(o.t.bind(o,414,23))}],tags:[componentsTags.style,componentsTags.video],urlInclude:n.videoAndBangumiUrls,commitHash:"d87d69cfb9d7e0124bd90a06fec4569bd61e02c5",coreVersion:"2.10.7",description:(()=>{const e=o(607);return{...Object.fromEntries(e.keys().map((n=>[n.match(/index\.(.+)\.md$/)[1],e(n)]))),"zh-CN":()=>Promise.resolve().then(o.t.bind(o,500,17)).then((e=>e.default))}})()})})(),i=i.component})())); //# sourceMappingURL=https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/registry/dist/components/style/hide/video/related-videos.js.map \ No newline at end of file diff --git a/bb-evolved/registry/dist/components/style/hide/video/report.js b/bb-evolved/registry/dist/components/style/hide/video/report.js index 1c613217bb..a2a514dfb2 100644 --- a/bb-evolved/registry/dist/components/style/hide/video/report.js +++ b/bb-evolved/registry/dist/components/style/hide/video/report.js @@ -8,5 +8,5 @@ e=[[null,e,""]]);var n={};if(r)for(var i=0;i{"use strict";function t(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var o=e&&("undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]);if(null==o)return;var r,n,i=[],a=!0,c=!1;try{for(o=o.call(e);!(a=(r=o.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){c=!0,n=e}finally{try{a||null==o.return||o.return()}finally{if(c)throw n}}return i}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return o(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return o(e,t)}(e,t)||function(){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 o(e,t){(null==t||t>e.length)&&(t=e.length);for(var o=0,r=new Array(t);o{var r=o(835);r&&r.__esModule&&(r=r.default),e.exports="string"==typeof r?r:r.toString()},215:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=215,e.exports=t},664:e=>{"use strict";e.exports='隐藏视频页面中的 "稿件投诉" 按钮.\n'}},r={};function n(e){var t=r[e];if(void 0!==t)return t.exports;var i=r[e]={id:e,exports:{}};return o[e](i,i.exports,n),i.exports}t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,n.t=function(o,r){if(1&r&&(o=this(o)),8&r)return o;if("object"==typeof o&&o){if(4&r&&o.__esModule)return o;if(16&r&&"function"==typeof o.then)return o}var i=Object.create(null);n.r(i);var a={};e=e||[null,t({}),t([]),t(t)];for(var c=2&r&&o;"object"==typeof c&&!~e.indexOf(c);c=t(c))Object.getOwnPropertyNames(c).forEach((e=>a[e]=()=>o[e]));return a.default=()=>o,n.d(i,a),i},n.d=(e,t)=>{for(var o in t)n.o(t,o)&&!n.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var i={};return(()=>{"use strict";n.d(i,{component:()=>t});const e="hideVideoReport",t=(0,coreApis.componentApis.define.defineComponentMetadata)({name:e,displayName:"隐藏稿件投诉",tags:[componentsTags.video,componentsTags.style],entry:none,instantStyles:[{name:e,style:()=>Promise.resolve().then(n.t.bind(n,905,23))}],commitHash:"58c0b438ca2371e397f70466a91572cb2757b142",coreVersion:"2.10.7",description:(()=>{const e=n(215);return{...Object.fromEntries(e.keys().map((t=>[t.match(/index\.(.+)\.md$/)[1],e(t)]))),"zh-CN":()=>Promise.resolve().then(n.t.bind(n,664,17)).then((e=>e.default))}})()})})(),i=i.component})())); +var i=btoa(unescape(encodeURIComponent(JSON.stringify(n)))),a="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(i),c="/*# ".concat(a," */"),s=n.sources.map((function(e){return"/*# sourceURL=".concat(n.sourceRoot||"").concat(e," */")}));return[r].concat(s).concat([c]).join("\n")}return[r].join("\n")}},905:(e,t,o)=>{var r=o(835);r&&r.__esModule&&(r=r.default),e.exports="string"==typeof r?r:r.toString()},215:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=215,e.exports=t},664:e=>{"use strict";e.exports='隐藏视频页面中的 "稿件投诉" 按钮.\n'}},r={};function n(e){var t=r[e];if(void 0!==t)return t.exports;var i=r[e]={id:e,exports:{}};return o[e](i,i.exports,n),i.exports}t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,n.t=function(o,r){if(1&r&&(o=this(o)),8&r)return o;if("object"==typeof o&&o){if(4&r&&o.__esModule)return o;if(16&r&&"function"==typeof o.then)return o}var i=Object.create(null);n.r(i);var a={};e=e||[null,t({}),t([]),t(t)];for(var c=2&r&&o;"object"==typeof c&&!~e.indexOf(c);c=t(c))Object.getOwnPropertyNames(c).forEach((e=>a[e]=()=>o[e]));return a.default=()=>o,n.d(i,a),i},n.d=(e,t)=>{for(var o in t)n.o(t,o)&&!n.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var i={};return(()=>{"use strict";n.d(i,{component:()=>t});const e="hideVideoReport",t=(0,coreApis.componentApis.define.defineComponentMetadata)({name:e,displayName:"隐藏稿件投诉",tags:[componentsTags.video,componentsTags.style],entry:none,instantStyles:[{name:e,style:()=>Promise.resolve().then(n.t.bind(n,905,23))}],commitHash:"d87d69cfb9d7e0124bd90a06fec4569bd61e02c5",coreVersion:"2.10.7",description:(()=>{const e=n(215);return{...Object.fromEntries(e.keys().map((t=>[t.match(/index\.(.+)\.md$/)[1],e(t)]))),"zh-CN":()=>Promise.resolve().then(n.t.bind(n,664,17)).then((e=>e.default))}})()})})(),i=i.component})())); //# sourceMappingURL=https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/registry/dist/components/style/hide/video/report.js.map \ No newline at end of file diff --git a/bb-evolved/registry/dist/components/style/hide/video/share.js b/bb-evolved/registry/dist/components/style/hide/video/share.js index 2eb148de25..fac9ee5559 100644 --- a/bb-evolved/registry/dist/components/style/hide/video/share.js +++ b/bb-evolved/registry/dist/components/style/hide/video/share.js @@ -8,5 +8,5 @@ e=[[null,e,""]]);var r={};if(o)for(var a=0;a{"use strict";function t(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=e&&("undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]);if(null==n)return;var o,r,a=[],i=!0,s=!1;try{for(n=n.call(e);!(i=(o=n.next()).done)&&(a.push(o.value),!t||a.length!==t);i=!0);}catch(e){s=!0,r=e}finally{try{i||null==n.return||n.return()}finally{if(s)throw r}}return a}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return n(e,t);var o=Object.prototype.toString.call(e).slice(8,-1);"Object"===o&&e.constructor&&(o=e.constructor.name);if("Map"===o||"Set"===o)return Array.from(e);if("Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o))return n(e,t)}(e,t)||function(){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 n(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n{var o=n(627);o&&o.__esModule&&(o=o.default),e.exports="string"==typeof o?o:o.toString()},534:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=534,e.exports=t},89:e=>{"use strict";e.exports="隐藏视频和番剧播放器下方的分享按钮.\n"}},o={};function r(e){var t=o[e];if(void 0!==t)return t.exports;var a=o[e]={id:e,exports:{}};return n[e](a,a.exports,r),a.exports}t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,r.t=function(n,o){if(1&o&&(n=this(n)),8&o)return n;if("object"==typeof n&&n){if(4&o&&n.__esModule)return n;if(16&o&&"function"==typeof n.then)return n}var a=Object.create(null);r.r(a);var i={};e=e||[null,t({}),t([]),t(t)];for(var s=2&o&&n;"object"==typeof s&&!~e.indexOf(s);s=t(s))Object.getOwnPropertyNames(s).forEach((e=>i[e]=()=>n[e]));return i.default=()=>n,r.d(a,i),a},r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var a={};return(()=>{"use strict";r.d(a,{component:()=>e});const e=(0,coreApis.componentApis.define.defineComponentMetadata)({name:"hideVideoShare",displayName:"隐藏视频分享",tags:[componentsTags.style,componentsTags.video],instantStyles:[{name:"hideVideoShare",style:()=>Promise.resolve().then(r.t.bind(r,1,23))}],entry:none,commitHash:"58c0b438ca2371e397f70466a91572cb2757b142",coreVersion:"2.10.7",description:(()=>{const e=r(534);return{...Object.fromEntries(e.keys().map((t=>[t.match(/index\.(.+)\.md$/)[1],e(t)]))),"zh-CN":()=>Promise.resolve().then(r.t.bind(r,89,17)).then((e=>e.default))}})()})})(),a=a.component})())); +var a=btoa(unescape(encodeURIComponent(JSON.stringify(r)))),i="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(a),s="/*# ".concat(i," */"),c=r.sources.map((function(e){return"/*# sourceURL=".concat(r.sourceRoot||"").concat(e," */")}));return[o].concat(c).concat([s]).join("\n")}return[o].join("\n")}},1:(e,t,n)=>{var o=n(627);o&&o.__esModule&&(o=o.default),e.exports="string"==typeof o?o:o.toString()},534:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=534,e.exports=t},89:e=>{"use strict";e.exports="隐藏视频和番剧播放器下方的分享按钮.\n"}},o={};function r(e){var t=o[e];if(void 0!==t)return t.exports;var a=o[e]={id:e,exports:{}};return n[e](a,a.exports,r),a.exports}t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,r.t=function(n,o){if(1&o&&(n=this(n)),8&o)return n;if("object"==typeof n&&n){if(4&o&&n.__esModule)return n;if(16&o&&"function"==typeof n.then)return n}var a=Object.create(null);r.r(a);var i={};e=e||[null,t({}),t([]),t(t)];for(var s=2&o&&n;"object"==typeof s&&!~e.indexOf(s);s=t(s))Object.getOwnPropertyNames(s).forEach((e=>i[e]=()=>n[e]));return i.default=()=>n,r.d(a,i),a},r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var a={};return(()=>{"use strict";r.d(a,{component:()=>e});const e=(0,coreApis.componentApis.define.defineComponentMetadata)({name:"hideVideoShare",displayName:"隐藏视频分享",tags:[componentsTags.style,componentsTags.video],instantStyles:[{name:"hideVideoShare",style:()=>Promise.resolve().then(r.t.bind(r,1,23))}],entry:none,commitHash:"d87d69cfb9d7e0124bd90a06fec4569bd61e02c5",coreVersion:"2.10.7",description:(()=>{const e=r(534);return{...Object.fromEntries(e.keys().map((t=>[t.match(/index\.(.+)\.md$/)[1],e(t)]))),"zh-CN":()=>Promise.resolve().then(r.t.bind(r,89,17)).then((e=>e.default))}})()})})(),a=a.component})())); //# sourceMappingURL=https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/registry/dist/components/style/hide/video/share.js.map \ No newline at end of file diff --git a/bb-evolved/registry/dist/components/style/hide/video/top-mask.js b/bb-evolved/registry/dist/components/style/hide/video/top-mask.js index 0a45625599..ba6bcb7c33 100644 --- a/bb-evolved/registry/dist/components/style/hide/video/top-mask.js +++ b/bb-evolved/registry/dist/components/style/hide/video/top-mask.js @@ -8,5 +8,5 @@ t=[[null,t,""]]);var n={};if(o)for(var i=0;i{"use strict";function e(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=t&&("undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"]);if(null==r)return;var o,n,i=[],a=!0,c=!1;try{for(r=r.call(t);!(a=(o=r.next()).done)&&(i.push(o.value),!e||i.length!==e);a=!0);}catch(t){c=!0,n=t}finally{try{a||null==r.return||r.return()}finally{if(c)throw n}}return i}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return r(t,e);var o=Object.prototype.toString.call(t).slice(8,-1);"Object"===o&&t.constructor&&(o=t.constructor.name);if("Map"===o||"Set"===o)return Array.from(t);if("Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o))return r(t,e)}(t,e)||function(){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 r(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,o=new Array(e);r{var o=r(930);o&&o.__esModule&&(o=o.default),t.exports="string"==typeof o?o:o.toString()}},o={};function n(t){var e=o[t];if(void 0!==e)return e.exports;var i=o[t]={id:t,exports:{}};return r[t](i,i.exports,n),i.exports}e=Object.getPrototypeOf?t=>Object.getPrototypeOf(t):t=>t.__proto__,n.t=function(r,o){if(1&o&&(r=this(r)),8&o)return r;if("object"==typeof r&&r){if(4&o&&r.__esModule)return r;if(16&o&&"function"==typeof r.then)return r}var i=Object.create(null);n.r(i);var a={};t=t||[null,e({}),e([]),e(e)];for(var c=2&o&&r;"object"==typeof c&&!~t.indexOf(c);c=e(c))Object.getOwnPropertyNames(c).forEach((t=>a[t]=()=>r[t]));return a.default=()=>r,n.d(i,a),i},n.d=(t,e)=>{for(var r in e)n.o(e,r)&&!n.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},n.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),n.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var i={};return(()=>{"use strict";n.d(i,{component:()=>o});const t=coreApis.componentApis.define,e=coreApis.utils.urls,r="hideVideoTopMask",o=(0,t.defineComponentMetadata)({name:r,displayName:"隐藏视频标题层",entry:none,instantStyles:[{name:r,style:()=>Promise.resolve().then(n.t.bind(n,548,23))}],tags:[componentsTags.style,componentsTags.video],description:{"zh-CN":"隐藏视频里鼠标经过时出现在右上角的覆盖层."},urlInclude:e.playerUrls,commitHash:"58c0b438ca2371e397f70466a91572cb2757b142",coreVersion:"2.10.7"})})(),i=i.component})())); +var i=btoa(unescape(encodeURIComponent(JSON.stringify(n)))),a="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(i),c="/*# ".concat(a," */"),s=n.sources.map((function(t){return"/*# sourceURL=".concat(n.sourceRoot||"").concat(t," */")}));return[o].concat(s).concat([c]).join("\n")}return[o].join("\n")}},548:(t,e,r)=>{var o=r(930);o&&o.__esModule&&(o=o.default),t.exports="string"==typeof o?o:o.toString()}},o={};function n(t){var e=o[t];if(void 0!==e)return e.exports;var i=o[t]={id:t,exports:{}};return r[t](i,i.exports,n),i.exports}e=Object.getPrototypeOf?t=>Object.getPrototypeOf(t):t=>t.__proto__,n.t=function(r,o){if(1&o&&(r=this(r)),8&o)return r;if("object"==typeof r&&r){if(4&o&&r.__esModule)return r;if(16&o&&"function"==typeof r.then)return r}var i=Object.create(null);n.r(i);var a={};t=t||[null,e({}),e([]),e(e)];for(var c=2&o&&r;"object"==typeof c&&!~t.indexOf(c);c=e(c))Object.getOwnPropertyNames(c).forEach((t=>a[t]=()=>r[t]));return a.default=()=>r,n.d(i,a),i},n.d=(t,e)=>{for(var r in e)n.o(e,r)&&!n.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},n.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),n.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var i={};return(()=>{"use strict";n.d(i,{component:()=>o});const t=coreApis.componentApis.define,e=coreApis.utils.urls,r="hideVideoTopMask",o=(0,t.defineComponentMetadata)({name:r,displayName:"隐藏视频标题层",entry:none,instantStyles:[{name:r,style:()=>Promise.resolve().then(n.t.bind(n,548,23))}],tags:[componentsTags.style,componentsTags.video],description:{"zh-CN":"隐藏视频里鼠标经过时出现在右上角的覆盖层."},urlInclude:e.playerUrls,commitHash:"d87d69cfb9d7e0124bd90a06fec4569bd61e02c5",coreVersion:"2.10.7"})})(),i=i.component})())); //# sourceMappingURL=https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/registry/dist/components/style/hide/video/top-mask.js.map \ No newline at end of file diff --git a/bb-evolved/registry/dist/components/style/home-redesign/fresh.js b/bb-evolved/registry/dist/components/style/home-redesign/fresh.js index 41937867b3..892ab93759 100644 --- a/bb-evolved/registry/dist/components/style/home-redesign/fresh.js +++ b/bb-evolved/registry/dist/components/style/home-redesign/fresh.js @@ -18,5 +18,5 @@ e=e.slice(1,-1)),n.hash&&( e+=n.hash),/["'() \t\n]/.test(e)||n.needQuotes?'"'.concat(e.replace(/"/g,'\\"').replace(/\n/g,"\\n"),'"'):e)}},6991:(e,n,o)=>{"use strict";var t,r=function(){return void 0===t&&( // @see http://browserhacks.com/#hack-e71d8692f65334173fee715c222cb805 // @see https://github.com/webpack-contrib/style-loader/issues/177 -t=Boolean(window&&document&&document.all&&!window.atob)),t},a=function(){var e={};return function(n){if(void 0===e[n]){var o=document.querySelector(n);if(window.HTMLIFrameElement&&o instanceof window.HTMLIFrameElement)try{o=o.contentDocument.head}catch(e){o=null}e[n]=o}return e[n]}}(),i=[];function s(e){for(var n=-1,o=0;o{var t=o(7915);t&&t.__esModule&&(t=t.default),e.exports="string"==typeof t?t:t.toString()},8865:(e,n,o)=>{"use strict";o.r(n),o.d(n,{default:()=>b});var t=function(){var e=this,n=e._self._c;e._self._setupProxy;return n("div",{staticClass:"fresh-home-extra-options"},[n("div",{staticClass:"fresh-home-extra-options-title"},[e._v("布局配置")]),e._v(" "),e.loaded?e._e():n("VLoading"),e._v(" "),e.loaded?n("div",{staticClass:"fresh-home-extra-options-tips"},[n("div",{staticClass:"fresh-home-extra-options-tip"},[e._v("\n 按住并拖动可以调整顺序, 打开换行后下一个元素将会另起一行.\n ")]),e._v(" "),n("div",{staticClass:"fresh-home-extra-options-legends"},[n("div",{staticClass:"fresh-home-extra-options-legend"},[n("VIcon",{attrs:{icon:"mdi-arrow-expand-horizontal",size:16}}),e._v(" "),n("div",{staticClass:"fresh-home-extra-options-legend-text"},[e._v("可变宽度")])],1),e._v(" "),n("div",{staticClass:"fresh-home-extra-options-legend"},[n("VIcon",{attrs:{icon:"mdi-arrow-collapse-horizontal",size:16}}),e._v(" "),n("div",{staticClass:"fresh-home-extra-options-legend-text"},[e._v("固定宽度")])],1),e._v(" "),n("div",{staticClass:"fresh-home-extra-options-legend"},[n("VIcon",{attrs:{icon:"mdi-wrap",size:16}}),e._v(" "),n("div",{staticClass:"fresh-home-extra-options-legend-text"},[e._v("切换换行")])],1),e._v(" "),n("div",{staticClass:"fresh-home-extra-options-legend"},[n("VIcon",{attrs:{icon:"mdi-eye-outline",size:16}}),e._v(" "),n("div",{staticClass:"fresh-home-extra-options-legend-text"},[e._v("切换显示")])],1)])]):e._e(),e._v(" "),n("div",{directives:[{name:"show",rawName:"v-show",value:e.loaded,expression:"loaded"}],ref:"sortList",staticClass:"fresh-home-extra-options-sort-list"},e._l(e.sortedItems,(function(o){return n("div",{key:o.layoutItem.name,staticClass:"fresh-home-extra-options-sort-item",class:{"fresh-home-extra-options-sort-item-dimmed":o.layoutSettings.hidden},attrs:{"data-name":o.layoutItem.name}},[o.layoutItem.grow?n("VIcon",{staticClass:"fresh-home-extra-options-sort-item-type",attrs:{title:"可变宽度",icon:"mdi-arrow-expand-horizontal",size:16}}):n("VIcon",{staticClass:"fresh-home-extra-options-sort-item-type",attrs:{icon:"mdi-arrow-collapse-horizontal",title:"固定宽度",size:16}}),e._v(" "),n("div",{staticClass:"fresh-home-extra-options-sort-item-name"},[e._v(e._s(o.layoutItem.displayName))]),e._v(" "),n("div",{staticClass:"fresh-home-extra-options-sort-item-actions"},[n("VButton",{attrs:{type:"transparent",title:"切换换行",icon:""},on:{click:function(n){return e.toggleLinebreak(o.layoutItem)}}},[o.layoutSettings.linebreak?n("VIcon",{attrs:{icon:"mdi-wrap",size:16}}):n("VIcon",{attrs:{icon:"mdi-wrap-disabled",size:16}})],1),e._v(" "),n("VButton",{attrs:{type:"transparent",title:"切换显示",icon:""},on:{click:function(n){return e.toggleVisible(o.layoutItem)}}},[o.layoutSettings.hidden?n("VIcon",{attrs:{icon:"mdi-eye-off-outline",size:16}}):n("VIcon",{attrs:{icon:"mdi-eye-outline",size:16}})],1)],1)],1)})),0)],1)};t._withStripped=!0;const r=coreApis.runtimeLibrary;var a=o(2007),i=o(1164),s=o(1717),A=o(575);const d=Vue.extend({components:{VLoading:i.VLoading,VIcon:i.VIcon,VButton:i.VButton},data:()=>({loaded:!1,layouts:s.Y,sortedItems:[]}),async mounted(){const e=this.$refs.sortList,n=await r.SortableJSLibrary;console.log({list:e}),n.create(e,{delay:100,forceFallback:!0,onEnd:e=>{const n=[...this.sortedItems],[o]=n.splice(e.oldIndex,1);console.log(o.layoutItem.name,`${e.oldIndex} -> ${e.newIndex}`),n.splice(e.newIndex,0,o);const{layoutOptions:t}=A.a;n.forEach(((e,n)=>{t[e.layoutItem.name].order=n+1,e.layoutSettings.order=n+1})),this.sortedItems=n}}),this.sortItems(),this.loaded=!0},methods:{sortItems(){this.sortedItems=this.layouts.map(((e,n)=>({layoutItem:e,layoutSettings:{linebreak:!1,order:n+1,hidden:!1,...A.a.layoutOptions[e.name]}}))).filter((e=>null!==e)).sort((0,a.ascendingSort)((e=>e.layoutSettings.order)))},toggleLinebreak(e){const n=A.a.layoutOptions[e.name];n.linebreak=!n.linebreak,this.sortItems()},toggleVisible(e){const n=A.a.layoutOptions[e.name];n.hidden=!n.hidden,this.sortItems()}}}),h=d;var l=o(6991),c=o.n(l),m=o(2303),f=o.n(m),p={insert:"head",singleton:!1};c()(f(),p);f().locals;const b=(0,o(8678).A)(h,t,[],!1,null,null,null).exports},1205:(e,n,o)=>{"use strict";o.r(n),o.d(n,{default:()=>y});var t=function(){var e=this,n=e._self._c;e._self._setupProxy;return n("HomeRedesignBase",[n("div",{staticClass:"fresh-home"},[n("div",{staticClass:"fresh-home-content-layout"},e._l(e.layouts,(function(e){return n("FreshLayoutItem",{key:e.name,attrs:{item:e}})})),1)])])};t._withStripped=!0;var r=function(){var e=this,n=e._self._c;e._self._setupProxy;return n("div",{staticClass:"home-redesign-base"},[e._t("default")],2)};r._withStripped=!0;const a=(0,globalThis.Vue.defineComponent)({__name:"HomeRedesignBase",setup(e){const n=new URLSearchParams(location.search);if(n.has("bvid")){const e=new URLSearchParams([...n.entries()].filter((e=>{let[n]=e;return"bvid"!==n})));location.replace(`/video/${n.get("bvid")}/${e.size>0?`?${e.toString()}`:""}`)}return{__sfc:!0,params:n}}});var i=o(6991),s=o.n(i),A=o(7737),d=o.n(A),h={insert:"head",singleton:!1};s()(d(),h);d().locals;var l=o(8678);const c=(0,l.A)(a,r,[],!1,null,null,null).exports;var m=function(){var e=this,n=e._self._c;e._self._setupProxy;return n("div",{staticClass:"fresh-home-content-layout-item-container",class:{"fresh-home-content-layout-item-hidden":e.options.hidden}},[e.options.hidden?e._e():[n("div",{staticClass:"fresh-home-content-layout-item",class:{grow:e.item.grow},style:{order:e.options.order}},[n(e.item.component,{tag:"component"})],1),e._v(" "),e.options.linebreak?n("div",{staticClass:"fresh-home-content-layout-item linebreak",style:{order:e.options.order}}):e._e()]],2)};m._withStripped=!0;var f=o(575);const p=Vue.extend({props:{item:{required:!0,type:Object}},data(){return{options:f.a.layoutOptions[this.item.name]??{}}}});var b=o(4419),C=o.n(b),g={insert:"head",singleton:!1};s()(C(),g);C().locals;const u=(0,l.A)(p,m,[],!1,null,null,null).exports;var v=o(1717);const E=Vue.extend({components:{HomeRedesignBase:c,FreshLayoutItem:u},data:()=>({layouts:v.Y})});var B=o(4026),k=o.n(B),x={insert:"head",singleton:!1};s()(k(),x);k().locals;const y=(0,l.A)(E,t,[],!1,null,null,null).exports},4131:(e,n,o)=>{"use strict";o.d(n,{A:()=>d});var t=function(){var e=this,n=e._self._c;return n("div",{staticClass:"fresh-home-sub-header"},[n("div",{staticClass:"fresh-home-sub-header-dot"}),e._v(" "),e._t("default")],2)};t._withStripped=!0;var r=o(6991),a=o.n(r),i=o(4895),s=o.n(i),A={insert:"head",singleton:!1};a()(s(),A);s().locals;const d=(0,o(8678).A)({},t,[],!1,null,null,null).exports},4161:(e,n,o)=>{"use strict";o.d(n,{A:()=>k});var t=function(){var e=this,n=e._self._c;e._self._setupProxy;return n("div",{staticClass:"fresh-home-video-list scroll-top scroll-bottom",class:{"not-empty":e.videos.length>0}},[n("div",{ref:"content",staticClass:"fresh-home-video-list-content"},[0===e.videos.length?n("div",{staticClass:"fresh-home-video-list-empty"},[e.loading?n("VLoading"):n("VEmpty")],1):e._l(e.videos,(function(e){return n("VideoCardWrapper",{key:e.id,ref:"cards",refInFor:!0,attrs:{data:e}})}))],2)])};t._withStripped=!0;var r=o(1164),a=o(8109),i=o(4905),s=function(){var e=this,n=e._self._c;e._self._setupProxy;return n("div",{staticClass:"fresh-home-video-card-wrapper"},[n("VideoCard",e._b({attrs:{orientation:"vertical"}},"VideoCard",e.$attrs,!1))],1)};s._withStripped=!0;const A=coreApis.componentApis.feeds.VideoCard;var d=o.n(A);const h=Vue.extend({components:{VideoCard:d()}});var l=o(6991),c=o.n(l),m=o(9942),f=o.n(m),p={insert:"head",singleton:!1};c()(f(),p);f().locals;var b=o(8678);const C=(0,b.A)(h,s,[],!1,null,null,null).exports;var g=o(7471);const u=Vue.extend({components:{VEmpty:r.VEmpty,VLoading:r.VLoading,VideoCardWrapper:C},props:{videos:{type:Array,default:()=>[]},loading:{type:Boolean,default:!0}},watch:{videos(){this.setupIntersection()},loaded(){this.loaded&&this.setupIntersection()}},beforeDestroy(){(0,g.A)(this.$el)},mounted(){const e=this.$refs.content;let n;(0,i.addComponentListener)("freshHome.horizontalWheelScroll",(o=>{o?n=(0,a.enableHorizontalScroll)(e):n?.()}),!0)},methods:{async setupIntersection(){await this.$nextTick(),(0,g.X)({container:this.$el,items:this.$refs.cards.map((e=>e.$el))})},offsetPage(e){const n=this.$refs.content,o=getComputedStyle(n),t=n.clientWidth,r=parseFloat(o.getPropertyValue("--card-width"))+parseFloat(o.getPropertyValue("--card-padding")),a=Math.trunc(t/r)*r;n.scrollBy(e*a,0)}}});var v=o(66),E=o.n(v),B={insert:"head",singleton:!1};c()(E(),B);E().locals;const k=(0,b.A)(u,t,[],!1,null,null,null).exports},404:(e,n,o)=>{"use strict";o.r(n),o.d(n,{default:()=>f});var t=function(){var e=this,n=e._self._c;e._self._setupProxy;return n("div",{staticClass:"fresh-home-areas"},[e._m(0),e._v(" "),n("div",{staticClass:"fresh-home-areas-content"},[n("a",{staticClass:"fresh-home-areas-content-primary",attrs:{href:e.primary.url,target:"_blank"}},[n("div",{staticClass:"fresh-home-areas-content-primary-image"}),e._v(" "),n("div",{staticClass:"fresh-home-areas-content-primary-title"},[e._v("\n "+e._s(e.primary.title)+"\n ")])]),e._v(" "),n("div",{staticClass:"fresh-home-areas-content-other"},e._l(e.others,(function(o){return n("a",{key:o.title,attrs:{href:o.url,target:"_blank"}},[n("VButton",{attrs:{type:"transparent"}},[n("VIcon",{attrs:{colored:"",icon:o.icon,size:22}}),e._v("\n "+e._s(o.title)+"\n ")],1)],1)})),0)])])};t._withStripped=!0;var r=o(322),a=o(1164);(0,r.addData)("ui.icons",(e=>{e["live-colored"]='\n \n \n \n \n',e["topic-colored"]='\n \n',e["black-room-colored"]='\n \n \n \n \n \n \n \n \n'}));const i={title:"专栏",url:"https://www.bilibili.com/read/home"},s=[{title:"直播",url:"https://live.bilibili.com/",icon:"live-colored"},{title:"专题",url:"https://www.bilibili.com/blackboard/topic_list.html",icon:"topic-colored"},{title:"小黑屋",url:"https://www.bilibili.com/blackroom/",icon:"black-room-colored"}],A=Vue.extend({components:{VButton:a.VButton,VIcon:a.VIcon},data:()=>({primary:i,others:s})});var d=o(6991),h=o.n(d),l=o(4664),c=o.n(l),m={insert:"head",singleton:!1};h()(c(),m);c().locals;const f=(0,o(8678).A)(A,t,[function(){var e=this,n=e._self._c;e._self._setupProxy;return n("div",{staticClass:"fresh-home-header"},[n("div",{staticClass:"fresh-home-header-title"},[e._v("栏目")])])}],!1,null,null,null).exports},2646:(e,n,o)=>{"use strict";o.r(n),o.d(n,{default:()=>c});var t=function(){var e=this,n=e._self._c;e._self._setupProxy;return n("div",{staticClass:"fresh-home-blackboard",on:{mouseenter:e.destroyTimer,mouseleave:e.createTimer}},[n("div",{staticClass:"fresh-home-header"},[n("div",{staticClass:"fresh-home-header-title"},[e._v("活动")]),e._v(" "),n("a",{staticClass:"fresh-home-header-icon-button rotate",attrs:{href:"https://www.bilibili.com/blackboard/x/act_list/",target:"_blank"}},[n("VButton",{attrs:{round:""}},[n("VIcon",{attrs:{icon:"mdi-dots-horizontal",size:20}}),e._v("\n 更多\n ")],1)],1)]),e._v(" "),e._l(e.blackboards,(function(e,o){return n("input",{key:o,staticClass:"fresh-home-blackboard-radio",attrs:{id:"blackboard"+o,type:"radio",name:"blackboard","data-index":o},domProps:{checked:0===o}})})),e._v(" "),n("div",{staticClass:"fresh-home-blackboard-cards"},e._l(e.blackboards,(function(o,t){return n("a",{key:t,staticClass:"fresh-home-blackboard-card",attrs:{target:"_blank",href:o.url,title:o.title}},[n("DpiImage",{staticClass:"fresh-home-blackboard-card-image",attrs:{src:o.imageUrl,alt:o.title,size:{width:500,height:250},intersection:{root:e.cardsContainer}}}),e._v(" "),n("div",{staticClass:"fresh-home-blackboard-card-title",attrs:{title:o.title}},[e._v("\n "+e._s(o.title)+"\n ")])],1)})),0),e._v(" "),n("div",{staticClass:"fresh-home-blackboard-jump-dots"},e._l(e.blackboards,(function(e,o){return n("label",{key:o,attrs:{for:"blackboard"+o}},[n("div",{staticClass:"fresh-home-blackboard-jump-dot"})])})),0)],2)};t._withStripped=!0;var r=o(1164),a=o(416);const i=Vue.extend({components:{VButton:r.VButton,VIcon:r.VIcon,DpiImage:r.DpiImage},data:()=>({blackboards:[],timer:0}),computed:{cardsContainer(){return this.$el.querySelector(".fresh-home-blackboard-cards")}},async created(){const e=await(async()=>{const e=4694,{code:n,message:o,data:t}=await(0,a.getJson)("https://api.bilibili.com/x/web-show/res/locs?pf=0&ids=4694");if(0!==n)throw new Error(`获取活动卡片失败: ${o}`);return t[4694].map((n=>({url:n.url,title:n.name,isAd:n.res_id!==e,imageUrl:n.pic})))})();this.blackboards=e.filter((e=>!e.isAd))},mounted(){this.createTimer()},beforeDestroy(){this.destroyTimer()},methods:{createTimer(){if(this.timer)return;const e="fresh-home-blackboard-radio";this.timer=window.setInterval((()=>{if(!document.hasFocus()||this.$el.matches(":hover"))return;const n=parseInt(dq(`.${e}:checked`).getAttribute("data-index"));let o;o=n===this.blackboards.length-1?0:n+1,dq(`.${e}[data-index='${o}']`).checked=!0}),5e3)},destroyTimer(){this.timer&&(window.clearInterval(this.timer),this.timer=0)}}});var s=o(6991),A=o.n(s),d=o(7997),h=o.n(d),l={insert:"head",singleton:!1};A()(h(),l);h().locals;const c=(0,o(8678).A)(i,t,[],!1,null,null,null).exports},3875:(e,n,o)=>{"use strict";o.r(n),o.d(n,{default:()=>E});var t=function(){var e=this,n=e._self._c;e._self._setupProxy;return n("div",{staticClass:"fresh-home-categories"},[n("div",{staticClass:"fresh-home-header"},[n("div",{staticClass:"fresh-home-header-title"},[e._v("分区")]),e._v(" "),n("div",{staticClass:"fresh-home-header-center-area"},[n("div",{staticClass:"fresh-home-header-tabs"},[n("div",{ref:"tabs",staticClass:"default-tabs"},e._l(e.tabs,(function(o){return n("div",{key:o.name,staticClass:"default-tab",class:{selected:o===e.selectedTab},attrs:{"data-name":o.name},on:{click:function(n){return e.selectTab(o)}}},[n("div",{staticClass:"default-tab-name"},[e._v("\n "+e._s(o.displayName)+"\n ")])])})),0)])]),e._v(" "),n("div",{staticClass:"fresh-home-header-pagination"},[e.isReordering?n("VButton",{attrs:{icon:"",title:"完成排序"},on:{click:e.toggleReorder}},[n("VIcon",{attrs:{icon:"mdi-check",size:18}})],1):n("VButton",{attrs:{icon:"",title:"排序"},on:{click:e.toggleReorder}},[n("VIcon",{attrs:{icon:"mdi-swap-horizontal",size:18}})],1)],1)]),e._v(" "),n("div",{staticClass:"fresh-home-categories-content"},[n(e.content,{tag:"component",attrs:{region:e.selectedTab}})],1)])};t._withStripped=!0;const r=coreApis.reorder;var a=o(2007),i=o(1164),s=o(575),A=o(8217);const d=JSON.parse('["推广","正在直播","动画","番剧","番剧动态","国创","国产原创相关","漫画","音乐","舞蹈","游戏","知识","课堂","科技","运动","汽车","生活","美食","动物圈","鬼畜","时尚","资讯","娱乐","专栏","电影","电视剧","影视","纪录片","特别推荐"]'),h=["推广","正在直播","番剧动态","国产原创相关","漫画","课堂","专栏","特别推荐"],l=Object.fromEntries(Object.entries(A.categories).filter((e=>{let[n]=e;return!h.includes(n)&&!!d.includes(n)}))),c=["番剧","国创"],m=e=>(console.log("getContent",e),c.includes(e)?()=>Promise.resolve().then(o.bind(o,5632)).then((e=>e.default)):()=>Promise.resolve().then(o.bind(o,7635)).then((e=>e.default))),f=Object.entries(l).map((e=>{let[n,o]=e;return{id:o.code,name:n,displayName:n,category:o,href:o.link,order:0}})),p=Vue.extend({components:{VButton:i.VButton,VIcon:i.VIcon},data(){const e=s.a.categoriesOrder??{},n=[...f].sort((0,a.ascendingSort)((n=>e[n.name])));return{tabs:n,isReordering:!1,reorder:null,selectedTab:n[0],content:m(n[0].name)}},mounted(){const e=this.$refs.tabs,n=new r.Reorder(e);n.addEventListener("reorder",(e=>{let{detail:n}=e;const o=Object.fromEntries(n.map((e=>[e.element.getAttribute("data-name"),e.order])));console.log(n,o),s.a.categoriesOrder=o})),this.reorder=n},methods:{toggleReorder(){this.reorder.toggle(),this.isReordering=this.reorder.enabled},selectTab(e){this.isReordering||(this.selectedTab!==e?(this.selectedTab=e,this.content=m(e.name)):window.open(e.href,"_blank"))}}});var b=o(6991),C=o.n(b),g=o(4934),u=o.n(g),v={insert:"head",singleton:!1};C()(u(),v);u().locals;const E=(0,o(8678).A)(p,t,[],!1,null,null,null).exports},5632:(e,n,o)=>{"use strict";o.r(n),o.d(n,{default:()=>D});var t=function(){var e=this,n=e._self._c;e._self._setupProxy;return n("div",{staticClass:"fresh-home-categories-bangumi"},[n("div",{staticClass:"fresh-home-categories-bangumi-timeline"},[n("div",{staticClass:"fresh-home-categories-bangumi-timeline-header"},[n("SubHeader",[e._v(" 时间表 ")])],1),e._v(" "),n("BangumiTimeline",{attrs:{api:e.timelineApi}})],1),e._v(" "),n("div",{staticClass:"fresh-home-categories-bangumi-rank-list"},[n("div",{staticClass:"fresh-home-categories-bangumi-rank-list-header"},[n("a",{attrs:{href:e.rankingsLink,target:"_blank"}},[n("SubHeader",[e._v(" 排行榜 ")])],1),e._v(" "),e.isCompactRankList?n("VButton",{attrs:{icon:"",title:"显示较少项目"},on:{click:e.toggleRankListMode}},[n("VIcon",{attrs:{icon:"mdi-poll",size:16}})],1):n("VButton",{attrs:{icon:"",title:"显示较多项目"},on:{click:e.toggleRankListMode}},[n("VIcon",{attrs:{icon:"mdi-format-list-text",size:16}})],1)],1),e._v(" "),e.isCompactRankList?n("CompactRankList",{attrs:{"bangumi-mode":"","parse-json":e.parseJson,api:e.rankingsApi}}):n("RankList",{attrs:{"bangumi-mode":"","parse-json":e.parseJson,api:e.rankingsApi}})],1)])};t._withStripped=!0;var r=o(1164),a=o(1649),i=o(4131),s=o(104),A=o(8112),d=function(){var e=this,n=e._self._c;e._self._setupProxy;return n("div",{staticClass:"fresh-home-categories-bangumi-timeline-content",class:{loading:e.loading,loaded:e.loaded,scrolled:e.scrolled,empty:0===e.items.length}},[e.loading?n("VLoading"):e._e(),e._v(" "),e.loaded&&0===e.items.length?n("VEmpty"):e._e(),e._v(" "),e._l(e.items,(function(o,t){return n("div",{key:o.date_ts,staticClass:"fresh-home-categories-bangumi-timeline-item animation",class:{today:t===e.todayIndex}},[0===o.episodes.length?n("div",{staticClass:"fresh-home-categories-bangumi-timeline-empty-background"}):e._e(),e._v(" "),n("div",{staticClass:"fresh-home-categories-bangumi-timeline-date"},[n("div",{staticClass:"fresh-home-categories-bangumi-timeline-date-icon",class:{today:t===e.todayIndex,["day-of-week-"+o.day_of_week]:!0}}),e._v(" "),n("div",{staticClass:"fresh-home-categories-bangumi-timeline-date-number"},[e._v("\n "+e._s(o.date)+"\n ")]),e._v(" "),n("div",{staticClass:"fresh-home-categories-bangumi-timeline-date-text"},[e._v("\n "+e._s(e.dayOfWeekText(o))+"\n ")]),e._v(" "),t===e.todayIndex?n("div",{staticClass:"fresh-home-categories-bangumi-timeline-date-today"},[e._v("\n TODAY\n ")]):e._e()]),e._v(" "),o.episodes.length>0?n("VButton",{attrs:{icon:"",type:"transparent",title:"上一页"},on:{click:function(n){return e.offsetPage(o,-1)}}},[n("VIcon",{attrs:{icon:"left-arrow",size:16}})],1):e._e(),e._v(" "),n("div",{ref:"seasonsList",refInFor:!0,staticClass:"fresh-home-categories-bangumi-timeline-seasons-container scroll-top scroll-bottom",class:{"not-empty":o.episodes.length>0},attrs:{"data-date":o.date}},[n("div",{staticClass:"fresh-home-categories-bangumi-timeline-seasons",class:{today:t===e.todayIndex}},[0===o.episodes.length?n("VEmpty"):e._e(),e._v(" "),e._l(o.episodes,(function(o){return n("a",{key:`${o.season_id}-${o.episode_id}-${o.delay_id}`,staticClass:"fresh-home-categories-bangumi-timeline-season",class:{today:t===e.todayIndex,delay:Boolean(o.delay)},attrs:{"data-season":o.season_id,"data-episode":o.episode_id,target:"_blank",href:`https://www.bilibili.com/bangumi/play/ss${o.season_id}`}},[n("div",{staticClass:"fresh-home-categories-bangumi-timeline-season-cover",class:{published:t===e.todayIndex&&e.isPublished(o),today:t===e.todayIndex,follow:o.follow}},[n("DpiImage",{attrs:{src:o.square_cover,size:80}})],1),e._v(" "),n("div",{staticClass:"fresh-home-categories-bangumi-timeline-season-title",class:{today:t===e.todayIndex},attrs:{title:o.title}},[e._v("\n "+e._s(o.title)+"\n ")]),e._v(" "),n("div",{staticClass:"fresh-home-categories-bangumi-timeline-season-episode",attrs:{title:e.getEpisode(o)}},[e._v("\n "+e._s(e.getEpisode(o))+"\n ")]),e._v(" "),n("div",{staticClass:"fresh-home-categories-bangumi-timeline-season-time",class:{published:t===e.todayIndex&&e.isPublished(o),follow:o.follow,today:t===e.todayIndex}},[n("div",{staticClass:"fresh-home-categories-bangumi-timeline-season-time-icon"},[o.follow?n("VIcon",{attrs:{icon:"mdi-heart-outline",size:14}}):n("VIcon",{attrs:{icon:e.isPublished(o)?"mdi-clock-check-outline":"mdi-progress-clock",size:14}})],1),e._v(" "),n("div",{staticClass:"fresh-home-categories-bangumi-timeline-season-time-text"},[e._v("\n "+e._s(o.pub_time)+"\n ")])])])}))],2)]),e._v(" "),o.episodes.length>0?n("VButton",{attrs:{icon:"",type:"transparent",title:"下一页"},on:{click:function(n){return e.offsetPage(o,1)}}},[n("VIcon",{attrs:{icon:"right-arrow",size:16}})],1):e._e()],1)}))],2)};d._withStripped=!0;var h=o(4905),l=o(8109),c=o(467),m=o(8909),f=o(7471),p=o(416);const b=m.qs.panelHeight-2*m.qs.padding,C=(()=>{const e=(b-524)/5;return{seasonItemWidth:250,seasonTodayWidth:250,timelineItemHeight:82,timelineTodayHeight:114,timelineViewportItemsHeight:524,timelineItemGap:e,timelineViewportHeight:5*e+524}})(),g=Vue.extend({components:{DpiImage:r.DpiImage,VIcon:r.VIcon,VEmpty:r.VEmpty,VLoading:r.VLoading,VButton:r.VButton},mixins:[(0,c.dr)({requestMethod:p.getJsonWithCredentials}),(0,c.l4)(C)],data:()=>({observers:[],now:Number(new Date),timer:0,scrolled:!1}),computed:{todayIndex(){return this.items.findIndex((e=>1===e.is_today))},pastWeekItems(){return this.items.slice(0,this.todayIndex+1)},currentWeekItems(){return this.items.slice(this.todayIndex)}},watch:{loaded(){this.loaded&&this.updateScrollPosition()}},mounted(){this.timer=setInterval((()=>{this.now=Number(new Date)}),6e4);const e=this.$el;let n=0;const o=()=>{n++,n>=7&&(e.classList.add("snap"),e.removeEventListener("animationend",o))};e.addEventListener("animationend",o)},beforeDestroy(){this.timer&&clearInterval(this.timer);const e=this.$refs.seasonsList;(0,f.A)(...e)},methods:{parseJson:e=>e.result??[],async updateScrollPosition(){await this.$nextTick();const e=this.$refs.seasonsList;let n;(0,h.addComponentListener)("freshHome.horizontalWheelScroll",(o=>{if(o){const o=e.flatMap((e=>[...e.children])).map((e=>(0,l.enableHorizontalScroll)(e)));n=()=>o.forEach((e=>e()))}else n?.()}),!0);this.$el.scrollTop=5*C.timelineItemHeight+5*C.timelineItemGap;const o=".fresh-home-categories-bangumi-timeline";e.forEach((e=>{(0,f.X)({container:e,items:dqa(e,`${o}-season`)})}));const t=dq(`${o}-seasons.today`);if(!t)return;const r=this.items[this.todayIndex]?.episodes;if(0===r.length)return;const a=[...r].reverse().find((e=>this.isPublished(e)));if(!a)return void(this.scrolled=!0);const i=dq(t,`[data-season="${a.season_id}"]`);i&&(t.scrollLeft=i.offsetLeft,this.scrolled=!0)},getEpisode:e=>e.delay?`${e.delay_reason}: ${e.delay_index}`:e.pub_index,isPublished(e){return!e.delay&&1e3*e.pub_ts<=this.now},dayOfWeekText:e=>`周${["日","一","二","三","四","五","六","日"][e.day_of_week]}`,offsetPage(e,n){const o=this.$refs.seasonsList.find((n=>n.dataset.date===e.date)),t=o.clientWidth,r=Math.trunc(t/C.seasonItemWidth)*C.seasonItemWidth,a=o.children[0];a?.scrollBy(n*r,0)}}});var u=o(6991),v=o.n(u),E=o(4658),B=o.n(E),k={insert:"head",singleton:!1};v()(B(),k);B().locals;var x=o(8678);const y=(0,x.A)(g,d,[],!1,null,null,null).exports,w=Vue.extend({components:{SubHeader:i.A,BangumiTimeline:y,RankList:s.A,CompactRankList:A.A,VButton:r.VButton,VIcon:r.VIcon},mixins:[(0,c.di)()],props:{region:{type:Object,required:!0}},data(){const{route:e}=this.region.category,n=m.Ob[e];return{route:e,timelineApi:`https://api.bilibili.com/pgc/web/timeline?types=${n}&before=6&after=6`,rankingsApi:`https://api.bilibili.com/pgc/season/rank/web/list?day=3&season_type=${n}`,rankingsLink:`https://www.bilibili.com/v/popular/rank/${e}`}},methods:{parseJson(e){const n=(0,m.Nf)(e).slice(0,10);return(0,a.applyContentFilter)(n)}}});var V=o(2629),I=o.n(V),q={insert:"head",singleton:!1};v()(I(),q);I().locals;const D=(0,x.A)(w,t,[],!1,null,null,null).exports},8112:(e,n,o)=>{"use strict";o.d(n,{A:()=>g});var t=function(){var e=this,n=e._self._c;e._self._setupProxy;return n("div",{staticClass:"fresh-home-compact-rank-list scroll-top scroll-bottom",class:{loading:e.loading,loaded:e.loaded,"not-empty":e.items.length>0}},[e.loaded?e._e():n("div",{staticClass:"fresh-home-compact-rank-list-loading-container"},[e.loading?n("VLoading"):e._e(),e._v(" "),!e.error&&0!==e.items.length||e.loading?e._e():n("div",{staticClass:"fresh-home-compact-rank-list-empty"},[n("VEmpty"),e._v(" "),n("VButton",{staticClass:"fresh-home-compact-rank-list-refresh-button",attrs:{round:""},on:{click:e.reload}},[n("VIcon",{attrs:{icon:"mdi-refresh"}}),e._v("\n 刷新\n ")],1)],1)],1),e._v(" "),e.loaded?n("div",{ref:"content",staticClass:"fresh-home-compact-rank-list-content"},e._l(e.items,(function(o,t){return n("a",{key:o.id,ref:"cards",refInFor:!0,staticClass:"compact-rank-list-card",attrs:{href:o.videoHref,target:"_blank"}},[n("div",{staticClass:"compact-rank-list-card-cover"},[n("div",{staticClass:"compact-rank-list-card-rank",class:{"top-three":t<3}},[e._v("\n "+e._s(t+1)+"\n ")]),e._v(" "),n("DpiImage",{attrs:{src:o.coverUrl,size:{width:128,height:80}}})],1),e._v(" "),n("div",{staticClass:"compact-rank-list-card-info"},[n("div",{staticClass:"compact-rank-list-card-title",attrs:{title:o.title}},[e._v(e._s(o.title))]),e._v(" "),n("UpInfo",{attrs:{"up-face-url":o.upFaceUrl,href:o.upHref,"up-name":o.upName},scopedSlots:e._u([{key:"fallback-icon",fn:function(){return[n("VIcon",e._b({},"VIcon",e.upInfoProps,!1))]},proxy:!0}],null,!0)}),e._v(" "),n("div",{staticClass:"compact-rank-list-card-stats"},[n("VIcon",{attrs:{icon:"play",size:16}}),e._v("\n "+e._s(e._f("formatCount")(o.playCount))+"\n "),n("VIcon",{attrs:{icon:"danmaku",size:16}}),e._v("\n "+e._s(e._f("formatCount")(o.danmakuCount))+"\n ")],1)],1)])})),0):e._e()])};t._withStripped=!0;var r=o(7886),a=o.n(r),i=o(2082),s=o(1164),A=o(467),d=o(7471),h=o(8909),l=o(416);const c=Vue.extend({components:{DpiImage:s.DpiImage,UpInfo:a(),VIcon:s.VIcon,VLoading:s.VLoading,VEmpty:s.VEmpty,VButton:s.VButton},filters:{formatCount:i.formatCount},mixins:[(0,A.dr)({requestMethod:l.getJsonWithCredentials}),(0,A.l4)(h.ds)],props:{parseJson:{type:Function,required:!0},bangumiMode:{type:Boolean,default:!1}},computed:{upInfoProps(){return console.log({bangumiMode:this.bangumiMode}),{size:18,icon:this.bangumiMode?"mdi-television-classic":"up-outline",style:{transform:this.bangumiMode?"translateY(-1px)":"none"}}}},watch:{loaded(){this.loaded&&this.setupIntersection()}},beforeDestroy(){(0,d.A)(this.$el)},methods:{async setupIntersection(){await this.$nextTick(),console.log(this.$refs.cards),(0,d.X)({container:this.$el,items:this.$refs.cards})}}});var m=o(6991),f=o.n(m),p=o(242),b=o.n(p),C={insert:"head",singleton:!1};f()(b(),C);b().locals;const g=(0,o(8678).A)(c,t,[],!1,null,null,null).exports},7635:(e,n,o)=>{"use strict";o.r(n),o.d(n,{default:()=>V});var t=function(){var e=this,n=e._self._c;e._self._setupProxy;return n("div",{staticClass:"fresh-home-categories-default"},[n("div",{staticClass:"fresh-home-categories-default-video-column"},[n("div",{staticClass:"fresh-home-categories-default-video-column-item"},[n("SubHeader",[e._v(" 有新动态 ")]),e._v(" "),n("VideoSlides",{attrs:{api:e.activeVideosApi}})],1),e._v(" "),n("div",{staticClass:"fresh-home-categories-default-video-column-item"},[n("SubHeader",[e._v(" 最新发布 ")]),e._v(" "),n("VideoSlides",{attrs:{api:e.newVideosApi}})],1)]),e._v(" "),n("div",{staticClass:"fresh-home-categories-default-rank-list"},[n("div",{staticClass:"fresh-home-categories-default-rank-list-header"},[n("a",{attrs:{href:e.rankingsLink,target:"_blank"}},[n("SubHeader",[e._v(" 排行榜 ")])],1),e._v(" "),e.isCompactRankList?n("VButton",{attrs:{icon:"",title:"显示较少项目"},on:{click:e.toggleRankListMode}},[n("VIcon",{attrs:{icon:"mdi-poll",size:16}})],1):n("VButton",{attrs:{icon:"",title:"显示较多项目"},on:{click:e.toggleRankListMode}},[n("VIcon",{attrs:{icon:"mdi-format-list-text",size:16}})],1)],1),e._v(" "),e.isCompactRankList?n("CompactRankList",{attrs:{"bangumi-mode":e.isPGC,"parse-json":e.parseJson,api:e.rankingsApi}}):n("RankList",{attrs:{"bangumi-mode":e.isPGC,"parse-json":e.parseJson,api:e.rankingsApi}})],1)])};t._withStripped=!0;var r=o(1164),a=o(1649),i=o(8909),s=o(8112),A=o(104),d=function(){var e=this,n=e._self._c;e._self._setupProxy;return n("div",{staticClass:"fresh-home-video-slides"},[e.loaded?n("div",{staticClass:"fresh-home-video-slides-covers"},e._l(e.items,(function(o,t){return n("a",{key:o.id,staticClass:"fresh-home-video-slides-cover",attrs:{title:o.title,href:1!==t?"javascript:void(0)":e.url(o.bvid),target:"_blank"},on:{"!click":function(n){1!==t&&e.jumpToCard(n,t)}}},[n("DpiImage",{attrs:{src:o.coverUrl,size:{width:e.ui.mainCoverWidth,height:e.ui.mainCoverHeight}}})],1)})),0):e._e(),e._v(" "),n("div",{staticClass:"cover-placeholder-vertical"}),e._v(" "),e.loaded?e._e():n("div",{staticClass:"fresh-home-video-slides-empty"},[n("div",{staticClass:"empty-placeholder fresh-home-video-slides-main-title",domProps:{textContent:e._s(" ")}}),e._v(" "),n("div",{staticClass:"empty-indicator"},[e.loading?n("VLoading"):e._e(),e._v(" "),e.error?n("div",{staticClass:"empty-indicator-error"},[n("VEmpty"),e._v(" "),n("VButton",{staticClass:"fresh-home-video-slides-refresh-button",attrs:{round:""},on:{click:e.reload}},[n("VIcon",{attrs:{icon:"mdi-refresh"}}),e._v("\n 刷新\n ")],1)],1):e._e()],1)]),e._v(" "),e.currentItem&&e.loaded?n("div",{staticClass:"fresh-home-video-slides-row"},[n("div",{staticClass:"fresh-home-video-slides-main-info"},[n("div",{staticClass:"fresh-home-video-slides-row"},[n("div",{staticClass:"cover-placeholder-horizontal"}),e._v(" "),n("div",{staticClass:"fresh-home-video-slides-main-actions"},[n("a",{staticClass:"fresh-home-video-slides-play-button",attrs:{href:e.currentUrl,target:"_blank"}},[n("VButton",{attrs:{type:"primary",round:""}},[n("VIcon",{attrs:{icon:"mdi-play"}}),e._v("\n 播放\n ")],1)],1),e._v(" "),e.watchlaterAdded?n("VButton",{staticClass:"fresh-home-video-slides-watchlater-button",attrs:{icon:"",title:"取消稍后再看"},on:{click:function(n){return e.toggleWatchlater(e.currentItem.aid)}}},[n("VIcon",{attrs:{icon:"mdi-clock-check-outline",size:20}})],1):n("VButton",{staticClass:"fresh-home-video-slides-watchlater-button",attrs:{icon:"",title:"稍后再看"},on:{click:function(n){return e.toggleWatchlater(e.currentItem.aid)}}},[n("VIcon",{attrs:{icon:"mdi-clock-outline",size:20}})],1),e._v(" "),n("a",{staticClass:"fresh-home-video-slides-up-container",attrs:{href:`https://space.bilibili.com/${e.currentItem.upID}`,title:e.currentItem.upName,target:"_blank"}},[n("DpiImage",{attrs:{size:24,src:e.currentItem.upFaceUrl}}),e._v(" "),n("div",{staticClass:"fresh-home-video-slides-up-name"},[e._v("\n "+e._s(e.currentItem.upName)+"\n ")])],1)],1)]),e._v(" "),n("a",{staticClass:"fresh-home-video-slides-main-title",attrs:{title:e.currentItem.title,href:e.currentUrl,target:"_blank"}},[e._v("\n "+e._s(e.currentItem.title)+"\n ")])]),e._v(" "),n("div",{staticClass:"fresh-home-video-slides-main-description"},[n("div",{staticClass:"description-text",domProps:{textContent:e._s(e.currentItem.description)}})]),e._v(" "),n("div",{staticClass:"fresh-home-video-slides-actions"},[n("VButton",{staticClass:"fresh-home-video-slides-refresh-button",attrs:{title:"刷新",icon:""},on:{click:e.reload}},[n("VIcon",{attrs:{icon:"mdi-refresh"}})],1),e._v(" "),n("VButton",{staticClass:"fresh-home-video-slides-previous-button",attrs:{title:"上一个",icon:""},on:{click:e.previousCard}},[n("VIcon",{attrs:{icon:"mdi-arrow-left"}})],1),e._v(" "),n("VButton",{staticClass:"fresh-home-video-slides-next-button",attrs:{title:"下一个",icon:""},on:{click:e.nextCard}},[n("VIcon",{attrs:{icon:"mdi-arrow-right",size:36}})],1)],1)]):e._e()])};d._withStripped=!0;const h=coreApis.componentApis.video.watchlater;var l=o(2082),c=o(467);const m=Vue.extend({components:{VButton:r.VButton,VIcon:r.VIcon,DpiImage:r.DpiImage,VLoading:r.VLoading,VEmpty:r.VEmpty},mixins:[(0,c.dr)(),(0,c.l4)({mainCoverHeight:185,mainCoverWidth:287,otherCoverHeight:100,otherCoverWidth:154,mainPaddingX:18,mainPaddingY:20,coverPadding:16})],data:()=>({watchlaterList:h.watchlaterList,itemLimit:10}),computed:{currentItem(){return this.items[1]},currentUrl(){return this.url(this.currentItem.bvid)},watchlaterAdded(){return this.watchlaterList.includes(this.currentItem.aid)}},created(){(0,h.getWatchlaterList)()},methods:{parseJson(e){const n=lodash.get(e,"data.archives",[]).map((e=>({id:e.aid,aid:e.aid,bvid:e.bvid,coverUrl:e.pic,title:e.title,upName:e.owner.name,upFaceUrl:e.owner.face,upID:e.owner.mid,playCount:e.stat.view,danmakuCount:e.stat.danmaku,like:e.stat.like,coins:e.stat.coin,description:e.desc,dynamic:e.dynamic||e.desc,type:e.tname,duration:e.duration,durationText:(0,l.formatDuration)(e.duration)})));return(0,a.applyContentFilter)(n)},url:e=>`https://www.bilibili.com/video/${e}/`,toggleWatchlater:h.toggleWatchlater,nextCard(){this.items.push(this.items.shift())},previousCard(){this.items.unshift(this.items.pop())},jumpToCard(e,n){if(n<=1||n>=this.items.length)return;let o=n-1;const t=()=>{this.nextCard(),o--,o>0&&setTimeout(t)};t(),e.preventDefault()}}});var f=o(6991),p=o.n(f),b=o(6153),C=o.n(b),g={insert:"head",singleton:!1};p()(C(),g);C().locals;var u=o(8678);const v=(0,u.A)(m,d,[],!1,null,null,null).exports;var E=o(4131),B=o(8217);const k=Vue.extend({components:{CompactRankList:s.A,RankList:A.A,VideoSlides:v,SubHeader:E.A,VButton:r.VButton,VIcon:r.VIcon},mixins:[(0,c.di)()],props:{region:{type:Object,required:!0}},data(){const e=this.region.id,n=B.categoryCodesV2[this.region.category.route],o=Object.keys(i.Ob).includes(this.region.category.route);return console.log({category:this.region.category,tidV2:n,isPGC:o}),{isPGC:o,activeVideosApi:`https://api.bilibili.com/x/web-interface/dynamic/region?ps=10&rid=${e}`,newVideosApi:`https://api.bilibili.com/x/web-interface/newlist?ps=10&rid=${e}`,rankingsApi:o?`https://api.bilibili.com/pgc/season/rank/web/list?day=3&season_type=${i.Ob[this.region.category.route]}`:`https://api.bilibili.com/x/web-interface/ranking/v2?rid=${n}&type=all`,rankingsLink:`https://www.bilibili.com/v/popular/rank/${this.region.category.route}`}},methods:{parseJson(e){const n=(this.isPGC?(0,i.Nf)(e):(0,i.RO)(e)).slice(0,10);return(0,a.applyContentFilter)(n)}}});var x=o(2314),y=o.n(x),w={insert:"head",singleton:!1};p()(y(),w);y().locals;const V=(0,u.A)(k,t,[],!1,null,null,null).exports},104:(e,n,o)=>{"use strict";o.d(n,{A:()=>b});var t=function(){var e=this,n=e._self._c;e._self._setupProxy;return n("div",{staticClass:"fresh-home-rank-list",class:{loading:e.loading,loaded:e.loaded}},[e.loaded?e._e():n("div",{staticClass:"fresh-home-rank-list-loading-container"},[e.loading?n("VLoading"):e._e(),e._v(" "),!e.error&&0!==e.items.length||e.loading?e._e():n("div",{staticClass:"fresh-home-rank-list-empty"},[n("VEmpty"),e._v(" "),n("VButton",{staticClass:"fresh-home-rank-list-refresh-button",attrs:{round:""},on:{click:e.reload}},[n("VIcon",{attrs:{icon:"mdi-refresh"}}),e._v("\n 刷新\n ")],1)],1)],1),e._v(" "),e.loaded?[e.firstItem?n("div",{staticClass:"fresh-home-rank-list-first-item animation"},[n("div",{staticClass:"fresh-home-rank-list-rank-item"}),e._v(" "),n("a",{staticClass:"fresh-home-rank-list-rank-item-title",attrs:{target:"_blank",href:e.firstItem.videoHref,title:e.firstItem.title}},[e._v("\n "+e._s(e.firstItem.title)+"\n ")]),e._v(" "),n("a",{staticClass:"fresh-home-rank-list-cover",attrs:{target:"_blank",href:e.firstItem.videoHref}},[n("DpiImage",{attrs:{src:e.firstItem.coverUrl,size:{width:e.ui.firstCoverWidth,height:e.ui.firstCoverHeight}}}),e._v(" "),n("UpInfo",{attrs:{"up-face-url":e.firstItem.upFaceUrl,href:e.firstItem.upHref,"up-name":e.firstItem.upName},scopedSlots:e._u([{key:"fallback-icon",fn:function(){return[n("VIcon",e._b({},"VIcon",e.upInfoProps,!1))]},proxy:!0}],null,!1,4101577376)}),e._v(" "),n("div",{staticClass:"fresh-home-rank-list-stats"},[n("VIcon",{attrs:{icon:"play",size:16}}),e._v("\n "+e._s(e._f("formatCount")(e.firstItem.playCount))+"\n ")],1)],1),e._v(" "),n("div",{staticClass:"fresh-home-rank-list-laser",attrs:{"data-number":"1"}})]):e._e(),e._v(" "),e.secondItem?n("div",{staticClass:"fresh-home-rank-list-second-item animation"},[n("a",{staticClass:"fresh-home-rank-list-rank-item",attrs:{target:"_blank",href:e.secondItem.videoHref}},[n("div",{staticClass:"fresh-home-rank-list-rank-item-title",attrs:{title:e.secondItem.title}},[e._v("\n "+e._s(e.secondItem.title)+"\n ")]),e._v(" "),n("UpInfo",{attrs:{"up-face-url":e.secondItem.upFaceUrl,href:e.secondItem.upHref,"up-name":e.secondItem.upName},scopedSlots:e._u([{key:"fallback-icon",fn:function(){return[n("VIcon",e._b({},"VIcon",e.upInfoProps,!1))]},proxy:!0}],null,!1,4101577376)}),e._v(" "),n("div",{staticClass:"fresh-home-rank-list-stats"},[n("VIcon",{attrs:{icon:"play",size:16}}),e._v("\n "+e._s(e._f("formatCount")(e.secondItem.playCount))+"\n "),n("VIcon",{attrs:{icon:"danmaku",size:16}}),e._v("\n "+e._s(e._f("formatCount")(e.secondItem.danmakuCount))+"\n ")],1)],1),e._v(" "),n("a",{staticClass:"fresh-home-rank-list-cover",attrs:{target:"_blank",href:e.secondItem.videoHref}},[n("DpiImage",{attrs:{src:e.secondItem.coverUrl,size:{width:e.ui.secondCoverWidth,height:e.ui.secondCoverHeight}}})],1),e._v(" "),n("div",{staticClass:"fresh-home-rank-list-laser",attrs:{"data-number":"2"}})]):e._e(),e._v(" "),e.thirdItem?n("div",{staticClass:"fresh-home-rank-list-third-item animation"},[n("a",{staticClass:"fresh-home-rank-list-rank-item",attrs:{target:"_blank",href:e.thirdItem.videoHref}},[n("div",{staticClass:"fresh-home-rank-list-rank-item-title",attrs:{title:e.thirdItem.title}},[e._v("\n "+e._s(e.thirdItem.title)+"\n ")]),e._v(" "),n("UpInfo",{attrs:{"up-face-url":e.thirdItem.upFaceUrl,href:e.thirdItem.upHref,"up-name":e.thirdItem.upName},scopedSlots:e._u([{key:"fallback-icon",fn:function(){return[n("VIcon",e._b({},"VIcon",e.upInfoProps,!1))]},proxy:!0}],null,!1,4101577376)}),e._v(" "),n("div",{staticClass:"fresh-home-rank-list-stats"},[n("VIcon",{attrs:{icon:"play",size:16}}),e._v("\n "+e._s(e._f("formatCount")(e.thirdItem.playCount))+"\n "),n("VIcon",{attrs:{icon:"danmaku",size:16}}),e._v("\n "+e._s(e._f("formatCount")(e.thirdItem.danmakuCount))+"\n ")],1)],1),e._v(" "),n("a",{staticClass:"fresh-home-rank-list-cover",attrs:{target:"_blank",href:e.thirdItem.videoHref}},[n("DpiImage",{attrs:{src:e.thirdItem.coverUrl,size:{width:e.ui.thirdCoverWidth,height:e.ui.thirdCoverHeight}}})],1),e._v(" "),n("div",{staticClass:"fresh-home-rank-list-laser",attrs:{"data-number":"3"}})]):e._e()]:e._e()],2)};t._withStripped=!0;var r=o(7886),a=o.n(r),i=o(2082),s=o(1164),A=o(467),d=o(8909);const h=Vue.extend({components:{DpiImage:s.DpiImage,UpInfo:a(),VIcon:s.VIcon,VLoading:s.VLoading,VEmpty:s.VEmpty,VButton:s.VButton},filters:{formatCount:i.formatCount},mixins:[(0,A.dr)(),(0,A.l4)(d.qs)],props:{parseJson:{type:Function,required:!0},bangumiMode:{type:Boolean,default:!1}},computed:{firstItem(){return this.items[0]},secondItem(){return this.items[1]},thirdItem(){return this.items[2]},upInfoProps(){return{size:18,icon:this.bangumiMode?"mdi-television-classic":"up-outline",style:{transform:this.bangumiMode?"translateY(-1px)":"none"}}},firstRow(){return this.items.slice(3,6)},secondRow(){return this.items.slice(6,10)}}});var l=o(6991),c=o.n(l),m=o(7269),f=o.n(m),p={insert:"head",singleton:!1};c()(f(),p);f().locals;const b=(0,o(8678).A)(h,t,[],!1,null,null,null).exports},8428:(e,n,o)=>{"use strict";o.r(n),o.d(n,{default:()=>f});var t=function(){var e=this,n=e._self._c;e._self._setupProxy;return n("div",{staticClass:"fresh-home-feeds"},[n("div",{staticClass:"fresh-home-header"},[n("div",{staticClass:"fresh-home-header-title"},[e._v("动态")]),e._v(" "),n("div",{staticClass:"fresh-home-header-center-area"},[n("div",{staticClass:"fresh-home-header-tabs"},[n("div",{staticClass:"default-tabs"},e._l(e.tabs,(function(o){return n("div",{key:o.name,staticClass:"default-tab",class:{selected:o===e.selectedTab},on:{click:function(n){return e.selectTab(o)}}},[n("div",{staticClass:"default-tab-name"},[e._v("\n "+e._s(o.displayName)+"\n ")])])})),0)])]),e._v(" "),n("div",{staticClass:"fresh-home-header-pagination"},[n("a",{attrs:{href:"https://www.bilibili.com/video/online.html",target:"_blank",title:"在线列表"}},[n("VButton",{attrs:{icon:""}},[n("VIcon",{attrs:{icon:"mdi-account-group-outline",size:19}})],1)],1),e._v(" "),n("VButton",{attrs:{icon:"",title:"刷新"},on:{click:e.reload}},[n("VIcon",{attrs:{icon:"mdi-refresh",size:18}})],1),e._v(" "),n("VButton",{attrs:{icon:"",title:"上一页"},on:{click:function(n){return e.$refs.videoList.offsetPage(-1)}}},[n("VIcon",{attrs:{icon:"left-arrow",size:20}})],1),e._v(" "),n("VButton",{attrs:{icon:"",title:"下一页"},on:{click:function(n){return e.$refs.videoList.offsetPage(1)}}},[n("VIcon",{attrs:{icon:"right-arrow",size:20}})],1),e._v(" "),n("a",{staticClass:"fresh-home-header-icon-button rotate",attrs:{href:"https://t.bilibili.com",target:"_blank"}},[n("VButton",{attrs:{round:""}},[n("VIcon",{attrs:{icon:"feeds",size:20}}),e._v("\n 全部动态\n ")],1)],1)],1)]),e._v(" "),n("div",{staticClass:"fresh-home-feeds-content"},[n("VideoList",{ref:"videoList",attrs:{videos:e.videos,loading:e.loading}})],1)])};t._withStripped=!0;var r=o(1649),a=o(1164),i=o(4161);const s=[{name:"videoFeeds",displayName:"视频",api:r.getVideoFeeds.bind(void 0,"video"),href:"https://t.bilibili.com/?tab=8"},{name:"bangumiFeeds",displayName:"番剧",api:r.getVideoFeeds.bind(void 0,"bangumi"),href:"https://t.bilibili.com/?tab=512"}],A=Vue.extend({components:{VButton:a.VButton,VIcon:a.VIcon,VideoList:i.A},data:()=>({tabs:s,selectedTab:s[0],videos:[],loading:!0}),created(){this.reload()},methods:{selectTab(e){this.selectedTab!==e?(this.selectedTab=e,this.reload()):window.open(e.href,"_blank")},async reload(){this.loading=!0,this.videos=[],this.videos=await this.selectedTab.api().finally((()=>{this.loading=!1}))}}});var d=o(6991),h=o.n(d),l=o(2222),c=o.n(l),m={insert:"head",singleton:!1};h()(c(),m);c().locals;const f=(0,o(8678).A)(A,t,[],!1,null,null,null).exports},9650:(e,n,o)=>{"use strict";o.r(n),o.d(n,{default:()=>C});var t=function(){var e=this,n=e._self._c;e._self._setupProxy;return n("div",{staticClass:"fresh-home-trending"},[n("div",{staticClass:"fresh-home-header"},[n("div",{staticClass:"fresh-home-header-title"},[e._v("\n "+e._s(e.title)+"\n ")]),e._v(" "),n("div",{staticClass:"fresh-home-header-pagination"},[n("VButton",{attrs:{icon:"",title:"刷新"},on:{click:e.reload}},[n("VIcon",{attrs:{icon:"mdi-refresh",size:18}})],1),e._v(" "),n("VButton",{attrs:{icon:"",title:"上一页"},on:{click:function(n){return e.$refs.videoList.offsetPage(-1)}}},[n("VIcon",{attrs:{icon:"left-arrow",size:20}})],1),e._v(" "),n("VButton",{attrs:{icon:"",title:"下一页"},on:{click:function(n){return e.$refs.videoList.offsetPage(1)}}},[n("VIcon",{attrs:{icon:"right-arrow",size:20}})],1)],1)]),e._v(" "),n("div",{staticClass:"fresh-home-trending-content"},[n("VideoList",{ref:"videoList",attrs:{videos:e.videos,loading:e.loading}})],1)])};t._withStripped=!0;var r=o(1164),a=o(4161),i=o(575),s=o(1649),A=o(416),d=o(7847),h=o(2082);const l=Vue.extend({components:{VButton:r.VButton,VIcon:r.VIcon,VideoList:a.A},data:()=>({videos:[],loading:!0}),computed:{title:()=>i.a.personalized?"推荐":"热门"},created(){this.reload()},methods:{async reload(){this.loading=!0,this.videos=[],this.videos=await(async e=>{const n=Boolean((0,d.getUID)())&&e,o=n?A.getJsonWithCredentials:A.getJson,{code:t,message:r,data:a}=await o("https://api.bilibili.com/x/web-interface/index/top/feed/rcmd");if(0!==t)throw new Error(`获取${n?"推荐":"热门"}视频失败: ${r}`);const i=a.item.map((e=>({id:e.id,aid:e.id,bvid:e.bvid,coverUrl:e.pic.replace("http:","https:"),title:e.title,description:"",dynamic:"",duration:e.duration,durationText:(0,h.formatDuration)(e.duration),timestamp:1e3*e.pubdate,time:new Date(1e3*e.pubdate),upName:e.owner.name,upID:e.owner.mid,upFaceUrl:e.owner.face.replace("http:","https:"),like:(0,h.formatCount)(e.stat.like),playCount:(0,h.formatCount)(e.stat.view),danmakuCount:(0,h.formatCount)(e.stat.danmaku)})));return(0,s.applyContentFilter)(i)})(i.a.personalized).finally((()=>{this.loading=!1}))}}});var c=o(6991),m=o.n(c),f=o(6416),p=o.n(f),b={insert:"head",singleton:!1};m()(p(),b);p().locals;const C=(0,o(8678).A)(l,t,[],!1,null,null,null).exports},8678:(e,n,o)=>{"use strict";function t(e,n,o,t,r,a,i,s){var A,d="function"==typeof e?e.options:e;if(n&&(d.render=n,d.staticRenderFns=o,d._compiled=!0),t&&(d.functional=!0),a&&(d._scopeId="data-v-"+a),i?(A=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),r&&r.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(i)},d._ssrRegister=A):r&&(A=s?function(){r.call(this,(d.functional?this.parent:this).$root.$options.shadowRoot)}:r),A)if(d.functional){d._injectStyles=A;var h=d.render;d.render=function(e,n){return A.call(n),h(e,n)}}else{var l=d.beforeCreate;d.beforeCreate=l?[].concat(l,A):[A]}return{exports:e,options:d}}o.d(n,{A:()=>t})},4778:e=>{function n(e){var n=new Error("Cannot find module '"+e+"'");throw n.code="MODULE_NOT_FOUND",n}n.keys=()=>[],n.resolve=n,n.id=4778,e.exports=n},5832:e=>{"use strict";e.exports="data:image/jpeg;base64,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"},5925:e=>{"use strict";e.exports="使用重新设计的清爽风格首页替换原本的首页.\n\n请注意:\n- 此功能与 `极简首页` 互斥, 请勿同时使用.\n- 此功能会禁用首页的[悬浮视频](https://github.com/the1812/Bilibili-Evolved/discussions/4404), 变为直接跳转到视频页面.\n\n选项说明:\n- 个性化推荐: 启用时展示推荐视频, 禁用时展示热门视频.\n- 启用横向滚动: 在可以横向滚动的列表中, 使鼠标滚轮可以做出横向滚动的效果, 请注意这会禁用卡片的边缘吸附效果.\n"},416:e=>{"use strict";e.exports=coreApis.ajax},8253:e=>{"use strict";e.exports=coreApis.componentApis.define},7886:e=>{"use strict";e.exports=coreApis.componentApis.feeds.UpInfo},1649:e=>{"use strict";e.exports=coreApis.componentApis.feeds.api},8217:e=>{"use strict";e.exports=coreApis.componentApis.utils.categories.data},8109:e=>{"use strict";e.exports=coreApis.horizontalScroll},322:e=>{"use strict";e.exports=coreApis.pluginApis.data},4905:e=>{"use strict";e.exports=coreApis.settings},1164:e=>{"use strict";e.exports=coreApis.ui},2082:e=>{"use strict";e.exports=coreApis.utils.formatters},2007:e=>{"use strict";e.exports=coreApis.utils.sort},7847:e=>{"use strict";e.exports=coreApis.utils}},t={};function r(e){var n=t[e];if(void 0!==n)return n.exports;var a=t[e]={id:e,exports:{}};return o[e](a,a.exports,r),a.exports}r.n=e=>{var n=e&&e.__esModule?()=>e.default:()=>e;return r.d(n,{a:n}),n},n=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,r.t=function(o,t){if(1&t&&(o=this(o)),8&t)return o;if("object"==typeof o&&o){if(4&t&&o.__esModule)return o;if(16&t&&"function"==typeof o.then)return o}var a=Object.create(null);r.r(a);var i={};e=e||[null,n({}),n([]),n(n)];for(var s=2&t&&o;"object"==typeof s&&!~e.indexOf(s);s=n(s))Object.getOwnPropertyNames(s).forEach((e=>i[e]=()=>o[e]));return i.default=()=>o,r.d(a,i),a},r.d=(e,n)=>{for(var o in n)r.o(n,o)&&!r.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:n[o]})},r.o=(e,n)=>Object.prototype.hasOwnProperty.call(e,n),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.nc=void 0;var a={};return(()=>{"use strict";r.d(a,{component:()=>s});var e=r(8253);const n=coreApis.lifeCycle;var o=r(4905),t=r(7847);var i=r(9602);const s=(0,e.defineComponentMetadata)({name:"freshHome",displayName:"清爽首页",urlInclude:[/^https:\/\/www\.bilibili\.com\/$/,/^https:\/\/www\.bilibili\.com\/index\.html$/],tags:[componentsTags.style],entry:()=>{(0,o.addComponentListener)("freshHome.maxWidth",(e=>{document.documentElement.style.setProperty("--home-max-width-override",`${e}px`)}),!0),(0,n.contentLoaded)((async()=>{const e=await Promise.resolve().then(r.bind(r,1205)),n=(0,t.mountVueComponent)(e);document.body.appendChild(n.$el)}))},options:i.f,extraOptions:()=>Promise.resolve().then(r.bind(r,8865)),unload:()=>document.body.classList.add("home-redesign-off"),reload:()=>document.body.classList.remove("home-redesign-off"),instantStyles:[{name:"fresh-home-hide-original",style:()=>Promise.resolve().then(r.t.bind(r,7985,23))}],commitHash:"58c0b438ca2371e397f70466a91572cb2757b142",coreVersion:"2.10.7",description:(()=>{const e=r(4778);return{...Object.fromEntries(e.keys().map((n=>[n.match(/index\.(.+)\.md$/)[1],e(n)]))),"zh-CN":()=>Promise.resolve().then(r.t.bind(r,5925,17)).then((e=>e.default))}})()})})(),a=a.component})())); +t=Boolean(window&&document&&document.all&&!window.atob)),t},a=function(){var e={};return function(n){if(void 0===e[n]){var o=document.querySelector(n);if(window.HTMLIFrameElement&&o instanceof window.HTMLIFrameElement)try{o=o.contentDocument.head}catch(e){o=null}e[n]=o}return e[n]}}(),i=[];function s(e){for(var n=-1,o=0;o{var t=o(7915);t&&t.__esModule&&(t=t.default),e.exports="string"==typeof t?t:t.toString()},8865:(e,n,o)=>{"use strict";o.r(n),o.d(n,{default:()=>b});var t=function(){var e=this,n=e._self._c;e._self._setupProxy;return n("div",{staticClass:"fresh-home-extra-options"},[n("div",{staticClass:"fresh-home-extra-options-title"},[e._v("布局配置")]),e._v(" "),e.loaded?e._e():n("VLoading"),e._v(" "),e.loaded?n("div",{staticClass:"fresh-home-extra-options-tips"},[n("div",{staticClass:"fresh-home-extra-options-tip"},[e._v("\n 按住并拖动可以调整顺序, 打开换行后下一个元素将会另起一行.\n ")]),e._v(" "),n("div",{staticClass:"fresh-home-extra-options-legends"},[n("div",{staticClass:"fresh-home-extra-options-legend"},[n("VIcon",{attrs:{icon:"mdi-arrow-expand-horizontal",size:16}}),e._v(" "),n("div",{staticClass:"fresh-home-extra-options-legend-text"},[e._v("可变宽度")])],1),e._v(" "),n("div",{staticClass:"fresh-home-extra-options-legend"},[n("VIcon",{attrs:{icon:"mdi-arrow-collapse-horizontal",size:16}}),e._v(" "),n("div",{staticClass:"fresh-home-extra-options-legend-text"},[e._v("固定宽度")])],1),e._v(" "),n("div",{staticClass:"fresh-home-extra-options-legend"},[n("VIcon",{attrs:{icon:"mdi-wrap",size:16}}),e._v(" "),n("div",{staticClass:"fresh-home-extra-options-legend-text"},[e._v("切换换行")])],1),e._v(" "),n("div",{staticClass:"fresh-home-extra-options-legend"},[n("VIcon",{attrs:{icon:"mdi-eye-outline",size:16}}),e._v(" "),n("div",{staticClass:"fresh-home-extra-options-legend-text"},[e._v("切换显示")])],1)])]):e._e(),e._v(" "),n("div",{directives:[{name:"show",rawName:"v-show",value:e.loaded,expression:"loaded"}],ref:"sortList",staticClass:"fresh-home-extra-options-sort-list"},e._l(e.sortedItems,(function(o){return n("div",{key:o.layoutItem.name,staticClass:"fresh-home-extra-options-sort-item",class:{"fresh-home-extra-options-sort-item-dimmed":o.layoutSettings.hidden},attrs:{"data-name":o.layoutItem.name}},[o.layoutItem.grow?n("VIcon",{staticClass:"fresh-home-extra-options-sort-item-type",attrs:{title:"可变宽度",icon:"mdi-arrow-expand-horizontal",size:16}}):n("VIcon",{staticClass:"fresh-home-extra-options-sort-item-type",attrs:{icon:"mdi-arrow-collapse-horizontal",title:"固定宽度",size:16}}),e._v(" "),n("div",{staticClass:"fresh-home-extra-options-sort-item-name"},[e._v(e._s(o.layoutItem.displayName))]),e._v(" "),n("div",{staticClass:"fresh-home-extra-options-sort-item-actions"},[n("VButton",{attrs:{type:"transparent",title:"切换换行",icon:""},on:{click:function(n){return e.toggleLinebreak(o.layoutItem)}}},[o.layoutSettings.linebreak?n("VIcon",{attrs:{icon:"mdi-wrap",size:16}}):n("VIcon",{attrs:{icon:"mdi-wrap-disabled",size:16}})],1),e._v(" "),n("VButton",{attrs:{type:"transparent",title:"切换显示",icon:""},on:{click:function(n){return e.toggleVisible(o.layoutItem)}}},[o.layoutSettings.hidden?n("VIcon",{attrs:{icon:"mdi-eye-off-outline",size:16}}):n("VIcon",{attrs:{icon:"mdi-eye-outline",size:16}})],1)],1)],1)})),0)],1)};t._withStripped=!0;const r=coreApis.runtimeLibrary;var a=o(2007),i=o(1164),s=o(1717),A=o(575);const d=Vue.extend({components:{VLoading:i.VLoading,VIcon:i.VIcon,VButton:i.VButton},data:()=>({loaded:!1,layouts:s.Y,sortedItems:[]}),async mounted(){const e=this.$refs.sortList,n=await r.SortableJSLibrary;console.log({list:e}),n.create(e,{delay:100,forceFallback:!0,onEnd:e=>{const n=[...this.sortedItems],[o]=n.splice(e.oldIndex,1);console.log(o.layoutItem.name,`${e.oldIndex} -> ${e.newIndex}`),n.splice(e.newIndex,0,o);const{layoutOptions:t}=A.a;n.forEach(((e,n)=>{t[e.layoutItem.name].order=n+1,e.layoutSettings.order=n+1})),this.sortedItems=n}}),this.sortItems(),this.loaded=!0},methods:{sortItems(){this.sortedItems=this.layouts.map(((e,n)=>({layoutItem:e,layoutSettings:{linebreak:!1,order:n+1,hidden:!1,...A.a.layoutOptions[e.name]}}))).filter((e=>null!==e)).sort((0,a.ascendingSort)((e=>e.layoutSettings.order)))},toggleLinebreak(e){const n=A.a.layoutOptions[e.name];n.linebreak=!n.linebreak,this.sortItems()},toggleVisible(e){const n=A.a.layoutOptions[e.name];n.hidden=!n.hidden,this.sortItems()}}}),h=d;var l=o(6991),c=o.n(l),m=o(2303),f=o.n(m),p={insert:"head",singleton:!1};c()(f(),p);f().locals;const b=(0,o(8678).A)(h,t,[],!1,null,null,null).exports},1205:(e,n,o)=>{"use strict";o.r(n),o.d(n,{default:()=>y});var t=function(){var e=this,n=e._self._c;e._self._setupProxy;return n("HomeRedesignBase",[n("div",{staticClass:"fresh-home"},[n("div",{staticClass:"fresh-home-content-layout"},e._l(e.layouts,(function(e){return n("FreshLayoutItem",{key:e.name,attrs:{item:e}})})),1)])])};t._withStripped=!0;var r=function(){var e=this,n=e._self._c;e._self._setupProxy;return n("div",{staticClass:"home-redesign-base"},[e._t("default")],2)};r._withStripped=!0;const a=(0,globalThis.Vue.defineComponent)({__name:"HomeRedesignBase",setup(e){const n=new URLSearchParams(location.search);if(n.has("bvid")){const e=new URLSearchParams([...n.entries()].filter((e=>{let[n]=e;return"bvid"!==n})));location.replace(`/video/${n.get("bvid")}/${e.size>0?`?${e.toString()}`:""}`)}return{__sfc:!0,params:n}}});var i=o(6991),s=o.n(i),A=o(7737),d=o.n(A),h={insert:"head",singleton:!1};s()(d(),h);d().locals;var l=o(8678);const c=(0,l.A)(a,r,[],!1,null,null,null).exports;var m=function(){var e=this,n=e._self._c;e._self._setupProxy;return n("div",{staticClass:"fresh-home-content-layout-item-container",class:{"fresh-home-content-layout-item-hidden":e.options.hidden}},[e.options.hidden?e._e():[n("div",{staticClass:"fresh-home-content-layout-item",class:{grow:e.item.grow},style:{order:e.options.order}},[n(e.item.component,{tag:"component"})],1),e._v(" "),e.options.linebreak?n("div",{staticClass:"fresh-home-content-layout-item linebreak",style:{order:e.options.order}}):e._e()]],2)};m._withStripped=!0;var f=o(575);const p=Vue.extend({props:{item:{required:!0,type:Object}},data(){return{options:f.a.layoutOptions[this.item.name]??{}}}});var b=o(4419),C=o.n(b),g={insert:"head",singleton:!1};s()(C(),g);C().locals;const u=(0,l.A)(p,m,[],!1,null,null,null).exports;var v=o(1717);const E=Vue.extend({components:{HomeRedesignBase:c,FreshLayoutItem:u},data:()=>({layouts:v.Y})});var B=o(4026),k=o.n(B),x={insert:"head",singleton:!1};s()(k(),x);k().locals;const y=(0,l.A)(E,t,[],!1,null,null,null).exports},4131:(e,n,o)=>{"use strict";o.d(n,{A:()=>d});var t=function(){var e=this,n=e._self._c;return n("div",{staticClass:"fresh-home-sub-header"},[n("div",{staticClass:"fresh-home-sub-header-dot"}),e._v(" "),e._t("default")],2)};t._withStripped=!0;var r=o(6991),a=o.n(r),i=o(4895),s=o.n(i),A={insert:"head",singleton:!1};a()(s(),A);s().locals;const d=(0,o(8678).A)({},t,[],!1,null,null,null).exports},4161:(e,n,o)=>{"use strict";o.d(n,{A:()=>k});var t=function(){var e=this,n=e._self._c;e._self._setupProxy;return n("div",{staticClass:"fresh-home-video-list scroll-top scroll-bottom",class:{"not-empty":e.videos.length>0}},[n("div",{ref:"content",staticClass:"fresh-home-video-list-content"},[0===e.videos.length?n("div",{staticClass:"fresh-home-video-list-empty"},[e.loading?n("VLoading"):n("VEmpty")],1):e._l(e.videos,(function(e){return n("VideoCardWrapper",{key:e.id,ref:"cards",refInFor:!0,attrs:{data:e}})}))],2)])};t._withStripped=!0;var r=o(1164),a=o(8109),i=o(4905),s=function(){var e=this,n=e._self._c;e._self._setupProxy;return n("div",{staticClass:"fresh-home-video-card-wrapper"},[n("VideoCard",e._b({attrs:{orientation:"vertical"}},"VideoCard",e.$attrs,!1))],1)};s._withStripped=!0;const A=coreApis.componentApis.feeds.VideoCard;var d=o.n(A);const h=Vue.extend({components:{VideoCard:d()}});var l=o(6991),c=o.n(l),m=o(9942),f=o.n(m),p={insert:"head",singleton:!1};c()(f(),p);f().locals;var b=o(8678);const C=(0,b.A)(h,s,[],!1,null,null,null).exports;var g=o(7471);const u=Vue.extend({components:{VEmpty:r.VEmpty,VLoading:r.VLoading,VideoCardWrapper:C},props:{videos:{type:Array,default:()=>[]},loading:{type:Boolean,default:!0}},watch:{videos(){this.setupIntersection()},loaded(){this.loaded&&this.setupIntersection()}},beforeDestroy(){(0,g.A)(this.$el)},mounted(){const e=this.$refs.content;let n;(0,i.addComponentListener)("freshHome.horizontalWheelScroll",(o=>{o?n=(0,a.enableHorizontalScroll)(e):n?.()}),!0)},methods:{async setupIntersection(){await this.$nextTick(),(0,g.X)({container:this.$el,items:this.$refs.cards.map((e=>e.$el))})},offsetPage(e){const n=this.$refs.content,o=getComputedStyle(n),t=n.clientWidth,r=parseFloat(o.getPropertyValue("--card-width"))+parseFloat(o.getPropertyValue("--card-padding")),a=Math.trunc(t/r)*r;n.scrollBy(e*a,0)}}});var v=o(66),E=o.n(v),B={insert:"head",singleton:!1};c()(E(),B);E().locals;const k=(0,b.A)(u,t,[],!1,null,null,null).exports},404:(e,n,o)=>{"use strict";o.r(n),o.d(n,{default:()=>f});var t=function(){var e=this,n=e._self._c;e._self._setupProxy;return n("div",{staticClass:"fresh-home-areas"},[e._m(0),e._v(" "),n("div",{staticClass:"fresh-home-areas-content"},[n("a",{staticClass:"fresh-home-areas-content-primary",attrs:{href:e.primary.url,target:"_blank"}},[n("div",{staticClass:"fresh-home-areas-content-primary-image"}),e._v(" "),n("div",{staticClass:"fresh-home-areas-content-primary-title"},[e._v("\n "+e._s(e.primary.title)+"\n ")])]),e._v(" "),n("div",{staticClass:"fresh-home-areas-content-other"},e._l(e.others,(function(o){return n("a",{key:o.title,attrs:{href:o.url,target:"_blank"}},[n("VButton",{attrs:{type:"transparent"}},[n("VIcon",{attrs:{colored:"",icon:o.icon,size:22}}),e._v("\n "+e._s(o.title)+"\n ")],1)],1)})),0)])])};t._withStripped=!0;var r=o(322),a=o(1164);(0,r.addData)("ui.icons",(e=>{e["live-colored"]='\n \n \n \n \n',e["topic-colored"]='\n \n',e["black-room-colored"]='\n \n \n \n \n \n \n \n \n'}));const i={title:"专栏",url:"https://www.bilibili.com/read/home"},s=[{title:"直播",url:"https://live.bilibili.com/",icon:"live-colored"},{title:"专题",url:"https://www.bilibili.com/blackboard/topic_list.html",icon:"topic-colored"},{title:"小黑屋",url:"https://www.bilibili.com/blackroom/",icon:"black-room-colored"}],A=Vue.extend({components:{VButton:a.VButton,VIcon:a.VIcon},data:()=>({primary:i,others:s})});var d=o(6991),h=o.n(d),l=o(4664),c=o.n(l),m={insert:"head",singleton:!1};h()(c(),m);c().locals;const f=(0,o(8678).A)(A,t,[function(){var e=this,n=e._self._c;e._self._setupProxy;return n("div",{staticClass:"fresh-home-header"},[n("div",{staticClass:"fresh-home-header-title"},[e._v("栏目")])])}],!1,null,null,null).exports},2646:(e,n,o)=>{"use strict";o.r(n),o.d(n,{default:()=>c});var t=function(){var e=this,n=e._self._c;e._self._setupProxy;return n("div",{staticClass:"fresh-home-blackboard",on:{mouseenter:e.destroyTimer,mouseleave:e.createTimer}},[n("div",{staticClass:"fresh-home-header"},[n("div",{staticClass:"fresh-home-header-title"},[e._v("活动")]),e._v(" "),n("a",{staticClass:"fresh-home-header-icon-button rotate",attrs:{href:"https://www.bilibili.com/blackboard/x/act_list/",target:"_blank"}},[n("VButton",{attrs:{round:""}},[n("VIcon",{attrs:{icon:"mdi-dots-horizontal",size:20}}),e._v("\n 更多\n ")],1)],1)]),e._v(" "),e._l(e.blackboards,(function(e,o){return n("input",{key:o,staticClass:"fresh-home-blackboard-radio",attrs:{id:"blackboard"+o,type:"radio",name:"blackboard","data-index":o},domProps:{checked:0===o}})})),e._v(" "),n("div",{staticClass:"fresh-home-blackboard-cards"},e._l(e.blackboards,(function(o,t){return n("a",{key:t,staticClass:"fresh-home-blackboard-card",attrs:{target:"_blank",href:o.url,title:o.title}},[n("DpiImage",{staticClass:"fresh-home-blackboard-card-image",attrs:{src:o.imageUrl,alt:o.title,size:{width:500,height:250},intersection:{root:e.cardsContainer}}}),e._v(" "),n("div",{staticClass:"fresh-home-blackboard-card-title",attrs:{title:o.title}},[e._v("\n "+e._s(o.title)+"\n ")])],1)})),0),e._v(" "),n("div",{staticClass:"fresh-home-blackboard-jump-dots"},e._l(e.blackboards,(function(e,o){return n("label",{key:o,attrs:{for:"blackboard"+o}},[n("div",{staticClass:"fresh-home-blackboard-jump-dot"})])})),0)],2)};t._withStripped=!0;var r=o(1164),a=o(416);const i=Vue.extend({components:{VButton:r.VButton,VIcon:r.VIcon,DpiImage:r.DpiImage},data:()=>({blackboards:[],timer:0}),computed:{cardsContainer(){return this.$el.querySelector(".fresh-home-blackboard-cards")}},async created(){const e=await(async()=>{const e=4694,{code:n,message:o,data:t}=await(0,a.getJson)("https://api.bilibili.com/x/web-show/res/locs?pf=0&ids=4694");if(0!==n)throw new Error(`获取活动卡片失败: ${o}`);return t[4694].map((n=>({url:n.url,title:n.name,isAd:n.res_id!==e,imageUrl:n.pic})))})();this.blackboards=e.filter((e=>!e.isAd))},mounted(){this.createTimer()},beforeDestroy(){this.destroyTimer()},methods:{createTimer(){if(this.timer)return;const e="fresh-home-blackboard-radio";this.timer=window.setInterval((()=>{if(!document.hasFocus()||this.$el.matches(":hover"))return;const n=parseInt(dq(`.${e}:checked`).getAttribute("data-index"));let o;o=n===this.blackboards.length-1?0:n+1,dq(`.${e}[data-index='${o}']`).checked=!0}),5e3)},destroyTimer(){this.timer&&(window.clearInterval(this.timer),this.timer=0)}}});var s=o(6991),A=o.n(s),d=o(7997),h=o.n(d),l={insert:"head",singleton:!1};A()(h(),l);h().locals;const c=(0,o(8678).A)(i,t,[],!1,null,null,null).exports},3875:(e,n,o)=>{"use strict";o.r(n),o.d(n,{default:()=>E});var t=function(){var e=this,n=e._self._c;e._self._setupProxy;return n("div",{staticClass:"fresh-home-categories"},[n("div",{staticClass:"fresh-home-header"},[n("div",{staticClass:"fresh-home-header-title"},[e._v("分区")]),e._v(" "),n("div",{staticClass:"fresh-home-header-center-area"},[n("div",{staticClass:"fresh-home-header-tabs"},[n("div",{ref:"tabs",staticClass:"default-tabs"},e._l(e.tabs,(function(o){return n("div",{key:o.name,staticClass:"default-tab",class:{selected:o===e.selectedTab},attrs:{"data-name":o.name},on:{click:function(n){return e.selectTab(o)}}},[n("div",{staticClass:"default-tab-name"},[e._v("\n "+e._s(o.displayName)+"\n ")])])})),0)])]),e._v(" "),n("div",{staticClass:"fresh-home-header-pagination"},[e.isReordering?n("VButton",{attrs:{icon:"",title:"完成排序"},on:{click:e.toggleReorder}},[n("VIcon",{attrs:{icon:"mdi-check",size:18}})],1):n("VButton",{attrs:{icon:"",title:"排序"},on:{click:e.toggleReorder}},[n("VIcon",{attrs:{icon:"mdi-swap-horizontal",size:18}})],1)],1)]),e._v(" "),n("div",{staticClass:"fresh-home-categories-content"},[n(e.content,{tag:"component",attrs:{region:e.selectedTab}})],1)])};t._withStripped=!0;const r=coreApis.reorder;var a=o(2007),i=o(1164),s=o(575),A=o(8217);const d=JSON.parse('["推广","正在直播","动画","番剧","番剧动态","国创","国产原创相关","漫画","音乐","舞蹈","游戏","知识","课堂","科技","运动","汽车","生活","美食","动物圈","鬼畜","时尚","资讯","娱乐","专栏","电影","电视剧","影视","纪录片","特别推荐"]'),h=["推广","正在直播","番剧动态","国产原创相关","漫画","课堂","专栏","特别推荐"],l=Object.fromEntries(Object.entries(A.categories).filter((e=>{let[n]=e;return!h.includes(n)&&!!d.includes(n)}))),c=["番剧","国创"],m=e=>(console.log("getContent",e),c.includes(e)?()=>Promise.resolve().then(o.bind(o,5632)).then((e=>e.default)):()=>Promise.resolve().then(o.bind(o,7635)).then((e=>e.default))),f=Object.entries(l).map((e=>{let[n,o]=e;return{id:o.code,name:n,displayName:n,category:o,href:o.link,order:0}})),p=Vue.extend({components:{VButton:i.VButton,VIcon:i.VIcon},data(){const e=s.a.categoriesOrder??{},n=[...f].sort((0,a.ascendingSort)((n=>e[n.name])));return{tabs:n,isReordering:!1,reorder:null,selectedTab:n[0],content:m(n[0].name)}},mounted(){const e=this.$refs.tabs,n=new r.Reorder(e);n.addEventListener("reorder",(e=>{let{detail:n}=e;const o=Object.fromEntries(n.map((e=>[e.element.getAttribute("data-name"),e.order])));console.log(n,o),s.a.categoriesOrder=o})),this.reorder=n},methods:{toggleReorder(){this.reorder.toggle(),this.isReordering=this.reorder.enabled},selectTab(e){this.isReordering||(this.selectedTab!==e?(this.selectedTab=e,this.content=m(e.name)):window.open(e.href,"_blank"))}}});var b=o(6991),C=o.n(b),g=o(4934),u=o.n(g),v={insert:"head",singleton:!1};C()(u(),v);u().locals;const E=(0,o(8678).A)(p,t,[],!1,null,null,null).exports},5632:(e,n,o)=>{"use strict";o.r(n),o.d(n,{default:()=>D});var t=function(){var e=this,n=e._self._c;e._self._setupProxy;return n("div",{staticClass:"fresh-home-categories-bangumi"},[n("div",{staticClass:"fresh-home-categories-bangumi-timeline"},[n("div",{staticClass:"fresh-home-categories-bangumi-timeline-header"},[n("SubHeader",[e._v(" 时间表 ")])],1),e._v(" "),n("BangumiTimeline",{attrs:{api:e.timelineApi}})],1),e._v(" "),n("div",{staticClass:"fresh-home-categories-bangumi-rank-list"},[n("div",{staticClass:"fresh-home-categories-bangumi-rank-list-header"},[n("a",{attrs:{href:e.rankingsLink,target:"_blank"}},[n("SubHeader",[e._v(" 排行榜 ")])],1),e._v(" "),e.isCompactRankList?n("VButton",{attrs:{icon:"",title:"显示较少项目"},on:{click:e.toggleRankListMode}},[n("VIcon",{attrs:{icon:"mdi-poll",size:16}})],1):n("VButton",{attrs:{icon:"",title:"显示较多项目"},on:{click:e.toggleRankListMode}},[n("VIcon",{attrs:{icon:"mdi-format-list-text",size:16}})],1)],1),e._v(" "),e.isCompactRankList?n("CompactRankList",{attrs:{"bangumi-mode":"","parse-json":e.parseJson,api:e.rankingsApi}}):n("RankList",{attrs:{"bangumi-mode":"","parse-json":e.parseJson,api:e.rankingsApi}})],1)])};t._withStripped=!0;var r=o(1164),a=o(1649),i=o(4131),s=o(104),A=o(8112),d=function(){var e=this,n=e._self._c;e._self._setupProxy;return n("div",{staticClass:"fresh-home-categories-bangumi-timeline-content",class:{loading:e.loading,loaded:e.loaded,scrolled:e.scrolled,empty:0===e.items.length}},[e.loading?n("VLoading"):e._e(),e._v(" "),e.loaded&&0===e.items.length?n("VEmpty"):e._e(),e._v(" "),e._l(e.items,(function(o,t){return n("div",{key:o.date_ts,staticClass:"fresh-home-categories-bangumi-timeline-item animation",class:{today:t===e.todayIndex}},[0===o.episodes.length?n("div",{staticClass:"fresh-home-categories-bangumi-timeline-empty-background"}):e._e(),e._v(" "),n("div",{staticClass:"fresh-home-categories-bangumi-timeline-date"},[n("div",{staticClass:"fresh-home-categories-bangumi-timeline-date-icon",class:{today:t===e.todayIndex,["day-of-week-"+o.day_of_week]:!0}}),e._v(" "),n("div",{staticClass:"fresh-home-categories-bangumi-timeline-date-number"},[e._v("\n "+e._s(o.date)+"\n ")]),e._v(" "),n("div",{staticClass:"fresh-home-categories-bangumi-timeline-date-text"},[e._v("\n "+e._s(e.dayOfWeekText(o))+"\n ")]),e._v(" "),t===e.todayIndex?n("div",{staticClass:"fresh-home-categories-bangumi-timeline-date-today"},[e._v("\n TODAY\n ")]):e._e()]),e._v(" "),o.episodes.length>0?n("VButton",{attrs:{icon:"",type:"transparent",title:"上一页"},on:{click:function(n){return e.offsetPage(o,-1)}}},[n("VIcon",{attrs:{icon:"left-arrow",size:16}})],1):e._e(),e._v(" "),n("div",{ref:"seasonsList",refInFor:!0,staticClass:"fresh-home-categories-bangumi-timeline-seasons-container scroll-top scroll-bottom",class:{"not-empty":o.episodes.length>0},attrs:{"data-date":o.date}},[n("div",{staticClass:"fresh-home-categories-bangumi-timeline-seasons",class:{today:t===e.todayIndex}},[0===o.episodes.length?n("VEmpty"):e._e(),e._v(" "),e._l(o.episodes,(function(o){return n("a",{key:`${o.season_id}-${o.episode_id}-${o.delay_id}`,staticClass:"fresh-home-categories-bangumi-timeline-season",class:{today:t===e.todayIndex,delay:Boolean(o.delay)},attrs:{"data-season":o.season_id,"data-episode":o.episode_id,target:"_blank",href:`https://www.bilibili.com/bangumi/play/ss${o.season_id}`}},[n("div",{staticClass:"fresh-home-categories-bangumi-timeline-season-cover",class:{published:t===e.todayIndex&&e.isPublished(o),today:t===e.todayIndex,follow:o.follow}},[n("DpiImage",{attrs:{src:o.square_cover,size:80}})],1),e._v(" "),n("div",{staticClass:"fresh-home-categories-bangumi-timeline-season-title",class:{today:t===e.todayIndex},attrs:{title:o.title}},[e._v("\n "+e._s(o.title)+"\n ")]),e._v(" "),n("div",{staticClass:"fresh-home-categories-bangumi-timeline-season-episode",attrs:{title:e.getEpisode(o)}},[e._v("\n "+e._s(e.getEpisode(o))+"\n ")]),e._v(" "),n("div",{staticClass:"fresh-home-categories-bangumi-timeline-season-time",class:{published:t===e.todayIndex&&e.isPublished(o),follow:o.follow,today:t===e.todayIndex}},[n("div",{staticClass:"fresh-home-categories-bangumi-timeline-season-time-icon"},[o.follow?n("VIcon",{attrs:{icon:"mdi-heart-outline",size:14}}):n("VIcon",{attrs:{icon:e.isPublished(o)?"mdi-clock-check-outline":"mdi-progress-clock",size:14}})],1),e._v(" "),n("div",{staticClass:"fresh-home-categories-bangumi-timeline-season-time-text"},[e._v("\n "+e._s(o.pub_time)+"\n ")])])])}))],2)]),e._v(" "),o.episodes.length>0?n("VButton",{attrs:{icon:"",type:"transparent",title:"下一页"},on:{click:function(n){return e.offsetPage(o,1)}}},[n("VIcon",{attrs:{icon:"right-arrow",size:16}})],1):e._e()],1)}))],2)};d._withStripped=!0;var h=o(4905),l=o(8109),c=o(467),m=o(8909),f=o(7471),p=o(416);const b=m.qs.panelHeight-2*m.qs.padding,C=(()=>{const e=(b-524)/5;return{seasonItemWidth:250,seasonTodayWidth:250,timelineItemHeight:82,timelineTodayHeight:114,timelineViewportItemsHeight:524,timelineItemGap:e,timelineViewportHeight:5*e+524}})(),g=Vue.extend({components:{DpiImage:r.DpiImage,VIcon:r.VIcon,VEmpty:r.VEmpty,VLoading:r.VLoading,VButton:r.VButton},mixins:[(0,c.dr)({requestMethod:p.getJsonWithCredentials}),(0,c.l4)(C)],data:()=>({observers:[],now:Number(new Date),timer:0,scrolled:!1}),computed:{todayIndex(){return this.items.findIndex((e=>1===e.is_today))},pastWeekItems(){return this.items.slice(0,this.todayIndex+1)},currentWeekItems(){return this.items.slice(this.todayIndex)}},watch:{loaded(){this.loaded&&this.updateScrollPosition()}},mounted(){this.timer=setInterval((()=>{this.now=Number(new Date)}),6e4);const e=this.$el;let n=0;const o=()=>{n++,n>=7&&(e.classList.add("snap"),e.removeEventListener("animationend",o))};e.addEventListener("animationend",o)},beforeDestroy(){this.timer&&clearInterval(this.timer);const e=this.$refs.seasonsList;(0,f.A)(...e)},methods:{parseJson:e=>e.result??[],async updateScrollPosition(){await this.$nextTick();const e=this.$refs.seasonsList;let n;(0,h.addComponentListener)("freshHome.horizontalWheelScroll",(o=>{if(o){const o=e.flatMap((e=>[...e.children])).map((e=>(0,l.enableHorizontalScroll)(e)));n=()=>o.forEach((e=>e()))}else n?.()}),!0);this.$el.scrollTop=5*C.timelineItemHeight+5*C.timelineItemGap;const o=".fresh-home-categories-bangumi-timeline";e.forEach((e=>{(0,f.X)({container:e,items:dqa(e,`${o}-season`)})}));const t=dq(`${o}-seasons.today`);if(!t)return;const r=this.items[this.todayIndex]?.episodes;if(0===r.length)return;const a=[...r].reverse().find((e=>this.isPublished(e)));if(!a)return void(this.scrolled=!0);const i=dq(t,`[data-season="${a.season_id}"]`);i&&(t.scrollLeft=i.offsetLeft,this.scrolled=!0)},getEpisode:e=>e.delay?`${e.delay_reason}: ${e.delay_index}`:e.pub_index,isPublished(e){return!e.delay&&1e3*e.pub_ts<=this.now},dayOfWeekText:e=>`周${["日","一","二","三","四","五","六","日"][e.day_of_week]}`,offsetPage(e,n){const o=this.$refs.seasonsList.find((n=>n.dataset.date===e.date)),t=o.clientWidth,r=Math.trunc(t/C.seasonItemWidth)*C.seasonItemWidth,a=o.children[0];a?.scrollBy(n*r,0)}}});var u=o(6991),v=o.n(u),E=o(4658),B=o.n(E),k={insert:"head",singleton:!1};v()(B(),k);B().locals;var x=o(8678);const y=(0,x.A)(g,d,[],!1,null,null,null).exports,w=Vue.extend({components:{SubHeader:i.A,BangumiTimeline:y,RankList:s.A,CompactRankList:A.A,VButton:r.VButton,VIcon:r.VIcon},mixins:[(0,c.di)()],props:{region:{type:Object,required:!0}},data(){const{route:e}=this.region.category,n=m.Ob[e];return{route:e,timelineApi:`https://api.bilibili.com/pgc/web/timeline?types=${n}&before=6&after=6`,rankingsApi:`https://api.bilibili.com/pgc/season/rank/web/list?day=3&season_type=${n}`,rankingsLink:`https://www.bilibili.com/v/popular/rank/${e}`}},methods:{parseJson(e){const n=(0,m.Nf)(e).slice(0,10);return(0,a.applyContentFilter)(n)}}});var V=o(2629),I=o.n(V),q={insert:"head",singleton:!1};v()(I(),q);I().locals;const D=(0,x.A)(w,t,[],!1,null,null,null).exports},8112:(e,n,o)=>{"use strict";o.d(n,{A:()=>g});var t=function(){var e=this,n=e._self._c;e._self._setupProxy;return n("div",{staticClass:"fresh-home-compact-rank-list scroll-top scroll-bottom",class:{loading:e.loading,loaded:e.loaded,"not-empty":e.items.length>0}},[e.loaded?e._e():n("div",{staticClass:"fresh-home-compact-rank-list-loading-container"},[e.loading?n("VLoading"):e._e(),e._v(" "),!e.error&&0!==e.items.length||e.loading?e._e():n("div",{staticClass:"fresh-home-compact-rank-list-empty"},[n("VEmpty"),e._v(" "),n("VButton",{staticClass:"fresh-home-compact-rank-list-refresh-button",attrs:{round:""},on:{click:e.reload}},[n("VIcon",{attrs:{icon:"mdi-refresh"}}),e._v("\n 刷新\n ")],1)],1)],1),e._v(" "),e.loaded?n("div",{ref:"content",staticClass:"fresh-home-compact-rank-list-content"},e._l(e.items,(function(o,t){return n("a",{key:o.id,ref:"cards",refInFor:!0,staticClass:"compact-rank-list-card",attrs:{href:o.videoHref,target:"_blank"}},[n("div",{staticClass:"compact-rank-list-card-cover"},[n("div",{staticClass:"compact-rank-list-card-rank",class:{"top-three":t<3}},[e._v("\n "+e._s(t+1)+"\n ")]),e._v(" "),n("DpiImage",{attrs:{src:o.coverUrl,size:{width:128,height:80}}})],1),e._v(" "),n("div",{staticClass:"compact-rank-list-card-info"},[n("div",{staticClass:"compact-rank-list-card-title",attrs:{title:o.title}},[e._v(e._s(o.title))]),e._v(" "),n("UpInfo",{attrs:{"up-face-url":o.upFaceUrl,href:o.upHref,"up-name":o.upName},scopedSlots:e._u([{key:"fallback-icon",fn:function(){return[n("VIcon",e._b({},"VIcon",e.upInfoProps,!1))]},proxy:!0}],null,!0)}),e._v(" "),n("div",{staticClass:"compact-rank-list-card-stats"},[n("VIcon",{attrs:{icon:"play",size:16}}),e._v("\n "+e._s(e._f("formatCount")(o.playCount))+"\n "),n("VIcon",{attrs:{icon:"danmaku",size:16}}),e._v("\n "+e._s(e._f("formatCount")(o.danmakuCount))+"\n ")],1)],1)])})),0):e._e()])};t._withStripped=!0;var r=o(7886),a=o.n(r),i=o(2082),s=o(1164),A=o(467),d=o(7471),h=o(8909),l=o(416);const c=Vue.extend({components:{DpiImage:s.DpiImage,UpInfo:a(),VIcon:s.VIcon,VLoading:s.VLoading,VEmpty:s.VEmpty,VButton:s.VButton},filters:{formatCount:i.formatCount},mixins:[(0,A.dr)({requestMethod:l.getJsonWithCredentials}),(0,A.l4)(h.ds)],props:{parseJson:{type:Function,required:!0},bangumiMode:{type:Boolean,default:!1}},computed:{upInfoProps(){return console.log({bangumiMode:this.bangumiMode}),{size:18,icon:this.bangumiMode?"mdi-television-classic":"up-outline",style:{transform:this.bangumiMode?"translateY(-1px)":"none"}}}},watch:{loaded(){this.loaded&&this.setupIntersection()}},beforeDestroy(){(0,d.A)(this.$el)},methods:{async setupIntersection(){await this.$nextTick(),console.log(this.$refs.cards),(0,d.X)({container:this.$el,items:this.$refs.cards})}}});var m=o(6991),f=o.n(m),p=o(242),b=o.n(p),C={insert:"head",singleton:!1};f()(b(),C);b().locals;const g=(0,o(8678).A)(c,t,[],!1,null,null,null).exports},7635:(e,n,o)=>{"use strict";o.r(n),o.d(n,{default:()=>V});var t=function(){var e=this,n=e._self._c;e._self._setupProxy;return n("div",{staticClass:"fresh-home-categories-default"},[n("div",{staticClass:"fresh-home-categories-default-video-column"},[n("div",{staticClass:"fresh-home-categories-default-video-column-item"},[n("SubHeader",[e._v(" 有新动态 ")]),e._v(" "),n("VideoSlides",{attrs:{api:e.activeVideosApi}})],1),e._v(" "),n("div",{staticClass:"fresh-home-categories-default-video-column-item"},[n("SubHeader",[e._v(" 最新发布 ")]),e._v(" "),n("VideoSlides",{attrs:{api:e.newVideosApi}})],1)]),e._v(" "),n("div",{staticClass:"fresh-home-categories-default-rank-list"},[n("div",{staticClass:"fresh-home-categories-default-rank-list-header"},[n("a",{attrs:{href:e.rankingsLink,target:"_blank"}},[n("SubHeader",[e._v(" 排行榜 ")])],1),e._v(" "),e.isCompactRankList?n("VButton",{attrs:{icon:"",title:"显示较少项目"},on:{click:e.toggleRankListMode}},[n("VIcon",{attrs:{icon:"mdi-poll",size:16}})],1):n("VButton",{attrs:{icon:"",title:"显示较多项目"},on:{click:e.toggleRankListMode}},[n("VIcon",{attrs:{icon:"mdi-format-list-text",size:16}})],1)],1),e._v(" "),e.isCompactRankList?n("CompactRankList",{attrs:{"bangumi-mode":e.isPGC,"parse-json":e.parseJson,api:e.rankingsApi}}):n("RankList",{attrs:{"bangumi-mode":e.isPGC,"parse-json":e.parseJson,api:e.rankingsApi}})],1)])};t._withStripped=!0;var r=o(1164),a=o(1649),i=o(8909),s=o(8112),A=o(104),d=function(){var e=this,n=e._self._c;e._self._setupProxy;return n("div",{staticClass:"fresh-home-video-slides"},[e.loaded?n("div",{staticClass:"fresh-home-video-slides-covers"},e._l(e.items,(function(o,t){return n("a",{key:o.id,staticClass:"fresh-home-video-slides-cover",attrs:{title:o.title,href:1!==t?"javascript:void(0)":e.url(o.bvid),target:"_blank"},on:{"!click":function(n){1!==t&&e.jumpToCard(n,t)}}},[n("DpiImage",{attrs:{src:o.coverUrl,size:{width:e.ui.mainCoverWidth,height:e.ui.mainCoverHeight}}})],1)})),0):e._e(),e._v(" "),n("div",{staticClass:"cover-placeholder-vertical"}),e._v(" "),e.loaded?e._e():n("div",{staticClass:"fresh-home-video-slides-empty"},[n("div",{staticClass:"empty-placeholder fresh-home-video-slides-main-title",domProps:{textContent:e._s(" ")}}),e._v(" "),n("div",{staticClass:"empty-indicator"},[e.loading?n("VLoading"):e._e(),e._v(" "),e.error?n("div",{staticClass:"empty-indicator-error"},[n("VEmpty"),e._v(" "),n("VButton",{staticClass:"fresh-home-video-slides-refresh-button",attrs:{round:""},on:{click:e.reload}},[n("VIcon",{attrs:{icon:"mdi-refresh"}}),e._v("\n 刷新\n ")],1)],1):e._e()],1)]),e._v(" "),e.currentItem&&e.loaded?n("div",{staticClass:"fresh-home-video-slides-row"},[n("div",{staticClass:"fresh-home-video-slides-main-info"},[n("div",{staticClass:"fresh-home-video-slides-row"},[n("div",{staticClass:"cover-placeholder-horizontal"}),e._v(" "),n("div",{staticClass:"fresh-home-video-slides-main-actions"},[n("a",{staticClass:"fresh-home-video-slides-play-button",attrs:{href:e.currentUrl,target:"_blank"}},[n("VButton",{attrs:{type:"primary",round:""}},[n("VIcon",{attrs:{icon:"mdi-play"}}),e._v("\n 播放\n ")],1)],1),e._v(" "),e.watchlaterAdded?n("VButton",{staticClass:"fresh-home-video-slides-watchlater-button",attrs:{icon:"",title:"取消稍后再看"},on:{click:function(n){return e.toggleWatchlater(e.currentItem.aid)}}},[n("VIcon",{attrs:{icon:"mdi-clock-check-outline",size:20}})],1):n("VButton",{staticClass:"fresh-home-video-slides-watchlater-button",attrs:{icon:"",title:"稍后再看"},on:{click:function(n){return e.toggleWatchlater(e.currentItem.aid)}}},[n("VIcon",{attrs:{icon:"mdi-clock-outline",size:20}})],1),e._v(" "),n("a",{staticClass:"fresh-home-video-slides-up-container",attrs:{href:`https://space.bilibili.com/${e.currentItem.upID}`,title:e.currentItem.upName,target:"_blank"}},[n("DpiImage",{attrs:{size:24,src:e.currentItem.upFaceUrl}}),e._v(" "),n("div",{staticClass:"fresh-home-video-slides-up-name"},[e._v("\n "+e._s(e.currentItem.upName)+"\n ")])],1)],1)]),e._v(" "),n("a",{staticClass:"fresh-home-video-slides-main-title",attrs:{title:e.currentItem.title,href:e.currentUrl,target:"_blank"}},[e._v("\n "+e._s(e.currentItem.title)+"\n ")])]),e._v(" "),n("div",{staticClass:"fresh-home-video-slides-main-description"},[n("div",{staticClass:"description-text",domProps:{textContent:e._s(e.currentItem.description)}})]),e._v(" "),n("div",{staticClass:"fresh-home-video-slides-actions"},[n("VButton",{staticClass:"fresh-home-video-slides-refresh-button",attrs:{title:"刷新",icon:""},on:{click:e.reload}},[n("VIcon",{attrs:{icon:"mdi-refresh"}})],1),e._v(" "),n("VButton",{staticClass:"fresh-home-video-slides-previous-button",attrs:{title:"上一个",icon:""},on:{click:e.previousCard}},[n("VIcon",{attrs:{icon:"mdi-arrow-left"}})],1),e._v(" "),n("VButton",{staticClass:"fresh-home-video-slides-next-button",attrs:{title:"下一个",icon:""},on:{click:e.nextCard}},[n("VIcon",{attrs:{icon:"mdi-arrow-right",size:36}})],1)],1)]):e._e()])};d._withStripped=!0;const h=coreApis.componentApis.video.watchlater;var l=o(2082),c=o(467);const m=Vue.extend({components:{VButton:r.VButton,VIcon:r.VIcon,DpiImage:r.DpiImage,VLoading:r.VLoading,VEmpty:r.VEmpty},mixins:[(0,c.dr)(),(0,c.l4)({mainCoverHeight:185,mainCoverWidth:287,otherCoverHeight:100,otherCoverWidth:154,mainPaddingX:18,mainPaddingY:20,coverPadding:16})],data:()=>({watchlaterList:h.watchlaterList,itemLimit:10}),computed:{currentItem(){return this.items[1]},currentUrl(){return this.url(this.currentItem.bvid)},watchlaterAdded(){return this.watchlaterList.includes(this.currentItem.aid)}},created(){(0,h.getWatchlaterList)()},methods:{parseJson(e){const n=lodash.get(e,"data.archives",[]).map((e=>({id:e.aid,aid:e.aid,bvid:e.bvid,coverUrl:e.pic,title:e.title,upName:e.owner.name,upFaceUrl:e.owner.face,upID:e.owner.mid,playCount:e.stat.view,danmakuCount:e.stat.danmaku,like:e.stat.like,coins:e.stat.coin,description:e.desc,dynamic:e.dynamic||e.desc,type:e.tname,duration:e.duration,durationText:(0,l.formatDuration)(e.duration)})));return(0,a.applyContentFilter)(n)},url:e=>`https://www.bilibili.com/video/${e}/`,toggleWatchlater:h.toggleWatchlater,nextCard(){this.items.push(this.items.shift())},previousCard(){this.items.unshift(this.items.pop())},jumpToCard(e,n){if(n<=1||n>=this.items.length)return;let o=n-1;const t=()=>{this.nextCard(),o--,o>0&&setTimeout(t)};t(),e.preventDefault()}}});var f=o(6991),p=o.n(f),b=o(6153),C=o.n(b),g={insert:"head",singleton:!1};p()(C(),g);C().locals;var u=o(8678);const v=(0,u.A)(m,d,[],!1,null,null,null).exports;var E=o(4131),B=o(8217);const k=Vue.extend({components:{CompactRankList:s.A,RankList:A.A,VideoSlides:v,SubHeader:E.A,VButton:r.VButton,VIcon:r.VIcon},mixins:[(0,c.di)()],props:{region:{type:Object,required:!0}},data(){const e=this.region.id,n=B.categoryCodesV2[this.region.category.route],o=Object.keys(i.Ob).includes(this.region.category.route);return console.log({category:this.region.category,tidV2:n,isPGC:o}),{isPGC:o,activeVideosApi:`https://api.bilibili.com/x/web-interface/dynamic/region?ps=10&rid=${e}`,newVideosApi:`https://api.bilibili.com/x/web-interface/newlist?ps=10&rid=${e}`,rankingsApi:o?`https://api.bilibili.com/pgc/season/rank/web/list?day=3&season_type=${i.Ob[this.region.category.route]}`:`https://api.bilibili.com/x/web-interface/ranking/v2?rid=${n}&type=all`,rankingsLink:`https://www.bilibili.com/v/popular/rank/${this.region.category.route}`}},methods:{parseJson(e){const n=(this.isPGC?(0,i.Nf)(e):(0,i.RO)(e)).slice(0,10);return(0,a.applyContentFilter)(n)}}});var x=o(2314),y=o.n(x),w={insert:"head",singleton:!1};p()(y(),w);y().locals;const V=(0,u.A)(k,t,[],!1,null,null,null).exports},104:(e,n,o)=>{"use strict";o.d(n,{A:()=>b});var t=function(){var e=this,n=e._self._c;e._self._setupProxy;return n("div",{staticClass:"fresh-home-rank-list",class:{loading:e.loading,loaded:e.loaded}},[e.loaded?e._e():n("div",{staticClass:"fresh-home-rank-list-loading-container"},[e.loading?n("VLoading"):e._e(),e._v(" "),!e.error&&0!==e.items.length||e.loading?e._e():n("div",{staticClass:"fresh-home-rank-list-empty"},[n("VEmpty"),e._v(" "),n("VButton",{staticClass:"fresh-home-rank-list-refresh-button",attrs:{round:""},on:{click:e.reload}},[n("VIcon",{attrs:{icon:"mdi-refresh"}}),e._v("\n 刷新\n ")],1)],1)],1),e._v(" "),e.loaded?[e.firstItem?n("div",{staticClass:"fresh-home-rank-list-first-item animation"},[n("div",{staticClass:"fresh-home-rank-list-rank-item"}),e._v(" "),n("a",{staticClass:"fresh-home-rank-list-rank-item-title",attrs:{target:"_blank",href:e.firstItem.videoHref,title:e.firstItem.title}},[e._v("\n "+e._s(e.firstItem.title)+"\n ")]),e._v(" "),n("a",{staticClass:"fresh-home-rank-list-cover",attrs:{target:"_blank",href:e.firstItem.videoHref}},[n("DpiImage",{attrs:{src:e.firstItem.coverUrl,size:{width:e.ui.firstCoverWidth,height:e.ui.firstCoverHeight}}}),e._v(" "),n("UpInfo",{attrs:{"up-face-url":e.firstItem.upFaceUrl,href:e.firstItem.upHref,"up-name":e.firstItem.upName},scopedSlots:e._u([{key:"fallback-icon",fn:function(){return[n("VIcon",e._b({},"VIcon",e.upInfoProps,!1))]},proxy:!0}],null,!1,4101577376)}),e._v(" "),n("div",{staticClass:"fresh-home-rank-list-stats"},[n("VIcon",{attrs:{icon:"play",size:16}}),e._v("\n "+e._s(e._f("formatCount")(e.firstItem.playCount))+"\n ")],1)],1),e._v(" "),n("div",{staticClass:"fresh-home-rank-list-laser",attrs:{"data-number":"1"}})]):e._e(),e._v(" "),e.secondItem?n("div",{staticClass:"fresh-home-rank-list-second-item animation"},[n("a",{staticClass:"fresh-home-rank-list-rank-item",attrs:{target:"_blank",href:e.secondItem.videoHref}},[n("div",{staticClass:"fresh-home-rank-list-rank-item-title",attrs:{title:e.secondItem.title}},[e._v("\n "+e._s(e.secondItem.title)+"\n ")]),e._v(" "),n("UpInfo",{attrs:{"up-face-url":e.secondItem.upFaceUrl,href:e.secondItem.upHref,"up-name":e.secondItem.upName},scopedSlots:e._u([{key:"fallback-icon",fn:function(){return[n("VIcon",e._b({},"VIcon",e.upInfoProps,!1))]},proxy:!0}],null,!1,4101577376)}),e._v(" "),n("div",{staticClass:"fresh-home-rank-list-stats"},[n("VIcon",{attrs:{icon:"play",size:16}}),e._v("\n "+e._s(e._f("formatCount")(e.secondItem.playCount))+"\n "),n("VIcon",{attrs:{icon:"danmaku",size:16}}),e._v("\n "+e._s(e._f("formatCount")(e.secondItem.danmakuCount))+"\n ")],1)],1),e._v(" "),n("a",{staticClass:"fresh-home-rank-list-cover",attrs:{target:"_blank",href:e.secondItem.videoHref}},[n("DpiImage",{attrs:{src:e.secondItem.coverUrl,size:{width:e.ui.secondCoverWidth,height:e.ui.secondCoverHeight}}})],1),e._v(" "),n("div",{staticClass:"fresh-home-rank-list-laser",attrs:{"data-number":"2"}})]):e._e(),e._v(" "),e.thirdItem?n("div",{staticClass:"fresh-home-rank-list-third-item animation"},[n("a",{staticClass:"fresh-home-rank-list-rank-item",attrs:{target:"_blank",href:e.thirdItem.videoHref}},[n("div",{staticClass:"fresh-home-rank-list-rank-item-title",attrs:{title:e.thirdItem.title}},[e._v("\n "+e._s(e.thirdItem.title)+"\n ")]),e._v(" "),n("UpInfo",{attrs:{"up-face-url":e.thirdItem.upFaceUrl,href:e.thirdItem.upHref,"up-name":e.thirdItem.upName},scopedSlots:e._u([{key:"fallback-icon",fn:function(){return[n("VIcon",e._b({},"VIcon",e.upInfoProps,!1))]},proxy:!0}],null,!1,4101577376)}),e._v(" "),n("div",{staticClass:"fresh-home-rank-list-stats"},[n("VIcon",{attrs:{icon:"play",size:16}}),e._v("\n "+e._s(e._f("formatCount")(e.thirdItem.playCount))+"\n "),n("VIcon",{attrs:{icon:"danmaku",size:16}}),e._v("\n "+e._s(e._f("formatCount")(e.thirdItem.danmakuCount))+"\n ")],1)],1),e._v(" "),n("a",{staticClass:"fresh-home-rank-list-cover",attrs:{target:"_blank",href:e.thirdItem.videoHref}},[n("DpiImage",{attrs:{src:e.thirdItem.coverUrl,size:{width:e.ui.thirdCoverWidth,height:e.ui.thirdCoverHeight}}})],1),e._v(" "),n("div",{staticClass:"fresh-home-rank-list-laser",attrs:{"data-number":"3"}})]):e._e()]:e._e()],2)};t._withStripped=!0;var r=o(7886),a=o.n(r),i=o(2082),s=o(1164),A=o(467),d=o(8909);const h=Vue.extend({components:{DpiImage:s.DpiImage,UpInfo:a(),VIcon:s.VIcon,VLoading:s.VLoading,VEmpty:s.VEmpty,VButton:s.VButton},filters:{formatCount:i.formatCount},mixins:[(0,A.dr)(),(0,A.l4)(d.qs)],props:{parseJson:{type:Function,required:!0},bangumiMode:{type:Boolean,default:!1}},computed:{firstItem(){return this.items[0]},secondItem(){return this.items[1]},thirdItem(){return this.items[2]},upInfoProps(){return{size:18,icon:this.bangumiMode?"mdi-television-classic":"up-outline",style:{transform:this.bangumiMode?"translateY(-1px)":"none"}}},firstRow(){return this.items.slice(3,6)},secondRow(){return this.items.slice(6,10)}}});var l=o(6991),c=o.n(l),m=o(7269),f=o.n(m),p={insert:"head",singleton:!1};c()(f(),p);f().locals;const b=(0,o(8678).A)(h,t,[],!1,null,null,null).exports},8428:(e,n,o)=>{"use strict";o.r(n),o.d(n,{default:()=>f});var t=function(){var e=this,n=e._self._c;e._self._setupProxy;return n("div",{staticClass:"fresh-home-feeds"},[n("div",{staticClass:"fresh-home-header"},[n("div",{staticClass:"fresh-home-header-title"},[e._v("动态")]),e._v(" "),n("div",{staticClass:"fresh-home-header-center-area"},[n("div",{staticClass:"fresh-home-header-tabs"},[n("div",{staticClass:"default-tabs"},e._l(e.tabs,(function(o){return n("div",{key:o.name,staticClass:"default-tab",class:{selected:o===e.selectedTab},on:{click:function(n){return e.selectTab(o)}}},[n("div",{staticClass:"default-tab-name"},[e._v("\n "+e._s(o.displayName)+"\n ")])])})),0)])]),e._v(" "),n("div",{staticClass:"fresh-home-header-pagination"},[n("a",{attrs:{href:"https://www.bilibili.com/video/online.html",target:"_blank",title:"在线列表"}},[n("VButton",{attrs:{icon:""}},[n("VIcon",{attrs:{icon:"mdi-account-group-outline",size:19}})],1)],1),e._v(" "),n("VButton",{attrs:{icon:"",title:"刷新"},on:{click:e.reload}},[n("VIcon",{attrs:{icon:"mdi-refresh",size:18}})],1),e._v(" "),n("VButton",{attrs:{icon:"",title:"上一页"},on:{click:function(n){return e.$refs.videoList.offsetPage(-1)}}},[n("VIcon",{attrs:{icon:"left-arrow",size:20}})],1),e._v(" "),n("VButton",{attrs:{icon:"",title:"下一页"},on:{click:function(n){return e.$refs.videoList.offsetPage(1)}}},[n("VIcon",{attrs:{icon:"right-arrow",size:20}})],1),e._v(" "),n("a",{staticClass:"fresh-home-header-icon-button rotate",attrs:{href:"https://t.bilibili.com",target:"_blank"}},[n("VButton",{attrs:{round:""}},[n("VIcon",{attrs:{icon:"feeds",size:20}}),e._v("\n 全部动态\n ")],1)],1)],1)]),e._v(" "),n("div",{staticClass:"fresh-home-feeds-content"},[n("VideoList",{ref:"videoList",attrs:{videos:e.videos,loading:e.loading}})],1)])};t._withStripped=!0;var r=o(1649),a=o(1164),i=o(4161);const s=[{name:"videoFeeds",displayName:"视频",api:r.getVideoFeeds.bind(void 0,"video"),href:"https://t.bilibili.com/?tab=8"},{name:"bangumiFeeds",displayName:"番剧",api:r.getVideoFeeds.bind(void 0,"bangumi"),href:"https://t.bilibili.com/?tab=512"}],A=Vue.extend({components:{VButton:a.VButton,VIcon:a.VIcon,VideoList:i.A},data:()=>({tabs:s,selectedTab:s[0],videos:[],loading:!0}),created(){this.reload()},methods:{selectTab(e){this.selectedTab!==e?(this.selectedTab=e,this.reload()):window.open(e.href,"_blank")},async reload(){this.loading=!0,this.videos=[],this.videos=await this.selectedTab.api().finally((()=>{this.loading=!1}))}}});var d=o(6991),h=o.n(d),l=o(2222),c=o.n(l),m={insert:"head",singleton:!1};h()(c(),m);c().locals;const f=(0,o(8678).A)(A,t,[],!1,null,null,null).exports},9650:(e,n,o)=>{"use strict";o.r(n),o.d(n,{default:()=>C});var t=function(){var e=this,n=e._self._c;e._self._setupProxy;return n("div",{staticClass:"fresh-home-trending"},[n("div",{staticClass:"fresh-home-header"},[n("div",{staticClass:"fresh-home-header-title"},[e._v("\n "+e._s(e.title)+"\n ")]),e._v(" "),n("div",{staticClass:"fresh-home-header-pagination"},[n("VButton",{attrs:{icon:"",title:"刷新"},on:{click:e.reload}},[n("VIcon",{attrs:{icon:"mdi-refresh",size:18}})],1),e._v(" "),n("VButton",{attrs:{icon:"",title:"上一页"},on:{click:function(n){return e.$refs.videoList.offsetPage(-1)}}},[n("VIcon",{attrs:{icon:"left-arrow",size:20}})],1),e._v(" "),n("VButton",{attrs:{icon:"",title:"下一页"},on:{click:function(n){return e.$refs.videoList.offsetPage(1)}}},[n("VIcon",{attrs:{icon:"right-arrow",size:20}})],1)],1)]),e._v(" "),n("div",{staticClass:"fresh-home-trending-content"},[n("VideoList",{ref:"videoList",attrs:{videos:e.videos,loading:e.loading}})],1)])};t._withStripped=!0;var r=o(1164),a=o(4161),i=o(575),s=o(1649),A=o(416),d=o(7847),h=o(2082);const l=Vue.extend({components:{VButton:r.VButton,VIcon:r.VIcon,VideoList:a.A},data:()=>({videos:[],loading:!0}),computed:{title:()=>i.a.personalized?"推荐":"热门"},created(){this.reload()},methods:{async reload(){this.loading=!0,this.videos=[],this.videos=await(async e=>{const n=Boolean((0,d.getUID)())&&e,o=n?A.getJsonWithCredentials:A.getJson,{code:t,message:r,data:a}=await o("https://api.bilibili.com/x/web-interface/index/top/feed/rcmd");if(0!==t)throw new Error(`获取${n?"推荐":"热门"}视频失败: ${r}`);const i=a.item.map((e=>({id:e.id,aid:e.id,bvid:e.bvid,coverUrl:e.pic.replace("http:","https:"),title:e.title,description:"",dynamic:"",duration:e.duration,durationText:(0,h.formatDuration)(e.duration),timestamp:1e3*e.pubdate,time:new Date(1e3*e.pubdate),upName:e.owner.name,upID:e.owner.mid,upFaceUrl:e.owner.face.replace("http:","https:"),like:(0,h.formatCount)(e.stat.like),playCount:(0,h.formatCount)(e.stat.view),danmakuCount:(0,h.formatCount)(e.stat.danmaku)})));return(0,s.applyContentFilter)(i)})(i.a.personalized).finally((()=>{this.loading=!1}))}}});var c=o(6991),m=o.n(c),f=o(6416),p=o.n(f),b={insert:"head",singleton:!1};m()(p(),b);p().locals;const C=(0,o(8678).A)(l,t,[],!1,null,null,null).exports},8678:(e,n,o)=>{"use strict";function t(e,n,o,t,r,a,i,s){var A,d="function"==typeof e?e.options:e;if(n&&(d.render=n,d.staticRenderFns=o,d._compiled=!0),t&&(d.functional=!0),a&&(d._scopeId="data-v-"+a),i?(A=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),r&&r.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(i)},d._ssrRegister=A):r&&(A=s?function(){r.call(this,(d.functional?this.parent:this).$root.$options.shadowRoot)}:r),A)if(d.functional){d._injectStyles=A;var h=d.render;d.render=function(e,n){return A.call(n),h(e,n)}}else{var l=d.beforeCreate;d.beforeCreate=l?[].concat(l,A):[A]}return{exports:e,options:d}}o.d(n,{A:()=>t})},4778:e=>{function n(e){var n=new Error("Cannot find module '"+e+"'");throw n.code="MODULE_NOT_FOUND",n}n.keys=()=>[],n.resolve=n,n.id=4778,e.exports=n},5832:e=>{"use strict";e.exports="data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/2wCEAAgICAgJCAkKCgkNDgwODRMREBARExwUFhQWFBwrGx8bGx8bKyYuJSMlLiZENS8vNUROQj5CTl9VVV93cXecnNEBCAgICAkICQoKCQ0ODA4NExEQEBETHBQWFBYUHCsbHxsbHxsrJi4lIyUuJkQ1Ly81RE5CPkJOX1VVX3dxd5yc0f/CABEIAlYDjgMBIgACEQEDEQH/xAAcAAADAQEBAQEBAAAAAAAAAAAAAQIDBAUGBwj/2gAIAQEAAAAA/TNKgE0nTBKiKKiLrBNaasaUtko0cpsYSJNsoUJznOutsEiZQ7BhIqJUomS9KbalY6ORoQ2DE1NURDrAb3G0pCkk9CWxMcuRKy1KCc5110GkkiE7YDUlkqYCW9G6qZULTOnIBQmJkPRRDnMe9AKUFCT0EMAYIgstSkTmtdNGCSRCdsBqRuScwVO26qZIm5bEDaAAktZonKtrEhSDaHVOWxDaYZFrQlCnNaa6DCSTMdsBqWxIySKdUXUyROktoApJiHEXWQpy13SnDDy+LPq9f0AdukMAGMzGtHCJnNG+zYCUwPQABNpCiBN26qpSzLQAMaGkOEPnbM+lzycXxfj3zYN+l9z9CqugGmMBQ5VuJ5flvD8/zPG/ZvrW205iB2wTBhIlCkq3VNIxppiHQgaTICcpZe0cHgfnf3q+s+b+c8zPmj6z9ButBgDaJUzkpj5D5DzPW+i9nxPhP3rvpgNRCejEMYCFMqB3VOkLAENFDbJSbgMs4p7Xx+B+W+7+saY6+T8V7Wfy3F9L+kPRlJS3Eix8X5n5zz+bm/Q/sPTIn86/Ut2DBTCq2ADAQpJhO3dMS5UQ2xUNpKaM6nDDOtnnH47p7/6J605cfx/b896vjeD+h/ZN04yzT5fK+a+Z+f7vV9HD774/5f8ARftKxfwn6JuMEJQnowAToSSSzCnV0I4UoGNOqUKUEPPn5sdNp6/gvnvQ3/ROn0ObLLwvDrs+b5f2Td0sPK+F8HxeftxXofPdOf7B9nn8X8d+gfWTfxP3mxQShQnbYxIpiSUwKnV0B5smKZQXWcpKVDx5OadDm+j/ABj6XbL0PrOrfyPd8LwduLf5H9B+iw5vk/hfH9v1fpub4P8ATvf/AAT9p9b4bL9Qry/n/if0f3j4b9C0dApFAXTByimJImEFO6GeUlgwB0RBIs8lz82cZYHv/mn03Dt0/W9c8/pT8zhHV8n630vgeb+O/ZfqWm3m/mP6n6HV8D2fcn5D+t+yfK8PxP6l5vd9HbpuVKkdtgJOgJCcxDq6GePBzSqd1U4N55TlhOM458nL7O3x/s4nf7dex5H0nl8/lN+TyfUcXtR8D+icHn/J8H2+3V8z3/Xa8nw36n0+X8zH559999rZbalQh22Ak6YkhZpDum2eJJyqGaaTlkqiM8sIznkwwn6HL5b1Z6PS7Pp8vK6u+/mOd8HB9Pwepv8AE/Wc3lfnv23oHT8d953bdfL8328vz3P3+X+x9jLpqYmQ0ArXXa55oUoM5TKqm34EmESStELGVOWWOeGWOcHs9Xx/oa6+n9ZfJw9nk9nj9K82OvzPS08/q6vB+C/X9B/Cfpet9fRdR53iafO/deqTdOYyyiDr6N+i2Xa5uZSkRCodUOvm5eKgxLBYSpywwM8spk3+v/KvpezHo+w6PNMuXnjr1+d975O+zSfOPIz/AFU8r5X9C9DW9tZZOU1biKajPPXp6uptgx6mXEpUuMxjdNv5eTNrFDFlOcRnOJnlEBH6L+M/R9Pueb73tRnx8uHocXX8j9r8V9B08fn8XgfH/X/SnX9te13qTkGaROeTe+/T0VTYMGGrXnzKSUIG6bfyY8ZJgNJ58oRE5rLOEvH+V+x+n+N9b6f1fBnX1dsfX8ffw32+F97ucvz3h/B/vXS6L0puc8nnklGTrs6tdLqqbBmWlGlHFghKJlsLHXyKrEM0Z1GUyiJymIheJ8DGv9Cfnx3e19pUXzdXzPq+V4v1fxX0H122k+H854v6qBQyXOWbw5lnzrv7d99dLd02DAZWhzcgKYUsHaL+PRAZ5qLmIJUznMTE+J8Jhfp/vH5vl7/L6PbWGnr+RwfVfJx+idWujlSSilOUsxL4ueMMdPR7unbXS7ptsY4sepHniSiAG2K/jgzU5oaiZJFGSUTOXwfh8Gn0v7n8l8X73q7bXzcOv1fyGP3fuvWnJMxM1PO9+zq6t+P8v9Luw512ej1Zd213VNqYbu2as86UlEpjGKvkJjJwgJZk5ImJUzBz/M8/f3Z/Ve94Hj5Lbu97j+V6fu/Y1LCZzyxzfT09nTrd28fz7yfpc+Tn5u30u30dbp5jrWYK3ZdnHglKmRsYP5DOMiazoVmKCYhRMCjOccOec/U9bfq34vEv3vp98rmlOecaa9XRV66aXd1PyvwX1nn8b7/S9DastjbZ56q6x00srQw40lJMlDJv5bLPNw4piJcKZms0kTkpxislD19L2PU66zjnzprTTTpp3V3ppppVkeL+cfU7YYZ6bdXZ03V3qTpakrYNifOkSJlMsmvnFGIlGj2qIE1maSKLJ33xNZWmuu95YTnhz6+j0b5pPR6Vd6Xjtem2nn/mPs9nlcp39+m/XemtVc2O4OgNKPPzkRKQUKvBRJOcuukzQqeFaaBnSrbbNNu3MZ83Nz7/AEGwTESm9LrStNL0u7MPgvN+h8vino9Xprs32jQ3HFaSbMuzk55lNKWMVeM6zSjMrqtQTV4F6WoJrbfMoyynIw8byZ9X76YJiFFO9Ku9Lsb0s+Z+G+mx48dfS6+h9HVYau829GaFaPDknNBKZSH5VMFOSeugJFrJ6uVSOjaAnDjz5uHx+PXor9HcESoh09LpZbHXq9NDxvzn6jjy547/AEe0226pZrVZl3bDYnhiYBIKkrzqY5Wcs3uSC3k9RLSK6Nc4M8PL8fnwwz03r7L05jzPQmBHPz7bdlT0vp1Zpxfm/tYZzh0+h36PXo1m296Bps0p8GShIQMVcFjCYhVtaSKqDTOi1ppUZrLDw/KgxwvZ/Q/RqEZcvHG2zjbbtDXp0srP4Xj9PjXNfb3dtabaaXq2sqT3C7fHzqVIhjT4qbBZ5t6WxMuWTRpGl1nE5ZeX4+Bjitte/wCxU8nJjemEbbB0dmllbdBS+d+J+l4eZa793V0X0Vs5LqpT2oepjxqVMgUByUDDKHpVMB0IVTarR5zOccnjcKjDDouvu6nHzoz6Flh29C1rp2Nb130fi/nn03Fy469Hb6GuxWt6JuxF6BsT5wlCQUD5LYBnndumA6cuSadXWcqIy8ryVHPhpdfWegoy8+8t8TLbq1ddfTppd2+H829ueLkrt7Neju0LvRqm6h7hpT87NEpJsHy6MaUQa02KmVIjOitKzREx5/jYxz5Gle77yWXFlC6uXDr6u3a70vS6usvguf1/N859fo712dFVT0vN1ZO4tLOXmlJIGM5tQYZ5aW23NBUprN1VuAU583i8cY4Z66dv1qXJGOJpM+lpptd3el3Vz8z8V9bw+bnr6HXtt0b6JaWVNbMFWplxQSSKhvn0Y0RlqOxy2qSDNuqqU1MY+Z5OCwx1q/t3PNhErLqvbW9dLq70u6fjfnn0uHLxbd3o7Vvru4L3lVvmaBsLzlMkiZT59WA8s9adSIbaQs6pukNTGXneTzPn57uvqu4x4n0jlPW9axjTr67u3xfmnu5RzYbeh6L6NNNhVpcOlegtafBkpJQOnz6sTeeejdJJOmSGVtuk2pzy4/K4TmzLfv8AtqZlSJRyHVt2dN3onbj4GerGFl2ej2W+g2RVsWi1Fpb5eVKZQ2659aTHlnpTZA0U5ZlTdNNpZ5c3neVOMRb9D6pKJlOeXi9Tp01sl7b6MPnvjfoObkpdPV6PS71rXOnpWNvUK1M+AmVI2659bAM860GpKlzQzMdXUqks8seXyeTOebaq+1qZmBJO1hp1Vuaaa6h5n579Jxc07vr39Pab11ajSnL1pGzPNUqUBVYa2yTOHqIkoSCni3WjkaUZZY+RwKePVv6vtJiBc/Mba756116rXW9o5fzn3V5+V9um/X07I03Sp2ReqNaOLBKUmW8NapIyVWSIbHCp5jrSoVJTnnl5nkzGCt+97RPFhjpVcu2Xfemmu+hrW+uf59PoebhHo9GvT09hNVVqy4rQNLOblkmUy3jpdKVmWJArBynWQXpUDFERl5vkRGWbr0vpxcvJGT6s8n17dOe+u3Rd3S+X+Q+k4eXl7e/r2OvcVbsS01BFamfAiJTKrDXQJWZTJTbFRKJC9KgaJiMuPyuIjk0e32iOOcuaNdjLXTrvbq0u7un4/wCffS5efydHR3dem2m9xdbttQ6DZrz4JgCqw2tzJm2Cmxg3KIZWlSmExnHP5nmGXLdV9b0rn4dY5tjVLbTu6Lq7u3pxfnHu4Z4cvb2elpq9d9W2oHS0DWlx4qEgqsNrqJIGEqwBtChl3UoGpyzx87yZnmbPovVDydNORPbo6arTS6qdNtNI/Pddcc8X6Hdv0X00Qr0JqnQXoc/JKgCrw1usgkGSXI5bZMtXdSganOc/N8iIxzo9P6VHnYV3CRpekhv0XV6bP5j5P3uPj2V+t1dM7PZy3oya0CtCOCVKC6x0usKJVOQuZYDZCLq4TKUxOPF5PIp5NH0/XomYUy8Y16NNVptvtpdPx/gPouLndv0Ojr3m9XtldXoCA2Fw5zKC6x00Oa6kbSKJSbG4RV1KoZMTHJ5HATwa1X1+wZzx4q9s9rrfYrq30uq4vzf3587Dp69ejfr1jWtbptRGlhqzkwmYZdY62uamUCE6JlsblTV0hjJUZYeX5ZHIVX0fphM5cKy7La0269dL0vRzHwG2vBjpv6Ou+vXvboiLpk7BdmPHMwzSsdLMIa0G1JTUNibUuqBjCc4x83yYXNFV63viI4tqfIurfWtrtzemzXzXyvv+ZHP19/VvXVvUaOwLJ0oNieCYhmlZunEKKttSFqLFJTkdA2ApjHg8jmU8tvr+sQlM5jNNdIUdG+1Ve54/wP0fJxZa93odNa6dFZ1dk6NGgbC4cokq3FKlms6thIxzQiWwGOmApzz5PI4oOPUr7OhTOVCjHLrvsk223b2vj/Off5+fmjs6/TvTatgNKku2C0tcvLAOrlyErKqsSQxWKRtA0qqgRnlz+T56jkbv6bvRE8nJqXoo7q1t7dFu7j896+vg5+b0d+/fXR9Nw6vUAEXZlwQMtqpELF3SCQYMkYDal1YBnlj5nmZzz52/b9yTPhueOtdNsr7NtA6NdHVfL/M+zx5zW/p9HUVpru22wQk9iPNkbpzaSc5GlIJAGOWCHUy6pg4yx8/ysIzwd9v1KOPm0MZz07Lk6ttLvToofl/n30vBitq9Hfs6dnVOmMQJGnPhlLp0TYInKqaZINMaARQobtscRjxeXwpcWlV9mGHARpWFV12uhdg9dOhnL+d/Q+Zgt/T7d99NLKbbACMc5DNGjHFsTnKhg0AhiYJ0TFFOgmMubzPNS4qK+q7EvMWHacjd9dm2vUq033rP867uzl532dnTtpd0U2wywzmhomTZDi2hrIbaABMENzTcQym21OWPm+TEYSX7nso4clGkuJ79ma69W16XS+T+d+i5+ZdPb0666W22Y45stiQTJsMy0GCzEUAANIBjbmAbbZOeXD42Oc4Uel9KnhhxVn06Yzp17Wa9ul6VZ43599Xly59Pb1ba6XWeOOeulAMlMSnVsx0YVOYNpDAYkMKHMoKY2s8uPyOWY4ta0+zl4Y5Yyttud9W3brd3el0+H81+jObLfs7NrecFOrtDBQwam23joN1EIpCTKQEsFdOJQFNhGfL5XDnHHbv63oI4RYYbdXXpd6XdXpd28/zjs3wnp6t9KqqAq3IwMbABlPKnTcSikkDaaaEi6cykDdCmMPL8zOOYp/Q+qzy3r0oV1d3d3d3d1Pg8dN09NXQAqokpqctQEm7MLdU85Y0kh0E0gSd1KkAKCZy83x84yzder9CNIlA3pWlaVd3WGXLm0Om7bQCpklOYKGSqLMKq6eM0ICWUCaARdKUgAHKjz/GxieS31/WjEkhFXWl3UxlzHWIQ2ymgApANzlbGlNlnPVXTzkGIQNgSqBulIkCbJUcnj8aniqr+w1YhISd05mNKuc+xIkG2wQqEwBmGjYpKLfM7unECbQhjaSTZTakEkNimefx+CsuaKf03fTQkSkXdBVtR1QkgHTTQJOxIayuglNujndaU4lJgJNtyJFFMSASQNKcfK80yxyb9n2qqVCWlt3TE25nqzRIDpgghXQgrNUwlOijmd3dREtoJbG1KHSqiUDUlKUjPz/NjLPz+jr7vUodlGlDpoGKDpiUCHTQClXQhvKiklNUqfKaaXUxDaBAykpKCm4TGSVBITngXny69gN0yh0i0htLOt5lAh00ApWjEOsbTEk6KOM010qJihAgbEQ6Y2QmxpMUoUy3GHYyXTG5bRRLGRF7KUJNtghStKSKIpAEFNnNnrrrUTIIaYDRDpjZMtjECSElZg+pJNjTQA0A1MaaKUANtASlpSRUqhJkjoOfO9dqhTLcgwGlJoDBSygSYgQqiNrSBgAAIACY10mUAUA0SimBUjBDhjZhlW21RMjJYxDSk0qWEpsEUJDCb5r3EIYJoAYk2RnvSgYhtoCUOxOoGNITBzHNe29RCQDbSAUzq2BINyJsABHN06JIAGIBMJKc57tJJoGxomSqabljEhUJn/8QAGQEBAQEBAQEAAAAAAAAAAAAAAAECAwQF/9oACAECEAAAANAACkAAAAAAAACiAAAAAAAACseTHTv1AAAACUAABfP5O3Hx9vd6gEQ1YAAAIolSXHzb9Hj83l2+r2MyW6c+iwAAikBAyeb5t9+dfMv0PdJLu2uc6AABKMkpEmc3yeGe29fN5fX9PTEa3bOV6ACKAZSVGZJLw+dPrePHOer1dbnemqZaCEFoDEQkkGb8vq1m8/b264z6FCEALLSUc0iRKk59OPk9W+PPfr76TUpJnGOmtAqNEU5SBBGLvHl49PT230ASvJqdN2ikaRRxlgCCrrSoQVXmq9LVEKWKxAKDVCZJFqq44rpqqIUqVkShRakxwx60S1VY8/Sb3RUFCs0ihSpOWOefVqQtpZ5ek10pRChUAUFTPLOM9ushbVPNpd2qIUKlIoCpOeM89+iItqnLnp0tKQUoAALGOeeV9SE0qs+fbeqspChQABYnLPKejQltU8u2t0ohQoAAE54557dBLap56u7VEKFVAAWJnljHTsRatOWK6WlIKKqAAsM8s8r6UKtVnhpvVFIUUsAAE5Y5vRYVap5tzWtBUKKAAAnPHPPfYLVPPV3oohRQAADHPHPp2ItpXLFu9FEFKsAABnlnlfSJaqs+fbeqVApaSkAFScs8XpoLSzzba3SiFVSAABOeOee+0LaV561ugCqpAAAY588dOyKq05ZXegLUVSAAAzyxz33JVUuONdNVVBKVAAATjON9FCqWee3prQACkACwHLHKd9gtFjQAAVAAAOfPGOvWwW2ypQAAWAAsBjnjG+1LaAAABSAAAmJne1AAAACkACwCFAAAAAKgAAAAAAAAFIAAAAAAAAP/xAAZAQEBAQEBAQAAAAAAAAAAAAAAAQIDBAX/2gAIAQMQAAAA0LAAlFiwEVZCkFlLAAArNCoACyFEVKqAEoFy6+rePPyCAAhQRVgAApPT383o93Px+RCFqyZChCqgoFFs39Lj8zt9Lvj5vGNJJLvmIoCUqJq0lK0139z5msfVnm8UbxnDN3eZFAilg1aSra09XseCcvT6uXm4Z3jfPOY6TCKAlLBtoUttej2z5Hr32cvT4Oc43MzGrgLEBVg6W2LRXae/zM6nXHf5nSeVEVRlAClR1WhR09/DPo8eOvS+v5XmusIVrWueIgBQOwoKvpzyvp6Z49+HhhUkk9cYxlAFAdaoFFlkaxnUSZSR6ZZzkgBQOikWAypNayhIkTtuMZkAKBuKgJWS61115FplIm++LjMQAoLZSAiLvrdXzZqpJEvpxc4kAFBRYgEXXW6vLlaSSI9OTGUAKANZAIt6a1rHBVZkR23liSAFAFhLFQu+l3PNVSSI13zcZkAKASwsKg3vW3DNESJfRm5xIAUCFgFQa6a1eXOiJEenKYkAKCCypUqDWul1jjSySE66MSQAoQFhRBddLucASImu+LnMgBQQssFQLemtuEVGUR6caziQAoQFihBXTerywCSI9GbM5gAtiKixYqBd71rHFakiR10YmQBRFQAAut63POokRN9ssSQApBUAANdNbecCSI9OWcyAFIFllEAXprd45BIieiXOJACiCkWKiwu97uONCRE7WzGUBSxChCyxUXXTWs8LYSImu8c5EChBUoIKi3rdvPLUiRL6I5yCFAgUgsUldbu8cURENEAASpQJSFit71rnyUSFgASgIoAQob6XWeJCBKAIoCUEUgsq7aziBKJQBFCVFCUgFLAipRKAJSVNSLKCAsURZQCUAigEUlSxZRFIoASgCWKP/8QAJRAAAQQCAgIDAQEBAQAAAAAAAQACAxEEEhATBSAwQFAUBhVg/9oACAEBAAECAfnP0APyB+yfiCPoPxzyPyx9Mex9B/6c+h5PI+8UPkH7p9CeDwPQnsc9+YfJf9Nvk2ZX0z8pe1365+A+oHDpJXzeYa4YfXoQJIs6DyP1bsm5cibz7v8ATv8A9LJ5j+rxEn7Z+Ack5nkNsXAmxQsnCnxyws1BwvINd9G9ty/K81JnNhhjjwW+NzfCeNxoYvzL4u79L9LVk3d2Dbz5HOaMMMUjIxWSxzYonY+Rja4WbfwXZN7WXTZ8nnZfPny9Ruw/GxYirgMH5l+l83d3d3dkk3sHbbOknmL2nHjhcgAq6WoFk2RAvGZVet3dumk8lL/oJPPuyofEjxbcnDZJiZPjP5/G+UR58m0fmWrvi+bu7u7RJJdsDe2M3y2SwGKOSKQStfIp3MjDWgsjdPFC6GTkkuny5v8AQSeQehj/AMjWTYx84/Nj8Vl+P8KwJ7JYsvF8Z5AqgvIIflWVau1aBV83d3sXOddhxeZC9qgYE9uLEMgB75DIqjbsRkMevESlzpX5mT5qfzwgZBF4uLxeTkMjxMEt8rg4TF59nhMzieFZMODncQIflnm1d3d3zaJ22L7ROznRLzj2tcimlqizeglpecpMTk5QKVnin5srpchkjfCYgxdNp53mBgft59vgUE5nRhzqshur24uT5DN8bh/kngo8WrHARV3d3ZdZdd2XF5Pjx59Y6fwwkxYgZuoWZJlw5IwoFmtw15UMijZPD4IFPTn583iowba7zR8M2wcvExpGvWQxTxR5viYB+jYN2XKwbR4u0XFxPHjV59YhehwBBJHO+IIZEbBJkvTBnjFHljE8O2lTnFSLOfhQlvHmXwMQIU+K3A/vf5eTK/jn8ViZUb/ku7vYIM6xH16EfUPqFfJKtWUTZJKPOCf9C3HTuGpqx5JIVKAXB0iaIhlrx7PKvic1++THjzlSvx2xMLAx4woxH1hgbqOCJYjA0ZfhsTG9rsnbbawwQiEN5HLx9G7u+L9Lsniy4lHgo+kTvNRwukQAAMcXW6NOBL3NaoGyu8VHkOjYFdyNZnZ8vjImNqfJqGACgK9KLa5u7vbbZCEYwhr4nfSvg8X7lXfyYjnxtOM+aC8d9IhyeYYdXF5LmAiGLqfjujcJ4XnDP9XTB4QNqqr0sm1d7E7bWGCER/QP0btHk+gRVngfHPmzZn+fzfOYkEj24WXNiFth0csyhxXiWRkc78WHPnADAwxmLIEjMJscOtUB62TwTtdl2yEbWfKXA8Dl/wBgcWifY++bI7hjvHZmZhxTPixfJMk6P5ugJ8smTDDkSUSsCJDgifGyfHeP8F73d2Tdkk2XmQOagh9IcyfRP0j7FZrJONcPOiky8WGZoMTM1vlT5N0zIAn5W0TJZmNhiQ+SybuyQtXqyjw1NTeAh8oPq4fUv5TweapzZsZ7kGYORBlZniGyQ5wy9w45JzHyRQqadqxMb4bvbbcuTYRjCARqZeQMRogoJqHHc0+97B61A9j9G1d+1fCfV7H+O/5jMHULH8q4SeCf40wGJuPF4sYk3kiY48bD5u7vbYv33CEYhDPZ6zosJ6KK2/pY5sAgHpfZtQjRdvWnI5k+geD9I+x9CjzHmjzP/cb5f/oSZBjZjxeOjjtA3e22xdfUIQzgfAVlNxEXGbrbjsa1DjYTtfoGLYmuu9tqA4HMn0CKqqpVVa6666666a66adenX19fV0mDo/n/AJTi/wAv8f8ACPGx4DcRkCu7c9r9uzbXqDPlvfIUiYqKK3E7ZGxtiDuy2sEYIfYGq3sD1P0aqqqqqqqqqq1oN11111106xF1GPr0006+sMDUSXbbFxTYBjCL5ewOaAwNU7fINgc9z53NMDUycPEQiDu0rXS91rpe9+x+eqqq1qqAoiqqtdaqtdda11oAAitaqldlxcXmbGcIa+rbznRYTyO7u644Wu72uDNNuxjusN22Wmu2/I5ePoVSqqQ4qqquKqqpVVUFVVVK7tOMmQ59Yjvp7b7AaublNxC+PqdPIGMbD2iZCLXYvWlbbrTXYHgcv+eq4qqqqHpVcHkClVUgFXBRRRcZHzufVIJrvlvcypsYbe91pkteAv5g3vXS2FkgmQjrsa7XUAu2rQN9j9ekPhPJQ4pAV6lSOMhJ5CHGI7goM9bdMMlCEM7BIEIwL2VSsz2wkxfzPk/oBZCGiZsoQjoybVoB6XyOT9gfCRweQqHJ5KKkRCpwdwOMF3s6V2TuyERCYZAQhAEjZAA0DbdFudHiPkLoTF2dzGsgaO7ctDEDzfZeunI5f+eUVI17eCighxju5fI13SzH7DOukR97ZQ3QDcODdFvsVktw09xRg172TMjEQcZitaB7L1DFutQOBy/9F4eFRCHIQPD3Gcu/n0MjJmpsQP8ARv1iO+zagyuMkFAmVzOi/wCkGNoZsZVprZctdbLkB6n9Eh4cEeCEOMV3BTyZa/n1OQ55jbAHGXYRdY95hnCEunL3RMhD3TNd0hm/YtNN91pqHbj0HLh8g9z92RrwiCH8DjDdyXGd0mn8wH9DnsjbCPjes6PFfr37dDMcP7mIRBnZuFoGbb0GVtfI5k+Ue54H2inB44Kchzju5MVGcu6hE5wn4HxlZLcPhzn5QcIWMbP2tQjou3oMovaddPUcv+Ue7vulPDuQhyEDxI1sJe6cEwGIDgfJkNWvUZTNrCyjMJa6q37AOtb7AIuDvU/Uch9wqRPFe2M7h6EQh+AK+0ShrWeswzRERAWumbkaxwBne2ShFXZtqGLda63yOXfTch9wp4dyU/0w3fEXvyu7QY7WemxeDRb5GPGc+N0FCXuETYU2UP1Ea7A4AMvcItrkcyD6TvvOTgQnJ6HOM74ZohiMj9Nuy2jVb2W5TcIyJ0Zxq/pbM2JkS7diwMC7EG63uiwDgcv+mfvFOEno3kH5C/vD9BHfaRqGXveQ1XZh6N25DZWRtj27UW6k7LSt9kB+u5SjgeuO73dJ/Rt1tiae8JrBHt2LUNvaRZwjMrnrpZG0xzsd1tjLu1GOt+xBi2seg5f9I/dPBT0eXemG7l0zsjcxCDf+ly6OruMoXWGb9gWganLyMeM58jpwz+dsYlGQF1a79gWi32QYt75HMn0j9c/AU9O4cpfTFdy8GQzoY7Yu7+ioo9OxsqDA31KymYRcnzOmIjgbGJjKAIwzcPc2q3ugz1HLh+QfhcJGo8Dlp5liMZm7g0Y+hnEpHQ0drZPgyAFqU+cyhrccNE3aAIgNt60r0LgfY/GPun4XKQIoesLuJQMejkd5Z0V3iRjGwtZ72phliNfzoytkDWYwb2h+vUG+l7rRb8jl/wCQfhKf6OHOI7kxdCOR2CPoDEOAedt0GhqcvIsx3GL+dz/6GvDeqy9juL7L0Ddt6DfQcv8AyD8JT07gqX0xTzIekY1cXfPYJL0Ddw9aDjKZhF7OnoBM4foI2nusDUkyLStyq05HJ+Y/aPwlPT+CnocxH4jMZK62x9hkQaGgemQ1icdTBG3tGUx7YhFfbsG6XuFqG/Efxz8T08HkekTvV8hkDegM7+wLpoP3Aa31mGWmGQatgbEJDOD167dqDA0el7IDkcv/AEXJyPLxzin1JdMZC2OOhNuA2LX2vcryLYHPmdJXQ1na2cpkQaPUv2oMJDvQcv8AlP4hTk/gqT0xHevSGUpI+gDkc32XrrsTlswnPe/JMgY2EITGQDrA33CDCt0G1sSORyfhH5BTk8IpyHMLve+KQ47DMJdQxb3rW04iRD3yT79TYGMEolXXW21Bt7XrReD7O+Q/iFOUnIQ9Gn1rlz+8O6xCXdm7WCO91qpVlJqdGZjPvoMcM7hJXWi+9dL2QbXoOX/Mfw3B4VJ3pin1dO+dCHr3fKHBnVv2g6BuwetHLyTIHOa5jpP6Wu62MA7Q/WkX2GhvwDl/55RRT05WVJ6YjuSGwambtKEAg7f6ATG2PbtWobttWuYzAdIzo0a+OdrgwQg9u2oZ8g5PzHkfgFPD+HJ6HFwHmUuidAUckT6HH6u7uCEWnZutFveuQ2FOTohAIxI3KjcGNjA+hZkPzH8R6k5CHIQPEji/r/mts5dqMbr7jI1CEM7BIhGt1KzIDU4mIQNhaggh85O+30D+I9PFII+mO7kTvRh6yjldoY/GDe4y0Il2bABnDh5FkLiiigmpvA+Qv7b+mfwjw5PB5kQ5xHcul7yelsAe7I7NOkIzduoiA9s2PBeiiggggh8FmXsVfVP4R4KencOT0OcZ3Lh2nIIGP0bf0lzYzC13buwe+S2AglHgIIexf2l6qvoj2P4hT0/g8N5YeXxiP+jur+YY+5ybiYIQ34ZxkBhKPDUEEFe+6qviP6pTlIiih6wnhwbj6iX+jX+cQgfK4eRZGSVq1gAVVVV8h/VKcpAUeH+mI7kxtxuj6RUqEetVVAV9AfrFPTkUVL6Yrvq33GYn0qvongfrFPD+DwOYnfS37S8ocVxX1T+w9Sct9WH5dt9lXFf+TcpEeXjnGd8F3xVVXqPtFD9hyeDwVJ6Yh5va1VVVV8A+05D9gp7XM1IIag0Y8UHFVVVVfGUPtH9ojXXXQsYyqqqpVXzD/wAtSKoD64+yUPlKHA/NPAH2B9k/MUOR+Y7gfZH2T8zuQh+YU37Q/HdyPzh9ofj/AP/EAEkQAAEDAgMEBggDBgQEBQUAAAEAAhEDIRIxQQQgUWEQIjJxgZETMEBCUFKhsQUjYBQzctHh8CRDYsE0c4LxBhVTVZJwgIOisv/aAAgBAQADPwH9ZX9un9KT/wDXu/qQLlT2RKjtOAWztzfKo/KmfIqJN7Ki/J6nL4A1vacB3oOuCD+iL4WCXfZUqLfSV6g/vgn1Ors7PEqrVDvSEl0xBVRgJLShl/ZUaozqnWubaDSVWpuzVOpZ9itR7TQoialVre8r8Op/5hd3BbLpRefEKexSA8ZVer7zx3GE+5zn5jKx7IDz/Q7qhLWGGjN38lS2MeipDFV4cO9Vtoq4qjsRTAMRHWK9DWZUAtIlAppIe20p1IwfNHK0ITICuD7oaQsGR809nVdcJtRuNht7LGZWzUTgpzVqcGr8R2icVUUG/K27ls0y4OqO4vd/JPP7nZWj+Fi213ac1ip/5ry/wCoPYTszcFQaaFN2ra20nyBBLvDRU6TGsptDWjID9DF7vRt/6im7K0UaX7wj/wCIRdMkknMrrsB0XW8FiaQrNUteEKmyzqFZNLZKovyMKow2scsXJGSWiYvJyTqTr5cEHAPbkfXgLZaPbrMb4rZh2Gvd9Puq2jWN+q/EXCxwN+bCtorM9JXqvFPn2n9w0VHFgDxSZqQCT4rYXjENoNXuMLZqXYotG6Nm/wDEDOFZh+uf2/Q0DnombDspqOu4/VxT6ri4nE55JJVyM4N7I1KkDNEjC6z29Nnlf4Y9yJpFy/IT/dJQf1KgTqZxNy0Kc3Wba/dT+WVB9VTGbx5rZKczUnuuqI7FJx77La39jCxbXtJjHUqHg3+i26p7jaY5rYqf/E7ZPIGF+B7L+7phzu6T9U78V2l1eqPyaZhrNJTKmYTB7shV9md6Si42803afyqtqv8A/W7H4h+FVNfSlv6G9JVLtG/dGvtLmDsUrDv1TsxPMq4JCdTeH8FT2lgc09YJ7LVB4prrgo4CBqgygR4L/DkckfQFGzQnN7Xmg8ejejSfqjSqzK9LRa/eo0RNSoGjmqc4NmouqFfitTOsyiOVynP/AHm21neMKm7JtR3imNEuY9o/jVF5w061adJhyrbLD62zB9PiLeaLKYZQ2ZlNbbtLoxvPIf0X4jW/yHd7rLadkwelaIdkQZQb+HUI96XHxPQHBejfyTqb/S0++y/aGYH/AL0fXcDvxD8Kp6+lLvIfob9j/D31YuGF3ijxmfuhTpgkXITibrDpZOeZpPiE9giuzxCb26R8EMEo1KzaQybmsNI9yIZcWV3L3SFhf9kKtLFFwrTqsTCwqEAqbGkk2WBstYP+owtpfamVVqux7Q5znfKq5GFlMManu7b/ACWzU7kT3qhs7LAWW1fidbhTGfAKhsw6jb6uOaa5pa4SDov2PaCGdhwln8lszdnpmgxoYWzboe7YmOAsypJ7ohD9npU3ZYyzxNx0h7SpbhKfs9RtalYT5FN2qnweMx0/tP43VqDsbPTwf9TvjmXqcdVjeJCw7LSp/O+/c26BrNbZT3BY5+iI6rvBVKTw9ipVWxUEFDtUXQUSy4ghyFKP/UqFY3Bnmg2io0V1Le66lpCwvcCFgrgL0e0Ob4+aJVSpQqtZ2sNu9VQZqNeP4p/3XpqlSoR2IA7ymhNbp0cE7bdqDBlMD+apUaYZTFgh0B2y03/LU+6P7D/+R3Q17XNcJa4QQv8Ay7bnUan7ivYP+x8EajCx/wC8ZZ38+nA+Uxwc14ljxdVth2mQcsjxCZtFPG3PUcF+z08FO9Z9mNC/ZNmDCZe44nni4/Db+zlTtLFNfZWn5HH7L84iZELqqwV4dlxRaI8kX0w7EFX2fszHBCo0HXUKdoe/5clAk5lF9QU2otaCHX1RpnCVdqhxCivyUbSzvX+IpnjTHQ0BU69J9Ko2WkQjRqbbs7u01w/l0wvR0XcTZRif/wBPTBX+CP8AE37rDsFHnLvM9NHa6JpVRbQ8CquybQ2htDg2q21OqezUbwKxDKDwPRiatE3aKJYbObdpTtjf1HdbKE1/+Lqvx13f/py/QI3f8S3xR/atn/5TvujjeHCF1FxURZDAe5VaQ6oJaqdTv4FAHEPFAOeXZAynkWFzkEKQLnG6FQWylYqjisu9fmuQxiV/i2wF+dS/5asOn9m/FqNb3K49G7+LRHLousddrNG3KwbOwa5nxRVx0F7aFBvae9CnSYwZNaBuUdqp+jrMxD7dy/Etl/4XaRUYMmVdO4r8SYPzfwx55scCqv8A7dtP/wAVt7z+XsLm83rbdo/4jaMLflYqI2eaDLtFx8wTtnqtcy4Ni3im1GBzcj7ETonLmmpvBBQfhsbTTV9kqfxBD03goDlcq3ipbCY5gbqFSOdk9muJqkxxQpDERLjkE+u65tqsLMLUMa63cpcSprqdqU7Y4fK1oVugobRRdTJjgeB4r9opS61an1azefHuKsoklemrl3zOhdXoCY1pc6wAujt23O2sj8qnan6nEE8Ko09lPq1cVEtAcbg6dybs1BtJpJjU8T63gqh0TtXJqaNPimCox3Ar0uwYx/lkP/2Kw1G9XPVXPMLEGHlCIlqyVN7Q5pVQayOadpYqSCUXSSYGqkAN7P3WHvRjEsLCdTZZlTXJhTUe9GpXqv4vKdhUdLw8VqJAqgRycPlKZU6hGCpqwqKJHzLrfwj7qB0bPs7S6rUDQtq/FnAAGlsnHV6ZRY2mxsNGQ9UEPVuOQVQ8lxcqY91Aert8OZtOxmm64LS1yfRcaTu3TfB/mhUpA6oBxpu1yRIDxmM1ecjCp/OWOTz74Kfy81yTndXyTKYgGXI1Djd2QsTp0XpH8hkhSpK5ubr9m2Fx95w+/R+U1A6I6J4RTanaHiqwqFg/MDeK/EKdPEzYsQdftL8YNm/hsd7wvxyvZ1WjRH+nrFbPTf6SqXVqnF6j2MnJPK4lMGnxylSsOs5VqmsDgF6OsaLsnZK7dqaLdmp/sV6N4ByK1Ca7qPzQd1mJzbOaiBmVldybliPioFs0XHE/JT1RZoU/l09dVgEnRFzuS9NWbbqtzWKoKYyZ91icG8SgAAgh0AWUU3v0CxVyNXOQa0Dh7ISuJTeHroUjev8ACbosYANUZVk5jg5pghUtu2XC+9ocCquy1fR+6T1HckOy7jaVJxMTmDBWvGqo1hYgqkfdVH5VS+VUvSYeGSptF3J9V2CmE2i2XXcnPJa1VCfRDMlN2HZgB+8d/cqViqY9G/fd9JcZraKlMsa/NV6O1srVi3Cy4g5n2IDoJ9ot8Dz35ph3ylQVK1NgjslUOZJ4rZfxTZYN58wVW2WphqCR7rtCnU9ZH2VKsJyKrUz1SQtqYInEqutNVTkxVawHVyVR/aKpUBOq9If9Kc9wY2SUzY6Xpaxl5T6zy9//AGRc4NAuUKVMNHshOif8pUZ9B9lB3pB+FBwIORTsWErBZt+aLkVtGzVQ6jPMLZtupejqtF/dKr0Zfs/5jPl95YTAlvJOAvktmdm2Ctk+YrZs8RVFmV042AiRZTmJ71W2h3UbA46LZ9gZfrVD5lPrvxvPcOCK9EMTu2fp7A52QKqFcXKn3pg90dBwlPAY+cnBYh6imJvkpAPqIQ8VMWT1IuUBv3PwprwpmCv9YCoNzumizRCw3BVRlqgxBfhu39oNxccnKDio1vB39FtjD+6nmFVGdN3kqlvyj5FbQcqTvKFtLoxkN+q2Sh1qz5PNQMOztjmnOMkyeJTnnC1slNpdZ13/AG9a52QT9bJuplMHu79ljp1GrFSb3K3SBmUbYWSMULan6Ye/RG2OoSqQEYd5qcYICqHVc03NAI6NT7rnv3+IlbVTyqHxVYdqm0oa0SmO/wAtE5AKs8fvI7k4mSVUdk0lE3qGOQTKTYYI9UTkE88kNSmjT1lysFSrT4P+6DWFxyCeXOa1mRVd/afA4JjTOZ5oNyG4JiU3miT2Snm5d5INvKYOCtITiLBHigmoJxGSdGajet7YfYSij0FFFErmo1KCpt0QG7n0k5BPOi4lAaeuHFBSJXo9u/jb9lI3GgxKZDovEfVVnNBYPeyPBViADU/qmNMzdUwJkKcWEEkBP0HmiIkpgzTM7ITCenaoFNCCcYhOm+9b4aOgcN0dA33HIKqTlHeuLvJUxp64X45Jx91P1KCHDolpWH0VTg5S0LC0ngur1BN4VZzpDoEJpguOkKnTyF48Uxxht7Sq78qeHvTyQS7WUySeJnzVNpt/cITACeQItZSBJTAmtXBPRM3TU0IJ5037n4ywaptZ5blaVTGiAy9nCxUqjViptPJAqleE53ZYe9PqNbiPem0ziLiqNLgF1Guwm9u5VXOacJARxTiOaZMkZprVwEovFwpETZAJkZqRLVUXEoBATyXAb9/gNz7KAmiQLp7jn0YK9M8befsgGqsOafwTozQTYWfMLDUqU+Dl6QC5CosvA7ymSAOKqE9UnJVHNcHuz+iYDJueapUxAjuCBa1zQTJhbQ4aCyOrym2n6prUZIDU88leZTAmhG0BOJlcSggp3rfFAjonOcZKuemMtFia13ET69uEumwXygqoSRaJR942TAmBcAnHRHUoKy9Htv8AE37IlljdD3iSqNLq681eMJnFC2kudhsi98ucYgeapNh2g4qnYDXRE9lhVV3JcXEpvBNiUTonnVcSmhACU46J/FAlAb9viUdE9HWXW3JoNHy23K5IJqagx99+mPeRPZbJW0O4NWWJyY1AHCM045N8U8i9kb4imhALknp3FdVyg0qnB33Vgq5/zLKmDe6pMxXCHpMAaSbKv6QaNlZguJBEKm29u8ppsM9E5wsz3ZVR2EzbNNTAhojaAnmLoIDdA37/AAi/qc92+51nt4332NzKbYNuqz3PaBEGE4AguscwqY0nvTJaG3ngi7sMJVZ15jJfM4lNzhAuhOOTbJ5zQxEpoQlcAno6lTRqhYqbTyVWYZCe+C5+mipAlxCotOIcNE84cDVWc/E610PecSqTeAhM0OieWjC3MJxdOJNE801uincCCdoE45lN37/FuruYazD4ee5hIEGSqxcDFlUfBe89ypsmR/2VJvDwXVlo1i62lxGQGqJbhe+byqTOtA71TGRlVHRDfFVjEuhDHiTG5QEBI4R9U85NT7SUNTKaEFyTirnmsONnyuITgyWi6rvFuqvneSqNMi1yqbdVULrNtMXVXH2+qDkqYNznzVJvCwlAC2aceyiddIQTUNLp50RMSU0JoQTyjqVG9b4tnuQsQDuI6QwS42RJGATr3qs95aOqIBRd26ipNwtPOAUyCW3uPqnP9yLKvUaHYsOSAxSZxR9FSZawTFUc2zYTjHWjKU0cymN1CzjSE4jK6cSb2QQ6bSvR7Y7/AFCfJdWeSL5DGnJVntIdAv8ARAHrPKptfEXKZ7slVsRAynM8EQBijEmyqbOAQjq3zhVJsiYlyaE0KDknmETmUE0K+Sejqd63xa6h25NEcrbha0kDJVJgNnu5qqXNOQtITJlznG+qpUwYH9VTGUnuCqOaw0xrcKq5x/MIF1THeqTRaIQiWic1VJs2E49p+fBM4eolpUPpP5x5rqpjbKo8dUEGfoqj2jG5MaZJJMyqVMGIkaBEFoDZVZ+Lqx8qxEkuKZ5JoCPy8PJVDpCtcpqaFwCeYUm5TM4TVwCfO/f4rksty72+O4Mk0TGQE2VQkhjPFV39pwHcgHtdjuDKp0wYgIQDhJmY8FVdAwwDZVLFzrh0/wBFTGk+sssVKoFiY08k2ZhAugNKruyZ4pxzdmLqkOapUxFgus0AZqvyX+o5ymACyZGamYEqpwhcSmhNCOgTjKjVNEK8QnTl8Ysd2W7mGqw+G40k53vCpMdECYlNEReYjxVd0YWRdVXdp+qpMaZy5qi2MhhJTHOgT6/PmFhLmfK4joptPddNGTSq7o0CJ7TzmqTb8LcclS8kXA4GmxGYVbuurgl10yUAJUiwVQq1zNkwXsgpTr3XP1Nvi1o3ZAPHpc6IdHFNbxKp0xAGWgQGQJtKqug4dcuUJ7px1EySSJJQGQ9fZej2x4+YSsbIVJglUgOXcnOb1W3VbQxzXo5JfKpgiQLm33VMaoumGlVCBeDqhMk3smtsmzCJyaqhzMLK6aE1OJgBO1PQB5IEx8c6yhx3MVFvK3SS04TdOOLG7MKmNFGXqQE20QesAfFPdky1lXObgFBBnSN6WlYatGpzjzUtUEyZz+qogTZMDXRmE53ZpmFtD8yAOCggueSVTBDsimQYzTnNloVU5mENTdMbwTU85BPOZQhNas4GqcQUTqmhNG/c/FbhXB3O23x9VCa3MgKm0WuchzMSqruwyeaqvAl8WvHFM15/VNaIA3W8UEToncVqpo1OIuPBS0HkqhfIfATSbm3BUqfAJkxKqukMp8lUc1kuuAE3Dhd1rzdMboE11mm8KoQOqnX700JoQ/vmnkZRZOm5TUAuSegU0fGr9Mt3Iqt529V6RsTBmQU3ECTOczrKYyzWjdA1QTzECE+boIBBO4IkXKz5hFoLPlMJ+HqJ783e9buVP3jKo0xk0JujSqjy5rWgEcVV1qayQmN+n0VNnALKBIVQtENUnwTQmiy5KpdGZJTQhojwunoFRvW+LWhW6YKkT6xgzcm2jNVnRDI70ceIutwTGi6Y3ghwKccuBRMyU1NHQ4qwXo9rePmEo4TGarE5W/2TndtyphsG95uqTOErg3j9FVL2gsgHVVXCXPI4+CaJ1nNMbayHuqreOKJPaQmUGqZhPJ4LiU1t01OvZOJzUfHLlQ47mKk3lb1DGwCUNAVWc0w3CU92LE6xaLc1TGipzAiULhoJgqsWj+9VUM43apoTGq1gnriU1BckXByw1aL+cFSE4NlolbQT1QANE4xjf7sH+apNVMGBAKxOtloq7tPNOd2n2TAmtQ0EqoZ0RM9ZWum5K+SeULJoVrJx0TtTv3+K3CuNyz2+O4wG85xkmgAi8mFtDsmRbNFxBc7QWVIaeapNFo8OSuQ1kqq/s2bF5VQlsv6sXVJgmFTE6a98o4oAJ4qqQO5HV0pg0TRquAT1ldDospov/wBN/JSwdyYzNE9hhKqOa4P1Wcu7wqYg68SqTLfZTOBpKrOLThiCgTJKbA5Jg1CvYKoeS4lMamp0mAnHVc00LgnTYfGr9Fl1dyKo523GQXO8fBUG5wI0hE4cFMnEJlbQ9h6obMf1RtiqEqmwR91SbYR4Jx7NMlV3kHIJ7ScTpVJrbiwH2TQDrHBEmMOqqk8ArXdKbw38+YUDD8pjyTYxFNbhtYp2FhY3tGFtJjRdRzXumVSaBYKmIg+SvDWyqjw6bT/JZ4nSmN0TRPIInIJzu5TmmtQTictE45lAept8WlngrdMOB57jakYlTBxEX4lU2xdOdUhoMTBstpdMnCrnG/FaPNURNhZMBAB1hVcUYP7BVd2G+GW+RUkEulU2C2iaFiPZPqbLBtdVvGHIPbBVJgvCbeBPBVpGFuirOiXRxQN3OkqnTZJ0GapiwTobDbkKoSZtZDUpgyhCDCccmp052lCUN0BTv3+K5qCRuYqTT0vNNwYetohYucZ5FUWdW1r3VO2ZnJVHdmn5qqSbjPPlwQh+NxM5qiL2TIGdxMKo+S0fLH+6rCJdb7oTJMlMbkPVS0rDtFF/HqqWqmOJKos+UIdcAXH1VY5N8VVfhOOLCUzUyVTZwTYJvYwnEGG+aeYJhNmUBkN0cUE8q100IZb9/iVunrDuUP3Oq5vA7lY51ITCBivCps4BAdXCcV7Ku7s07cVVdON1iIITT2iSmCIG6ekcVyun9y5oDosvynH5TPkpaETULsRzsqQ0nvVIXtKbga4NJngq5d2VWLu3abJhJc4qlSB0UZXROY6QENE85CFOZQCAXAJy5oD26/tl+js7sVe8blaYYPFVHZvjuTRNyZ4+aEzHSOK5I9LB7yu6BlCqngLI6uTQm8VOSeVzPTOIcQjhwn3THki6CDdOvieTKpMHWTW2a3XREOiBr9FXeLMiUXEHJMsOATLQRwQ4GeCfaBZPI6x0Q1TWoCU86QuJTWoKYhOtJTfZb/B7KW94VunC9h57/JHoA5KmNfJEtGFuf81WkgGBe6mMRlU26eaYNUcNhx+ieXEC0I2kygNN6y9HtdVvHrJ2Hq5qu4Ol0cFIAc8mDKYzqgqk05iU33Wkqs546sNTjixuzbCaDOqaCBqSuSqH3YTtTomBBcAnkeK4oDT1d/itu5QSNzFTYeW8Wk9XKPqnPZ1G8Qqxm8Sf9k33iSqbbtamajQEeKfiwhmuarObeAULYiSqbTMXglNRmwsqnGLKNd6WlYNoov49VWTiLE56KuZDnaKHYi9U2/1VJgzHhzV4a2TMKudAE93aemA4kxvBcBKfdZyZtCAQG4AuCefjt119yaZHA7zAZJCtZvH6FPgQL4gLqu6JdqMlgm8qm0aWVORebp+jbqqRnFzK4kmxHmmjTfCCcV+U4/KZUtCwGMJVZxsyLKs9rmu4odWSbBUGCLcL8kwCRe8IOIAadFULurlCIzKbA5IboCfwTjmUEApTzy37fFrbnXI4jeZLibygMh0l5EOLbHJU5uJTW5QuSO6IlN0T5sidUE0I8FIcOIXUAOYt5JrBLkPdBKqOZLG9bgVtB9+EIOJ0yZVOk3lKp4ZHCYCOIADW5VbipNymsACbMSnfKn3uhrJTRmhoneCOpTQE0J02R1+N2UtVumKjDz9QFyR47rAYJTRIPFPd2W6Sqhzem2nTJNbHkgnHkicyggpbKwbVWZzxeaaQJ0uqTe8KCQ0ZKqYhumaqucTjhC0k2AVJgyATMM931Tj2WFVTyXFxTQhBPBOOTU85mFYSmiyzTzyXFAIBE6b9/itlmOe5iaDxG8NxjRJcITSHFoJhbSRZufHRPdhl5yEpgFz5prbpoAgaxCqRIanRDimpoQ0T3LiU0LE0rBtNJ/GylqotHWCpBDMfZVXkdQgSqxw9aM5IQt1jKpgEQL5pmhlOOTSnEQf7KGpJTQJQCdAgaI8UEAjaOCeVzQ+N36LlQ/cmlHA7otdUhbFeU+cLWGQVXc35Ti+idfG+QZkKkwQdTqqTciERgLRIK2h2KBE5Sne864NlTGd+9U7d6Fw26qOsRpmi7M+SCaFM2Tj0CIX5Zd8hlS0IOBByVEQCAqbOHghiiP8AuqnpIw9WVVdnUhNaQZ4/VMZhHOAgHYU45NTzElWMoC6gwnnRGZJTfWW+J36LhZHcu4bkrslzpIAjwVGTYKnBIORhVi1uFubZ7ltLuAC6pDnTJlUW6eaptFo8FPZbKrujqRBQdhOWqaAFTbwVlVdpCJiSmtQFkYsE45lBYg8cQvywDpbyTnZOhAtbjziFSMawITCbRKxvgZLaCOynw3rdYCP6pszdM7Vr6pul08xATzmUACPYLfE79FlLdyKrfLcqAtDGzxVUlxFSJTHGTyVKmPEKkMjKJP7swtoJPXiViw4jIuqQuWhUmixHgpEtZN4Ve/NG8uz071TBCpwrdUJ/HRcSgM0AnrirL0e01mc5808s6kSqx/zIQa4GVTYZhUm6jwQ0bJuquK46sqoe0/yTYA4IDIewhcPi9lp0wVIB6SBKrmzW+KrOzqQqebnEnyVCnnCaXObwMKviMXuRktoeBJDboTLnkqk25A8VTbr5JxaCwf2FVIMgDgrQXGE0IA4Rmicmp5PBXumoaIldQrBtVN3zCFZVy4CIVY51FYhziZVMHsoDIexAaoI/Gc1DzuTSHK25jOFucqtjtlf+irPjHU8E0mXXy+ipsvZMBtcQqx7LAtodBc+L5LE/FjOaosLWx3JuKBy+qcbNaZ4qodY4eK4uJTRc8gmhF0wE85mEOmyhgd8jpUtHsjQuATjr8c6wV27nab47jWEjAbZ+KDg7CCSBKruaC0AHmnlrw6obme5MAjRbOyYLRCYGyL2VZ12s18wtpMS7wCGLFJzlUmmLCyaMridE53ZYqs9q0riSUOG/ia9vEKaQnP8Al7AAmpxROZ+O36eruRVbztuMzdCpThBvyTj2KZI8ltDjayqEgvqzeVS4ZFU2A3H/AHTPdBKrmzRbiqxAxPi2ipmS5UrwQmW4J5mG5f7KpN/U4NorM/1T5q3rGjVcAnnX9CS3chwPPca+J0VJmTVStfPgi4S1pi6rvcMTQAi6Mb++NVSaOyqbTEhAE9UraMZgWnyVUdo+CZabwITRkPVS0rBtjHfMIVvUDocidf0PmocdyaTDy6ZaRMIYsRJJVCno0Ki2GN4pzuxTlbU7UC8o+9UKZa2QhD11l1Wu+V4Vuko9B9iv8auusNyWOHA7lYz1rSITBqSqVurl7GIuqbp6socP0lEHmrbkVI4j2YDMpnenHKyJz9pt8blYmeCt04ajTz9jbxXAJ5R/TFjyKudzExp5euC5J29f9Lw481DtyaUcD6so+qv7Vb43foyWu5dw5bg6T6+/6VuijwWJqOspxyBVU6J7HAkjoPw6/wAbCCCaNOjX9Y3Vv/sjt8Qv+grfrL//xAApEAEAAgIBBAIDAAMBAQEBAAABABEhMRAgQVFhcYEwkaGxwdFA8OHx/9oACAEBAAE/ENMDHD+A5OPfhjCHDwR1Fl89yHTcvl5NwnaP4Hpvg6Hioxnfgdb1H43rIQ5OlxBO0YR/Aw4MOGHLHgo74GCx1XLly5cegjGH4mPB+E8j8L0H43h6ahDk4eUhJhnaMOXpeCMeGPJjwdAgrm5cWX+Ahww/Gw4OHpYzvCEPw9+CH4rjwnF9JycPPeMNRh1HQRjDkMuMw5XBB03w8HF9TGH4npCPS8d+B+F5IfjeXklcHJw89+CO4dNQ4rgjGEegTU6RvhlwRQA7srs+2iKLF9S1yPTcFdQXVBQCpXUQQWhjDk5PxPAjwMYweFl4ly8wBQPYIUCPI2fgY8EIfgOp10XwcnS74NTv1bgdBweXipdEyZcIxLSpUVHjP8i8fJiLCavV+BKlRej/ANRct4Jg+JTOrfxiIUhKM5zaCRVF85YxeGjt8NwwOw7gFRDwNpzWSVVWq5WLLPJB4Hjvxf4Lix3BiwYQiDAsUC/URGrkhNe4Tmn80VDv1QjJUvuSK5MYEHrYzvwQ/AfkOTpd8u4ReL5Xpd9I4WO+CLDwy1gKL/EGC0Y7feV/KrLxWdHolSTlhQVcort+5jtLPpg36QQy4EJkuGWRVYKj2QQCYusP1Fq56Mdjfd9xkstyP+oesLg/FcuXFi0xY1gJWCLAPLiOewjORwb72T6mTm78H6jDGPcT+sr0L3S/oJ/IlBAuEsOJ0pk8w1UfRtgNTrQIfgZ34IdB+J4eg/BfFy+Fy48i5ZLi8FzLgty4wMYpjLJO0DiuWsWHY8HtlL/6HkffgjdzMiqr7hOre7mFKxpCcMJFEfiIW9y4SwuWHWP7OzUCXIClj10Ly7RN8KZAPReWoRL3aVBUWUHhhzcvpHS46y8Vgn1jlDX52q/uMr+3LJweXQ+rjb36cvcmB7la1f5RNsFmu9QmWY81b+2U6iuKiEFVvyb/AK4zqvh5P/BXDyfgWXiXwGXLi8Lly+DwOXIwwSPCyyMBuVuK9FpoeVmcxUHeVt/kCfVdpRV8Jlnwy/4G31RohM4DJklWPDFXuMbm93HtGRo31cU3sQItYrM2cRYFwHEapfkm4Oy2LXwxsEvg4WMM5xrtxNG/kQFF6Ff8i9e/mygL0Wy4nMZKPmArW+7zMneNkEIsMbun3AVw0YM157zLI8ncj9aRwJSUFrxBERgEMKAYcV1PBwfjTqZXQQ6Vl4ixyl8CFlwgeLjwOU7+dkWopM93iCR2l7Lnebblg5xntTMSXqe8xyD4Alt5olq5hXQXVevmUo/3DFSydjCaTKN8qPudwCUhDu7jDPEW4rWahuGO0Ocl6Yov4B3g1A1i4Hfgpl6lweAyJ/OiiHB7j0KsbSp96pjv24oOEm1ZUyPGKB/W49Za85fRIONqisx63vnf5FUhjm0kdlVKLfiPuw+VIYikSM5WeooNC/BTDJwHPap3mUFBuEZn9FDWH4Gd+T8I8PQ8PJwQ6V3wUc5fAi+FxEisVF9y4pcw4s3mks3wMMUynbFLZY1qx5eiJA72Vxa3+2EGMT1LAQllYqo+Dlf55jm3rRcIersI/HaMjTAA7dfLMjoXFCnahOzrKuMtfYIC3E0krg1teSUHGQuClV43LqbICpcwfLKM4lgEXhkuM5xYVLH92Kv29od8aGIjeztAFdecoyaQojim5l/8Wyv2e4UPiKlFiMMQ3/X5gFygjLfmOSXrh+tKS4sX/EMKlWTG2TJAEEsiNOunb7Ttcf8A+5LlxObU724B+Bnfk6D8jxXJCHTe534KXmWMpLxxeAhZERZcvMyizOImO8xRi778LWe2E8Avq4ebocPBOZQy0malLDox8ECVeDA8Ss13lMTyv0wp8jMRK7p4yNQQVBZL9V2GOX2plUKz2mJcrhG58QLF5xVMp02Qzyh7/rESjoWpUDVgfgRPcexGsf0lqA6oH4gzxp6MQdn0Q7NDxqLSLARoXcf5gnh/f2y1DGd9BfrGKu2zDMIFdhxhHCMWyahXam/mcwCvV58fado2JbnTHBAB/wBnsgLLy7Tw3gGO+pXBf3zbMhWTgh0vDL5Pwn4GPQcHBDhblxRRe5bzBxDkSMfICo5S9VcWlXExmL4FxlUA7xu0dNb1bFYsH2lEDcoaBX7m2v3ACi8LEw7eIshwF+0FjXmgj13dyyMBmjD0MbdMGh70TN15FmdRInpSH2jtMmSY2dyn7lr7TO6Ii/lYsf8A+3P/AJ4pYaCy3BmHAWXr2TdT77q4WYJUqO48b7lxzQB/rBIBY4W2Q0fP8oa9v9ZmHGserI78xBfJpfP4WRBvYQ1BSFlqNyWl9nw+mIWzKnI+mWudhvXr4nJ0PDwcH4Diut5OTg5e8xqMVVxNRhfC2AYsupZLY0mHctLjslxyjFwBwJe4zM/hjXu/4CUcrNN3iIU+yDYoGSlVGsmMowbHpGvqCBdQMzocCFIpKZc6cPiIdZeVYK7Fr9EojzX6hjG4Kw8s+HyWYAEP7KA8D+rLU4i+IDWr9XehFrSMajbFWUz/AIGDJFI+7KElolRaRmggQd6A/AQaOJxoG2zyvK7MErw1n0GFEsbFsyBN9wtR3uBBAlZmeK1nefJ8k1rO1VfXvxHmssQ1wdLxcslkpASsrKRamxPYIecU9PCe2SwOtj0kHoVzBy5izZiy8S8RfMSS8uNS4kGd0vFx9IoGY4cVBFSdkvM76h++pKPG/wBbFVTa1SUBekY0ebFTArVlGMyMJEDQVJCbooI09r5qYK4Wfg4jgNR/INAHaCXfMfHmZAuEnxlfxAN75jBHQUynd03bBJf+LcwxZZ3ngWL6TkthkEWnKHidpi6io7QstvNf02wwEF7RTTKgFFPYI8svJ7sIMEoODnzgqWEGpIi1qFQVTOYzXTtgJBddjkWEZcGXLIw8V9uQbgLO8T5xFaD4gd2zQE62YeiuWP4mGW0UMKblhWY1NS+BxM7I+cRMly4MxIHaI3HfBo3w7IyiLFAdLKcrRvh/0MshuFGNENJZoheds+SIIZVx4Yl+pSVHsimxiCk+IQjdrvkYYJkGyXh7F/olYq8e8CLW5EVYuh8RGsw0haO5O2zOaXcuAwYla3NPi6Ii/tloIVUc47Pf36WLKy38nw9z3AKc4QW/b+sUHxEzxoI7fggQEbXiYUi0HAcUgIlZIUyojgBcEuPCcbDLIrSPxOzHyYWLn4Jr7PvMAYA/Acm3HqeTk5OFBLl2xS4jxF1mXBLllQYkzezgmZXFxcY2rGIx3wlyp9ROzKc5lFJiu8OGDKKnurrH7GYKnAqL3QrXhgY3JgtH6SgHkDsypZNQO74i4chqFSlHZ/2akffj4mv+T5gGpQj0Hj9me+VRCw2US95haWgfM0lRLK2XO4mxKOSA7Q3emTRPhjgOWVtPshLx/FwqB9qhG4h+DEpvq+w+oYArEJOAgOFi1qHFYvg14ZeJIjBZtAPmF3fqag/eYUYIfkOHUFKdb0nJwQZMsubbh34yBgstlspUfuMJb8TNTZlYJiJvhjnUee2p+og/2yzGdBjU9lqQF6heDFUdzZGKjVWhe8vVp7nZhVspgw0200w1tgNjFpu9sokdktTOs8PMokRYNW0DrwY/7Leh2Al3FFUG6auE78/uGKMgH3KzYAOArUPNEfCQkjDlmokX+cEF5oEDCapKGpUDgZceAtwriRxPfgZuCuYj/wCoUQhCEPwGqpXH9lA11BXzj0MZng5OntCLmLncOHE2jXAdSzEpiVO0NSsZZWG2HcZuPeNsyk/iNnTfPoiWUra5aMVj7IiMTPMWDc8/t7JcSQKLavcTuIdtkJBTCsApbHaMCgr1iCSeyXsglpweYlSzbDwaIkqtDGn3GjEMfPeLs3ldrLN6MfKVNJUsJbsqB8BFxqIWMa6dQjTkeAcj3eOwYtYIxliwTXgQ4IQ/BRd10bcjB8dL1nJCZVG0Jbf1Kg4ZhikUl3czzhZbmMKzFcURg4MtjUODFHcfhgKoO0UFp5mI/mw0JBKgF4+0RobLWRXybavbCcInc0wc0GkY7S0q5UQlIbVdwzwFjFRA1R3SHl3i6nPD8RSCMh/i2L/ABtfBHey6DQ7BFxLUTNtRl8rthwOUlROSEZpMvEl4A0J+I1f64nWj7lVxwBlVweoodAcH4VEHk5oUOp6TkhKs4al+o9ktlyuKMS4tzcdSrlYZmUwMKglKXKincYB+wqXIa0wmnY2/Pois2qveMctEEBF+lmR8M/5SZGd3YH+5nNBbQ39+GC8Gl+Sd8yrpqWKIJKZALgo1bDCgur3mG+Ar8kNWB8RN50MH/wAUR5kaDQ8EsQpVZjPBrw4IdCyyXKyspCEEp1A2L6m2A+WN/wAyG2PyZq/1Qo0TR7qHl5j8MrWPGGImyOo4OosDmqQy6uARpLPwIpbtCNyD8JYo81M3sEuAsX9vQa5FF0PD+A40TCKZn6RhWJwJmWVMrU3lZYg4nadvmMsjpiEWZEuFZjduYzODOhltDUPMHolC3fuVaArtEoQI7Iee89yVi+uND7Iyib7Ff2LKp1lRuW3hm/aJwerc5l3FO+KSg/sAxDy2gYEOy/1L2r1c/wAEXuVzkWDVJ2ISV/y+EvMGXDhONhHAyytyx+URtN/E1ghCEIcC4wt2QjLd7QgENRv0mF+iF95snoBuUlEOb2wMR9qJKDAVGJNJTwIcUNs8beQlDyQj+xljICAbTKC4DuLVLdjLXILmuU9YUXydT1uocUJgndPPP3MwO3BLvhuVDvGJVzyzEtNR9cVO91C/2XUUqaGZuoIkwbFuVow8ZTFQCO01H2zCqxJSH0lyC+WKV9ZNcX2SuUf1+ZpFgJN5iRhh957YLpGG0glzOzVmHIhCEIcCyfakSt3k+Mou+C2XxVAbwh3i7EzaMy+B83sVLvALFHiEpFFtod2pTwJ8BkmvBaX8MFg7LpwxM8VhlgD2RNMhYfEXD/OvuXiNDCekmXKrM+y4ONN0XiYQd+ZYTBlWvd87ci7+Hres5GW1z4xmwymfGHHe8S+J5CY9p8ZqxcU5i8wm3Mv3FbgouXzFqZihY+6CLmW8s8tl8V8y9L0YDv5j2RTWGgImO8ZoMRLipmU8wbTMNinzCmbYmVA4hyb4IQhCEGV9k9Dm6hrIlNZho8f0ilaWVEBQQXPSZQR3L4nar2qZFl7KrrjMeEUVe3sthtpb8WswaDefiVFgCFVcva+7C4UOwibvxEO5xv0QRRyLvzFE33gtgHzLNojQU1L8JPU3ESFS6UV46jaPXVUY9RwnFxY1JiGODBnCQQPFlHDE1EvB3lDKSsfSfGOWoSwbwGWQLcQ71oHxE8QwkJ2gJg4R4O0SNaZ+Jb8XlVPN/EaW77zDGAjO3BwQhwQhEqA0WnsitCN5Zax1nHzDAKtEDoQAlH9RkHbv4ccABEWl0bgqWcHlq/h7VF2lo/DUyqqNo2CMLUYtQy6naSrFFhnJj1sh3C2K3HlHlgtR9JqmX2C/qJglsr7MWbMNibh2BuJDxdY7RKJdaaZaqgpBzFlnV4gRkv5lHYRuo3CprroNcmgj0vWa4YIdptxYYBwsSHFc9cGDCWZaOaS8LyniJj4T4wi0DTw4NcBBFYCBmCMuMqjwtw3P07xX2Cr3mV+77zAlADl7xeg1BzCEIcEIQhDhBuVaUjd+pqH35gDOqiRTrwbCNcqPyojhCi0zW8P8ixZcWvnEAq68e9QFKxKDKjzKtW221hKRh22LIfMpoLQW92OFYawe9TOr7RBaZm4ZlgxtsgSbLv7gQQVLLkrt5gYNg5HxLO9gKqms+QT2GDZfUqt5Ikeb/AchmaRmuCvHELIUYTQ41ndEVxXE2hSASUlYIjkMIIQyTSMNE3jCpcEtiuSlKwIR7kX+IehjqMc3yQeSEIS47wlLQuLASpiYx8agBliXYVUG4Lq79fDkhGSDeO8oC9CXBuiNV0BNP7YqgET/ADMl5FV4TOO619tzJmOoCDfre4IEL/0UiEWU3Xu77zKiKG/SJjPvHuBQqMqt7VqbbNjMVQM0LHvJaPIufEAqKJmZWA9vWZTdJgvEO+Ep5WeTty9D1HDBSVKjxJqJZWoclMS+GkogdoMSoHfgYDhpGAxwVGK5GKoBthTcFgyy5qqIQFtQMEur2Vn1mABoP2/CQhBxxTzEqR2JmKmdkzViDmNC2i3uTLLQAfRUsTHnMdxMZlbyMKWhDbDDTDrXaZrt/aLIqRhhj+E7EULls38qicf8BTUXBBrOt4SXwF3D2bK1URQoEbYp83HKy1gHjdzbqzD9XmoGJQ+mZbxB/CoEGGJj2e2PmWpYswkBI7m+8zbRsP5Ozn3PDHohiGeae0ExgZ+Y2Cs0Z1m0cMfx3GE7QlRlRJpKggQJUTkiYgqBAeAneGETgIDEeXnmViZLFc7PhI4+RLYgsgZIdxlL5tTW6h3gFU9YTtLjHilyhsfWZicpjxV4cQT1YRUttXdabgTgCqbcVEQLywei47WBceA5gzm2vVf9jFXZxNcGIGMlXUvaCxctrRUO9J4O8czsj8YSyViNS47qe4ZIrdLiEpsFsMsQphl9x415BVUQQTBT0x8YG/Zb8/MaX2rwWriS0bBdXV1CyEwHZ+EhrFURKfDC7g8twB3YuLlvN/VR7Qw3PPbNAUdLuIdGnJpHDy/hqBKxKlSpXDK4EqVKlSoFSsTRAgQWwJUEYDECByeDxDbCFx8QnR6YaDfeEtZKqVL7A/WHqWUVOWgMtrURmpfHYpf4xCMKn15lioaC8fD2hmbPMFaLEvQavMoc53cHcmFQbwfFtzFWn/ZBKBd2sqAxSj57yzbE4YuXA8EF5MEqiVU3hX6lna5lrsBcq3Z6jk7BT5MkPyQZQBRLtilUlEgEVrariNcitGmaIrv02tl+qahgiul9vg9MBSuVv0n/ACUtaHf6Jjc7kYx6X1BblFz2XZK0oGvMNs3Sm+80ANKAQzjoS2zKm4rfYazP9JIBvPWNB8nKcP4QhwQiRMTvHfAQ5TioEDESFcEDgm2HLw8BNjElYjjRDDYZmGeWcsLb44PBX+tFFkTlXhE/pDQI7+n1WGJIFb9GWD6jqoG08k3qd1WqMKvH+cTtGdS/D5LhYg7DDd3KCknd2jVPgHzUJK5c0TFy9F6kDVm3teMlSvB4POYuyLkPlUpMA+e0bQQG4YrFKS8DDBXdqXXDlLQENB7JZvv6TZCVixKxG7Y/yWt+s7f2VNOAFzMyrVeD1A2OteGauBC51PIVqXhVTh8u39jKAMhrRM032Yw1lmsqEc+yJGxm7FzOK5vz3YIsStfrE96NQr7Yi3AywDObKzLFqipiKGW1lEHt2BAFHO3Ju3Q/grgJU7dDGVmBAgc1KlQIalSpUqdpWYSqhy8MSJLTjTPAZQ07ENWe4d54xLITd2QxtA/vhmGTygxSwF0GCTginkzfsYutnAUf3cvUO7uLbZVwqTRZbwxsBrO3V1dTfy5CfuGWqLdq9JQdov8A2dgtXR5pqAWc2N9oOTVVXwUkrth3XvLGQaz5xFXSNv0Wn9QVSoTDMxZbE7u35YeA5wvBlwdj+2ErYLS1Svo5CncdRmFfrBbIV81ASm7dXlgRQXwYigTsBi3j2XM1VrUmWzYJvst1ACFJjVdriL3SfYS3alVi/qJ7RguvJCved79yrsxHosiYSCjqs5JUS8ZntLxWZmBRVaiiC2qSWqoDHeGVs6jaOl/CSuAlSokSBAgc1K6AlVEh1HLwkSJLiVyllQYldxslh7g6ndCVfu3gwCUlkF2oWtaiqFYRtSA/7DCSCbd9yLLdBbUCx5HG2me8MMhLCGQJRTuVdX7liaFWEvUWzaPcKqNMQyTVDWMhdfctAQNW99ahT8zLdVBFW1wBohCEIcfS45/a74iwS/d2LZXuo7TOImGBEBtUNbsmAsMnvFk1L7jMiKDvY+IwykNjb7iwFd6c05qYSloD1gqK6JReDyYqNtFsqzNr/cvUB5g2lzbnvmA5r7Y08kU4S7mBFF7jYVgRg1t8RDQ5txLO1h2UF9GnNDOivxDpYOCErprjtwyuXfJy8sSMsmaPBue5guEow1KvMAfXDxZUmDMYrs6fD18TWUTIaRLxG/Q+F6r/ADmUEhHyuUwEq4gOtoN5VKYv8nO4Iwcw8BtLKza9+yqlQoAhCEIQhCHAuH7qZPkyQzHYZkU295mIuvp7jNejOxWPvxLquInyqrg5Zh59RRYDsfFwC9aivgZbulovrBdTMrRcB2tuEgKHFwEIK7VDcqRJLAxMqzxC/XeIN+sS6r5vMZElzNt4+YMwyuIgyN1LlWHXGRj0P4R01yHRUTg6GHLuHBwR5SJwugtxKWOIbGBtPEyBmcM3PCi2++h+cEK2FCpgBNrGUN3KqGhI0mmZa0r3Pb3DMqcqM48S9d4Wrw4f7GbKADVLuGLll3UqBngQuEIQYQhxoy9NQd3ANEfYNLHu5ZWWNoC0t7pH129fWpRstpdvwEzAa0qqSu1QWXNyBtyQO7TIi04c1jxqZzIbIGmi+6wWCy6xLquuP6RCigMSw9gMCYfJgTDeai1aSv7LHRYZgLFSyi7rp25N/H/yhwwJXHZh0EeXXB0EYcsYcSi46YsqbPBqXD4eBipPWf1AP0BjxW6437FVUWu0RKXGSoWJgAGQuUWdFg7MzmKe1Wtm/DMoWyqNRNNFN+KqF0B8ELgZ4DDtDggwhDm4MTsAJ+sMRdUuskVUWNDeTc7VtgC1wLnSlnp/5LlAybtsvFRVkmVqu25mIWLF2uk8jx2FlVxhpe6Qu+x4d4JlKWrFpARgHYYUA5YIpoNgC3jZZNC6L+mV2AiDiWIMNMu39HFh5s/qUh46hYkTfD+IIdJzESHNzT0vScHBHoY9IqgU/ZEYCVC57gnkCaKYZkm2AClZsSU2TRWVYAKFBBYzRDvCCw4O4hHMY4J1XEq1iiL97/jAMhhwS+LIk+YMIQ4pHqMVq7+IrISHCBHT3S1CpbbGxiGDtbEwau8C50U9lOzEApiN6tIfAC278w3Sl0V4iOi2Gf8AMNd+H+GEbR8oA0IjkbWXHGV3JkYc9pgnJjfqXuoiPQEuoKbxGhdIL3nO2alh0acmuZ6zgh0VxrwODl5vgjy8H4WPCyGXmWZmK/UEQzucd47A5eErodRQWoT+1jFGd1AYwAMVJ87qt4jnTuAdjhPSbJduy2rutr/naVZhQfRqEIQhcEABM3BsdzLd0+IZk2xABl+7KGVpDE1oAjIdS1oZyysnazb2I0nsu+26llDCpZZsAOe53x3SZ1q2e0A7obA826jZkLZHEqzKi7INsZtfevEWyq+3LM+Av+xwVeQRjErtL8yubzxBdr+W436NINe4m0EpE6wfLNiEHBRfuCJY9XQ8seHoOCHXISpXL0j0Op3hydTGMEXMcUbndj3Dk6K3NW/aPDwmZrjZMyhLAAcjDtT2mVkZ9QYCCq+iobhCWFEXU9i/qeMXdfTUr9yJR2xV4lt3m2/5UGowRBoFg+pSEBapBBO/6jLyC1jTgpLOyIEpE4txdzMYEo2A+r3/AMhiDELZ8y/dVgF0uLCGIW2Bv9GFF1RRj3giMmaxrerIpalu77RLnA0T7sjl5WJAUOggXTzVfcuwKq2lltZspIAcb3crHBQuiWFCw7QtuiIWwABo525Fvl5eg4IdN8yHQ9N5l8Eeg5ehjGDgAMS9RG5h+Kpo9cXGBNjf6ggDuDwxjKmJfGbhCI4CDVFpr4zVywVO8WiwFr0ZbbIBa+ipmFitzKgiSps0+intAQvuoQMXXmeYXDBovNTsgIizs3C9OAfrEtZhTF5lQZ224tQsBaf5iGcSfYYWQ+M2sFu27ohsjLMQjMMIGqVmBbXQFu9TDsPUWCi5O3nP7qKk0q1L4ixsHiAqubuGXUx98l0zSD7riFy+KiHf9RuBeUzQuUN3yQ5SlOHl6Dgh1MqHOOH8LqOHkhw9DGMSGW3Upiz/AGJVH3cO0IXc3LNl9cPDcqVwoDb/ACN6Kyh7qCSgcX4bljDBp2GVIOYOWl9t1BF8WiN6Kg15Kx/YqWhptSte3klaTb7I2qKuVZQ2EUhdUuZqFVblg0MmoLteKzAe5LuncBSViIf5/dKmZMAmJZ6LZ2ju4jyCwHduyNI3nz4bh+oaD4mGNofZSFahbkVZLzY2sCW4F96X6gpRvseLr/cs3KGpg5L7TIF6gQGXzKFsYLlEAojNIF4lILoqA5jK1Eqc2rqGt34uC9h8dGnJq/noek4IcvDyOl4Ok4bjyQ4el4MMO4EXxHLcceyyGm1fIyz2DoVIVLG1Cwv0OXRZGwFipeU9+I+miy2FLuUK2rurhlgMmH214mSh5Su4f7hxUQAFO0SYVaAdnGoIJ+3K/wAhvOzT4EhMGKUPUZbhpbrPeDb4UvwrM0qbqiFt6ywbobx8QSFwBGBVrbfBtTATOH5yl98hmM3q6qWWQxcB5vRe2KlFdA5DWqYopYAE8FS8GKHS9fEGpQa+6jVA21eai2mlfkvtcABpBWZQ7XqXQO5yzAaISqqxNwWHziI53XiNJbKJumSsQBFSkEFKCIvC4+EdcYH8JwcHDw8DpIwvoInN4jyQ6yRicDazCLmh8UwbeGDdc0PsHoDFKoy1WRCEzC20TFzCTodle5YyjQ+HRlcVwVnVe2eBi3L1TM9KAemWqxO4ih+kvtL0ohKvYxlzH9lSrQaZecRYRwqnpAtu4pqvMCgpY5N+o1RkK389oM0+8whCHGQwmrqDq3K/uqV1RogqshfwRFlUA4yQGzRQQDT5lCA19VXiYcwKLlVBtDuC2sxLuVDfamDFwrpezRP9x6CWA+KzMgAnwIOItVuf5cSRQyqJp8v7KS0EQv1X9gxSC1X5g5sPUITLdXcoNHTtzYzoeg5IcvDGHQwjDfLD8B0DoYxiTLAOAJ6j/iR4XPMNRynQf1LEE085UaBKPcSkwz8FTODS0J5upWUT5gxGkJXJ/wA8TMJZZnbaDrWq2+ywripQdrav9xCGimPNH+G4wBZL3A2ROGjkc4iim7ZdtpM4zQFUXZS/6lwUFYdwhCDDgeLwzxwqfeGIo2WMqCkNXmoMeA1Tvi4hLSmPNg3LmoQoYppI4Kuh6l2IyhBlCjVaoN/EFe1C1kE2R5RaojpNNQFWubO2YfYA4l2CoWeNXMCyF72CF5bbgFYMS+VAW8QT3V1BvXnqYaR0PQcD0HhjDi+GHN8MI8vQQ6zEjwcTE8rlPv6ZR4ZuXiEJ8RU/JjmtgjKKaytTuLcxKGiDsHxcHQUSAHKeIbfWH2ElZkKdr0qAwFJdxdQqEbmlyxJSyYpmlqWlgKCbLoMQr0w93YuDs8FoVqazIQl+WDBYQozK2F7eKR6niuy+8xFXkqFC0HliWhBFhnxq3gj9Bt1artDEV2BinN1+5YtqAuUTRfLu/lgdamkXdlkfs5VGFjB6QlOM5gDs5Vr5hYAV0Yid2Mb+4IgC3Ue1RC1F3X9xoVLr71Muw3VdCxyaDy9JwQ5eGPNSokN9LDoeK4IQ6zGMLBlERY7h+xfyVD5mzm653D7jHgOqVFptZULVJnwtyzy/I5Y8hbg809y4FOGTdj41AxnIPfiK1uX4JiTgoducwcRSw2k8AsH0IfLCiU0Ig8g3L+NS3oITNpzZKJqCOmG1HRGSP2uGwcJHyQBGxJdVXyXVRNs+3VrqJhvApeYLp0NImzzcWtQ2HkzuWAKhZdGCv9wYYNW1+odCqWt96sg5aYuFwjuIR7Jf/wC1Ev7DFVclH7l173caXvxLOFZauQy5lF3a9xPFBEE6oxceXoODcIcLCPJw8EJ0MJfL0EPwGMZrCw1D7mCvcGB7jDuc4zzH6zO/N2Snu9kVW/qoWc7bazcBoC3K1FhdsQ3GGk/yD6H9gX3WAHYI74+sy2xQYd7VGDUBaNJq4Miz6+7gutHfMpL+WIToMMF0Q8kgqJhhlNNDd4j+1QmhCd8VFgmA12puB9BVD0pkxLQSAHCi4zFVVzlVVSntVdrSRfqpvu7shhs4A/X/ACUjQukKTJTILd1L2vYFVyRwDmmO0vrJaN+oI6x2IwKtLuW2gg0zsoZ17/UR738RISadwdWiZFpy3ADBztybEjwx5IcEOLigeHg6Dh6jhJXJ+E8JwEOYwv6Q5zyfcVhuCZ4tVwGO3liMcFsHwvvEfYPiULm35mFVP4hOb4vC5bANsvaqS8DdRZd4iTpQ/ZKRrdBeWoj0+DMQ17cb7aS0SmmN4l5OiFAQA3WWEOcRj8HUfeGAubOQ8xpA2vhFtCbSjtWrV3dbjfNzxlYodPZ7lwZr8063ElZm1/km7clu6ytzDBgY/crmk5xX1n+w0xgb+MkRffpiGxmjNxMbSu8z3uLIEjhMH1AoWVz/AGaIfiYaUekhwQ4YtsOg63pvhjybh+A8MeVaeIdvkkHyEuwlwnkSl/WOWXMwJLFjnKKsRZblscVjctKM3d0YS5FA8uNUw6o2bMrDvBYHnsjYX2X1KBtlsG6KxBFKHlxkphig9g0ZYtq+4f4/7LVe/wCDbcVS6B5uhlhbNy4MLhxSvUNLqy+8kuMI1KF9yLmBgQxHvflikppcfJUyyXgLVxA0gg+0U2tzwyNTT97n47wJmTODwwuG7u/cwMi9e7lHfCJpW8PqolrMS+IM0QBR0OwkT2XC69DFFVy9GnJycvJDk4YkGX0X0EOWHJxUeCHD+BjBhIdw0w2S8vf+pQHskNQzNT/7AvklbjBQC4zHA3X+tRF4tYDdjNN9g6qBQNNb9FQIGoKz2CUAVgWGC4Z7WzhwFNQeJa2VtMAb7sPG0MilwfAwuHzCEJRtjRZnNQ7ACVhMn+rDp+ISJHtXeZBDaFXR0s0jcHu9q2013ZfpsO15yBjg4USRwTCbOzDfw0r9OSIDpVous5d/MptDWi81UoMV9dFhlQlnfaCVX3njPxA53BzH6goAx5idzrRfJ6DghwwcjB5qPBB4eDou+Hg/DUYxIcQtsFNzvO19wNHwwYcUe2frouMWKbby4IGBgXVERMDMeIF7ZmM2hd+5jgH+4xBxhMPgQPKsBWDglWSyrmLZ1r3FrHFYuWhaYLqAAOazmUjVVczQtDbMPG80v5wgxKPM0Vr8drzDGyLwVcwqL7/niGBKH2IGXQi17hnlpdxQXFv0p8DG3iXV/XiJZWlWj2VABgWg9soFF3UFUJCLU1U7p8kpUDNRHAX4itaMv8MVOgHR5j/+CIwYx/SYPLlZ5FkeHkhyYPDw8HQ8nDGGuk/JfDGawzNHZDcC49XHgw4DtlL+5W+cRly0nsv4zM4p/c+AlO6sPRwIohE8xUDZSvMp680W9u8HaDOiDDl9He52gFpCWhYCELDCt/OBh6iBh9RApPlQHxCMbFFKgOgPeGWmWqVImKZK+DT/ALI7EdehrEStyD9NwFoOLf8Asx1UDA7RY2N0uNQNqH1DRc2M3qCDCz6fFxLSZ7wqPsBMdmkFuBi4XxLqoWaqMwFaQxgJ7BjjdTqYafDyQ4IwYPJ4IP4jl/BcHrY8DiHETMfFx6JpqKnxR34IY/YeWJGmbMX88VGgVcRYBalvTDBn8BTnxcVUlrNENYY3JkIDhTbityns+4zSrUPecRui5UdkykWFEsuy2mLYUxVdqbhG21xt8R+65qDKBUggJRmHdZCnsQgyDxhX87JWp0ksQpe3OWJLdYsa3eMRAC1m10osx7lBNqdNOKZg15BHbsxZZgmX+/shjI1eYfGDXuI0bNNweQBB+A3Cw2g/qVSBij/UsDvL12fowdb3gOy/mJ8JdYPMbqLG0rvBKUVKQDQdKxydMY8kIQ4qEeRCEP8Ax1yPVUSPJJpwCvdmA+QniGYHiUvcxHl9ywWGdRHA4KM58QzWZjYg/wCxxFXTdTV/KMySD5JiUQPK0zA9Bqij3oxKb8+jf1LINR6MR4KqFekqmA7ugbVmtsQu07a76uXIFBcCalop5iLXgxA+1/MLZgqv7GVMKxKx3RAXaqwEAMyghkf1YD/JCrtGYpY80P7/ANwbYEspdn1ACW9k0lqblNkwL6gBv2wa3ibfjZ72uEoCrR3nNS8Qr2rvu/1UHFcp+oXxiHb2ZgSxZm71MbgHmVILnYU+ZRJfUF2v5/C+RbjHk5Oh4Z34PyvL0vBD8AYYKlhUkD8DOzB1C8TJ+4P6jzmDplNiUoVXbK7rRtvNLnvMrBpeQuKa6vDaHJBfV79kvfHKdjrCwwUtZtXFK6rKdh3cSibs4ukG2rq6/wBMU2S8PLuDjbXl+P8AkC4QHj18RAkP9FXX8jRp9tU4lT7dd4FreMy8rEart/kMiiUmexDXMPFdhk+cJWr4RuiwVTupq0DAuzMrjCUrzUIarCD3v/4jyjajnFasjrqpbu7/AMoUJSU2vhuB7NB9o48vhMs4Z3/uDFxrr1GBkagBL/Gs8sFcXg4OTq0/9B5OpiQcBoxzNnkLgsrxcyqZhF9vC/1O3NOAtrwEUgFv14qLTWwJ2alkoA2d7VwsohE6A3WcXH1KHZlpLuYTQi/g8eMSiHBve0dQ/uGbRHjP/EG6kKnwXC2jVlt7eKiMqg2G9PcLwFurgm4iXQRaVFbCU6qlm77MLtq+pVX0tj7XxFFomeVMX1ieAGP4g5AXNy4NntZkTS/7KlA+VhxRDWnkuIwllK8GT9ka8Nm+xXadvd/SCdmiHbbcPoCEPz1FrPAiXbHk6D8AhL/8Jyzv+BjEhgpvjswOP1MRXZqKcPJenH1AL7g80MLkHvQu4ijovM3RF1/EJVWlLvKwM1FAAt1ktuBgTMXGas+mUIUGBTFCJDAsuh4oe3uOSlu4UbjOYcN+gubdq+9vXmK9Gz0qCn1gnbrbu2YQ2oNFw0uujfuF4umP6QFLslhzVkwd0xnbM7jfeeJ1fyZI7NeIVbKuzWdjOxXxArSh8Ukv1F9t6lagD0RxPAIQ/Jtoe0LF4t74Xhg8HJ0nM5r8R0PBDh6b5eEjBZLo0iUM2FbphoPcue+Dtmez25MLQdzZWx+yB7cPGr7oM6apQWXsfqO4lfC1YykqheX4I4o9wbu6qpZ1rc5R8eJTRUKNYb7Syp3ZPBVYlYN1VszKz1m9i9EPVMipgSOsKbLmhm/hmW3sJnT6jaUWtnnxFADZ3rtAwqzVwI/SmBeaIUaOLlG7qM/UOF4FgbgLlIcCEPw90v4in/bHcUqV1JDpIdOvU9FfhYcHDO/TfSYMTZDTESXXsKhpvdTSHGL4h0YsCFAaVWeZUahKNkUyrs+WIXSDCZfSJ3akW/MsCFBrbf8AmZNBSVi6xi4lKdHC1ZY77kQqtstK+YW07o7EKhd/gQIcYD4WQE3IO2FigXPuoRV5jMGqC1tgwhDhyQWjDxC6MPzhweCjji4DCHS7CEBq2OoBLzI8K6b4eGEOg6TrPB+O4dD+G+DDBllbRtmOfFMNqvmZBwSrdg8iW6tKt8XcoqeyhFLLWIirlgYWrH0uvCxq9AAMWS9zfJV6i6qBt70qLYdx69d4u5rWqCYgphUqNoLy3rt/yE7UC34NOZUK8lDHhpg098XfdVUKrldi73CEIQ5sBiN6KfibOhuPXAhwcbKH/wDRPCPiBeVthBFdTrpYENdQ5Os8H4jg6H8TE4DMOeCMKC/FR0V4anvhS+wZdl+edz5WQfAVaG3zi401vhQL3K5+ugKpVEGpN7OcmYrSuDsWLJVPCst7bgZQuq93DG7NHzaZ/UxebgpgRFTRVdqd4lI2wHbGf+w0BA1AC6N5hCEIcHKvDTr5MksPTHcUWIFtiewxbVEe8mEEVAgfgcNdDrg6Dg6Hk6Tg/CvBy/iYwQ8NGbTse4lPzmDgvgqfTB+TlyrEoYHMizsDjX6l+hj27veKIyoAO7mNC63duiLCgYF2N+DZUHpf5Lu8V3hQZYF+CWFAFhCEIQhCEIQ4uZEBmWRk3wIuiD9oH1FDgOA4CKlcBD8GX4xL6XfJy9JvqroIcP4nkLuWdoaOB/YkNN5xNkNS0mQe4ffQCUaAaxedeoha+gy9ieDtWdBwQhCEIcEIQ4YSgIaQLd3UDoSviV8Q4XiEVKlSpXJy9WT+E1wcHQ8V+Ij+E4fw3ywQYYEuDM+qEBn4YUnNx/8AQ63g5IQhwQhCESWBE8Db1NEIyKViSokrkqBmH43cOVLgdLx2hDg4IcvAy/xPRfNcHDw9Zy8oUsdwUSJ9kZwML8z0GI/iOCEIQlhEIf8A9Mts18QLKrBmBjgkqMV0nD+HfBwk3qGulh0nBDl47fjYdRwcP5XiMjUTitEKQ/fBC57RHU8M7cENSw2yr3LdoX71KXaw0lQIwEBj/wAA8X+Da9Z1EIcvRf4CPScHB1P4WasFzBgYgUvD/ECzycENzYMscD1088LUryhJzKlSpUYLiscPDDoOt4OvDqHoIckIcvRX4CV0nB/4WDExTCKlxXhgx6MJninzbfqXrl8kodot0Rvtm2YScBBAcVKlQ4eDtHlg9B1vB1rR0r5OTgYQhyx/CcEXl4I8HL1nT34HAimPhjClRtOyZKFjeJhLU7QPllFwS2ZR9odPCKlQIHQnFct+GPQ8EOpjCHXlAdLMw6xhDlj+A/GQ4ep/AkFjdqHinrmZRLhKtQ7w4vAZS3CocAQJXBw9THmx6z8J1OBhl/AcnDBhCHDHg/CR6B63o7/jYkIrhlSoZCSpUqVxUrqPwLHov5ng6SawflE2YcDl/Gfkeg/KEwIkzwMRJUqVy9YfgY9F/Ix5Ok4nWsOCPGvAhwY8PFfjeDcPyrxXUnBFkIGYMx4eD8tdDHm8P5X8BMmHUcHBHtyFQ5H8PboOkhHk4em+l6K4YTNMF5h/4mX0MZr1v5Dp7dSY4Nx3w8MvkHgcMeg5PwMIfnuPWtE3DR+I/C9LGa8vQ830sY8HS9Bw8sI9H//EADMRAAEDAgQEBAQFBQAAAAAAAAEAAhEDEBIhMDEEIEFQIjJAURNhcaEUM3CBkUJSorHB/9oACAECAQE/AP0CfUYwSSncXmQAvxTj1CbxJ6gFMqtd3SrVw5BMaKtQ4thH3TaRp1SAJaVVoDxObkcOKPpug45Qm1PdUq2cOP0OjIUouUOKwfNAQj2AlSpVR+Fsp7wDBXDmHGPN7e4TKjHneHDod08gB87Npn7p9IsDD/cyVKpvVF+JsTmOTEFjCxEqCdygBYiUCWqZtO3r5UqVK4h3iA6AImSSmkYhimPkgS4AtcKgH7PCqvDyATDciVXaH43gwGNgfWw3XCv8Q+aJUkoglBikbAIQOVw6oGPVTyypUolSU3zBcT53mbEqiyg8Nh5ZUVYPDmh0TO//AFS2qxtJmTBm9xXE06LWh1PqRCG6oZVR9VIxG5KFgUDeFsg6NOVPopU8g3C4pviP0RsMZpND6QcIyIT5PhMiDlKe6QBswbD3TnEwT0TRJaFwoxVQfqUHTUcsRQciU3ZQgFHIWyg0c8qeUa8qeaQqgx0w7qE5uFxHRfBL2Y6ecbtTK+AYSz+CQhWa7IiP3Ra5zyxrZd7+wT6bWQNwP8ijLQSdyuGZgpF53dsqbcyVhCLYCbmYQaBzypUqVKnRGrOgdrMdB+Sr0RuPKU1z6TpBTeKY78ykCV8fhAPyvshxRAIYwZlB+El7/E/p7BUaRquxu2TjJAGw2TWwLEAoMA0C4BF6xE9UOw4c1mmmBG4TqDHTh/hO4d7f6T/tfCdPl+ybQqnZpCZwrW5vP7BGTAAgJjIzPLNpU8hydceri0KFChQsJUFQUMSBcoJWBAAKbSpUqeeoIchYIaY0IUKFChQoUKFChQoUKFA5SViExOrVGSbtcaY9LHLKLwE57igYIOq8SE247ISiUUbMMtGoVs647IUbOtSORGrUEOQsOyus61Mw7VqjJN2uOyGxsDBGq8SE247IUbHezDLRq7OuOyFOFnWpnIjVqCHXCHZHWdan5tWqMk3awQ7IUUbAwRqvEhNuOyusbNMgauzrjsrrOtT21amTrhDsjrOtT31aoyTcxYIdkKKO1mmCNV4lqYbBDshRsbAyBqFbONx2Qp1nb2pnLVqZOuOyus61M5katUIbWCGhHrDY7GzMiNV4kFMRQQ5IUevKO/INQrZ1gD7IAqFHY3WdvZhlurAUDs7rOtT6jQhR2x1nDKzPNeCoUKO3kLCixfC+aFNoUd3H6Jf/xAA1EQABAwIEAwcCAwkAAAAAAAABAAIRAxASITAxBEFQEyAiMkBRYXGBFDORI0JSYGJwoaLC/9oACAEDAQE/AP7AGzKbnnIJvCCBLl+FZ7J3Ct5SE+g9me418lPQ4VKjignZVnmkwBu5BKdV7Wm0nzNkKjxLpY12YnDP12ToAkotB23VWjMuaIPMaMKAhCloWL4CJJQ9dChQotTp43x9ymMJEhcUCWiR4ffmCnU3sHu08xsmAksjd1Qf4TawqF4/hfCIBRE/VV2YHAgZG4CiVhK25KQsSBJKBhFoIUR0GFChBq4ZvhLvcoDJOBLXARPynANJDmmmT92FUmYASBLswFQJZgZEl7pK5p20+y4lkscmskAp4wkJgBzci72Cz5ohEZWO9mnkiJ9QO9ChAXhHYrh/ymZIWrPrMLpYH01RLC1xbMRtzHwgHUnmo/N+zWrhqlZxLXjYGUdj9FU/Jn+lBhHD0nIhAckAiZd9EAnjIqERYKZ2BRBPqjYd8iQVwzvAB8whY4BVJZVLTOYKZA8Qg+8JjYJdu87n2TGhoMc050BxXEHDQI+FUpBnCUm8wAi0JzOYQMCbSibG4cQsRnuRbJSp9Wyk53wEz9lVLDs7ZAy1dt2b8FTL2dyT6GM4g/8AUAo0XNzGf0CDmNYHvdDfb3KZUdUJO3/IQh5AHlanDt+IZTGzc3Lj6sNY33MrtU2oHGIVRo3Uk6MdBpxjbNq7A8bwRsqNacnZOHJPayo2HiQjwb250qxhfh+MJzf/ALI8KDhL3nJdmXgMYMLOZ5lVHim0U2CXbALhqQosJcfEc3FcTW7WqXcthYOIMhGo52+gASg1QE7oEptaRmYKlm5dKfDjIEEc02u9vm/UJlak794T+ixMjzlOqUW7kFGu95ik37lUabKcvc6X8yVxHFYwWM8vM+/di2SlSVJsM2qbO9XPfkKQpCIaeQWGmvAF2xGyc97tygFChQLT36ZkXPpJUqVNpUqVKlSpUqUSVKlSpsAoMSsSxFTpUinb3PpZUqdIlTYIBBpTWgI5iNVhhydc+tPfbcWeIcdQLdtz0QKbC1TkdWmZajYo9EabCzx4dWkc4T8j0dpsLHVYYcnXPRBYIWcIcdXdtz0QJpsLVNxq0823PRW2FnjLVpHNO3QRR6IEDc5g6rDBTkLHore4dzq7tueitsLPGerTzbco9EbYWftq0jmiM7FHogsLESDqsMOCfc9ECHcIgnV3aLnoosLP31WZtuUeiCwtUGQ1aRzTt7FHogQQs7Np1WGHBPQRR6IEPQBbtFiQj0VthZ/m1I6SLCz+XVW2Fn7d2VPTwViQejU+EXk9YP8ALI9QdU+k/9k="},5925:e=>{"use strict";e.exports="使用重新设计的清爽风格首页替换原本的首页.\n\n请注意:\n- 此功能与 `极简首页` 互斥, 请勿同时使用.\n- 此功能会禁用首页的[悬浮视频](https://github.com/the1812/Bilibili-Evolved/discussions/4404), 变为直接跳转到视频页面.\n\n选项说明:\n- 个性化推荐: 启用时展示推荐视频, 禁用时展示热门视频.\n- 启用横向滚动: 在可以横向滚动的列表中, 使鼠标滚轮可以做出横向滚动的效果, 请注意这会禁用卡片的边缘吸附效果.\n"},416:e=>{"use strict";e.exports=coreApis.ajax},8253:e=>{"use strict";e.exports=coreApis.componentApis.define},7886:e=>{"use strict";e.exports=coreApis.componentApis.feeds.UpInfo},1649:e=>{"use strict";e.exports=coreApis.componentApis.feeds.api},8217:e=>{"use strict";e.exports=coreApis.componentApis.utils.categories.data},8109:e=>{"use strict";e.exports=coreApis.horizontalScroll},322:e=>{"use strict";e.exports=coreApis.pluginApis.data},4905:e=>{"use strict";e.exports=coreApis.settings},1164:e=>{"use strict";e.exports=coreApis.ui},2082:e=>{"use strict";e.exports=coreApis.utils.formatters},2007:e=>{"use strict";e.exports=coreApis.utils.sort},7847:e=>{"use strict";e.exports=coreApis.utils}},t={};function r(e){var n=t[e];if(void 0!==n)return n.exports;var a=t[e]={id:e,exports:{}};return o[e](a,a.exports,r),a.exports}r.n=e=>{var n=e&&e.__esModule?()=>e.default:()=>e;return r.d(n,{a:n}),n},n=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,r.t=function(o,t){if(1&t&&(o=this(o)),8&t)return o;if("object"==typeof o&&o){if(4&t&&o.__esModule)return o;if(16&t&&"function"==typeof o.then)return o}var a=Object.create(null);r.r(a);var i={};e=e||[null,n({}),n([]),n(n)];for(var s=2&t&&o;"object"==typeof s&&!~e.indexOf(s);s=n(s))Object.getOwnPropertyNames(s).forEach((e=>i[e]=()=>o[e]));return i.default=()=>o,r.d(a,i),a},r.d=(e,n)=>{for(var o in n)r.o(n,o)&&!r.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:n[o]})},r.o=(e,n)=>Object.prototype.hasOwnProperty.call(e,n),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.nc=void 0;var a={};return(()=>{"use strict";r.d(a,{component:()=>s});var e=r(8253);const n=coreApis.lifeCycle;var o=r(4905),t=r(7847);var i=r(9602);const s=(0,e.defineComponentMetadata)({name:"freshHome",displayName:"清爽首页",urlInclude:[/^https:\/\/www\.bilibili\.com\/$/,/^https:\/\/www\.bilibili\.com\/index\.html$/],tags:[componentsTags.style],entry:()=>{(0,o.addComponentListener)("freshHome.maxWidth",(e=>{document.documentElement.style.setProperty("--home-max-width-override",`${e}px`)}),!0),(0,n.contentLoaded)((async()=>{const e=await Promise.resolve().then(r.bind(r,1205)),n=(0,t.mountVueComponent)(e);document.body.appendChild(n.$el)}))},options:i.f,extraOptions:()=>Promise.resolve().then(r.bind(r,8865)),unload:()=>document.body.classList.add("home-redesign-off"),reload:()=>document.body.classList.remove("home-redesign-off"),instantStyles:[{name:"fresh-home-hide-original",style:()=>Promise.resolve().then(r.t.bind(r,7985,23))}],commitHash:"d87d69cfb9d7e0124bd90a06fec4569bd61e02c5",coreVersion:"2.10.7",description:(()=>{const e=r(4778);return{...Object.fromEntries(e.keys().map((n=>[n.match(/index\.(.+)\.md$/)[1],e(n)]))),"zh-CN":()=>Promise.resolve().then(r.t.bind(r,5925,17)).then((e=>e.default))}})()})})(),a=a.component})())); //# sourceMappingURL=https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/registry/dist/components/style/home-redesign/fresh.js.map \ No newline at end of file diff --git a/bb-evolved/registry/dist/components/style/home-redesign/minimal.js b/bb-evolved/registry/dist/components/style/home-redesign/minimal.js index 3e0012c734..674109d224 100644 --- a/bb-evolved/registry/dist/components/style/home-redesign/minimal.js +++ b/bb-evolved/registry/dist/components/style/home-redesign/minimal.js @@ -11,5 +11,5 @@ var a=this[r][0];null!=a&&(i[a]=!0)}for(var s=0;s{"use strict";var o,i=function(){return void 0===o&&( // @see http://browserhacks.com/#hack-e71d8692f65334173fee715c222cb805 // @see https://github.com/webpack-contrib/style-loader/issues/177 -o=Boolean(window&&document&&document.all&&!window.atob)),o},r=function(){var e={};return function(n){if(void 0===e[n]){var t=document.querySelector(n);if(window.HTMLIFrameElement&&t instanceof window.HTMLIFrameElement)try{t=t.contentDocument.head}catch(e){t=null}e[n]=t}return e[n]}}(),a=[];function s(e){for(var n=-1,t=0;t{var o=t(875);o&&o.__esModule&&(o=o.default),e.exports="string"==typeof o?o:o.toString()},295:(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>B});var o=function(){var e=this,n=e._self._c;e._self._setupProxy;return n("HomeRedesignBase",[n("div",{staticClass:"minimal-home"},[n("TabControl",{staticClass:"minimal-home-tabs",attrs:{"default-tab":e.defaultTab,tabs:e.tabs}})],1)])};o._withStripped=!0;var i=t(905),r=t(164),a=function(){var e=this,n=e._self._c;e._self._setupProxy;return n("div",{staticClass:"home-redesign-base"},[e._t("default")],2)};a._withStripped=!0;const s=(0,globalThis.Vue.defineComponent)({__name:"HomeRedesignBase",setup(e){const n=new URLSearchParams(location.search);if(n.has("bvid")){const e=new URLSearchParams([...n.entries()].filter((e=>{let[n]=e;return"bvid"!==n})));location.replace(`/video/${n.get("bvid")}/${e.size>0?`?${e.toString()}`:""}`)}return{__sfc:!0,params:n}}});var l=t(991),d=t.n(l),m=t(388),c=t.n(m),p={insert:"head",singleton:!1};d()(c(),p);c().locals;var A=t(678);const u=(0,A.A)(s,a,[],!1,null,null,null).exports;var h=t(550),f=t(809);const g=[{name:f.L.Feeds,displayName:"动态",component:()=>Promise.resolve().then(t.bind(t,104)).then((e=>e.default)),activeLink:"https://t.bilibili.com/?tab=video"},{name:f.L.Trending,displayName:h.Z.personalized?"推荐":"热门",component:()=>Promise.resolve().then(t.bind(t,666)).then((e=>e.default)),activeLink:"https://www.bilibili.com/v/popular/all"}],b=Vue.extend({components:{HomeRedesignBase:u,TabControl:r.TabControl},data:()=>({tabs:g,defaultTab:h.Z.defaultTab}),mounted(){const e="--minimal-home-column-count-override";(0,i.addComponentListener)("minimalHome.columnCount",(n=>{n>0?this.$el.style.setProperty(e,n.toString()):this.$el.style.removeProperty(e)}),!0)}});var C=t(824),v=t.n(C),y={insert:"head",singleton:!1};d()(v(),y);v().locals;const B=(0,A.A)(b,o,[],!1,null,null,null).exports},988:(e,n,t)=>{"use strict";t.d(n,{A:()=>c});var o=function(){var e=this,n=e._self._c;e._self._setupProxy;return n("div",{staticClass:"minimal-home-operations"},[n("VButton",{staticClass:"minimal-home-operations-refresh",attrs:{round:"",icon:"",title:"刷新"},on:{click:function(n){e.backToTop(),e.$emit("refresh")}}},[n("VIcon",{attrs:{icon:"mdi-refresh",size:e.size}})],1),e._v(" "),n("VButton",{staticClass:"minimal-home-operations-top",attrs:{round:"",icon:"",title:"返回顶部"},on:{click:e.backToTop}},[n("VIcon",{attrs:{icon:"mdi-arrow-up",size:e.size}})],1)],1)};o._withStripped=!0;var i=t(164);const r=Vue.extend({components:{VButton:i.VButton,VIcon:i.VIcon},data:()=>({size:28}),methods:{backToTop(){window.scrollTo(0,0)}}});var a=t(991),s=t.n(a),l=t(505),d=t.n(l),m={insert:"head",singleton:!1};s()(d(),m);d().locals;const c=(0,t(678).A)(r,o,[],!1,null,null,null).exports},104:(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>p});var o=function(){var e=this,n=e._self._c;e._self._setupProxy;return n("div",{staticClass:"minimal-home-tab",class:{loading:e.loading,loaded:e.loaded,error:e.error}},[n("div",{staticClass:"minimal-home-tab-cards"},e._l(e.cards,(function(e){return n("VideoCard",{key:e.id,attrs:{data:e}})})),1),e._v(" "),e.loading||0!==e.cards.length?e._e():n("VEmpty"),e._v(" "),e.error?e._e():n("ScrollTrigger",{ref:"scrollTrigger",attrs:{"detect-viewport":""},on:{trigger:e.loadCards}}),e._v(" "),e.cards.length>0?n("MinimalHomeOperations",{on:{refresh:e.refresh}}):e._e()],1)};o._withStripped=!0;var i=t(649),r=t(582),a=t.n(r),s=t(765),l=t(7),d=t(164),m=t(988);const c=Vue.extend({components:{ScrollTrigger:d.ScrollTrigger,VEmpty:d.VEmpty,VideoCard:a(),MinimalHomeOperations:m.A},data:()=>({loading:!0,cards:[],error:!1}),computed:{loaded(){return!this.loading&&!this.error},lastID(){if(!this.cards.length)return null;return[...this.cards].sort((0,l.ascendingStringSort)((e=>e.id)))[0].id}},methods:{async loadCards(){try{this.error=!1,this.loading=!0,this.$refs.scrollTrigger.setLoadState("loading"),this.cards=lodash.uniqBy([...this.cards,...await(0,i.getVideoFeeds)("video",this.lastID)],(e=>e.id))}catch(e){(0,s.logError)(e),this.error=!0,this.$refs.scrollTrigger.setLoadState("error")}finally{this.loading=!1,this.loaded&&this.$refs.scrollTrigger.setLoadState("loaded")}},async refresh(){this.cards=[],this.$refs.scrollTrigger.resetIsFirstLoad()}}});const p=(0,t(678).A)(c,o,[],!1,null,null,null).exports},666:(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>f});var o=function(){var e=this,n=e._self._c;e._self._setupProxy;return n("div",{staticClass:"minimal-home-tab",class:{loading:e.loading,loaded:e.loaded,error:e.error}},[n("div",{staticClass:"minimal-home-tab-cards"},e._l(e.cards,(function(e){return n("VideoCard",{key:e.id,attrs:{data:e}})})),1),e._v(" "),e.loading||0!==e.cards.length?e._e():n("VEmpty"),e._v(" "),e.loading&&0===e.cards.length?n("VLoading"):e._e(),e._v(" "),e.cards.length>0?n("MinimalHomeOperations",{on:{refresh:e.loadCards}}):e._e()],1)};o._withStripped=!0;var i=t(582),r=t.n(i),a=t(765),s=t(7),l=t(164),d=t(649);const m=coreApis.ajax;var c=t(847);const p=coreApis.utils.formatters;var A=t(988),u=t(550);const h=Vue.extend({components:{VLoading:l.VLoading,VEmpty:l.VEmpty,VideoCard:r(),MinimalHomeOperations:A.A},data:()=>({loading:!0,cards:[],error:!1}),computed:{loaded(){return!this.loading&&!this.error},lastID(){if(!this.cards.length)return null;return[...this.cards].sort((0,s.ascendingStringSort)((e=>e.id)))[0].id}},async mounted(){this.loadCards()},methods:{async loadCards(){try{this.cards=[],this.error=!1,this.loading=!0,this.cards=await(async e=>{const n=Boolean((0,c.getUID)())&&e,t=n?m.getJsonWithCredentials:m.getJson,{code:o,message:i,data:r}=await t("https://api.bilibili.com/x/web-interface/index/top/feed/rcmd");if(0!==o)throw new Error(`获取${n?"推荐":"热门"}视频失败: ${i}`);const a=r.item.map((e=>({id:e.id,aid:e.id,bvid:e.bvid,coverUrl:e.pic.replace("http:","https:"),title:e.title,description:"",dynamic:"",duration:e.duration,durationText:(0,p.formatDuration)(e.duration),timestamp:1e3*e.pubdate,time:new Date(1e3*e.pubdate),upName:e.owner.name,upID:e.owner.mid,upFaceUrl:e.owner.face.replace("http:","https:"),like:(0,p.formatCount)(e.stat.like),playCount:(0,p.formatCount)(e.stat.view),danmakuCount:(0,p.formatCount)(e.stat.danmaku)})));return(0,d.applyContentFilter)(a)})(u.Z.personalized)}catch(e){(0,a.logError)(e),this.error=!0}finally{this.loading=!1}}}});const f=(0,t(678).A)(h,o,[],!1,null,null,null).exports},678:(e,n,t)=>{"use strict";function o(e,n,t,o,i,r,a,s){var l,d="function"==typeof e?e.options:e;if(n&&(d.render=n,d.staticRenderFns=t,d._compiled=!0),o&&(d.functional=!0),r&&(d._scopeId="data-v-"+r),a?(l=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),i&&i.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(a)},d._ssrRegister=l):i&&(l=s?function(){i.call(this,(d.functional?this.parent:this).$root.$options.shadowRoot)}:i),l)if(d.functional){d._injectStyles=l;var m=d.render;d.render=function(e,n){return l.call(n),m(e,n)}}else{var c=d.beforeCreate;d.beforeCreate=c?[].concat(c,l):[l]}return{exports:e,options:d}}t.d(n,{A:()=>o})},613:e=>{function n(e){var n=new Error("Cannot find module '"+e+"'");throw n.code="MODULE_NOT_FOUND",n}n.keys=()=>[],n.resolve=n,n.id=613,e.exports=n},714:e=>{"use strict";e.exports="使用重新设计的极简首页替换原本的首页.\n\n请注意:\n- 此功能与 `清爽首页` 互斥, 请勿同时使用.\n- 此功能会禁用首页的[悬浮视频](https://github.com/the1812/Bilibili-Evolved/discussions/4404), 变为直接跳转到视频页面.\n\n选项说明:\n- 个性化推荐: 启用时展示推荐视频, 禁用时展示热门视频\n- 自定义列数: 为 `0` 时根据视图宽度推断, 大于 `0` 的值将作为固定的列数"},582:e=>{"use strict";e.exports=coreApis.componentApis.feeds.VideoCard},649:e=>{"use strict";e.exports=coreApis.componentApis.feeds.api},905:e=>{"use strict";e.exports=coreApis.settings},164:e=>{"use strict";e.exports=coreApis.ui},765:e=>{"use strict";e.exports=coreApis.utils.log},7:e=>{"use strict";e.exports=coreApis.utils.sort},847:e=>{"use strict";e.exports=coreApis.utils}},o={};function i(e){var n=o[e];if(void 0!==n)return n.exports;var r=o[e]={id:e,exports:{}};return t[e](r,r.exports,i),r.exports}i.n=e=>{var n=e&&e.__esModule?()=>e.default:()=>e;return i.d(n,{a:n}),n},n=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,i.t=function(t,o){if(1&o&&(t=this(t)),8&o)return t;if("object"==typeof t&&t){if(4&o&&t.__esModule)return t;if(16&o&&"function"==typeof t.then)return t}var r=Object.create(null);i.r(r);var a={};e=e||[null,n({}),n([]),n(n)];for(var s=2&o&&t;"object"==typeof s&&!~e.indexOf(s);s=n(s))Object.getOwnPropertyNames(s).forEach((e=>a[e]=()=>t[e]));return a.default=()=>t,i.d(r,a),r},i.d=(e,n)=>{for(var t in n)i.o(n,t)&&!i.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:n[t]})},i.o=(e,n)=>Object.prototype.hasOwnProperty.call(e,n),i.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.nc=void 0;var r={};return(()=>{"use strict";i.d(r,{component:()=>l});const e=coreApis.componentApis.define,n=coreApis.lifeCycle;var t=i(905),o=i(847);var a=i(809);const s=(0,e.defineOptionsMetadata)({personalized:{displayName:"个性化推荐",defaultValue:!1},columnCount:{displayName:"自定义列数",defaultValue:0,validator:(0,o.getNumberValidator)(0,10)},defaultTab:{displayName:"默认标签页",defaultValue:a.L.Feeds,dropdownEnum:a.L}}),l=(0,e.defineComponentMetadata)({name:"minimalHome",displayName:"极简首页",urlInclude:[/^https:\/\/www\.bilibili\.com\/$/,/^https:\/\/www\.bilibili\.com\/index\.html$/],tags:[componentsTags.style],entry:()=>{(0,t.addComponentListener)("minimalHome.columnCount",(e=>{document.documentElement.style.setProperty("--home-column-count-override",e.toString())}),!0),(0,n.contentLoaded)((async()=>{const e=await Promise.resolve().then(i.bind(i,295)),n=(0,o.mountVueComponent)(e);document.body.appendChild(n.$el)}))},options:s,unload:()=>document.body.classList.add("home-redesign-off"),reload:()=>document.body.classList.remove("home-redesign-off"),instantStyles:[{name:"minimal-home-hide-original",style:()=>Promise.resolve().then(i.t.bind(i,173,23))}],commitHash:"58c0b438ca2371e397f70466a91572cb2757b142",coreVersion:"2.10.7",description:(()=>{const e=i(613);return{...Object.fromEntries(e.keys().map((n=>[n.match(/index\.(.+)\.md$/)[1],e(n)]))),"zh-CN":()=>Promise.resolve().then(i.t.bind(i,714,17)).then((e=>e.default))}})()})})(),r=r.component})())); +o=Boolean(window&&document&&document.all&&!window.atob)),o},r=function(){var e={};return function(n){if(void 0===e[n]){var t=document.querySelector(n);if(window.HTMLIFrameElement&&t instanceof window.HTMLIFrameElement)try{t=t.contentDocument.head}catch(e){t=null}e[n]=t}return e[n]}}(),a=[];function s(e){for(var n=-1,t=0;t{var o=t(875);o&&o.__esModule&&(o=o.default),e.exports="string"==typeof o?o:o.toString()},295:(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>B});var o=function(){var e=this,n=e._self._c;e._self._setupProxy;return n("HomeRedesignBase",[n("div",{staticClass:"minimal-home"},[n("TabControl",{staticClass:"minimal-home-tabs",attrs:{"default-tab":e.defaultTab,tabs:e.tabs}})],1)])};o._withStripped=!0;var i=t(905),r=t(164),a=function(){var e=this,n=e._self._c;e._self._setupProxy;return n("div",{staticClass:"home-redesign-base"},[e._t("default")],2)};a._withStripped=!0;const s=(0,globalThis.Vue.defineComponent)({__name:"HomeRedesignBase",setup(e){const n=new URLSearchParams(location.search);if(n.has("bvid")){const e=new URLSearchParams([...n.entries()].filter((e=>{let[n]=e;return"bvid"!==n})));location.replace(`/video/${n.get("bvid")}/${e.size>0?`?${e.toString()}`:""}`)}return{__sfc:!0,params:n}}});var l=t(991),d=t.n(l),m=t(388),c=t.n(m),p={insert:"head",singleton:!1};d()(c(),p);c().locals;var A=t(678);const u=(0,A.A)(s,a,[],!1,null,null,null).exports;var h=t(550),f=t(809);const g=[{name:f.L.Feeds,displayName:"动态",component:()=>Promise.resolve().then(t.bind(t,104)).then((e=>e.default)),activeLink:"https://t.bilibili.com/?tab=video"},{name:f.L.Trending,displayName:h.Z.personalized?"推荐":"热门",component:()=>Promise.resolve().then(t.bind(t,666)).then((e=>e.default)),activeLink:"https://www.bilibili.com/v/popular/all"}],b=Vue.extend({components:{HomeRedesignBase:u,TabControl:r.TabControl},data:()=>({tabs:g,defaultTab:h.Z.defaultTab}),mounted(){const e="--minimal-home-column-count-override";(0,i.addComponentListener)("minimalHome.columnCount",(n=>{n>0?this.$el.style.setProperty(e,n.toString()):this.$el.style.removeProperty(e)}),!0)}});var C=t(824),v=t.n(C),y={insert:"head",singleton:!1};d()(v(),y);v().locals;const B=(0,A.A)(b,o,[],!1,null,null,null).exports},988:(e,n,t)=>{"use strict";t.d(n,{A:()=>c});var o=function(){var e=this,n=e._self._c;e._self._setupProxy;return n("div",{staticClass:"minimal-home-operations"},[n("VButton",{staticClass:"minimal-home-operations-refresh",attrs:{round:"",icon:"",title:"刷新"},on:{click:function(n){e.backToTop(),e.$emit("refresh")}}},[n("VIcon",{attrs:{icon:"mdi-refresh",size:e.size}})],1),e._v(" "),n("VButton",{staticClass:"minimal-home-operations-top",attrs:{round:"",icon:"",title:"返回顶部"},on:{click:e.backToTop}},[n("VIcon",{attrs:{icon:"mdi-arrow-up",size:e.size}})],1)],1)};o._withStripped=!0;var i=t(164);const r=Vue.extend({components:{VButton:i.VButton,VIcon:i.VIcon},data:()=>({size:28}),methods:{backToTop(){window.scrollTo(0,0)}}});var a=t(991),s=t.n(a),l=t(505),d=t.n(l),m={insert:"head",singleton:!1};s()(d(),m);d().locals;const c=(0,t(678).A)(r,o,[],!1,null,null,null).exports},104:(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>p});var o=function(){var e=this,n=e._self._c;e._self._setupProxy;return n("div",{staticClass:"minimal-home-tab",class:{loading:e.loading,loaded:e.loaded,error:e.error}},[n("div",{staticClass:"minimal-home-tab-cards"},e._l(e.cards,(function(e){return n("VideoCard",{key:e.id,attrs:{data:e}})})),1),e._v(" "),e.loading||0!==e.cards.length?e._e():n("VEmpty"),e._v(" "),e.error?e._e():n("ScrollTrigger",{ref:"scrollTrigger",attrs:{"detect-viewport":""},on:{trigger:e.loadCards}}),e._v(" "),e.cards.length>0?n("MinimalHomeOperations",{on:{refresh:e.refresh}}):e._e()],1)};o._withStripped=!0;var i=t(649),r=t(582),a=t.n(r),s=t(765),l=t(7),d=t(164),m=t(988);const c=Vue.extend({components:{ScrollTrigger:d.ScrollTrigger,VEmpty:d.VEmpty,VideoCard:a(),MinimalHomeOperations:m.A},data:()=>({loading:!0,cards:[],error:!1}),computed:{loaded(){return!this.loading&&!this.error},lastID(){if(!this.cards.length)return null;return[...this.cards].sort((0,l.ascendingStringSort)((e=>e.id)))[0].id}},methods:{async loadCards(){try{this.error=!1,this.loading=!0,this.$refs.scrollTrigger.setLoadState("loading"),this.cards=lodash.uniqBy([...this.cards,...await(0,i.getVideoFeeds)("video",this.lastID)],(e=>e.id))}catch(e){(0,s.logError)(e),this.error=!0,this.$refs.scrollTrigger.setLoadState("error")}finally{this.loading=!1,this.loaded&&this.$refs.scrollTrigger.setLoadState("loaded")}},async refresh(){this.cards=[],this.$refs.scrollTrigger.resetIsFirstLoad()}}});const p=(0,t(678).A)(c,o,[],!1,null,null,null).exports},666:(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>f});var o=function(){var e=this,n=e._self._c;e._self._setupProxy;return n("div",{staticClass:"minimal-home-tab",class:{loading:e.loading,loaded:e.loaded,error:e.error}},[n("div",{staticClass:"minimal-home-tab-cards"},e._l(e.cards,(function(e){return n("VideoCard",{key:e.id,attrs:{data:e}})})),1),e._v(" "),e.loading||0!==e.cards.length?e._e():n("VEmpty"),e._v(" "),e.loading&&0===e.cards.length?n("VLoading"):e._e(),e._v(" "),e.cards.length>0?n("MinimalHomeOperations",{on:{refresh:e.loadCards}}):e._e()],1)};o._withStripped=!0;var i=t(582),r=t.n(i),a=t(765),s=t(7),l=t(164),d=t(649);const m=coreApis.ajax;var c=t(847);const p=coreApis.utils.formatters;var A=t(988),u=t(550);const h=Vue.extend({components:{VLoading:l.VLoading,VEmpty:l.VEmpty,VideoCard:r(),MinimalHomeOperations:A.A},data:()=>({loading:!0,cards:[],error:!1}),computed:{loaded(){return!this.loading&&!this.error},lastID(){if(!this.cards.length)return null;return[...this.cards].sort((0,s.ascendingStringSort)((e=>e.id)))[0].id}},async mounted(){this.loadCards()},methods:{async loadCards(){try{this.cards=[],this.error=!1,this.loading=!0,this.cards=await(async e=>{const n=Boolean((0,c.getUID)())&&e,t=n?m.getJsonWithCredentials:m.getJson,{code:o,message:i,data:r}=await t("https://api.bilibili.com/x/web-interface/index/top/feed/rcmd");if(0!==o)throw new Error(`获取${n?"推荐":"热门"}视频失败: ${i}`);const a=r.item.map((e=>({id:e.id,aid:e.id,bvid:e.bvid,coverUrl:e.pic.replace("http:","https:"),title:e.title,description:"",dynamic:"",duration:e.duration,durationText:(0,p.formatDuration)(e.duration),timestamp:1e3*e.pubdate,time:new Date(1e3*e.pubdate),upName:e.owner.name,upID:e.owner.mid,upFaceUrl:e.owner.face.replace("http:","https:"),like:(0,p.formatCount)(e.stat.like),playCount:(0,p.formatCount)(e.stat.view),danmakuCount:(0,p.formatCount)(e.stat.danmaku)})));return(0,d.applyContentFilter)(a)})(u.Z.personalized)}catch(e){(0,a.logError)(e),this.error=!0}finally{this.loading=!1}}}});const f=(0,t(678).A)(h,o,[],!1,null,null,null).exports},678:(e,n,t)=>{"use strict";function o(e,n,t,o,i,r,a,s){var l,d="function"==typeof e?e.options:e;if(n&&(d.render=n,d.staticRenderFns=t,d._compiled=!0),o&&(d.functional=!0),r&&(d._scopeId="data-v-"+r),a?(l=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),i&&i.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(a)},d._ssrRegister=l):i&&(l=s?function(){i.call(this,(d.functional?this.parent:this).$root.$options.shadowRoot)}:i),l)if(d.functional){d._injectStyles=l;var m=d.render;d.render=function(e,n){return l.call(n),m(e,n)}}else{var c=d.beforeCreate;d.beforeCreate=c?[].concat(c,l):[l]}return{exports:e,options:d}}t.d(n,{A:()=>o})},613:e=>{function n(e){var n=new Error("Cannot find module '"+e+"'");throw n.code="MODULE_NOT_FOUND",n}n.keys=()=>[],n.resolve=n,n.id=613,e.exports=n},714:e=>{"use strict";e.exports="使用重新设计的极简首页替换原本的首页.\n\n请注意:\n- 此功能与 `清爽首页` 互斥, 请勿同时使用.\n- 此功能会禁用首页的[悬浮视频](https://github.com/the1812/Bilibili-Evolved/discussions/4404), 变为直接跳转到视频页面.\n\n选项说明:\n- 个性化推荐: 启用时展示推荐视频, 禁用时展示热门视频\n- 自定义列数: 为 `0` 时根据视图宽度推断, 大于 `0` 的值将作为固定的列数"},582:e=>{"use strict";e.exports=coreApis.componentApis.feeds.VideoCard},649:e=>{"use strict";e.exports=coreApis.componentApis.feeds.api},905:e=>{"use strict";e.exports=coreApis.settings},164:e=>{"use strict";e.exports=coreApis.ui},765:e=>{"use strict";e.exports=coreApis.utils.log},7:e=>{"use strict";e.exports=coreApis.utils.sort},847:e=>{"use strict";e.exports=coreApis.utils}},o={};function i(e){var n=o[e];if(void 0!==n)return n.exports;var r=o[e]={id:e,exports:{}};return t[e](r,r.exports,i),r.exports}i.n=e=>{var n=e&&e.__esModule?()=>e.default:()=>e;return i.d(n,{a:n}),n},n=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,i.t=function(t,o){if(1&o&&(t=this(t)),8&o)return t;if("object"==typeof t&&t){if(4&o&&t.__esModule)return t;if(16&o&&"function"==typeof t.then)return t}var r=Object.create(null);i.r(r);var a={};e=e||[null,n({}),n([]),n(n)];for(var s=2&o&&t;"object"==typeof s&&!~e.indexOf(s);s=n(s))Object.getOwnPropertyNames(s).forEach((e=>a[e]=()=>t[e]));return a.default=()=>t,i.d(r,a),r},i.d=(e,n)=>{for(var t in n)i.o(n,t)&&!i.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:n[t]})},i.o=(e,n)=>Object.prototype.hasOwnProperty.call(e,n),i.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.nc=void 0;var r={};return(()=>{"use strict";i.d(r,{component:()=>l});const e=coreApis.componentApis.define,n=coreApis.lifeCycle;var t=i(905),o=i(847);var a=i(809);const s=(0,e.defineOptionsMetadata)({personalized:{displayName:"个性化推荐",defaultValue:!1},columnCount:{displayName:"自定义列数",defaultValue:0,validator:(0,o.getNumberValidator)(0,10)},defaultTab:{displayName:"默认标签页",defaultValue:a.L.Feeds,dropdownEnum:a.L}}),l=(0,e.defineComponentMetadata)({name:"minimalHome",displayName:"极简首页",urlInclude:[/^https:\/\/www\.bilibili\.com\/$/,/^https:\/\/www\.bilibili\.com\/index\.html$/],tags:[componentsTags.style],entry:()=>{(0,t.addComponentListener)("minimalHome.columnCount",(e=>{document.documentElement.style.setProperty("--home-column-count-override",e.toString())}),!0),(0,n.contentLoaded)((async()=>{const e=await Promise.resolve().then(i.bind(i,295)),n=(0,o.mountVueComponent)(e);document.body.appendChild(n.$el)}))},options:s,unload:()=>document.body.classList.add("home-redesign-off"),reload:()=>document.body.classList.remove("home-redesign-off"),instantStyles:[{name:"minimal-home-hide-original",style:()=>Promise.resolve().then(i.t.bind(i,173,23))}],commitHash:"d87d69cfb9d7e0124bd90a06fec4569bd61e02c5",coreVersion:"2.10.7",description:(()=>{const e=i(613);return{...Object.fromEntries(e.keys().map((n=>[n.match(/index\.(.+)\.md$/)[1],e(n)]))),"zh-CN":()=>Promise.resolve().then(i.t.bind(i,714,17)).then((e=>e.default))}})()})})(),r=r.component})())); //# sourceMappingURL=https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/registry/dist/components/style/home-redesign/minimal.js.map \ No newline at end of file diff --git a/bb-evolved/registry/dist/components/style/player-on-top-new.js b/bb-evolved/registry/dist/components/style/player-on-top-new.js index 06806b5acb..c9978a4c82 100644 --- a/bb-evolved/registry/dist/components/style/player-on-top-new.js +++ b/bb-evolved/registry/dist/components/style/player-on-top-new.js @@ -1,2 +1,2 @@ -!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["style/player-on-top-new"]=t():e["style/player-on-top-new"]=t()}(globalThis,(()=>(()=>{"use strict";var e={d:(t,n)=>{for(var o in n)e.o(n,o)&&!e.o(t,o)&&Object.defineProperty(t,o,{enumerable:!0,get:n[o]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t)},t={};e.d(t,{component:()=>s});const n=coreApis.componentApis.define,o=coreApis.settings,i=coreApis.utils,r=coreApis.utils.urls;function a(){const e=window.innerHeight,t=Math.max(document.body&&document.body.clientWidth||window.innerWidth,1100),n=innerWidth>1680?411:350,o=parseInt(String(16*(e-(window.innerWidth>1690?318:308))/9)),i=t-112-n,r=i1680?56:46)}px`}async function p(e){let{settings:{options:t},metadata:n}=e;await(0,i.playerReady)();const r=document.querySelector("#viewbox_report"),p=document.querySelector("#playerWrap");!function(e,t){const n=e.parentElement;n&&(n.removeChild(e),n.insertBefore(e,t.nextSibling))}(r,p),p.style.marginTop=`${t.marginTop}px`,(0,o.addComponentListener)(`${n.name}.marginTop`,(e=>{p.style.marginTop=`${e}px`})),function(){const e=document.querySelector(".up-panel-container"),t=document.querySelector("#danmukuBox");let n="normal";window.addEventListener("playerModeChange",(o=>{const{mode:i}=o.detail;"mini"!==i&&(n=i),"wide"===n?(t.style.marginTop="0px",e.style.marginTop=a()):e.style.marginTop="0px"})),window.addEventListener("resize",(()=>{"wide"===n&&(e.style.marginTop=a())}))}()}const s=(0,n.defineComponentMetadata)({name:"playerOnTopNew",author:[{name:"RieN7",link:"https://github.com/rien7"},{name:"ZiuChen",link:"https://github.com/ZiuChen"},{name:"LockRim",link:"https://github.com/LockRim"}],tags:[componentsTags.style,componentsTags.video],options:{marginTop:{displayName:"顶部留白 (px)",defaultValue:20,validator:(0,i.getNumberValidator)(0,1/0)}},urlInclude:r.videoUrls,displayName:"播放器置顶(新)",description:"原来的播放器置顶插件,现在已经不可用了,这是一个新的版本,可以在视频页面中将播放器放在页面最上方.",entry:p,reload:()=>p({settings:(0,o.getComponentSettings)("playerOnTopNew"),metadata:s}),commitHash:"58c0b438ca2371e397f70466a91572cb2757b142",coreVersion:"2.10.7"});return t=t.component})())); +!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["style/player-on-top-new"]=t():e["style/player-on-top-new"]=t()}(globalThis,(()=>(()=>{"use strict";var e={d:(t,n)=>{for(var o in n)e.o(n,o)&&!e.o(t,o)&&Object.defineProperty(t,o,{enumerable:!0,get:n[o]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t)},t={};e.d(t,{component:()=>d});const n=coreApis.componentApis.define,o=coreApis.settings,i=coreApis.utils,r=coreApis.utils.urls;function a(){const e=window.innerHeight,t=Math.max(document.body&&document.body.clientWidth||window.innerWidth,1100),n=innerWidth>1680?411:350,o=parseInt(String(16*(e-(window.innerWidth>1690?318:308))/9)),i=t-112-n,r=i1680?56:46)}px`}async function p(e){let{settings:{options:t},metadata:n}=e;await(0,i.playerReady)();const r=document.querySelector("#viewbox_report"),p=document.querySelector("#playerWrap");!function(e,t){const n=e.parentElement;n&&(n.removeChild(e),n.insertBefore(e,t.nextSibling))}(r,p),p.style.marginTop=`${t.marginTop}px`,(0,o.addComponentListener)(`${n.name}.marginTop`,(e=>{p.style.marginTop=`${e}px`})),function(){const e=document.querySelector(".up-panel-container"),t=document.querySelector("#danmukuBox");let n="normal";window.addEventListener("playerModeChange",(o=>{const{mode:i}=o.detail;"mini"!==i&&(n=i),"wide"===n?(t.style.marginTop="0px",e.style.marginTop=a()):e.style.marginTop="0px"})),window.addEventListener("resize",(()=>{"wide"===n&&(e.style.marginTop=a())}))}()}const d=(0,n.defineComponentMetadata)({name:"playerOnTopNew",author:[{name:"RieN7",link:"https://github.com/rien7"},{name:"ZiuChen",link:"https://github.com/ZiuChen"},{name:"LockRim",link:"https://github.com/LockRim"}],tags:[componentsTags.style,componentsTags.video],options:{marginTop:{displayName:"顶部留白 (px)",defaultValue:20,validator:(0,i.getNumberValidator)(0,1/0)}},urlInclude:r.videoUrls,displayName:"播放器置顶(新)",description:"原来的播放器置顶插件,现在已经不可用了,这是一个新的版本,可以在视频页面中将播放器放在页面最上方.",entry:p,reload:()=>p({settings:(0,o.getComponentSettings)("playerOnTopNew"),metadata:d}),commitHash:"d87d69cfb9d7e0124bd90a06fec4569bd61e02c5",coreVersion:"2.10.7"});return t=t.component})())); //# sourceMappingURL=https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/registry/dist/components/style/player-on-top-new.js.map \ No newline at end of file diff --git a/bb-evolved/registry/dist/components/style/player-on-top.js b/bb-evolved/registry/dist/components/style/player-on-top.js index 13fe5e86b9..d70a7971ad 100644 --- a/bb-evolved/registry/dist/components/style/player-on-top.js +++ b/bb-evolved/registry/dist/components/style/player-on-top.js @@ -1,12 +1,12 @@ -!function(n,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["style/player-on-top"]=t():n["style/player-on-top"]=t()}(globalThis,(()=>(()=>{var n,t,o={501:(n,t,o)=>{var e=o(904),r=o(955)(e);r.push([n.id,".v-wrap .l-con,\n.v-wrap .r-con {\n display: flex;\n flex-direction: column;\n margin-top: 24px;\n}\n.v-wrap .l-con .player-wrap {\n order: -1;\n}\n.v-wrap .l-con .video-info {\n margin: 20px 0 0 0 !important;\n padding: 0 !important;\n height: auto !important;\n}\n.v-wrap .l-con .video-info .video-data .argue,\n.v-wrap .l-con .video-info .video-data .copyright {\n overflow: hidden;\n text-overflow: ellipsis;\n}\n.v-wrap .r-con .danmaku-box {\n order: -1;\n}\n.v-wrap .r-con .up-info {\n padding-top: 0 !important;\n}","",{version:3,sources:["webpack://./registry/lib/components/style/player-on-top/player-on-top.scss"],names:[],mappings:"AAAA;;EAEE,aAAa;EACb,sBAAsB;EACtB,gBAAgB;AAClB;AACA;EACE,SAAS;AACX;AACA;EACE,6BAA6B;EAC7B,qBAAqB;EACrB,uBAAuB;AACzB;AACA;;EAEE,gBAAgB;EAChB,uBAAuB;AACzB;AACA;EACE,SAAS;AACX;AACA;EACE,yBAAyB;AAC3B",sourcesContent:[".v-wrap .l-con,\n.v-wrap .r-con {\n display: flex;\n flex-direction: column;\n margin-top: 24px;\n}\n.v-wrap .l-con .player-wrap {\n order: -1;\n}\n.v-wrap .l-con .video-info {\n margin: 20px 0 0 0 !important;\n padding: 0 !important;\n height: auto !important;\n}\n.v-wrap .l-con .video-info .video-data .argue,\n.v-wrap .l-con .video-info .video-data .copyright {\n overflow: hidden;\n text-overflow: ellipsis;\n}\n.v-wrap .r-con .danmaku-box {\n order: -1;\n}\n.v-wrap .r-con .up-info {\n padding-top: 0 !important;\n}"],sourceRoot:""}]),n.exports=r},955:n=>{"use strict"; +!function(n,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["style/player-on-top"]=t():n["style/player-on-top"]=t()}(globalThis,(()=>(()=>{var n,t,e={501:(n,t,e)=>{var o=e(904),r=e(955)(o);r.push([n.id,".v-wrap .l-con,\n.v-wrap .r-con {\n display: flex;\n flex-direction: column;\n margin-top: 24px;\n}\n.v-wrap .l-con .player-wrap {\n order: -1;\n}\n.v-wrap .l-con .video-info {\n margin: 20px 0 0 0 !important;\n padding: 0 !important;\n height: auto !important;\n}\n.v-wrap .l-con .video-info .video-data .argue,\n.v-wrap .l-con .video-info .video-data .copyright {\n overflow: hidden;\n text-overflow: ellipsis;\n}\n.v-wrap .r-con .danmaku-box {\n order: -1;\n}\n.v-wrap .r-con .up-info {\n padding-top: 0 !important;\n}","",{version:3,sources:["webpack://./registry/lib/components/style/player-on-top/player-on-top.scss"],names:[],mappings:"AAAA;;EAEE,aAAa;EACb,sBAAsB;EACtB,gBAAgB;AAClB;AACA;EACE,SAAS;AACX;AACA;EACE,6BAA6B;EAC7B,qBAAqB;EACrB,uBAAuB;AACzB;AACA;;EAEE,gBAAgB;EAChB,uBAAuB;AACzB;AACA;EACE,SAAS;AACX;AACA;EACE,yBAAyB;AAC3B",sourcesContent:[".v-wrap .l-con,\n.v-wrap .r-con {\n display: flex;\n flex-direction: column;\n margin-top: 24px;\n}\n.v-wrap .l-con .player-wrap {\n order: -1;\n}\n.v-wrap .l-con .video-info {\n margin: 20px 0 0 0 !important;\n padding: 0 !important;\n height: auto !important;\n}\n.v-wrap .l-con .video-info .video-data .argue,\n.v-wrap .l-con .video-info .video-data .copyright {\n overflow: hidden;\n text-overflow: ellipsis;\n}\n.v-wrap .r-con .danmaku-box {\n order: -1;\n}\n.v-wrap .r-con .up-info {\n padding-top: 0 !important;\n}"],sourceRoot:""}]),n.exports=r},955:n=>{"use strict"; // eslint-disable-next-line func-names -n.exports=function(n){var t=[];return t.toString=function(){return this.map((function(t){var o=n(t);return t[2]?"@media ".concat(t[2]," {").concat(o,"}"):o})).join("")}, +n.exports=function(n){var t=[];return t.toString=function(){return this.map((function(t){var e=n(t);return t[2]?"@media ".concat(t[2]," {").concat(e,"}"):e})).join("")}, // eslint-disable-next-line func-names -t.i=function(n,o,e){"string"==typeof n&&( +t.i=function(n,e,o){"string"==typeof n&&( // eslint-disable-next-line no-param-reassign -n=[[null,n,""]]);var r={};if(e)for(var a=0;a{"use strict";function t(n,t){return function(n){if(Array.isArray(n))return n}(n)||function(n,t){var o=n&&("undefined"!=typeof Symbol&&n[Symbol.iterator]||n["@@iterator"]);if(null==o)return;var e,r,a=[],i=!0,p=!1;try{for(o=o.call(n);!(i=(e=o.next()).done)&&(a.push(e.value),!t||a.length!==t);i=!0);}catch(n){p=!0,r=n}finally{try{i||null==o.return||o.return()}finally{if(p)throw r}}return a}(n,t)||function(n,t){if(!n)return;if("string"==typeof n)return o(n,t);var e=Object.prototype.toString.call(n).slice(8,-1);"Object"===e&&n.constructor&&(e=n.constructor.name);if("Map"===e||"Set"===e)return Array.from(n);if("Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e))return o(n,t)}(n,t)||function(){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 o(n,t){(null==t||t>n.length)&&(t=n.length);for(var o=0,e=new Array(t);o{"use strict";function t(n,t){return function(n){if(Array.isArray(n))return n}(n)||function(n,t){var e=n&&("undefined"!=typeof Symbol&&n[Symbol.iterator]||n["@@iterator"]);if(null==e)return;var o,r,a=[],i=!0,p=!1;try{for(e=e.call(n);!(i=(o=e.next()).done)&&(a.push(o.value),!t||a.length!==t);i=!0);}catch(n){p=!0,r=n}finally{try{i||null==e.return||e.return()}finally{if(p)throw r}}return a}(n,t)||function(n,t){if(!n)return;if("string"==typeof n)return e(n,t);var o=Object.prototype.toString.call(n).slice(8,-1);"Object"===o&&n.constructor&&(o=n.constructor.name);if("Map"===o||"Set"===o)return Array.from(n);if("Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o))return e(n,t)}(n,t)||function(){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 e(n,t){(null==t||t>n.length)&&(t=n.length);for(var e=0,o=new Array(t);e{var e=o(501);e&&e.__esModule&&(e=e.default),n.exports="string"==typeof e?e:e.toString()}},e={};function r(n){var t=e[n];if(void 0!==t)return t.exports;var a=e[n]={id:n,exports:{}};return o[n](a,a.exports,r),a.exports}t=Object.getPrototypeOf?n=>Object.getPrototypeOf(n):n=>n.__proto__,r.t=function(o,e){if(1&e&&(o=this(o)),8&e)return o;if("object"==typeof o&&o){if(4&e&&o.__esModule)return o;if(16&e&&"function"==typeof o.then)return o}var a=Object.create(null);r.r(a);var i={};n=n||[null,t({}),t([]),t(t)];for(var p=2&e&&o;"object"==typeof p&&!~n.indexOf(p);p=t(p))Object.getOwnPropertyNames(p).forEach((n=>i[n]=()=>o[n]));return i.default=()=>o,r.d(a,i),a},r.d=(n,t)=>{for(var o in t)r.o(t,o)&&!r.o(n,o)&&Object.defineProperty(n,o,{enumerable:!0,get:t[o]})},r.o=(n,t)=>Object.prototype.hasOwnProperty.call(n,t),r.r=n=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(n,"__esModule",{value:!0})};var a={};return(()=>{"use strict";r.d(a,{component:()=>n});const n=(0,coreApis.componentApis.define.defineComponentMetadata)({name:"playerOnTop",displayName:"播放器置顶",description:{"zh-CN":"在视频页面中将播放器放在页面最上方."},instantStyles:[{name:"playerOnTop",style:()=>Promise.resolve().then(r.t.bind(r,299,23))}],tags:[componentsTags.style,componentsTags.video],entry:none,commitHash:"58c0b438ca2371e397f70466a91572cb2757b142",coreVersion:"2.10.7"})})(),a=a.component})())); +var a=btoa(unescape(encodeURIComponent(JSON.stringify(r)))),i="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(a),p="/*# ".concat(i," */"),c=r.sources.map((function(n){return"/*# sourceURL=".concat(r.sourceRoot||"").concat(n," */")}));return[o].concat(c).concat([p]).join("\n")}return[o].join("\n")}},299:(n,t,e)=>{var o=e(501);o&&o.__esModule&&(o=o.default),n.exports="string"==typeof o?o:o.toString()}},o={};function r(n){var t=o[n];if(void 0!==t)return t.exports;var a=o[n]={id:n,exports:{}};return e[n](a,a.exports,r),a.exports}t=Object.getPrototypeOf?n=>Object.getPrototypeOf(n):n=>n.__proto__,r.t=function(e,o){if(1&o&&(e=this(e)),8&o)return e;if("object"==typeof e&&e){if(4&o&&e.__esModule)return e;if(16&o&&"function"==typeof e.then)return e}var a=Object.create(null);r.r(a);var i={};n=n||[null,t({}),t([]),t(t)];for(var p=2&o&&e;"object"==typeof p&&!~n.indexOf(p);p=t(p))Object.getOwnPropertyNames(p).forEach((n=>i[n]=()=>e[n]));return i.default=()=>e,r.d(a,i),a},r.d=(n,t)=>{for(var e in t)r.o(t,e)&&!r.o(n,e)&&Object.defineProperty(n,e,{enumerable:!0,get:t[e]})},r.o=(n,t)=>Object.prototype.hasOwnProperty.call(n,t),r.r=n=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(n,"__esModule",{value:!0})};var a={};return(()=>{"use strict";r.d(a,{component:()=>n});const n=(0,coreApis.componentApis.define.defineComponentMetadata)({name:"playerOnTop",displayName:"播放器置顶",description:{"zh-CN":"在视频页面中将播放器放在页面最上方."},instantStyles:[{name:"playerOnTop",style:()=>Promise.resolve().then(r.t.bind(r,299,23))}],tags:[componentsTags.style,componentsTags.video],entry:none,commitHash:"d87d69cfb9d7e0124bd90a06fec4569bd61e02c5",coreVersion:"2.10.7"})})(),a=a.component})())); //# sourceMappingURL=https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/registry/dist/components/style/player-on-top.js.map \ No newline at end of file diff --git a/bb-evolved/registry/dist/components/style/player-shadow.js b/bb-evolved/registry/dist/components/style/player-shadow.js index dbf3889ef7..34b570640e 100644 --- a/bb-evolved/registry/dist/components/style/player-shadow.js +++ b/bb-evolved/registry/dist/components/style/player-shadow.js @@ -8,5 +8,5 @@ e=[[null,e,""]]);var o={};if(n)for(var i=0;i{"use strict";function t(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=e&&("undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]);if(null==r)return;var n,o,i=[],a=!0,l=!1;try{for(r=r.call(e);!(a=(n=r.next()).done)&&(i.push(n.value),!t||i.length!==t);a=!0);}catch(e){l=!0,o=e}finally{try{a||null==r.return||r.return()}finally{if(l)throw o}}return i}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return r(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return r(e,t)}(e,t)||function(){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 r(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r{var n=r(577);n&&n.__esModule&&(n=n.default),e.exports="string"==typeof n?n:n.toString()}},n={};function o(e){var t=n[e];if(void 0!==t)return t.exports;var i=n[e]={id:e,exports:{}};return r[e](i,i.exports,o),i.exports}t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,o.t=function(r,n){if(1&n&&(r=this(r)),8&n)return r;if("object"==typeof r&&r){if(4&n&&r.__esModule)return r;if(16&n&&"function"==typeof r.then)return r}var i=Object.create(null);o.r(i);var a={};e=e||[null,t({}),t([]),t(t)];for(var l=2&n&&r;"object"==typeof l&&!~e.indexOf(l);l=t(l))Object.getOwnPropertyNames(l).forEach((e=>a[e]=()=>r[e]));return a.default=()=>r,o.d(i,a),i},o.d=(e,t)=>{for(var r in t)o.o(t,r)&&!o.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var i={};return(()=>{"use strict";o.d(i,{component:()=>r});const e=coreApis.componentApis.define,t=coreApis.utils.urls,r=(0,e.defineComponentMetadata)({name:"playerShadow",displayName:"播放器投影",entry:none,instantStyles:[{name:"playerShadow",style:()=>Promise.resolve().then(o.t.bind(o,123,23))}],tags:[componentsTags.style,componentsTags.video],description:{"zh-CN":"为播放器添加主题色投影."},urlInclude:t.allVideoUrls,commitHash:"58c0b438ca2371e397f70466a91572cb2757b142",coreVersion:"2.10.7"})})(),i=i.component})())); +var i=btoa(unescape(encodeURIComponent(JSON.stringify(o)))),a="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(i),l="/*# ".concat(a," */"),p=o.sources.map((function(e){return"/*# sourceURL=".concat(o.sourceRoot||"").concat(e," */")}));return[n].concat(p).concat([l]).join("\n")}return[n].join("\n")}},123:(e,t,r)=>{var n=r(577);n&&n.__esModule&&(n=n.default),e.exports="string"==typeof n?n:n.toString()}},n={};function o(e){var t=n[e];if(void 0!==t)return t.exports;var i=n[e]={id:e,exports:{}};return r[e](i,i.exports,o),i.exports}t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,o.t=function(r,n){if(1&n&&(r=this(r)),8&n)return r;if("object"==typeof r&&r){if(4&n&&r.__esModule)return r;if(16&n&&"function"==typeof r.then)return r}var i=Object.create(null);o.r(i);var a={};e=e||[null,t({}),t([]),t(t)];for(var l=2&n&&r;"object"==typeof l&&!~e.indexOf(l);l=t(l))Object.getOwnPropertyNames(l).forEach((e=>a[e]=()=>r[e]));return a.default=()=>r,o.d(i,a),i},o.d=(e,t)=>{for(var r in t)o.o(t,r)&&!o.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var i={};return(()=>{"use strict";o.d(i,{component:()=>r});const e=coreApis.componentApis.define,t=coreApis.utils.urls,r=(0,e.defineComponentMetadata)({name:"playerShadow",displayName:"播放器投影",entry:none,instantStyles:[{name:"playerShadow",style:()=>Promise.resolve().then(o.t.bind(o,123,23))}],tags:[componentsTags.style,componentsTags.video],description:{"zh-CN":"为播放器添加主题色投影."},urlInclude:t.allVideoUrls,commitHash:"d87d69cfb9d7e0124bd90a06fec4569bd61e02c5",coreVersion:"2.10.7"})})(),i=i.component})())); //# sourceMappingURL=https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/registry/dist/components/style/player-shadow.js.map \ No newline at end of file diff --git a/bb-evolved/registry/dist/components/style/replace-cover.js b/bb-evolved/registry/dist/components/style/replace-cover.js index 777c9ee564..a0e6957672 100644 --- a/bb-evolved/registry/dist/components/style/replace-cover.js +++ b/bb-evolved/registry/dist/components/style/replace-cover.js @@ -8,5 +8,5 @@ e=[[null,e,""]]);var o={};if(n)for(var i=0;i{"use strict";function t(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=e&&("undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]);if(null==r)return;var n,o,i=[],a=!0,c=!1;try{for(r=r.call(e);!(a=(n=r.next()).done)&&(i.push(n.value),!t||i.length!==t);a=!0);}catch(e){c=!0,o=e}finally{try{a||null==r.return||r.return()}finally{if(c)throw o}}return i}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return r(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return r(e,t)}(e,t)||function(){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 r(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r{var n=r(453).Symbol;e.exports=n},624:(e,t,r)=>{var n=r(73),o=r(915),i=r(478),a=n?n.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":a&&a in Object(e)?o(e):i(e)}},480:(e,t,r)=>{var n=r(976),o=/^\s+/;e.exports=function(e){return e?e.slice(0,n(e)+1).replace(o,""):e}},928:(e,t,r)=>{var n="object"==typeof r.g&&r.g&&r.g.Object===Object&&r.g;e.exports=n},915:(e,t,r)=>{var n=r(73),o=Object.prototype,i=o.hasOwnProperty,a=o.toString,c=n?n.toStringTag:void 0;e.exports=function(e){var t=i.call(e,c),r=e[c];try{e[c]=void 0;var n=!0}catch(e){}var o=a.call(e);return n&&(t?e[c]=r:delete e[c]),o}},478:e=>{var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},453:(e,t,r)=>{var n=r(928),o="object"==typeof self&&self&&self.Object===Object&&self,i=n||o||Function("return this")();e.exports=i},976:e=>{var t=/\s/;e.exports=function(e){for(var r=e.length;r--&&t.test(e.charAt(r)););return r}},645:(e,t,r)=>{var n=r(717),o=r(884),i=r(86),a=Math.max,c=Math.min;e.exports=function(e,t,r){var s,l,u,d,f,p,v=0,m=!1,g=!1,y=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function b(t){var r=s,n=l;return s=l=void 0,v=t,d=e.apply(n,r)}function A(e){var r=e-p;return void 0===p||r>=t||r<0||g&&e-v>=u}function h(){var e=o();if(A(e))return w(e);f=setTimeout(h,function(e){var r=t-(e-p);return g?c(r,u-(e-v)):r}(e))}function w(e){return f=void 0,y&&s?b(e):(s=l=void 0,d)}function _(){var e=o(),r=A(e);if(s=arguments,l=this,p=e,r){if(void 0===f)return function(e){return v=e,f=setTimeout(h,t),m?b(e):d}(p);if(g)return clearTimeout(f),f=setTimeout(h,t),b(p)}return void 0===f&&(f=setTimeout(h,t)),d}return t=i(t)||0,n(r)&&(m=!!r.leading,u=(g="maxWait"in r)?a(i(r.maxWait)||0,t):u,y="trailing"in r?!!r.trailing:y),_.cancel=function(){void 0!==f&&clearTimeout(f),v=0,s=p=l=f=void 0},_.flush=function(){return void 0===f?d:w(o())},_}},717:e=>{e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},50:e=>{e.exports=function(e){return null!=e&&"object"==typeof e}},770:(e,t,r)=>{var n=r(624),o=r(50);e.exports=function(e){return"symbol"==typeof e||o(e)&&"[object Symbol]"==n(e)}},884:(e,t,r)=>{var n=r(453);e.exports=function(){return n.Date.now()}},462:(e,t,r)=>{var n=r(645),o=r(717);e.exports=function(e,t,r){var i=!0,a=!0;if("function"!=typeof e)throw new TypeError("Expected a function");return o(r)&&(i="leading"in r?!!r.leading:i,a="trailing"in r?!!r.trailing:a),n(e,t,{leading:i,maxWait:t,trailing:a})}},86:(e,t,r)=>{var n=r(480),o=r(717),i=r(770),a=/^[-+]0x[0-9a-f]+$/i,c=/^0b[01]+$/i,s=/^0o[0-7]+$/i,l=parseInt;e.exports=function(e){if("number"==typeof e)return e;if(i(e))return NaN;if(o(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=o(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=n(e);var r=c.test(e);return r||s.test(e)?l(e.slice(2),r?2:8):a.test(e)?NaN:+e}},585:(e,t,r)=>{var n=r(327);n&&n.__esModule&&(n=n.default),e.exports="string"==typeof n?n:n.toString()}},n={};function o(e){var t=n[e];if(void 0!==t)return t.exports;var i=n[e]={id:e,exports:{}};return r[e](i,i.exports,o),i.exports}o.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return o.d(t,{a:t}),t},t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,o.t=function(r,n){if(1&n&&(r=this(r)),8&n)return r;if("object"==typeof r&&r){if(4&n&&r.__esModule)return r;if(16&n&&"function"==typeof r.then)return r}var i=Object.create(null);o.r(i);var a={};e=e||[null,t({}),t([]),t(t)];for(var c=2&n&&r;"object"==typeof c&&!~e.indexOf(c);c=t(c))Object.getOwnPropertyNames(c).forEach((e=>a[e]=()=>r[e]));return a.default=()=>r,o.d(i,a),i},o.d=(e,t)=>{for(var r in t)o.o(t,r)&&!o.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},o.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var i={};return(()=>{"use strict";o.d(i,{component:()=>f});var e=o(462),t=o.n(e);const r=coreApis.componentApis.define,n=coreApis.componentApis.styledComponent,a=new Map;let c=0;const s=[];async function l(e){const t=e.querySelector("a.bili-video-card__image--link");if(!t)return;const r=t.getAttribute("href"),n=r?.match(/\/video\/(BV[\w]+)/);if(!n)return;const o=n[1],i=t.querySelector(".bili-video-card__image--wrap");if(!i||i.querySelector(".custom-preview-img"))return;const l=i.querySelector("picture img");if(!l)return;const u=document.createElement("img");u.className="custom-preview-img",l.alt&&(u.alt=l.alt),l.style.aspectRatio&&(u.style.aspectRatio=l.style.aspectRatio),i.appendChild(u),await async function(e){if(c>=15)await new Promise((t=>{s.push((async()=>{await e(),t()}))}));else{c+=1;try{await e()}finally{if(c-=1,s.length>0){const e=s.shift();e?.()}}}}((async()=>{try{const e=await async function(e){const t=a.get(e);if(t)return t;try{const t=new URL("https://api.bilibili.com/x/player/videoshot");t.searchParams.set("bvid",e),t.searchParams.set("index","1");let r=await fetch(t.toString());if(412===r.status&&(await new Promise((e=>setTimeout(e,3e4))),r=await fetch(t.toString()),412===r.status))return null;const n=await r.json();if(0!==n.code||!n.data?.image)return null;const{image:o,index:i=[],img_x_len:c,img_y_len:s,img_x_size:l,img_y_size:u}=n.data,d=c*s,f=Array.isArray(i)&&i.length>0?Math.floor((i.length-1)/2):0,p=Math.floor(f/d);if(p>=o.length)return null;const v=f%d,m=v%c,g=Math.floor(v/c),y=m*l,b=g*u,A=l,h=u,w=o[p].startsWith("//")?`https:${o[p]}`:o[p],_=await fetch(w,{mode:"cors"});if(!_.ok)return null;const E=await _.blob();let x;try{x=await createImageBitmap(E,y,b,A,h,{})}catch(t){console.error("[replaceCover] createImageBitmap error:",t);try{const t=await new Promise(((e,t)=>{const r=new Image;r.crossOrigin="anonymous",r.onload=()=>{try{const n=document.createElement("canvas");n.width=A,n.height=h;const o=n.getContext("2d");if(!o)return void t(new Error("Could not get canvas context in fallback."));o.drawImage(r,y,b,A,h,0,0,A,h);const i=n.toDataURL("image/jpeg",.9);e(i)}catch(e){console.error("[replaceCover] canvas error:",e),t(e)}},r.onerror=e=>t(new Error(`Image load error in fallback for ${w}: ${e}`)),r.src=w}));return a.set(e,t),t}catch(e){return console.error("[replaceCover] fallback error:",e),null}}const C=document.createElement("canvas");C.width=l,C.height=u;const j=C.getContext("2d");if(!j)return x.close(),null;j.drawImage(x,0,0),x.close();const B=C.toDataURL("image/jpeg",.9);return a.set(e,B),B}catch(e){return console.error("[replaceCover] Error fetching video preview:",e),null}}(o);if(!e)return void u.remove();await new Promise((t=>{const r=new Image;r.onload=()=>{u.src=e,u.classList.add("loaded"),t()},r.onerror=()=>{u.remove(),t()},r.src=e}))}catch(e){console.error("[replaceCover] Error processing video card:",e),u.remove()}}))}async function u(e){const t=e.filter((e=>e.classList?.contains("bili-video-card")));0!==t.length&&await Promise.allSettled(t.map((e=>l(e))))}function d(e){const t=[];for(const r of e)if("childList"===r.type&&r.addedNodes.length>0)for(const e of Array.from(r.addedNodes))if(e.nodeType===Node.ELEMENT_NODE){const r=e;r.classList?.contains("bili-video-card")&&t.push(r);r.querySelectorAll(".bili-video-card").forEach((e=>t.push(e)))}const r=Array.from(new Set(t));r.length>0&&u(r)}const f=(0,r.defineComponentMetadata)({name:"replaceCover",author:{name:"UcnacDx2",link:"https://github.com/UcnacDx2"},tags:[componentsTags.style],displayName:"替换标题党封面",description:"将视频卡片的封面替换为视频预览帧,杜绝图文不符。致敬DeArrow。",urlInclude:["www.bilibili.com"],entry:(0,n.styledComponentEntry)((()=>Promise.resolve().then(o.t.bind(o,585,23))),(async()=>{const e=["main > .feed2 > .recommended-container_floor-aside > .container","main > .feed2 > .container",".recommended-container_floor-aside > .container",".container.is-adapting",".recommend-page-container .video-card-list","#page-video .tab-list-box .video-card-list","#bili_bangumi_watch .video-card-list",".search-results-video .video-list",".space-video-list"].map((e=>document.querySelector(e))).find((e=>null!==e))??document.body,r=document.querySelectorAll(".bili-video-card");u(Array.from(r));new MutationObserver(d).observe(e,{childList:!0,subtree:!0});const n=t()((()=>{const e=document.querySelectorAll(".bili-video-card");if(0===e.length)return;const t=Array.from(e).filter((e=>{const t=e.querySelector(".bili-video-card__image--wrap");if(!t)return!1;const r=t.querySelector(".custom-preview-img");return!r||!r.src}));t.length>0&&(t.forEach((e=>{const t=e.querySelector(".custom-preview-img");t&&!t.src&&t.remove()})),u(t))}),300);window.addEventListener("resize",n),window.addEventListener("scroll",n)})),commitHash:"58c0b438ca2371e397f70466a91572cb2757b142",coreVersion:"2.10.7"})})(),i=i.component})())); +var i=btoa(unescape(encodeURIComponent(JSON.stringify(o)))),a="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(i),c="/*# ".concat(a," */"),s=o.sources.map((function(e){return"/*# sourceURL=".concat(o.sourceRoot||"").concat(e," */")}));return[n].concat(s).concat([c]).join("\n")}return[n].join("\n")}},73:(e,t,r)=>{var n=r(453).Symbol;e.exports=n},624:(e,t,r)=>{var n=r(73),o=r(915),i=r(478),a=n?n.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":a&&a in Object(e)?o(e):i(e)}},480:(e,t,r)=>{var n=r(976),o=/^\s+/;e.exports=function(e){return e?e.slice(0,n(e)+1).replace(o,""):e}},928:(e,t,r)=>{var n="object"==typeof r.g&&r.g&&r.g.Object===Object&&r.g;e.exports=n},915:(e,t,r)=>{var n=r(73),o=Object.prototype,i=o.hasOwnProperty,a=o.toString,c=n?n.toStringTag:void 0;e.exports=function(e){var t=i.call(e,c),r=e[c];try{e[c]=void 0;var n=!0}catch(e){}var o=a.call(e);return n&&(t?e[c]=r:delete e[c]),o}},478:e=>{var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},453:(e,t,r)=>{var n=r(928),o="object"==typeof self&&self&&self.Object===Object&&self,i=n||o||Function("return this")();e.exports=i},976:e=>{var t=/\s/;e.exports=function(e){for(var r=e.length;r--&&t.test(e.charAt(r)););return r}},645:(e,t,r)=>{var n=r(717),o=r(884),i=r(86),a=Math.max,c=Math.min;e.exports=function(e,t,r){var s,l,d,u,f,p,v=0,m=!1,g=!1,y=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function b(t){var r=s,n=l;return s=l=void 0,v=t,u=e.apply(n,r)}function A(e){var r=e-p;return void 0===p||r>=t||r<0||g&&e-v>=d}function h(){var e=o();if(A(e))return w(e);f=setTimeout(h,function(e){var r=t-(e-p);return g?c(r,d-(e-v)):r}(e))}function w(e){return f=void 0,y&&s?b(e):(s=l=void 0,u)}function _(){var e=o(),r=A(e);if(s=arguments,l=this,p=e,r){if(void 0===f)return function(e){return v=e,f=setTimeout(h,t),m?b(e):u}(p);if(g)return clearTimeout(f),f=setTimeout(h,t),b(p)}return void 0===f&&(f=setTimeout(h,t)),u}return t=i(t)||0,n(r)&&(m=!!r.leading,d=(g="maxWait"in r)?a(i(r.maxWait)||0,t):d,y="trailing"in r?!!r.trailing:y),_.cancel=function(){void 0!==f&&clearTimeout(f),v=0,s=p=l=f=void 0},_.flush=function(){return void 0===f?u:w(o())},_}},717:e=>{e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},50:e=>{e.exports=function(e){return null!=e&&"object"==typeof e}},770:(e,t,r)=>{var n=r(624),o=r(50);e.exports=function(e){return"symbol"==typeof e||o(e)&&"[object Symbol]"==n(e)}},884:(e,t,r)=>{var n=r(453);e.exports=function(){return n.Date.now()}},462:(e,t,r)=>{var n=r(645),o=r(717);e.exports=function(e,t,r){var i=!0,a=!0;if("function"!=typeof e)throw new TypeError("Expected a function");return o(r)&&(i="leading"in r?!!r.leading:i,a="trailing"in r?!!r.trailing:a),n(e,t,{leading:i,maxWait:t,trailing:a})}},86:(e,t,r)=>{var n=r(480),o=r(717),i=r(770),a=/^[-+]0x[0-9a-f]+$/i,c=/^0b[01]+$/i,s=/^0o[0-7]+$/i,l=parseInt;e.exports=function(e){if("number"==typeof e)return e;if(i(e))return NaN;if(o(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=o(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=n(e);var r=c.test(e);return r||s.test(e)?l(e.slice(2),r?2:8):a.test(e)?NaN:+e}},585:(e,t,r)=>{var n=r(327);n&&n.__esModule&&(n=n.default),e.exports="string"==typeof n?n:n.toString()}},n={};function o(e){var t=n[e];if(void 0!==t)return t.exports;var i=n[e]={id:e,exports:{}};return r[e](i,i.exports,o),i.exports}o.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return o.d(t,{a:t}),t},t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,o.t=function(r,n){if(1&n&&(r=this(r)),8&n)return r;if("object"==typeof r&&r){if(4&n&&r.__esModule)return r;if(16&n&&"function"==typeof r.then)return r}var i=Object.create(null);o.r(i);var a={};e=e||[null,t({}),t([]),t(t)];for(var c=2&n&&r;"object"==typeof c&&!~e.indexOf(c);c=t(c))Object.getOwnPropertyNames(c).forEach((e=>a[e]=()=>r[e]));return a.default=()=>r,o.d(i,a),i},o.d=(e,t)=>{for(var r in t)o.o(t,r)&&!o.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},o.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var i={};return(()=>{"use strict";o.d(i,{component:()=>f});var e=o(462),t=o.n(e);const r=coreApis.componentApis.define,n=coreApis.componentApis.styledComponent,a=new Map;let c=0;const s=[];async function l(e){const t=e.querySelector("a.bili-video-card__image--link");if(!t)return;const r=t.getAttribute("href"),n=r?.match(/\/video\/(BV[\w]+)/);if(!n)return;const o=n[1],i=t.querySelector(".bili-video-card__image--wrap");if(!i||i.querySelector(".custom-preview-img"))return;const l=i.querySelector("picture img");if(!l)return;const d=document.createElement("img");d.className="custom-preview-img",l.alt&&(d.alt=l.alt),l.style.aspectRatio&&(d.style.aspectRatio=l.style.aspectRatio),i.appendChild(d),await async function(e){if(c>=15)await new Promise((t=>{s.push((async()=>{await e(),t()}))}));else{c+=1;try{await e()}finally{if(c-=1,s.length>0){const e=s.shift();e?.()}}}}((async()=>{try{const e=await async function(e){const t=a.get(e);if(t)return t;try{const t=new URL("https://api.bilibili.com/x/player/videoshot");t.searchParams.set("bvid",e),t.searchParams.set("index","1");let r=await fetch(t.toString());if(412===r.status&&(await new Promise((e=>setTimeout(e,3e4))),r=await fetch(t.toString()),412===r.status))return null;const n=await r.json();if(0!==n.code||!n.data?.image)return null;const{image:o,index:i=[],img_x_len:c,img_y_len:s,img_x_size:l,img_y_size:d}=n.data,u=c*s,f=Array.isArray(i)&&i.length>0?Math.floor((i.length-1)/2):0,p=Math.floor(f/u);if(p>=o.length)return null;const v=f%u,m=v%c,g=Math.floor(v/c),y=m*l,b=g*d,A=l,h=d,w=o[p].startsWith("//")?`https:${o[p]}`:o[p],_=await fetch(w,{mode:"cors"});if(!_.ok)return null;const E=await _.blob();let x;try{x=await createImageBitmap(E,y,b,A,h,{})}catch(t){console.error("[replaceCover] createImageBitmap error:",t);try{const t=await new Promise(((e,t)=>{const r=new Image;r.crossOrigin="anonymous",r.onload=()=>{try{const n=document.createElement("canvas");n.width=A,n.height=h;const o=n.getContext("2d");if(!o)return void t(new Error("Could not get canvas context in fallback."));o.drawImage(r,y,b,A,h,0,0,A,h);const i=n.toDataURL("image/jpeg",.9);e(i)}catch(e){console.error("[replaceCover] canvas error:",e),t(e)}},r.onerror=e=>t(new Error(`Image load error in fallback for ${w}: ${e}`)),r.src=w}));return a.set(e,t),t}catch(e){return console.error("[replaceCover] fallback error:",e),null}}const C=document.createElement("canvas");C.width=l,C.height=d;const j=C.getContext("2d");if(!j)return x.close(),null;j.drawImage(x,0,0),x.close();const B=C.toDataURL("image/jpeg",.9);return a.set(e,B),B}catch(e){return console.error("[replaceCover] Error fetching video preview:",e),null}}(o);if(!e)return void d.remove();await new Promise((t=>{const r=new Image;r.onload=()=>{d.src=e,d.classList.add("loaded"),t()},r.onerror=()=>{d.remove(),t()},r.src=e}))}catch(e){console.error("[replaceCover] Error processing video card:",e),d.remove()}}))}async function d(e){const t=e.filter((e=>e.classList?.contains("bili-video-card")));0!==t.length&&await Promise.allSettled(t.map((e=>l(e))))}function u(e){const t=[];for(const r of e)if("childList"===r.type&&r.addedNodes.length>0)for(const e of Array.from(r.addedNodes))if(e.nodeType===Node.ELEMENT_NODE){const r=e;r.classList?.contains("bili-video-card")&&t.push(r);r.querySelectorAll(".bili-video-card").forEach((e=>t.push(e)))}const r=Array.from(new Set(t));r.length>0&&d(r)}const f=(0,r.defineComponentMetadata)({name:"replaceCover",author:{name:"UcnacDx2",link:"https://github.com/UcnacDx2"},tags:[componentsTags.style],displayName:"替换标题党封面",description:"将视频卡片的封面替换为视频预览帧,杜绝图文不符。致敬DeArrow。",urlInclude:["www.bilibili.com"],entry:(0,n.styledComponentEntry)((()=>Promise.resolve().then(o.t.bind(o,585,23))),(async()=>{const e=["main > .feed2 > .recommended-container_floor-aside > .container","main > .feed2 > .container",".recommended-container_floor-aside > .container",".container.is-adapting",".recommend-page-container .video-card-list","#page-video .tab-list-box .video-card-list","#bili_bangumi_watch .video-card-list",".search-results-video .video-list",".space-video-list"].map((e=>document.querySelector(e))).find((e=>null!==e))??document.body,r=document.querySelectorAll(".bili-video-card");d(Array.from(r));new MutationObserver(u).observe(e,{childList:!0,subtree:!0});const n=t()((()=>{const e=document.querySelectorAll(".bili-video-card");if(0===e.length)return;const t=Array.from(e).filter((e=>{const t=e.querySelector(".bili-video-card__image--wrap");if(!t)return!1;const r=t.querySelector(".custom-preview-img");return!r||!r.src}));t.length>0&&(t.forEach((e=>{const t=e.querySelector(".custom-preview-img");t&&!t.src&&t.remove()})),d(t))}),300);window.addEventListener("resize",n),window.addEventListener("scroll",n)})),commitHash:"d87d69cfb9d7e0124bd90a06fec4569bd61e02c5",coreVersion:"2.10.7"})})(),i=i.component})())); //# sourceMappingURL=https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/registry/dist/components/style/replace-cover.js.map \ No newline at end of file diff --git a/bb-evolved/registry/dist/components/style/scrollbar.js b/bb-evolved/registry/dist/components/style/scrollbar.js index a072ff3dcc..50cfcab998 100644 --- a/bb-evolved/registry/dist/components/style/scrollbar.js +++ b/bb-evolved/registry/dist/components/style/scrollbar.js @@ -8,5 +8,5 @@ t=[[null,t,""]]);var o={};if(e)for(var a=0;a{"use strict";function r(t,r){return function(t){if(Array.isArray(t))return t}(t)||function(t,r){var n=t&&("undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"]);if(null==n)return;var e,o,a=[],c=!0,i=!1;try{for(n=n.call(t);!(c=(e=n.next()).done)&&(a.push(e.value),!r||a.length!==r);c=!0);}catch(t){i=!0,o=t}finally{try{c||null==n.return||n.return()}finally{if(i)throw o}}return a}(t,r)||function(t,r){if(!t)return;if("string"==typeof t)return n(t,r);var e=Object.prototype.toString.call(t).slice(8,-1);"Object"===e&&t.constructor&&(e=t.constructor.name);if("Map"===e||"Set"===e)return Array.from(t);if("Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e))return n(t,r)}(t,r)||function(){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 n(t,r){(null==r||r>t.length)&&(r=t.length);for(var n=0,e=new Array(r);n{var e=n(21);e&&e.__esModule&&(e=e.default),t.exports="string"==typeof e?e:e.toString()}},e={};function o(t){var r=e[t];if(void 0!==r)return r.exports;var a=e[t]={id:t,exports:{}};return n[t](a,a.exports,o),a.exports}r=Object.getPrototypeOf?t=>Object.getPrototypeOf(t):t=>t.__proto__,o.t=function(n,e){if(1&e&&(n=this(n)),8&e)return n;if("object"==typeof n&&n){if(4&e&&n.__esModule)return n;if(16&e&&"function"==typeof n.then)return n}var a=Object.create(null);o.r(a);var c={};t=t||[null,r({}),r([]),r(r)];for(var i=2&e&&n;"object"==typeof i&&!~t.indexOf(i);i=r(i))Object.getOwnPropertyNames(i).forEach((t=>c[t]=()=>n[t]));return c.default=()=>n,o.d(a,c),a},o.d=(t,r)=>{for(var n in r)o.o(r,n)&&!o.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:r[n]})},o.o=(t,r)=>Object.prototype.hasOwnProperty.call(t,r),o.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var a={};return(()=>{"use strict";o.d(a,{component:()=>t});const t=(0,coreApis.componentApis.define.defineComponentMetadata)({name:"elegantScrollbar",entry:none,displayName:"使用细滚动条",description:"使用浏览器的滚动条风格替代系统的滚动条, 不过 macOS 系统滚动条比浏览器做得好一些, 因此不建议 macOS 使用此功能.",tags:[componentsTags.style,componentsTags.general],instantStyles:[{name:"elegant-scrollbar",style:()=>Promise.resolve().then(o.t.bind(o,871,23))}],commitHash:"58c0b438ca2371e397f70466a91572cb2757b142",coreVersion:"2.10.7"})})(),a=a.component})())); +var a=btoa(unescape(encodeURIComponent(JSON.stringify(o)))),c="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(a),i="/*# ".concat(c," */"),l=o.sources.map((function(t){return"/*# sourceURL=".concat(o.sourceRoot||"").concat(t," */")}));return[e].concat(l).concat([i]).join("\n")}return[e].join("\n")}},871:(t,r,n)=>{var e=n(21);e&&e.__esModule&&(e=e.default),t.exports="string"==typeof e?e:e.toString()}},e={};function o(t){var r=e[t];if(void 0!==r)return r.exports;var a=e[t]={id:t,exports:{}};return n[t](a,a.exports,o),a.exports}r=Object.getPrototypeOf?t=>Object.getPrototypeOf(t):t=>t.__proto__,o.t=function(n,e){if(1&e&&(n=this(n)),8&e)return n;if("object"==typeof n&&n){if(4&e&&n.__esModule)return n;if(16&e&&"function"==typeof n.then)return n}var a=Object.create(null);o.r(a);var c={};t=t||[null,r({}),r([]),r(r)];for(var i=2&e&&n;"object"==typeof i&&!~t.indexOf(i);i=r(i))Object.getOwnPropertyNames(i).forEach((t=>c[t]=()=>n[t]));return c.default=()=>n,o.d(a,c),a},o.d=(t,r)=>{for(var n in r)o.o(r,n)&&!o.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:r[n]})},o.o=(t,r)=>Object.prototype.hasOwnProperty.call(t,r),o.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var a={};return(()=>{"use strict";o.d(a,{component:()=>t});const t=(0,coreApis.componentApis.define.defineComponentMetadata)({name:"elegantScrollbar",entry:none,displayName:"使用细滚动条",description:"使用浏览器的滚动条风格替代系统的滚动条, 不过 macOS 系统滚动条比浏览器做得好一些, 因此不建议 macOS 使用此功能.",tags:[componentsTags.style,componentsTags.general],instantStyles:[{name:"elegant-scrollbar",style:()=>Promise.resolve().then(o.t.bind(o,871,23))}],commitHash:"d87d69cfb9d7e0124bd90a06fec4569bd61e02c5",coreVersion:"2.10.7"})})(),a=a.component})())); //# sourceMappingURL=https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/registry/dist/components/style/scrollbar.js.map \ No newline at end of file diff --git a/bb-evolved/registry/dist/components/style/sidebar-offset.js b/bb-evolved/registry/dist/components/style/sidebar-offset.js index 236cc26ecd..bd2cda2997 100644 --- a/bb-evolved/registry/dist/components/style/sidebar-offset.js +++ b/bb-evolved/registry/dist/components/style/sidebar-offset.js @@ -8,5 +8,5 @@ t=[[null,t,""]]);var n={};if(o)for(var a=0;a{"use strict";function e(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=t&&("undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"]);if(null==r)return;var o,n,a=[],i=!0,s=!1;try{for(r=r.call(t);!(i=(o=r.next()).done)&&(a.push(o.value),!e||a.length!==e);i=!0);}catch(t){s=!0,n=t}finally{try{i||null==r.return||r.return()}finally{if(s)throw n}}return a}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return r(t,e);var o=Object.prototype.toString.call(t).slice(8,-1);"Object"===o&&t.constructor&&(o=t.constructor.name);if("Map"===o||"Set"===o)return Array.from(t);if("Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o))return r(t,e)}(t,e)||function(){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 r(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,o=new Array(e);r{var o=r(427);o&&o.__esModule&&(o=o.default),t.exports="string"==typeof o?o:o.toString()}},o={};function n(t){var e=o[t];if(void 0!==e)return e.exports;var a=o[t]={id:t,exports:{}};return r[t](a,a.exports,n),a.exports}e=Object.getPrototypeOf?t=>Object.getPrototypeOf(t):t=>t.__proto__,n.t=function(r,o){if(1&o&&(r=this(r)),8&o)return r;if("object"==typeof r&&r){if(4&o&&r.__esModule)return r;if(16&o&&"function"==typeof r.then)return r}var a=Object.create(null);n.r(a);var i={};t=t||[null,e({}),e([]),e(e)];for(var s=2&o&&r;"object"==typeof s&&!~t.indexOf(s);s=e(s))Object.getOwnPropertyNames(s).forEach((t=>i[t]=()=>r[t]));return i.default=()=>r,n.d(a,i),a},n.d=(t,e)=>{for(var r in e)n.o(e,r)&&!n.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},n.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),n.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var a={};return(()=>{"use strict";n.d(a,{component:()=>o});const t=coreApis.componentApis.define,e=coreApis.settings,r=coreApis.utils,o=(0,t.defineComponentMetadata)({name:"sidebarOffset",displayName:"侧栏垂直偏移",tags:[componentsTags.style],instantStyles:[{name:"sidebarOffset",style:()=>Promise.resolve().then(n.t.bind(n,729,23))}],description:{"zh-CN":"给脚本的侧栏设置垂直偏移量, 范围为 -35% ~ 40%"},entry:t=>{let{metadata:r}=t;(0,e.addComponentListener)(`${r.name}.offset`,(t=>{document.documentElement.style.setProperty("--be-sidebar-offset",`${t}%`)}),!0)},options:{offset:{displayName:"偏移量 (%)",defaultValue:0,validator:(0,r.getNumberValidator)(-35,40)}},commitHash:"58c0b438ca2371e397f70466a91572cb2757b142",coreVersion:"2.10.7"})})(),a=a.component})())); +var a=btoa(unescape(encodeURIComponent(JSON.stringify(n)))),i="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(a),s="/*# ".concat(i," */"),c=n.sources.map((function(t){return"/*# sourceURL=".concat(n.sourceRoot||"").concat(t," */")}));return[o].concat(c).concat([s]).join("\n")}return[o].join("\n")}},729:(t,e,r)=>{var o=r(427);o&&o.__esModule&&(o=o.default),t.exports="string"==typeof o?o:o.toString()}},o={};function n(t){var e=o[t];if(void 0!==e)return e.exports;var a=o[t]={id:t,exports:{}};return r[t](a,a.exports,n),a.exports}e=Object.getPrototypeOf?t=>Object.getPrototypeOf(t):t=>t.__proto__,n.t=function(r,o){if(1&o&&(r=this(r)),8&o)return r;if("object"==typeof r&&r){if(4&o&&r.__esModule)return r;if(16&o&&"function"==typeof r.then)return r}var a=Object.create(null);n.r(a);var i={};t=t||[null,e({}),e([]),e(e)];for(var s=2&o&&r;"object"==typeof s&&!~t.indexOf(s);s=e(s))Object.getOwnPropertyNames(s).forEach((t=>i[t]=()=>r[t]));return i.default=()=>r,n.d(a,i),a},n.d=(t,e)=>{for(var r in e)n.o(e,r)&&!n.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},n.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),n.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var a={};return(()=>{"use strict";n.d(a,{component:()=>o});const t=coreApis.componentApis.define,e=coreApis.settings,r=coreApis.utils,o=(0,t.defineComponentMetadata)({name:"sidebarOffset",displayName:"侧栏垂直偏移",tags:[componentsTags.style],instantStyles:[{name:"sidebarOffset",style:()=>Promise.resolve().then(n.t.bind(n,729,23))}],description:{"zh-CN":"给脚本的侧栏设置垂直偏移量, 范围为 -35% ~ 40%"},entry:t=>{let{metadata:r}=t;(0,e.addComponentListener)(`${r.name}.offset`,(t=>{document.documentElement.style.setProperty("--be-sidebar-offset",`${t}%`)}),!0)},options:{offset:{displayName:"偏移量 (%)",defaultValue:0,validator:(0,r.getNumberValidator)(-35,40)}},commitHash:"d87d69cfb9d7e0124bd90a06fec4569bd61e02c5",coreVersion:"2.10.7"})})(),a=a.component})())); //# sourceMappingURL=https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/registry/dist/components/style/sidebar-offset.js.map \ No newline at end of file diff --git a/bb-evolved/registry/dist/components/style/simplify/comments.js b/bb-evolved/registry/dist/components/style/simplify/comments.js index b59cc12a6a..640c5009a2 100644 --- a/bb-evolved/registry/dist/components/style/simplify/comments.js +++ b/bb-evolved/registry/dist/components/style/simplify/comments.js @@ -8,5 +8,5 @@ n=[[null,n,""]]);var o={};if(i)for(var m=0;m{"use strict";function t(n,t){return function(n){if(Array.isArray(n))return n}(n)||function(n,t){var e=n&&("undefined"!=typeof Symbol&&n[Symbol.iterator]||n["@@iterator"]);if(null==e)return;var i,o,m=[],A=!0,r=!1;try{for(e=e.call(n);!(A=(i=e.next()).done)&&(m.push(i.value),!t||m.length!==t);A=!0);}catch(n){r=!0,o=n}finally{try{A||null==e.return||e.return()}finally{if(r)throw o}}return m}(n,t)||function(n,t){if(!n)return;if("string"==typeof n)return e(n,t);var i=Object.prototype.toString.call(n).slice(8,-1);"Object"===i&&n.constructor&&(i=n.constructor.name);if("Map"===i||"Set"===i)return Array.from(n);if("Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i))return e(n,t)}(n,t)||function(){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 e(n,t){(null==t||t>n.length)&&(t=n.length);for(var e=0,i=new Array(t);e{var i=e(602);i&&i.__esModule&&(i=i.default),n.exports="string"==typeof i?i:i.toString()},885:(n,t,e)=>{var i=e(831);i&&i.__esModule&&(i=i.default),n.exports="string"==typeof i?i:i.toString()},191:(n,t,e)=>{var i=e(949);i&&i.__esModule&&(i=i.default),n.exports="string"==typeof i?i:i.toString()},769:(n,t,e)=>{var i=e(987);i&&i.__esModule&&(i=i.default),n.exports="string"==typeof i?i:i.toString()},280:(n,t,e)=>{var i=e(526);i&&i.__esModule&&(i=i.default),n.exports="string"==typeof i?i:i.toString()},406:(n,t,e)=>{var i=e(684);i&&i.__esModule&&(i=i.default),n.exports="string"==typeof i?i:i.toString()},309:(n,t,e)=>{var i=e(743);i&&i.__esModule&&(i=i.default),n.exports="string"==typeof i?i:i.toString()},548:(n,t,e)=>{var i=e(570);i&&i.__esModule&&(i=i.default),n.exports="string"==typeof i?i:i.toString()},431:(n,t,e)=>{var i=e(321);i&&i.__esModule&&(i=i.default),n.exports="string"==typeof i?i:i.toString()},617:(n,t,e)=>{var i=e(87);i&&i.__esModule&&(i=i.default),n.exports="string"==typeof i?i:i.toString()},10:(n,t,e)=>{var i={"./base.scss":885,"./decorate-and-time.scss":191,"./event-banner.scss":769,"./fans-medal.scss":280,"./reply-editor.scss":406,"./sub-reply-new-line.scss":309,"./user-level.scss":548};function o(n){var t=m(n);return e(t)}function m(n){if(!e.o(i,n)){var t=new Error("Cannot find module '"+n+"'");throw t.code="MODULE_NOT_FOUND",t}return i[n]}o.keys=function(){return Object.keys(i)},o.resolve=m,n.exports=o,o.id=10},90:n=>{function t(n){var t=new Error("Cannot find module '"+n+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=90,n.exports=t},477:n=>{"use strict";n.exports="去除或优化评论区内的元素, 可配置以下选项 (描述的是勾选时的效果):\n\n> 配置项仅对新版评论区有效\n\n- `用户等级`: 隐藏用户等级标识. (隐藏后, 可以通过鼠标停留在头像上, 在弹出的资料卡小窗中查看)\n- `装扮 & 时间`: 隐藏装扮图片, 并把发送时间移动到装扮的位置.\n- `头像框`: 隐藏头像框.\n- `回复换行`:\n - 楼中楼回复也另起一行显示, 和一级回复保持一致.\n - `热评`, `UP 主点赞` 等标记和点赞栏放在同一行.\n- `编辑框`: 将提示文本居上, 符合用户实际输入文字的位置, 并将发布按钮的字号略微调小.\n- `粉丝勋章`: 隐藏用户的粉丝勋章.\n- `小喇叭横幅`: 隐藏评论区顶部的小喇叭横幅\n"},533:n=>{"use strict";n.exports=coreApis.containerQuery},905:n=>{"use strict";n.exports=coreApis.settings},794:n=>{"use strict";n.exports=coreApis.shadowRoot},479:n=>{"use strict";n.exports=coreApis.style}},i={};function o(n){var t=i[n];if(void 0!==t)return t.exports;var m=i[n]={id:n,exports:{}};return e[n](m,m.exports,o),m.exports}t=Object.getPrototypeOf?n=>Object.getPrototypeOf(n):n=>n.__proto__,o.t=function(e,i){if(1&i&&(e=this(e)),8&i)return e;if("object"==typeof e&&e){if(4&i&&e.__esModule)return e;if(16&i&&"function"==typeof e.then)return e}var m=Object.create(null);o.r(m);var A={};n=n||[null,t({}),t([]),t(t)];for(var r=2&i&&e;"object"==typeof r&&!~n.indexOf(r);r=t(r))Object.getOwnPropertyNames(r).forEach((n=>A[n]=()=>e[n]));return A.default=()=>e,o.d(m,A),m},o.d=(n,t)=>{for(var e in t)o.o(t,e)&&!o.o(n,e)&&Object.defineProperty(n,e,{enumerable:!0,get:t[e]})},o.o=(n,t)=>Object.prototype.hasOwnProperty.call(n,t),o.r=n=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(n,"__esModule",{value:!0})};var m={};return(()=>{"use strict";o.d(m,{component:()=>e});const n=coreApis.componentApis.switchOptions,t="simplifyComments",e=(0,n.wrapSwitchOptions)({name:"simplifyOptions",switchProps:{checkedIcon:"mdi-checkbox-marked-circle",notCheckedIcon:"mdi-checkbox-blank-circle-outline"},dimAt:!1,switches:{userLevel:{defaultValue:!0,displayName:"用户等级"},decorateAndTime:{defaultValue:!0,displayName:"装扮 & 时间"},subReplyNewLine:{defaultValue:!0,displayName:"回复换行"},replyEditor:{defaultValue:!0,displayName:"编辑框"},fansMedal:{defaultValue:!1,displayName:"粉丝勋章"},eventBanner:{defaultValue:!0,displayName:"小喇叭横幅"}}})({name:t,displayName:"简化评论区",entry:async n=>{let{metadata:i,settings:m}=n;const{addStyle:A,getDefaultStyleID:r}=await Promise.resolve().then(o.t.bind(o,479,23)),{isContainerStyleQuerySupported:a}=await Promise.resolve().then(o.t.bind(o,533,23)),{addComponentListener:l}=await Promise.resolve().then(o.t.bind(o,905,23));if(l(i.name,(n=>{document.body.classList.toggle("simplify-comment",n)}),!0),a()){const{shadowRootStyles:n}=await Promise.resolve().then(o.t.bind(o,794,23)),e=await Promise.resolve().then(o.t.bind(o,431,23)).then((n=>n.default));n.toggleWithComponent(i.name,{id:t,style:e})}else{const{shadowRootStyles:n}=await Promise.resolve().then(o.t.bind(o,794,23)),t=o(10);Object.keys(m.options).forEach((i=>{if(!i.startsWith("switch-"))return;const o=`${e.name}.${i}`,m=lodash.kebabCase(i.replace(/^switch-/,"")),a=`./${m}.scss`;t.keys().includes(a)&&l(o,(e=>{if(e){const e=t(a);A(e,m),n.addStyle({id:o,style:e})}else document.getElementById(r(m))?.remove(),n.removeStyle(o)}),!0)}))}},instantStyles:[{name:`${t}v1`,style:()=>Promise.resolve().then(o.t.bind(o,617,23))},{name:`${t}v2`,style:()=>Promise.resolve().then(o.t.bind(o,384,23))}],tags:[componentsTags.style],commitHash:"58c0b438ca2371e397f70466a91572cb2757b142",coreVersion:"2.10.7",description:(()=>{const n=o(90);return{...Object.fromEntries(n.keys().map((t=>[t.match(/index\.(.+)\.md$/)[1],n(t)]))),"zh-CN":()=>Promise.resolve().then(o.t.bind(o,477,17)).then((n=>n.default))}})()})})(),m=m.component})())); +var m=btoa(unescape(encodeURIComponent(JSON.stringify(o)))),A="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(m),r="/*# ".concat(A," */"),a=o.sources.map((function(n){return"/*# sourceURL=".concat(o.sourceRoot||"").concat(n," */")}));return[i].concat(a).concat([r]).join("\n")}return[i].join("\n")}},384:(n,t,e)=>{var i=e(602);i&&i.__esModule&&(i=i.default),n.exports="string"==typeof i?i:i.toString()},885:(n,t,e)=>{var i=e(831);i&&i.__esModule&&(i=i.default),n.exports="string"==typeof i?i:i.toString()},191:(n,t,e)=>{var i=e(949);i&&i.__esModule&&(i=i.default),n.exports="string"==typeof i?i:i.toString()},769:(n,t,e)=>{var i=e(987);i&&i.__esModule&&(i=i.default),n.exports="string"==typeof i?i:i.toString()},280:(n,t,e)=>{var i=e(526);i&&i.__esModule&&(i=i.default),n.exports="string"==typeof i?i:i.toString()},406:(n,t,e)=>{var i=e(684);i&&i.__esModule&&(i=i.default),n.exports="string"==typeof i?i:i.toString()},309:(n,t,e)=>{var i=e(743);i&&i.__esModule&&(i=i.default),n.exports="string"==typeof i?i:i.toString()},548:(n,t,e)=>{var i=e(570);i&&i.__esModule&&(i=i.default),n.exports="string"==typeof i?i:i.toString()},431:(n,t,e)=>{var i=e(321);i&&i.__esModule&&(i=i.default),n.exports="string"==typeof i?i:i.toString()},617:(n,t,e)=>{var i=e(87);i&&i.__esModule&&(i=i.default),n.exports="string"==typeof i?i:i.toString()},10:(n,t,e)=>{var i={"./base.scss":885,"./decorate-and-time.scss":191,"./event-banner.scss":769,"./fans-medal.scss":280,"./reply-editor.scss":406,"./sub-reply-new-line.scss":309,"./user-level.scss":548};function o(n){var t=m(n);return e(t)}function m(n){if(!e.o(i,n)){var t=new Error("Cannot find module '"+n+"'");throw t.code="MODULE_NOT_FOUND",t}return i[n]}o.keys=function(){return Object.keys(i)},o.resolve=m,n.exports=o,o.id=10},90:n=>{function t(n){var t=new Error("Cannot find module '"+n+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=90,n.exports=t},477:n=>{"use strict";n.exports="去除或优化评论区内的元素, 可配置以下选项 (描述的是勾选时的效果):\n\n> 配置项仅对新版评论区有效\n\n- `用户等级`: 隐藏用户等级标识. (隐藏后, 可以通过鼠标停留在头像上, 在弹出的资料卡小窗中查看)\n- `装扮 & 时间`: 隐藏装扮图片, 并把发送时间移动到装扮的位置.\n- `头像框`: 隐藏头像框.\n- `回复换行`:\n - 楼中楼回复也另起一行显示, 和一级回复保持一致.\n - `热评`, `UP 主点赞` 等标记和点赞栏放在同一行.\n- `编辑框`: 将提示文本居上, 符合用户实际输入文字的位置, 并将发布按钮的字号略微调小.\n- `粉丝勋章`: 隐藏用户的粉丝勋章.\n- `小喇叭横幅`: 隐藏评论区顶部的小喇叭横幅\n"},533:n=>{"use strict";n.exports=coreApis.containerQuery},905:n=>{"use strict";n.exports=coreApis.settings},794:n=>{"use strict";n.exports=coreApis.shadowRoot},479:n=>{"use strict";n.exports=coreApis.style}},i={};function o(n){var t=i[n];if(void 0!==t)return t.exports;var m=i[n]={id:n,exports:{}};return e[n](m,m.exports,o),m.exports}t=Object.getPrototypeOf?n=>Object.getPrototypeOf(n):n=>n.__proto__,o.t=function(e,i){if(1&i&&(e=this(e)),8&i)return e;if("object"==typeof e&&e){if(4&i&&e.__esModule)return e;if(16&i&&"function"==typeof e.then)return e}var m=Object.create(null);o.r(m);var A={};n=n||[null,t({}),t([]),t(t)];for(var r=2&i&&e;"object"==typeof r&&!~n.indexOf(r);r=t(r))Object.getOwnPropertyNames(r).forEach((n=>A[n]=()=>e[n]));return A.default=()=>e,o.d(m,A),m},o.d=(n,t)=>{for(var e in t)o.o(t,e)&&!o.o(n,e)&&Object.defineProperty(n,e,{enumerable:!0,get:t[e]})},o.o=(n,t)=>Object.prototype.hasOwnProperty.call(n,t),o.r=n=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(n,"__esModule",{value:!0})};var m={};return(()=>{"use strict";o.d(m,{component:()=>e});const n=coreApis.componentApis.switchOptions,t="simplifyComments",e=(0,n.wrapSwitchOptions)({name:"simplifyOptions",switchProps:{checkedIcon:"mdi-checkbox-marked-circle",notCheckedIcon:"mdi-checkbox-blank-circle-outline"},dimAt:!1,switches:{userLevel:{defaultValue:!0,displayName:"用户等级"},decorateAndTime:{defaultValue:!0,displayName:"装扮 & 时间"},subReplyNewLine:{defaultValue:!0,displayName:"回复换行"},replyEditor:{defaultValue:!0,displayName:"编辑框"},fansMedal:{defaultValue:!1,displayName:"粉丝勋章"},eventBanner:{defaultValue:!0,displayName:"小喇叭横幅"}}})({name:t,displayName:"简化评论区",entry:async n=>{let{metadata:i,settings:m}=n;const{addStyle:A,getDefaultStyleID:r}=await Promise.resolve().then(o.t.bind(o,479,23)),{isContainerStyleQuerySupported:a}=await Promise.resolve().then(o.t.bind(o,533,23)),{addComponentListener:l}=await Promise.resolve().then(o.t.bind(o,905,23));if(l(i.name,(n=>{document.body.classList.toggle("simplify-comment",n)}),!0),a()){const{shadowRootStyles:n}=await Promise.resolve().then(o.t.bind(o,794,23)),e=await Promise.resolve().then(o.t.bind(o,431,23)).then((n=>n.default));n.toggleWithComponent(i.name,{id:t,style:e})}else{const{shadowRootStyles:n}=await Promise.resolve().then(o.t.bind(o,794,23)),t=o(10);Object.keys(m.options).forEach((i=>{if(!i.startsWith("switch-"))return;const o=`${e.name}.${i}`,m=lodash.kebabCase(i.replace(/^switch-/,"")),a=`./${m}.scss`;t.keys().includes(a)&&l(o,(e=>{if(e){const e=t(a);A(e,m),n.addStyle({id:o,style:e})}else document.getElementById(r(m))?.remove(),n.removeStyle(o)}),!0)}))}},instantStyles:[{name:`${t}v1`,style:()=>Promise.resolve().then(o.t.bind(o,617,23))},{name:`${t}v2`,style:()=>Promise.resolve().then(o.t.bind(o,384,23))}],tags:[componentsTags.style],commitHash:"d87d69cfb9d7e0124bd90a06fec4569bd61e02c5",coreVersion:"2.10.7",description:(()=>{const n=o(90);return{...Object.fromEntries(n.keys().map((t=>[t.match(/index\.(.+)\.md$/)[1],n(t)]))),"zh-CN":()=>Promise.resolve().then(o.t.bind(o,477,17)).then((n=>n.default))}})()})})(),m=m.component})())); //# sourceMappingURL=https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/registry/dist/components/style/simplify/comments.js.map \ No newline at end of file diff --git a/bb-evolved/registry/dist/components/style/simplify/live.js b/bb-evolved/registry/dist/components/style/simplify/live.js index dab85413ca..d66f10b214 100644 --- a/bb-evolved/registry/dist/components/style/simplify/live.js +++ b/bb-evolved/registry/dist/components/style/simplify/live.js @@ -8,5 +8,5 @@ i=[[null,i,""]]);var o={};if(e)for(var a=0;a{"use strict";function t(i,t){return function(i){if(Array.isArray(i))return i}(i)||function(i,t){var n=i&&("undefined"!=typeof Symbol&&i[Symbol.iterator]||i["@@iterator"]);if(null==n)return;var e,o,a=[],r=!0,s=!1;try{for(n=n.call(i);!(r=(e=n.next()).done)&&(a.push(e.value),!t||a.length!==t);r=!0);}catch(i){s=!0,o=i}finally{try{r||null==n.return||n.return()}finally{if(s)throw o}}return a}(i,t)||function(i,t){if(!i)return;if("string"==typeof i)return n(i,t);var e=Object.prototype.toString.call(i).slice(8,-1);"Object"===e&&i.constructor&&(e=i.constructor.name);if("Map"===e||"Set"===e)return Array.from(i);if("Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e))return n(i,t)}(i,t)||function(){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 n(i,t){(null==t||t>i.length)&&(t=i.length);for(var n=0,e=new Array(t);n{var e=n(519);e&&e.__esModule&&(e=e.default),i.exports="string"==typeof e?e:e.toString()}},e={};function o(i){var t=e[i];if(void 0!==t)return t.exports;var a=e[i]={id:i,exports:{}};return n[i](a,a.exports,o),a.exports}t=Object.getPrototypeOf?i=>Object.getPrototypeOf(i):i=>i.__proto__,o.t=function(n,e){if(1&e&&(n=this(n)),8&e)return n;if("object"==typeof n&&n){if(4&e&&n.__esModule)return n;if(16&e&&"function"==typeof n.then)return n}var a=Object.create(null);o.r(a);var r={};i=i||[null,t({}),t([]),t(t)];for(var s=2&e&&n;"object"==typeof s&&!~i.indexOf(s);s=t(s))Object.getOwnPropertyNames(s).forEach((i=>r[i]=()=>n[i]));return r.default=()=>n,o.d(a,r),a},o.d=(i,t)=>{for(var n in t)o.o(t,n)&&!o.o(i,n)&&Object.defineProperty(i,n,{enumerable:!0,get:t[n]})},o.o=(i,t)=>Object.prototype.hasOwnProperty.call(i,t),o.r=i=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(i,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(i,"__esModule",{value:!0})};var a={};return(()=>{"use strict";o.d(a,{component:()=>n});const i=coreApis.componentApis.switchOptions,t=coreApis.utils.urls,n=(0,i.wrapSwitchOptions)({name:"simplifyOptions",switches:{vip:{defaultValue:!0,displayName:"老爷图标"},enterPrompt:{defaultValue:!0,displayName:"入场通知"},wealthMedal:{defaultValue:!0,displayName:"荣耀等级勋章"},fansMedal:{defaultValue:!0,displayName:"粉丝勋章"},title:{defaultValue:!0,displayName:"活动头衔"},guard:{defaultValue:!0,displayName:"舰长图标"},systemMessage:{defaultValue:!0,displayName:"全区广播"},welcomeMessage:{defaultValue:!0,displayName:"欢迎信息"},giftMessage:{defaultValue:!0,displayName:"礼物弹幕"},emoticons:{defaultValue:!0,displayName:"表情特效"},guardPurchase:{defaultValue:!0,displayName:"上舰提示"},giftPanel:{defaultValue:!0,displayName:"付费礼物"},headerPanel:{defaultValue:!1,displayName:"标题栏活动"},userEffect:{defaultValue:!0,displayName:"入场特效"},kanban:{defaultValue:!0,displayName:"看板娘"},eventsBanner:{defaultValue:!1,displayName:"活动横幅"},rankList:{defaultValue:!1,displayName:"排行榜"},popup:{defaultValue:!1,displayName:"抽奖提示"},pk:{defaultValue:!1,displayName:"PK浮窗"},topRank:{defaultValue:!1,displayName:"高能榜提示"},recommendedRooms:{defaultValue:!1,displayName:"推荐直播间"},skin:{defaultValue:!1,displayName:"房间皮肤"}}})({name:"simplifyLiveroom",displayName:"简化直播间",entry:async()=>{const{setupSkinSimplify:i}=await Promise.resolve().then(o.bind(o,320));i()},instantStyles:[{name:"simplify-liveroom",style:()=>Promise.resolve().then(o.t.bind(o,973,23)),important:!0}],description:{"zh-CN":"隐藏直播间中各种不需要的内容."},tags:[componentsTags.live,componentsTags.style],urlInclude:t.liveUrls,commitHash:"58c0b438ca2371e397f70466a91572cb2757b142",coreVersion:"2.10.7"})})(),a=a.component})())); +var a=btoa(unescape(encodeURIComponent(JSON.stringify(o)))),r="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(a),s="/*# ".concat(r," */"),l=o.sources.map((function(i){return"/*# sourceURL=".concat(o.sourceRoot||"").concat(i," */")}));return[e].concat(l).concat([s]).join("\n")}return[e].join("\n")}},973:(i,t,n)=>{var e=n(519);e&&e.__esModule&&(e=e.default),i.exports="string"==typeof e?e:e.toString()}},e={};function o(i){var t=e[i];if(void 0!==t)return t.exports;var a=e[i]={id:i,exports:{}};return n[i](a,a.exports,o),a.exports}t=Object.getPrototypeOf?i=>Object.getPrototypeOf(i):i=>i.__proto__,o.t=function(n,e){if(1&e&&(n=this(n)),8&e)return n;if("object"==typeof n&&n){if(4&e&&n.__esModule)return n;if(16&e&&"function"==typeof n.then)return n}var a=Object.create(null);o.r(a);var r={};i=i||[null,t({}),t([]),t(t)];for(var s=2&e&&n;"object"==typeof s&&!~i.indexOf(s);s=t(s))Object.getOwnPropertyNames(s).forEach((i=>r[i]=()=>n[i]));return r.default=()=>n,o.d(a,r),a},o.d=(i,t)=>{for(var n in t)o.o(t,n)&&!o.o(i,n)&&Object.defineProperty(i,n,{enumerable:!0,get:t[n]})},o.o=(i,t)=>Object.prototype.hasOwnProperty.call(i,t),o.r=i=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(i,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(i,"__esModule",{value:!0})};var a={};return(()=>{"use strict";o.d(a,{component:()=>n});const i=coreApis.componentApis.switchOptions,t=coreApis.utils.urls,n=(0,i.wrapSwitchOptions)({name:"simplifyOptions",switches:{vip:{defaultValue:!0,displayName:"老爷图标"},enterPrompt:{defaultValue:!0,displayName:"入场通知"},wealthMedal:{defaultValue:!0,displayName:"荣耀等级勋章"},fansMedal:{defaultValue:!0,displayName:"粉丝勋章"},title:{defaultValue:!0,displayName:"活动头衔"},guard:{defaultValue:!0,displayName:"舰长图标"},systemMessage:{defaultValue:!0,displayName:"全区广播"},welcomeMessage:{defaultValue:!0,displayName:"欢迎信息"},giftMessage:{defaultValue:!0,displayName:"礼物弹幕"},emoticons:{defaultValue:!0,displayName:"表情特效"},guardPurchase:{defaultValue:!0,displayName:"上舰提示"},giftPanel:{defaultValue:!0,displayName:"付费礼物"},headerPanel:{defaultValue:!1,displayName:"标题栏活动"},userEffect:{defaultValue:!0,displayName:"入场特效"},kanban:{defaultValue:!0,displayName:"看板娘"},eventsBanner:{defaultValue:!1,displayName:"活动横幅"},rankList:{defaultValue:!1,displayName:"排行榜"},popup:{defaultValue:!1,displayName:"抽奖提示"},pk:{defaultValue:!1,displayName:"PK浮窗"},topRank:{defaultValue:!1,displayName:"高能榜提示"},recommendedRooms:{defaultValue:!1,displayName:"推荐直播间"},skin:{defaultValue:!1,displayName:"房间皮肤"}}})({name:"simplifyLiveroom",displayName:"简化直播间",entry:async()=>{const{setupSkinSimplify:i}=await Promise.resolve().then(o.bind(o,320));i()},instantStyles:[{name:"simplify-liveroom",style:()=>Promise.resolve().then(o.t.bind(o,973,23)),important:!0}],description:{"zh-CN":"隐藏直播间中各种不需要的内容."},tags:[componentsTags.live,componentsTags.style],urlInclude:t.liveUrls,commitHash:"d87d69cfb9d7e0124bd90a06fec4569bd61e02c5",coreVersion:"2.10.7"})})(),a=a.component})())); //# sourceMappingURL=https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/registry/dist/components/style/simplify/live.js.map \ No newline at end of file diff --git a/bb-evolved/registry/dist/components/style/special-danmaku.js b/bb-evolved/registry/dist/components/style/special-danmaku.js index 2399a03c47..c9b172bc7e 100644 --- a/bb-evolved/registry/dist/components/style/special-danmaku.js +++ b/bb-evolved/registry/dist/components/style/special-danmaku.js @@ -8,5 +8,5 @@ i=[[null,i,""]]);var d={};if(t)for(var e=0;e{"use strict";function a(i,a){return function(i){if(Array.isArray(i))return i}(i)||function(i,a){var n=i&&("undefined"!=typeof Symbol&&i[Symbol.iterator]||i["@@iterator"]);if(null==n)return;var t,d,e=[],l=!0,h=!1;try{for(n=n.call(i);!(l=(t=n.next()).done)&&(e.push(t.value),!a||e.length!==a);l=!0);}catch(i){h=!0,d=i}finally{try{l||null==n.return||n.return()}finally{if(h)throw d}}return e}(i,a)||function(i,a){if(!i)return;if("string"==typeof i)return n(i,a);var t=Object.prototype.toString.call(i).slice(8,-1);"Object"===t&&i.constructor&&(t=i.constructor.name);if("Map"===t||"Set"===t)return Array.from(i);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return n(i,a)}(i,a)||function(){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 n(i,a){(null==a||a>i.length)&&(a=i.length);for(var n=0,t=new Array(a);n{var t=n(796);t&&t.__esModule&&(t=t.default),i.exports="string"==typeof t?t:t.toString()},11:i=>{function a(i){var a=new Error("Cannot find module '"+i+"'");throw a.code="MODULE_NOT_FOUND",a}a.keys=()=>[],a.resolve=a,a.id=11,i.exports=a},840:i=>{"use strict";i.exports="移除高亮弹幕或 UP 主弹幕的特殊样式, 弹幕内容不会移除."}},t={};function d(i){var a=t[i];if(void 0!==a)return a.exports;var e=t[i]={id:i,exports:{}};return n[i](e,e.exports,d),e.exports}a=Object.getPrototypeOf?i=>Object.getPrototypeOf(i):i=>i.__proto__,d.t=function(n,t){if(1&t&&(n=this(n)),8&t)return n;if("object"==typeof n&&n){if(4&t&&n.__esModule)return n;if(16&t&&"function"==typeof n.then)return n}var e=Object.create(null);d.r(e);var l={};i=i||[null,a({}),a([]),a(a)];for(var h=2&t&&n;"object"==typeof h&&!~i.indexOf(h);h=a(h))Object.getOwnPropertyNames(h).forEach((i=>l[i]=()=>n[i]));return l.default=()=>n,d.d(e,l),e},d.d=(i,a)=>{for(var n in a)d.o(a,n)&&!d.o(i,n)&&Object.defineProperty(i,n,{enumerable:!0,get:a[n]})},d.o=(i,a)=>Object.prototype.hasOwnProperty.call(i,a),d.r=i=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(i,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(i,"__esModule",{value:!0})};var e={};return(()=>{"use strict";d.d(e,{component:()=>u});const i=coreApis.componentApis.define,a=coreApis.utils.urls,n=coreApis.settings,t=coreApis.localStorage;var l=function(i){return i[i.Heavy=0]="Heavy",i[i.Stroke=1]="Stroke",i[i.Shadow=2]="Shadow",i}(l||{});const h={[l.Heavy]:"1px 0 1px #000000,0 1px 1px #000000,0 -1px 1px #000000,-1px 0 1px #000000",[l.Stroke]:"0px 0px 1px #000000,0 0 1px #000000,0 0 1px #000000",[l.Shadow]:"1px 1px 2px #000000,0 0 1px #000000"},o=(0,i.defineOptionsMetadata)({highlight:{displayName:"禁用高赞弹幕",defaultValue:!0},up:{displayName:"禁用 UP 主弹幕",defaultValue:!0},upSlogan:{displayName:"禁用带货弹幕",defaultValue:!0},vip:{displayName:"禁用大会员弹幕",defaultValue:!0}}),b="disableSpecialDanmaku",u=(0,i.defineComponentMetadata)({name:b,entry:i=>{let{metadata:a,settings:d}=i;Object.keys(d.options).forEach((i=>{(0,n.addComponentListener)(`${a.name}.${i}`,(a=>{document.body.classList.toggle(`disable-${i}-danmaku-style`,a)}),!0)})),(()=>{const i="bpx_player_profile",a=i=>{const a=lodash.get(i,"dmSetting.fontborder");document.documentElement.style.setProperty("--danmaku-text-shadow",h[a])};a(JSON.parse(localStorage.getItem(i))),(0,t.watchLocalStorage)(((n,t)=>{n===i&&a(JSON.parse(t))}))})()},displayName:"禁用特殊弹幕样式",tags:[componentsTags.style],instantStyles:[{name:b,style:()=>Promise.resolve().then(d.t.bind(d,446,23))}],urlInclude:a.playerUrls,options:o,commitHash:"58c0b438ca2371e397f70466a91572cb2757b142",coreVersion:"2.10.7",description:(()=>{const i=d(11);return{...Object.fromEntries(i.keys().map((a=>[a.match(/index\.(.+)\.md$/)[1],i(a)]))),"zh-CN":()=>Promise.resolve().then(d.t.bind(d,840,17)).then((i=>i.default))}})()})})(),e=e.component})())); +var e=btoa(unescape(encodeURIComponent(JSON.stringify(d)))),l="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(e),h="/*# ".concat(l," */"),o=d.sources.map((function(i){return"/*# sourceURL=".concat(d.sourceRoot||"").concat(i," */")}));return[t].concat(o).concat([h]).join("\n")}return[t].join("\n")}},446:(i,a,n)=>{var t=n(796);t&&t.__esModule&&(t=t.default),i.exports="string"==typeof t?t:t.toString()},11:i=>{function a(i){var a=new Error("Cannot find module '"+i+"'");throw a.code="MODULE_NOT_FOUND",a}a.keys=()=>[],a.resolve=a,a.id=11,i.exports=a},840:i=>{"use strict";i.exports="移除高亮弹幕或 UP 主弹幕的特殊样式, 弹幕内容不会移除."}},t={};function d(i){var a=t[i];if(void 0!==a)return a.exports;var e=t[i]={id:i,exports:{}};return n[i](e,e.exports,d),e.exports}a=Object.getPrototypeOf?i=>Object.getPrototypeOf(i):i=>i.__proto__,d.t=function(n,t){if(1&t&&(n=this(n)),8&t)return n;if("object"==typeof n&&n){if(4&t&&n.__esModule)return n;if(16&t&&"function"==typeof n.then)return n}var e=Object.create(null);d.r(e);var l={};i=i||[null,a({}),a([]),a(a)];for(var h=2&t&&n;"object"==typeof h&&!~i.indexOf(h);h=a(h))Object.getOwnPropertyNames(h).forEach((i=>l[i]=()=>n[i]));return l.default=()=>n,d.d(e,l),e},d.d=(i,a)=>{for(var n in a)d.o(a,n)&&!d.o(i,n)&&Object.defineProperty(i,n,{enumerable:!0,get:a[n]})},d.o=(i,a)=>Object.prototype.hasOwnProperty.call(i,a),d.r=i=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(i,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(i,"__esModule",{value:!0})};var e={};return(()=>{"use strict";d.d(e,{component:()=>u});const i=coreApis.componentApis.define,a=coreApis.utils.urls,n=coreApis.settings,t=coreApis.localStorage;var l=function(i){return i[i.Heavy=0]="Heavy",i[i.Stroke=1]="Stroke",i[i.Shadow=2]="Shadow",i}(l||{});const h={[l.Heavy]:"1px 0 1px #000000,0 1px 1px #000000,0 -1px 1px #000000,-1px 0 1px #000000",[l.Stroke]:"0px 0px 1px #000000,0 0 1px #000000,0 0 1px #000000",[l.Shadow]:"1px 1px 2px #000000,0 0 1px #000000"},o=(0,i.defineOptionsMetadata)({highlight:{displayName:"禁用高赞弹幕",defaultValue:!0},up:{displayName:"禁用 UP 主弹幕",defaultValue:!0},upSlogan:{displayName:"禁用带货弹幕",defaultValue:!0},vip:{displayName:"禁用大会员弹幕",defaultValue:!0}}),b="disableSpecialDanmaku",u=(0,i.defineComponentMetadata)({name:b,entry:i=>{let{metadata:a,settings:d}=i;Object.keys(d.options).forEach((i=>{(0,n.addComponentListener)(`${a.name}.${i}`,(a=>{document.body.classList.toggle(`disable-${i}-danmaku-style`,a)}),!0)})),(()=>{const i="bpx_player_profile",a=i=>{const a=lodash.get(i,"dmSetting.fontborder");document.documentElement.style.setProperty("--danmaku-text-shadow",h[a])};a(JSON.parse(localStorage.getItem(i))),(0,t.watchLocalStorage)(((n,t)=>{n===i&&a(JSON.parse(t))}))})()},displayName:"禁用特殊弹幕样式",tags:[componentsTags.style],instantStyles:[{name:b,style:()=>Promise.resolve().then(d.t.bind(d,446,23))}],urlInclude:a.playerUrls,options:o,commitHash:"d87d69cfb9d7e0124bd90a06fec4569bd61e02c5",coreVersion:"2.10.7",description:(()=>{const i=d(11);return{...Object.fromEntries(i.keys().map((a=>[a.match(/index\.(.+)\.md$/)[1],i(a)]))),"zh-CN":()=>Promise.resolve().then(d.t.bind(d,840,17)).then((i=>i.default))}})()})})(),e=e.component})())); //# sourceMappingURL=https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/registry/dist/components/style/special-danmaku.js.map \ No newline at end of file diff --git a/bb-evolved/registry/dist/components/style/v1-panel.js b/bb-evolved/registry/dist/components/style/v1-panel.js index 3518d134ae..686b9ce723 100644 --- a/bb-evolved/registry/dist/components/style/v1-panel.js +++ b/bb-evolved/registry/dist/components/style/v1-panel.js @@ -8,5 +8,5 @@ t=[[null,t,""]]);var o={};if(r)for(var a=0;a{"use strict";function n(t,n){return function(t){if(Array.isArray(t))return t}(t)||function(t,n){var e=t&&("undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"]);if(null==e)return;var r,o,a=[],i=!0,s=!1;try{for(e=e.call(t);!(i=(r=e.next()).done)&&(a.push(r.value),!n||a.length!==n);i=!0);}catch(t){s=!0,o=t}finally{try{i||null==e.return||e.return()}finally{if(s)throw o}}return a}(t,n)||function(t,n){if(!t)return;if("string"==typeof t)return e(t,n);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return e(t,n)}(t,n)||function(){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 e(t,n){(null==n||n>t.length)&&(n=t.length);for(var e=0,r=new Array(n);e{var r=e(836);r&&r.__esModule&&(r=r.default),t.exports="string"==typeof r?r:r.toString()}},r={};function o(t){var n=r[t];if(void 0!==n)return n.exports;var a=r[t]={id:t,exports:{}};return e[t](a,a.exports,o),a.exports}n=Object.getPrototypeOf?t=>Object.getPrototypeOf(t):t=>t.__proto__,o.t=function(e,r){if(1&r&&(e=this(e)),8&r)return e;if("object"==typeof e&&e){if(4&r&&e.__esModule)return e;if(16&r&&"function"==typeof e.then)return e}var a=Object.create(null);o.r(a);var i={};t=t||[null,n({}),n([]),n(n)];for(var s=2&r&&e;"object"==typeof s&&!~t.indexOf(s);s=n(s))Object.getOwnPropertyNames(s).forEach((t=>i[t]=()=>e[t]));return i.default=()=>e,o.d(a,i),a},o.d=(t,n)=>{for(var e in n)o.o(n,e)&&!o.o(t,e)&&Object.defineProperty(t,e,{enumerable:!0,get:n[e]})},o.o=(t,n)=>Object.prototype.hasOwnProperty.call(t,n),o.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var a={};return(()=>{"use strict";o.d(a,{component:()=>t});const t=(0,coreApis.componentApis.define.defineComponentMetadata)({name:"v1PanelStyle",displayName:"v1 风格设置面板",tags:[componentsTags.style],entry:none,description:{"zh-CN":"使用 v1 风格的设置面板样式"},instantStyles:[{name:"v1PanelStyle",style:()=>Promise.resolve().then(o.t.bind(o,638,23))}],commitHash:"58c0b438ca2371e397f70466a91572cb2757b142",coreVersion:"2.10.7"})})(),a=a.component})())); +var a=btoa(unescape(encodeURIComponent(JSON.stringify(o)))),i="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(a),s="/*# ".concat(i," */"),p=o.sources.map((function(t){return"/*# sourceURL=".concat(o.sourceRoot||"").concat(t," */")}));return[r].concat(p).concat([s]).join("\n")}return[r].join("\n")}},638:(t,n,e)=>{var r=e(836);r&&r.__esModule&&(r=r.default),t.exports="string"==typeof r?r:r.toString()}},r={};function o(t){var n=r[t];if(void 0!==n)return n.exports;var a=r[t]={id:t,exports:{}};return e[t](a,a.exports,o),a.exports}n=Object.getPrototypeOf?t=>Object.getPrototypeOf(t):t=>t.__proto__,o.t=function(e,r){if(1&r&&(e=this(e)),8&r)return e;if("object"==typeof e&&e){if(4&r&&e.__esModule)return e;if(16&r&&"function"==typeof e.then)return e}var a=Object.create(null);o.r(a);var i={};t=t||[null,n({}),n([]),n(n)];for(var s=2&r&&e;"object"==typeof s&&!~t.indexOf(s);s=n(s))Object.getOwnPropertyNames(s).forEach((t=>i[t]=()=>e[t]));return i.default=()=>e,o.d(a,i),a},o.d=(t,n)=>{for(var e in n)o.o(n,e)&&!o.o(t,e)&&Object.defineProperty(t,e,{enumerable:!0,get:n[e]})},o.o=(t,n)=>Object.prototype.hasOwnProperty.call(t,n),o.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var a={};return(()=>{"use strict";o.d(a,{component:()=>t});const t=(0,coreApis.componentApis.define.defineComponentMetadata)({name:"v1PanelStyle",displayName:"v1 风格设置面板",tags:[componentsTags.style],entry:none,description:{"zh-CN":"使用 v1 风格的设置面板样式"},instantStyles:[{name:"v1PanelStyle",style:()=>Promise.resolve().then(o.t.bind(o,638,23))}],commitHash:"d87d69cfb9d7e0124bd90a06fec4569bd61e02c5",coreVersion:"2.10.7"})})(),a=a.component})())); //# sourceMappingURL=https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/registry/dist/components/style/v1-panel.js.map \ No newline at end of file diff --git a/bb-evolved/registry/dist/components/touch/combo-like.js b/bb-evolved/registry/dist/components/touch/combo-like.js index e775c5b994..b3cf4ab783 100644 --- a/bb-evolved/registry/dist/components/touch/combo-like.js +++ b/bb-evolved/registry/dist/components/touch/combo-like.js @@ -1,2 +1,2 @@ -!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["touch/combo-like"]=t():e["touch/combo-like"]=t()}(globalThis,(()=>(()=>{"use strict";var e,t,o={728:e=>{e.exports=coreApis.spinQuery}},n={};function r(e){var t=n[e];if(void 0!==t)return t.exports;var i=n[e]={exports:{}};return o[e](i,i.exports,r),i.exports}t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,r.t=function(o,n){if(1&n&&(o=this(o)),8&n)return o;if("object"==typeof o&&o){if(4&n&&o.__esModule)return o;if(16&n&&"function"==typeof o.then)return o}var i=Object.create(null);r.r(i);var c={};e=e||[null,t({}),t([]),t(t)];for(var s=2&n&&o;"object"==typeof s&&!~e.indexOf(s);s=t(s))Object.getOwnPropertyNames(s).forEach((e=>c[e]=()=>o[e]));return c.default=()=>o,r.d(i,c),i},r.d=(e,t)=>{for(var o in t)r.o(t,o)&&!r.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var i={};r.d(i,{component:()=>a});const c=coreApis.componentApis.define,s=coreApis.utils.urls,a=(0,c.defineComponentMetadata)({name:"touchComboLike",displayName:"三连触摸支持",tags:[componentsTags.touch],enabledByDefault:navigator.maxTouchPoints>0,entry:async()=>{const{select:e}=await Promise.resolve().then(r.t.bind(r,728,23)),t=await e(":is(.ops, .video-toolbar-v1) span.like");if(!t)return;t.style.userSelect="none";const o=(e,o)=>{const n=new CustomEvent(e,o);t.dispatchEvent(n)};let n=!0;t.addEventListener("touchstart",(e=>{e.preventDefault(),n=!0,setTimeout((()=>n=!1),200),o("mousedown",e)})),t.addEventListener("touchend",(e=>{e.preventDefault(),o("mouseup",e),n&&o("click",e)}))},description:{"zh-CN":"为视频页面中的三连操作 (长按点赞) 启用触摸支持."},urlInclude:s.videoUrls,commitHash:"58c0b438ca2371e397f70466a91572cb2757b142",coreVersion:"2.10.7"});return i=i.component})())); +!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["touch/combo-like"]=t():e["touch/combo-like"]=t()}(globalThis,(()=>(()=>{"use strict";var e,t,o={728:e=>{e.exports=coreApis.spinQuery}},n={};function r(e){var t=n[e];if(void 0!==t)return t.exports;var i=n[e]={exports:{}};return o[e](i,i.exports,r),i.exports}t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,r.t=function(o,n){if(1&n&&(o=this(o)),8&n)return o;if("object"==typeof o&&o){if(4&n&&o.__esModule)return o;if(16&n&&"function"==typeof o.then)return o}var i=Object.create(null);r.r(i);var c={};e=e||[null,t({}),t([]),t(t)];for(var s=2&n&&o;"object"==typeof s&&!~e.indexOf(s);s=t(s))Object.getOwnPropertyNames(s).forEach((e=>c[e]=()=>o[e]));return c.default=()=>o,r.d(i,c),i},r.d=(e,t)=>{for(var o in t)r.o(t,o)&&!r.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var i={};r.d(i,{component:()=>a});const c=coreApis.componentApis.define,s=coreApis.utils.urls,a=(0,c.defineComponentMetadata)({name:"touchComboLike",displayName:"三连触摸支持",tags:[componentsTags.touch],enabledByDefault:navigator.maxTouchPoints>0,entry:async()=>{const{select:e}=await Promise.resolve().then(r.t.bind(r,728,23)),t=await e(":is(.ops, .video-toolbar-v1) span.like");if(!t)return;t.style.userSelect="none";const o=(e,o)=>{const n=new CustomEvent(e,o);t.dispatchEvent(n)};let n=!0;t.addEventListener("touchstart",(e=>{e.preventDefault(),n=!0,setTimeout((()=>n=!1),200),o("mousedown",e)})),t.addEventListener("touchend",(e=>{e.preventDefault(),o("mouseup",e),n&&o("click",e)}))},description:{"zh-CN":"为视频页面中的三连操作 (长按点赞) 启用触摸支持."},urlInclude:s.videoUrls,commitHash:"d87d69cfb9d7e0124bd90a06fec4569bd61e02c5",coreVersion:"2.10.7"});return i=i.component})())); //# sourceMappingURL=https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/registry/dist/components/touch/combo-like.js.map \ No newline at end of file diff --git a/bb-evolved/registry/dist/components/touch/double-click-control.js b/bb-evolved/registry/dist/components/touch/double-click-control.js index ac7cbb14af..96d558dfe6 100644 --- a/bb-evolved/registry/dist/components/touch/double-click-control.js +++ b/bb-evolved/registry/dist/components/touch/double-click-control.js @@ -8,5 +8,5 @@ i=[[null,i,""]]);var r={};if(e)for(var t=0;t{"use strict";function o(i,o){return function(i){if(Array.isArray(i))return i}(i)||function(i,o){var l=i&&("undefined"!=typeof Symbol&&i[Symbol.iterator]||i["@@iterator"]);if(null==l)return;var e,r,t=[],n=!0,a=!1;try{for(l=l.call(i);!(n=(e=l.next()).done)&&(t.push(e.value),!o||t.length!==o);n=!0);}catch(i){a=!0,r=i}finally{try{n||null==l.return||l.return()}finally{if(a)throw r}}return t}(i,o)||function(i,o){if(!i)return;if("string"==typeof i)return l(i,o);var e=Object.prototype.toString.call(i).slice(8,-1);"Object"===e&&i.constructor&&(e=i.constructor.name);if("Map"===e||"Set"===e)return Array.from(i);if("Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e))return l(i,o)}(i,o)||function(){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 l(i,o){(null==o||o>i.length)&&(o=i.length);for(var l=0,e=new Array(o);l{var e=l(19);e&&e.__esModule&&(e=e.default),i.exports="string"==typeof e?e:e.toString()},296:i=>{function o(i){var o=new Error("Cannot find module '"+i+"'");throw o.code="MODULE_NOT_FOUND",o}o.keys=()=>[],o.resolve=o,o.id=296,i.exports=o},883:i=>{"use strict";i.exports="将视频播放器的操作方式更改为: 单击显示 / 隐藏控制栏, 双击播放 / 暂停.\n"},847:i=>{"use strict";i.exports=coreApis.utils}},e={};function r(i){var o=e[i];if(void 0!==o)return o.exports;var t=e[i]={id:i,exports:{}};return l[i](t,t.exports,r),t.exports}r.n=i=>{var o=i&&i.__esModule?()=>i.default:()=>i;return r.d(o,{a:o}),o},o=Object.getPrototypeOf?i=>Object.getPrototypeOf(i):i=>i.__proto__,r.t=function(l,e){if(1&e&&(l=this(l)),8&e)return l;if("object"==typeof l&&l){if(4&e&&l.__esModule)return l;if(16&e&&"function"==typeof l.then)return l}var t=Object.create(null);r.r(t);var n={};i=i||[null,o({}),o([]),o(o)];for(var a=2&e&&l;"object"==typeof a&&!~i.indexOf(a);a=o(a))Object.getOwnPropertyNames(a).forEach((i=>n[i]=()=>l[i]));return n.default=()=>l,r.d(t,n),t},r.d=(i,o)=>{for(var l in o)r.o(o,l)&&!r.o(i,l)&&Object.defineProperty(i,l,{enumerable:!0,get:o[l]})},r.o=(i,o)=>Object.prototype.hasOwnProperty.call(i,o),r.r=i=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(i,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(i,"__esModule",{value:!0})};var t={};return(()=>{"use strict";r.d(t,{component:()=>p});const i=coreApis.componentApis.define,o=coreApis.componentApis.video.playerAgent,l=coreApis.observer,e=coreApis.style,n=coreApis.utils.urls;var a=r(469),b=r.n(a);const p=(0,i.defineComponentMetadata)({name:"doubleClickControl",displayName:"启用双击控制",tags:[componentsTags.touch],enabledByDefault:navigator.maxTouchPoints>0,urlInclude:n.playerUrls,entry:async()=>{(0,e.addStyle)(b());const i="disable-original-hover";(0,l.videoChange)((async()=>{const l=await o.playerAgent.query.playerArea();if(l.classList.contains(i))return;l.classList.add(i);const e=o.playerAgent.query.video.container.sync(),{DoubleClickEvent:t}=await Promise.resolve().then(r.t.bind(r,847,23)),n=new t((()=>o.playerAgent.togglePlay()),!0);n.singleClickHandler=()=>{l.classList.toggle("touch-video-control-show")},n.bind(e)}))},commitHash:"58c0b438ca2371e397f70466a91572cb2757b142",coreVersion:"2.10.7",description:(()=>{const i=r(296);return{...Object.fromEntries(i.keys().map((o=>[o.match(/index\.(.+)\.md$/)[1],i(o)]))),"zh-CN":()=>Promise.resolve().then(r.t.bind(r,883,17)).then((i=>i.default))}})()})})(),t=t.component})())); +var t=btoa(unescape(encodeURIComponent(JSON.stringify(r)))),n="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(t),a="/*# ".concat(n," */"),b=r.sources.map((function(i){return"/*# sourceURL=".concat(r.sourceRoot||"").concat(i," */")}));return[e].concat(b).concat([a]).join("\n")}return[e].join("\n")}},469:(i,o,l)=>{var e=l(19);e&&e.__esModule&&(e=e.default),i.exports="string"==typeof e?e:e.toString()},296:i=>{function o(i){var o=new Error("Cannot find module '"+i+"'");throw o.code="MODULE_NOT_FOUND",o}o.keys=()=>[],o.resolve=o,o.id=296,i.exports=o},883:i=>{"use strict";i.exports="将视频播放器的操作方式更改为: 单击显示 / 隐藏控制栏, 双击播放 / 暂停.\n"},847:i=>{"use strict";i.exports=coreApis.utils}},e={};function r(i){var o=e[i];if(void 0!==o)return o.exports;var t=e[i]={id:i,exports:{}};return l[i](t,t.exports,r),t.exports}r.n=i=>{var o=i&&i.__esModule?()=>i.default:()=>i;return r.d(o,{a:o}),o},o=Object.getPrototypeOf?i=>Object.getPrototypeOf(i):i=>i.__proto__,r.t=function(l,e){if(1&e&&(l=this(l)),8&e)return l;if("object"==typeof l&&l){if(4&e&&l.__esModule)return l;if(16&e&&"function"==typeof l.then)return l}var t=Object.create(null);r.r(t);var n={};i=i||[null,o({}),o([]),o(o)];for(var a=2&e&&l;"object"==typeof a&&!~i.indexOf(a);a=o(a))Object.getOwnPropertyNames(a).forEach((i=>n[i]=()=>l[i]));return n.default=()=>l,r.d(t,n),t},r.d=(i,o)=>{for(var l in o)r.o(o,l)&&!r.o(i,l)&&Object.defineProperty(i,l,{enumerable:!0,get:o[l]})},r.o=(i,o)=>Object.prototype.hasOwnProperty.call(i,o),r.r=i=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(i,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(i,"__esModule",{value:!0})};var t={};return(()=>{"use strict";r.d(t,{component:()=>p});const i=coreApis.componentApis.define,o=coreApis.componentApis.video.playerAgent,l=coreApis.observer,e=coreApis.style,n=coreApis.utils.urls;var a=r(469),b=r.n(a);const p=(0,i.defineComponentMetadata)({name:"doubleClickControl",displayName:"启用双击控制",tags:[componentsTags.touch],enabledByDefault:navigator.maxTouchPoints>0,urlInclude:n.playerUrls,entry:async()=>{(0,e.addStyle)(b());const i="disable-original-hover";(0,l.videoChange)((async()=>{const l=await o.playerAgent.query.playerArea();if(l.classList.contains(i))return;l.classList.add(i);const e=o.playerAgent.query.video.container.sync(),{DoubleClickEvent:t}=await Promise.resolve().then(r.t.bind(r,847,23)),n=new t((()=>o.playerAgent.togglePlay()),!0);n.singleClickHandler=()=>{l.classList.toggle("touch-video-control-show")},n.bind(e)}))},commitHash:"d87d69cfb9d7e0124bd90a06fec4569bd61e02c5",coreVersion:"2.10.7",description:(()=>{const i=r(296);return{...Object.fromEntries(i.keys().map((o=>[o.match(/index\.(.+)\.md$/)[1],i(o)]))),"zh-CN":()=>Promise.resolve().then(r.t.bind(r,883,17)).then((i=>i.default))}})()})})(),t=t.component})())); //# sourceMappingURL=https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/registry/dist/components/touch/double-click-control.js.map \ No newline at end of file diff --git a/bb-evolved/registry/dist/components/touch/mini-player.js b/bb-evolved/registry/dist/components/touch/mini-player.js index b0ac9c1bc4..4d8e6fa37a 100644 --- a/bb-evolved/registry/dist/components/touch/mini-player.js +++ b/bb-evolved/registry/dist/components/touch/mini-player.js @@ -8,5 +8,5 @@ e=[[null,e,""]]);var r={};if(o)for(var i=0;i{"use strict";function t(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=e&&("undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]);if(null==n)return;var o,r,i=[],a=!0,c=!1;try{for(n=n.call(e);!(a=(o=n.next()).done)&&(i.push(o.value),!t||i.length!==t);a=!0);}catch(e){c=!0,r=e}finally{try{a||null==n.return||n.return()}finally{if(c)throw r}}return i}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return n(e,t);var o=Object.prototype.toString.call(e).slice(8,-1);"Object"===o&&e.constructor&&(o=e.constructor.name);if("Map"===o||"Set"===o)return Array.from(e);if("Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o))return n(e,t)}(e,t)||function(){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 n(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n{var o=n(551);o&&o.__esModule&&(o=o.default),e.exports="string"==typeof o?o:o.toString()},728:e=>{"use strict";e.exports=coreApis.spinQuery}},t={};function n(o){var r=t[o];if(void 0!==r)return r.exports;var i=t[o]={id:o,exports:{}};return e[o](i,i.exports,n),i.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var o in t)n.o(t,o)&&!n.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t);var o={};return(()=>{"use strict";n.d(o,{component:()=>i});const e=coreApis.componentApis.define,t=coreApis.utils.urls,r=async e=>{if(document.URL.startsWith("https://live.bilibili.com")){const{touchLiveMiniPlayer:t}=await Promise.resolve().then(n.bind(n,505));await t(e)}else{const{touchVideoMiniPlayer:t}=await Promise.resolve().then(n.bind(n,121));await t(e)}},i=(0,e.defineComponentMetadata)({name:"touchMiniPlayer",displayName:"迷你播放器触摸拖动",description:{"zh-CN":"使迷你播放器的拖动条可以触摸拖动."},enabledByDefault:navigator.maxTouchPoints>0,tags:[componentsTags.touch],urlInclude:[...t.videoAndBangumiUrls,...t.liveUrls],entry:()=>r(!0),reload:()=>r(!0),unload:()=>r(!1),options:{touchMoveDistance:{displayName:"拖动触发最小距离",defaultValue:10,hidden:!0}},commitHash:"58c0b438ca2371e397f70466a91572cb2757b142",coreVersion:"2.10.7"})})(),o=o.component})())); +var i=btoa(unescape(encodeURIComponent(JSON.stringify(r)))),a="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(i),c="/*# ".concat(a," */"),s=r.sources.map((function(e){return"/*# sourceURL=".concat(r.sourceRoot||"").concat(e," */")}));return[o].concat(s).concat([c]).join("\n")}return[o].join("\n")}},857:(e,t,n)=>{var o=n(551);o&&o.__esModule&&(o=o.default),e.exports="string"==typeof o?o:o.toString()},728:e=>{"use strict";e.exports=coreApis.spinQuery}},t={};function n(o){var r=t[o];if(void 0!==r)return r.exports;var i=t[o]={id:o,exports:{}};return e[o](i,i.exports,n),i.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var o in t)n.o(t,o)&&!n.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t);var o={};return(()=>{"use strict";n.d(o,{component:()=>i});const e=coreApis.componentApis.define,t=coreApis.utils.urls,r=async e=>{if(document.URL.startsWith("https://live.bilibili.com")){const{touchLiveMiniPlayer:t}=await Promise.resolve().then(n.bind(n,505));await t(e)}else{const{touchVideoMiniPlayer:t}=await Promise.resolve().then(n.bind(n,121));await t(e)}},i=(0,e.defineComponentMetadata)({name:"touchMiniPlayer",displayName:"迷你播放器触摸拖动",description:{"zh-CN":"使迷你播放器的拖动条可以触摸拖动."},enabledByDefault:navigator.maxTouchPoints>0,tags:[componentsTags.touch],urlInclude:[...t.videoAndBangumiUrls,...t.liveUrls],entry:()=>r(!0),reload:()=>r(!0),unload:()=>r(!1),options:{touchMoveDistance:{displayName:"拖动触发最小距离",defaultValue:10,hidden:!0}},commitHash:"d87d69cfb9d7e0124bd90a06fec4569bd61e02c5",coreVersion:"2.10.7"})})(),o=o.component})())); //# sourceMappingURL=https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/registry/dist/components/touch/mini-player.js.map \ No newline at end of file diff --git a/bb-evolved/registry/dist/components/touch/player-control.js b/bb-evolved/registry/dist/components/touch/player-control.js index 9ce4c5e29f..48c81a4fcb 100644 --- a/bb-evolved/registry/dist/components/touch/player-control.js +++ b/bb-evolved/registry/dist/components/touch/player-control.js @@ -8,5 +8,5 @@ l=[[null,l,""]]);var o={};if(i)for(var a=0;a{"use strict";function e(l,e){return function(l){if(Array.isArray(l))return l}(l)||function(l,e){var r=l&&("undefined"!=typeof Symbol&&l[Symbol.iterator]||l["@@iterator"]);if(null==r)return;var i,o,a=[],t=!0,p=!1;try{for(r=r.call(l);!(t=(i=r.next()).done)&&(a.push(i.value),!e||a.length!==e);t=!0);}catch(l){p=!0,o=l}finally{try{t||null==r.return||r.return()}finally{if(p)throw o}}return a}(l,e)||function(l,e){if(!l)return;if("string"==typeof l)return r(l,e);var i=Object.prototype.toString.call(l).slice(8,-1);"Object"===i&&l.constructor&&(i=l.constructor.name);if("Map"===i||"Set"===i)return Array.from(l);if("Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i))return r(l,e)}(l,e)||function(){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 r(l,e){(null==e||e>l.length)&&(e=l.length);for(var r=0,i=new Array(e);r{var i=r(653);i&&i.__esModule&&(i=i.default),l.exports="string"==typeof i?i:i.toString()}},i={};function o(l){var e=i[l];if(void 0!==e)return e.exports;var a=i[l]={id:l,exports:{}};return r[l](a,a.exports,o),a.exports}e=Object.getPrototypeOf?l=>Object.getPrototypeOf(l):l=>l.__proto__,o.t=function(r,i){if(1&i&&(r=this(r)),8&i)return r;if("object"==typeof r&&r){if(4&i&&r.__esModule)return r;if(16&i&&"function"==typeof r.then)return r}var a=Object.create(null);o.r(a);var t={};l=l||[null,e({}),e([]),e(e)];for(var p=2&i&&r;"object"==typeof p&&!~l.indexOf(p);p=e(p))Object.getOwnPropertyNames(p).forEach((l=>t[l]=()=>r[l]));return t.default=()=>r,o.d(a,t),a},o.d=(l,e)=>{for(var r in e)o.o(e,r)&&!o.o(l,r)&&Object.defineProperty(l,r,{enumerable:!0,get:e[r]})},o.o=(l,e)=>Object.prototype.hasOwnProperty.call(l,e),o.r=l=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(l,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(l,"__esModule",{value:!0})};var a={};return(()=>{"use strict";o.d(a,{component:()=>t});const l=coreApis.componentApis.define,e=coreApis.utils.urls,r="touch-player-control",i=async()=>{document.body.classList.add(r)},t=(0,l.defineComponentMetadata)({name:"touchPlayerControl",displayName:"控制栏触摸优化",description:{"zh-CN":"增大播放器控制栏里按钮的间距, 方便触屏使用."},tags:[componentsTags.touch,componentsTags.style],enabledByDefault:navigator.maxTouchPoints>0,urlInclude:e.playerUrls,instantStyles:[{name:r,style:()=>Promise.resolve().then(o.t.bind(o,807,23))}],entry:i,reload:i,unload:()=>{document.body.classList.remove(r)},commitHash:"58c0b438ca2371e397f70466a91572cb2757b142",coreVersion:"2.10.7"})})(),a=a.component})())); +var a=btoa(unescape(encodeURIComponent(JSON.stringify(o)))),t="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(a),p="/*# ".concat(t," */"),n=o.sources.map((function(l){return"/*# sourceURL=".concat(o.sourceRoot||"").concat(l," */")}));return[i].concat(n).concat([p]).join("\n")}return[i].join("\n")}},807:(l,e,r)=>{var i=r(653);i&&i.__esModule&&(i=i.default),l.exports="string"==typeof i?i:i.toString()}},i={};function o(l){var e=i[l];if(void 0!==e)return e.exports;var a=i[l]={id:l,exports:{}};return r[l](a,a.exports,o),a.exports}e=Object.getPrototypeOf?l=>Object.getPrototypeOf(l):l=>l.__proto__,o.t=function(r,i){if(1&i&&(r=this(r)),8&i)return r;if("object"==typeof r&&r){if(4&i&&r.__esModule)return r;if(16&i&&"function"==typeof r.then)return r}var a=Object.create(null);o.r(a);var t={};l=l||[null,e({}),e([]),e(e)];for(var p=2&i&&r;"object"==typeof p&&!~l.indexOf(p);p=e(p))Object.getOwnPropertyNames(p).forEach((l=>t[l]=()=>r[l]));return t.default=()=>r,o.d(a,t),a},o.d=(l,e)=>{for(var r in e)o.o(e,r)&&!o.o(l,r)&&Object.defineProperty(l,r,{enumerable:!0,get:e[r]})},o.o=(l,e)=>Object.prototype.hasOwnProperty.call(l,e),o.r=l=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(l,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(l,"__esModule",{value:!0})};var a={};return(()=>{"use strict";o.d(a,{component:()=>t});const l=coreApis.componentApis.define,e=coreApis.utils.urls,r="touch-player-control",i=async()=>{document.body.classList.add(r)},t=(0,l.defineComponentMetadata)({name:"touchPlayerControl",displayName:"控制栏触摸优化",description:{"zh-CN":"增大播放器控制栏里按钮的间距, 方便触屏使用."},tags:[componentsTags.touch,componentsTags.style],enabledByDefault:navigator.maxTouchPoints>0,urlInclude:e.playerUrls,instantStyles:[{name:r,style:()=>Promise.resolve().then(o.t.bind(o,807,23))}],entry:i,reload:i,unload:()=>{document.body.classList.remove(r)},commitHash:"d87d69cfb9d7e0124bd90a06fec4569bd61e02c5",coreVersion:"2.10.7"})})(),a=a.component})())); //# sourceMappingURL=https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/registry/dist/components/touch/player-control.js.map \ No newline at end of file diff --git a/bb-evolved/registry/dist/components/touch/player-gestures.js b/bb-evolved/registry/dist/components/touch/player-gestures.js index 8158a35866..86ca70ac70 100644 --- a/bb-evolved/registry/dist/components/touch/player-gestures.js +++ b/bb-evolved/registry/dist/components/touch/player-gestures.js @@ -11,5 +11,5 @@ var o=this[i][0];null!=o&&(s[o]=!0)}for(var a=0;a{"use strict";var r,s=function(){return void 0===r&&( // @see http://browserhacks.com/#hack-e71d8692f65334173fee715c222cb805 // @see https://github.com/webpack-contrib/style-loader/issues/177 -r=Boolean(window&&document&&document.all&&!window.atob)),r},i=function(){var e={};return function(t){if(void 0===e[t]){var n=document.querySelector(t);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}e[t]=n}return e[t]}}(),o=[];function a(e){for(var t=-1,n=0;n{"use strict";n.r(t),n.d(t,{default:()=>b});var r=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"gesture-preview",class:{opened:e.opened}},[t("div",{staticClass:"gesture-preview-content"},[t("div",{staticClass:"brightness"},[t("ProgressRing",{attrs:{size:100,progress:100*e.preview.brightness}}),e._v(" "),t("div",{staticClass:"label"},[t("div",{staticClass:"name"},[e._v("亮度")]),e._v(" "),t("div",{staticClass:"value"},[e._v("\n "+e._s(e._f("percent")(e.preview.brightness))+"\n ")])])],1),e._v(" "),t("div",{staticClass:"progress"},[t("div",{staticClass:"videoshot",style:e.videoshotStyle}),e._v(" "),t("div",{directives:[{name:"show",rawName:"v-show",value:null!==e.preview.progress,expression:"preview.progress !== null"}],staticClass:"preview"},[e.progressNaN?e._e():t("div",{staticClass:"diff"},[e._v("\n "+e._s(e._f("progressDiff")(e.preview.progress-e.store.progress))+"\n ")]),e._v(" "),t("div",{staticClass:"seek-mode"},[e._v("\n "+e._s(e.progressNaN?"取消调整":e.preview.seekMode)+"\n ")])]),e._v(" "),t("div",{directives:[{name:"show",rawName:"v-show",value:null===e.preview.progress,expression:"preview.progress === null"}],staticClass:"name"},[e._v("进度")]),e._v(" "),t("div",{staticClass:"progress-label"},[e._v("\n "+e._s(e._f("progress")(e.progressValid?e.preview.progress:e.store.progress))+"\n ")])]),e._v(" "),t("div",{staticClass:"volume"},[t("ProgressRing",{attrs:{size:100,progress:100*e.preview.volume}}),e._v(" "),t("div",{staticClass:"label"},[t("div",{staticClass:"name"},[e._v("音量")]),e._v(" "),t("div",{staticClass:"value"},[e._v("\n "+e._s(e._f("percent")(e.preview.volume))+"\n ")])])],1)]),e._v(" "),t("div",{staticClass:"progress-bar"},[t("ProgressBar",{attrs:{progress:e.progressValid?e.preview.progress:e.store.progress,max:e.video.duration}})],1)])};r._withStripped=!0;const s=coreApis.ui;var i=n(847);const o=coreApis.utils.formatters;var a=n(162);function l(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}class c{constructor(){l(this,"aid",unsafeWindow.aid),l(this,"cid",unsafeWindow.cid),l(this,"viewWidth",120),l(this,"viewHeight",70),l(this,"cidData",null),l(this,"blocked",!1),l(this,"workingPromise",null)}async getVideoshot(e){if(!this.aid||!this.cid||this.blocked)return null;if(this.workingPromise)return this.workingPromise;const{getJson:t}=await Promise.resolve().then(n.t.bind(n,416,23));if(!this.cidData){this.workingPromise=t(`https://api.bilibili.com/x/player/videoshot?aid=${this.aid}&cid=${this.cid}&index=1`);const n=await this.workingPromise;return this.workingPromise=null,-412===n.code?(this.blocked=!0,null):(this.cidData=n.data,this.getVideoshot(e))}const r=this.cidData,s=r.index;let i=1;for(let t=s.length-1;t>0;t--)if(e>=s[t]){i=t;break}const o=r.image;if(null===o)return null;const a=r.img_x_len??10,l=r.img_y_len??10,c=a*this.viewWidth,p=l*this.viewHeight,u=this.viewWidth,d=this.viewHeight,v=-(i-1)%100%a*u,h=-Math.floor((i-1)%100/l)*d;return{backgroundImage:`url(${o[Math.floor(i/100)]})`,backgroundPosition:`${v}px ${h}px`,backgroundSize:`${c}px ${p}px`}}}var p=n(16);const u=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0;const s=e+t;return s>n?n:s(0,o.formatDuration)(e,1),progressDiff:e=>`${e>0?"+":"-"}${(e=>{e=Math.abs(e);const t=Math.floor(e/3600),n=Math.floor((e-3600*t)/60),r=e-3600*t-60*n;let s=`${(0,i.fixed)(r)}秒`;return n>0&&(s=`${n}分${s}`),t>0&&(s=`${t}时${s}`),s})(e)}`},data(){const e={progress:0,brightness:1,volume:.66};return{opened:!1,video:dq("video"),videoshot:new c,videoshotStyle:{},store:e,preview:{...e,progress:null,seekMode:a.J.Fast}}},computed:{progressNaN(){return Number.isNaN(this.preview.progress)},progressNull(){return null===this.preview.progress},progressValid(){return!this.progressNaN&&!this.progressNull}},methods:{sync(){const e=dq("video");this.video=e,this.store.volume=e.volume,this.store.progress=e.currentTime,this.store.brightness=(()=>{if(e.style.filter){const t=e.style.filter.match(/brightness\((.+)\)/);return t?parseFloat(t[1]):1}return 1})(),this.preview={...this.preview,...this.store,progress:null}},startPreview(e){let{brightness:t,volume:n,progress:r}=e;if(this.opened=!0,void 0!==r){this.preview.progress=u(this.store.progress,r,this.video.duration);this.videoshot.getVideoshot(this.preview.progress).then((e=>{this.videoshotStyle=e}))}else void 0!==t?this.preview.brightness=u(this.store.brightness,t,1/0):void 0!==n&&(this.preview.volume=u(this.store.volume,n)),this.apply({brightness:t,volume:n})},cancelPreview(){this.preview.progress=NaN},endPreview(){unsafeWindow.touchGestureDebug||(this.opened=!1),this.store.volume!==this.preview.volume&&(0,p.Y)(this.preview.volume),Number.isNaN(this.preview.progress)?this.preview.progress=null:this.store.progress!==this.preview.progress&&null!==this.preview.progress&&this.apply({progress:this.preview.progress})},async apply(e){let{brightness:t,volume:r,progress:s}=e;const i=this.video;if(i)if(void 0!==t){const{setBrightness:e}=await Promise.resolve().then(n.bind(n,597));e(i,this.preview.brightness)}else if(void 0!==r){const{setVolume:e}=await Promise.resolve().then(n.bind(n,16));e(i,this.preview.volume)}else if(void 0!==s){const{setProgress:e}=await Promise.resolve().then(n.bind(n,441));e(i,s)}}}}),v=d;var h=n(991),g=n.n(h),f=n(314),A=n.n(f),m={insert:"head",singleton:!1};g()(A(),m);A().locals;var w=function(e,t,n,r,s,i,o,a){var l,c="function"==typeof e?e.options:e;if(t&&(c.render=t,c.staticRenderFns=n,c._compiled=!0),r&&(c.functional=!0),i&&(c._scopeId="data-v-"+i),o?(l=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),s&&s.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(o)},c._ssrRegister=l):s&&(l=a?function(){s.call(this,(c.functional?this.parent:this).$root.$options.shadowRoot)}:s),l)if(c.functional){c._injectStyles=l;var p=c.render;c.render=function(e,t){return l.call(t),p(e,t)}}else{var u=c.beforeCreate;c.beforeCreate=u?[].concat(u,l):[l]}return{exports:e,options:c}}(v,r,[],!1,null,null,null);const b=w.exports},416:e=>{"use strict";e.exports=coreApis.ajax},104:e=>{"use strict";e.exports=coreApis.observer},847:e=>{"use strict";e.exports=coreApis.utils}},r={};function s(e){var t=r[e];if(void 0!==t)return t.exports;var i=r[e]={id:e,exports:{}};return n[e](i,i.exports,s),i.exports}s.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return s.d(t,{a:t}),t},t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,s.t=function(n,r){if(1&r&&(n=this(n)),8&r)return n;if("object"==typeof n&&n){if(4&r&&n.__esModule)return n;if(16&r&&"function"==typeof n.then)return n}var i=Object.create(null);s.r(i);var o={};e=e||[null,t({}),t([]),t(t)];for(var a=2&r&&n;"object"==typeof a&&!~e.indexOf(a);a=t(a))Object.getOwnPropertyNames(a).forEach((e=>o[e]=()=>n[e]));return o.default=()=>n,s.d(i,o),i},s.d=(e,t)=>{for(var n in t)s.o(t,n)&&!s.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},s.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),s.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},s.nc=void 0;var i={};return(()=>{"use strict";s.d(i,{component:()=>r});const e=coreApis.componentApis.define,t=coreApis.utils.urls,n=coreApis.componentApis.video.playerAgent,r=(0,e.defineComponentMetadata)({name:"touchPlayerGestures",displayName:"播放器触摸手势",enabledByDefault:navigator.maxTouchPoints>0,tags:[componentsTags.touch],description:{"zh-CN":"为播放器启用触摸手势支持:\n- 左右滑动可调整进度\n- 上下滑动可调整音量\n- 进度调整可在左上角和右上角取消\n- 进度调整时在不同位置滑动, 可以使用3档不同的灵敏度."},entry:async()=>{const{videoChange:e}=await Promise.resolve().then(s.t.bind(s,104,23));e((async()=>{if(!await n.playerAgent.query.video.element())return;let e;if(!dq(".gesture-preview")){const t=await Promise.resolve().then(s.bind(s,761)),{mountVueComponent:r}=await Promise.resolve().then(s.t.bind(s,847,23));e=r(t),n.playerAgent.query.video.subtitle.sync()?.insertAdjacentElement("beforebegin",e.$el)}const{Swiper:t}=await Promise.resolve().then(s.bind(s,413)),r=new t(n.playerAgent.query.video.container.sync());r.action.addEventListener("start",(()=>{e.sync()})),r.action.addEventListener("cancel",(()=>{e.cancelPreview()})),r.action.addEventListener("end",(()=>{e.endPreview()})),["volume","brightness"].forEach((t=>{r.action.addEventListener(t,(n=>{e.startPreview({[t]:n.detail})}))})),r.action.addEventListener("progress",(t=>{const{progress:n,mode:r}=t.detail;e.preview.seekMode=r,e.startPreview({progress:n})}))}))},urlInclude:t.playerUrls,options:{swiperDistance:{displayName:"手势触发最小距离",defaultValue:10,hidden:!0}},commitHash:"58c0b438ca2371e397f70466a91572cb2757b142",coreVersion:"2.10.7"})})(),i=i.component})())); +r=Boolean(window&&document&&document.all&&!window.atob)),r},i=function(){var e={};return function(t){if(void 0===e[t]){var n=document.querySelector(t);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}e[t]=n}return e[t]}}(),o=[];function a(e){for(var t=-1,n=0;n{"use strict";n.r(t),n.d(t,{default:()=>b});var r=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"gesture-preview",class:{opened:e.opened}},[t("div",{staticClass:"gesture-preview-content"},[t("div",{staticClass:"brightness"},[t("ProgressRing",{attrs:{size:100,progress:100*e.preview.brightness}}),e._v(" "),t("div",{staticClass:"label"},[t("div",{staticClass:"name"},[e._v("亮度")]),e._v(" "),t("div",{staticClass:"value"},[e._v("\n "+e._s(e._f("percent")(e.preview.brightness))+"\n ")])])],1),e._v(" "),t("div",{staticClass:"progress"},[t("div",{staticClass:"videoshot",style:e.videoshotStyle}),e._v(" "),t("div",{directives:[{name:"show",rawName:"v-show",value:null!==e.preview.progress,expression:"preview.progress !== null"}],staticClass:"preview"},[e.progressNaN?e._e():t("div",{staticClass:"diff"},[e._v("\n "+e._s(e._f("progressDiff")(e.preview.progress-e.store.progress))+"\n ")]),e._v(" "),t("div",{staticClass:"seek-mode"},[e._v("\n "+e._s(e.progressNaN?"取消调整":e.preview.seekMode)+"\n ")])]),e._v(" "),t("div",{directives:[{name:"show",rawName:"v-show",value:null===e.preview.progress,expression:"preview.progress === null"}],staticClass:"name"},[e._v("进度")]),e._v(" "),t("div",{staticClass:"progress-label"},[e._v("\n "+e._s(e._f("progress")(e.progressValid?e.preview.progress:e.store.progress))+"\n ")])]),e._v(" "),t("div",{staticClass:"volume"},[t("ProgressRing",{attrs:{size:100,progress:100*e.preview.volume}}),e._v(" "),t("div",{staticClass:"label"},[t("div",{staticClass:"name"},[e._v("音量")]),e._v(" "),t("div",{staticClass:"value"},[e._v("\n "+e._s(e._f("percent")(e.preview.volume))+"\n ")])])],1)]),e._v(" "),t("div",{staticClass:"progress-bar"},[t("ProgressBar",{attrs:{progress:e.progressValid?e.preview.progress:e.store.progress,max:e.video.duration}})],1)])};r._withStripped=!0;const s=coreApis.ui;var i=n(847);const o=coreApis.utils.formatters;var a=n(162);function l(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}class c{constructor(){l(this,"aid",unsafeWindow.aid),l(this,"cid",unsafeWindow.cid),l(this,"viewWidth",120),l(this,"viewHeight",70),l(this,"cidData",null),l(this,"blocked",!1),l(this,"workingPromise",null)}async getVideoshot(e){if(!this.aid||!this.cid||this.blocked)return null;if(this.workingPromise)return this.workingPromise;const{getJson:t}=await Promise.resolve().then(n.t.bind(n,416,23));if(!this.cidData){this.workingPromise=t(`https://api.bilibili.com/x/player/videoshot?aid=${this.aid}&cid=${this.cid}&index=1`);const n=await this.workingPromise;return this.workingPromise=null,-412===n.code?(this.blocked=!0,null):(this.cidData=n.data,this.getVideoshot(e))}const r=this.cidData,s=r.index;let i=1;for(let t=s.length-1;t>0;t--)if(e>=s[t]){i=t;break}const o=r.image;if(null===o)return null;const a=r.img_x_len??10,l=r.img_y_len??10,c=a*this.viewWidth,p=l*this.viewHeight,u=this.viewWidth,d=this.viewHeight,v=-(i-1)%100%a*u,h=-Math.floor((i-1)%100/l)*d;return{backgroundImage:`url(${o[Math.floor(i/100)]})`,backgroundPosition:`${v}px ${h}px`,backgroundSize:`${c}px ${p}px`}}}var p=n(16);const u=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0;const s=e+t;return s>n?n:s(0,o.formatDuration)(e,1),progressDiff:e=>`${e>0?"+":"-"}${(e=>{e=Math.abs(e);const t=Math.floor(e/3600),n=Math.floor((e-3600*t)/60),r=e-3600*t-60*n;let s=`${(0,i.fixed)(r)}秒`;return n>0&&(s=`${n}分${s}`),t>0&&(s=`${t}时${s}`),s})(e)}`},data(){const e={progress:0,brightness:1,volume:.66};return{opened:!1,video:dq("video"),videoshot:new c,videoshotStyle:{},store:e,preview:{...e,progress:null,seekMode:a.J.Fast}}},computed:{progressNaN(){return Number.isNaN(this.preview.progress)},progressNull(){return null===this.preview.progress},progressValid(){return!this.progressNaN&&!this.progressNull}},methods:{sync(){const e=dq("video");this.video=e,this.store.volume=e.volume,this.store.progress=e.currentTime,this.store.brightness=(()=>{if(e.style.filter){const t=e.style.filter.match(/brightness\((.+)\)/);return t?parseFloat(t[1]):1}return 1})(),this.preview={...this.preview,...this.store,progress:null}},startPreview(e){let{brightness:t,volume:n,progress:r}=e;if(this.opened=!0,void 0!==r){this.preview.progress=u(this.store.progress,r,this.video.duration);this.videoshot.getVideoshot(this.preview.progress).then((e=>{this.videoshotStyle=e}))}else void 0!==t?this.preview.brightness=u(this.store.brightness,t,1/0):void 0!==n&&(this.preview.volume=u(this.store.volume,n)),this.apply({brightness:t,volume:n})},cancelPreview(){this.preview.progress=NaN},endPreview(){unsafeWindow.touchGestureDebug||(this.opened=!1),this.store.volume!==this.preview.volume&&(0,p.Y)(this.preview.volume),Number.isNaN(this.preview.progress)?this.preview.progress=null:this.store.progress!==this.preview.progress&&null!==this.preview.progress&&this.apply({progress:this.preview.progress})},async apply(e){let{brightness:t,volume:r,progress:s}=e;const i=this.video;if(i)if(void 0!==t){const{setBrightness:e}=await Promise.resolve().then(n.bind(n,597));e(i,this.preview.brightness)}else if(void 0!==r){const{setVolume:e}=await Promise.resolve().then(n.bind(n,16));e(i,this.preview.volume)}else if(void 0!==s){const{setProgress:e}=await Promise.resolve().then(n.bind(n,441));e(i,s)}}}}),v=d;var h=n(991),g=n.n(h),f=n(314),A=n.n(f),m={insert:"head",singleton:!1};g()(A(),m);A().locals;var w=function(e,t,n,r,s,i,o,a){var l,c="function"==typeof e?e.options:e;if(t&&(c.render=t,c.staticRenderFns=n,c._compiled=!0),r&&(c.functional=!0),i&&(c._scopeId="data-v-"+i),o?(l=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),s&&s.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(o)},c._ssrRegister=l):s&&(l=a?function(){s.call(this,(c.functional?this.parent:this).$root.$options.shadowRoot)}:s),l)if(c.functional){c._injectStyles=l;var p=c.render;c.render=function(e,t){return l.call(t),p(e,t)}}else{var u=c.beforeCreate;c.beforeCreate=u?[].concat(u,l):[l]}return{exports:e,options:c}}(v,r,[],!1,null,null,null);const b=w.exports},416:e=>{"use strict";e.exports=coreApis.ajax},104:e=>{"use strict";e.exports=coreApis.observer},847:e=>{"use strict";e.exports=coreApis.utils}},r={};function s(e){var t=r[e];if(void 0!==t)return t.exports;var i=r[e]={id:e,exports:{}};return n[e](i,i.exports,s),i.exports}s.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return s.d(t,{a:t}),t},t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,s.t=function(n,r){if(1&r&&(n=this(n)),8&r)return n;if("object"==typeof n&&n){if(4&r&&n.__esModule)return n;if(16&r&&"function"==typeof n.then)return n}var i=Object.create(null);s.r(i);var o={};e=e||[null,t({}),t([]),t(t)];for(var a=2&r&&n;"object"==typeof a&&!~e.indexOf(a);a=t(a))Object.getOwnPropertyNames(a).forEach((e=>o[e]=()=>n[e]));return o.default=()=>n,s.d(i,o),i},s.d=(e,t)=>{for(var n in t)s.o(t,n)&&!s.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},s.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),s.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},s.nc=void 0;var i={};return(()=>{"use strict";s.d(i,{component:()=>r});const e=coreApis.componentApis.define,t=coreApis.utils.urls,n=coreApis.componentApis.video.playerAgent,r=(0,e.defineComponentMetadata)({name:"touchPlayerGestures",displayName:"播放器触摸手势",enabledByDefault:navigator.maxTouchPoints>0,tags:[componentsTags.touch],description:{"zh-CN":"为播放器启用触摸手势支持:\n- 左右滑动可调整进度\n- 上下滑动可调整音量\n- 进度调整可在左上角和右上角取消\n- 进度调整时在不同位置滑动, 可以使用3档不同的灵敏度."},entry:async()=>{const{videoChange:e}=await Promise.resolve().then(s.t.bind(s,104,23));e((async()=>{if(!await n.playerAgent.query.video.element())return;let e;if(!dq(".gesture-preview")){const t=await Promise.resolve().then(s.bind(s,761)),{mountVueComponent:r}=await Promise.resolve().then(s.t.bind(s,847,23));e=r(t),n.playerAgent.query.video.subtitle.sync()?.insertAdjacentElement("beforebegin",e.$el)}const{Swiper:t}=await Promise.resolve().then(s.bind(s,413)),r=new t(n.playerAgent.query.video.container.sync());r.action.addEventListener("start",(()=>{e.sync()})),r.action.addEventListener("cancel",(()=>{e.cancelPreview()})),r.action.addEventListener("end",(()=>{e.endPreview()})),["volume","brightness"].forEach((t=>{r.action.addEventListener(t,(n=>{e.startPreview({[t]:n.detail})}))})),r.action.addEventListener("progress",(t=>{const{progress:n,mode:r}=t.detail;e.preview.seekMode=r,e.startPreview({progress:n})}))}))},urlInclude:t.playerUrls,options:{swiperDistance:{displayName:"手势触发最小距离",defaultValue:10,hidden:!0}},commitHash:"d87d69cfb9d7e0124bd90a06fec4569bd61e02c5",coreVersion:"2.10.7"})})(),i=i.component})())); //# sourceMappingURL=https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/registry/dist/components/touch/player-gestures.js.map \ No newline at end of file diff --git a/bb-evolved/registry/dist/components/utils/active-video-links.js b/bb-evolved/registry/dist/components/utils/active-video-links.js index c64eb53fd0..df72074307 100644 --- a/bb-evolved/registry/dist/components/utils/active-video-links.js +++ b/bb-evolved/registry/dist/components/utils/active-video-links.js @@ -1,2 +1,2 @@ -!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["utils/active-video-links"]=t():e["utils/active-video-links"]=t()}(globalThis,(()=>(()=>{var e,t,o={642:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=642,e.exports=t},401:e=>{"use strict";e.exports="这个组件会将视频简介中的普通网址转换为可点击的链接,并将被 Bilibili 抛弃已失效的 `acg.tv` 跳转链接修复为 `nicovideo.jp` 链接。\n\n例如: `https://acg.tv/sm37507315` → `https://www.nicovideo.jp/watch/sm37507315`\n\n本组件不会保证目标链接的安全性,因此在点击前请自行验证其是否可信\n"}},n={};function r(e){var t=n[e];if(void 0!==t)return t.exports;var c=n[e]={exports:{}};return o[e](c,c.exports,r),c.exports}t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,r.t=function(o,n){if(1&n&&(o=this(o)),8&n)return o;if("object"==typeof o&&o){if(4&n&&o.__esModule)return o;if(16&n&&"function"==typeof o.then)return o}var c=Object.create(null);r.r(c);var i={};e=e||[null,t({}),t([]),t(t)];for(var l=2&n&&o;"object"==typeof l&&!~e.indexOf(l);l=t(l))Object.getOwnPropertyNames(l).forEach((e=>i[e]=()=>o[e]));return i.default=()=>o,r.d(c,i),c},r.d=(e,t)=>{for(var o in t)r.o(t,o)&&!r.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var c={};return(()=>{"use strict";r.d(c,{component:()=>d});const e=coreApis.componentApis.define,t=coreApis.utils.log,o=coreApis.utils.urls,n=(0,t.useScopedConsole)("activeVideoLinks");let i=null;const l=/(?|'|"|\/))(http:\/\/|https:\/\/|www\.)[^(\s,;())]+/g,s=()=>{try{document.querySelectorAll('a[href*="acg.tv"][href*="sm"]').forEach((e=>{const t=e.getAttribute("href");if(t){const o=t.replace("acg.tv","nicovideo.jp/watch");e.setAttribute("href",o),n.log(`Niconico Fix: ${t} → ${o}`)}})),(()=>{const e=document.querySelector(".desc-info-text");if(!e)return;const t=document.createTreeWalker(e,NodeFilter.SHOW_TEXT,{acceptNode:e=>e.parentElement?.closest("a")?NodeFilter.FILTER_REJECT:l.test(e.textContent||"")?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_REJECT}),o=[];let n=t.nextNode();for(;null!==n;)o.push(n),n=t.nextNode();o.forEach((e=>{const t=document.createDocumentFragment(),o=e.textContent||"";let n,r=0;for(l.lastIndex=0,n=l.exec(o);null!==n;){const e=n.index;r{const e=document.querySelector(".desc-info-text");if(!e)return;const t=Array.from(e.querySelectorAll("a"));for(let e=0;e{n.log("视频链接增强已启用"),s(),i&&i.disconnect(),i=new MutationObserver(s),i.observe(document.documentElement,{childList:!0,subtree:!0}),n.log("已设置 Observer")},d=(0,e.defineComponentMetadata)({name:"activeVideoLinks",displayName:"视频链接增强",tags:[componentsTags.utils],entry:a,reload:a,unload:()=>{i&&(i.disconnect(),i=null)},urlInclude:o.videoUrls,author:{name:"Alan Ye",link:"https://github.com/at-wr"},commitHash:"58c0b438ca2371e397f70466a91572cb2757b142",coreVersion:"2.10.7",description:(()=>{const e=r(642);return{...Object.fromEntries(e.keys().map((t=>[t.match(/index\.(.+)\.md$/)[1],e(t)]))),"zh-CN":()=>Promise.resolve().then(r.t.bind(r,401,17)).then((e=>e.default))}})()})})(),c=c.component})())); +!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["utils/active-video-links"]=t():e["utils/active-video-links"]=t()}(globalThis,(()=>(()=>{var e,t,o={642:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=642,e.exports=t},401:e=>{"use strict";e.exports="这个组件会将视频简介中的普通网址转换为可点击的链接,并将被 Bilibili 抛弃已失效的 `acg.tv` 跳转链接修复为 `nicovideo.jp` 链接。\n\n例如: `https://acg.tv/sm37507315` → `https://www.nicovideo.jp/watch/sm37507315`\n\n本组件不会保证目标链接的安全性,因此在点击前请自行验证其是否可信\n"}},n={};function r(e){var t=n[e];if(void 0!==t)return t.exports;var c=n[e]={exports:{}};return o[e](c,c.exports,r),c.exports}t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,r.t=function(o,n){if(1&n&&(o=this(o)),8&n)return o;if("object"==typeof o&&o){if(4&n&&o.__esModule)return o;if(16&n&&"function"==typeof o.then)return o}var c=Object.create(null);r.r(c);var i={};e=e||[null,t({}),t([]),t(t)];for(var l=2&n&&o;"object"==typeof l&&!~e.indexOf(l);l=t(l))Object.getOwnPropertyNames(l).forEach((e=>i[e]=()=>o[e]));return i.default=()=>o,r.d(c,i),c},r.d=(e,t)=>{for(var o in t)r.o(t,o)&&!r.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var c={};return(()=>{"use strict";r.d(c,{component:()=>a});const e=coreApis.componentApis.define,t=coreApis.utils.log,o=coreApis.utils.urls,n=(0,t.useScopedConsole)("activeVideoLinks");let i=null;const l=/(?|'|"|\/))(http:\/\/|https:\/\/|www\.)[^(\s,;())]+/g,s=()=>{try{document.querySelectorAll('a[href*="acg.tv"][href*="sm"]').forEach((e=>{const t=e.getAttribute("href");if(t){const o=t.replace("acg.tv","nicovideo.jp/watch");e.setAttribute("href",o),n.log(`Niconico Fix: ${t} → ${o}`)}})),(()=>{const e=document.querySelector(".desc-info-text");if(!e)return;const t=document.createTreeWalker(e,NodeFilter.SHOW_TEXT,{acceptNode:e=>e.parentElement?.closest("a")?NodeFilter.FILTER_REJECT:l.test(e.textContent||"")?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_REJECT}),o=[];let n=t.nextNode();for(;null!==n;)o.push(n),n=t.nextNode();o.forEach((e=>{const t=document.createDocumentFragment(),o=e.textContent||"";let n,r=0;for(l.lastIndex=0,n=l.exec(o);null!==n;){const e=n.index;r{const e=document.querySelector(".desc-info-text");if(!e)return;const t=Array.from(e.querySelectorAll("a"));for(let e=0;e{n.log("视频链接增强已启用"),s(),i&&i.disconnect(),i=new MutationObserver(s),i.observe(document.documentElement,{childList:!0,subtree:!0}),n.log("已设置 Observer")},a=(0,e.defineComponentMetadata)({name:"activeVideoLinks",displayName:"视频链接增强",tags:[componentsTags.utils],entry:d,reload:d,unload:()=>{i&&(i.disconnect(),i=null)},urlInclude:o.videoUrls,author:{name:"Alan Ye",link:"https://github.com/at-wr"},commitHash:"d87d69cfb9d7e0124bd90a06fec4569bd61e02c5",coreVersion:"2.10.7",description:(()=>{const e=r(642);return{...Object.fromEntries(e.keys().map((t=>[t.match(/index\.(.+)\.md$/)[1],e(t)]))),"zh-CN":()=>Promise.resolve().then(r.t.bind(r,401,17)).then((e=>e.default))}})()})})(),c=c.component})())); //# sourceMappingURL=https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/registry/dist/components/utils/active-video-links.js.map \ No newline at end of file diff --git a/bb-evolved/registry/dist/components/utils/album-time-show.js b/bb-evolved/registry/dist/components/utils/album-time-show.js index 254348d9db..5dd3a7a7e9 100644 --- a/bb-evolved/registry/dist/components/utils/album-time-show.js +++ b/bb-evolved/registry/dist/components/utils/album-time-show.js @@ -10,5 +10,5 @@ var i=this[a][0];null!=i&&(o[i]=!0)}for(var c=0;c{var r=n(73);r&&r.__esModule&&(r=r.default),t.exports="string"==typeof r?r:r.toString()},479:t=>{"use strict";t.exports=coreApis.style}},r={};function o(t){var e=r[t];if(void 0!==e)return e.exports;var a=r[t]={id:t,exports:{}};return n[t](a,a.exports,o),a.exports}e=Object.getPrototypeOf?t=>Object.getPrototypeOf(t):t=>t.__proto__,o.t=function(n,r){if(1&r&&(n=this(n)),8&r)return n;if("object"==typeof n&&n){if(4&r&&n.__esModule)return n;if(16&r&&"function"==typeof n.then)return n}var a=Object.create(null);o.r(a);var i={};t=t||[null,e({}),e([]),e(e)];for(var c=2&r&&n;"object"==typeof c&&!~t.indexOf(c);c=e(c))Object.getOwnPropertyNames(c).forEach((t=>i[t]=()=>n[t]));return i.default=()=>n,o.d(a,i),a},o.d=(t,e)=>{for(var n in e)o.o(e,n)&&!o.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},o.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),o.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var a={};return(()=>{"use strict";o.d(a,{component:()=>c});const t=coreApis.componentApis.define,e=coreApis.observer,n=coreApis.spinQuery;let r,i;const c=(0,t.defineComponentMetadata)({name:"albumPubTimeShow",author:{name:"Light_Quanta",link:"https://github.com/LightQuanta"},displayName:"相簿发布时间显示",tags:[componentsTags.utils],urlInclude:[/^https:\/\/space\.bilibili\.com/],entry:async()=>{const t=await(0,n.select)(".s-space");(0,e.childList)(t,(async()=>{document.URL.match(/^https:\/\/space\.bilibili\.com\/\d+\/album/)&&(r=await(0,n.select)(".album-list__content"),(async t=>{const[n]=(0,e.attributesSubtree)(t,(()=>{r.querySelectorAll(".album-card").forEach((t=>{const e=t.querySelector(".album-pub-time"),n=t.__vue__.item.ctime; // eslint-disable-next-line no-underscore-dangle -void 0!==n&&(null!==e?e.innerHTML=new Date(1e3*n).toLocaleString():t.insertAdjacentHTML("beforeend",`
${new Date(1e3*n).toLocaleString()}
`))}))}));i?.disconnect(),i=n;const{addImportantStyle:a}=await Promise.resolve().then(o.t.bind(o,479,23)),{default:c}=await Promise.resolve().then(o.t.bind(o,319,23));a(c,"album-pub-time-style")})(r))}))},description:{"zh-CN":"在相簿界面显示相簿的发布时间"},commitHash:"58c0b438ca2371e397f70466a91572cb2757b142",coreVersion:"2.10.7"})})(),a=a.component})())); +void 0!==n&&(null!==e?e.innerHTML=new Date(1e3*n).toLocaleString():t.insertAdjacentHTML("beforeend",`
${new Date(1e3*n).toLocaleString()}
`))}))}));i?.disconnect(),i=n;const{addImportantStyle:a}=await Promise.resolve().then(o.t.bind(o,479,23)),{default:c}=await Promise.resolve().then(o.t.bind(o,319,23));a(c,"album-pub-time-style")})(r))}))},description:{"zh-CN":"在相簿界面显示相簿的发布时间"},commitHash:"d87d69cfb9d7e0124bd90a06fec4569bd61e02c5",coreVersion:"2.10.7"})})(),a=a.component})())); //# sourceMappingURL=https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/registry/dist/components/utils/album-time-show.js.map \ No newline at end of file diff --git a/bb-evolved/registry/dist/components/utils/auto-like.js b/bb-evolved/registry/dist/components/utils/auto-like.js index 777d18d58e..d29a64f607 100644 --- a/bb-evolved/registry/dist/components/utils/auto-like.js +++ b/bb-evolved/registry/dist/components/utils/auto-like.js @@ -15,5 +15,5 @@ i=Boolean(window&&document&&document.all&&!window.atob)),i},s=function(){var t={ // eslint-disable-next-line vue/no-mutating-props this.list.push(this.name),this.name=""},toggleVisible(t){ // eslint-disable-next-line vue/no-mutating-props -this.list.splice(this.list.indexOf(t),1)}}});var o=n(991),a=n.n(o),r=n(493),c=n.n(r),A={insert:"head",singleton:!1};a()(c(),A);c().locals;const d=(0,n(678).A)(s,i,[],!1,null,null,null).exports},289:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>d});var i=function(){var t=this,e=t._self._c;t._self._setupProxy;return e("VButton",{staticClass:"manual-like",attrs:{round:""},on:{click:t.like}},[e("div",{class:{like:t.isLike},attrs:{id:"text"}},[t._v("正在点赞: "+t._s(t.curLikeCnt)+" / "+t._s(t.totalLikeCnt))]),t._v(" "),e("VIcon",{directives:[{name:"show",rawName:"v-show",value:!t.isLike,expression:"!isLike"}],attrs:{colored:"",icon:"like",size:20}})],1)};i._withStripped=!0;var l=n(164);const s=Vue.extend({components:{VButton:l.VButton,VIcon:l.VIcon},props:{list:{type:Array,default:null}},data:()=>({isClick:!1,isLike:!1,totalLikeCnt:0,curLikeCnt:0,feedsLikeQueue:[]}),methods:{like(){if(this.isClick)return;this.isClick=!0;const t=Array.from(document.getElementsByClassName("bili-dyn-title__text")).reduce(((t,e)=>{if(this.list.includes(e.textContent.trim()))return t;const n=e.closest(".bili-dyn-item__main").querySelector(".bili-dyn-action.like");return n&&!n.classList.contains("active")&&t.push(n),t}),[]);this.feedsLikeQueue.push(...t),this.totalLikeCnt=this.feedsLikeQueue.length,this.curLikeCnt=0,this.isLike=!0;const e=window.setInterval((()=>{if(0===this.feedsLikeQueue.length)return this.isLike=!1,this.isClick=!1,void clearInterval(e);const t=this.feedsLikeQueue.shift();t?.click(),this.curLikeCnt++}),1200)}}});var o=n(991),a=n.n(o),r=n(536),c=n.n(r),A={insert:"head",singleton:!1};a()(c(),A);c().locals;const d=(0,n(678).A)(s,i,[],!1,null,null,null).exports},778:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>u});var i=function(){var t=this,e=t._self._c;t._self._setupProxy;return e("div",[e("div",{staticClass:"custom-black-list-extra-options"},[e("VButton",{ref:"button",on:{mouseover:t.setBlackListProps,click:t.toggleBlackList}},[t._v("\n 黑名单\n "),e("VIcon",{attrs:{icon:"right-arrow",size:16}})],1)],1)])};i._withStripped=!0;var l=n(164),s=n(855);const o=Vue.extend({components:{VIcon:l.VIcon,VButton:l.VButton},data:()=>({isFirstLoad:!1}),methods:{toggle(){this.$refs.popup.toggle()},async setBlackListProps(){if(!this.isFirstLoad&&(this.isFirstLoad=await(0,s.KY)(),this.isFirstLoad)){const t=this.$refs.button.$el;(0,s.Kq)(t)}},toggleBlackList:s.oP}});var a=n(991),r=n.n(a),c=n(672),A=n.n(c),d={insert:"head",singleton:!1};r()(A(),d);A().locals;const u=(0,n(678).A)(o,i,[],!1,null,null,null).exports},678:(t,e,n)=>{"use strict";function i(t,e,n,i,l,s,o,a){var r,c="function"==typeof t?t.options:t;if(e&&(c.render=e,c.staticRenderFns=n,c._compiled=!0),i&&(c.functional=!0),s&&(c._scopeId="data-v-"+s),o?(r=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),l&&l.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(o)},c._ssrRegister=r):l&&(r=a?function(){l.call(this,(c.functional?this.parent:this).$root.$options.shadowRoot)}:l),r)if(c.functional){c._injectStyles=r;var A=c.render;c.render=function(t,e){return r.call(e),A(t,e)}}else{var d=c.beforeCreate;c.beforeCreate=d?[].concat(d,r):[r]}return{exports:t,options:c}}n.d(e,{A:()=>i})},973:t=>{function e(t){var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e}e.keys=()=>[],e.resolve=e,e.id=973,t.exports=e},894:t=>{"use strict";t.exports="进入视频 / 查看动态时, 自动点赞\\\n无法触发未加载动态的点赞,当启用手动对动态点赞后可手动触发,启用后不会触发动态自动点赞\\\n安装快捷键扩展后可以点击【l】键或【L】键触发\\\n还可以添加动态点赞的黑名单\\\n"},322:t=>{"use strict";t.exports=coreApis.pluginApis.data},728:t=>{"use strict";t.exports=coreApis.spinQuery},164:t=>{"use strict";t.exports=coreApis.ui},847:t=>{"use strict";t.exports=coreApis.utils}},i={};function l(t){var e=i[t];if(void 0!==e)return e.exports;var s=i[t]={id:t,exports:{}};return n[t](s,s.exports,l),s.exports}l.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return l.d(e,{a:e}),e},e=Object.getPrototypeOf?t=>Object.getPrototypeOf(t):t=>t.__proto__,l.t=function(n,i){if(1&i&&(n=this(n)),8&i)return n;if("object"==typeof n&&n){if(4&i&&n.__esModule)return n;if(16&i&&"function"==typeof n.then)return n}var s=Object.create(null);l.r(s);var o={};t=t||[null,e({}),e([]),e(e)];for(var a=2&i&&n;"object"==typeof a&&!~t.indexOf(a);a=e(a))Object.getOwnPropertyNames(a).forEach((t=>o[t]=()=>n[t]));return o.default=()=>n,l.d(s,o),s},l.d=(t,e)=>{for(var n in e)l.o(e,n)&&!l.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},l.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),l.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},l.nc=void 0;var s={};return(()=>{"use strict";l.d(s,{component:()=>A});const t=coreApis.componentApis.define;var e=l(728),n=l(847);const i=coreApis.utils.urls,o=coreApis.componentApis.feeds.api;var a=l(855),r=l(322);const c=[],A=(0,t.defineComponentMetadata)({name:"autoLike",displayName:"自动点赞",tags:[componentsTags.utils,componentsTags.feeds,componentsTags.video],urlInclude:[...i.videoAndBangumiUrls,...i.feedsUrls],author:{name:"CrazyboyQCD",link:"https://github.com/CrazyboyQCD"},options:{video:{defaultValue:!0,displayName:"对视频点赞"},feed:{defaultValue:!0,displayName:"对动态点赞"},manualFeed:{defaultValue:!0,displayName:"手动对动态点赞"},users:{displayName:"黑名单",defaultValue:[],hidden:!0}},extraOptions:()=>Promise.resolve().then(l.bind(l,778)).then((t=>t.default)),entry:async t=>{let{settings:{options:l}}=t;if(l.video&&i.videoAndBangumiUrls.some((t=>(0,n.matchUrlPattern)(t)))){await(0,n.playerReady)();const t=await(0,e.select)(".video-like");if(!t||t.classList.contains("on"))return;t.click()}if(l.feed&&i.feedsUrls.some((t=>(0,n.matchUrlPattern)(t)))){const t={users:l.users};if((0,r.registerData)(a.Nl,t),l.manualFeed)(0,a.iT)();else{window.setInterval((()=>{if(0===c.length)return;const t=c.shift();t?.click()}),1e3);const t=(0,r.getData)(a.Nl);(0,o.forEachFeedsCard)({added:e=>{if(t[0].users.includes(e.username))return;const n=dq(e.element,".bili-dyn-action.like");n&&!n.classList.contains("active")&&c.push(n)}})}}},plugin:{displayName:"点赞 - 手动",setup:t=>{let{addData:e}=t;e("keymap.actions",(t=>{t.manuallike={displayName:"手动触发对动态点赞",run:t=>{const{clickElement:e}=t;return e(".manual-like",t)}}})),e("keymap.presets",(t=>{t.manuallike="l L"}))}},commitHash:"58c0b438ca2371e397f70466a91572cb2757b142",coreVersion:"2.10.7",description:(()=>{const t=l(973);return{...Object.fromEntries(t.keys().map((e=>[e.match(/index\.(.+)\.md$/)[1],t(e)]))),"zh-CN":()=>Promise.resolve().then(l.t.bind(l,894,17)).then((t=>t.default))}})()})})(),s=s.component})())); +this.list.splice(this.list.indexOf(t),1)}}});var o=n(991),a=n.n(o),r=n(493),c=n.n(r),A={insert:"head",singleton:!1};a()(c(),A);c().locals;const d=(0,n(678).A)(s,i,[],!1,null,null,null).exports},289:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>d});var i=function(){var t=this,e=t._self._c;t._self._setupProxy;return e("VButton",{staticClass:"manual-like",attrs:{round:""},on:{click:t.like}},[e("div",{class:{like:t.isLike},attrs:{id:"text"}},[t._v("正在点赞: "+t._s(t.curLikeCnt)+" / "+t._s(t.totalLikeCnt))]),t._v(" "),e("VIcon",{directives:[{name:"show",rawName:"v-show",value:!t.isLike,expression:"!isLike"}],attrs:{colored:"",icon:"like",size:20}})],1)};i._withStripped=!0;var l=n(164);const s=Vue.extend({components:{VButton:l.VButton,VIcon:l.VIcon},props:{list:{type:Array,default:null}},data:()=>({isClick:!1,isLike:!1,totalLikeCnt:0,curLikeCnt:0,feedsLikeQueue:[]}),methods:{like(){if(this.isClick)return;this.isClick=!0;const t=Array.from(document.getElementsByClassName("bili-dyn-title__text")).reduce(((t,e)=>{if(this.list.includes(e.textContent.trim()))return t;const n=e.closest(".bili-dyn-item__main").querySelector(".bili-dyn-action.like");return n&&!n.classList.contains("active")&&t.push(n),t}),[]);this.feedsLikeQueue.push(...t),this.totalLikeCnt=this.feedsLikeQueue.length,this.curLikeCnt=0,this.isLike=!0;const e=window.setInterval((()=>{if(0===this.feedsLikeQueue.length)return this.isLike=!1,this.isClick=!1,void clearInterval(e);const t=this.feedsLikeQueue.shift();t?.click(),this.curLikeCnt++}),1200)}}});var o=n(991),a=n.n(o),r=n(536),c=n.n(r),A={insert:"head",singleton:!1};a()(c(),A);c().locals;const d=(0,n(678).A)(s,i,[],!1,null,null,null).exports},778:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>u});var i=function(){var t=this,e=t._self._c;t._self._setupProxy;return e("div",[e("div",{staticClass:"custom-black-list-extra-options"},[e("VButton",{ref:"button",on:{mouseover:t.setBlackListProps,click:t.toggleBlackList}},[t._v("\n 黑名单\n "),e("VIcon",{attrs:{icon:"right-arrow",size:16}})],1)],1)])};i._withStripped=!0;var l=n(164),s=n(855);const o=Vue.extend({components:{VIcon:l.VIcon,VButton:l.VButton},data:()=>({isFirstLoad:!1}),methods:{toggle(){this.$refs.popup.toggle()},async setBlackListProps(){if(!this.isFirstLoad&&(this.isFirstLoad=await(0,s.KY)(),this.isFirstLoad)){const t=this.$refs.button.$el;(0,s.Kq)(t)}},toggleBlackList:s.oP}});var a=n(991),r=n.n(a),c=n(672),A=n.n(c),d={insert:"head",singleton:!1};r()(A(),d);A().locals;const u=(0,n(678).A)(o,i,[],!1,null,null,null).exports},678:(t,e,n)=>{"use strict";function i(t,e,n,i,l,s,o,a){var r,c="function"==typeof t?t.options:t;if(e&&(c.render=e,c.staticRenderFns=n,c._compiled=!0),i&&(c.functional=!0),s&&(c._scopeId="data-v-"+s),o?(r=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),l&&l.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(o)},c._ssrRegister=r):l&&(r=a?function(){l.call(this,(c.functional?this.parent:this).$root.$options.shadowRoot)}:l),r)if(c.functional){c._injectStyles=r;var A=c.render;c.render=function(t,e){return r.call(e),A(t,e)}}else{var d=c.beforeCreate;c.beforeCreate=d?[].concat(d,r):[r]}return{exports:t,options:c}}n.d(e,{A:()=>i})},973:t=>{function e(t){var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e}e.keys=()=>[],e.resolve=e,e.id=973,t.exports=e},894:t=>{"use strict";t.exports="进入视频 / 查看动态时, 自动点赞\\\n无法触发未加载动态的点赞,当启用手动对动态点赞后可手动触发,启用后不会触发动态自动点赞\\\n安装快捷键扩展后可以点击【l】键或【L】键触发\\\n还可以添加动态点赞的黑名单\\\n"},322:t=>{"use strict";t.exports=coreApis.pluginApis.data},728:t=>{"use strict";t.exports=coreApis.spinQuery},164:t=>{"use strict";t.exports=coreApis.ui},847:t=>{"use strict";t.exports=coreApis.utils}},i={};function l(t){var e=i[t];if(void 0!==e)return e.exports;var s=i[t]={id:t,exports:{}};return n[t](s,s.exports,l),s.exports}l.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return l.d(e,{a:e}),e},e=Object.getPrototypeOf?t=>Object.getPrototypeOf(t):t=>t.__proto__,l.t=function(n,i){if(1&i&&(n=this(n)),8&i)return n;if("object"==typeof n&&n){if(4&i&&n.__esModule)return n;if(16&i&&"function"==typeof n.then)return n}var s=Object.create(null);l.r(s);var o={};t=t||[null,e({}),e([]),e(e)];for(var a=2&i&&n;"object"==typeof a&&!~t.indexOf(a);a=e(a))Object.getOwnPropertyNames(a).forEach((t=>o[t]=()=>n[t]));return o.default=()=>n,l.d(s,o),s},l.d=(t,e)=>{for(var n in e)l.o(e,n)&&!l.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},l.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),l.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},l.nc=void 0;var s={};return(()=>{"use strict";l.d(s,{component:()=>A});const t=coreApis.componentApis.define;var e=l(728),n=l(847);const i=coreApis.utils.urls,o=coreApis.componentApis.feeds.api;var a=l(855),r=l(322);const c=[],A=(0,t.defineComponentMetadata)({name:"autoLike",displayName:"自动点赞",tags:[componentsTags.utils,componentsTags.feeds,componentsTags.video],urlInclude:[...i.videoAndBangumiUrls,...i.feedsUrls],author:{name:"CrazyboyQCD",link:"https://github.com/CrazyboyQCD"},options:{video:{defaultValue:!0,displayName:"对视频点赞"},feed:{defaultValue:!0,displayName:"对动态点赞"},manualFeed:{defaultValue:!0,displayName:"手动对动态点赞"},users:{displayName:"黑名单",defaultValue:[],hidden:!0}},extraOptions:()=>Promise.resolve().then(l.bind(l,778)).then((t=>t.default)),entry:async t=>{let{settings:{options:l}}=t;if(l.video&&i.videoAndBangumiUrls.some((t=>(0,n.matchUrlPattern)(t)))){await(0,n.playerReady)();const t=await(0,e.select)(".video-like");if(!t||t.classList.contains("on"))return;t.click()}if(l.feed&&i.feedsUrls.some((t=>(0,n.matchUrlPattern)(t)))){const t={users:l.users};if((0,r.registerData)(a.Nl,t),l.manualFeed)(0,a.iT)();else{window.setInterval((()=>{if(0===c.length)return;const t=c.shift();t?.click()}),1e3);const t=(0,r.getData)(a.Nl);(0,o.forEachFeedsCard)({added:e=>{if(t[0].users.includes(e.username))return;const n=dq(e.element,".bili-dyn-action.like");n&&!n.classList.contains("active")&&c.push(n)}})}}},plugin:{displayName:"点赞 - 手动",setup:t=>{let{addData:e}=t;e("keymap.actions",(t=>{t.manuallike={displayName:"手动触发对动态点赞",run:t=>{const{clickElement:e}=t;return e(".manual-like",t)}}})),e("keymap.presets",(t=>{t.manuallike="l L"}))}},commitHash:"d87d69cfb9d7e0124bd90a06fec4569bd61e02c5",coreVersion:"2.10.7",description:(()=>{const t=l(973);return{...Object.fromEntries(t.keys().map((e=>[e.match(/index\.(.+)\.md$/)[1],t(e)]))),"zh-CN":()=>Promise.resolve().then(l.t.bind(l,894,17)).then((t=>t.default))}})()})})(),s=s.component})())); //# sourceMappingURL=https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/registry/dist/components/utils/auto-like.js.map \ No newline at end of file diff --git a/bb-evolved/registry/dist/components/utils/bigger-video-preview.js b/bb-evolved/registry/dist/components/utils/bigger-video-preview.js index 925eafac6f..c93c4ce085 100644 --- a/bb-evolved/registry/dist/components/utils/bigger-video-preview.js +++ b/bb-evolved/registry/dist/components/utils/bigger-video-preview.js @@ -11,5 +11,5 @@ var a=this[r][0];null!=a&&(i[a]=!0)}for(var s=0;s{"use strict";var o,i=function(){return void 0===o&&( // @see http://browserhacks.com/#hack-e71d8692f65334173fee715c222cb805 // @see https://github.com/webpack-contrib/style-loader/issues/177 -o=Boolean(window&&document&&document.all&&!window.atob)),o},r=function(){var e={};return function(t){if(void 0===e[t]){var n=document.querySelector(t);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}e[t]=n}return e[t]}}(),a=[];function s(e){for(var t=-1,n=0;n{"use strict";n.r(t),n.d(t,{default:()=>d});var o=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("VPopup",{ref:"popup",staticClass:"bigger-video-preview-video-container",on:{"popup-change":e.onPopupChange},model:{value:e.showPopup,callback:function(t){e.showPopup=t},expression:"showPopup"}})};o._withStripped=!0;var i=n(259),r=n(164);const a=(0,i.defineComponent)({name:"VideoContainer",components:{VPopup:r.VPopup},model:{prop:"showPopup",event:"popup-change"},data:()=>({showPopup:!1,movedDom:null,originalParent:null,originalNextSibling:null}),methods:{openPopup(e){this.restoreDom(),e&&(this.originalParent=e.parentNode,this.originalNextSibling=e.nextSibling,this.togglePopup(),this.$nextTick((()=>{const t=this.$refs.popup;t&&e.parentNode!==t&&(t.$el.appendChild(e),this.movedDom=e)})))},closePopup(){this.restoreDom(),this.togglePopup()},restoreDom(){this.movedDom&&this.originalParent&&(this.originalNextSibling?this.originalParent.insertBefore(this.movedDom,this.originalNextSibling):this.originalParent.appendChild(this.movedDom),this.movedDom=null,this.originalParent=null,this.originalNextSibling=null)},onPopupChange(e){e||this.restoreDom(),this.$emit("popup-change",e)},togglePopup(){const e=this.$refs.popup;e&&"function"==typeof e.toggle&&e.toggle()}}});var s=n(991),l=n.n(s),c=n(173),p=n.n(c),u={insert:"head",singleton:!1};l()(p(),u);p().locals;const d=(0,n(678).A)(a,o,[],!1,null,null,null).exports},678:(e,t,n)=>{"use strict";function o(e,t,n,o,i,r,a,s){var l,c="function"==typeof e?e.options:e;if(t&&(c.render=t,c.staticRenderFns=n,c._compiled=!0),o&&(c.functional=!0),r&&(c._scopeId="data-v-"+r),a?(l=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),i&&i.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(a)},c._ssrRegister=l):i&&(l=s?function(){i.call(this,(c.functional?this.parent:this).$root.$options.shadowRoot)}:i),l)if(c.functional){c._injectStyles=l;var p=c.render;c.render=function(e,t){return l.call(t),p(e,t)}}else{var u=c.beforeCreate;c.beforeCreate=u?[].concat(u,l):[l]}return{exports:e,options:c}}n.d(t,{A:()=>o})},153:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=153,e.exports=t},314:e=>{"use strict";e.exports="放大鼠标悬停于视频卡片时播放的5分钟预览\n\n- 点击放大镜图标放大预览\n- 点击缩小图标或者预览框外空白处关闭预览\n"},259:e=>{"use strict";e.exports=globalThis.Vue},164:e=>{"use strict";e.exports=coreApis.ui}},o={};function i(e){var t=o[e];if(void 0!==t)return t.exports;var r=o[e]={id:e,exports:{}};return n[e](r,r.exports,i),r.exports}i.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return i.d(t,{a:t}),t},t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,i.t=function(n,o){if(1&o&&(n=this(n)),8&o)return n;if("object"==typeof n&&n){if(4&o&&n.__esModule)return n;if(16&o&&"function"==typeof n.then)return n}var r=Object.create(null);i.r(r);var a={};e=e||[null,t({}),t([]),t(t)];for(var s=2&o&&n;"object"==typeof s&&!~e.indexOf(s);s=t(s))Object.getOwnPropertyNames(s).forEach((e=>a[e]=()=>n[e]));return a.default=()=>n,i.d(r,a),r},i.d=(e,t)=>{for(var n in t)i.o(t,n)&&!i.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},i.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),i.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.nc=void 0;var r={};return(()=>{"use strict";i.d(r,{component:()=>b});var e=i(259),t=i.n(e);const n=coreApis.componentApis.define,o=coreApis.observer,a=coreApis.spinQuery,s=coreApis.utils.log;var l=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("VButton",{class:["bigger-video-preview-button",e.btnClass],staticStyle:{padding:"0"},on:{click:e.onClick}},[t("VIcon",{attrs:{icon:e.enlarged?"mdi-magnify-minus":"mdi-magnify-plus",size:16}})],1)};l._withStripped=!0;var c=i(164);const p=(0,e.defineComponent)({name:"PreviewButton",components:{VIcon:c.VIcon,VButton:c.VButton},props:{btnClass:{type:String,required:!0},btnOnClickCallback:{type:Function,required:!0},enlarged:{type:Boolean,default:!1}},methods:{onClick(e){this.btnOnClickCallback(e)}}});var u=i(991),d=i.n(u),f=i(712),v=i.n(f),g={insert:"head",singleton:!1};d()(v(),g);v().locals;const m=(0,i(678).A)(p,l,[],!1,null,null,null).exports,h=(0,s.useScopedConsole)("biggerVideoPreview"),b=(0,n.defineComponentMetadata)({name:"biggerVideoPreview",displayName:"视频预览放大",entry:async e=>{let{settings:n}=e,r=null;function s(e){const o=e=>{e.stopPropagation()},i=e=>{e.stopImmediatePropagation()};let a;const s=new(t().extend(m))({propsData:{btnClass:e,btnOnClickCallback:e=>{if(e.preventDefault(),!r)return;const t=s.$el.parentElement.closest(".bili-video-card__image--wrap,.pic-box");a||(a=e=>{((e,t)=>{t.enlarged=e})(e,s),((e,t)=>{if(n.options.blockMouseExitHandler&&e)t.addEventListener("mouseleave",o,!0);else{t.removeEventListener("mouseleave",o,!0);const e=new MouseEvent("mouseleave");t.dispatchEvent(e)}})(e,t),((e,t)=>{const o=e.querySelector("video"),i=e.querySelector(".bpx-player-control-wrap");o&&(n.options.showVideoControls&&t?(o.controls=!0,o.style.pointerEvents="visible",i&&(i.style.display="none")):(o.controls=!1,o.style.pointerEvents="none",i&&(i.style.display="unset")))})(t,e),(e=>{if(n.options.removePreviewTimeLimit){const t=e.querySelector("video");t&&(t.removeEventListener("timeupdate",i,!0),t.addEventListener("timeupdate",i,!0))}else{const t=e.querySelector("video");t&&t.removeEventListener("timeupdate",i,!0)}})(t),e||r.$off("popup-change",a)}),s.enlarged?r.closePopup():(r.$el.style.width=`${n.options.popupWidth}%`,r.$off("popup-change",a),r.$on("popup-change",a),r.openPopup(t))}}});return s.$mount(),s.$el}function l(e,t){e.querySelectorAll(".v-inline-player,.v-recommend-inline-player").forEach((e=>{if(e.parentElement.querySelector(`.${t}`))return;const n=s(t);e.parentElement.appendChild(n)}))}async function c(e,t,n,i){const r=await(0,a.select)(n);if(!r)return void h.warn("未找到容器节点:",n);const s=r.querySelectorAll(`.${t}`);h.debug("初始化已有卡片: ",s.length),l(r,e),(0,o.childListSubtree)(r,(n=>{n.forEach((n=>{n.addedNodes.forEach((n=>{if(n.nodeType!==Node.ELEMENT_NODE)return;const o=n;(o.classList.contains(t)||null!==o.querySelector(`.${t}`))&&(h.debug("初始化卡片"),l(i(o),e))}))}))}))}h.debug("初始化预览容器"),await async function(){const e=(await Promise.resolve().then(i.bind(i,568))).default,n=t().extend(e);r=new n,r.$mount(),document.body.appendChild(r.$el)}(),"https://www.bilibili.com/"===document.URL.replace(window.location.search,"")?(h.debug("初始化首页预览放大按钮"),c("bigger-video-preview-button-index","v-inline-player",".container",(e=>e))):document.URL.startsWith("https://www.bilibili.com/video/")&&(h.debug("初始化视频页预览放大按钮"),c("bigger-video-preview-button-video","v-recommend-inline-player",".recommend-list-v1",(e=>e.parentElement)))},tags:[componentsTags.utils,componentsTags.video],options:{popupWidth:{displayName:"弹窗宽度(%)",defaultValue:90,slider:{min:10,max:100,step:1}},blockMouseExitHandler:{displayName:"鼠标移出弹窗不停止预览",defaultValue:!0},showVideoControls:{displayName:"显示视频控件",defaultValue:!0},removePreviewTimeLimit:{displayName:"解除5分钟预览限制(弹幕会停止)",defaultValue:!1}},commitHash:"58c0b438ca2371e397f70466a91572cb2757b142",coreVersion:"2.10.7",description:(()=>{const e=i(153);return{...Object.fromEntries(e.keys().map((t=>[t.match(/index\.(.+)\.md$/)[1],e(t)]))),"zh-CN":()=>Promise.resolve().then(i.t.bind(i,314,17)).then((e=>e.default))}})()})})(),r=r.component})())); +o=Boolean(window&&document&&document.all&&!window.atob)),o},r=function(){var e={};return function(t){if(void 0===e[t]){var n=document.querySelector(t);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}e[t]=n}return e[t]}}(),a=[];function s(e){for(var t=-1,n=0;n{"use strict";n.r(t),n.d(t,{default:()=>d});var o=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("VPopup",{ref:"popup",staticClass:"bigger-video-preview-video-container",on:{"popup-change":e.onPopupChange},model:{value:e.showPopup,callback:function(t){e.showPopup=t},expression:"showPopup"}})};o._withStripped=!0;var i=n(259),r=n(164);const a=(0,i.defineComponent)({name:"VideoContainer",components:{VPopup:r.VPopup},model:{prop:"showPopup",event:"popup-change"},data:()=>({showPopup:!1,movedDom:null,originalParent:null,originalNextSibling:null}),methods:{openPopup(e){this.restoreDom(),e&&(this.originalParent=e.parentNode,this.originalNextSibling=e.nextSibling,this.togglePopup(),this.$nextTick((()=>{const t=this.$refs.popup;t&&e.parentNode!==t&&(t.$el.appendChild(e),this.movedDom=e)})))},closePopup(){this.restoreDom(),this.togglePopup()},restoreDom(){this.movedDom&&this.originalParent&&(this.originalNextSibling?this.originalParent.insertBefore(this.movedDom,this.originalNextSibling):this.originalParent.appendChild(this.movedDom),this.movedDom=null,this.originalParent=null,this.originalNextSibling=null)},onPopupChange(e){e||this.restoreDom(),this.$emit("popup-change",e)},togglePopup(){const e=this.$refs.popup;e&&"function"==typeof e.toggle&&e.toggle()}}});var s=n(991),l=n.n(s),c=n(173),p=n.n(c),u={insert:"head",singleton:!1};l()(p(),u);p().locals;const d=(0,n(678).A)(a,o,[],!1,null,null,null).exports},678:(e,t,n)=>{"use strict";function o(e,t,n,o,i,r,a,s){var l,c="function"==typeof e?e.options:e;if(t&&(c.render=t,c.staticRenderFns=n,c._compiled=!0),o&&(c.functional=!0),r&&(c._scopeId="data-v-"+r),a?(l=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),i&&i.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(a)},c._ssrRegister=l):i&&(l=s?function(){i.call(this,(c.functional?this.parent:this).$root.$options.shadowRoot)}:i),l)if(c.functional){c._injectStyles=l;var p=c.render;c.render=function(e,t){return l.call(t),p(e,t)}}else{var u=c.beforeCreate;c.beforeCreate=u?[].concat(u,l):[l]}return{exports:e,options:c}}n.d(t,{A:()=>o})},153:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=153,e.exports=t},314:e=>{"use strict";e.exports="放大鼠标悬停于视频卡片时播放的5分钟预览\n\n- 点击放大镜图标放大预览\n- 点击缩小图标或者预览框外空白处关闭预览\n"},259:e=>{"use strict";e.exports=globalThis.Vue},164:e=>{"use strict";e.exports=coreApis.ui}},o={};function i(e){var t=o[e];if(void 0!==t)return t.exports;var r=o[e]={id:e,exports:{}};return n[e](r,r.exports,i),r.exports}i.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return i.d(t,{a:t}),t},t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,i.t=function(n,o){if(1&o&&(n=this(n)),8&o)return n;if("object"==typeof n&&n){if(4&o&&n.__esModule)return n;if(16&o&&"function"==typeof n.then)return n}var r=Object.create(null);i.r(r);var a={};e=e||[null,t({}),t([]),t(t)];for(var s=2&o&&n;"object"==typeof s&&!~e.indexOf(s);s=t(s))Object.getOwnPropertyNames(s).forEach((e=>a[e]=()=>n[e]));return a.default=()=>n,i.d(r,a),r},i.d=(e,t)=>{for(var n in t)i.o(t,n)&&!i.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},i.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),i.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.nc=void 0;var r={};return(()=>{"use strict";i.d(r,{component:()=>b});var e=i(259),t=i.n(e);const n=coreApis.componentApis.define,o=coreApis.observer,a=coreApis.spinQuery,s=coreApis.utils.log;var l=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("VButton",{class:["bigger-video-preview-button",e.btnClass],staticStyle:{padding:"0"},on:{click:e.onClick}},[t("VIcon",{attrs:{icon:e.enlarged?"mdi-magnify-minus":"mdi-magnify-plus",size:16}})],1)};l._withStripped=!0;var c=i(164);const p=(0,e.defineComponent)({name:"PreviewButton",components:{VIcon:c.VIcon,VButton:c.VButton},props:{btnClass:{type:String,required:!0},btnOnClickCallback:{type:Function,required:!0},enlarged:{type:Boolean,default:!1}},methods:{onClick(e){this.btnOnClickCallback(e)}}});var u=i(991),d=i.n(u),f=i(712),v=i.n(f),g={insert:"head",singleton:!1};d()(v(),g);v().locals;const m=(0,i(678).A)(p,l,[],!1,null,null,null).exports,h=(0,s.useScopedConsole)("biggerVideoPreview"),b=(0,n.defineComponentMetadata)({name:"biggerVideoPreview",displayName:"视频预览放大",entry:async e=>{let{settings:n}=e,r=null;function s(e){const o=e=>{e.stopPropagation()},i=e=>{e.stopImmediatePropagation()};let a;const s=new(t().extend(m))({propsData:{btnClass:e,btnOnClickCallback:e=>{if(e.preventDefault(),!r)return;const t=s.$el.parentElement.closest(".bili-video-card__image--wrap,.pic-box");a||(a=e=>{((e,t)=>{t.enlarged=e})(e,s),((e,t)=>{if(n.options.blockMouseExitHandler&&e)t.addEventListener("mouseleave",o,!0);else{t.removeEventListener("mouseleave",o,!0);const e=new MouseEvent("mouseleave");t.dispatchEvent(e)}})(e,t),((e,t)=>{const o=e.querySelector("video"),i=e.querySelector(".bpx-player-control-wrap");o&&(n.options.showVideoControls&&t?(o.controls=!0,o.style.pointerEvents="visible",i&&(i.style.display="none")):(o.controls=!1,o.style.pointerEvents="none",i&&(i.style.display="unset")))})(t,e),(e=>{if(n.options.removePreviewTimeLimit){const t=e.querySelector("video");t&&(t.removeEventListener("timeupdate",i,!0),t.addEventListener("timeupdate",i,!0))}else{const t=e.querySelector("video");t&&t.removeEventListener("timeupdate",i,!0)}})(t),e||r.$off("popup-change",a)}),s.enlarged?r.closePopup():(r.$el.style.width=`${n.options.popupWidth}%`,r.$off("popup-change",a),r.$on("popup-change",a),r.openPopup(t))}}});return s.$mount(),s.$el}function l(e,t){e.querySelectorAll(".v-inline-player,.v-recommend-inline-player").forEach((e=>{if(e.parentElement.querySelector(`.${t}`))return;const n=s(t);e.parentElement.appendChild(n)}))}async function c(e,t,n,i){const r=await(0,a.select)(n);if(!r)return void h.warn("未找到容器节点:",n);const s=r.querySelectorAll(`.${t}`);h.debug("初始化已有卡片: ",s.length),l(r,e),(0,o.childListSubtree)(r,(n=>{n.forEach((n=>{n.addedNodes.forEach((n=>{if(n.nodeType!==Node.ELEMENT_NODE)return;const o=n;(o.classList.contains(t)||null!==o.querySelector(`.${t}`))&&(h.debug("初始化卡片"),l(i(o),e))}))}))}))}h.debug("初始化预览容器"),await async function(){const e=(await Promise.resolve().then(i.bind(i,568))).default,n=t().extend(e);r=new n,r.$mount(),document.body.appendChild(r.$el)}(),"https://www.bilibili.com/"===document.URL.replace(window.location.search,"")?(h.debug("初始化首页预览放大按钮"),c("bigger-video-preview-button-index","v-inline-player",".container",(e=>e))):document.URL.startsWith("https://www.bilibili.com/video/")&&(h.debug("初始化视频页预览放大按钮"),c("bigger-video-preview-button-video","v-recommend-inline-player",".recommend-list-v1",(e=>e.parentElement)))},tags:[componentsTags.utils,componentsTags.video],options:{popupWidth:{displayName:"弹窗宽度(%)",defaultValue:90,slider:{min:10,max:100,step:1}},blockMouseExitHandler:{displayName:"鼠标移出弹窗不停止预览",defaultValue:!0},showVideoControls:{displayName:"显示视频控件",defaultValue:!0},removePreviewTimeLimit:{displayName:"解除5分钟预览限制(弹幕会停止)",defaultValue:!1}},commitHash:"d87d69cfb9d7e0124bd90a06fec4569bd61e02c5",coreVersion:"2.10.7",description:(()=>{const e=i(153);return{...Object.fromEntries(e.keys().map((t=>[t.match(/index\.(.+)\.md$/)[1],e(t)]))),"zh-CN":()=>Promise.resolve().then(i.t.bind(i,314,17)).then((e=>e.default))}})()})})(),r=r.component})())); //# sourceMappingURL=https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/registry/dist/components/utils/bigger-video-preview.js.map \ No newline at end of file diff --git a/bb-evolved/registry/dist/components/utils/black-list.js b/bb-evolved/registry/dist/components/utils/black-list.js index 0544d5b264..adff2d1442 100644 --- a/bb-evolved/registry/dist/components/utils/black-list.js +++ b/bb-evolved/registry/dist/components/utils/black-list.js @@ -17,5 +17,5 @@ this.list.push(this.name), // eslint-disable-next-line vue/no-mutating-props this.list=lodash.uniq(this.list),this.name=""},toggleVisible(t){ // eslint-disable-next-line vue/no-mutating-props -this.list.splice(this.list.indexOf(t),1)}}});var l=e(991),c=e.n(l),a=e(260),r=e.n(a),A={insert:"head",singleton:!1};c()(r(),A);r().locals;const b=(0,e(678).A)(o,s,[],!1,null,null,null).exports},133:(t,n,e)=>{"use strict";e.r(n),e.d(n,{default:()=>x});var s=function(){var t=this,n=t._self._c;t._self._setupProxy;return n("div",[n("div",{staticClass:"custom-black-list-extra-options"},[n("VButton",{ref:"button",on:{mouseover:function(n){return t.loadNameBlackListSettings()},click:function(n){return t.toggleNameSettings()}}},[t._v("\n 精确匹配列表"),n("VIcon",{attrs:{icon:"right-arrow",size:16}})],1)],1),t._v(" "),n("div",{staticClass:"custom-black-list-extra-options"},[n("VButton",{on:{mouseover:function(n){return t.loadRegexBlackListSettings()},click:function(n){return t.toggleRegexSettings()}}},[t._v("\n 正则匹配列表"),n("VIcon",{attrs:{icon:"right-arrow",size:16}})],1)],1)])};s._withStripped=!0;var i=e(164);const o=coreApis.settings,l=coreApis.utils;var c=e(322),a=e(197);let r,A;const b=(0,o.getComponentSettings)("blackList").options,u=async()=>{if(r)return!1;const t=await Promise.resolve().then(e.bind(e,293)).then((t=>t.default));return r=(0,l.mountVueComponent)(t),document.body.insertAdjacentElement("beforeend",r.$el),!0},g=async()=>{if(A)return!1;const t=await Promise.resolve().then(e.bind(e,293)).then((t=>t.default));return A=(0,l.mountVueComponent)(t),document.body.insertAdjacentElement("beforeend",A.$el),!0},d=Vue.extend({components:{VIcon:i.VIcon,VButton:i.VButton},methods:{async loadNameBlackListSettings(){if(await u()){(t=>{if(!r)return;r.triggerElement=t;const n=(0,c.getData)(a.N);r.list=lodash.cloneDeep(n[0].up),r.save=t=>{(0,c.addData)(a.N,(n=>{n.up=t})),b.up=t},r.titleName="精确匹配"})(this.$refs.button.$el)}},toggleNameSettings:async()=>{r||await u(),r?.toggle()},async loadRegexBlackListSettings(){if(await g()){(t=>{if(!A)return;A.triggerElement=t;const n=(0,c.getData)(a.N);A.list=lodash.cloneDeep(n[0].upRegex),A.save=t=>{(0,c.addData)(a.N,(n=>{n.upRegex=t})),b.upRegex=t},A.titleName="正则匹配"})(this.$refs.button.$el)}},toggleRegexSettings:async()=>{A||await g(),A?.toggle()}}});var p=e(991),m=e.n(p),k=e(645),f=e.n(k),C={insert:"head",singleton:!1};m()(f(),C);f().locals;const x=(0,e(678).A)(d,s,[],!1,null,null,null).exports},678:(t,n,e)=>{"use strict";function s(t,n,e,s,i,o,l,c){var a,r="function"==typeof t?t.options:t;if(n&&(r.render=n,r.staticRenderFns=e,r._compiled=!0),s&&(r.functional=!0),o&&(r._scopeId="data-v-"+o),l?(a=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),i&&i.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(l)},r._ssrRegister=a):i&&(a=c?function(){i.call(this,(r.functional?this.parent:this).$root.$options.shadowRoot)}:i),a)if(r.functional){r._injectStyles=a;var A=r.render;r.render=function(t,n){return a.call(n),A(t,n)}}else{var b=r.beforeCreate;r.beforeCreate=b?[].concat(b,a):[a]}return{exports:t,options:r}}e.d(n,{A:()=>s})},322:t=>{"use strict";t.exports=coreApis.pluginApis.data},164:t=>{"use strict";t.exports=coreApis.ui}},n={};function e(s){var i=n[s];if(void 0!==i)return i.exports;var o=n[s]={id:s,exports:{}};return t[s](o,o.exports,e),o.exports}e.n=t=>{var n=t&&t.__esModule?()=>t.default:()=>t;return e.d(n,{a:n}),n},e.d=(t,n)=>{for(var s in n)e.o(n,s)&&!e.o(t,s)&&Object.defineProperty(t,s,{enumerable:!0,get:n[s]})},e.o=(t,n)=>Object.prototype.hasOwnProperty.call(t,n),e.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},e.nc=void 0;var s={};return(()=>{"use strict";e.d(s,{component:()=>a});const t=coreApis.componentApis.define,n=coreApis.observer,i=coreApis.spinQuery,o=coreApis.utils.urls;var l=e(322),c=e(197);const a=(0,t.defineComponentMetadata)({name:"blackList",entry:async t=>{let{settings:{options:e}}=t;const s={up:e.up,upRegex:e.upRegex};(0,l.registerData)(c.N,s);const o=await(0,i.selectAll)(".feed2");(0,n.allMutationsOn)(o,(async()=>{const t=await(0,i.selectAll)(".bili-video-card");if(!t)return;const n=(0,l.getData)(c.N),e=n[0].upRegex.map((t=>new RegExp(t)));t.forEach((t=>{const s=t.querySelector(".bili-video-card__info--author"),i=t.querySelector(".bili-video-card__info--tit > a");if(null!=s){const o=s.innerHTML;if(-1!==n[0].up.indexOf(o)){t.querySelector(".v-img.bili-video-card__cover").innerHTML="",s.innerHTML="",i.innerHTML=""}else for(const n in e)if(e[n].test(o)){t.querySelector(".v-img.bili-video-card__cover").innerHTML="",s.innerHTML="",i.innerHTML="";break}}}))}))},extraOptions:()=>Promise.resolve().then(e.bind(e,133)).then((t=>t.default)),options:{up:{displayName:"up主名称",defaultValue:[],hidden:!0},upRegex:{displayName:"正则匹配up主名称",defaultValue:[],hidden:!0}},displayName:"屏蔽黑名单up主",tags:[componentsTags.utils],description:{"zh-CN":"屏蔽黑名单up主, 根据up主的名称进行匹配,支持精确匹配和正则匹配. 请注意只能在首页中使用或调整设置."},author:{name:"snowraincloud",link:"https://github.com/snowraincloud"},urlInclude:o.mainSiteUrls,commitHash:"58c0b438ca2371e397f70466a91572cb2757b142",coreVersion:"2.10.7"})})(),s=s.component})())); +this.list.splice(this.list.indexOf(t),1)}}});var l=e(991),c=e.n(l),a=e(260),r=e.n(a),A={insert:"head",singleton:!1};c()(r(),A);r().locals;const b=(0,e(678).A)(o,s,[],!1,null,null,null).exports},133:(t,n,e)=>{"use strict";e.r(n),e.d(n,{default:()=>x});var s=function(){var t=this,n=t._self._c;t._self._setupProxy;return n("div",[n("div",{staticClass:"custom-black-list-extra-options"},[n("VButton",{ref:"button",on:{mouseover:function(n){return t.loadNameBlackListSettings()},click:function(n){return t.toggleNameSettings()}}},[t._v("\n 精确匹配列表"),n("VIcon",{attrs:{icon:"right-arrow",size:16}})],1)],1),t._v(" "),n("div",{staticClass:"custom-black-list-extra-options"},[n("VButton",{on:{mouseover:function(n){return t.loadRegexBlackListSettings()},click:function(n){return t.toggleRegexSettings()}}},[t._v("\n 正则匹配列表"),n("VIcon",{attrs:{icon:"right-arrow",size:16}})],1)],1)])};s._withStripped=!0;var i=e(164);const o=coreApis.settings,l=coreApis.utils;var c=e(322),a=e(197);let r,A;const b=(0,o.getComponentSettings)("blackList").options,u=async()=>{if(r)return!1;const t=await Promise.resolve().then(e.bind(e,293)).then((t=>t.default));return r=(0,l.mountVueComponent)(t),document.body.insertAdjacentElement("beforeend",r.$el),!0},g=async()=>{if(A)return!1;const t=await Promise.resolve().then(e.bind(e,293)).then((t=>t.default));return A=(0,l.mountVueComponent)(t),document.body.insertAdjacentElement("beforeend",A.$el),!0},d=Vue.extend({components:{VIcon:i.VIcon,VButton:i.VButton},methods:{async loadNameBlackListSettings(){if(await u()){(t=>{if(!r)return;r.triggerElement=t;const n=(0,c.getData)(a.N);r.list=lodash.cloneDeep(n[0].up),r.save=t=>{(0,c.addData)(a.N,(n=>{n.up=t})),b.up=t},r.titleName="精确匹配"})(this.$refs.button.$el)}},toggleNameSettings:async()=>{r||await u(),r?.toggle()},async loadRegexBlackListSettings(){if(await g()){(t=>{if(!A)return;A.triggerElement=t;const n=(0,c.getData)(a.N);A.list=lodash.cloneDeep(n[0].upRegex),A.save=t=>{(0,c.addData)(a.N,(n=>{n.upRegex=t})),b.upRegex=t},A.titleName="正则匹配"})(this.$refs.button.$el)}},toggleRegexSettings:async()=>{A||await g(),A?.toggle()}}});var p=e(991),m=e.n(p),k=e(645),f=e.n(k),C={insert:"head",singleton:!1};m()(f(),C);f().locals;const x=(0,e(678).A)(d,s,[],!1,null,null,null).exports},678:(t,n,e)=>{"use strict";function s(t,n,e,s,i,o,l,c){var a,r="function"==typeof t?t.options:t;if(n&&(r.render=n,r.staticRenderFns=e,r._compiled=!0),s&&(r.functional=!0),o&&(r._scopeId="data-v-"+o),l?(a=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),i&&i.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(l)},r._ssrRegister=a):i&&(a=c?function(){i.call(this,(r.functional?this.parent:this).$root.$options.shadowRoot)}:i),a)if(r.functional){r._injectStyles=a;var A=r.render;r.render=function(t,n){return a.call(n),A(t,n)}}else{var b=r.beforeCreate;r.beforeCreate=b?[].concat(b,a):[a]}return{exports:t,options:r}}e.d(n,{A:()=>s})},322:t=>{"use strict";t.exports=coreApis.pluginApis.data},164:t=>{"use strict";t.exports=coreApis.ui}},n={};function e(s){var i=n[s];if(void 0!==i)return i.exports;var o=n[s]={id:s,exports:{}};return t[s](o,o.exports,e),o.exports}e.n=t=>{var n=t&&t.__esModule?()=>t.default:()=>t;return e.d(n,{a:n}),n},e.d=(t,n)=>{for(var s in n)e.o(n,s)&&!e.o(t,s)&&Object.defineProperty(t,s,{enumerable:!0,get:n[s]})},e.o=(t,n)=>Object.prototype.hasOwnProperty.call(t,n),e.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},e.nc=void 0;var s={};return(()=>{"use strict";e.d(s,{component:()=>a});const t=coreApis.componentApis.define,n=coreApis.observer,i=coreApis.spinQuery,o=coreApis.utils.urls;var l=e(322),c=e(197);const a=(0,t.defineComponentMetadata)({name:"blackList",entry:async t=>{let{settings:{options:e}}=t;const s={up:e.up,upRegex:e.upRegex};(0,l.registerData)(c.N,s);const o=await(0,i.selectAll)(".feed2");(0,n.allMutationsOn)(o,(async()=>{const t=await(0,i.selectAll)(".bili-video-card");if(!t)return;const n=(0,l.getData)(c.N),e=n[0].upRegex.map((t=>new RegExp(t)));t.forEach((t=>{const s=t.querySelector(".bili-video-card__info--author"),i=t.querySelector(".bili-video-card__info--tit > a");if(null!=s){const o=s.innerHTML;if(-1!==n[0].up.indexOf(o)){t.querySelector(".v-img.bili-video-card__cover").innerHTML="",s.innerHTML="",i.innerHTML=""}else for(const n in e)if(e[n].test(o)){t.querySelector(".v-img.bili-video-card__cover").innerHTML="",s.innerHTML="",i.innerHTML="";break}}}))}))},extraOptions:()=>Promise.resolve().then(e.bind(e,133)).then((t=>t.default)),options:{up:{displayName:"up主名称",defaultValue:[],hidden:!0},upRegex:{displayName:"正则匹配up主名称",defaultValue:[],hidden:!0}},displayName:"屏蔽黑名单up主",tags:[componentsTags.utils],description:{"zh-CN":"屏蔽黑名单up主, 根据up主的名称进行匹配,支持精确匹配和正则匹配. 请注意只能在首页中使用或调整设置."},author:{name:"snowraincloud",link:"https://github.com/snowraincloud"},urlInclude:o.mainSiteUrls,commitHash:"d87d69cfb9d7e0124bd90a06fec4569bd61e02c5",coreVersion:"2.10.7"})})(),s=s.component})())); //# sourceMappingURL=https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/registry/dist/components/utils/black-list.js.map \ No newline at end of file diff --git a/bb-evolved/registry/dist/components/utils/change-update-urls.js b/bb-evolved/registry/dist/components/utils/change-update-urls.js index 86197b2c6c..486f9be69d 100644 --- a/bb-evolved/registry/dist/components/utils/change-update-urls.js +++ b/bb-evolved/registry/dist/components/utils/change-update-urls.js @@ -1,2 +1,2 @@ -!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["utils/change-update-urls"]=t():e["utils/change-update-urls"]=t()}(globalThis,(()=>(()=>{"use strict";var e={101:(e,t,o)=>{o.r(t),o.d(t,{default:()=>c});var n=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("DefaultWidget",{attrs:{name:"替换更新链接",icon:"mdi-file-replace-outline",disabled:e.busy},on:{click:function(t){return e.replaceBranch()}}})};n._withStripped=!0;const r=coreApis.settings,i=coreApis.toast,s=coreApis.utils.log,a=coreApis.ui;var l=function(e,t,o,n,r,i,s,a){var l,c="function"==typeof e?e.options:e;if(t&&(c.render=t,c.staticRenderFns=o,c._compiled=!0),n&&(c.functional=!0),i&&(c._scopeId="data-v-"+i),s?(l=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),r&&r.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(s)},c._ssrRegister=l):r&&(l=a?function(){r.call(this,(c.functional?this.parent:this).$root.$options.shadowRoot)}:r),l)if(c.functional){c._injectStyles=l;var u=c.render;c.render=function(e,t){return l.call(t),u(e,t)}}else{var p=c.beforeCreate;c.beforeCreate=p?[].concat(p,l):[l]}return{exports:e,options:c}}(Vue.extend({components:{DefaultWidget:a.DefaultWidget},data:()=>({busy:!1}),methods:{async replaceBranch(){const e=window.prompt("输入希望替换成的分支名称");if(e){this.busy=!0;try{const{options:t}=(0,r.getComponentSettings)("autoUpdate");Object.values(t.urls).forEach((t=>{Object.values(t).forEach((t=>{const o=/^(https:\/\/github\.com\/.+\/Bilibili-Evolved\/raw\/)(.+?)(\/)/;if(o.test(t.url))return void(t.url=t.url.replace(o,`$1${e}$3`));const n=/^(https:\/\/raw\.githubusercontent\.com\/.+\/Bilibili-Evolved\/)(.+?)(\/)/;if(n.test(t.url))return void(t.url=t.url.replace(n,`$1${e}$3`));const r=/^(https:\/\/cdn\.jsdelivr\.net\/gh\/.+\/Bilibili-Evolved@)(.+?)(\/)/;r.test(t.url)?t.url=t.url.replace(r,`$1${e}$3`):console.log("skip record",t)}))})),i.Toast.info("替换完成","替换更新链接",3e3)}catch(e){(0,s.logError)(e)}finally{this.busy=!1}}}}}),n,[],!1,null,null,null);const c=l.exports}},t={};function o(n){var r=t[n];if(void 0!==r)return r.exports;var i=t[n]={exports:{}};return e[n](i,i.exports,o),i.exports}o.d=(e,t)=>{for(var n in t)o.o(t,n)&&!o.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var n={};o.d(n,{component:()=>r});const r=(0,coreApis.componentApis.define.defineComponentMetadata)({name:"changeUpdateUrls",displayName:"更新链接替换",description:"批量更换已安装功能的更新链接的分支, 对本地安装的功能无效.",entry:none,tags:[componentsTags.utils],widget:{component:()=>Promise.resolve().then(o.bind(o,101)).then((e=>e.default))},commitHash:"58c0b438ca2371e397f70466a91572cb2757b142",coreVersion:"2.10.7"});return n=n.component})())); +!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["utils/change-update-urls"]=t():e["utils/change-update-urls"]=t()}(globalThis,(()=>(()=>{"use strict";var e={101:(e,t,o)=>{o.r(t),o.d(t,{default:()=>c});var n=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("DefaultWidget",{attrs:{name:"替换更新链接",icon:"mdi-file-replace-outline",disabled:e.busy},on:{click:function(t){return e.replaceBranch()}}})};n._withStripped=!0;const r=coreApis.settings,i=coreApis.toast,s=coreApis.utils.log,l=coreApis.ui;var a=function(e,t,o,n,r,i,s,l){var a,c="function"==typeof e?e.options:e;if(t&&(c.render=t,c.staticRenderFns=o,c._compiled=!0),n&&(c.functional=!0),i&&(c._scopeId="data-v-"+i),s?(a=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),r&&r.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(s)},c._ssrRegister=a):r&&(a=l?function(){r.call(this,(c.functional?this.parent:this).$root.$options.shadowRoot)}:r),a)if(c.functional){c._injectStyles=a;var d=c.render;c.render=function(e,t){return a.call(t),d(e,t)}}else{var u=c.beforeCreate;c.beforeCreate=u?[].concat(u,a):[a]}return{exports:e,options:c}}(Vue.extend({components:{DefaultWidget:l.DefaultWidget},data:()=>({busy:!1}),methods:{async replaceBranch(){const e=window.prompt("输入希望替换成的分支名称");if(e){this.busy=!0;try{const{options:t}=(0,r.getComponentSettings)("autoUpdate");Object.values(t.urls).forEach((t=>{Object.values(t).forEach((t=>{const o=/^(https:\/\/github\.com\/.+\/Bilibili-Evolved\/raw\/)(.+?)(\/)/;if(o.test(t.url))return void(t.url=t.url.replace(o,`$1${e}$3`));const n=/^(https:\/\/raw\.githubusercontent\.com\/.+\/Bilibili-Evolved\/)(.+?)(\/)/;if(n.test(t.url))return void(t.url=t.url.replace(n,`$1${e}$3`));const r=/^(https:\/\/cdn\.jsdelivr\.net\/gh\/.+\/Bilibili-Evolved@)(.+?)(\/)/;r.test(t.url)?t.url=t.url.replace(r,`$1${e}$3`):console.log("skip record",t)}))})),i.Toast.info("替换完成","替换更新链接",3e3)}catch(e){(0,s.logError)(e)}finally{this.busy=!1}}}}}),n,[],!1,null,null,null);const c=a.exports}},t={};function o(n){var r=t[n];if(void 0!==r)return r.exports;var i=t[n]={exports:{}};return e[n](i,i.exports,o),i.exports}o.d=(e,t)=>{for(var n in t)o.o(t,n)&&!o.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var n={};o.d(n,{component:()=>r});const r=(0,coreApis.componentApis.define.defineComponentMetadata)({name:"changeUpdateUrls",displayName:"更新链接替换",description:"批量更换已安装功能的更新链接的分支, 对本地安装的功能无效.",entry:none,tags:[componentsTags.utils],widget:{component:()=>Promise.resolve().then(o.bind(o,101)).then((e=>e.default))},commitHash:"d87d69cfb9d7e0124bd90a06fec4569bd61e02c5",coreVersion:"2.10.7"});return n=n.component})())); //# sourceMappingURL=https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/registry/dist/components/utils/change-update-urls.js.map \ No newline at end of file diff --git a/bb-evolved/registry/dist/components/utils/check-in-center.js b/bb-evolved/registry/dist/components/utils/check-in-center.js index 1b7b2cf03b..45b39c4cb1 100644 --- a/bb-evolved/registry/dist/components/utils/check-in-center.js +++ b/bb-evolved/registry/dist/components/utils/check-in-center.js @@ -1,2 +1,2 @@ -!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["utils/check-in-center"]=t():e["utils/check-in-center"]=t()}(globalThis,(()=>(()=>{"use strict";var e={606:(e,t,n)=>{n.r(t),n.d(t,{default:()=>u});var o=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"multiple-widgets"},e._l(e.items,(function(n){return t("DefaultWidget",{key:n.name,attrs:{disabled:n.disabled,"data-name":n.name,name:n.displayName,icon:n.icon},on:{click:function(t){return e.runItemAction(n,t)}}})})),1)};o._withStripped=!0;const i=coreApis.ui,s=coreApis.ajax,r=coreApis.toast;var a=n(847);const c=coreApis.pluginApis.data,d=[{name:"seeds-to-coins",displayName:"瓜子换硬币",icon:"mdi-seed-outline",action:async()=>{const e=await(0,s.postTextWithCredentials)("https://api.live.bilibili.com/xlive/revenue/v1/wallet/silver2coin",new URLSearchParams({csrf:(0,a.getCsrf)(),csrf_token:(0,a.getCsrf)()})),t=JSON.parse(e);0!==t.code?r.Toast.info(t.message,"瓜子换硬币",3e3):r.Toast.success(`${t.message}\n剩余银瓜子:${t.data.silver}`,"瓜子换硬币",3e3)}}],[l]=(0,c.registerAndGetData)("checkInCenter.items",d);var p=function(e,t,n,o,i,s,r,a){var c,d="function"==typeof e?e.options:e;if(t&&(d.render=t,d.staticRenderFns=n,d._compiled=!0),o&&(d.functional=!0),s&&(d._scopeId="data-v-"+s),r?(c=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),i&&i.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(r)},d._ssrRegister=c):i&&(c=a?function(){i.call(this,(d.functional?this.parent:this).$root.$options.shadowRoot)}:i),c)if(d.functional){d._injectStyles=c;var l=d.render;d.render=function(e,t){return c.call(t),l(e,t)}}else{var p=d.beforeCreate;d.beforeCreate=p?[].concat(p,c):[c]}return{exports:e,options:d}}(Vue.extend({components:{DefaultWidget:i.DefaultWidget},data:()=>({items:l}),methods:{async runItemAction(e,t){try{this.$set(e,"disabled",!0);const n=this.$el.querySelector(`[data-name='${e.name}']`);await e.action(n,t)}finally{e.disabled=!1}}}}),o,[],!1,null,null,null);const u=p.exports},847:e=>{e.exports=coreApis.utils}},t={};function n(o){var i=t[o];if(void 0!==i)return i.exports;var s=t[o]={exports:{}};return e[o](s,s.exports,n),s.exports}n.d=(e,t)=>{for(var o in t)n.o(t,o)&&!n.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var o={};n.d(o,{component:()=>r});const i=coreApis.componentApis.define;var s=n(847);const r=(0,i.defineComponentMetadata)({name:"checkInCenter",displayName:"签到助手",description:{"zh-CN":"在功能面板中提供一些可以每日进行的操作."},tags:[componentsTags.utils],entry:none,widget:{component:()=>Promise.resolve().then(n.bind(n,606)).then((e=>e.default)),condition:()=>Boolean((0,s.getUID)())},commitHash:"58c0b438ca2371e397f70466a91572cb2757b142",coreVersion:"2.10.7"});return o=o.component})())); +!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["utils/check-in-center"]=t():e["utils/check-in-center"]=t()}(globalThis,(()=>(()=>{"use strict";var e={606:(e,t,n)=>{n.r(t),n.d(t,{default:()=>u});var o=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"multiple-widgets"},e._l(e.items,(function(n){return t("DefaultWidget",{key:n.name,attrs:{disabled:n.disabled,"data-name":n.name,name:n.displayName,icon:n.icon},on:{click:function(t){return e.runItemAction(n,t)}}})})),1)};o._withStripped=!0;const i=coreApis.ui,s=coreApis.ajax,r=coreApis.toast;var a=n(847);const c=coreApis.pluginApis.data,d=[{name:"seeds-to-coins",displayName:"瓜子换硬币",icon:"mdi-seed-outline",action:async()=>{const e=await(0,s.postTextWithCredentials)("https://api.live.bilibili.com/xlive/revenue/v1/wallet/silver2coin",new URLSearchParams({csrf:(0,a.getCsrf)(),csrf_token:(0,a.getCsrf)()})),t=JSON.parse(e);0!==t.code?r.Toast.info(t.message,"瓜子换硬币",3e3):r.Toast.success(`${t.message}\n剩余银瓜子:${t.data.silver}`,"瓜子换硬币",3e3)}}],[l]=(0,c.registerAndGetData)("checkInCenter.items",d);var p=function(e,t,n,o,i,s,r,a){var c,d="function"==typeof e?e.options:e;if(t&&(d.render=t,d.staticRenderFns=n,d._compiled=!0),o&&(d.functional=!0),s&&(d._scopeId="data-v-"+s),r?(c=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),i&&i.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(r)},d._ssrRegister=c):i&&(c=a?function(){i.call(this,(d.functional?this.parent:this).$root.$options.shadowRoot)}:i),c)if(d.functional){d._injectStyles=c;var l=d.render;d.render=function(e,t){return c.call(t),l(e,t)}}else{var p=d.beforeCreate;d.beforeCreate=p?[].concat(p,c):[c]}return{exports:e,options:d}}(Vue.extend({components:{DefaultWidget:i.DefaultWidget},data:()=>({items:l}),methods:{async runItemAction(e,t){try{this.$set(e,"disabled",!0);const n=this.$el.querySelector(`[data-name='${e.name}']`);await e.action(n,t)}finally{e.disabled=!1}}}}),o,[],!1,null,null,null);const u=p.exports},847:e=>{e.exports=coreApis.utils}},t={};function n(o){var i=t[o];if(void 0!==i)return i.exports;var s=t[o]={exports:{}};return e[o](s,s.exports,n),s.exports}n.d=(e,t)=>{for(var o in t)n.o(t,o)&&!n.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var o={};n.d(o,{component:()=>r});const i=coreApis.componentApis.define;var s=n(847);const r=(0,i.defineComponentMetadata)({name:"checkInCenter",displayName:"签到助手",description:{"zh-CN":"在功能面板中提供一些可以每日进行的操作."},tags:[componentsTags.utils],entry:none,widget:{component:()=>Promise.resolve().then(n.bind(n,606)).then((e=>e.default)),condition:()=>Boolean((0,s.getUID)())},commitHash:"d87d69cfb9d7e0124bd90a06fec4569bd61e02c5",coreVersion:"2.10.7"});return o=o.component})())); //# sourceMappingURL=https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/registry/dist/components/utils/check-in-center.js.map \ No newline at end of file diff --git a/bb-evolved/registry/dist/components/utils/column-unlock.js b/bb-evolved/registry/dist/components/utils/column-unlock.js index 4562f3ffaa..b53e806c8b 100644 --- a/bb-evolved/registry/dist/components/utils/column-unlock.js +++ b/bb-evolved/registry/dist/components/utils/column-unlock.js @@ -1,2 +1,2 @@ -!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["utils/column-unlock"]=t():e["utils/column-unlock"]=t()}(globalThis,(()=>(()=>{var e,t,o={61:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=61,e.exports=t},26:e=>{"use strict";e.exports="(原名: 专栏文字选择, 现在专栏已经不限制选中文字了)\n\n避免专栏的文字复制后在最后带上出处信息, 更贴近原生的复制行为.\n"},479:e=>{"use strict";e.exports=coreApis.style}},n={};function r(e){var t=n[e];if(void 0!==t)return t.exports;var c=n[e]={exports:{}};return o[e](c,c.exports,r),c.exports}t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,r.t=function(o,n){if(1&n&&(o=this(o)),8&n)return o;if("object"==typeof o&&o){if(4&n&&o.__esModule)return o;if(16&n&&"function"==typeof o.then)return o}var c=Object.create(null);r.r(c);var i={};e=e||[null,t({}),t([]),t(t)];for(var s=2&n&&o;"object"==typeof s&&!~e.indexOf(s);s=t(s))Object.getOwnPropertyNames(s).forEach((e=>i[e]=()=>o[e]));return i.default=()=>o,r.d(c,i),c},r.d=(e,t)=>{for(var o in t)r.o(t,o)&&!r.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var c={};return(()=>{"use strict";r.d(c,{component:()=>s});const e=coreApis.componentApis.define;let t=!1,o=!0;const n="column-unlock",i=async()=>{o=!0;const{addStyle:e}=await Promise.resolve().then(r.t.bind(r,479,23));e(".article-holder { user-select: text !important }",n),t||(t=!0,document.addEventListener("copy",(e=>{o&&e.stopImmediatePropagation()}),{capture:!0}))},s=(0,e.defineComponentMetadata)({name:"columnUnlock",displayName:"专栏复制优化",entry:i,reload:i,unload:async()=>{document.getElementById(n)?.remove(),o=!1},tags:[componentsTags.utils],urlInclude:["//www.bilibili.com/read/"],commitHash:"58c0b438ca2371e397f70466a91572cb2757b142",coreVersion:"2.10.7",description:(()=>{const e=r(61);return{...Object.fromEntries(e.keys().map((t=>[t.match(/index\.(.+)\.md$/)[1],e(t)]))),"zh-CN":()=>Promise.resolve().then(r.t.bind(r,26,17)).then((e=>e.default))}})()})})(),c=c.component})())); +!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["utils/column-unlock"]=t():e["utils/column-unlock"]=t()}(globalThis,(()=>(()=>{var e,t,o={61:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=61,e.exports=t},26:e=>{"use strict";e.exports="(原名: 专栏文字选择, 现在专栏已经不限制选中文字了)\n\n避免专栏的文字复制后在最后带上出处信息, 更贴近原生的复制行为.\n"},479:e=>{"use strict";e.exports=coreApis.style}},n={};function r(e){var t=n[e];if(void 0!==t)return t.exports;var c=n[e]={exports:{}};return o[e](c,c.exports,r),c.exports}t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,r.t=function(o,n){if(1&n&&(o=this(o)),8&n)return o;if("object"==typeof o&&o){if(4&n&&o.__esModule)return o;if(16&n&&"function"==typeof o.then)return o}var c=Object.create(null);r.r(c);var i={};e=e||[null,t({}),t([]),t(t)];for(var s=2&n&&o;"object"==typeof s&&!~e.indexOf(s);s=t(s))Object.getOwnPropertyNames(s).forEach((e=>i[e]=()=>o[e]));return i.default=()=>o,r.d(c,i),c},r.d=(e,t)=>{for(var o in t)r.o(t,o)&&!r.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var c={};return(()=>{"use strict";r.d(c,{component:()=>s});const e=coreApis.componentApis.define;let t=!1,o=!0;const n="column-unlock",i=async()=>{o=!0;const{addStyle:e}=await Promise.resolve().then(r.t.bind(r,479,23));e(".article-holder { user-select: text !important }",n),t||(t=!0,document.addEventListener("copy",(e=>{o&&e.stopImmediatePropagation()}),{capture:!0}))},s=(0,e.defineComponentMetadata)({name:"columnUnlock",displayName:"专栏复制优化",entry:i,reload:i,unload:async()=>{document.getElementById(n)?.remove(),o=!1},tags:[componentsTags.utils],urlInclude:["//www.bilibili.com/read/"],commitHash:"d87d69cfb9d7e0124bd90a06fec4569bd61e02c5",coreVersion:"2.10.7",description:(()=>{const e=r(61);return{...Object.fromEntries(e.keys().map((t=>[t.match(/index\.(.+)\.md$/)[1],e(t)]))),"zh-CN":()=>Promise.resolve().then(r.t.bind(r,26,17)).then((e=>e.default))}})()})})(),c=c.component})())); //# sourceMappingURL=https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/registry/dist/components/utils/column-unlock.js.map \ No newline at end of file diff --git a/bb-evolved/registry/dist/components/utils/comments/content-replace.js b/bb-evolved/registry/dist/components/utils/comments/content-replace.js index 2647caa14f..c0f3b7a1aa 100644 --- a/bb-evolved/registry/dist/components/utils/comments/content-replace.js +++ b/bb-evolved/registry/dist/components/utils/comments/content-replace.js @@ -11,5 +11,5 @@ var c=this[a][0];null!=c&&(r[c]=!0)}for(var i=0;i{"use strict";var o,r=function(){return void 0===o&&( // @see http://browserhacks.com/#hack-e71d8692f65334173fee715c222cb805 // @see https://github.com/webpack-contrib/style-loader/issues/177 -o=Boolean(window&&document&&document.all&&!window.atob)),o},a=function(){var e={};return function(t){if(void 0===e[t]){var n=document.querySelector(t);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}e[t]=n}return e[t]}}(),c=[];function i(e){for(var t=-1,n=0;n{"use strict";n.r(t),n.d(t,{default:()=>b});var o=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"comment-content-replace-extra-options"},[t("div",{staticClass:"comment-content-replace-rows"},[e._l(e.rows,(function(n,o){return[t("ContentReplaceRow",{key:n.key,attrs:{row:n},on:{change:function(t){return e.handleRowChange(n,t)},delete:function(t){return e.handleRowDelete(n)}}}),e._v(" "),o0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";this.from=e,this.to=t,i(this,"key",(0,a.getRandomId)())}}var l=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"comment-content-replace-row"},[t("div",{staticClass:"comment-content-replace-row-from"},[t("TextBox",{attrs:{placeholder:"查找",text:e.row.from,"change-on-blur":""},on:{change:function(t){return e.emitChange({from:t,to:e.row.to})}}}),e._v(" "),t("VButton",{attrs:{type:"transparent",icon:"",title:"删除此项"},on:{click:e.emitDelete}},[t("VIcon",{attrs:{size:14,icon:"mdi-trash-can-outline"}})],1)],1),e._v(" "),t("div",{staticClass:"comment-content-replace-row-to"},[t("VIcon",{staticClass:"comment-content-replace-row-to-icon",attrs:{size:14}},[t("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}},[t("path",{attrs:{d:"M20 16L14.5 21.5L13.08 20.09L16.17 17H10.5C6.91 17 4 14.09 4 10.5V4H6V10.5C6 13 8 15 10.5 15H16.17L13.09 11.91L14.5 10.5L20 16Z",fill:"currentColor"}})])]),e._v(" "),t("TextBox",{attrs:{placeholder:"替换为",text:e.row.to,"change-on-blur":""},on:{change:function(t){return e.emitChange({from:e.row.from,to:t})}}})],1)])};l._withStripped=!0;const u=Vue.extend({components:{VButton:c.VButton,VIcon:c.VIcon,TextBox:c.TextBox},props:{row:{required:!0,type:s}},methods:{emitChange(e){this.$emit("change",e)},emitDelete(){this.$emit("delete")}}});var p=n(991),d=n.n(p),f=n(572),m=n.n(f),h={insert:"head",singleton:!1};d()(m(),h);m().locals;function A(e,t,n,o,r,a,c,i){var s,l="function"==typeof e?e.options:e;if(t&&(l.render=t,l.staticRenderFns=n,l._compiled=!0),o&&(l.functional=!0),a&&(l._scopeId="data-v-"+a),c?(s=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),r&&r.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(c)},l._ssrRegister=s):r&&(s=i?function(){r.call(this,(l.functional?this.parent:this).$root.$options.shadowRoot)}:r),s)if(l.functional){l._injectStyles=s;var u=l.render;l.render=function(e,t){return s.call(t),u(e,t)}}else{var p=l.beforeCreate;l.beforeCreate=p?[].concat(p,s):[s]}return{exports:e,options:l}}const v=A(u,l,[],!1,null,null,null).exports,{options:g}=(0,r.getComponentSettings)("commentContentReplace"),C=Vue.extend({components:{ContentReplaceRow:v,VButton:c.VButton,VIcon:c.VIcon},data(){const{replaceMap:e}=g;return{rows:Object.entries(e).map((e=>{let[t,n]=e;return new s(t,n)}))}},methods:{saveSettings(){const e=this.rows.map((e=>[e.from,e.to])).filter((e=>{let[t]=e;return Boolean(t)}));g.replaceMap=Object.fromEntries(e)},handleRowChange(e,t){e.from=t.from,e.to=t.to,this.saveSettings()},handleRowDelete(e){(0,a.deleteValue)(this.rows,(t=>t===e)),this.saveSettings()},handleRowAdd(){this.rows.push(new s)}}});var y=n(946),x=n.n(y),w={insert:"head",singleton:!1};d()(x(),w);x().locals;const b=A(C,o,[],!1,null,null,null).exports},699:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=699,e.exports=t},80:e=>{"use strict";e.exports="替换评论中的内容.\n\n可以添加多个替换配置, 每项配置可将一个关键词替换为其他文本. 若替换的目标是一个链接, 则视作替换为表情, 留空则会移除命中的关键词.\n"},322:e=>{"use strict";e.exports=coreApis.pluginApis.data},905:e=>{"use strict";e.exports=coreApis.settings}},o={};function r(e){var t=o[e];if(void 0!==t)return t.exports;var a=o[e]={id:e,exports:{}};return n[e](a,a.exports,r),a.exports}r.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,r.t=function(n,o){if(1&o&&(n=this(n)),8&o)return n;if("object"==typeof n&&n){if(4&o&&n.__esModule)return n;if(16&o&&"function"==typeof n.then)return n}var a=Object.create(null);r.r(a);var c={};e=e||[null,t({}),t([]),t(t)];for(var i=2&o&&n;"object"==typeof i&&!~e.indexOf(i);i=t(i))Object.getOwnPropertyNames(i).forEach((e=>c[e]=()=>n[e]));return c.default=()=>n,r.d(a,c),a},r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.nc=void 0;var a={};return(()=>{"use strict";r.d(a,{component:()=>i});const e=coreApis.componentApis.define,t=coreApis.componentApis.utils.commentApis,n=coreApis.spinQuery;var o=r(322);const c=(0,e.defineOptionsMetadata)({replaceMap:{defaultValue:{},hidden:!0}}),i=(0,e.defineComponentMetadata)({name:"commentContentReplace",displayName:"评论内容替换",tags:[componentsTags.utils],options:c,entry:async()=>{(0,t.forEachCommentItem)({added:async e=>{const{CommentContentReplaceHandlers:t}=await Promise.resolve().then(r.bind(r,432)),a=async e=>{if(void 0===e.shadowDomEntry)return;const r=await(0,n.sq)((()=>e.shadowDomEntry.querySelector(":host(bili-rich-text) #contents")),(e=>e.childNodes.length>0),{queryInterval:100});if(null===r)return;const[a]=(0,o.getData)(t);a.forEach((t=>t({commentItem:e,content:Array.from(r.childNodes)})))};await a(e),e.replies.forEach((e=>{a(e)})),e.addEventListener("repliesUpdate",(e=>{e.detail.forEach((e=>{a(e)}))}))}})},extraOptions:()=>Promise.resolve().then(r.bind(r,77)),commitHash:"58c0b438ca2371e397f70466a91572cb2757b142",coreVersion:"2.10.7",description:(()=>{const e=r(699);return{...Object.fromEntries(e.keys().map((t=>[t.match(/index\.(.+)\.md$/)[1],e(t)]))),"zh-CN":()=>Promise.resolve().then(r.t.bind(r,80,17)).then((e=>e.default))}})()})})(),a=a.component})())); +o=Boolean(window&&document&&document.all&&!window.atob)),o},a=function(){var e={};return function(t){if(void 0===e[t]){var n=document.querySelector(t);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}e[t]=n}return e[t]}}(),c=[];function i(e){for(var t=-1,n=0;n{"use strict";n.r(t),n.d(t,{default:()=>b});var o=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"comment-content-replace-extra-options"},[t("div",{staticClass:"comment-content-replace-rows"},[e._l(e.rows,(function(n,o){return[t("ContentReplaceRow",{key:n.key,attrs:{row:n},on:{change:function(t){return e.handleRowChange(n,t)},delete:function(t){return e.handleRowDelete(n)}}}),e._v(" "),o0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";this.from=e,this.to=t,i(this,"key",(0,a.getRandomId)())}}var l=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"comment-content-replace-row"},[t("div",{staticClass:"comment-content-replace-row-from"},[t("TextBox",{attrs:{placeholder:"查找",text:e.row.from,"change-on-blur":""},on:{change:function(t){return e.emitChange({from:t,to:e.row.to})}}}),e._v(" "),t("VButton",{attrs:{type:"transparent",icon:"",title:"删除此项"},on:{click:e.emitDelete}},[t("VIcon",{attrs:{size:14,icon:"mdi-trash-can-outline"}})],1)],1),e._v(" "),t("div",{staticClass:"comment-content-replace-row-to"},[t("VIcon",{staticClass:"comment-content-replace-row-to-icon",attrs:{size:14}},[t("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}},[t("path",{attrs:{d:"M20 16L14.5 21.5L13.08 20.09L16.17 17H10.5C6.91 17 4 14.09 4 10.5V4H6V10.5C6 13 8 15 10.5 15H16.17L13.09 11.91L14.5 10.5L20 16Z",fill:"currentColor"}})])]),e._v(" "),t("TextBox",{attrs:{placeholder:"替换为",text:e.row.to,"change-on-blur":""},on:{change:function(t){return e.emitChange({from:e.row.from,to:t})}}})],1)])};l._withStripped=!0;const u=Vue.extend({components:{VButton:c.VButton,VIcon:c.VIcon,TextBox:c.TextBox},props:{row:{required:!0,type:s}},methods:{emitChange(e){this.$emit("change",e)},emitDelete(){this.$emit("delete")}}});var p=n(991),d=n.n(p),f=n(572),m=n.n(f),h={insert:"head",singleton:!1};d()(m(),h);m().locals;function A(e,t,n,o,r,a,c,i){var s,l="function"==typeof e?e.options:e;if(t&&(l.render=t,l.staticRenderFns=n,l._compiled=!0),o&&(l.functional=!0),a&&(l._scopeId="data-v-"+a),c?(s=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),r&&r.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(c)},l._ssrRegister=s):r&&(s=i?function(){r.call(this,(l.functional?this.parent:this).$root.$options.shadowRoot)}:r),s)if(l.functional){l._injectStyles=s;var u=l.render;l.render=function(e,t){return s.call(t),u(e,t)}}else{var p=l.beforeCreate;l.beforeCreate=p?[].concat(p,s):[s]}return{exports:e,options:l}}const v=A(u,l,[],!1,null,null,null).exports,{options:g}=(0,r.getComponentSettings)("commentContentReplace"),C=Vue.extend({components:{ContentReplaceRow:v,VButton:c.VButton,VIcon:c.VIcon},data(){const{replaceMap:e}=g;return{rows:Object.entries(e).map((e=>{let[t,n]=e;return new s(t,n)}))}},methods:{saveSettings(){const e=this.rows.map((e=>[e.from,e.to])).filter((e=>{let[t]=e;return Boolean(t)}));g.replaceMap=Object.fromEntries(e)},handleRowChange(e,t){e.from=t.from,e.to=t.to,this.saveSettings()},handleRowDelete(e){(0,a.deleteValue)(this.rows,(t=>t===e)),this.saveSettings()},handleRowAdd(){this.rows.push(new s)}}});var y=n(946),x=n.n(y),w={insert:"head",singleton:!1};d()(x(),w);x().locals;const b=A(C,o,[],!1,null,null,null).exports},699:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=699,e.exports=t},80:e=>{"use strict";e.exports="替换评论中的内容.\n\n可以添加多个替换配置, 每项配置可将一个关键词替换为其他文本. 若替换的目标是一个链接, 则视作替换为表情, 留空则会移除命中的关键词.\n"},322:e=>{"use strict";e.exports=coreApis.pluginApis.data},905:e=>{"use strict";e.exports=coreApis.settings}},o={};function r(e){var t=o[e];if(void 0!==t)return t.exports;var a=o[e]={id:e,exports:{}};return n[e](a,a.exports,r),a.exports}r.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,r.t=function(n,o){if(1&o&&(n=this(n)),8&o)return n;if("object"==typeof n&&n){if(4&o&&n.__esModule)return n;if(16&o&&"function"==typeof n.then)return n}var a=Object.create(null);r.r(a);var c={};e=e||[null,t({}),t([]),t(t)];for(var i=2&o&&n;"object"==typeof i&&!~e.indexOf(i);i=t(i))Object.getOwnPropertyNames(i).forEach((e=>c[e]=()=>n[e]));return c.default=()=>n,r.d(a,c),a},r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.nc=void 0;var a={};return(()=>{"use strict";r.d(a,{component:()=>i});const e=coreApis.componentApis.define,t=coreApis.componentApis.utils.commentApis,n=coreApis.spinQuery;var o=r(322);const c=(0,e.defineOptionsMetadata)({replaceMap:{defaultValue:{},hidden:!0}}),i=(0,e.defineComponentMetadata)({name:"commentContentReplace",displayName:"评论内容替换",tags:[componentsTags.utils],options:c,entry:async()=>{(0,t.forEachCommentItem)({added:async e=>{const{CommentContentReplaceHandlers:t}=await Promise.resolve().then(r.bind(r,432)),a=async e=>{if(void 0===e.shadowDomEntry)return;const r=await(0,n.sq)((()=>e.shadowDomEntry.querySelector(":host(bili-rich-text) #contents")),(e=>e.childNodes.length>0),{queryInterval:100});if(null===r)return;const[a]=(0,o.getData)(t);a.forEach((t=>t({commentItem:e,content:Array.from(r.childNodes)})))};await a(e),e.replies.forEach((e=>{a(e)})),e.addEventListener("repliesUpdate",(e=>{e.detail.forEach((e=>{a(e)}))}))}})},extraOptions:()=>Promise.resolve().then(r.bind(r,77)),commitHash:"d87d69cfb9d7e0124bd90a06fec4569bd61e02c5",coreVersion:"2.10.7",description:(()=>{const e=r(699);return{...Object.fromEntries(e.keys().map((t=>[t.match(/index\.(.+)\.md$/)[1],e(t)]))),"zh-CN":()=>Promise.resolve().then(r.t.bind(r,80,17)).then((e=>e.default))}})()})})(),a=a.component})())); //# sourceMappingURL=https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/registry/dist/components/utils/comments/content-replace.js.map \ No newline at end of file diff --git a/bb-evolved/registry/dist/components/utils/comments/copy-link.js b/bb-evolved/registry/dist/components/utils/comments/copy-link.js index 25e75ce06b..cea7088e7b 100644 --- a/bb-evolved/registry/dist/components/utils/comments/copy-link.js +++ b/bb-evolved/registry/dist/components/utils/comments/copy-link.js @@ -1,2 +1,2 @@ -!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["utils/comments/copy-link"]=t():e["utils/comments/copy-link"]=t()}(globalThis,(()=>(()=>{"use strict";var e,t,o={913:e=>{e.exports=coreApis.componentApis.utils.commentApis}},r={};function n(e){var t=r[e];if(void 0!==t)return t.exports;var i=r[e]={exports:{}};return o[e](i,i.exports,n),i.exports}t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,n.t=function(o,r){if(1&r&&(o=this(o)),8&r)return o;if("object"==typeof o&&o){if(4&r&&o.__esModule)return o;if(16&r&&"function"==typeof o.then)return o}var i=Object.create(null);n.r(i);var c={};e=e||[null,t({}),t([]),t(t)];for(var a=2&r&&o;"object"==typeof a&&!~e.indexOf(a);a=t(a))Object.getOwnPropertyNames(a).forEach((e=>c[e]=()=>o[e]));return c.default=()=>o,n.d(i,c),i},n.d=(e,t)=>{for(var o in t)n.o(t,o)&&!n.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var i={};n.d(i,{component:()=>p});const c=coreApis.componentApis.define,a=coreApis.utils,s=coreApis.utils.urls,p=(0,c.defineComponentMetadata)({name:"copyCommentsLink",displayName:"复制评论链接",description:{"zh-CN":"开启后, 可在每条评论的菜单中选择复制链接."},entry:async()=>{const{forEachCommentItem:e,addMenuItem:t}=await Promise.resolve().then(n.t.bind(n,913,23));e({added:e=>{const o=e=>{e.forEach((e=>{t(e,{className:"copy-link",text:"复制链接",action:async()=>{const t=(e=>{if(document.URL.match(/\/\/t\.bilibili\.com\/(\d+)/))return"";if(s.feedsUrls.every((e=>!(0,a.matchUrlPattern)(e))))return"";let t=e;for(;null!==t&&t!==document.body;){if(t.hasAttribute("data-did"))return`https://t.bilibili.com/${t.getAttribute("data-did")}`;t=t.parentElement}return""})(e.element)||document.URL.replace(location.hash,"");await navigator.clipboard.writeText(`${t}#reply${e.id}`)}})}))};o([e,...e.replies]),e.addEventListener("repliesUpdate",(e=>o(e.detail)))}})},tags:[componentsTags.utils],commitHash:"58c0b438ca2371e397f70466a91572cb2757b142",coreVersion:"2.10.7"});return i=i.component})())); +!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["utils/comments/copy-link"]=t():e["utils/comments/copy-link"]=t()}(globalThis,(()=>(()=>{"use strict";var e,t,o={913:e=>{e.exports=coreApis.componentApis.utils.commentApis}},r={};function n(e){var t=r[e];if(void 0!==t)return t.exports;var i=r[e]={exports:{}};return o[e](i,i.exports,n),i.exports}t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,n.t=function(o,r){if(1&r&&(o=this(o)),8&r)return o;if("object"==typeof o&&o){if(4&r&&o.__esModule)return o;if(16&r&&"function"==typeof o.then)return o}var i=Object.create(null);n.r(i);var c={};e=e||[null,t({}),t([]),t(t)];for(var a=2&r&&o;"object"==typeof a&&!~e.indexOf(a);a=t(a))Object.getOwnPropertyNames(a).forEach((e=>c[e]=()=>o[e]));return c.default=()=>o,n.d(i,c),i},n.d=(e,t)=>{for(var o in t)n.o(t,o)&&!n.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var i={};n.d(i,{component:()=>d});const c=coreApis.componentApis.define,a=coreApis.utils,s=coreApis.utils.urls,d=(0,c.defineComponentMetadata)({name:"copyCommentsLink",displayName:"复制评论链接",description:{"zh-CN":"开启后, 可在每条评论的菜单中选择复制链接."},entry:async()=>{const{forEachCommentItem:e,addMenuItem:t}=await Promise.resolve().then(n.t.bind(n,913,23));e({added:e=>{const o=e=>{e.forEach((e=>{t(e,{className:"copy-link",text:"复制链接",action:async()=>{const t=(e=>{if(document.URL.match(/\/\/t\.bilibili\.com\/(\d+)/))return"";if(s.feedsUrls.every((e=>!(0,a.matchUrlPattern)(e))))return"";let t=e;for(;null!==t&&t!==document.body;){if(t.hasAttribute("data-did"))return`https://t.bilibili.com/${t.getAttribute("data-did")}`;t=t.parentElement}return""})(e.element)||document.URL.replace(location.hash,"");await navigator.clipboard.writeText(`${t}#reply${e.id}`)}})}))};o([e,...e.replies]),e.addEventListener("repliesUpdate",(e=>o(e.detail)))}})},tags:[componentsTags.utils],commitHash:"d87d69cfb9d7e0124bd90a06fec4569bd61e02c5",coreVersion:"2.10.7"});return i=i.component})())); //# sourceMappingURL=https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/registry/dist/components/utils/comments/copy-link.js.map \ No newline at end of file diff --git a/bb-evolved/registry/dist/components/utils/comments/disable-search-link.js b/bb-evolved/registry/dist/components/utils/comments/disable-search-link.js index ed24d4f9e0..f0ddbbcf2c 100644 --- a/bb-evolved/registry/dist/components/utils/comments/disable-search-link.js +++ b/bb-evolved/registry/dist/components/utils/comments/disable-search-link.js @@ -8,5 +8,5 @@ t=[[null,t,""]]);var o={};if(r)for(var i=0;i{"use strict";function e(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=t&&("undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"]);if(null==n)return;var r,o,i=[],a=!0,s=!1;try{for(n=n.call(t);!(a=(r=n.next()).done)&&(i.push(r.value),!e||i.length!==e);a=!0);}catch(t){s=!0,o=t}finally{try{a||null==n.return||n.return()}finally{if(s)throw o}}return i}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return n(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return n(t,e)}(t,e)||function(){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 n(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n{var r=n(523);r&&r.__esModule&&(r=r.default),t.exports="string"==typeof r?r:r.toString()},762:(t,e,n)=>{var r=n(104);r&&r.__esModule&&(r=r.default),t.exports="string"==typeof r?r:r.toString()},157:t=>{function e(t){var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e}e.keys=()=>[],e.resolve=e,e.id=157,t.exports=e},322:t=>{"use strict";t.exports="禁用评论区的搜索词链接."}},r={};function o(t){var e=r[t];if(void 0!==e)return e.exports;var i=r[t]={id:t,exports:{}};return n[t](i,i.exports,o),i.exports}e=Object.getPrototypeOf?t=>Object.getPrototypeOf(t):t=>t.__proto__,o.t=function(n,r){if(1&r&&(n=this(n)),8&r)return n;if("object"==typeof n&&n){if(4&r&&n.__esModule)return n;if(16&r&&"function"==typeof n.then)return n}var i=Object.create(null);o.r(i);var a={};t=t||[null,e({}),e([]),e(e)];for(var s=2&r&&n;"object"==typeof s&&!~t.indexOf(s);s=e(s))Object.getOwnPropertyNames(s).forEach((t=>a[t]=()=>n[t]));return a.default=()=>n,o.d(i,a),i},o.d=(t,e)=>{for(var n in e)o.o(e,n)&&!o.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},o.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),o.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var i={};return(()=>{"use strict";o.d(i,{component:()=>c});const t=coreApis.componentApis.define,e=coreApis.componentApis.utils.commentApis,n=coreApis.shadowRoot,r=coreApis.utils,a="disableCommentsSearchLink";let s=!1;const c=(0,t.defineComponentMetadata)({name:a,displayName:"禁用评论区搜索词",instantStyles:[{name:a,style:()=>Promise.resolve().then(o.t.bind(o,762,23)),important:!0},{name:a,style:()=>Promise.resolve().then(o.t.bind(o,453,23)),shadowDom:!0}],tags:[componentsTags.utils,componentsTags.style],entry:async()=>{s=!0,(0,e.forEachCommentArea)((async t=>{t instanceof e.CommentAreaV3?t.commentAreaEntry.addEventListener(n.ShadowRootEvents.Updated,(t=>{t.detail.forEach((t=>{t.addedNodes.forEach((t=>{t instanceof HTMLAnchorElement&&"search"===t.getAttribute("data-type")&&(t.removeAttribute("href"),t.removeAttribute("target"))}))}))})):(0,r.preventEvent)(t.element,"click",(t=>{if(!(t.target instanceof HTMLElement&&s))return!1;const e=t.target;return!![".jump-link.search-word",".icon.search-word"].some((t=>e.matches(t)))}))}))},reload:()=>{s=!0},unload:()=>{s=!1},commitHash:"58c0b438ca2371e397f70466a91572cb2757b142",coreVersion:"2.10.7",description:(()=>{const t=o(157);return{...Object.fromEntries(t.keys().map((e=>[e.match(/index\.(.+)\.md$/)[1],t(e)]))),"zh-CN":()=>Promise.resolve().then(o.t.bind(o,322,17)).then((t=>t.default))}})()})})(),i=i.component})())); +var i=btoa(unescape(encodeURIComponent(JSON.stringify(o)))),a="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(i),s="/*# ".concat(a," */"),c=o.sources.map((function(t){return"/*# sourceURL=".concat(o.sourceRoot||"").concat(t," */")}));return[r].concat(c).concat([s]).join("\n")}return[r].join("\n")}},453:(t,e,n)=>{var r=n(523);r&&r.__esModule&&(r=r.default),t.exports="string"==typeof r?r:r.toString()},762:(t,e,n)=>{var r=n(104);r&&r.__esModule&&(r=r.default),t.exports="string"==typeof r?r:r.toString()},157:t=>{function e(t){var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e}e.keys=()=>[],e.resolve=e,e.id=157,t.exports=e},322:t=>{"use strict";t.exports="禁用评论区的搜索词链接."}},r={};function o(t){var e=r[t];if(void 0!==e)return e.exports;var i=r[t]={id:t,exports:{}};return n[t](i,i.exports,o),i.exports}e=Object.getPrototypeOf?t=>Object.getPrototypeOf(t):t=>t.__proto__,o.t=function(n,r){if(1&r&&(n=this(n)),8&r)return n;if("object"==typeof n&&n){if(4&r&&n.__esModule)return n;if(16&r&&"function"==typeof n.then)return n}var i=Object.create(null);o.r(i);var a={};t=t||[null,e({}),e([]),e(e)];for(var s=2&r&&n;"object"==typeof s&&!~t.indexOf(s);s=e(s))Object.getOwnPropertyNames(s).forEach((t=>a[t]=()=>n[t]));return a.default=()=>n,o.d(i,a),i},o.d=(t,e)=>{for(var n in e)o.o(e,n)&&!o.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},o.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),o.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var i={};return(()=>{"use strict";o.d(i,{component:()=>c});const t=coreApis.componentApis.define,e=coreApis.componentApis.utils.commentApis,n=coreApis.shadowRoot,r=coreApis.utils,a="disableCommentsSearchLink";let s=!1;const c=(0,t.defineComponentMetadata)({name:a,displayName:"禁用评论区搜索词",instantStyles:[{name:a,style:()=>Promise.resolve().then(o.t.bind(o,762,23)),important:!0},{name:a,style:()=>Promise.resolve().then(o.t.bind(o,453,23)),shadowDom:!0}],tags:[componentsTags.utils,componentsTags.style],entry:async()=>{s=!0,(0,e.forEachCommentArea)((async t=>{t instanceof e.CommentAreaV3?t.commentAreaEntry.addEventListener(n.ShadowRootEvents.Updated,(t=>{t.detail.forEach((t=>{t.addedNodes.forEach((t=>{t instanceof HTMLAnchorElement&&"search"===t.getAttribute("data-type")&&(t.removeAttribute("href"),t.removeAttribute("target"))}))}))})):(0,r.preventEvent)(t.element,"click",(t=>{if(!(t.target instanceof HTMLElement&&s))return!1;const e=t.target;return!![".jump-link.search-word",".icon.search-word"].some((t=>e.matches(t)))}))}))},reload:()=>{s=!0},unload:()=>{s=!1},commitHash:"d87d69cfb9d7e0124bd90a06fec4569bd61e02c5",coreVersion:"2.10.7",description:(()=>{const t=o(157);return{...Object.fromEntries(t.keys().map((e=>[e.match(/index\.(.+)\.md$/)[1],t(e)]))),"zh-CN":()=>Promise.resolve().then(o.t.bind(o,322,17)).then((t=>t.default))}})()})})(),i=i.component})())); //# sourceMappingURL=https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/registry/dist/components/utils/comments/disable-search-link.js.map \ No newline at end of file diff --git a/bb-evolved/registry/dist/components/utils/dev-client.js b/bb-evolved/registry/dist/components/utils/dev-client.js index 3cda343d84..69865db482 100644 --- a/bb-evolved/registry/dist/components/utils/dev-client.js +++ b/bb-evolved/registry/dist/components/utils/dev-client.js @@ -11,5 +11,5 @@ var i=this[r][0];null!=i&&(o[i]=!0)}for(var a=0;a{"use strict";var s,o=function(){return void 0===s&&( // @see http://browserhacks.com/#hack-e71d8692f65334173fee715c222cb805 // @see https://github.com/webpack-contrib/style-loader/issues/177 -s=Boolean(window&&document&&document.all&&!window.atob)),s},r=function(){var e={};return function(t){if(void 0===e[t]){var n=document.querySelector(t);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}e[t]=n}return e[t]}}(),i=[];function a(e){for(var t=-1,n=0;n{"use strict";n.r(t),n.d(t,{default:()=>p});var s=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{directives:[{name:"show",rawName:"v-show",value:e.isConnected,expression:"isConnected"}]},[e.canStartDebug?t("div",{staticClass:"component-action dev-client-action",on:{click:e.startDebug}},[e.busy?t("VIcon",{attrs:{icon:"mdi-network-outline",size:16}}):t("VIcon",{attrs:{icon:"mdi-play-network-outline",size:16}}),e._v("\n "+e._s(e.busy?"启动中":"开始调试")+"\n ")],1):e._e(),e._v(" "),e.canStopDebug?t("div",{staticClass:"component-action dev-client-action",on:{click:e.stopDebug}},[e.busy?t("VIcon",{attrs:{icon:"mdi-network-outline",size:16}}):t("VIcon",{attrs:{icon:"mdi-minus-network-outline",size:16}}),e._v("\n "+e._s(e.busy?"停止中":"停止调试")+"\n ")],1):e._e()])};s._withStripped=!0;var o=n(5),r=n(164),i=n(561),a=n(617);const c=(0,a.fF)(),d=e=>{if(!e)return null;if(e.match(new RegExp(`localhost:${c.port}\\/registry\\/components\\/(.+)$`)))return e;const t=e.match(/localhost:(\d+?)\/components\/(.+)$/);if(t)return`http://localhost:${c.port}/registry/dist/components/${t[2]}`;const n=e.match(/\/registry\/dist\/components\/(.+)$/);return n?`http://localhost:${c.port}/registry/dist/components/${n[1]}`:null},l=(0,a.fF)(),u=Vue.extend({components:{VIcon:r.VIcon},props:{item:{type:Object,required:!0},component:{type:Object,required:!0}},data:()=>({busy:!1,autoUpdateComponents:a.T2.urls.components,sessions:[],isConnected:!1}),computed:{autoUpdateRecord(){const e=this.component;return this.autoUpdateComponents[e.name]},componentUpdateUrl(){return this.autoUpdateRecord?.url},isDebugging(){return this.componentUpdateUrl&&this.sessions.some((e=>{const{pathname:t}=new URL(this.componentUpdateUrl);return e===t}))},canStartDebug(){return!this.isDebugging&&null!==d(this.componentUpdateUrl)},canStopDebug(){return Boolean(this.isDebugging&&this.componentUpdateUrl)}},async created(){const{devClient:e}=await Promise.resolve().then(n.bind(n,561));this.sessions=e.sessions,this.isConnected=e.isConnected,e.addEventListener(i.DevClientEvents.ServerChange,this.handleServerChange),e.addEventListener(i.DevClientEvents.SessionsUpdate,this.handleSessionsUpdate)},async beforeDestroy(){const{devClient:e}=await Promise.resolve().then(n.bind(n,561));e.removeEventListener(i.DevClientEvents.SessionsUpdate,this.handleSessionsUpdate)},methods:{handleSessionsUpdate(e){this.sessions=e.detail},handleServerChange(e){this.isConnected=e.detail},async handleClick(e){if(!this.busy)try{this.busy=!0,await e()}finally{this.busy=!1}},async startDebug(){await this.handleClick((async()=>{const{devClient:e}=await Promise.resolve().then(n.bind(n,561)),t=this.component,s=d(this.componentUpdateUrl);this.autoUpdateRecord.url!==s&&(l.devRecords[t.name]={name:t.name,originalUrl:this.componentUpdateUrl},this.autoUpdateRecord.url=s);const r=o.Toast.info("启动调试中...","DevClient");try{await e.startDebug(this.autoUpdateRecord.url)}catch(e){console.error(e)}finally{r.close()}}))},async stopDebug(){await this.handleClick((async()=>{const{devClient:e}=await Promise.resolve().then(n.bind(n,561)),t=this.component,{pathname:s}=new URL(this.componentUpdateUrl);e.isConnected&&await e.stopDebug(s),l.devRecords[t.name]&&(this.autoUpdateRecord.url=l.devRecords[t.name].originalUrl,delete l.devRecords[t.name])}))}}});const p=(0,n(678).A)(u,s,[],!1,null,null,null).exports},578:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>p});var s=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"be-dev-client"},[t("div",{staticClass:"title"},[e._v("DevClient")]),e._v(" "),t("div",{staticClass:"connection-status"},[e.isConnected?[t("div",{staticClass:"status-dot connected"}),e._v(" "),t("div",{staticClass:"status-text"},[e._v("已连接")]),e._v(" "),t("AsyncButton",{attrs:{title:"断开连接"},on:{click:e.disconnect}},[t("VIcon",{attrs:{icon:"mdi-stop",size:14}}),e._v("\n 断开连接\n ")],1)]:[t("div",{staticClass:"status-dot disconnected"}),e._v(" "),t("div",{staticClass:"status-text"},[e._v("未连接")]),e._v(" "),t("AsyncButton",{attrs:{title:"连接"},on:{click:e.connect}},[t("VIcon",{attrs:{icon:"mdi-play",size:14}}),e._v("\n 连接\n ")],1)]],2)])};s._withStripped=!0;var o=n(164),r=n(561);const i=Vue.extend({components:{AsyncButton:o.AsyncButton,VIcon:o.VIcon},data:()=>({client:null,isConnected:!1}),async created(){const{devClient:e}=await Promise.resolve().then(n.bind(n,561));this.client=e,this.updateConnectionStatus(),e.addEventListener(r.DevClientEvents.ServerChange,this.updateConnectionStatus)},beforeDestroy(){this.client.removeEventListener(r.DevClientEvents.ServerChange,this.updateConnectionStatus)},methods:{async connect(){return this.client.createSocket(!0)},disconnect(){this.client.closeSocket()},updateConnectionStatus(){this.isConnected=this.client.isConnected}}});var a=n(991),c=n.n(a),d=n(564),l=n.n(d),u={insert:"head",singleton:!1};c()(l(),u);l().locals;const p=(0,n(678).A)(i,s,[],!1,null,"60a8057c",null).exports},678:(e,t,n)=>{"use strict";function s(e,t,n,s,o,r,i,a){var c,d="function"==typeof e?e.options:e;if(t&&(d.render=t,d.staticRenderFns=n,d._compiled=!0),s&&(d.functional=!0),r&&(d._scopeId="data-v-"+r),i?(c=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),o&&o.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(i)},d._ssrRegister=c):o&&(c=a?function(){o.call(this,(d.functional?this.parent:this).$root.$options.shadowRoot)}:o),c)if(d.functional){d._injectStyles=c;var l=d.render;d.render=function(e,t){return c.call(t),l(e,t)}}else{var u=d.beforeCreate;d.beforeCreate=u?[].concat(u,c):[c]}return{exports:e,options:d}}n.d(t,{A:()=>s})},463:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=463,e.exports=t},548:e=>{"use strict";e.exports="本地开发工具, 提供自动更新功能和样式热重载的能力, 需要与 DevServer 配合使用. (DevServer 的使用方式见 [CONTRIBUTING.md](https://github.com/the1812/Bilibili-Evolved/blob/preview/CONTRIBUTING.md))\n\n`自动连接` 开启时, 每次进入网页都会自动尝试连接到 DevServer, 如果关闭则需要手动操作连接.\n\n`刷新策略` 决定了收到本体或者功能更新的消息时是否刷新:\n - **总是刷新**: 收到更新时立即刷新页面\n - 不刷新: 收到更新时不刷新页面\n\n`热重载策略` 决定了是否开启热重载功能, 只要成功触发热重载, 就不刷新页面:\n - **开启热重载**: 功能带有 `instantStyles` 时, 热重载 `instantStyles` 中的样式\n - 关闭热重载: 收到更新时按 `刷新策略` 执行\n\n> 目前就这两个选项, 将来可能会支持对 `entry` 的热重载\n"},253:e=>{"use strict";e.exports=coreApis.componentApis.define},447:e=>{"use strict";e.exports=coreApis.installFeature},5:e=>{"use strict";e.exports=coreApis.toast},164:e=>{"use strict";e.exports=coreApis.ui},847:e=>{"use strict";e.exports=coreApis.utils}},s={};function o(e){var t=s[e];if(void 0!==t)return t.exports;var r=s[e]={id:e,exports:{}};return n[e](r,r.exports,o),r.exports}o.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return o.d(t,{a:t}),t},t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,o.t=function(n,s){if(1&s&&(n=this(n)),8&s)return n;if("object"==typeof n&&n){if(4&s&&n.__esModule)return n;if(16&s&&"function"==typeof n.then)return n}var r=Object.create(null);o.r(r);var i={};e=e||[null,t({}),t([]),t(t)];for(var a=2&s&&n;"object"==typeof a&&!~e.indexOf(a);a=t(a))Object.getOwnPropertyNames(a).forEach((e=>i[e]=()=>n[e]));return i.default=()=>n,o.d(r,i),r},o.d=(e,t)=>{for(var n in t)o.o(t,n)&&!o.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.nc=void 0;var r={};return(()=>{"use strict";o.d(r,{component:()=>s});var e=o(253),t=o(847),n=o(617);const s=(0,e.defineComponentMetadata)({name:"devClient",displayName:"DevClient",tags:[componentsTags.utils],entry:async e=>{let{settings:{options:s}}=e;if((0,t.isIframe)())return;const{devClient:r,DevClientEvents:i}=await Promise.resolve().then(o.bind(o,561));r.addEventListener(i.ServerConnected,(()=>{r.addEventListener(i.SessionsUpdate,(()=>{Object.entries(s.devRecords).forEach((e=>{let[,{name:t,originalUrl:o}]=e;const i=n.T2.urls.components[t];if(!i)return;const a=i.url;r.sessions.find((e=>a.endsWith(e)))||(i.url=o,console.log("cleanUpDevRecords",t,a,o,i),delete s.devRecords[t])}))}),{once:!0})})),s.autoConnect&&r.createSocket()},options:n.uZ,widget:{component:()=>Promise.resolve().then(o.bind(o,578)).then((e=>e.default))},plugin:{setup:async e=>{let{addData:s}=e;(0,t.isIframe)()||(s("settingsPanel.componentActions",(e=>{e.push((e=>{if(!n.T2.urls.components[e.name])return;return{name:"devClient",component:()=>Promise.resolve().then(o.bind(o,752))}}))})),s("launchBar.actions",(e=>{e.push({name:"devClientActions",getActions:async()=>{const{devClient:e}=await Promise.resolve().then(o.bind(o,561)),t=[];return e.isConnected?t.push({name:"断开 DevServer 连接",description:"Disconnect from DevServer",icon:"mdi-stop-circle-outline",action:()=>e.closeSocket()}):t.push({name:"连接 DevServer",description:"Connect to DevServer",icon:"mdi-play-circle-outline",action:async()=>{await e.createSocket(!0)}}),t}})})))}},commitHash:"58c0b438ca2371e397f70466a91572cb2757b142",coreVersion:"2.10.7",description:(()=>{const e=o(463);return{...Object.fromEntries(e.keys().map((t=>[t.match(/index\.(.+)\.md$/)[1],e(t)]))),"zh-CN":()=>Promise.resolve().then(o.t.bind(o,548,17)).then((e=>e.default))}})()})})(),r=r.component})())); +s=Boolean(window&&document&&document.all&&!window.atob)),s},r=function(){var e={};return function(t){if(void 0===e[t]){var n=document.querySelector(t);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}e[t]=n}return e[t]}}(),i=[];function a(e){for(var t=-1,n=0;n{"use strict";n.r(t),n.d(t,{default:()=>p});var s=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{directives:[{name:"show",rawName:"v-show",value:e.isConnected,expression:"isConnected"}]},[e.canStartDebug?t("div",{staticClass:"component-action dev-client-action",on:{click:e.startDebug}},[e.busy?t("VIcon",{attrs:{icon:"mdi-network-outline",size:16}}):t("VIcon",{attrs:{icon:"mdi-play-network-outline",size:16}}),e._v("\n "+e._s(e.busy?"启动中":"开始调试")+"\n ")],1):e._e(),e._v(" "),e.canStopDebug?t("div",{staticClass:"component-action dev-client-action",on:{click:e.stopDebug}},[e.busy?t("VIcon",{attrs:{icon:"mdi-network-outline",size:16}}):t("VIcon",{attrs:{icon:"mdi-minus-network-outline",size:16}}),e._v("\n "+e._s(e.busy?"停止中":"停止调试")+"\n ")],1):e._e()])};s._withStripped=!0;var o=n(5),r=n(164),i=n(561),a=n(617);const c=(0,a.fF)(),d=e=>{if(!e)return null;if(e.match(new RegExp(`localhost:${c.port}\\/registry\\/components\\/(.+)$`)))return e;const t=e.match(/localhost:(\d+?)\/components\/(.+)$/);if(t)return`http://localhost:${c.port}/registry/dist/components/${t[2]}`;const n=e.match(/\/registry\/dist\/components\/(.+)$/);return n?`http://localhost:${c.port}/registry/dist/components/${n[1]}`:null},l=(0,a.fF)(),u=Vue.extend({components:{VIcon:r.VIcon},props:{item:{type:Object,required:!0},component:{type:Object,required:!0}},data:()=>({busy:!1,autoUpdateComponents:a.T2.urls.components,sessions:[],isConnected:!1}),computed:{autoUpdateRecord(){const e=this.component;return this.autoUpdateComponents[e.name]},componentUpdateUrl(){return this.autoUpdateRecord?.url},isDebugging(){return this.componentUpdateUrl&&this.sessions.some((e=>{const{pathname:t}=new URL(this.componentUpdateUrl);return e===t}))},canStartDebug(){return!this.isDebugging&&null!==d(this.componentUpdateUrl)},canStopDebug(){return Boolean(this.isDebugging&&this.componentUpdateUrl)}},async created(){const{devClient:e}=await Promise.resolve().then(n.bind(n,561));this.sessions=e.sessions,this.isConnected=e.isConnected,e.addEventListener(i.DevClientEvents.ServerChange,this.handleServerChange),e.addEventListener(i.DevClientEvents.SessionsUpdate,this.handleSessionsUpdate)},async beforeDestroy(){const{devClient:e}=await Promise.resolve().then(n.bind(n,561));e.removeEventListener(i.DevClientEvents.SessionsUpdate,this.handleSessionsUpdate)},methods:{handleSessionsUpdate(e){this.sessions=e.detail},handleServerChange(e){this.isConnected=e.detail},async handleClick(e){if(!this.busy)try{this.busy=!0,await e()}finally{this.busy=!1}},async startDebug(){await this.handleClick((async()=>{const{devClient:e}=await Promise.resolve().then(n.bind(n,561)),t=this.component,s=d(this.componentUpdateUrl);this.autoUpdateRecord.url!==s&&(l.devRecords[t.name]={name:t.name,originalUrl:this.componentUpdateUrl},this.autoUpdateRecord.url=s);const r=o.Toast.info("启动调试中...","DevClient");try{await e.startDebug(this.autoUpdateRecord.url)}catch(e){console.error(e)}finally{r.close()}}))},async stopDebug(){await this.handleClick((async()=>{const{devClient:e}=await Promise.resolve().then(n.bind(n,561)),t=this.component,{pathname:s}=new URL(this.componentUpdateUrl);e.isConnected&&await e.stopDebug(s),l.devRecords[t.name]&&(this.autoUpdateRecord.url=l.devRecords[t.name].originalUrl,delete l.devRecords[t.name])}))}}});const p=(0,n(678).A)(u,s,[],!1,null,null,null).exports},578:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>p});var s=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"be-dev-client"},[t("div",{staticClass:"title"},[e._v("DevClient")]),e._v(" "),t("div",{staticClass:"connection-status"},[e.isConnected?[t("div",{staticClass:"status-dot connected"}),e._v(" "),t("div",{staticClass:"status-text"},[e._v("已连接")]),e._v(" "),t("AsyncButton",{attrs:{title:"断开连接"},on:{click:e.disconnect}},[t("VIcon",{attrs:{icon:"mdi-stop",size:14}}),e._v("\n 断开连接\n ")],1)]:[t("div",{staticClass:"status-dot disconnected"}),e._v(" "),t("div",{staticClass:"status-text"},[e._v("未连接")]),e._v(" "),t("AsyncButton",{attrs:{title:"连接"},on:{click:e.connect}},[t("VIcon",{attrs:{icon:"mdi-play",size:14}}),e._v("\n 连接\n ")],1)]],2)])};s._withStripped=!0;var o=n(164),r=n(561);const i=Vue.extend({components:{AsyncButton:o.AsyncButton,VIcon:o.VIcon},data:()=>({client:null,isConnected:!1}),async created(){const{devClient:e}=await Promise.resolve().then(n.bind(n,561));this.client=e,this.updateConnectionStatus(),e.addEventListener(r.DevClientEvents.ServerChange,this.updateConnectionStatus)},beforeDestroy(){this.client.removeEventListener(r.DevClientEvents.ServerChange,this.updateConnectionStatus)},methods:{async connect(){return this.client.createSocket(!0)},disconnect(){this.client.closeSocket()},updateConnectionStatus(){this.isConnected=this.client.isConnected}}});var a=n(991),c=n.n(a),d=n(564),l=n.n(d),u={insert:"head",singleton:!1};c()(l(),u);l().locals;const p=(0,n(678).A)(i,s,[],!1,null,"60a8057c",null).exports},678:(e,t,n)=>{"use strict";function s(e,t,n,s,o,r,i,a){var c,d="function"==typeof e?e.options:e;if(t&&(d.render=t,d.staticRenderFns=n,d._compiled=!0),s&&(d.functional=!0),r&&(d._scopeId="data-v-"+r),i?(c=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),o&&o.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(i)},d._ssrRegister=c):o&&(c=a?function(){o.call(this,(d.functional?this.parent:this).$root.$options.shadowRoot)}:o),c)if(d.functional){d._injectStyles=c;var l=d.render;d.render=function(e,t){return c.call(t),l(e,t)}}else{var u=d.beforeCreate;d.beforeCreate=u?[].concat(u,c):[c]}return{exports:e,options:d}}n.d(t,{A:()=>s})},463:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=463,e.exports=t},548:e=>{"use strict";e.exports="本地开发工具, 提供自动更新功能和样式热重载的能力, 需要与 DevServer 配合使用. (DevServer 的使用方式见 [CONTRIBUTING.md](https://github.com/the1812/Bilibili-Evolved/blob/preview/CONTRIBUTING.md))\n\n`自动连接` 开启时, 每次进入网页都会自动尝试连接到 DevServer, 如果关闭则需要手动操作连接.\n\n`刷新策略` 决定了收到本体或者功能更新的消息时是否刷新:\n - **总是刷新**: 收到更新时立即刷新页面\n - 不刷新: 收到更新时不刷新页面\n\n`热重载策略` 决定了是否开启热重载功能, 只要成功触发热重载, 就不刷新页面:\n - **开启热重载**: 功能带有 `instantStyles` 时, 热重载 `instantStyles` 中的样式\n - 关闭热重载: 收到更新时按 `刷新策略` 执行\n\n> 目前就这两个选项, 将来可能会支持对 `entry` 的热重载\n"},253:e=>{"use strict";e.exports=coreApis.componentApis.define},447:e=>{"use strict";e.exports=coreApis.installFeature},5:e=>{"use strict";e.exports=coreApis.toast},164:e=>{"use strict";e.exports=coreApis.ui},847:e=>{"use strict";e.exports=coreApis.utils}},s={};function o(e){var t=s[e];if(void 0!==t)return t.exports;var r=s[e]={id:e,exports:{}};return n[e](r,r.exports,o),r.exports}o.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return o.d(t,{a:t}),t},t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,o.t=function(n,s){if(1&s&&(n=this(n)),8&s)return n;if("object"==typeof n&&n){if(4&s&&n.__esModule)return n;if(16&s&&"function"==typeof n.then)return n}var r=Object.create(null);o.r(r);var i={};e=e||[null,t({}),t([]),t(t)];for(var a=2&s&&n;"object"==typeof a&&!~e.indexOf(a);a=t(a))Object.getOwnPropertyNames(a).forEach((e=>i[e]=()=>n[e]));return i.default=()=>n,o.d(r,i),r},o.d=(e,t)=>{for(var n in t)o.o(t,n)&&!o.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.nc=void 0;var r={};return(()=>{"use strict";o.d(r,{component:()=>s});var e=o(253),t=o(847),n=o(617);const s=(0,e.defineComponentMetadata)({name:"devClient",displayName:"DevClient",tags:[componentsTags.utils],entry:async e=>{let{settings:{options:s}}=e;if((0,t.isIframe)())return;const{devClient:r,DevClientEvents:i}=await Promise.resolve().then(o.bind(o,561));r.addEventListener(i.ServerConnected,(()=>{r.addEventListener(i.SessionsUpdate,(()=>{Object.entries(s.devRecords).forEach((e=>{let[,{name:t,originalUrl:o}]=e;const i=n.T2.urls.components[t];if(!i)return;const a=i.url;r.sessions.find((e=>a.endsWith(e)))||(i.url=o,console.log("cleanUpDevRecords",t,a,o,i),delete s.devRecords[t])}))}),{once:!0})})),s.autoConnect&&r.createSocket()},options:n.uZ,widget:{component:()=>Promise.resolve().then(o.bind(o,578)).then((e=>e.default))},plugin:{setup:async e=>{let{addData:s}=e;(0,t.isIframe)()||(s("settingsPanel.componentActions",(e=>{e.push((e=>{if(!n.T2.urls.components[e.name])return;return{name:"devClient",component:()=>Promise.resolve().then(o.bind(o,752))}}))})),s("launchBar.actions",(e=>{e.push({name:"devClientActions",getActions:async()=>{const{devClient:e}=await Promise.resolve().then(o.bind(o,561)),t=[];return e.isConnected?t.push({name:"断开 DevServer 连接",description:"Disconnect from DevServer",icon:"mdi-stop-circle-outline",action:()=>e.closeSocket()}):t.push({name:"连接 DevServer",description:"Connect to DevServer",icon:"mdi-play-circle-outline",action:async()=>{await e.createSocket(!0)}}),t}})})))}},commitHash:"d87d69cfb9d7e0124bd90a06fec4569bd61e02c5",coreVersion:"2.10.7",description:(()=>{const e=o(463);return{...Object.fromEntries(e.keys().map((t=>[t.match(/index\.(.+)\.md$/)[1],e(t)]))),"zh-CN":()=>Promise.resolve().then(o.t.bind(o,548,17)).then((e=>e.default))}})()})})(),r=r.component})())); //# sourceMappingURL=https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/registry/dist/components/utils/dev-client.js.map \ No newline at end of file diff --git a/bb-evolved/registry/dist/components/utils/download-audio.js b/bb-evolved/registry/dist/components/utils/download-audio.js index 25408d82ea..37e073626d 100644 --- a/bb-evolved/registry/dist/components/utils/download-audio.js +++ b/bb-evolved/registry/dist/components/utils/download-audio.js @@ -1,2 +1,2 @@ -!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["utils/download-audio"]=t():e["utils/download-audio"]=t()}(globalThis,(()=>(()=>{"use strict";var e,t,o={84:(e,t,o)=>{o.r(t),o.d(t,{default:()=>u});var n=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("DefaultWidget",{attrs:{disabled:e.disabled||e.downloading,name:e.progress||"下载音频",icon:"mdi-download"},on:{click:function(t){return e.download()}}})};n._withStripped=!0;const r=coreApis.spinQuery,i=coreApis.observer,s=coreApis.download,a=coreApis.ui;function d(e,t,o){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var n=o.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}class l{constructor(){d(this,"progress",null),d(this,"sid",void 0)}async getDownloadUrl(){const{getJsonWithCredentials:e}=await Promise.resolve().then(o.t.bind(o,416,23)),{Toast:t}=await Promise.resolve().then(o.t.bind(o,5,23)),n=`https://www.bilibili.com/audio/music-service-c/web/url?sid=${this.sid}&privilege=2&quality=2`,r=await e(n);return 0!==r.code?(t.error("获取下载链接失败, 请确保当前账号有下载权限.","下载音频",1e4),null):r.data.cdns.shift()}async download(){const e=await this.getDownloadUrl();return new Promise(((t,o)=>{const n=new XMLHttpRequest;n.open("GET",e),n.responseType="blob",n.addEventListener("load",(()=>t(n.response))),n.addEventListener("error",(()=>o(n.status))),n.addEventListener("progress",(e=>this.progress?.(100*e.loaded/e.total))),n.send()}))}}var c=function(e,t,o,n,r,i,s,a){var d,l="function"==typeof e?e.options:e;if(t&&(l.render=t,l.staticRenderFns=o,l._compiled=!0),n&&(l.functional=!0),i&&(l._scopeId="data-v-"+i),s?(d=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),r&&r.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(s)},l._ssrRegister=d):r&&(d=a?function(){r.call(this,(l.functional?this.parent:this).$root.$options.shadowRoot)}:r),d)if(l.functional){l._injectStyles=d;var c=l.render;l.render=function(e,t){return d.call(t),c(e,t)}}else{var u=l.beforeCreate;l.beforeCreate=u?[].concat(u,d):[d]}return{exports:e,options:l}}(Vue.extend({components:{DefaultWidget:a.DefaultWidget},data:()=>({progress:"",disabled:!0,downloader:new l,downloading:!1}),async mounted(){const e=await(0,r.select)("#app"),t=this.downloader;t.progress=e=>{this.progress=`${Math.round(e)}%`},(0,i.childList)(e,(()=>{const e=document.URL.match(/bilibili\.com\/audio\/au([\d]+)/);e&&e[1]?(this.disabled=!1,[,t.sid]=e):this.disabled=!0}))},methods:{async download(){if(!this.downloading){this.downloading=!0;try{const e=this.downloader;if(null===e.sid)return;const t=await e.download(),o=`${(()=>{const e=document.querySelector(".song-title");return e?e.getAttribute("title"):"神秘音频"})()}.mp3`;this.progress="",await s.DownloadPackage.single(o,t)}finally{this.downloading=!1}}}}}),n,[],!1,null,null,null);const u=c.exports},416:e=>{e.exports=coreApis.ajax},5:e=>{e.exports=coreApis.toast}},n={};function r(e){var t=n[e];if(void 0!==t)return t.exports;var i=n[e]={exports:{}};return o[e](i,i.exports,r),i.exports}t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,r.t=function(o,n){if(1&n&&(o=this(o)),8&n)return o;if("object"==typeof o&&o){if(4&n&&o.__esModule)return o;if(16&n&&"function"==typeof o.then)return o}var i=Object.create(null);r.r(i);var s={};e=e||[null,t({}),t([]),t(t)];for(var a=2&n&&o;"object"==typeof a&&!~e.indexOf(a);a=t(a))Object.getOwnPropertyNames(a).forEach((e=>s[e]=()=>o[e]));return s.default=()=>o,r.d(i,s),i},r.d=(e,t)=>{for(var o in t)r.o(t,o)&&!r.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var i={};r.d(i,{component:()=>s});const s=(0,coreApis.componentApis.define.defineComponentMetadata)({name:"downloadAudio",displayName:"下载音频",entry:none,tags:[componentsTags.utils],description:{"zh-CN":"\n开启音频下载支持, 音频页面中可以在功能面板中下载当前音频.\n\n> 需要进入音频的详细信息页面才能下载, 在其他页面中此按钮将不可点击.\n ".trim()},widget:{component:()=>Promise.resolve().then(r.bind(r,84)).then((e=>e.default))},urlInclude:["//www.bilibili.com/audio/"],commitHash:"58c0b438ca2371e397f70466a91572cb2757b142",coreVersion:"2.10.7"});return i=i.component})())); +!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["utils/download-audio"]=t():e["utils/download-audio"]=t()}(globalThis,(()=>(()=>{"use strict";var e,t,o={84:(e,t,o)=>{o.r(t),o.d(t,{default:()=>u});var n=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("DefaultWidget",{attrs:{disabled:e.disabled||e.downloading,name:e.progress||"下载音频",icon:"mdi-download"},on:{click:function(t){return e.download()}}})};n._withStripped=!0;const r=coreApis.spinQuery,i=coreApis.observer,s=coreApis.download,a=coreApis.ui;function d(e,t,o){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var n=o.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}class l{constructor(){d(this,"progress",null),d(this,"sid",void 0)}async getDownloadUrl(){const{getJsonWithCredentials:e}=await Promise.resolve().then(o.t.bind(o,416,23)),{Toast:t}=await Promise.resolve().then(o.t.bind(o,5,23)),n=`https://www.bilibili.com/audio/music-service-c/web/url?sid=${this.sid}&privilege=2&quality=2`,r=await e(n);return 0!==r.code?(t.error("获取下载链接失败, 请确保当前账号有下载权限.","下载音频",1e4),null):r.data.cdns.shift()}async download(){const e=await this.getDownloadUrl();return new Promise(((t,o)=>{const n=new XMLHttpRequest;n.open("GET",e),n.responseType="blob",n.addEventListener("load",(()=>t(n.response))),n.addEventListener("error",(()=>o(n.status))),n.addEventListener("progress",(e=>this.progress?.(100*e.loaded/e.total))),n.send()}))}}var c=function(e,t,o,n,r,i,s,a){var d,l="function"==typeof e?e.options:e;if(t&&(l.render=t,l.staticRenderFns=o,l._compiled=!0),n&&(l.functional=!0),i&&(l._scopeId="data-v-"+i),s?(d=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),r&&r.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(s)},l._ssrRegister=d):r&&(d=a?function(){r.call(this,(l.functional?this.parent:this).$root.$options.shadowRoot)}:r),d)if(l.functional){l._injectStyles=d;var c=l.render;l.render=function(e,t){return d.call(t),c(e,t)}}else{var u=l.beforeCreate;l.beforeCreate=u?[].concat(u,d):[d]}return{exports:e,options:l}}(Vue.extend({components:{DefaultWidget:a.DefaultWidget},data:()=>({progress:"",disabled:!0,downloader:new l,downloading:!1}),async mounted(){const e=await(0,r.select)("#app"),t=this.downloader;t.progress=e=>{this.progress=`${Math.round(e)}%`},(0,i.childList)(e,(()=>{const e=document.URL.match(/bilibili\.com\/audio\/au([\d]+)/);e&&e[1]?(this.disabled=!1,[,t.sid]=e):this.disabled=!0}))},methods:{async download(){if(!this.downloading){this.downloading=!0;try{const e=this.downloader;if(null===e.sid)return;const t=await e.download(),o=`${(()=>{const e=document.querySelector(".song-title");return e?e.getAttribute("title"):"神秘音频"})()}.mp3`;this.progress="",await s.DownloadPackage.single(o,t)}finally{this.downloading=!1}}}}}),n,[],!1,null,null,null);const u=c.exports},416:e=>{e.exports=coreApis.ajax},5:e=>{e.exports=coreApis.toast}},n={};function r(e){var t=n[e];if(void 0!==t)return t.exports;var i=n[e]={exports:{}};return o[e](i,i.exports,r),i.exports}t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,r.t=function(o,n){if(1&n&&(o=this(o)),8&n)return o;if("object"==typeof o&&o){if(4&n&&o.__esModule)return o;if(16&n&&"function"==typeof o.then)return o}var i=Object.create(null);r.r(i);var s={};e=e||[null,t({}),t([]),t(t)];for(var a=2&n&&o;"object"==typeof a&&!~e.indexOf(a);a=t(a))Object.getOwnPropertyNames(a).forEach((e=>s[e]=()=>o[e]));return s.default=()=>o,r.d(i,s),i},r.d=(e,t)=>{for(var o in t)r.o(t,o)&&!r.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var i={};r.d(i,{component:()=>s});const s=(0,coreApis.componentApis.define.defineComponentMetadata)({name:"downloadAudio",displayName:"下载音频",entry:none,tags:[componentsTags.utils],description:{"zh-CN":"\n开启音频下载支持, 音频页面中可以在功能面板中下载当前音频.\n\n> 需要进入音频的详细信息页面才能下载, 在其他页面中此按钮将不可点击.\n ".trim()},widget:{component:()=>Promise.resolve().then(r.bind(r,84)).then((e=>e.default))},urlInclude:["//www.bilibili.com/audio/"],commitHash:"d87d69cfb9d7e0124bd90a06fec4569bd61e02c5",coreVersion:"2.10.7"});return i=i.component})())); //# sourceMappingURL=https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/registry/dist/components/utils/download-audio.js.map \ No newline at end of file diff --git a/bb-evolved/registry/dist/components/utils/download-emoticons.js b/bb-evolved/registry/dist/components/utils/download-emoticons.js index 3a973e0044..939c0941e8 100644 --- a/bb-evolved/registry/dist/components/utils/download-emoticons.js +++ b/bb-evolved/registry/dist/components/utils/download-emoticons.js @@ -1,2 +1,2 @@ -!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports["utils/download-emoticons"]=e():t["utils/download-emoticons"]=e()}(globalThis,(()=>(()=>{var t,e,o={21:(t,e,o)=>{"use strict";o.r(e),o.d(e,{default:()=>m});var n=function(){var t=this,e=t._self._c;t._self._setupProxy;return e("DefaultWidget",{attrs:{disabled:t.downloading,name:"下载up主表情包",icon:"mdi-emoticon-outline"},on:{click:function(e){return t.download()}}})};n._withStripped=!0;const r=coreApis.ui,i=coreApis.utils.log,s=coreApis.ajax;function a(t,e,o){return(e=function(t){var e=function(t,e){if("object"!=typeof t||!t)return t;var o=t[Symbol.toPrimitive];if(void 0!==o){var n=o.call(t,e||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==typeof e?e:e+""}(e))in t?Object.defineProperty(t,e,{value:o,enumerable:!0,configurable:!0,writable:!0}):t[e]=o,t}const c=(0,i.useScopedConsole)("表情包下载");const l=coreApis.download,d=coreApis.toast,u=new class{constructor(){a(this,"apiRequest",(t=>{const e={url:t,method:"GET",responseType:"json"};return(0,s.monkey)(e)})),a(this,"getImageBlob",(async t=>{const e={url:t,method:"GET",responseType:"blob"};return(0,s.monkey)(e)}))}async getEmoticonsByRoomId(t){return await this.apiRequest(`https://api.live.bilibili.com/xlive/web-ucenter/v2/emoticon/GetEmoticons?platform=pc&room_id=${t}`)}async downloadEmoticons(t){return t.map((t=>({emoticons:t.emoticons.map((t=>{try{const e=this.getImageBlob(t.url);return{emoji:t.emoji,blob:e}}catch(e){return c.error(`下载表情 ${t.emoji} 失败:`,e),null}})),pkg_name:t.pkg_name})))}async getEmoticonsArray(t){try{let e=await this.getEmoticonsByRoomId(t);if(0===e.data.data.length){c.log("获取表情包失败,尝试获取真实roomId");const o=await this.getRealRoomId(t);e=await this.getEmoticonsByRoomId(o)}return e.data.data.slice(2)}catch(t){throw new Error("获取表情包失败")}}async batchDownload(t){const e=[];for(const o of t){const t=(async()=>{const t=[],e=o.emoticons.map((t=>t.blob));for(const o of e){const e=await o;t.push(e)}return{pkg_name:o.pkg_name,emoticons:o.emoticons.map(((e,o)=>({emoji:e.emoji,blob:t[o]})))}})();e.push(t)}return Promise.all(e)}async getRealRoomId(t){try{const e=await this.apiRequest(`https://api.live.bilibili.com/room/v1/Room/get_info?room_id=${t}`);if(0===Object.keys(e.data).length)throw new Error("获取直播间id失败");return e.data.room_id}catch(t){throw new Error("获取直播间id失败")}}};var p=function(t,e,o,n,r,i,s,a){var c,l="function"==typeof t?t.options:t;if(e&&(l.render=e,l.staticRenderFns=o,l._compiled=!0),n&&(l.functional=!0),i&&(l._scopeId="data-v-"+i),s?(c=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),r&&r.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(s)},l._ssrRegister=c):r&&(c=a?function(){r.call(this,(l.functional?this.parent:this).$root.$options.shadowRoot)}:r),c)if(l.functional){l._injectStyles=c;var d=l.render;l.render=function(t,e){return c.call(e),d(t,e)}}else{var u=l.beforeCreate;l.beforeCreate=u?[].concat(u,c):[c]}return{exports:t,options:l}}(Vue.extend({components:{DefaultWidget:r.DefaultWidget},data:()=>({downloading:!1,roomIdRegex:/^https:\/\/live\.bilibili\.com\/(?:blanc\/)?(\d+)(?:\?.*?)?$/}),methods:{async download(){this.downloading=!0;try{const t=window.location.href;if(t.startsWith("https://live.bilibili.com/")){const e=this.roomIdRegex.exec(t)[1],o=await u.getEmoticonsArray(e);if(0===o.length)return void d.Toast.info("该up主没有专属表情包","表情包下载");const n=await u.downloadEmoticons(o),r=await u.batchDownload(n),i=new l.DownloadPackage;i.noEscape=!0;for(const t of r)if(null!==t)for(const e of t.emoticons)i.add(`${t.pkg_name}/${e.emoji}.png`,e.blob);await i.emit(`emoticons-${e}.zip`)}}catch(t){d.Toast.error("下载失败详情查看控制台","表情包下载"),(0,i.logError)(t)}finally{this.downloading=!1}}}}),n,[],!1,null,null,null);const m=p.exports},726:t=>{function e(t){var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e}e.keys=()=>[],e.resolve=e,e.id=726,t.exports=e},701:t=>{"use strict";t.exports="## 下载up主专属表情包\n\n支持下载up主专属表情包,处于任意直播间页面时,下载按钮会在`功能`面板显示,以压缩包形式保存。"}},n={};function r(t){var e=n[t];if(void 0!==e)return e.exports;var i=n[t]={exports:{}};return o[t](i,i.exports,r),i.exports}e=Object.getPrototypeOf?t=>Object.getPrototypeOf(t):t=>t.__proto__,r.t=function(o,n){if(1&n&&(o=this(o)),8&n)return o;if("object"==typeof o&&o){if(4&n&&o.__esModule)return o;if(16&n&&"function"==typeof o.then)return o}var i=Object.create(null);r.r(i);var s={};t=t||[null,e({}),e([]),e(e)];for(var a=2&n&&o;"object"==typeof a&&!~t.indexOf(a);a=e(a))Object.getOwnPropertyNames(a).forEach((t=>s[t]=()=>o[t]));return s.default=()=>o,r.d(i,s),i},r.d=(t,e)=>{for(var o in e)r.o(e,o)&&!r.o(t,o)&&Object.defineProperty(t,o,{enumerable:!0,get:e[o]})},r.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),r.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var i={};return(()=>{"use strict";r.d(i,{component:()=>o});const t=coreApis.componentApis.define,e=coreApis.utils.urls,o=(0,t.defineComponentMetadata)({name:"downloadEmoticons",displayName:"下载表情",tags:[componentsTags.utils,componentsTags.live],entry:none,author:{name:"Pencilqaq",link:"https://github.com/pencilqaq"},widget:{component:()=>Promise.resolve().then(r.bind(r,21)).then((t=>t.default))},urlInclude:e.liveUrls,commitHash:"58c0b438ca2371e397f70466a91572cb2757b142",coreVersion:"2.10.7",description:(()=>{const t=r(726);return{...Object.fromEntries(t.keys().map((e=>[e.match(/index\.(.+)\.md$/)[1],t(e)]))),"zh-CN":()=>Promise.resolve().then(r.t.bind(r,701,17)).then((t=>t.default))}})()})})(),i=i.component})())); +!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports["utils/download-emoticons"]=e():t["utils/download-emoticons"]=e()}(globalThis,(()=>(()=>{var t,e,o={21:(t,e,o)=>{"use strict";o.r(e),o.d(e,{default:()=>m});var n=function(){var t=this,e=t._self._c;t._self._setupProxy;return e("DefaultWidget",{attrs:{disabled:t.downloading,name:"下载up主表情包",icon:"mdi-emoticon-outline"},on:{click:function(e){return t.download()}}})};n._withStripped=!0;const r=coreApis.ui,i=coreApis.utils.log,s=coreApis.ajax;function a(t,e,o){return(e=function(t){var e=function(t,e){if("object"!=typeof t||!t)return t;var o=t[Symbol.toPrimitive];if(void 0!==o){var n=o.call(t,e||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==typeof e?e:e+""}(e))in t?Object.defineProperty(t,e,{value:o,enumerable:!0,configurable:!0,writable:!0}):t[e]=o,t}const c=(0,i.useScopedConsole)("表情包下载");const l=coreApis.download,d=coreApis.toast,u=new class{constructor(){a(this,"apiRequest",(t=>{const e={url:t,method:"GET",responseType:"json"};return(0,s.monkey)(e)})),a(this,"getImageBlob",(async t=>{const e={url:t,method:"GET",responseType:"blob"};return(0,s.monkey)(e)}))}async getEmoticonsByRoomId(t){return await this.apiRequest(`https://api.live.bilibili.com/xlive/web-ucenter/v2/emoticon/GetEmoticons?platform=pc&room_id=${t}`)}async downloadEmoticons(t){return t.map((t=>({emoticons:t.emoticons.map((t=>{try{const e=this.getImageBlob(t.url);return{emoji:t.emoji,blob:e}}catch(e){return c.error(`下载表情 ${t.emoji} 失败:`,e),null}})),pkg_name:t.pkg_name})))}async getEmoticonsArray(t){try{let e=await this.getEmoticonsByRoomId(t);if(0===e.data.data.length){c.log("获取表情包失败,尝试获取真实roomId");const o=await this.getRealRoomId(t);e=await this.getEmoticonsByRoomId(o)}return e.data.data.slice(2)}catch(t){throw new Error("获取表情包失败")}}async batchDownload(t){const e=[];for(const o of t){const t=(async()=>{const t=[],e=o.emoticons.map((t=>t.blob));for(const o of e){const e=await o;t.push(e)}return{pkg_name:o.pkg_name,emoticons:o.emoticons.map(((e,o)=>({emoji:e.emoji,blob:t[o]})))}})();e.push(t)}return Promise.all(e)}async getRealRoomId(t){try{const e=await this.apiRequest(`https://api.live.bilibili.com/room/v1/Room/get_info?room_id=${t}`);if(0===Object.keys(e.data).length)throw new Error("获取直播间id失败");return e.data.room_id}catch(t){throw new Error("获取直播间id失败")}}};var p=function(t,e,o,n,r,i,s,a){var c,l="function"==typeof t?t.options:t;if(e&&(l.render=e,l.staticRenderFns=o,l._compiled=!0),n&&(l.functional=!0),i&&(l._scopeId="data-v-"+i),s?(c=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),r&&r.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(s)},l._ssrRegister=c):r&&(c=a?function(){r.call(this,(l.functional?this.parent:this).$root.$options.shadowRoot)}:r),c)if(l.functional){l._injectStyles=c;var d=l.render;l.render=function(t,e){return c.call(e),d(t,e)}}else{var u=l.beforeCreate;l.beforeCreate=u?[].concat(u,c):[c]}return{exports:t,options:l}}(Vue.extend({components:{DefaultWidget:r.DefaultWidget},data:()=>({downloading:!1,roomIdRegex:/^https:\/\/live\.bilibili\.com\/(?:blanc\/)?(\d+)(?:\?.*?)?$/}),methods:{async download(){this.downloading=!0;try{const t=window.location.href;if(t.startsWith("https://live.bilibili.com/")){const e=this.roomIdRegex.exec(t)[1],o=await u.getEmoticonsArray(e);if(0===o.length)return void d.Toast.info("该up主没有专属表情包","表情包下载");const n=await u.downloadEmoticons(o),r=await u.batchDownload(n),i=new l.DownloadPackage;i.noEscape=!0;for(const t of r)if(null!==t)for(const e of t.emoticons)i.add(`${t.pkg_name}/${e.emoji}.png`,e.blob);await i.emit(`emoticons-${e}.zip`)}}catch(t){d.Toast.error("下载失败详情查看控制台","表情包下载"),(0,i.logError)(t)}finally{this.downloading=!1}}}}),n,[],!1,null,null,null);const m=p.exports},726:t=>{function e(t){var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e}e.keys=()=>[],e.resolve=e,e.id=726,t.exports=e},701:t=>{"use strict";t.exports="## 下载up主专属表情包\n\n支持下载up主专属表情包,处于任意直播间页面时,下载按钮会在`功能`面板显示,以压缩包形式保存。"}},n={};function r(t){var e=n[t];if(void 0!==e)return e.exports;var i=n[t]={exports:{}};return o[t](i,i.exports,r),i.exports}e=Object.getPrototypeOf?t=>Object.getPrototypeOf(t):t=>t.__proto__,r.t=function(o,n){if(1&n&&(o=this(o)),8&n)return o;if("object"==typeof o&&o){if(4&n&&o.__esModule)return o;if(16&n&&"function"==typeof o.then)return o}var i=Object.create(null);r.r(i);var s={};t=t||[null,e({}),e([]),e(e)];for(var a=2&n&&o;"object"==typeof a&&!~t.indexOf(a);a=e(a))Object.getOwnPropertyNames(a).forEach((t=>s[t]=()=>o[t]));return s.default=()=>o,r.d(i,s),i},r.d=(t,e)=>{for(var o in e)r.o(e,o)&&!r.o(t,o)&&Object.defineProperty(t,o,{enumerable:!0,get:e[o]})},r.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),r.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var i={};return(()=>{"use strict";r.d(i,{component:()=>o});const t=coreApis.componentApis.define,e=coreApis.utils.urls,o=(0,t.defineComponentMetadata)({name:"downloadEmoticons",displayName:"下载表情",tags:[componentsTags.utils,componentsTags.live],entry:none,author:{name:"Pencilqaq",link:"https://github.com/pencilqaq"},widget:{component:()=>Promise.resolve().then(r.bind(r,21)).then((t=>t.default))},urlInclude:e.liveUrls,commitHash:"d87d69cfb9d7e0124bd90a06fec4569bd61e02c5",coreVersion:"2.10.7",description:(()=>{const t=r(726);return{...Object.fromEntries(t.keys().map((e=>[e.match(/index\.(.+)\.md$/)[1],t(e)]))),"zh-CN":()=>Promise.resolve().then(r.t.bind(r,701,17)).then((t=>t.default))}})()})})(),i=i.component})())); //# sourceMappingURL=https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/registry/dist/components/utils/download-emoticons.js.map \ No newline at end of file diff --git a/bb-evolved/registry/dist/components/utils/image-exporter.js b/bb-evolved/registry/dist/components/utils/image-exporter.js index 1542e5a3a3..7331986a34 100644 --- a/bb-evolved/registry/dist/components/utils/image-exporter.js +++ b/bb-evolved/registry/dist/components/utils/image-exporter.js @@ -1,4 +1,4 @@ !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["utils/image-exporter"]=t():e["utils/image-exporter"]=t()}(globalThis,(()=>(()=>{var e,t,n={533:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>m});var i=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("DefaultWidget",{attrs:{name:"导出图片",icon:"mdi-export",disabled:e.busy},on:{click:function(t){return e.exportImages()}}})};i._withStripped=!0;var o=n(416),r=n(658);const s=coreApis.settings;var a=n(5),l=n(847),u=n(765),c=n(121);const d=coreApis.ui;var p=function(e,t,n,i,o,r,s,a){var l,u="function"==typeof e?e.options:e;if(t&&(u.render=t,u.staticRenderFns=n,u._compiled=!0),i&&(u.functional=!0),r&&(u._scopeId="data-v-"+r),s?(l=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),o&&o.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(s)},u._ssrRegister=l):o&&(l=a?function(){o.call(this,(u.functional?this.parent:this).$root.$options.shadowRoot)}:o),l)if(u.functional){u._injectStyles=l;var c=u.render;u.render=function(e,t){return l.call(t),c(e,t)}}else{var d=u.beforeCreate;u.beforeCreate=d?[].concat(d,l):[l]}return{exports:e,options:u}}(Vue.extend({components:{DefaultWidget:d.DefaultWidget},data:()=>({busy:!1}),methods:{async exportImages(){const{columnFormat:e}=(0,s.getComponentSettings)("imageExporter").options,t=a.Toast.info("下载中...","导出图片");this.busy=!0;try{const n=(0,c.getTitleVariablesFromDate)(new Date( // eslint-disable-next-line no-underscore-dangle -1e3*(unsafeWindow.__INITIAL_STATE__?.readInfo?.publish_time??0))),i={cv:document.URL.match(/read\/cv(\d+)/)?.at(1),publishYear:n.year,publishMonth:n.month,publishDay:n.day,publishHour:n.hour,publishMinute:n.minute,publishSecond:n.second,publishMillisecond:n.millisecond},s=[],u=dq(".banner-image .card-image__image"),d=(0,l.retrieveImageUrl)(u);d&&(s.push({...d,name:`${(0,c.formatTitle)(e,!1,{n:"1",...i})}${d.extension}`}),console.log(u,d,s));if(dqa(".article-content :is(img.normal-img, .normal-img img)").forEach((t=>{const n=(0,l.retrieveImageUrl)(t);n&&s.push({...n,name:`${(0,c.formatTitle)(e,!1,{n:(s.length+1).toString(),...i})}${n.extension}`})})),0===s.length)return void a.Toast.info("此页面没有检测到任何可导出图片.","图片导出");let p=0;const m=await Promise.all(s.map((async e=>{let{url:n}=e;const i=await(0,o.getBlob)(n);return p++,t.message=`下载中... (${p}/${s.length})`,i}))),h=new r.DownloadPackage;m.forEach(((e,t)=>h.add(s[t].name,e))),await h.emit(`${(0,c.formatTitle)(e,!1,{n:"",...i})}.zip`)}catch(e){(0,u.logError)(e)}finally{this.busy=!1,t.close()}}}}),i,[],!1,null,null,null);const m=p.exports},371:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=371,e.exports=t},380:e=>{"use strict";e.exports="可以批量导出某个地方的图片, 目前支持动态和专栏.\n\n动态文件名变量:\n- `n`: 第 n 张图\n- `id`: 动态 ID\n- `user`: 用户名\n- `userID`: 用户 ID\n- 动态发布时间:\n - `publishYear`\n - `publishMonth`\n - `publishDay`\n - `publishHour`\n - `publishMinute`\n - `publishSecond`\n - `publishMillisecond`\n- 被转发的数据 (如果不是转发类型的动态, 则和上面的对应变量相同):\n - `originalID`: 被转发的动态 ID\n - `originalUser`: 被转发的用户名\n - `originalUserID`: 被转发用户 ID\n - 被转发的动态发布时间:\n - `originalPublishYear`\n - `originalPublishMonth`\n - `originalPublishDay`\n - `originalPublishHour`\n - `originalPublishMinute`\n - `originalPublishSecond`\n - `originalPublishMillisecond`\n\n专栏文件名变量:\n- `n`: 第 n 张图\n- `title`: 专栏标题\n- `cv`: 专栏 cv 号\n- 专栏发布时间:\n - `publishYear`\n - `publishMonth`\n - `publishDay`\n - `publishHour`\n - `publishMinute`\n - `publishSecond`\n - `publishMillisecond`\n"},416:e=>{"use strict";e.exports=coreApis.ajax},658:e=>{"use strict";e.exports=coreApis.download},5:e=>{"use strict";e.exports=coreApis.toast},765:e=>{"use strict";e.exports=coreApis.utils.log},121:e=>{"use strict";e.exports=coreApis.utils.title},847:e=>{"use strict";e.exports=coreApis.utils}},i={};function o(e){var t=i[e];if(void 0!==t)return t.exports;var r=i[e]={exports:{}};return n[e](r,r.exports,o),r.exports}t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,o.t=function(n,i){if(1&i&&(n=this(n)),8&i)return n;if("object"==typeof n&&n){if(4&i&&n.__esModule)return n;if(16&i&&"function"==typeof n.then)return n}var r=Object.create(null);o.r(r);var s={};e=e||[null,t({}),t([]),t(t)];for(var a=2&i&&n;"object"==typeof a&&!~e.indexOf(a);a=t(a))Object.getOwnPropertyNames(a).forEach((e=>s[e]=()=>n[e]));return s.default=()=>n,o.d(r,s),r},o.d=(e,t)=>{for(var n in t)o.o(t,n)&&!o.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var r={};return(()=>{"use strict";o.d(r,{component:()=>m});const e=coreApis.componentApis.define;var t=o(847);const n=coreApis.utils.urls,i=coreApis.componentApis.feeds.api;var s=o(416),a=o(658),l=o(5),u=o(121),c=o(765);const d=async e=>{let{settings:{options:o}}=e;if(!n.feedsUrls.some((e=>(0,t.matchUrlPattern)(e))))return;(0,i.forEachFeedsCard)({added:e=>{(0,i.addMenuItem)(e,{className:"image-export",text:"导出图片",action:async()=>{const n=[],i=(0,c.useScopedConsole)("导出图片");if(dqa(e.element,".main-content .img-content, .bili-album__preview__picture__img, .bili-album .preview__picture__img, .bili-dyn-gallery__image img, .bili-album__watch__track__item img").forEach((e=>{const i=(0,t.retrieveImageUrl)(e);i&&!n.some((e=>{let{url:t}=e;return((e,t)=>{try{return new URL(e).pathname===new URL(t).pathname}catch{return!1}})(t,i.url)}))&&n.push(i)})),0===n.length)return void l.Toast.info("此条动态没有检测到任何图片.","导出图片");i.log({imageUrls:n});const r=l.Toast.info("下载中...","导出图片");let d=0;const p=(0,t.getVue2Data)(e.element),m=lodash.get(p,"data.modules.module_author",{}),h=lodash.get(p,"data.orig.modules.module_author",{}),g=(0,u.getTitleVariablesFromDate)(new Date(1e3*m.pub_ts)),f=(0,u.getTitleVariablesFromDate)(new Date(1e3*(h.pub_ts??m.pub_ts))),b={id:e.id,user:e.username,userID:m.mid?.toString(),originalUser:e.repostUsername??e.username,originalUserID:h.mid?.toString()??m.mid?.toString(),originalID:lodash.get(p,"data.orig.id_str",e.id),publishYear:g.year,publishMonth:g.month,publishDay:g.day,publishHour:g.hour,publishMinute:g.minute,publishSecond:g.second,publishMillisecond:g.millisecond,originalPublishYear:f.year,originalPublishMonth:f.month,originalPublishDay:f.day,originalPublishHour:f.hour,originalPublishMinute:f.minute,originalPublishSecond:f.second,originalPublishMillisecond:f.millisecond},_=await Promise.all(n.map((async e=>{let{url:t}=e;const i=await(0,s.getBlob)(t);return d++,r.message=`下载中... (${d}/${n.length})`,i}))),y=new a.DownloadPackage,{feedFormat:v}=o;_.forEach(((e,t)=>{const i={n:(t+1).toString(),...b};y.add(`${(0,u.formatTitle)(v,!1,i)}${n[t].extension}`,e)})),r.close();const x={n:"",...b};await y.emit(`${(0,u.formatTitle)(v,!1,x)}.zip`)}})}})},p=(0,e.defineOptionsMetadata)({columnFormat:{defaultValue:"[title][ - n]",displayName:"专栏图片命名格式",multiline:!0},feedFormat:{defaultValue:"[user][ - id][ - n]",displayName:"动态图片命名格式",multiline:!0}}),m=(0,e.defineComponentMetadata)({name:"imageExporter",displayName:"图片批量导出",tags:[componentsTags.feeds,componentsTags.utils],entry:async e=>{await d(e)},widget:{condition:()=>n.columnUrls.some((e=>(0,t.matchUrlPattern)(e))),component:()=>Promise.resolve().then(o.bind(o,533)).then((e=>e.default))},urlInclude:[...n.feedsUrls,...n.columnUrls],options:p,commitHash:"58c0b438ca2371e397f70466a91572cb2757b142",coreVersion:"2.10.7",description:(()=>{const e=o(371);return{...Object.fromEntries(e.keys().map((t=>[t.match(/index\.(.+)\.md$/)[1],e(t)]))),"zh-CN":()=>Promise.resolve().then(o.t.bind(o,380,17)).then((e=>e.default))}})()})})(),r=r.component})())); +1e3*(unsafeWindow.__INITIAL_STATE__?.readInfo?.publish_time??0))),i={cv:document.URL.match(/read\/cv(\d+)/)?.at(1),publishYear:n.year,publishMonth:n.month,publishDay:n.day,publishHour:n.hour,publishMinute:n.minute,publishSecond:n.second,publishMillisecond:n.millisecond},s=[],u=dq(".banner-image .card-image__image"),d=(0,l.retrieveImageUrl)(u);d&&(s.push({...d,name:`${(0,c.formatTitle)(e,!1,{n:"1",...i})}${d.extension}`}),console.log(u,d,s));if(dqa(".article-content :is(img.normal-img, .normal-img img)").forEach((t=>{const n=(0,l.retrieveImageUrl)(t);n&&s.push({...n,name:`${(0,c.formatTitle)(e,!1,{n:(s.length+1).toString(),...i})}${n.extension}`})})),0===s.length)return void a.Toast.info("此页面没有检测到任何可导出图片.","图片导出");let p=0;const m=await Promise.all(s.map((async e=>{let{url:n}=e;const i=await(0,o.getBlob)(n);return p++,t.message=`下载中... (${p}/${s.length})`,i}))),h=new r.DownloadPackage;m.forEach(((e,t)=>h.add(s[t].name,e))),await h.emit(`${(0,c.formatTitle)(e,!1,{n:"",...i})}.zip`)}catch(e){(0,u.logError)(e)}finally{this.busy=!1,t.close()}}}}),i,[],!1,null,null,null);const m=p.exports},371:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=371,e.exports=t},380:e=>{"use strict";e.exports="可以批量导出某个地方的图片, 目前支持动态和专栏.\n\n动态文件名变量:\n- `n`: 第 n 张图\n- `id`: 动态 ID\n- `user`: 用户名\n- `userID`: 用户 ID\n- 动态发布时间:\n - `publishYear`\n - `publishMonth`\n - `publishDay`\n - `publishHour`\n - `publishMinute`\n - `publishSecond`\n - `publishMillisecond`\n- 被转发的数据 (如果不是转发类型的动态, 则和上面的对应变量相同):\n - `originalID`: 被转发的动态 ID\n - `originalUser`: 被转发的用户名\n - `originalUserID`: 被转发用户 ID\n - 被转发的动态发布时间:\n - `originalPublishYear`\n - `originalPublishMonth`\n - `originalPublishDay`\n - `originalPublishHour`\n - `originalPublishMinute`\n - `originalPublishSecond`\n - `originalPublishMillisecond`\n\n专栏文件名变量:\n- `n`: 第 n 张图\n- `title`: 专栏标题\n- `cv`: 专栏 cv 号\n- 专栏发布时间:\n - `publishYear`\n - `publishMonth`\n - `publishDay`\n - `publishHour`\n - `publishMinute`\n - `publishSecond`\n - `publishMillisecond`\n"},416:e=>{"use strict";e.exports=coreApis.ajax},658:e=>{"use strict";e.exports=coreApis.download},5:e=>{"use strict";e.exports=coreApis.toast},765:e=>{"use strict";e.exports=coreApis.utils.log},121:e=>{"use strict";e.exports=coreApis.utils.title},847:e=>{"use strict";e.exports=coreApis.utils}},i={};function o(e){var t=i[e];if(void 0!==t)return t.exports;var r=i[e]={exports:{}};return n[e](r,r.exports,o),r.exports}t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,o.t=function(n,i){if(1&i&&(n=this(n)),8&i)return n;if("object"==typeof n&&n){if(4&i&&n.__esModule)return n;if(16&i&&"function"==typeof n.then)return n}var r=Object.create(null);o.r(r);var s={};e=e||[null,t({}),t([]),t(t)];for(var a=2&i&&n;"object"==typeof a&&!~e.indexOf(a);a=t(a))Object.getOwnPropertyNames(a).forEach((e=>s[e]=()=>n[e]));return s.default=()=>n,o.d(r,s),r},o.d=(e,t)=>{for(var n in t)o.o(t,n)&&!o.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var r={};return(()=>{"use strict";o.d(r,{component:()=>m});const e=coreApis.componentApis.define;var t=o(847);const n=coreApis.utils.urls,i=coreApis.componentApis.feeds.api;var s=o(416),a=o(658),l=o(5),u=o(121),c=o(765);const d=async e=>{let{settings:{options:o}}=e;if(!n.feedsUrls.some((e=>(0,t.matchUrlPattern)(e))))return;(0,i.forEachFeedsCard)({added:e=>{(0,i.addMenuItem)(e,{className:"image-export",text:"导出图片",action:async()=>{const n=[],i=(0,c.useScopedConsole)("导出图片");if(dqa(e.element,".main-content .img-content, .bili-album__preview__picture__img, .bili-album .preview__picture__img, .bili-dyn-gallery__image img, .bili-album__watch__track__item img").forEach((e=>{const i=(0,t.retrieveImageUrl)(e);i&&!n.some((e=>{let{url:t}=e;return((e,t)=>{try{return new URL(e).pathname===new URL(t).pathname}catch{return!1}})(t,i.url)}))&&n.push(i)})),0===n.length)return void l.Toast.info("此条动态没有检测到任何图片.","导出图片");i.log({imageUrls:n});const r=l.Toast.info("下载中...","导出图片");let d=0;const p=(0,t.getVue2Data)(e.element),m=lodash.get(p,"data.modules.module_author",{}),h=lodash.get(p,"data.orig.modules.module_author",{}),g=(0,u.getTitleVariablesFromDate)(new Date(1e3*m.pub_ts)),f=(0,u.getTitleVariablesFromDate)(new Date(1e3*(h.pub_ts??m.pub_ts))),b={id:e.id,user:e.username,userID:m.mid?.toString(),originalUser:e.repostUsername??e.username,originalUserID:h.mid?.toString()??m.mid?.toString(),originalID:lodash.get(p,"data.orig.id_str",e.id),publishYear:g.year,publishMonth:g.month,publishDay:g.day,publishHour:g.hour,publishMinute:g.minute,publishSecond:g.second,publishMillisecond:g.millisecond,originalPublishYear:f.year,originalPublishMonth:f.month,originalPublishDay:f.day,originalPublishHour:f.hour,originalPublishMinute:f.minute,originalPublishSecond:f.second,originalPublishMillisecond:f.millisecond},_=await Promise.all(n.map((async e=>{let{url:t}=e;const i=await(0,s.getBlob)(t);return d++,r.message=`下载中... (${d}/${n.length})`,i}))),y=new a.DownloadPackage,{feedFormat:v}=o;_.forEach(((e,t)=>{const i={n:(t+1).toString(),...b};y.add(`${(0,u.formatTitle)(v,!1,i)}${n[t].extension}`,e)})),r.close();const x={n:"",...b};await y.emit(`${(0,u.formatTitle)(v,!1,x)}.zip`)}})}})},p=(0,e.defineOptionsMetadata)({columnFormat:{defaultValue:"[title][ - n]",displayName:"专栏图片命名格式",multiline:!0},feedFormat:{defaultValue:"[user][ - id][ - n]",displayName:"动态图片命名格式",multiline:!0}}),m=(0,e.defineComponentMetadata)({name:"imageExporter",displayName:"图片批量导出",tags:[componentsTags.feeds,componentsTags.utils],entry:async e=>{await d(e)},widget:{condition:()=>n.columnUrls.some((e=>(0,t.matchUrlPattern)(e))),component:()=>Promise.resolve().then(o.bind(o,533)).then((e=>e.default))},urlInclude:[...n.feedsUrls,...n.columnUrls],options:p,commitHash:"d87d69cfb9d7e0124bd90a06fec4569bd61e02c5",coreVersion:"2.10.7",description:(()=>{const e=o(371);return{...Object.fromEntries(e.keys().map((t=>[t.match(/index\.(.+)\.md$/)[1],e(t)]))),"zh-CN":()=>Promise.resolve().then(o.t.bind(o,380,17)).then((e=>e.default))}})()})})(),r=r.component})())); //# sourceMappingURL=https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/registry/dist/components/utils/image-exporter.js.map \ No newline at end of file diff --git a/bb-evolved/registry/dist/components/utils/image-resolution.js b/bb-evolved/registry/dist/components/utils/image-resolution.js index 75f140b84a..b3d8c8f675 100644 --- a/bb-evolved/registry/dist/components/utils/image-resolution.js +++ b/bb-evolved/registry/dist/components/utils/image-resolution.js @@ -8,5 +8,5 @@ t=[[null,t,""]]);var r={};if(o)for(var i=0;i{"use strict";function e(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=t&&("undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"]);if(null==n)return;var o,r,i=[],a=!0,s=!1;try{for(n=n.call(t);!(a=(o=n.next()).done)&&(i.push(o.value),!e||i.length!==e);a=!0);}catch(t){s=!0,r=t}finally{try{a||null==n.return||n.return()}finally{if(s)throw r}}return i}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return n(t,e);var o=Object.prototype.toString.call(t).slice(8,-1);"Object"===o&&t.constructor&&(o=t.constructor.name);if("Map"===o||"Set"===o)return Array.from(t);if("Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o))return n(t,e)}(t,e)||function(){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 n(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,o=new Array(e);n{var o=n(146);o&&o.__esModule&&(o=o.default),t.exports="string"==typeof o?o:o.toString()},288:t=>{function e(t){var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e}e.keys=()=>[],e.resolve=e,e.id=288,t.exports=e},903:t=>{"use strict";t.exports="对 200% 以上的屏幕 DPI 缩放请求更高分辨率的图片, 加载时间也会相应变长一些. (也会导致某些浏览器里出现图片闪动, 因为本质上是更换了图片源)\n\n由于 b 站在很多地方没有设置图片维持原比例, 如果计算后的图片尺寸超出原图尺寸则会产生错误的比例, 可以考虑在选项中手动降低缩放级别.\n\n`缩放级别` 选项:\n- `auto`: 根据 DPI 缩放超出 200% 的比例自动计算, 例如 250% 的缩放下会请求 1.5 倍尺寸的图片.\n- `数字`: 自定义尺寸的缩放倍率.\n"},104:t=>{"use strict";t.exports=coreApis.observer}},o={};function r(t){var e=o[t];if(void 0!==e)return e.exports;var i=o[t]={id:t,exports:{}};return n[t](i,i.exports,r),i.exports}e=Object.getPrototypeOf?t=>Object.getPrototypeOf(t):t=>t.__proto__,r.t=function(n,o){if(1&o&&(n=this(n)),8&o)return n;if("object"==typeof n&&n){if(4&o&&n.__esModule)return n;if(16&o&&"function"==typeof n.then)return n}var i=Object.create(null);r.r(i);var a={};t=t||[null,e({}),e([]),e(e)];for(var s=2&o&&n;"object"==typeof s&&!~t.indexOf(s);s=e(s))Object.getOwnPropertyNames(s).forEach((t=>a[t]=()=>n[t]));return a.default=()=>n,r.d(i,a),i},r.d=(t,e)=>{for(var n in e)r.o(e,n)&&!r.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},r.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),r.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var i={};return(()=>{"use strict";r.d(i,{component:()=>p});const t=coreApis.componentApis.define,e=coreApis.componentApis.styledComponent,n=/@(\d+)[Ww](_(\d+)[Hh])?/,o=["#certify-img1","#certify-img2"],a=[".bili-avatar-img"],s=[".logo-img"],c=[".article-detail .article-content img"],l=(t,e)=>{const n=document.createNodeIterator(t,NodeFilter.SHOW_ELEMENT);let o=n.nextNode();for(;o;)e(o),o=n.nextNode()},u=async(t,e)=>{const{attributes:i}=await Promise.resolve().then(r.t.bind(r,104,23)),c=(r,i)=>{const c=r(t);if(null===c)return;if(o.some((e=>t.matches(e))))return;if(c.includes(","))return;const l=c.match(n);if(!l)return;const[,u,,f]=l,d=parseInt(t.getAttribute("data-resolution-width")||"0");if(parseInt(u)>=d&&0!==d)return;null===t.getAttribute("width")&&null===t.getAttribute("height")&&void 0!==f&&(s.some((e=>t.matches(e)))?(t.setAttribute("height",f),t.setAttribute("width",u)):a.some((e=>t.matches(e)))?t.setAttribute("height",f):t.setAttribute("width",u));const p=(t,e)=>t===1/0||e===1/0?c.replace(n,"@"):void 0===e?c.replace(n,`@${t}w`):c.replace(n,`@${t}w_${e}h`);if(void 0!==f){const n=e.getWidth(parseInt(u),t),o=e.getHeight(parseInt(f),t);t.setAttribute("data-resolution-width",n.toString()),i(t,p(n,o))}else{const n=e.getWidth(parseInt(u),t);t.setAttribute("data-resolution-width",n.toString()),i(t,p(n))}};i(t,(()=>{c((t=>t.getAttribute("src")),((t,e)=>t.setAttribute("src",e))),c((t=>t.getAttribute("srcset")),((t,e)=>t.setAttribute("srcset",e))),c((t=>t.style.backgroundImage),((t,e)=>t.style.backgroundImage=e))}))},f=(0,e.styledComponentEntry)((()=>Promise.resolve().then(r.t.bind(r,208,23))),(async t=>{let{settings:e}=t;const{allMutations:n}=await Promise.resolve().then(r.t.bind(r,104,23)),o="auto"===e.options.scale?window.devicePixelRatio<=2?1:window.devicePixelRatio/2:parseFloat(e.options.scale);if(1===o)return;const i={getWidth:(t,n)=>e.options.originalImageInArticles&&c.some((t=>n.matches(t)))?1/0:Math.round(o*t),getHeight:(t,n)=>e.options.originalImageInArticles&&c.some((t=>n.matches(t)))?1/0:Math.round(o*t)};l(document.body,(t=>u(t,i))),n((t=>{t.forEach((t=>t.addedNodes.forEach((t=>{t instanceof HTMLElement&&(u(t,i),"IMG"!==t.nodeName.toUpperCase()&&l(t,(t=>u(t,i))))}))))}))})),d=(0,t.defineOptionsMetadata)({scale:{displayName:"缩放级别",defaultValue:"auto"},originalImageInArticles:{displayName:"在专栏中请求原图",defaultValue:!1}}),p=(0,t.defineComponentMetadata)({name:"imageResolution",displayName:"高分辨率图片",tags:[componentsTags.utils],enabledByDefault:window.devicePixelRatio>1,entry:f,options:d,commitHash:"58c0b438ca2371e397f70466a91572cb2757b142",coreVersion:"2.10.7",description:(()=>{const t=r(288);return{...Object.fromEntries(t.keys().map((e=>[e.match(/index\.(.+)\.md$/)[1],t(e)]))),"zh-CN":()=>Promise.resolve().then(r.t.bind(r,903,17)).then((t=>t.default))}})()})})(),i=i.component})())); +var i=btoa(unescape(encodeURIComponent(JSON.stringify(r)))),a="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(i),s="/*# ".concat(a," */"),c=r.sources.map((function(t){return"/*# sourceURL=".concat(r.sourceRoot||"").concat(t," */")}));return[o].concat(c).concat([s]).join("\n")}return[o].join("\n")}},208:(t,e,n)=>{var o=n(146);o&&o.__esModule&&(o=o.default),t.exports="string"==typeof o?o:o.toString()},288:t=>{function e(t){var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e}e.keys=()=>[],e.resolve=e,e.id=288,t.exports=e},903:t=>{"use strict";t.exports="对 200% 以上的屏幕 DPI 缩放请求更高分辨率的图片, 加载时间也会相应变长一些. (也会导致某些浏览器里出现图片闪动, 因为本质上是更换了图片源)\n\n由于 b 站在很多地方没有设置图片维持原比例, 如果计算后的图片尺寸超出原图尺寸则会产生错误的比例, 可以考虑在选项中手动降低缩放级别.\n\n`缩放级别` 选项:\n- `auto`: 根据 DPI 缩放超出 200% 的比例自动计算, 例如 250% 的缩放下会请求 1.5 倍尺寸的图片.\n- `数字`: 自定义尺寸的缩放倍率.\n"},104:t=>{"use strict";t.exports=coreApis.observer}},o={};function r(t){var e=o[t];if(void 0!==e)return e.exports;var i=o[t]={id:t,exports:{}};return n[t](i,i.exports,r),i.exports}e=Object.getPrototypeOf?t=>Object.getPrototypeOf(t):t=>t.__proto__,r.t=function(n,o){if(1&o&&(n=this(n)),8&o)return n;if("object"==typeof n&&n){if(4&o&&n.__esModule)return n;if(16&o&&"function"==typeof n.then)return n}var i=Object.create(null);r.r(i);var a={};t=t||[null,e({}),e([]),e(e)];for(var s=2&o&&n;"object"==typeof s&&!~t.indexOf(s);s=e(s))Object.getOwnPropertyNames(s).forEach((t=>a[t]=()=>n[t]));return a.default=()=>n,r.d(i,a),i},r.d=(t,e)=>{for(var n in e)r.o(e,n)&&!r.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},r.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),r.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var i={};return(()=>{"use strict";r.d(i,{component:()=>p});const t=coreApis.componentApis.define,e=coreApis.componentApis.styledComponent,n=/@(\d+)[Ww](_(\d+)[Hh])?/,o=["#certify-img1","#certify-img2"],a=[".bili-avatar-img"],s=[".logo-img"],c=[".article-detail .article-content img"],l=(t,e)=>{const n=document.createNodeIterator(t,NodeFilter.SHOW_ELEMENT);let o=n.nextNode();for(;o;)e(o),o=n.nextNode()},u=async(t,e)=>{const{attributes:i}=await Promise.resolve().then(r.t.bind(r,104,23)),c=(r,i)=>{const c=r(t);if(null===c)return;if(o.some((e=>t.matches(e))))return;if(c.includes(","))return;const l=c.match(n);if(!l)return;const[,u,,d]=l,f=parseInt(t.getAttribute("data-resolution-width")||"0");if(parseInt(u)>=f&&0!==f)return;null===t.getAttribute("width")&&null===t.getAttribute("height")&&void 0!==d&&(s.some((e=>t.matches(e)))?(t.setAttribute("height",d),t.setAttribute("width",u)):a.some((e=>t.matches(e)))?t.setAttribute("height",d):t.setAttribute("width",u));const p=(t,e)=>t===1/0||e===1/0?c.replace(n,"@"):void 0===e?c.replace(n,`@${t}w`):c.replace(n,`@${t}w_${e}h`);if(void 0!==d){const n=e.getWidth(parseInt(u),t),o=e.getHeight(parseInt(d),t);t.setAttribute("data-resolution-width",n.toString()),i(t,p(n,o))}else{const n=e.getWidth(parseInt(u),t);t.setAttribute("data-resolution-width",n.toString()),i(t,p(n))}};i(t,(()=>{c((t=>t.getAttribute("src")),((t,e)=>t.setAttribute("src",e))),c((t=>t.getAttribute("srcset")),((t,e)=>t.setAttribute("srcset",e))),c((t=>t.style.backgroundImage),((t,e)=>t.style.backgroundImage=e))}))},d=(0,e.styledComponentEntry)((()=>Promise.resolve().then(r.t.bind(r,208,23))),(async t=>{let{settings:e}=t;const{allMutations:n}=await Promise.resolve().then(r.t.bind(r,104,23)),o="auto"===e.options.scale?window.devicePixelRatio<=2?1:window.devicePixelRatio/2:parseFloat(e.options.scale);if(1===o)return;const i={getWidth:(t,n)=>e.options.originalImageInArticles&&c.some((t=>n.matches(t)))?1/0:Math.round(o*t),getHeight:(t,n)=>e.options.originalImageInArticles&&c.some((t=>n.matches(t)))?1/0:Math.round(o*t)};l(document.body,(t=>u(t,i))),n((t=>{t.forEach((t=>t.addedNodes.forEach((t=>{t instanceof HTMLElement&&(u(t,i),"IMG"!==t.nodeName.toUpperCase()&&l(t,(t=>u(t,i))))}))))}))})),f=(0,t.defineOptionsMetadata)({scale:{displayName:"缩放级别",defaultValue:"auto"},originalImageInArticles:{displayName:"在专栏中请求原图",defaultValue:!1}}),p=(0,t.defineComponentMetadata)({name:"imageResolution",displayName:"高分辨率图片",tags:[componentsTags.utils],enabledByDefault:window.devicePixelRatio>1,entry:d,options:f,commitHash:"d87d69cfb9d7e0124bd90a06fec4569bd61e02c5",coreVersion:"2.10.7",description:(()=>{const t=r(288);return{...Object.fromEntries(t.keys().map((e=>[e.match(/index\.(.+)\.md$/)[1],t(e)]))),"zh-CN":()=>Promise.resolve().then(r.t.bind(r,903,17)).then((t=>t.default))}})()})})(),i=i.component})())); //# sourceMappingURL=https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/registry/dist/components/utils/image-resolution.js.map \ No newline at end of file diff --git a/bb-evolved/registry/dist/components/utils/import-series.js b/bb-evolved/registry/dist/components/utils/import-series.js index e1561a71f9..9942dd5a55 100644 --- a/bb-evolved/registry/dist/components/utils/import-series.js +++ b/bb-evolved/registry/dist/components/utils/import-series.js @@ -1,2 +1,2 @@ -!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["utils/import-series"]=t():e["utils/import-series"]=t()}(globalThis,(()=>(()=>{"use strict";var e={d:(t,i)=>{for(var a in i)e.o(i,a)&&!e.o(t,a)&&Object.defineProperty(t,a,{enumerable:!0,get:i[a]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t)},t={};e.d(t,{component:()=>c});const i=coreApis.componentApis.define,a=coreApis.utils,o=coreApis.spinQuery,s=coreApis.observer,n=coreApis.toast,r=async()=>{let e=function(e){return e[e.Collection=0]="Collection",e[e.Series=1]="Series",e}({});const t=new URL(window.location.href);let i,s;if(t.pathname.includes("seriesdetail"))s=t.searchParams.get("sid"),i=e.Series;else{if(!t.pathname.includes("collectiondetail"))return;s=t.searchParams.get("sid"),i=e.Collection}const r=t.pathname.split("/")[1],c=(0,a.getCsrf)(),l=await(0,o.select)(".page-head"),d=l.children[1],p=document.createElement("a");p.className="paly-all-btn",p.textContent="一键收藏",p.style.cssText="\n right: 6rem;\n display: block;\n text-align: center;\n width: 65px;\n ",l.insertBefore(p,d),p.onclick=async()=>{i===e.Series?await(async(e,t,i)=>{const s=(await fetch(`https://api.bilibili.com/x/series/archives?mid=${t}&series_id=${e}&only_normal=true&sort=desc&pn=1&ps=99999`).then((e=>e.json()))).data.archives,r=await(0,o.sq)((()=>document.getElementsByClassName("item cur")[0].innerHTML),(e=>""!==e));let c=0;for(;;){const e=await fetch("https://api.bilibili.com/x/v3/fav/folder/add",{method:"POST",credentials:"include",headers:{"Content-Type":"application/x-www-form-urlencoded"},body:`title=${r}&csrf=${i}&privacy=0`}).then((e=>e.json()));if(0===e.code){c=e.data.id;break}await(0,a.delay)(2e3)}const l=" 过久未动即触发风控,等待一段时间自动继续",d=n.Toast.info(`0 / ${s.length}${l}`,"收藏系列");for(let e=0;ee.json()))).code){d.message=`${e+1} / ${s.length}${l}`;break}{const e=2e3*Math.random()+2e3;console.log(`请求失败,等待${(e/1e3).toFixed(1)}s后重试`),await(0,a.delay)(e)}}d.duration=1e3,n.Toast.success("完成","收藏系列",2e3)})(s,r,c):await(async(e,t)=>{for(;;){if(0===(await fetch("https://api.bilibili.com/x/v3/fav/season/fav",{method:"POST",credentials:"include",headers:{"Content-Type":"application/x-www-form-urlencoded"},body:`platform=web&season_id=${e}&csrf=${t}`}).then((e=>e.json()))).code){n.Toast.success("成功","导入合集",2e3);break}await(0,a.delay)(2e3)}})(s,c)}},c=(0,i.defineComponentMetadata)({name:"importSeries",author:{name:"aiden",link:"https://github.com/swhoro"},displayName:"批量导入合集",tags:[componentsTags.utils],entry:()=>{(0,s.urlChange)((()=>{r()}))},description:{"zh-CN":"在合集页面制作一个批量导入按钮,可以新增所有合集内视频至同名收藏夹"},urlInclude:[/^https:\/\/space\.bilibili\.com\//],commitHash:"58c0b438ca2371e397f70466a91572cb2757b142",coreVersion:"2.10.7"});return t=t.component})())); +!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["utils/import-series"]=t():e["utils/import-series"]=t()}(globalThis,(()=>(()=>{"use strict";var e={d:(t,i)=>{for(var o in i)e.o(i,o)&&!e.o(t,o)&&Object.defineProperty(t,o,{enumerable:!0,get:i[o]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t)},t={};e.d(t,{component:()=>c});const i=coreApis.componentApis.define,o=coreApis.utils,a=coreApis.spinQuery,s=coreApis.observer,n=coreApis.toast,r=async()=>{let e=function(e){return e[e.Collection=0]="Collection",e[e.Series=1]="Series",e}({});const t=new URL(window.location.href);let i,s;if(t.pathname.includes("seriesdetail"))s=t.searchParams.get("sid"),i=e.Series;else{if(!t.pathname.includes("collectiondetail"))return;s=t.searchParams.get("sid"),i=e.Collection}const r=t.pathname.split("/")[1],c=(0,o.getCsrf)(),l=await(0,a.select)(".page-head"),d=l.children[1],p=document.createElement("a");p.className="paly-all-btn",p.textContent="一键收藏",p.style.cssText="\n right: 6rem;\n display: block;\n text-align: center;\n width: 65px;\n ",l.insertBefore(p,d),p.onclick=async()=>{i===e.Series?await(async(e,t,i)=>{const s=(await fetch(`https://api.bilibili.com/x/series/archives?mid=${t}&series_id=${e}&only_normal=true&sort=desc&pn=1&ps=99999`).then((e=>e.json()))).data.archives,r=await(0,a.sq)((()=>document.getElementsByClassName("item cur")[0].innerHTML),(e=>""!==e));let c=0;for(;;){const e=await fetch("https://api.bilibili.com/x/v3/fav/folder/add",{method:"POST",credentials:"include",headers:{"Content-Type":"application/x-www-form-urlencoded"},body:`title=${r}&csrf=${i}&privacy=0`}).then((e=>e.json()));if(0===e.code){c=e.data.id;break}await(0,o.delay)(2e3)}const l=" 过久未动即触发风控,等待一段时间自动继续",d=n.Toast.info(`0 / ${s.length}${l}`,"收藏系列");for(let e=0;ee.json()))).code){d.message=`${e+1} / ${s.length}${l}`;break}{const e=2e3*Math.random()+2e3;console.log(`请求失败,等待${(e/1e3).toFixed(1)}s后重试`),await(0,o.delay)(e)}}d.duration=1e3,n.Toast.success("完成","收藏系列",2e3)})(s,r,c):await(async(e,t)=>{for(;;){if(0===(await fetch("https://api.bilibili.com/x/v3/fav/season/fav",{method:"POST",credentials:"include",headers:{"Content-Type":"application/x-www-form-urlencoded"},body:`platform=web&season_id=${e}&csrf=${t}`}).then((e=>e.json()))).code){n.Toast.success("成功","导入合集",2e3);break}await(0,o.delay)(2e3)}})(s,c)}},c=(0,i.defineComponentMetadata)({name:"importSeries",author:{name:"aiden",link:"https://github.com/swhoro"},displayName:"批量导入合集",tags:[componentsTags.utils],entry:()=>{(0,s.urlChange)((()=>{r()}))},description:{"zh-CN":"在合集页面制作一个批量导入按钮,可以新增所有合集内视频至同名收藏夹"},urlInclude:[/^https:\/\/space\.bilibili\.com\//],commitHash:"d87d69cfb9d7e0124bd90a06fec4569bd61e02c5",coreVersion:"2.10.7"});return t=t.component})())); //# sourceMappingURL=https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/registry/dist/components/utils/import-series.js.map \ No newline at end of file diff --git a/bb-evolved/registry/dist/components/utils/ip-show.js b/bb-evolved/registry/dist/components/utils/ip-show.js index 3f3a6eef1c..a16abff44e 100644 --- a/bb-evolved/registry/dist/components/utils/ip-show.js +++ b/bb-evolved/registry/dist/components/utils/ip-show.js @@ -1,4 +1,4 @@ -!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["utils/ip-show"]=t():e["utils/ip-show"]=t()}(globalThis,(()=>(()=>{"use strict";var e,t,i={913:e=>{e.exports=coreApis.componentApis.utils.commentApis}},a={};function s(e){var t=a[e];if(void 0!==t)return t.exports;var l=a[e]={exports:{}};return i[e](l,l.exports,s),l.exports}t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,s.t=function(i,a){if(1&a&&(i=this(i)),8&a)return i;if("object"==typeof i&&i){if(4&a&&i.__esModule)return i;if(16&a&&"function"==typeof i.then)return i}var l=Object.create(null);s.r(l);var n={};e=e||[null,t({}),t([]),t(t)];for(var o=2&a&&i;"object"==typeof o&&!~e.indexOf(o);o=t(o))Object.getOwnPropertyNames(o).forEach((e=>n[e]=()=>i[e]));return n.default=()=>i,s.d(l,n),l},s.d=(e,t)=>{for(var i in t)s.o(t,i)&&!s.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})},s.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),s.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var l={};s.d(l,{component:()=>_});const n=coreApis.componentApis.define,o=coreApis.spinQuery;let r,c=2;const p=function(e,t,i){const a=this._parentBlacklistDom(e,t,i),s=[`
`,`
${this._createNickNameDom(e)}`,this._createLevelLink(e),this._identity(e.mid,e.assist,e.member.fans_detail),`${this._createNameplate(e.member.nameplate)+this._createUserSailing(e)}
`,this._createMsgContent(e),this._createPerfectReply(e),'
',this._createPlatformDom(e.content.plat),'',''.concat(this._formateTime(e.ctime),""),e?.reply_control?.location?`${e?.reply_control?.location||""}`:"","",e.lottery_id?"":``,e.lottery_id?"":``,e.lottery_id?"":this._createReplyBtn(e.rcount),e.lottery_id&&e.mid!==r.userStatus.mid?"":`
    ${this._canSetTop(e)?`
  • ${e.isUpTop?"取消置顶":"设为置顶"}
  • `:""}${this._canBlackList(e.mid)?'
  • 加入黑名单
  • ':""}${this._canReport(e.mid)?'
  • 举报
  • ':""}${this._canDel(e.mid)&&!e.isTop?`
  • 删除
  • `:""}
`,this._createLotteryContent(e.content),this._createVoteContent(e.content),this._createTags(e),"
",'
',this._createSubReplyList(e.replies,e.rcount,!1,e.rpid,e.folder&&e.folder.has_folded,e.reply_control),"
",'
',"
","
"].join("");return e.state===r.blacklistCode?a:s},d=function(e,t){return[`
`,this._createSubReplyUserFace(e),'
','
',this._createNickNameDom(e),this._createLevelLink(e),this._identity(e.mid),this._createSubMsgContent(e),"
","
",'
','',''.concat(this._formateTime(e.ctime),""),e?.reply_control?.location?`${e?.reply_control?.location||""}`:"","",``,``,'回复',`
    ${this._canBlackList(e.mid)?'
  • 加入黑名单
  • ':""}${this._canReport(e.mid)?'
  • 举报
  • ':""}${this._canDel(e.mid)?`
  • 删除
  • `:""}
`,"
","
"].join("")},m=function(e,t,i){const a=this._parentBlacklistDom(e,t,i),s=[`
`,`
${this._identity(e.mid,e.assist,e.member.fans_detail)}`,`${this._unhtmlFix(e.member.uname)}${this._createNameplate(e.member.nameplate)}${this._createUserSailing(e.member&&e.member.user_sailing||{})}
`,this._createMsgContent(e),'
',e.floor?`#${e.floor}`:"",this._createPlatformDom(e.content.plat),`${this._formateTime(e.ctime)}`,e?.reply_control?.location?`${e?.reply_control?.location||""}`:"",e.lottery_id?"":``,e.lottery_id?"":``,e.lottery_id?"":this._createReplyBtn(e.rcount),e.lottery_id&&e.mid!==this.userStatus.mid?"":`
    ${this._canSetTop(e)?`
  • ${e.isUpTop?"取消置顶":"设为置顶"}
  • `:""}${this._canBlackList(e.mid)?'
  • 加入黑名单
  • ':""}${this._canReport(e.mid)?'
  • 举报
  • ':""}${this._canDel(e.mid)&&!e.isTop?`
  • 删除
  • `:""}
`,this._createLotteryContent(e.content),this._createVoteContent(e.content),this._createTags(e),"
",'
',this._createSubReplyList(e.replies,e.rcount,!1,e.rpid,e.folder&&e.folder.has_folded),"
",'
',"
","
"].join("");return e.state===this.blacklistCode?a:s},h=function(e,t){return[`
`,``,``,"",'
','
',`${this._unhtmlFix(e.member.uname)}`,``,this._createSubMsgContent(e),"
","
",'
',`${this._formateTime(e.ctime)}`,e?.reply_control?.location?`${e?.reply_control?.location||""}`:"",``,``,'回复',`
    ${this._canBlackList(e.mid)?'
  • 加入黑名单
  • ':""}${this._canReport(e.mid)?'
  • 举报
  • ':""}${this._canDel(e.mid)?`
  • 删除
  • `:""}
`,"
","
"].join("")},u=new MutationObserver((e=>{e.forEach((()=>{void 0!==unsafeWindow.bbComment&&(r=unsafeWindow.bbComment,"blackroom"===unsafeWindow.location.href.split("/")[3]?(r.prototype._unhtmlFix=function(e,t){return e?e.replace(t||/[&<">'](?:(amp|lt|quot|gt|#39|nbsp|#\\d+);)?/g,( +!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["utils/ip-show"]=t():e["utils/ip-show"]=t()}(globalThis,(()=>(()=>{"use strict";var e,t,i={913:e=>{e.exports=coreApis.componentApis.utils.commentApis}},s={};function a(e){var t=s[e];if(void 0!==t)return t.exports;var l=s[e]={exports:{}};return i[e](l,l.exports,a),l.exports}t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,a.t=function(i,s){if(1&s&&(i=this(i)),8&s)return i;if("object"==typeof i&&i){if(4&s&&i.__esModule)return i;if(16&s&&"function"==typeof i.then)return i}var l=Object.create(null);a.r(l);var n={};e=e||[null,t({}),t([]),t(t)];for(var o=2&s&&i;"object"==typeof o&&!~e.indexOf(o);o=t(o))Object.getOwnPropertyNames(o).forEach((e=>n[e]=()=>i[e]));return n.default=()=>i,a.d(l,n),l},a.d=(e,t)=>{for(var i in t)a.o(t,i)&&!a.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})},a.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),a.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var l={};a.d(l,{component:()=>_});const n=coreApis.componentApis.define,o=coreApis.spinQuery;let r,c=2;const p=function(e,t,i){const s=this._parentBlacklistDom(e,t,i),a=[`
`,`
${this._createNickNameDom(e)}`,this._createLevelLink(e),this._identity(e.mid,e.assist,e.member.fans_detail),`${this._createNameplate(e.member.nameplate)+this._createUserSailing(e)}
`,this._createMsgContent(e),this._createPerfectReply(e),'
',this._createPlatformDom(e.content.plat),'',''.concat(this._formateTime(e.ctime),""),e?.reply_control?.location?`${e?.reply_control?.location||""}`:"","",e.lottery_id?"":``,e.lottery_id?"":``,e.lottery_id?"":this._createReplyBtn(e.rcount),e.lottery_id&&e.mid!==r.userStatus.mid?"":`
    ${this._canSetTop(e)?`
  • ${e.isUpTop?"取消置顶":"设为置顶"}
  • `:""}${this._canBlackList(e.mid)?'
  • 加入黑名单
  • ':""}${this._canReport(e.mid)?'
  • 举报
  • ':""}${this._canDel(e.mid)&&!e.isTop?`
  • 删除
  • `:""}
`,this._createLotteryContent(e.content),this._createVoteContent(e.content),this._createTags(e),"
",'
',this._createSubReplyList(e.replies,e.rcount,!1,e.rpid,e.folder&&e.folder.has_folded,e.reply_control),"
",'
',"
","
"].join("");return e.state===r.blacklistCode?s:a},d=function(e,t){return[`
`,this._createSubReplyUserFace(e),'
','
',this._createNickNameDom(e),this._createLevelLink(e),this._identity(e.mid),this._createSubMsgContent(e),"
","
",'
','',''.concat(this._formateTime(e.ctime),""),e?.reply_control?.location?`${e?.reply_control?.location||""}`:"","",``,``,'回复',`
    ${this._canBlackList(e.mid)?'
  • 加入黑名单
  • ':""}${this._canReport(e.mid)?'
  • 举报
  • ':""}${this._canDel(e.mid)?`
  • 删除
  • `:""}
`,"
","
"].join("")},m=function(e,t,i){const s=this._parentBlacklistDom(e,t,i),a=[`
`,`
${this._identity(e.mid,e.assist,e.member.fans_detail)}`,`${this._unhtmlFix(e.member.uname)}${this._createNameplate(e.member.nameplate)}${this._createUserSailing(e.member&&e.member.user_sailing||{})}
`,this._createMsgContent(e),'
',e.floor?`#${e.floor}`:"",this._createPlatformDom(e.content.plat),`${this._formateTime(e.ctime)}`,e?.reply_control?.location?`${e?.reply_control?.location||""}`:"",e.lottery_id?"":``,e.lottery_id?"":``,e.lottery_id?"":this._createReplyBtn(e.rcount),e.lottery_id&&e.mid!==this.userStatus.mid?"":`
    ${this._canSetTop(e)?`
  • ${e.isUpTop?"取消置顶":"设为置顶"}
  • `:""}${this._canBlackList(e.mid)?'
  • 加入黑名单
  • ':""}${this._canReport(e.mid)?'
  • 举报
  • ':""}${this._canDel(e.mid)&&!e.isTop?`
  • 删除
  • `:""}
`,this._createLotteryContent(e.content),this._createVoteContent(e.content),this._createTags(e),"
",'
',this._createSubReplyList(e.replies,e.rcount,!1,e.rpid,e.folder&&e.folder.has_folded),"
",'
',"
","
"].join("");return e.state===this.blacklistCode?s:a},h=function(e,t){return[`
`,``,``,"",'
','
',`${this._unhtmlFix(e.member.uname)}`,``,this._createSubMsgContent(e),"
","
",'
',`${this._formateTime(e.ctime)}`,e?.reply_control?.location?`${e?.reply_control?.location||""}`:"",``,``,'回复',`
    ${this._canBlackList(e.mid)?'
  • 加入黑名单
  • ':""}${this._canReport(e.mid)?'
  • 举报
  • ':""}${this._canDel(e.mid)?`
  • 删除
  • `:""}
`,"
","
"].join("")},u=new MutationObserver((e=>{e.forEach((()=>{void 0!==unsafeWindow.bbComment&&(r=unsafeWindow.bbComment,"blackroom"===unsafeWindow.location.href.split("/")[3]?(r.prototype._unhtmlFix=function(e,t){return e?e.replace(t||/[&<">'](?:(amp|lt|quot|gt|#39|nbsp|#\\d+);)?/g,( // eslint-disable-next-line @typescript-eslint/no-shadow -function(e,t){return t?e:{"<":"","&":"",'"':"",">":"","'":""}[e]})):""},r.prototype._trimHttpFix=function(e){return e?e.replace(/^http:/,""):""},r.prototype._webpFix=function(e,t){if(!e)return e;const i=e.match(/(.*\\.(jpg|jpeg|gif|png|bmp))(\\?.*)?/);let a=-1!==e.indexOf("/bfs/");return i&&"gif"!==i[2]&&"bmp"!==i[2]&&a?(a=t.w,e=t.h,e=a&&e?`@${a}w_${e}h`:"@",t=i[3]||"",this.isWebp?`${i[1]+e}.webp${t}`:`${i[1]+e}.${i[2]}${t}`):e},r.prototype._createListCon=m,r.prototype._createSubReplyItem=h):(r.prototype._createListCon=p,r.prototype._createSubReplyItem=d),c=1,u.disconnect())}))}));u.observe(document.head,{childList:!0});const v=e=>{e.forEach((async e=>{const t=(e=>{const t=e.frameworkSpecificProps;return t?.reply_control?.location??void 0})(e);if(void 0===t)return;const i=await(e.shadowDomEntry?(0,o.select)((()=>e.shadowDomEntry.querySelector("#pubdate")),{queryInterval:100,maxRetry:30}):e.element.querySelector(".reply-info>.reply-time")??e.element.querySelector(".sub-reply-info>.sub-reply-time"));if(null===i)return;const a=i.querySelector(".ip-location");if(null!==a)return void(a.innerText=t);const s=document.createElement("span");s.className="ip-location",s.style.marginLeft="15px",s.innerText=t,i.appendChild(s)}))},_=(0,n.defineComponentMetadata)({name:"ipShow",author:{name:"Light_Quanta",link:"https://github.com/LightQuanta"},displayName:"评论区IP属地显示",tags:[componentsTags.utils],entry:async()=>{const{forEachCommentItem:e}=await Promise.resolve().then(s.t.bind(s,913,23));e({added:e=>{2===c&&(v([e,...e.replies]),e.addEventListener("repliesUpdate",(e=>v(e.detail))))}})},description:{"zh-CN":"在评论区显示评论的IP属地信息"},commitHash:"58c0b438ca2371e397f70466a91572cb2757b142",coreVersion:"2.10.7"});return l=l.component})())); +function(e,t){return t?e:{"<":"","&":"",'"':"",">":"","'":""}[e]})):""},r.prototype._trimHttpFix=function(e){return e?e.replace(/^http:/,""):""},r.prototype._webpFix=function(e,t){if(!e)return e;const i=e.match(/(.*\\.(jpg|jpeg|gif|png|bmp))(\\?.*)?/);let s=-1!==e.indexOf("/bfs/");return i&&"gif"!==i[2]&&"bmp"!==i[2]&&s?(s=t.w,e=t.h,e=s&&e?`@${s}w_${e}h`:"@",t=i[3]||"",this.isWebp?`${i[1]+e}.webp${t}`:`${i[1]+e}.${i[2]}${t}`):e},r.prototype._createListCon=m,r.prototype._createSubReplyItem=h):(r.prototype._createListCon=p,r.prototype._createSubReplyItem=d),c=1,u.disconnect())}))}));u.observe(document.head,{childList:!0});const v=e=>{e.forEach((async e=>{const t=(e=>{const t=e.frameworkSpecificProps;return t?.reply_control?.location??void 0})(e);if(void 0===t)return;const i=await(e.shadowDomEntry?(0,o.select)((()=>e.shadowDomEntry.querySelector("#pubdate")),{queryInterval:100,maxRetry:30}):e.element.querySelector(".reply-info>.reply-time")??e.element.querySelector(".sub-reply-info>.sub-reply-time"));if(null===i)return;const s=i.querySelector(".ip-location");if(null!==s)return void(s.innerText=t);const a=document.createElement("span");a.className="ip-location",a.style.marginLeft="15px",a.innerText=t,i.appendChild(a)}))},_=(0,n.defineComponentMetadata)({name:"ipShow",author:{name:"Light_Quanta",link:"https://github.com/LightQuanta"},displayName:"评论区IP属地显示",tags:[componentsTags.utils],entry:async()=>{const{forEachCommentItem:e}=await Promise.resolve().then(a.t.bind(a,913,23));e({added:e=>{2===c&&(v([e,...e.replies]),e.addEventListener("repliesUpdate",(e=>v(e.detail))))}})},description:{"zh-CN":"在评论区显示评论的IP属地信息"},commitHash:"d87d69cfb9d7e0124bd90a06fec4569bd61e02c5",coreVersion:"2.10.7"});return l=l.component})())); //# sourceMappingURL=https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/registry/dist/components/utils/ip-show.js.map \ No newline at end of file diff --git a/bb-evolved/registry/dist/components/utils/keymap.js b/bb-evolved/registry/dist/components/utils/keymap.js index 52eb1bd799..12a0973f29 100644 --- a/bb-evolved/registry/dist/components/utils/keymap.js +++ b/bb-evolved/registry/dist/components/utils/keymap.js @@ -11,5 +11,5 @@ var s=this[r][0];null!=s&&(o[s]=!0)}for(var a=0;a{"use strict";var i,o=function(){return void 0===i&&( // @see http://browserhacks.com/#hack-e71d8692f65334173fee715c222cb805 // @see https://github.com/webpack-contrib/style-loader/issues/177 -i=Boolean(window&&document&&document.all&&!window.atob)),i},r=function(){var e={};return function(n){if(void 0===e[n]){var t=document.querySelector(n);if(window.HTMLIFrameElement&&t instanceof window.HTMLIFrameElement)try{t=t.contentDocument.head}catch(e){t=null}e[n]=t}return e[n]}}(),s=[];function a(e){for(var n=-1,t=0;t{var i=t(683);i&&i.__esModule&&(i=i.default),e.exports="string"==typeof i?i:i.toString()},395:(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>u});var i=function(){var e=this,n=e._self._c;e._self._setupProxy;return n("div",{staticClass:"keymap-extra-options"},[n("VButton",{ref:"button",staticClass:"keymap-settings-button",on:{mouseover:function(n){return e.loadSettings()},click:function(n){return e.toggleSettings()}}},[n("VIcon",{attrs:{icon:"mdi-keyboard-settings-outline",size:18}}),e._v("\n 快捷键设置\n ")],1)],1)};i._withStripped=!0;var o=t(164),r=t(830);const s=Vue.extend({components:{VButton:o.VButton,VIcon:o.VIcon},data:()=>({popupOpen:!1}),methods:{async loadSettings(){await(0,r.n)(this.$refs.button)},async toggleSettings(){await(0,r.toggleKeymapSettings)(this.$refs.button)}}});var a=t(991),l=t.n(a),p=t(878),d=t.n(p),c={insert:"head",singleton:!1};l()(d(),c);d().locals;const u=(0,t(678).A)(s,i,[],!1,null,null,null).exports},726:(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>C});var i=function(){var e=this,n=e._self._c;e._self._setupProxy;return n("VPopup",{staticClass:"keymap-settings-popup be-settings-extra-options",attrs:{fixed:"","trigger-element":e.triggerElement},model:{value:e.popupOpen,callback:function(n){e.popupOpen=n},expression:"popupOpen"}},[n("div",{staticClass:"keymap-settings"},[n("div",{staticClass:"keymap-settings-header"},[n("div",{staticClass:"keymap-settings-header-title"},[n("VIcon",{attrs:{icon:"mdi-keyboard-settings-outline"}}),e._v("\n 快捷键设置\n ")],1),e._v(" "),n("a",{staticClass:"keymap-settings-header-help",attrs:{href:"https://github.com/the1812/Bilibili-Evolved/blob/preview/registry/lib/components/utils/keymap/help.md",target:"_blank",title:"查看帮助"}},[n("VIcon",{attrs:{size:18,icon:"mdi-help-circle-outline"}})],1),e._v(" "),n("div",{staticClass:"keymap-settings-header-close",attrs:{title:"关闭"}},[n("VIcon",{attrs:{size:18,icon:"close"},on:{click:function(n){e.popupOpen=!1}}})],1)]),e._v(" "),n("div",{staticClass:"keymap-settings-content"},[n("div",{staticClass:"keymap-settings-grid"},[n("div",{staticClass:"grid-header"},[n("div",{staticClass:"header-name"},[e._v("动作")]),e._v(" "),n("div",{staticClass:"header-default-binding"},[e._v("默认按键")]),e._v(" "),n("div",{staticClass:"header-preset-binding"},[n("VDropdown",{attrs:{items:e.presetOptions,"key-mapper":e=>e},scopedSlots:e._u([{key:"item",fn:function({item:n}){return[e._v("\n "+e._s(n)+"\n ")]}}]),model:{value:e.selectedPreset,callback:function(n){e.selectedPreset=n},expression:"selectedPreset"}})],1),e._v(" "),n("div",{staticClass:"header-custom-binding"},[e._v("自定义按键")])]),e._v(" "),e._l(e.rows,(function(t){return n("KeymapSettingsRow",{key:t.name,attrs:{row:t,"selected-preset":e.selectedPreset}})}))],2)])])])};i._withStripped=!0;var o=t(905),r=t(164),s=function(){var e=this,n=e._self._c;e._self._setupProxy;return n("div",{staticClass:"grid-row"},[n("div",{staticClass:"row-name",attrs:{title:e.row.name}},[e._v("\n "+e._s(e.row.displayName)+"\n ")]),e._v(" "),n("div",{staticClass:"row-default-binding row-binding",class:{overwritten:e.isOverwrittern(e.presets[e.selectedPreset],e.customKeyBindings),"not-set":void 0===e.presetBase[e.row.name]}},[e._v("\n "+e._s(e.showReadonlyKey(e.presetBase))+"\n ")]),e._v(" "),n("div",{staticClass:"row-preset-binding row-binding",class:{overwritten:e.isOverwrittern(e.customKeyBindings),"not-set":void 0===e.presets[e.selectedPreset][e.row.name]}},[e._v("\n "+e._s(e.showReadonlyKey(e.presets[e.selectedPreset]))+"\n ")]),e._v(" "),n("div",{staticClass:"row-custom-binding row-binding"},[e.editable?n("div",{staticClass:"custom-binding-edit"},[n("TextBox",{ref:"customBindingTextBox",attrs:{placeholder:"禁用","change-on-blur":"",text:e.customKeyBindings[e.row.name]},on:{change:e.updateCustomBinding}}),e._v(" "),n("VButton",{attrs:{type:"transparent",title:"删除自定义键位"},on:{click:function(n){return e.removeCustomBinding()}}},[n("VIcon",{attrs:{icon:"mdi-trash-can-outline",size:16}})],1)],1):n("div",{staticClass:"custom-binding-add"},[n("VButton",{attrs:{type:"transparent",title:"添加自定义键位"},on:{click:function(n){return e.addCustomBinding()}}},[n("VIcon",{attrs:{icon:"mdi-plus",size:16}})],1)],1)])])};s._withStripped=!0;var a=t(333);const l=(0,o.getComponentSettings)("keymap").options,p=Vue.extend({components:{TextBox:r.TextBox,VButton:r.VButton,VIcon:r.VIcon},props:{row:{type:Object,required:!0},selectedPreset:{type:String,required:!0}},data:()=>({presets:a.v4,presetBase:a.jW,customKeyBindings:l.customKeyBindings,editable:!1}),created(){this.checkEditable()},methods:{checkEditable(){this.editable=void 0!==this.customKeyBindings[this.row.name]},showReadonlyKey(e){const{name:n}=this.row,t=e[n];return void 0===t?"继承":""===t?"禁用":t},isOverwrittern(){const{name:e}=this.row;for(var n=arguments.length,t=new Array(n),i=0;ivoid 0!==n[e]))},async addCustomBinding(){const{name:e}=this.row;this.customKeyBindings[e]="",this.checkEditable(),await this.$nextTick(),this.$refs.customBindingTextBox.focus()},removeCustomBinding(){const{name:e}=this.row;delete this.customKeyBindings[e],this.checkEditable()},updateCustomBinding(e){console.log("update",e);const{name:n}=this.row;this.customKeyBindings[n]=e}}});var d=t(991),c=t.n(d),u=t(687),g=t.n(u),m={insert:"head",singleton:!1};c()(g(),m);g().locals;var A=t(678);const y=(0,A.A)(p,s,[],!1,null,null,null).exports;var b=t(75);const f=(0,o.getComponentSettings)("keymap").options;console.log(a.v4,b.o1,f.preset,f.customKeyBindings);const h=Vue.extend({components:{VIcon:r.VIcon,VDropdown:r.VDropdown,VPopup:r.VPopup,KeymapSettingsRow:y},props:{triggerElement:{type:HTMLElement,default:null}},data:()=>({popupOpen:!1,actions:b.o1,presets:a.v4,customKeyBindings:f.customKeyBindings}),computed:{selectedPreset:{get:()=>f.preset,set(e){f.preset=e}},rows(){return Object.entries(this.actions).map((e=>{let[n,t]=e;return{name:n,...t}}))},presetOptions(){return Object.keys(this.presets)}}});var v=t(421),k=t.n(v),w={insert:"head",singleton:!1};c()(k(),w);k().locals;const C=(0,A.A)(h,i,[],!1,null,null,null).exports},678:(e,n,t)=>{"use strict";function i(e,n,t,i,o,r,s,a){var l,p="function"==typeof e?e.options:e;if(n&&(p.render=n,p.staticRenderFns=t,p._compiled=!0),i&&(p.functional=!0),r&&(p._scopeId="data-v-"+r),s?(l=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),o&&o.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(s)},p._ssrRegister=l):o&&(l=a?function(){o.call(this,(p.functional?this.parent:this).$root.$options.shadowRoot)}:o),l)if(p.functional){p._injectStyles=l;var d=p.render;p.render=function(e,n){return l.call(n),d(e,n)}}else{var c=p.beforeCreate;p.beforeCreate=c?[].concat(c,l):[l]}return{exports:e,options:p}}t.d(n,{A:()=>i})},322:e=>{"use strict";e.exports=coreApis.pluginApis.data},905:e=>{"use strict";e.exports=coreApis.settings},164:e=>{"use strict";e.exports=coreApis.ui},847:e=>{"use strict";e.exports=coreApis.utils}},i={};function o(e){var n=i[e];if(void 0!==n)return n.exports;var r=i[e]={id:e,exports:{}};return t[e](r,r.exports,o),r.exports}o.n=e=>{var n=e&&e.__esModule?()=>e.default:()=>e;return o.d(n,{a:n}),n},n=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,o.t=function(t,i){if(1&i&&(t=this(t)),8&i)return t;if("object"==typeof t&&t){if(4&i&&t.__esModule)return t;if(16&i&&"function"==typeof t.then)return t}var r=Object.create(null);o.r(r);var s={};e=e||[null,n({}),n([]),n(n)];for(var a=2&i&&t;"object"==typeof a&&!~e.indexOf(a);a=n(a))Object.getOwnPropertyNames(a).forEach((e=>s[e]=()=>t[e]));return s.default=()=>t,o.d(r,s),r},o.d=(e,n)=>{for(var t in n)o.o(n,t)&&!o.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:n[t]})},o.o=(e,n)=>Object.prototype.hasOwnProperty.call(e,n),o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.nc=void 0;var r={};return(()=>{"use strict";o.d(r,{component:()=>y});const e=coreApis.componentApis.styledComponent,n=coreApis.componentApis.define;var t=o(905),i=o(75),s=o(847);const a=coreApis.utils.urls,l=coreApis.shadowRoot,p=["shift","alt","ctrl","meta"],d=lodash.once((e=>{const n=a.watchlaterUrls.some((e=>(0,s.matchUrlPattern)(e))),t=a.mediaListUrls.some((e=>(0,s.matchUrlPattern)(e))),o={enable:!0,bindings:e},r=e=>{o.enable&&o.bindings.forEach((o=>{if(0===o.keys.length)return;const r=(0,s.isTyping)();if(!1!==o.action.ignoreTyping&&r)return;const a=(()=>{if(r)return!0;const e=(0,s.getActiveElement)();return![document.body,null].includes(e)&&!(e instanceof HTMLMediaElement)})();if(!1===o.action.ignoreFocus&&!1!==o.action.ignoreTyping&&a)return;const l=e.key.toLowerCase(),d=dq(".bilibili-player-sphere-control");if(null!==d&&"none"!==d.style.display&&["w","a","s","d"].includes(l))return;if(p.some((n=>{const t=o.keys.includes(n);if(o.keys.includes(`[${n}]`))return!1;return t!==e[`${n}Key`]})))return;const c=o.keys.filter((e=>!p.includes(e.toLowerCase()))).map((e=>e.toLowerCase()));if(!(c.includes(e.key.toLowerCase())||c.includes(e.code.toLowerCase())))return;const u=o.action.run({binding:o,isWatchlater:n,isMediaList:t,event:e,clickElement:i.jp,changeVideoTime:i.Tl,showTip:i.Ry}),g=!lodash.isNil(u);(o.action.prevent??g)&&(e.stopImmediatePropagation(),e.preventDefault())}))};return document.body.addEventListener("keydown",r,{capture:!0}),l.shadowDomObserver.watchShadowDom({added:e=>e.shadowRoot.addEventListener("keydown",r,{capture:!0})}),o}));var c=o(333);const u=(0,n.defineOptionsMetadata)({longJumpSeconds:{defaultValue:85,displayName:"长跳跃秒数",validator:(0,s.getNumberValidator)(1)},volumeStep:{defaultValue:10,displayName:"音量调整幅度",validator:(0,s.getNumberValidator)(1,100)},customKeyBindings:{defaultValue:{},displayName:"自定义键位",hidden:!0},preset:{defaultValue:"Default",displayName:"预设",hidden:!0}});let g=null;const m=e=>Object.entries(e).map((e=>{let[n,t]=e;return o=n,{keys:t.split(" ").filter((e=>""!==e)),action:i.o1[o]};var o})),A=(0,e.styledComponentEntry)((()=>Promise.resolve().then(o.t.bind(o,721,23))),(async e=>{let{settings:n}=e;const i=()=>{const e=n.options.preset,t=c.v4[e]||{},i=m({...c.jW,...t,...n.options.customKeyBindings});g?g.bindings=i:g=d(i)};(0,t.addComponentListener)("keymap.preset",i,!0),(0,t.addComponentListener)("keymap.customKeyBindings",i)})),y=(0,n.defineComponentMetadata)({name:"keymap",displayName:"快捷键扩展",tags:[componentsTags.video,componentsTags.utils],entry:A,unload:()=>{g&&(g.enable=!1)},reload:()=>{g&&(g.enable=!0)},description:{"zh-CN":"为脚本的功能和 b 站的功能启用键盘快捷键支持, 快捷键列表可在`快捷键设置`中查看和配置."},extraOptions:()=>Promise.resolve().then(o.bind(o,395)).then((e=>e.default)),options:u,plugin:{displayName:"快捷键扩展 - 搜索支持",setup:e=>{let{addData:n}=e;n("launchBar.actions",(e=>{e.push({name:"keymapSettings",getActions:async()=>[{name:"快捷键扩展设置",description:"Keymap Settings",icon:"mdi-keyboard-settings-outline",action:async()=>{const{toggleKeymapSettings:e}=await Promise.resolve().then(o.bind(o,830));e()}}]})}))}},commitHash:"58c0b438ca2371e397f70466a91572cb2757b142",coreVersion:"2.10.7"})})(),r=r.component})())); +i=Boolean(window&&document&&document.all&&!window.atob)),i},r=function(){var e={};return function(n){if(void 0===e[n]){var t=document.querySelector(n);if(window.HTMLIFrameElement&&t instanceof window.HTMLIFrameElement)try{t=t.contentDocument.head}catch(e){t=null}e[n]=t}return e[n]}}(),s=[];function a(e){for(var n=-1,t=0;t{var i=t(683);i&&i.__esModule&&(i=i.default),e.exports="string"==typeof i?i:i.toString()},395:(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>u});var i=function(){var e=this,n=e._self._c;e._self._setupProxy;return n("div",{staticClass:"keymap-extra-options"},[n("VButton",{ref:"button",staticClass:"keymap-settings-button",on:{mouseover:function(n){return e.loadSettings()},click:function(n){return e.toggleSettings()}}},[n("VIcon",{attrs:{icon:"mdi-keyboard-settings-outline",size:18}}),e._v("\n 快捷键设置\n ")],1)],1)};i._withStripped=!0;var o=t(164),r=t(830);const s=Vue.extend({components:{VButton:o.VButton,VIcon:o.VIcon},data:()=>({popupOpen:!1}),methods:{async loadSettings(){await(0,r.n)(this.$refs.button)},async toggleSettings(){await(0,r.toggleKeymapSettings)(this.$refs.button)}}});var a=t(991),l=t.n(a),p=t(878),d=t.n(p),c={insert:"head",singleton:!1};l()(d(),c);d().locals;const u=(0,t(678).A)(s,i,[],!1,null,null,null).exports},726:(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>C});var i=function(){var e=this,n=e._self._c;e._self._setupProxy;return n("VPopup",{staticClass:"keymap-settings-popup be-settings-extra-options",attrs:{fixed:"","trigger-element":e.triggerElement},model:{value:e.popupOpen,callback:function(n){e.popupOpen=n},expression:"popupOpen"}},[n("div",{staticClass:"keymap-settings"},[n("div",{staticClass:"keymap-settings-header"},[n("div",{staticClass:"keymap-settings-header-title"},[n("VIcon",{attrs:{icon:"mdi-keyboard-settings-outline"}}),e._v("\n 快捷键设置\n ")],1),e._v(" "),n("a",{staticClass:"keymap-settings-header-help",attrs:{href:"https://github.com/the1812/Bilibili-Evolved/blob/preview/registry/lib/components/utils/keymap/help.md",target:"_blank",title:"查看帮助"}},[n("VIcon",{attrs:{size:18,icon:"mdi-help-circle-outline"}})],1),e._v(" "),n("div",{staticClass:"keymap-settings-header-close",attrs:{title:"关闭"}},[n("VIcon",{attrs:{size:18,icon:"close"},on:{click:function(n){e.popupOpen=!1}}})],1)]),e._v(" "),n("div",{staticClass:"keymap-settings-content"},[n("div",{staticClass:"keymap-settings-grid"},[n("div",{staticClass:"grid-header"},[n("div",{staticClass:"header-name"},[e._v("动作")]),e._v(" "),n("div",{staticClass:"header-default-binding"},[e._v("默认按键")]),e._v(" "),n("div",{staticClass:"header-preset-binding"},[n("VDropdown",{attrs:{items:e.presetOptions,"key-mapper":e=>e},scopedSlots:e._u([{key:"item",fn:function({item:n}){return[e._v("\n "+e._s(n)+"\n ")]}}]),model:{value:e.selectedPreset,callback:function(n){e.selectedPreset=n},expression:"selectedPreset"}})],1),e._v(" "),n("div",{staticClass:"header-custom-binding"},[e._v("自定义按键")])]),e._v(" "),e._l(e.rows,(function(t){return n("KeymapSettingsRow",{key:t.name,attrs:{row:t,"selected-preset":e.selectedPreset}})}))],2)])])])};i._withStripped=!0;var o=t(905),r=t(164),s=function(){var e=this,n=e._self._c;e._self._setupProxy;return n("div",{staticClass:"grid-row"},[n("div",{staticClass:"row-name",attrs:{title:e.row.name}},[e._v("\n "+e._s(e.row.displayName)+"\n ")]),e._v(" "),n("div",{staticClass:"row-default-binding row-binding",class:{overwritten:e.isOverwrittern(e.presets[e.selectedPreset],e.customKeyBindings),"not-set":void 0===e.presetBase[e.row.name]}},[e._v("\n "+e._s(e.showReadonlyKey(e.presetBase))+"\n ")]),e._v(" "),n("div",{staticClass:"row-preset-binding row-binding",class:{overwritten:e.isOverwrittern(e.customKeyBindings),"not-set":void 0===e.presets[e.selectedPreset][e.row.name]}},[e._v("\n "+e._s(e.showReadonlyKey(e.presets[e.selectedPreset]))+"\n ")]),e._v(" "),n("div",{staticClass:"row-custom-binding row-binding"},[e.editable?n("div",{staticClass:"custom-binding-edit"},[n("TextBox",{ref:"customBindingTextBox",attrs:{placeholder:"禁用","change-on-blur":"",text:e.customKeyBindings[e.row.name]},on:{change:e.updateCustomBinding}}),e._v(" "),n("VButton",{attrs:{type:"transparent",title:"删除自定义键位"},on:{click:function(n){return e.removeCustomBinding()}}},[n("VIcon",{attrs:{icon:"mdi-trash-can-outline",size:16}})],1)],1):n("div",{staticClass:"custom-binding-add"},[n("VButton",{attrs:{type:"transparent",title:"添加自定义键位"},on:{click:function(n){return e.addCustomBinding()}}},[n("VIcon",{attrs:{icon:"mdi-plus",size:16}})],1)],1)])])};s._withStripped=!0;var a=t(333);const l=(0,o.getComponentSettings)("keymap").options,p=Vue.extend({components:{TextBox:r.TextBox,VButton:r.VButton,VIcon:r.VIcon},props:{row:{type:Object,required:!0},selectedPreset:{type:String,required:!0}},data:()=>({presets:a.v4,presetBase:a.jW,customKeyBindings:l.customKeyBindings,editable:!1}),created(){this.checkEditable()},methods:{checkEditable(){this.editable=void 0!==this.customKeyBindings[this.row.name]},showReadonlyKey(e){const{name:n}=this.row,t=e[n];return void 0===t?"继承":""===t?"禁用":t},isOverwrittern(){const{name:e}=this.row;for(var n=arguments.length,t=new Array(n),i=0;ivoid 0!==n[e]))},async addCustomBinding(){const{name:e}=this.row;this.customKeyBindings[e]="",this.checkEditable(),await this.$nextTick(),this.$refs.customBindingTextBox.focus()},removeCustomBinding(){const{name:e}=this.row;delete this.customKeyBindings[e],this.checkEditable()},updateCustomBinding(e){console.log("update",e);const{name:n}=this.row;this.customKeyBindings[n]=e}}});var d=t(991),c=t.n(d),u=t(687),g=t.n(u),m={insert:"head",singleton:!1};c()(g(),m);g().locals;var A=t(678);const y=(0,A.A)(p,s,[],!1,null,null,null).exports;var b=t(75);const f=(0,o.getComponentSettings)("keymap").options;console.log(a.v4,b.o1,f.preset,f.customKeyBindings);const h=Vue.extend({components:{VIcon:r.VIcon,VDropdown:r.VDropdown,VPopup:r.VPopup,KeymapSettingsRow:y},props:{triggerElement:{type:HTMLElement,default:null}},data:()=>({popupOpen:!1,actions:b.o1,presets:a.v4,customKeyBindings:f.customKeyBindings}),computed:{selectedPreset:{get:()=>f.preset,set(e){f.preset=e}},rows(){return Object.entries(this.actions).map((e=>{let[n,t]=e;return{name:n,...t}}))},presetOptions(){return Object.keys(this.presets)}}});var v=t(421),k=t.n(v),w={insert:"head",singleton:!1};c()(k(),w);k().locals;const C=(0,A.A)(h,i,[],!1,null,null,null).exports},678:(e,n,t)=>{"use strict";function i(e,n,t,i,o,r,s,a){var l,p="function"==typeof e?e.options:e;if(n&&(p.render=n,p.staticRenderFns=t,p._compiled=!0),i&&(p.functional=!0),r&&(p._scopeId="data-v-"+r),s?(l=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),o&&o.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(s)},p._ssrRegister=l):o&&(l=a?function(){o.call(this,(p.functional?this.parent:this).$root.$options.shadowRoot)}:o),l)if(p.functional){p._injectStyles=l;var d=p.render;p.render=function(e,n){return l.call(n),d(e,n)}}else{var c=p.beforeCreate;p.beforeCreate=c?[].concat(c,l):[l]}return{exports:e,options:p}}t.d(n,{A:()=>i})},322:e=>{"use strict";e.exports=coreApis.pluginApis.data},905:e=>{"use strict";e.exports=coreApis.settings},164:e=>{"use strict";e.exports=coreApis.ui},847:e=>{"use strict";e.exports=coreApis.utils}},i={};function o(e){var n=i[e];if(void 0!==n)return n.exports;var r=i[e]={id:e,exports:{}};return t[e](r,r.exports,o),r.exports}o.n=e=>{var n=e&&e.__esModule?()=>e.default:()=>e;return o.d(n,{a:n}),n},n=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,o.t=function(t,i){if(1&i&&(t=this(t)),8&i)return t;if("object"==typeof t&&t){if(4&i&&t.__esModule)return t;if(16&i&&"function"==typeof t.then)return t}var r=Object.create(null);o.r(r);var s={};e=e||[null,n({}),n([]),n(n)];for(var a=2&i&&t;"object"==typeof a&&!~e.indexOf(a);a=n(a))Object.getOwnPropertyNames(a).forEach((e=>s[e]=()=>t[e]));return s.default=()=>t,o.d(r,s),r},o.d=(e,n)=>{for(var t in n)o.o(n,t)&&!o.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:n[t]})},o.o=(e,n)=>Object.prototype.hasOwnProperty.call(e,n),o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.nc=void 0;var r={};return(()=>{"use strict";o.d(r,{component:()=>y});const e=coreApis.componentApis.styledComponent,n=coreApis.componentApis.define;var t=o(905),i=o(75),s=o(847);const a=coreApis.utils.urls,l=coreApis.shadowRoot,p=["shift","alt","ctrl","meta"],d=lodash.once((e=>{const n=a.watchlaterUrls.some((e=>(0,s.matchUrlPattern)(e))),t=a.mediaListUrls.some((e=>(0,s.matchUrlPattern)(e))),o={enable:!0,bindings:e},r=e=>{o.enable&&o.bindings.forEach((o=>{if(0===o.keys.length)return;const r=(0,s.isTyping)();if(!1!==o.action.ignoreTyping&&r)return;const a=(()=>{if(r)return!0;const e=(0,s.getActiveElement)();return![document.body,null].includes(e)&&!(e instanceof HTMLMediaElement)})();if(!1===o.action.ignoreFocus&&!1!==o.action.ignoreTyping&&a)return;const l=e.key.toLowerCase(),d=dq(".bilibili-player-sphere-control");if(null!==d&&"none"!==d.style.display&&["w","a","s","d"].includes(l))return;if(p.some((n=>{const t=o.keys.includes(n);if(o.keys.includes(`[${n}]`))return!1;return t!==e[`${n}Key`]})))return;const c=o.keys.filter((e=>!p.includes(e.toLowerCase()))).map((e=>e.toLowerCase()));if(!(c.includes(e.key.toLowerCase())||c.includes(e.code.toLowerCase())))return;const u=o.action.run({binding:o,isWatchlater:n,isMediaList:t,event:e,clickElement:i.jp,changeVideoTime:i.Tl,showTip:i.Ry}),g=!lodash.isNil(u);(o.action.prevent??g)&&(e.stopImmediatePropagation(),e.preventDefault())}))};return document.body.addEventListener("keydown",r,{capture:!0}),l.shadowDomObserver.watchShadowDom({added:e=>e.shadowRoot.addEventListener("keydown",r,{capture:!0})}),o}));var c=o(333);const u=(0,n.defineOptionsMetadata)({longJumpSeconds:{defaultValue:85,displayName:"长跳跃秒数",validator:(0,s.getNumberValidator)(1)},volumeStep:{defaultValue:10,displayName:"音量调整幅度",validator:(0,s.getNumberValidator)(1,100)},customKeyBindings:{defaultValue:{},displayName:"自定义键位",hidden:!0},preset:{defaultValue:"Default",displayName:"预设",hidden:!0}});let g=null;const m=e=>Object.entries(e).map((e=>{let[n,t]=e;return o=n,{keys:t.split(" ").filter((e=>""!==e)),action:i.o1[o]};var o})),A=(0,e.styledComponentEntry)((()=>Promise.resolve().then(o.t.bind(o,721,23))),(async e=>{let{settings:n}=e;const i=()=>{const e=n.options.preset,t=c.v4[e]||{},i=m({...c.jW,...t,...n.options.customKeyBindings});g?g.bindings=i:g=d(i)};(0,t.addComponentListener)("keymap.preset",i,!0),(0,t.addComponentListener)("keymap.customKeyBindings",i)})),y=(0,n.defineComponentMetadata)({name:"keymap",displayName:"快捷键扩展",tags:[componentsTags.video,componentsTags.utils],entry:A,unload:()=>{g&&(g.enable=!1)},reload:()=>{g&&(g.enable=!0)},description:{"zh-CN":"为脚本的功能和 b 站的功能启用键盘快捷键支持, 快捷键列表可在`快捷键设置`中查看和配置."},extraOptions:()=>Promise.resolve().then(o.bind(o,395)).then((e=>e.default)),options:u,plugin:{displayName:"快捷键扩展 - 搜索支持",setup:e=>{let{addData:n}=e;n("launchBar.actions",(e=>{e.push({name:"keymapSettings",getActions:async()=>[{name:"快捷键扩展设置",description:"Keymap Settings",icon:"mdi-keyboard-settings-outline",action:async()=>{const{toggleKeymapSettings:e}=await Promise.resolve().then(o.bind(o,830));e()}}]})}))}},commitHash:"d87d69cfb9d7e0124bd90a06fec4569bd61e02c5",coreVersion:"2.10.7"})})(),r=r.component})())); //# sourceMappingURL=https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/registry/dist/components/utils/keymap.js.map \ No newline at end of file diff --git a/bb-evolved/registry/dist/components/utils/mall-link-redirect.js b/bb-evolved/registry/dist/components/utils/mall-link-redirect.js index 4688915c79..328d913aca 100644 --- a/bb-evolved/registry/dist/components/utils/mall-link-redirect.js +++ b/bb-evolved/registry/dist/components/utils/mall-link-redirect.js @@ -1,2 +1,2 @@ -!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["utils/mall-link-redirect"]=t():e["utils/mall-link-redirect"]=t()}(globalThis,(()=>(()=>{var e,t,o={410:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=410,e.exports=t},697:e=>{"use strict";e.exports="将移动端的会员购链接转换为 PC 端的链接\n"}},r={};function n(e){var t=r[e];if(void 0!==t)return t.exports;var i=r[e]={exports:{}};return o[e](i,i.exports,n),i.exports}t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,n.t=function(o,r){if(1&r&&(o=this(o)),8&r)return o;if("object"==typeof o&&o){if(4&r&&o.__esModule)return o;if(16&r&&"function"==typeof o.then)return o}var i=Object.create(null);n.r(i);var l={};e=e||[null,t({}),t([]),t(t)];for(var a=2&r&&o;"object"==typeof a&&!~e.indexOf(a);a=t(a))Object.getOwnPropertyNames(a).forEach((e=>l[e]=()=>o[e]));return l.default=()=>o,n.d(i,l),i},n.d=(e,t)=>{for(var o in t)n.o(t,o)&&!n.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var i={};return(()=>{"use strict";n.d(i,{component:()=>e});const e=(0,coreApis.componentApis.define.defineComponentMetadata)({name:"mallLinkRedirect",displayName:"会员购链接重定向",tags:[componentsTags.utils],entry:()=>{const e=new URLSearchParams(location.search),t=e.get("id"),o=e.get("itemsId");Boolean(t||o)&&(null===t?null!==o&&location.assign(`https://show.bilibili.com/platform/malldetail.html?itemsId=${o}`):location.assign(` https://show.bilibili.com/platform/detail.html?id=${t}`))},urlInclude:["https://mall.bilibili.com"],commitHash:"58c0b438ca2371e397f70466a91572cb2757b142",coreVersion:"2.10.7",description:(()=>{const e=n(410);return{...Object.fromEntries(e.keys().map((t=>[t.match(/index\.(.+)\.md$/)[1],e(t)]))),"zh-CN":()=>Promise.resolve().then(n.t.bind(n,697,17)).then((e=>e.default))}})()})})(),i=i.component})())); +!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["utils/mall-link-redirect"]=t():e["utils/mall-link-redirect"]=t()}(globalThis,(()=>(()=>{var e,t,o={410:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=410,e.exports=t},697:e=>{"use strict";e.exports="将移动端的会员购链接转换为 PC 端的链接\n"}},r={};function n(e){var t=r[e];if(void 0!==t)return t.exports;var i=r[e]={exports:{}};return o[e](i,i.exports,n),i.exports}t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,n.t=function(o,r){if(1&r&&(o=this(o)),8&r)return o;if("object"==typeof o&&o){if(4&r&&o.__esModule)return o;if(16&r&&"function"==typeof o.then)return o}var i=Object.create(null);n.r(i);var l={};e=e||[null,t({}),t([]),t(t)];for(var a=2&r&&o;"object"==typeof a&&!~e.indexOf(a);a=t(a))Object.getOwnPropertyNames(a).forEach((e=>l[e]=()=>o[e]));return l.default=()=>o,n.d(i,l),i},n.d=(e,t)=>{for(var o in t)n.o(t,o)&&!n.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var i={};return(()=>{"use strict";n.d(i,{component:()=>e});const e=(0,coreApis.componentApis.define.defineComponentMetadata)({name:"mallLinkRedirect",displayName:"会员购链接重定向",tags:[componentsTags.utils],entry:()=>{const e=new URLSearchParams(location.search),t=e.get("id"),o=e.get("itemsId");Boolean(t||o)&&(null===t?null!==o&&location.assign(`https://show.bilibili.com/platform/malldetail.html?itemsId=${o}`):location.assign(` https://show.bilibili.com/platform/detail.html?id=${t}`))},urlInclude:["https://mall.bilibili.com"],commitHash:"d87d69cfb9d7e0124bd90a06fec4569bd61e02c5",coreVersion:"2.10.7",description:(()=>{const e=n(410);return{...Object.fromEntries(e.keys().map((t=>[t.match(/index\.(.+)\.md$/)[1],e(t)]))),"zh-CN":()=>Promise.resolve().then(n.t.bind(n,697,17)).then((e=>e.default))}})()})})(),i=i.component})())); //# sourceMappingURL=https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/registry/dist/components/utils/mall-link-redirect.js.map \ No newline at end of file diff --git a/bb-evolved/registry/dist/components/utils/remove-promotions.js b/bb-evolved/registry/dist/components/utils/remove-promotions.js index 04119ad118..f78d8d1ada 100644 --- a/bb-evolved/registry/dist/components/utils/remove-promotions.js +++ b/bb-evolved/registry/dist/components/utils/remove-promotions.js @@ -8,5 +8,5 @@ e=[[null,e,""]]);var a={};if(o)for(var t=0;t{"use strict";function i(e,i){return function(e){if(Array.isArray(e))return e}(e)||function(e,i){var n=e&&("undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]);if(null==n)return;var o,a,t=[],r=!0,d=!1;try{for(n=n.call(e);!(r=(o=n.next()).done)&&(t.push(o.value),!i||t.length!==i);r=!0);}catch(e){d=!0,a=e}finally{try{r||null==n.return||n.return()}finally{if(d)throw a}}return t}(e,i)||function(e,i){if(!e)return;if("string"==typeof e)return n(e,i);var o=Object.prototype.toString.call(e).slice(8,-1);"Object"===o&&e.constructor&&(o=e.constructor.name);if("Map"===o||"Set"===o)return Array.from(e);if("Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o))return n(e,i)}(e,i)||function(){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 n(e,i){(null==i||i>e.length)&&(i=e.length);for(var n=0,o=new Array(i);n{var o=n(517);o&&o.__esModule&&(o=o.default),e.exports="string"==typeof o?o:o.toString()},289:e=>{function i(e){var i=new Error("Cannot find module '"+e+"'");throw i.code="MODULE_NOT_FOUND",i}i.keys=()=>[],i.resolve=i,i.id=289,e.exports=i},22:e=>{"use strict";e.exports='删除站内的各种广告. 包括首页的推广模块, 手机 app 推荐, 视频页面右侧的广告等.\n\n- `保留活动横幅`: 保留视频页面的活动横幅.\n- `广告卡片选项`\n - `完全隐藏`: 广告卡片将完全隐藏,后续的视频卡片会自动补上空缺位置\n - `自定义`\n - `占位文本`: 屏蔽首页推广模块的广告后显示"🚫已屏蔽广告"来替代空白区域.\n - `调试模式`: 用于查看是否正确屏蔽广告,启用时将边框高亮广告卡片,同时其他屏蔽选项会失效\n'},905:e=>{"use strict";e.exports=coreApis.settings},728:e=>{"use strict";e.exports=coreApis.spinQuery},164:e=>{"use strict";e.exports=coreApis.ui}},o={};function a(e){var i=o[e];if(void 0!==i)return i.exports;var t=o[e]={id:e,exports:{}};return n[e](t,t.exports,a),t.exports}i=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,a.t=function(n,o){if(1&o&&(n=this(n)),8&o)return n;if("object"==typeof n&&n){if(4&o&&n.__esModule)return n;if(16&o&&"function"==typeof n.then)return n}var t=Object.create(null);a.r(t);var r={};e=e||[null,i({}),i([]),i(i)];for(var d=2&o&&n;"object"==typeof d&&!~e.indexOf(d);d=i(d))Object.getOwnPropertyNames(d).forEach((e=>r[e]=()=>n[e]));return r.default=()=>n,a.d(t,r),t},a.d=(e,i)=>{for(var n in i)a.o(i,n)&&!a.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:i[n]})},a.o=(e,i)=>Object.prototype.hasOwnProperty.call(e,i),a.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var t={};return(()=>{"use strict";a.d(t,{component:()=>r});const e=coreApis.componentApis.define,i=coreApis.utils,n="removePromotions",o={title:"广告卡片选项",groupName:`${n}-promotions-card`,items:{hide:{name:"hideContainer",isOption:!0},custom:{name:"custom",isOption:!0,optionsIncluded:["showPlaceholder"]},debug:{name:"debug",isOption:!0}},componentName:n,icon:"mdi-checkbox-marked-circle-outline"},r=(0,e.defineComponentMetadata)({name:n,displayName:"删除广告",entry:async e=>{let{settings:i,metadata:n}=e;const{addComponentListener:o}=await Promise.resolve().then(a.t.bind(a,905,23));if("https://www.bilibili.com/"===document.URL.replace(window.location.search,"")){const{selectAll:e,select:n}=await Promise.resolve().then(a.t.bind(a,728,23));n(".eva-extension-area").then((e=>{e&&(e.parentElement.style.margin="12px")})),e(".gg-pic").then((e=>{0!==e.length&&e.forEach((e=>{const n=e.parentElement;n.style.display="none";const o=[...n.parentElement.childNodes].indexOf(n)+1,a=n.parentElement.parentElement.querySelector(`.pic li:nth-child(${o})`);if(a){a.style.display="flex";const e=a.querySelector("a:not(.more-text)");e.insertAdjacentHTML("afterend",`\n
${i.options.showPlaceholder?"🚫已屏蔽广告":""}
\n `),e.style.visibility="hidden";[a.querySelector("a.more-text"),a.querySelector("img")].forEach((e=>e.style.display="none"))}}))})),n(".focus-carousel.home-slide").then((e=>{e&&dqa(e,".gg-icon,.bypb-icon").map((e=>e.parentElement.parentElement)).forEach((e=>{e.style.display="none",e.insertAdjacentHTML("afterend",`\n
${i.options.showPlaceholder?"🚫已屏蔽广告":""}
\n `)}))}))}o(`${n.name}.preserveEventBanner`,(e=>{document.body.classList.toggle("preserve-event-banner",e)}),!0),o(`${n.name}.preserveFeedGoods`,(e=>{document.body.classList.toggle("preserve-feed-goods",e)}),!0),o(`${n.name}.preserveReplyNotice`,(e=>{document.body.classList.toggle("preserve-reply-notice",e)}),!0),o(`${n.name}.hideContainer`,(e=>{document.body.classList.toggle("remove-promotions-hide-container",e)}),!0),o(`${n.name}.showPlaceholder`,(e=>{document.body.classList.toggle("remove-promotions-show-placeholder",e)}),!0),o(`${n.name}.debug`,(e=>{document.body.classList.toggle("remove-promotions-debug",e)}),!0)},instantStyles:[{name:n,style:()=>Promise.resolve().then(a.t.bind(a,475,23))}],tags:[componentsTags.utils],options:{preserveEventBanner:{displayName:"保留活动横幅",defaultValue:!1},preserveFeedGoods:{displayName:"保留动态商品推荐",defaultValue:!1},hideContainer:{displayName:"完全隐藏",defaultValue:!0,hidden:!0},custom:{displayName:"自定义",defaultValue:!1,hidden:!0},showPlaceholder:{displayName:"占位文本",defaultValue:!0,hidden:!0},debug:{displayName:"调试模式",defaultValue:!1,hidden:!0}},extraOptions:()=>Promise.resolve().then(a.t.bind(a,164,23)).then((e=>(0,i.createComponentWithProps)(e.OptionRadioGroup,{...o,isPopup:!1}))),widget:{component:()=>Promise.resolve().then(a.t.bind(a,164,23)).then((e=>(0,i.createComponentWithProps)(e.OptionRadioGroup,{...o,isPopup:!0})))},commitHash:"58c0b438ca2371e397f70466a91572cb2757b142",coreVersion:"2.10.7",description:(()=>{const e=a(289);return{...Object.fromEntries(e.keys().map((i=>[i.match(/index\.(.+)\.md$/)[1],e(i)]))),"zh-CN":()=>Promise.resolve().then(a.t.bind(a,22,17)).then((e=>e.default))}})()})})(),t=t.component})())); +var t=btoa(unescape(encodeURIComponent(JSON.stringify(a)))),r="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(t),d="/*# ".concat(r," */"),s=a.sources.map((function(e){return"/*# sourceURL=".concat(a.sourceRoot||"").concat(e," */")}));return[o].concat(s).concat([d]).join("\n")}return[o].join("\n")}},475:(e,i,n)=>{var o=n(517);o&&o.__esModule&&(o=o.default),e.exports="string"==typeof o?o:o.toString()},289:e=>{function i(e){var i=new Error("Cannot find module '"+e+"'");throw i.code="MODULE_NOT_FOUND",i}i.keys=()=>[],i.resolve=i,i.id=289,e.exports=i},22:e=>{"use strict";e.exports='删除站内的各种广告. 包括首页的推广模块, 手机 app 推荐, 视频页面右侧的广告等.\n\n- `保留活动横幅`: 保留视频页面的活动横幅.\n- `广告卡片选项`\n - `完全隐藏`: 广告卡片将完全隐藏,后续的视频卡片会自动补上空缺位置\n - `自定义`\n - `占位文本`: 屏蔽首页推广模块的广告后显示"🚫已屏蔽广告"来替代空白区域.\n - `调试模式`: 用于查看是否正确屏蔽广告,启用时将边框高亮广告卡片,同时其他屏蔽选项会失效\n'},905:e=>{"use strict";e.exports=coreApis.settings},728:e=>{"use strict";e.exports=coreApis.spinQuery},164:e=>{"use strict";e.exports=coreApis.ui}},o={};function a(e){var i=o[e];if(void 0!==i)return i.exports;var t=o[e]={id:e,exports:{}};return n[e](t,t.exports,a),t.exports}i=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,a.t=function(n,o){if(1&o&&(n=this(n)),8&o)return n;if("object"==typeof n&&n){if(4&o&&n.__esModule)return n;if(16&o&&"function"==typeof n.then)return n}var t=Object.create(null);a.r(t);var r={};e=e||[null,i({}),i([]),i(i)];for(var d=2&o&&n;"object"==typeof d&&!~e.indexOf(d);d=i(d))Object.getOwnPropertyNames(d).forEach((e=>r[e]=()=>n[e]));return r.default=()=>n,a.d(t,r),t},a.d=(e,i)=>{for(var n in i)a.o(i,n)&&!a.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:i[n]})},a.o=(e,i)=>Object.prototype.hasOwnProperty.call(e,i),a.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var t={};return(()=>{"use strict";a.d(t,{component:()=>r});const e=coreApis.componentApis.define,i=coreApis.utils,n="removePromotions",o={title:"广告卡片选项",groupName:`${n}-promotions-card`,items:{hide:{name:"hideContainer",isOption:!0},custom:{name:"custom",isOption:!0,optionsIncluded:["showPlaceholder"]},debug:{name:"debug",isOption:!0}},componentName:n,icon:"mdi-checkbox-marked-circle-outline"},r=(0,e.defineComponentMetadata)({name:n,displayName:"删除广告",entry:async e=>{let{settings:i,metadata:n}=e;const{addComponentListener:o}=await Promise.resolve().then(a.t.bind(a,905,23));if("https://www.bilibili.com/"===document.URL.replace(window.location.search,"")){const{selectAll:e,select:n}=await Promise.resolve().then(a.t.bind(a,728,23));n(".eva-extension-area").then((e=>{e&&(e.parentElement.style.margin="12px")})),e(".gg-pic").then((e=>{0!==e.length&&e.forEach((e=>{const n=e.parentElement;n.style.display="none";const o=[...n.parentElement.childNodes].indexOf(n)+1,a=n.parentElement.parentElement.querySelector(`.pic li:nth-child(${o})`);if(a){a.style.display="flex";const e=a.querySelector("a:not(.more-text)");e.insertAdjacentHTML("afterend",`\n
${i.options.showPlaceholder?"🚫已屏蔽广告":""}
\n `),e.style.visibility="hidden";[a.querySelector("a.more-text"),a.querySelector("img")].forEach((e=>e.style.display="none"))}}))})),n(".focus-carousel.home-slide").then((e=>{e&&dqa(e,".gg-icon,.bypb-icon").map((e=>e.parentElement.parentElement)).forEach((e=>{e.style.display="none",e.insertAdjacentHTML("afterend",`\n
${i.options.showPlaceholder?"🚫已屏蔽广告":""}
\n `)}))}))}o(`${n.name}.preserveEventBanner`,(e=>{document.body.classList.toggle("preserve-event-banner",e)}),!0),o(`${n.name}.preserveFeedGoods`,(e=>{document.body.classList.toggle("preserve-feed-goods",e)}),!0),o(`${n.name}.preserveReplyNotice`,(e=>{document.body.classList.toggle("preserve-reply-notice",e)}),!0),o(`${n.name}.hideContainer`,(e=>{document.body.classList.toggle("remove-promotions-hide-container",e)}),!0),o(`${n.name}.showPlaceholder`,(e=>{document.body.classList.toggle("remove-promotions-show-placeholder",e)}),!0),o(`${n.name}.debug`,(e=>{document.body.classList.toggle("remove-promotions-debug",e)}),!0)},instantStyles:[{name:n,style:()=>Promise.resolve().then(a.t.bind(a,475,23))}],tags:[componentsTags.utils],options:{preserveEventBanner:{displayName:"保留活动横幅",defaultValue:!1},preserveFeedGoods:{displayName:"保留动态商品推荐",defaultValue:!1},hideContainer:{displayName:"完全隐藏",defaultValue:!0,hidden:!0},custom:{displayName:"自定义",defaultValue:!1,hidden:!0},showPlaceholder:{displayName:"占位文本",defaultValue:!0,hidden:!0},debug:{displayName:"调试模式",defaultValue:!1,hidden:!0}},extraOptions:()=>Promise.resolve().then(a.t.bind(a,164,23)).then((e=>(0,i.createComponentWithProps)(e.OptionRadioGroup,{...o,isPopup:!1}))),widget:{component:()=>Promise.resolve().then(a.t.bind(a,164,23)).then((e=>(0,i.createComponentWithProps)(e.OptionRadioGroup,{...o,isPopup:!0})))},commitHash:"d87d69cfb9d7e0124bd90a06fec4569bd61e02c5",coreVersion:"2.10.7",description:(()=>{const e=a(289);return{...Object.fromEntries(e.keys().map((i=>[i.match(/index\.(.+)\.md$/)[1],e(i)]))),"zh-CN":()=>Promise.resolve().then(a.t.bind(a,22,17)).then((e=>e.default))}})()})})(),t=t.component})())); //# sourceMappingURL=https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/registry/dist/components/utils/remove-promotions.js.map \ No newline at end of file diff --git a/bb-evolved/registry/dist/components/utils/subscribe-time-show.js b/bb-evolved/registry/dist/components/utils/subscribe-time-show.js index e535eb1b0f..ebcd1fe7e2 100644 --- a/bb-evolved/registry/dist/components/utils/subscribe-time-show.js +++ b/bb-evolved/registry/dist/components/utils/subscribe-time-show.js @@ -8,5 +8,5 @@ e=[[null,e,""]]);var r={};if(o)for(var i=0;i{"use strict";function t(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=e&&("undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]);if(null==n)return;var o,r,i=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(o=n.next()).done)&&(i.push(o.value),!t||i.length!==t);a=!0);}catch(e){s=!0,r=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw r}}return i}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return n(e,t);var o=Object.prototype.toString.call(e).slice(8,-1);"Object"===o&&e.constructor&&(o=e.constructor.name);if("Map"===o||"Set"===o)return Array.from(e);if("Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o))return n(e,t)}(e,t)||function(){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 n(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n{var o=n(267);o&&o.__esModule&&(o=o.default),e.exports="string"==typeof o?o:o.toString()},479:e=>{"use strict";if("undefined"==typeof coreApis){var t=new Error("Cannot find module 'coreApis.style'");throw t.code="MODULE_NOT_FOUND",t}e.exports=coreApis.style}},o={};function r(e){var t=o[e];if(void 0!==t)return t.exports;var i=o[e]={id:e,exports:{}};return n[e](i,i.exports,r),i.exports}t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,r.t=function(n,o){if(1&o&&(n=this(n)),8&o)return n;if("object"==typeof n&&n){if(4&o&&n.__esModule)return n;if(16&o&&"function"==typeof n.then)return n}var i=Object.create(null);r.r(i);var a={};e=e||[null,t({}),t([]),t(t)];for(var s=2&o&&n;"object"==typeof s&&!~e.indexOf(s);s=t(s))Object.getOwnPropertyNames(s).forEach((e=>a[e]=()=>n[e]));return a.default=()=>n,r.d(i,a),i},r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var i={};return(()=>{"use strict";r.d(i,{component:()=>y});const e=coreApis.componentApis.define,t=coreApis.utils.log,n=coreApis.ajax,o=coreApis.spinQuery,a=coreApis.observer,s=coreApis.userInfo,c=(0,t.useScopedConsole)("关注时间显示"),l=".space-head-follow.b-follow",u="subscribe-time-text",f=".relation-card-info__uname",p=".relation-card-info",m="relation-card-info__time",d=".relation-card-info__sign",b={},A=(e,t,n)=>{const o=dq(`${f}[href*="/${e}"]`),r=o?.closest(p);if(!r||r.querySelector(`.${m}`))return;const i=document.createElement("div");i.className=m,i.textContent=`${n}:${t}`,i.dataset.mid=e.toString();const a=r.querySelector(d);a?.parentNode&&a.parentNode.insertBefore(i,a.nextSibling)},h=(()=>{let e=!1;return()=>{e||(e=!0,requestAnimationFrame((()=>{e=!1,dqa(f).forEach((e=>{const t=e.href.match(/\/(\d+)/);if(!t)return;const n=Number(t[1]);if(Number.isNaN(n))return;const o=b[n];if(o){const e=new Date(1e3*o.mtime).toLocaleString();A(n,e,o.label)}}))})))}})();if(!unsafeWindow.subscribeTimeHooked){unsafeWindow.subscribeTimeHooked=!0;const e=unsafeWindow.fetch;unsafeWindow.fetch=new Proxy(e,{apply(e,t,n){const o="string"==typeof n[0]?n[0]:n[0].url,r=new URL(o,location.origin);return"api.bilibili.com"===r.hostname&&(r.pathname.includes("/x/relation/fans")||r.pathname.includes("/x/relation/followings"))?e.apply(t,n).then((e=>(e.clone().json().then((e=>{const t=e?.data?.list;Array.isArray(t)?t.forEach((e=>{if("number"==typeof e.mid&&"number"==typeof e.mtime){const t=o.includes("/fans")?"Ta 关注你的时间":"你关注 Ta 的时间";b[e.mid]={mtime:e.mtime,label:t};const n=new Date(1e3*e.mtime).toLocaleString();A(e.mid,n,t)}})):c.warn("接口数据结构异常:",e)})).catch((e=>{c.warn("JSON 解析失败:",e)})),e))).catch((e=>{throw c.warn("fetch 请求失败:",e),e})):e.apply(t,n)}})}const y=(0,e.defineComponentMetadata)({name:"subscribeTimeShow",displayName:"关注时间显示",author:{name:"CNOCM",link:"https://github.com/CNOCM"},tags:[componentsTags.utils],urlInclude:[/^https:\/\/space\.bilibili\.com\/\d+\/(relation|fans)\/(fans|follow)/,/https:\/\/space\.bilibili\.com\/\d+/],entry:async()=>{try{const{addImportantStyle:e}=await Promise.resolve().then(r.t.bind(r,479,23)),{default:t}=await Promise.resolve().then(r.t.bind(r,937,23));e(t,"subscribe-time-style")}catch(e){c.error("样式加载失败:",e)}(0,a.allMutations)(h);const e=(await(0,s.getUserInfo)()).mid,t=location.href.match(/space\.bilibili\.com\/(\d+)/);if(!t)return;const i=Number(t[1]);if(i===e)return void c.log("当前为本人空间,跳过关注时间显示");const f=await(0,n.bilibiliApi)((0,n.getJsonWithCredentials)(`https://api.bilibili.com/x/web-interface/relation?mid=${i}`)),p=f?.relation?.mtime;p&&(await(0,o.select)(l),(e=>{const t=dq(l);if(!t||t.querySelector(`.${u}`))return;"static"===getComputedStyle(t).position&&(t.style.position="relative");const n=document.createElement("div");n.className=u,n.textContent=`关注于 ${e}`,t.appendChild(n)})(new Date(1e3*p).toLocaleString()))},description:{"zh-CN":"在粉丝/关注列表及用户主页显示关注的具体时间。"},commitHash:"58c0b438ca2371e397f70466a91572cb2757b142",coreVersion:"2.10.7"})})(),i=i.component})())); +var i=btoa(unescape(encodeURIComponent(JSON.stringify(r)))),a="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(i),s="/*# ".concat(a," */"),c=r.sources.map((function(e){return"/*# sourceURL=".concat(r.sourceRoot||"").concat(e," */")}));return[o].concat(c).concat([s]).join("\n")}return[o].join("\n")}},937:(e,t,n)=>{var o=n(267);o&&o.__esModule&&(o=o.default),e.exports="string"==typeof o?o:o.toString()},479:e=>{"use strict";if("undefined"==typeof coreApis){var t=new Error("Cannot find module 'coreApis.style'");throw t.code="MODULE_NOT_FOUND",t}e.exports=coreApis.style}},o={};function r(e){var t=o[e];if(void 0!==t)return t.exports;var i=o[e]={id:e,exports:{}};return n[e](i,i.exports,r),i.exports}t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,r.t=function(n,o){if(1&o&&(n=this(n)),8&o)return n;if("object"==typeof n&&n){if(4&o&&n.__esModule)return n;if(16&o&&"function"==typeof n.then)return n}var i=Object.create(null);r.r(i);var a={};e=e||[null,t({}),t([]),t(t)];for(var s=2&o&&n;"object"==typeof s&&!~e.indexOf(s);s=t(s))Object.getOwnPropertyNames(s).forEach((e=>a[e]=()=>n[e]));return a.default=()=>n,r.d(i,a),i},r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var i={};return(()=>{"use strict";r.d(i,{component:()=>y});const e=coreApis.componentApis.define,t=coreApis.utils.log,n=coreApis.ajax,o=coreApis.spinQuery,a=coreApis.observer,s=coreApis.userInfo,c=(0,t.useScopedConsole)("关注时间显示"),l=".space-head-follow.b-follow",u="subscribe-time-text",f=".relation-card-info__uname",p=".relation-card-info",d="relation-card-info__time",m=".relation-card-info__sign",b={},A=(e,t,n)=>{const o=dq(`${f}[href*="/${e}"]`),r=o?.closest(p);if(!r||r.querySelector(`.${d}`))return;const i=document.createElement("div");i.className=d,i.textContent=`${n}:${t}`,i.dataset.mid=e.toString();const a=r.querySelector(m);a?.parentNode&&a.parentNode.insertBefore(i,a.nextSibling)},h=(()=>{let e=!1;return()=>{e||(e=!0,requestAnimationFrame((()=>{e=!1,dqa(f).forEach((e=>{const t=e.href.match(/\/(\d+)/);if(!t)return;const n=Number(t[1]);if(Number.isNaN(n))return;const o=b[n];if(o){const e=new Date(1e3*o.mtime).toLocaleString();A(n,e,o.label)}}))})))}})();if(!unsafeWindow.subscribeTimeHooked){unsafeWindow.subscribeTimeHooked=!0;const e=unsafeWindow.fetch;unsafeWindow.fetch=new Proxy(e,{apply(e,t,n){const o="string"==typeof n[0]?n[0]:n[0].url,r=new URL(o,location.origin);return"api.bilibili.com"===r.hostname&&(r.pathname.includes("/x/relation/fans")||r.pathname.includes("/x/relation/followings"))?e.apply(t,n).then((e=>(e.clone().json().then((e=>{const t=e?.data?.list;Array.isArray(t)?t.forEach((e=>{if("number"==typeof e.mid&&"number"==typeof e.mtime){const t=o.includes("/fans")?"Ta 关注你的时间":"你关注 Ta 的时间";b[e.mid]={mtime:e.mtime,label:t};const n=new Date(1e3*e.mtime).toLocaleString();A(e.mid,n,t)}})):c.warn("接口数据结构异常:",e)})).catch((e=>{c.warn("JSON 解析失败:",e)})),e))).catch((e=>{throw c.warn("fetch 请求失败:",e),e})):e.apply(t,n)}})}const y=(0,e.defineComponentMetadata)({name:"subscribeTimeShow",displayName:"关注时间显示",author:{name:"CNOCM",link:"https://github.com/CNOCM"},tags:[componentsTags.utils],urlInclude:[/^https:\/\/space\.bilibili\.com\/\d+\/(relation|fans)\/(fans|follow)/,/https:\/\/space\.bilibili\.com\/\d+/],entry:async()=>{try{const{addImportantStyle:e}=await Promise.resolve().then(r.t.bind(r,479,23)),{default:t}=await Promise.resolve().then(r.t.bind(r,937,23));e(t,"subscribe-time-style")}catch(e){c.error("样式加载失败:",e)}(0,a.allMutations)(h);const e=(await(0,s.getUserInfo)()).mid,t=location.href.match(/space\.bilibili\.com\/(\d+)/);if(!t)return;const i=Number(t[1]);if(i===e)return void c.log("当前为本人空间,跳过关注时间显示");const f=await(0,n.bilibiliApi)((0,n.getJsonWithCredentials)(`https://api.bilibili.com/x/web-interface/relation?mid=${i}`)),p=f?.relation?.mtime;p&&(await(0,o.select)(l),(e=>{const t=dq(l);if(!t||t.querySelector(`.${u}`))return;"static"===getComputedStyle(t).position&&(t.style.position="relative");const n=document.createElement("div");n.className=u,n.textContent=`关注于 ${e}`,t.appendChild(n)})(new Date(1e3*p).toLocaleString()))},description:{"zh-CN":"在粉丝/关注列表及用户主页显示关注的具体时间。"},commitHash:"d87d69cfb9d7e0124bd90a06fec4569bd61e02c5",coreVersion:"2.10.7"})})(),i=i.component})())); //# sourceMappingURL=https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/registry/dist/components/utils/subscribe-time-show.js.map \ No newline at end of file diff --git a/bb-evolved/registry/dist/components/utils/url-params-clean.js b/bb-evolved/registry/dist/components/utils/url-params-clean.js index 1a4282d048..8cd598a245 100644 --- a/bb-evolved/registry/dist/components/utils/url-params-clean.js +++ b/bb-evolved/registry/dist/components/utils/url-params-clean.js @@ -1,5 +1,5 @@ -!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["utils/url-params-clean"]=t():e["utils/url-params-clean"]=t()}(globalThis,(()=>(()=>{var e,t,r={620:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=620,e.exports=t},95:e=>{"use strict";e.exports="自动删除网址中的多余跟踪参数。请注意这会导致浏览器历史记录出现重复的标题(分别是转换前后的网址),并可能导致后退要多退几次。\n\n- `清理页面中的 A 标签`: 清理视频简介、推荐列表、标签、评论中的链接。\n"},576:e=>{"use strict";e.exports=coreApis.lifeCycle},104:e=>{"use strict";e.exports=coreApis.observer}},a={};function o(e){var t=a[e];if(void 0!==t)return t.exports;var i=a[e]={exports:{}};return r[e](i,i.exports,o),i.exports}t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,o.t=function(r,a){if(1&a&&(r=this(r)),8&a)return r;if("object"==typeof r&&r){if(4&a&&r.__esModule)return r;if(16&a&&"function"==typeof r.then)return r}var i=Object.create(null);o.r(i);var n={};e=e||[null,t({}),t([]),t(t)];for(var s=2&a&&r;"object"==typeof s&&!~e.indexOf(s);s=t(s))Object.getOwnPropertyNames(s).forEach((e=>n[e]=()=>r[e]));return n.default=()=>r,o.d(i,n),i},o.d=(e,t)=>{for(var r in t)o.o(t,r)&&!o.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var i={};return(()=>{"use strict";o.d(i,{component:()=>b,k:()=>f});const e=coreApis.componentApis.define,t=coreApis.settings,r=coreApis.utils,a=coreApis.utils.log,n=coreApis.pluginApis.data,s=coreApis.componentApis.utils.commentApis;var c=o(576);const l=coreApis.shadowRoot,d=async(e,t,r)=>{if(e){new MutationObserver(((e,t)=>e.forEach((e=>r(e,t))))).observe(e,t)}},m={attributes:!0,attributeFilter:["href"],childList:!0,subtree:!0,characterData:!1},u="网址参数清理",p="urlParamsClean",f=(0,a.useScopedConsole)(u),h=(0,e.defineOptionsMetadata)({cleanAnchors:{defaultValue:!0,displayName:"清理页面中的 A 标签"}}),b=(0,e.defineComponentMetadata)({name:p,displayName:u,entry:async()=>{if((0,r.isNotHtml)()||(0,r.isIframe)())return; -/* spell-checker: disable */const[e]=(0,n.registerAndGetData)("urlParamsClean.noClean",["videocard_series"]),[a]=(0,n.registerAndGetData)("urlParamsClean.params",["spm_id_from","from_source","from_spmid","from","seid","share_source","share_medium","share_plat","share_tag","share_session_id","share_from","bbid","ts","timestamp","unique_k","rt","tdsourcetag","accept_quality","broadcast_type","current_qn","current_quality","playurl_h264","playurl_h265","quality_description","network","network_status","platform_network_status","p2p_type","referfrom","visit_id","bsource","spm","hotRank","-Arouter","vd_source","is_story_h5","buvid","plat_id","goFrom","jumpLinkType","hasBack","noTitleBar","msource","live_from","plat_id","extra_jump_from","subarea_rank","popular_rank","launch_id","spmid","trackid","from_avid","from_comid"]),[i]=(0,n.registerAndGetData)("urlParamsClean.siteSpecifiedParams",[{match:/\/\/www\.bilibili\.com\/audio\/(au[\d]+|mycollection)/,param:"type"},{match:/\/\/live\.bilibili\.com\//,param:"session_id"},{match:/\/\/live\.bilibili\.com\//,param:"is_room_feed"},{match:/\/\/www\.bilibili\.com\/bangumi\//,param:"theme"},{match:/\/\/www\.bilibili\.com\/video\//,param:"mid"},{match:/\/\/www\.bilibili\.com\/video\//,param:"up_id"},{match:/\/\/mall\.bilibili\.com\//,param:"noReffer"}]),[u]=(0,n.registerAndGetData)("urlParamsClean.tailingSlash",[]),h=t=>{const o=new URL(t,location.origin),n=[...new URLSearchParams(o.search).entries()].map((e=>{let[t,r]=e;return`${t}=${encodeURIComponent(r)}`}));if(n.some((t=>e.some((e=>t.includes(e))))))return t;const s=n.filter((e=>!a.some((t=>e.startsWith(`${t}=`)))&&!i.some((t=>{let{match:r,param:a}=t;return document.URL.match(r)&&e.startsWith(`${a}=`)})))).join("&");u.forEach((e=>{let{match:t}=e;const a=o.pathname;(0,r.matchPattern)(a,t)&&a.endsWith("/")&&(o.pathname=a.slice(0,a.length-1))}));const c=s?`?${s}`:"";return o.search=c,o.toString()},b=e=>function(t,r,a){for(var o=arguments.length,i=new Array(o>3?o-3:0),n=3;n{try{return new URL(a,location.origin+location.pathname).toString()}catch(e){return f.warn("History API URL",`解析失败: ${a}`),a}})(),c=h(s);return c!==a?(f.log("History API 拦截",s,c),e.call(this,t,r,c,...i)):e.call(this,t,r,a,...i)},y=unsafeWindow.history.pushState;unsafeWindow.history.pushState=b(y);const _=unsafeWindow.history.replaceState;unsafeWindow.history.replaceState=b(_);(0,t.getComponentSettings)(p).options.cleanAnchors&&(async e=>{const t=t=>{if("A"!==t.nodeName||!t.href)return;const r=e(t.href);t.href!==r&&(f.info("清理A标签",t,t.href,r),t.href=r)},r=e=>{Array.from(e).forEach(t)},a=e=>{"href"===e.attributeName?t(e.target):e.addedNodes[0]&&e.addedNodes[0]instanceof HTMLElement&&r(e.addedNodes[0].querySelectorAll("a"))};(0,c.contentLoaded)((()=>{r(dqa(".tag-panel .tag-link")),d(dq(".tag-panel"),m,a),d(dq("#v_desc"),{childList:!0,subtree:!0,characterData:!1},(e=>{e.addedNodes.length>0&&e.target instanceof HTMLElement&&r(e.target.querySelectorAll("a"))})),r(dqa(".recommend-list-container a")),d(dq(".rcmd-tab,.recommend-list-container"),m,a),(0,s.forEachCommentArea)((async e=>{e instanceof s.CommentAreaV3&&e.commentAreaEntry.addEventListener(l.ShadowRootEvents.Updated,(e=>e.detail.forEach((e=>{e.addedNodes.forEach((e=>t(e)))}))))}))}))})(h);const{fullyLoaded:g}=await Promise.resolve().then(o.t.bind(o,576,23)),{urlChange:v}=await Promise.resolve().then(o.t.bind(o,104,23));g((()=>{v((()=>(()=>{const e=h(document.URL);e!==document.URL&&(f.log("直接清理",document.URL,e),window.history.replaceState(history.state,"",e))})()))}))},options:h,tags:[componentsTags.utils], +!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["utils/url-params-clean"]=t():e["utils/url-params-clean"]=t()}(globalThis,(()=>(()=>{var e,t,r={620:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=620,e.exports=t},95:e=>{"use strict";e.exports="自动删除网址中的多余跟踪参数。请注意这会导致浏览器历史记录出现重复的标题(分别是转换前后的网址),并可能导致后退要多退几次。\n\n- `清理页面中的 A 标签`: 清理视频简介、推荐列表、标签、评论中的链接。\n"},576:e=>{"use strict";e.exports=coreApis.lifeCycle},104:e=>{"use strict";e.exports=coreApis.observer}},o={};function a(e){var t=o[e];if(void 0!==t)return t.exports;var i=o[e]={exports:{}};return r[e](i,i.exports,a),i.exports}t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,a.t=function(r,o){if(1&o&&(r=this(r)),8&o)return r;if("object"==typeof r&&r){if(4&o&&r.__esModule)return r;if(16&o&&"function"==typeof r.then)return r}var i=Object.create(null);a.r(i);var n={};e=e||[null,t({}),t([]),t(t)];for(var s=2&o&&r;"object"==typeof s&&!~e.indexOf(s);s=t(s))Object.getOwnPropertyNames(s).forEach((e=>n[e]=()=>r[e]));return n.default=()=>r,a.d(i,n),i},a.d=(e,t)=>{for(var r in t)a.o(t,r)&&!a.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},a.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),a.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var i={};return(()=>{"use strict";a.d(i,{component:()=>b,k:()=>f});const e=coreApis.componentApis.define,t=coreApis.settings,r=coreApis.utils,o=coreApis.utils.log,n=coreApis.pluginApis.data,s=coreApis.componentApis.utils.commentApis;var c=a(576);const l=coreApis.shadowRoot,d=async(e,t,r)=>{if(e){new MutationObserver(((e,t)=>e.forEach((e=>r(e,t))))).observe(e,t)}},m={attributes:!0,attributeFilter:["href"],childList:!0,subtree:!0,characterData:!1},u="网址参数清理",p="urlParamsClean",f=(0,o.useScopedConsole)(u),h=(0,e.defineOptionsMetadata)({cleanAnchors:{defaultValue:!0,displayName:"清理页面中的 A 标签"}}),b=(0,e.defineComponentMetadata)({name:p,displayName:u,entry:async()=>{if((0,r.isNotHtml)()||(0,r.isIframe)())return; +/* spell-checker: disable */const[e]=(0,n.registerAndGetData)("urlParamsClean.noClean",["videocard_series"]),[o]=(0,n.registerAndGetData)("urlParamsClean.params",["spm_id_from","from_source","from_spmid","from","seid","share_source","share_medium","share_plat","share_tag","share_session_id","share_from","bbid","ts","timestamp","unique_k","rt","tdsourcetag","accept_quality","broadcast_type","current_qn","current_quality","playurl_h264","playurl_h265","quality_description","network","network_status","platform_network_status","p2p_type","referfrom","visit_id","bsource","spm","hotRank","-Arouter","vd_source","is_story_h5","buvid","plat_id","goFrom","jumpLinkType","hasBack","noTitleBar","msource","live_from","plat_id","extra_jump_from","subarea_rank","popular_rank","launch_id","spmid","trackid","from_avid","from_comid"]),[i]=(0,n.registerAndGetData)("urlParamsClean.siteSpecifiedParams",[{match:/\/\/www\.bilibili\.com\/audio\/(au[\d]+|mycollection)/,param:"type"},{match:/\/\/live\.bilibili\.com\//,param:"session_id"},{match:/\/\/live\.bilibili\.com\//,param:"is_room_feed"},{match:/\/\/www\.bilibili\.com\/bangumi\//,param:"theme"},{match:/\/\/www\.bilibili\.com\/video\//,param:"mid"},{match:/\/\/www\.bilibili\.com\/video\//,param:"up_id"},{match:/\/\/mall\.bilibili\.com\//,param:"noReffer"}]),[u]=(0,n.registerAndGetData)("urlParamsClean.tailingSlash",[]),h=t=>{const a=new URL(t,location.origin),n=[...new URLSearchParams(a.search).entries()].map((e=>{let[t,r]=e;return`${t}=${encodeURIComponent(r)}`}));if(n.some((t=>e.some((e=>t.includes(e))))))return t;const s=n.filter((e=>!o.some((t=>e.startsWith(`${t}=`)))&&!i.some((t=>{let{match:r,param:o}=t;return document.URL.match(r)&&e.startsWith(`${o}=`)})))).join("&");u.forEach((e=>{let{match:t}=e;const o=a.pathname;(0,r.matchPattern)(o,t)&&o.endsWith("/")&&(a.pathname=o.slice(0,o.length-1))}));const c=s?`?${s}`:"";return a.search=c,a.toString()},b=e=>function(t,r,o){for(var a=arguments.length,i=new Array(a>3?a-3:0),n=3;n{try{return new URL(o,location.origin+location.pathname).toString()}catch(e){return f.warn("History API URL",`解析失败: ${o}`),o}})(),c=h(s);return c!==o?(f.log("History API 拦截",s,c),e.call(this,t,r,c,...i)):e.call(this,t,r,o,...i)},y=unsafeWindow.history.pushState;unsafeWindow.history.pushState=b(y);const _=unsafeWindow.history.replaceState;unsafeWindow.history.replaceState=b(_);(0,t.getComponentSettings)(p).options.cleanAnchors&&(async e=>{const t=t=>{if("A"!==t.nodeName||!t.href)return;const r=e(t.href);t.href!==r&&(f.info("清理A标签",t,t.href,r),t.href=r)},r=e=>{Array.from(e).forEach(t)},o=e=>{"href"===e.attributeName?t(e.target):e.addedNodes[0]&&e.addedNodes[0]instanceof HTMLElement&&r(e.addedNodes[0].querySelectorAll("a"))};(0,c.contentLoaded)((()=>{r(dqa(".tag-panel .tag-link")),d(dq(".tag-panel"),m,o),d(dq("#v_desc"),{childList:!0,subtree:!0,characterData:!1},(e=>{e.addedNodes.length>0&&e.target instanceof HTMLElement&&r(e.target.querySelectorAll("a"))})),r(dqa(".recommend-list-container a")),d(dq(".rcmd-tab,.recommend-list-container"),m,o),(0,s.forEachCommentArea)((async e=>{e instanceof s.CommentAreaV3&&e.commentAreaEntry.addEventListener(l.ShadowRootEvents.Updated,(e=>e.detail.forEach((e=>{e.addedNodes.forEach((e=>t(e)))}))))}))}))})(h);const{fullyLoaded:g}=await Promise.resolve().then(a.t.bind(a,576,23)),{urlChange:v}=await Promise.resolve().then(a.t.bind(a,104,23));g((()=>{v((()=>(()=>{const e=h(document.URL);e!==document.URL&&(f.log("直接清理",document.URL,e),window.history.replaceState(history.state,"",e))})()))}))},options:h,tags:[componentsTags.utils], /* spell-checker: disable */ -urlExclude:[/game\.bilibili\.com\/fgo/,/live\.bilibili\.com\/p\/html\/live-app-hotrank\//],commitHash:"58c0b438ca2371e397f70466a91572cb2757b142",coreVersion:"2.10.7",description:(()=>{const e=o(620);return{...Object.fromEntries(e.keys().map((t=>[t.match(/index\.(.+)\.md$/)[1],e(t)]))),"zh-CN":()=>Promise.resolve().then(o.t.bind(o,95,17)).then((e=>e.default))}})()})})(),i=i.component})())); +urlExclude:[/game\.bilibili\.com\/fgo/,/live\.bilibili\.com\/p\/html\/live-app-hotrank\//],commitHash:"d87d69cfb9d7e0124bd90a06fec4569bd61e02c5",coreVersion:"2.10.7",description:(()=>{const e=a(620);return{...Object.fromEntries(e.keys().map((t=>[t.match(/index\.(.+)\.md$/)[1],e(t)]))),"zh-CN":()=>Promise.resolve().then(a.t.bind(a,95,17)).then((e=>e.default))}})()})})(),i=i.component})())); //# sourceMappingURL=https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/registry/dist/components/utils/url-params-clean.js.map \ No newline at end of file diff --git a/bb-evolved/registry/dist/components/utils/v1-migrate.js b/bb-evolved/registry/dist/components/utils/v1-migrate.js index a6405ea3c7..2ba190a1a5 100644 --- a/bb-evolved/registry/dist/components/utils/v1-migrate.js +++ b/bb-evolved/registry/dist/components/utils/v1-migrate.js @@ -1,2 +1,2 @@ -!function(e,o){"object"==typeof exports&&"object"==typeof module?module.exports=o():"function"==typeof define&&define.amd?define([],o):"object"==typeof exports?exports["utils/v1-migrate"]=o():e["utils/v1-migrate"]=o()}(globalThis,(()=>(()=>{"use strict";var e,o,t={250:e=>{e.exports=coreApis.filePicker},765:e=>{e.exports=coreApis.utils.log}},n={};function a(e){var o=n[e];if(void 0!==o)return o.exports;var i=n[e]={exports:{}};return t[e](i,i.exports,a),i.exports}o=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,a.t=function(t,n){if(1&n&&(t=this(t)),8&n)return t;if("object"==typeof t&&t){if(4&n&&t.__esModule)return t;if(16&n&&"function"==typeof t.then)return t}var i=Object.create(null);a.r(i);var r={};e=e||[null,o({}),o([]),o(o)];for(var s=2&n&&t;"object"==typeof s&&!~e.indexOf(s);s=o(s))Object.getOwnPropertyNames(s).forEach((e=>r[e]=()=>t[e]));return r.default=()=>t,a.d(i,r),i},a.d=(e,o)=>{for(var t in o)a.o(o,t)&&!a.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:o[t]})},a.o=(e,o)=>Object.prototype.hasOwnProperty.call(e,o),a.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var i={};a.d(i,{component:()=>y});const r=coreApis.componentApis.define,s=coreApis.pluginApis.data,l=coreApis.componentApis.component,d=coreApis.componentApis.userComponent,c=coreApis.ajax,p=coreApis.cdnTypes,m=coreApis.meta,u=coreApis.settings,g=coreApis.toast;var v=a(765);const f=coreApis.pluginApis.hook,b=coreApis.pluginApis.plugin,y=(0,r.defineComponentMetadata)({name:"v1Migrate",displayName:"v1 设置迁移",description:{"zh-CN":"在设置的 `关于` 面板中添加 `导入 v1 设置` 按钮, 点击导入可以导入 v1 的设置, 并根据打开的选项自动下载安装 v2 中对应的功能."},tags:[componentsTags.utils],entry:()=>{(0,s.addData)("settingsPanel.about.actions",(e=>{e.push({icon:"mdi-inbox-arrow-down-outline",name:"importV1Settings",displayName:"导入 v1 设置",run:async()=>{const{logError:e}=await Promise.resolve().then(a.t.bind(a,765,23)),{pickFile:o}=await Promise.resolve().then(a.t.bind(a,250,23)),t=await o({accept:"*.json"});if(0===t.length)return;const[n]=t;try{const e=JSON.parse(await n.text());await(async e=>{const o=g.Toast.info("下载功能列表中","导入 v1 设置");try{console.log("下载功能列表中");const t=`${p.cdnRoots[(0,u.getGeneralSettings)().cdnRoot](m.meta.compilationInfo.branch)}doc/features/features.json`,n=await(0,c.monkey)({url:t});console.log(n);const a=JSON.parse(n);console.log("下载功能列表完成");const i=(o,t,n)=>async()=>{if(!e[o])return void console.log(`跳过了未开启的选项 ${o}`);const i={component:l.componentsMap,plugin:b.pluginsMap},r={component:d.installComponent,plugin:b.installPlugin};if(t in i[n])console.log(`${t} 已经存在, 跳过安装`);else{const e=a.find((e=>e.type===n&&e.name===t)),o=e?.fullAbsolutePath;if(!o||!e)return void console.log(`没有找到名为 ${t} 的功能`);const i=`${p.cdnRoots[(0,u.getGeneralSettings)().cdnRoot](m.meta.compilationInfo.branch,e.owner)}${o}`,s=await(0,c.monkey)({url:i}),{before:l,after:d}=(0,f.getHook)(`user${lodash.startCase(n)}s.add`,s,i);await l();const{metadata:g,message:v}=await r[n](s);await d(g),console.log(v)}},r=(o,t,n)=>()=>{const a=e[o],i=n?.(a)??a;if(void 0!==i){const[e,...o]=t.split("."),{options:n}=(0,u.getComponentSettings)(e);lodash.set(n,o,i)}console.log(`迁移了选项 ${o} -> ${t}`)},s=()=>()=>{const{customStyles:o}=e;o.filter((e=>e.enabled)).forEach((e=>{u.settings.userStyles[e.name]=lodash.omit(e,"enabled")}))},g=e=>i("guiSettings",e,"plugin"),v=()=>none,y={category:"home",activities:"feeds",bangumi:"subscriptions",watchlaterList:"watchlater",favoritesList:"favorites",historyList:"history",rankingLink:"ranking",drawingLink:"drawing",bangumiLink:"bangumi",musicLink:"music",matchLink:"match",shopLink:"shop"},h=[i("useDarkStyle","darkMode","component"),i("darkColorScheme","darkModeFollowSystem","component"),i("hideBanner","hideBanner","component"),i("expandDanmakuList","expandDanmakuList","component"),r("expandDanmakuListIgnoreMediaList","expandDanmakuList.ignoreMediaList"),i("expandDescription","fullVideoDescription","component"),i("watchlaterRedirect","watchlaterRedirect","component"),r("watchLaterRedirectNavbar","watchlaterRedirect.navbar"),r("watchLaterRedirectPage","watchlaterRedirect.page"),i("touchVideoPlayer","touchPlayerGestures","component"),i("touchVideoPlayer","touchPlayerControl","component"),i("customControlBackground","playerControlBackground","component"),r("customControlBackgroundOpacity","playerControlBackground.opacity",(e=>{const o=parseFloat(e);return Math.round(100*o)})),i("darkSchedule","darkModeSchedule","component"),r("darkScheduleStart","darkModeSchedule.range.start"),r("darkScheduleEnd","darkModeSchedule.range.end"),i("fullTweetsTitle","fullFeedsTitle","component"),i("fullPageTitle","fullEpisodeTitle","component"),i("removeVideoTopMask","hideVideoTopMask","component"),i("removeLiveWatermark","removeLiveWatermark","component"),i("harunaScale","dpiLiveShowgirl","component"),i("harunaScale","dpiLiveShowgirl","component"),i("removeAds","removePromotions","component"),r("showBlockedAdsTip","removePromotions.showPlaceholder"),r("preserveEventBanner","removePromotions.preserveEventBanner"),i("touchVideoPlayerDoubleTapControl","doubleClickControl","component"),r("customStyleColor","settingsPanel.themeColor"),i("useDefaultPlayerMode","defaultPlayerMode","component"),r("applyPlayerModeOnPlay","defaultPlayerMode.applyOnPlay"),r("defaultPlayerMode","defaultPlayerMode.mode"),i("skipChargeList","skipChargeList","component"),i("comboLike","touchComboLike","component"),i("autoLightOff","playerAutoLight","component"),i("airborne","danmakuAirborne","component"),i("useBiliplusRedirect","biliplusRedirect","component"),i("biliplusRedirect","biliplusRedirect","component"),i("framePlayback","seekByFrames","component"),i("useCommentStyle","simplifyComments","component"),i("imageResolution","imageResolution","component"),r("imageResolutionScale","imageResolution.scale"),i("playerFocus","playerFocus","component"),r("playerFocusOffset","playerFocus.offset"),i("simplifyLiveroom","simplifyLiveroom","component"),r("simplifyLiveroomSettings","simplifyLiveroom",(e=>{const{options:o}=(0,u.getComponentSettings)("simplifyLiveroom");Object.assign(o,Object.fromEntries(Object.entries(e).map((e=>{let[o,t]=e;return[`switch-${o}`,t]}))))})),i("customNavbar","customNavbar","component"),g("customNavbar.items.darkMode"),r("favoritesListCurrentSelect","customNavbar.lastFavoriteFolder"),r("touchNavBar","customNavbar.touch"),r("customNavbarFill","customNavbar.fill"),r("customNavbarTransparent","customNavbar.transparent"),r("customNavbarShadow","customNavbar.shadow"),r("customNavbarBlur","customNavbar.blur"),r("customNavbarOrder","customNavbar.order",(e=>(Object.keys(e).forEach((o=>{o in y&&(e[y[o]]=e[o],delete e[o])})),delete e.mangaLink,e))),r("customNavbarHidden","customNavbar.hidden",(e=>([...e].forEach((o=>{o in y&&(e.push(y[o]),lodash.pull(e,o))})),lodash.pull(e,"mangaLink"),e))),r("customNavbarBoundsPadding","customNavbar.padding",(e=>parseFloat(e))),r("customNavbarGlobalFixed","customNavbar.globalFixed"),r("customNavbarSeasonLogo","customNavbar.seasonLogo"),r("customNavbarShowDeadVideos","customNavbar.showDeadVideos"),i("playerShadow","playerShadow","component"),i("narrowDanmaku","preserveDanmakuInput","component"),i("outerWatchlater","outerWatchlater","component"),i("videoScreenshot","videoScreenshot","component"),i("hideBangumiReviews","hideBangumiReviews","component"),r("filenameFormat","settingsPanel.filenameFormat"),r("batchFilenameFormat","settingsPanel.batchFilenameFormat"),i("sidebarOffset","sidebarOffset","component"),r("sidebarOffset","sidebarOffset.offset"),i("noLiveAutoplay","liveHomeMute","component"),i("foldComment","rememberVideoSpeed","component"),r("defaultVideoSpeed","rememberVideoSpeed.speed"),r("rememberVideoSpeedList","rememberVideoSpeed.individualRememberList"),r("rememberVideoSpeed","rememberVideoSpeed.individualRemember"),r("extendVideoSpeed","rememberVideoSpeed.extend"),r("extendVideoSpeedList","rememberVideoSpeed.extendList"),i("foldComment","foldComments","component"),i("autoDraw","liveAutoDraw","component"),i("keymap","keymap","component"),r("keymapPreset","keymap.preset"),r("keymapJumpSeconds","keymap.longJumpSeconds"),r("customKeyBindings","keymap.customKeyBindings"),i("doubleClickFullscreen","doubleClickFullscreen","component"),r("doubleClickFullscreenPreventSingleClick","doubleClickFullscreen.preventSingleClick"),r("scriptLoadingMode","settingsPanel.scriptLoadingMode",(e=>e.replace(/\(自动\)$/,""))),r("guiSettingsDockSide","settingsPanel.dockSide"),i("fullActivityContent","fullFeedsContent","component"),i("feedsFilter","feedsFilter","component"),r("feedsFilterPatterns","feedsFilter.patterns"),r("feedsSpecialFilterTypes","feedsFilter.types"),r("feedsFilterSideCards","feedsFilter.sideCards"),i("selectableColumnText","columnUnlock","component"),i("miniPlayerTouchMove","touchMiniPlayer","component"),i("hideBangumiSponsors","hideBangumiSponsors","component"),i("hideRecommendLive","hideRecommendedLive","component"),i("hideRelatedVideos","hideRelatedVideos","component"),i("urlParamsClean","urlParamsClean","component"),i("collapseLiveSideBar","collapseLiveSideBar","component"),r("foregroundColorMode","settingsPanel.textColor"),r("updateCdn","settingsPanel.cdnRoot"),r("downloadPackageEmitMode","settingsPanel.downloadPackageEmitMode",(e=>"分别下载"===e?"单独下载":e)),i("bvidConvert","bvidConvert","component"),i("fixedSidebars","fixedFeedsSidebars","component"),i("autoHideSideBar","autoHideSidebar","component"),i("livePip","livePip","component"),i("extendFeedsLive","extendFeedsLive","component"),i("playerOnTop","playerOnTop","component"),i("quickFavorite","quickFavorite","component"),r("quickFavoriteID","quickFavorite.favoriteFolderID"),i("disableFeedsDetails","disableFeedsDetails","component"),i("elegantScrollbar","elegantScrollbar","component"),i("danmakuSendBar","liveDanmakuSendbar","component"),i("showCoverBeforePlay","showCoverBeforePlay","component"),i("seoJump","seoRedirect","component"),i("copyFeedsLink","copyFeedsLink","component"),i("copyCommentLink","copyCommentsLink","component"),i("unfoldFeeds","unfoldFeeds","component"),i("feedsImageExporter","imageExporter","component"),i("columnImageExporter","imageExporter","component"),i("preferAvUrl","avUrl","component"),i("homeHidden","simplifyHome","component"),r("homeHiddenItems","simplifyHome",(e=>{const{options:o}=(0,u.getComponentSettings)("simplifyHome");e.forEach((e=>o[`switch-${e}`]=!0))})),i("alwaysShowDuration","alwaysShowDuration","component"),i("removeVideoPopup","removePlayerPopup","component"),i("removeGuidePopup","removePlayerPopup","component"),i("removeVotePopup","removePlayerPopup","component"),r("removeVideoPopup","removePlayerPopup.relatedVideos"),r("removeGuidePopup","removePlayerPopup.comboLikes"),r("removeVotePopup","removePlayerPopup.votes"),i("checkInCenter","checkInCenter","component"),i("fullscreenGiftBox","liveGiftBox","component"),i("autoPlayControl","legacyAutoPlay","component"),i("scrollOutPlayer","playerIntersectionActions","component"),r("scrollOutPlayerTriggerPlace","playerIntersectionActions.triggerLocation"),r("scrollOutPlayerAutoPause","playerIntersectionActions.pause"),r("scrollOutPlayerAutoLightOn","playerIntersectionActions.light"),i("disableDanmakuHighlights","disableSpecialDanmaku","component"),i("disableUpDanmakuStyle","disableSpecialDanmaku","component"),r("disableDanmakuHighlights","disableSpecialDanmaku.highlight"),r("disableUpDanmakuStyle","disableSpecialDanmaku.up"),i("viewCover","viewCover","component"),i("downloadVideo","downloadVideo","component"),g("downloadVideo.outputs.aria2"),g("downloadVideo.outputs.idm"),r("downloadVideoQuality","downloadVideo.basicConfig.quality"),r("downloadVideoFormat","downloadVideo.basicConfig.api",(o=>({flv:"video.flv",dash:e.downloadVideoDashCodec.startsWith("HEVC")?"video.dash.hevc":"video.dash.avc"}[o]))),r("downloadVideoDefaultDanmaku","downloadVideo.danmakuType"),r("downloadVideoDefaultSubtitle","downloadVideo.subtitleType"),r("aria2RpcOptionProfiles","downloadVideo.rpcProfiles"),i("downloadDanmaku","downloadDanmaku","component"),i("downloadSubtitle","downloadSubtitle","component"),i("downloadAudio","downloadAudio","component"),i("downloadLiveRecords","downloadLiveRecords","component"),i("medalHelper","badgeHelper","component"),r("defaultMedalID","badgeHelper.defaultMedalID"),r("autoMatchMedal","badgeHelper.autoMatchMedal"),s(),v()];let k=0;o.message=`导入中... (${k}/${h.length})`;let S=0,P=0;for(const e of h)try{await e(),S++}catch(e){console.log(e),P++}finally{k++,o.message=`导入中... (${k}/${h.length})`}o.message=`导入完成. 成功 ${S} 个, 失败 ${P} 个, 可在控制台查看详细日志.`}catch(e){o.close(),(0,v.logError)(e)}})(e)}catch(o){e(o)}}})}))},commitHash:"58c0b438ca2371e397f70466a91572cb2757b142",coreVersion:"2.10.7"});return i=i.component})())); +!function(e,o){"object"==typeof exports&&"object"==typeof module?module.exports=o():"function"==typeof define&&define.amd?define([],o):"object"==typeof exports?exports["utils/v1-migrate"]=o():e["utils/v1-migrate"]=o()}(globalThis,(()=>(()=>{"use strict";var e,o,t={250:e=>{e.exports=coreApis.filePicker},765:e=>{e.exports=coreApis.utils.log}},n={};function a(e){var o=n[e];if(void 0!==o)return o.exports;var i=n[e]={exports:{}};return t[e](i,i.exports,a),i.exports}o=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,a.t=function(t,n){if(1&n&&(t=this(t)),8&n)return t;if("object"==typeof t&&t){if(4&n&&t.__esModule)return t;if(16&n&&"function"==typeof t.then)return t}var i=Object.create(null);a.r(i);var r={};e=e||[null,o({}),o([]),o(o)];for(var s=2&n&&t;"object"==typeof s&&!~e.indexOf(s);s=o(s))Object.getOwnPropertyNames(s).forEach((e=>r[e]=()=>t[e]));return r.default=()=>t,a.d(i,r),i},a.d=(e,o)=>{for(var t in o)a.o(o,t)&&!a.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:o[t]})},a.o=(e,o)=>Object.prototype.hasOwnProperty.call(e,o),a.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var i={};a.d(i,{component:()=>y});const r=coreApis.componentApis.define,s=coreApis.pluginApis.data,l=coreApis.componentApis.component,d=coreApis.componentApis.userComponent,c=coreApis.ajax,p=coreApis.cdnTypes,m=coreApis.meta,u=coreApis.settings,g=coreApis.toast;var v=a(765);const f=coreApis.pluginApis.hook,b=coreApis.pluginApis.plugin,y=(0,r.defineComponentMetadata)({name:"v1Migrate",displayName:"v1 设置迁移",description:{"zh-CN":"在设置的 `关于` 面板中添加 `导入 v1 设置` 按钮, 点击导入可以导入 v1 的设置, 并根据打开的选项自动下载安装 v2 中对应的功能."},tags:[componentsTags.utils],entry:()=>{(0,s.addData)("settingsPanel.about.actions",(e=>{e.push({icon:"mdi-inbox-arrow-down-outline",name:"importV1Settings",displayName:"导入 v1 设置",run:async()=>{const{logError:e}=await Promise.resolve().then(a.t.bind(a,765,23)),{pickFile:o}=await Promise.resolve().then(a.t.bind(a,250,23)),t=await o({accept:"*.json"});if(0===t.length)return;const[n]=t;try{const e=JSON.parse(await n.text());await(async e=>{const o=g.Toast.info("下载功能列表中","导入 v1 设置");try{console.log("下载功能列表中");const t=`${p.cdnRoots[(0,u.getGeneralSettings)().cdnRoot](m.meta.compilationInfo.branch)}doc/features/features.json`,n=await(0,c.monkey)({url:t});console.log(n);const a=JSON.parse(n);console.log("下载功能列表完成");const i=(o,t,n)=>async()=>{if(!e[o])return void console.log(`跳过了未开启的选项 ${o}`);const i={component:l.componentsMap,plugin:b.pluginsMap},r={component:d.installComponent,plugin:b.installPlugin};if(t in i[n])console.log(`${t} 已经存在, 跳过安装`);else{const e=a.find((e=>e.type===n&&e.name===t)),o=e?.fullAbsolutePath;if(!o||!e)return void console.log(`没有找到名为 ${t} 的功能`);const i=`${p.cdnRoots[(0,u.getGeneralSettings)().cdnRoot](m.meta.compilationInfo.branch,e.owner)}${o}`,s=await(0,c.monkey)({url:i}),{before:l,after:d}=(0,f.getHook)(`user${lodash.startCase(n)}s.add`,s,i);await l();const{metadata:g,message:v}=await r[n](s);await d(g),console.log(v)}},r=(o,t,n)=>()=>{const a=e[o],i=n?.(a)??a;if(void 0!==i){const[e,...o]=t.split("."),{options:n}=(0,u.getComponentSettings)(e);lodash.set(n,o,i)}console.log(`迁移了选项 ${o} -> ${t}`)},s=()=>()=>{const{customStyles:o}=e;o.filter((e=>e.enabled)).forEach((e=>{u.settings.userStyles[e.name]=lodash.omit(e,"enabled")}))},g=e=>i("guiSettings",e,"plugin"),v=()=>none,y={category:"home",activities:"feeds",bangumi:"subscriptions",watchlaterList:"watchlater",favoritesList:"favorites",historyList:"history",rankingLink:"ranking",drawingLink:"drawing",bangumiLink:"bangumi",musicLink:"music",matchLink:"match",shopLink:"shop"},h=[i("useDarkStyle","darkMode","component"),i("darkColorScheme","darkModeFollowSystem","component"),i("hideBanner","hideBanner","component"),i("expandDanmakuList","expandDanmakuList","component"),r("expandDanmakuListIgnoreMediaList","expandDanmakuList.ignoreMediaList"),i("expandDescription","fullVideoDescription","component"),i("watchlaterRedirect","watchlaterRedirect","component"),r("watchLaterRedirectNavbar","watchlaterRedirect.navbar"),r("watchLaterRedirectPage","watchlaterRedirect.page"),i("touchVideoPlayer","touchPlayerGestures","component"),i("touchVideoPlayer","touchPlayerControl","component"),i("customControlBackground","playerControlBackground","component"),r("customControlBackgroundOpacity","playerControlBackground.opacity",(e=>{const o=parseFloat(e);return Math.round(100*o)})),i("darkSchedule","darkModeSchedule","component"),r("darkScheduleStart","darkModeSchedule.range.start"),r("darkScheduleEnd","darkModeSchedule.range.end"),i("fullTweetsTitle","fullFeedsTitle","component"),i("fullPageTitle","fullEpisodeTitle","component"),i("removeVideoTopMask","hideVideoTopMask","component"),i("removeLiveWatermark","removeLiveWatermark","component"),i("harunaScale","dpiLiveShowgirl","component"),i("harunaScale","dpiLiveShowgirl","component"),i("removeAds","removePromotions","component"),r("showBlockedAdsTip","removePromotions.showPlaceholder"),r("preserveEventBanner","removePromotions.preserveEventBanner"),i("touchVideoPlayerDoubleTapControl","doubleClickControl","component"),r("customStyleColor","settingsPanel.themeColor"),i("useDefaultPlayerMode","defaultPlayerMode","component"),r("applyPlayerModeOnPlay","defaultPlayerMode.applyOnPlay"),r("defaultPlayerMode","defaultPlayerMode.mode"),i("skipChargeList","skipChargeList","component"),i("comboLike","touchComboLike","component"),i("autoLightOff","playerAutoLight","component"),i("airborne","danmakuAirborne","component"),i("useBiliplusRedirect","biliplusRedirect","component"),i("biliplusRedirect","biliplusRedirect","component"),i("framePlayback","seekByFrames","component"),i("useCommentStyle","simplifyComments","component"),i("imageResolution","imageResolution","component"),r("imageResolutionScale","imageResolution.scale"),i("playerFocus","playerFocus","component"),r("playerFocusOffset","playerFocus.offset"),i("simplifyLiveroom","simplifyLiveroom","component"),r("simplifyLiveroomSettings","simplifyLiveroom",(e=>{const{options:o}=(0,u.getComponentSettings)("simplifyLiveroom");Object.assign(o,Object.fromEntries(Object.entries(e).map((e=>{let[o,t]=e;return[`switch-${o}`,t]}))))})),i("customNavbar","customNavbar","component"),g("customNavbar.items.darkMode"),r("favoritesListCurrentSelect","customNavbar.lastFavoriteFolder"),r("touchNavBar","customNavbar.touch"),r("customNavbarFill","customNavbar.fill"),r("customNavbarTransparent","customNavbar.transparent"),r("customNavbarShadow","customNavbar.shadow"),r("customNavbarBlur","customNavbar.blur"),r("customNavbarOrder","customNavbar.order",(e=>(Object.keys(e).forEach((o=>{o in y&&(e[y[o]]=e[o],delete e[o])})),delete e.mangaLink,e))),r("customNavbarHidden","customNavbar.hidden",(e=>([...e].forEach((o=>{o in y&&(e.push(y[o]),lodash.pull(e,o))})),lodash.pull(e,"mangaLink"),e))),r("customNavbarBoundsPadding","customNavbar.padding",(e=>parseFloat(e))),r("customNavbarGlobalFixed","customNavbar.globalFixed"),r("customNavbarSeasonLogo","customNavbar.seasonLogo"),r("customNavbarShowDeadVideos","customNavbar.showDeadVideos"),i("playerShadow","playerShadow","component"),i("narrowDanmaku","preserveDanmakuInput","component"),i("outerWatchlater","outerWatchlater","component"),i("videoScreenshot","videoScreenshot","component"),i("hideBangumiReviews","hideBangumiReviews","component"),r("filenameFormat","settingsPanel.filenameFormat"),r("batchFilenameFormat","settingsPanel.batchFilenameFormat"),i("sidebarOffset","sidebarOffset","component"),r("sidebarOffset","sidebarOffset.offset"),i("noLiveAutoplay","liveHomeMute","component"),i("foldComment","rememberVideoSpeed","component"),r("defaultVideoSpeed","rememberVideoSpeed.speed"),r("rememberVideoSpeedList","rememberVideoSpeed.individualRememberList"),r("rememberVideoSpeed","rememberVideoSpeed.individualRemember"),r("extendVideoSpeed","rememberVideoSpeed.extend"),r("extendVideoSpeedList","rememberVideoSpeed.extendList"),i("foldComment","foldComments","component"),i("autoDraw","liveAutoDraw","component"),i("keymap","keymap","component"),r("keymapPreset","keymap.preset"),r("keymapJumpSeconds","keymap.longJumpSeconds"),r("customKeyBindings","keymap.customKeyBindings"),i("doubleClickFullscreen","doubleClickFullscreen","component"),r("doubleClickFullscreenPreventSingleClick","doubleClickFullscreen.preventSingleClick"),r("scriptLoadingMode","settingsPanel.scriptLoadingMode",(e=>e.replace(/\(自动\)$/,""))),r("guiSettingsDockSide","settingsPanel.dockSide"),i("fullActivityContent","fullFeedsContent","component"),i("feedsFilter","feedsFilter","component"),r("feedsFilterPatterns","feedsFilter.patterns"),r("feedsSpecialFilterTypes","feedsFilter.types"),r("feedsFilterSideCards","feedsFilter.sideCards"),i("selectableColumnText","columnUnlock","component"),i("miniPlayerTouchMove","touchMiniPlayer","component"),i("hideBangumiSponsors","hideBangumiSponsors","component"),i("hideRecommendLive","hideRecommendedLive","component"),i("hideRelatedVideos","hideRelatedVideos","component"),i("urlParamsClean","urlParamsClean","component"),i("collapseLiveSideBar","collapseLiveSideBar","component"),r("foregroundColorMode","settingsPanel.textColor"),r("updateCdn","settingsPanel.cdnRoot"),r("downloadPackageEmitMode","settingsPanel.downloadPackageEmitMode",(e=>"分别下载"===e?"单独下载":e)),i("bvidConvert","bvidConvert","component"),i("fixedSidebars","fixedFeedsSidebars","component"),i("autoHideSideBar","autoHideSidebar","component"),i("livePip","livePip","component"),i("extendFeedsLive","extendFeedsLive","component"),i("playerOnTop","playerOnTop","component"),i("quickFavorite","quickFavorite","component"),r("quickFavoriteID","quickFavorite.favoriteFolderID"),i("disableFeedsDetails","disableFeedsDetails","component"),i("elegantScrollbar","elegantScrollbar","component"),i("danmakuSendBar","liveDanmakuSendbar","component"),i("showCoverBeforePlay","showCoverBeforePlay","component"),i("seoJump","seoRedirect","component"),i("copyFeedsLink","copyFeedsLink","component"),i("copyCommentLink","copyCommentsLink","component"),i("unfoldFeeds","unfoldFeeds","component"),i("feedsImageExporter","imageExporter","component"),i("columnImageExporter","imageExporter","component"),i("preferAvUrl","avUrl","component"),i("homeHidden","simplifyHome","component"),r("homeHiddenItems","simplifyHome",(e=>{const{options:o}=(0,u.getComponentSettings)("simplifyHome");e.forEach((e=>o[`switch-${e}`]=!0))})),i("alwaysShowDuration","alwaysShowDuration","component"),i("removeVideoPopup","removePlayerPopup","component"),i("removeGuidePopup","removePlayerPopup","component"),i("removeVotePopup","removePlayerPopup","component"),r("removeVideoPopup","removePlayerPopup.relatedVideos"),r("removeGuidePopup","removePlayerPopup.comboLikes"),r("removeVotePopup","removePlayerPopup.votes"),i("checkInCenter","checkInCenter","component"),i("fullscreenGiftBox","liveGiftBox","component"),i("autoPlayControl","legacyAutoPlay","component"),i("scrollOutPlayer","playerIntersectionActions","component"),r("scrollOutPlayerTriggerPlace","playerIntersectionActions.triggerLocation"),r("scrollOutPlayerAutoPause","playerIntersectionActions.pause"),r("scrollOutPlayerAutoLightOn","playerIntersectionActions.light"),i("disableDanmakuHighlights","disableSpecialDanmaku","component"),i("disableUpDanmakuStyle","disableSpecialDanmaku","component"),r("disableDanmakuHighlights","disableSpecialDanmaku.highlight"),r("disableUpDanmakuStyle","disableSpecialDanmaku.up"),i("viewCover","viewCover","component"),i("downloadVideo","downloadVideo","component"),g("downloadVideo.outputs.aria2"),g("downloadVideo.outputs.idm"),r("downloadVideoQuality","downloadVideo.basicConfig.quality"),r("downloadVideoFormat","downloadVideo.basicConfig.api",(o=>({flv:"video.flv",dash:e.downloadVideoDashCodec.startsWith("HEVC")?"video.dash.hevc":"video.dash.avc"}[o]))),r("downloadVideoDefaultDanmaku","downloadVideo.danmakuType"),r("downloadVideoDefaultSubtitle","downloadVideo.subtitleType"),r("aria2RpcOptionProfiles","downloadVideo.rpcProfiles"),i("downloadDanmaku","downloadDanmaku","component"),i("downloadSubtitle","downloadSubtitle","component"),i("downloadAudio","downloadAudio","component"),i("downloadLiveRecords","downloadLiveRecords","component"),i("medalHelper","badgeHelper","component"),r("defaultMedalID","badgeHelper.defaultMedalID"),r("autoMatchMedal","badgeHelper.autoMatchMedal"),s(),v()];let k=0;o.message=`导入中... (${k}/${h.length})`;let S=0,P=0;for(const e of h)try{await e(),S++}catch(e){console.log(e),P++}finally{k++,o.message=`导入中... (${k}/${h.length})`}o.message=`导入完成. 成功 ${S} 个, 失败 ${P} 个, 可在控制台查看详细日志.`}catch(e){o.close(),(0,v.logError)(e)}})(e)}catch(o){e(o)}}})}))},commitHash:"d87d69cfb9d7e0124bd90a06fec4569bd61e02c5",coreVersion:"2.10.7"});return i=i.component})())); //# sourceMappingURL=https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/registry/dist/components/utils/v1-migrate.js.map \ No newline at end of file diff --git a/bb-evolved/registry/dist/components/utils/view-cover.js b/bb-evolved/registry/dist/components/utils/view-cover.js index 7b2016d3f4..a31ea076a1 100644 --- a/bb-evolved/registry/dist/components/utils/view-cover.js +++ b/bb-evolved/registry/dist/components/utils/view-cover.js @@ -11,5 +11,5 @@ var a=this[i][0];null!=a&&(r[a]=!0)}for(var s=0;s{"use strict";var o,r=function(){return void 0===o&&( // @see http://browserhacks.com/#hack-e71d8692f65334173fee715c222cb805 // @see https://github.com/webpack-contrib/style-loader/issues/177 -o=Boolean(window&&document&&document.all&&!window.atob)),o},i=function(){var e={};return function(t){if(void 0===e[t]){var n=document.querySelector(t);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}e[t]=n}return e[t]}}(),a=[];function s(e){for(var t=-1,n=0;n{"use strict";n.r(t),n.d(t,{default:()=>f});var o=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"download-cover-config download-video-config-section"},[t("div",{staticClass:"download-video-config-item"},[t("div",{staticClass:"download-video-config-title"},[e._v("封面:")]),e._v(" "),t("VDropdown",{attrs:{items:e.items},scopedSlots:e._u([{key:"item",fn:function({item:t}){return[e._v("\n "+e._s(t)+"\n ")]}}]),model:{value:e.type,callback:function(t){e.type=t},expression:"type"}})],1)])};o._withStripped=!0;const r=coreApis.settings;var i=n(164);const{options:a}=(0,r.getComponentSettings)("downloadVideo"),s=Vue.extend({components:{VDropdown:i.VDropdown},data:()=>({type:a.CoverType??"无",items:["无","jpg"]}),computed:{enabled(){return"无"!==this.type}},watch:{type(e){a.CoverType=e}}});var c=n(991),l=n.n(c),u=n(608),d=n.n(u),p={insert:"head",singleton:!1};l()(d(),p);d().locals;const f=(0,n(678).A)(s,o,[],!1,null,null,null).exports},19:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>u});var o=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("DefaultWidget",{staticClass:"view-cover",attrs:{disabled:!e.imageUrl,name:"查看封面",icon:"mdi-image-outline"},on:{click:function(t){return e.viewCover()}}})};o._withStripped=!0;var r=n(341);const i=coreApis.ajax,a=coreApis.observer,s=coreApis.spinQuery;var c=n(164);const l=Vue.extend({components:{DefaultWidget:c.DefaultWidget},data:()=>({imageUrl:""}),async mounted(){if(document.URL.includes("live.bilibili.com")){const e=".header-info-ctnr .room-cover, .header-info-ctnr .avatar",t=await(0,s.select)(e);if(!t)return;const n=t.getAttribute("href").match(/space\.bilibili\.com\/([\d]+)/);if(n&&n[1]){const e=`https://api.live.bilibili.com/room/v1/Room/getRoomInfoOld?mid=${n[1]}`,t=await(0,i.getJson)(e);this.imageUrl=t.data.cover.replace("http:","https:")}}else(0,a.videoChange)((async()=>{const{aid:e}=unsafeWindow;this.imageUrl=await(0,r.getVideoCoverUrlByAid)(e)}))},methods:{async viewCover(){(0,c.showImage)(this.imageUrl)}}});const u=(0,n(678).A)(l,o,[],!1,null,null,null).exports},678:(e,t,n)=>{"use strict";function o(e,t,n,o,r,i,a,s){var c,l="function"==typeof e?e.options:e;if(t&&(l.render=t,l.staticRenderFns=n,l._compiled=!0),o&&(l.functional=!0),i&&(l._scopeId="data-v-"+i),a?(c=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),r&&r.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(a)},l._ssrRegister=c):r&&(c=s?function(){r.call(this,(l.functional?this.parent:this).$root.$options.shadowRoot)}:r),c)if(l.functional){l._injectStyles=c;var u=l.render;l.render=function(e,t){return c.call(t),u(e,t)}}else{var d=l.beforeCreate;l.beforeCreate=d?[].concat(d,c):[c]}return{exports:e,options:l}}n.d(t,{A:()=>o})},341:e=>{"use strict";e.exports=coreApis.componentApis.video.videoCover},164:e=>{"use strict";e.exports=coreApis.ui}},t={};function n(o){var r=t[o];if(void 0!==r)return r.exports;var i=t[o]={id:o,exports:{}};return e[o](i,i.exports,n),i.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var o in t)n.o(t,o)&&!n.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.nc=void 0;var o={};return(()=>{"use strict";n.d(o,{component:()=>a});const e=coreApis.componentApis.define;var t=n(341);const r=coreApis.utils.urls,i=coreApis.toast,a=(0,e.defineComponentMetadata)({name:"viewCover",displayName:"查看封面",tags:[componentsTags.utils,componentsTags.video],entry:none,reload:none,unload:none,plugin:{displayName:"下载视频 - 下载封面支持",setup:e=>{let{addData:o}=e;o("downloadVideo.assets",(async e=>{e.push({name:"downloadCover",displayName:"下载封面",getAssets:async(e,n)=>{const{type:o,enabled:r}=n;if(!r)return[];const a=i.Toast.info("获取封面中...","下载封面");let s=0;const c=await Promise.allSettled(e.map((async n=>{const r=await(0,t.getBlobByAid)(n.input.aid);return s++,a.message=`获取封面中... (${s}/${e.length})`,{name:`${n.input.title}.${o}`,data:r}}))),l=c.filter((e=>"fulfilled"===e.status)),u=c.filter((e=>"rejected"===e.status));return a.message=`获取完成. 成功 ${l.length} 个, 失败 ${u.length} 个.`,l.map((e=>e.value))},getUrls:async(e,n)=>{const{type:o,enabled:r}=n;return r?Promise.all(e.map((async e=>({name:`${e.input.title}.${o}`,url:await(0,t.getVideoCoverUrlByAid)(e.input.aid)})))):[]},component:()=>Promise.resolve().then(n.bind(n,86)).then((e=>e.default))})}))}},widget:{component:()=>Promise.resolve().then(n.bind(n,19)).then((e=>e.default))},description:{"zh-CN":"在视频页面中, 可从功能面板中查看封面."},urlInclude:[...r.videoAndBangumiUrls],commitHash:"58c0b438ca2371e397f70466a91572cb2757b142",coreVersion:"2.10.7"})})(),o=o.component})())); +o=Boolean(window&&document&&document.all&&!window.atob)),o},i=function(){var e={};return function(t){if(void 0===e[t]){var n=document.querySelector(t);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}e[t]=n}return e[t]}}(),a=[];function s(e){for(var t=-1,n=0;n{"use strict";n.r(t),n.d(t,{default:()=>f});var o=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"download-cover-config download-video-config-section"},[t("div",{staticClass:"download-video-config-item"},[t("div",{staticClass:"download-video-config-title"},[e._v("封面:")]),e._v(" "),t("VDropdown",{attrs:{items:e.items},scopedSlots:e._u([{key:"item",fn:function({item:t}){return[e._v("\n "+e._s(t)+"\n ")]}}]),model:{value:e.type,callback:function(t){e.type=t},expression:"type"}})],1)])};o._withStripped=!0;const r=coreApis.settings;var i=n(164);const{options:a}=(0,r.getComponentSettings)("downloadVideo"),s=Vue.extend({components:{VDropdown:i.VDropdown},data:()=>({type:a.CoverType??"无",items:["无","jpg"]}),computed:{enabled(){return"无"!==this.type}},watch:{type(e){a.CoverType=e}}});var c=n(991),l=n.n(c),d=n(608),u=n.n(d),p={insert:"head",singleton:!1};l()(u(),p);u().locals;const f=(0,n(678).A)(s,o,[],!1,null,null,null).exports},19:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>d});var o=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("DefaultWidget",{staticClass:"view-cover",attrs:{disabled:!e.imageUrl,name:"查看封面",icon:"mdi-image-outline"},on:{click:function(t){return e.viewCover()}}})};o._withStripped=!0;var r=n(341);const i=coreApis.ajax,a=coreApis.observer,s=coreApis.spinQuery;var c=n(164);const l=Vue.extend({components:{DefaultWidget:c.DefaultWidget},data:()=>({imageUrl:""}),async mounted(){if(document.URL.includes("live.bilibili.com")){const e=".header-info-ctnr .room-cover, .header-info-ctnr .avatar",t=await(0,s.select)(e);if(!t)return;const n=t.getAttribute("href").match(/space\.bilibili\.com\/([\d]+)/);if(n&&n[1]){const e=`https://api.live.bilibili.com/room/v1/Room/getRoomInfoOld?mid=${n[1]}`,t=await(0,i.getJson)(e);this.imageUrl=t.data.cover.replace("http:","https:")}}else(0,a.videoChange)((async()=>{const{aid:e}=unsafeWindow;this.imageUrl=await(0,r.getVideoCoverUrlByAid)(e)}))},methods:{async viewCover(){(0,c.showImage)(this.imageUrl)}}});const d=(0,n(678).A)(l,o,[],!1,null,null,null).exports},678:(e,t,n)=>{"use strict";function o(e,t,n,o,r,i,a,s){var c,l="function"==typeof e?e.options:e;if(t&&(l.render=t,l.staticRenderFns=n,l._compiled=!0),o&&(l.functional=!0),i&&(l._scopeId="data-v-"+i),a?(c=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),r&&r.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(a)},l._ssrRegister=c):r&&(c=s?function(){r.call(this,(l.functional?this.parent:this).$root.$options.shadowRoot)}:r),c)if(l.functional){l._injectStyles=c;var d=l.render;l.render=function(e,t){return c.call(t),d(e,t)}}else{var u=l.beforeCreate;l.beforeCreate=u?[].concat(u,c):[c]}return{exports:e,options:l}}n.d(t,{A:()=>o})},341:e=>{"use strict";e.exports=coreApis.componentApis.video.videoCover},164:e=>{"use strict";e.exports=coreApis.ui}},t={};function n(o){var r=t[o];if(void 0!==r)return r.exports;var i=t[o]={id:o,exports:{}};return e[o](i,i.exports,n),i.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var o in t)n.o(t,o)&&!n.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.nc=void 0;var o={};return(()=>{"use strict";n.d(o,{component:()=>a});const e=coreApis.componentApis.define;var t=n(341);const r=coreApis.utils.urls,i=coreApis.toast,a=(0,e.defineComponentMetadata)({name:"viewCover",displayName:"查看封面",tags:[componentsTags.utils,componentsTags.video],entry:none,reload:none,unload:none,plugin:{displayName:"下载视频 - 下载封面支持",setup:e=>{let{addData:o}=e;o("downloadVideo.assets",(async e=>{e.push({name:"downloadCover",displayName:"下载封面",getAssets:async(e,n)=>{const{type:o,enabled:r}=n;if(!r)return[];const a=i.Toast.info("获取封面中...","下载封面");let s=0;const c=await Promise.allSettled(e.map((async n=>{const r=await(0,t.getBlobByAid)(n.input.aid);return s++,a.message=`获取封面中... (${s}/${e.length})`,{name:`${n.input.title}.${o}`,data:r}}))),l=c.filter((e=>"fulfilled"===e.status)),d=c.filter((e=>"rejected"===e.status));return a.message=`获取完成. 成功 ${l.length} 个, 失败 ${d.length} 个.`,l.map((e=>e.value))},getUrls:async(e,n)=>{const{type:o,enabled:r}=n;return r?Promise.all(e.map((async e=>({name:`${e.input.title}.${o}`,url:await(0,t.getVideoCoverUrlByAid)(e.input.aid)})))):[]},component:()=>Promise.resolve().then(n.bind(n,86)).then((e=>e.default))})}))}},widget:{component:()=>Promise.resolve().then(n.bind(n,19)).then((e=>e.default))},description:{"zh-CN":"在视频页面中, 可从功能面板中查看封面."},urlInclude:[...r.videoAndBangumiUrls],commitHash:"d87d69cfb9d7e0124bd90a06fec4569bd61e02c5",coreVersion:"2.10.7"})})(),o=o.component})())); //# sourceMappingURL=https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/registry/dist/components/utils/view-cover.js.map \ No newline at end of file diff --git a/bb-evolved/registry/dist/components/utils/watchlater-page-redirect.js b/bb-evolved/registry/dist/components/utils/watchlater-page-redirect.js index a6e5a7e6d9..1434a0f4e4 100644 --- a/bb-evolved/registry/dist/components/utils/watchlater-page-redirect.js +++ b/bb-evolved/registry/dist/components/utils/watchlater-page-redirect.js @@ -1,2 +1,2 @@ -!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["utils/watchlater-page-redirect"]=t():e["utils/watchlater-page-redirect"]=t()}(globalThis,(()=>(()=>{var e,t,o={990:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=990,e.exports=t},13:e=>{"use strict";e.exports="重定向**稍后再看页面**到普通视频页面,和`稍后再看重定向`组件的区别在于,该组件是在进入稍后再看的视频页面后进行重定向,而非直接替换链接到普通视频的链接,用于补充`稍后再看重定向`组件的功能。\n"}},r={};function n(e){var t=r[e];if(void 0!==t)return t.exports;var i=r[e]={exports:{}};return o[e](i,i.exports,n),i.exports}t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,n.t=function(o,r){if(1&r&&(o=this(o)),8&r)return o;if("object"==typeof o&&o){if(4&r&&o.__esModule)return o;if(16&r&&"function"==typeof o.then)return o}var i=Object.create(null);n.r(i);var a={};e=e||[null,t({}),t([]),t(t)];for(var c=2&r&&o;"object"==typeof c&&!~e.indexOf(c);c=t(c))Object.getOwnPropertyNames(c).forEach((e=>a[e]=()=>o[e]));return a.default=()=>o,n.d(i,a),i},n.d=(e,t)=>{for(var o in t)n.o(t,o)&&!n.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var i={};return(()=>{"use strict";n.d(i,{component:()=>t});const e=coreApis.componentApis.define,t=(0,e.defineComponentMetadata)({name:"watchlaterPageRedirect",displayName:"稍后再看页面-重定向",entry:async()=>{const e=(()=>{const{pathname:e,search:t}=window.location,o=t.match(/\?oid=(\d+)&bvid=(\w+)/)??[];return"/list/watchlater"===e&&3===o.length?o[2]:null})();e&&(location.href=`https://www.bilibili.com/video/${e}/`)},author:{name:"magicFeirl",link:"https://github.com/magicFeirl"},urlInclude:["https://www.bilibili.com/list/watchlater"],tags:[componentsTags.utils,componentsTags.video],commitHash:"58c0b438ca2371e397f70466a91572cb2757b142",coreVersion:"2.10.7",description:(()=>{const e=n(990);return{...Object.fromEntries(e.keys().map((t=>[t.match(/index\.(.+)\.md$/)[1],e(t)]))),"zh-CN":()=>Promise.resolve().then(n.t.bind(n,13,17)).then((e=>e.default))}})()})})(),i=i.component})())); +!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["utils/watchlater-page-redirect"]=t():e["utils/watchlater-page-redirect"]=t()}(globalThis,(()=>(()=>{var e,t,o={990:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=990,e.exports=t},13:e=>{"use strict";e.exports="重定向**稍后再看页面**到普通视频页面,和`稍后再看重定向`组件的区别在于,该组件是在进入稍后再看的视频页面后进行重定向,而非直接替换链接到普通视频的链接,用于补充`稍后再看重定向`组件的功能。\n"}},r={};function n(e){var t=r[e];if(void 0!==t)return t.exports;var i=r[e]={exports:{}};return o[e](i,i.exports,n),i.exports}t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,n.t=function(o,r){if(1&r&&(o=this(o)),8&r)return o;if("object"==typeof o&&o){if(4&r&&o.__esModule)return o;if(16&r&&"function"==typeof o.then)return o}var i=Object.create(null);n.r(i);var c={};e=e||[null,t({}),t([]),t(t)];for(var a=2&r&&o;"object"==typeof a&&!~e.indexOf(a);a=t(a))Object.getOwnPropertyNames(a).forEach((e=>c[e]=()=>o[e]));return c.default=()=>o,n.d(i,c),i},n.d=(e,t)=>{for(var o in t)n.o(t,o)&&!n.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var i={};return(()=>{"use strict";n.d(i,{component:()=>t});const e=coreApis.componentApis.define,t=(0,e.defineComponentMetadata)({name:"watchlaterPageRedirect",displayName:"稍后再看页面-重定向",entry:async()=>{const e=(()=>{const{pathname:e,search:t}=window.location,o=t.match(/\?oid=(\d+)&bvid=(\w+)/)??[];return"/list/watchlater"===e&&3===o.length?o[2]:null})();e&&(location.href=`https://www.bilibili.com/video/${e}/`)},author:{name:"magicFeirl",link:"https://github.com/magicFeirl"},urlInclude:["https://www.bilibili.com/list/watchlater"],tags:[componentsTags.utils,componentsTags.video],commitHash:"d87d69cfb9d7e0124bd90a06fec4569bd61e02c5",coreVersion:"2.10.7",description:(()=>{const e=n(990);return{...Object.fromEntries(e.keys().map((t=>[t.match(/index\.(.+)\.md$/)[1],e(t)]))),"zh-CN":()=>Promise.resolve().then(n.t.bind(n,13,17)).then((e=>e.default))}})()})})(),i=i.component})())); //# sourceMappingURL=https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/registry/dist/components/utils/watchlater-page-redirect.js.map \ No newline at end of file diff --git a/bb-evolved/registry/dist/components/utils/watchlater-redirect.js b/bb-evolved/registry/dist/components/utils/watchlater-redirect.js index f9e357f2ad..23bda4fbc3 100644 --- a/bb-evolved/registry/dist/components/utils/watchlater-redirect.js +++ b/bb-evolved/registry/dist/components/utils/watchlater-redirect.js @@ -1,2 +1,2 @@ -!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["utils/watchlater-redirect"]=t():e["utils/watchlater-redirect"]=t()}(globalThis,(()=>(()=>{var e,t,r={346:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=346,e.exports=t},433:e=>{"use strict";e.exports="将稍后再看的链接重定向为普通播放网址.\n- `重定向页面`: 对稍后再看列表页面里的链接重定向.\n- `重定向顶栏`: 对 `自定义顶栏` 里的稍后再看链接重定向.\n"},674:e=>{"use strict";e.exports=coreApis.componentApis.video.watchlater},104:e=>{"use strict";e.exports=coreApis.observer},728:e=>{"use strict";e.exports=coreApis.spinQuery},765:e=>{"use strict";e.exports=coreApis.utils.log}},o={};function i(e){var t=o[e];if(void 0!==t)return t.exports;var n=o[e]={exports:{}};return r[e](n,n.exports,i),n.exports}t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,i.t=function(r,o){if(1&o&&(r=this(r)),8&o)return r;if("object"==typeof r&&r){if(4&o&&r.__esModule)return r;if(16&o&&"function"==typeof r.then)return r}var n=Object.create(null);i.r(n);var a={};e=e||[null,t({}),t([]),t(t)];for(var c=2&o&&r;"object"==typeof c&&!~e.indexOf(c);c=t(c))Object.getOwnPropertyNames(c).forEach((e=>a[e]=()=>r[e]));return a.default=()=>r,i.d(n,a),n},i.d=(e,t)=>{for(var r in t)i.o(t,r)&&!i.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},i.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),i.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var n={};return(()=>{"use strict";i.d(n,{component:()=>r});const e=coreApis.componentApis.define,t=(e,t)=>{try{const{bvid:r,cid:o,pages:i}=t,n=i.find((e=>e.cid===o))?.page??1,a=n>1?`https://www.bilibili.com/video/${r}/?p=${n}`:`https://www.bilibili.com/video/${r}/`,c=e.querySelector(".av-pic, .bili-cover-card");c.target="_blank",c.href=a;const s=e.querySelector(".av-about .t, .bili-video-card__title a, .video-card__right .title");s.target="_blank",s.href=a}catch(r){console.error(`[watchlater redirect] error at ${t.bvid}`,e,r)}},r=(0,e.defineComponentMetadata)({name:"watchlaterRedirect",displayName:"稍后再看重定向",entry:async e=>{let{settings:r}=e;if(!r.options.page)return;const{select:o}=await Promise.resolve().then(i.t.bind(i,728,23)),{childListSubtree:n}=await Promise.resolve().then(i.t.bind(i,104,23)),{getWatchlaterList:a}=await Promise.resolve().then(i.t.bind(i,674,23)),{useScopedConsole:c}=await Promise.resolve().then(i.t.bind(i,765,23)),s=c("稍后再看重定向"),l=await a(!0),d=await o(".watch-later-list .list-box > span, .watchlater-list");if(!d)return;const p=lodash.debounce((()=>{const e=d.querySelectorAll(".av-item, .video-card");s.log("run redirect, length =",e.length),e.forEach((e=>{(e=>{if((e=>{const t=e.querySelector(".av-pic, .bili-cover-card");return/video\/BV/.test(t.href)})(e))return;const r=(e=>{const t=e.querySelector(".av-pic, .bili-cover-card"),r=t.href.match(/bvid=([^&]+)/)?.[1];return r})(e);if(void 0===r)return void s.warn("bvid not found for",e.outerHTML);const o=l.find((e=>e.bvid===r));void 0!==o?(s.log("redirect for",r),t(e,o)):s.warn("bvid no match for",r)})(e)}))}),200);p(),n(d,(async e=>{e.forEach((e=>{[...e.addedNodes].some((e=>e instanceof HTMLElement&&["bili-video-card__wrap","video-card","watchlater-list-container"].some((t=>e.classList.contains(t)))))&&p()}))}))},options:{page:{displayName:"重定向页面",defaultValue:!0},navbar:{displayName:"重定向顶栏",defaultValue:!0}},urlInclude:["https://www.bilibili.com/watchlater/#/list","https://www.bilibili.com/watchlater/list#/list"],tags:[componentsTags.utils,componentsTags.video],commitHash:"58c0b438ca2371e397f70466a91572cb2757b142",coreVersion:"2.10.7",description:(()=>{const e=i(346);return{...Object.fromEntries(e.keys().map((t=>[t.match(/index\.(.+)\.md$/)[1],e(t)]))),"zh-CN":()=>Promise.resolve().then(i.t.bind(i,433,17)).then((e=>e.default))}})()})})(),n=n.component})())); +!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["utils/watchlater-redirect"]=t():e["utils/watchlater-redirect"]=t()}(globalThis,(()=>(()=>{var e,t,r={346:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=346,e.exports=t},433:e=>{"use strict";e.exports="将稍后再看的链接重定向为普通播放网址.\n- `重定向页面`: 对稍后再看列表页面里的链接重定向.\n- `重定向顶栏`: 对 `自定义顶栏` 里的稍后再看链接重定向.\n"},674:e=>{"use strict";e.exports=coreApis.componentApis.video.watchlater},104:e=>{"use strict";e.exports=coreApis.observer},728:e=>{"use strict";e.exports=coreApis.spinQuery},765:e=>{"use strict";e.exports=coreApis.utils.log}},o={};function i(e){var t=o[e];if(void 0!==t)return t.exports;var n=o[e]={exports:{}};return r[e](n,n.exports,i),n.exports}t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,i.t=function(r,o){if(1&o&&(r=this(r)),8&o)return r;if("object"==typeof r&&r){if(4&o&&r.__esModule)return r;if(16&o&&"function"==typeof r.then)return r}var n=Object.create(null);i.r(n);var a={};e=e||[null,t({}),t([]),t(t)];for(var c=2&o&&r;"object"==typeof c&&!~e.indexOf(c);c=t(c))Object.getOwnPropertyNames(c).forEach((e=>a[e]=()=>r[e]));return a.default=()=>r,i.d(n,a),n},i.d=(e,t)=>{for(var r in t)i.o(t,r)&&!i.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},i.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),i.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var n={};return(()=>{"use strict";i.d(n,{component:()=>r});const e=coreApis.componentApis.define,t=(e,t)=>{try{const{bvid:r,cid:o,pages:i}=t,n=i.find((e=>e.cid===o))?.page??1,a=n>1?`https://www.bilibili.com/video/${r}/?p=${n}`:`https://www.bilibili.com/video/${r}/`,c=e.querySelector(".av-pic, .bili-cover-card");c.target="_blank",c.href=a;const s=e.querySelector(".av-about .t, .bili-video-card__title a, .video-card__right .title");s.target="_blank",s.href=a}catch(r){console.error(`[watchlater redirect] error at ${t.bvid}`,e,r)}},r=(0,e.defineComponentMetadata)({name:"watchlaterRedirect",displayName:"稍后再看重定向",entry:async e=>{let{settings:r}=e;if(!r.options.page)return;const{select:o}=await Promise.resolve().then(i.t.bind(i,728,23)),{childListSubtree:n}=await Promise.resolve().then(i.t.bind(i,104,23)),{getWatchlaterList:a}=await Promise.resolve().then(i.t.bind(i,674,23)),{useScopedConsole:c}=await Promise.resolve().then(i.t.bind(i,765,23)),s=c("稍后再看重定向"),l=await a(!0),d=await o(".watch-later-list .list-box > span, .watchlater-list");if(!d)return;const p=lodash.debounce((()=>{const e=d.querySelectorAll(".av-item, .video-card");s.log("run redirect, length =",e.length),e.forEach((e=>{(e=>{if((e=>{const t=e.querySelector(".av-pic, .bili-cover-card");return/video\/BV/.test(t.href)})(e))return;const r=(e=>{const t=e.querySelector(".av-pic, .bili-cover-card"),r=t.href.match(/bvid=([^&]+)/)?.[1];return r})(e);if(void 0===r)return void s.warn("bvid not found for",e.outerHTML);const o=l.find((e=>e.bvid===r));void 0!==o?(s.log("redirect for",r),t(e,o)):s.warn("bvid no match for",r)})(e)}))}),200);p(),n(d,(async e=>{e.forEach((e=>{[...e.addedNodes].some((e=>e instanceof HTMLElement&&["bili-video-card__wrap","video-card","watchlater-list-container"].some((t=>e.classList.contains(t)))))&&p()}))}))},options:{page:{displayName:"重定向页面",defaultValue:!0},navbar:{displayName:"重定向顶栏",defaultValue:!0}},urlInclude:["https://www.bilibili.com/watchlater/#/list","https://www.bilibili.com/watchlater/list#/list"],tags:[componentsTags.utils,componentsTags.video],commitHash:"d87d69cfb9d7e0124bd90a06fec4569bd61e02c5",coreVersion:"2.10.7",description:(()=>{const e=i(346);return{...Object.fromEntries(e.keys().map((t=>[t.match(/index\.(.+)\.md$/)[1],e(t)]))),"zh-CN":()=>Promise.resolve().then(i.t.bind(i,433,17)).then((e=>e.default))}})()})})(),n=n.component})())); //# sourceMappingURL=https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/registry/dist/components/utils/watchlater-redirect.js.map \ No newline at end of file diff --git a/bb-evolved/registry/dist/components/video/auto-remove-watchlater.js b/bb-evolved/registry/dist/components/video/auto-remove-watchlater.js index 286840ee38..762d05f29a 100644 --- a/bb-evolved/registry/dist/components/video/auto-remove-watchlater.js +++ b/bb-evolved/registry/dist/components/video/auto-remove-watchlater.js @@ -1,2 +1,2 @@ -!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["video/auto-remove-watchlater"]=t():e["video/auto-remove-watchlater"]=t()}(globalThis,(()=>(()=>{var e,t,o={762:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=762,e.exports=t},117:e=>{"use strict";e.exports="在稍后再看页面播放结束时, 自动将当前视频移出稍后再看.\n注意:\n- 一定要播放结束, 快结束时手动切走不算\n- b 站的稍后再看列表不会实时刷新\n"}},r={};function n(e){var t=r[e];if(void 0!==t)return t.exports;var a=r[e]={exports:{}};return o[e](a,a.exports,n),a.exports}t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,n.t=function(o,r){if(1&r&&(o=this(o)),8&r)return o;if("object"==typeof o&&o){if(4&r&&o.__esModule)return o;if(16&r&&"function"==typeof o.then)return o}var a=Object.create(null);n.r(a);var i={};e=e||[null,t({}),t([]),t(t)];for(var c=2&r&&o;"object"==typeof c&&!~e.indexOf(c);c=t(c))Object.getOwnPropertyNames(c).forEach((e=>i[e]=()=>o[e]));return i.default=()=>o,n.d(a,i),a},n.d=(e,t)=>{for(var o in t)n.o(t,o)&&!n.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var a={};return(()=>{"use strict";n.d(a,{component:()=>s});const e=coreApis.componentApis.define,t=coreApis.observer,o=coreApis.utils.urls,r=coreApis.componentApis.video.playerAgent,i=coreApis.componentApis.video.watchlater;let c=null;const s=(0,e.defineComponentMetadata)({name:"autoRemoveWatchlater",displayName:"自动移出稍后再看",tags:[componentsTags.video],urlInclude:[...o.watchlaterUrls,...o.videoUrls],entry:()=>{(0,t.videoChange)((async e=>{let{aid:t}=e;const o=await r.playerAgent.query.video.element();null!==c&&o.removeEventListener("ended",c),c=async()=>{(await(0,i.getWatchlaterList)()).includes(parseInt(t))&&await(0,i.toggleWatchlater)(t)},o.addEventListener("ended",c)}))},commitHash:"58c0b438ca2371e397f70466a91572cb2757b142",coreVersion:"2.10.7",description:(()=>{const e=n(762);return{...Object.fromEntries(e.keys().map((t=>[t.match(/index\.(.+)\.md$/)[1],e(t)]))),"zh-CN":()=>Promise.resolve().then(n.t.bind(n,117,17)).then((e=>e.default))}})()})})(),a=a.component})())); +!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["video/auto-remove-watchlater"]=t():e["video/auto-remove-watchlater"]=t()}(globalThis,(()=>(()=>{var e,t,o={762:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=762,e.exports=t},117:e=>{"use strict";e.exports="在稍后再看页面播放结束时, 自动将当前视频移出稍后再看.\n注意:\n- 一定要播放结束, 快结束时手动切走不算\n- b 站的稍后再看列表不会实时刷新\n"}},r={};function n(e){var t=r[e];if(void 0!==t)return t.exports;var a=r[e]={exports:{}};return o[e](a,a.exports,n),a.exports}t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,n.t=function(o,r){if(1&r&&(o=this(o)),8&r)return o;if("object"==typeof o&&o){if(4&r&&o.__esModule)return o;if(16&r&&"function"==typeof o.then)return o}var a=Object.create(null);n.r(a);var i={};e=e||[null,t({}),t([]),t(t)];for(var c=2&r&&o;"object"==typeof c&&!~e.indexOf(c);c=t(c))Object.getOwnPropertyNames(c).forEach((e=>i[e]=()=>o[e]));return i.default=()=>o,n.d(a,i),a},n.d=(e,t)=>{for(var o in t)n.o(t,o)&&!n.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var a={};return(()=>{"use strict";n.d(a,{component:()=>s});const e=coreApis.componentApis.define,t=coreApis.observer,o=coreApis.utils.urls,r=coreApis.componentApis.video.playerAgent,i=coreApis.componentApis.video.watchlater;let c=null;const s=(0,e.defineComponentMetadata)({name:"autoRemoveWatchlater",displayName:"自动移出稍后再看",tags:[componentsTags.video],urlInclude:[...o.watchlaterUrls,...o.videoUrls],entry:()=>{(0,t.videoChange)((async e=>{let{aid:t}=e;const o=await r.playerAgent.query.video.element();null!==c&&o.removeEventListener("ended",c),c=async()=>{(await(0,i.getWatchlaterList)()).includes(parseInt(t))&&await(0,i.toggleWatchlater)(t)},o.addEventListener("ended",c)}))},commitHash:"d87d69cfb9d7e0124bd90a06fec4569bd61e02c5",coreVersion:"2.10.7",description:(()=>{const e=n(762);return{...Object.fromEntries(e.keys().map((t=>[t.match(/index\.(.+)\.md$/)[1],e(t)]))),"zh-CN":()=>Promise.resolve().then(n.t.bind(n,117,17)).then((e=>e.default))}})()})})(),a=a.component})())); //# sourceMappingURL=https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/registry/dist/components/video/auto-remove-watchlater.js.map \ No newline at end of file diff --git a/bb-evolved/registry/dist/components/video/av-url.js b/bb-evolved/registry/dist/components/video/av-url.js index f198459bc5..53b0167582 100644 --- a/bb-evolved/registry/dist/components/video/av-url.js +++ b/bb-evolved/registry/dist/components/video/av-url.js @@ -1,2 +1,2 @@ -!function(e,o){"object"==typeof exports&&"object"==typeof module?module.exports=o():"function"==typeof define&&define.amd?define([],o):"object"==typeof exports?exports["video/av-url"]=o():e["video/av-url"]=o()}(globalThis,(()=>(()=>{"use strict";var e={d:(o,t)=>{for(var i in t)e.o(t,i)&&!e.o(o,i)&&Object.defineProperty(o,i,{enumerable:!0,get:t[i]})},o:(e,o)=>Object.prototype.hasOwnProperty.call(e,o)},o={};e.d(o,{component:()=>c});const t=coreApis.componentApis.define,i=coreApis.lifeCycle,n=coreApis.observer,r=coreApis.spinQuery,s=coreApis.utils.urls,c=(0,t.defineComponentMetadata)({name:"avUrl",displayName:"网址AV号转换",description:{"zh-CN":"当视频的链接是BV号时, 自动转换为AV号. 请注意这会导致浏览器历史记录出现重复的标题 (分别是转换前后的网址), 并可能导致后退要多退几次."},entry:()=>{(0,i.fullyLoaded)((()=>{(0,n.urlChange)((async()=>{const e=await(0,r.select)((()=>unsafeWindow.aid));if(!e)return;if(document.URL.includes("videocard_series"))return void console.log("skip video series");const o=document.URL.replace(/\/(video|bangumi)\/(BV[\w]+)/i,((o,t)=>`/${t}/av${e}`));document.URL!==o&&window.history.replaceState(history.state,"",o)}))}))},tags:[componentsTags.video,componentsTags.utils],urlInclude:s.videoUrls,commitHash:"58c0b438ca2371e397f70466a91572cb2757b142",coreVersion:"2.10.7"});return o=o.component})())); +!function(e,o){"object"==typeof exports&&"object"==typeof module?module.exports=o():"function"==typeof define&&define.amd?define([],o):"object"==typeof exports?exports["video/av-url"]=o():e["video/av-url"]=o()}(globalThis,(()=>(()=>{"use strict";var e={d:(o,t)=>{for(var i in t)e.o(t,i)&&!e.o(o,i)&&Object.defineProperty(o,i,{enumerable:!0,get:t[i]})},o:(e,o)=>Object.prototype.hasOwnProperty.call(e,o)},o={};e.d(o,{component:()=>c});const t=coreApis.componentApis.define,i=coreApis.lifeCycle,n=coreApis.observer,r=coreApis.spinQuery,s=coreApis.utils.urls,c=(0,t.defineComponentMetadata)({name:"avUrl",displayName:"网址AV号转换",description:{"zh-CN":"当视频的链接是BV号时, 自动转换为AV号. 请注意这会导致浏览器历史记录出现重复的标题 (分别是转换前后的网址), 并可能导致后退要多退几次."},entry:()=>{(0,i.fullyLoaded)((()=>{(0,n.urlChange)((async()=>{const e=await(0,r.select)((()=>unsafeWindow.aid));if(!e)return;if(document.URL.includes("videocard_series"))return void console.log("skip video series");const o=document.URL.replace(/\/(video|bangumi)\/(BV[\w]+)/i,((o,t)=>`/${t}/av${e}`));document.URL!==o&&window.history.replaceState(history.state,"",o)}))}))},tags:[componentsTags.video,componentsTags.utils],urlInclude:s.videoUrls,commitHash:"d87d69cfb9d7e0124bd90a06fec4569bd61e02c5",coreVersion:"2.10.7"});return o=o.component})())); //# sourceMappingURL=https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/registry/dist/components/video/av-url.js.map \ No newline at end of file diff --git a/bb-evolved/registry/dist/components/video/biliplus-redirect.js b/bb-evolved/registry/dist/components/video/biliplus-redirect.js index 93943618b7..4b32fd4200 100644 --- a/bb-evolved/registry/dist/components/video/biliplus-redirect.js +++ b/bb-evolved/registry/dist/components/video/biliplus-redirect.js @@ -1,2 +1,2 @@ -!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["video/biliplus-redirect"]=t():e["video/biliplus-redirect"]=t()}(globalThis,(()=>(()=>{"use strict";var e={623:(e,t,o)=>{o.r(t),o.d(t,{default:()=>c});var i=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("a",{attrs:{href:e.url,target:"_blank",tabindex:"-1"}},[t("DefaultWidget",{attrs:{name:"转到BiliPlus",icon:"biliplus",disabled:!e.url}})],1)};i._withStripped=!0;const n=coreApis.observer,r=coreApis.ui,s=/\/(video|medialist\/play)\/([^\/]+\/)?(av[\d]+|BV.+)/i,a=[{condition:()=>"space.bilibili.com"===window.location.host,getUrl:e=>document.URL.replace("space.bilibili.com/",`${e}/space/`)},{condition:()=>"space.bilibili.com"===window.location.host,getUrl:e=>document.URL.replace("space.bilibili.com/",`${e}/space/`)},{condition:()=>document.URL.includes("/bangumi/play"),getUrl:(e,t)=>((0,n.videoChange)((()=>{const o=unsafeWindow.aid||document.querySelector(".av-link,.info-sec-av").innerText.replace(/[aAvV]/g,""),i=`https://${e}/video/av${o}/`;document.URL!==i?t(i):t("")})),`https://${e}${window.location.pathname}${window.location.search}`)},{condition:()=>s.test(document.URL),getUrl:e=>`https://${e}/video/${document.URL.match(s)[3]}/`}];var l=function(e,t,o,i,n,r,s,a){var l,c="function"==typeof e?e.options:e;if(t&&(c.render=t,c.staticRenderFns=o,c._compiled=!0),i&&(c.functional=!0),r&&(c._scopeId="data-v-"+r),s?(l=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),n&&n.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(s)},c._ssrRegister=l):n&&(l=a?function(){n.call(this,(c.functional?this.parent:this).$root.$options.shadowRoot)}:n),l)if(c.functional){c._injectStyles=l;var d=c.render;c.render=function(e,t){return l.call(t),d(e,t)}}else{var p=c.beforeCreate;c.beforeCreate=p?[].concat(p,l):[l]}return{exports:e,options:c}}(Vue.extend({components:{DefaultWidget:r.DefaultWidget},data:()=>({url:""}),created(){const e="www.biliplus.com",t=e=>this.url=e,o=a.find((e=>e.condition()));o?t(o.getUrl(e,t)):(0,n.videoChange)((()=>{this.url=document.URL.replace(window.location.host,e)}))}}),i,[],!1,null,null,null);const c=l.exports}},t={};function o(i){var n=t[i];if(void 0!==n)return n.exports;var r=t[i]={exports:{}};return e[i](r,r.exports,o),r.exports}o.d=(e,t)=>{for(var i in t)o.o(t,i)&&!o.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})},o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var i={};o.d(i,{component:()=>s});const n=coreApis.componentApis.define,r=coreApis.utils.urls,s=(0,n.defineComponentMetadata)({name:"biliplusRedirect",displayName:"BiliPlus 跳转支持",description:{"zh-CN":"在视频 / 番剧 / 空间中, 可以从功能中的按钮点击转到 BiliPlus 上对应的页面."},urlInclude:[...r.videoAndBangumiUrls,"//space.bilibili.com"],entry:none,tags:[componentsTags.video,componentsTags.utils],widget:{component:()=>Promise.resolve().then(o.bind(o,623)).then((e=>e.default))},commitHash:"58c0b438ca2371e397f70466a91572cb2757b142",coreVersion:"2.10.7"});return i=i.component})())); +!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["video/biliplus-redirect"]=t():e["video/biliplus-redirect"]=t()}(globalThis,(()=>(()=>{"use strict";var e={623:(e,t,o)=>{o.r(t),o.d(t,{default:()=>c});var i=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("a",{attrs:{href:e.url,target:"_blank",tabindex:"-1"}},[t("DefaultWidget",{attrs:{name:"转到BiliPlus",icon:"biliplus",disabled:!e.url}})],1)};i._withStripped=!0;const n=coreApis.observer,r=coreApis.ui,s=/\/(video|medialist\/play)\/([^\/]+\/)?(av[\d]+|BV.+)/i,l=[{condition:()=>"space.bilibili.com"===window.location.host,getUrl:e=>document.URL.replace("space.bilibili.com/",`${e}/space/`)},{condition:()=>"space.bilibili.com"===window.location.host,getUrl:e=>document.URL.replace("space.bilibili.com/",`${e}/space/`)},{condition:()=>document.URL.includes("/bangumi/play"),getUrl:(e,t)=>((0,n.videoChange)((()=>{const o=unsafeWindow.aid||document.querySelector(".av-link,.info-sec-av").innerText.replace(/[aAvV]/g,""),i=`https://${e}/video/av${o}/`;document.URL!==i?t(i):t("")})),`https://${e}${window.location.pathname}${window.location.search}`)},{condition:()=>s.test(document.URL),getUrl:e=>`https://${e}/video/${document.URL.match(s)[3]}/`}];var a=function(e,t,o,i,n,r,s,l){var a,c="function"==typeof e?e.options:e;if(t&&(c.render=t,c.staticRenderFns=o,c._compiled=!0),i&&(c.functional=!0),r&&(c._scopeId="data-v-"+r),s?(a=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),n&&n.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(s)},c._ssrRegister=a):n&&(a=l?function(){n.call(this,(c.functional?this.parent:this).$root.$options.shadowRoot)}:n),a)if(c.functional){c._injectStyles=a;var d=c.render;c.render=function(e,t){return a.call(t),d(e,t)}}else{var p=c.beforeCreate;c.beforeCreate=p?[].concat(p,a):[a]}return{exports:e,options:c}}(Vue.extend({components:{DefaultWidget:r.DefaultWidget},data:()=>({url:""}),created(){const e="www.biliplus.com",t=e=>this.url=e,o=l.find((e=>e.condition()));o?t(o.getUrl(e,t)):(0,n.videoChange)((()=>{this.url=document.URL.replace(window.location.host,e)}))}}),i,[],!1,null,null,null);const c=a.exports}},t={};function o(i){var n=t[i];if(void 0!==n)return n.exports;var r=t[i]={exports:{}};return e[i](r,r.exports,o),r.exports}o.d=(e,t)=>{for(var i in t)o.o(t,i)&&!o.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})},o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var i={};o.d(i,{component:()=>s});const n=coreApis.componentApis.define,r=coreApis.utils.urls,s=(0,n.defineComponentMetadata)({name:"biliplusRedirect",displayName:"BiliPlus 跳转支持",description:{"zh-CN":"在视频 / 番剧 / 空间中, 可以从功能中的按钮点击转到 BiliPlus 上对应的页面."},urlInclude:[...r.videoAndBangumiUrls,"//space.bilibili.com"],entry:none,tags:[componentsTags.video,componentsTags.utils],widget:{component:()=>Promise.resolve().then(o.bind(o,623)).then((e=>e.default))},commitHash:"d87d69cfb9d7e0124bd90a06fec4569bd61e02c5",coreVersion:"2.10.7"});return i=i.component})())); //# sourceMappingURL=https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/registry/dist/components/video/biliplus-redirect.js.map \ No newline at end of file diff --git a/bb-evolved/registry/dist/components/video/bvid-convert.js b/bb-evolved/registry/dist/components/video/bvid-convert.js index 1f8b08adf0..b1f9c2da7d 100644 --- a/bb-evolved/registry/dist/components/video/bvid-convert.js +++ b/bb-evolved/registry/dist/components/video/bvid-convert.js @@ -11,5 +11,5 @@ var a=this[i][0];null!=a&&(r[a]=!0)}for(var s=0;s{"use strict";var o,r=function(){return void 0===o&&( // @see http://browserhacks.com/#hack-e71d8692f65334173fee715c222cb805 // @see https://github.com/webpack-contrib/style-loader/issues/177 -o=Boolean(window&&document&&document.all&&!window.atob)),o},i=function(){var e={};return function(t){if(void 0===e[t]){var n=document.querySelector(t);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}e[t]=n}return e[t]}}(),a=[];function s(e){for(var t=-1,n=0;n{"use strict";n.r(t),n.d(t,{default:()=>x});var o=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"bvid-convert"},[e.aid?t("div",{staticClass:"bvid-convert-item"},[e._v("\n "+e._s(e.aid)+"\n "),t("div",{staticClass:"bvid-convert-item-copy",attrs:{title:"复制链接"},on:{click:function(t){return e.copyLink("aid")}}},[t("VIcon",{attrs:{size:16,icon:e.aidCopied?"mdi-check":"mdi-link"}})],1)]):e._e(),e._v(" "),e.bvid?t("div",{staticClass:"bvid-convert-item"},[e._v("\n "+e._s(e.bvid)+"\n "),t("div",{staticClass:"bvid-convert-item-copy",attrs:{title:"复制链接"},on:{click:function(t){return e.copyLink("bvid")}}},[t("VIcon",{attrs:{size:16,icon:e.bvidCopied?"mdi-check":"mdi-link"}})],1)]):e._e()])};o._withStripped=!0;const r=coreApis.observer,i=coreApis.settings;var a=n(728);const s=coreApis.utils,c=coreApis.utils.title;var d=n(161);const l=coreApis.ui,{options:u}=(0,i.getComponentSettings)("bvidConvert");var p=function(e){return e.Aid="aid",e.Bvid="bvid",e}(p||{});const f=[p.Aid,p.Bvid],v=[e=>{let{id:t,query:n}=e;return f.some((e=>n.includes(`${e}=`)))?`https://www.bilibili.com/video/${t}/`:null},e=>{let{id:t}=e;return d.bangumiUrls.some((e=>(0,s.matchUrlPattern)(e)))?`https://www.bilibili.com/video/${t}/`:null},e=>{let{id:t,query:n}=e;const o=new URLSearchParams(n),r=new URLSearchParams;for(const e of["p","t"]){const t=o.get(e);t&&r.set(e,t)}return`https://www.bilibili.com/video/${t}/${r.size>0?`?${r.toString()}`:""}`}],b=Vue.extend({components:{VIcon:l.VIcon},data:()=>({aid:"",aidCopied:!1,bvid:"",bvidCopied:!1}),async mounted(){(0,r.videoChange)((async()=>{this.aid=`av${unsafeWindow.aid}`,this.bvid=unsafeWindow.bvid;const e=await(0,a.select)(".av-link,.bv-link,.bvid-link");e&&(this.bvid=e.innerHTML.trim())}))},methods:{async copyLink(e){if(this[`${e}Copied`])return;const t={query:location.search,url:location.origin+location.pathname,id:this[e]},n=v.map((e=>e(t))).filter((e=>null!==e))[0];u.copyWithTitle?await navigator.clipboard.writeText(`${(0,c.getFriendlyTitle)()} ${n}`):await navigator.clipboard.writeText(n),this[`${e}Copied`]=!0,setTimeout((()=>this[`${e}Copied`]=!1),1e3)}}});var m=n(991),A=n.n(m),h=n(839),y=n.n(h),C={insert:"head",singleton:!1};A()(y(),C);y().locals;var g=function(e,t,n,o,r,i,a,s){var c,d="function"==typeof e?e.options:e;if(t&&(d.render=t,d.staticRenderFns=n,d._compiled=!0),o&&(d.functional=!0),i&&(d._scopeId="data-v-"+i),a?(c=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),r&&r.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(a)},d._ssrRegister=c):r&&(c=s?function(){r.call(this,(d.functional?this.parent:this).$root.$options.shadowRoot)}:r),c)if(d.functional){d._injectStyles=c;var l=d.render;d.render=function(e,t){return c.call(t),l(e,t)}}else{var u=d.beforeCreate;d.beforeCreate=u?[].concat(u,c):[c]}return{exports:e,options:d}}(b,o,[],!1,null,null,null);const x=g.exports},728:e=>{"use strict";e.exports=coreApis.spinQuery},161:e=>{"use strict";e.exports=coreApis.utils.urls}},t={};function n(o){var r=t[o];if(void 0!==r)return r.exports;var i=t[o]={id:o,exports:{}};return e[o](i,i.exports,n),i.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var o in t)n.o(t,o)&&!n.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.nc=void 0;var o={};return(()=>{"use strict";n.d(o,{component:()=>a});const e=coreApis.componentApis.define;var t=n(728),r=n(161);const i=(0,e.defineOptionsMetadata)({copyWithTitle:{defaultValue:!1,displayName:"复制链接时带上标题"}}),a=(0,e.defineComponentMetadata)({name:"bvidConvert",displayName:"BV 号转换",options:i,entry:none,description:{"zh-CN":"在功能面板中显示视频的 AV 号和 BV 号."},tags:[componentsTags.video,componentsTags.utils],widget:{component:()=>Promise.resolve().then(n.bind(n,180)).then((e=>e.default)),condition:t.hasVideo},urlInclude:r.videoAndBangumiUrls,commitHash:"58c0b438ca2371e397f70466a91572cb2757b142",coreVersion:"2.10.7"})})(),o=o.component})())); +o=Boolean(window&&document&&document.all&&!window.atob)),o},i=function(){var e={};return function(t){if(void 0===e[t]){var n=document.querySelector(t);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}e[t]=n}return e[t]}}(),a=[];function s(e){for(var t=-1,n=0;n{"use strict";n.r(t),n.d(t,{default:()=>x});var o=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"bvid-convert"},[e.aid?t("div",{staticClass:"bvid-convert-item"},[e._v("\n "+e._s(e.aid)+"\n "),t("div",{staticClass:"bvid-convert-item-copy",attrs:{title:"复制链接"},on:{click:function(t){return e.copyLink("aid")}}},[t("VIcon",{attrs:{size:16,icon:e.aidCopied?"mdi-check":"mdi-link"}})],1)]):e._e(),e._v(" "),e.bvid?t("div",{staticClass:"bvid-convert-item"},[e._v("\n "+e._s(e.bvid)+"\n "),t("div",{staticClass:"bvid-convert-item-copy",attrs:{title:"复制链接"},on:{click:function(t){return e.copyLink("bvid")}}},[t("VIcon",{attrs:{size:16,icon:e.bvidCopied?"mdi-check":"mdi-link"}})],1)]):e._e()])};o._withStripped=!0;const r=coreApis.observer,i=coreApis.settings;var a=n(728);const s=coreApis.utils,c=coreApis.utils.title;var d=n(161);const l=coreApis.ui,{options:u}=(0,i.getComponentSettings)("bvidConvert");var p=function(e){return e.Aid="aid",e.Bvid="bvid",e}(p||{});const f=[p.Aid,p.Bvid],v=[e=>{let{id:t,query:n}=e;return f.some((e=>n.includes(`${e}=`)))?`https://www.bilibili.com/video/${t}/`:null},e=>{let{id:t}=e;return d.bangumiUrls.some((e=>(0,s.matchUrlPattern)(e)))?`https://www.bilibili.com/video/${t}/`:null},e=>{let{id:t,query:n}=e;const o=new URLSearchParams(n),r=new URLSearchParams;for(const e of["p","t"]){const t=o.get(e);t&&r.set(e,t)}return`https://www.bilibili.com/video/${t}/${r.size>0?`?${r.toString()}`:""}`}],b=Vue.extend({components:{VIcon:l.VIcon},data:()=>({aid:"",aidCopied:!1,bvid:"",bvidCopied:!1}),async mounted(){(0,r.videoChange)((async()=>{this.aid=`av${unsafeWindow.aid}`,this.bvid=unsafeWindow.bvid;const e=await(0,a.select)(".av-link,.bv-link,.bvid-link");e&&(this.bvid=e.innerHTML.trim())}))},methods:{async copyLink(e){if(this[`${e}Copied`])return;const t={query:location.search,url:location.origin+location.pathname,id:this[e]},n=v.map((e=>e(t))).filter((e=>null!==e))[0];u.copyWithTitle?await navigator.clipboard.writeText(`${(0,c.getFriendlyTitle)()} ${n}`):await navigator.clipboard.writeText(n),this[`${e}Copied`]=!0,setTimeout((()=>this[`${e}Copied`]=!1),1e3)}}});var m=n(991),A=n.n(m),h=n(839),y=n.n(h),C={insert:"head",singleton:!1};A()(y(),C);y().locals;var g=function(e,t,n,o,r,i,a,s){var c,d="function"==typeof e?e.options:e;if(t&&(d.render=t,d.staticRenderFns=n,d._compiled=!0),o&&(d.functional=!0),i&&(d._scopeId="data-v-"+i),a?(c=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),r&&r.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(a)},d._ssrRegister=c):r&&(c=s?function(){r.call(this,(d.functional?this.parent:this).$root.$options.shadowRoot)}:r),c)if(d.functional){d._injectStyles=c;var l=d.render;d.render=function(e,t){return c.call(t),l(e,t)}}else{var u=d.beforeCreate;d.beforeCreate=u?[].concat(u,c):[c]}return{exports:e,options:d}}(b,o,[],!1,null,null,null);const x=g.exports},728:e=>{"use strict";e.exports=coreApis.spinQuery},161:e=>{"use strict";e.exports=coreApis.utils.urls}},t={};function n(o){var r=t[o];if(void 0!==r)return r.exports;var i=t[o]={id:o,exports:{}};return e[o](i,i.exports,n),i.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var o in t)n.o(t,o)&&!n.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.nc=void 0;var o={};return(()=>{"use strict";n.d(o,{component:()=>a});const e=coreApis.componentApis.define;var t=n(728),r=n(161);const i=(0,e.defineOptionsMetadata)({copyWithTitle:{defaultValue:!1,displayName:"复制链接时带上标题"}}),a=(0,e.defineComponentMetadata)({name:"bvidConvert",displayName:"BV 号转换",options:i,entry:none,description:{"zh-CN":"在功能面板中显示视频的 AV 号和 BV 号."},tags:[componentsTags.video,componentsTags.utils],widget:{component:()=>Promise.resolve().then(n.bind(n,180)).then((e=>e.default)),condition:t.hasVideo},urlInclude:r.videoAndBangumiUrls,commitHash:"d87d69cfb9d7e0124bd90a06fec4569bd61e02c5",coreVersion:"2.10.7"})})(),o=o.component})())); //# sourceMappingURL=https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/registry/dist/components/video/bvid-convert.js.map \ No newline at end of file diff --git a/bb-evolved/registry/dist/components/video/danmaku/airborne.js b/bb-evolved/registry/dist/components/video/danmaku/airborne.js index 17f35e2e19..065b368e20 100644 --- a/bb-evolved/registry/dist/components/video/danmaku/airborne.js +++ b/bb-evolved/registry/dist/components/video/danmaku/airborne.js @@ -8,5 +8,5 @@ e=[[null,e,""]]);var o={};if(r)for(var i=0;i{"use strict";function n(e,n){return function(e){if(Array.isArray(e))return e}(e)||function(e,n){var t=e&&("undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]);if(null==t)return;var r,o,i=[],a=!0,s=!1;try{for(t=t.call(e);!(a=(r=t.next()).done)&&(i.push(r.value),!n||i.length!==n);a=!0);}catch(e){s=!0,o=e}finally{try{a||null==t.return||t.return()}finally{if(s)throw o}}return i}(e,n)||function(e,n){if(!e)return;if("string"==typeof e)return t(e,n);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return t(e,n)}(e,n)||function(){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 t(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=new Array(n);t{var r=t(107);r&&r.__esModule&&(r=r.default),e.exports="string"==typeof r?r:r.toString()}},r={};function o(e){var n=r[e];if(void 0!==n)return n.exports;var i=r[e]={id:e,exports:{}};return t[e](i,i.exports,o),i.exports}n=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,o.t=function(t,r){if(1&r&&(t=this(t)),8&r)return t;if("object"==typeof t&&t){if(4&r&&t.__esModule)return t;if(16&r&&"function"==typeof t.then)return t}var i=Object.create(null);o.r(i);var a={};e=e||[null,n({}),n([]),n(n)];for(var s=2&r&&t;"object"==typeof s&&!~e.indexOf(s);s=n(s))Object.getOwnPropertyNames(s).forEach((e=>a[e]=()=>t[e]));return a.default=()=>t,o.d(i,a),i},o.d=(e,n)=>{for(var t in n)o.o(n,t)&&!o.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:n[t]})},o.o=(e,n)=>Object.prototype.hasOwnProperty.call(e,n),o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var i={};return(()=>{"use strict";o.d(i,{component:()=>c});const e=coreApis.componentApis.styledComponent,n=coreApis.componentApis.define,t=coreApis.componentApis.video.playerAgent,r=coreApis.componentApis.video.videoDanmaku,a=coreApis.observer,s=coreApis.utils.urls,c=(0,n.defineComponentMetadata)({displayName:"启用弹幕空降",author:{name:"kdxcxs",link:"https://github.com/kdxcxs"},description:{"zh-CN":"为可能含有时间点的弹幕添加下划线, 点击可以跳到视频对应时间."},tags:[componentsTags.video],urlInclude:s.playerUrls,...(0,e.toggleStyle)("danmakuAirborne",(()=>Promise.resolve().then(o.t.bind(o,117,23))),(async e=>{let{settings:n}=e;const{enabled:o}=n,i="零一二三四五六七八九".split(""),s=e=>{if(!e)return NaN;const n=e.split("十");if(1===n.length){const n=e.replace(/[零一二三四五六七八九]/g,(e=>`${i.indexOf(e)}`));return parseInt(n)}if(2===n.length){const e=""===n[0]?1:i.indexOf(n[0]),t=""===n[1]?0:i.indexOf(n[1]);return-1===e||-1===t?NaN:10*e+t}return NaN},c=e=>{if(!e)return NaN;const n=e.match(/([\d零一二三四五六七八九十]+)[ ]*(小时|[::时分])[ ]*([\d零一二三四五六七八九十]+)([ ]*[::分][ ]*([\d零一二三四五六七八九十]+))?/);if(!n)return NaN;if(n[4]){const[,t,,r,,o]=n.map((e=>s(e)));return[t,r,o].some((e=>Number.isNaN(e)))||e.includes("分")&&!e.includes("时")?NaN:3600*t+60*r+o}const[,t,,r]=n.map((e=>s(e)));return[t,r].some((e=>Number.isNaN(e)))?NaN:60*t+r},u=e=>{if(!o)return;const n=e.target;if(!["b-danmaku","bili-dm","bili-danmaku-x-dm"].some((e=>n.classList.contains(e)||n.parentElement?.classList.contains(e))))return;const t=c(n.textContent);Number.isNaN(t)||unsafeWindow.player.seek(t,!1)};(0,r.forEachVideoDanmaku)({added:e=>{const n=!Number.isNaN(c(e.text));e.element.classList.toggle("airborne",n)}}),(0,a.videoChange)((async()=>{const e=await t.playerAgent.query.video.wrap();e.classList.contains("airborne-enabled")||(e.classList.add("airborne-enabled"),e.addEventListener("click",u))}))})),commitHash:"58c0b438ca2371e397f70466a91572cb2757b142",coreVersion:"2.10.7"})})(),i=i.component})())); +var i=btoa(unescape(encodeURIComponent(JSON.stringify(o)))),a="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(i),s="/*# ".concat(a," */"),c=o.sources.map((function(e){return"/*# sourceURL=".concat(o.sourceRoot||"").concat(e," */")}));return[r].concat(c).concat([s]).join("\n")}return[r].join("\n")}},117:(e,n,t)=>{var r=t(107);r&&r.__esModule&&(r=r.default),e.exports="string"==typeof r?r:r.toString()}},r={};function o(e){var n=r[e];if(void 0!==n)return n.exports;var i=r[e]={id:e,exports:{}};return t[e](i,i.exports,o),i.exports}n=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,o.t=function(t,r){if(1&r&&(t=this(t)),8&r)return t;if("object"==typeof t&&t){if(4&r&&t.__esModule)return t;if(16&r&&"function"==typeof t.then)return t}var i=Object.create(null);o.r(i);var a={};e=e||[null,n({}),n([]),n(n)];for(var s=2&r&&t;"object"==typeof s&&!~e.indexOf(s);s=n(s))Object.getOwnPropertyNames(s).forEach((e=>a[e]=()=>t[e]));return a.default=()=>t,o.d(i,a),i},o.d=(e,n)=>{for(var t in n)o.o(n,t)&&!o.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:n[t]})},o.o=(e,n)=>Object.prototype.hasOwnProperty.call(e,n),o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var i={};return(()=>{"use strict";o.d(i,{component:()=>c});const e=coreApis.componentApis.styledComponent,n=coreApis.componentApis.define,t=coreApis.componentApis.video.playerAgent,r=coreApis.componentApis.video.videoDanmaku,a=coreApis.observer,s=coreApis.utils.urls,c=(0,n.defineComponentMetadata)({displayName:"启用弹幕空降",author:{name:"kdxcxs",link:"https://github.com/kdxcxs"},description:{"zh-CN":"为可能含有时间点的弹幕添加下划线, 点击可以跳到视频对应时间."},tags:[componentsTags.video],urlInclude:s.playerUrls,...(0,e.toggleStyle)("danmakuAirborne",(()=>Promise.resolve().then(o.t.bind(o,117,23))),(async e=>{let{settings:n}=e;const{enabled:o}=n,i="零一二三四五六七八九".split(""),s=e=>{if(!e)return NaN;const n=e.split("十");if(1===n.length){const n=e.replace(/[零一二三四五六七八九]/g,(e=>`${i.indexOf(e)}`));return parseInt(n)}if(2===n.length){const e=""===n[0]?1:i.indexOf(n[0]),t=""===n[1]?0:i.indexOf(n[1]);return-1===e||-1===t?NaN:10*e+t}return NaN},c=e=>{if(!e)return NaN;const n=e.match(/([\d零一二三四五六七八九十]+)[ ]*(小时|[::时分])[ ]*([\d零一二三四五六七八九十]+)([ ]*[::分][ ]*([\d零一二三四五六七八九十]+))?/);if(!n)return NaN;if(n[4]){const[,t,,r,,o]=n.map((e=>s(e)));return[t,r,o].some((e=>Number.isNaN(e)))||e.includes("分")&&!e.includes("时")?NaN:3600*t+60*r+o}const[,t,,r]=n.map((e=>s(e)));return[t,r].some((e=>Number.isNaN(e)))?NaN:60*t+r},u=e=>{if(!o)return;const n=e.target;if(!["b-danmaku","bili-dm","bili-danmaku-x-dm"].some((e=>n.classList.contains(e)||n.parentElement?.classList.contains(e))))return;const t=c(n.textContent);Number.isNaN(t)||unsafeWindow.player.seek(t,!1)};(0,r.forEachVideoDanmaku)({added:e=>{const n=!Number.isNaN(c(e.text));e.element.classList.toggle("airborne",n)}}),(0,a.videoChange)((async()=>{const e=await t.playerAgent.query.video.wrap();e.classList.contains("airborne-enabled")||(e.classList.add("airborne-enabled"),e.addEventListener("click",u))}))})),commitHash:"d87d69cfb9d7e0124bd90a06fec4569bd61e02c5",coreVersion:"2.10.7"})})(),i=i.component})())); //# sourceMappingURL=https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/registry/dist/components/video/danmaku/airborne.js.map \ No newline at end of file diff --git a/bb-evolved/registry/dist/components/video/danmaku/download.js b/bb-evolved/registry/dist/components/video/danmaku/download.js index ad41b99d3c..42f16979d1 100644 --- a/bb-evolved/registry/dist/components/video/danmaku/download.js +++ b/bb-evolved/registry/dist/components/video/danmaku/download.js @@ -11,5 +11,5 @@ var a=this[r][0];null!=a&&(o[a]=!0)}for(var s=0;s{"use strict";var n,o=function(){return void 0===n&&( // @see http://browserhacks.com/#hack-e71d8692f65334173fee715c222cb805 // @see https://github.com/webpack-contrib/style-loader/issues/177 -n=Boolean(window&&document&&document.all&&!window.atob)),n},r=function(){var t={};return function(e){if(void 0===t[e]){var i=document.querySelector(e);if(window.HTMLIFrameElement&&i instanceof window.HTMLIFrameElement)try{i=i.contentDocument.head}catch(t){i=null}t[e]=i}return t[e]}}(),a=[];function s(t){for(var e=-1,i=0;i{"use strict";i.r(e),i.d(e,{default:()=>u});var n=function(){var t=this,e=t._self._c;t._self._setupProxy;return e("div",{staticClass:"multiple-widgets"},[e("DefaultWidget",{attrs:{disabled:t.disabled,name:"下载弹幕 (XML)",icon:"danmaku"},on:{click:function(e){return t.download("xml")}}}),t._v(" "),e("DefaultWidget",{attrs:{disabled:t.disabled,name:"下载弹幕 (JSON)",icon:"danmaku"},on:{click:function(e){return t.download("json")}}}),t._v(" "),e("DefaultWidget",{attrs:{disabled:t.disabled,name:"下载弹幕 (ASS)",icon:"danmaku"},on:{click:function(e){return t.download("ass")}}})],1)};n._withStripped=!0;const o=coreApis.download;var r=i(765),a=i(121);const s=coreApis.pluginApis.data;var l=i(164);var c=i(871);(0,s.addData)("ui.icons",(t=>{t.danmaku=''}));const d=Vue.extend({components:{DefaultWidget:l.DefaultWidget},data:()=>({disabled:!1}),methods:{async download(t){try{this.disabled=!0;const e=(0,a.getFriendlyTitle)(),i=await(0,c.getBlobByType)(t);await o.DownloadPackage.single(`${e}.${t}`,i)}catch(t){(0,r.logError)(t)}finally{this.disabled=!1}}}});const u=(0,i(678).A)(d,n,[],!1,null,null,null).exports},842:(t,e,i)=>{"use strict";i.r(e),i.d(e,{default:()=>m});var n=function(){var t=this,e=t._self._c;t._self._setupProxy;return e("div",{staticClass:"download-danmaku-config download-video-config-section"},[e("div",{staticClass:"download-video-config-item"},[e("div",{staticClass:"download-video-config-title"},[t._v("弹幕:")]),t._v(" "),e("VDropdown",{attrs:{items:t.items},scopedSlots:t._u([{key:"item",fn:function({item:e}){return[t._v("\n "+t._s(e)+"\n ")]}}]),model:{value:t.type,callback:function(e){t.type=e},expression:"type"}})],1)])};n._withStripped=!0;var o=i(905),r=i(164);const a=(0,o.getComponentSettings)("downloadVideo").options,s=Vue.extend({components:{VDropdown:r.VDropdown},data:()=>({type:a.danmakuType??"无",items:["无","ass","json","xml"]}),computed:{enabled(){return"无"!==this.type}},watch:{type(t){a.danmakuType=t}}});var l=i(991),c=i.n(l),d=i(700),u=i.n(d),p={insert:"head",singleton:!1};c()(u(),p);u().locals;const m=(0,i(678).A)(s,n,[],!1,null,null,null).exports},678:(t,e,i)=>{"use strict";function n(t,e,i,n,o,r,a,s){var l,c="function"==typeof t?t.options:t;if(e&&(c.render=e,c.staticRenderFns=i,c._compiled=!0),n&&(c.functional=!0),r&&(c._scopeId="data-v-"+r),a?(l=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),o&&o.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(a)},c._ssrRegister=l):o&&(l=s?function(){o.call(this,(c.functional?this.parent:this).$root.$options.shadowRoot)}:o),l)if(c.functional){c._injectStyles=l;var d=c.render;c.render=function(t,e){return l.call(e),d(t,e)}}else{var u=c.beforeCreate;c.beforeCreate=u?[].concat(u,l):[l]}return{exports:t,options:c}}i.d(e,{A:()=>n})},905:t=>{"use strict";t.exports=coreApis.settings},164:t=>{"use strict";t.exports=coreApis.ui},765:t=>{"use strict";t.exports=coreApis.utils.log},121:t=>{"use strict";t.exports=coreApis.utils.title}},e={};function i(n){var o=e[n];if(void 0!==o)return o.exports;var r=e[n]={id:n,exports:{}};return t[n](r,r.exports,i),r.exports}i.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return i.d(e,{a:e}),e},i.d=(t,e)=>{for(var n in e)i.o(e,n)&&!i.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},i.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),i.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},i.nc=void 0;var n={};return(()=>{"use strict";i.d(n,{component:()=>s});const t=coreApis.componentApis.define,e=coreApis.spinQuery,o=coreApis.toast,r=coreApis.utils.urls,a=(0,t.defineOptionsMetadata)({speed:{defaultValue:"auto",hidden:!0}}),s=(0,t.defineComponentMetadata)({name:"downloadDanmaku",displayName:"下载弹幕",description:{"zh-CN":"启用下载弹幕支持, 在视频和番剧页面中可从功能面板里下载弹幕. 请注意 ASS 弹幕下载不会包含高级弹幕, 字幕弹幕等."},tags:[componentsTags.video],entry:none,reload:none,unload:none,options:a,plugin:{displayName:"下载视频 - 下载弹幕支持",setup:t=>{let{addData:e}=t;e("downloadVideo.assets",(async t=>{const{getBlobByType:e}=await Promise.resolve().then(i.bind(i,871));t.push({name:"downloadDanmaku",displayName:"下载弹幕",getAssets:async(t,i)=>{const{type:n,enabled:r}=i;if(!r)return[];const a=o.Toast.info("获取弹幕中...","下载弹幕");let s=0;const l=await Promise.allSettled(t.map((async i=>{const o=await e(n,i.input);return s++,a.message=`获取弹幕中... (${s}/${t.length})`,{name:`${i.input.title}.${n}`,data:o}}))),c=l.filter((t=>"fulfilled"===t.status)),d=l.filter((t=>"rejected"===t.status));return a.message=`获取完成. 成功 ${c.length} 个, 失败 ${d.length} 个.`,c.map((t=>t.value))},component:()=>Promise.resolve().then(i.bind(i,842)).then((t=>t.default))})}))}},urlInclude:r.videoAndBangumiUrls,widget:{condition:e.hasVideo,component:()=>Promise.resolve().then(i.bind(i,738)).then((t=>t.default))},commitHash:"58c0b438ca2371e397f70466a91572cb2757b142",coreVersion:"2.10.7"})})(),n=n.component})())); +n=Boolean(window&&document&&document.all&&!window.atob)),n},r=function(){var t={};return function(e){if(void 0===t[e]){var i=document.querySelector(e);if(window.HTMLIFrameElement&&i instanceof window.HTMLIFrameElement)try{i=i.contentDocument.head}catch(t){i=null}t[e]=i}return t[e]}}(),a=[];function s(t){for(var e=-1,i=0;i{"use strict";i.r(e),i.d(e,{default:()=>u});var n=function(){var t=this,e=t._self._c;t._self._setupProxy;return e("div",{staticClass:"multiple-widgets"},[e("DefaultWidget",{attrs:{disabled:t.disabled,name:"下载弹幕 (XML)",icon:"danmaku"},on:{click:function(e){return t.download("xml")}}}),t._v(" "),e("DefaultWidget",{attrs:{disabled:t.disabled,name:"下载弹幕 (JSON)",icon:"danmaku"},on:{click:function(e){return t.download("json")}}}),t._v(" "),e("DefaultWidget",{attrs:{disabled:t.disabled,name:"下载弹幕 (ASS)",icon:"danmaku"},on:{click:function(e){return t.download("ass")}}})],1)};n._withStripped=!0;const o=coreApis.download;var r=i(765),a=i(121);const s=coreApis.pluginApis.data;var l=i(164);var c=i(871);(0,s.addData)("ui.icons",(t=>{t.danmaku=''}));const d=Vue.extend({components:{DefaultWidget:l.DefaultWidget},data:()=>({disabled:!1}),methods:{async download(t){try{this.disabled=!0;const e=(0,a.getFriendlyTitle)(),i=await(0,c.getBlobByType)(t);await o.DownloadPackage.single(`${e}.${t}`,i)}catch(t){(0,r.logError)(t)}finally{this.disabled=!1}}}});const u=(0,i(678).A)(d,n,[],!1,null,null,null).exports},842:(t,e,i)=>{"use strict";i.r(e),i.d(e,{default:()=>m});var n=function(){var t=this,e=t._self._c;t._self._setupProxy;return e("div",{staticClass:"download-danmaku-config download-video-config-section"},[e("div",{staticClass:"download-video-config-item"},[e("div",{staticClass:"download-video-config-title"},[t._v("弹幕:")]),t._v(" "),e("VDropdown",{attrs:{items:t.items},scopedSlots:t._u([{key:"item",fn:function({item:e}){return[t._v("\n "+t._s(e)+"\n ")]}}]),model:{value:t.type,callback:function(e){t.type=e},expression:"type"}})],1)])};n._withStripped=!0;var o=i(905),r=i(164);const a=(0,o.getComponentSettings)("downloadVideo").options,s=Vue.extend({components:{VDropdown:r.VDropdown},data:()=>({type:a.danmakuType??"无",items:["无","ass","json","xml"]}),computed:{enabled(){return"无"!==this.type}},watch:{type(t){a.danmakuType=t}}});var l=i(991),c=i.n(l),d=i(700),u=i.n(d),p={insert:"head",singleton:!1};c()(u(),p);u().locals;const m=(0,i(678).A)(s,n,[],!1,null,null,null).exports},678:(t,e,i)=>{"use strict";function n(t,e,i,n,o,r,a,s){var l,c="function"==typeof t?t.options:t;if(e&&(c.render=e,c.staticRenderFns=i,c._compiled=!0),n&&(c.functional=!0),r&&(c._scopeId="data-v-"+r),a?(l=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),o&&o.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(a)},c._ssrRegister=l):o&&(l=s?function(){o.call(this,(c.functional?this.parent:this).$root.$options.shadowRoot)}:o),l)if(c.functional){c._injectStyles=l;var d=c.render;c.render=function(t,e){return l.call(e),d(t,e)}}else{var u=c.beforeCreate;c.beforeCreate=u?[].concat(u,l):[l]}return{exports:t,options:c}}i.d(e,{A:()=>n})},905:t=>{"use strict";t.exports=coreApis.settings},164:t=>{"use strict";t.exports=coreApis.ui},765:t=>{"use strict";t.exports=coreApis.utils.log},121:t=>{"use strict";t.exports=coreApis.utils.title}},e={};function i(n){var o=e[n];if(void 0!==o)return o.exports;var r=e[n]={id:n,exports:{}};return t[n](r,r.exports,i),r.exports}i.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return i.d(e,{a:e}),e},i.d=(t,e)=>{for(var n in e)i.o(e,n)&&!i.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},i.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),i.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},i.nc=void 0;var n={};return(()=>{"use strict";i.d(n,{component:()=>s});const t=coreApis.componentApis.define,e=coreApis.spinQuery,o=coreApis.toast,r=coreApis.utils.urls,a=(0,t.defineOptionsMetadata)({speed:{defaultValue:"auto",hidden:!0}}),s=(0,t.defineComponentMetadata)({name:"downloadDanmaku",displayName:"下载弹幕",description:{"zh-CN":"启用下载弹幕支持, 在视频和番剧页面中可从功能面板里下载弹幕. 请注意 ASS 弹幕下载不会包含高级弹幕, 字幕弹幕等."},tags:[componentsTags.video],entry:none,reload:none,unload:none,options:a,plugin:{displayName:"下载视频 - 下载弹幕支持",setup:t=>{let{addData:e}=t;e("downloadVideo.assets",(async t=>{const{getBlobByType:e}=await Promise.resolve().then(i.bind(i,871));t.push({name:"downloadDanmaku",displayName:"下载弹幕",getAssets:async(t,i)=>{const{type:n,enabled:r}=i;if(!r)return[];const a=o.Toast.info("获取弹幕中...","下载弹幕");let s=0;const l=await Promise.allSettled(t.map((async i=>{const o=await e(n,i.input);return s++,a.message=`获取弹幕中... (${s}/${t.length})`,{name:`${i.input.title}.${n}`,data:o}}))),c=l.filter((t=>"fulfilled"===t.status)),d=l.filter((t=>"rejected"===t.status));return a.message=`获取完成. 成功 ${c.length} 个, 失败 ${d.length} 个.`,c.map((t=>t.value))},component:()=>Promise.resolve().then(i.bind(i,842)).then((t=>t.default))})}))}},urlInclude:r.videoAndBangumiUrls,widget:{condition:e.hasVideo,component:()=>Promise.resolve().then(i.bind(i,738)).then((t=>t.default))},commitHash:"d87d69cfb9d7e0124bd90a06fec4569bd61e02c5",coreVersion:"2.10.7"})})(),n=n.component})())); //# sourceMappingURL=https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/registry/dist/components/video/danmaku/download.js.map \ No newline at end of file diff --git a/bb-evolved/registry/dist/components/video/danmaku/expand.js b/bb-evolved/registry/dist/components/video/danmaku/expand.js index 8d40702d29..a6db3fb325 100644 --- a/bb-evolved/registry/dist/components/video/danmaku/expand.js +++ b/bb-evolved/registry/dist/components/video/danmaku/expand.js @@ -1,2 +1,2 @@ -!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["video/danmaku/expand"]=t():e["video/danmaku/expand"]=t()}(globalThis,(()=>(()=>{var e,t,i={102:(e,t,i)=>{"use strict";i.d(t,{getDanmakuView:()=>s});const o=coreApis.runtimeLibrary,n={nested:{DmWebViewReply:{fields:{state:{type:"int32",id:1},text:{type:"string",id:2},textSide:{type:"string",id:3},dmSge:{type:"DmSegConfig",id:4},flag:{type:"DanmakuFlagConfig",id:5},specialDms:{rule:"repeated",type:"string",id:6},checkBox:{type:"bool",id:7},count:{type:"int64",id:8},commandDms:{rule:"repeated",type:"CommandDm",id:9},dmSetting:{type:"DanmuWebPlayerConfig",id:10}}},CommandDm:{fields:{id:{type:"int64",id:1},oid:{type:"int64",id:2},mid:{type:"int64",id:3},command:{type:"string",id:4},content:{type:"string",id:5},progress:{type:"int32",id:6},ctime:{type:"string",id:7},mtime:{type:"string",id:8},extra:{type:"string",id:9},idStr:{type:"string",id:10}}},DmSegConfig:{fields:{pageSize:{type:"int64",id:1},total:{type:"int64",id:2}}},DanmakuFlagConfig:{fields:{recFlag:{type:"int32",id:1},recText:{type:"string",id:2},recSwitch:{type:"int32",id:3}}},DmSegMobileReply:{fields:{elems:{rule:"repeated",type:"DanmakuElem",id:1}}},DanmakuElem:{fields:{id:{type:"int64",id:1},progress:{type:"int32",id:2},mode:{type:"int32",id:3},fontsize:{type:"int32",id:4},color:{type:"uint32",id:5},midHash:{type:"string",id:6},content:{type:"string",id:7},ctime:{type:"int64",id:8},weight:{type:"int32",id:9},action:{type:"string",id:10},pool:{type:"int32",id:11},idStr:{type:"string",id:12},attr:{type:"int32",id:13}}},DanmuWebPlayerConfig:{fields:{dmSwitch:{type:"bool",id:1},aiSwitch:{type:"bool",id:2},aiLevel:{type:"int32",id:3},blocktop:{type:"bool",id:4},blockscroll:{type:"bool",id:5},blockbottom:{type:"bool",id:6},blockcolor:{type:"bool",id:7},blockspecial:{type:"bool",id:8},preventshade:{type:"bool",id:9},dmask:{type:"bool",id:10},opacity:{type:"float",id:11},dmarea:{type:"int32",id:12},speedplus:{type:"float",id:13},fontsize:{type:"float",id:14},screensync:{type:"bool",id:15},speedsync:{type:"bool",id:16},fontfamily:{type:"string",id:17},bold:{type:"bool",id:18},fontborder:{type:"int32",id:19},drawType:{type:"string",id:20}}}}},r=lodash.curry((async(e,t)=>{const i=new Uint8Array("arrayBuffer"in Blob.prototype?await t.arrayBuffer():await new Response(t).arrayBuffer()),r=(await o.protobufLibrary).Root.fromJSON(n).lookupType(e),d=r.decode(i);return r.toObject(d)})),d=(r("DmSegMobileReply"),r("DmWebViewReply")),a=async e=>(await unsafeWindow.fetch(e,{mode:"cors",credentials:"include"})).blob(),s=async(e,t)=>{const i=await a(`https://api.bilibili.com/x/v2/dm/web/view?type=1&oid=${t}&pid=${e}`);if(!i)throw new Error("获取弹幕信息失败");return await d(i)}},666:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=666,e.exports=t},617:e=>{"use strict";e.exports="每次加载视频时自动展开弹幕列表, 如果弹幕装载量超过 `最大弹幕数量`, 则不展开以免对页面造成卡顿. (`最大弹幕数量` 是和视频的总弹幕量对比, 不一定和播放器实际装载的弹幕量相等)\n"}},o={};function n(e){var t=o[e];if(void 0!==t)return t.exports;var r=o[e]={exports:{}};return i[e](r,r.exports,n),r.exports}t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,n.t=function(i,o){if(1&o&&(i=this(i)),8&o)return i;if("object"==typeof i&&i){if(4&o&&i.__esModule)return i;if(16&o&&"function"==typeof i.then)return i}var r=Object.create(null);n.r(r);var d={};e=e||[null,t({}),t([]),t(t)];for(var a=2&o&&i;"object"==typeof a&&!~e.indexOf(a);a=t(a))Object.getOwnPropertyNames(a).forEach((e=>d[e]=()=>i[e]));return d.default=()=>i,n.d(r,d),r},n.d=(e,t)=>{for(var i in t)n.o(t,i)&&!n.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var r={};return(()=>{"use strict";n.d(r,{component:()=>s});const e=coreApis.componentApis.define,t=coreApis.observer,i=coreApis.spinQuery,o=coreApis.utils,d=coreApis.utils.log,a=coreApis.utils.urls,s=(0,e.defineComponentMetadata)({name:"expandDanmakuList",displayName:"展开弹幕列表",entry:async e=>{let{settings:{options:r}}=e;const s=(0,d.useScopedConsole)("展开弹幕列表"),{getDanmakuView:p}=await Promise.resolve().then(n.bind(n,102));(0,t.videoChange)((async e=>{let{aid:t,cid:n}=e;if(a.mediaListUrls.some((e=>(0,o.matchUrlPattern)(e)))&&r.ignoreMediaList)return;const d=(await p(t,n)).count;if(s.log(`当前弹幕量: ${d}`),null!==d&&d>r.maxDanmakuCount)return void s.log(`超过了最大弹幕数量 ${r.maxDanmakuCount}, 跳过展开`);const l=await(0,i.select)(".bui-collapse-wrap");if(dq(".multi-page-v1, .base-video-sections-v1, .video-pod")&&r.ignoreWithEpisodes)s.log("检测到选集, 跳过展开");else if(l&&l.classList.contains("bui-collapse-wrap-folded")){const e=await(0,i.select)(".bui-collapse-header");e?.click()}}))},tags:[componentsTags.video],options:{ignoreMediaList:{defaultValue:!0,displayName:"合集类页面不自动展开"},ignoreWithEpisodes:{defaultValue:!0,displayName:"有选集时不自动展开"},maxDanmakuCount:{defaultValue:500,displayName:"最大弹幕数量"}},urlInclude:[...a.videoAndBangumiUrls,...a.mediaListUrls],commitHash:"58c0b438ca2371e397f70466a91572cb2757b142",coreVersion:"2.10.7",description:(()=>{const e=n(666);return{...Object.fromEntries(e.keys().map((t=>[t.match(/index\.(.+)\.md$/)[1],e(t)]))),"zh-CN":()=>Promise.resolve().then(n.t.bind(n,617,17)).then((e=>e.default))}})()})})(),r=r.component})())); +!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["video/danmaku/expand"]=t():e["video/danmaku/expand"]=t()}(globalThis,(()=>(()=>{var e,t,i={102:(e,t,i)=>{"use strict";i.d(t,{getDanmakuView:()=>s});const o=coreApis.runtimeLibrary,n={nested:{DmWebViewReply:{fields:{state:{type:"int32",id:1},text:{type:"string",id:2},textSide:{type:"string",id:3},dmSge:{type:"DmSegConfig",id:4},flag:{type:"DanmakuFlagConfig",id:5},specialDms:{rule:"repeated",type:"string",id:6},checkBox:{type:"bool",id:7},count:{type:"int64",id:8},commandDms:{rule:"repeated",type:"CommandDm",id:9},dmSetting:{type:"DanmuWebPlayerConfig",id:10}}},CommandDm:{fields:{id:{type:"int64",id:1},oid:{type:"int64",id:2},mid:{type:"int64",id:3},command:{type:"string",id:4},content:{type:"string",id:5},progress:{type:"int32",id:6},ctime:{type:"string",id:7},mtime:{type:"string",id:8},extra:{type:"string",id:9},idStr:{type:"string",id:10}}},DmSegConfig:{fields:{pageSize:{type:"int64",id:1},total:{type:"int64",id:2}}},DanmakuFlagConfig:{fields:{recFlag:{type:"int32",id:1},recText:{type:"string",id:2},recSwitch:{type:"int32",id:3}}},DmSegMobileReply:{fields:{elems:{rule:"repeated",type:"DanmakuElem",id:1}}},DanmakuElem:{fields:{id:{type:"int64",id:1},progress:{type:"int32",id:2},mode:{type:"int32",id:3},fontsize:{type:"int32",id:4},color:{type:"uint32",id:5},midHash:{type:"string",id:6},content:{type:"string",id:7},ctime:{type:"int64",id:8},weight:{type:"int32",id:9},action:{type:"string",id:10},pool:{type:"int32",id:11},idStr:{type:"string",id:12},attr:{type:"int32",id:13}}},DanmuWebPlayerConfig:{fields:{dmSwitch:{type:"bool",id:1},aiSwitch:{type:"bool",id:2},aiLevel:{type:"int32",id:3},blocktop:{type:"bool",id:4},blockscroll:{type:"bool",id:5},blockbottom:{type:"bool",id:6},blockcolor:{type:"bool",id:7},blockspecial:{type:"bool",id:8},preventshade:{type:"bool",id:9},dmask:{type:"bool",id:10},opacity:{type:"float",id:11},dmarea:{type:"int32",id:12},speedplus:{type:"float",id:13},fontsize:{type:"float",id:14},screensync:{type:"bool",id:15},speedsync:{type:"bool",id:16},fontfamily:{type:"string",id:17},bold:{type:"bool",id:18},fontborder:{type:"int32",id:19},drawType:{type:"string",id:20}}}}},d=lodash.curry((async(e,t)=>{const i=new Uint8Array("arrayBuffer"in Blob.prototype?await t.arrayBuffer():await new Response(t).arrayBuffer()),d=(await o.protobufLibrary).Root.fromJSON(n).lookupType(e),r=d.decode(i);return d.toObject(r)})),r=(d("DmSegMobileReply"),d("DmWebViewReply")),a=async e=>(await unsafeWindow.fetch(e,{mode:"cors",credentials:"include"})).blob(),s=async(e,t)=>{const i=await a(`https://api.bilibili.com/x/v2/dm/web/view?type=1&oid=${t}&pid=${e}`);if(!i)throw new Error("获取弹幕信息失败");return await r(i)}},666:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=666,e.exports=t},617:e=>{"use strict";e.exports="每次加载视频时自动展开弹幕列表, 如果弹幕装载量超过 `最大弹幕数量`, 则不展开以免对页面造成卡顿. (`最大弹幕数量` 是和视频的总弹幕量对比, 不一定和播放器实际装载的弹幕量相等)\n"}},o={};function n(e){var t=o[e];if(void 0!==t)return t.exports;var d=o[e]={exports:{}};return i[e](d,d.exports,n),d.exports}t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,n.t=function(i,o){if(1&o&&(i=this(i)),8&o)return i;if("object"==typeof i&&i){if(4&o&&i.__esModule)return i;if(16&o&&"function"==typeof i.then)return i}var d=Object.create(null);n.r(d);var r={};e=e||[null,t({}),t([]),t(t)];for(var a=2&o&&i;"object"==typeof a&&!~e.indexOf(a);a=t(a))Object.getOwnPropertyNames(a).forEach((e=>r[e]=()=>i[e]));return r.default=()=>i,n.d(d,r),d},n.d=(e,t)=>{for(var i in t)n.o(t,i)&&!n.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var d={};return(()=>{"use strict";n.d(d,{component:()=>s});const e=coreApis.componentApis.define,t=coreApis.observer,i=coreApis.spinQuery,o=coreApis.utils,r=coreApis.utils.log,a=coreApis.utils.urls,s=(0,e.defineComponentMetadata)({name:"expandDanmakuList",displayName:"展开弹幕列表",entry:async e=>{let{settings:{options:d}}=e;const s=(0,r.useScopedConsole)("展开弹幕列表"),{getDanmakuView:p}=await Promise.resolve().then(n.bind(n,102));(0,t.videoChange)((async e=>{let{aid:t,cid:n}=e;if(a.mediaListUrls.some((e=>(0,o.matchUrlPattern)(e)))&&d.ignoreMediaList)return;const r=(await p(t,n)).count;if(s.log(`当前弹幕量: ${r}`),null!==r&&r>d.maxDanmakuCount)return void s.log(`超过了最大弹幕数量 ${d.maxDanmakuCount}, 跳过展开`);const l=await(0,i.select)(".bui-collapse-wrap");if(dq(".multi-page-v1, .base-video-sections-v1, .video-pod")&&d.ignoreWithEpisodes)s.log("检测到选集, 跳过展开");else if(l&&l.classList.contains("bui-collapse-wrap-folded")){const e=await(0,i.select)(".bui-collapse-header");e?.click()}}))},tags:[componentsTags.video],options:{ignoreMediaList:{defaultValue:!0,displayName:"合集类页面不自动展开"},ignoreWithEpisodes:{defaultValue:!0,displayName:"有选集时不自动展开"},maxDanmakuCount:{defaultValue:500,displayName:"最大弹幕数量"}},urlInclude:[...a.videoAndBangumiUrls,...a.mediaListUrls],commitHash:"d87d69cfb9d7e0124bd90a06fec4569bd61e02c5",coreVersion:"2.10.7",description:(()=>{const e=n(666);return{...Object.fromEntries(e.keys().map((t=>[t.match(/index\.(.+)\.md$/)[1],e(t)]))),"zh-CN":()=>Promise.resolve().then(n.t.bind(n,617,17)).then((e=>e.default))}})()})})(),d=d.component})())); //# sourceMappingURL=https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/registry/dist/components/video/danmaku/expand.js.map \ No newline at end of file diff --git a/bb-evolved/registry/dist/components/video/danmaku/unescape.js b/bb-evolved/registry/dist/components/video/danmaku/unescape.js index 701dbb354d..a094608e41 100644 --- a/bb-evolved/registry/dist/components/video/danmaku/unescape.js +++ b/bb-evolved/registry/dist/components/video/danmaku/unescape.js @@ -1,2 +1,2 @@ -!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["video/danmaku/unescape"]=t():e["video/danmaku/unescape"]=t()}(globalThis,(()=>(()=>{var e,t,o={334:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=334,e.exports=t},957:e=>{"use strict";e.exports="将弹幕中的 `\\n` 或 `/n` 替换为真实的换行, 注意这可能导致原先不重叠的弹幕发生重叠.\n"}},n={};function r(e){var t=n[e];if(void 0!==t)return t.exports;var a=n[e]={exports:{}};return o[e](a,a.exports,r),a.exports}t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,r.t=function(o,n){if(1&n&&(o=this(o)),8&n)return o;if("object"==typeof o&&o){if(4&n&&o.__esModule)return o;if(16&n&&"function"==typeof o.then)return o}var a=Object.create(null);r.r(a);var i={};e=e||[null,t({}),t([]),t(t)];for(var s=2&n&&o;"object"==typeof s&&!~e.indexOf(s);s=t(s))Object.getOwnPropertyNames(s).forEach((e=>i[e]=()=>o[e]));return i.default=()=>o,r.d(a,i),a},r.d=(e,t)=>{for(var o in t)r.o(t,o)&&!r.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var a={};return(()=>{"use strict";r.d(a,{component:()=>o});const e=coreApis.componentApis.define,t=coreApis.componentApis.video.videoDanmaku,o=(0,e.defineComponentMetadata)({name:"unescapeDanmaku",displayName:"弹幕转义",tags:[componentsTags.video],options:{backSlash:{defaultValue:!0,displayName:"对 \\n 转义"},forwardSlash:{defaultValue:!0,displayName:"对 /n 转义"}},entry:e=>{let{settings:o}=e;const n=o.options.backSlash&&o.options.forwardSlash?/\\n|\/n/g:o.options.backSlash?/\\n/g:/\/n/g,r=(e,t)=>{const o=[...e.children];o.length>0&&o.forEach((e=>r(e,t)));[...e.childNodes].filter((e=>e.nodeType===Node.TEXT_NODE)).forEach((e=>e.textContent=t))};(0,t.forEachVideoDanmaku)({added:e=>{if(n.test(e.text)){const t=e.text.replace(n,"\n");r(e.element,t)}}})},commitHash:"58c0b438ca2371e397f70466a91572cb2757b142",coreVersion:"2.10.7",description:(()=>{const e=r(334);return{...Object.fromEntries(e.keys().map((t=>[t.match(/index\.(.+)\.md$/)[1],e(t)]))),"zh-CN":()=>Promise.resolve().then(r.t.bind(r,957,17)).then((e=>e.default))}})()})})(),a=a.component})())); +!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["video/danmaku/unescape"]=t():e["video/danmaku/unescape"]=t()}(globalThis,(()=>(()=>{var e,t,o={334:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=334,e.exports=t},957:e=>{"use strict";e.exports="将弹幕中的 `\\n` 或 `/n` 替换为真实的换行, 注意这可能导致原先不重叠的弹幕发生重叠.\n"}},n={};function r(e){var t=n[e];if(void 0!==t)return t.exports;var a=n[e]={exports:{}};return o[e](a,a.exports,r),a.exports}t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,r.t=function(o,n){if(1&n&&(o=this(o)),8&n)return o;if("object"==typeof o&&o){if(4&n&&o.__esModule)return o;if(16&n&&"function"==typeof o.then)return o}var a=Object.create(null);r.r(a);var i={};e=e||[null,t({}),t([]),t(t)];for(var d=2&n&&o;"object"==typeof d&&!~e.indexOf(d);d=t(d))Object.getOwnPropertyNames(d).forEach((e=>i[e]=()=>o[e]));return i.default=()=>o,r.d(a,i),a},r.d=(e,t)=>{for(var o in t)r.o(t,o)&&!r.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var a={};return(()=>{"use strict";r.d(a,{component:()=>o});const e=coreApis.componentApis.define,t=coreApis.componentApis.video.videoDanmaku,o=(0,e.defineComponentMetadata)({name:"unescapeDanmaku",displayName:"弹幕转义",tags:[componentsTags.video],options:{backSlash:{defaultValue:!0,displayName:"对 \\n 转义"},forwardSlash:{defaultValue:!0,displayName:"对 /n 转义"}},entry:e=>{let{settings:o}=e;const n=o.options.backSlash&&o.options.forwardSlash?/\\n|\/n/g:o.options.backSlash?/\\n/g:/\/n/g,r=(e,t)=>{const o=[...e.children];o.length>0&&o.forEach((e=>r(e,t)));[...e.childNodes].filter((e=>e.nodeType===Node.TEXT_NODE)).forEach((e=>e.textContent=t))};(0,t.forEachVideoDanmaku)({added:e=>{if(n.test(e.text)){const t=e.text.replace(n,"\n");r(e.element,t)}}})},commitHash:"d87d69cfb9d7e0124bd90a06fec4569bd61e02c5",coreVersion:"2.10.7",description:(()=>{const e=r(334);return{...Object.fromEntries(e.keys().map((t=>[t.match(/index\.(.+)\.md$/)[1],e(t)]))),"zh-CN":()=>Promise.resolve().then(r.t.bind(r,957,17)).then((e=>e.default))}})()})})(),a=a.component})())); //# sourceMappingURL=https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/registry/dist/components/video/danmaku/unescape.js.map \ No newline at end of file diff --git a/bb-evolved/registry/dist/components/video/default-location.js b/bb-evolved/registry/dist/components/video/default-location.js index ae39a0a161..0720529676 100644 --- a/bb-evolved/registry/dist/components/video/default-location.js +++ b/bb-evolved/registry/dist/components/video/default-location.js @@ -1,4 +1,4 @@ -!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["video/default-location"]=t():e["video/default-location"]=t()}(globalThis,(()=>(()=>{var e={445:(e,t,n)=>{"use strict";n.d(t,{component:()=>u,h:()=>l,H:()=>s});const o=coreApis.componentApis.define,i=coreApis.utils.urls,a=coreApis.spinQuery,r="//www.bilibili.com/video/",s={withTitle:{displayName:"带标题视频页",urls:[r,...i.mediaListUrls]},noTitle:{displayName:"无标题视频页",urls:[...i.bangumiUrls,...i.cheeseUrls]},bnj:{displayName:"拜年纪视频页",urls:[/\/\/www\.bilibili\.com\/festival\/(\d+)bnj/]}},l=lodash.once((()=>{for(const[e,{urls:t}]of Object.entries(s))if((0,i.matchCurrentPage)(t))return e;return null}));class c{constructor(e,t){this.lastMoment=e,this.result=t}}const d=async()=>{const e=6e4,t=(0,a.select)(".bb-comment",{maxRetry:50,queryInterval:600}),n=[e/2,e,3*e].map((e=>({time:e,callback:async e=>{console.warn(`[videoDefaultLocation] waiting more than ${e}ms for the page to load`)}}))),o=(await async function(e,t){let n={time:0,callback:none},o=null;const i=t[Symbol.iterator](),a=()=>{const e=i.next();if(!e.done){const t=e.value;o=setTimeout((()=>{o=null,n.callback(n.time),n=t,a()}),t.time-n.time)}};a();const r=await e;return null!==o&&clearTimeout(o),new c(n.time,r)}(t,n)).result;return null!==o||(console.error("[videoDefaultLocation] waiting for page load timeout"),!1)},u=(0,o.defineComponentMetadata)({name:"videoDefaultLocation",displayName:"视频页默认定位",tags:[componentsTags.video],urlInclude:i.allVideoUrls,description:{"zh-CN":"打开视频/番剧时自动定位到指定位置\n\n位置:距离页面顶部的像素距离\\\n默认位置:打开视频时自动定位到此处\\\n位置测试:查看、调整当前页面所在位置\n\n当前版本限制默认位置的最大值为 4000。\\\n若有其他希望支持的页面,请提交反馈。\\\n脚本不会等待评论完全加载,因此较大的默认位置将无法正确定位。\n"},extraOptions:()=>Promise.resolve().then(n.bind(n,933)).then((e=>e.default)),options:{locations:{defaultValue:lodash.mapValues(s,(()=>0)),hidden:!0}},entry:async e=>{let{settings:{options:{locations:t}}}=e;const n=window?.performance?.getEntriesByType("navigation");if(1!==n?.length)return void console.error(`[videoDefaultLocation] 无法处理 PerformanceNavigationTiming 不是一个的情况。url: ${window.location.href}`);if("navigate"!==n[0].type)return;if((0,i.matchCurrentPage)(r)){const e=unsafeWindow.scrollTo;unsafeWindow.scrollTo=()=>{unsafeWindow.scrollTo=e}}const o=l();if(null===o)return void console.error(`[videoDefaultLocation] unknown page type. url: ${window.location.href}`);const a=t[o],s=document.documentElement;(a{var o=n(904),i=n(955)(o);i.push([e.id,".video-default-location-extend-box {\n border-radius: 4px;\n box-shadow: 0 0 0 1px #8884;\n}\n.video-default-location-extend-box-bar {\n display: flex;\n justify-content: space-between;\n align-items: center;\n border-radius: 4px;\n box-shadow: 0 1px #8884;\n cursor: pointer;\n}\n.video-default-location-extend-box-bar-text {\n height: 24px;\n line-height: 24px;\n padding: 0 8px;\n}\n.video-default-location-extend-box-bar-btn {\n display: flex;\n align-items: center;\n justify-content: center;\n height: 24px;\n width: 24px;\n color: #888a;\n}\n.video-default-location-extend-box-bar-btn-animation {\n animation: video-default-location-extend-box-bar-btn-animation-keyframes 0.3s;\n}\n@keyframes video-default-location-extend-box-bar-btn-animation-keyframes {\n50% {\n transform: rotateX(90deg);\n}\n}\n.video-default-location-extend-box-bar {\n transition: box-shadow 0.2s ease-out;\n}\n.video-default-location-extend-box-hidden .video-default-location-extend-box-bar {\n box-shadow: 0 0 #8884;\n}\n.video-default-location-extend-box-content-wrap {\n overflow: hidden;\n}\n.video-default-location-extend-box-content-transition-enter-active,\n.video-default-location-extend-box-content-transition-leave-active {\n transition: margin-top 0.2s ease-out;\n}\n.video-default-location-extend-box-content-transition-enter,\n.video-default-location-extend-box-content-transition-leave-to {\n margin-top: -100%;\n}","",{version:3,sources:["webpack://./registry/lib/components/video/default-location/ExtendBox.vue"],names:[],mappings:"AAAA;EACE,kBAAkB;EAClB,2BAA2B;AAC7B;AAEA;EACE,aAAa;EACb,8BAA8B;EAC9B,mBAAmB;EACnB,kBAAkB;EAClB,uBAAuB;EACvB,eAAe;AACjB;AAEA;EACE,YAAY;EACZ,iBAAiB;EACjB,cAAc;AAChB;AAEA;EACE,aAAa;EACb,mBAAmB;EACnB,uBAAuB;EACvB,YAAY;EACZ,WAAW;EACX,YAAY;AACd;AAEA;EACE,6EAA6E;AAC/E;AAEA;AACE;IACE,yBAAyB;AAC3B;AACF;AACA;EACE,oCAAoC;AACtC;AAEA;EACE,qBAAqB;AACvB;AAEA;EACE,gBAAgB;AAClB;AAEA;;EAEE,oCAAoC;AACtC;AAEA;;EAEE,iBAAiB;AACnB",sourcesContent:[".video-default-location-extend-box {\n border-radius: 4px;\n box-shadow: 0 0 0 1px #8884;\n}\n\n.video-default-location-extend-box-bar {\n display: flex;\n justify-content: space-between;\n align-items: center;\n border-radius: 4px;\n box-shadow: 0 1px #8884;\n cursor: pointer;\n}\n\n.video-default-location-extend-box-bar-text {\n height: 24px;\n line-height: 24px;\n padding: 0 8px;\n}\n\n.video-default-location-extend-box-bar-btn {\n display: flex;\n align-items: center;\n justify-content: center;\n height: 24px;\n width: 24px;\n color: #888a;\n}\n\n.video-default-location-extend-box-bar-btn-animation {\n animation: video-default-location-extend-box-bar-btn-animation-keyframes 0.3s;\n}\n\n@keyframes video-default-location-extend-box-bar-btn-animation-keyframes {\n 50% {\n transform: rotateX(90deg);\n }\n}\n.video-default-location-extend-box-bar {\n transition: box-shadow 0.2s ease-out;\n}\n\n.video-default-location-extend-box-hidden .video-default-location-extend-box-bar {\n box-shadow: 0 0 #8884;\n}\n\n.video-default-location-extend-box-content-wrap {\n overflow: hidden;\n}\n\n.video-default-location-extend-box-content-transition-enter-active,\n.video-default-location-extend-box-content-transition-leave-active {\n transition: margin-top 0.2s ease-out;\n}\n\n.video-default-location-extend-box-content-transition-enter,\n.video-default-location-extend-box-content-transition-leave-to {\n margin-top: -100%;\n}"],sourceRoot:""}]),e.exports=i},373:(e,t,n)=>{var o=n(904),i=n(955)(o);i.push([e.id,".video-default-location-form-line {\n display: flex;\n flex-wrap: wrap;\n align-items: center;\n column-gap: 10px;\n}\n.video-default-location-form-item-grow {\n flex: 1 auto;\n}\n.video-default-location-form-item-not-grow {\n flex: 0 auto;\n}\n.video-default-location-vertical-space {\n height: 8px;\n}\n.video-default-location-options-advanced {\n margin: 8px;\n}","",{version:3,sources:["webpack://./registry/lib/components/video/default-location/Options.vue"],names:[],mappings:"AAAA;EACE,aAAa;EACb,eAAe;EACf,mBAAmB;EACnB,gBAAgB;AAClB;AAEA;EACE,YAAY;AACd;AAEA;EACE,YAAY;AACd;AAEA;EACE,WAAW;AACb;AAEA;EACE,WAAW;AACb",sourcesContent:[".video-default-location-form-line {\n display: flex;\n flex-wrap: wrap;\n align-items: center;\n column-gap: 10px;\n}\n\n.video-default-location-form-item-grow {\n flex: 1 auto;\n}\n\n.video-default-location-form-item-not-grow {\n flex: 0 auto;\n}\n\n.video-default-location-vertical-space {\n height: 8px;\n}\n\n.video-default-location-options-advanced {\n margin: 8px;\n}"],sourceRoot:""}]),e.exports=i},861:(e,t,n)=>{var o=n(904),i=n(955)(o);i.push([e.id,".video-default-location-page-type-selector-icon {\n display: flex;\n align-items: center;\n justify-content: center;\n height: 24px;\n width: 24px;\n color: #888a;\n}","",{version:3,sources:["webpack://./registry/lib/components/video/default-location/PageTypeSelector.vue"],names:[],mappings:"AAAA;EACE,aAAa;EACb,mBAAmB;EACnB,uBAAuB;EACvB,YAAY;EACZ,WAAW;EACX,YAAY;AACd",sourcesContent:[".video-default-location-page-type-selector-icon {\n display: flex;\n align-items: center;\n justify-content: center;\n height: 24px;\n width: 24px;\n color: #888a;\n}"],sourceRoot:""}]),e.exports=i},955:e=>{"use strict"; +!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["video/default-location"]=t():e["video/default-location"]=t()}(globalThis,(()=>(()=>{var e={445:(e,t,n)=>{"use strict";n.d(t,{component:()=>u,h:()=>l,H:()=>s});const o=coreApis.componentApis.define,i=coreApis.utils.urls,a=coreApis.spinQuery,r="//www.bilibili.com/video/",s={withTitle:{displayName:"带标题视频页",urls:[r,...i.mediaListUrls]},noTitle:{displayName:"无标题视频页",urls:[...i.bangumiUrls,...i.cheeseUrls]},bnj:{displayName:"拜年纪视频页",urls:[/\/\/www\.bilibili\.com\/festival\/(\d+)bnj/]}},l=lodash.once((()=>{for(const[e,{urls:t}]of Object.entries(s))if((0,i.matchCurrentPage)(t))return e;return null}));class c{constructor(e,t){this.lastMoment=e,this.result=t}}const d=async()=>{const e=6e4,t=(0,a.select)(".bb-comment",{maxRetry:50,queryInterval:600}),n=[e/2,e,3*e].map((e=>({time:e,callback:async e=>{console.warn(`[videoDefaultLocation] waiting more than ${e}ms for the page to load`)}}))),o=(await async function(e,t){let n={time:0,callback:none},o=null;const i=t[Symbol.iterator](),a=()=>{const e=i.next();if(!e.done){const t=e.value;o=setTimeout((()=>{o=null,n.callback(n.time),n=t,a()}),t.time-n.time)}};a();const r=await e;return null!==o&&clearTimeout(o),new c(n.time,r)}(t,n)).result;return null!==o||(console.error("[videoDefaultLocation] waiting for page load timeout"),!1)},u=(0,o.defineComponentMetadata)({name:"videoDefaultLocation",displayName:"视频页默认定位",tags:[componentsTags.video],urlInclude:i.allVideoUrls,description:{"zh-CN":"打开视频/番剧时自动定位到指定位置\n\n位置:距离页面顶部的像素距离\\\n默认位置:打开视频时自动定位到此处\\\n位置测试:查看、调整当前页面所在位置\n\n当前版本限制默认位置的最大值为 4000。\\\n若有其他希望支持的页面,请提交反馈。\\\n脚本不会等待评论完全加载,因此较大的默认位置将无法正确定位。\n"},extraOptions:()=>Promise.resolve().then(n.bind(n,933)).then((e=>e.default)),options:{locations:{defaultValue:lodash.mapValues(s,(()=>0)),hidden:!0}},entry:async e=>{let{settings:{options:{locations:t}}}=e;const n=window?.performance?.getEntriesByType("navigation");if(1!==n?.length)return void console.error(`[videoDefaultLocation] 无法处理 PerformanceNavigationTiming 不是一个的情况。url: ${window.location.href}`);if("navigate"!==n[0].type)return;if((0,i.matchCurrentPage)(r)){const e=unsafeWindow.scrollTo;unsafeWindow.scrollTo=()=>{unsafeWindow.scrollTo=e}}const o=l();if(null===o)return void console.error(`[videoDefaultLocation] unknown page type. url: ${window.location.href}`);const a=t[o],s=document.documentElement;(a{var o=n(904),i=n(955)(o);i.push([e.id,".video-default-location-extend-box {\n border-radius: 4px;\n box-shadow: 0 0 0 1px #8884;\n}\n.video-default-location-extend-box-bar {\n display: flex;\n justify-content: space-between;\n align-items: center;\n border-radius: 4px;\n box-shadow: 0 1px #8884;\n cursor: pointer;\n}\n.video-default-location-extend-box-bar-text {\n height: 24px;\n line-height: 24px;\n padding: 0 8px;\n}\n.video-default-location-extend-box-bar-btn {\n display: flex;\n align-items: center;\n justify-content: center;\n height: 24px;\n width: 24px;\n color: #888a;\n}\n.video-default-location-extend-box-bar-btn-animation {\n animation: video-default-location-extend-box-bar-btn-animation-keyframes 0.3s;\n}\n@keyframes video-default-location-extend-box-bar-btn-animation-keyframes {\n50% {\n transform: rotateX(90deg);\n}\n}\n.video-default-location-extend-box-bar {\n transition: box-shadow 0.2s ease-out;\n}\n.video-default-location-extend-box-hidden .video-default-location-extend-box-bar {\n box-shadow: 0 0 #8884;\n}\n.video-default-location-extend-box-content-wrap {\n overflow: hidden;\n}\n.video-default-location-extend-box-content-transition-enter-active,\n.video-default-location-extend-box-content-transition-leave-active {\n transition: margin-top 0.2s ease-out;\n}\n.video-default-location-extend-box-content-transition-enter,\n.video-default-location-extend-box-content-transition-leave-to {\n margin-top: -100%;\n}","",{version:3,sources:["webpack://./registry/lib/components/video/default-location/ExtendBox.vue"],names:[],mappings:"AAAA;EACE,kBAAkB;EAClB,2BAA2B;AAC7B;AAEA;EACE,aAAa;EACb,8BAA8B;EAC9B,mBAAmB;EACnB,kBAAkB;EAClB,uBAAuB;EACvB,eAAe;AACjB;AAEA;EACE,YAAY;EACZ,iBAAiB;EACjB,cAAc;AAChB;AAEA;EACE,aAAa;EACb,mBAAmB;EACnB,uBAAuB;EACvB,YAAY;EACZ,WAAW;EACX,YAAY;AACd;AAEA;EACE,6EAA6E;AAC/E;AAEA;AACE;IACE,yBAAyB;AAC3B;AACF;AACA;EACE,oCAAoC;AACtC;AAEA;EACE,qBAAqB;AACvB;AAEA;EACE,gBAAgB;AAClB;AAEA;;EAEE,oCAAoC;AACtC;AAEA;;EAEE,iBAAiB;AACnB",sourcesContent:[".video-default-location-extend-box {\n border-radius: 4px;\n box-shadow: 0 0 0 1px #8884;\n}\n\n.video-default-location-extend-box-bar {\n display: flex;\n justify-content: space-between;\n align-items: center;\n border-radius: 4px;\n box-shadow: 0 1px #8884;\n cursor: pointer;\n}\n\n.video-default-location-extend-box-bar-text {\n height: 24px;\n line-height: 24px;\n padding: 0 8px;\n}\n\n.video-default-location-extend-box-bar-btn {\n display: flex;\n align-items: center;\n justify-content: center;\n height: 24px;\n width: 24px;\n color: #888a;\n}\n\n.video-default-location-extend-box-bar-btn-animation {\n animation: video-default-location-extend-box-bar-btn-animation-keyframes 0.3s;\n}\n\n@keyframes video-default-location-extend-box-bar-btn-animation-keyframes {\n 50% {\n transform: rotateX(90deg);\n }\n}\n.video-default-location-extend-box-bar {\n transition: box-shadow 0.2s ease-out;\n}\n\n.video-default-location-extend-box-hidden .video-default-location-extend-box-bar {\n box-shadow: 0 0 #8884;\n}\n\n.video-default-location-extend-box-content-wrap {\n overflow: hidden;\n}\n\n.video-default-location-extend-box-content-transition-enter-active,\n.video-default-location-extend-box-content-transition-leave-active {\n transition: margin-top 0.2s ease-out;\n}\n\n.video-default-location-extend-box-content-transition-enter,\n.video-default-location-extend-box-content-transition-leave-to {\n margin-top: -100%;\n}"],sourceRoot:""}]),e.exports=i},373:(e,t,n)=>{var o=n(904),i=n(955)(o);i.push([e.id,".video-default-location-form-line {\n display: flex;\n flex-wrap: wrap;\n align-items: center;\n column-gap: 10px;\n}\n.video-default-location-form-item-grow {\n flex: 1 auto;\n}\n.video-default-location-form-item-not-grow {\n flex: 0 auto;\n}\n.video-default-location-vertical-space {\n height: 8px;\n}\n.video-default-location-options-advanced {\n margin: 8px;\n}","",{version:3,sources:["webpack://./registry/lib/components/video/default-location/Options.vue"],names:[],mappings:"AAAA;EACE,aAAa;EACb,eAAe;EACf,mBAAmB;EACnB,gBAAgB;AAClB;AAEA;EACE,YAAY;AACd;AAEA;EACE,YAAY;AACd;AAEA;EACE,WAAW;AACb;AAEA;EACE,WAAW;AACb",sourcesContent:[".video-default-location-form-line {\n display: flex;\n flex-wrap: wrap;\n align-items: center;\n column-gap: 10px;\n}\n\n.video-default-location-form-item-grow {\n flex: 1 auto;\n}\n\n.video-default-location-form-item-not-grow {\n flex: 0 auto;\n}\n\n.video-default-location-vertical-space {\n height: 8px;\n}\n\n.video-default-location-options-advanced {\n margin: 8px;\n}"],sourceRoot:""}]),e.exports=i},861:(e,t,n)=>{var o=n(904),i=n(955)(o);i.push([e.id,".video-default-location-page-type-selector-icon {\n display: flex;\n align-items: center;\n justify-content: center;\n height: 24px;\n width: 24px;\n color: #888a;\n}","",{version:3,sources:["webpack://./registry/lib/components/video/default-location/PageTypeSelector.vue"],names:[],mappings:"AAAA;EACE,aAAa;EACb,mBAAmB;EACnB,uBAAuB;EACvB,YAAY;EACZ,WAAW;EACX,YAAY;AACd",sourcesContent:[".video-default-location-page-type-selector-icon {\n display: flex;\n align-items: center;\n justify-content: center;\n height: 24px;\n width: 24px;\n color: #888a;\n}"],sourceRoot:""}]),e.exports=i},955:e=>{"use strict"; // eslint-disable-next-line func-names e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n=e(t);return t[2]?"@media ".concat(t[2]," {").concat(n,"}"):n})).join("")}, // eslint-disable-next-line func-names diff --git a/bb-evolved/registry/dist/components/video/download.js b/bb-evolved/registry/dist/components/video/download.js index f7c4c981a2..33623fdb97 100644 --- a/bb-evolved/registry/dist/components/video/download.js +++ b/bb-evolved/registry/dist/components/video/download.js @@ -14,5 +14,5 @@ var a=btoa(unescape(encodeURIComponent(JSON.stringify(o)))),s="sourceMappingURL= i=Boolean(window&&document&&document.all&&!window.atob)),i},a=function(){var e={};return function(t){if(void 0===e[t]){var n=document.querySelector(t);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}e[t]=n}return e[t]}}(),s=[];function r(e){for(var t=-1,n=0;n{"use strict";n.r(t),n.d(t,{default:()=>Z});var i=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("VPopup",{staticClass:"download-video-panel",attrs:{fixed:"","trigger-element":e.triggerElement},model:{value:e.open,callback:function(t){e.open=t},expression:"open"}},[t("div",{staticClass:"download-video-panel-header"},[t("VIcon",{attrs:{icon:"mdi-download"}}),e._v(" "),t("div",{staticClass:"title"},[e._v("下载视频")]),e._v(" "),t("VButton",{attrs:{type:"transparent",title:"关闭"},on:{click:function(t){e.open=!1}}},[t("VIcon",{attrs:{icon:"mdi-close",size:20}})],1)],1),e._v(" "),t("div",{staticClass:"download-video-panel-content"},[e.selectedInput?t("div",{staticClass:"download-video-config-item"},[t("div",{staticClass:"download-video-config-title"},[e._v("输入源:")]),e._v(" "),t("VDropdown",{attrs:{items:e.inputs},model:{value:e.selectedInput,callback:function(t){e.selectedInput=t},expression:"selectedInput"}})],1):e._e(),e._v(" "),0===e.inputs.length?t("div",{staticClass:"download-video-config-item error"},[e._v("\n 没有匹配的输入源, 请确保安装了适合此页面的插件.\n ")]):e._e(),e._v(" "),e.selectedInput&&e.selectedInput.component?t(e.selectedInput.component,{ref:"inputOptions",tag:"component"}):e._e(),e._v(" "),e.selectedApi?t("div",{staticClass:"download-video-config-item"},[t("div",{staticClass:"download-video-config-title"},[e._v("格式:")]),e._v(" "),t("VDropdown",{attrs:{items:e.apis},model:{value:e.selectedApi,callback:function(t){e.selectedApi=t},expression:"selectedApi"}})],1):e._e(),e._v(" "),e.selectedApi&&e.selectedApi.description?t("div",{staticClass:"download-video-config-description",domProps:{innerHTML:e._s(e.selectedApi.description)}}):e._e(),e._v(" "),e.selectedQuality?t("div",{staticClass:"download-video-config-item"},[t("div",{staticClass:"download-video-config-title"},[e._v("清晰度:")]),e._v(" "),t("VDropdown",{attrs:{items:e.filteredQualities},on:{change:function(t){return e.saveSelectedQuality()}},model:{value:e.selectedQuality,callback:function(t){e.selectedQuality=t},expression:"selectedQuality"}})],1):e._e(),e._v(" "),!e.testData.multiple&&e.selectedQuality?[e.testData.videoInfo?t("div",{staticClass:"download-video-config-description"},[e._v("\n 预计大小: "+e._s(e.formatFileSize(e.testData.videoInfo.totalSize))+"\n ")]):e._e(),e._v(" "),null===e.testData.videoInfo?t("div",{staticClass:"download-video-config-description"},[e._v("\n 正在计算大小\n ")]):e._e()]:e._e(),e._v(" "),t("div",{staticClass:"download-video-config-item"},[t("div",{staticClass:"download-video-config-title"},[e._v("下载地址偏好:")]),e._v(" "),t("VDropdown",{attrs:{items:e.urlTypeOptions},model:{value:e.preferredUrlType,callback:function(t){e.preferredUrlType=t},expression:"preferredUrlType"}})],1),e._v(" "),t("div",{staticClass:"download-video-config-description"},[e._v("\n 当视频有多个源时, 配置优先使用的源, 各类视频源区别请参考\n "),t("a",{attrs:{href:"https://github.com/the1812/Bilibili-Evolved/issues/3234#issuecomment-1504764774",target:"_blank"}},[e._v("此处")])]),e._v(" "),e._l(e.assetsWithOptions,(function(e){return t(e.component,{key:e.name,ref:"assetsOptions",refInFor:!0,tag:"component",attrs:{name:e.name}})})),e._v(" "),e.selectedOutput?t("div",{staticClass:"download-video-config-item"},[t("div",{staticClass:"download-video-config-title"},[e._v("输出方式:")]),e._v(" "),t("VDropdown",{attrs:{items:e.outputs},model:{value:e.selectedOutput,callback:function(t){e.selectedOutput=t},expression:"selectedOutput"}})],1):e._e(),e._v(" "),e.selectedOutput&&e.selectedOutput.description?t("div",{staticClass:"download-video-config-description",domProps:{innerHTML:e._s(e.selectedOutput.description)}}):e._e(),e._v(" "),e.selectedOutput&&e.selectedOutput.component?t(e.selectedOutput.component,{ref:"outputOptions",tag:"component"}):e._e()],2),e._v(" "),t("div",{staticClass:"download-video-panel-footer"},[t("VButton",{staticClass:"run-download",attrs:{type:"primary",disabled:!e.canStartDownload},on:{click:function(t){return e.startDownload(e.$refs.outputOptions,e.selectedOutput)}}},[e._v("\n 开始\n ")])],1)])};i._withStripped=!0;var o=n(905),a=n(847);const s=coreApis.utils.log;var r=n(82);const d=coreApis.ui,l=coreApis.pluginApis.data;var c=n(179);const p=coreApis.toast;var u=n(121),A=n(416),f=n(161),m=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"episodes-picker download-video-config-section"},[t("div",{staticClass:"episodes-picker-header"},[t("div",{staticClass:"episodes-picker-title"},[e._v("选集:")]),e._v(" "),t("div",{staticClass:"episodes-picker-checked-ratio"},[e._v("\n "+e._s(e.checkedRatio)+"\n ")]),e._v(" "),t("div",{staticClass:"episodes-picker-actions"},[t("VButton",{staticClass:"select-all",attrs:{title:"全选",type:"transparent"},on:{click:function(t){e.forEachItem((e=>e.isChecked=!0))}}},[t("VIcon",{attrs:{size:16,icon:"mdi-checkbox-multiple-marked-circle"}})],1),e._v(" "),t("VButton",{staticClass:"deselect-all",attrs:{title:"全不选",type:"transparent"},on:{click:function(t){e.forEachItem((e=>e.isChecked=!1))}}},[t("VIcon",{attrs:{size:16,icon:"mdi-checkbox-multiple-blank-circle-outline"}})],1),e._v(" "),t("VButton",{staticClass:"invert-selection",attrs:{title:"反选",type:"transparent"},on:{click:function(t){e.forEachItem((e=>e.isChecked=!e.isChecked))}}},[t("VIcon",{attrs:{size:16,icon:"mdi-circle-slice-4"}})],1)],1)]),e._v(" "),t("div",{staticClass:"episodes-picker-items"},[0===e.episodeItems.length?t("div",{staticClass:"episodes-picker-empty"},[t("VEmpty")],1):e._e(),e._v(" "),e._l(e.episodeItems,(function(n,i){return t("div",{key:n.key,staticClass:"episodes-picker-item"},[t("CheckBox",{attrs:{"icon-position":"left","data-aid":n.inputItem.aid,"data-cid":n.inputItem.cid,"data-bvid":n.inputItem.bvid},nativeOn:{click:function(t){return e.shiftSelect(t,n,i)}},model:{value:n.isChecked,callback:function(t){e.$set(n,"isChecked",t)},expression:"item.isChecked"}},[t("span",{staticClass:"episode-title"},[e._v("\n "+e._s(n.title)+"\n ")]),e._v(" "),n.durationText?t("span",{staticClass:"episode-duration"},[e._v("\n "+e._s(n.durationText)+"\n ")]):e._e()])],1)}))],2)])};m._withStripped=!0;const h=Vue.extend({components:{VButton:d.VButton,VIcon:d.VIcon,CheckBox:d.CheckBox,VEmpty:d.VEmpty},props:{api:{type:Function,required:!0}},data:()=>({episodeItems:[],maxCheckedItems:32,lastCheckedEpisodeIndex:-1}),computed:{checkedRatio(){return`(${this.episodeItems.filter((e=>e.isChecked)).length}/${this.episodeItems.length})`},inputItems(){return this.episodeItems.map((e=>e.inputItem))},checkedInputItems(){return this.episodeItems.filter((e=>e.isChecked)).map((e=>e.inputItem))}},created(){this.getEpisodeItems()},methods:{shiftSelect(e,t,n){e.shiftKey&&-1!==this.lastCheckedEpisodeIndex?e.shiftKey&&-1!==this.lastCheckedEpisodeIndex&&(this.episodeItems.slice(Math.min(this.lastCheckedEpisodeIndex,n)+1,Math.max(this.lastCheckedEpisodeIndex,n)).forEach((e=>{e.isChecked=!e.isChecked})),this.lastCheckedEpisodeIndex=n,e.preventDefault()):this.lastCheckedEpisodeIndex=n},forEachItem(e){this.episodeItems.forEach(e)},async getEpisodeItems(){this.episodeItems.length>0||(this.episodeItems=await this.api(this))}}});var v=n(991),g=n.n(v),b=n(626),C=n.n(b),y={insert:"head",singleton:!1};g()(C(),y);C().locals;var w=n(678);const x=(0,w.A)(h,m,[],!1,null,null,null).exports,E=e=>Vue.extend({computed:{checkedInputItems(){return this.$refs.picker.checkedInputItems}},render:t=>t(x,{props:{api:e},ref:"picker"})}),B={name:"bangumi.batch",displayName:"当前番剧 (多P)",match:f.bangumiUrls,batch:!0,getInputs:async e=>e?.checkedInputItems??[],component:async()=>E((async e=>{const t=dq('script[type="application/ld+json"]');if(!t)return(0,s.logError)("获取番剧数据失败: 无法找到 Metadata"),[];const n=JSON.parse(t.innerHTML.trim()),i=lodash.get(n,"itemListElement.0.url",null);if(null===i)return(0,s.logError)("获取番剧数据失败: 无法找到 metaUrl"),[];const a=i.match(/play\/ss(\d+)/)?.[1];if(void 0===a)return(0,s.logError)("获取番剧数据失败: 无法解析 Season ID"),[];const d=await(0,A.getJson)(`https://api.bilibili.com/pgc/web/season/section?season_id=${a}`);if(0!==d.code)return(0,s.logError)(`获取番剧数据失败: 无法获取番剧集数列表, message=${d.message}`),[];const l=[...d.result.main_section.episodes,...d.result.section?.flatMap((e=>e.episodes))??[]];return l.map((c=l.length,(t,n)=>{const i=t.long_title?t.title:(n+1).toString(),a=t.long_title?t.long_title:t.title;return{key:t.cid,title:`${i} - ${a}`,isChecked:ne?.checkedInputItems??[],component:async()=>E((async e=>{const{aid:t}=unsafeWindow,n=`https://api.bilibili.com/x/web-interface/view?aid=${t}`,i=await(0,A.getJsonWithCredentials)(n);if(0!==i.code)return(0,s.logError)(`获取视频选集列表失败, message = ${i.message}`),[];const{pages:a,owner:d,pubdate:l}=i.data;if(void 0===a)return(0,s.logError)("获取视频选集列表失败, 没有找到选集信息."),[];const c=(0,u.getTitleVariablesFromDate)(new Date(1e3*l));return a.map(((n,i)=>({key:n.cid,title:`P${n.page} ${n.part}`,isChecked:ie?.checkedInputItems??[],component:async()=>E((async e=>{const{aid:t,bvid:n}=unsafeWindow,i=`https://api.bilibili.com/x/web-interface/wbi/view/detail?bvid=${n}&aid=${t}`,a=await(0,A.getJsonWithCredentials)(i);if(0!==a.code)return(0,s.logError)(`获取视频合集列表失败, message = ${a.message}`),[];const d=lodash.get(a,"data.View.owner",{}),l=lodash.get(a,"data.View.ugc_season.sections",[]);if(0===l.length)return[];const c=lodash.sumBy(l,(e=>e.episodes.length));return l.flatMap(((t,n)=>{const{episodes:i=[]}=t;return i.map(((t,i)=>{const a=i+lodash.sumBy(l.slice(0,n),(e=>e.episodes.length)),s=t.cid,p=a+1,A=`P${p} ${t.title}`,f=(0,u.getTitleVariablesFromDate)(new Date(1e3*t.arc.pubdate));return{key:s,title:A,isChecked:a[{aid:unsafeWindow.aid,cid:unsafeWindow.cid,title:(0,u.getFriendlyTitle)(!0)}],component:()=>Promise.resolve().then(n.bind(n,901)).then((e=>e.default))};var S=n(942),D=n(397),V=n(395),O=n(24);const U=(e,t)=>{const n=e=>t.length>e?t[e]:t[t.length-1];return{fragments:e.durl.map(((e,t)=>({length:e.length,size:e.size,url:e.url,allUrls:[e.url,...e.backup_url??[]],extension:n(t)}))),qualities:e.accept_quality.map((e=>c.allQualities.find((t=>t.value===e)))).filter((e=>void 0!==e)),currentQuality:c.allQualities.find((t=>t.value===e.quality))}},j={name:"video.flv",displayName:"flv",description:"使用 flv 格式下载, 兼容 H.264 编码. 支持的清晰度相比于 dash 会少很多.",downloadVideoInfo:e=>(async e=>{const{aid:t,cid:n,quality:i}=e,o={avid:t,cid:n,qn:i?.value?.toString()??"",otype:"json"},s=f.bangumiUrls.some((e=>(0,a.matchUrlPattern)(e))),r=s?(0,O.i)(new URLSearchParams(o).toString()):(0,O.y)(new URLSearchParams(o).toString()),d=await(0,A.bilibiliApi)((0,A.getJsonWithCredentials)(r),"获取视频链接失败"),l=new V._({input:e,jsonData:d,...U(d,[".flv"])});return(0,D.X)(e,l),l})(e)},T=coreApis.runtimeLibrary,P={name:"steamSaver",displayName:"StreamSaver",description:'使用 StreamSaver 输出到本地文件, 下载过程中请勿关闭页面. 注意: 需要浏览器允许来自 jimmywarting.github.io (StreamSaver 的网站) 的第三方 cookie, 详细原因见 How does it work, 否则弹出的链接点击后会没有反应.',runAction:async e=>{const t=await T.StreamSaverLibrary,n=e.infos.flatMap((e=>e.titledFragments)),i=p.Toast.show(n.map(((e,t)=>`${e.title}`)).join("\n"),"下载视频"),o=await i.element;dqa(o,"a[data-index]").forEach((e=>{e.addEventListener("click",(async()=>{const{index:i}=e.dataset,{title:o,url:a,size:s}=n[i],r=t.createWriteStream(o,{size:s}),d=await fetch(a);await d.body.pipeTo(r)}))}))}}; /* spell-checker: disable */let M=function(e){return e.Mirror="mirror",e.UPOS="upos",e.BCache="bcache",e.MCDN="mcdn",e.Other="other",e}({});const N= // spell-checker: disable-next-line -/^upos-([0-9a-z]+?)-mirror([0-9a-z]+)\.(bilivideo\.com|akamaized\.net)$/,$=e=>{try{const{hostname:t,port:n,searchParams:i}=new URL(e);if(N.test(t))return M.Mirror;const o=i.get("os")?.toLowerCase();if("upos"===o||t.includes("upos"))return M.UPOS;if("bcache"===o)return M.BCache;const a=""!==n&&"80"!==n&&"443"!==n;return"mcdn"===o||t.includes("mcdn")||a?M.MCDN:M.Other}catch{return M.Other}},[z]=(0,l.registerAndGetData)("downloadVideo.inputs",[I,k,_,B]),[q]=(0,l.registerAndGetData)("downloadVideo.apis",[j,S.En,S.WO,S.E,S.EA]),[Q]=(0,l.registerAndGetData)("downloadVideo.assets",[]),[W]=(0,l.registerAndGetData)("downloadVideo.outputs",[P]),{basicConfig:Y}=(0,o.getComponentSettings)("downloadVideo").options,H=e=>e.filter((e=>e.match?.some((e=>(0,a.matchUrlPattern)(e)))??!0)),F=[{displayName:"Mirror",name:M.Mirror},{displayName:"UPOS",name:M.UPOS},{displayName:"BCache",name:M.BCache},{displayName:"MCDN / PCDN",name:M.MCDN}],R=Vue.extend({components:{VPopup:d.VPopup,VButton:d.VButton,VDropdown:d.VDropdown,VIcon:d.VIcon,SwitchBox:d.SwitchBox},props:{triggerElement:{required:!0}},data(){const e=Y.output,t=Y.preferredUrlType;return console.log({lastPreferredUrlType:t,optionValue:t??M.Mirror}),{open:!1,busy:!1,testData:{videoInfo:null,multiple:!1},assets:Q,qualities:[],selectedQuality:void 0,inputs:[],selectedInput:void 0,apis:[],selectedApi:void 0,outputs:W,selectedOutput:W.find((t=>t.name===e))||W[0],urlTypeOptions:F,preferredUrlType:t??F.find((e=>e.name===M.Mirror))}},computed:{assetsWithOptions(){return this.assets.filter((e=>e.component))},filteredQualities(){return 0===this.qualities.length?c.allQualities:this.qualities},canStartDownload(){if(this.busy||!this.open)return!1;return!Object.entries(this).filter((e=>{let[t]=e;return t.startsWith("selected")})).some((e=>{let[,t]=e;return!t}))}},watch:{selectedInput(e){void 0!==e&&this.updateTestVideoInfo()},selectedApi(e){void 0!==e&&(this.updateTestVideoInfo(),Y.api=e.name)},selectedOutput(e){void 0!==e&&(Y.output=e.name)},preferredUrlType(e){void 0!==e&&(Y.preferredUrlType=e)}},mounted(){coreApis.observer.videoChange((()=>{this.selectedInput=void 0,this.selectedApi=void 0;const e=H(z);this.inputs=e,this.selectedInput=e[0];const t=H(q);this.apis=t;const n=t.find((e=>e.name===Y.api));this.selectedApi=n||t[0]}))},methods:{formatFileSize:r.formatFileSize,saveSelectedQuality(){const e=this.selectedQuality;void 0!==e&&(Y.quality=e.value,this.updateTestVideoInfo())},async getVideoItems(){const e=this.selectedInput;return await e.getInputs(this.$refs.inputOptions)},async updateTestVideoInfo(){if(!this.selectedInput||!this.selectedApi)return;this.testData.videoInfo=null;const e=this.selectedInput,t=e.getTestInput?.()??{aid:unsafeWindow.aid,cid:unsafeWindow.cid,title:(0,u.getFriendlyTitle)(!0)};console.log("[updateTestVideoInfo]",t),this.testData.multiple=e.batch;const n=this.selectedApi;try{const e=await n.downloadVideoInfo(t);this.qualities=e.qualities;if((!this.selectedQuality||!e.qualities.some((e=>e.value===this.selectedQuality.value)))&&(this.selectedQuality=e.qualities[0],Y.quality)){const[t]=e.qualities.filter((e=>e.value<=Y.quality));t&&(this.selectedQuality=t)}t.quality=this.selectedQuality;const i=await n.downloadVideoInfo(t);this.testData.videoInfo=i,console.log("[qualityVideoInfo]",i)}catch(e){console.error("[updateTestVideoInfo] failed",e),this.testData.videoInfo=void 0}},async startDownload(e,t){try{this.busy=!0;const n=this.selectedInput,i=this.selectedApi,o=await n.getInputs(this.$refs.inputOptions);if(0===o.length)return void p.Toast.info("未接收到视频, 如果输入源支持批量, 请至少选择一个视频.","下载视频",3e3);o.forEach((e=>{e.quality=this.selectedQuality}));const a=await Promise.all(o.map((e=>i.downloadVideoInfo(e))));if(0===a.length||0===lodash.sumBy(a,(e=>e.fragments.length)))return void p.Toast.info("未接收到可下载数据, 请检查输入源和格式是否适用于当前视频.","下载视频",3e3);a.forEach((e=>{e.fragments.forEach((e=>{if(void 0!==this.preferredUrlType){const t=e.allUrls.find((e=>$(e)===this.preferredUrlType));e.url=void 0!==t?t:(e=>{const t={[M.Mirror]:0,[M.UPOS]:1,[M.BCache]:2,[M.MCDN]:3,[M.Other]:4};return[...e].sort(((e,n)=>{const i=$(e),o=$(n);return t[i]-t[o]}))})(e.allUrls)[0]}}))}));const s=new V.C(a);Q.forEach((e=>{(e?.getUrls?s.extraOnlineAssets:s.extraAssets).push({asset:e,instance:this.$refs.assetsOptions.find((t=>t.$attrs.name===e.name))})})),await t.runAction(s,e),await s.downloadExtraAssets()}catch(e){(0,s.logError)(e)}finally{this.busy=!1}}}}),L=R;var X=n(203),J=n.n(X),G={insert:"head",singleton:!1};g()(J(),G);J().locals;const Z=(0,w.A)(L,i,[],!1,null,null,null).exports},655:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>s});var i=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"multiple-widgets"},[t("DefaultWidget",{ref:"button",attrs:{name:"下载视频",icon:"mdi-download"},on:{mouseover:function(t){return e.createDownloadPanel()},click:function(t){return e.toggleDownloadPanel()}}})],1)};let o;i._withStripped=!0;const a=Vue.extend({components:{DefaultWidget:coreApis.ui.DefaultWidget},methods:{async createDownloadPanel(){if(!o){const e=document.createElement("div");document.body.appendChild(e);const t=await Promise.resolve().then(n.bind(n,839)).then((e=>e.default));o=new t({propsData:{triggerElement:this.$refs.button}}).$mount(e)}},async toggleDownloadPanel(){o&&(o.open=!o.open)}}});const s=(0,n(678).A)(a,i,[],!1,null,null,null).exports},901:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>u});var i=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"single-video-info download-video-config-section"},[e.imageUrl?t("img",{staticClass:"shadow",attrs:{src:e.imageUrl}}):e._e(),e._v(" "),e.imageUrl?t("img",{attrs:{src:e.imageUrl}}):e._e()])};i._withStripped=!0;const o=coreApis.componentApis.video.videoCover,a=coreApis.observer,s=Vue.extend({data:()=>({imageUrl:""}),created(){(0,a.videoChange)((async()=>{const{aid:e}=unsafeWindow;this.imageUrl=await(0,o.getVideoCoverUrlByAid)(e)}))}});var r=n(991),d=n.n(r),l=n(67),c=n.n(l),p={insert:"head",singleton:!1};d()(c(),p);c().locals;const u=(0,n(678).A)(s,i,[],!1,null,null,null).exports},678:(e,t,n)=>{"use strict";function i(e,t,n,i,o,a,s,r){var d,l="function"==typeof e?e.options:e;if(t&&(l.render=t,l.staticRenderFns=n,l._compiled=!0),i&&(l.functional=!0),a&&(l._scopeId="data-v-"+a),s?(d=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),o&&o.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(s)},l._ssrRegister=d):o&&(d=r?function(){o.call(this,(l.functional?this.parent:this).$root.$options.shadowRoot)}:o),d)if(l.functional){l._injectStyles=d;var c=l.render;l.render=function(e,t){return d.call(t),c(e,t)}}else{var p=l.beforeCreate;l.beforeCreate=p?[].concat(p,d):[d]}return{exports:e,options:l}}n.d(t,{A:()=>i})},292:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=292,e.exports=t},623:e=>{"use strict";e.exports="在功能面板中添加下载视频支持. 请注意:\n- 不能下载超出账号权限的视频, 例如非大会员下载大会员清晰度视频, 或者大陆地区网络下载港澳台地区番剧, 都是不可以的.\n- 请勿短时间进行大量下载, 以免遭到 b 站 IP 封禁.\n\n在使用视频 (非番剧) 批量下载时, 文件的批量命名格式中可以使用以下额外变量:\n- `user`: UP 主用户名\n- `userID`: UP 主用户 ID\n- 视频发布时间:\n - `publishYear`\n - `publishMonth`\n - `publishDay`\n - `publishHour`\n - `publishMinute`\n - `publishSecond`\n - `publishMillisecond`\n"},416:e=>{"use strict";e.exports=coreApis.ajax},179:e=>{"use strict";e.exports=coreApis.componentApis.video.videoQuality},905:e=>{"use strict";e.exports=coreApis.settings},82:e=>{"use strict";e.exports=coreApis.utils.formatters},121:e=>{"use strict";e.exports=coreApis.utils.title},161:e=>{"use strict";e.exports=coreApis.utils.urls},847:e=>{"use strict";e.exports=coreApis.utils}},i={};function o(e){var t=i[e];if(void 0!==t)return t.exports;var a=i[e]={id:e,exports:{}};return n[e](a,a.exports,o),a.exports}o.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return o.d(t,{a:t}),t},t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,o.t=function(n,i){if(1&i&&(n=this(n)),8&i)return n;if("object"==typeof n&&n){if(4&i&&n.__esModule)return n;if(16&i&&"function"==typeof n.then)return n}var a=Object.create(null);o.r(a);var s={};e=e||[null,t({}),t([]),t(t)];for(var r=2&i&&n;"object"==typeof r&&!~e.indexOf(r);r=t(r))Object.getOwnPropertyNames(r).forEach((e=>s[e]=()=>n[e]));return s.default=()=>n,o.d(a,s),a},o.d=(e,t)=>{for(var n in t)o.o(t,n)&&!o.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.nc=void 0;var a={};return(()=>{"use strict";o.d(a,{component:()=>s});const e=coreApis.componentApis.define,t=coreApis.spinQuery;var n=o(942);const i=(0,e.defineOptionsMetadata)({basicConfig:{defaultValue:{},displayName:"基础配置",hidden:!0},dashVideoExtension:{defaultValue:n.oD.video,displayName:"DASH 视频扩展名"},dashAudioExtension:{defaultValue:n.oD.audio,displayName:"DASH 普通音频扩展名"},dashFlacAudioExtension:{defaultValue:n.oD.flacAudio,displayName:"DASH FLAC 音频扩展名"},dashCodecFallback:{defaultValue:n.vx.Avc,dropdownEnum:n.vx,displayName:"DASH 回退编码"}}),s=(0,e.defineComponentMetadata)({name:"downloadVideo",displayName:"下载视频",entry:none,reload:none,unload:none,widget:{component:()=>Promise.resolve().then(o.bind(o,655)).then((e=>e.default)),condition:()=>(0,t.hasVideo)()},tags:[componentsTags.video],options:i,commitHash:"58c0b438ca2371e397f70466a91572cb2757b142",coreVersion:"2.10.7",description:(()=>{const e=o(292);return{...Object.fromEntries(e.keys().map((t=>[t.match(/index\.(.+)\.md$/)[1],e(t)]))),"zh-CN":()=>Promise.resolve().then(o.t.bind(o,623,17)).then((e=>e.default))}})()})})(),a=a.component})())); +/^upos-([0-9a-z]+?)-mirror([0-9a-z]+)\.(bilivideo\.com|akamaized\.net)$/,$=e=>{try{const{hostname:t,port:n,searchParams:i}=new URL(e);if(N.test(t))return M.Mirror;const o=i.get("os")?.toLowerCase();if("upos"===o||t.includes("upos"))return M.UPOS;if("bcache"===o)return M.BCache;const a=""!==n&&"80"!==n&&"443"!==n;return"mcdn"===o||t.includes("mcdn")||a?M.MCDN:M.Other}catch{return M.Other}},[z]=(0,l.registerAndGetData)("downloadVideo.inputs",[I,k,_,B]),[q]=(0,l.registerAndGetData)("downloadVideo.apis",[j,S.En,S.WO,S.E,S.EA]),[Q]=(0,l.registerAndGetData)("downloadVideo.assets",[]),[W]=(0,l.registerAndGetData)("downloadVideo.outputs",[P]),{basicConfig:Y}=(0,o.getComponentSettings)("downloadVideo").options,H=e=>e.filter((e=>e.match?.some((e=>(0,a.matchUrlPattern)(e)))??!0)),F=[{displayName:"Mirror",name:M.Mirror},{displayName:"UPOS",name:M.UPOS},{displayName:"BCache",name:M.BCache},{displayName:"MCDN / PCDN",name:M.MCDN}],R=Vue.extend({components:{VPopup:d.VPopup,VButton:d.VButton,VDropdown:d.VDropdown,VIcon:d.VIcon,SwitchBox:d.SwitchBox},props:{triggerElement:{required:!0}},data(){const e=Y.output,t=Y.preferredUrlType;return console.log({lastPreferredUrlType:t,optionValue:t??M.Mirror}),{open:!1,busy:!1,testData:{videoInfo:null,multiple:!1},assets:Q,qualities:[],selectedQuality:void 0,inputs:[],selectedInput:void 0,apis:[],selectedApi:void 0,outputs:W,selectedOutput:W.find((t=>t.name===e))||W[0],urlTypeOptions:F,preferredUrlType:t??F.find((e=>e.name===M.Mirror))}},computed:{assetsWithOptions(){return this.assets.filter((e=>e.component))},filteredQualities(){return 0===this.qualities.length?c.allQualities:this.qualities},canStartDownload(){if(this.busy||!this.open)return!1;return!Object.entries(this).filter((e=>{let[t]=e;return t.startsWith("selected")})).some((e=>{let[,t]=e;return!t}))}},watch:{selectedInput(e){void 0!==e&&this.updateTestVideoInfo()},selectedApi(e){void 0!==e&&(this.updateTestVideoInfo(),Y.api=e.name)},selectedOutput(e){void 0!==e&&(Y.output=e.name)},preferredUrlType(e){void 0!==e&&(Y.preferredUrlType=e)}},mounted(){coreApis.observer.videoChange((()=>{this.selectedInput=void 0,this.selectedApi=void 0;const e=H(z);this.inputs=e,this.selectedInput=e[0];const t=H(q);this.apis=t;const n=t.find((e=>e.name===Y.api));this.selectedApi=n||t[0]}))},methods:{formatFileSize:r.formatFileSize,saveSelectedQuality(){const e=this.selectedQuality;void 0!==e&&(Y.quality=e.value,this.updateTestVideoInfo())},async getVideoItems(){const e=this.selectedInput;return await e.getInputs(this.$refs.inputOptions)},async updateTestVideoInfo(){if(!this.selectedInput||!this.selectedApi)return;this.testData.videoInfo=null;const e=this.selectedInput,t=e.getTestInput?.()??{aid:unsafeWindow.aid,cid:unsafeWindow.cid,title:(0,u.getFriendlyTitle)(!0)};console.log("[updateTestVideoInfo]",t),this.testData.multiple=e.batch;const n=this.selectedApi;try{const e=await n.downloadVideoInfo(t);this.qualities=e.qualities;if((!this.selectedQuality||!e.qualities.some((e=>e.value===this.selectedQuality.value)))&&(this.selectedQuality=e.qualities[0],Y.quality)){const[t]=e.qualities.filter((e=>e.value<=Y.quality));t&&(this.selectedQuality=t)}t.quality=this.selectedQuality;const i=await n.downloadVideoInfo(t);this.testData.videoInfo=i,console.log("[qualityVideoInfo]",i)}catch(e){console.error("[updateTestVideoInfo] failed",e),this.testData.videoInfo=void 0}},async startDownload(e,t){try{this.busy=!0;const n=this.selectedInput,i=this.selectedApi,o=await n.getInputs(this.$refs.inputOptions);if(0===o.length)return void p.Toast.info("未接收到视频, 如果输入源支持批量, 请至少选择一个视频.","下载视频",3e3);o.forEach((e=>{e.quality=this.selectedQuality}));const a=await Promise.all(o.map((e=>i.downloadVideoInfo(e))));if(0===a.length||0===lodash.sumBy(a,(e=>e.fragments.length)))return void p.Toast.info("未接收到可下载数据, 请检查输入源和格式是否适用于当前视频.","下载视频",3e3);a.forEach((e=>{e.fragments.forEach((e=>{if(void 0!==this.preferredUrlType){const t=e.allUrls.find((e=>$(e)===this.preferredUrlType));e.url=void 0!==t?t:(e=>{const t={[M.Mirror]:0,[M.UPOS]:1,[M.BCache]:2,[M.MCDN]:3,[M.Other]:4};return[...e].sort(((e,n)=>{const i=$(e),o=$(n);return t[i]-t[o]}))})(e.allUrls)[0]}}))}));const s=new V.C(a);Q.forEach((e=>{(e?.getUrls?s.extraOnlineAssets:s.extraAssets).push({asset:e,instance:this.$refs.assetsOptions.find((t=>t.$attrs.name===e.name))})})),await t.runAction(s,e),await s.downloadExtraAssets()}catch(e){(0,s.logError)(e)}finally{this.busy=!1}}}}),L=R;var X=n(203),J=n.n(X),G={insert:"head",singleton:!1};g()(J(),G);J().locals;const Z=(0,w.A)(L,i,[],!1,null,null,null).exports},655:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>s});var i=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"multiple-widgets"},[t("DefaultWidget",{ref:"button",attrs:{name:"下载视频",icon:"mdi-download"},on:{mouseover:function(t){return e.createDownloadPanel()},click:function(t){return e.toggleDownloadPanel()}}})],1)};let o;i._withStripped=!0;const a=Vue.extend({components:{DefaultWidget:coreApis.ui.DefaultWidget},methods:{async createDownloadPanel(){if(!o){const e=document.createElement("div");document.body.appendChild(e);const t=await Promise.resolve().then(n.bind(n,839)).then((e=>e.default));o=new t({propsData:{triggerElement:this.$refs.button}}).$mount(e)}},async toggleDownloadPanel(){o&&(o.open=!o.open)}}});const s=(0,n(678).A)(a,i,[],!1,null,null,null).exports},901:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>u});var i=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"single-video-info download-video-config-section"},[e.imageUrl?t("img",{staticClass:"shadow",attrs:{src:e.imageUrl}}):e._e(),e._v(" "),e.imageUrl?t("img",{attrs:{src:e.imageUrl}}):e._e()])};i._withStripped=!0;const o=coreApis.componentApis.video.videoCover,a=coreApis.observer,s=Vue.extend({data:()=>({imageUrl:""}),created(){(0,a.videoChange)((async()=>{const{aid:e}=unsafeWindow;this.imageUrl=await(0,o.getVideoCoverUrlByAid)(e)}))}});var r=n(991),d=n.n(r),l=n(67),c=n.n(l),p={insert:"head",singleton:!1};d()(c(),p);c().locals;const u=(0,n(678).A)(s,i,[],!1,null,null,null).exports},678:(e,t,n)=>{"use strict";function i(e,t,n,i,o,a,s,r){var d,l="function"==typeof e?e.options:e;if(t&&(l.render=t,l.staticRenderFns=n,l._compiled=!0),i&&(l.functional=!0),a&&(l._scopeId="data-v-"+a),s?(d=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),o&&o.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(s)},l._ssrRegister=d):o&&(d=r?function(){o.call(this,(l.functional?this.parent:this).$root.$options.shadowRoot)}:o),d)if(l.functional){l._injectStyles=d;var c=l.render;l.render=function(e,t){return d.call(t),c(e,t)}}else{var p=l.beforeCreate;l.beforeCreate=p?[].concat(p,d):[d]}return{exports:e,options:l}}n.d(t,{A:()=>i})},292:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=292,e.exports=t},623:e=>{"use strict";e.exports="在功能面板中添加下载视频支持. 请注意:\n- 不能下载超出账号权限的视频, 例如非大会员下载大会员清晰度视频, 或者大陆地区网络下载港澳台地区番剧, 都是不可以的.\n- 请勿短时间进行大量下载, 以免遭到 b 站 IP 封禁.\n\n在使用视频 (非番剧) 批量下载时, 文件的批量命名格式中可以使用以下额外变量:\n- `user`: UP 主用户名\n- `userID`: UP 主用户 ID\n- 视频发布时间:\n - `publishYear`\n - `publishMonth`\n - `publishDay`\n - `publishHour`\n - `publishMinute`\n - `publishSecond`\n - `publishMillisecond`\n"},416:e=>{"use strict";e.exports=coreApis.ajax},179:e=>{"use strict";e.exports=coreApis.componentApis.video.videoQuality},905:e=>{"use strict";e.exports=coreApis.settings},82:e=>{"use strict";e.exports=coreApis.utils.formatters},121:e=>{"use strict";e.exports=coreApis.utils.title},161:e=>{"use strict";e.exports=coreApis.utils.urls},847:e=>{"use strict";e.exports=coreApis.utils}},i={};function o(e){var t=i[e];if(void 0!==t)return t.exports;var a=i[e]={id:e,exports:{}};return n[e](a,a.exports,o),a.exports}o.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return o.d(t,{a:t}),t},t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,o.t=function(n,i){if(1&i&&(n=this(n)),8&i)return n;if("object"==typeof n&&n){if(4&i&&n.__esModule)return n;if(16&i&&"function"==typeof n.then)return n}var a=Object.create(null);o.r(a);var s={};e=e||[null,t({}),t([]),t(t)];for(var r=2&i&&n;"object"==typeof r&&!~e.indexOf(r);r=t(r))Object.getOwnPropertyNames(r).forEach((e=>s[e]=()=>n[e]));return s.default=()=>n,o.d(a,s),a},o.d=(e,t)=>{for(var n in t)o.o(t,n)&&!o.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.nc=void 0;var a={};return(()=>{"use strict";o.d(a,{component:()=>s});const e=coreApis.componentApis.define,t=coreApis.spinQuery;var n=o(942);const i=(0,e.defineOptionsMetadata)({basicConfig:{defaultValue:{},displayName:"基础配置",hidden:!0},dashVideoExtension:{defaultValue:n.oD.video,displayName:"DASH 视频扩展名"},dashAudioExtension:{defaultValue:n.oD.audio,displayName:"DASH 普通音频扩展名"},dashFlacAudioExtension:{defaultValue:n.oD.flacAudio,displayName:"DASH FLAC 音频扩展名"},dashCodecFallback:{defaultValue:n.vx.Avc,dropdownEnum:n.vx,displayName:"DASH 回退编码"}}),s=(0,e.defineComponentMetadata)({name:"downloadVideo",displayName:"下载视频",entry:none,reload:none,unload:none,widget:{component:()=>Promise.resolve().then(o.bind(o,655)).then((e=>e.default)),condition:()=>(0,t.hasVideo)()},tags:[componentsTags.video],options:i,commitHash:"d87d69cfb9d7e0124bd90a06fec4569bd61e02c5",coreVersion:"2.10.7",description:(()=>{const e=o(292);return{...Object.fromEntries(e.keys().map((t=>[t.match(/index\.(.+)\.md$/)[1],e(t)]))),"zh-CN":()=>Promise.resolve().then(o.t.bind(o,623,17)).then((e=>e.default))}})()})})(),a=a.component})())); //# sourceMappingURL=https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/registry/dist/components/video/download.js.map \ No newline at end of file diff --git a/bb-evolved/registry/dist/components/video/full-description.js b/bb-evolved/registry/dist/components/video/full-description.js index 939d967d21..d828bb0c96 100644 --- a/bb-evolved/registry/dist/components/video/full-description.js +++ b/bb-evolved/registry/dist/components/video/full-description.js @@ -8,5 +8,5 @@ e=[[null,e,""]]);var r={};if(o)for(var i=0;i{"use strict";function n(e,n){return function(e){if(Array.isArray(e))return e}(e)||function(e,n){var t=e&&("undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]);if(null==t)return;var o,r,i=[],c=!0,s=!1;try{for(t=t.call(e);!(c=(o=t.next()).done)&&(i.push(o.value),!n||i.length!==n);c=!0);}catch(e){s=!0,r=e}finally{try{c||null==t.return||t.return()}finally{if(s)throw r}}return i}(e,n)||function(e,n){if(!e)return;if("string"==typeof e)return t(e,n);var o=Object.prototype.toString.call(e).slice(8,-1);"Object"===o&&e.constructor&&(o=e.constructor.name);if("Map"===o||"Set"===o)return Array.from(e);if("Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o))return t(e,n)}(e,n)||function(){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 t(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,o=new Array(n);t{var o=t(660);o&&o.__esModule&&(o=o.default),e.exports="string"==typeof o?o:o.toString()}},n={};function t(o){var r=n[o];if(void 0!==r)return r.exports;var i=n[o]={id:o,exports:{}};return e[o](i,i.exports,t),i.exports}t.n=e=>{var n=e&&e.__esModule?()=>e.default:()=>e;return t.d(n,{a:n}),n},t.d=(e,n)=>{for(var o in n)t.o(n,o)&&!t.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:n[o]})},t.o=(e,n)=>Object.prototype.hasOwnProperty.call(e,n);var o={};return(()=>{"use strict";t.d(o,{component:()=>l});const e=coreApis.componentApis.define,n=coreApis.utils.urls,r=coreApis.observer,i=coreApis.spinQuery,c=coreApis.style;var s=t(22),a=t.n(s);const d="fullVideoDescription",u=()=>{(0,c.addStyle)(a(),d),(0,r.videoChange)((async()=>{const e=await(0,i.select)(".video-desc, .video-desc-v1, .video-desc-container");if(!e)return;const n=await(0,i.sq)((()=>dq(e,'[report-id="abstract_spread"], .toggle-btn')),(e=>e&&"none"!==e.style.display));n?.click()}))},l=(0,e.defineComponentMetadata)({name:d,entry:u,reload:u,unload:()=>{(0,c.removeStyle)(d)},displayName:"展开视频简介",tags:[componentsTags.video,componentsTags.style],description:{"zh-CN":"总是展开完整的视频简介."},urlInclude:n.videoAndBangumiUrls,commitHash:"58c0b438ca2371e397f70466a91572cb2757b142",coreVersion:"2.10.7"})})(),o=o.component})())); +var i=btoa(unescape(encodeURIComponent(JSON.stringify(r)))),c="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(i),s="/*# ".concat(c," */"),a=r.sources.map((function(e){return"/*# sourceURL=".concat(r.sourceRoot||"").concat(e," */")}));return[o].concat(a).concat([s]).join("\n")}return[o].join("\n")}},22:(e,n,t)=>{var o=t(660);o&&o.__esModule&&(o=o.default),e.exports="string"==typeof o?o:o.toString()}},n={};function t(o){var r=n[o];if(void 0!==r)return r.exports;var i=n[o]={id:o,exports:{}};return e[o](i,i.exports,t),i.exports}t.n=e=>{var n=e&&e.__esModule?()=>e.default:()=>e;return t.d(n,{a:n}),n},t.d=(e,n)=>{for(var o in n)t.o(n,o)&&!t.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:n[o]})},t.o=(e,n)=>Object.prototype.hasOwnProperty.call(e,n);var o={};return(()=>{"use strict";t.d(o,{component:()=>l});const e=coreApis.componentApis.define,n=coreApis.utils.urls,r=coreApis.observer,i=coreApis.spinQuery,c=coreApis.style;var s=t(22),a=t.n(s);const d="fullVideoDescription",u=()=>{(0,c.addStyle)(a(),d),(0,r.videoChange)((async()=>{const e=await(0,i.select)(".video-desc, .video-desc-v1, .video-desc-container");if(!e)return;const n=await(0,i.sq)((()=>dq(e,'[report-id="abstract_spread"], .toggle-btn')),(e=>e&&"none"!==e.style.display));n?.click()}))},l=(0,e.defineComponentMetadata)({name:d,entry:u,reload:u,unload:()=>{(0,c.removeStyle)(d)},displayName:"展开视频简介",tags:[componentsTags.video,componentsTags.style],description:{"zh-CN":"总是展开完整的视频简介."},urlInclude:n.videoAndBangumiUrls,commitHash:"d87d69cfb9d7e0124bd90a06fec4569bd61e02c5",coreVersion:"2.10.7"})})(),o=o.component})())); //# sourceMappingURL=https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/registry/dist/components/video/full-description.js.map \ No newline at end of file diff --git a/bb-evolved/registry/dist/components/video/full-episode-title.js b/bb-evolved/registry/dist/components/video/full-episode-title.js index 888a8ca198..c3771f3f28 100644 --- a/bb-evolved/registry/dist/components/video/full-episode-title.js +++ b/bb-evolved/registry/dist/components/video/full-episode-title.js @@ -8,5 +8,5 @@ e=[[null,e,""]]);var o={};if(l)for(var n=0;n{"use strict";function t(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var i=e&&("undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]);if(null==i)return;var l,o,n=[],s=!0,d=!1;try{for(i=i.call(e);!(s=(l=i.next()).done)&&(n.push(l.value),!t||n.length!==t);s=!0);}catch(e){d=!0,o=e}finally{try{s||null==i.return||i.return()}finally{if(d)throw o}}return n}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return i(e,t);var l=Object.prototype.toString.call(e).slice(8,-1);"Object"===l&&e.constructor&&(l=e.constructor.name);if("Map"===l||"Set"===l)return Array.from(e);if("Arguments"===l||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(l))return i(e,t)}(e,t)||function(){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 i(e,t){(null==t||t>e.length)&&(t=e.length);for(var i=0,l=new Array(t);i{var l=i(262);l&&l.__esModule&&(l=l.default),e.exports="string"==typeof l?l:l.toString()},522:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=522,e.exports=t},533:e=>{"use strict";e.exports="提供一些视频选集区域的优化, 对番剧无效.\n- `展开选集标题`: 总是完全展开视频选集列表项的标题, 若为传统分 P 列表, 还会恢复显示分 P 数的前缀.\n- `展开选集列表`: 总是完全展开视频选集列表\n\n打开 `展开选集列表` 时, 在选集区域的标题上按住 Alt 键点击可以临时切换此组件的效果.\n"}},l={};function o(e){var t=l[e];if(void 0!==t)return t.exports;var n=l[e]={id:e,exports:{}};return i[e](n,n.exports,o),n.exports}t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,o.t=function(i,l){if(1&l&&(i=this(i)),8&l)return i;if("object"==typeof i&&i){if(4&l&&i.__esModule)return i;if(16&l&&"function"==typeof i.then)return i}var n=Object.create(null);o.r(n);var s={};e=e||[null,t({}),t([]),t(t)];for(var d=2&l&&i;"object"==typeof d&&!~e.indexOf(d);d=t(d))Object.getOwnPropertyNames(d).forEach((e=>s[e]=()=>i[e]));return s.default=()=>i,o.d(n,s),n},o.d=(e,t)=>{for(var i in t)o.o(t,i)&&!o.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})},o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var n={};return(()=>{"use strict";o.d(n,{component:()=>d});const e=coreApis.componentApis.define,t=coreApis.utils.urls,i=coreApis.settings,l=coreApis.spinQuery,s="fullEpisodeTitle",d=(0,e.defineComponentMetadata)({name:s,instantStyles:[{name:s,style:()=>Promise.resolve().then(o.t.bind(o,112,23))}],options:{fullEpisodeTitle:{defaultValue:!0,displayName:"展开选集标题"},fullEpisodeList:{defaultValue:!0,displayName:"展开选集列表"}},entry:e=>{let{metadata:{options:t}}=e;Object.keys(t).forEach((e=>{(0,i.addComponentListener)(`${s}.${e}`,(t=>{document.body.classList.toggle(lodash.kebabCase(e),t)}),!0)})),t.fullEpisodeList&&Promise.race([(0,l.select)(".multi-page-v1 .head-left h3"),(0,l.select)(".video-sections-v1 .first-line-title"),(0,l.select)(".base-video-sections-v1 .first-line-title"),(0,l.select)(".video-pod .video-pod__header .title")]).then((e=>{e&&e.addEventListener("click",(e=>{e.altKey&&0===e.button&&(document.body.classList.toggle("disable-full-episode-list"),e.preventDefault(),e.stopImmediatePropagation())}),{capture:!0})}))},displayName:"选集区域优化",tags:[componentsTags.video],urlInclude:t.videoUrls,commitHash:"58c0b438ca2371e397f70466a91572cb2757b142",coreVersion:"2.10.7",description:(()=>{const e=o(522);return{...Object.fromEntries(e.keys().map((t=>[t.match(/index\.(.+)\.md$/)[1],e(t)]))),"zh-CN":()=>Promise.resolve().then(o.t.bind(o,533,17)).then((e=>e.default))}})()})})(),n=n.component})())); +var n=btoa(unescape(encodeURIComponent(JSON.stringify(o)))),s="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(n),d="/*# ".concat(s," */"),a=o.sources.map((function(e){return"/*# sourceURL=".concat(o.sourceRoot||"").concat(e," */")}));return[l].concat(a).concat([d]).join("\n")}return[l].join("\n")}},112:(e,t,i)=>{var l=i(262);l&&l.__esModule&&(l=l.default),e.exports="string"==typeof l?l:l.toString()},522:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=522,e.exports=t},533:e=>{"use strict";e.exports="提供一些视频选集区域的优化, 对番剧无效.\n- `展开选集标题`: 总是完全展开视频选集列表项的标题, 若为传统分 P 列表, 还会恢复显示分 P 数的前缀.\n- `展开选集列表`: 总是完全展开视频选集列表\n\n打开 `展开选集列表` 时, 在选集区域的标题上按住 Alt 键点击可以临时切换此组件的效果.\n"}},l={};function o(e){var t=l[e];if(void 0!==t)return t.exports;var n=l[e]={id:e,exports:{}};return i[e](n,n.exports,o),n.exports}t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,o.t=function(i,l){if(1&l&&(i=this(i)),8&l)return i;if("object"==typeof i&&i){if(4&l&&i.__esModule)return i;if(16&l&&"function"==typeof i.then)return i}var n=Object.create(null);o.r(n);var s={};e=e||[null,t({}),t([]),t(t)];for(var d=2&l&&i;"object"==typeof d&&!~e.indexOf(d);d=t(d))Object.getOwnPropertyNames(d).forEach((e=>s[e]=()=>i[e]));return s.default=()=>i,o.d(n,s),n},o.d=(e,t)=>{for(var i in t)o.o(t,i)&&!o.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})},o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var n={};return(()=>{"use strict";o.d(n,{component:()=>d});const e=coreApis.componentApis.define,t=coreApis.utils.urls,i=coreApis.settings,l=coreApis.spinQuery,s="fullEpisodeTitle",d=(0,e.defineComponentMetadata)({name:s,instantStyles:[{name:s,style:()=>Promise.resolve().then(o.t.bind(o,112,23))}],options:{fullEpisodeTitle:{defaultValue:!0,displayName:"展开选集标题"},fullEpisodeList:{defaultValue:!0,displayName:"展开选集列表"}},entry:e=>{let{metadata:{options:t}}=e;Object.keys(t).forEach((e=>{(0,i.addComponentListener)(`${s}.${e}`,(t=>{document.body.classList.toggle(lodash.kebabCase(e),t)}),!0)})),t.fullEpisodeList&&Promise.race([(0,l.select)(".multi-page-v1 .head-left h3"),(0,l.select)(".video-sections-v1 .first-line-title"),(0,l.select)(".base-video-sections-v1 .first-line-title"),(0,l.select)(".video-pod .video-pod__header .title")]).then((e=>{e&&e.addEventListener("click",(e=>{e.altKey&&0===e.button&&(document.body.classList.toggle("disable-full-episode-list"),e.preventDefault(),e.stopImmediatePropagation())}),{capture:!0})}))},displayName:"选集区域优化",tags:[componentsTags.video],urlInclude:t.videoUrls,commitHash:"d87d69cfb9d7e0124bd90a06fec4569bd61e02c5",coreVersion:"2.10.7",description:(()=>{const e=o(522);return{...Object.fromEntries(e.keys().map((t=>[t.match(/index\.(.+)\.md$/)[1],e(t)]))),"zh-CN":()=>Promise.resolve().then(o.t.bind(o,533,17)).then((e=>e.default))}})()})})(),n=n.component})())); //# sourceMappingURL=https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/registry/dist/components/video/full-episode-title.js.map \ No newline at end of file diff --git a/bb-evolved/registry/dist/components/video/metadata.js b/bb-evolved/registry/dist/components/video/metadata.js index 180676a123..749fff5f3d 100644 --- a/bb-evolved/registry/dist/components/video/metadata.js +++ b/bb-evolved/registry/dist/components/video/metadata.js @@ -1,2 +1,2 @@ -!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports["video/metadata"]=e():t["video/metadata"]=e()}(globalThis,(()=>(()=>{"use strict";var t={315:(t,e,i)=>{i.d(e,{component:()=>p,U:()=>l,D:()=>c});var n=i(253);const o=coreApis.spinQuery;var a=i(5);const s=coreApis.utils.urls;var r=i(469),d=i(356);const c="保存视频元数据",l="saveVideoMetadata",u=[{name:"WakelessSloth56",link:"https://github.com/WakelessSloth56"},{name:"LainIO24",link:"https://github.com/LainIO24"}],p=(0,n.defineComponentMetadata)({name:l,displayName:c,description:"保存视频元数据(标题、描述、UP、章节等)",author:u,tags:[componentsTags.video],entry:none,urlInclude:s.videoAndBangumiUrls,options:d.fF,widget:{condition:o.hasVideo,component:()=>Promise.resolve().then(i.bind(i,502)).then((t=>t.default))},plugin:{displayName:`下载视频 - ${c}支持`,author:u,setup:t=>{let{addData:e}=t;e("downloadVideo.assets",(async t=>{t.push({name:l,displayName:c,getAssets:async(t,e)=>{const{type:i,enabled:n}=e;if(n){const e=a.Toast.info("获取视频元数据中...",c),n=[];for(const e of t)n.push({name:`${e.input.title}.${i}.txt`,data:await(0,r.V)(i,e.input.aid,e.input.cid),options:{}});return e.message="完成!",e.duration=1e3,n}return[]},component:()=>Promise.resolve().then(i.bind(i,365)).then((t=>t.default))})}))}},commitHash:"58c0b438ca2371e397f70466a91572cb2757b142",coreVersion:"2.10.7"})},469:(t,e,i)=>{i.d(e,{V:()=>_});const n=coreApis.componentApis.video.videoInfo,o=coreApis.ajax,a=coreApis.meta;var s=i(905),r=i(5),d=i(315),c=i(356);function l(t){return lodash.toString(t).replace(/[=;#\\\n]/g,(t=>`\\${t}`))}function u(t){return t.map((t=>`${t.tag_name}(${t.tag_id})`))}function p(t,e){switch(e){case c.Hg.Timestmp:return t.getTime();case c.Hg.Local:return t.toLocaleString();case c.Hg.ISO:return t.toISOString()}return 0}function m(t,e,i){return(e=function(t){var e=function(t,e){if("object"!=typeof t||!t)return t;var i=t[Symbol.toPrimitive];if(void 0!==i){var n=i.call(t,e||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==typeof e?e:e+""}(e))in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}class g{constructor(t,e){m(this,"aid",void 0),m(this,"cid",void 0),m(this,"basic",void 0),m(this,"viewPoints",void 0),m(this,"tags",{}),m(this,"page",void 0),m(this,"quality",void 0),m(this,"bangumi",void 0),this.aid=parseInt(t),this.cid=parseInt(e),this.basic=new n.VideoInfo(t)}async fetch(){await this.basic.fetchInfo(),this.page=this.basic.pages.filter((t=>t.cid===this.cid))[0];const t=await(0,o.bilibiliApi)((0,o.getJsonWithCredentials)(`//api.bilibili.com/x/player/wbi/v2?aid=${this.aid}&cid=${this.cid}`));this.viewPoints=lodash.get(t,"view_points",[]);const e=await(0,o.bilibiliApi)((0,o.getJsonWithCredentials)(`//api.bilibili.com/x/web-interface/view/detail/tag?aid=${this.aid}&cid=${this.cid}`)),i=lodash.groupBy(e,"tag_type");if(this.tags.tag=i.old_channel,this.tags.topic=i.topic,this.tags.bgm=i.bgm,this.basic.redirectUrl){const t=parseInt(this.basic.redirectUrl.match(/ep(\d+)/)?.[1]??"");t&&(this.bangumi=await n.BangumiInfo.byEpisodeId(t).fetchInfo(),(0,s.getComponentSettings)(d.U).options.convertBangumiSkips&&0===this.viewPoints.length&&(this.viewPoints=function(t,e){const i=[],{op:n,ed:o}=t,a=n.start>=0&&n.end>0,s=o.start>n.end&&o.end<=e;return a&&n.start>0&&i.push({from:0,to:n.start,content:""}),a&&i.push({from:n.start,to:n.end,content:"Opening Theme"}),a&&s?i.push({from:n.end,to:o.start,content:""}):a&&!s?i.push({from:n.end,to:e,content:""}):!a&&s&&i.push({from:0,to:o.start,content:""}),s&&i.push({from:o.start,to:o.end,content:"Ending Theme"}),s&&o.end0&&void 0!==arguments[0]?arguments[0]:unsafeWindow.aid,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:unsafeWindow.cid;const i=new g(t,e);return await i.fetch(),i}function h(t,e){return`${!(arguments.length>2&&void 0!==arguments[2])||arguments[2]?"bilibili_":""}${t}=${Array.isArray(e)?e.map(l).join(","):l(e)}`}async function v(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:unsafeWindow.aid,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:unsafeWindow.cid;const i=await f(t,e),{basic:n}=i;console.debug(i);const{options:{fieldsMode:o,timeFormat:r,includeStat:l}}=(0,s.getComponentSettings)(d.U),m=new Date,g=[";FFMETADATA1",`;generated by Bilibili-Evolved v${a.meta.compilationInfo.version}`,`;generated on ${m.toLocaleDateString()} at ${m.toLocaleTimeString(navigator.language,{timeZoneName:"short"})}`,h("title",`${n.title} - ${i.page.title}`,!1),h("description",n.description,!1),h("artist",n.up.name,!1)];if(o===c.HQ.ALL){if(g.push(h("metadata_generated",p(m,r)),h("title",n.title),h("description",n.description),h("publish_date",p(new Date(1e3*n.pubdate),r)),h("aid",n.aid),h("bvid",n.bvid),h("cid",i.page.cid),h("up_name",n.up.name),h("up_uid",n.up.uid),h("page_title",i.page.title),h("pages",n.pages.length),h("page",i.page.pageNumber),h("category_id",n.tagId),h("category_name",n.tagName)),i.tags.tag&&g.push(h("tags",u(i.tags.tag))),i.tags.topic&&g.push(h("topic",u(i.tags.topic))),i.tags.bgm&&g.push(h("bgm",i.tags.bgm.map((t=>`${t.tag_name.match(/^发现《([^》]+)》/)?.[1]??t.tag_name}(${t.music_id})`)))),i.bangumi){const t=i.bangumi;g.push(h("bangumi_media_id",t.mediaId),h("bangumi_season_id",t.seasonId),h("bangumi_season_title",t.seasonTitle),h("bangumi_series_id",t.seriesId),h("bangumi_series_title",t.seriesTitle),h("bangumi_section_title",t.episode.section),h("bangumi_episode_id",t.episode.epid),h("bangumi_episode_title",t.episode.title),h("bangumi_area",t.areas.map((t=>t.name))))}if(l){const t=n.stat;g.push(h("stat_view",t.view),h("stat_like",t.like),h("stat_coin",t.coin),h("stat_favorite",t.favorite),h("stat_share",t.share),h("stat_danmaku",t.danmaku),h("stat_reply",t.reply)),t.his_rank>0&&g.push(h("stat_highest_rank",t.his_rank))}i.quality&&(g.push(h("quality",i.quality.value)),g.push(h("quality_label",i.quality.name)))}if(i.viewPoints.length>0)for(const t of i.viewPoints)g.push("[CHAPTER]","TIMEBASE=1/1",h("START",t.from,!1),h("END",t.to,!1),h("title",t.content,!1));const v=g.join("\n");return console.debug(v),v}async function b(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:unsafeWindow.aid,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:unsafeWindow.cid;const{viewPoints:i}=await f(t,e);if(console.debug(i),i.length>0){const t=i.reduce(((t,e,i)=>{const n=`${i+1}`.padStart(3,"0");return[...t,`CHAPTER${n}=${new Date(1e3*e.from).toISOString().slice(11,-1)}`,`CHAPTER${n}NAME=${e.content}`]}),[]).join("\n");return console.debug(t),t}return r.Toast.info("此视频没有章节",d.D,3e3),null}async function _(t){let e;if("ogm"===t)e=b;else e=v;return e(arguments.length>1&&void 0!==arguments[1]?arguments[1]:unsafeWindow.aid,arguments.length>2&&void 0!==arguments[2]?arguments[2]:unsafeWindow.cid)}},356:(t,e,i)=>{i.d(e,{HQ:()=>o,Hg:()=>a,fF:()=>s});var n=i(253);let o=function(t){return t.ALL="全部",t.Standard="仅标准字段",t}({}),a=function(t){return t.Timestmp="时间戳",t.Local="本地时间",t.ISO="ISO时间",t}({});const s=(0,n.defineOptionsMetadata)({fieldsMode:{displayName:"FFMETADATA 字段",dropdownEnum:o,defaultValue:o.ALL},timeFormat:{displayName:"时间格式",dropdownEnum:a,defaultValue:a.Local},convertBangumiSkips:{displayName:"将番剧的「跳过头尾」转换为章节",defaultValue:!0},includeStat:{displayName:"包含状态数(播放数、点赞数等)",defaultValue:!0}})},365:(t,e,i)=>{i.r(e),i.d(e,{default:()=>r});var n=function(){var t=this,e=t._self._c;t._self._setupProxy;return e("div",{staticClass:"download-video-config-section"},[e("div",{staticClass:"download-video-config-item"},[e("div",[t._v("元数据:")]),t._v(" "),e("VDropdown",{attrs:{items:t.items},scopedSlots:t._u([{key:"item",fn:function({item:e}){return[t._v("\n "+t._s(e)+"\n ")]}}]),model:{value:t.type,callback:function(e){t.type=e},expression:"type"}})],1)])};n._withStripped=!0;var o=i(164);const a=(0,i(905).getComponentSettings)("downloadVideo").options,s=Vue.extend({components:{VDropdown:o.VDropdown},data:()=>({type:a.metadataType??"无",items:["无","ffmetadata","ogm"]}),computed:{enabled(){return"无"!==this.type}},watch:{type(t){a.metadataType=t}}});const r=(0,i(678).A)(s,n,[],!1,null,null,null).exports},502:(t,e,i)=>{i.r(e),i.d(e,{default:()=>l});var n=function(){var t=this,e=t._self._c;t._self._setupProxy;return e("div",{staticClass:"multiple-widgets"},[e("DefaultWidget",{ref:"button",attrs:{disabled:t.disabled,name:"保存视频元数据",icon:"mdi-download"},on:{click:function(e){return t.run("ffmetadata")}}}),t._v(" "),e("DefaultWidget",{attrs:{disabled:t.disabled,name:"保存视频章节",icon:"mdi-download"},on:{click:function(e){return t.run("ogm")}}})],1)};n._withStripped=!0;var o=i(164);const a=coreApis.utils.log,s=coreApis.download,r=coreApis.utils.title;var d=i(469);const c=Vue.extend({components:{DefaultWidget:o.DefaultWidget},data:()=>({disabled:!1}),methods:{async run(t){try{this.disabled=!0,s.DownloadPackage.single(`${(0,r.getFriendlyTitle)(!0)}.${t}.txt`,await(0,d.V)(t))}catch(t){(0,a.logError)(t)}finally{this.disabled=!1}}}});const l=(0,i(678).A)(c,n,[],!1,null,null,null).exports},678:(t,e,i)=>{function n(t,e,i,n,o,a,s,r){var d,c="function"==typeof t?t.options:t;if(e&&(c.render=e,c.staticRenderFns=i,c._compiled=!0),n&&(c.functional=!0),a&&(c._scopeId="data-v-"+a),s?(d=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),o&&o.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(s)},c._ssrRegister=d):o&&(d=r?function(){o.call(this,(c.functional?this.parent:this).$root.$options.shadowRoot)}:o),d)if(c.functional){c._injectStyles=d;var l=c.render;c.render=function(t,e){return d.call(e),l(t,e)}}else{var u=c.beforeCreate;c.beforeCreate=u?[].concat(u,d):[d]}return{exports:t,options:c}}i.d(e,{A:()=>n})},253:t=>{t.exports=coreApis.componentApis.define},905:t=>{t.exports=coreApis.settings},5:t=>{t.exports=coreApis.toast},164:t=>{t.exports=coreApis.ui}},e={};function i(n){var o=e[n];if(void 0!==o)return o.exports;var a=e[n]={exports:{}};return t[n](a,a.exports,i),a.exports}i.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return i.d(e,{a:e}),e},i.d=(t,e)=>{for(var n in e)i.o(e,n)&&!i.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},i.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),i.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var n=i(315);return n=n.component})())); +!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports["video/metadata"]=e():t["video/metadata"]=e()}(globalThis,(()=>(()=>{"use strict";var t={315:(t,e,i)=>{i.d(e,{component:()=>p,U:()=>l,D:()=>c});var n=i(253);const o=coreApis.spinQuery;var a=i(5);const s=coreApis.utils.urls;var r=i(469),d=i(356);const c="保存视频元数据",l="saveVideoMetadata",u=[{name:"WakelessSloth56",link:"https://github.com/WakelessSloth56"},{name:"LainIO24",link:"https://github.com/LainIO24"}],p=(0,n.defineComponentMetadata)({name:l,displayName:c,description:"保存视频元数据(标题、描述、UP、章节等)",author:u,tags:[componentsTags.video],entry:none,urlInclude:s.videoAndBangumiUrls,options:d.fF,widget:{condition:o.hasVideo,component:()=>Promise.resolve().then(i.bind(i,502)).then((t=>t.default))},plugin:{displayName:`下载视频 - ${c}支持`,author:u,setup:t=>{let{addData:e}=t;e("downloadVideo.assets",(async t=>{t.push({name:l,displayName:c,getAssets:async(t,e)=>{const{type:i,enabled:n}=e;if(n){const e=a.Toast.info("获取视频元数据中...",c),n=[];for(const e of t)n.push({name:`${e.input.title}.${i}.txt`,data:await(0,r.V)(i,e.input.aid,e.input.cid),options:{}});return e.message="完成!",e.duration=1e3,n}return[]},component:()=>Promise.resolve().then(i.bind(i,365)).then((t=>t.default))})}))}},commitHash:"d87d69cfb9d7e0124bd90a06fec4569bd61e02c5",coreVersion:"2.10.7"})},469:(t,e,i)=>{i.d(e,{V:()=>_});const n=coreApis.componentApis.video.videoInfo,o=coreApis.ajax,a=coreApis.meta;var s=i(905),r=i(5),d=i(315),c=i(356);function l(t){return lodash.toString(t).replace(/[=;#\\\n]/g,(t=>`\\${t}`))}function u(t){return t.map((t=>`${t.tag_name}(${t.tag_id})`))}function p(t,e){switch(e){case c.Hg.Timestmp:return t.getTime();case c.Hg.Local:return t.toLocaleString();case c.Hg.ISO:return t.toISOString()}return 0}function m(t,e,i){return(e=function(t){var e=function(t,e){if("object"!=typeof t||!t)return t;var i=t[Symbol.toPrimitive];if(void 0!==i){var n=i.call(t,e||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==typeof e?e:e+""}(e))in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}class g{constructor(t,e){m(this,"aid",void 0),m(this,"cid",void 0),m(this,"basic",void 0),m(this,"viewPoints",void 0),m(this,"tags",{}),m(this,"page",void 0),m(this,"quality",void 0),m(this,"bangumi",void 0),this.aid=parseInt(t),this.cid=parseInt(e),this.basic=new n.VideoInfo(t)}async fetch(){await this.basic.fetchInfo(),this.page=this.basic.pages.filter((t=>t.cid===this.cid))[0];const t=await(0,o.bilibiliApi)((0,o.getJsonWithCredentials)(`//api.bilibili.com/x/player/wbi/v2?aid=${this.aid}&cid=${this.cid}`));this.viewPoints=lodash.get(t,"view_points",[]);const e=await(0,o.bilibiliApi)((0,o.getJsonWithCredentials)(`//api.bilibili.com/x/web-interface/view/detail/tag?aid=${this.aid}&cid=${this.cid}`)),i=lodash.groupBy(e,"tag_type");if(this.tags.tag=i.old_channel,this.tags.topic=i.topic,this.tags.bgm=i.bgm,this.basic.redirectUrl){const t=parseInt(this.basic.redirectUrl.match(/ep(\d+)/)?.[1]??"");t&&(this.bangumi=await n.BangumiInfo.byEpisodeId(t).fetchInfo(),(0,s.getComponentSettings)(d.U).options.convertBangumiSkips&&0===this.viewPoints.length&&(this.viewPoints=function(t,e){const i=[],{op:n,ed:o}=t,a=n.start>=0&&n.end>0,s=o.start>n.end&&o.end<=e;return a&&n.start>0&&i.push({from:0,to:n.start,content:""}),a&&i.push({from:n.start,to:n.end,content:"Opening Theme"}),a&&s?i.push({from:n.end,to:o.start,content:""}):a&&!s?i.push({from:n.end,to:e,content:""}):!a&&s&&i.push({from:0,to:o.start,content:""}),s&&i.push({from:o.start,to:o.end,content:"Ending Theme"}),s&&o.end0&&void 0!==arguments[0]?arguments[0]:unsafeWindow.aid,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:unsafeWindow.cid;const i=new g(t,e);return await i.fetch(),i}function h(t,e){return`${!(arguments.length>2&&void 0!==arguments[2])||arguments[2]?"bilibili_":""}${t}=${Array.isArray(e)?e.map(l).join(","):l(e)}`}async function v(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:unsafeWindow.aid,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:unsafeWindow.cid;const i=await f(t,e),{basic:n}=i;console.debug(i);const{options:{fieldsMode:o,timeFormat:r,includeStat:l}}=(0,s.getComponentSettings)(d.U),m=new Date,g=[";FFMETADATA1",`;generated by Bilibili-Evolved v${a.meta.compilationInfo.version}`,`;generated on ${m.toLocaleDateString()} at ${m.toLocaleTimeString(navigator.language,{timeZoneName:"short"})}`,h("title",`${n.title} - ${i.page.title}`,!1),h("description",n.description,!1),h("artist",n.up.name,!1)];if(o===c.HQ.ALL){if(g.push(h("metadata_generated",p(m,r)),h("title",n.title),h("description",n.description),h("publish_date",p(new Date(1e3*n.pubdate),r)),h("aid",n.aid),h("bvid",n.bvid),h("cid",i.page.cid),h("up_name",n.up.name),h("up_uid",n.up.uid),h("page_title",i.page.title),h("pages",n.pages.length),h("page",i.page.pageNumber),h("category_id",n.tagId),h("category_name",n.tagName)),i.tags.tag&&g.push(h("tags",u(i.tags.tag))),i.tags.topic&&g.push(h("topic",u(i.tags.topic))),i.tags.bgm&&g.push(h("bgm",i.tags.bgm.map((t=>`${t.tag_name.match(/^发现《([^》]+)》/)?.[1]??t.tag_name}(${t.music_id})`)))),i.bangumi){const t=i.bangumi;g.push(h("bangumi_media_id",t.mediaId),h("bangumi_season_id",t.seasonId),h("bangumi_season_title",t.seasonTitle),h("bangumi_series_id",t.seriesId),h("bangumi_series_title",t.seriesTitle),h("bangumi_section_title",t.episode.section),h("bangumi_episode_id",t.episode.epid),h("bangumi_episode_title",t.episode.title),h("bangumi_area",t.areas.map((t=>t.name))))}if(l){const t=n.stat;g.push(h("stat_view",t.view),h("stat_like",t.like),h("stat_coin",t.coin),h("stat_favorite",t.favorite),h("stat_share",t.share),h("stat_danmaku",t.danmaku),h("stat_reply",t.reply)),t.his_rank>0&&g.push(h("stat_highest_rank",t.his_rank))}i.quality&&(g.push(h("quality",i.quality.value)),g.push(h("quality_label",i.quality.name)))}if(i.viewPoints.length>0)for(const t of i.viewPoints)g.push("[CHAPTER]","TIMEBASE=1/1",h("START",t.from,!1),h("END",t.to,!1),h("title",t.content,!1));const v=g.join("\n");return console.debug(v),v}async function b(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:unsafeWindow.aid,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:unsafeWindow.cid;const{viewPoints:i}=await f(t,e);if(console.debug(i),i.length>0){const t=i.reduce(((t,e,i)=>{const n=`${i+1}`.padStart(3,"0");return[...t,`CHAPTER${n}=${new Date(1e3*e.from).toISOString().slice(11,-1)}`,`CHAPTER${n}NAME=${e.content}`]}),[]).join("\n");return console.debug(t),t}return r.Toast.info("此视频没有章节",d.D,3e3),null}async function _(t){let e;if("ogm"===t)e=b;else e=v;return e(arguments.length>1&&void 0!==arguments[1]?arguments[1]:unsafeWindow.aid,arguments.length>2&&void 0!==arguments[2]?arguments[2]:unsafeWindow.cid)}},356:(t,e,i)=>{i.d(e,{HQ:()=>o,Hg:()=>a,fF:()=>s});var n=i(253);let o=function(t){return t.ALL="全部",t.Standard="仅标准字段",t}({}),a=function(t){return t.Timestmp="时间戳",t.Local="本地时间",t.ISO="ISO时间",t}({});const s=(0,n.defineOptionsMetadata)({fieldsMode:{displayName:"FFMETADATA 字段",dropdownEnum:o,defaultValue:o.ALL},timeFormat:{displayName:"时间格式",dropdownEnum:a,defaultValue:a.Local},convertBangumiSkips:{displayName:"将番剧的「跳过头尾」转换为章节",defaultValue:!0},includeStat:{displayName:"包含状态数(播放数、点赞数等)",defaultValue:!0}})},365:(t,e,i)=>{i.r(e),i.d(e,{default:()=>r});var n=function(){var t=this,e=t._self._c;t._self._setupProxy;return e("div",{staticClass:"download-video-config-section"},[e("div",{staticClass:"download-video-config-item"},[e("div",[t._v("元数据:")]),t._v(" "),e("VDropdown",{attrs:{items:t.items},scopedSlots:t._u([{key:"item",fn:function({item:e}){return[t._v("\n "+t._s(e)+"\n ")]}}]),model:{value:t.type,callback:function(e){t.type=e},expression:"type"}})],1)])};n._withStripped=!0;var o=i(164);const a=(0,i(905).getComponentSettings)("downloadVideo").options,s=Vue.extend({components:{VDropdown:o.VDropdown},data:()=>({type:a.metadataType??"无",items:["无","ffmetadata","ogm"]}),computed:{enabled(){return"无"!==this.type}},watch:{type(t){a.metadataType=t}}});const r=(0,i(678).A)(s,n,[],!1,null,null,null).exports},502:(t,e,i)=>{i.r(e),i.d(e,{default:()=>l});var n=function(){var t=this,e=t._self._c;t._self._setupProxy;return e("div",{staticClass:"multiple-widgets"},[e("DefaultWidget",{ref:"button",attrs:{disabled:t.disabled,name:"保存视频元数据",icon:"mdi-download"},on:{click:function(e){return t.run("ffmetadata")}}}),t._v(" "),e("DefaultWidget",{attrs:{disabled:t.disabled,name:"保存视频章节",icon:"mdi-download"},on:{click:function(e){return t.run("ogm")}}})],1)};n._withStripped=!0;var o=i(164);const a=coreApis.utils.log,s=coreApis.download,r=coreApis.utils.title;var d=i(469);const c=Vue.extend({components:{DefaultWidget:o.DefaultWidget},data:()=>({disabled:!1}),methods:{async run(t){try{this.disabled=!0,s.DownloadPackage.single(`${(0,r.getFriendlyTitle)(!0)}.${t}.txt`,await(0,d.V)(t))}catch(t){(0,a.logError)(t)}finally{this.disabled=!1}}}});const l=(0,i(678).A)(c,n,[],!1,null,null,null).exports},678:(t,e,i)=>{function n(t,e,i,n,o,a,s,r){var d,c="function"==typeof t?t.options:t;if(e&&(c.render=e,c.staticRenderFns=i,c._compiled=!0),n&&(c.functional=!0),a&&(c._scopeId="data-v-"+a),s?(d=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),o&&o.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(s)},c._ssrRegister=d):o&&(d=r?function(){o.call(this,(c.functional?this.parent:this).$root.$options.shadowRoot)}:o),d)if(c.functional){c._injectStyles=d;var l=c.render;c.render=function(t,e){return d.call(e),l(t,e)}}else{var u=c.beforeCreate;c.beforeCreate=u?[].concat(u,d):[d]}return{exports:t,options:c}}i.d(e,{A:()=>n})},253:t=>{t.exports=coreApis.componentApis.define},905:t=>{t.exports=coreApis.settings},5:t=>{t.exports=coreApis.toast},164:t=>{t.exports=coreApis.ui}},e={};function i(n){var o=e[n];if(void 0!==o)return o.exports;var a=e[n]={exports:{}};return t[n](a,a.exports,i),a.exports}i.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return i.d(e,{a:e}),e},i.d=(t,e)=>{for(var n in e)i.o(e,n)&&!i.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},i.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),i.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var n=i(315);return n=n.component})())); //# sourceMappingURL=https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/registry/dist/components/video/metadata.js.map \ No newline at end of file diff --git a/bb-evolved/registry/dist/components/video/outer-watchlater.js b/bb-evolved/registry/dist/components/video/outer-watchlater.js index 574acb4cb8..1b4a6ed163 100644 --- a/bb-evolved/registry/dist/components/video/outer-watchlater.js +++ b/bb-evolved/registry/dist/components/video/outer-watchlater.js @@ -11,5 +11,5 @@ var i=this[r][0];null!=i&&(a[i]=!0)}for(var l=0;l{"use strict";var n,a=function(){return void 0===n&&( // @see http://browserhacks.com/#hack-e71d8692f65334173fee715c222cb805 // @see https://github.com/webpack-contrib/style-loader/issues/177 -n=Boolean(window&&document&&document.all&&!window.atob)),n},r=function(){var t={};return function(e){if(void 0===t[e]){var o=document.querySelector(e);if(window.HTMLIFrameElement&&o instanceof window.HTMLIFrameElement)try{o=o.contentDocument.head}catch(t){o=null}t[e]=o}return t[e]}}(),i=[];function l(t){for(var e=-1,o=0;o{"use strict";o.r(e),o.d(e,{default:()=>v});var n=function(){var t=this,e=t._self._c;t._self._setupProxy;return e("span",{staticClass:"watchlater be-outer-watchlater video-toolbar-left-item",class:{on:t.on,...t.displayModeClass},attrs:{title:"稍后再看"},on:{click:function(e){return t.toggle()}}},[e("VIcon",{staticClass:"icon",attrs:{size:28,icon:"mdi-timetable"}}),t._v(" "),e("span",{staticClass:"text"},[t._v("稍后再看")]),t._v(" "),e("div",{staticClass:"tip",class:{show:t.tipShowing}},[t._v(t._s(t.tipText))])],1)};n._withStripped=!0;const a=coreApis.ui,r=coreApis.componentApis.video.watchlater;var i=o(435);const l=coreApis.settings,c=Vue.extend({components:{VIcon:a.VIcon},data(){const{displayMode:t}=(0,l.getComponentSettings)("outerWatchlater").options;return{watchlaterList:r.watchlaterList,displayMode:t,aid:unsafeWindow.aid,tipText:"",tipShowing:!1,tipHandle:0}},computed:{on(){return console.log(this.watchlaterList,this.aid,this.watchlaterList.includes(parseInt(this.aid))),this.watchlaterList.includes(parseInt(this.aid))},displayModeClass(){return{"icon-only":this.displayMode===i.q.Icon,"icon-and-text":this.displayMode===i.q.IconAndText}}},created(){(0,l.addComponentListener)("outerWatchlater.displayMode",(t=>{this.displayMode=t}))},methods:{showTip(t){this.tipText=t,this.tipShowing=!0,this.tipHandle&&clearTimeout(this.tipHandle),this.tipHandle=setTimeout((()=>{this.tipShowing=!1}),2e3)},async toggle(){await(0,r.toggleWatchlater)(this.aid),this.showTip(this.on?"已添加至稍后再看":"已从稍后再看移除")}}});var s=o(991),d=o.n(s),p=o(334),u=o.n(p),h={insert:"head",singleton:!1};d()(u(),h);u().locals;var f=function(t,e,o,n,a,r,i,l){var c,s="function"==typeof t?t.options:t;if(e&&(s.render=e,s.staticRenderFns=o,s._compiled=!0),n&&(s.functional=!0),r&&(s._scopeId="data-v-"+r),i?(c=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),a&&a.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(i)},s._ssrRegister=c):a&&(c=l?function(){a.call(this,(s.functional?this.parent:this).$root.$options.shadowRoot)}:a),c)if(s.functional){s._injectStyles=c;var d=s.render;s.render=function(t,e){return c.call(e),d(t,e)}}else{var p=s.beforeCreate;s.beforeCreate=p?[].concat(p,c):[c]}return{exports:t,options:s}}(c,n,[],!1,null,null,null);const v=f.exports},253:t=>{"use strict";t.exports=coreApis.componentApis.define},104:t=>{"use strict";t.exports=coreApis.observer}},n={};function a(t){var e=n[t];if(void 0!==e)return e.exports;var r=n[t]={id:t,exports:{}};return o[t](r,r.exports,a),r.exports}a.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return a.d(e,{a:e}),e},e=Object.getPrototypeOf?t=>Object.getPrototypeOf(t):t=>t.__proto__,a.t=function(o,n){if(1&n&&(o=this(o)),8&n)return o;if("object"==typeof o&&o){if(4&n&&o.__esModule)return o;if(16&n&&"function"==typeof o.then)return o}var r=Object.create(null);a.r(r);var i={};t=t||[null,e({}),e([]),e(e)];for(var l=2&n&&o;"object"==typeof l&&!~t.indexOf(l);l=e(l))Object.getOwnPropertyNames(l).forEach((t=>i[t]=()=>o[t]));return i.default=()=>o,a.d(r,i),r},a.d=(t,e)=>{for(var o in e)a.o(e,o)&&!a.o(t,o)&&Object.defineProperty(t,o,{enumerable:!0,get:e[o]})},a.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),a.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},a.nc=void 0;var r={};return(()=>{"use strict";a.d(r,{component:()=>l});var t=a(253);const e=coreApis.utils,o=coreApis.utils.urls,n=coreApis.componentApis.video.videoActions;var i=a(435);const l=(0,t.defineComponentMetadata)({name:"outerWatchlater",displayName:"外置稍后再看",entry:async t=>{let{settings:r}=t;if(o.watchlaterUrls.some(e.matchUrlPattern)&&!r.options.showInWatchlaterPages)return;if(!(0,e.getUID)())return;const i=await Promise.resolve().then(a.bind(a,18)),l=(0,e.mountVueComponent)(i);if(await(0,n.addVideoActionButton)((()=>l.$el))){const{videoChange:t}=await Promise.resolve().then(a.t.bind(a,104,23));t((t=>{let{aid:e}=t;console.log("videoChange",unsafeWindow.aid,e),l.aid=unsafeWindow.aid}))}},tags:[componentsTags.video],description:{"zh-CN":"将视频页面菜单里的 `稍后再看` 移到外面. 请注意如果在稍后再看页面中仍然显示, 是不会实时同步右侧的播放列表的."},urlInclude:o.videoUrls,options:i.f,reload:()=>{dqa(".be-outer-watchlater").forEach((t=>{t.style.display=""}))},unload:()=>{dqa(".be-outer-watchlater").forEach((t=>{t.style.display="none"}))},plugin:{displayName:"稍后再看 - 快捷键支持",setup:t=>{let{addData:e}=t;e("keymap.actions",(t=>{t.watchlater={displayName:"稍后再看",run:t=>{const{clickElement:e}=t;return e(".be-outer-watchlater",t)}}})),e("keymap.presets",(t=>{t.watchlater="shift w"}))}},commitHash:"58c0b438ca2371e397f70466a91572cb2757b142",coreVersion:"2.10.7"})})(),r=r.component})())); +n=Boolean(window&&document&&document.all&&!window.atob)),n},r=function(){var t={};return function(e){if(void 0===t[e]){var o=document.querySelector(e);if(window.HTMLIFrameElement&&o instanceof window.HTMLIFrameElement)try{o=o.contentDocument.head}catch(t){o=null}t[e]=o}return t[e]}}(),i=[];function l(t){for(var e=-1,o=0;o{"use strict";o.r(e),o.d(e,{default:()=>v});var n=function(){var t=this,e=t._self._c;t._self._setupProxy;return e("span",{staticClass:"watchlater be-outer-watchlater video-toolbar-left-item",class:{on:t.on,...t.displayModeClass},attrs:{title:"稍后再看"},on:{click:function(e){return t.toggle()}}},[e("VIcon",{staticClass:"icon",attrs:{size:28,icon:"mdi-timetable"}}),t._v(" "),e("span",{staticClass:"text"},[t._v("稍后再看")]),t._v(" "),e("div",{staticClass:"tip",class:{show:t.tipShowing}},[t._v(t._s(t.tipText))])],1)};n._withStripped=!0;const a=coreApis.ui,r=coreApis.componentApis.video.watchlater;var i=o(435);const l=coreApis.settings,c=Vue.extend({components:{VIcon:a.VIcon},data(){const{displayMode:t}=(0,l.getComponentSettings)("outerWatchlater").options;return{watchlaterList:r.watchlaterList,displayMode:t,aid:unsafeWindow.aid,tipText:"",tipShowing:!1,tipHandle:0}},computed:{on(){return console.log(this.watchlaterList,this.aid,this.watchlaterList.includes(parseInt(this.aid))),this.watchlaterList.includes(parseInt(this.aid))},displayModeClass(){return{"icon-only":this.displayMode===i.q.Icon,"icon-and-text":this.displayMode===i.q.IconAndText}}},created(){(0,l.addComponentListener)("outerWatchlater.displayMode",(t=>{this.displayMode=t}))},methods:{showTip(t){this.tipText=t,this.tipShowing=!0,this.tipHandle&&clearTimeout(this.tipHandle),this.tipHandle=setTimeout((()=>{this.tipShowing=!1}),2e3)},async toggle(){await(0,r.toggleWatchlater)(this.aid),this.showTip(this.on?"已添加至稍后再看":"已从稍后再看移除")}}});var s=o(991),d=o.n(s),p=o(334),u=o.n(p),h={insert:"head",singleton:!1};d()(u(),h);u().locals;var f=function(t,e,o,n,a,r,i,l){var c,s="function"==typeof t?t.options:t;if(e&&(s.render=e,s.staticRenderFns=o,s._compiled=!0),n&&(s.functional=!0),r&&(s._scopeId="data-v-"+r),i?(c=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),a&&a.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(i)},s._ssrRegister=c):a&&(c=l?function(){a.call(this,(s.functional?this.parent:this).$root.$options.shadowRoot)}:a),c)if(s.functional){s._injectStyles=c;var d=s.render;s.render=function(t,e){return c.call(e),d(t,e)}}else{var p=s.beforeCreate;s.beforeCreate=p?[].concat(p,c):[c]}return{exports:t,options:s}}(c,n,[],!1,null,null,null);const v=f.exports},253:t=>{"use strict";t.exports=coreApis.componentApis.define},104:t=>{"use strict";t.exports=coreApis.observer}},n={};function a(t){var e=n[t];if(void 0!==e)return e.exports;var r=n[t]={id:t,exports:{}};return o[t](r,r.exports,a),r.exports}a.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return a.d(e,{a:e}),e},e=Object.getPrototypeOf?t=>Object.getPrototypeOf(t):t=>t.__proto__,a.t=function(o,n){if(1&n&&(o=this(o)),8&n)return o;if("object"==typeof o&&o){if(4&n&&o.__esModule)return o;if(16&n&&"function"==typeof o.then)return o}var r=Object.create(null);a.r(r);var i={};t=t||[null,e({}),e([]),e(e)];for(var l=2&n&&o;"object"==typeof l&&!~t.indexOf(l);l=e(l))Object.getOwnPropertyNames(l).forEach((t=>i[t]=()=>o[t]));return i.default=()=>o,a.d(r,i),r},a.d=(t,e)=>{for(var o in e)a.o(e,o)&&!a.o(t,o)&&Object.defineProperty(t,o,{enumerable:!0,get:e[o]})},a.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),a.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},a.nc=void 0;var r={};return(()=>{"use strict";a.d(r,{component:()=>l});var t=a(253);const e=coreApis.utils,o=coreApis.utils.urls,n=coreApis.componentApis.video.videoActions;var i=a(435);const l=(0,t.defineComponentMetadata)({name:"outerWatchlater",displayName:"外置稍后再看",entry:async t=>{let{settings:r}=t;if(o.watchlaterUrls.some(e.matchUrlPattern)&&!r.options.showInWatchlaterPages)return;if(!(0,e.getUID)())return;const i=await Promise.resolve().then(a.bind(a,18)),l=(0,e.mountVueComponent)(i);if(await(0,n.addVideoActionButton)((()=>l.$el))){const{videoChange:t}=await Promise.resolve().then(a.t.bind(a,104,23));t((t=>{let{aid:e}=t;console.log("videoChange",unsafeWindow.aid,e),l.aid=unsafeWindow.aid}))}},tags:[componentsTags.video],description:{"zh-CN":"将视频页面菜单里的 `稍后再看` 移到外面. 请注意如果在稍后再看页面中仍然显示, 是不会实时同步右侧的播放列表的."},urlInclude:o.videoUrls,options:i.f,reload:()=>{dqa(".be-outer-watchlater").forEach((t=>{t.style.display=""}))},unload:()=>{dqa(".be-outer-watchlater").forEach((t=>{t.style.display="none"}))},plugin:{displayName:"稍后再看 - 快捷键支持",setup:t=>{let{addData:e}=t;e("keymap.actions",(t=>{t.watchlater={displayName:"稍后再看",run:t=>{const{clickElement:e}=t;return e(".be-outer-watchlater",t)}}})),e("keymap.presets",(t=>{t.watchlater="shift w"}))}},commitHash:"d87d69cfb9d7e0124bd90a06fec4569bd61e02c5",coreVersion:"2.10.7"})})(),r=r.component})())); //# sourceMappingURL=https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/registry/dist/components/video/outer-watchlater.js.map \ No newline at end of file diff --git a/bb-evolved/registry/dist/components/video/player/auto-light.js b/bb-evolved/registry/dist/components/video/player/auto-light.js index 445c053e1b..b53a6a829e 100644 --- a/bb-evolved/registry/dist/components/video/player/auto-light.js +++ b/bb-evolved/registry/dist/components/video/player/auto-light.js @@ -1,2 +1,2 @@ -!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["video/player/auto-light"]=t():e["video/player/auto-light"]=t()}(globalThis,(()=>(()=>{"use strict";var e,t,n={847:e=>{e.exports=coreApis.utils}},o={};function i(e){var t=o[e];if(void 0!==t)return t.exports;var r=o[e]={exports:{}};return n[e](r,r.exports,i),r.exports}t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,i.t=function(n,o){if(1&o&&(n=this(n)),8&o)return n;if("object"==typeof n&&n){if(4&o&&n.__esModule)return n;if(16&o&&"function"==typeof n.then)return n}var r=Object.create(null);i.r(r);var a={};e=e||[null,t({}),t([]),t(t)];for(var s=2&o&&n;"object"==typeof s&&!~e.indexOf(s);s=t(s))Object.getOwnPropertyNames(s).forEach((e=>a[e]=()=>n[e]));return a.default=()=>n,i.d(r,a),r},i.d=(e,t)=>{for(var n in t)i.o(t,n)&&!i.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},i.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),i.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var r={};i.d(r,{component:()=>m});const a=coreApis.componentApis.video.playerAgent,s=coreApis.componentApis.video.playerLight,d=coreApis.observer,l=coreApis.utils.urls,p=e=>{let t=document.getElementById("mstars1"),n=document.getElementById("mstars2");e?(null==t&&((()=>{const e=document.getElementById("biliMainHeader");if(null==e)return;const t=document.createElement("div");t.id="mstars1";const n=document.createElement("div");n.id="mstars2",e.appendChild(t),e.appendChild(n);const o=document.createElement("style");function i(e){let t="";const n=window.innerWidth*window.innerHeight;for(let o=0;o{let{settings:t}=e;const{isEmbeddedPlayer:n}=await Promise.resolve().then(i.t.bind(i,847,23));if(n())return;const o=()=>{(0,s.lightOn)(),p(!1)},r=()=>{(0,s.lightOff)(),t.options.starAnimation&&p(!0)};(0,d.videoChange)((async()=>{if(null!=c){const e=await c.query.video.element();e.removeEventListener("ended",o),e.removeEventListener("pause",o),e.removeEventListener("play",r)}c=a.playerAgent;const e=await c.query.video.element();c.isAutoPlay()&&r(),e.addEventListener("ended",o),e.addEventListener("pause",o),e.addEventListener("play",r)}))},commitHash:"58c0b438ca2371e397f70466a91572cb2757b142",coreVersion:"2.10.7"});return r=r.component})())); +!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["video/player/auto-light"]=t():e["video/player/auto-light"]=t()}(globalThis,(()=>(()=>{"use strict";var e,t,n={847:e=>{e.exports=coreApis.utils}},o={};function i(e){var t=o[e];if(void 0!==t)return t.exports;var r=o[e]={exports:{}};return n[e](r,r.exports,i),r.exports}t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,i.t=function(n,o){if(1&o&&(n=this(n)),8&o)return n;if("object"==typeof n&&n){if(4&o&&n.__esModule)return n;if(16&o&&"function"==typeof n.then)return n}var r=Object.create(null);i.r(r);var a={};e=e||[null,t({}),t([]),t(t)];for(var s=2&o&&n;"object"==typeof s&&!~e.indexOf(s);s=t(s))Object.getOwnPropertyNames(s).forEach((e=>a[e]=()=>n[e]));return a.default=()=>n,i.d(r,a),r},i.d=(e,t)=>{for(var n in t)i.o(t,n)&&!i.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},i.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),i.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var r={};i.d(r,{component:()=>m});const a=coreApis.componentApis.video.playerAgent,s=coreApis.componentApis.video.playerLight,d=coreApis.observer,l=coreApis.utils.urls,p=e=>{let t=document.getElementById("mstars1"),n=document.getElementById("mstars2");e?(null==t&&((()=>{const e=document.getElementById("biliMainHeader");if(null==e)return;const t=document.createElement("div");t.id="mstars1";const n=document.createElement("div");n.id="mstars2",e.appendChild(t),e.appendChild(n);const o=document.createElement("style");function i(e){let t="";const n=window.innerWidth*window.innerHeight;for(let o=0;o{let{settings:t}=e;const{isEmbeddedPlayer:n}=await Promise.resolve().then(i.t.bind(i,847,23));if(n())return;const o=()=>{(0,s.lightOn)(),p(!1)},r=()=>{(0,s.lightOff)(),t.options.starAnimation&&p(!0)};(0,d.videoChange)((async()=>{if(null!=c){const e=await c.query.video.element();e.removeEventListener("ended",o),e.removeEventListener("pause",o),e.removeEventListener("play",r)}c=a.playerAgent;const e=await c.query.video.element();c.isAutoPlay()&&r(),e.addEventListener("ended",o),e.addEventListener("pause",o),e.addEventListener("play",r)}))},commitHash:"d87d69cfb9d7e0124bd90a06fec4569bd61e02c5",coreVersion:"2.10.7"});return r=r.component})())); //# sourceMappingURL=https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/registry/dist/components/video/player/auto-light.js.map \ No newline at end of file diff --git a/bb-evolved/registry/dist/components/video/player/control-background.js b/bb-evolved/registry/dist/components/video/player/control-background.js index ed9f61fc05..78998a1ebe 100644 --- a/bb-evolved/registry/dist/components/video/player/control-background.js +++ b/bb-evolved/registry/dist/components/video/player/control-background.js @@ -8,5 +8,5 @@ o=[[null,o,""]]);var n={};if(t)for(var l=0;l{"use strict";function e(o,e){return function(o){if(Array.isArray(o))return o}(o)||function(o,e){var r=o&&("undefined"!=typeof Symbol&&o[Symbol.iterator]||o["@@iterator"]);if(null==r)return;var t,n,l=[],i=!0,a=!1;try{for(r=r.call(o);!(i=(t=r.next()).done)&&(l.push(t.value),!e||l.length!==e);i=!0);}catch(o){a=!0,n=o}finally{try{i||null==r.return||r.return()}finally{if(a)throw n}}return l}(o,e)||function(o,e){if(!o)return;if("string"==typeof o)return r(o,e);var t=Object.prototype.toString.call(o).slice(8,-1);"Object"===t&&o.constructor&&(t=o.constructor.name);if("Map"===t||"Set"===t)return Array.from(o);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return r(o,e)}(o,e)||function(){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 r(o,e){(null==e||e>o.length)&&(e=o.length);for(var r=0,t=new Array(e);r{var t=r(50);t&&t.__esModule&&(t=t.default),o.exports="string"==typeof t?t:t.toString()},905:o=>{"use strict";o.exports=coreApis.settings}},t={};function n(o){var e=t[o];if(void 0!==e)return e.exports;var l=t[o]={id:o,exports:{}};return r[o](l,l.exports,n),l.exports}e=Object.getPrototypeOf?o=>Object.getPrototypeOf(o):o=>o.__proto__,n.t=function(r,t){if(1&t&&(r=this(r)),8&t)return r;if("object"==typeof r&&r){if(4&t&&r.__esModule)return r;if(16&t&&"function"==typeof r.then)return r}var l=Object.create(null);n.r(l);var i={};o=o||[null,e({}),e([]),e(e)];for(var a=2&t&&r;"object"==typeof a&&!~o.indexOf(a);a=e(a))Object.getOwnPropertyNames(a).forEach((o=>i[o]=()=>r[o]));return i.default=()=>r,n.d(l,i),l},n.d=(o,e)=>{for(var r in e)n.o(e,r)&&!n.o(o,r)&&Object.defineProperty(o,r,{enumerable:!0,get:e[r]})},n.o=(o,e)=>Object.prototype.hasOwnProperty.call(o,e),n.r=o=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(o,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(o,"__esModule",{value:!0})};var l={};return(()=>{"use strict";n.d(l,{component:()=>t});const o=coreApis.componentApis.define,e=coreApis.utils.urls,r=(0,o.defineOptionsMetadata)({opacity:{displayName:"不透明度(%)",defaultValue:64,slider:{}},includeProgress:{displayName:"包括进度条",defaultValue:!0}}),t=(0,o.defineComponentMetadata)({name:"playerControlBackground",displayName:"播放器控制栏背景色",tags:[componentsTags.video,componentsTags.style],description:{"zh-CN":"给视频播放器控制栏附上半透明的黑色, 代替原来的阴影."},entry:async o=>{let{metadata:e}=o;const{addComponentListener:r}=await Promise.resolve().then(n.t.bind(n,905,23));r(`${e.name}.includeProgress`,(o=>{document.body.classList.toggle("video-control-progress-background",o)}),!0),r(`${e.name}.opacity`,lodash.debounce((o=>{document.documentElement.style.setProperty("--video-control-opacity",(o/100).toString())}),200),!0)},instantStyles:[{name:"playerControlBackground",style:()=>Promise.resolve().then(n.t.bind(n,612,23))}],urlInclude:e.playerUrls,options:r,commitHash:"58c0b438ca2371e397f70466a91572cb2757b142",coreVersion:"2.10.7"})})(),l=l.component})())); +var l=btoa(unescape(encodeURIComponent(JSON.stringify(n)))),i="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(l),a="/*# ".concat(i," */"),b=n.sources.map((function(o){return"/*# sourceURL=".concat(n.sourceRoot||"").concat(o," */")}));return[t].concat(b).concat([a]).join("\n")}return[t].join("\n")}},612:(o,e,r)=>{var t=r(50);t&&t.__esModule&&(t=t.default),o.exports="string"==typeof t?t:t.toString()},905:o=>{"use strict";o.exports=coreApis.settings}},t={};function n(o){var e=t[o];if(void 0!==e)return e.exports;var l=t[o]={id:o,exports:{}};return r[o](l,l.exports,n),l.exports}e=Object.getPrototypeOf?o=>Object.getPrototypeOf(o):o=>o.__proto__,n.t=function(r,t){if(1&t&&(r=this(r)),8&t)return r;if("object"==typeof r&&r){if(4&t&&r.__esModule)return r;if(16&t&&"function"==typeof r.then)return r}var l=Object.create(null);n.r(l);var i={};o=o||[null,e({}),e([]),e(e)];for(var a=2&t&&r;"object"==typeof a&&!~o.indexOf(a);a=e(a))Object.getOwnPropertyNames(a).forEach((o=>i[o]=()=>r[o]));return i.default=()=>r,n.d(l,i),l},n.d=(o,e)=>{for(var r in e)n.o(e,r)&&!n.o(o,r)&&Object.defineProperty(o,r,{enumerable:!0,get:e[r]})},n.o=(o,e)=>Object.prototype.hasOwnProperty.call(o,e),n.r=o=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(o,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(o,"__esModule",{value:!0})};var l={};return(()=>{"use strict";n.d(l,{component:()=>t});const o=coreApis.componentApis.define,e=coreApis.utils.urls,r=(0,o.defineOptionsMetadata)({opacity:{displayName:"不透明度(%)",defaultValue:64,slider:{}},includeProgress:{displayName:"包括进度条",defaultValue:!0}}),t=(0,o.defineComponentMetadata)({name:"playerControlBackground",displayName:"播放器控制栏背景色",tags:[componentsTags.video,componentsTags.style],description:{"zh-CN":"给视频播放器控制栏附上半透明的黑色, 代替原来的阴影."},entry:async o=>{let{metadata:e}=o;const{addComponentListener:r}=await Promise.resolve().then(n.t.bind(n,905,23));r(`${e.name}.includeProgress`,(o=>{document.body.classList.toggle("video-control-progress-background",o)}),!0),r(`${e.name}.opacity`,lodash.debounce((o=>{document.documentElement.style.setProperty("--video-control-opacity",(o/100).toString())}),200),!0)},instantStyles:[{name:"playerControlBackground",style:()=>Promise.resolve().then(n.t.bind(n,612,23))}],urlInclude:e.playerUrls,options:r,commitHash:"d87d69cfb9d7e0124bd90a06fec4569bd61e02c5",coreVersion:"2.10.7"})})(),l=l.component})())); //# sourceMappingURL=https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/registry/dist/components/video/player/control-background.js.map \ No newline at end of file diff --git a/bb-evolved/registry/dist/components/video/player/custom-auto-play.js b/bb-evolved/registry/dist/components/video/player/custom-auto-play.js index 00d886352f..fa52a68c7b 100644 --- a/bb-evolved/registry/dist/components/video/player/custom-auto-play.js +++ b/bb-evolved/registry/dist/components/video/player/custom-auto-play.js @@ -1,2 +1,2 @@ -!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports["video/player/custom-auto-play"]=e():t["video/player/custom-auto-play"]=e()}(globalThis,(()=>(()=>{var t,e,r={834:t=>{function e(t){var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e}e.keys=()=>[],e.resolve=e,e.id=834,t.exports=e},397:t=>{"use strict";t.exports="定制自动连播行为,可根据自动连播视频类型分别配置\n\n---\n\n自动连播行为:\n\n- 自动:类似 `传统连播模式`,区别是多P视频包括番剧,具体如下\n - 推荐视频都不自动连播\n - 多P视频(番剧、多P列表、收藏夹等)连播到最后1P停止\n- 禁用:不自动连播\n- 总是:总是自动连播,具体由B站本身决定,如 `分p视频` 会自动连播推荐视频,但 `番剧` 会到最后1集停止\n\n---\n\n优先级说明:\n\n目前只有 `推荐视频(列表第一个)` 会和其他类型同时出现,`推荐视频(列表第一个)` 的优先级是最低的,并且需要设置为 `总是` 且其他匹配类型不是 `总是` 时才会生效\n\n下面举例说明当 `推荐视频(列表第一个)` 为 `总是` 时,其他类型的设置及最终联动行为:\n\n| 设置 | 分P视频 |\n| :--- | :--- |\n| `自动` | 连播下一P,播完所有P后连播推荐视频 |\n| `禁用` | 当前分P播放完后自动连播推荐视频 |\n| `总是` | 保持分p视频类型原行为,具体参考 `自动连播行为` 中的说明 |\n"}},n={};function o(t){var e=n[t];if(void 0!==e)return e.exports;var i=n[t]={exports:{}};return r[t](i,i.exports,o),i.exports}e=Object.getPrototypeOf?t=>Object.getPrototypeOf(t):t=>t.__proto__,o.t=function(r,n){if(1&n&&(r=this(r)),8&n)return r;if("object"==typeof r&&r){if(4&n&&r.__esModule)return r;if(16&n&&"function"==typeof r.then)return r}var i=Object.create(null);o.r(i);var u={};t=t||[null,e({}),e([]),e(e)];for(var a=2&n&&r;"object"==typeof a&&!~t.indexOf(a);a=e(a))Object.getOwnPropertyNames(a).forEach((t=>u[t]=()=>r[t]));return u.default=()=>r,o.d(i,u),i},o.d=(t,e)=>{for(var r in e)o.o(e,r)&&!o.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},o.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),o.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var i={};return(()=>{"use strict";o.d(i,{component:()=>q,v:()=>O});const t=coreApis.componentApis.define,e=coreApis.utils.urls,r=coreApis.utils.log,n=coreApis.spinQuery,u=coreApis.utils,a=coreApis.settings,s=coreApis.observer;let l=function(t){return t.AUTO="自动",t.DISABLE="禁用",t.ALWAYS="总是",t}({});function c(t,e,r){return(e=function(t){var e=function(t,e){if("object"!=typeof t||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==typeof e?e:e+""}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}class p{constructor(){c(this,"type",void 0)}static register(t){p.handlers.push(t)}static async getHandlers(){const t=[];for(const e of p.handlers)await e.match()&&t.push(e);return t}static shouldAutoplayWithAutoHandler(t,e){switch(t){case l.ALWAYS:return!0;case l.DISABLE:return!1;case l.AUTO:default:return e()}}getSequentialNumberString(){return""}parseSequentialNumbers(){return this.getSequentialNumberString().replace(/[()()]/g,"").split("/").map((t=>parseInt(t)))}isLastSequentialNumber(){const t=this.parseSequentialNumbers();return!t||t.length<2||t[0]>=t[1]}async setupAutoPlay_SwitchBtn(t){(0,n.sq)((()=>{try{const e=document.getElementById("app");return(0,u.getVue2Data)(e).setContinuousPlay(t),!0}catch(t){return O.debug(`${this.constructor.name}:设置自动连播按钮状态发生错误,错误信息:${t}`),!1}}))}async setupAutoPlay_Player(t){const e=t?'.bpx-player-ctrl-setting-handoff input[type="radio"][value="0"]':'.bpx-player-ctrl-setting-handoff input[type="radio"][value="2"]',r=await(0,n.select)(e);null===r&&O.error(`${this.constructor.name}:未找到对应的播放方式按钮`),r.click()}}function y(t,e,r){return(e=function(t){var e=function(t,e){if("object"!=typeof t||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==typeof e?e:e+""}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}c(p,"settings",void 0),c(p,"handlers",[]);class m extends p{constructor(){super(...arguments),y(this,"type","番剧")}async match(){return e.bangumiUrls.some((t=>(0,u.matchUrlPattern)(t)))}getSequentialNumberString(){return document.querySelector(".plp-r span[class^=eplist_ep_list_progress]").innerHTML}isLastSequentialNumber(){if(this.getSequentialNumberString().length>0)return super.isLastSequentialNumber();return!document.querySelector(".plp-r img[class^=PlayingIcon_playIcon]").closest("div[class^=imageListItem_wrap]").nextElementSibling}async shouldAutoplay(){return p.shouldAutoplayWithAutoHandler(p.settings.options.bangumiAutoplayAction,(()=>!this.isLastSequentialNumber()))}async setupAutoPlay(t){await this.setupAutoPlay_Player(t)}}function d(t,e,r){return(e=function(t){var e=function(t,e){if("object"!=typeof t||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==typeof e?e:e+""}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}class f extends p{constructor(){super(...arguments),d(this,"type","收藏夹")}async match(){return e.favoriteListUrls.some((t=>(0,u.matchUrlPattern)(t)))}getSequentialNumberString(){return document.querySelector(".list-count").innerHTML}async shouldAutoplay(){return p.shouldAutoplayWithAutoHandler(p.settings.options.favoriteAutoplayAction,(()=>!this.isLastSequentialNumber()))}async setupAutoPlay(t){await this.setupAutoPlay_SwitchBtn(t)}}function b(t,e,r){return(e=function(t){var e=function(t,e){if("object"!=typeof t||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==typeof e?e:e+""}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}class h extends p{constructor(){super(...arguments),b(this,"type","视频合集")}async match(){const t=document.querySelector(".video-pod .section"),e=document.querySelector(".video-pod .auto-play .switch-btn");return(0,u.matchUrlPattern)("//www.bilibili.com/video/")&&null!=t&&null!=e}getSequentialNumberString(){return document.querySelector(".video-pod__header .amt").innerHTML}async shouldAutoplay(){return p.shouldAutoplayWithAutoHandler(p.settings.options.playlistAutoplayAction,(()=>!this.isLastSequentialNumber()))}async setupAutoPlay(t){await this.setupAutoPlay_SwitchBtn(t)}}function v(t,e,r){return(e=function(t){var e=function(t,e){if("object"!=typeof t||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==typeof e?e:e+""}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}class g extends p{constructor(){super(...arguments),v(this,"type","推荐视频(接下来播放)")}async match(){const t=document.querySelector(".recommend-list-v1 .switch-btn");return(0,u.matchUrlPattern)("//www.bilibili.com/video/")&&null!==t}async shouldAutoplay(){return p.shouldAutoplayWithAutoHandler(p.settings.options.recommendAutoplayAction,(()=>!1))}async setupAutoPlay(t){await this.setupAutoPlay_SwitchBtn(t)}}function A(t,e,r){return(e=function(t){var e=function(t,e){if("object"!=typeof t||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==typeof e?e:e+""}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}class w extends p{constructor(){super(...arguments),A(this,"type","稍后再看")}async match(){return e.watchlaterUrls.some((t=>(0,u.matchUrlPattern)(t)))}getSequentialNumberString(){return document.querySelector(".list-count").innerHTML}async shouldAutoplay(){return p.shouldAutoplayWithAutoHandler(p.settings.options.watchLaterAutoplayAction,(()=>!this.isLastSequentialNumber()))}async setupAutoPlay(t){await this.setupAutoPlay_SwitchBtn(t)}}function P(t,e,r){return(e=function(t){var e=function(t,e){if("object"!=typeof t||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==typeof e?e:e+""}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}class S extends p{constructor(){super(...arguments),P(this,"type","分P视频")}async match(){const t=document.querySelector(".video-pod .multip"),e=document.querySelector(".video-pod .auto-play .switch-btn");return(0,u.matchUrlPattern)("//www.bilibili.com/video/")&&null!=t&&null!=e}getSequentialNumberString(){return document.querySelector(".video-pod__header .amt").innerHTML}async shouldAutoplay(){return p.shouldAutoplayWithAutoHandler(p.settings.options.multipartAutoplayAction,(()=>!this.isLastSequentialNumber()))}async setupAutoPlay(t){await this.setupAutoPlay_SwitchBtn(t)}}function j(t,e,r){return(e=function(t){var e=function(t,e){if("object"!=typeof t||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==typeof e?e:e+""}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}class N extends p{constructor(){super(...arguments),j(this,"type","推荐视频(列表第一个)"),j(this,"onVideoEnded",(()=>{const t=this.getFirstRecommend();window.location.assign(t.getAttribute("href"))}))}async match(){let t=(0,u.matchUrlPattern)("//www.bilibili.com/video/");return t=t||e.bangumiUrls.some((t=>(0,u.matchUrlPattern)(t))),t=t||e.favoriteListUrls.some((t=>(0,u.matchUrlPattern)(t))),t=t||e.watchlaterUrls.some((t=>(0,u.matchUrlPattern)(t))),t&&null!==this.getFirstRecommend()}async shouldAutoplay(){return p.shouldAutoplayWithAutoHandler(p.settings.options.recommendListAutoplayAction,(()=>!1))}async setupAutoPlay(t){const e=document.querySelector("video");e&&(t?e.addEventListener("ended",this.onVideoEnded,{once:!0}):e.removeEventListener("ended",this.onVideoEnded))}getFirstRecommend(){return document.querySelector(".rec-list .pic a,.recommend-list-container .pic-box a,.plp-r div[class^=RecommendItem_wrap] a")}}const O=(0,r.useScopedConsole)("定制自动连播行为"),q=(0,t.defineComponentMetadata)({name:"customAutoPlay",displayName:"定制自动连播行为",tags:[componentsTags.video],urlInclude:[...e.videoUrls,...e.bangumiUrls],entry:async t=>{let{metadata:e,settings:r}=t;async function o(){await(0,u.playerReady)();const t=await p.getHandlers();if(0===t.length)return void O.warn("未找到匹配的自动播放处理器");O.log(`导航变化(${document.URL}),重新初始化脚本`);let e=null;const r=[];for(const n of t){const t=await n.shouldAutoplay();if(t){if(null===e){O.log(`自动连播类型:${n.type}\n是否应该自动连播:${t}`),e=n;continue}O.log(`自动连播类型:${n.type}\n是否应该自动连播:${t},已有启用的连播类型,自动设置为不连播`)}else O.log(`自动连播类型:${n.type}\n是否应该自动连播:${t}`);r.push(n)}for(const t of r)await t.setupAutoPlay(!1);await(e?.setupAutoPlay(!0))}p.register(new m),p.register(new f),p.register(new S),p.register(new h),p.register(new w),p.register(new g),p.register(new N),p.settings=r;const i=lodash.debounce(o,1e3),l=await Promise.any([(0,n.select)(".right-container-inner"),(0,n.select)(".playlist-container--right"),(0,n.select)(".plp-r")]);l?((0,s.childListSubtree)(l,(()=>{i()})),Object.keys(r.options).forEach((t=>{(0,a.addComponentListener)(`${e.name}.${t}`,(async()=>{await o()}),!0)}))):O.warn("未找到 rightPanelContainer 或 playListContainer")},options:{bangumiAutoplayAction:{displayName:"自动连播行为-番剧",defaultValue:l.ALWAYS,dropdownEnum:l},favoriteAutoplayAction:{displayName:"自动连播行为-收藏夹",defaultValue:l.AUTO,dropdownEnum:l},multipartAutoplayAction:{displayName:"自动连播行为-分p视频",defaultValue:l.AUTO,dropdownEnum:l},playlistAutoplayAction:{displayName:"自动连播行为-视频合集",defaultValue:l.AUTO,dropdownEnum:l},watchLaterAutoplayAction:{displayName:"自动连播行为-稍后再看",defaultValue:l.AUTO,dropdownEnum:l},recommendAutoplayAction:{displayName:"自动连播行为-推荐视频(接下来播放)",defaultValue:l.AUTO,dropdownEnum:l},recommendListAutoplayAction:{displayName:"自动连播行为-推荐视频(列表第一个)",defaultValue:l.AUTO,dropdownEnum:l}},commitHash:"58c0b438ca2371e397f70466a91572cb2757b142",coreVersion:"2.10.7",description:(()=>{const t=o(834);return{...Object.fromEntries(t.keys().map((e=>[e.match(/index\.(.+)\.md$/)[1],t(e)]))),"zh-CN":()=>Promise.resolve().then(o.t.bind(o,397,17)).then((t=>t.default))}})()})})(),i=i.component})())); +!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports["video/player/custom-auto-play"]=e():t["video/player/custom-auto-play"]=e()}(globalThis,(()=>(()=>{var t,e,r={834:t=>{function e(t){var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e}e.keys=()=>[],e.resolve=e,e.id=834,t.exports=e},397:t=>{"use strict";t.exports="定制自动连播行为,可根据自动连播视频类型分别配置\n\n---\n\n自动连播行为:\n\n- 自动:类似 `传统连播模式`,区别是多P视频包括番剧,具体如下\n - 推荐视频都不自动连播\n - 多P视频(番剧、多P列表、收藏夹等)连播到最后1P停止\n- 禁用:不自动连播\n- 总是:总是自动连播,具体由B站本身决定,如 `分p视频` 会自动连播推荐视频,但 `番剧` 会到最后1集停止\n\n---\n\n优先级说明:\n\n目前只有 `推荐视频(列表第一个)` 会和其他类型同时出现,`推荐视频(列表第一个)` 的优先级是最低的,并且需要设置为 `总是` 且其他匹配类型不是 `总是` 时才会生效\n\n下面举例说明当 `推荐视频(列表第一个)` 为 `总是` 时,其他类型的设置及最终联动行为:\n\n| 设置 | 分P视频 |\n| :--- | :--- |\n| `自动` | 连播下一P,播完所有P后连播推荐视频 |\n| `禁用` | 当前分P播放完后自动连播推荐视频 |\n| `总是` | 保持分p视频类型原行为,具体参考 `自动连播行为` 中的说明 |\n"}},n={};function o(t){var e=n[t];if(void 0!==e)return e.exports;var i=n[t]={exports:{}};return r[t](i,i.exports,o),i.exports}e=Object.getPrototypeOf?t=>Object.getPrototypeOf(t):t=>t.__proto__,o.t=function(r,n){if(1&n&&(r=this(r)),8&n)return r;if("object"==typeof r&&r){if(4&n&&r.__esModule)return r;if(16&n&&"function"==typeof r.then)return r}var i=Object.create(null);o.r(i);var u={};t=t||[null,e({}),e([]),e(e)];for(var a=2&n&&r;"object"==typeof a&&!~t.indexOf(a);a=e(a))Object.getOwnPropertyNames(a).forEach((t=>u[t]=()=>r[t]));return u.default=()=>r,o.d(i,u),i},o.d=(t,e)=>{for(var r in e)o.o(e,r)&&!o.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},o.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),o.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var i={};return(()=>{"use strict";o.d(i,{component:()=>q,v:()=>O});const t=coreApis.componentApis.define,e=coreApis.utils.urls,r=coreApis.utils.log,n=coreApis.spinQuery,u=coreApis.utils,a=coreApis.settings,s=coreApis.observer;let l=function(t){return t.AUTO="自动",t.DISABLE="禁用",t.ALWAYS="总是",t}({});function c(t,e,r){return(e=function(t){var e=function(t,e){if("object"!=typeof t||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==typeof e?e:e+""}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}class p{constructor(){c(this,"type",void 0)}static register(t){p.handlers.push(t)}static async getHandlers(){const t=[];for(const e of p.handlers)await e.match()&&t.push(e);return t}static shouldAutoplayWithAutoHandler(t,e){switch(t){case l.ALWAYS:return!0;case l.DISABLE:return!1;case l.AUTO:default:return e()}}getSequentialNumberString(){return""}parseSequentialNumbers(){return this.getSequentialNumberString().replace(/[()()]/g,"").split("/").map((t=>parseInt(t)))}isLastSequentialNumber(){const t=this.parseSequentialNumbers();return!t||t.length<2||t[0]>=t[1]}async setupAutoPlay_SwitchBtn(t){(0,n.sq)((()=>{try{const e=document.getElementById("app");return(0,u.getVue2Data)(e).setContinuousPlay(t),!0}catch(t){return O.debug(`${this.constructor.name}:设置自动连播按钮状态发生错误,错误信息:${t}`),!1}}))}async setupAutoPlay_Player(t){const e=t?'.bpx-player-ctrl-setting-handoff input[type="radio"][value="0"]':'.bpx-player-ctrl-setting-handoff input[type="radio"][value="2"]',r=await(0,n.select)(e);null===r&&O.error(`${this.constructor.name}:未找到对应的播放方式按钮`),r.click()}}function d(t,e,r){return(e=function(t){var e=function(t,e){if("object"!=typeof t||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==typeof e?e:e+""}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}c(p,"settings",void 0),c(p,"handlers",[]);class y extends p{constructor(){super(...arguments),d(this,"type","番剧")}async match(){return e.bangumiUrls.some((t=>(0,u.matchUrlPattern)(t)))}getSequentialNumberString(){return document.querySelector(".plp-r span[class^=eplist_ep_list_progress]").innerHTML}isLastSequentialNumber(){if(this.getSequentialNumberString().length>0)return super.isLastSequentialNumber();return!document.querySelector(".plp-r img[class^=PlayingIcon_playIcon]").closest("div[class^=imageListItem_wrap]").nextElementSibling}async shouldAutoplay(){return p.shouldAutoplayWithAutoHandler(p.settings.options.bangumiAutoplayAction,(()=>!this.isLastSequentialNumber()))}async setupAutoPlay(t){await this.setupAutoPlay_Player(t)}}function m(t,e,r){return(e=function(t){var e=function(t,e){if("object"!=typeof t||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==typeof e?e:e+""}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}class f extends p{constructor(){super(...arguments),m(this,"type","收藏夹")}async match(){return e.favoriteListUrls.some((t=>(0,u.matchUrlPattern)(t)))}getSequentialNumberString(){return document.querySelector(".list-count").innerHTML}async shouldAutoplay(){return p.shouldAutoplayWithAutoHandler(p.settings.options.favoriteAutoplayAction,(()=>!this.isLastSequentialNumber()))}async setupAutoPlay(t){await this.setupAutoPlay_SwitchBtn(t)}}function b(t,e,r){return(e=function(t){var e=function(t,e){if("object"!=typeof t||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==typeof e?e:e+""}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}class h extends p{constructor(){super(...arguments),b(this,"type","视频合集")}async match(){const t=document.querySelector(".video-pod .section"),e=document.querySelector(".video-pod .auto-play .switch-btn");return(0,u.matchUrlPattern)("//www.bilibili.com/video/")&&null!=t&&null!=e}getSequentialNumberString(){return document.querySelector(".video-pod__header .amt").innerHTML}async shouldAutoplay(){return p.shouldAutoplayWithAutoHandler(p.settings.options.playlistAutoplayAction,(()=>!this.isLastSequentialNumber()))}async setupAutoPlay(t){await this.setupAutoPlay_SwitchBtn(t)}}function v(t,e,r){return(e=function(t){var e=function(t,e){if("object"!=typeof t||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==typeof e?e:e+""}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}class g extends p{constructor(){super(...arguments),v(this,"type","推荐视频(接下来播放)")}async match(){const t=document.querySelector(".recommend-list-v1 .switch-btn");return(0,u.matchUrlPattern)("//www.bilibili.com/video/")&&null!==t}async shouldAutoplay(){return p.shouldAutoplayWithAutoHandler(p.settings.options.recommendAutoplayAction,(()=>!1))}async setupAutoPlay(t){await this.setupAutoPlay_SwitchBtn(t)}}function A(t,e,r){return(e=function(t){var e=function(t,e){if("object"!=typeof t||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==typeof e?e:e+""}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}class w extends p{constructor(){super(...arguments),A(this,"type","稍后再看")}async match(){return e.watchlaterUrls.some((t=>(0,u.matchUrlPattern)(t)))}getSequentialNumberString(){return document.querySelector(".list-count").innerHTML}async shouldAutoplay(){return p.shouldAutoplayWithAutoHandler(p.settings.options.watchLaterAutoplayAction,(()=>!this.isLastSequentialNumber()))}async setupAutoPlay(t){await this.setupAutoPlay_SwitchBtn(t)}}function P(t,e,r){return(e=function(t){var e=function(t,e){if("object"!=typeof t||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==typeof e?e:e+""}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}class S extends p{constructor(){super(...arguments),P(this,"type","分P视频")}async match(){const t=document.querySelector(".video-pod .multip"),e=document.querySelector(".video-pod .auto-play .switch-btn");return(0,u.matchUrlPattern)("//www.bilibili.com/video/")&&null!=t&&null!=e}getSequentialNumberString(){return document.querySelector(".video-pod__header .amt").innerHTML}async shouldAutoplay(){return p.shouldAutoplayWithAutoHandler(p.settings.options.multipartAutoplayAction,(()=>!this.isLastSequentialNumber()))}async setupAutoPlay(t){await this.setupAutoPlay_SwitchBtn(t)}}function j(t,e,r){return(e=function(t){var e=function(t,e){if("object"!=typeof t||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==typeof e?e:e+""}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}class N extends p{constructor(){super(...arguments),j(this,"type","推荐视频(列表第一个)"),j(this,"onVideoEnded",(()=>{const t=this.getFirstRecommend();window.location.assign(t.getAttribute("href"))}))}async match(){let t=(0,u.matchUrlPattern)("//www.bilibili.com/video/");return t=t||e.bangumiUrls.some((t=>(0,u.matchUrlPattern)(t))),t=t||e.favoriteListUrls.some((t=>(0,u.matchUrlPattern)(t))),t=t||e.watchlaterUrls.some((t=>(0,u.matchUrlPattern)(t))),t&&null!==this.getFirstRecommend()}async shouldAutoplay(){return p.shouldAutoplayWithAutoHandler(p.settings.options.recommendListAutoplayAction,(()=>!1))}async setupAutoPlay(t){const e=document.querySelector("video");e&&(t?e.addEventListener("ended",this.onVideoEnded,{once:!0}):e.removeEventListener("ended",this.onVideoEnded))}getFirstRecommend(){return document.querySelector(".rec-list .pic a,.recommend-list-container .pic-box a,.plp-r div[class^=RecommendItem_wrap] a")}}const O=(0,r.useScopedConsole)("定制自动连播行为"),q=(0,t.defineComponentMetadata)({name:"customAutoPlay",displayName:"定制自动连播行为",tags:[componentsTags.video],urlInclude:[...e.videoUrls,...e.bangumiUrls],entry:async t=>{let{metadata:e,settings:r}=t;async function o(){await(0,u.playerReady)();const t=await p.getHandlers();if(0===t.length)return void O.warn("未找到匹配的自动播放处理器");O.log(`导航变化(${document.URL}),重新初始化脚本`);let e=null;const r=[];for(const n of t){const t=await n.shouldAutoplay();if(t){if(null===e){O.log(`自动连播类型:${n.type}\n是否应该自动连播:${t}`),e=n;continue}O.log(`自动连播类型:${n.type}\n是否应该自动连播:${t},已有启用的连播类型,自动设置为不连播`)}else O.log(`自动连播类型:${n.type}\n是否应该自动连播:${t}`);r.push(n)}for(const t of r)await t.setupAutoPlay(!1);await(e?.setupAutoPlay(!0))}p.register(new y),p.register(new f),p.register(new S),p.register(new h),p.register(new w),p.register(new g),p.register(new N),p.settings=r;const i=lodash.debounce(o,1e3),l=await Promise.any([(0,n.select)(".right-container-inner"),(0,n.select)(".playlist-container--right"),(0,n.select)(".plp-r")]);l?((0,s.childListSubtree)(l,(()=>{i()})),Object.keys(r.options).forEach((t=>{(0,a.addComponentListener)(`${e.name}.${t}`,(async()=>{await o()}),!0)}))):O.warn("未找到 rightPanelContainer 或 playListContainer")},options:{bangumiAutoplayAction:{displayName:"自动连播行为-番剧",defaultValue:l.ALWAYS,dropdownEnum:l},favoriteAutoplayAction:{displayName:"自动连播行为-收藏夹",defaultValue:l.AUTO,dropdownEnum:l},multipartAutoplayAction:{displayName:"自动连播行为-分p视频",defaultValue:l.AUTO,dropdownEnum:l},playlistAutoplayAction:{displayName:"自动连播行为-视频合集",defaultValue:l.AUTO,dropdownEnum:l},watchLaterAutoplayAction:{displayName:"自动连播行为-稍后再看",defaultValue:l.AUTO,dropdownEnum:l},recommendAutoplayAction:{displayName:"自动连播行为-推荐视频(接下来播放)",defaultValue:l.AUTO,dropdownEnum:l},recommendListAutoplayAction:{displayName:"自动连播行为-推荐视频(列表第一个)",defaultValue:l.AUTO,dropdownEnum:l}},commitHash:"d87d69cfb9d7e0124bd90a06fec4569bd61e02c5",coreVersion:"2.10.7",description:(()=>{const t=o(834);return{...Object.fromEntries(t.keys().map((e=>[e.match(/index\.(.+)\.md$/)[1],t(e)]))),"zh-CN":()=>Promise.resolve().then(o.t.bind(o,397,17)).then((t=>t.default))}})()})})(),i=i.component})())); //# sourceMappingURL=https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/registry/dist/components/video/player/custom-auto-play.js.map \ No newline at end of file diff --git a/bb-evolved/registry/dist/components/video/player/default-mode.js b/bb-evolved/registry/dist/components/video/player/default-mode.js index 9248a12e90..f596af939b 100644 --- a/bb-evolved/registry/dist/components/video/player/default-mode.js +++ b/bb-evolved/registry/dist/components/video/player/default-mode.js @@ -1,2 +1,2 @@ -!function(e,o){"object"==typeof exports&&"object"==typeof module?module.exports=o():"function"==typeof define&&define.amd?define([],o):"object"==typeof exports?exports["video/player/default-mode"]=o():e["video/player/default-mode"]=o()}(globalThis,(()=>(()=>{"use strict";var e={d:(o,t)=>{for(var n in t)e.o(t,n)&&!e.o(o,n)&&Object.defineProperty(o,n,{enumerable:!0,get:t[n]})},o:(e,o)=>Object.prototype.hasOwnProperty.call(e,o)},o={};e.d(o,{component:()=>d});const t=coreApis.componentApis.define,n=coreApis.componentApis.video.playerAgent,l=coreApis.spinQuery,a=coreApis.utils,r=coreApis.utils.lazyPanel,s=coreApis.utils.urls;let i=function(e){return e.Normal="常规",e.Wide="宽屏",e.WebFullscreen="网页全屏",e.Fullscreen="全屏",e}({});const c=(0,t.defineOptionsMetadata)({mode:{defaultValue:i.Normal,displayName:"模式选择",dropdownEnum:i},applyOnPlay:{defaultValue:!1,displayName:"播放时应用"}}),d=(0,t.defineComponentMetadata)({name:"defaultPlayerMode",displayName:"默认播放器模式",entry:async e=>{let{settings:{options:o}}=e;if((0,a.isEmbeddedPlayer)())return;const{query:{control:{buttons:t}}}=n.playerAgent;await(0,a.playerReady)(),Promise.resolve().then((async()=>{const e=new Map([[i.Normal,none],[i.Wide,async()=>{await(0,r.loadLazyPanel)(t.widescreen.selector),(0,a.disableWindowScroll)((()=>n.playerAgent.widescreen()))}],[i.WebFullscreen,async()=>{await(0,r.loadLazyPanel)(t.webFullscreen.selector),n.playerAgent.webFullscreen()}],[i.Fullscreen,async()=>{null!==await(0,l.sq)((()=>dq(n.playerAgent.query.video.element.selector)),(e=>null!==e&&4===e.readyState&&"complete"===document.readyState&&document.hasFocus()))?n.playerAgent.fullscreen():console.warn("[默认播放器模式] 未能应用全屏模式, 等待超时.")}]]),s=await n.playerAgent.query.video.element();if(!s)return;const c=e.get(o.mode);o.applyOnPlay&&!n.playerAgent.isAutoPlay()?s.addEventListener("play",c,{once:!0}):c()}))},tags:[componentsTags.video],description:{"zh-CN":"控制是否使用默认播放器模式, 可以为`常规`, `宽屏`, `网页全屏`或`全屏`. 注意: 不能和其他影响定位的功能一同使用, 例如播放器定位. (相关讨论: [#483](https://github.com/the1812/Bilibili-Evolved/issues/483))","en-US":"Set the default player mode. Could be `Normal`, `Widescreen`, `Web fullscreen` or `Fullscreen`.","ja-JP":"デフォルト・プレーヤー・モードが使用するかどうかを制御する、 例えば`常规`、`宽屏`、 `网页全屏`か`全屏`."},options:c,urlInclude:s.allVideoUrls,commitHash:"58c0b438ca2371e397f70466a91572cb2757b142",coreVersion:"2.10.7"});return o=o.component})())); +!function(e,o){"object"==typeof exports&&"object"==typeof module?module.exports=o():"function"==typeof define&&define.amd?define([],o):"object"==typeof exports?exports["video/player/default-mode"]=o():e["video/player/default-mode"]=o()}(globalThis,(()=>(()=>{"use strict";var e={d:(o,t)=>{for(var n in t)e.o(t,n)&&!e.o(o,n)&&Object.defineProperty(o,n,{enumerable:!0,get:t[n]})},o:(e,o)=>Object.prototype.hasOwnProperty.call(e,o)},o={};e.d(o,{component:()=>c});const t=coreApis.componentApis.define,n=coreApis.componentApis.video.playerAgent,l=coreApis.spinQuery,a=coreApis.utils,r=coreApis.utils.lazyPanel,s=coreApis.utils.urls;let d=function(e){return e.Normal="常规",e.Wide="宽屏",e.WebFullscreen="网页全屏",e.Fullscreen="全屏",e}({});const i=(0,t.defineOptionsMetadata)({mode:{defaultValue:d.Normal,displayName:"模式选择",dropdownEnum:d},applyOnPlay:{defaultValue:!1,displayName:"播放时应用"}}),c=(0,t.defineComponentMetadata)({name:"defaultPlayerMode",displayName:"默认播放器模式",entry:async e=>{let{settings:{options:o}}=e;if((0,a.isEmbeddedPlayer)())return;const{query:{control:{buttons:t}}}=n.playerAgent;await(0,a.playerReady)(),Promise.resolve().then((async()=>{const e=new Map([[d.Normal,none],[d.Wide,async()=>{await(0,r.loadLazyPanel)(t.widescreen.selector),(0,a.disableWindowScroll)((()=>n.playerAgent.widescreen()))}],[d.WebFullscreen,async()=>{await(0,r.loadLazyPanel)(t.webFullscreen.selector),n.playerAgent.webFullscreen()}],[d.Fullscreen,async()=>{null!==await(0,l.sq)((()=>dq(n.playerAgent.query.video.element.selector)),(e=>null!==e&&4===e.readyState&&"complete"===document.readyState&&document.hasFocus()))?n.playerAgent.fullscreen():console.warn("[默认播放器模式] 未能应用全屏模式, 等待超时.")}]]),s=await n.playerAgent.query.video.element();if(!s)return;const i=e.get(o.mode);o.applyOnPlay&&!n.playerAgent.isAutoPlay()?s.addEventListener("play",i,{once:!0}):i()}))},tags:[componentsTags.video],description:{"zh-CN":"控制是否使用默认播放器模式, 可以为`常规`, `宽屏`, `网页全屏`或`全屏`. 注意: 不能和其他影响定位的功能一同使用, 例如播放器定位. (相关讨论: [#483](https://github.com/the1812/Bilibili-Evolved/issues/483))","en-US":"Set the default player mode. Could be `Normal`, `Widescreen`, `Web fullscreen` or `Fullscreen`.","ja-JP":"デフォルト・プレーヤー・モードが使用するかどうかを制御する、 例えば`常规`、`宽屏`、 `网页全屏`か`全屏`."},options:i,urlInclude:s.allVideoUrls,commitHash:"d87d69cfb9d7e0124bd90a06fec4569bd61e02c5",coreVersion:"2.10.7"});return o=o.component})())); //# sourceMappingURL=https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/registry/dist/components/video/player/default-mode.js.map \ No newline at end of file diff --git a/bb-evolved/registry/dist/components/video/player/disable-double-click-fullscreen.js b/bb-evolved/registry/dist/components/video/player/disable-double-click-fullscreen.js index 5e9b875fd9..2af7b0251a 100644 --- a/bb-evolved/registry/dist/components/video/player/disable-double-click-fullscreen.js +++ b/bb-evolved/registry/dist/components/video/player/disable-double-click-fullscreen.js @@ -1,2 +1,2 @@ -!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["video/player/disable-double-click-fullscreen"]=t():e["video/player/disable-double-click-fullscreen"]=t()}(globalThis,(()=>(()=>{var e,t,o={913:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=913,e.exports=t},754:e=>{"use strict";e.exports="禁用播放器的双击全屏功能.\n"}},r={};function n(e){var t=r[e];if(void 0!==t)return t.exports;var i=r[e]={exports:{}};return o[e](i,i.exports,n),i.exports}t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,n.t=function(o,r){if(1&r&&(o=this(o)),8&r)return o;if("object"==typeof o&&o){if(4&r&&o.__esModule)return o;if(16&r&&"function"==typeof o.then)return o}var i=Object.create(null);n.r(i);var c={};e=e||[null,t({}),t([]),t(t)];for(var l=2&r&&o;"object"==typeof l&&!~e.indexOf(l);l=t(l))Object.getOwnPropertyNames(l).forEach((e=>c[e]=()=>o[e]));return c.default=()=>o,n.d(i,c),i},n.d=(e,t)=>{for(var o in t)n.o(t,o)&&!n.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var i={};return(()=>{"use strict";n.d(i,{component:()=>s});const e=coreApis.componentApis.define,t=coreApis.spinQuery,o=coreApis.utils,r=coreApis.utils.urls;let c;const l=async()=>{const e=await(0,t.select)(".bpx-player-video-perch");e&&(c=(0,o.preventEvent)(e,"dblclick"))},s=(0,e.defineComponentMetadata)({name:"disableDoubleClickFullscreen",displayName:"禁用双击全屏",entry:l,reload:l,unload:()=>{c?.()},tags:[componentsTags.video],urlInclude:r.playerUrls,commitHash:"58c0b438ca2371e397f70466a91572cb2757b142",coreVersion:"2.10.7",description:(()=>{const e=n(913);return{...Object.fromEntries(e.keys().map((t=>[t.match(/index\.(.+)\.md$/)[1],e(t)]))),"zh-CN":()=>Promise.resolve().then(n.t.bind(n,754,17)).then((e=>e.default))}})()})})(),i=i.component})())); +!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["video/player/disable-double-click-fullscreen"]=t():e["video/player/disable-double-click-fullscreen"]=t()}(globalThis,(()=>(()=>{var e,t,o={913:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=913,e.exports=t},754:e=>{"use strict";e.exports="禁用播放器的双击全屏功能.\n"}},r={};function n(e){var t=r[e];if(void 0!==t)return t.exports;var i=r[e]={exports:{}};return o[e](i,i.exports,n),i.exports}t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,n.t=function(o,r){if(1&r&&(o=this(o)),8&r)return o;if("object"==typeof o&&o){if(4&r&&o.__esModule)return o;if(16&r&&"function"==typeof o.then)return o}var i=Object.create(null);n.r(i);var c={};e=e||[null,t({}),t([]),t(t)];for(var l=2&r&&o;"object"==typeof l&&!~e.indexOf(l);l=t(l))Object.getOwnPropertyNames(l).forEach((e=>c[e]=()=>o[e]));return c.default=()=>o,n.d(i,c),i},n.d=(e,t)=>{for(var o in t)n.o(t,o)&&!n.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var i={};return(()=>{"use strict";n.d(i,{component:()=>s});const e=coreApis.componentApis.define,t=coreApis.spinQuery,o=coreApis.utils,r=coreApis.utils.urls;let c;const l=async()=>{const e=await(0,t.select)(".bpx-player-video-perch");e&&(c=(0,o.preventEvent)(e,"dblclick"))},s=(0,e.defineComponentMetadata)({name:"disableDoubleClickFullscreen",displayName:"禁用双击全屏",entry:l,reload:l,unload:()=>{c?.()},tags:[componentsTags.video],urlInclude:r.playerUrls,commitHash:"d87d69cfb9d7e0124bd90a06fec4569bd61e02c5",coreVersion:"2.10.7",description:(()=>{const e=n(913);return{...Object.fromEntries(e.keys().map((t=>[t.match(/index\.(.+)\.md$/)[1],e(t)]))),"zh-CN":()=>Promise.resolve().then(n.t.bind(n,754,17)).then((e=>e.default))}})()})})(),i=i.component})())); //# sourceMappingURL=https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/registry/dist/components/video/player/disable-double-click-fullscreen.js.map \ No newline at end of file diff --git a/bb-evolved/registry/dist/components/video/player/disable-scroll-volume.js b/bb-evolved/registry/dist/components/video/player/disable-scroll-volume.js index 8a5eb42a18..358b7948d0 100644 --- a/bb-evolved/registry/dist/components/video/player/disable-scroll-volume.js +++ b/bb-evolved/registry/dist/components/video/player/disable-scroll-volume.js @@ -1,2 +1,2 @@ -!function(e,o){"object"==typeof exports&&"object"==typeof module?module.exports=o():"function"==typeof define&&define.amd?define([],o):"object"==typeof exports?exports["video/player/disable-scroll-volume"]=o():e["video/player/disable-scroll-volume"]=o()}(globalThis,(()=>(()=>{var e,o,t={993:e=>{function o(e){var o=new Error("Cannot find module '"+e+"'");throw o.code="MODULE_NOT_FOUND",o}o.keys=()=>[],o.resolve=o,o.id=993,e.exports=o},746:e=>{"use strict";e.exports="在网页全屏 / 全屏模式下, 禁止鼠标滚轮控制播放器的音量. 请注意不能和 `反转滚轮调音量` 一同使用.\n"}},r={};function n(e){var o=r[e];if(void 0!==o)return o.exports;var l=r[e]={exports:{}};return t[e](l,l.exports,n),l.exports}o=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,n.t=function(t,r){if(1&r&&(t=this(t)),8&r)return t;if("object"==typeof t&&t){if(4&r&&t.__esModule)return t;if(16&r&&"function"==typeof t.then)return t}var l=Object.create(null);n.r(l);var i={};e=e||[null,o({}),o([]),o(o)];for(var s=2&r&&t;"object"==typeof s&&!~e.indexOf(s);s=o(s))Object.getOwnPropertyNames(s).forEach((e=>i[e]=()=>t[e]));return i.default=()=>t,n.d(l,i),l},n.d=(e,o)=>{for(var t in o)n.o(o,t)&&!n.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:o[t]})},n.o=(e,o)=>Object.prototype.hasOwnProperty.call(e,o),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var l={};return(()=>{"use strict";n.d(l,{component:()=>s});const e=coreApis.componentApis.define,o=coreApis.utils,t=coreApis.utils.urls;let r;const i=()=>{const e=()=>["player-mode-full","player-mode-web","player-fullscreen-fix","player-full-win"].some((e=>document.body.classList.contains(e))),t=(0,o.preventEvent)(unsafeWindow,"DOMMouseScroll",e),r=(0,o.preventEvent)(unsafeWindow,"wheel",e);return()=>{t(),r()}},s=(0,e.defineComponentMetadata)({name:"disableScrollVolume",displayName:"禁止滚轮调音量",tags:[componentsTags.video],entry:()=>{r?.(),r=i()},reload:()=>{r?.(),r=i()},unload:()=>{r?.()},urlInclude:t.allVideoUrls,commitHash:"58c0b438ca2371e397f70466a91572cb2757b142",coreVersion:"2.10.7",description:(()=>{const e=n(993);return{...Object.fromEntries(e.keys().map((o=>[o.match(/index\.(.+)\.md$/)[1],e(o)]))),"zh-CN":()=>Promise.resolve().then(n.t.bind(n,746,17)).then((e=>e.default))}})()})})(),l=l.component})())); +!function(e,o){"object"==typeof exports&&"object"==typeof module?module.exports=o():"function"==typeof define&&define.amd?define([],o):"object"==typeof exports?exports["video/player/disable-scroll-volume"]=o():e["video/player/disable-scroll-volume"]=o()}(globalThis,(()=>(()=>{var e,o,t={993:e=>{function o(e){var o=new Error("Cannot find module '"+e+"'");throw o.code="MODULE_NOT_FOUND",o}o.keys=()=>[],o.resolve=o,o.id=993,e.exports=o},746:e=>{"use strict";e.exports="在网页全屏 / 全屏模式下, 禁止鼠标滚轮控制播放器的音量. 请注意不能和 `反转滚轮调音量` 一同使用.\n"}},r={};function n(e){var o=r[e];if(void 0!==o)return o.exports;var l=r[e]={exports:{}};return t[e](l,l.exports,n),l.exports}o=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,n.t=function(t,r){if(1&r&&(t=this(t)),8&r)return t;if("object"==typeof t&&t){if(4&r&&t.__esModule)return t;if(16&r&&"function"==typeof t.then)return t}var l=Object.create(null);n.r(l);var i={};e=e||[null,o({}),o([]),o(o)];for(var s=2&r&&t;"object"==typeof s&&!~e.indexOf(s);s=o(s))Object.getOwnPropertyNames(s).forEach((e=>i[e]=()=>t[e]));return i.default=()=>t,n.d(l,i),l},n.d=(e,o)=>{for(var t in o)n.o(o,t)&&!n.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:o[t]})},n.o=(e,o)=>Object.prototype.hasOwnProperty.call(e,o),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var l={};return(()=>{"use strict";n.d(l,{component:()=>s});const e=coreApis.componentApis.define,o=coreApis.utils,t=coreApis.utils.urls;let r;const i=()=>{const e=()=>["player-mode-full","player-mode-web","player-fullscreen-fix","player-full-win"].some((e=>document.body.classList.contains(e))),t=(0,o.preventEvent)(unsafeWindow,"DOMMouseScroll",e),r=(0,o.preventEvent)(unsafeWindow,"wheel",e);return()=>{t(),r()}},s=(0,e.defineComponentMetadata)({name:"disableScrollVolume",displayName:"禁止滚轮调音量",tags:[componentsTags.video],entry:()=>{r?.(),r=i()},reload:()=>{r?.(),r=i()},unload:()=>{r?.()},urlInclude:t.allVideoUrls,commitHash:"d87d69cfb9d7e0124bd90a06fec4569bd61e02c5",coreVersion:"2.10.7",description:(()=>{const e=n(993);return{...Object.fromEntries(e.keys().map((o=>[o.match(/index\.(.+)\.md$/)[1],e(o)]))),"zh-CN":()=>Promise.resolve().then(n.t.bind(n,746,17)).then((e=>e.default))}})()})})(),l=l.component})())); //# sourceMappingURL=https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/registry/dist/components/video/player/disable-scroll-volume.js.map \ No newline at end of file diff --git a/bb-evolved/registry/dist/components/video/player/extend-speed.js b/bb-evolved/registry/dist/components/video/player/extend-speed.js index 10141ff959..aa41831243 100644 --- a/bb-evolved/registry/dist/components/video/player/extend-speed.js +++ b/bb-evolved/registry/dist/components/video/player/extend-speed.js @@ -1,2 +1,2 @@ -!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["video/player/extend-speed"]=t():e["video/player/extend-speed"]=t()}(globalThis,(()=>(()=>{"use strict";var e={d:(t,n)=>{for(var s in n)e.o(n,s)&&!e.o(t,s)&&Object.defineProperty(t,s,{enumerable:!0,get:n[s]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t)},t={};e.d(t,{component:()=>Q});const n=coreApis.utils.urls,s=coreApis.settings,i=coreApis.utils.log,o=coreApis.pluginApis.hook,r=e=>"function"==typeof e?{next:e}:e,a=e=>function e(t){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0,o=!1;const a=[],l=[];let c=!1;const d=()=>{for(;a.length;)a.pop()();l.length=0,c=!0},p=e=>{c||(l.forEach((t=>{t.error?.(e),(0,s.getGeneralSettings)().devMode&&console.error(e)})),d())},u=e=>{c||l.forEach((t=>{try{t.next(e)}catch(e){p(e)}}))},h=()=>{l.forEach((e=>{e.complete?.()})),d()},m=()=>{if(o)return;const e=t?.({next:u,error:p,complete:h});e&&a.push(e),o=!0},b=e=>null==e?null:(l.push(e),()=>{lodash.pull(l,e)}),f=function(){for(var t=arguments.length,n=new Array(t),s=0;s{const t=b(r(e));return(i?.connect??m)(),t},pipe:f,next:u,error:p,complete:h,...i}:e(n[0],{subscribe:b},i||{connect:m,next:u}).pipe(...n.slice(1))};if(n){const e=t?.({subscribe:e=>n.subscribe({error:p,complete:h,...r(e)}),next:u,error:p,complete:h});e&&a.push(e)}return f()}(e),l=(e,t)=>a((n=>{let{next:s}=n;return e.addEventListener(t,s),()=>e.removeEventListener(t,s)})),c=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),s=1;s{let{next:s}=t;e(...n,s)}))},d=e=>new Promise(((t,n)=>{const s=e.subscribe({next:e=>{t(e),s()},error:()=>{n(),s()},complete:()=>{n(),s()}})})),p=coreApis.componentApis.video.playerAgent,u=coreApis.lifeCycle,h=coreApis.observer,m=coreApis.utils,b=coreApis.utils.sort,f=e=>t=>{let{subscribe:n,next:s,complete:i,error:o}=t;n(lodash.mapValues({next:s,complete:i,error:o},(t=>e(t))))},y=e=>function(){for(var t=arguments.length,n=new Array(t),s=0;se(...n)))},v=function(){for(var e=arguments.length,t=new Array(e),n=0;n{let{next:n,error:s,complete:i}=e;return(e=>{const t=new Set;return e((e=>{lodash.castArray(e).forEach((e=>{t.add(e)}))})),()=>{t.forEach((e=>{e()}))}})((e=>{const o=[];let r=0;e(t.map(((e,a)=>e.pipe(f(y)).subscribe({next:e=>{o[a]=e,o.reduce((e=>e+1),0)===t.length&&n(o.slice())},complete:()=>{r++,r===t.length&&i()},error:s})))),e((()=>{o.length=0,r=0}))}))}))},g=e=>t=>{let{subscribe:n,next:s,error:i}=t;n(lodash.debounce((e=>{try{s(e)}catch(e){i(e)}}),e))},x=e=>t=>{let{subscribe:n,next:s}=t;n((t=>{e(t)&&s(t)}))},S=function(){for(var e=arguments.length,t=new Array(e),n=0;n{let{next:n,subscribe:s}=e,i=!1;s((e=>{i||t.forEach((e=>n(e))),n(e),i=!0}))}},w=coreApis.pluginApis.data,E=e=>e.split(",").map((e=>e.trim().replace(/^\./,""))).join(","),$=e=>e.split(",").join(" "),C=(e,t)=>{const n=t=>{(0,w.registerAndGetData)(e,t)[0]=t},s=(0,w.getData)(e);if(s.length)return[s[0],n];if(t){const e=t();return n(e),[e,n]}return[void 0,n]},V=function(e){return arguments.length>1&&void 0!==arguments[1]&&arguments[1]&&1===e?"倍速":Math.trunc(e)===e?`${e}.0x`:`${e}x`},M=e=>{if("倍速"===e)return 1;const t=/([0-9]*[.]?[0-9]+)x/.exec(e);if(t)return parseFloat(t[1]);throw new Error(`unknown speed text: ${e}`)};function A(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var s=n.call(e,t||"default");if("object"!=typeof s)return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const L=p.playerAgent.provideCustomQuery({video:{speedMenuList:".bilibili-player-video-btn-speed-menu, .bpx-player-ctrl-playbackrate-menu",speedMenuItem:".bilibili-player-video-btn-speed-menu-list, .bpx-player-ctrl-playbackrate-menu-item",speedNameBtn:".bilibili-player-video-btn-speed-name, .bpx-player-ctrl-playbackrate-result",speedContainer:".bilibili-player-video-btn-speed, .bpx-player-ctrl-playbackrate",active:".bilibili-player-active, .bpx-state-active",show:".bilibili-player-speed-show, .bpx-state-show"},bangumi:{speedMenuList:".squirtle-speed-select-list, .bpx-player-ctrl-playbackrate-menu",speedMenuItem:".squirtle-select-item, .bpx-player-ctrl-playbackrate-menu-item",speedNameBtn:".squirtle-speed-select-result, .bpx-player-ctrl-playbackrate-result",speedContainer:".squirtle-speed-wrap, .bpx-player-ctrl-playbackrate",active:".active, .bpx-state-active",show:".bilibili-player-speed-show, .bpx-state-show"}});let k=function(e){return e[e.MIN=0]="MIN",e[e.CURRENT=1]="CURRENT",e[e.MAX=2]="MAX",e}({});const N=(e,t,n)=>{const s=new MutationObserver(n);return s.observe(e,t),s},j=e=>{let[t,n]=e;if(!t)throw new Error("speed container element not found!");if(!n)throw new Error("video element not found!");const s=t.querySelector(L.custom.speedNameBtn.selector),i=t.querySelector(L.custom.speedMenuList.selector);let o,r,l;const c=a(),d=a().pipe((e=>{let t,{subscribe:n,next:s}=e,i=!0;n((e=>{(i||t!==e)&&(i=!1,t=e,s(e))}))}));d.pipe(S(void 0),(e=>{let{subscribe:t,next:n}=e;const s=[];return t((e=>{2===s.length&&s.shift(),s.push(e),2===s.length&&n(s.slice())})),()=>{s.length=0}})).subscribe((e=>{let[t,n]=e;r=t,o=n}));const p=e=>{if(e)switch(e.nodeType){case Node.TEXT_NODE:d.next(M(e.data));break;case Node.ELEMENT_NODE:d.next(M(e.innerHTML));break;default:console.warn("The target parameter of updateActiveVideoSpeed must be a Node, and the node type must be one of TEXT_NODE and ELEMENT_NODE")}},u=()=>{l=lodash([...i.children]).map((e=>lodash.attempt((()=>M(e.textContent))))).reject((e=>lodash.isError(e))).sort((0,b.ascendingSort)()).value()};p(s),u();const h=N(i,{childList:!0,attributes:!0},(e=>{const{attributes:t=[],childList:n=[]}=lodash.groupBy(e,"type");n.length&&u(),c.next({attributes:t,childList:n})})),f=N(s,{childList:!0,subtree:!0},(e=>{e.forEach((e=>{const[t]=e.addedNodes;p(t)}))}));return{containerElement:t,videoElement:n,nameBtnElement:s,menuListElement:i,query:e=>(0,m.des)(`./*[(${function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"or";return e.split(",").map(E).flat().map((e=>`contains(@class, "${e}")`)).join(` ${t} `)}(L.custom.speedMenuItem.selector)}) and normalize-space()="${V(e)}"]`,i),dispose:()=>{h.disconnect(),f.disconnect()},activeVideoSpeed$:d,menuListElementMutations$:c,getActiveVideoSpeed:()=>o,getOldActiveVideoSpeed:()=>r,getAvailableSpeedValues:()=>l}},O=e=>{const{videoElement:t,menuListElement:n}=e,s=l(n,"click").pipe((i=e=>{const{innerText:t,innerHTML:n}=e.target,s=t.trim()||n.trim();return lodash.attempt((()=>M(s)))},e=>{let{subscribe:t,next:n}=e;t((e=>{n(i(e))}))}),x((e=>!lodash.isError(e))));var i;const o=a((e=>{let{next:n}=e,s=t;do{s=Object.getPrototypeOf(s)}while(null===s||!Object.prototype.hasOwnProperty.call(s,"playbackRate"));const i=Object.getOwnPropertyDescriptor(s,"playbackRate");return Object.defineProperty(s,"playbackRate",{set(e){i.set.call(this,e),n(e)}}),()=>{Object.defineProperty(s,"playbackRate",i)}})),r=s.pipe((e=>{let t,{subscribe:n,next:s}=e,i=!0;n((e=>{(i||t!==e)&&(i=!1,t=e,s(e))}))})),c=o.pipe((e=>{let t,{subscribe:n,next:s}=e,i=!0;n((e=>{(i||t!==e)&&(i=!1,t=e,s(e))}))})),d=a((e=>{let{next:t}=e;const n=v(r,c);return n.subscribe((e=>{let[n,s]=e;n===s&&t(s)})),()=>n.complete()})).pipe((e=>{let t,{subscribe:n,next:s}=e,i=!0;n((e=>{(i||t!==e)&&(i=!1,t=e,s(e))}))}));let p;c.pipe(g(200),S(void 0),(e=>{let{subscribe:t,next:n}=e;const s=[];return t((e=>{2===s.length&&s.shift(),s.push(e),2===s.length&&n(s.slice())})),()=>{s.length=0}})).subscribe((e=>{let[t]=e;p=t}));const u={menuListElementClickSpeed$:s,menuListElementClickSpeedChange$:r,playbackRate$:o,playbackRateChange$:c,videoSpeedChange$:d};return{...e,...u,dispose:()=>{lodash.values(u).forEach((e=>{e.complete()})),e.dispose()},getOldPlaybackRate:()=>p}},[T]=C("speed.NoSuchSpeedMenuItemElementError",(()=>class extends Error{constructor(e){const t=lodash.attempt((()=>V(e))),n=lodash.isError(t)?String(e):String(t);super(`There is no such speed menu item as ${n}`),this.speed=e,A(this,"formattedSpeed",void 0),this.formattedSpeed=n}})),I=e=>{const{query:t,videoElement:n,videoSpeedChange$:s,getOldActiveVideoSpeed:i,getAvailableSpeedValues:o,getActiveVideoSpeed:r}=e,a=async function(e){let i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:200;const o=t(e);if(null==o)throw new T(e);o.click();const r=t=>{if((t??n.playbackRate)!==e)throw new Error(`failed to set ${V(e)} video speed.`)},a=[d(s.pipe(g(Math.max(0,i||0))))];i>0&&a.push(new Promise(((e,t)=>setTimeout((()=>setTimeout(t,i)))))),await Promise.all(a).then(r).catch(r)},l=async()=>{await a(1)},c=async(e,t)=>{if(lodash.isNil(e)&&(e=!1),"boolean"==typeof e)e||1===n.playbackRate?await a(i()):await l();else{const n=o();switch(t){case k.MIN:await a(n[e]);break;case k.MAX:await a(n[n.length-1+e]);break;case k.CURRENT:default:{const t=n.indexOf(r());if(-1===t)throw new Error("Unexpected Error: The available speed values do not include the active speed value, this should be a bug, please report the issue on github!");await a(n[t+e])}}}},p=async e=>{try{await c(e,k.CURRENT)}catch(e){if(console.warn(e),!(e instanceof T))throw e}};return Object.assign(e,{set:a,force:async e=>{n.playbackRate=e},reset:l,toggle:c,step:p,increase:async()=>{await p(1)},decrease:async()=>{await p(-1)}})},P=()=>C("speed.speedContext"),R=()=>C("speed.buildArguments$",(()=>{return a().pipe((e=e=>e.settings.enabled,t=>{let{subscribe:n,next:s}=t;const i=new Set;return n((t=>{const n=i.size;e(t)?i.add(t):i.delete(t),i.size!==n&&s([...i])})),()=>{i.clear()}}));var e})),q=async function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:lodash.identity;const[t,n]=P();if(t)return t;let s,i;const[o]=C("lifeCycleComponentLoaded$",(()=>l(unsafeWindow,u.LifeCycleEventTypes.ComponentsLoaded))),[r]=R(),[p]=C("speed.videoChange$",(()=>c(h.videoChange).pipe(x((e=>{let{aid:t,cid:n}=e;return t||n}))))),[m]=C("speed.speedContext$",(()=>a((t=>{let{next:n}=t;return v(p,function(){for(var e=arguments.length,t=new Array(e),n=0;n{let{next:n,complete:s}=e;const i=[...t],o=()=>{const e=i.shift();e||s(),e.subscribe({next:n,complete:()=>{o()}})};o()}))}(function(){for(var e=arguments.length,t=new Array(e),n=0;n{let{next:n,complete:s}=e;t.forEach((e=>{n(e)})),s()}))}([]),r),o).subscribe((t=>{let[o,r]=t;const[a]=P();a?.dispose(),i?.("context update");const l=new Promise(((e,t)=>{s=e,i=t}));Promise.all([Promise.all([L.custom.speedContainer(),L.query.video.element()]).then(s),l]).then((e=>{let[,t]=e;return t})).then(j).then(O).then(I).then((e=>Object.assign(e,{videoIdObject:o,speedContext$:m,videoChange$:p}))).then(e(r)).then(n).catch((e=>console.error(e)))}))}))));return m.subscribe(n),d(m)};function U(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var s=n.call(e,t||"default");if("object"!=typeof s)return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const B=[.5,.75,1,1.25,1.5,2],z=.0625;class H{constructor(e,t){this.entryContext=e,this.enabled$=t,U(this,"speedContext",void 0),U(this,"settings",void 0),U(this,"coreApis",void 0),U(this,"metadata",void 0),U(this,"options",void 0),U(this,"getVideoIdObject",void 0),U(this,"getAvailableSpeedValues",void 0),U(this,"getOldActiveVideoSpeed",void 0),U(this,"forceVideoSpeed",void 0),U(this,"getVideoSpeed",void 0),U(this,"setVideoSpeed",void 0),U(this,"resetVideoSpeed",void 0),U(this,"toggleVideoSpeed",void 0),U(this,"increaseVideoSpeed",void 0),U(this,"decreaseVideoSpeed",void 0),lodash.assign(this,e,{options:e.settings.options}),this.migrate?.(),lodash.assign(this,lodash.mapValues(H.contextMap,(e=>async function(){const t=await q(),n=lodash.get(t,e);return lodash.isFunction(n)?await n(...arguments):n})))}}U(H,"create",void 0),U(H,"contextMap",{getVideoIdObject:"videoIdObject",getAvailableSpeedValues:"getAvailableSpeedValues",getOldActiveVideoSpeed:"getOldActiveVideoSpeed",getVideoSpeed:"videoElement.playbackRate",setVideoSpeed:"set",forceVideoSpeed:"force",resetVideoSpeed:"reset",toggleVideoSpeed:"toggle",increaseVideoSpeed:"increase",decreaseVideoSpeed:"decrease"}),q((e=>t=>{const n=lodash.omit(t,"dispose"),i=e.map((e=>e.getSpeedContextMixin(n)));if(i.length>1){const e=lodash.intersection(...i.map(Object.keys));if(e.length)throw new Error(`In the registered speed component, there is an implementation of getSpeedContextMixin that causes the speed context to be mixed in ambiguous.\nThe repeated key names are ${e.join(", ")}`)}lodash.assign(n,...i);const o=[];return e.forEach((e=>{const t=lodash(e.settings.options).mapValues(((t,n)=>c(s.addComponentListener,`${e.metadata.name}.${n}`).pipe((e=>{let t,{subscribe:n,next:s}=e,i=!0;n((e=>{(i||t!==e)&&(i=!1,t=e,s(e))}))})))).mapKeys(((e,t)=>`${t}$`)).value();o.push(...lodash.values(t)),e.options=new Proxy(e.settings.options,{get:(e,n,s)=>lodash.isSymbol(n)?Reflect.get(e,n,s):!Reflect.has(e,n)&&n.endsWith("$")?t[n]:Reflect.get(e,n,s)}),e.speedContext=n,e.onSpeedContext(n),e.settings.enabled&&lodash(t).entries().forEach((t=>{let[n,s]=t;s.next(e.settings.options[n.slice(0,-1)])}))})),{...n,dispose:()=>{o.forEach((e=>e.complete())),t.dispose()}}})),H.create=function(e){const t=a().pipe((e=>{let t,{subscribe:n,next:s}=e,i=!0;n((e=>{(i||t!==e)&&(i=!1,t=e,s(e))}))}));return{...e,entry:n=>{const s=lodash.attempt((()=>new this(n,t)));if(s instanceof Error)return(0,i.logError)(s),null;const[r]=R();return t.subscribe((()=>{r.next(s)})),t.next(!0),(0,o.getHook)(`speed.component.${e.name}`).after(s),s},reload:()=>t.next(!0),unload:()=>t.next(!1)}};const D=coreApis.style,X=coreApis.toast,W=e=>{let t,{style:n,name:s,container:i}=e;const o=()=>t?.remove();return{next:e=>{o();const r="function"==typeof n?n(e):n;r&&(t=(0,D.addStyle)(r,s,i))},complete:o}};function F(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var s=n.call(e,t||"default");if("object"!=typeof s)return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const _="extend-speed-input",G="extend-speed-item",J=function(e){let t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];const n=document.createElement("div");n.innerHTML=e;const s={},i=n.children.item(0),o=e=>{t&&(e.id=`scoped-element-${Math.random().toString(36).replace(/[^a-z0-9]+/g,"")}`);const n=e.getAttribute("data-ref");n&&(s[lodash.camelCase(n)]=e);for(let t=0;te=>{let{subscribe:t,next:n}=e;t((e=>{B.includes(e)&&n(e)}))})),this.enabled$.subscribe(W({name:"fix-after-element",style:e=>e&&".bpx-player-ctrl-playbackrate-menu:after { display: none; }"}))}addSpeedValue(e){this.options.extendSpeedList=lodash.sortedUniq(this.options.extendSpeedList.concat(e).sort((0,b.ascendingSort)()))}removeSpeedValue(e){this.options.extendSpeedList=lodash.without(this.options.extendSpeedList,e)}createInputElement(){const{input:e,root:t,icon:n}=J(`\n
  • \n \n \n
  • \n `),s=()=>{const t=this.speedContext.getAvailableSpeedValues().slice(-1)[0]+.5,n=lodash.toString(t>16?null:t);e.value=n,e.min=n};this.options.extendSpeedList$.pipe(f(y)).subscribe(s);const o=(0,D.addStyle)(`\n #${e.id} {\n font-size: inherit;\n color: inherit;\n line-height: inherit;\n background: transparent;\n outline: none;\n width: 100%;\n border: none;\n text-align: center;\n cursor: text;\n }\n /* https://stackoverflow.com/a/4298216 */\n /* Chrome */\n #${e.id}::-webkit-outer-spin-button,\n #${e.id}::-webkit-inner-spin-button {\n -webkit-appearance: none;\n margin: 0;\n }\n /* Firefox */\n #${e.id}[type=number] {\n -moz-appearance:textfield;\n }\n `),r=lodash.over(l(e,"keydown").pipe(g(200)).subscribe((t=>{let{key:n}=t;if("Enter"!==n)return;const s=parseFloat(e.value);try{if(!lodash.isFinite(s))throw new Error("无效的倍数值");if(s16)throw new Error("倍数值太大了");if(this.speedContext.getAvailableSpeedValues().includes(s))throw new Error("不能重复添加已有的倍数值");this.addSpeedValue(s)}catch(t){(0,i.logError)(String(t),5e3),e.focus(),e.select()}})),l(t,"mouseenter").subscribe((()=>{e.style.display="inline",n.style.display="none",s(),setTimeout((()=>e.focus()))})),l(t,"mouseleave").subscribe((()=>{e.style.display="none",n.style.display="inline"})),(()=>t.remove()),(()=>o.remove()));return{node:t,destroy:r}}createCustomSpeedMenuItemElement(e){const{closeBtn:t,root:n}=J(`\n
  • \n ${V(e)}\n \n
  • \n `),s=(0,D.addStyle)(`\n .${G} [data-ref="close-btn"] {\n color: inherit;\n opacity: 0.5;\n display: none;\n position: absolute;\n right: 4px;\n }\n :is(${L.custom.speedMenuItem.selector}):not(${L.custom.active.selector}):hover [data-ref="close-btn"] {\n display: inline;\n }\n .${G} [data-ref="close-btn"]:hover {\n opacity: 1;\n transition: all .3s;\n }\n `),i=lodash.over(l(t,"click").subscribe((()=>{this.removeSpeedValue(e)})),(()=>n.remove()),(()=>s.remove()));return{tag:e,node:n,destroy:i}}migrate(){const{options:e}=this.settings,{options:t}=(0,s.getComponentSettings)("rememberVideoSpeed");t.extendList&&(e.extendSpeedList=Array.from(t.extendList),delete t.extendList,delete t.extend,X.Toast.success("从「倍速记忆」组件迁移旧配置成功","【扩展倍速】旧配置迁移完成",8e3))}getSpeedContextMixin(e){let{menuListElement:t}=e;return{query:e=>(0,m.des)(`./*[(${K.speedMenuItemClassName.split(",").map((e=>`contains(@class, "${e}")`)).join(" or ")}) and not(contains(@class, "${_}")) and normalize-space()="${V(e)}"]`,t)}}onSpeedContext(e){let{menuListElementClickSpeedChange$:t,playbackRate$:n}=e;this.options.extendSpeedList$.subscribe({next:e=>this.patch(((e,t)=>{let n=0,s=e.length,i=0,o=t.length;for(;ne.tag)),Array.from(e))),complete:()=>{this.unpatch()}}),this.options.maxMenuHeight$.subscribe(W({name:"extend-video-speed-style",style:e=>`\n ${L.custom.speedMenuList.selector} {\n display: flex !important; /* 防止3.X样式覆盖 */\n flex-direction: column;\n overflow-y: auto;\n max-height: ${e}px;\n visibility: hidden;\n }\n /* 修复2.X倍速列表显示问题 */\n :is(${L.custom.show.selector}) :is(${L.custom.speedMenuList.selector}){\n visibility: visible;\n }\n /* 修复番剧区的列表显示问题 */\n :is(${L.custom.speedMenuList.selector})[style*="block"] {\n visibility: visible;\n }`})),this.options.hideScrollbar$.subscribe(W({name:"extend-video-speed-no-scrollbar-style",style:e=>e&&`\n ${L.custom.speedMenuList.selector} {\n scrollbar-width: none !important;\n overscroll-behavior: contain;\n }\n :is(${L.custom.speedMenuList.selector})::-webkit-scrollbar {\n height: 0 !important;\n width: 0 !important;\n }`})),this.options.hideRemoveBtn$.subscribe(W({name:"extend-video-speed-no-remove-btn-style",style:e=>e&&`\n .${G} [data-ref="close-btn"] {\n display: none !important;\n }\n :is(${L.custom.speedMenuItem.selector}):not(${L.custom.active.selector}):hover [data-ref="close-btn"] {\n display: none !important;\n }`})),this.options.hideAddBtn$.subscribe(W({name:"extend-video-speed-no-add-btn-style",style:e=>e&&`\n .${_} {\n display: none !important;\n }`}));let s=1;n.pipe(x((e=>B.includes(e)))).subscribe((e=>{s=e})),t.subscribe({next:e=>{this.forceVideoSpeedWithUpdateStyle(e),this.currentSpeedValue=e},complete:()=>{this.setVideoSpeed(s),this.forceVideoSpeedWithUpdateStyle(s)}}),this.currentSpeedValue&&requestIdleCallback((()=>{this.setVideoSpeed(this.currentSpeedValue,1e3)}))}async forceVideoSpeedWithUpdateStyle(e){await this.forceVideoSpeed(e),setTimeout((()=>this.forceUpdateStyle(e)))}patch(e){const[t,n,s]=e,{menuListElement:i}=this.speedContext;if(this.inputElement||(this.inputElement=this.createInputElement(),i.prepend(this.inputElement.node)),0===n&&0===s.length)return;const o=s.map((e=>this.createCustomSpeedMenuItemElement(e)));this.elementMap.splice(t,n,...o).forEach((e=>{e.destroy()})),(this.elementMap[t-1]||this.inputElement).node.after(...o.map((e=>e.node)).reverse()),i.querySelectorAll(`:is(${L.custom.speedMenuItem.selector}):not(#${this.inputElement.node.id})`).forEach((e=>{e.style.order=(1e4*(16-M(e.innerHTML))).toString()})),this.unpatch=()=>{this.inputElement.destroy(),this.inputElement=void 0,this.elementMap.forEach((e=>e.destroy())),this.elementMap.length=0}}forceUpdateStyle(e){const{menuListElement:t,containerElement:n,nameBtnElement:s,query:i}=this.speedContext;for(const e of(0,m.dea)(`./*[(${E(K.speedMenuItemClassName).split(",").map((e=>`contains(@class, "${e}")`)).join(" or ")}) and (${E(K.activeClassName).split(",").map((e=>`contains(@class, "${e}")`)).join(" or ")})]`,t))e.classList.remove(...K.activeClassName.split(","));i(e).classList.add(...K.activeClassName.split(",")),n.classList.remove(...K.showClassName.split(",")),s.innerText=V(e,!0)}}const Q=K.create({name:"extendVideoSpeed",displayName:"扩展倍速",author:{name:"JLoeve",link:"https://github.com/LonelySteve"},description:{"zh-CN":"\n\n> 扩展视频播放器的倍速菜单项,可用于突破原有播放倍数的上限或下限.\n\n#### 🔧 **选项**\n\n- `隐藏滚动条`:如果添加的倍速过多,倍速菜单将出现滚动条,在 Windows 下,若没有安装并启用「细滚动条」组件会显得比较挤,建议开启此选项隐藏滚动条.\n\n- `隐藏移除图标`:如果认为倍速右侧的移除倍速图标有些突兀,可以开启此选项隐藏.\n\n- `隐藏新增图标`:如果认为顶部的新增倍速图标有些突兀,可以开启此选项隐藏.\n\n#### **新增倍速**\n\n开启组件后,在默认情况下,播放器的倍速菜单就会新增 2.5x 和 3.0x 两个倍速选项.\n\n如果需要添加更多倍速,只需将鼠标指针移到菜单顶部的新增图标上,图标将变成一个输入框,根据需要键入新的倍速值,或通过滚轮增减数值,或直接使用推荐的数值,回车确认即可.\n\n新增倍速的范围要求在 0.0625 到 16 之间,数量则不受限制.\n\n**不推荐设置超高倍速(>3.0x)**:原生播放器内部没有针对超高倍速进行优化,可能导致音画不同步、播放卡顿、声音嘈杂/消失等一系列问题.\n\n#### **删除倍速**\n\n将鼠标指针移到**自定义**的倍速菜单项上,其右侧将会显示一个移除图标,单击即可删除相应的倍速.\n\n"},tags:[componentsTags.video],urlInclude:n.playerUrls,options:{maxMenuHeight:{displayName:"倍速菜单最大高度",defaultValue:360,hidden:!0,validator:e=>Math.max(parseInt(e),360)||360},hideScrollbar:{displayName:"隐藏滚动条",defaultValue:!1},hideRemoveBtn:{displayName:"隐藏移除图标",defaultValue:!1},hideAddBtn:{displayName:"隐藏新增图标",defaultValue:!1},extendSpeedList:{displayName:"扩展倍速列表",defaultValue:[2.5,3],hidden:!0}},commitHash:"58c0b438ca2371e397f70466a91572cb2757b142",coreVersion:"2.10.7"});return t=t.component})())); +!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["video/player/extend-speed"]=t():e["video/player/extend-speed"]=t()}(globalThis,(()=>(()=>{"use strict";var e={d:(t,n)=>{for(var s in n)e.o(n,s)&&!e.o(t,s)&&Object.defineProperty(t,s,{enumerable:!0,get:n[s]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t)},t={};e.d(t,{component:()=>Q});const n=coreApis.utils.urls,s=coreApis.settings,i=coreApis.utils.log,o=coreApis.pluginApis.hook,r=e=>"function"==typeof e?{next:e}:e,a=e=>function e(t){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0,o=!1;const a=[],l=[];let c=!1;const d=()=>{for(;a.length;)a.pop()();l.length=0,c=!0},p=e=>{c||(l.forEach((t=>{t.error?.(e),(0,s.getGeneralSettings)().devMode&&console.error(e)})),d())},u=e=>{c||l.forEach((t=>{try{t.next(e)}catch(e){p(e)}}))},h=()=>{l.forEach((e=>{e.complete?.()})),d()},m=()=>{if(o)return;const e=t?.({next:u,error:p,complete:h});e&&a.push(e),o=!0},b=e=>null==e?null:(l.push(e),()=>{lodash.pull(l,e)}),f=function(){for(var t=arguments.length,n=new Array(t),s=0;s{const t=b(r(e));return(i?.connect??m)(),t},pipe:f,next:u,error:p,complete:h,...i}:e(n[0],{subscribe:b},i||{connect:m,next:u}).pipe(...n.slice(1))};if(n){const e=t?.({subscribe:e=>n.subscribe({error:p,complete:h,...r(e)}),next:u,error:p,complete:h});e&&a.push(e)}return f()}(e),l=(e,t)=>a((n=>{let{next:s}=n;return e.addEventListener(t,s),()=>e.removeEventListener(t,s)})),c=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),s=1;s{let{next:s}=t;e(...n,s)}))},d=e=>new Promise(((t,n)=>{const s=e.subscribe({next:e=>{t(e),s()},error:()=>{n(),s()},complete:()=>{n(),s()}})})),p=coreApis.componentApis.video.playerAgent,u=coreApis.lifeCycle,h=coreApis.observer,m=coreApis.utils,b=coreApis.utils.sort,f=e=>t=>{let{subscribe:n,next:s,complete:i,error:o}=t;n(lodash.mapValues({next:s,complete:i,error:o},(t=>e(t))))},y=e=>function(){for(var t=arguments.length,n=new Array(t),s=0;se(...n)))},v=function(){for(var e=arguments.length,t=new Array(e),n=0;n{let{next:n,error:s,complete:i}=e;return(e=>{const t=new Set;return e((e=>{lodash.castArray(e).forEach((e=>{t.add(e)}))})),()=>{t.forEach((e=>{e()}))}})((e=>{const o=[];let r=0;e(t.map(((e,a)=>e.pipe(f(y)).subscribe({next:e=>{o[a]=e,o.reduce((e=>e+1),0)===t.length&&n(o.slice())},complete:()=>{r++,r===t.length&&i()},error:s})))),e((()=>{o.length=0,r=0}))}))}))},g=e=>t=>{let{subscribe:n,next:s,error:i}=t;n(lodash.debounce((e=>{try{s(e)}catch(e){i(e)}}),e))},x=e=>t=>{let{subscribe:n,next:s}=t;n((t=>{e(t)&&s(t)}))},S=function(){for(var e=arguments.length,t=new Array(e),n=0;n{let{next:n,subscribe:s}=e,i=!1;s((e=>{i||t.forEach((e=>n(e))),n(e),i=!0}))}},w=coreApis.pluginApis.data,E=e=>e.split(",").map((e=>e.trim().replace(/^\./,""))).join(","),$=e=>e.split(",").join(" "),C=(e,t)=>{const n=t=>{(0,w.registerAndGetData)(e,t)[0]=t},s=(0,w.getData)(e);if(s.length)return[s[0],n];if(t){const e=t();return n(e),[e,n]}return[void 0,n]},V=function(e){return arguments.length>1&&void 0!==arguments[1]&&arguments[1]&&1===e?"倍速":Math.trunc(e)===e?`${e}.0x`:`${e}x`},M=e=>{if("倍速"===e)return 1;const t=/([0-9]*[.]?[0-9]+)x/.exec(e);if(t)return parseFloat(t[1]);throw new Error(`unknown speed text: ${e}`)};function A(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var s=n.call(e,t||"default");if("object"!=typeof s)return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const L=p.playerAgent.provideCustomQuery({video:{speedMenuList:".bilibili-player-video-btn-speed-menu, .bpx-player-ctrl-playbackrate-menu",speedMenuItem:".bilibili-player-video-btn-speed-menu-list, .bpx-player-ctrl-playbackrate-menu-item",speedNameBtn:".bilibili-player-video-btn-speed-name, .bpx-player-ctrl-playbackrate-result",speedContainer:".bilibili-player-video-btn-speed, .bpx-player-ctrl-playbackrate",active:".bilibili-player-active, .bpx-state-active",show:".bilibili-player-speed-show, .bpx-state-show"},bangumi:{speedMenuList:".squirtle-speed-select-list, .bpx-player-ctrl-playbackrate-menu",speedMenuItem:".squirtle-select-item, .bpx-player-ctrl-playbackrate-menu-item",speedNameBtn:".squirtle-speed-select-result, .bpx-player-ctrl-playbackrate-result",speedContainer:".squirtle-speed-wrap, .bpx-player-ctrl-playbackrate",active:".active, .bpx-state-active",show:".bilibili-player-speed-show, .bpx-state-show"}});let k=function(e){return e[e.MIN=0]="MIN",e[e.CURRENT=1]="CURRENT",e[e.MAX=2]="MAX",e}({});const N=(e,t,n)=>{const s=new MutationObserver(n);return s.observe(e,t),s},j=e=>{let[t,n]=e;if(!t)throw new Error("speed container element not found!");if(!n)throw new Error("video element not found!");const s=t.querySelector(L.custom.speedNameBtn.selector),i=t.querySelector(L.custom.speedMenuList.selector);let o,r,l;const c=a(),d=a().pipe((e=>{let t,{subscribe:n,next:s}=e,i=!0;n((e=>{(i||t!==e)&&(i=!1,t=e,s(e))}))}));d.pipe(S(void 0),(e=>{let{subscribe:t,next:n}=e;const s=[];return t((e=>{2===s.length&&s.shift(),s.push(e),2===s.length&&n(s.slice())})),()=>{s.length=0}})).subscribe((e=>{let[t,n]=e;r=t,o=n}));const p=e=>{if(e)switch(e.nodeType){case Node.TEXT_NODE:d.next(M(e.data));break;case Node.ELEMENT_NODE:d.next(M(e.innerHTML));break;default:console.warn("The target parameter of updateActiveVideoSpeed must be a Node, and the node type must be one of TEXT_NODE and ELEMENT_NODE")}},u=()=>{l=lodash([...i.children]).map((e=>lodash.attempt((()=>M(e.textContent))))).reject((e=>lodash.isError(e))).sort((0,b.ascendingSort)()).value()};p(s),u();const h=N(i,{childList:!0,attributes:!0},(e=>{const{attributes:t=[],childList:n=[]}=lodash.groupBy(e,"type");n.length&&u(),c.next({attributes:t,childList:n})})),f=N(s,{childList:!0,subtree:!0},(e=>{e.forEach((e=>{const[t]=e.addedNodes;p(t)}))}));return{containerElement:t,videoElement:n,nameBtnElement:s,menuListElement:i,query:e=>(0,m.des)(`./*[(${function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"or";return e.split(",").map(E).flat().map((e=>`contains(@class, "${e}")`)).join(` ${t} `)}(L.custom.speedMenuItem.selector)}) and normalize-space()="${V(e)}"]`,i),dispose:()=>{h.disconnect(),f.disconnect()},activeVideoSpeed$:d,menuListElementMutations$:c,getActiveVideoSpeed:()=>o,getOldActiveVideoSpeed:()=>r,getAvailableSpeedValues:()=>l}},O=e=>{const{videoElement:t,menuListElement:n}=e,s=l(n,"click").pipe((i=e=>{const{innerText:t,innerHTML:n}=e.target,s=t.trim()||n.trim();return lodash.attempt((()=>M(s)))},e=>{let{subscribe:t,next:n}=e;t((e=>{n(i(e))}))}),x((e=>!lodash.isError(e))));var i;const o=a((e=>{let{next:n}=e,s=t;do{s=Object.getPrototypeOf(s)}while(null===s||!Object.prototype.hasOwnProperty.call(s,"playbackRate"));const i=Object.getOwnPropertyDescriptor(s,"playbackRate");return Object.defineProperty(s,"playbackRate",{set(e){i.set.call(this,e),n(e)}}),()=>{Object.defineProperty(s,"playbackRate",i)}})),r=s.pipe((e=>{let t,{subscribe:n,next:s}=e,i=!0;n((e=>{(i||t!==e)&&(i=!1,t=e,s(e))}))})),c=o.pipe((e=>{let t,{subscribe:n,next:s}=e,i=!0;n((e=>{(i||t!==e)&&(i=!1,t=e,s(e))}))})),d=a((e=>{let{next:t}=e;const n=v(r,c);return n.subscribe((e=>{let[n,s]=e;n===s&&t(s)})),()=>n.complete()})).pipe((e=>{let t,{subscribe:n,next:s}=e,i=!0;n((e=>{(i||t!==e)&&(i=!1,t=e,s(e))}))}));let p;c.pipe(g(200),S(void 0),(e=>{let{subscribe:t,next:n}=e;const s=[];return t((e=>{2===s.length&&s.shift(),s.push(e),2===s.length&&n(s.slice())})),()=>{s.length=0}})).subscribe((e=>{let[t]=e;p=t}));const u={menuListElementClickSpeed$:s,menuListElementClickSpeedChange$:r,playbackRate$:o,playbackRateChange$:c,videoSpeedChange$:d};return{...e,...u,dispose:()=>{lodash.values(u).forEach((e=>{e.complete()})),e.dispose()},getOldPlaybackRate:()=>p}},[T]=C("speed.NoSuchSpeedMenuItemElementError",(()=>class extends Error{constructor(e){const t=lodash.attempt((()=>V(e))),n=lodash.isError(t)?String(e):String(t);super(`There is no such speed menu item as ${n}`),this.speed=e,A(this,"formattedSpeed",void 0),this.formattedSpeed=n}})),I=e=>{const{query:t,videoElement:n,videoSpeedChange$:s,getOldActiveVideoSpeed:i,getAvailableSpeedValues:o,getActiveVideoSpeed:r}=e,a=async function(e){let i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:200;const o=t(e);if(null==o)throw new T(e);o.click();const r=t=>{if((t??n.playbackRate)!==e)throw new Error(`failed to set ${V(e)} video speed.`)},a=[d(s.pipe(g(Math.max(0,i||0))))];i>0&&a.push(new Promise(((e,t)=>setTimeout((()=>setTimeout(t,i)))))),await Promise.all(a).then(r).catch(r)},l=async()=>{await a(1)},c=async(e,t)=>{if(lodash.isNil(e)&&(e=!1),"boolean"==typeof e)e||1===n.playbackRate?await a(i()):await l();else{const n=o();switch(t){case k.MIN:await a(n[e]);break;case k.MAX:await a(n[n.length-1+e]);break;case k.CURRENT:default:{const t=n.indexOf(r());if(-1===t)throw new Error("Unexpected Error: The available speed values do not include the active speed value, this should be a bug, please report the issue on github!");await a(n[t+e])}}}},p=async e=>{try{await c(e,k.CURRENT)}catch(e){if(console.warn(e),!(e instanceof T))throw e}};return Object.assign(e,{set:a,force:async e=>{n.playbackRate=e},reset:l,toggle:c,step:p,increase:async()=>{await p(1)},decrease:async()=>{await p(-1)}})},P=()=>C("speed.speedContext"),R=()=>C("speed.buildArguments$",(()=>{return a().pipe((e=e=>e.settings.enabled,t=>{let{subscribe:n,next:s}=t;const i=new Set;return n((t=>{const n=i.size;e(t)?i.add(t):i.delete(t),i.size!==n&&s([...i])})),()=>{i.clear()}}));var e})),q=async function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:lodash.identity;const[t,n]=P();if(t)return t;let s,i;const[o]=C("lifeCycleComponentLoaded$",(()=>l(unsafeWindow,u.LifeCycleEventTypes.ComponentsLoaded))),[r]=R(),[p]=C("speed.videoChange$",(()=>c(h.videoChange).pipe(x((e=>{let{aid:t,cid:n}=e;return t||n}))))),[m]=C("speed.speedContext$",(()=>a((t=>{let{next:n}=t;return v(p,function(){for(var e=arguments.length,t=new Array(e),n=0;n{let{next:n,complete:s}=e;const i=[...t],o=()=>{const e=i.shift();e||s(),e.subscribe({next:n,complete:()=>{o()}})};o()}))}(function(){for(var e=arguments.length,t=new Array(e),n=0;n{let{next:n,complete:s}=e;t.forEach((e=>{n(e)})),s()}))}([]),r),o).subscribe((t=>{let[o,r]=t;const[a]=P();a?.dispose(),i?.("context update");const l=new Promise(((e,t)=>{s=e,i=t}));Promise.all([Promise.all([L.custom.speedContainer(),L.query.video.element()]).then(s),l]).then((e=>{let[,t]=e;return t})).then(j).then(O).then(I).then((e=>Object.assign(e,{videoIdObject:o,speedContext$:m,videoChange$:p}))).then(e(r)).then(n).catch((e=>console.error(e)))}))}))));return m.subscribe(n),d(m)};function U(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var s=n.call(e,t||"default");if("object"!=typeof s)return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const B=[.5,.75,1,1.25,1.5,2],z=.0625;class H{constructor(e,t){this.entryContext=e,this.enabled$=t,U(this,"speedContext",void 0),U(this,"settings",void 0),U(this,"coreApis",void 0),U(this,"metadata",void 0),U(this,"options",void 0),U(this,"getVideoIdObject",void 0),U(this,"getAvailableSpeedValues",void 0),U(this,"getOldActiveVideoSpeed",void 0),U(this,"forceVideoSpeed",void 0),U(this,"getVideoSpeed",void 0),U(this,"setVideoSpeed",void 0),U(this,"resetVideoSpeed",void 0),U(this,"toggleVideoSpeed",void 0),U(this,"increaseVideoSpeed",void 0),U(this,"decreaseVideoSpeed",void 0),lodash.assign(this,e,{options:e.settings.options}),this.migrate?.(),lodash.assign(this,lodash.mapValues(H.contextMap,(e=>async function(){const t=await q(),n=lodash.get(t,e);return lodash.isFunction(n)?await n(...arguments):n})))}}U(H,"create",void 0),U(H,"contextMap",{getVideoIdObject:"videoIdObject",getAvailableSpeedValues:"getAvailableSpeedValues",getOldActiveVideoSpeed:"getOldActiveVideoSpeed",getVideoSpeed:"videoElement.playbackRate",setVideoSpeed:"set",forceVideoSpeed:"force",resetVideoSpeed:"reset",toggleVideoSpeed:"toggle",increaseVideoSpeed:"increase",decreaseVideoSpeed:"decrease"}),q((e=>t=>{const n=lodash.omit(t,"dispose"),i=e.map((e=>e.getSpeedContextMixin(n)));if(i.length>1){const e=lodash.intersection(...i.map(Object.keys));if(e.length)throw new Error(`In the registered speed component, there is an implementation of getSpeedContextMixin that causes the speed context to be mixed in ambiguous.\nThe repeated key names are ${e.join(", ")}`)}lodash.assign(n,...i);const o=[];return e.forEach((e=>{const t=lodash(e.settings.options).mapValues(((t,n)=>c(s.addComponentListener,`${e.metadata.name}.${n}`).pipe((e=>{let t,{subscribe:n,next:s}=e,i=!0;n((e=>{(i||t!==e)&&(i=!1,t=e,s(e))}))})))).mapKeys(((e,t)=>`${t}$`)).value();o.push(...lodash.values(t)),e.options=new Proxy(e.settings.options,{get:(e,n,s)=>lodash.isSymbol(n)?Reflect.get(e,n,s):!Reflect.has(e,n)&&n.endsWith("$")?t[n]:Reflect.get(e,n,s)}),e.speedContext=n,e.onSpeedContext(n),e.settings.enabled&&lodash(t).entries().forEach((t=>{let[n,s]=t;s.next(e.settings.options[n.slice(0,-1)])}))})),{...n,dispose:()=>{o.forEach((e=>e.complete())),t.dispose()}}})),H.create=function(e){const t=a().pipe((e=>{let t,{subscribe:n,next:s}=e,i=!0;n((e=>{(i||t!==e)&&(i=!1,t=e,s(e))}))}));return{...e,entry:n=>{const s=lodash.attempt((()=>new this(n,t)));if(s instanceof Error)return(0,i.logError)(s),null;const[r]=R();return t.subscribe((()=>{r.next(s)})),t.next(!0),(0,o.getHook)(`speed.component.${e.name}`).after(s),s},reload:()=>t.next(!0),unload:()=>t.next(!1)}};const D=coreApis.style,X=coreApis.toast,W=e=>{let t,{style:n,name:s,container:i}=e;const o=()=>t?.remove();return{next:e=>{o();const r="function"==typeof n?n(e):n;r&&(t=(0,D.addStyle)(r,s,i))},complete:o}};function F(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var s=n.call(e,t||"default");if("object"!=typeof s)return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const _="extend-speed-input",G="extend-speed-item",J=function(e){let t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];const n=document.createElement("div");n.innerHTML=e;const s={},i=n.children.item(0),o=e=>{t&&(e.id=`scoped-element-${Math.random().toString(36).replace(/[^a-z0-9]+/g,"")}`);const n=e.getAttribute("data-ref");n&&(s[lodash.camelCase(n)]=e);for(let t=0;te=>{let{subscribe:t,next:n}=e;t((e=>{B.includes(e)&&n(e)}))})),this.enabled$.subscribe(W({name:"fix-after-element",style:e=>e&&".bpx-player-ctrl-playbackrate-menu:after { display: none; }"}))}addSpeedValue(e){this.options.extendSpeedList=lodash.sortedUniq(this.options.extendSpeedList.concat(e).sort((0,b.ascendingSort)()))}removeSpeedValue(e){this.options.extendSpeedList=lodash.without(this.options.extendSpeedList,e)}createInputElement(){const{input:e,root:t,icon:n}=J(`\n
  • \n \n \n
  • \n `),s=()=>{const t=this.speedContext.getAvailableSpeedValues().slice(-1)[0]+.5,n=lodash.toString(t>16?null:t);e.value=n,e.min=n};this.options.extendSpeedList$.pipe(f(y)).subscribe(s);const o=(0,D.addStyle)(`\n #${e.id} {\n font-size: inherit;\n color: inherit;\n line-height: inherit;\n background: transparent;\n outline: none;\n width: 100%;\n border: none;\n text-align: center;\n cursor: text;\n }\n /* https://stackoverflow.com/a/4298216 */\n /* Chrome */\n #${e.id}::-webkit-outer-spin-button,\n #${e.id}::-webkit-inner-spin-button {\n -webkit-appearance: none;\n margin: 0;\n }\n /* Firefox */\n #${e.id}[type=number] {\n -moz-appearance:textfield;\n }\n `),r=lodash.over(l(e,"keydown").pipe(g(200)).subscribe((t=>{let{key:n}=t;if("Enter"!==n)return;const s=parseFloat(e.value);try{if(!lodash.isFinite(s))throw new Error("无效的倍数值");if(s16)throw new Error("倍数值太大了");if(this.speedContext.getAvailableSpeedValues().includes(s))throw new Error("不能重复添加已有的倍数值");this.addSpeedValue(s)}catch(t){(0,i.logError)(String(t),5e3),e.focus(),e.select()}})),l(t,"mouseenter").subscribe((()=>{e.style.display="inline",n.style.display="none",s(),setTimeout((()=>e.focus()))})),l(t,"mouseleave").subscribe((()=>{e.style.display="none",n.style.display="inline"})),(()=>t.remove()),(()=>o.remove()));return{node:t,destroy:r}}createCustomSpeedMenuItemElement(e){const{closeBtn:t,root:n}=J(`\n
  • \n ${V(e)}\n \n
  • \n `),s=(0,D.addStyle)(`\n .${G} [data-ref="close-btn"] {\n color: inherit;\n opacity: 0.5;\n display: none;\n position: absolute;\n right: 4px;\n }\n :is(${L.custom.speedMenuItem.selector}):not(${L.custom.active.selector}):hover [data-ref="close-btn"] {\n display: inline;\n }\n .${G} [data-ref="close-btn"]:hover {\n opacity: 1;\n transition: all .3s;\n }\n `),i=lodash.over(l(t,"click").subscribe((()=>{this.removeSpeedValue(e)})),(()=>n.remove()),(()=>s.remove()));return{tag:e,node:n,destroy:i}}migrate(){const{options:e}=this.settings,{options:t}=(0,s.getComponentSettings)("rememberVideoSpeed");t.extendList&&(e.extendSpeedList=Array.from(t.extendList),delete t.extendList,delete t.extend,X.Toast.success("从「倍速记忆」组件迁移旧配置成功","【扩展倍速】旧配置迁移完成",8e3))}getSpeedContextMixin(e){let{menuListElement:t}=e;return{query:e=>(0,m.des)(`./*[(${K.speedMenuItemClassName.split(",").map((e=>`contains(@class, "${e}")`)).join(" or ")}) and not(contains(@class, "${_}")) and normalize-space()="${V(e)}"]`,t)}}onSpeedContext(e){let{menuListElementClickSpeedChange$:t,playbackRate$:n}=e;this.options.extendSpeedList$.subscribe({next:e=>this.patch(((e,t)=>{let n=0,s=e.length,i=0,o=t.length;for(;ne.tag)),Array.from(e))),complete:()=>{this.unpatch()}}),this.options.maxMenuHeight$.subscribe(W({name:"extend-video-speed-style",style:e=>`\n ${L.custom.speedMenuList.selector} {\n display: flex !important; /* 防止3.X样式覆盖 */\n flex-direction: column;\n overflow-y: auto;\n max-height: ${e}px;\n visibility: hidden;\n }\n /* 修复2.X倍速列表显示问题 */\n :is(${L.custom.show.selector}) :is(${L.custom.speedMenuList.selector}){\n visibility: visible;\n }\n /* 修复番剧区的列表显示问题 */\n :is(${L.custom.speedMenuList.selector})[style*="block"] {\n visibility: visible;\n }`})),this.options.hideScrollbar$.subscribe(W({name:"extend-video-speed-no-scrollbar-style",style:e=>e&&`\n ${L.custom.speedMenuList.selector} {\n scrollbar-width: none !important;\n overscroll-behavior: contain;\n }\n :is(${L.custom.speedMenuList.selector})::-webkit-scrollbar {\n height: 0 !important;\n width: 0 !important;\n }`})),this.options.hideRemoveBtn$.subscribe(W({name:"extend-video-speed-no-remove-btn-style",style:e=>e&&`\n .${G} [data-ref="close-btn"] {\n display: none !important;\n }\n :is(${L.custom.speedMenuItem.selector}):not(${L.custom.active.selector}):hover [data-ref="close-btn"] {\n display: none !important;\n }`})),this.options.hideAddBtn$.subscribe(W({name:"extend-video-speed-no-add-btn-style",style:e=>e&&`\n .${_} {\n display: none !important;\n }`}));let s=1;n.pipe(x((e=>B.includes(e)))).subscribe((e=>{s=e})),t.subscribe({next:e=>{this.forceVideoSpeedWithUpdateStyle(e),this.currentSpeedValue=e},complete:()=>{this.setVideoSpeed(s),this.forceVideoSpeedWithUpdateStyle(s)}}),this.currentSpeedValue&&requestIdleCallback((()=>{this.setVideoSpeed(this.currentSpeedValue,1e3)}))}async forceVideoSpeedWithUpdateStyle(e){await this.forceVideoSpeed(e),setTimeout((()=>this.forceUpdateStyle(e)))}patch(e){const[t,n,s]=e,{menuListElement:i}=this.speedContext;if(this.inputElement||(this.inputElement=this.createInputElement(),i.prepend(this.inputElement.node)),0===n&&0===s.length)return;const o=s.map((e=>this.createCustomSpeedMenuItemElement(e)));this.elementMap.splice(t,n,...o).forEach((e=>{e.destroy()})),(this.elementMap[t-1]||this.inputElement).node.after(...o.map((e=>e.node)).reverse()),i.querySelectorAll(`:is(${L.custom.speedMenuItem.selector}):not(#${this.inputElement.node.id})`).forEach((e=>{e.style.order=(1e4*(16-M(e.innerHTML))).toString()})),this.unpatch=()=>{this.inputElement.destroy(),this.inputElement=void 0,this.elementMap.forEach((e=>e.destroy())),this.elementMap.length=0}}forceUpdateStyle(e){const{menuListElement:t,containerElement:n,nameBtnElement:s,query:i}=this.speedContext;for(const e of(0,m.dea)(`./*[(${E(K.speedMenuItemClassName).split(",").map((e=>`contains(@class, "${e}")`)).join(" or ")}) and (${E(K.activeClassName).split(",").map((e=>`contains(@class, "${e}")`)).join(" or ")})]`,t))e.classList.remove(...K.activeClassName.split(","));i(e).classList.add(...K.activeClassName.split(",")),n.classList.remove(...K.showClassName.split(",")),s.innerText=V(e,!0)}}const Q=K.create({name:"extendVideoSpeed",displayName:"扩展倍速",author:{name:"JLoeve",link:"https://github.com/LonelySteve"},description:{"zh-CN":"\n\n> 扩展视频播放器的倍速菜单项,可用于突破原有播放倍数的上限或下限.\n\n#### 🔧 **选项**\n\n- `隐藏滚动条`:如果添加的倍速过多,倍速菜单将出现滚动条,在 Windows 下,若没有安装并启用「细滚动条」组件会显得比较挤,建议开启此选项隐藏滚动条.\n\n- `隐藏移除图标`:如果认为倍速右侧的移除倍速图标有些突兀,可以开启此选项隐藏.\n\n- `隐藏新增图标`:如果认为顶部的新增倍速图标有些突兀,可以开启此选项隐藏.\n\n#### **新增倍速**\n\n开启组件后,在默认情况下,播放器的倍速菜单就会新增 2.5x 和 3.0x 两个倍速选项.\n\n如果需要添加更多倍速,只需将鼠标指针移到菜单顶部的新增图标上,图标将变成一个输入框,根据需要键入新的倍速值,或通过滚轮增减数值,或直接使用推荐的数值,回车确认即可.\n\n新增倍速的范围要求在 0.0625 到 16 之间,数量则不受限制.\n\n**不推荐设置超高倍速(>3.0x)**:原生播放器内部没有针对超高倍速进行优化,可能导致音画不同步、播放卡顿、声音嘈杂/消失等一系列问题.\n\n#### **删除倍速**\n\n将鼠标指针移到**自定义**的倍速菜单项上,其右侧将会显示一个移除图标,单击即可删除相应的倍速.\n\n"},tags:[componentsTags.video],urlInclude:n.playerUrls,options:{maxMenuHeight:{displayName:"倍速菜单最大高度",defaultValue:360,hidden:!0,validator:e=>Math.max(parseInt(e),360)||360},hideScrollbar:{displayName:"隐藏滚动条",defaultValue:!1},hideRemoveBtn:{displayName:"隐藏移除图标",defaultValue:!1},hideAddBtn:{displayName:"隐藏新增图标",defaultValue:!1},extendSpeedList:{displayName:"扩展倍速列表",defaultValue:[2.5,3],hidden:!0}},commitHash:"d87d69cfb9d7e0124bd90a06fec4569bd61e02c5",coreVersion:"2.10.7"});return t=t.component})())); //# sourceMappingURL=https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/registry/dist/components/video/player/extend-speed.js.map \ No newline at end of file diff --git a/bb-evolved/registry/dist/components/video/player/focus.js b/bb-evolved/registry/dist/components/video/player/focus.js index f8599a3c35..5d83bb013a 100644 --- a/bb-evolved/registry/dist/components/video/player/focus.js +++ b/bb-evolved/registry/dist/components/video/player/focus.js @@ -1,2 +1,2 @@ -!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["video/player/focus"]=t():e["video/player/focus"]=t()}(globalThis,(()=>(()=>{"use strict";var e,t,o={728:e=>{e.exports=coreApis.spinQuery},847:e=>{e.exports=coreApis.utils}},r={};function i(e){var t=r[e];if(void 0!==t)return t.exports;var n=r[e]={exports:{}};return o[e](n,n.exports,i),n.exports}t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,i.t=function(o,r){if(1&r&&(o=this(o)),8&r)return o;if("object"==typeof o&&o){if(4&r&&o.__esModule)return o;if(16&r&&"function"==typeof o.then)return o}var n=Object.create(null);i.r(n);var s={};e=e||[null,t({}),t([]),t(t)];for(var a=2&r&&o;"object"==typeof a&&!~e.indexOf(a);a=t(a))Object.getOwnPropertyNames(a).forEach((e=>s[e]=()=>o[e]));return s.default=()=>o,i.d(n,s),n},i.d=(e,t)=>{for(var o in t)i.o(t,o)&&!i.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},i.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),i.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var n={};i.d(n,{component:()=>a});const s=coreApis.utils.urls,a=(0,coreApis.componentApis.define.defineComponentMetadata)({name:"playerFocus",displayName:"播放器定位",tags:[componentsTags.video],entry:async e=>{let{settings:{options:t}}=e;const o=document.URL.includes("bangumi")?".bilibili-player":".video-info .video-title .tit",{select:r}=await Promise.resolve().then(i.t.bind(i,728,23)),{playerReady:n}=await Promise.resolve().then(i.t.bind(i,847,23)),s=await r(o);await n(),s&&(s.scrollIntoView(),0!==t.offset&&window.scrollBy(0,t.offset))},description:{"zh-CN":"进入视频 / 番剧页面时, 自动定位到播放器. 注意: 不能和其他影响定位的功能一同使用, 例如自动宽屏. (相关讨论: [#483](https://github.com/the1812/Bilibili-Evolved/issues/483))\n\n可设置定位时的竖直偏移量, 单位为像素(px)."},options:{offset:{displayName:"定位偏移量",defaultValue:-10}},urlInclude:s.videoAndBangumiUrls,commitHash:"58c0b438ca2371e397f70466a91572cb2757b142",coreVersion:"2.10.7"});return n=n.component})())); +!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["video/player/focus"]=t():e["video/player/focus"]=t()}(globalThis,(()=>(()=>{"use strict";var e,t,o={728:e=>{e.exports=coreApis.spinQuery},847:e=>{e.exports=coreApis.utils}},r={};function i(e){var t=r[e];if(void 0!==t)return t.exports;var n=r[e]={exports:{}};return o[e](n,n.exports,i),n.exports}t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,i.t=function(o,r){if(1&r&&(o=this(o)),8&r)return o;if("object"==typeof o&&o){if(4&r&&o.__esModule)return o;if(16&r&&"function"==typeof o.then)return o}var n=Object.create(null);i.r(n);var s={};e=e||[null,t({}),t([]),t(t)];for(var a=2&r&&o;"object"==typeof a&&!~e.indexOf(a);a=t(a))Object.getOwnPropertyNames(a).forEach((e=>s[e]=()=>o[e]));return s.default=()=>o,i.d(n,s),n},i.d=(e,t)=>{for(var o in t)i.o(t,o)&&!i.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},i.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),i.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var n={};i.d(n,{component:()=>a});const s=coreApis.utils.urls,a=(0,coreApis.componentApis.define.defineComponentMetadata)({name:"playerFocus",displayName:"播放器定位",tags:[componentsTags.video],entry:async e=>{let{settings:{options:t}}=e;const o=document.URL.includes("bangumi")?".bilibili-player":".video-info .video-title .tit",{select:r}=await Promise.resolve().then(i.t.bind(i,728,23)),{playerReady:n}=await Promise.resolve().then(i.t.bind(i,847,23)),s=await r(o);await n(),s&&(s.scrollIntoView(),0!==t.offset&&window.scrollBy(0,t.offset))},description:{"zh-CN":"进入视频 / 番剧页面时, 自动定位到播放器. 注意: 不能和其他影响定位的功能一同使用, 例如自动宽屏. (相关讨论: [#483](https://github.com/the1812/Bilibili-Evolved/issues/483))\n\n可设置定位时的竖直偏移量, 单位为像素(px)."},options:{offset:{displayName:"定位偏移量",defaultValue:-10}},urlInclude:s.videoAndBangumiUrls,commitHash:"d87d69cfb9d7e0124bd90a06fec4569bd61e02c5",coreVersion:"2.10.7"});return n=n.component})())); //# sourceMappingURL=https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/registry/dist/components/video/player/focus.js.map \ No newline at end of file diff --git a/bb-evolved/registry/dist/components/video/player/intersection-actions.js b/bb-evolved/registry/dist/components/video/player/intersection-actions.js index dd1f9280fd..fb3e9bd3ce 100644 --- a/bb-evolved/registry/dist/components/video/player/intersection-actions.js +++ b/bb-evolved/registry/dist/components/video/player/intersection-actions.js @@ -1,2 +1,2 @@ -!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["video/player/intersection-actions"]=t():e["video/player/intersection-actions"]=t()}(globalThis,(()=>(()=>{"use strict";var e={d:(t,o)=>{for(var n in o)e.o(o,n)&&!e.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:o[n]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t)},t={};e.d(t,{component:()=>d});const o=coreApis.componentApis.define,n=coreApis.componentApis.video.playerAgent,a=coreApis.componentApis.video.playerLight,i=coreApis.observer,s=coreApis.settings,r=coreApis.utils.urls;var p=function(e){return e.Top="视频顶部",e.Medium="视频中间",e.Bottom="视频底部",e}(p||{});const d=(0,o.defineComponentMetadata)({name:"playerIntersectionActions",author:{name:"Waua",link:"https://github.com/FoundTheWOUT"},tags:[componentsTags.video],urlInclude:r.allVideoUrls,entry:async e=>{let{settings:{options:t},metadata:o}=e;const r=t;Promise.resolve().then((async()=>{const{query:{video:e}}=n.playerAgent,t=await e.element(),d=document.getElementById("video-player")??(dq(".player-wrap")||dq(".player-module"));let c,l=!0;function u(e){switch(e){case p.Top:return 1;case p.Medium:return.5;case p.Bottom:return 0;default:return.5}}function m(){c.observe(d)}function y(){c.unobserve(d)}const g=e=>new IntersectionObserver((e=>{let[o]=e;o.isIntersecting?l||(l=!0,r.pause&&t.paused&&t.play(),r.light&&(0,s.getComponentSettings)("playerAutoLight").enabled&&!r.pause&&!t.paused&&(0,a.lightOff)()):(t.paused||(l=!1),r.pause&&!t.paused&&t.pause(),r.light&&(0,s.getComponentSettings)("playerAutoLight").enabled&&!r.pause&&(0,a.lightOn)())}),{threshold:u(e||r.triggerLocation)});(0,s.addComponentListener)(`${o.name}.triggerLocation`,(e=>{y(),c=g(e),m()})),c=g(),(0,i.videoChange)((async()=>{n.playerAgent.isAutoPlay()&&m(),t.addEventListener("play",m),t.addEventListener("ended",y)}))}))},displayName:"播放器位置动作",description:{"zh-CN":"设置当播放器移出视图的位置变化时执行的动作."},options:{triggerLocation:{defaultValue:p.Medium,displayName:"触发位置",dropdownEnum:p},pause:{defaultValue:!1,displayName:"自动暂停"},light:{defaultValue:!0,displayName:"自动开灯"}},commitHash:"58c0b438ca2371e397f70466a91572cb2757b142",coreVersion:"2.10.7"});return t=t.component})())); +!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["video/player/intersection-actions"]=t():e["video/player/intersection-actions"]=t()}(globalThis,(()=>(()=>{"use strict";var e={d:(t,o)=>{for(var n in o)e.o(o,n)&&!e.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:o[n]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t)},t={};e.d(t,{component:()=>d});const o=coreApis.componentApis.define,n=coreApis.componentApis.video.playerAgent,a=coreApis.componentApis.video.playerLight,i=coreApis.observer,s=coreApis.settings,r=coreApis.utils.urls;var p=function(e){return e.Top="视频顶部",e.Medium="视频中间",e.Bottom="视频底部",e}(p||{});const d=(0,o.defineComponentMetadata)({name:"playerIntersectionActions",author:{name:"Waua",link:"https://github.com/FoundTheWOUT"},tags:[componentsTags.video],urlInclude:r.allVideoUrls,entry:async e=>{let{settings:{options:t},metadata:o}=e;const r=t;Promise.resolve().then((async()=>{const{query:{video:e}}=n.playerAgent,t=await e.element(),d=document.getElementById("video-player")??(dq(".player-wrap")||dq(".player-module"));let c,l=!0;function u(e){switch(e){case p.Top:return 1;case p.Medium:return.5;case p.Bottom:return 0;default:return.5}}function m(){c.observe(d)}function y(){c.unobserve(d)}const g=e=>new IntersectionObserver((e=>{let[o]=e;o.isIntersecting?l||(l=!0,r.pause&&t.paused&&t.play(),r.light&&(0,s.getComponentSettings)("playerAutoLight").enabled&&!r.pause&&!t.paused&&(0,a.lightOff)()):(t.paused||(l=!1),r.pause&&!t.paused&&t.pause(),r.light&&(0,s.getComponentSettings)("playerAutoLight").enabled&&!r.pause&&(0,a.lightOn)())}),{threshold:u(e||r.triggerLocation)});(0,s.addComponentListener)(`${o.name}.triggerLocation`,(e=>{y(),c=g(e),m()})),c=g(),(0,i.videoChange)((async()=>{n.playerAgent.isAutoPlay()&&m(),t.addEventListener("play",m),t.addEventListener("ended",y)}))}))},displayName:"播放器位置动作",description:{"zh-CN":"设置当播放器移出视图的位置变化时执行的动作."},options:{triggerLocation:{defaultValue:p.Medium,displayName:"触发位置",dropdownEnum:p},pause:{defaultValue:!1,displayName:"自动暂停"},light:{defaultValue:!0,displayName:"自动开灯"}},commitHash:"d87d69cfb9d7e0124bd90a06fec4569bd61e02c5",coreVersion:"2.10.7"});return t=t.component})())); //# sourceMappingURL=https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/registry/dist/components/video/player/intersection-actions.js.map \ No newline at end of file diff --git a/bb-evolved/registry/dist/components/video/player/invert-scroll-volume.js b/bb-evolved/registry/dist/components/video/player/invert-scroll-volume.js index b0d1c56ea9..749b0d315c 100644 --- a/bb-evolved/registry/dist/components/video/player/invert-scroll-volume.js +++ b/bb-evolved/registry/dist/components/video/player/invert-scroll-volume.js @@ -1,2 +1,2 @@ -!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["video/player/invert-scroll-volume"]=t():e["video/player/invert-scroll-volume"]=t()}(globalThis,(()=>(()=>{var e,t,o={993:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=993,e.exports=t},895:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=895,e.exports=t},746:e=>{"use strict";e.exports="在网页全屏 / 全屏模式下, 禁止鼠标滚轮控制播放器的音量. 请注意不能和 `反转滚轮调音量` 一同使用.\n"},540:e=>{"use strict";e.exports="反转在网页全屏 / 全屏模式下使用滚轮调节音量的方向, 使其更符合使用触控板时的操作方向. 请注意不能和 `禁止滚轮调音量` 一同使用.\n\n- 手指向上推时, 增加音量\n- 手指向下推时, 减少音量\n- 可以自定义 `灵敏度`, 同样的滚动幅度下, 灵敏度越高变化的音量越多"}},n={};function r(e){var t=n[e];if(void 0!==t)return t.exports;var l=n[e]={exports:{}};return o[e](l,l.exports,r),l.exports}t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,r.t=function(o,n){if(1&n&&(o=this(o)),8&n)return o;if("object"==typeof o&&o){if(4&n&&o.__esModule)return o;if(16&n&&"function"==typeof o.then)return o}var l=Object.create(null);r.r(l);var s={};e=e||[null,t({}),t([]),t(t)];for(var i=2&n&&o;"object"==typeof i&&!~e.indexOf(i);i=t(i))Object.getOwnPropertyNames(i).forEach((e=>s[e]=()=>o[e]));return s.default=()=>o,r.d(l,s),l},r.d=(e,t)=>{for(var o in t)r.o(t,o)&&!r.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var l={};return(()=>{"use strict";r.d(l,{component:()=>u});const e=coreApis.componentApis.define,t=coreApis.utils,o=coreApis.utils.urls;let n;const s=()=>{const e=()=>["player-mode-full","player-mode-web","player-fullscreen-fix","player-full-win"].some((e=>document.body.classList.contains(e))),o=(0,t.preventEvent)(unsafeWindow,"DOMMouseScroll",e),n=(0,t.preventEvent)(unsafeWindow,"wheel",e);return()=>{o(),n()}},i=((0,e.defineComponentMetadata)({name:"disableScrollVolume",displayName:"禁止滚轮调音量",tags:[componentsTags.video],entry:()=>{n?.(),n=s()},reload:()=>{n?.(),n=s()},unload:()=>{n?.()},urlInclude:o.allVideoUrls,commitHash:"58c0b438ca2371e397f70466a91572cb2757b142",coreVersion:"2.10.7",description:(()=>{const e=r(993);return{...Object.fromEntries(e.keys().map((t=>[t.match(/index\.(.+)\.md$/)[1],e(t)]))),"zh-CN":()=>Promise.resolve().then(r.t.bind(r,746,17)).then((e=>e.default))}})()}),coreApis.componentApis.video.playerAgent),a=coreApis.settings;let c;const d=(0,e.defineOptionsMetadata)({deltaFactor:{defaultValue:15,slider:{min:1,max:30,step:1},displayName:"灵敏度"}}),p=()=>{c?.();const e=(0,a.getComponentSettings)("invertScrollVolume"),t=t=>{["player-mode-webfullscreen","player-fullscreen-fix","player-full-win"].some((e=>document.body.classList.contains(e)))&&i.playerAgent.changeVolume(t.deltaY/((30-e.options.deltaFactor+1)/2))};unsafeWindow.addEventListener("wheel",t);const o=s();return()=>{unsafeWindow.removeEventListener("wheel",t),o()}},u=(0,e.defineComponentMetadata)({name:"invertScrollVolume",displayName:"反转滚轮调音量",tags:[componentsTags.video],options:d,entry:()=>{c?.(),c=p()},reload:()=>{c?.(),c=p()},unload:()=>c?.(),urlInclude:o.allVideoUrls,commitHash:"58c0b438ca2371e397f70466a91572cb2757b142",coreVersion:"2.10.7",description:(()=>{const e=r(895);return{...Object.fromEntries(e.keys().map((t=>[t.match(/index\.(.+)\.md$/)[1],e(t)]))),"zh-CN":()=>Promise.resolve().then(r.t.bind(r,540,17)).then((e=>e.default))}})()})})(),l=l.component})())); +!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["video/player/invert-scroll-volume"]=t():e["video/player/invert-scroll-volume"]=t()}(globalThis,(()=>(()=>{var e,t,o={993:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=993,e.exports=t},895:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=895,e.exports=t},746:e=>{"use strict";e.exports="在网页全屏 / 全屏模式下, 禁止鼠标滚轮控制播放器的音量. 请注意不能和 `反转滚轮调音量` 一同使用.\n"},540:e=>{"use strict";e.exports="反转在网页全屏 / 全屏模式下使用滚轮调节音量的方向, 使其更符合使用触控板时的操作方向. 请注意不能和 `禁止滚轮调音量` 一同使用.\n\n- 手指向上推时, 增加音量\n- 手指向下推时, 减少音量\n- 可以自定义 `灵敏度`, 同样的滚动幅度下, 灵敏度越高变化的音量越多"}},n={};function r(e){var t=n[e];if(void 0!==t)return t.exports;var l=n[e]={exports:{}};return o[e](l,l.exports,r),l.exports}t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,r.t=function(o,n){if(1&n&&(o=this(o)),8&n)return o;if("object"==typeof o&&o){if(4&n&&o.__esModule)return o;if(16&n&&"function"==typeof o.then)return o}var l=Object.create(null);r.r(l);var s={};e=e||[null,t({}),t([]),t(t)];for(var i=2&n&&o;"object"==typeof i&&!~e.indexOf(i);i=t(i))Object.getOwnPropertyNames(i).forEach((e=>s[e]=()=>o[e]));return s.default=()=>o,r.d(l,s),l},r.d=(e,t)=>{for(var o in t)r.o(t,o)&&!r.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var l={};return(()=>{"use strict";r.d(l,{component:()=>u});const e=coreApis.componentApis.define,t=coreApis.utils,o=coreApis.utils.urls;let n;const s=()=>{const e=()=>["player-mode-full","player-mode-web","player-fullscreen-fix","player-full-win"].some((e=>document.body.classList.contains(e))),o=(0,t.preventEvent)(unsafeWindow,"DOMMouseScroll",e),n=(0,t.preventEvent)(unsafeWindow,"wheel",e);return()=>{o(),n()}},i=((0,e.defineComponentMetadata)({name:"disableScrollVolume",displayName:"禁止滚轮调音量",tags:[componentsTags.video],entry:()=>{n?.(),n=s()},reload:()=>{n?.(),n=s()},unload:()=>{n?.()},urlInclude:o.allVideoUrls,commitHash:"d87d69cfb9d7e0124bd90a06fec4569bd61e02c5",coreVersion:"2.10.7",description:(()=>{const e=r(993);return{...Object.fromEntries(e.keys().map((t=>[t.match(/index\.(.+)\.md$/)[1],e(t)]))),"zh-CN":()=>Promise.resolve().then(r.t.bind(r,746,17)).then((e=>e.default))}})()}),coreApis.componentApis.video.playerAgent),a=coreApis.settings;let d;const c=(0,e.defineOptionsMetadata)({deltaFactor:{defaultValue:15,slider:{min:1,max:30,step:1},displayName:"灵敏度"}}),p=()=>{d?.();const e=(0,a.getComponentSettings)("invertScrollVolume"),t=t=>{["player-mode-webfullscreen","player-fullscreen-fix","player-full-win"].some((e=>document.body.classList.contains(e)))&&i.playerAgent.changeVolume(t.deltaY/((30-e.options.deltaFactor+1)/2))};unsafeWindow.addEventListener("wheel",t);const o=s();return()=>{unsafeWindow.removeEventListener("wheel",t),o()}},u=(0,e.defineComponentMetadata)({name:"invertScrollVolume",displayName:"反转滚轮调音量",tags:[componentsTags.video],options:c,entry:()=>{d?.(),d=p()},reload:()=>{d?.(),d=p()},unload:()=>d?.(),urlInclude:o.allVideoUrls,commitHash:"d87d69cfb9d7e0124bd90a06fec4569bd61e02c5",coreVersion:"2.10.7",description:(()=>{const e=r(895);return{...Object.fromEntries(e.keys().map((t=>[t.match(/index\.(.+)\.md$/)[1],e(t)]))),"zh-CN":()=>Promise.resolve().then(r.t.bind(r,540,17)).then((e=>e.default))}})()})})(),l=l.component})())); //# sourceMappingURL=https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/registry/dist/components/video/player/invert-scroll-volume.js.map \ No newline at end of file diff --git a/bb-evolved/registry/dist/components/video/player/legacy-auto-play.js b/bb-evolved/registry/dist/components/video/player/legacy-auto-play.js index d34a08c305..8f10bb2555 100644 --- a/bb-evolved/registry/dist/components/video/player/legacy-auto-play.js +++ b/bb-evolved/registry/dist/components/video/player/legacy-auto-play.js @@ -1,4 +1,4 @@ !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["video/player/legacy-auto-play"]=t():e["video/player/legacy-auto-play"]=t()}(globalThis,(()=>(()=>{"use strict";var e={d:(t,i)=>{for(var o in i)e.o(i,o)&&!e.o(t,o)&&Object.defineProperty(t,o,{enumerable:!0,get:i[o]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t)},t={};e.d(t,{component:()=>m});const i=coreApis.componentApis.define,o=coreApis.componentApis.feeds.api,s=coreApis.componentApis.video.playerAgent,n=coreApis.observer,a=coreApis.spinQuery,l=coreApis.utils,c=coreApis.utils.log,r=coreApis.utils.urls;function d(e,t,i){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var i=e[Symbol.toPrimitive];if(void 0!==i){var o=i.call(e,t||"default");if("object"!=typeof o)return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}class p{isChecked(e){return Boolean(e.querySelector(".switch-button.on")||e.matches(":checked"))||e.classList.contains("on")}async onRightPanelLoaded(e){await(0,l.playerReady)();const t=await Promise.any([(0,a.select)(".right-container-inner"),(0,a.select)(".playlist-container--right"),(0,a.select)(".video-pod")]);if(t)e(t);else{(0,c.useScopedConsole)("传统连播模式").warn("未找到 rightPanelContainer 或 playListContainer")}}async onVideoChange(e){(0,n.videoChange)((async()=>{const t=await s.playerAgent.query.video.element();t?.addEventListener("play",(()=>e(t)),{once:!0})}))}}class u extends p{constructor(){super(...arguments),d(this,"autoPlayControls",{enable:[":is(.base-video-sections, .base-video-sections-v1) .next-button",":is(.multi-page, .multi-page-v1) .next-button",".player-auxiliary-autoplay-switch input",".video-pod .auto-play .switch-btn"],disable:[":is(.recommend-list, .recommend-list-v1) .next-button",".recommend-list-v1 .switch-btn"]}),d(this,"disableConditions",[()=>Boolean(dq(":is(.multi-page, .multi-page-v1) .list-box li.on:last-child, .video-pod__list .simple-base-item.active:last-child")),()=>Boolean(dq(".video-sections-item:last-child .video-episode-card:last-child .video-episode-card__info-playing")),()=>Boolean(dq(".video-sections-item:last-child .video-episode-card:last-child .video-episode-card__info-title-playing"))])}async checkPlayMode(){const e=await(0,a.select)([...this.autoPlayControls.disable,...this.autoPlayControls.enable].join(","));if(!e)return;const t=this.autoPlayControls.enable.some((t=>e.matches(t)))&&this.disableConditions.every((e=>!e())),i=this.isChecked(e);console.log("checkPlayMode",{shouldChecked:t,checked:i}),t!==i&&e.click()}async checkPlayListPlayMode(e){ // spell-checker: disable -const t=dq(e,".list-count, .video-pod__header .amt").innerHTML.replace(/[()]/g,"").split("/").map((e=>parseInt(e))),i=dq(".action-list .action-list-item-wrap:last-child .action-list-item .actionlist-item-inner, .video-pod__list .pod-item:last-child"),s=i.classList.contains("singlep-list-item-inner")||null!==i.querySelector(".single-p")?i.classList.contains("siglep-active")||null!==i.querySelector(".simple-base-item.active"):i.children[1].lastElementChild.classList.contains("multip-list-item-active"),n=!(t[0]>=t[1]&&s);console.log("checkPlayListPlayMode",{isLastVideo:s,sequentialNumbers:t,shouldContinue:n});const a=document.getElementById("app");(0,o.getVueData)(a).setContinuousPlay(n)}async setupAutoPlay(){this.onRightPanelLoaded((e=>{const t=()=>e.querySelector(".video-pod__list.section")?this.checkPlayListPlayMode(e):this.checkPlayMode();(0,n.childListSubtree)(e,(()=>t())),this.onVideoChange((()=>t()))}))}}class y extends p{async setupAutoPlay(){const e=await(0,a.select)('.bpx-player-ctrl-setting-handoff input[type="radio"][value="0"]');if(null!==e)e.click();else{(0,c.useScopedConsole)("传统连播模式").warn("未找到 autoPlayRadio")}}}const m=(0,i.defineComponentMetadata)({name:"legacyAutoPlay",displayName:"传统连播模式",description:"模拟传统的多 P 连播策略: 仅连播视频的分 P, 最后 1P 放完禁止连播其他推荐视频.",tags:[componentsTags.video],urlInclude:[...r.videoUrls,...r.bangumiUrls],entry:async()=>{const e=r.bangumiUrls.some((e=>(0,l.matchUrlPattern)(e)))?new y:new u;await e.setupAutoPlay()},commitHash:"58c0b438ca2371e397f70466a91572cb2757b142",coreVersion:"2.10.7"});return t=t.component})())); +const t=dq(e,".list-count, .video-pod__header .amt").innerHTML.replace(/[()]/g,"").split("/").map((e=>parseInt(e))),i=dq(".action-list .action-list-item-wrap:last-child .action-list-item .actionlist-item-inner, .video-pod__list .pod-item:last-child"),s=i.classList.contains("singlep-list-item-inner")||null!==i.querySelector(".single-p")?i.classList.contains("siglep-active")||null!==i.querySelector(".simple-base-item.active"):i.children[1].lastElementChild.classList.contains("multip-list-item-active"),n=!(t[0]>=t[1]&&s);console.log("checkPlayListPlayMode",{isLastVideo:s,sequentialNumbers:t,shouldContinue:n});const a=document.getElementById("app");(0,o.getVueData)(a).setContinuousPlay(n)}async setupAutoPlay(){this.onRightPanelLoaded((e=>{const t=()=>e.querySelector(".video-pod__list.section")?this.checkPlayListPlayMode(e):this.checkPlayMode();(0,n.childListSubtree)(e,(()=>t())),this.onVideoChange((()=>t()))}))}}class y extends p{async setupAutoPlay(){const e=await(0,a.select)('.bpx-player-ctrl-setting-handoff input[type="radio"][value="0"]');if(null!==e)e.click();else{(0,c.useScopedConsole)("传统连播模式").warn("未找到 autoPlayRadio")}}}const m=(0,i.defineComponentMetadata)({name:"legacyAutoPlay",displayName:"传统连播模式",description:"模拟传统的多 P 连播策略: 仅连播视频的分 P, 最后 1P 放完禁止连播其他推荐视频.",tags:[componentsTags.video],urlInclude:[...r.videoUrls,...r.bangumiUrls],entry:async()=>{const e=r.bangumiUrls.some((e=>(0,l.matchUrlPattern)(e)))?new y:new u;await e.setupAutoPlay()},commitHash:"d87d69cfb9d7e0124bd90a06fec4569bd61e02c5",coreVersion:"2.10.7"});return t=t.component})())); //# sourceMappingURL=https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/registry/dist/components/video/player/legacy-auto-play.js.map \ No newline at end of file diff --git a/bb-evolved/registry/dist/components/video/player/preserve-danmaku-input.js b/bb-evolved/registry/dist/components/video/player/preserve-danmaku-input.js index 7f5e0ad70e..8a955d70e2 100644 --- a/bb-evolved/registry/dist/components/video/player/preserve-danmaku-input.js +++ b/bb-evolved/registry/dist/components/video/player/preserve-danmaku-input.js @@ -8,5 +8,5 @@ e=[[null,e,""]]);var o={};if(n)for(var i=0;i{"use strict";function r(e,r){return function(e){if(Array.isArray(e))return e}(e)||function(e,r){var t=e&&("undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]);if(null==t)return;var n,o,i=[],a=!0,l=!1;try{for(t=t.call(e);!(a=(n=t.next()).done)&&(i.push(n.value),!r||i.length!==r);a=!0);}catch(e){l=!0,o=e}finally{try{a||null==t.return||t.return()}finally{if(l)throw o}}return i}(e,r)||function(e,r){if(!e)return;if("string"==typeof e)return t(e,r);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return t(e,r)}(e,r)||function(){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 t(e,r){(null==r||r>e.length)&&(r=e.length);for(var t=0,n=new Array(r);t{var n=t(915);n&&n.__esModule&&(n=n.default),e.exports="string"==typeof n?n:n.toString()}},n={};function o(e){var r=n[e];if(void 0!==r)return r.exports;var i=n[e]={id:e,exports:{}};return t[e](i,i.exports,o),i.exports}r=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,o.t=function(t,n){if(1&n&&(t=this(t)),8&n)return t;if("object"==typeof t&&t){if(4&n&&t.__esModule)return t;if(16&n&&"function"==typeof t.then)return t}var i=Object.create(null);o.r(i);var a={};e=e||[null,r({}),r([]),r(r)];for(var l=2&n&&t;"object"==typeof l&&!~e.indexOf(l);l=r(l))Object.getOwnPropertyNames(l).forEach((e=>a[e]=()=>t[e]));return a.default=()=>t,o.d(i,a),i},o.d=(e,r)=>{for(var t in r)o.o(r,t)&&!o.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:r[t]})},o.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var i={};return(()=>{"use strict";o.d(i,{component:()=>n});const e=coreApis.componentApis.define,r=coreApis.utils.urls,t="preserveDanmakuInput",n=(0,e.defineComponentMetadata)({name:t,displayName:"强制保留弹幕发送栏",entry:none,instantStyles:[{name:t,style:()=>Promise.resolve().then(o.t.bind(o,869,23))}],tags:[componentsTags.style,componentsTags.video],description:{"zh-CN":"在视频播放器网页全屏时, 即使宽度过小也强制保留弹幕发送栏, 注意这可能导致右侧的功能按钮挤出边界."},urlInclude:r.playerUrls,commitHash:"58c0b438ca2371e397f70466a91572cb2757b142",coreVersion:"2.10.7"})})(),i=i.component})())); +var i=btoa(unescape(encodeURIComponent(JSON.stringify(o)))),a="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(i),l="/*# ".concat(a," */"),p=o.sources.map((function(e){return"/*# sourceURL=".concat(o.sourceRoot||"").concat(e," */")}));return[n].concat(p).concat([l]).join("\n")}return[n].join("\n")}},869:(e,r,t)=>{var n=t(915);n&&n.__esModule&&(n=n.default),e.exports="string"==typeof n?n:n.toString()}},n={};function o(e){var r=n[e];if(void 0!==r)return r.exports;var i=n[e]={id:e,exports:{}};return t[e](i,i.exports,o),i.exports}r=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,o.t=function(t,n){if(1&n&&(t=this(t)),8&n)return t;if("object"==typeof t&&t){if(4&n&&t.__esModule)return t;if(16&n&&"function"==typeof t.then)return t}var i=Object.create(null);o.r(i);var a={};e=e||[null,r({}),r([]),r(r)];for(var l=2&n&&t;"object"==typeof l&&!~e.indexOf(l);l=r(l))Object.getOwnPropertyNames(l).forEach((e=>a[e]=()=>t[e]));return a.default=()=>t,o.d(i,a),i},o.d=(e,r)=>{for(var t in r)o.o(r,t)&&!o.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:r[t]})},o.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var i={};return(()=>{"use strict";o.d(i,{component:()=>n});const e=coreApis.componentApis.define,r=coreApis.utils.urls,t="preserveDanmakuInput",n=(0,e.defineComponentMetadata)({name:t,displayName:"强制保留弹幕发送栏",entry:none,instantStyles:[{name:t,style:()=>Promise.resolve().then(o.t.bind(o,869,23))}],tags:[componentsTags.style,componentsTags.video],description:{"zh-CN":"在视频播放器网页全屏时, 即使宽度过小也强制保留弹幕发送栏, 注意这可能导致右侧的功能按钮挤出边界."},urlInclude:r.playerUrls,commitHash:"d87d69cfb9d7e0124bd90a06fec4569bd61e02c5",coreVersion:"2.10.7"})})(),i=i.component})())); //# sourceMappingURL=https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/registry/dist/components/video/player/preserve-danmaku-input.js.map \ No newline at end of file diff --git a/bb-evolved/registry/dist/components/video/player/remember-speed.js b/bb-evolved/registry/dist/components/video/player/remember-speed.js index cc279414be..e225ee9fcb 100644 --- a/bb-evolved/registry/dist/components/video/player/remember-speed.js +++ b/bb-evolved/registry/dist/components/video/player/remember-speed.js @@ -1,2 +1,2 @@ -!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["video/player/remember-speed"]=t():e["video/player/remember-speed"]=t()}(globalThis,(()=>(()=>{"use strict";var e={d:(t,i)=>{for(var o in i)e.o(i,o)&&!e.o(t,o)&&Object.defineProperty(t,o,{enumerable:!0,get:i[o]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t)},t={};e.d(t,{component:()=>W});const i=coreApis.meta,o=coreApis.utils.urls,n=coreApis.settings,r=coreApis.utils.log,s=coreApis.pluginApis.hook,a=e=>"function"==typeof e?{next:e}:e,l=e=>function e(t){let i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0,r=!1;const s=[],l=[];let d=!1;const c=()=>{for(;s.length;)s.pop()();l.length=0,d=!0},p=e=>{d||(l.forEach((t=>{t.error?.(e),(0,n.getGeneralSettings)().devMode&&console.error(e)})),c())},u=e=>{d||l.forEach((t=>{try{t.next(e)}catch(e){p(e)}}))},h=()=>{l.forEach((e=>{e.complete?.()})),c()},b=()=>{if(r)return;const e=t?.({next:u,error:p,complete:h});e&&s.push(e),r=!0},m=e=>null==e?null:(l.push(e),()=>{lodash.pull(l,e)}),f=function(){for(var t=arguments.length,i=new Array(t),n=0;n{const t=m(a(e));return(o?.connect??b)(),t},pipe:f,next:u,error:p,complete:h,...o}:e(i[0],{subscribe:m},o||{connect:b,next:u}).pipe(...i.slice(1))};if(i){const e=t?.({subscribe:e=>i.subscribe({error:p,complete:h,...a(e)}),next:u,error:p,complete:h});e&&s.push(e)}return f()}(e),d=(e,t)=>l((i=>{let{next:o}=i;return e.addEventListener(t,o),()=>e.removeEventListener(t,o)})),c=function(e){for(var t=arguments.length,i=new Array(t>1?t-1:0),o=1;o{let{next:o}=t;e(...i,o)}))},p=e=>new Promise(((t,i)=>{const o=e.subscribe({next:e=>{t(e),o()},error:()=>{i(),o()},complete:()=>{i(),o()}})})),u=coreApis.componentApis.video.playerAgent,h=coreApis.lifeCycle,b=coreApis.observer,m=coreApis.utils,f=coreApis.utils.sort,v=e=>function(){for(var t=arguments.length,i=new Array(t),o=0;oe(...i)))},g=function(){for(var e=arguments.length,t=new Array(e),i=0;i{let{next:i,error:o,complete:n}=e;return(e=>{const t=new Set;return e((e=>{lodash.castArray(e).forEach((e=>{t.add(e)}))})),()=>{t.forEach((e=>{e()}))}})((e=>{const r=[];let s=0;e(t.map(((e,a)=>{return e.pipe((l=v,e=>{let{subscribe:t,next:i,complete:o,error:n}=e;t(lodash.mapValues({next:i,complete:o,error:n},(e=>l(e))))})).subscribe({next:e=>{r[a]=e,r.reduce((e=>e+1),0)===t.length&&i(r.slice())},complete:()=>{s++,s===t.length&&n()},error:o});var l}))),e((()=>{r.length=0,s=0}))}))}))},y=e=>t=>{let{subscribe:i,next:o,error:n}=t;i(lodash.debounce((e=>{try{o(e)}catch(e){n(e)}}),e))},x=e=>t=>{let{subscribe:i,next:o}=t;i((t=>{e(t)&&o(t)}))},S=function(){for(var e=arguments.length,t=new Array(e),i=0;i{let{next:i,subscribe:o}=e,n=!1;o((e=>{n||t.forEach((e=>i(e))),i(e),n=!0}))}},w=coreApis.pluginApis.data,E=e=>e.split(",").map((e=>e.trim().replace(/^\./,""))).join(","),R=(e,t)=>{const i=t=>{(0,w.registerAndGetData)(e,t)[0]=t},o=(0,w.getData)(e);if(o.length)return[o[0],i];if(t){const e=t();return i(e),[e,i]}return[void 0,i]},A=function(e){return arguments.length>1&&void 0!==arguments[1]&&arguments[1]&&1===e?"倍速":Math.trunc(e)===e?`${e}.0x`:`${e}x`},V=e=>{if("倍速"===e)return 1;const t=/([0-9]*[.]?[0-9]+)x/.exec(e);if(t)return parseFloat(t[1]);throw new Error(`unknown speed text: ${e}`)};function C(e,t,i){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var i=e[Symbol.toPrimitive];if(void 0!==i){var o=i.call(e,t||"default");if("object"!=typeof o)return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}const $=u.playerAgent.provideCustomQuery({video:{speedMenuList:".bilibili-player-video-btn-speed-menu, .bpx-player-ctrl-playbackrate-menu",speedMenuItem:".bilibili-player-video-btn-speed-menu-list, .bpx-player-ctrl-playbackrate-menu-item",speedNameBtn:".bilibili-player-video-btn-speed-name, .bpx-player-ctrl-playbackrate-result",speedContainer:".bilibili-player-video-btn-speed, .bpx-player-ctrl-playbackrate",active:".bilibili-player-active, .bpx-state-active",show:".bilibili-player-speed-show, .bpx-state-show"},bangumi:{speedMenuList:".squirtle-speed-select-list, .bpx-player-ctrl-playbackrate-menu",speedMenuItem:".squirtle-select-item, .bpx-player-ctrl-playbackrate-menu-item",speedNameBtn:".squirtle-speed-select-result, .bpx-player-ctrl-playbackrate-result",speedContainer:".squirtle-speed-wrap, .bpx-player-ctrl-playbackrate",active:".active, .bpx-state-active",show:".bilibili-player-speed-show, .bpx-state-show"}});let O=function(e){return e[e.MIN=0]="MIN",e[e.CURRENT=1]="CURRENT",e[e.MAX=2]="MAX",e}({});const k=(e,t,i)=>{const o=new MutationObserver(i);return o.observe(e,t),o},N=e=>{let[t,i]=e;if(!t)throw new Error("speed container element not found!");if(!i)throw new Error("video element not found!");const o=t.querySelector($.custom.speedNameBtn.selector),n=t.querySelector($.custom.speedMenuList.selector);let r,s,a;const d=l(),c=l().pipe((e=>{let t,{subscribe:i,next:o}=e,n=!0;i((e=>{(n||t!==e)&&(n=!1,t=e,o(e))}))}));c.pipe(S(void 0),(e=>{let{subscribe:t,next:i}=e;const o=[];return t((e=>{2===o.length&&o.shift(),o.push(e),2===o.length&&i(o.slice())})),()=>{o.length=0}})).subscribe((e=>{let[t,i]=e;s=t,r=i}));const p=e=>{if(e)switch(e.nodeType){case Node.TEXT_NODE:c.next(V(e.data));break;case Node.ELEMENT_NODE:c.next(V(e.innerHTML));break;default:console.warn("The target parameter of updateActiveVideoSpeed must be a Node, and the node type must be one of TEXT_NODE and ELEMENT_NODE")}},u=()=>{a=lodash([...n.children]).map((e=>lodash.attempt((()=>V(e.textContent))))).reject((e=>lodash.isError(e))).sort((0,f.ascendingSort)()).value()};p(o),u();const h=k(n,{childList:!0,attributes:!0},(e=>{const{attributes:t=[],childList:i=[]}=lodash.groupBy(e,"type");i.length&&u(),d.next({attributes:t,childList:i})})),b=k(o,{childList:!0,subtree:!0},(e=>{e.forEach((e=>{const[t]=e.addedNodes;p(t)}))}));return{containerElement:t,videoElement:i,nameBtnElement:o,menuListElement:n,query:e=>(0,m.des)(`./*[(${function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"or";return e.split(",").map(E).flat().map((e=>`contains(@class, "${e}")`)).join(` ${t} `)}($.custom.speedMenuItem.selector)}) and normalize-space()="${A(e)}"]`,n),dispose:()=>{h.disconnect(),b.disconnect()},activeVideoSpeed$:c,menuListElementMutations$:d,getActiveVideoSpeed:()=>r,getOldActiveVideoSpeed:()=>s,getAvailableSpeedValues:()=>a}},j=e=>{const{videoElement:t,menuListElement:i}=e,o=d(i,"click").pipe((n=e=>{const{innerText:t,innerHTML:i}=e.target,o=t.trim()||i.trim();return lodash.attempt((()=>V(o)))},e=>{let{subscribe:t,next:i}=e;t((e=>{i(n(e))}))}),x((e=>!lodash.isError(e))));var n;const r=l((e=>{let{next:i}=e,o=t;do{o=Object.getPrototypeOf(o)}while(null===o||!Object.prototype.hasOwnProperty.call(o,"playbackRate"));const n=Object.getOwnPropertyDescriptor(o,"playbackRate");return Object.defineProperty(o,"playbackRate",{set(e){n.set.call(this,e),i(e)}}),()=>{Object.defineProperty(o,"playbackRate",n)}})),s=o.pipe((e=>{let t,{subscribe:i,next:o}=e,n=!0;i((e=>{(n||t!==e)&&(n=!1,t=e,o(e))}))})),a=r.pipe((e=>{let t,{subscribe:i,next:o}=e,n=!0;i((e=>{(n||t!==e)&&(n=!1,t=e,o(e))}))})),c=l((e=>{let{next:t}=e;const i=g(s,a);return i.subscribe((e=>{let[i,o]=e;i===o&&t(o)})),()=>i.complete()})).pipe((e=>{let t,{subscribe:i,next:o}=e,n=!0;i((e=>{(n||t!==e)&&(n=!1,t=e,o(e))}))}));let p;a.pipe(y(200),S(void 0),(e=>{let{subscribe:t,next:i}=e;const o=[];return t((e=>{2===o.length&&o.shift(),o.push(e),2===o.length&&i(o.slice())})),()=>{o.length=0}})).subscribe((e=>{let[t]=e;p=t}));const u={menuListElementClickSpeed$:o,menuListElementClickSpeedChange$:s,playbackRate$:r,playbackRateChange$:a,videoSpeedChange$:c};return{...e,...u,dispose:()=>{lodash.values(u).forEach((e=>{e.complete()})),e.dispose()},getOldPlaybackRate:()=>p}},[T]=R("speed.NoSuchSpeedMenuItemElementError",(()=>class extends Error{constructor(e){const t=lodash.attempt((()=>A(e))),i=lodash.isError(t)?String(e):String(t);super(`There is no such speed menu item as ${i}`),this.speed=e,C(this,"formattedSpeed",void 0),this.formattedSpeed=i}})),L=e=>{const{query:t,videoElement:i,videoSpeedChange$:o,getOldActiveVideoSpeed:n,getAvailableSpeedValues:r,getActiveVideoSpeed:s}=e,a=async function(e){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:200;const r=t(e);if(null==r)throw new T(e);r.click();const s=t=>{if((t??i.playbackRate)!==e)throw new Error(`failed to set ${A(e)} video speed.`)},a=[p(o.pipe(y(Math.max(0,n||0))))];n>0&&a.push(new Promise(((e,t)=>setTimeout((()=>setTimeout(t,n)))))),await Promise.all(a).then(s).catch(s)},l=async()=>{await a(1)},d=async(e,t)=>{if(lodash.isNil(e)&&(e=!1),"boolean"==typeof e)e||1===i.playbackRate?await a(n()):await l();else{const i=r();switch(t){case O.MIN:await a(i[e]);break;case O.MAX:await a(i[i.length-1+e]);break;case O.CURRENT:default:{const t=i.indexOf(s());if(-1===t)throw new Error("Unexpected Error: The available speed values do not include the active speed value, this should be a bug, please report the issue on github!");await a(i[t+e])}}}},c=async e=>{try{await d(e,O.CURRENT)}catch(e){if(console.warn(e),!(e instanceof T))throw e}};return Object.assign(e,{set:a,force:async e=>{i.playbackRate=e},reset:l,toggle:d,step:c,increase:async()=>{await c(1)},decrease:async()=>{await c(-1)}})},M=()=>R("speed.speedContext"),P=()=>R("speed.buildArguments$",(()=>{return l().pipe((e=e=>e.settings.enabled,t=>{let{subscribe:i,next:o}=t;const n=new Set;return i((t=>{const i=n.size;e(t)?n.add(t):n.delete(t),n.size!==i&&o([...n])})),()=>{n.clear()}}));var e})),I=async function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:lodash.identity;const[t,i]=M();if(t)return t;let o,n;const[r]=R("lifeCycleComponentLoaded$",(()=>d(unsafeWindow,h.LifeCycleEventTypes.ComponentsLoaded))),[s]=P(),[a]=R("speed.videoChange$",(()=>c(b.videoChange).pipe(x((e=>{let{aid:t,cid:i}=e;return t||i}))))),[u]=R("speed.speedContext$",(()=>l((t=>{let{next:i}=t;return g(a,function(){for(var e=arguments.length,t=new Array(e),i=0;i{let{next:i,complete:o}=e;const n=[...t],r=()=>{const e=n.shift();e||o(),e.subscribe({next:i,complete:()=>{r()}})};r()}))}(function(){for(var e=arguments.length,t=new Array(e),i=0;i{let{next:i,complete:o}=e;t.forEach((e=>{i(e)})),o()}))}([]),s),r).subscribe((t=>{let[r,s]=t;const[l]=M();l?.dispose(),n?.("context update");const d=new Promise(((e,t)=>{o=e,n=t}));Promise.all([Promise.all([$.custom.speedContainer(),$.query.video.element()]).then(o),d]).then((e=>{let[,t]=e;return t})).then(N).then(j).then(L).then((e=>Object.assign(e,{videoIdObject:r,speedContext$:u,videoChange$:a}))).then(e(s)).then(i).catch((e=>console.error(e)))}))}))));return u.subscribe(i),p(u)};function q(e,t,i){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var i=e[Symbol.toPrimitive];if(void 0!==i){var o=i.call(e,t||"default");if("object"!=typeof o)return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}class G{constructor(e,t){this.entryContext=e,this.enabled$=t,q(this,"speedContext",void 0),q(this,"settings",void 0),q(this,"coreApis",void 0),q(this,"metadata",void 0),q(this,"options",void 0),q(this,"getVideoIdObject",void 0),q(this,"getAvailableSpeedValues",void 0),q(this,"getOldActiveVideoSpeed",void 0),q(this,"forceVideoSpeed",void 0),q(this,"getVideoSpeed",void 0),q(this,"setVideoSpeed",void 0),q(this,"resetVideoSpeed",void 0),q(this,"toggleVideoSpeed",void 0),q(this,"increaseVideoSpeed",void 0),q(this,"decreaseVideoSpeed",void 0),lodash.assign(this,e,{options:e.settings.options}),this.migrate?.(),lodash.assign(this,lodash.mapValues(G.contextMap,(e=>async function(){const t=await I(),i=lodash.get(t,e);return lodash.isFunction(i)?await i(...arguments):i})))}}q(G,"create",void 0),q(G,"contextMap",{getVideoIdObject:"videoIdObject",getAvailableSpeedValues:"getAvailableSpeedValues",getOldActiveVideoSpeed:"getOldActiveVideoSpeed",getVideoSpeed:"videoElement.playbackRate",setVideoSpeed:"set",forceVideoSpeed:"force",resetVideoSpeed:"reset",toggleVideoSpeed:"toggle",increaseVideoSpeed:"increase",decreaseVideoSpeed:"decrease"}),I((e=>t=>{const i=lodash.omit(t,"dispose"),o=e.map((e=>e.getSpeedContextMixin(i)));if(o.length>1){const e=lodash.intersection(...o.map(Object.keys));if(e.length)throw new Error(`In the registered speed component, there is an implementation of getSpeedContextMixin that causes the speed context to be mixed in ambiguous.\nThe repeated key names are ${e.join(", ")}`)}lodash.assign(i,...o);const r=[];return e.forEach((e=>{const t=lodash(e.settings.options).mapValues(((t,i)=>c(n.addComponentListener,`${e.metadata.name}.${i}`).pipe((e=>{let t,{subscribe:i,next:o}=e,n=!0;i((e=>{(n||t!==e)&&(n=!1,t=e,o(e))}))})))).mapKeys(((e,t)=>`${t}$`)).value();r.push(...lodash.values(t)),e.options=new Proxy(e.settings.options,{get:(e,i,o)=>lodash.isSymbol(i)?Reflect.get(e,i,o):!Reflect.has(e,i)&&i.endsWith("$")?t[i]:Reflect.get(e,i,o)}),e.speedContext=i,e.onSpeedContext(i),e.settings.enabled&&lodash(t).entries().forEach((t=>{let[i,o]=t;o.next(e.settings.options[i.slice(0,-1)])}))})),{...i,dispose:()=>{r.forEach((e=>e.complete())),t.dispose()}}})),G.create=function(e){const t=l().pipe((e=>{let t,{subscribe:i,next:o}=e,n=!0;i((e=>{(n||t!==e)&&(n=!1,t=e,o(e))}))}));return{...e,entry:i=>{const o=lodash.attempt((()=>new this(i,t)));if(o instanceof Error)return(0,r.logError)(o),null;const[n]=P();return t.subscribe((()=>{n.next(o)})),t.next(!0),(0,s.getHook)(`speed.component.${e.name}`).after(o),o},reload:()=>t.next(!0),unload:()=>t.next(!1)}};const D=coreApis.toast;function U(e,t,i){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var i=e[Symbol.toPrimitive];if(void 0!==i){var o=i.call(e,t||"default");if("object"!=typeof o)return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}class B extends G{getSpeedContextMixin(e){var t=this;let{videoIdObject:i,set:o,reset:n,toggle:r,getActiveVideoSpeed:s,getOldActiveVideoSpeed:a}=e;const l=async()=>{const e=this.getRestoredVideoSpeed(i);await o(e??1)};return{reset:l,toggle:async function(){for(var e=arguments.length,i=new Array(e),d=0;d{e&&(this.options.fixGlobalSpeed=!0)})),this.options.fixGlobalSpeed$.subscribe((e=>{e||(this.options.individualRemember=!1)}));const o=this.getRestoredVideoSpeed(i);o&&requestIdleCallback((async()=>{try{if(await this.setVideoSpeed(o,1e3),this.options.showRestoreTip){let e=`已还原到 ${A(o)} 倍速`;this.options.individualRemember&&null!=this.matchRememberSpeed()&&(e=`【独立倍速视频】${e}`),D.Toast.info(e,this.metadata.displayName,3e3)}}catch(e){const t=`${this.metadata.displayName} - 倍速还原操作失败`,i=e instanceof T?`没有 ${e.formattedSpeed} 这样的倍速项`:String(e);D.Toast.error(i,t,5e3),console.error(e)}})),t.subscribe((e=>{this.settings.enabled&&(this.options.individualRemember?e!==+this.options.globalSpeed&&this.rememberSpeed(e):this.options.fixGlobalSpeed||this.rememberSpeed(e,null))}))}getRestoredVideoSpeed(e){return this.options.individualRemember&&this.matchRememberSpeed(e.aid)||this.readGlobalVideoSpeed()}readGlobalVideoSpeed(){return parseFloat(String(this.options.globalSpeed))}matchRememberSpeed(e){for(const[t,i]of Object.entries(this.options.individualRememberRecord))if(i.some((t=>t.toString()===B.getAid(e).toString())))return parseFloat(t);return null}rememberSpeed(e,t){if(lodash.isNull(t))return void(this.options.globalSpeed=e);lodash.isUndefined(t)&&(t=B.getAid(t));const i=lodash.castArray(t);this.forgetSpeed(i),this.options.individualRememberRecord={...this.options.individualRememberRecord,[e]:lodash.unionWith(this.options.individualRememberRecord[e],i,B.aidComparator)}}forgetSpeed(e){lodash.isNil(e)&&(e=B.getAid(e));const t=lodash.castArray(e);this.options.individualRememberRecord=lodash(this.options.individualRememberRecord).mapValues((e=>lodash(e).pullAllWith(t,B.aidComparator).uniqWith(B.aidComparator).value())).pickBy((e=>e.length)).value()}}U(B,"getAid",(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:unsafeWindow.aid;if(!e)throw new Error("aid is unknown");return e})),U(B,"aidComparator",((e,t)=>e.toString()===t.toString()));const W=B.create({name:"rememberVideoSpeed",displayName:"记忆倍速",author:{name:"JLoeve",link:"https://github.com/LonelySteve"},description:{"zh-CN":`\n\n> 提高视频播放器的倍速记忆体验,可实现跨页共享倍速,也可以按视频分别记忆倍速.\n\n#### 🔧 **选项**\n\n- \`全局记忆倍速值\`:默认情况下,这是跨页共享的倍速值,如果启用「各视频分别记忆」,则作为从未独立记忆倍速视频的初始倍速值.\n- \`固定全局倍速值\`:默认情况下,全局倍速值将随着用户改变视频倍速而改变,打开此选项后,全局记忆倍速值不再受倍速调整的影响.\n- \`各视频分别记忆\`:打开此选项后,将按不同视频分别记忆倍速,对于从未被记忆过倍速的视频,将采用全局记忆倍速值,选项「固定全局倍速值」在此情况下强制生效.\n- \`弹出还原倍速提示\`:打开此选项后,每次成功还原倍速后都会弹出提示.\n\n#### 🌈 **温馨提示**\n\n「扩展倍速」和倍速相关的快捷键插件已分离为单独的组件或插件.\n\n请根据自身需要:\n\n- 前往「组件」页面安装[「扩展倍速」](${i.meta.compilationInfo.altCdn.root}registry/dist/components/video/player/extend-speed.js)组件\n- 前往「插件」页面安装[「快捷键扩展 - 视频倍速」](${i.meta.compilationInfo.altCdn.root}registry/dist/plugins/video/player/speed.js)插件.\n\n*如果想要清除当前视频的记忆状态,需要安装「快捷键扩展 - 视频倍速」插件.*\n`},tags:[componentsTags.video],urlInclude:o.playerUrls,options:{globalSpeed:{displayName:"全局记忆倍速值",defaultValue:1,validator:e=>lodash.clamp(parseFloat(e),.0625,16)||1},fixGlobalSpeed:{displayName:"固定全局倍速值",defaultValue:!1},individualRemember:{displayName:"各视频分别记忆",defaultValue:!1},individualRememberRecord:{displayName:"独立记忆倍速记录",defaultValue:{},hidden:!0},showRestoreTip:{displayName:"弹出还原倍速提示",defaultValue:!0}},commitHash:"58c0b438ca2371e397f70466a91572cb2757b142",coreVersion:"2.10.7"});return t=t.component})())); +!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["video/player/remember-speed"]=t():e["video/player/remember-speed"]=t()}(globalThis,(()=>(()=>{"use strict";var e={d:(t,i)=>{for(var o in i)e.o(i,o)&&!e.o(t,o)&&Object.defineProperty(t,o,{enumerable:!0,get:i[o]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t)},t={};e.d(t,{component:()=>W});const i=coreApis.meta,o=coreApis.utils.urls,n=coreApis.settings,r=coreApis.utils.log,s=coreApis.pluginApis.hook,a=e=>"function"==typeof e?{next:e}:e,l=e=>function e(t){let i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0,r=!1;const s=[],l=[];let d=!1;const c=()=>{for(;s.length;)s.pop()();l.length=0,d=!0},p=e=>{d||(l.forEach((t=>{t.error?.(e),(0,n.getGeneralSettings)().devMode&&console.error(e)})),c())},u=e=>{d||l.forEach((t=>{try{t.next(e)}catch(e){p(e)}}))},h=()=>{l.forEach((e=>{e.complete?.()})),c()},b=()=>{if(r)return;const e=t?.({next:u,error:p,complete:h});e&&s.push(e),r=!0},m=e=>null==e?null:(l.push(e),()=>{lodash.pull(l,e)}),f=function(){for(var t=arguments.length,i=new Array(t),n=0;n{const t=m(a(e));return(o?.connect??b)(),t},pipe:f,next:u,error:p,complete:h,...o}:e(i[0],{subscribe:m},o||{connect:b,next:u}).pipe(...i.slice(1))};if(i){const e=t?.({subscribe:e=>i.subscribe({error:p,complete:h,...a(e)}),next:u,error:p,complete:h});e&&s.push(e)}return f()}(e),d=(e,t)=>l((i=>{let{next:o}=i;return e.addEventListener(t,o),()=>e.removeEventListener(t,o)})),c=function(e){for(var t=arguments.length,i=new Array(t>1?t-1:0),o=1;o{let{next:o}=t;e(...i,o)}))},p=e=>new Promise(((t,i)=>{const o=e.subscribe({next:e=>{t(e),o()},error:()=>{i(),o()},complete:()=>{i(),o()}})})),u=coreApis.componentApis.video.playerAgent,h=coreApis.lifeCycle,b=coreApis.observer,m=coreApis.utils,f=coreApis.utils.sort,v=e=>function(){for(var t=arguments.length,i=new Array(t),o=0;oe(...i)))},g=function(){for(var e=arguments.length,t=new Array(e),i=0;i{let{next:i,error:o,complete:n}=e;return(e=>{const t=new Set;return e((e=>{lodash.castArray(e).forEach((e=>{t.add(e)}))})),()=>{t.forEach((e=>{e()}))}})((e=>{const r=[];let s=0;e(t.map(((e,a)=>{return e.pipe((l=v,e=>{let{subscribe:t,next:i,complete:o,error:n}=e;t(lodash.mapValues({next:i,complete:o,error:n},(e=>l(e))))})).subscribe({next:e=>{r[a]=e,r.reduce((e=>e+1),0)===t.length&&i(r.slice())},complete:()=>{s++,s===t.length&&n()},error:o});var l}))),e((()=>{r.length=0,s=0}))}))}))},y=e=>t=>{let{subscribe:i,next:o,error:n}=t;i(lodash.debounce((e=>{try{o(e)}catch(e){n(e)}}),e))},x=e=>t=>{let{subscribe:i,next:o}=t;i((t=>{e(t)&&o(t)}))},S=function(){for(var e=arguments.length,t=new Array(e),i=0;i{let{next:i,subscribe:o}=e,n=!1;o((e=>{n||t.forEach((e=>i(e))),i(e),n=!0}))}},w=coreApis.pluginApis.data,E=e=>e.split(",").map((e=>e.trim().replace(/^\./,""))).join(","),R=(e,t)=>{const i=t=>{(0,w.registerAndGetData)(e,t)[0]=t},o=(0,w.getData)(e);if(o.length)return[o[0],i];if(t){const e=t();return i(e),[e,i]}return[void 0,i]},A=function(e){return arguments.length>1&&void 0!==arguments[1]&&arguments[1]&&1===e?"倍速":Math.trunc(e)===e?`${e}.0x`:`${e}x`},V=e=>{if("倍速"===e)return 1;const t=/([0-9]*[.]?[0-9]+)x/.exec(e);if(t)return parseFloat(t[1]);throw new Error(`unknown speed text: ${e}`)};function C(e,t,i){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var i=e[Symbol.toPrimitive];if(void 0!==i){var o=i.call(e,t||"default");if("object"!=typeof o)return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}const $=u.playerAgent.provideCustomQuery({video:{speedMenuList:".bilibili-player-video-btn-speed-menu, .bpx-player-ctrl-playbackrate-menu",speedMenuItem:".bilibili-player-video-btn-speed-menu-list, .bpx-player-ctrl-playbackrate-menu-item",speedNameBtn:".bilibili-player-video-btn-speed-name, .bpx-player-ctrl-playbackrate-result",speedContainer:".bilibili-player-video-btn-speed, .bpx-player-ctrl-playbackrate",active:".bilibili-player-active, .bpx-state-active",show:".bilibili-player-speed-show, .bpx-state-show"},bangumi:{speedMenuList:".squirtle-speed-select-list, .bpx-player-ctrl-playbackrate-menu",speedMenuItem:".squirtle-select-item, .bpx-player-ctrl-playbackrate-menu-item",speedNameBtn:".squirtle-speed-select-result, .bpx-player-ctrl-playbackrate-result",speedContainer:".squirtle-speed-wrap, .bpx-player-ctrl-playbackrate",active:".active, .bpx-state-active",show:".bilibili-player-speed-show, .bpx-state-show"}});let O=function(e){return e[e.MIN=0]="MIN",e[e.CURRENT=1]="CURRENT",e[e.MAX=2]="MAX",e}({});const k=(e,t,i)=>{const o=new MutationObserver(i);return o.observe(e,t),o},N=e=>{let[t,i]=e;if(!t)throw new Error("speed container element not found!");if(!i)throw new Error("video element not found!");const o=t.querySelector($.custom.speedNameBtn.selector),n=t.querySelector($.custom.speedMenuList.selector);let r,s,a;const d=l(),c=l().pipe((e=>{let t,{subscribe:i,next:o}=e,n=!0;i((e=>{(n||t!==e)&&(n=!1,t=e,o(e))}))}));c.pipe(S(void 0),(e=>{let{subscribe:t,next:i}=e;const o=[];return t((e=>{2===o.length&&o.shift(),o.push(e),2===o.length&&i(o.slice())})),()=>{o.length=0}})).subscribe((e=>{let[t,i]=e;s=t,r=i}));const p=e=>{if(e)switch(e.nodeType){case Node.TEXT_NODE:c.next(V(e.data));break;case Node.ELEMENT_NODE:c.next(V(e.innerHTML));break;default:console.warn("The target parameter of updateActiveVideoSpeed must be a Node, and the node type must be one of TEXT_NODE and ELEMENT_NODE")}},u=()=>{a=lodash([...n.children]).map((e=>lodash.attempt((()=>V(e.textContent))))).reject((e=>lodash.isError(e))).sort((0,f.ascendingSort)()).value()};p(o),u();const h=k(n,{childList:!0,attributes:!0},(e=>{const{attributes:t=[],childList:i=[]}=lodash.groupBy(e,"type");i.length&&u(),d.next({attributes:t,childList:i})})),b=k(o,{childList:!0,subtree:!0},(e=>{e.forEach((e=>{const[t]=e.addedNodes;p(t)}))}));return{containerElement:t,videoElement:i,nameBtnElement:o,menuListElement:n,query:e=>(0,m.des)(`./*[(${function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"or";return e.split(",").map(E).flat().map((e=>`contains(@class, "${e}")`)).join(` ${t} `)}($.custom.speedMenuItem.selector)}) and normalize-space()="${A(e)}"]`,n),dispose:()=>{h.disconnect(),b.disconnect()},activeVideoSpeed$:c,menuListElementMutations$:d,getActiveVideoSpeed:()=>r,getOldActiveVideoSpeed:()=>s,getAvailableSpeedValues:()=>a}},j=e=>{const{videoElement:t,menuListElement:i}=e,o=d(i,"click").pipe((n=e=>{const{innerText:t,innerHTML:i}=e.target,o=t.trim()||i.trim();return lodash.attempt((()=>V(o)))},e=>{let{subscribe:t,next:i}=e;t((e=>{i(n(e))}))}),x((e=>!lodash.isError(e))));var n;const r=l((e=>{let{next:i}=e,o=t;do{o=Object.getPrototypeOf(o)}while(null===o||!Object.prototype.hasOwnProperty.call(o,"playbackRate"));const n=Object.getOwnPropertyDescriptor(o,"playbackRate");return Object.defineProperty(o,"playbackRate",{set(e){n.set.call(this,e),i(e)}}),()=>{Object.defineProperty(o,"playbackRate",n)}})),s=o.pipe((e=>{let t,{subscribe:i,next:o}=e,n=!0;i((e=>{(n||t!==e)&&(n=!1,t=e,o(e))}))})),a=r.pipe((e=>{let t,{subscribe:i,next:o}=e,n=!0;i((e=>{(n||t!==e)&&(n=!1,t=e,o(e))}))})),c=l((e=>{let{next:t}=e;const i=g(s,a);return i.subscribe((e=>{let[i,o]=e;i===o&&t(o)})),()=>i.complete()})).pipe((e=>{let t,{subscribe:i,next:o}=e,n=!0;i((e=>{(n||t!==e)&&(n=!1,t=e,o(e))}))}));let p;a.pipe(y(200),S(void 0),(e=>{let{subscribe:t,next:i}=e;const o=[];return t((e=>{2===o.length&&o.shift(),o.push(e),2===o.length&&i(o.slice())})),()=>{o.length=0}})).subscribe((e=>{let[t]=e;p=t}));const u={menuListElementClickSpeed$:o,menuListElementClickSpeedChange$:s,playbackRate$:r,playbackRateChange$:a,videoSpeedChange$:c};return{...e,...u,dispose:()=>{lodash.values(u).forEach((e=>{e.complete()})),e.dispose()},getOldPlaybackRate:()=>p}},[T]=R("speed.NoSuchSpeedMenuItemElementError",(()=>class extends Error{constructor(e){const t=lodash.attempt((()=>A(e))),i=lodash.isError(t)?String(e):String(t);super(`There is no such speed menu item as ${i}`),this.speed=e,C(this,"formattedSpeed",void 0),this.formattedSpeed=i}})),L=e=>{const{query:t,videoElement:i,videoSpeedChange$:o,getOldActiveVideoSpeed:n,getAvailableSpeedValues:r,getActiveVideoSpeed:s}=e,a=async function(e){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:200;const r=t(e);if(null==r)throw new T(e);r.click();const s=t=>{if((t??i.playbackRate)!==e)throw new Error(`failed to set ${A(e)} video speed.`)},a=[p(o.pipe(y(Math.max(0,n||0))))];n>0&&a.push(new Promise(((e,t)=>setTimeout((()=>setTimeout(t,n)))))),await Promise.all(a).then(s).catch(s)},l=async()=>{await a(1)},d=async(e,t)=>{if(lodash.isNil(e)&&(e=!1),"boolean"==typeof e)e||1===i.playbackRate?await a(n()):await l();else{const i=r();switch(t){case O.MIN:await a(i[e]);break;case O.MAX:await a(i[i.length-1+e]);break;case O.CURRENT:default:{const t=i.indexOf(s());if(-1===t)throw new Error("Unexpected Error: The available speed values do not include the active speed value, this should be a bug, please report the issue on github!");await a(i[t+e])}}}},c=async e=>{try{await d(e,O.CURRENT)}catch(e){if(console.warn(e),!(e instanceof T))throw e}};return Object.assign(e,{set:a,force:async e=>{i.playbackRate=e},reset:l,toggle:d,step:c,increase:async()=>{await c(1)},decrease:async()=>{await c(-1)}})},M=()=>R("speed.speedContext"),P=()=>R("speed.buildArguments$",(()=>{return l().pipe((e=e=>e.settings.enabled,t=>{let{subscribe:i,next:o}=t;const n=new Set;return i((t=>{const i=n.size;e(t)?n.add(t):n.delete(t),n.size!==i&&o([...n])})),()=>{n.clear()}}));var e})),I=async function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:lodash.identity;const[t,i]=M();if(t)return t;let o,n;const[r]=R("lifeCycleComponentLoaded$",(()=>d(unsafeWindow,h.LifeCycleEventTypes.ComponentsLoaded))),[s]=P(),[a]=R("speed.videoChange$",(()=>c(b.videoChange).pipe(x((e=>{let{aid:t,cid:i}=e;return t||i}))))),[u]=R("speed.speedContext$",(()=>l((t=>{let{next:i}=t;return g(a,function(){for(var e=arguments.length,t=new Array(e),i=0;i{let{next:i,complete:o}=e;const n=[...t],r=()=>{const e=n.shift();e||o(),e.subscribe({next:i,complete:()=>{r()}})};r()}))}(function(){for(var e=arguments.length,t=new Array(e),i=0;i{let{next:i,complete:o}=e;t.forEach((e=>{i(e)})),o()}))}([]),s),r).subscribe((t=>{let[r,s]=t;const[l]=M();l?.dispose(),n?.("context update");const d=new Promise(((e,t)=>{o=e,n=t}));Promise.all([Promise.all([$.custom.speedContainer(),$.query.video.element()]).then(o),d]).then((e=>{let[,t]=e;return t})).then(N).then(j).then(L).then((e=>Object.assign(e,{videoIdObject:r,speedContext$:u,videoChange$:a}))).then(e(s)).then(i).catch((e=>console.error(e)))}))}))));return u.subscribe(i),p(u)};function q(e,t,i){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var i=e[Symbol.toPrimitive];if(void 0!==i){var o=i.call(e,t||"default");if("object"!=typeof o)return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}class G{constructor(e,t){this.entryContext=e,this.enabled$=t,q(this,"speedContext",void 0),q(this,"settings",void 0),q(this,"coreApis",void 0),q(this,"metadata",void 0),q(this,"options",void 0),q(this,"getVideoIdObject",void 0),q(this,"getAvailableSpeedValues",void 0),q(this,"getOldActiveVideoSpeed",void 0),q(this,"forceVideoSpeed",void 0),q(this,"getVideoSpeed",void 0),q(this,"setVideoSpeed",void 0),q(this,"resetVideoSpeed",void 0),q(this,"toggleVideoSpeed",void 0),q(this,"increaseVideoSpeed",void 0),q(this,"decreaseVideoSpeed",void 0),lodash.assign(this,e,{options:e.settings.options}),this.migrate?.(),lodash.assign(this,lodash.mapValues(G.contextMap,(e=>async function(){const t=await I(),i=lodash.get(t,e);return lodash.isFunction(i)?await i(...arguments):i})))}}q(G,"create",void 0),q(G,"contextMap",{getVideoIdObject:"videoIdObject",getAvailableSpeedValues:"getAvailableSpeedValues",getOldActiveVideoSpeed:"getOldActiveVideoSpeed",getVideoSpeed:"videoElement.playbackRate",setVideoSpeed:"set",forceVideoSpeed:"force",resetVideoSpeed:"reset",toggleVideoSpeed:"toggle",increaseVideoSpeed:"increase",decreaseVideoSpeed:"decrease"}),I((e=>t=>{const i=lodash.omit(t,"dispose"),o=e.map((e=>e.getSpeedContextMixin(i)));if(o.length>1){const e=lodash.intersection(...o.map(Object.keys));if(e.length)throw new Error(`In the registered speed component, there is an implementation of getSpeedContextMixin that causes the speed context to be mixed in ambiguous.\nThe repeated key names are ${e.join(", ")}`)}lodash.assign(i,...o);const r=[];return e.forEach((e=>{const t=lodash(e.settings.options).mapValues(((t,i)=>c(n.addComponentListener,`${e.metadata.name}.${i}`).pipe((e=>{let t,{subscribe:i,next:o}=e,n=!0;i((e=>{(n||t!==e)&&(n=!1,t=e,o(e))}))})))).mapKeys(((e,t)=>`${t}$`)).value();r.push(...lodash.values(t)),e.options=new Proxy(e.settings.options,{get:(e,i,o)=>lodash.isSymbol(i)?Reflect.get(e,i,o):!Reflect.has(e,i)&&i.endsWith("$")?t[i]:Reflect.get(e,i,o)}),e.speedContext=i,e.onSpeedContext(i),e.settings.enabled&&lodash(t).entries().forEach((t=>{let[i,o]=t;o.next(e.settings.options[i.slice(0,-1)])}))})),{...i,dispose:()=>{r.forEach((e=>e.complete())),t.dispose()}}})),G.create=function(e){const t=l().pipe((e=>{let t,{subscribe:i,next:o}=e,n=!0;i((e=>{(n||t!==e)&&(n=!1,t=e,o(e))}))}));return{...e,entry:i=>{const o=lodash.attempt((()=>new this(i,t)));if(o instanceof Error)return(0,r.logError)(o),null;const[n]=P();return t.subscribe((()=>{n.next(o)})),t.next(!0),(0,s.getHook)(`speed.component.${e.name}`).after(o),o},reload:()=>t.next(!0),unload:()=>t.next(!1)}};const D=coreApis.toast;function U(e,t,i){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var i=e[Symbol.toPrimitive];if(void 0!==i){var o=i.call(e,t||"default");if("object"!=typeof o)return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}class B extends G{getSpeedContextMixin(e){var t=this;let{videoIdObject:i,set:o,reset:n,toggle:r,getActiveVideoSpeed:s,getOldActiveVideoSpeed:a}=e;const l=async()=>{const e=this.getRestoredVideoSpeed(i);await o(e??1)};return{reset:l,toggle:async function(){for(var e=arguments.length,i=new Array(e),d=0;d{e&&(this.options.fixGlobalSpeed=!0)})),this.options.fixGlobalSpeed$.subscribe((e=>{e||(this.options.individualRemember=!1)}));const o=this.getRestoredVideoSpeed(i);o&&requestIdleCallback((async()=>{try{if(await this.setVideoSpeed(o,1e3),this.options.showRestoreTip){let e=`已还原到 ${A(o)} 倍速`;this.options.individualRemember&&null!=this.matchRememberSpeed()&&(e=`【独立倍速视频】${e}`),D.Toast.info(e,this.metadata.displayName,3e3)}}catch(e){const t=`${this.metadata.displayName} - 倍速还原操作失败`,i=e instanceof T?`没有 ${e.formattedSpeed} 这样的倍速项`:String(e);D.Toast.error(i,t,5e3),console.error(e)}})),t.subscribe((e=>{this.settings.enabled&&(this.options.individualRemember?e!==+this.options.globalSpeed&&this.rememberSpeed(e):this.options.fixGlobalSpeed||this.rememberSpeed(e,null))}))}getRestoredVideoSpeed(e){return this.options.individualRemember&&this.matchRememberSpeed(e.aid)||this.readGlobalVideoSpeed()}readGlobalVideoSpeed(){return parseFloat(String(this.options.globalSpeed))}matchRememberSpeed(e){for(const[t,i]of Object.entries(this.options.individualRememberRecord))if(i.some((t=>t.toString()===B.getAid(e).toString())))return parseFloat(t);return null}rememberSpeed(e,t){if(lodash.isNull(t))return void(this.options.globalSpeed=e);lodash.isUndefined(t)&&(t=B.getAid(t));const i=lodash.castArray(t);this.forgetSpeed(i),this.options.individualRememberRecord={...this.options.individualRememberRecord,[e]:lodash.unionWith(this.options.individualRememberRecord[e],i,B.aidComparator)}}forgetSpeed(e){lodash.isNil(e)&&(e=B.getAid(e));const t=lodash.castArray(e);this.options.individualRememberRecord=lodash(this.options.individualRememberRecord).mapValues((e=>lodash(e).pullAllWith(t,B.aidComparator).uniqWith(B.aidComparator).value())).pickBy((e=>e.length)).value()}}U(B,"getAid",(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:unsafeWindow.aid;if(!e)throw new Error("aid is unknown");return e})),U(B,"aidComparator",((e,t)=>e.toString()===t.toString()));const W=B.create({name:"rememberVideoSpeed",displayName:"记忆倍速",author:{name:"JLoeve",link:"https://github.com/LonelySteve"},description:{"zh-CN":`\n\n> 提高视频播放器的倍速记忆体验,可实现跨页共享倍速,也可以按视频分别记忆倍速.\n\n#### 🔧 **选项**\n\n- \`全局记忆倍速值\`:默认情况下,这是跨页共享的倍速值,如果启用「各视频分别记忆」,则作为从未独立记忆倍速视频的初始倍速值.\n- \`固定全局倍速值\`:默认情况下,全局倍速值将随着用户改变视频倍速而改变,打开此选项后,全局记忆倍速值不再受倍速调整的影响.\n- \`各视频分别记忆\`:打开此选项后,将按不同视频分别记忆倍速,对于从未被记忆过倍速的视频,将采用全局记忆倍速值,选项「固定全局倍速值」在此情况下强制生效.\n- \`弹出还原倍速提示\`:打开此选项后,每次成功还原倍速后都会弹出提示.\n\n#### 🌈 **温馨提示**\n\n「扩展倍速」和倍速相关的快捷键插件已分离为单独的组件或插件.\n\n请根据自身需要:\n\n- 前往「组件」页面安装[「扩展倍速」](${i.meta.compilationInfo.altCdn.root}registry/dist/components/video/player/extend-speed.js)组件\n- 前往「插件」页面安装[「快捷键扩展 - 视频倍速」](${i.meta.compilationInfo.altCdn.root}registry/dist/plugins/video/player/speed.js)插件.\n\n*如果想要清除当前视频的记忆状态,需要安装「快捷键扩展 - 视频倍速」插件.*\n`},tags:[componentsTags.video],urlInclude:o.playerUrls,options:{globalSpeed:{displayName:"全局记忆倍速值",defaultValue:1,validator:e=>lodash.clamp(parseFloat(e),.0625,16)||1},fixGlobalSpeed:{displayName:"固定全局倍速值",defaultValue:!1},individualRemember:{displayName:"各视频分别记忆",defaultValue:!1},individualRememberRecord:{displayName:"独立记忆倍速记录",defaultValue:{},hidden:!0},showRestoreTip:{displayName:"弹出还原倍速提示",defaultValue:!0}},commitHash:"d87d69cfb9d7e0124bd90a06fec4569bd61e02c5",coreVersion:"2.10.7"});return t=t.component})())); //# sourceMappingURL=https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/registry/dist/components/video/player/remember-speed.js.map \ No newline at end of file diff --git a/bb-evolved/registry/dist/components/video/player/remove-popup.js b/bb-evolved/registry/dist/components/video/player/remove-popup.js index 073f34bc5b..94b644d1e9 100644 --- a/bb-evolved/registry/dist/components/video/player/remove-popup.js +++ b/bb-evolved/registry/dist/components/video/player/remove-popup.js @@ -8,5 +8,5 @@ e=[[null,e,""]]);var n={};if(r)for(var a=0;a{"use strict";function o(e,o){return function(e){if(Array.isArray(e))return e}(e)||function(e,o){var p=e&&("undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]);if(null==p)return;var r,n,a=[],i=!0,t=!1;try{for(p=p.call(e);!(i=(r=p.next()).done)&&(a.push(r.value),!o||a.length!==o);i=!0);}catch(e){t=!0,n=e}finally{try{i||null==p.return||p.return()}finally{if(t)throw n}}return a}(e,o)||function(e,o){if(!e)return;if("string"==typeof e)return p(e,o);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return p(e,o)}(e,o)||function(){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 p(e,o){(null==o||o>e.length)&&(o=e.length);for(var p=0,r=new Array(o);p{var r=p(484);r&&r.__esModule&&(r=r.default),e.exports="string"==typeof r?r:r.toString()},643:e=>{function o(e){var o=new Error("Cannot find module '"+e+"'");throw o.code="MODULE_NOT_FOUND",o}o.keys=()=>[],o.resolve=o,o.id=643,e.exports=o},756:e=>{"use strict";e.exports="删除视频播放器中出现的各种弹窗, 类别可在选项中分别选择. 如果之前点了收起弹窗, 则收起后的小弹窗则会直接删除. (不受类别选择影响)\n"}},r={};function n(e){var o=r[e];if(void 0!==o)return o.exports;var a=r[e]={id:e,exports:{}};return p[e](a,a.exports,n),a.exports}o=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,n.t=function(p,r){if(1&r&&(p=this(p)),8&r)return p;if("object"==typeof p&&p){if(4&r&&p.__esModule)return p;if(16&r&&"function"==typeof p.then)return p}var a=Object.create(null);n.r(a);var i={};e=e||[null,o({}),o([]),o(o)];for(var t=2&r&&p;"object"==typeof t&&!~e.indexOf(t);t=o(t))Object.getOwnPropertyNames(t).forEach((e=>i[e]=()=>p[e]));return i.default=()=>p,n.d(a,i),a},n.d=(e,o)=>{for(var p in o)n.o(o,p)&&!n.o(e,p)&&Object.defineProperty(e,p,{enumerable:!0,get:o[p]})},n.o=(e,o)=>Object.prototype.hasOwnProperty.call(e,o),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var a={};return(()=>{"use strict";n.d(a,{component:()=>i});const e=coreApis.componentApis.define,o=coreApis.settings,p=coreApis.utils.urls,r="removePlayerPopup",i=(0,e.defineComponentMetadata)({name:r,entry:e=>{let{settings:p,metadata:r}=e;const{options:n}=p,{kebabCase:a}=lodash;(0,o.addComponentListener)(r.name,(e=>{document.body.classList.toggle(a(r.name),e)}),!0),Object.keys(n).forEach((e=>{(0,o.addComponentListener)(`${r.name}.${e}`,(o=>{document.body.classList.toggle(`${a(r.name)}-${a(e)}`,o)}),!0)}))},instantStyles:[{name:r,style:()=>Promise.resolve().then(n.t.bind(n,442,23))}],displayName:"删除视频弹窗",tags:[componentsTags.video,componentsTags.style],urlInclude:p.playerUrls,options:{votes:{defaultValue:!1,displayName:"投票"},relatedVideos:{defaultValue:!0,displayName:"关联视频"},comboLikes:{defaultValue:!0,displayName:"关注/三连"},rates:{defaultValue:!0,displayName:"评分"},reservations:{defaultValue:!0,displayName:"预告"},promotions:{defaultValue:!0,displayName:"心动"}},commitHash:"58c0b438ca2371e397f70466a91572cb2757b142",coreVersion:"2.10.7",description:(()=>{const e=n(643);return{...Object.fromEntries(e.keys().map((o=>[o.match(/index\.(.+)\.md$/)[1],e(o)]))),"zh-CN":()=>Promise.resolve().then(n.t.bind(n,756,17)).then((e=>e.default))}})()})})(),a=a.component})())); +var a=btoa(unescape(encodeURIComponent(JSON.stringify(n)))),i="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(a),t="/*# ".concat(i," */"),l=n.sources.map((function(e){return"/*# sourceURL=".concat(n.sourceRoot||"").concat(e," */")}));return[r].concat(l).concat([t]).join("\n")}return[r].join("\n")}},442:(e,o,p)=>{var r=p(484);r&&r.__esModule&&(r=r.default),e.exports="string"==typeof r?r:r.toString()},643:e=>{function o(e){var o=new Error("Cannot find module '"+e+"'");throw o.code="MODULE_NOT_FOUND",o}o.keys=()=>[],o.resolve=o,o.id=643,e.exports=o},756:e=>{"use strict";e.exports="删除视频播放器中出现的各种弹窗, 类别可在选项中分别选择. 如果之前点了收起弹窗, 则收起后的小弹窗则会直接删除. (不受类别选择影响)\n"}},r={};function n(e){var o=r[e];if(void 0!==o)return o.exports;var a=r[e]={id:e,exports:{}};return p[e](a,a.exports,n),a.exports}o=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,n.t=function(p,r){if(1&r&&(p=this(p)),8&r)return p;if("object"==typeof p&&p){if(4&r&&p.__esModule)return p;if(16&r&&"function"==typeof p.then)return p}var a=Object.create(null);n.r(a);var i={};e=e||[null,o({}),o([]),o(o)];for(var t=2&r&&p;"object"==typeof t&&!~e.indexOf(t);t=o(t))Object.getOwnPropertyNames(t).forEach((e=>i[e]=()=>p[e]));return i.default=()=>p,n.d(a,i),a},n.d=(e,o)=>{for(var p in o)n.o(o,p)&&!n.o(e,p)&&Object.defineProperty(e,p,{enumerable:!0,get:o[p]})},n.o=(e,o)=>Object.prototype.hasOwnProperty.call(e,o),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var a={};return(()=>{"use strict";n.d(a,{component:()=>i});const e=coreApis.componentApis.define,o=coreApis.settings,p=coreApis.utils.urls,r="removePlayerPopup",i=(0,e.defineComponentMetadata)({name:r,entry:e=>{let{settings:p,metadata:r}=e;const{options:n}=p,{kebabCase:a}=lodash;(0,o.addComponentListener)(r.name,(e=>{document.body.classList.toggle(a(r.name),e)}),!0),Object.keys(n).forEach((e=>{(0,o.addComponentListener)(`${r.name}.${e}`,(o=>{document.body.classList.toggle(`${a(r.name)}-${a(e)}`,o)}),!0)}))},instantStyles:[{name:r,style:()=>Promise.resolve().then(n.t.bind(n,442,23))}],displayName:"删除视频弹窗",tags:[componentsTags.video,componentsTags.style],urlInclude:p.playerUrls,options:{votes:{defaultValue:!1,displayName:"投票"},relatedVideos:{defaultValue:!0,displayName:"关联视频"},comboLikes:{defaultValue:!0,displayName:"关注/三连"},rates:{defaultValue:!0,displayName:"评分"},reservations:{defaultValue:!0,displayName:"预告"},promotions:{defaultValue:!0,displayName:"心动"}},commitHash:"d87d69cfb9d7e0124bd90a06fec4569bd61e02c5",coreVersion:"2.10.7",description:(()=>{const e=n(643);return{...Object.fromEntries(e.keys().map((o=>[o.match(/index\.(.+)\.md$/)[1],e(o)]))),"zh-CN":()=>Promise.resolve().then(n.t.bind(n,756,17)).then((e=>e.default))}})()})})(),a=a.component})())); //# sourceMappingURL=https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/registry/dist/components/video/player/remove-popup.js.map \ No newline at end of file diff --git a/bb-evolved/registry/dist/components/video/player/screenshot.js b/bb-evolved/registry/dist/components/video/player/screenshot.js index 56180a321e..f951581389 100644 --- a/bb-evolved/registry/dist/components/video/player/screenshot.js +++ b/bb-evolved/registry/dist/components/video/player/screenshot.js @@ -11,5 +11,5 @@ var s=this[r][0];null!=s&&(i[s]=!0)}for(var a=0;a{"use strict";var o,i=function(){return void 0===o&&( // @see http://browserhacks.com/#hack-e71d8692f65334173fee715c222cb805 // @see https://github.com/webpack-contrib/style-loader/issues/177 -o=Boolean(window&&document&&document.all&&!window.atob)),o},r=function(){var e={};return function(n){if(void 0===e[n]){var t=document.querySelector(n);if(window.HTMLIFrameElement&&t instanceof window.HTMLIFrameElement)try{t=t.contentDocument.head}catch(e){t=null}e[n]=t}return e[n]}}(),s=[];function a(e){for(var n=-1,t=0;t{"use strict";e.exports=coreApis.componentApis.video.playerAgent},765:e=>{"use strict";e.exports=coreApis.utils.log}},o={};function i(e){var n=o[e];if(void 0!==n)return n.exports;var r=o[e]={id:e,exports:{}};return t[e](r,r.exports,i),r.exports}i.n=e=>{var n=e&&e.__esModule?()=>e.default:()=>e;return i.d(n,{a:n}),n},n=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,i.t=function(t,o){if(1&o&&(t=this(t)),8&o)return t;if("object"==typeof t&&t){if(4&o&&t.__esModule)return t;if(16&o&&"function"==typeof t.then)return t}var r=Object.create(null);i.r(r);var s={};e=e||[null,n({}),n([]),n(n)];for(var a=2&o&&t;"object"==typeof a&&!~e.indexOf(a);a=n(a))Object.getOwnPropertyNames(a).forEach((e=>s[e]=()=>t[e]));return s.default=()=>t,i.d(r,s),r},i.d=(e,n)=>{for(var t in n)i.o(n,t)&&!i.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:n[t]})},i.o=(e,n)=>Object.prototype.hasOwnProperty.call(e,n),i.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.nc=void 0;var r={};return(()=>{"use strict";i.d(r,{component:()=>T});const e=coreApis.componentApis.video.videoControlBar,n=coreApis.utils,t=coreApis.utils.urls;var o=i(241);const s=coreApis.utils.title;function a(e,n,t){return(n=function(e){var n=function(e,n){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var o=t.call(e,n||"default");if("object"!=typeof o)return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===n?String:Number)(e)}(e,"string");return"symbol"==typeof n?n:n+""}(n))in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}const c=document.createElement("canvas");class l{constructor(e,n){let t=arguments.length>2&&void 0!==arguments[2]&&arguments[2];this.video=e,this.videoTime=n,this.withDanmaku=t,a(this,"mimeType","image/png"),a(this,"url",""),a(this,"blob",void 0),a(this,"timeStamp",(new Date).getTime()),this.createUrl()}async createUrl(){const{logError:e}=await Promise.resolve().then(i.t.bind(i,765,23));if(this.withDanmaku){const e=dq(o.playerAgent.query.video.wrap.selector).getBoundingClientRect(),n=e.width/e.height;n>=this.video.videoWidth/this.video.videoHeight?(c.height=this.video.videoHeight,c.width=this.video.videoHeight*n):(c.width=this.video.videoWidth,c.height=this.video.videoWidth/n)}else c.width=this.video.videoWidth,c.height=this.video.videoHeight;const n=c.getContext("2d");if(null===n)return void e("视频截图失败: canvas 未创建或创建失败.");const t=(c.width-this.video.videoWidth)/2,r=(c.height-this.video.videoHeight)/2;if(n.drawImage(this.video,t,r),this.withDanmaku){const e=dq("canvas.bilibili-player-video-danmaku, canvas.dm-canvas");null!==e&&n.drawImage(e,0,0,c.width,c.height)}try{c.toBlob((n=>{null!==n?(this.blob=n,this.url=URL.createObjectURL(n)):e("视频截图失败: 创建 blob 失败.")}),this.mimeType)}catch(n){e("视频截图失败: 操作被浏览器阻止. 这通常发生于电影的试看片段, 请在正片尝试使用截图功能.")}}get filename(){return`${(0,s.getFriendlyTitle)()} @${this.time.replace(/:/g,"-")} ${this.timeStamp.toString()}.png`}get id(){return this.videoTime.toString()+this.timeStamp.toString()}get time(){const e=Math.trunc(this.videoTime/3600).toString(),n=Math.trunc(this.videoTime/60).toString(),t=(this.videoTime%60).toFixed(2);return"0"===e?`${n.padStart(2,"0")}:${t.padStart(5,"0")}`:`${e}:${n.padStart(2,"0")}:${t.padStart(5,"0")}`}revoke(){URL.revokeObjectURL(this.url)}}const d=coreApis.componentApis.define;var A=function(){var e=this,n=e._self._c;e._self._setupProxy;return n("div",{staticClass:"video-screenshot-container"},[n("transition-group",{staticClass:"video-screenshot-list",attrs:{name:"video-screenshot-list",tag:"div"}},e._l(e.screenshots,(function(t){return n("VideoScreenshot",{key:t.id,attrs:{screenshot:t},on:{discard:function(n){return e.discard(t)}}})})),1),e._v(" "),n("div",{directives:[{name:"show",rawName:"v-show",value:e.showBatch,expression:"showBatch"}],staticClass:"video-screenshot-batch"},[n("button",{on:{click:e.saveAll}},[n("VIcon",{attrs:{size:18,icon:"mdi-content-save"}}),e._v("全部保存")],1),e._v(" "),n("button",{on:{click:e.discardAll}},[n("VIcon",{attrs:{size:18,icon:"mdi-delete-forever"}}),e._v("全部丢弃\n ")],1)])],1)};A._withStripped=!0;const h=coreApis.download,u=coreApis.ui;var p=function(){var e=this,n=e._self._c;e._self._setupProxy;return n("div",{staticClass:"video-screenshot-thumbnail"},[e.objectUrl?n("img",{attrs:{src:e.objectUrl}}):e._e(),e._v(" "),e.objectUrl?n("div",{staticClass:"mask"},[n("a",{ref:"link",staticClass:"link",staticStyle:{display:"none"},attrs:{target:"_blank",href:e.objectUrl,download:e.filename}}),e._v(" "),n("button",{staticClass:"save",attrs:{title:"保存"},on:{click:e.save}},[n("VIcon",{attrs:{size:28,icon:"mdi-content-save-outline"}})],1),e._v(" "),n("button",{staticClass:"copy",attrs:{title:"复制"},on:{click:e.copy}},[n("VIcon",{attrs:{size:24,icon:e.showCopyTip?"mdi-check":"mdi-content-copy"}})],1),e._v(" "),n("button",{staticClass:"discard",attrs:{title:"丢弃"},on:{click:e.discard}},[n("VIcon",{attrs:{size:28,icon:"mdi-delete-forever-outline"}})],1),e._v(" "),n("span",{staticClass:"time"},[e._v(e._s(e.time))])]):n("div",{staticClass:"loading",on:{click:e.discard}})])};p._withStripped=!0;const v=Vue.extend({components:{VIcon:u.VIcon},props:{screenshot:{type:l,required:!0}},data:()=>({showCopyTip:!1}),computed:{objectUrl(){return this.screenshot.url},filename(){return this.screenshot.filename},time(){return this.screenshot.time}},methods:{discard(){this.$emit("discard")},async copy(){const e=this.screenshot;await navigator.clipboard.write([new ClipboardItem({[e.mimeType]:e.blob})]),this.showCopyTip=!0,setTimeout((()=>{this.showCopyTip=!1}),1e3)},save(){const e=this.$refs.link;e.addEventListener("click",(e=>{e.stopPropagation()}),{capture:!0,once:!0}),e.click(),this.discard()}}});var m=i(991),f=i.n(m),b=i(371),C=i.n(b),g={insert:"head",singleton:!1};f()(C(),g);C().locals;function E(e,n,t,o,i,r,s,a){var c,l="function"==typeof e?e.options:e;if(n&&(l.render=n,l.staticRenderFns=t,l._compiled=!0),o&&(l.functional=!0),r&&(l._scopeId="data-v-"+r),s?(c=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),i&&i.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(s)},l._ssrRegister=c):i&&(c=a?function(){i.call(this,(l.functional?this.parent:this).$root.$options.shadowRoot)}:i),c)if(l.functional){l._injectStyles=c;var d=l.render;l.render=function(e,n){return c.call(n),d(e,n)}}else{var A=l.beforeCreate;l.beforeCreate=A?[].concat(A,c):[c]}return{exports:e,options:l}}const y=E(v,p,[],!1,null,null,null).exports,B=Vue.extend({components:{VIcon:u.VIcon,VideoScreenshot:y},data:()=>({screenshots:[]}),computed:{showBatch(){return this.screenshots.length>=2}},methods:{discard(e){this.screenshots.splice(this.screenshots.indexOf(e),1),e.revoke()},async saveAll(){const e=new h.DownloadPackage;this.screenshots.forEach((n=>{e.add(n.filename,n.blob,{date:new Date(n.timeStamp)})})),await e.emit(`${(0,s.getFriendlyTitle)()}.zip`),this.discardAll()},discardAll(){this.screenshots.forEach((e=>e.revoke())),this.screenshots=[]}}});var w=i(494),x=i.n(w),k={insert:"head",singleton:!1};f()(x(),k);x().locals;const S=E(B,A,[],!1,null,null,null).exports,j="video-screenshot-disable";let _;const z=e=>{_?.screenshots.length>0&&e.preventDefault()},T=(0,d.defineComponentMetadata)({name:"videoScreenshot",displayName:"启用视频截图",tags:[componentsTags.video],entry:async()=>{(0,e.addControlBarButton)({name:"takeScreenshot",displayName:"截图",icon:"mdi-camera",order:0,action:async e=>{const{playerAgent:t}=await Promise.resolve().then(i.t.bind(i,241,23)),o=await t.query.video.element();if(o instanceof HTMLVideoElement){const t=function(e){let n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];const t=e.currentTime;return new l(e,t,n)}(o,e.shiftKey);_||(_=(0,n.mountVueComponent)(S),document.body.insertAdjacentElement("beforeend",_.$el)),_.screenshots.unshift(t)}else{const{logError:e}=await Promise.resolve().then(i.t.bind(i,765,23));e("视频截图失败: 无法定位视频元素, 请尝试右击视频两次后另存为图片, 或将播放策略改为 AV1 或 AVC.")}}}),window.addEventListener("beforeunload",z)},description:{"zh-CN":"启用视频快速截图, 将在播放器的时间右边增加一个截图按钮. 装有 `快捷键扩展` 时支持键盘快捷键Ctrl+Alt+C."},urlInclude:t.playerUrls,reload:()=>{document.body.classList.remove(j),window.addEventListener("beforeunload",z)},unload:()=>{document.body.classList.add(j),window.removeEventListener("beforeunload",z)},plugin:{displayName:"视频截图 - 快捷键支持",setup:e=>{let{addData:n}=e;n("keymap.actions",(e=>{e.takeScreenshot={displayName:"视频截图",run:e=>{const{clickElement:n}=e;return n('.be-video-control-bar-extend [data-name="takeScreenshot"]',e)}}})),n("keymap.presets",(e=>{e.takeScreenshot="ctrl [shift] alt c"}))}},commitHash:"58c0b438ca2371e397f70466a91572cb2757b142",coreVersion:"2.10.7"})})(),r=r.component})())); +o=Boolean(window&&document&&document.all&&!window.atob)),o},r=function(){var e={};return function(n){if(void 0===e[n]){var t=document.querySelector(n);if(window.HTMLIFrameElement&&t instanceof window.HTMLIFrameElement)try{t=t.contentDocument.head}catch(e){t=null}e[n]=t}return e[n]}}(),s=[];function a(e){for(var n=-1,t=0;t{"use strict";e.exports=coreApis.componentApis.video.playerAgent},765:e=>{"use strict";e.exports=coreApis.utils.log}},o={};function i(e){var n=o[e];if(void 0!==n)return n.exports;var r=o[e]={id:e,exports:{}};return t[e](r,r.exports,i),r.exports}i.n=e=>{var n=e&&e.__esModule?()=>e.default:()=>e;return i.d(n,{a:n}),n},n=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,i.t=function(t,o){if(1&o&&(t=this(t)),8&o)return t;if("object"==typeof t&&t){if(4&o&&t.__esModule)return t;if(16&o&&"function"==typeof t.then)return t}var r=Object.create(null);i.r(r);var s={};e=e||[null,n({}),n([]),n(n)];for(var a=2&o&&t;"object"==typeof a&&!~e.indexOf(a);a=n(a))Object.getOwnPropertyNames(a).forEach((e=>s[e]=()=>t[e]));return s.default=()=>t,i.d(r,s),r},i.d=(e,n)=>{for(var t in n)i.o(n,t)&&!i.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:n[t]})},i.o=(e,n)=>Object.prototype.hasOwnProperty.call(e,n),i.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.nc=void 0;var r={};return(()=>{"use strict";i.d(r,{component:()=>T});const e=coreApis.componentApis.video.videoControlBar,n=coreApis.utils,t=coreApis.utils.urls;var o=i(241);const s=coreApis.utils.title;function a(e,n,t){return(n=function(e){var n=function(e,n){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var o=t.call(e,n||"default");if("object"!=typeof o)return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===n?String:Number)(e)}(e,"string");return"symbol"==typeof n?n:n+""}(n))in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}const c=document.createElement("canvas");class l{constructor(e,n){let t=arguments.length>2&&void 0!==arguments[2]&&arguments[2];this.video=e,this.videoTime=n,this.withDanmaku=t,a(this,"mimeType","image/png"),a(this,"url",""),a(this,"blob",void 0),a(this,"timeStamp",(new Date).getTime()),this.createUrl()}async createUrl(){const{logError:e}=await Promise.resolve().then(i.t.bind(i,765,23));if(this.withDanmaku){const e=dq(o.playerAgent.query.video.wrap.selector).getBoundingClientRect(),n=e.width/e.height;n>=this.video.videoWidth/this.video.videoHeight?(c.height=this.video.videoHeight,c.width=this.video.videoHeight*n):(c.width=this.video.videoWidth,c.height=this.video.videoWidth/n)}else c.width=this.video.videoWidth,c.height=this.video.videoHeight;const n=c.getContext("2d");if(null===n)return void e("视频截图失败: canvas 未创建或创建失败.");const t=(c.width-this.video.videoWidth)/2,r=(c.height-this.video.videoHeight)/2;if(n.drawImage(this.video,t,r),this.withDanmaku){const e=dq("canvas.bilibili-player-video-danmaku, canvas.dm-canvas");null!==e&&n.drawImage(e,0,0,c.width,c.height)}try{c.toBlob((n=>{null!==n?(this.blob=n,this.url=URL.createObjectURL(n)):e("视频截图失败: 创建 blob 失败.")}),this.mimeType)}catch(n){e("视频截图失败: 操作被浏览器阻止. 这通常发生于电影的试看片段, 请在正片尝试使用截图功能.")}}get filename(){return`${(0,s.getFriendlyTitle)()} @${this.time.replace(/:/g,"-")} ${this.timeStamp.toString()}.png`}get id(){return this.videoTime.toString()+this.timeStamp.toString()}get time(){const e=Math.trunc(this.videoTime/3600).toString(),n=Math.trunc(this.videoTime/60).toString(),t=(this.videoTime%60).toFixed(2);return"0"===e?`${n.padStart(2,"0")}:${t.padStart(5,"0")}`:`${e}:${n.padStart(2,"0")}:${t.padStart(5,"0")}`}revoke(){URL.revokeObjectURL(this.url)}}const d=coreApis.componentApis.define;var A=function(){var e=this,n=e._self._c;e._self._setupProxy;return n("div",{staticClass:"video-screenshot-container"},[n("transition-group",{staticClass:"video-screenshot-list",attrs:{name:"video-screenshot-list",tag:"div"}},e._l(e.screenshots,(function(t){return n("VideoScreenshot",{key:t.id,attrs:{screenshot:t},on:{discard:function(n){return e.discard(t)}}})})),1),e._v(" "),n("div",{directives:[{name:"show",rawName:"v-show",value:e.showBatch,expression:"showBatch"}],staticClass:"video-screenshot-batch"},[n("button",{on:{click:e.saveAll}},[n("VIcon",{attrs:{size:18,icon:"mdi-content-save"}}),e._v("全部保存")],1),e._v(" "),n("button",{on:{click:e.discardAll}},[n("VIcon",{attrs:{size:18,icon:"mdi-delete-forever"}}),e._v("全部丢弃\n ")],1)])],1)};A._withStripped=!0;const h=coreApis.download,u=coreApis.ui;var p=function(){var e=this,n=e._self._c;e._self._setupProxy;return n("div",{staticClass:"video-screenshot-thumbnail"},[e.objectUrl?n("img",{attrs:{src:e.objectUrl}}):e._e(),e._v(" "),e.objectUrl?n("div",{staticClass:"mask"},[n("a",{ref:"link",staticClass:"link",staticStyle:{display:"none"},attrs:{target:"_blank",href:e.objectUrl,download:e.filename}}),e._v(" "),n("button",{staticClass:"save",attrs:{title:"保存"},on:{click:e.save}},[n("VIcon",{attrs:{size:28,icon:"mdi-content-save-outline"}})],1),e._v(" "),n("button",{staticClass:"copy",attrs:{title:"复制"},on:{click:e.copy}},[n("VIcon",{attrs:{size:24,icon:e.showCopyTip?"mdi-check":"mdi-content-copy"}})],1),e._v(" "),n("button",{staticClass:"discard",attrs:{title:"丢弃"},on:{click:e.discard}},[n("VIcon",{attrs:{size:28,icon:"mdi-delete-forever-outline"}})],1),e._v(" "),n("span",{staticClass:"time"},[e._v(e._s(e.time))])]):n("div",{staticClass:"loading",on:{click:e.discard}})])};p._withStripped=!0;const v=Vue.extend({components:{VIcon:u.VIcon},props:{screenshot:{type:l,required:!0}},data:()=>({showCopyTip:!1}),computed:{objectUrl(){return this.screenshot.url},filename(){return this.screenshot.filename},time(){return this.screenshot.time}},methods:{discard(){this.$emit("discard")},async copy(){const e=this.screenshot;await navigator.clipboard.write([new ClipboardItem({[e.mimeType]:e.blob})]),this.showCopyTip=!0,setTimeout((()=>{this.showCopyTip=!1}),1e3)},save(){const e=this.$refs.link;e.addEventListener("click",(e=>{e.stopPropagation()}),{capture:!0,once:!0}),e.click(),this.discard()}}});var m=i(991),f=i.n(m),b=i(371),C=i.n(b),g={insert:"head",singleton:!1};f()(C(),g);C().locals;function E(e,n,t,o,i,r,s,a){var c,l="function"==typeof e?e.options:e;if(n&&(l.render=n,l.staticRenderFns=t,l._compiled=!0),o&&(l.functional=!0),r&&(l._scopeId="data-v-"+r),s?(c=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),i&&i.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(s)},l._ssrRegister=c):i&&(c=a?function(){i.call(this,(l.functional?this.parent:this).$root.$options.shadowRoot)}:i),c)if(l.functional){l._injectStyles=c;var d=l.render;l.render=function(e,n){return c.call(n),d(e,n)}}else{var A=l.beforeCreate;l.beforeCreate=A?[].concat(A,c):[c]}return{exports:e,options:l}}const y=E(v,p,[],!1,null,null,null).exports,B=Vue.extend({components:{VIcon:u.VIcon,VideoScreenshot:y},data:()=>({screenshots:[]}),computed:{showBatch(){return this.screenshots.length>=2}},methods:{discard(e){this.screenshots.splice(this.screenshots.indexOf(e),1),e.revoke()},async saveAll(){const e=new h.DownloadPackage;this.screenshots.forEach((n=>{e.add(n.filename,n.blob,{date:new Date(n.timeStamp)})})),await e.emit(`${(0,s.getFriendlyTitle)()}.zip`),this.discardAll()},discardAll(){this.screenshots.forEach((e=>e.revoke())),this.screenshots=[]}}});var w=i(494),x=i.n(w),k={insert:"head",singleton:!1};f()(x(),k);x().locals;const S=E(B,A,[],!1,null,null,null).exports,j="video-screenshot-disable";let _;const z=e=>{_?.screenshots.length>0&&e.preventDefault()},T=(0,d.defineComponentMetadata)({name:"videoScreenshot",displayName:"启用视频截图",tags:[componentsTags.video],entry:async()=>{(0,e.addControlBarButton)({name:"takeScreenshot",displayName:"截图",icon:"mdi-camera",order:0,action:async e=>{const{playerAgent:t}=await Promise.resolve().then(i.t.bind(i,241,23)),o=await t.query.video.element();if(o instanceof HTMLVideoElement){const t=function(e){let n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];const t=e.currentTime;return new l(e,t,n)}(o,e.shiftKey);_||(_=(0,n.mountVueComponent)(S),document.body.insertAdjacentElement("beforeend",_.$el)),_.screenshots.unshift(t)}else{const{logError:e}=await Promise.resolve().then(i.t.bind(i,765,23));e("视频截图失败: 无法定位视频元素, 请尝试右击视频两次后另存为图片, 或将播放策略改为 AV1 或 AVC.")}}}),window.addEventListener("beforeunload",z)},description:{"zh-CN":"启用视频快速截图, 将在播放器的时间右边增加一个截图按钮. 装有 `快捷键扩展` 时支持键盘快捷键Ctrl+Alt+C."},urlInclude:t.playerUrls,reload:()=>{document.body.classList.remove(j),window.addEventListener("beforeunload",z)},unload:()=>{document.body.classList.add(j),window.removeEventListener("beforeunload",z)},plugin:{displayName:"视频截图 - 快捷键支持",setup:e=>{let{addData:n}=e;n("keymap.actions",(e=>{e.takeScreenshot={displayName:"视频截图",run:e=>{const{clickElement:n}=e;return n('.be-video-control-bar-extend [data-name="takeScreenshot"]',e)}}})),n("keymap.presets",(e=>{e.takeScreenshot="ctrl [shift] alt c"}))}},commitHash:"d87d69cfb9d7e0124bd90a06fec4569bd61e02c5",coreVersion:"2.10.7"})})(),r=r.component})())); //# sourceMappingURL=https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/registry/dist/components/video/player/screenshot.js.map \ No newline at end of file diff --git a/bb-evolved/registry/dist/components/video/player/seek-by-frames.js b/bb-evolved/registry/dist/components/video/player/seek-by-frames.js index bc369151e9..1610e95ad8 100644 --- a/bb-evolved/registry/dist/components/video/player/seek-by-frames.js +++ b/bb-evolved/registry/dist/components/video/player/seek-by-frames.js @@ -1,2 +1,2 @@ -!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["video/player/seek-by-frames"]=t():e["video/player/seek-by-frames"]=t()}(globalThis,(()=>(()=>{"use strict";var e,t,r={241:e=>{e.exports=coreApis.componentApis.video.playerAgent}},o={};function n(e){var t=o[e];if(void 0!==t)return t.exports;var a=o[e]={exports:{}};return r[e](a,a.exports,n),a.exports}t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,n.t=function(r,o){if(1&o&&(r=this(r)),8&o)return r;if("object"==typeof r&&r){if(4&o&&r.__esModule)return r;if(16&o&&"function"==typeof r.then)return r}var a=Object.create(null);n.r(a);var s={};e=e||[null,t({}),t([]),t(t)];for(var i=2&o&&r;"object"==typeof i&&!~e.indexOf(i);i=t(i))Object.getOwnPropertyNames(i).forEach((e=>s[e]=()=>r[e]));return s.default=()=>r,n.d(a,s),a},n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var a={};n.d(a,{component:()=>m});const s=coreApis.componentApis.video.videoControlBar,i=coreApis.observer,c=coreApis.utils,l=coreApis.utils.urls,d=coreApis.pluginApis.data,p=coreApis.componentApis.define,u="seek-by-frame-disable",m=(0,p.defineComponentMetadata)({name:"seekByFrames",displayName:"启用逐帧调整",tags:[componentsTags.video],description:{"zh-CN":"在播放器的时间右边增加两个按钮, 用于**较精细**调整视频时间. 装有 `快捷键扩展` 时支持键盘快捷键Shift+/.\n\n> 注: `视频的实际播放帧率`跟`视频本身的帧率`和`显示器的刷新率`有关, 很难计算一个精准的数值, 部分视频仍然会有暂停不到那种一闪而过的图的情况."},entry:async()=>{await(0,c.playerReady)();const{playerAgent:e}=await Promise.resolve().then(n.t.bind(n,241,23));(0,d.addData)("ui.icons",(e=>{e["seek-left"]='\n\x3c!-- Generator: Adobe Illustrator 24.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) --\x3e\n\n\n\t\n\n\n\n',e["seek-right"]='\n\x3c!-- Generator: Adobe Illustrator 24.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) --\x3e\n\n\n\t\n\n\n\n'}));let t=0;(0,i.attributesSubtree)(`${e.query.control.buttons.quality.selector} ul`,(()=>{const r=dq(`${e.query.control.buttons.quality.selector} .bui-select-item-active, ${e.query.control.buttons.quality.selector} .active`),o=r?parseInt(r.getAttribute("data-value")):0,n=(()=>{switch(o){case 116:case 74:return 6e4/1001;default:return 3e4/1001}})();t=1/n}));const r=r=>{e.changeTime(r*t)};(0,s.addControlBarButton)({name:"seekPrevFrame",displayName:"上一帧",icon:"seek-left",order:1,action:()=>{r(-1)}}),(0,s.addControlBarButton)({name:"seekNextFrame",displayName:"下一帧",icon:"seek-right",order:2,action:()=>{r(1)}})},reload:()=>document.body.classList.remove(u),unload:()=>document.body.classList.add(u),urlInclude:l.playerUrls,plugin:{displayName:"逐帧调整 - 快捷键支持",setup:()=>{(0,d.addData)("keymap.actions",(e=>{e.previousFrame={displayName:"上一帧",run:e=>{const{clickElement:t}=e;return t('.be-video-control-bar-extend [data-name="seekPrevFrame"]',e)}},e.nextFrame={displayName:"下一帧",run:e=>{const{clickElement:t}=e;return t('.be-video-control-bar-extend [data-name="seekNextFrame"]',e)}}})),(0,d.addData)("keymap.presets",(e=>{e.previousFrame="shift arrowLeft",e.nextFrame="shift arrowRight"}))}},commitHash:"58c0b438ca2371e397f70466a91572cb2757b142",coreVersion:"2.10.7"});return a=a.component})())); +!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["video/player/seek-by-frames"]=t():e["video/player/seek-by-frames"]=t()}(globalThis,(()=>(()=>{"use strict";var e,t,r={241:e=>{e.exports=coreApis.componentApis.video.playerAgent}},o={};function n(e){var t=o[e];if(void 0!==t)return t.exports;var a=o[e]={exports:{}};return r[e](a,a.exports,n),a.exports}t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,n.t=function(r,o){if(1&o&&(r=this(r)),8&o)return r;if("object"==typeof r&&r){if(4&o&&r.__esModule)return r;if(16&o&&"function"==typeof r.then)return r}var a=Object.create(null);n.r(a);var s={};e=e||[null,t({}),t([]),t(t)];for(var i=2&o&&r;"object"==typeof i&&!~e.indexOf(i);i=t(i))Object.getOwnPropertyNames(i).forEach((e=>s[e]=()=>r[e]));return s.default=()=>r,n.d(a,s),a},n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var a={};n.d(a,{component:()=>m});const s=coreApis.componentApis.video.videoControlBar,i=coreApis.observer,c=coreApis.utils,l=coreApis.utils.urls,d=coreApis.pluginApis.data,p=coreApis.componentApis.define,u="seek-by-frame-disable",m=(0,p.defineComponentMetadata)({name:"seekByFrames",displayName:"启用逐帧调整",tags:[componentsTags.video],description:{"zh-CN":"在播放器的时间右边增加两个按钮, 用于**较精细**调整视频时间. 装有 `快捷键扩展` 时支持键盘快捷键Shift+/.\n\n> 注: `视频的实际播放帧率`跟`视频本身的帧率`和`显示器的刷新率`有关, 很难计算一个精准的数值, 部分视频仍然会有暂停不到那种一闪而过的图的情况."},entry:async()=>{await(0,c.playerReady)();const{playerAgent:e}=await Promise.resolve().then(n.t.bind(n,241,23));(0,d.addData)("ui.icons",(e=>{e["seek-left"]='\n\x3c!-- Generator: Adobe Illustrator 24.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) --\x3e\n\n\n\t\n\n\n\n',e["seek-right"]='\n\x3c!-- Generator: Adobe Illustrator 24.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) --\x3e\n\n\n\t\n\n\n\n'}));let t=0;(0,i.attributesSubtree)(`${e.query.control.buttons.quality.selector} ul`,(()=>{const r=dq(`${e.query.control.buttons.quality.selector} .bui-select-item-active, ${e.query.control.buttons.quality.selector} .active`),o=r?parseInt(r.getAttribute("data-value")):0,n=(()=>{switch(o){case 116:case 74:return 6e4/1001;default:return 3e4/1001}})();t=1/n}));const r=r=>{e.changeTime(r*t)};(0,s.addControlBarButton)({name:"seekPrevFrame",displayName:"上一帧",icon:"seek-left",order:1,action:()=>{r(-1)}}),(0,s.addControlBarButton)({name:"seekNextFrame",displayName:"下一帧",icon:"seek-right",order:2,action:()=>{r(1)}})},reload:()=>document.body.classList.remove(u),unload:()=>document.body.classList.add(u),urlInclude:l.playerUrls,plugin:{displayName:"逐帧调整 - 快捷键支持",setup:()=>{(0,d.addData)("keymap.actions",(e=>{e.previousFrame={displayName:"上一帧",run:e=>{const{clickElement:t}=e;return t('.be-video-control-bar-extend [data-name="seekPrevFrame"]',e)}},e.nextFrame={displayName:"下一帧",run:e=>{const{clickElement:t}=e;return t('.be-video-control-bar-extend [data-name="seekNextFrame"]',e)}}})),(0,d.addData)("keymap.presets",(e=>{e.previousFrame="shift arrowLeft",e.nextFrame="shift arrowRight"}))}},commitHash:"d87d69cfb9d7e0124bd90a06fec4569bd61e02c5",coreVersion:"2.10.7"});return a=a.component})())); //# sourceMappingURL=https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/registry/dist/components/video/player/seek-by-frames.js.map \ No newline at end of file diff --git a/bb-evolved/registry/dist/components/video/player/show-cover.js b/bb-evolved/registry/dist/components/video/player/show-cover.js index 3605fe2c32..9f8bce8ce6 100644 --- a/bb-evolved/registry/dist/components/video/player/show-cover.js +++ b/bb-evolved/registry/dist/components/video/player/show-cover.js @@ -8,5 +8,5 @@ e=[[null,e,""]]);var o={};if(r)for(var a=0;a{"use strict";function t(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=e&&("undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]);if(null==n)return;var r,o,a=[],i=!0,c=!1;try{for(n=n.call(e);!(i=(r=n.next()).done)&&(a.push(r.value),!t||a.length!==t);i=!0);}catch(e){c=!0,o=e}finally{try{i||null==n.return||n.return()}finally{if(c)throw o}}return a}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return n(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return n(e,t)}(e,t)||function(){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 n(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n{var r=n(349);r&&r.__esModule&&(r=r.default),e.exports="string"==typeof r?r:r.toString()},682:e=>{"use strict";e.exports=coreApis.componentApis.video.videoInfo}},r={};function o(e){var t=r[e];if(void 0!==t)return t.exports;var a=r[e]={id:e,exports:{}};return n[e](a,a.exports,o),a.exports}t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,o.t=function(n,r){if(1&r&&(n=this(n)),8&r)return n;if("object"==typeof n&&n){if(4&r&&n.__esModule)return n;if(16&r&&"function"==typeof n.then)return n}var a=Object.create(null);o.r(a);var i={};e=e||[null,t({}),t([]),t(t)];for(var c=2&r&&n;"object"==typeof c&&!~e.indexOf(c);c=t(c))Object.getOwnPropertyNames(c).forEach((e=>i[e]=()=>n[e]));return i.default=()=>n,o.d(a,i),a},o.d=(e,t)=>{for(var n in t)o.o(t,n)&&!o.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var a={};return(()=>{"use strict";o.d(a,{component:()=>i});const e=coreApis.componentApis.define,t=coreApis.componentApis.video.playerAgent,n=coreApis.observer,r=coreApis.utils.urls,i=(0,e.defineComponentMetadata)({name:"showCoverBeforePlay",displayName:"播放前显示封面",urlInclude:r.playerUrls,entry:async()=>{let e;const r=()=>document.documentElement.style.removeProperty("--cover-url");(0,n.videoChange)((()=>{t.playerAgent.addEventListener(t.PlayerAgentEventTypes.Pause,(()=>{r()})),t.playerAgent.addEventListener(t.PlayerAgentEventTypes.Play,(()=>{r()}))}));(0,n.videoChange)((async t=>{let{aid:n}=t;if(!n)return void console.warn("[播放前显示封面] 未找到av号");if(n===e)return;e=n;const{VideoInfo:r}=await Promise.resolve().then(o.t.bind(o,682,23)),a=new r(n);await a.fetchInfo(),document.documentElement.style.setProperty("--cover-url",`url('${a.coverUrl}')`)}))},instantStyles:[{name:"showCoverBeforePlay",style:()=>Promise.resolve().then(o.t.bind(o,51,23))}],description:{"zh-CN":"在视频开始播放前, 在播放器中显示封面."},tags:[componentsTags.video],commitHash:"58c0b438ca2371e397f70466a91572cb2757b142",coreVersion:"2.10.7"})})(),a=a.component})())); +var a=btoa(unescape(encodeURIComponent(JSON.stringify(o)))),i="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(a),c="/*# ".concat(i," */"),s=o.sources.map((function(e){return"/*# sourceURL=".concat(o.sourceRoot||"").concat(e," */")}));return[r].concat(s).concat([c]).join("\n")}return[r].join("\n")}},51:(e,t,n)=>{var r=n(349);r&&r.__esModule&&(r=r.default),e.exports="string"==typeof r?r:r.toString()},682:e=>{"use strict";e.exports=coreApis.componentApis.video.videoInfo}},r={};function o(e){var t=r[e];if(void 0!==t)return t.exports;var a=r[e]={id:e,exports:{}};return n[e](a,a.exports,o),a.exports}t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,o.t=function(n,r){if(1&r&&(n=this(n)),8&r)return n;if("object"==typeof n&&n){if(4&r&&n.__esModule)return n;if(16&r&&"function"==typeof n.then)return n}var a=Object.create(null);o.r(a);var i={};e=e||[null,t({}),t([]),t(t)];for(var c=2&r&&n;"object"==typeof c&&!~e.indexOf(c);c=t(c))Object.getOwnPropertyNames(c).forEach((e=>i[e]=()=>n[e]));return i.default=()=>n,o.d(a,i),a},o.d=(e,t)=>{for(var n in t)o.o(t,n)&&!o.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var a={};return(()=>{"use strict";o.d(a,{component:()=>i});const e=coreApis.componentApis.define,t=coreApis.componentApis.video.playerAgent,n=coreApis.observer,r=coreApis.utils.urls,i=(0,e.defineComponentMetadata)({name:"showCoverBeforePlay",displayName:"播放前显示封面",urlInclude:r.playerUrls,entry:async()=>{let e;const r=()=>document.documentElement.style.removeProperty("--cover-url");(0,n.videoChange)((()=>{t.playerAgent.addEventListener(t.PlayerAgentEventTypes.Pause,(()=>{r()})),t.playerAgent.addEventListener(t.PlayerAgentEventTypes.Play,(()=>{r()}))}));(0,n.videoChange)((async t=>{let{aid:n}=t;if(!n)return void console.warn("[播放前显示封面] 未找到av号");if(n===e)return;e=n;const{VideoInfo:r}=await Promise.resolve().then(o.t.bind(o,682,23)),a=new r(n);await a.fetchInfo(),document.documentElement.style.setProperty("--cover-url",`url('${a.coverUrl}')`)}))},instantStyles:[{name:"showCoverBeforePlay",style:()=>Promise.resolve().then(o.t.bind(o,51,23))}],description:{"zh-CN":"在视频开始播放前, 在播放器中显示封面."},tags:[componentsTags.video],commitHash:"d87d69cfb9d7e0124bd90a06fec4569bd61e02c5",coreVersion:"2.10.7"})})(),a=a.component})())); //# sourceMappingURL=https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/registry/dist/components/video/player/show-cover.js.map \ No newline at end of file diff --git a/bb-evolved/registry/dist/components/video/player/show-upload-time.js b/bb-evolved/registry/dist/components/video/player/show-upload-time.js index e70d20c079..56d6e882c7 100644 --- a/bb-evolved/registry/dist/components/video/player/show-upload-time.js +++ b/bb-evolved/registry/dist/components/video/player/show-upload-time.js @@ -8,5 +8,5 @@ e=[[null,e,""]]);var r={};if(o)for(var i=0;i{"use strict";function t(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=e&&("undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]);if(null==n)return;var o,r,i=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(o=n.next()).done)&&(i.push(o.value),!t||i.length!==t);a=!0);}catch(e){s=!0,r=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw r}}return i}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return n(e,t);var o=Object.prototype.toString.call(e).slice(8,-1);"Object"===o&&e.constructor&&(o=e.constructor.name);if("Map"===o||"Set"===o)return Array.from(e);if("Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o))return n(e,t)}(e,t)||function(){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 n(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n{var o=n(987);o&&o.__esModule&&(o=o.default),e.exports="string"==typeof o?o:o.toString()}},o={};function r(e){var t=o[e];if(void 0!==t)return t.exports;var i=o[e]={id:e,exports:{}};return n[e](i,i.exports,r),i.exports}t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,r.t=function(n,o){if(1&o&&(n=this(n)),8&o)return n;if("object"==typeof n&&n){if(4&o&&n.__esModule)return n;if(16&o&&"function"==typeof n.then)return n}var i=Object.create(null);r.r(i);var a={};e=e||[null,t({}),t([]),t(t)];for(var s=2&o&&n;"object"==typeof s&&!~e.indexOf(s);s=t(s))Object.getOwnPropertyNames(s).forEach((e=>a[e]=()=>n[e]));return a.default=()=>n,r.d(i,a),i},r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var i={};return(()=>{"use strict";r.d(i,{component:()=>g});const e=coreApis.componentApis.define,t=coreApis.observer,n=coreApis.utils,o=coreApis.utils.urls,a=coreApis.utils.log,s=coreApis.settings,c=(e,t,n)=>{const o={"M+":e.getMonth()+1,"d+":e.getDate(),"h+":e.getHours(),"m+":e.getMinutes(),"s+":e.getSeconds(),"q+":Math.floor((e.getMonth()+3)/3)},r={up:n,"\\\\r":"\r","\\\\n":"\n","\\\\t":"\t"};let i=t.match(/(y+)/);null!==i&&(t=t.replace(i[0],`${e.getFullYear()}`.substring(4-i[0].length)));for(const e in o)e&&(i=t.match(new RegExp(`(${e})`)),null!==i&&(t=t.replace(i[0],1===i[0].length?o[e]:`00${o[e]}`.substring(`${o[e]}`.length))));for(const e in r)e&&(i=t.match(new RegExp(`(${e})`)),null!==i&&(t=t.replace(i[0],r[e])));return t},l=coreApis.componentApis.video.videoInfo;function u(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!=typeof o)return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}class d{constructor(e){var t=this;u(this,"console",void 0),u(this,"metadata",void 0),u(this,"videoClasses",["video-page-operator-card-small","video-page-card-small"]),u(this,"showUploadTime",(function(e){let n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";if(!o){const{options:e}=(0,s.getComponentSettings)(t.metadata.name);o=e.formatString?.toString()}e.forEach((async e=>{let t=e.name;if(n||!e.item.owner.mark){if(e.item.owner.mark=!0,n||!e.mark){if(e.mark=!0,!e.item.pubdate){const t=new l.VideoInfo(e.item.aid);await t.fetchInfo(),e.item.pubdate=t.pubdate}const n=new Date(1e3*e.item.pubdate);e.oldname||(e.oldname=e.name),t=c(n,o,e.oldname),e.name=t}e.item.owner.name=t}}))})),u(this,"getRecoList",(()=>{let e=dq("#reco_list");null==e&&(e=dq(".recommend-list-v1"));let t=(0,n.getVue2Data)(e);return void 0===t.isOpen&&(t=t.$children[0],void 0===t.isOpen&&(this.console.log("结构获取失败"),this.console.log(document.URL),this.console.log(t))),t})),this.console=e}settingChange(e,t){this.metadata=e;const n=this.getRecoList().$children.filter((e=>this.videoClasses.includes(e.$el.className)));this.showUploadTime(n,!0,t)}urlChange(e){this.metadata=e;const t=this.getRecoList();this.console.debug("urlChange recoList.mark",t.mark),t.mark||(t.mark=!0,t.$watch("recListItems",(()=>{this.console.debug("recoListItems changed, now url is",document.URL);const e=t.$children.filter((e=>this.videoClasses.includes(e.$el.className)));this.showUploadTime(e)}),{deep:!0,immediate:!0}))}}function m(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!=typeof o)return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}class p{constructor(e){var t=this;m(this,"console",void 0),m(this,"metadata",void 0),m(this,"videoClasses",["recommend-video-card video-card"]),m(this,"showUploadTime",(function(e){let n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";if(!o){const{options:e}=(0,s.getComponentSettings)(t.metadata.name);o=e.formatString?.toString()}e.forEach((async e=>{let t=e.info.owner.name;if(n||!e.info.owner.mark){if(e.info.owner.mark=!0,n||!e.mark){if(e.mark=!0,!e.info.pubdate){const t=new l.VideoInfo(e.info.aid);await t.fetchInfo(),e.info.pubdate=t.pubdate}const n=new Date(1e3*e.info.pubdate);e.info.owner.oldname||(e.info.owner.oldname=e.info.owner.name),t=c(n,o,e.info.owner.oldname)}e.info.owner.name=t}}))})),m(this,"getRecoList",(()=>{const e=dq(".recommend-list-container"),t=(0,n.getVue2Data)(e);return void 0===t.isFolded&&(this.console.log("结构获取失败"),this.console.log(document.URL),this.console.log(t)),t})),this.console=e}settingChange(e,t){this.metadata=e;const n=this.getRecoList().$children.filter((e=>this.videoClasses.includes(e.$el.className)));this.showUploadTime(n,!0,t)}urlChange(e){this.metadata=e;const t=this.getRecoList();this.console.debug("urlChange recoList.mark",t.mark),t.mark||(t.mark=!0,t.$watch("visibleRelated",(()=>{this.console.debug("visibleRelated changed, now url is",document.URL);const e=t.$children.filter((e=>this.videoClasses.includes(e.$el.className)));this.showUploadTime(e)}),{deep:!0,immediate:!0}))}}const f="显示视频投稿时间",h=(0,a.useScopedConsole)(f),g=(0,e.defineComponentMetadata)({author:{name:"wisokey",link:"https://github.com/wisokey"},name:"showUploadTime",displayName:f,description:"为视频播放页面的推荐列表中的视频添加显示视频投稿时间.\n\n`时间格式` 替换up名的文本格式 (默认为'up · yyyy-MM-dd'):\n - y: 年\n - M: 月\n - d: 日\n - h: 时\n - m: 分\n - s: 秒\n - q: 季度\n - up: up名\n - \\r: 回车符\n - \\n:换行符\n - \\t:制表符",tags:[componentsTags.video],urlInclude:o.videoUrls,options:{formatString:{displayName:"文本格式",defaultValue:"up · yyyy-MM-dd",validator:(e,t)=>e?.trim()?e:t}},instantStyles:[{name:"showUploadTime",style:()=>Promise.resolve().then(r.t.bind(r,169,23))}],entry:async e=>{let{metadata:r}=e;const i=new d(h),a=[{TestPattern:o.videoUrls.slice(0,1),video:i},{TestPattern:o.mediaListUrls,video:new p(h)}],c=()=>{for(const e of a)for(const t of e.TestPattern)if((0,n.matchUrlPattern)(t))return e.video;return i};(0,s.addComponentListener)(`${r.name}.formatString`,((e,t)=>{const n=c();n&&n.settingChange(r,e,t)}),!1),(0,t.urlChange)((async()=>{h.debug("urlChange now url is",document.URL),await(0,n.playerReady)();const e=c();e&&e.urlChange(r)}))},commitHash:"58c0b438ca2371e397f70466a91572cb2757b142",coreVersion:"2.10.7"})})(),i=i.component})())); +var i=btoa(unescape(encodeURIComponent(JSON.stringify(r)))),a="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(i),s="/*# ".concat(a," */"),c=r.sources.map((function(e){return"/*# sourceURL=".concat(r.sourceRoot||"").concat(e," */")}));return[o].concat(c).concat([s]).join("\n")}return[o].join("\n")}},169:(e,t,n)=>{var o=n(987);o&&o.__esModule&&(o=o.default),e.exports="string"==typeof o?o:o.toString()}},o={};function r(e){var t=o[e];if(void 0!==t)return t.exports;var i=o[e]={id:e,exports:{}};return n[e](i,i.exports,r),i.exports}t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,r.t=function(n,o){if(1&o&&(n=this(n)),8&o)return n;if("object"==typeof n&&n){if(4&o&&n.__esModule)return n;if(16&o&&"function"==typeof n.then)return n}var i=Object.create(null);r.r(i);var a={};e=e||[null,t({}),t([]),t(t)];for(var s=2&o&&n;"object"==typeof s&&!~e.indexOf(s);s=t(s))Object.getOwnPropertyNames(s).forEach((e=>a[e]=()=>n[e]));return a.default=()=>n,r.d(i,a),i},r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var i={};return(()=>{"use strict";r.d(i,{component:()=>g});const e=coreApis.componentApis.define,t=coreApis.observer,n=coreApis.utils,o=coreApis.utils.urls,a=coreApis.utils.log,s=coreApis.settings,c=(e,t,n)=>{const o={"M+":e.getMonth()+1,"d+":e.getDate(),"h+":e.getHours(),"m+":e.getMinutes(),"s+":e.getSeconds(),"q+":Math.floor((e.getMonth()+3)/3)},r={up:n,"\\\\r":"\r","\\\\n":"\n","\\\\t":"\t"};let i=t.match(/(y+)/);null!==i&&(t=t.replace(i[0],`${e.getFullYear()}`.substring(4-i[0].length)));for(const e in o)e&&(i=t.match(new RegExp(`(${e})`)),null!==i&&(t=t.replace(i[0],1===i[0].length?o[e]:`00${o[e]}`.substring(`${o[e]}`.length))));for(const e in r)e&&(i=t.match(new RegExp(`(${e})`)),null!==i&&(t=t.replace(i[0],r[e])));return t},l=coreApis.componentApis.video.videoInfo;function u(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!=typeof o)return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}class d{constructor(e){var t=this;u(this,"console",void 0),u(this,"metadata",void 0),u(this,"videoClasses",["video-page-operator-card-small","video-page-card-small"]),u(this,"showUploadTime",(function(e){let n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";if(!o){const{options:e}=(0,s.getComponentSettings)(t.metadata.name);o=e.formatString?.toString()}e.forEach((async e=>{let t=e.name;if(n||!e.item.owner.mark){if(e.item.owner.mark=!0,n||!e.mark){if(e.mark=!0,!e.item.pubdate){const t=new l.VideoInfo(e.item.aid);await t.fetchInfo(),e.item.pubdate=t.pubdate}const n=new Date(1e3*e.item.pubdate);e.oldname||(e.oldname=e.name),t=c(n,o,e.oldname),e.name=t}e.item.owner.name=t}}))})),u(this,"getRecoList",(()=>{let e=dq("#reco_list");null==e&&(e=dq(".recommend-list-v1"));let t=(0,n.getVue2Data)(e);return void 0===t.isOpen&&(t=t.$children[0],void 0===t.isOpen&&(this.console.log("结构获取失败"),this.console.log(document.URL),this.console.log(t))),t})),this.console=e}settingChange(e,t){this.metadata=e;const n=this.getRecoList().$children.filter((e=>this.videoClasses.includes(e.$el.className)));this.showUploadTime(n,!0,t)}urlChange(e){this.metadata=e;const t=this.getRecoList();this.console.debug("urlChange recoList.mark",t.mark),t.mark||(t.mark=!0,t.$watch("recListItems",(()=>{this.console.debug("recoListItems changed, now url is",document.URL);const e=t.$children.filter((e=>this.videoClasses.includes(e.$el.className)));this.showUploadTime(e)}),{deep:!0,immediate:!0}))}}function m(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!=typeof o)return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}class p{constructor(e){var t=this;m(this,"console",void 0),m(this,"metadata",void 0),m(this,"videoClasses",["recommend-video-card video-card"]),m(this,"showUploadTime",(function(e){let n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";if(!o){const{options:e}=(0,s.getComponentSettings)(t.metadata.name);o=e.formatString?.toString()}e.forEach((async e=>{let t=e.info.owner.name;if(n||!e.info.owner.mark){if(e.info.owner.mark=!0,n||!e.mark){if(e.mark=!0,!e.info.pubdate){const t=new l.VideoInfo(e.info.aid);await t.fetchInfo(),e.info.pubdate=t.pubdate}const n=new Date(1e3*e.info.pubdate);e.info.owner.oldname||(e.info.owner.oldname=e.info.owner.name),t=c(n,o,e.info.owner.oldname)}e.info.owner.name=t}}))})),m(this,"getRecoList",(()=>{const e=dq(".recommend-list-container"),t=(0,n.getVue2Data)(e);return void 0===t.isFolded&&(this.console.log("结构获取失败"),this.console.log(document.URL),this.console.log(t)),t})),this.console=e}settingChange(e,t){this.metadata=e;const n=this.getRecoList().$children.filter((e=>this.videoClasses.includes(e.$el.className)));this.showUploadTime(n,!0,t)}urlChange(e){this.metadata=e;const t=this.getRecoList();this.console.debug("urlChange recoList.mark",t.mark),t.mark||(t.mark=!0,t.$watch("visibleRelated",(()=>{this.console.debug("visibleRelated changed, now url is",document.URL);const e=t.$children.filter((e=>this.videoClasses.includes(e.$el.className)));this.showUploadTime(e)}),{deep:!0,immediate:!0}))}}const f="显示视频投稿时间",h=(0,a.useScopedConsole)(f),g=(0,e.defineComponentMetadata)({author:{name:"wisokey",link:"https://github.com/wisokey"},name:"showUploadTime",displayName:f,description:"为视频播放页面的推荐列表中的视频添加显示视频投稿时间.\n\n`时间格式` 替换up名的文本格式 (默认为'up · yyyy-MM-dd'):\n - y: 年\n - M: 月\n - d: 日\n - h: 时\n - m: 分\n - s: 秒\n - q: 季度\n - up: up名\n - \\r: 回车符\n - \\n:换行符\n - \\t:制表符",tags:[componentsTags.video],urlInclude:o.videoUrls,options:{formatString:{displayName:"文本格式",defaultValue:"up · yyyy-MM-dd",validator:(e,t)=>e?.trim()?e:t}},instantStyles:[{name:"showUploadTime",style:()=>Promise.resolve().then(r.t.bind(r,169,23))}],entry:async e=>{let{metadata:r}=e;const i=new d(h),a=[{TestPattern:o.videoUrls.slice(0,1),video:i},{TestPattern:o.mediaListUrls,video:new p(h)}],c=()=>{for(const e of a)for(const t of e.TestPattern)if((0,n.matchUrlPattern)(t))return e.video;return i};(0,s.addComponentListener)(`${r.name}.formatString`,((e,t)=>{const n=c();n&&n.settingChange(r,e,t)}),!1),(0,t.urlChange)((async()=>{h.debug("urlChange now url is",document.URL),await(0,n.playerReady)();const e=c();e&&e.urlChange(r)}))},commitHash:"d87d69cfb9d7e0124bd90a06fec4569bd61e02c5",coreVersion:"2.10.7"})})(),i=i.component})())); //# sourceMappingURL=https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/registry/dist/components/video/player/show-upload-time.js.map \ No newline at end of file diff --git a/bb-evolved/registry/dist/components/video/player/skip-charge-list.js b/bb-evolved/registry/dist/components/video/player/skip-charge-list.js index 3a7808ebee..ca9ae2895b 100644 --- a/bb-evolved/registry/dist/components/video/player/skip-charge-list.js +++ b/bb-evolved/registry/dist/components/video/player/skip-charge-list.js @@ -8,5 +8,5 @@ e=[[null,e,""]]);var o={};if(n)for(var i=0;i{"use strict";function t(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=e&&("undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]);if(null==r)return;var n,o,i=[],a=!0,s=!1;try{for(r=r.call(e);!(a=(n=r.next()).done)&&(i.push(n.value),!t||i.length!==t);a=!0);}catch(e){s=!0,o=e}finally{try{a||null==r.return||r.return()}finally{if(s)throw o}}return i}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return r(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return r(e,t)}(e,t)||function(){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 r(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r{var n=r(783);n&&n.__esModule&&(n=n.default),e.exports="string"==typeof n?n:n.toString()},104:e=>{"use strict";e.exports=coreApis.observer},728:e=>{"use strict";e.exports=coreApis.spinQuery}},n={};function o(e){var t=n[e];if(void 0!==t)return t.exports;var i=n[e]={id:e,exports:{}};return r[e](i,i.exports,o),i.exports}t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,o.t=function(r,n){if(1&n&&(r=this(r)),8&n)return r;if("object"==typeof r&&r){if(4&n&&r.__esModule)return r;if(16&n&&"function"==typeof r.then)return r}var i=Object.create(null);o.r(i);var a={};e=e||[null,t({}),t([]),t(t)];for(var s=2&n&&r;"object"==typeof s&&!~e.indexOf(s);s=t(s))Object.getOwnPropertyNames(s).forEach((e=>a[e]=()=>r[e]));return a.default=()=>r,o.d(i,a),i},o.d=(e,t)=>{for(var r in t)o.o(t,r)&&!o.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var i={};return(()=>{"use strict";o.d(i,{component:()=>s});const e=coreApis.componentApis.define,t=coreApis.componentApis.styledComponent,r=coreApis.utils.urls,n="skip-charge-list-disable",a=(0,t.styledComponentEntry)((()=>Promise.resolve().then(o.t.bind(o,289,23))),(async()=>{const{videoChange:e}=await Promise.resolve().then(o.t.bind(o,104,23)),{select:t}=await Promise.resolve().then(o.t.bind(o,728,23));e((async()=>{const e=await t("video");e?.addEventListener("ended",(async()=>{if(document.body.classList.contains(n))return;const e=await t(".bilibili-player-electric-panel-jump,.bpx-player-electric-jump");e?.click()}))}))})),s=(0,e.defineComponentMetadata)({name:"skipChargeList",displayName:"跳过充电鸣谢",tags:[componentsTags.video],entry:a,description:{"zh-CN":"自动跳过视频结尾的充电鸣谢. 注意: 不包括番剧承包鸣谢."},reload:()=>document.body.classList.remove(n),unload:()=>document.body.classList.add(n),urlInclude:r.playerUrls,commitHash:"58c0b438ca2371e397f70466a91572cb2757b142",coreVersion:"2.10.7"})})(),i=i.component})())); +var i=btoa(unescape(encodeURIComponent(JSON.stringify(o)))),a="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(i),s="/*# ".concat(a," */"),c=o.sources.map((function(e){return"/*# sourceURL=".concat(o.sourceRoot||"").concat(e," */")}));return[n].concat(c).concat([s]).join("\n")}return[n].join("\n")}},289:(e,t,r)=>{var n=r(783);n&&n.__esModule&&(n=n.default),e.exports="string"==typeof n?n:n.toString()},104:e=>{"use strict";e.exports=coreApis.observer},728:e=>{"use strict";e.exports=coreApis.spinQuery}},n={};function o(e){var t=n[e];if(void 0!==t)return t.exports;var i=n[e]={id:e,exports:{}};return r[e](i,i.exports,o),i.exports}t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,o.t=function(r,n){if(1&n&&(r=this(r)),8&n)return r;if("object"==typeof r&&r){if(4&n&&r.__esModule)return r;if(16&n&&"function"==typeof r.then)return r}var i=Object.create(null);o.r(i);var a={};e=e||[null,t({}),t([]),t(t)];for(var s=2&n&&r;"object"==typeof s&&!~e.indexOf(s);s=t(s))Object.getOwnPropertyNames(s).forEach((e=>a[e]=()=>r[e]));return a.default=()=>r,o.d(i,a),i},o.d=(e,t)=>{for(var r in t)o.o(t,r)&&!o.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var i={};return(()=>{"use strict";o.d(i,{component:()=>s});const e=coreApis.componentApis.define,t=coreApis.componentApis.styledComponent,r=coreApis.utils.urls,n="skip-charge-list-disable",a=(0,t.styledComponentEntry)((()=>Promise.resolve().then(o.t.bind(o,289,23))),(async()=>{const{videoChange:e}=await Promise.resolve().then(o.t.bind(o,104,23)),{select:t}=await Promise.resolve().then(o.t.bind(o,728,23));e((async()=>{const e=await t("video");e?.addEventListener("ended",(async()=>{if(document.body.classList.contains(n))return;const e=await t(".bilibili-player-electric-panel-jump,.bpx-player-electric-jump");e?.click()}))}))})),s=(0,e.defineComponentMetadata)({name:"skipChargeList",displayName:"跳过充电鸣谢",tags:[componentsTags.video],entry:a,description:{"zh-CN":"自动跳过视频结尾的充电鸣谢. 注意: 不包括番剧承包鸣谢."},reload:()=>document.body.classList.remove(n),unload:()=>document.body.classList.add(n),urlInclude:r.playerUrls,commitHash:"d87d69cfb9d7e0124bd90a06fec4569bd61e02c5",coreVersion:"2.10.7"})})(),i=i.component})())); //# sourceMappingURL=https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/registry/dist/components/video/player/skip-charge-list.js.map \ No newline at end of file diff --git a/bb-evolved/registry/dist/components/video/player/video-scaling.js b/bb-evolved/registry/dist/components/video/player/video-scaling.js index 849937087e..79e378a552 100644 --- a/bb-evolved/registry/dist/components/video/player/video-scaling.js +++ b/bb-evolved/registry/dist/components/video/player/video-scaling.js @@ -8,5 +8,5 @@ e=[[null,e,""]]);var r={};if(o)for(var i=0;i{"use strict";function t(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=e&&("undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]);if(null==n)return;var o,r,i=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(o=n.next()).done)&&(i.push(o.value),!t||i.length!==t);a=!0);}catch(e){s=!0,r=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw r}}return i}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return n(e,t);var o=Object.prototype.toString.call(e).slice(8,-1);"Object"===o&&e.constructor&&(o=e.constructor.name);if("Map"===o||"Set"===o)return Array.from(e);if("Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o))return n(e,t)}(e,t)||function(){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 n(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n{var o=n(147);o&&o.__esModule&&(o=o.default),e.exports="string"==typeof o?o:o.toString()},825:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=825,e.exports=t},290:e=>{"use strict";e.exports='> 允许调整视频的显示缩放比例,让您根据屏幕大小和个人偏好自定义视频播放体验。\n\n#### 🔧 **选项**\n\n- \\`缩放比例\\`:选择预设的视频缩放比例,包括 75%、100%(默认)、110%、125%、150% 以及自定义选项。\n\n- \\`自定义缩放比 (%)\\`:当选择 "自定义" 选项时显示,可在 50%-300% 范围内以 10% 为步长自由调整缩放比例。\n\n- \\`显示缩放提示\\`:启用后,在调整缩放比例时会显示短暂提示,告知当前缩放比例。\n\n- \\`提示显示时间 (秒)\\`:控制缩放提示的显示时长,可在 0.5-5 秒范围内以 0.5 秒为步长调整。\n\n- \\`显示控制栏按钮\\`:在播放器控制栏添加一个缩放按钮,点击可循环切换预设的缩放比例。\n\n#### **使用方法**\n\n1. **通过设置面板**:在组件设置中直接选择预设的缩放比例,或选择 "自定义" 后调整滑动条设置特定比例。\n\n2. **通过控制栏按钮**:如果启用了控制栏按钮,点击播放器控制栏上的缩放图标(放大镜图标)可循环切换预设缩放比例。\n\n#### **注意事项**\n\n- 视频切换时,缩放比例会自动重置为当前设置的值。\n- 过高的缩放比例可能导致视频内容超出屏幕范围,建议根据实际屏幕尺寸适当调整。\n'}},o={};function r(e){var t=o[e];if(void 0!==t)return t.exports;var i=o[e]={id:e,exports:{}};return n[e](i,i.exports,r),i.exports}t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,r.t=function(n,o){if(1&o&&(n=this(n)),8&o)return n;if("object"==typeof n&&n){if(4&o&&n.__esModule)return n;if(16&o&&"function"==typeof n.then)return n}var i=Object.create(null);r.r(i);var a={};e=e||[null,t({}),t([]),t(t)];for(var s=2&o&&n;"object"==typeof s&&!~e.indexOf(s);s=t(s))Object.getOwnPropertyNames(s).forEach((e=>a[e]=()=>n[e]));return a.default=()=>n,r.d(i,a),i},r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var i={};return(()=>{"use strict";r.d(i,{component:()=>O});const e=coreApis.settings,t=coreApis.observer,n=coreApis.componentApis.define,o=coreApis.componentApis.video.videoControlBar,a=coreApis.componentApis.video.playerAgent,s=["75%","100%","110%","125%","150%","自定义"],c={"75%":.75,"100%":1,"110%":1.1,"125%":1.25,"150%":1.5,自定义:1},l=50,d=300,u=10,p=1.5,f=.5,y=5,m=.5,v="be-video-scale-toast";function h(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!=typeof o)return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}class b{constructor(){h(this,"currentScale",1)}get(){return this.currentScale}set(e){this.currentScale=e}}async function g(e){try{const t=await a.playerAgent.query.video.element();t&&(t.style.transform=`scale(${e})`,t.style.transformOrigin="center")}catch(e){console.error("视频缩放: 无法获取视频元素",e)}}function A(e,t,n){if("自定义"===e){const e=Math.max(l,Math.min(d,t));n.set(e/100)}else n.set(c[e]);return n.get()}function w(e,t){console.error(`${e}失败`,t)}var x=r(290);const B={defaultValue:100,displayName:"自定义缩放比 (%)",slider:{min:l,max:d,step:u},formatValue:e=>e,hidden:!0},S={defaultValue:p,displayName:"提示显示时间 (秒)",slider:{min:f,max:y,step:m},hidden:!1};let C=!1,j=null;const O=(0,n.defineComponentMetadata)({author:{name:"weedy233",link:"https://github.com/weedy233"},name:"videoScaling",displayName:"视频缩放",description:x,tags:[componentsTags.video],instantStyles:[{name:"videoScaling",style:()=>Promise.resolve().then(r.t.bind(r,833,23))}],options:{scalePreset:{defaultValue:"100%",displayName:"缩放比例",dropdownEnum:[...s]},customScale:B,showToast:{defaultValue:!0,displayName:"显示缩放提示"},toastDuration:S,showControlBarButton:{defaultValue:!0,displayName:"显示控制栏按钮"}},entry:async n=>{let{settings:r}=n;const i=new b,a=Date.now();let l=a;S.hidden=!r.options.showToast;const d=async e=>{try{await g(e);const t=Date.now(),n=t-a>=3e3,o=t-l>=3e3;r.options.showToast&&100!==e&&n&&o&&function(e,t){try{let n=document.querySelector(`.${v}`);n||(n=document.createElement("div"),n.className=v);const o=dq("video")||dq("bwp-video");if(o){n.parentNode!==document.body&&document.body.appendChild(n);const t=o.getBoundingClientRect();n.style.cssText=`\n position: fixed;\n top: ${t.top+t.height/2}px;\n left: ${t.left+t.width/2}px;\n transform: translate(-50%, -50%);\n background-color: rgba(0, 0, 0, 0.7);\n color: white;\n padding: 8px 16px;\n border-radius: 4px;\n z-index: 9999;\n font-size: 16px;\n pointer-events: none;\n `,n.textContent=`缩放: ${Math.round(100*e)}%`,n.timeoutId&&clearTimeout(n.timeoutId)}const r=1e3*t;n.timeoutId=setTimeout((()=>{n.remove()}),r)}catch(e){w("显示缩放提示",e)}}(e,r.options.toastDuration)}catch(e){w("应用缩放和显示提示",e)}},u=async()=>{try{const e=r.options.scalePreset;B.hidden="自定义"!==e;const t=A(e,r.options.customScale,i);await d(t)}catch(e){w("根据设置更新缩放",e)}};(0,e.addComponentListener)("videoScaling.scalePreset",u),(0,e.addComponentListener)("videoScaling.customScale",(async e=>{try{const t=r.options.scalePreset;if("自定义"===t){const n=A(t,e,i);await d(n)}}catch(e){w("处理自定义缩放变化",e)}})),(0,e.addComponentListener)("videoScaling.showToast",(e=>{S.hidden=!e}));try{await u()}catch(e){w("初始化视频缩放",e)}try{(0,t.videoChange)((async()=>{try{l=Date.now(),await u()}catch(e){w("重置视频缩放",e)}}))}catch(e){w("导入observer",e)}j=async e=>{try{e&&!C?(await(0,o.addControlBarButton)({name:"videoScaling",displayName:"视频缩放",icon:"mdi-magnify",order:100,action:async()=>{try{const e=i.get(),t=s.filter((e=>"自定义"!==e));let n=-1;for(let o=0;o{document.querySelectorAll(`.${v}`).forEach((e=>{const t=e;t.timeoutId&&clearTimeout(t.timeoutId),e.remove()}))},reload:async()=>{const t=(0,e.getComponentSettings)("videoScaling");t&&t.options.scalePreset&&t.options.scalePreset&&"string"==typeof t.options.scalePreset&&t.options.scalePreset in c&&await g(c[t.options.scalePreset])},commitHash:"58c0b438ca2371e397f70466a91572cb2757b142",coreVersion:"2.10.7",description:(()=>{const e=r(825);return{...Object.fromEntries(e.keys().map((t=>[t.match(/index\.(.+)\.md$/)[1],e(t)]))),"zh-CN":()=>Promise.resolve().then(r.t.bind(r,290,17)).then((e=>e.default))}})()})})(),i=i.component})())); +var i=btoa(unescape(encodeURIComponent(JSON.stringify(r)))),a="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(i),s="/*# ".concat(a," */"),c=r.sources.map((function(e){return"/*# sourceURL=".concat(r.sourceRoot||"").concat(e," */")}));return[o].concat(c).concat([s]).join("\n")}return[o].join("\n")}},833:(e,t,n)=>{var o=n(147);o&&o.__esModule&&(o=o.default),e.exports="string"==typeof o?o:o.toString()},825:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=825,e.exports=t},290:e=>{"use strict";e.exports='> 允许调整视频的显示缩放比例,让您根据屏幕大小和个人偏好自定义视频播放体验。\n\n#### 🔧 **选项**\n\n- \\`缩放比例\\`:选择预设的视频缩放比例,包括 75%、100%(默认)、110%、125%、150% 以及自定义选项。\n\n- \\`自定义缩放比 (%)\\`:当选择 "自定义" 选项时显示,可在 50%-300% 范围内以 10% 为步长自由调整缩放比例。\n\n- \\`显示缩放提示\\`:启用后,在调整缩放比例时会显示短暂提示,告知当前缩放比例。\n\n- \\`提示显示时间 (秒)\\`:控制缩放提示的显示时长,可在 0.5-5 秒范围内以 0.5 秒为步长调整。\n\n- \\`显示控制栏按钮\\`:在播放器控制栏添加一个缩放按钮,点击可循环切换预设的缩放比例。\n\n#### **使用方法**\n\n1. **通过设置面板**:在组件设置中直接选择预设的缩放比例,或选择 "自定义" 后调整滑动条设置特定比例。\n\n2. **通过控制栏按钮**:如果启用了控制栏按钮,点击播放器控制栏上的缩放图标(放大镜图标)可循环切换预设缩放比例。\n\n#### **注意事项**\n\n- 视频切换时,缩放比例会自动重置为当前设置的值。\n- 过高的缩放比例可能导致视频内容超出屏幕范围,建议根据实际屏幕尺寸适当调整。\n'}},o={};function r(e){var t=o[e];if(void 0!==t)return t.exports;var i=o[e]={id:e,exports:{}};return n[e](i,i.exports,r),i.exports}t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,r.t=function(n,o){if(1&o&&(n=this(n)),8&o)return n;if("object"==typeof n&&n){if(4&o&&n.__esModule)return n;if(16&o&&"function"==typeof n.then)return n}var i=Object.create(null);r.r(i);var a={};e=e||[null,t({}),t([]),t(t)];for(var s=2&o&&n;"object"==typeof s&&!~e.indexOf(s);s=t(s))Object.getOwnPropertyNames(s).forEach((e=>a[e]=()=>n[e]));return a.default=()=>n,r.d(i,a),i},r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var i={};return(()=>{"use strict";r.d(i,{component:()=>O});const e=coreApis.settings,t=coreApis.observer,n=coreApis.componentApis.define,o=coreApis.componentApis.video.videoControlBar,a=coreApis.componentApis.video.playerAgent,s=["75%","100%","110%","125%","150%","自定义"],c={"75%":.75,"100%":1,"110%":1.1,"125%":1.25,"150%":1.5,自定义:1},l=50,d=300,u=10,p=1.5,f=.5,y=5,m=.5,v="be-video-scale-toast";function h(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!=typeof o)return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}class b{constructor(){h(this,"currentScale",1)}get(){return this.currentScale}set(e){this.currentScale=e}}async function g(e){try{const t=await a.playerAgent.query.video.element();t&&(t.style.transform=`scale(${e})`,t.style.transformOrigin="center")}catch(e){console.error("视频缩放: 无法获取视频元素",e)}}function A(e,t,n){if("自定义"===e){const e=Math.max(l,Math.min(d,t));n.set(e/100)}else n.set(c[e]);return n.get()}function w(e,t){console.error(`${e}失败`,t)}var x=r(290);const B={defaultValue:100,displayName:"自定义缩放比 (%)",slider:{min:l,max:d,step:u},formatValue:e=>e,hidden:!0},S={defaultValue:p,displayName:"提示显示时间 (秒)",slider:{min:f,max:y,step:m},hidden:!1};let C=!1,j=null;const O=(0,n.defineComponentMetadata)({author:{name:"weedy233",link:"https://github.com/weedy233"},name:"videoScaling",displayName:"视频缩放",description:x,tags:[componentsTags.video],instantStyles:[{name:"videoScaling",style:()=>Promise.resolve().then(r.t.bind(r,833,23))}],options:{scalePreset:{defaultValue:"100%",displayName:"缩放比例",dropdownEnum:[...s]},customScale:B,showToast:{defaultValue:!0,displayName:"显示缩放提示"},toastDuration:S,showControlBarButton:{defaultValue:!0,displayName:"显示控制栏按钮"}},entry:async n=>{let{settings:r}=n;const i=new b,a=Date.now();let l=a;S.hidden=!r.options.showToast;const d=async e=>{try{await g(e);const t=Date.now(),n=t-a>=3e3,o=t-l>=3e3;r.options.showToast&&100!==e&&n&&o&&function(e,t){try{let n=document.querySelector(`.${v}`);n||(n=document.createElement("div"),n.className=v);const o=dq("video")||dq("bwp-video");if(o){n.parentNode!==document.body&&document.body.appendChild(n);const t=o.getBoundingClientRect();n.style.cssText=`\n position: fixed;\n top: ${t.top+t.height/2}px;\n left: ${t.left+t.width/2}px;\n transform: translate(-50%, -50%);\n background-color: rgba(0, 0, 0, 0.7);\n color: white;\n padding: 8px 16px;\n border-radius: 4px;\n z-index: 9999;\n font-size: 16px;\n pointer-events: none;\n `,n.textContent=`缩放: ${Math.round(100*e)}%`,n.timeoutId&&clearTimeout(n.timeoutId)}const r=1e3*t;n.timeoutId=setTimeout((()=>{n.remove()}),r)}catch(e){w("显示缩放提示",e)}}(e,r.options.toastDuration)}catch(e){w("应用缩放和显示提示",e)}},u=async()=>{try{const e=r.options.scalePreset;B.hidden="自定义"!==e;const t=A(e,r.options.customScale,i);await d(t)}catch(e){w("根据设置更新缩放",e)}};(0,e.addComponentListener)("videoScaling.scalePreset",u),(0,e.addComponentListener)("videoScaling.customScale",(async e=>{try{const t=r.options.scalePreset;if("自定义"===t){const n=A(t,e,i);await d(n)}}catch(e){w("处理自定义缩放变化",e)}})),(0,e.addComponentListener)("videoScaling.showToast",(e=>{S.hidden=!e}));try{await u()}catch(e){w("初始化视频缩放",e)}try{(0,t.videoChange)((async()=>{try{l=Date.now(),await u()}catch(e){w("重置视频缩放",e)}}))}catch(e){w("导入observer",e)}j=async e=>{try{e&&!C?(await(0,o.addControlBarButton)({name:"videoScaling",displayName:"视频缩放",icon:"mdi-magnify",order:100,action:async()=>{try{const e=i.get(),t=s.filter((e=>"自定义"!==e));let n=-1;for(let o=0;o{document.querySelectorAll(`.${v}`).forEach((e=>{const t=e;t.timeoutId&&clearTimeout(t.timeoutId),e.remove()}))},reload:async()=>{const t=(0,e.getComponentSettings)("videoScaling");t&&t.options.scalePreset&&t.options.scalePreset&&"string"==typeof t.options.scalePreset&&t.options.scalePreset in c&&await g(c[t.options.scalePreset])},commitHash:"d87d69cfb9d7e0124bd90a06fec4569bd61e02c5",coreVersion:"2.10.7",description:(()=>{const e=r(825);return{...Object.fromEntries(e.keys().map((t=>[t.match(/index\.(.+)\.md$/)[1],e(t)]))),"zh-CN":()=>Promise.resolve().then(r.t.bind(r,290,17)).then((e=>e.default))}})()})})(),i=i.component})())); //# sourceMappingURL=https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/registry/dist/components/video/player/video-scaling.js.map \ No newline at end of file diff --git a/bb-evolved/registry/dist/components/video/quick-favorite.js b/bb-evolved/registry/dist/components/video/quick-favorite.js index 77a43e80d4..b41e422c07 100644 --- a/bb-evolved/registry/dist/components/video/quick-favorite.js +++ b/bb-evolved/registry/dist/components/video/quick-favorite.js @@ -11,5 +11,5 @@ var a=this[o][0];null!=a&&(i[a]=!0)}for(var r=0;r{"use strict";var n,i=function(){return void 0===n&&( // @see http://browserhacks.com/#hack-e71d8692f65334173fee715c222cb805 // @see https://github.com/webpack-contrib/style-loader/issues/177 -n=Boolean(window&&document&&document.all&&!window.atob)),n},o=function(){var A={};return function(t){if(void 0===A[t]){var e=document.querySelector(t);if(window.HTMLIFrameElement&&e instanceof window.HTMLIFrameElement)try{e=e.contentDocument.head}catch(A){e=null}A[t]=e}return A[t]}}(),a=[];function r(A){for(var t=-1,e=0;e{"use strict";e.r(t),e.d(t,{default:()=>C});var n=function(){var A=this,t=A._self._c;A._self._setupProxy;return t("span",{staticClass:"quick-favorite be-quick-favorite video-toolbar-left-item",class:{on:A.isFavorite,...A.displayModeClass},attrs:{title:"快速收藏"},on:{click:function(t){return!t.type.indexOf("key")&&A._k(t.keyCode,"left",37,t.key,["Left","ArrowLeft"])||"button"in t&&0!==t.button||t.target!==t.currentTarget?null:A.toggle()},contextmenu:function(t){if(t.preventDefault(),t.target!==t.currentTarget)return null;A.listShowing=!A.listShowing}}},[t("i",{staticClass:"quick-favorite-icon icon",on:{click:function(t){return!t.type.indexOf("key")&&A._k(t.keyCode,"left",37,t.key,["Left","ArrowLeft"])||"button"in t&&0!==t.button?null:A.toggle()},contextmenu:function(t){t.preventDefault(),A.listShowing=!A.listShowing}}}),A._v(" "),t("div",{staticClass:"text",on:{click:function(t){return!t.type.indexOf("key")&&A._k(t.keyCode,"left",37,t.key,["Left","ArrowLeft"])||"button"in t&&0!==t.button?null:A.toggle()},contextmenu:function(t){t.preventDefault(),A.listShowing=!A.listShowing}}},[A._v("\n 快速收藏\n ")]),A._v(" "),t("div",{ref:"selectList",staticClass:"select-list",class:{show:A.listShowing}},[t("div",{staticClass:"lists"},[A._v("\n 选择快速收藏夹:\n "),t("VDropdown",{attrs:{items:A.list,"key-mapper":A=>A.id},on:{change:A.saveFavoriteList},model:{value:A.selectedFavoriteList,callback:function(t){A.selectedFavoriteList=t},expression:"selectedFavoriteList"}})],1),A._v(" "),t("div",{staticClass:"lists-tip",class:{show:A.listShowing}},[A._v("右键点击快速收藏可再次打开")])]),A._v(" "),t("div",{staticClass:"tip",class:{show:A.tipShowing}},[A._v(A._s(A.tipText))])])};n._withStripped=!0;const i=coreApis.settings,o=coreApis.ajax;var a=e(847);const r=coreApis.utils.log,s=coreApis.toast,c=coreApis.ui;var l=e(921);const{options:d}=(0,i.getComponentSettings)("quickFavorite"),p={id:0,displayName:"<未选择>"},u=Vue.extend({components:{VDropdown:c.VDropdown},data(){const{displayMode:A}=(0,i.getComponentSettings)("outerWatchlater").options;return{aid:unsafeWindow.aid,isFavorite:!1,tipText:"",tipShowing:!1,tipHandle:0,list:[],selectedFavoriteList:p,listShowing:!1,displayMode:A}},computed:{displayModeClass(){return{"icon-only":this.displayMode===l.q.Icon,"icon-and-text":this.displayMode===l.q.IconAndText}}},watch:{async listShowing(A){A&&(document.addEventListener("click",(A=>{const t=this.$el,e=A.target;e===t||t.contains(e)||(this.listShowing=!1)})),0===this.list.length&&this.loadFavoriteList())}},created(){this.loadSavedList(),(0,i.addComponentListener)("quickFavorite.displayMode",(A=>{this.displayMode=A}))},methods:{async loadFavoriteList(){try{const A=await(0,o.getJsonWithCredentials)(`https://api.bilibili.com/medialist/gateway/base/created?pn=1&ps=100&up_mid=${(0,a.getUID)()}&is_space=0`);if(0!==A.code)throw new Error(`获取收藏夹列表失败: ${A.message}`);const t=lodash.get(A,"data.list",[]);this.list=t.map((A=>({id:A.id,displayName:A.title})))}catch(A){(0,r.logError)(A)}},async loadSavedList(){try{const A=await(0,o.getJsonWithCredentials)(`https://api.bilibili.com/x/v3/fav/folder/created/list-all?type=2&rid=${this.aid}&up_mid=${(0,a.getUID)()}`);if(0!==A.code)throw new Error(`获取收藏状态失败: ${A.message}`);const t=lodash.get(A,"data.list",[]).find((A=>A.id===d.favoriteFolderID));if(void 0===t)return void(d.favoriteFolderID=0);this.isFavorite=Boolean(t.fav_state),this.selectedFavoriteList={id:t.id,displayName:t.title}}catch(A){(0,r.logError)(A)}},saveFavoriteList(A){d.favoriteFolderID=A.id,this.syncFavoriteState()},async syncFavoriteState(){if(0!==d.favoriteFolderID&&this.aid)try{const A=await(0,o.getJsonWithCredentials)(`https://api.bilibili.com/x/v3/fav/folder/created/list-all?type=2&rid=${this.aid}&up_mid=${(0,a.getUID)()}`);if(0!==A.code)throw new Error(`获取收藏状态失败: ${A.message}`);const t=lodash.get(A,"data.list",[]).find((A=>A.id===d.favoriteFolderID));if(void 0===t)return void(d.favoriteFolderID=0);this.isFavorite=Boolean(t.fav_state),this.selectedFavoriteList={id:t.id,displayName:t.title}}catch(A){(0,r.logError)(A)}},showTip(A){this.tipText=A,this.tipShowing=!0,this.tipHandle&&clearTimeout(this.tipHandle),this.tipHandle=setTimeout((()=>{this.tipShowing=!1}),2e3)},async toggle(){if(0===d.favoriteFolderID)return void(this.listShowing=!0);const A={rid:this.aid,type:2,add_media_ids:"",del_media_ids:"",csrf:(0,a.getCsrf)()};A[this.isFavorite?"del_media_ids":"add_media_ids"]=d.favoriteFolderID.toString();try{const t=new Request("https://api.bilibili.com/x/v3/fav/resource/deal",{method:"POST",body:Object.entries(A).map((A=>{let[t,e]=A;return`${t}=${encodeURIComponent(e)}`})).join("&"),headers:{"Content-Type":"application/x-www-form-urlencoded"},credentials:"include"}),e=await(await fetch(t)).json();if(0!==e.code)throw new Error(e.message);this.isFavorite=!this.isFavorite,this.showTip(this.isFavorite?`已添加至收藏夹: ${this.selectedFavoriteList.displayName}`:`已移出收藏夹: ${this.selectedFavoriteList.displayName}`)}catch(A){s.Toast.error(`快速收藏失败: ${A.message}`,"快速收藏"),console.error(A)}}}});var f=e(991),B=e.n(f),v=e(841),g=e.n(v),m={insert:"head",singleton:!1};B()(g(),m);g().locals;var h=function(A,t,e,n,i,o,a,r){var s,c="function"==typeof A?A.options:A;if(t&&(c.render=t,c.staticRenderFns=e,c._compiled=!0),n&&(c.functional=!0),o&&(c._scopeId="data-v-"+o),a?(s=function(A){(A=A||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(A=__VUE_SSR_CONTEXT__),i&&i.call(this,A),A&&A._registeredComponents&&A._registeredComponents.add(a)},c._ssrRegister=s):i&&(s=r?function(){i.call(this,(c.functional?this.parent:this).$root.$options.shadowRoot)}:i),s)if(c.functional){c._injectStyles=s;var l=c.render;c.render=function(A,t){return s.call(t),l(A,t)}}else{var d=c.beforeCreate;c.beforeCreate=d?[].concat(d,s):[s]}return{exports:A,options:c}}(u,n,[],!1,null,"1a513beb",null);const C=h.exports},253:A=>{"use strict";A.exports=coreApis.componentApis.define},847:A=>{"use strict";A.exports=coreApis.utils}},t={};function e(n){var i=t[n];if(void 0!==i)return i.exports;var o=t[n]={id:n,exports:{}};return A[n](o,o.exports,e),o.exports}e.n=A=>{var t=A&&A.__esModule?()=>A.default:()=>A;return e.d(t,{a:t}),t},e.d=(A,t)=>{for(var n in t)e.o(t,n)&&!e.o(A,n)&&Object.defineProperty(A,n,{enumerable:!0,get:t[n]})},e.o=(A,t)=>Object.prototype.hasOwnProperty.call(A,t),e.r=A=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(A,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(A,"__esModule",{value:!0})},e.nc=void 0;var n={};return(()=>{"use strict";e.d(n,{component:()=>s});var A=e(253),t=e(847);const i=coreApis.utils.urls,o=coreApis.componentApis.video.videoActions,a=coreApis.observer;var r=e(921);const s=(0,A.defineComponentMetadata)({name:"quickFavorite",displayName:"启用快速收藏",description:{"zh-CN":"启用快速收藏, 在视频页面可以一键收藏到设定的某个收藏夹. 首次启动时或者右键点击快速收藏图标可以配置快速收藏夹. 请注意如果在在收藏夹播放页面仍然显示, 是不会实时同步右侧的播放列表的."},entry:async A=>{let{settings:n}=A;if(i.favoriteListUrls.some(t.matchUrlPattern)&&!n.options.showInFavoritePages)return;if(!(0,t.getUID)())return;const r=await Promise.resolve().then(e.bind(e,869)),s=(0,t.mountVueComponent)(r);await(0,o.addVideoActionButton)((()=>s.$el)),(0,a.videoChange)((()=>{s.aid=unsafeWindow.aid,s.syncFavoriteState()}))},unload:()=>{dqa(".be-quick-favorite").forEach((A=>A.style.display=""))},reload:()=>{dqa(".be-quick-favorite").forEach((A=>A.style.display="inline-block"))},urlInclude:i.videoUrls,tags:[componentsTags.video],options:r.f,plugin:{displayName:"快速收藏 - 快捷键支持",setup:A=>{let{addData:t}=A;t("keymap.actions",(A=>{A.quickFavorite={displayName:"快速收藏",run:A=>{const{clickElement:t}=A;return t(".be-quick-favorite",A)}}})),t("keymap.presets",(A=>{A.quickFavorite="shift s"}))}},commitHash:"58c0b438ca2371e397f70466a91572cb2757b142",coreVersion:"2.10.7"})})(),n=n.component})())); +n=Boolean(window&&document&&document.all&&!window.atob)),n},o=function(){var A={};return function(t){if(void 0===A[t]){var e=document.querySelector(t);if(window.HTMLIFrameElement&&e instanceof window.HTMLIFrameElement)try{e=e.contentDocument.head}catch(A){e=null}A[t]=e}return A[t]}}(),a=[];function r(A){for(var t=-1,e=0;e{"use strict";e.r(t),e.d(t,{default:()=>C});var n=function(){var A=this,t=A._self._c;A._self._setupProxy;return t("span",{staticClass:"quick-favorite be-quick-favorite video-toolbar-left-item",class:{on:A.isFavorite,...A.displayModeClass},attrs:{title:"快速收藏"},on:{click:function(t){return!t.type.indexOf("key")&&A._k(t.keyCode,"left",37,t.key,["Left","ArrowLeft"])||"button"in t&&0!==t.button||t.target!==t.currentTarget?null:A.toggle()},contextmenu:function(t){if(t.preventDefault(),t.target!==t.currentTarget)return null;A.listShowing=!A.listShowing}}},[t("i",{staticClass:"quick-favorite-icon icon",on:{click:function(t){return!t.type.indexOf("key")&&A._k(t.keyCode,"left",37,t.key,["Left","ArrowLeft"])||"button"in t&&0!==t.button?null:A.toggle()},contextmenu:function(t){t.preventDefault(),A.listShowing=!A.listShowing}}}),A._v(" "),t("div",{staticClass:"text",on:{click:function(t){return!t.type.indexOf("key")&&A._k(t.keyCode,"left",37,t.key,["Left","ArrowLeft"])||"button"in t&&0!==t.button?null:A.toggle()},contextmenu:function(t){t.preventDefault(),A.listShowing=!A.listShowing}}},[A._v("\n 快速收藏\n ")]),A._v(" "),t("div",{ref:"selectList",staticClass:"select-list",class:{show:A.listShowing}},[t("div",{staticClass:"lists"},[A._v("\n 选择快速收藏夹:\n "),t("VDropdown",{attrs:{items:A.list,"key-mapper":A=>A.id},on:{change:A.saveFavoriteList},model:{value:A.selectedFavoriteList,callback:function(t){A.selectedFavoriteList=t},expression:"selectedFavoriteList"}})],1),A._v(" "),t("div",{staticClass:"lists-tip",class:{show:A.listShowing}},[A._v("右键点击快速收藏可再次打开")])]),A._v(" "),t("div",{staticClass:"tip",class:{show:A.tipShowing}},[A._v(A._s(A.tipText))])])};n._withStripped=!0;const i=coreApis.settings,o=coreApis.ajax;var a=e(847);const r=coreApis.utils.log,s=coreApis.toast,c=coreApis.ui;var l=e(921);const{options:d}=(0,i.getComponentSettings)("quickFavorite"),p={id:0,displayName:"<未选择>"},u=Vue.extend({components:{VDropdown:c.VDropdown},data(){const{displayMode:A}=(0,i.getComponentSettings)("outerWatchlater").options;return{aid:unsafeWindow.aid,isFavorite:!1,tipText:"",tipShowing:!1,tipHandle:0,list:[],selectedFavoriteList:p,listShowing:!1,displayMode:A}},computed:{displayModeClass(){return{"icon-only":this.displayMode===l.q.Icon,"icon-and-text":this.displayMode===l.q.IconAndText}}},watch:{async listShowing(A){A&&(document.addEventListener("click",(A=>{const t=this.$el,e=A.target;e===t||t.contains(e)||(this.listShowing=!1)})),0===this.list.length&&this.loadFavoriteList())}},created(){this.loadSavedList(),(0,i.addComponentListener)("quickFavorite.displayMode",(A=>{this.displayMode=A}))},methods:{async loadFavoriteList(){try{const A=await(0,o.getJsonWithCredentials)(`https://api.bilibili.com/medialist/gateway/base/created?pn=1&ps=100&up_mid=${(0,a.getUID)()}&is_space=0`);if(0!==A.code)throw new Error(`获取收藏夹列表失败: ${A.message}`);const t=lodash.get(A,"data.list",[]);this.list=t.map((A=>({id:A.id,displayName:A.title})))}catch(A){(0,r.logError)(A)}},async loadSavedList(){try{const A=await(0,o.getJsonWithCredentials)(`https://api.bilibili.com/x/v3/fav/folder/created/list-all?type=2&rid=${this.aid}&up_mid=${(0,a.getUID)()}`);if(0!==A.code)throw new Error(`获取收藏状态失败: ${A.message}`);const t=lodash.get(A,"data.list",[]).find((A=>A.id===d.favoriteFolderID));if(void 0===t)return void(d.favoriteFolderID=0);this.isFavorite=Boolean(t.fav_state),this.selectedFavoriteList={id:t.id,displayName:t.title}}catch(A){(0,r.logError)(A)}},saveFavoriteList(A){d.favoriteFolderID=A.id,this.syncFavoriteState()},async syncFavoriteState(){if(0!==d.favoriteFolderID&&this.aid)try{const A=await(0,o.getJsonWithCredentials)(`https://api.bilibili.com/x/v3/fav/folder/created/list-all?type=2&rid=${this.aid}&up_mid=${(0,a.getUID)()}`);if(0!==A.code)throw new Error(`获取收藏状态失败: ${A.message}`);const t=lodash.get(A,"data.list",[]).find((A=>A.id===d.favoriteFolderID));if(void 0===t)return void(d.favoriteFolderID=0);this.isFavorite=Boolean(t.fav_state),this.selectedFavoriteList={id:t.id,displayName:t.title}}catch(A){(0,r.logError)(A)}},showTip(A){this.tipText=A,this.tipShowing=!0,this.tipHandle&&clearTimeout(this.tipHandle),this.tipHandle=setTimeout((()=>{this.tipShowing=!1}),2e3)},async toggle(){if(0===d.favoriteFolderID)return void(this.listShowing=!0);const A={rid:this.aid,type:2,add_media_ids:"",del_media_ids:"",csrf:(0,a.getCsrf)()};A[this.isFavorite?"del_media_ids":"add_media_ids"]=d.favoriteFolderID.toString();try{const t=new Request("https://api.bilibili.com/x/v3/fav/resource/deal",{method:"POST",body:Object.entries(A).map((A=>{let[t,e]=A;return`${t}=${encodeURIComponent(e)}`})).join("&"),headers:{"Content-Type":"application/x-www-form-urlencoded"},credentials:"include"}),e=await(await fetch(t)).json();if(0!==e.code)throw new Error(e.message);this.isFavorite=!this.isFavorite,this.showTip(this.isFavorite?`已添加至收藏夹: ${this.selectedFavoriteList.displayName}`:`已移出收藏夹: ${this.selectedFavoriteList.displayName}`)}catch(A){s.Toast.error(`快速收藏失败: ${A.message}`,"快速收藏"),console.error(A)}}}});var f=e(991),B=e.n(f),v=e(841),g=e.n(v),m={insert:"head",singleton:!1};B()(g(),m);g().locals;var h=function(A,t,e,n,i,o,a,r){var s,c="function"==typeof A?A.options:A;if(t&&(c.render=t,c.staticRenderFns=e,c._compiled=!0),n&&(c.functional=!0),o&&(c._scopeId="data-v-"+o),a?(s=function(A){(A=A||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(A=__VUE_SSR_CONTEXT__),i&&i.call(this,A),A&&A._registeredComponents&&A._registeredComponents.add(a)},c._ssrRegister=s):i&&(s=r?function(){i.call(this,(c.functional?this.parent:this).$root.$options.shadowRoot)}:i),s)if(c.functional){c._injectStyles=s;var l=c.render;c.render=function(A,t){return s.call(t),l(A,t)}}else{var d=c.beforeCreate;c.beforeCreate=d?[].concat(d,s):[s]}return{exports:A,options:c}}(u,n,[],!1,null,"1a513beb",null);const C=h.exports},253:A=>{"use strict";A.exports=coreApis.componentApis.define},847:A=>{"use strict";A.exports=coreApis.utils}},t={};function e(n){var i=t[n];if(void 0!==i)return i.exports;var o=t[n]={id:n,exports:{}};return A[n](o,o.exports,e),o.exports}e.n=A=>{var t=A&&A.__esModule?()=>A.default:()=>A;return e.d(t,{a:t}),t},e.d=(A,t)=>{for(var n in t)e.o(t,n)&&!e.o(A,n)&&Object.defineProperty(A,n,{enumerable:!0,get:t[n]})},e.o=(A,t)=>Object.prototype.hasOwnProperty.call(A,t),e.r=A=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(A,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(A,"__esModule",{value:!0})},e.nc=void 0;var n={};return(()=>{"use strict";e.d(n,{component:()=>s});var A=e(253),t=e(847);const i=coreApis.utils.urls,o=coreApis.componentApis.video.videoActions,a=coreApis.observer;var r=e(921);const s=(0,A.defineComponentMetadata)({name:"quickFavorite",displayName:"启用快速收藏",description:{"zh-CN":"启用快速收藏, 在视频页面可以一键收藏到设定的某个收藏夹. 首次启动时或者右键点击快速收藏图标可以配置快速收藏夹. 请注意如果在在收藏夹播放页面仍然显示, 是不会实时同步右侧的播放列表的."},entry:async A=>{let{settings:n}=A;if(i.favoriteListUrls.some(t.matchUrlPattern)&&!n.options.showInFavoritePages)return;if(!(0,t.getUID)())return;const r=await Promise.resolve().then(e.bind(e,869)),s=(0,t.mountVueComponent)(r);await(0,o.addVideoActionButton)((()=>s.$el)),(0,a.videoChange)((()=>{s.aid=unsafeWindow.aid,s.syncFavoriteState()}))},unload:()=>{dqa(".be-quick-favorite").forEach((A=>A.style.display=""))},reload:()=>{dqa(".be-quick-favorite").forEach((A=>A.style.display="inline-block"))},urlInclude:i.videoUrls,tags:[componentsTags.video],options:r.f,plugin:{displayName:"快速收藏 - 快捷键支持",setup:A=>{let{addData:t}=A;t("keymap.actions",(A=>{A.quickFavorite={displayName:"快速收藏",run:A=>{const{clickElement:t}=A;return t(".be-quick-favorite",A)}}})),t("keymap.presets",(A=>{A.quickFavorite="shift s"}))}},commitHash:"d87d69cfb9d7e0124bd90a06fec4569bd61e02c5",coreVersion:"2.10.7"})})(),n=n.component})())); //# sourceMappingURL=https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/registry/dist/components/video/quick-favorite.js.map \ No newline at end of file diff --git a/bb-evolved/registry/dist/components/video/seo-redirect.js b/bb-evolved/registry/dist/components/video/seo-redirect.js index 406da9c966..09e9ebc389 100644 --- a/bb-evolved/registry/dist/components/video/seo-redirect.js +++ b/bb-evolved/registry/dist/components/video/seo-redirect.js @@ -1,2 +1,2 @@ -!function(e,o){"object"==typeof exports&&"object"==typeof module?module.exports=o():"function"==typeof define&&define.amd?define([],o):"object"==typeof exports?exports["video/seo-redirect"]=o():e["video/seo-redirect"]=o()}(globalThis,(()=>(()=>{"use strict";var e={d:(o,t)=>{for(var i in t)e.o(t,i)&&!e.o(o,i)&&Object.defineProperty(o,i,{enumerable:!0,get:t[i]})},o:(e,o)=>Object.prototype.hasOwnProperty.call(e,o)},o={};e.d(o,{component:()=>t});const t=(0,coreApis.componentApis.define.defineComponentMetadata)({name:"seoRedirect",displayName:"SEO 页面重定向",entry:()=>{window.location.assign(document.URL.replace("/s/","/"))},urlInclude:["//www.bilibili.com/s/video/"],tags:[componentsTags.video],description:{"zh-CN":"进入 SEO 视频页面时 (`https://www.bilibili.com/s/video/`) 自动跳转到原视频页面."},commitHash:"58c0b438ca2371e397f70466a91572cb2757b142",coreVersion:"2.10.7"});return o=o.component})())); +!function(e,o){"object"==typeof exports&&"object"==typeof module?module.exports=o():"function"==typeof define&&define.amd?define([],o):"object"==typeof exports?exports["video/seo-redirect"]=o():e["video/seo-redirect"]=o()}(globalThis,(()=>(()=>{"use strict";var e={d:(o,t)=>{for(var i in t)e.o(t,i)&&!e.o(o,i)&&Object.defineProperty(o,i,{enumerable:!0,get:t[i]})},o:(e,o)=>Object.prototype.hasOwnProperty.call(e,o)},o={};e.d(o,{component:()=>t});const t=(0,coreApis.componentApis.define.defineComponentMetadata)({name:"seoRedirect",displayName:"SEO 页面重定向",entry:()=>{window.location.assign(document.URL.replace("/s/","/"))},urlInclude:["//www.bilibili.com/s/video/"],tags:[componentsTags.video],description:{"zh-CN":"进入 SEO 视频页面时 (`https://www.bilibili.com/s/video/`) 自动跳转到原视频页面."},commitHash:"d87d69cfb9d7e0124bd90a06fec4569bd61e02c5",coreVersion:"2.10.7"});return o=o.component})())); //# sourceMappingURL=https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/registry/dist/components/video/seo-redirect.js.map \ No newline at end of file diff --git a/bb-evolved/registry/dist/components/video/subtitle/download.js b/bb-evolved/registry/dist/components/video/subtitle/download.js index b044101743..25baec8ae1 100644 --- a/bb-evolved/registry/dist/components/video/subtitle/download.js +++ b/bb-evolved/registry/dist/components/video/subtitle/download.js @@ -11,5 +11,5 @@ var a=this[r][0];null!=a&&(i[a]=!0)}for(var s=0;s{"use strict";var o,i=function(){return void 0===o&&( // @see http://browserhacks.com/#hack-e71d8692f65334173fee715c222cb805 // @see https://github.com/webpack-contrib/style-loader/issues/177 -o=Boolean(window&&document&&document.all&&!window.atob)),o},r=function(){var e={};return function(t){if(void 0===e[t]){var n=document.querySelector(t);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}e[t]=n}return e[t]}}(),a=[];function s(e){for(var t=-1,n=0;n{"use strict";n.r(t),n.d(t,{default:()=>y});var o=function(){var e=this,t=e._self._c,n=e._self._setupProxy;return n.folded?t("div",[t(n.DefaultWidget,{attrs:{name:"下载字幕",icon:"mdi-subtitles"},on:{click:function(e){return n.expandDownloadOptions()}}})],1):t("div",{staticClass:"subtitle-download"},[t("div",{staticClass:"subtitle-download-header"},[t("div",{staticClass:"subtitle-download-title"},[t(n.VIcon,{attrs:{size:24,icon:"mdi-subtitles"}}),e._v(" "),t("span",[e._v("下载字幕")])],1),e._v(" "),t(n.VButton,{attrs:{round:"",icon:"",type:"transparent"},on:{click:function(e){n.folded=!0}}},[t(n.VIcon,{attrs:{size:18,icon:"mdi-close"}})],1)],1),e._v(" "),n.subtitleLanguageOptions.length>0?t("div",{staticClass:"subtitle-download-language"},[t("div",{},[e._v("语言:")]),e._v(" "),t(n.VDropdown,{attrs:{items:n.subtitleLanguageOptions,disabled:n.disabled},model:{value:n.selectedLanguage,callback:function(e){n.selectedLanguage=e},expression:"selectedLanguage"}})],1):e._e(),e._v(" "),t("div",{staticClass:"subtitle-download-formats"},[t(n.DefaultWidget,{attrs:{disabled:n.disabled,name:"下载 JSON",icon:"mdi-download"},on:{click:function(e){return n.download("json")}}}),e._v(" "),t(n.DefaultWidget,{attrs:{disabled:n.disabled,name:"下载 ASS",icon:"mdi-download"},on:{click:function(e){return n.download("ass")}}})],1)])};o._withStripped=!0;const i=globalThis.Vue;var r=n(164);const a=coreApis.utils.log;var s=n(121);const l=coreApis.download;var c=n(890);const d=coreApis.utils.sort;var u=n(5);const f=(0,i.defineComponent)({__name:"DownloadSubtitle",setup(e){const t=(0,i.ref)(!0),n=(0,i.ref)(!1),o=(0,i.ref)([]),f=(0,i.ref)(void 0),p=async()=>(await(0,c.p3)(unsafeWindow.aid,unsafeWindow.cid)).toSorted((0,d.ascendingBigIntSort)((e=>e.id_str))).map((e=>({displayName:0!==e.ai_status?`${e.lan_doc} (AI)`:e.lan_doc,name:e.lan})));Promise.all([p(),(0,c.ZS)()]).then((e=>{let[t,[,n]]=e;o.value=t;const i=t.find((e=>e.name===n));void 0!==i&&(f.value=i)}));return{__sfc:!0,folded:t,disabled:n,subtitleLanguageOptions:o,selectedLanguage:f,getSubtitleLanguageOptions:p,expandDownloadOptions:()=>{0!==o.value.length?t.value=!1:u.Toast.info("当前视频没有字幕.","下载字幕",3e3)},download:async e=>{try{n.value=!0;const t=await(0,c.k7)(e,{language:f.value?.name});if(null===t)return;l.DownloadPackage.single(`${(0,s.getFriendlyTitle)(!0)}.${e}`,t)}catch(e){(0,a.logError)(e)}finally{n.value=!1}},DefaultWidget:r.DefaultWidget,VButton:r.VButton,VDropdown:r.VDropdown,VIcon:r.VIcon}}}),p=f;var g=n(991),b=n.n(g),m=n(603),v=n.n(m),A={insert:"head",singleton:!1};b()(v(),A);v().locals;const y=(0,n(678).A)(p,o,[],!1,null,null,null).exports},263:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>p});var o=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"download-subtitle-config download-video-config-section"},[t("div",{staticClass:"download-video-config-item"},[t("div",{staticClass:"download-video-config-title"},[e._v("字幕:")]),e._v(" "),t("VDropdown",{attrs:{items:e.items},scopedSlots:e._u([{key:"item",fn:function({item:t}){return[e._v("\n "+e._s(t)+"\n ")]}}]),model:{value:e.type,callback:function(t){e.type=t},expression:"type"}})],1)])};o._withStripped=!0;const i=coreApis.settings;var r=n(164);const a=(0,i.getComponentSettings)("downloadVideo").options,s=Vue.extend({components:{VDropdown:r.VDropdown},data:()=>({type:a.subtitleType??"无",items:["无","ass","json"]}),computed:{enabled(){return"无"!==this.type}},watch:{type(e){a.subtitleType=e}}});var l=n(991),c=n.n(l),d=n(363),u=n.n(d),f={insert:"head",singleton:!1};c()(u(),f);u().locals;const p=(0,n(678).A)(s,o,[],!1,null,null,null).exports},678:(e,t,n)=>{"use strict";function o(e,t,n,o,i,r,a,s){var l,c="function"==typeof e?e.options:e;if(t&&(c.render=t,c.staticRenderFns=n,c._compiled=!0),o&&(c.functional=!0),r&&(c._scopeId="data-v-"+r),a?(l=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),i&&i.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(a)},c._ssrRegister=l):i&&(l=s?function(){i.call(this,(c.functional?this.parent:this).$root.$options.shadowRoot)}:i),l)if(c.functional){c._injectStyles=l;var d=c.render;c.render=function(e,t){return l.call(t),d(e,t)}}else{var u=c.beforeCreate;c.beforeCreate=u?[].concat(u,l):[l]}return{exports:e,options:c}}n.d(t,{A:()=>o})},215:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=215,e.exports=t},76:e=>{"use strict";e.exports="启用下载字幕支持, 在视频页面中可从功能面板里下载字幕. (AI 生成的不可下载)\n"},381:e=>{"use strict";e.exports=coreApis.componentApis.video.assUtils},241:e=>{"use strict";e.exports=coreApis.componentApis.video.playerAgent},5:e=>{"use strict";e.exports=coreApis.toast},164:e=>{"use strict";e.exports=coreApis.ui},121:e=>{"use strict";e.exports=coreApis.utils.title}},o={};function i(e){var t=o[e];if(void 0!==t)return t.exports;var r=o[e]={id:e,exports:{}};return n[e](r,r.exports,i),r.exports}i.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return i.d(t,{a:t}),t},t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,i.t=function(n,o){if(1&o&&(n=this(n)),8&o)return n;if("object"==typeof n&&n){if(4&o&&n.__esModule)return n;if(16&o&&"function"==typeof n.then)return n}var r=Object.create(null);i.r(r);var a={};e=e||[null,t({}),t([]),t(t)];for(var s=2&o&&n;"object"==typeof s&&!~e.indexOf(s);s=t(s))Object.getOwnPropertyNames(s).forEach((e=>a[e]=()=>n[e]));return a.default=()=>n,i.d(r,a),r},i.d=(e,t)=>{for(var n in t)i.o(t,n)&&!i.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},i.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),i.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.nc=void 0;var r={};return(()=>{"use strict";i.d(r,{component:()=>s});const e=coreApis.componentApis.define,t=coreApis.spinQuery;var n=i(5);const o=coreApis.utils.urls;var a=i(890);const s=(0,e.defineComponentMetadata)({name:"downloadSubtitle",displayName:"下载字幕",tags:[componentsTags.video],entry:none,urlInclude:o.videoAndBangumiUrls,widget:{condition:t.hasVideo,component:()=>Promise.resolve().then(i.bind(i,610)).then((e=>e.default))},plugin:{displayName:"下载视频 - 下载字幕支持",setup:e=>{let{addData:t}=e;t("downloadVideo.assets",(async e=>{e.push({name:"downloadSubtitles",displayName:"下载字幕",getAssets:async(e,t)=>{const{type:o,enabled:i}=t;if(!i)return[];const r=n.Toast.info("获取字幕中...","下载字幕");let s=0;const l=await Promise.allSettled(e.map((async t=>{const n=await(0,a.k7)(o,t.input);return s++,r.message=`获取字幕中... (${s}/${e.length})`,{name:`${t.input.title}.${o}`,data:n}}))),c=l.filter((e=>"fulfilled"===e.status)),d=l.filter((e=>"rejected"===e.status));return r.message=`获取完成. 成功 ${c.length} 个, 失败 ${d.length} 个.`,c.map((e=>e.value))},component:()=>Promise.resolve().then(i.bind(i,263)).then((e=>e.default))})}))}},commitHash:"58c0b438ca2371e397f70466a91572cb2757b142",coreVersion:"2.10.7",description:(()=>{const e=i(215);return{...Object.fromEntries(e.keys().map((t=>[t.match(/index\.(.+)\.md$/)[1],e(t)]))),"zh-CN":()=>Promise.resolve().then(i.t.bind(i,76,17)).then((e=>e.default))}})()})})(),r=r.component})())); +o=Boolean(window&&document&&document.all&&!window.atob)),o},r=function(){var e={};return function(t){if(void 0===e[t]){var n=document.querySelector(t);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}e[t]=n}return e[t]}}(),a=[];function s(e){for(var t=-1,n=0;n{"use strict";n.r(t),n.d(t,{default:()=>y});var o=function(){var e=this,t=e._self._c,n=e._self._setupProxy;return n.folded?t("div",[t(n.DefaultWidget,{attrs:{name:"下载字幕",icon:"mdi-subtitles"},on:{click:function(e){return n.expandDownloadOptions()}}})],1):t("div",{staticClass:"subtitle-download"},[t("div",{staticClass:"subtitle-download-header"},[t("div",{staticClass:"subtitle-download-title"},[t(n.VIcon,{attrs:{size:24,icon:"mdi-subtitles"}}),e._v(" "),t("span",[e._v("下载字幕")])],1),e._v(" "),t(n.VButton,{attrs:{round:"",icon:"",type:"transparent"},on:{click:function(e){n.folded=!0}}},[t(n.VIcon,{attrs:{size:18,icon:"mdi-close"}})],1)],1),e._v(" "),n.subtitleLanguageOptions.length>0?t("div",{staticClass:"subtitle-download-language"},[t("div",{},[e._v("语言:")]),e._v(" "),t(n.VDropdown,{attrs:{items:n.subtitleLanguageOptions,disabled:n.disabled},model:{value:n.selectedLanguage,callback:function(e){n.selectedLanguage=e},expression:"selectedLanguage"}})],1):e._e(),e._v(" "),t("div",{staticClass:"subtitle-download-formats"},[t(n.DefaultWidget,{attrs:{disabled:n.disabled,name:"下载 JSON",icon:"mdi-download"},on:{click:function(e){return n.download("json")}}}),e._v(" "),t(n.DefaultWidget,{attrs:{disabled:n.disabled,name:"下载 ASS",icon:"mdi-download"},on:{click:function(e){return n.download("ass")}}})],1)])};o._withStripped=!0;const i=globalThis.Vue;var r=n(164);const a=coreApis.utils.log;var s=n(121);const l=coreApis.download;var c=n(890);const d=coreApis.utils.sort;var u=n(5);const f=(0,i.defineComponent)({__name:"DownloadSubtitle",setup(e){const t=(0,i.ref)(!0),n=(0,i.ref)(!1),o=(0,i.ref)([]),f=(0,i.ref)(void 0),p=async()=>(await(0,c.p3)(unsafeWindow.aid,unsafeWindow.cid)).toSorted((0,d.ascendingBigIntSort)((e=>e.id_str))).map((e=>({displayName:0!==e.ai_status?`${e.lan_doc} (AI)`:e.lan_doc,name:e.lan})));Promise.all([p(),(0,c.ZS)()]).then((e=>{let[t,[,n]]=e;o.value=t;const i=t.find((e=>e.name===n));void 0!==i&&(f.value=i)}));return{__sfc:!0,folded:t,disabled:n,subtitleLanguageOptions:o,selectedLanguage:f,getSubtitleLanguageOptions:p,expandDownloadOptions:()=>{0!==o.value.length?t.value=!1:u.Toast.info("当前视频没有字幕.","下载字幕",3e3)},download:async e=>{try{n.value=!0;const t=await(0,c.k7)(e,{language:f.value?.name});if(null===t)return;l.DownloadPackage.single(`${(0,s.getFriendlyTitle)(!0)}.${e}`,t)}catch(e){(0,a.logError)(e)}finally{n.value=!1}},DefaultWidget:r.DefaultWidget,VButton:r.VButton,VDropdown:r.VDropdown,VIcon:r.VIcon}}}),p=f;var g=n(991),b=n.n(g),m=n(603),v=n.n(m),A={insert:"head",singleton:!1};b()(v(),A);v().locals;const y=(0,n(678).A)(p,o,[],!1,null,null,null).exports},263:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>p});var o=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"download-subtitle-config download-video-config-section"},[t("div",{staticClass:"download-video-config-item"},[t("div",{staticClass:"download-video-config-title"},[e._v("字幕:")]),e._v(" "),t("VDropdown",{attrs:{items:e.items},scopedSlots:e._u([{key:"item",fn:function({item:t}){return[e._v("\n "+e._s(t)+"\n ")]}}]),model:{value:e.type,callback:function(t){e.type=t},expression:"type"}})],1)])};o._withStripped=!0;const i=coreApis.settings;var r=n(164);const a=(0,i.getComponentSettings)("downloadVideo").options,s=Vue.extend({components:{VDropdown:r.VDropdown},data:()=>({type:a.subtitleType??"无",items:["无","ass","json"]}),computed:{enabled(){return"无"!==this.type}},watch:{type(e){a.subtitleType=e}}});var l=n(991),c=n.n(l),d=n(363),u=n.n(d),f={insert:"head",singleton:!1};c()(u(),f);u().locals;const p=(0,n(678).A)(s,o,[],!1,null,null,null).exports},678:(e,t,n)=>{"use strict";function o(e,t,n,o,i,r,a,s){var l,c="function"==typeof e?e.options:e;if(t&&(c.render=t,c.staticRenderFns=n,c._compiled=!0),o&&(c.functional=!0),r&&(c._scopeId="data-v-"+r),a?(l=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),i&&i.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(a)},c._ssrRegister=l):i&&(l=s?function(){i.call(this,(c.functional?this.parent:this).$root.$options.shadowRoot)}:i),l)if(c.functional){c._injectStyles=l;var d=c.render;c.render=function(e,t){return l.call(t),d(e,t)}}else{var u=c.beforeCreate;c.beforeCreate=u?[].concat(u,l):[l]}return{exports:e,options:c}}n.d(t,{A:()=>o})},215:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=215,e.exports=t},76:e=>{"use strict";e.exports="启用下载字幕支持, 在视频页面中可从功能面板里下载字幕. (AI 生成的不可下载)\n"},381:e=>{"use strict";e.exports=coreApis.componentApis.video.assUtils},241:e=>{"use strict";e.exports=coreApis.componentApis.video.playerAgent},5:e=>{"use strict";e.exports=coreApis.toast},164:e=>{"use strict";e.exports=coreApis.ui},121:e=>{"use strict";e.exports=coreApis.utils.title}},o={};function i(e){var t=o[e];if(void 0!==t)return t.exports;var r=o[e]={id:e,exports:{}};return n[e](r,r.exports,i),r.exports}i.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return i.d(t,{a:t}),t},t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,i.t=function(n,o){if(1&o&&(n=this(n)),8&o)return n;if("object"==typeof n&&n){if(4&o&&n.__esModule)return n;if(16&o&&"function"==typeof n.then)return n}var r=Object.create(null);i.r(r);var a={};e=e||[null,t({}),t([]),t(t)];for(var s=2&o&&n;"object"==typeof s&&!~e.indexOf(s);s=t(s))Object.getOwnPropertyNames(s).forEach((e=>a[e]=()=>n[e]));return a.default=()=>n,i.d(r,a),r},i.d=(e,t)=>{for(var n in t)i.o(t,n)&&!i.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},i.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),i.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.nc=void 0;var r={};return(()=>{"use strict";i.d(r,{component:()=>s});const e=coreApis.componentApis.define,t=coreApis.spinQuery;var n=i(5);const o=coreApis.utils.urls;var a=i(890);const s=(0,e.defineComponentMetadata)({name:"downloadSubtitle",displayName:"下载字幕",tags:[componentsTags.video],entry:none,urlInclude:o.videoAndBangumiUrls,widget:{condition:t.hasVideo,component:()=>Promise.resolve().then(i.bind(i,610)).then((e=>e.default))},plugin:{displayName:"下载视频 - 下载字幕支持",setup:e=>{let{addData:t}=e;t("downloadVideo.assets",(async e=>{e.push({name:"downloadSubtitles",displayName:"下载字幕",getAssets:async(e,t)=>{const{type:o,enabled:i}=t;if(!i)return[];const r=n.Toast.info("获取字幕中...","下载字幕");let s=0;const l=await Promise.allSettled(e.map((async t=>{const n=await(0,a.k7)(o,t.input);return s++,r.message=`获取字幕中... (${s}/${e.length})`,{name:`${t.input.title}.${o}`,data:n}}))),c=l.filter((e=>"fulfilled"===e.status)),d=l.filter((e=>"rejected"===e.status));return r.message=`获取完成. 成功 ${c.length} 个, 失败 ${d.length} 个.`,c.map((e=>e.value))},component:()=>Promise.resolve().then(i.bind(i,263)).then((e=>e.default))})}))}},commitHash:"d87d69cfb9d7e0124bd90a06fec4569bd61e02c5",coreVersion:"2.10.7",description:(()=>{const e=i(215);return{...Object.fromEntries(e.keys().map((t=>[t.match(/index\.(.+)\.md$/)[1],e(t)]))),"zh-CN":()=>Promise.resolve().then(i.t.bind(i,76,17)).then((e=>e.default))}})()})})(),r=r.component})())); //# sourceMappingURL=https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/registry/dist/components/video/subtitle/download.js.map \ No newline at end of file diff --git a/bb-evolved/registry/dist/plugins/feeds/filter/hide-charge-feeds.js b/bb-evolved/registry/dist/plugins/feeds/filter/hide-charge-feeds.js index 175f102c95..1ce2f938a6 100644 --- a/bb-evolved/registry/dist/plugins/feeds/filter/hide-charge-feeds.js +++ b/bb-evolved/registry/dist/plugins/feeds/filter/hide-charge-feeds.js @@ -1,2 +1,2 @@ -!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["feeds/filter/hide-charge-feeds"]=t():e["feeds/filter/hide-charge-feeds"]=t()}(globalThis,(()=>(()=>{var e,t,o={52:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=52,e.exports=t},759:e=>{"use strict";e.exports="移除动态里的充电专属动态, 装有 `动态过滤器` 时生效.\n"},649:e=>{"use strict";e.exports=coreApis.componentApis.feeds.api},847:e=>{"use strict";e.exports=coreApis.utils}},r={};function n(e){var t=r[e];if(void 0!==t)return t.exports;var s=r[e]={exports:{}};return o[e](s,s.exports,n),s.exports}t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,n.t=function(o,r){if(1&r&&(o=this(o)),8&r)return o;if("object"==typeof o&&o){if(4&r&&o.__esModule)return o;if(16&r&&"function"==typeof o.then)return o}var s=Object.create(null);n.r(s);var i={};e=e||[null,t({}),t([]),t(t)];for(var d=2&r&&o;"object"==typeof d&&!~e.indexOf(d);d=t(d))Object.getOwnPropertyNames(d).forEach((e=>i[e]=()=>o[e]));return i.default=()=>o,n.d(s,i),s},n.d=(e,t)=>{for(var o in t)n.o(t,o)&&!n.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var s={};return(()=>{"use strict";n.d(s,{plugin:()=>e});const e={name:"feedsFilter.pluginBlocks.chargeFeeds",displayName:"动态过滤器 - 移除充电专属动态",async setup(){const{getVue2Data:e}=await Promise.resolve().then(n.t.bind(n,847,23)),{forEachFeedsCard:t}=await Promise.resolve().then(n.t.bind(n,649,23));t({added:t=>{const o=e(t.element);3===lodash.get(o,"data.modules.module_dynamic.major.blocked.blocked_type",null)&&t.element.classList.add("plugin-block")}})},commitHash:"58c0b438ca2371e397f70466a91572cb2757b142",coreVersion:"2.10.7",description:(()=>{const e=n(52);return{...Object.fromEntries(e.keys().map((t=>[t.match(/index\.(.+)\.md$/)[1],e(t)]))),"zh-CN":()=>Promise.resolve().then(n.t.bind(n,759,17)).then((e=>e.default))}})()}})(),s=s.plugin})())); +!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["feeds/filter/hide-charge-feeds"]=t():e["feeds/filter/hide-charge-feeds"]=t()}(globalThis,(()=>(()=>{var e,t,o={52:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=52,e.exports=t},759:e=>{"use strict";e.exports="移除动态里的充电专属动态, 装有 `动态过滤器` 时生效.\n"},649:e=>{"use strict";e.exports=coreApis.componentApis.feeds.api},847:e=>{"use strict";e.exports=coreApis.utils}},r={};function n(e){var t=r[e];if(void 0!==t)return t.exports;var s=r[e]={exports:{}};return o[e](s,s.exports,n),s.exports}t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,n.t=function(o,r){if(1&r&&(o=this(o)),8&r)return o;if("object"==typeof o&&o){if(4&r&&o.__esModule)return o;if(16&r&&"function"==typeof o.then)return o}var s=Object.create(null);n.r(s);var i={};e=e||[null,t({}),t([]),t(t)];for(var d=2&r&&o;"object"==typeof d&&!~e.indexOf(d);d=t(d))Object.getOwnPropertyNames(d).forEach((e=>i[e]=()=>o[e]));return i.default=()=>o,n.d(s,i),s},n.d=(e,t)=>{for(var o in t)n.o(t,o)&&!n.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var s={};return(()=>{"use strict";n.d(s,{plugin:()=>e});const e={name:"feedsFilter.pluginBlocks.chargeFeeds",displayName:"动态过滤器 - 移除充电专属动态",async setup(){const{getVue2Data:e}=await Promise.resolve().then(n.t.bind(n,847,23)),{forEachFeedsCard:t}=await Promise.resolve().then(n.t.bind(n,649,23));t({added:t=>{const o=e(t.element);3===lodash.get(o,"data.modules.module_dynamic.major.blocked.blocked_type",null)&&t.element.classList.add("plugin-block")}})},commitHash:"d87d69cfb9d7e0124bd90a06fec4569bd61e02c5",coreVersion:"2.10.7",description:(()=>{const e=n(52);return{...Object.fromEntries(e.keys().map((t=>[t.match(/index\.(.+)\.md$/)[1],e(t)]))),"zh-CN":()=>Promise.resolve().then(n.t.bind(n,759,17)).then((e=>e.default))}})()}})(),s=s.plugin})())); //# sourceMappingURL=https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/registry/dist/plugins/feeds/filter/hide-charge-feeds.js.map \ No newline at end of file diff --git a/bb-evolved/registry/dist/plugins/feeds/filter/hide-goods.js b/bb-evolved/registry/dist/plugins/feeds/filter/hide-goods.js index a9a6292e58..44a4bb333b 100644 --- a/bb-evolved/registry/dist/plugins/feeds/filter/hide-goods.js +++ b/bb-evolved/registry/dist/plugins/feeds/filter/hide-goods.js @@ -1,2 +1,2 @@ -!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["feeds/filter/hide-goods"]=t():e["feeds/filter/hide-goods"]=t()}(globalThis,(()=>(()=>{var e,t,o={20:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=20,e.exports=t},639:e=>{"use strict";e.exports="移除动态里的商品带货动态 (UP主的推荐 · 来自 XX), 装有 `动态过滤器` 时生效.\n"},649:e=>{"use strict";e.exports=coreApis.componentApis.feeds.api}},r={};function n(e){var t=r[e];if(void 0!==t)return t.exports;var i=r[e]={exports:{}};return o[e](i,i.exports,n),i.exports}t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,n.t=function(o,r){if(1&r&&(o=this(o)),8&r)return o;if("object"==typeof o&&o){if(4&r&&o.__esModule)return o;if(16&r&&"function"==typeof o.then)return o}var i=Object.create(null);n.r(i);var s={};e=e||[null,t({}),t([]),t(t)];for(var d=2&r&&o;"object"==typeof d&&!~e.indexOf(d);d=t(d))Object.getOwnPropertyNames(d).forEach((e=>s[e]=()=>o[e]));return s.default=()=>o,n.d(i,s),i},n.d=(e,t)=>{for(var o in t)n.o(t,o)&&!n.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var i={};return(()=>{"use strict";n.d(i,{plugin:()=>e});const e={name:"feedsFilter.pluginBlocks.goods",displayName:"动态过滤器 - 移除商品带货动态",async setup(){const{forEachFeedsCard:e,getVueData:t}=await Promise.resolve().then(n.t.bind(n,649,23));e({added:e=>{const o=t(e.element);"ADDITIONAL_TYPE_GOODS"===lodash.get(o,"data.modules.module_dynamic.additional.type",null)&&e.element.classList.add("plugin-block")}})},commitHash:"58c0b438ca2371e397f70466a91572cb2757b142",coreVersion:"2.10.7",description:(()=>{const e=n(20);return{...Object.fromEntries(e.keys().map((t=>[t.match(/index\.(.+)\.md$/)[1],e(t)]))),"zh-CN":()=>Promise.resolve().then(n.t.bind(n,639,17)).then((e=>e.default))}})()}})(),i=i.plugin})())); +!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["feeds/filter/hide-goods"]=t():e["feeds/filter/hide-goods"]=t()}(globalThis,(()=>(()=>{var e,t,o={20:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=20,e.exports=t},639:e=>{"use strict";e.exports="移除动态里的商品带货动态 (UP主的推荐 · 来自 XX), 装有 `动态过滤器` 时生效.\n"},649:e=>{"use strict";e.exports=coreApis.componentApis.feeds.api}},r={};function n(e){var t=r[e];if(void 0!==t)return t.exports;var d=r[e]={exports:{}};return o[e](d,d.exports,n),d.exports}t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,n.t=function(o,r){if(1&r&&(o=this(o)),8&r)return o;if("object"==typeof o&&o){if(4&r&&o.__esModule)return o;if(16&r&&"function"==typeof o.then)return o}var d=Object.create(null);n.r(d);var i={};e=e||[null,t({}),t([]),t(t)];for(var s=2&r&&o;"object"==typeof s&&!~e.indexOf(s);s=t(s))Object.getOwnPropertyNames(s).forEach((e=>i[e]=()=>o[e]));return i.default=()=>o,n.d(d,i),d},n.d=(e,t)=>{for(var o in t)n.o(t,o)&&!n.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var d={};return(()=>{"use strict";n.d(d,{plugin:()=>e});const e={name:"feedsFilter.pluginBlocks.goods",displayName:"动态过滤器 - 移除商品带货动态",async setup(){const{forEachFeedsCard:e,getVueData:t}=await Promise.resolve().then(n.t.bind(n,649,23));e({added:e=>{const o=t(e.element);"ADDITIONAL_TYPE_GOODS"===lodash.get(o,"data.modules.module_dynamic.additional.type",null)&&e.element.classList.add("plugin-block")}})},commitHash:"d87d69cfb9d7e0124bd90a06fec4569bd61e02c5",coreVersion:"2.10.7",description:(()=>{const e=n(20);return{...Object.fromEntries(e.keys().map((t=>[t.match(/index\.(.+)\.md$/)[1],e(t)]))),"zh-CN":()=>Promise.resolve().then(n.t.bind(n,639,17)).then((e=>e.default))}})()}})(),d=d.plugin})())); //# sourceMappingURL=https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/registry/dist/plugins/feeds/filter/hide-goods.js.map \ No newline at end of file diff --git a/bb-evolved/registry/dist/plugins/launch-bar/audio-search.js b/bb-evolved/registry/dist/plugins/launch-bar/audio-search.js index e8294d721f..b1ab6ab81c 100644 --- a/bb-evolved/registry/dist/plugins/launch-bar/audio-search.js +++ b/bb-evolved/registry/dist/plugins/launch-bar/audio-search.js @@ -1,2 +1,2 @@ -!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["launch-bar/audio-search"]=t():e["launch-bar/audio-search"]=t()}(globalThis,(()=>(()=>{var e,t,o={735:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=735,e.exports=t},128:e=>{"use strict";e.exports="在输入音频的 au 号或播放列表的 am 号时, 提供对应的跳转选项.\n"}},r={};function n(e){var t=r[e];if(void 0!==t)return t.exports;var i=r[e]={exports:{}};return o[e](i,i.exports,n),i.exports}t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,n.t=function(o,r){if(1&r&&(o=this(o)),8&r)return o;if("object"==typeof o&&o){if(4&r&&o.__esModule)return o;if(16&r&&"function"==typeof o.then)return o}var i=Object.create(null);n.r(i);var a={};e=e||[null,t({}),t([]),t(t)];for(var c=2&r&&o;"object"==typeof c&&!~e.indexOf(c);c=t(c))Object.getOwnPropertyNames(c).forEach((e=>a[e]=()=>o[e]));return a.default=()=>o,n.d(i,a),i},n.d=(e,t)=>{for(var o in t)n.o(t,o)&&!n.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var i={};return(()=>{"use strict";n.d(i,{plugin:()=>o});const e=coreApis.ajax,t=e=>{const{name:t,displayName:o,description:r,indexer:n,link:i}=e;return{name:t||n,displayName:o,icon:"mdi-open-in-new",indexer:n,description:r,action:()=>{window.open(i,"_blank")},order:0}},o={name:"launchBar.actions.audioSearch",displayName:"搜索栏 - 音频跳转",async setup(o){let{addData:r}=o;r("launchBar.actions",(o=>{o.push({name:"audioSearchProvider",getActions:async o=>{const{match:r,type:n,id:i,indexer:a}=((e,t)=>{const o=e.match(t);if(!o)return{};const r=o[1],n=o[2];return{match:o,type:r,id:n,indexer:`${r}${n}`}})(o,/^(a[um])(\d+)$/);if(!r)return[];const c=await(0,e.getJson)("am"===n?`https://www.bilibili.com/audio/music-service-c/web/menu/info?sid=${i}`:`https://www.bilibili.com/audio/music-service-c/web/song/info?sid=${i}`),{title:s}=lodash.get(c,"data",{});return[t({name:s,description:"am"===n?"播放列表跳转":"音频跳转",link:`https://www.bilibili.com/audio/${a}`,indexer:a})]}})}))},commitHash:"58c0b438ca2371e397f70466a91572cb2757b142",coreVersion:"2.10.7",description:(()=>{const e=n(735);return{...Object.fromEntries(e.keys().map((t=>[t.match(/index\.(.+)\.md$/)[1],e(t)]))),"zh-CN":()=>Promise.resolve().then(n.t.bind(n,128,17)).then((e=>e.default))}})()}})(),i=i.plugin})())); +!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["launch-bar/audio-search"]=t():e["launch-bar/audio-search"]=t()}(globalThis,(()=>(()=>{var e,t,o={735:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=735,e.exports=t},128:e=>{"use strict";e.exports="在输入音频的 au 号或播放列表的 am 号时, 提供对应的跳转选项.\n"}},r={};function n(e){var t=r[e];if(void 0!==t)return t.exports;var i=r[e]={exports:{}};return o[e](i,i.exports,n),i.exports}t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,n.t=function(o,r){if(1&r&&(o=this(o)),8&r)return o;if("object"==typeof o&&o){if(4&r&&o.__esModule)return o;if(16&r&&"function"==typeof o.then)return o}var i=Object.create(null);n.r(i);var a={};e=e||[null,t({}),t([]),t(t)];for(var c=2&r&&o;"object"==typeof c&&!~e.indexOf(c);c=t(c))Object.getOwnPropertyNames(c).forEach((e=>a[e]=()=>o[e]));return a.default=()=>o,n.d(i,a),i},n.d=(e,t)=>{for(var o in t)n.o(t,o)&&!n.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var i={};return(()=>{"use strict";n.d(i,{plugin:()=>o});const e=coreApis.ajax,t=e=>{const{name:t,displayName:o,description:r,indexer:n,link:i}=e;return{name:t||n,displayName:o,icon:"mdi-open-in-new",indexer:n,description:r,action:()=>{window.open(i,"_blank")},order:0}},o={name:"launchBar.actions.audioSearch",displayName:"搜索栏 - 音频跳转",async setup(o){let{addData:r}=o;r("launchBar.actions",(o=>{o.push({name:"audioSearchProvider",getActions:async o=>{const{match:r,type:n,id:i,indexer:a}=((e,t)=>{const o=e.match(t);if(!o)return{};const r=o[1],n=o[2];return{match:o,type:r,id:n,indexer:`${r}${n}`}})(o,/^(a[um])(\d+)$/);if(!r)return[];const c=await(0,e.getJson)("am"===n?`https://www.bilibili.com/audio/music-service-c/web/menu/info?sid=${i}`:`https://www.bilibili.com/audio/music-service-c/web/song/info?sid=${i}`),{title:d}=lodash.get(c,"data",{});return[t({name:d,description:"am"===n?"播放列表跳转":"音频跳转",link:`https://www.bilibili.com/audio/${a}`,indexer:a})]}})}))},commitHash:"d87d69cfb9d7e0124bd90a06fec4569bd61e02c5",coreVersion:"2.10.7",description:(()=>{const e=n(735);return{...Object.fromEntries(e.keys().map((t=>[t.match(/index\.(.+)\.md$/)[1],e(t)]))),"zh-CN":()=>Promise.resolve().then(n.t.bind(n,128,17)).then((e=>e.default))}})()}})(),i=i.plugin})())); //# sourceMappingURL=https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/registry/dist/plugins/launch-bar/audio-search.js.map \ No newline at end of file diff --git a/bb-evolved/registry/dist/plugins/launch-bar/bangumi-search.js b/bb-evolved/registry/dist/plugins/launch-bar/bangumi-search.js index 60cd3fa3e2..cfdbd6c7fb 100644 --- a/bb-evolved/registry/dist/plugins/launch-bar/bangumi-search.js +++ b/bb-evolved/registry/dist/plugins/launch-bar/bangumi-search.js @@ -1,2 +1,2 @@ -!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["launch-bar/bangumi-search"]=t():e["launch-bar/bangumi-search"]=t()}(globalThis,(()=>(()=>{var e,t,i={272:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=272,e.exports=t},751:e=>{"use strict";e.exports="在输入番剧的 ss 号 / ep 号, 或番剧详情的 md 号时, 提供对应的跳转选项.\n"}},n={};function r(e){var t=n[e];if(void 0!==t)return t.exports;var o=n[e]={exports:{}};return i[e](o,o.exports,r),o.exports}t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,r.t=function(i,n){if(1&n&&(i=this(i)),8&n)return i;if("object"==typeof i&&i){if(4&n&&i.__esModule)return i;if(16&n&&"function"==typeof i.then)return i}var o=Object.create(null);r.r(o);var a={};e=e||[null,t({}),t([]),t(t)];for(var s=2&n&&i;"object"==typeof s&&!~e.indexOf(s);s=t(s))Object.getOwnPropertyNames(s).forEach((e=>a[e]=()=>i[e]));return a.default=()=>i,r.d(o,a),o},r.d=(e,t)=>{for(var i in t)r.o(t,i)&&!r.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var o={};return(()=>{"use strict";r.d(o,{plugin:()=>i});const e=coreApis.ajax,t=e=>{const{name:t,displayName:i,description:n,indexer:r,link:o}=e;return{name:t||r,displayName:i,icon:"mdi-open-in-new",indexer:r,description:n,action:()=>{window.open(o,"_blank")},order:0}},i={name:"launchBar.actions.bangumiSearch",displayName:"搜索栏 - 番剧跳转",async setup(i){let{addData:n}=i;n("launchBar.actions",(i=>{i.push({name:"bangumiSearchProvider",getActions:async i=>{const{match:n,type:r,id:o,indexer:a}=((e,t)=>{const i=e.match(t);if(!i)return{};const n=i[1],r=i[2];return{match:i,type:n,id:r,indexer:`${n}${r}`}})(i,/^(md|ss|ep)(\d+)$/);if(!n)return[];if("md"===r){const i=await(0,e.getJson)(`https://api.bilibili.com/pgc/review/user?media_id=${o}`),{title:n}=lodash.get(i,"result.media",{});return[t({name:n,description:"番剧详情跳转",link:`https://www.bilibili.com/bangumi/media/${a}`,indexer:a})]}if("ep"===r){const i=await(0,e.getJson)(`https://api.bilibili.com/pgc/view/web/season?ep_id=${o}`),n=lodash.get(i,"result.episodes",[]).find((e=>e.id.toString()===o));return[t({name:n?.share_copy,description:"番剧跳转",link:`https://www.bilibili.com/bangumi/play/${a}`,indexer:a})]}const s=await(0,e.getJson)(`https://api.bilibili.com/pgc/view/web/season?season_id=${o}`),{title:c}=lodash.get(s,"result",{});return[t({name:c,description:"番剧跳转",link:`https://www.bilibili.com/bangumi/play/${a}`,indexer:a})]}})}))},commitHash:"58c0b438ca2371e397f70466a91572cb2757b142",coreVersion:"2.10.7",description:(()=>{const e=r(272);return{...Object.fromEntries(e.keys().map((t=>[t.match(/index\.(.+)\.md$/)[1],e(t)]))),"zh-CN":()=>Promise.resolve().then(r.t.bind(r,751,17)).then((e=>e.default))}})()}})(),o=o.plugin})())); +!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["launch-bar/bangumi-search"]=t():e["launch-bar/bangumi-search"]=t()}(globalThis,(()=>(()=>{var e,t,i={272:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=272,e.exports=t},751:e=>{"use strict";e.exports="在输入番剧的 ss 号 / ep 号, 或番剧详情的 md 号时, 提供对应的跳转选项.\n"}},n={};function r(e){var t=n[e];if(void 0!==t)return t.exports;var o=n[e]={exports:{}};return i[e](o,o.exports,r),o.exports}t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,r.t=function(i,n){if(1&n&&(i=this(i)),8&n)return i;if("object"==typeof i&&i){if(4&n&&i.__esModule)return i;if(16&n&&"function"==typeof i.then)return i}var o=Object.create(null);r.r(o);var a={};e=e||[null,t({}),t([]),t(t)];for(var s=2&n&&i;"object"==typeof s&&!~e.indexOf(s);s=t(s))Object.getOwnPropertyNames(s).forEach((e=>a[e]=()=>i[e]));return a.default=()=>i,r.d(o,a),o},r.d=(e,t)=>{for(var i in t)r.o(t,i)&&!r.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var o={};return(()=>{"use strict";r.d(o,{plugin:()=>i});const e=coreApis.ajax,t=e=>{const{name:t,displayName:i,description:n,indexer:r,link:o}=e;return{name:t||r,displayName:i,icon:"mdi-open-in-new",indexer:r,description:n,action:()=>{window.open(o,"_blank")},order:0}},i={name:"launchBar.actions.bangumiSearch",displayName:"搜索栏 - 番剧跳转",async setup(i){let{addData:n}=i;n("launchBar.actions",(i=>{i.push({name:"bangumiSearchProvider",getActions:async i=>{const{match:n,type:r,id:o,indexer:a}=((e,t)=>{const i=e.match(t);if(!i)return{};const n=i[1],r=i[2];return{match:i,type:n,id:r,indexer:`${n}${r}`}})(i,/^(md|ss|ep)(\d+)$/);if(!n)return[];if("md"===r){const i=await(0,e.getJson)(`https://api.bilibili.com/pgc/review/user?media_id=${o}`),{title:n}=lodash.get(i,"result.media",{});return[t({name:n,description:"番剧详情跳转",link:`https://www.bilibili.com/bangumi/media/${a}`,indexer:a})]}if("ep"===r){const i=await(0,e.getJson)(`https://api.bilibili.com/pgc/view/web/season?ep_id=${o}`),n=lodash.get(i,"result.episodes",[]).find((e=>e.id.toString()===o));return[t({name:n?.share_copy,description:"番剧跳转",link:`https://www.bilibili.com/bangumi/play/${a}`,indexer:a})]}const s=await(0,e.getJson)(`https://api.bilibili.com/pgc/view/web/season?season_id=${o}`),{title:c}=lodash.get(s,"result",{});return[t({name:c,description:"番剧跳转",link:`https://www.bilibili.com/bangumi/play/${a}`,indexer:a})]}})}))},commitHash:"d87d69cfb9d7e0124bd90a06fec4569bd61e02c5",coreVersion:"2.10.7",description:(()=>{const e=r(272);return{...Object.fromEntries(e.keys().map((t=>[t.match(/index\.(.+)\.md$/)[1],e(t)]))),"zh-CN":()=>Promise.resolve().then(r.t.bind(r,751,17)).then((e=>e.default))}})()}})(),o=o.plugin})())); //# sourceMappingURL=https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/registry/dist/plugins/launch-bar/bangumi-search.js.map \ No newline at end of file diff --git a/bb-evolved/registry/dist/plugins/launch-bar/cv-search.js b/bb-evolved/registry/dist/plugins/launch-bar/cv-search.js index f6b6f64743..23733603d9 100644 --- a/bb-evolved/registry/dist/plugins/launch-bar/cv-search.js +++ b/bb-evolved/registry/dist/plugins/launch-bar/cv-search.js @@ -1,2 +1,2 @@ -!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["launch-bar/cv-search"]=t():e["launch-bar/cv-search"]=t()}(globalThis,(()=>(()=>{var e,t,r={824:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=824,e.exports=t},239:e=>{"use strict";e.exports="在输入专栏的 cv 号或专栏文集的 rl 号时, 提供对应的跳转选项.\n"}},n={};function i(e){var t=n[e];if(void 0!==t)return t.exports;var o=n[e]={exports:{}};return r[e](o,o.exports,i),o.exports}t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,i.t=function(r,n){if(1&n&&(r=this(r)),8&n)return r;if("object"==typeof r&&r){if(4&n&&r.__esModule)return r;if(16&n&&"function"==typeof r.then)return r}var o=Object.create(null);i.r(o);var a={};e=e||[null,t({}),t([]),t(t)];for(var c=2&n&&r;"object"==typeof c&&!~e.indexOf(c);c=t(c))Object.getOwnPropertyNames(c).forEach((e=>a[e]=()=>r[e]));return a.default=()=>r,i.d(o,a),o},i.d=(e,t)=>{for(var r in t)i.o(t,r)&&!i.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},i.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),i.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var o={};return(()=>{"use strict";i.d(o,{plugin:()=>r});const e=coreApis.ajax,t=e=>{const{name:t,displayName:r,description:n,indexer:i,link:o}=e;return{name:t||i,displayName:r,icon:"mdi-open-in-new",indexer:i,description:n,action:()=>{window.open(o,"_blank")},order:0}},r={name:"launchBar.actions.cvSearch",displayName:"搜索栏 - 专栏跳转",async setup(r){let{addData:n}=r;n("launchBar.actions",(r=>{r.push({name:"cvSearchProvider",getActions:async r=>{const{match:n,type:i,id:o,indexer:a}=((e,t)=>{const r=e.match(t);if(!r)return{};const n=r[1],i=r[2];return{match:r,type:n,id:i,indexer:`${n}${i}`}})(r,/^(cv|rl)(\d+)$/);if(!n)return[];if("rl"===i){const r=await(0,e.getJson)(`https://api.bilibili.com/x/article/list/web/articles?id=${o}`),{name:n}=lodash.get(r,"data.list",{});return[t({name:n,description:"文集跳转",link:`https://www.bilibili.com/read/readlist/${a}`,indexer:a})]}const c=await(0,e.getJson)(`https://api.bilibili.com/x/article/viewinfo?id=${o}`),{title:s}=lodash.get(c,"data",{});return[t({name:s,description:"专栏跳转",link:`https://www.bilibili.com/read/${a}`,indexer:a})]}})}))},commitHash:"58c0b438ca2371e397f70466a91572cb2757b142",coreVersion:"2.10.7",description:(()=>{const e=i(824);return{...Object.fromEntries(e.keys().map((t=>[t.match(/index\.(.+)\.md$/)[1],e(t)]))),"zh-CN":()=>Promise.resolve().then(i.t.bind(i,239,17)).then((e=>e.default))}})()}})(),o=o.plugin})())); +!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["launch-bar/cv-search"]=t():e["launch-bar/cv-search"]=t()}(globalThis,(()=>(()=>{var e,t,r={824:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=824,e.exports=t},239:e=>{"use strict";e.exports="在输入专栏的 cv 号或专栏文集的 rl 号时, 提供对应的跳转选项.\n"}},n={};function i(e){var t=n[e];if(void 0!==t)return t.exports;var o=n[e]={exports:{}};return r[e](o,o.exports,i),o.exports}t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,i.t=function(r,n){if(1&n&&(r=this(r)),8&n)return r;if("object"==typeof r&&r){if(4&n&&r.__esModule)return r;if(16&n&&"function"==typeof r.then)return r}var o=Object.create(null);i.r(o);var a={};e=e||[null,t({}),t([]),t(t)];for(var c=2&n&&r;"object"==typeof c&&!~e.indexOf(c);c=t(c))Object.getOwnPropertyNames(c).forEach((e=>a[e]=()=>r[e]));return a.default=()=>r,i.d(o,a),o},i.d=(e,t)=>{for(var r in t)i.o(t,r)&&!i.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},i.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),i.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var o={};return(()=>{"use strict";i.d(o,{plugin:()=>r});const e=coreApis.ajax,t=e=>{const{name:t,displayName:r,description:n,indexer:i,link:o}=e;return{name:t||i,displayName:r,icon:"mdi-open-in-new",indexer:i,description:n,action:()=>{window.open(o,"_blank")},order:0}},r={name:"launchBar.actions.cvSearch",displayName:"搜索栏 - 专栏跳转",async setup(r){let{addData:n}=r;n("launchBar.actions",(r=>{r.push({name:"cvSearchProvider",getActions:async r=>{const{match:n,type:i,id:o,indexer:a}=((e,t)=>{const r=e.match(t);if(!r)return{};const n=r[1],i=r[2];return{match:r,type:n,id:i,indexer:`${n}${i}`}})(r,/^(cv|rl)(\d+)$/);if(!n)return[];if("rl"===i){const r=await(0,e.getJson)(`https://api.bilibili.com/x/article/list/web/articles?id=${o}`),{name:n}=lodash.get(r,"data.list",{});return[t({name:n,description:"文集跳转",link:`https://www.bilibili.com/read/readlist/${a}`,indexer:a})]}const c=await(0,e.getJson)(`https://api.bilibili.com/x/article/viewinfo?id=${o}`),{title:s}=lodash.get(c,"data",{});return[t({name:s,description:"专栏跳转",link:`https://www.bilibili.com/read/${a}`,indexer:a})]}})}))},commitHash:"d87d69cfb9d7e0124bd90a06fec4569bd61e02c5",coreVersion:"2.10.7",description:(()=>{const e=i(824);return{...Object.fromEntries(e.keys().map((t=>[t.match(/index\.(.+)\.md$/)[1],e(t)]))),"zh-CN":()=>Promise.resolve().then(i.t.bind(i,239,17)).then((e=>e.default))}})()}})(),o=o.plugin})())); //# sourceMappingURL=https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/registry/dist/plugins/launch-bar/cv-search.js.map \ No newline at end of file diff --git a/bb-evolved/registry/dist/plugins/launch-bar/number-search.js b/bb-evolved/registry/dist/plugins/launch-bar/number-search.js index cf38421780..48e3fa4db6 100644 --- a/bb-evolved/registry/dist/plugins/launch-bar/number-search.js +++ b/bb-evolved/registry/dist/plugins/launch-bar/number-search.js @@ -1,2 +1,2 @@ -!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["launch-bar/number-search"]=t():e["launch-bar/number-search"]=t()}(globalThis,(()=>(()=>{var e,t,i={572:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=572,e.exports=t},247:e=>{"use strict";e.exports="在输入纯数字时, 提供以下选项:\n- 跳转至相应的视频 (视为 av 号)\n- 跳转至相应的专栏 (视为 cv 号)\n"}},n={};function r(e){var t=n[e];if(void 0!==t)return t.exports;var o=n[e]={exports:{}};return i[e](o,o.exports,r),o.exports}t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,r.t=function(i,n){if(1&n&&(i=this(i)),8&n)return i;if("object"==typeof i&&i){if(4&n&&i.__esModule)return i;if(16&n&&"function"==typeof i.then)return i}var o=Object.create(null);r.r(o);var a={};e=e||[null,t({}),t([]),t(t)];for(var c=2&n&&i;"object"==typeof c&&!~e.indexOf(c);c=t(c))Object.getOwnPropertyNames(c).forEach((e=>a[e]=()=>i[e]));return a.default=()=>i,r.d(o,a),o},r.d=(e,t)=>{for(var i in t)r.o(t,i)&&!r.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var o={};return(()=>{"use strict";r.d(o,{plugin:()=>i});const e=coreApis.ajax,t=e=>{const{name:t,displayName:i,description:n,indexer:r,link:o}=e;return{name:t||r,displayName:i,icon:"mdi-open-in-new",indexer:r,description:n,action:()=>{window.open(o,"_blank")},order:0}},i={name:"launchBar.actions.numberSearch",displayName:"搜索栏 - 数字联想",async setup(i){let{addData:n}=i;n("launchBar.actions",(i=>{i.push({name:"numberSearchProvider",getActions:async i=>{const{match:n,id:r,indexer:o}=((e,t)=>{const i=e.match(t);if(!i)return{};const n=i[1],r=i[2];return{match:i,type:n,id:r,indexer:`${n}${r}`}})(i,/^()(\d+)$/);if(!n)return[];const[a,c,s]=await Promise.all([await(0,e.getJsonWithCredentials)(`https://api.bilibili.com/x/web-interface/view?aid=${r}`),await(0,e.getJson)(`https://api.bilibili.com/x/article/viewinfo?id=${r}`),await(0,e.getJson)(`https://api.bilibili.com/x/web-interface/card?mid=${r}`)]),{title:d}=lodash.get(a,"data",{}),{title:l}=lodash.get(c,"data",{}),{name:p}=lodash.get(s,"data.card",{}),m=e=>e?`numberSearchAction.${e}`:e;return[t({name:m(d),displayName:d,description:"视频跳转",link:`https://www.bilibili.com/av${r}`,indexer:o}),t({name:m(r),displayName:r,description:"直播间跳转",link:`https://live.bilibili.com/${r}`,indexer:o}),t({name:m(l),displayName:l,description:"专栏跳转",link:`https://www.bilibili.com/read/cv${r}`,indexer:o}),t({name:m(p),displayName:p,description:"用户跳转",link:`https://space.bilibili.com/${r}`,indexer:o})]}})}))},commitHash:"58c0b438ca2371e397f70466a91572cb2757b142",coreVersion:"2.10.7",description:(()=>{const e=r(572);return{...Object.fromEntries(e.keys().map((t=>[t.match(/index\.(.+)\.md$/)[1],e(t)]))),"zh-CN":()=>Promise.resolve().then(r.t.bind(r,247,17)).then((e=>e.default))}})()}})(),o=o.plugin})())); +!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["launch-bar/number-search"]=t():e["launch-bar/number-search"]=t()}(globalThis,(()=>(()=>{var e,t,i={572:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=572,e.exports=t},247:e=>{"use strict";e.exports="在输入纯数字时, 提供以下选项:\n- 跳转至相应的视频 (视为 av 号)\n- 跳转至相应的专栏 (视为 cv 号)\n"}},n={};function r(e){var t=n[e];if(void 0!==t)return t.exports;var o=n[e]={exports:{}};return i[e](o,o.exports,r),o.exports}t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,r.t=function(i,n){if(1&n&&(i=this(i)),8&n)return i;if("object"==typeof i&&i){if(4&n&&i.__esModule)return i;if(16&n&&"function"==typeof i.then)return i}var o=Object.create(null);r.r(o);var a={};e=e||[null,t({}),t([]),t(t)];for(var c=2&n&&i;"object"==typeof c&&!~e.indexOf(c);c=t(c))Object.getOwnPropertyNames(c).forEach((e=>a[e]=()=>i[e]));return a.default=()=>i,r.d(o,a),o},r.d=(e,t)=>{for(var i in t)r.o(t,i)&&!r.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var o={};return(()=>{"use strict";r.d(o,{plugin:()=>i});const e=coreApis.ajax,t=e=>{const{name:t,displayName:i,description:n,indexer:r,link:o}=e;return{name:t||r,displayName:i,icon:"mdi-open-in-new",indexer:r,description:n,action:()=>{window.open(o,"_blank")},order:0}},i={name:"launchBar.actions.numberSearch",displayName:"搜索栏 - 数字联想",async setup(i){let{addData:n}=i;n("launchBar.actions",(i=>{i.push({name:"numberSearchProvider",getActions:async i=>{const{match:n,id:r,indexer:o}=((e,t)=>{const i=e.match(t);if(!i)return{};const n=i[1],r=i[2];return{match:i,type:n,id:r,indexer:`${n}${r}`}})(i,/^()(\d+)$/);if(!n)return[];const[a,c,d]=await Promise.all([await(0,e.getJsonWithCredentials)(`https://api.bilibili.com/x/web-interface/view?aid=${r}`),await(0,e.getJson)(`https://api.bilibili.com/x/article/viewinfo?id=${r}`),await(0,e.getJson)(`https://api.bilibili.com/x/web-interface/card?mid=${r}`)]),{title:s}=lodash.get(a,"data",{}),{title:l}=lodash.get(c,"data",{}),{name:p}=lodash.get(d,"data.card",{}),m=e=>e?`numberSearchAction.${e}`:e;return[t({name:m(s),displayName:s,description:"视频跳转",link:`https://www.bilibili.com/av${r}`,indexer:o}),t({name:m(r),displayName:r,description:"直播间跳转",link:`https://live.bilibili.com/${r}`,indexer:o}),t({name:m(l),displayName:l,description:"专栏跳转",link:`https://www.bilibili.com/read/cv${r}`,indexer:o}),t({name:m(p),displayName:p,description:"用户跳转",link:`https://space.bilibili.com/${r}`,indexer:o})]}})}))},commitHash:"d87d69cfb9d7e0124bd90a06fec4569bd61e02c5",coreVersion:"2.10.7",description:(()=>{const e=r(572);return{...Object.fromEntries(e.keys().map((t=>[t.match(/index\.(.+)\.md$/)[1],e(t)]))),"zh-CN":()=>Promise.resolve().then(r.t.bind(r,247,17)).then((e=>e.default))}})()}})(),o=o.plugin})())); //# sourceMappingURL=https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/registry/dist/plugins/launch-bar/number-search.js.map \ No newline at end of file diff --git a/bb-evolved/registry/dist/plugins/launch-bar/trending-search.js b/bb-evolved/registry/dist/plugins/launch-bar/trending-search.js index baac9370d4..377095492d 100644 --- a/bb-evolved/registry/dist/plugins/launch-bar/trending-search.js +++ b/bb-evolved/registry/dist/plugins/launch-bar/trending-search.js @@ -1,2 +1,2 @@ -!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["launch-bar/trending-search"]=t():e["launch-bar/trending-search"]=t()}(globalThis,(()=>(()=>{"use strict";var e,t,r={416:e=>{e.exports=coreApis.ajax}},o={};function a(e){var t=o[e];if(void 0!==t)return t.exports;var n=o[e]={exports:{}};return r[e](n,n.exports,a),n.exports}t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,a.t=function(r,o){if(1&o&&(r=this(r)),8&o)return r;if("object"==typeof r&&r){if(4&o&&r.__esModule)return r;if(16&o&&"function"==typeof r.then)return r}var n=Object.create(null);a.r(n);var i={};e=e||[null,t({}),t([]),t(t)];for(var c=2&o&&r;"object"==typeof c&&!~e.indexOf(c);c=t(c))Object.getOwnPropertyNames(c).forEach((e=>i[e]=()=>r[e]));return i.default=()=>r,a.d(n,i),n},a.d=(e,t)=>{for(var r in t)a.o(t,r)&&!a.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},a.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),a.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var n={};a.d(n,{plugin:()=>i});const i={name:"launchBar.trendingSearch",displayName:"搜索栏 - 搜索推荐",description:'在脚本的搜索栏中默认显示类似 b 站搜索栏的搜索推荐词, 替代原来的 "搜索" 两字.',setup:e=>{let{addData:t}=e;t("launchBar.recommended",(async e=>{const{getJson:t}=await Promise.resolve().then(a.t.bind(a,416,23)),r=await t("https://api.bilibili.com/x/web-interface/search/default");if(0===r.code){let t;e.word=r.data.show_name,t=""!==r.data.url?r.data.url:r.data.name.startsWith("av")?`https://www.bilibili.com/${r.data.name}`:`https://search.bilibili.com/all?keyword=${r.data.name}`,e.href=t}else console.error("获取搜索推荐词失败")}))},commitHash:"58c0b438ca2371e397f70466a91572cb2757b142",coreVersion:"2.10.7"};return n=n.plugin})())); +!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["launch-bar/trending-search"]=t():e["launch-bar/trending-search"]=t()}(globalThis,(()=>(()=>{"use strict";var e,t,r={416:e=>{e.exports=coreApis.ajax}},o={};function a(e){var t=o[e];if(void 0!==t)return t.exports;var n=o[e]={exports:{}};return r[e](n,n.exports,a),n.exports}t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,a.t=function(r,o){if(1&o&&(r=this(r)),8&o)return r;if("object"==typeof r&&r){if(4&o&&r.__esModule)return r;if(16&o&&"function"==typeof r.then)return r}var n=Object.create(null);a.r(n);var i={};e=e||[null,t({}),t([]),t(t)];for(var c=2&o&&r;"object"==typeof c&&!~e.indexOf(c);c=t(c))Object.getOwnPropertyNames(c).forEach((e=>i[e]=()=>r[e]));return i.default=()=>r,a.d(n,i),n},a.d=(e,t)=>{for(var r in t)a.o(t,r)&&!a.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},a.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),a.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var n={};a.d(n,{plugin:()=>i});const i={name:"launchBar.trendingSearch",displayName:"搜索栏 - 搜索推荐",description:'在脚本的搜索栏中默认显示类似 b 站搜索栏的搜索推荐词, 替代原来的 "搜索" 两字.',setup:e=>{let{addData:t}=e;t("launchBar.recommended",(async e=>{const{getJson:t}=await Promise.resolve().then(a.t.bind(a,416,23)),r=await t("https://api.bilibili.com/x/web-interface/search/default");if(0===r.code){let t;e.word=r.data.show_name,t=""!==r.data.url?r.data.url:r.data.name.startsWith("av")?`https://www.bilibili.com/${r.data.name}`:`https://search.bilibili.com/all?keyword=${r.data.name}`,e.href=t}else console.error("获取搜索推荐词失败")}))},commitHash:"d87d69cfb9d7e0124bd90a06fec4569bd61e02c5",coreVersion:"2.10.7"};return n=n.plugin})())); //# sourceMappingURL=https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/registry/dist/plugins/launch-bar/trending-search.js.map \ No newline at end of file diff --git a/bb-evolved/registry/dist/plugins/launch-bar/uid-search.js b/bb-evolved/registry/dist/plugins/launch-bar/uid-search.js index 6d6cfb2fed..b7ba9bb600 100644 --- a/bb-evolved/registry/dist/plugins/launch-bar/uid-search.js +++ b/bb-evolved/registry/dist/plugins/launch-bar/uid-search.js @@ -1,2 +1,2 @@ -!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["launch-bar/uid-search"]=t():e["launch-bar/uid-search"]=t()}(globalThis,(()=>(()=>{var e,t,r={163:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=163,e.exports=t},592:e=>{"use strict";e.exports="在输入 UID (用户 ID) 时, 提供对应的跳转选项.\n"}},n={};function o(e){var t=n[e];if(void 0!==t)return t.exports;var i=n[e]={exports:{}};return r[e](i,i.exports,o),i.exports}t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,o.t=function(r,n){if(1&n&&(r=this(r)),8&n)return r;if("object"==typeof r&&r){if(4&n&&r.__esModule)return r;if(16&n&&"function"==typeof r.then)return r}var i=Object.create(null);o.r(i);var a={};e=e||[null,t({}),t([]),t(t)];for(var c=2&n&&r;"object"==typeof c&&!~e.indexOf(c);c=t(c))Object.getOwnPropertyNames(c).forEach((e=>a[e]=()=>r[e]));return a.default=()=>r,o.d(i,a),i},o.d=(e,t)=>{for(var r in t)o.o(t,r)&&!o.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var i={};return(()=>{"use strict";o.d(i,{plugin:()=>r});const e=coreApis.ajax,t=e=>{const{name:t,displayName:r,description:n,indexer:o,link:i}=e;return{name:t||o,displayName:r,icon:"mdi-open-in-new",indexer:o,description:n,action:()=>{window.open(i,"_blank")},order:0}},r={name:"launchBar.actions.uidSearch",displayName:"搜索栏 - UID 跳转",async setup(r){let{addData:n}=r;n("launchBar.actions",(r=>{r.push({name:"uidSearchProvider",getActions:async r=>{const{match:n,id:o,indexer:i}=((e,t)=>{const r=e.match(t);if(!r)return{};const n=r[1],o=r[2];return{match:r,type:n,id:o,indexer:`${n}${o}`}})(r,/^(uid)(\d+)$/);if(!n)return[];const a=await(0,e.getJson)(`https://api.bilibili.com/x/space/wbi/acc/info?mid=${o}`),{name:c}=lodash.get(a,"data",{});return[t({name:c,description:"用户跳转",link:`https://space.bilibili.com/${o}`,indexer:i})]}})}))},commitHash:"58c0b438ca2371e397f70466a91572cb2757b142",coreVersion:"2.10.7",description:(()=>{const e=o(163);return{...Object.fromEntries(e.keys().map((t=>[t.match(/index\.(.+)\.md$/)[1],e(t)]))),"zh-CN":()=>Promise.resolve().then(o.t.bind(o,592,17)).then((e=>e.default))}})()}})(),i=i.plugin})())); +!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["launch-bar/uid-search"]=t():e["launch-bar/uid-search"]=t()}(globalThis,(()=>(()=>{var e,t,r={163:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=163,e.exports=t},592:e=>{"use strict";e.exports="在输入 UID (用户 ID) 时, 提供对应的跳转选项.\n"}},n={};function o(e){var t=n[e];if(void 0!==t)return t.exports;var i=n[e]={exports:{}};return r[e](i,i.exports,o),i.exports}t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,o.t=function(r,n){if(1&n&&(r=this(r)),8&n)return r;if("object"==typeof r&&r){if(4&n&&r.__esModule)return r;if(16&n&&"function"==typeof r.then)return r}var i=Object.create(null);o.r(i);var a={};e=e||[null,t({}),t([]),t(t)];for(var c=2&n&&r;"object"==typeof c&&!~e.indexOf(c);c=t(c))Object.getOwnPropertyNames(c).forEach((e=>a[e]=()=>r[e]));return a.default=()=>r,o.d(i,a),i},o.d=(e,t)=>{for(var r in t)o.o(t,r)&&!o.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var i={};return(()=>{"use strict";o.d(i,{plugin:()=>r});const e=coreApis.ajax,t=e=>{const{name:t,displayName:r,description:n,indexer:o,link:i}=e;return{name:t||o,displayName:r,icon:"mdi-open-in-new",indexer:o,description:n,action:()=>{window.open(i,"_blank")},order:0}},r={name:"launchBar.actions.uidSearch",displayName:"搜索栏 - UID 跳转",async setup(r){let{addData:n}=r;n("launchBar.actions",(r=>{r.push({name:"uidSearchProvider",getActions:async r=>{const{match:n,id:o,indexer:i}=((e,t)=>{const r=e.match(t);if(!r)return{};const n=r[1],o=r[2];return{match:r,type:n,id:o,indexer:`${n}${o}`}})(r,/^(uid)(\d+)$/);if(!n)return[];const a=await(0,e.getJson)(`https://api.bilibili.com/x/space/wbi/acc/info?mid=${o}`),{name:c}=lodash.get(a,"data",{});return[t({name:c,description:"用户跳转",link:`https://space.bilibili.com/${o}`,indexer:i})]}})}))},commitHash:"d87d69cfb9d7e0124bd90a06fec4569bd61e02c5",coreVersion:"2.10.7",description:(()=>{const e=o(163);return{...Object.fromEntries(e.keys().map((t=>[t.match(/index\.(.+)\.md$/)[1],e(t)]))),"zh-CN":()=>Promise.resolve().then(o.t.bind(o,592,17)).then((e=>e.default))}})()}})(),i=i.plugin})())); //# sourceMappingURL=https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/registry/dist/plugins/launch-bar/uid-search.js.map \ No newline at end of file diff --git a/bb-evolved/registry/dist/plugins/settings-panel/recent-components.js b/bb-evolved/registry/dist/plugins/settings-panel/recent-components.js index 965fceef46..b37f0f4212 100644 --- a/bb-evolved/registry/dist/plugins/settings-panel/recent-components.js +++ b/bb-evolved/registry/dist/plugins/settings-panel/recent-components.js @@ -1,2 +1,2 @@ -!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["settings-panel/recent-components"]=t():e["settings-panel/recent-components"]=t()}(globalThis,(()=>(()=>{"use strict";var e,t,n={905:e=>{e.exports=coreApis.settings}},o={};function r(e){var t=o[e];if(void 0!==t)return t.exports;var a=o[e]={exports:{}};return n[e](a,a.exports,r),a.exports}t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,r.t=function(n,o){if(1&o&&(n=this(n)),8&o)return n;if("object"==typeof n&&n){if(4&o&&n.__esModule)return n;if(16&o&&"function"==typeof n.then)return n}var a=Object.create(null);r.r(a);var s={};e=e||[null,t({}),t([]),t(t)];for(var i=2&o&&n;"object"==typeof i&&!~e.indexOf(i);i=t(i))Object.getOwnPropertyNames(i).forEach((e=>s[e]=()=>n[e]));return s.default=()=>n,r.d(a,s),a},r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var a={};r.d(a,{plugin:()=>s});const s={name:"settingsPanel.tagFilters.recentComponents",displayName:'设置面板 - "最近使用" 类别',description:'在设置面板中添加 "最近使用" 类别, 方便检索最近操作过的组件.',setup:e=>{let{addData:t,addHook:n}=e;const o=async()=>{const{getGeneralSettings:e}=await Promise.resolve().then(r.t.bind(r,905,23)),t=e();return t.recentComponents||(t.recentComponents={}),t.recentComponents};n("settingsPanel.componentDetail.open",{after:async e=>{(await o())[e]=Number(new Date)}}),n("userComponents.add",{after:async(e,t,n)=>{(await o())[n.name]=Number(new Date)}}),n("userComponents.remove",{after:async e=>{delete(await o())[e.name]}}),t("settingsPanel.tagFilters",(async e=>{const t=await o();e.unshift((e=>{let{renderedComponents:n}=e;return{name:"recent",displayName:"最近",color:"inherit",icon:"mdi-clock-outline",order:0,count:n.length,filter:e=>lodash.sortBy(e,(e=>t[e.name]??0)).reverse()}}))}))},commitHash:"58c0b438ca2371e397f70466a91572cb2757b142",coreVersion:"2.10.7"};return a=a.plugin})())); +!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["settings-panel/recent-components"]=t():e["settings-panel/recent-components"]=t()}(globalThis,(()=>(()=>{"use strict";var e,t,n={905:e=>{e.exports=coreApis.settings}},o={};function r(e){var t=o[e];if(void 0!==t)return t.exports;var a=o[e]={exports:{}};return n[e](a,a.exports,r),a.exports}t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,r.t=function(n,o){if(1&o&&(n=this(n)),8&o)return n;if("object"==typeof n&&n){if(4&o&&n.__esModule)return n;if(16&o&&"function"==typeof n.then)return n}var a=Object.create(null);r.r(a);var s={};e=e||[null,t({}),t([]),t(t)];for(var i=2&o&&n;"object"==typeof i&&!~e.indexOf(i);i=t(i))Object.getOwnPropertyNames(i).forEach((e=>s[e]=()=>n[e]));return s.default=()=>n,r.d(a,s),a},r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var a={};r.d(a,{plugin:()=>s});const s={name:"settingsPanel.tagFilters.recentComponents",displayName:'设置面板 - "最近使用" 类别',description:'在设置面板中添加 "最近使用" 类别, 方便检索最近操作过的组件.',setup:e=>{let{addData:t,addHook:n}=e;const o=async()=>{const{getGeneralSettings:e}=await Promise.resolve().then(r.t.bind(r,905,23)),t=e();return t.recentComponents||(t.recentComponents={}),t.recentComponents};n("settingsPanel.componentDetail.open",{after:async e=>{(await o())[e]=Number(new Date)}}),n("userComponents.add",{after:async(e,t,n)=>{(await o())[n.name]=Number(new Date)}}),n("userComponents.remove",{after:async e=>{delete(await o())[e.name]}}),t("settingsPanel.tagFilters",(async e=>{const t=await o();e.unshift((e=>{let{renderedComponents:n}=e;return{name:"recent",displayName:"最近",color:"inherit",icon:"mdi-clock-outline",order:0,count:n.length,filter:e=>lodash.sortBy(e,(e=>t[e.name]??0)).reverse()}}))}))},commitHash:"d87d69cfb9d7e0124bd90a06fec4569bd61e02c5",coreVersion:"2.10.7"};return a=a.plugin})())); //# sourceMappingURL=https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/registry/dist/plugins/settings-panel/recent-components.js.map \ No newline at end of file diff --git a/bb-evolved/registry/dist/plugins/style/custom-navbar-channel.js b/bb-evolved/registry/dist/plugins/style/custom-navbar-channel.js index 97cab00387..d8be25a3d3 100644 --- a/bb-evolved/registry/dist/plugins/style/custom-navbar-channel.js +++ b/bb-evolved/registry/dist/plugins/style/custom-navbar-channel.js @@ -1,2 +1,2 @@ -!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["style/custom-navbar-channel"]=t():e["style/custom-navbar-channel"]=t()}(globalThis,(()=>(()=>{"use strict";var e={666:(e,t,n)=>{n.r(t),n.d(t,{default:()=>i});var o=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"navbar-channel",attrs:{"data-channel-id":e.channelId}},[e._v("频道")])};o._withStripped=!0;const a=coreApis.ajax;var r=function(e,t,n,o,a,r,i,s){var c,l="function"==typeof e?e.options:e;if(t&&(l.render=t,l.staticRenderFns=n,l._compiled=!0),o&&(l.functional=!0),r&&(l._scopeId="data-v-"+r),i?(c=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),a&&a.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(i)},l._ssrRegister=c):a&&(c=s?function(){a.call(this,(l.functional?this.parent:this).$root.$options.shadowRoot)}:a),c)if(l.functional){l._injectStyles=c;var d=l.render;l.render=function(e,t){return c.call(t),d(e,t)}}else{var p=l.beforeCreate;l.beforeCreate=p?[].concat(p,c):[c]}return{exports:e,options:l}}(Vue.extend({data:()=>({channelId:null}),async created(){const{channel_id:e}=await(0,a.bilibiliApi)((0,a.getJsonWithCredentials)("https://api.bilibili.com/x/web-interface/web/channel/red"));e&&(this.channelId=e)}}),o,[],!1,null,null,null);const i=r.exports}},t={};function n(o){var a=t[o];if(void 0!==a)return a.exports;var r=t[o]={exports:{}};return e[o](r,r.exports,n),r.exports}n.d=(e,t)=>{for(var o in t)n.o(t,o)&&!n.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var o={};n.d(o,{plugin:()=>r});const a=coreApis.settings,r={name:"customNavbar.items.channel",displayName:"自定义顶栏 - 频道",description:"为自定义顶栏添加一个频道入口.",async setup(e){let{addData:t}=e;t("customNavbar.items",(e=>{const t="https://www.bilibili.com/v/channel/",o="channel";e.push({name:"channel",displayName:"频道",content:()=>Promise.resolve().then(n.bind(n,666)),clickAction:()=>{const e=dq(".navbar-channel").getAttribute("data-channel-id");window.open(e?`${t}${e}`:t,(()=>{const{options:e}=(0,a.getComponentSettings)("customNavbar");return o in e.openInNewTabOverrides?e.openInNewTabOverrides[o]:e.openInNewTab})()?"_blank":"_self")}})}))},commitHash:"58c0b438ca2371e397f70466a91572cb2757b142",coreVersion:"2.10.7"};return o=o.plugin})())); +!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["style/custom-navbar-channel"]=t():e["style/custom-navbar-channel"]=t()}(globalThis,(()=>(()=>{"use strict";var e={666:(e,t,n)=>{n.r(t),n.d(t,{default:()=>i});var o=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"navbar-channel",attrs:{"data-channel-id":e.channelId}},[e._v("频道")])};o._withStripped=!0;const a=coreApis.ajax;var r=function(e,t,n,o,a,r,i,s){var c,l="function"==typeof e?e.options:e;if(t&&(l.render=t,l.staticRenderFns=n,l._compiled=!0),o&&(l.functional=!0),r&&(l._scopeId="data-v-"+r),i?(c=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),a&&a.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(i)},l._ssrRegister=c):a&&(c=s?function(){a.call(this,(l.functional?this.parent:this).$root.$options.shadowRoot)}:a),c)if(l.functional){l._injectStyles=c;var d=l.render;l.render=function(e,t){return c.call(t),d(e,t)}}else{var p=l.beforeCreate;l.beforeCreate=p?[].concat(p,c):[c]}return{exports:e,options:l}}(Vue.extend({data:()=>({channelId:null}),async created(){const{channel_id:e}=await(0,a.bilibiliApi)((0,a.getJsonWithCredentials)("https://api.bilibili.com/x/web-interface/web/channel/red"));e&&(this.channelId=e)}}),o,[],!1,null,null,null);const i=r.exports}},t={};function n(o){var a=t[o];if(void 0!==a)return a.exports;var r=t[o]={exports:{}};return e[o](r,r.exports,n),r.exports}n.d=(e,t)=>{for(var o in t)n.o(t,o)&&!n.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var o={};n.d(o,{plugin:()=>r});const a=coreApis.settings,r={name:"customNavbar.items.channel",displayName:"自定义顶栏 - 频道",description:"为自定义顶栏添加一个频道入口.",async setup(e){let{addData:t}=e;t("customNavbar.items",(e=>{const t="https://www.bilibili.com/v/channel/",o="channel";e.push({name:"channel",displayName:"频道",content:()=>Promise.resolve().then(n.bind(n,666)),clickAction:()=>{const e=dq(".navbar-channel").getAttribute("data-channel-id");window.open(e?`${t}${e}`:t,(()=>{const{options:e}=(0,a.getComponentSettings)("customNavbar");return o in e.openInNewTabOverrides?e.openInNewTabOverrides[o]:e.openInNewTab})()?"_blank":"_self")}})}))},commitHash:"d87d69cfb9d7e0124bd90a06fec4569bd61e02c5",coreVersion:"2.10.7"};return o=o.plugin})())); //# sourceMappingURL=https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/registry/dist/plugins/style/custom-navbar-channel.js.map \ No newline at end of file diff --git a/bb-evolved/registry/dist/plugins/style/custom-navbar-dark-mode.js b/bb-evolved/registry/dist/plugins/style/custom-navbar-dark-mode.js index 458e73ee8c..fa77721371 100644 --- a/bb-evolved/registry/dist/plugins/style/custom-navbar-dark-mode.js +++ b/bb-evolved/registry/dist/plugins/style/custom-navbar-dark-mode.js @@ -1,15 +1,15 @@ -!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports["style/custom-navbar-dark-mode"]=e():t["style/custom-navbar-dark-mode"]=e()}(globalThis,(()=>(()=>{var t,e,n={789:(t,e,n)=>{var r=n(904),o=n(955)(r);o.push([t.id,".navbar-dark-mode {\n display: flex;\n}\n.navbar-dark-mode svg {\n height: 18px;\n width: 18px;\n fill: currentColor;\n}","",{version:3,sources:["webpack://./registry/lib/plugins/style/custom-navbar-dark-mode/NavbarDarkMode.vue"],names:[],mappings:"AAAA;EACE,aAAa;AACf;AACA;EACE,YAAY;EACZ,WAAW;EACX,kBAAkB;AACpB",sourcesContent:[".navbar-dark-mode {\n display: flex;\n}\n.navbar-dark-mode svg {\n height: 18px;\n width: 18px;\n fill: currentColor;\n}"],sourceRoot:""}]),t.exports=o},955:t=>{"use strict"; +!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["style/custom-navbar-dark-mode"]=t():e["style/custom-navbar-dark-mode"]=t()}(globalThis,(()=>(()=>{var e,t,n={789:(e,t,n)=>{var r=n(904),o=n(955)(r);o.push([e.id,".navbar-dark-mode {\n display: flex;\n}\n.navbar-dark-mode svg {\n height: 18px;\n width: 18px;\n fill: currentColor;\n}","",{version:3,sources:["webpack://./registry/lib/plugins/style/custom-navbar-dark-mode/NavbarDarkMode.vue"],names:[],mappings:"AAAA;EACE,aAAa;AACf;AACA;EACE,YAAY;EACZ,WAAW;EACX,kBAAkB;AACpB",sourcesContent:[".navbar-dark-mode {\n display: flex;\n}\n.navbar-dark-mode svg {\n height: 18px;\n width: 18px;\n fill: currentColor;\n}"],sourceRoot:""}]),e.exports=o},955:e=>{"use strict"; // eslint-disable-next-line func-names -t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var n=t(e);return e[2]?"@media ".concat(e[2]," {").concat(n,"}"):n})).join("")}, +e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n=e(t);return t[2]?"@media ".concat(t[2]," {").concat(n,"}"):n})).join("")}, // eslint-disable-next-line func-names -e.i=function(t,n,r){"string"==typeof t&&( +t.i=function(e,n,r){"string"==typeof e&&( // eslint-disable-next-line no-param-reassign -t=[[null,t,""]]);var o={};if(r)for(var a=0;a{"use strict";function e(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=t&&("undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"]);if(null==n)return;var r,o,a=[],i=!0,s=!1;try{for(n=n.call(t);!(i=(r=n.next()).done)&&(a.push(r.value),!e||a.length!==e);i=!0);}catch(t){s=!0,o=t}finally{try{i||null==n.return||n.return()}finally{if(s)throw o}}return a}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return n(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return n(t,e)}(t,e)||function(){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 n(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n{"use strict";function t(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=e&&("undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]);if(null==n)return;var r,o,a=[],i=!0,s=!1;try{for(n=n.call(e);!(i=(r=n.next()).done)&&(a.push(r.value),!t||a.length!==t);i=!0);}catch(e){s=!0,o=e}finally{try{i||null==n.return||n.return()}finally{if(s)throw o}}return a}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return n(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return n(e,t)}(e,t)||function(){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 n(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n{"use strict";var r,o=function(){return void 0===r&&( +var a=btoa(unescape(encodeURIComponent(JSON.stringify(o)))),i="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(a),s="/*# ".concat(i," */"),c=o.sources.map((function(e){return"/*# sourceURL=".concat(o.sourceRoot||"").concat(e," */")}));return[r].concat(c).concat([s]).join("\n")}return[r].join("\n")}},991:(e,t,n)=>{"use strict";var r,o=function(){return void 0===r&&( // @see http://browserhacks.com/#hack-e71d8692f65334173fee715c222cb805 // @see https://github.com/webpack-contrib/style-loader/issues/177 -r=Boolean(window&&document&&document.all&&!window.atob)),r},a=function(){var t={};return function(e){if(void 0===t[e]){var n=document.querySelector(e);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(t){n=null}t[e]=n}return t[e]}}(),i=[];function s(t){for(var e=-1,n=0;n{"use strict";n.r(e),n.d(e,{default:()=>f});var r=function(){var t=this,e=t._self._c;t._self._setupProxy;return e("div",{staticClass:"navbar-dark-mode",attrs:{title:t.dark?"关闭夜间模式":"开启夜间模式"}},[t.dark?e("svg",{staticStyle:{width:"18px"},attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 47.96 47.96"}},[e("path",{attrs:{d:"M24,12A12,12,0,1,0,36,24,12,12,0,0,0,24,12Zm0,20a8,8,0,1,1,8-8A8,8,0,0,1,24,32Z"}}),t._v(" "),e("path",{attrs:{d:"M24,9a2,2,0,0,0,2-2V4a2,2,0,0,0-4,0V7A2,2,0,0,0,24,9Z"}}),t._v(" "),e("path",{attrs:{d:"M36,14a2,2,0,0,0,1.42-.59l2.12-2.12a2,2,0,1,0-2.83-2.83l-2.12,2.12A2,2,0,0,0,36,14Z"}}),t._v(" "),e("path",{attrs:{d:"M44,22H41a2,2,0,0,0,0,4h3a2,2,0,1,0,0-4Z"}}),t._v(" "),e("path",{attrs:{d:"M37.4,34.61a2,2,0,1,0-2.83,2.82l2.12,2.13a2,2,0,0,0,2.83-2.83Z"}}),t._v(" "),e("path",{attrs:{d:"M24,39a2,2,0,0,0-2,2v3a2,2,0,0,0,4,0V41A2,2,0,0,0,24,39Z"}}),t._v(" "),e("path",{attrs:{d:"M10.53,34.61,8.41,36.73a2,2,0,0,0,0,2.83,2,2,0,0,0,2.82,0l2.13-2.13a2,2,0,1,0-2.83-2.82Z"}}),t._v(" "),e("path",{attrs:{d:"M9,24a2,2,0,0,0-2-2H4a2,2,0,0,0,0,4H7A2,2,0,0,0,9,24Z"}}),t._v(" "),e("path",{attrs:{d:"M10.53,13.39a2,2,0,0,0,1.41.59,2,2,0,0,0,1.42-3.42L11.23,8.44a2,2,0,0,0-2.82,2.83Z"}})]):e("svg",{staticStyle:{width:"18px"},attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 48 48"}},[e("path",{attrs:{d:"M24.48,42.18A18.66,18.66,0,0,1,22.11,5,2,2,0,0,1,23.56,8.6,11.32,11.32,0,1,0,39.4,24.44,2,2,0,0,1,43,25.89,18.68,18.68,0,0,1,24.48,42.18ZM16.36,11.32A14.66,14.66,0,1,0,36.68,31.64,15.35,15.35,0,0,1,15,17.68,15.2,15.2,0,0,1,16.36,11.32Z"}})])])};r._withStripped=!0;var o=n(905);const a=Vue.extend({data:()=>({dark:(0,o.getComponentSettings)("darkMode").enabled}),created(){(0,o.addComponentListener)("darkMode",(t=>{this.dark=t}))}});var i=n(991),s=n.n(i),c=n(789),u=n.n(c),d={insert:"head",singleton:!1};s()(u(),d);u().locals;var l=function(t,e,n,r,o,a,i,s){var c,u="function"==typeof t?t.options:t;if(e&&(u.render=e,u.staticRenderFns=n,u._compiled=!0),r&&(u.functional=!0),a&&(u._scopeId="data-v-"+a),i?(c=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),o&&o.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(i)},u._ssrRegister=c):o&&(c=s?function(){o.call(this,(u.functional?this.parent:this).$root.$options.shadowRoot)}:o),c)if(u.functional){u._injectStyles=c;var d=u.render;u.render=function(t,e){return c.call(e),d(t,e)}}else{var l=u.beforeCreate;u.beforeCreate=l?[].concat(l,c):[c]}return{exports:t,options:u}}(a,r,[],!1,null,null,null);const f=l.exports},905:t=>{"use strict";t.exports=coreApis.settings}},r={};function o(t){var e=r[t];if(void 0!==e)return e.exports;var a=r[t]={id:t,exports:{}};return n[t](a,a.exports,o),a.exports}o.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return o.d(e,{a:e}),e},e=Object.getPrototypeOf?t=>Object.getPrototypeOf(t):t=>t.__proto__,o.t=function(n,r){if(1&r&&(n=this(n)),8&r)return n;if("object"==typeof n&&n){if(4&r&&n.__esModule)return n;if(16&r&&"function"==typeof n.then)return n}var a=Object.create(null);o.r(a);var i={};t=t||[null,e({}),e([]),e(e)];for(var s=2&r&&n;"object"==typeof s&&!~t.indexOf(s);s=e(s))Object.getOwnPropertyNames(s).forEach((t=>i[t]=()=>n[t]));return i.default=()=>n,o.d(a,i),a},o.d=(t,e)=>{for(var n in e)o.o(e,n)&&!o.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},o.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),o.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},o.nc=void 0;var a={};return(()=>{"use strict";o.d(a,{plugin:()=>t});const t={name:"customNavbar.items.darkMode",displayName:"自定义顶栏 - 夜间模式开关",description:"为自定义顶栏添加一个夜间模式开关, 方便快速切换夜间模式.",async setup(t){let{addData:e}=t;const{getComponentSettings:n}=await Promise.resolve().then(o.t.bind(o,905,23));e("customNavbar.items",(t=>{t.push({name:"darkMode",displayName:"夜间开关",content:()=>Promise.resolve().then(o.bind(o,562)),clickAction:()=>{const t=n("darkMode");t.enabled=!t.enabled}})}))},commitHash:"58c0b438ca2371e397f70466a91572cb2757b142",coreVersion:"2.10.7"}})(),a=a.plugin})())); +r=Boolean(window&&document&&document.all&&!window.atob)),r},a=function(){var e={};return function(t){if(void 0===e[t]){var n=document.querySelector(t);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}e[t]=n}return e[t]}}(),i=[];function s(e){for(var t=-1,n=0;n{"use strict";n.r(t),n.d(t,{default:()=>f});var r=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"navbar-dark-mode",attrs:{title:e.dark?"关闭夜间模式":"开启夜间模式"}},[e.dark?t("svg",{staticStyle:{width:"18px"},attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 47.96 47.96"}},[t("path",{attrs:{d:"M24,12A12,12,0,1,0,36,24,12,12,0,0,0,24,12Zm0,20a8,8,0,1,1,8-8A8,8,0,0,1,24,32Z"}}),e._v(" "),t("path",{attrs:{d:"M24,9a2,2,0,0,0,2-2V4a2,2,0,0,0-4,0V7A2,2,0,0,0,24,9Z"}}),e._v(" "),t("path",{attrs:{d:"M36,14a2,2,0,0,0,1.42-.59l2.12-2.12a2,2,0,1,0-2.83-2.83l-2.12,2.12A2,2,0,0,0,36,14Z"}}),e._v(" "),t("path",{attrs:{d:"M44,22H41a2,2,0,0,0,0,4h3a2,2,0,1,0,0-4Z"}}),e._v(" "),t("path",{attrs:{d:"M37.4,34.61a2,2,0,1,0-2.83,2.82l2.12,2.13a2,2,0,0,0,2.83-2.83Z"}}),e._v(" "),t("path",{attrs:{d:"M24,39a2,2,0,0,0-2,2v3a2,2,0,0,0,4,0V41A2,2,0,0,0,24,39Z"}}),e._v(" "),t("path",{attrs:{d:"M10.53,34.61,8.41,36.73a2,2,0,0,0,0,2.83,2,2,0,0,0,2.82,0l2.13-2.13a2,2,0,1,0-2.83-2.82Z"}}),e._v(" "),t("path",{attrs:{d:"M9,24a2,2,0,0,0-2-2H4a2,2,0,0,0,0,4H7A2,2,0,0,0,9,24Z"}}),e._v(" "),t("path",{attrs:{d:"M10.53,13.39a2,2,0,0,0,1.41.59,2,2,0,0,0,1.42-3.42L11.23,8.44a2,2,0,0,0-2.82,2.83Z"}})]):t("svg",{staticStyle:{width:"18px"},attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 48 48"}},[t("path",{attrs:{d:"M24.48,42.18A18.66,18.66,0,0,1,22.11,5,2,2,0,0,1,23.56,8.6,11.32,11.32,0,1,0,39.4,24.44,2,2,0,0,1,43,25.89,18.68,18.68,0,0,1,24.48,42.18ZM16.36,11.32A14.66,14.66,0,1,0,36.68,31.64,15.35,15.35,0,0,1,15,17.68,15.2,15.2,0,0,1,16.36,11.32Z"}})])])};r._withStripped=!0;var o=n(905);const a=Vue.extend({data:()=>({dark:(0,o.getComponentSettings)("darkMode").enabled}),created(){(0,o.addComponentListener)("darkMode",(e=>{this.dark=e}))}});var i=n(991),s=n.n(i),c=n(789),d=n.n(c),u={insert:"head",singleton:!1};s()(d(),u);d().locals;var l=function(e,t,n,r,o,a,i,s){var c,d="function"==typeof e?e.options:e;if(t&&(d.render=t,d.staticRenderFns=n,d._compiled=!0),r&&(d.functional=!0),a&&(d._scopeId="data-v-"+a),i?(c=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),o&&o.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(i)},d._ssrRegister=c):o&&(c=s?function(){o.call(this,(d.functional?this.parent:this).$root.$options.shadowRoot)}:o),c)if(d.functional){d._injectStyles=c;var u=d.render;d.render=function(e,t){return c.call(t),u(e,t)}}else{var l=d.beforeCreate;d.beforeCreate=l?[].concat(l,c):[c]}return{exports:e,options:d}}(a,r,[],!1,null,null,null);const f=l.exports},905:e=>{"use strict";e.exports=coreApis.settings}},r={};function o(e){var t=r[e];if(void 0!==t)return t.exports;var a=r[e]={id:e,exports:{}};return n[e](a,a.exports,o),a.exports}o.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return o.d(t,{a:t}),t},t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,o.t=function(n,r){if(1&r&&(n=this(n)),8&r)return n;if("object"==typeof n&&n){if(4&r&&n.__esModule)return n;if(16&r&&"function"==typeof n.then)return n}var a=Object.create(null);o.r(a);var i={};e=e||[null,t({}),t([]),t(t)];for(var s=2&r&&n;"object"==typeof s&&!~e.indexOf(s);s=t(s))Object.getOwnPropertyNames(s).forEach((e=>i[e]=()=>n[e]));return i.default=()=>n,o.d(a,i),a},o.d=(e,t)=>{for(var n in t)o.o(t,n)&&!o.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.nc=void 0;var a={};return(()=>{"use strict";o.d(a,{plugin:()=>e});const e={name:"customNavbar.items.darkMode",displayName:"自定义顶栏 - 夜间模式开关",description:"为自定义顶栏添加一个夜间模式开关, 方便快速切换夜间模式.",async setup(e){let{addData:t}=e;const{getComponentSettings:n}=await Promise.resolve().then(o.t.bind(o,905,23));t("customNavbar.items",(e=>{e.push({name:"darkMode",displayName:"夜间开关",content:()=>Promise.resolve().then(o.bind(o,562)),clickAction:()=>{const e=n("darkMode");e.enabled=!e.enabled}})}))},commitHash:"d87d69cfb9d7e0124bd90a06fec4569bd61e02c5",coreVersion:"2.10.7"}})(),a=a.plugin})())); //# sourceMappingURL=https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/registry/dist/plugins/style/custom-navbar-dark-mode.js.map \ No newline at end of file diff --git a/bb-evolved/registry/dist/plugins/style/custom-navbar-pgc.js b/bb-evolved/registry/dist/plugins/style/custom-navbar-pgc.js index 6c9e366951..a3232f657b 100644 --- a/bb-evolved/registry/dist/plugins/style/custom-navbar-pgc.js +++ b/bb-evolved/registry/dist/plugins/style/custom-navbar-pgc.js @@ -1,2 +1,2 @@ -!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["style/custom-navbar-pgc"]=t():e["style/custom-navbar-pgc"]=t()}(globalThis,(()=>(()=>{"use strict";var e={d:(t,a)=>{for(var i in a)e.o(a,i)&&!e.o(t,i)&&Object.defineProperty(t,i,{enumerable:!0,get:a[i]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t)},t={};e.d(t,{plugin:()=>a});const a={name:"customNavbar.items.pgc",displayName:"自定义顶栏 - 版权内容",description:"为自定义顶栏扩充版权内容相关的快速入口, 包括国创 / 电影 / 电视剧 /综艺 / 纪录片",async setup(e){let{addData:t}=e;t("customNavbar.items",(e=>{e.push(...[{name:"guochuang",displayName:"国创",href:"https://www.bilibili.com/guochuang/"},{name:"movie",displayName:"电影",href:"https://www.bilibili.com/movie/"},{name:"tv",displayName:"电视剧",href:"https://www.bilibili.com/tv/"},{name:"variety",displayName:"综艺",href:"https://www.bilibili.com/variety/"},{name:"documentary",displayName:"纪录片",href:"https://www.bilibili.com/documentary/"}].map((e=>({...e,content:e.displayName,active:document.URL.startsWith(e.href)}))))}))},commitHash:"58c0b438ca2371e397f70466a91572cb2757b142",coreVersion:"2.10.7"};return t=t.plugin})())); +!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["style/custom-navbar-pgc"]=t():e["style/custom-navbar-pgc"]=t()}(globalThis,(()=>(()=>{"use strict";var e={d:(t,a)=>{for(var i in a)e.o(a,i)&&!e.o(t,i)&&Object.defineProperty(t,i,{enumerable:!0,get:a[i]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t)},t={};e.d(t,{plugin:()=>a});const a={name:"customNavbar.items.pgc",displayName:"自定义顶栏 - 版权内容",description:"为自定义顶栏扩充版权内容相关的快速入口, 包括国创 / 电影 / 电视剧 /综艺 / 纪录片",async setup(e){let{addData:t}=e;t("customNavbar.items",(e=>{e.push(...[{name:"guochuang",displayName:"国创",href:"https://www.bilibili.com/guochuang/"},{name:"movie",displayName:"电影",href:"https://www.bilibili.com/movie/"},{name:"tv",displayName:"电视剧",href:"https://www.bilibili.com/tv/"},{name:"variety",displayName:"综艺",href:"https://www.bilibili.com/variety/"},{name:"documentary",displayName:"纪录片",href:"https://www.bilibili.com/documentary/"}].map((e=>({...e,content:e.displayName,active:document.URL.startsWith(e.href)}))))}))},commitHash:"d87d69cfb9d7e0124bd90a06fec4569bd61e02c5",coreVersion:"2.10.7"};return t=t.plugin})())); //# sourceMappingURL=https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/registry/dist/plugins/style/custom-navbar-pgc.js.map \ No newline at end of file diff --git a/bb-evolved/registry/dist/plugins/utils/keymap-dark-mode.js b/bb-evolved/registry/dist/plugins/utils/keymap-dark-mode.js index 035ceff0f3..06a186bcd1 100644 --- a/bb-evolved/registry/dist/plugins/utils/keymap-dark-mode.js +++ b/bb-evolved/registry/dist/plugins/utils/keymap-dark-mode.js @@ -1,2 +1,2 @@ -!function(e,o){"object"==typeof exports&&"object"==typeof module?module.exports=o():"function"==typeof define&&define.amd?define([],o):"object"==typeof exports?exports["utils/keymap-dark-mode"]=o():e["utils/keymap-dark-mode"]=o()}(globalThis,(()=>(()=>{"use strict";var e={d:(o,t)=>{for(var a in t)e.o(t,a)&&!e.o(o,a)&&Object.defineProperty(o,a,{enumerable:!0,get:t[a]})},o:(e,o)=>Object.prototype.hasOwnProperty.call(e,o)},o={};e.d(o,{plugin:()=>t});const t={name:"keymap.actions.darkMode",displayName:"快捷键扩展 - 夜间模式",description:'在快捷键的动作列表里添加一个 "夜间模式", 可以通过快捷键切换夜间模式',setup:e=>{let{addData:o,coreApis:{settings:t}}=e;o("keymap.actions",(e=>{e.darkMode={displayName:"夜间模式",run:()=>{const e=t.getComponentSettings("darkMode");e.enabled=!e.enabled}}})),o("keymap.presets",(e=>{e.darkMode=""}))},commitHash:"58c0b438ca2371e397f70466a91572cb2757b142",coreVersion:"2.10.7"};return o=o.plugin})())); +!function(e,o){"object"==typeof exports&&"object"==typeof module?module.exports=o():"function"==typeof define&&define.amd?define([],o):"object"==typeof exports?exports["utils/keymap-dark-mode"]=o():e["utils/keymap-dark-mode"]=o()}(globalThis,(()=>(()=>{"use strict";var e={d:(o,t)=>{for(var d in t)e.o(t,d)&&!e.o(o,d)&&Object.defineProperty(o,d,{enumerable:!0,get:t[d]})},o:(e,o)=>Object.prototype.hasOwnProperty.call(e,o)},o={};e.d(o,{plugin:()=>t});const t={name:"keymap.actions.darkMode",displayName:"快捷键扩展 - 夜间模式",description:'在快捷键的动作列表里添加一个 "夜间模式", 可以通过快捷键切换夜间模式',setup:e=>{let{addData:o,coreApis:{settings:t}}=e;o("keymap.actions",(e=>{e.darkMode={displayName:"夜间模式",run:()=>{const e=t.getComponentSettings("darkMode");e.enabled=!e.enabled}}})),o("keymap.presets",(e=>{e.darkMode=""}))},commitHash:"d87d69cfb9d7e0124bd90a06fec4569bd61e02c5",coreVersion:"2.10.7"};return o=o.plugin})())); //# sourceMappingURL=https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/registry/dist/plugins/utils/keymap-dark-mode.js.map \ No newline at end of file diff --git a/bb-evolved/registry/dist/plugins/utils/keymap-empty-action.ts.js b/bb-evolved/registry/dist/plugins/utils/keymap-empty-action.ts.js index fff06c48a4..a09a118f46 100644 --- a/bb-evolved/registry/dist/plugins/utils/keymap-empty-action.ts.js +++ b/bb-evolved/registry/dist/plugins/utils/keymap-empty-action.ts.js @@ -1,2 +1,2 @@ -!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["utils/keymap-empty-action.ts"]=t():e["utils/keymap-empty-action.ts"]=t()}(globalThis,(()=>(()=>{"use strict";var e={d:(t,o)=>{for(var p in o)e.o(o,p)&&!e.o(t,p)&&Object.defineProperty(t,p,{enumerable:!0,get:o[p]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t)},t={};e.d(t,{plugin:()=>o});const o={name:"keymap.actions.empty",displayName:"快捷键扩展 - 无动作",description:'在快捷键的动作列表里添加一个 "无动作", 将按键绑定到这个上面就可以阻止原有的快捷键行为.',setup:e=>{let{addData:t}=e;t("keymap.actions",(e=>{e.empty={displayName:"无动作",prevent:!0,run:none}})),t("keymap.presets",(e=>{e.empty=""}))},commitHash:"58c0b438ca2371e397f70466a91572cb2757b142",coreVersion:"2.10.7"};return t=t.plugin})())); +!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["utils/keymap-empty-action.ts"]=t():e["utils/keymap-empty-action.ts"]=t()}(globalThis,(()=>(()=>{"use strict";var e={d:(t,o)=>{for(var p in o)e.o(o,p)&&!e.o(t,p)&&Object.defineProperty(t,p,{enumerable:!0,get:o[p]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t)},t={};e.d(t,{plugin:()=>o});const o={name:"keymap.actions.empty",displayName:"快捷键扩展 - 无动作",description:'在快捷键的动作列表里添加一个 "无动作", 将按键绑定到这个上面就可以阻止原有的快捷键行为.',setup:e=>{let{addData:t}=e;t("keymap.actions",(e=>{e.empty={displayName:"无动作",prevent:!0,run:none}})),t("keymap.presets",(e=>{e.empty=""}))},commitHash:"d87d69cfb9d7e0124bd90a06fec4569bd61e02c5",coreVersion:"2.10.7"};return t=t.plugin})())); //# sourceMappingURL=https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/registry/dist/plugins/utils/keymap-empty-action.ts.js.map \ No newline at end of file diff --git a/bb-evolved/registry/dist/plugins/utils/keymap-toggle-danmaku-list.js b/bb-evolved/registry/dist/plugins/utils/keymap-toggle-danmaku-list.js index 97b74d3f63..d43b8bcc2c 100644 --- a/bb-evolved/registry/dist/plugins/utils/keymap-toggle-danmaku-list.js +++ b/bb-evolved/registry/dist/plugins/utils/keymap-toggle-danmaku-list.js @@ -1,2 +1,2 @@ -!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["utils/keymap-toggle-danmaku-list"]=t():e["utils/keymap-toggle-danmaku-list"]=t()}(globalThis,(()=>(()=>{"use strict";var e={d:(t,a)=>{for(var o in a)e.o(a,o)&&!e.o(t,o)&&Object.defineProperty(t,o,{enumerable:!0,get:a[o]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t)},t={};e.d(t,{plugin:()=>a});const a={name:"keymap.actions.toggleDanmakuList",displayName:"快捷键扩展 - 开关弹幕列表",description:'在快捷键的动作列表里添加一个 "开关弹幕列表".',setup:e=>{let{addData:t}=e;t("keymap.actions",(e=>{e.toggleDanmakuList={displayName:"开关弹幕列表",run:async()=>{const e=dq(".bui-collapse-header");return e?.click(),e}}})),t("keymap.presets",((e,t)=>{e.toggleDanmakuList="shift d",t.HTML5Player.toggleDanmakuList="",t.PotPlayer.toggleDanmakuList=""}))},commitHash:"58c0b438ca2371e397f70466a91572cb2757b142",coreVersion:"2.10.7"};return t=t.plugin})())); +!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["utils/keymap-toggle-danmaku-list"]=t():e["utils/keymap-toggle-danmaku-list"]=t()}(globalThis,(()=>(()=>{"use strict";var e={d:(t,a)=>{for(var o in a)e.o(a,o)&&!e.o(t,o)&&Object.defineProperty(t,o,{enumerable:!0,get:a[o]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t)},t={};e.d(t,{plugin:()=>a});const a={name:"keymap.actions.toggleDanmakuList",displayName:"快捷键扩展 - 开关弹幕列表",description:'在快捷键的动作列表里添加一个 "开关弹幕列表".',setup:e=>{let{addData:t}=e;t("keymap.actions",(e=>{e.toggleDanmakuList={displayName:"开关弹幕列表",run:async()=>{const e=dq(".bui-collapse-header");return e?.click(),e}}})),t("keymap.presets",((e,t)=>{e.toggleDanmakuList="shift d",t.HTML5Player.toggleDanmakuList="",t.PotPlayer.toggleDanmakuList=""}))},commitHash:"d87d69cfb9d7e0124bd90a06fec4569bd61e02c5",coreVersion:"2.10.7"};return t=t.plugin})())); //# sourceMappingURL=https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/registry/dist/plugins/utils/keymap-toggle-danmaku-list.js.map \ No newline at end of file diff --git a/bb-evolved/registry/dist/plugins/utils/keymap-toggle-player-light.js b/bb-evolved/registry/dist/plugins/utils/keymap-toggle-player-light.js index 4409b295cd..4e37635898 100644 --- a/bb-evolved/registry/dist/plugins/utils/keymap-toggle-player-light.js +++ b/bb-evolved/registry/dist/plugins/utils/keymap-toggle-player-light.js @@ -1,2 +1,2 @@ -!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["utils/keymap-toggle-player-light"]=t():e["utils/keymap-toggle-player-light"]=t()}(globalThis,(()=>(()=>{"use strict";var e={d:(t,o)=>{for(var a in o)e.o(o,a)&&!e.o(t,a)&&Object.defineProperty(t,a,{enumerable:!0,get:o[a]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t)},t={};e.d(t,{plugin:()=>a});const o=coreApis.componentApis.video.playerLight,a={name:"keymap.actions.togglePlayerLight",displayName:"快捷键扩展 - 开关灯",description:'在快捷键的动作列表里添加一个 "开关灯".',setup:e=>{let{addData:t}=e;t("keymap.actions",(e=>{e.togglePlayerLight={displayName:"开关灯",run:async()=>{(0,o.toggleLight)()}}})),t("keymap.presets",(e=>{e.togglePlayerLight="shift l"}))},commitHash:"58c0b438ca2371e397f70466a91572cb2757b142",coreVersion:"2.10.7"};return t=t.plugin})())); +!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["utils/keymap-toggle-player-light"]=t():e["utils/keymap-toggle-player-light"]=t()}(globalThis,(()=>(()=>{"use strict";var e={d:(t,o)=>{for(var i in o)e.o(o,i)&&!e.o(t,i)&&Object.defineProperty(t,i,{enumerable:!0,get:o[i]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t)},t={};e.d(t,{plugin:()=>i});const o=coreApis.componentApis.video.playerLight,i={name:"keymap.actions.togglePlayerLight",displayName:"快捷键扩展 - 开关灯",description:'在快捷键的动作列表里添加一个 "开关灯".',setup:e=>{let{addData:t}=e;t("keymap.actions",(e=>{e.togglePlayerLight={displayName:"开关灯",run:async()=>{(0,o.toggleLight)()}}})),t("keymap.presets",(e=>{e.togglePlayerLight="shift l"}))},commitHash:"d87d69cfb9d7e0124bd90a06fec4569bd61e02c5",coreVersion:"2.10.7"};return t=t.plugin})())); //# sourceMappingURL=https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/registry/dist/plugins/utils/keymap-toggle-player-light.js.map \ No newline at end of file diff --git a/bb-evolved/registry/dist/plugins/utils/keymap-toggle-subtitle.js b/bb-evolved/registry/dist/plugins/utils/keymap-toggle-subtitle.js index 9b446d6728..2c7591e729 100644 --- a/bb-evolved/registry/dist/plugins/utils/keymap-toggle-subtitle.js +++ b/bb-evolved/registry/dist/plugins/utils/keymap-toggle-subtitle.js @@ -1,2 +1,2 @@ -!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["utils/keymap-toggle-subtitle"]=t():e["utils/keymap-toggle-subtitle"]=t()}(globalThis,(()=>(()=>{"use strict";var e={d:(t,o)=>{for(var i in o)e.o(o,i)&&!e.o(t,i)&&Object.defineProperty(t,i,{enumerable:!0,get:o[i]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t)},t={};e.d(t,{plugin:()=>i});const o=coreApis.componentApis.video.playerAgent,i={name:"keymap.actions.toggleSubtitle",displayName:"快捷键扩展 - 开关 CC 字幕",description:'在快捷键的动作列表里添加一个 "开关 CC 字幕".',setup:e=>{let{addData:t}=e;t("keymap.actions",(e=>{e.toggleSubtitle={displayName:"开关 CC 字幕",run:async()=>o.playerAgent.toggleSubtitle()}})),t("keymap.presets",((e,t)=>{e.toggleSubtitle="shift c",t.YouTube.toggleSubtitle="c",t.YouTube.coin="",t.PotPlayer.toggleSubtitle="alt h"}))},commitHash:"58c0b438ca2371e397f70466a91572cb2757b142",coreVersion:"2.10.7"};return t=t.plugin})())); +!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["utils/keymap-toggle-subtitle"]=t():e["utils/keymap-toggle-subtitle"]=t()}(globalThis,(()=>(()=>{"use strict";var e={d:(t,o)=>{for(var i in o)e.o(o,i)&&!e.o(t,i)&&Object.defineProperty(t,i,{enumerable:!0,get:o[i]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t)},t={};e.d(t,{plugin:()=>i});const o=coreApis.componentApis.video.playerAgent,i={name:"keymap.actions.toggleSubtitle",displayName:"快捷键扩展 - 开关 CC 字幕",description:'在快捷键的动作列表里添加一个 "开关 CC 字幕".',setup:e=>{let{addData:t}=e;t("keymap.actions",(e=>{e.toggleSubtitle={displayName:"开关 CC 字幕",run:async()=>o.playerAgent.toggleSubtitle()}})),t("keymap.presets",((e,t)=>{e.toggleSubtitle="shift c",t.YouTube.toggleSubtitle="c",t.YouTube.coin="",t.PotPlayer.toggleSubtitle="alt h"}))},commitHash:"d87d69cfb9d7e0124bd90a06fec4569bd61e02c5",coreVersion:"2.10.7"};return t=t.plugin})())); //# sourceMappingURL=https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/registry/dist/plugins/utils/keymap-toggle-subtitle.js.map \ No newline at end of file diff --git a/bb-evolved/registry/dist/plugins/v-loading/reimu.js b/bb-evolved/registry/dist/plugins/v-loading/reimu.js index 78c4d73642..189a8a2099 100644 --- a/bb-evolved/registry/dist/plugins/v-loading/reimu.js +++ b/bb-evolved/registry/dist/plugins/v-loading/reimu.js @@ -11,5 +11,5 @@ var B=this[E][0];null!=B&&(g[B]=!0)}for(var M=0;M{"use strict";var C,g=function(){return void 0===C&&( // @see http://browserhacks.com/#hack-e71d8692f65334173fee715c222cb805 // @see https://github.com/webpack-contrib/style-loader/issues/177 -C=Boolean(window&&document&&document.all&&!window.atob)),C},E=function(){var A={};return function(Q){if(void 0===A[Q]){var I=document.querySelector(Q);if(window.HTMLIFrameElement&&I instanceof window.HTMLIFrameElement)try{I=I.contentDocument.head}catch(A){I=null}A[Q]=I}return A[Q]}}(),B=[];function M(A){for(var Q=-1,I=0;I{"use strict";I.r(Q),I.d(Q,{default:()=>h});var C=function(){this._self._c;return this._m(0)};C._withStripped=!0;var g=I(991),E=I.n(g),B=I(308),M=I.n(B),D={insert:"head",singleton:!1};E()(M(),D);M().locals;var w=function(A,Q,I,C,g,E,B,M){var D,w="function"==typeof A?A.options:A;if(Q&&(w.render=Q,w.staticRenderFns=I,w._compiled=!0),C&&(w.functional=!0),E&&(w._scopeId="data-v-"+E),B?(D=function(A){(A=A||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(A=__VUE_SSR_CONTEXT__),g&&g.call(this,A),A&&A._registeredComponents&&A._registeredComponents.add(B)},w._ssrRegister=D):g&&(D=M?function(){g.call(this,(w.functional?this.parent:this).$root.$options.shadowRoot)}:g),D)if(w.functional){w._injectStyles=D;var h=w.render;w.render=function(A,Q){return D.call(Q),h(A,Q)}}else{var i=w.beforeCreate;w.beforeCreate=i?[].concat(i,D):[D]}return{exports:A,options:w}}({},C,[function(){var A=this._self._c;return A("div",{staticClass:"reimu-loading"},[A("div",{staticClass:"reimu-icon"}),this._v("\n 少女祈祷中...\n")])}],!1,null,null,null);const h=w.exports}},Q={};function I(C){var g=Q[C];if(void 0!==g)return g.exports;var E=Q[C]={id:C,exports:{}};return A[C](E,E.exports,I),E.exports}I.n=A=>{var Q=A&&A.__esModule?()=>A.default:()=>A;return I.d(Q,{a:Q}),Q},I.d=(A,Q)=>{for(var C in Q)I.o(Q,C)&&!I.o(A,C)&&Object.defineProperty(A,C,{enumerable:!0,get:Q[C]})},I.o=(A,Q)=>Object.prototype.hasOwnProperty.call(A,Q),I.r=A=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(A,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(A,"__esModule",{value:!0})},I.nc=void 0;var C={};return(()=>{"use strict";I.d(C,{plugin:()=>A});const A={name:"vLoading.reimu",displayName:"加载提示 - 灵梦油库里",description:'用灵梦油库里代替脚本的所有 "加载中" 提示, 油库里素材来自[东方我乐多从志](https://cn.touhougarakuta.com/).',setup:A=>{let{addData:Q}=A;Q("vLoading",(A=>{A.content=()=>Promise.resolve().then(I.bind(I,855)).then((A=>A.default))}))},commitHash:"58c0b438ca2371e397f70466a91572cb2757b142",coreVersion:"2.10.7"}})(),C=C.plugin})())); +C=Boolean(window&&document&&document.all&&!window.atob)),C},E=function(){var A={};return function(Q){if(void 0===A[Q]){var I=document.querySelector(Q);if(window.HTMLIFrameElement&&I instanceof window.HTMLIFrameElement)try{I=I.contentDocument.head}catch(A){I=null}A[Q]=I}return A[Q]}}(),B=[];function M(A){for(var Q=-1,I=0;I{"use strict";I.r(Q),I.d(Q,{default:()=>h});var C=function(){this._self._c;return this._m(0)};C._withStripped=!0;var g=I(991),E=I.n(g),B=I(308),M=I.n(B),D={insert:"head",singleton:!1};E()(M(),D);M().locals;var w=function(A,Q,I,C,g,E,B,M){var D,w="function"==typeof A?A.options:A;if(Q&&(w.render=Q,w.staticRenderFns=I,w._compiled=!0),C&&(w.functional=!0),E&&(w._scopeId="data-v-"+E),B?(D=function(A){(A=A||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(A=__VUE_SSR_CONTEXT__),g&&g.call(this,A),A&&A._registeredComponents&&A._registeredComponents.add(B)},w._ssrRegister=D):g&&(D=M?function(){g.call(this,(w.functional?this.parent:this).$root.$options.shadowRoot)}:g),D)if(w.functional){w._injectStyles=D;var h=w.render;w.render=function(A,Q){return D.call(Q),h(A,Q)}}else{var i=w.beforeCreate;w.beforeCreate=i?[].concat(i,D):[D]}return{exports:A,options:w}}({},C,[function(){var A=this._self._c;return A("div",{staticClass:"reimu-loading"},[A("div",{staticClass:"reimu-icon"}),this._v("\n 少女祈祷中...\n")])}],!1,null,null,null);const h=w.exports}},Q={};function I(C){var g=Q[C];if(void 0!==g)return g.exports;var E=Q[C]={id:C,exports:{}};return A[C](E,E.exports,I),E.exports}I.n=A=>{var Q=A&&A.__esModule?()=>A.default:()=>A;return I.d(Q,{a:Q}),Q},I.d=(A,Q)=>{for(var C in Q)I.o(Q,C)&&!I.o(A,C)&&Object.defineProperty(A,C,{enumerable:!0,get:Q[C]})},I.o=(A,Q)=>Object.prototype.hasOwnProperty.call(A,Q),I.r=A=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(A,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(A,"__esModule",{value:!0})},I.nc=void 0;var C={};return(()=>{"use strict";I.d(C,{plugin:()=>A});const A={name:"vLoading.reimu",displayName:"加载提示 - 灵梦油库里",description:'用灵梦油库里代替脚本的所有 "加载中" 提示, 油库里素材来自[东方我乐多从志](https://cn.touhougarakuta.com/).',setup:A=>{let{addData:Q}=A;Q("vLoading",(A=>{A.content=()=>Promise.resolve().then(I.bind(I,855)).then((A=>A.default))}))},commitHash:"d87d69cfb9d7e0124bd90a06fec4569bd61e02c5",coreVersion:"2.10.7"}})(),C=C.plugin})())); //# sourceMappingURL=https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/registry/dist/plugins/v-loading/reimu.js.map \ No newline at end of file diff --git a/bb-evolved/registry/dist/plugins/video/download/aria2-output.js b/bb-evolved/registry/dist/plugins/video/download/aria2-output.js index 4bb10aa59d..32be77d51e 100644 --- a/bb-evolved/registry/dist/plugins/video/download/aria2-output.js +++ b/bb-evolved/registry/dist/plugins/video/download/aria2-output.js @@ -11,5 +11,5 @@ var s=this[r][0];null!=s&&(i[s]=!0)}for(var a=0;a{"use strict";var o,i=function(){return void 0===o&&( // @see http://browserhacks.com/#hack-e71d8692f65334173fee715c222cb805 // @see https://github.com/webpack-contrib/style-loader/issues/177 -o=Boolean(window&&document&&document.all&&!window.atob)),o},r=function(){var e={};return function(t){if(void 0===e[t]){var n=document.querySelector(t);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}e[t]=n}return e[t]}}(),s=[];function a(e){for(var t=-1,n=0;n{"use strict";n.r(t),n.d(t,{default:()=>A});var o=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"rpc-config download-video-config-section"},[t("div",{staticClass:"online-assets-download"},[t("div",{staticClass:"download-video-config-item"},[t("div",{staticClass:"download-video-config-title"},[e._v("使用 aria2 下载附属资源:")]),e._v(" "),t("SwitchBox",{on:{change:e.saveAssetsSettings},model:{value:e.isPluginDownloadAssets,callback:function(t){e.isPluginDownloadAssets=t},expression:"isPluginDownloadAssets"}})],1),e._v(" "),t("div",{staticClass:"download-video-config-description"},[e._v("\n 存在于服务器的附属资源 (例如封面) 可以一并发送到 aria2 下载.\n ")])]),e._v(" "),e.isRenaming?t("div",{staticClass:"profile-select"},[t("div",{staticClass:"profile-item-name"},[e._v("重命名 RPC 预设:")]),e._v(" "),t("TextBox",{ref:"renameInput",model:{value:e.profileRename,callback:function(t){e.profileRename=t},expression:"profileRename"}}),e._v(" "),t("VButton",{key:"check",attrs:{type:"transparent",title:"完成"},on:{click:function(t){return e.endRename()}}},[t("VIcon",{attrs:{icon:"mdi-check",size:16}})],1)],1):t("div",{staticClass:"profile-select"},[t("div",{staticClass:"profile-item-name"},[e._v("RPC 预设:")]),e._v(" "),t("VDropdown",{attrs:{items:e.rpcProfiles},scopedSlots:e._u([{key:"item",fn:function({item:t}){return[e._v("\n "+e._s(t.name)+"\n ")]}}]),model:{value:e.selectedRpcProfile,callback:function(t){e.selectedRpcProfile=t},expression:"selectedRpcProfile"}}),e._v(" "),t("VButton",{key:"edit",attrs:{type:"transparent",title:"重命名"},on:{click:function(t){return e.startRename()}}},[t("VIcon",{attrs:{icon:"mdi-pencil-outline",size:16}})],1),e._v(" "),t("VButton",{key:"new",attrs:{type:"transparent",title:"新建预设"},on:{click:function(t){return e.newProfile()}}},[t("VIcon",{attrs:{icon:"mdi-plus",size:16}})],1),e._v(" "),t("VButton",{key:"delete",attrs:{disabled:e.rpcProfiles.length<2,type:"transparent",title:"删除当前预设"},on:{click:function(t){return e.deleteProfile()}}},[t("VIcon",{attrs:{icon:"mdi-trash-can-outline",size:16}})],1)],1),e._v(" "),e.selectedRpcProfile?[t("div",{staticClass:"profile-secret-key"},[t("div",{staticClass:"profile-item-name"},[e._v("密钥:")]),e._v(" "),t("TextBox",{attrs:{"change-on-blur":""},model:{value:e.selectedRpcProfile.secretKey,callback:function(t){e.$set(e.selectedRpcProfile,"secretKey",t)},expression:"selectedRpcProfile.secretKey"}})],1),e._v(" "),t("div",{staticClass:"profile-dir"},[t("div",{staticClass:"profile-item-name"},[e._v("路径:")]),e._v(" "),t("TextBox",{attrs:{"change-on-blur":""},model:{value:e.selectedRpcProfile.dir,callback:function(t){e.$set(e.selectedRpcProfile,"dir",t)},expression:"selectedRpcProfile.dir"}})],1),e._v(" "),t("div",{staticClass:"profile-host"},[t("div",{staticClass:"profile-item-name"},[e._v("主机:")]),e._v(" "),t("TextBox",{attrs:{"change-on-blur":""},model:{value:e.selectedRpcProfile.host,callback:function(t){e.$set(e.selectedRpcProfile,"host",t)},expression:"selectedRpcProfile.host"}})],1),e._v(" "),t("div",{staticClass:"profile-port"},[t("div",{staticClass:"profile-item-name"},[e._v("端口:")]),e._v(" "),t("TextBox",{attrs:{"change-on-blur":""},model:{value:e.selectedRpcProfile.port,callback:function(t){e.$set(e.selectedRpcProfile,"port",t)},expression:"selectedRpcProfile.port"}})],1),e._v(" "),t("div",{staticClass:"profile-method"},[t("div",{staticClass:"profile-item-name"},[e._v("方法:")]),e._v(" "),t("VDropdown",{attrs:{items:["get","post"],"key-mapper":e=>e},scopedSlots:e._u([{key:"item",fn:function({item:t}){return[e._v("\n "+e._s(t)+"\n ")]}}],null,!1,883355439),model:{value:e.selectedRpcProfile.method,callback:function(t){e.$set(e.selectedRpcProfile,"method",t)},expression:"selectedRpcProfile.method"}})],1),e._v(" "),t("div",{staticClass:"profile-other"},[t("div",{staticClass:"profile-item-name"},[e._v("其他配置:")]),e._v(" "),t("TextArea",{attrs:{placeholder:"some-key=value","change-on-blur":""},model:{value:e.selectedRpcProfile.other,callback:function(t){e.$set(e.selectedRpcProfile,"other",t)},expression:"selectedRpcProfile.other"}})],1)]:e._e()],2)};o._withStripped=!0;const i=coreApis.settings;var r=n(5);const s=coreApis.ui,a={name:"未命名",secretKey:"",dir:"",host:"127.0.0.1",port:"6800",method:"get",other:""},{options:c}=(0,i.getComponentSettings)("downloadVideo"),l={...{rpcProfiles:[a],selectedRpcProfileName:a.name,isPluginDownloadAssets:!1},...c},d=l.rpcProfiles.find((e=>e.name===l.selectedRpcProfileName))??(l.rpcProfiles.length<1?(l.rpcProfiles.push(a),a):l.rpcProfiles[0]);console.log(l,d);const p=Vue.extend({components:{TextBox:s.TextBox,VButton:s.VButton,VIcon:s.VIcon,VDropdown:s.VDropdown,TextArea:s.TextArea,SwitchBox:s.SwitchBox},data:()=>({isRenaming:!1,profileRename:"",rpcProfiles:l.rpcProfiles,selectedRpcProfile:d,isPluginDownloadAssets:l.isPluginDownloadAssets}),methods:{saveProfileSettings(){l.selectedRpcProfileName=this.selectedRpcProfile.name,l.rpcProfiles=this.rpcProfiles,c.selectedRpcProfileName=l.selectedRpcProfileName,c.rpcProfiles=l.rpcProfiles},saveAssetsSettings(){l.isPluginDownloadAssets=this.isPluginDownloadAssets,c.isPluginDownloadAssets=l.isPluginDownloadAssets},async startRename(){this.profileRename=this.selectedRpcProfile.name,this.isRenaming=!0,await this.$nextTick(),this.$refs.renameInput?.focus()},endRename(){const e=this.profileRename;e?l.rpcProfiles.some((t=>t.name!==this.selectedRpcProfile.name&&t.name===e))?r.Toast.error("名称不得与其他预设重复","重命名 RPC 预设",2e3):(this.selectedRpcProfile.name=this.profileRename,this.isRenaming=!1,this.saveProfileSettings()):r.Toast.error("名称不得为空","重命名 RPC 预设",2e3)},newProfile(){const e={...this.selectedRpcProfile},t={num:1,toString(){return`未命名${this.num}`}};for(;l.rpcProfiles.some((e=>e.name===t.toString()));)t.num++;e.name=t.toString(),l.rpcProfiles.push(e),this.selectedRpcProfile=e},deleteProfile(){if(l.rpcProfiles.length<2)return;const e=l.rpcProfiles.findIndex((e=>e.name===this.selectedRpcProfile.name));-1!==e&&confirm(`确认删除 RPC 预设 "${this.selectedRpcProfile.name}" 吗?`)&&(l.rpcProfiles.splice(e,1),this.selectedRpcProfile=l.rpcProfiles[0])}}});var f=n(991),u=n.n(f),m=n(745),g=n.n(m),v={insert:"head",singleton:!1};u()(g(),v);g().locals;var h=function(e,t,n,o,i,r,s,a){var c,l="function"==typeof e?e.options:e;if(t&&(l.render=t,l.staticRenderFns=n,l._compiled=!0),o&&(l.functional=!0),r&&(l._scopeId="data-v-"+r),s?(c=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),i&&i.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(s)},l._ssrRegister=c):i&&(c=a?function(){i.call(this,(l.functional?this.parent:this).$root.$options.shadowRoot)}:i),c)if(l.functional){l._injectStyles=c;var d=l.render;l.render=function(e,t){return c.call(t),d(e,t)}}else{var p=l.beforeCreate;l.beforeCreate=p?[].concat(p,c):[c]}return{exports:e,options:l}}(p,o,[],!1,null,null,null);const A=h.exports},5:e=>{"use strict";e.exports=coreApis.toast}},t={};function n(o){var i=t[o];if(void 0!==i)return i.exports;var r=t[o]={id:o,exports:{}};return e[o](r,r.exports,n),r.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var o in t)n.o(t,o)&&!n.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.nc=void 0;var o={};return(()=>{"use strict";n.d(o,{plugin:()=>g});const e=coreApis.download,t=coreApis.utils.constants,i=coreApis.utils.title,r={name:"aria2",displayName:"aria2 Input",description:"使用 aria2 命令行输入文件开始下载. (aria2c -i xxx.txt)",runAction:async n=>{const{infos:o}=n,r=document.URL.replace(window.location.search,""),s=`\n# Generated by Bilibili Evolved Video Export\n# https://github.com/the1812/Bilibili-Evolved/\n${o.map((e=>e.titledFragments.map((e=>({url:e.url,params:{referer:r,userAgent:t.UserAgent,out:e.title}}))).flat().map((e=>{const t=Object.entries(e.params).map((e=>{let[t,n]=e;return` ${lodash.kebabCase(t)}=${n}`})).join("\n");return`${e.url}\n${t}`})))).flat().join("\n")}`.trim();await e.DownloadPackage.single(`${(0,i.getFriendlyTitle)()}.txt`,s)}},s=coreApis.ajax;var a=n(5);const c=coreApis.utils.log,l=e=>{const t=e.host.match(/^http[s]?:\/\//)?e.host:`http://${e.host}`;return{option:e,host:t,methodName:"aria2.addUri"}},d=async(e,t)=>{try{let n=await t();return"string"==typeof n&&(n=JSON.parse(n)),void 0!==n.error?1===n.error.code?{param:e,success:!1,message:"请求遭到拒绝, 请检查您的密钥相关设置."}:{param:e,success:!1,message:`请求发生错误, code = ${n.error.code}, message = ${n.error.message}`}:{param:e,success:!0,message:n.result}}catch(t){return{param:e,success:!1,message:`无法连接到RPC主机, error = ${t.toString()}`}}},p=async(e,t)=>{const{option:n,host:o,methodName:i}=l(e);return d(t,(async()=>{const e=window.btoa(unescape(encodeURIComponent(JSON.stringify(t.params)))),r=`${o}:${n.port}/jsonrpc?method=${i}&id=${t.id}¶ms=${e}`;return console.log(`RPC request: ${r}`),r.startsWith("http:")?(0,s.monkey)({method:"GET",url:r,responseType:"json"}):(0,s.getJson)(r)}))},f=async(e,t)=>{const{option:n,host:o,methodName:i}=l(e);return d(t,(async()=>{const e=`${o}:${n.port}/jsonrpc`,r={method:i,id:t.id,params:t.params};return e.startsWith("http:")?(0,s.monkey)({method:"POST",url:e,responseType:"json",data:JSON.stringify(r)}):(0,s.postJson)(e,r)}))},u=e=>{if(!e)return{};const t=e.split("\n").map((e=>{const[t,...n]=e.trim().split("=");return[t.trim(),n.join("=").trim()]})).filter((e=>Boolean(e[1])));return Object.fromEntries(t)},m={name:"aria2Rpc",displayName:"aria2 RPC",description:"使用 aria2 RPC 功能发送下载请求.",runAction:async(e,n)=>{const{infos:o,extraOnlineAssets:i}=e,{selectedRpcProfile:r,isPluginDownloadAssets:s}=n,{secretKey:l,dir:d,other:m}=r,g=document.URL.replace(window.location.search,""),v=(e,n)=>{const o=[];l&&o.push(`token:${l}`),o.push([e]),o.push({referer:g,"user-agent":t.UserAgent,out:n,dir:d||void 0,...u(m)});return{params:o,id:encodeURIComponent(n)}},h=o.map((e=>e.titledFragments.map((e=>{const{url:t,title:n}=e;return v(t,n)})))).flat(),A=e=>s&&void 0!==e.getUrls,y=(await Promise.all(i.filter((e=>A(e.asset))).map((async e=>{const{asset:t,instance:n}=e;return(await t.getUrls(o,n)).map((e=>{let{name:t,url:n}=e;return v(n,t)}))})))).flat();e.extraOnlineAssets=i.filter((e=>!A(e.asset)));const P=[...h,...y],b=await(async(e,t)=>{const n=[];for(const o of t){let t;t="get"===e.method?await p(e,o):await f(e,o),n.push(t)}return n})(r,P);if(console.table(b),1===b.length){const e=b[0];e.success?a.Toast.success(`成功发送了请求, GID = ${e.message}`,"aria2 RPC",5e3):(0,c.logError)(e.message)}else{const e=b.filter((e=>e.success)).length,t=b.length-e;a.Toast.info(`发送了 ${b.length} 个请求, 成功 ${e} 个, 失败 ${t} 个.`,"aria2 RPC",5e3)}},component:()=>Promise.resolve().then(n.bind(n,700)).then((e=>e.default))},g={name:"downloadVideo.outputs.aria2",displayName:"下载视频 - aria2 输出支持",description:"为下载视频增加 aria2 文件导出和 RPC 输出支持.",setup:e=>{let{addData:t}=e;t("downloadVideo.outputs",(e=>{e.push(r),e.push(m)}))},commitHash:"58c0b438ca2371e397f70466a91572cb2757b142",coreVersion:"2.10.7"}})(),o=o.plugin})())); +o=Boolean(window&&document&&document.all&&!window.atob)),o},r=function(){var e={};return function(t){if(void 0===e[t]){var n=document.querySelector(t);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}e[t]=n}return e[t]}}(),s=[];function a(e){for(var t=-1,n=0;n{"use strict";n.r(t),n.d(t,{default:()=>A});var o=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"rpc-config download-video-config-section"},[t("div",{staticClass:"online-assets-download"},[t("div",{staticClass:"download-video-config-item"},[t("div",{staticClass:"download-video-config-title"},[e._v("使用 aria2 下载附属资源:")]),e._v(" "),t("SwitchBox",{on:{change:e.saveAssetsSettings},model:{value:e.isPluginDownloadAssets,callback:function(t){e.isPluginDownloadAssets=t},expression:"isPluginDownloadAssets"}})],1),e._v(" "),t("div",{staticClass:"download-video-config-description"},[e._v("\n 存在于服务器的附属资源 (例如封面) 可以一并发送到 aria2 下载.\n ")])]),e._v(" "),e.isRenaming?t("div",{staticClass:"profile-select"},[t("div",{staticClass:"profile-item-name"},[e._v("重命名 RPC 预设:")]),e._v(" "),t("TextBox",{ref:"renameInput",model:{value:e.profileRename,callback:function(t){e.profileRename=t},expression:"profileRename"}}),e._v(" "),t("VButton",{key:"check",attrs:{type:"transparent",title:"完成"},on:{click:function(t){return e.endRename()}}},[t("VIcon",{attrs:{icon:"mdi-check",size:16}})],1)],1):t("div",{staticClass:"profile-select"},[t("div",{staticClass:"profile-item-name"},[e._v("RPC 预设:")]),e._v(" "),t("VDropdown",{attrs:{items:e.rpcProfiles},scopedSlots:e._u([{key:"item",fn:function({item:t}){return[e._v("\n "+e._s(t.name)+"\n ")]}}]),model:{value:e.selectedRpcProfile,callback:function(t){e.selectedRpcProfile=t},expression:"selectedRpcProfile"}}),e._v(" "),t("VButton",{key:"edit",attrs:{type:"transparent",title:"重命名"},on:{click:function(t){return e.startRename()}}},[t("VIcon",{attrs:{icon:"mdi-pencil-outline",size:16}})],1),e._v(" "),t("VButton",{key:"new",attrs:{type:"transparent",title:"新建预设"},on:{click:function(t){return e.newProfile()}}},[t("VIcon",{attrs:{icon:"mdi-plus",size:16}})],1),e._v(" "),t("VButton",{key:"delete",attrs:{disabled:e.rpcProfiles.length<2,type:"transparent",title:"删除当前预设"},on:{click:function(t){return e.deleteProfile()}}},[t("VIcon",{attrs:{icon:"mdi-trash-can-outline",size:16}})],1)],1),e._v(" "),e.selectedRpcProfile?[t("div",{staticClass:"profile-secret-key"},[t("div",{staticClass:"profile-item-name"},[e._v("密钥:")]),e._v(" "),t("TextBox",{attrs:{"change-on-blur":""},model:{value:e.selectedRpcProfile.secretKey,callback:function(t){e.$set(e.selectedRpcProfile,"secretKey",t)},expression:"selectedRpcProfile.secretKey"}})],1),e._v(" "),t("div",{staticClass:"profile-dir"},[t("div",{staticClass:"profile-item-name"},[e._v("路径:")]),e._v(" "),t("TextBox",{attrs:{"change-on-blur":""},model:{value:e.selectedRpcProfile.dir,callback:function(t){e.$set(e.selectedRpcProfile,"dir",t)},expression:"selectedRpcProfile.dir"}})],1),e._v(" "),t("div",{staticClass:"profile-host"},[t("div",{staticClass:"profile-item-name"},[e._v("主机:")]),e._v(" "),t("TextBox",{attrs:{"change-on-blur":""},model:{value:e.selectedRpcProfile.host,callback:function(t){e.$set(e.selectedRpcProfile,"host",t)},expression:"selectedRpcProfile.host"}})],1),e._v(" "),t("div",{staticClass:"profile-port"},[t("div",{staticClass:"profile-item-name"},[e._v("端口:")]),e._v(" "),t("TextBox",{attrs:{"change-on-blur":""},model:{value:e.selectedRpcProfile.port,callback:function(t){e.$set(e.selectedRpcProfile,"port",t)},expression:"selectedRpcProfile.port"}})],1),e._v(" "),t("div",{staticClass:"profile-method"},[t("div",{staticClass:"profile-item-name"},[e._v("方法:")]),e._v(" "),t("VDropdown",{attrs:{items:["get","post"],"key-mapper":e=>e},scopedSlots:e._u([{key:"item",fn:function({item:t}){return[e._v("\n "+e._s(t)+"\n ")]}}],null,!1,883355439),model:{value:e.selectedRpcProfile.method,callback:function(t){e.$set(e.selectedRpcProfile,"method",t)},expression:"selectedRpcProfile.method"}})],1),e._v(" "),t("div",{staticClass:"profile-other"},[t("div",{staticClass:"profile-item-name"},[e._v("其他配置:")]),e._v(" "),t("TextArea",{attrs:{placeholder:"some-key=value","change-on-blur":""},model:{value:e.selectedRpcProfile.other,callback:function(t){e.$set(e.selectedRpcProfile,"other",t)},expression:"selectedRpcProfile.other"}})],1)]:e._e()],2)};o._withStripped=!0;const i=coreApis.settings;var r=n(5);const s=coreApis.ui,a={name:"未命名",secretKey:"",dir:"",host:"127.0.0.1",port:"6800",method:"get",other:""},{options:c}=(0,i.getComponentSettings)("downloadVideo"),l={...{rpcProfiles:[a],selectedRpcProfileName:a.name,isPluginDownloadAssets:!1},...c},d=l.rpcProfiles.find((e=>e.name===l.selectedRpcProfileName))??(l.rpcProfiles.length<1?(l.rpcProfiles.push(a),a):l.rpcProfiles[0]);console.log(l,d);const p=Vue.extend({components:{TextBox:s.TextBox,VButton:s.VButton,VIcon:s.VIcon,VDropdown:s.VDropdown,TextArea:s.TextArea,SwitchBox:s.SwitchBox},data:()=>({isRenaming:!1,profileRename:"",rpcProfiles:l.rpcProfiles,selectedRpcProfile:d,isPluginDownloadAssets:l.isPluginDownloadAssets}),methods:{saveProfileSettings(){l.selectedRpcProfileName=this.selectedRpcProfile.name,l.rpcProfiles=this.rpcProfiles,c.selectedRpcProfileName=l.selectedRpcProfileName,c.rpcProfiles=l.rpcProfiles},saveAssetsSettings(){l.isPluginDownloadAssets=this.isPluginDownloadAssets,c.isPluginDownloadAssets=l.isPluginDownloadAssets},async startRename(){this.profileRename=this.selectedRpcProfile.name,this.isRenaming=!0,await this.$nextTick(),this.$refs.renameInput?.focus()},endRename(){const e=this.profileRename;e?l.rpcProfiles.some((t=>t.name!==this.selectedRpcProfile.name&&t.name===e))?r.Toast.error("名称不得与其他预设重复","重命名 RPC 预设",2e3):(this.selectedRpcProfile.name=this.profileRename,this.isRenaming=!1,this.saveProfileSettings()):r.Toast.error("名称不得为空","重命名 RPC 预设",2e3)},newProfile(){const e={...this.selectedRpcProfile},t={num:1,toString(){return`未命名${this.num}`}};for(;l.rpcProfiles.some((e=>e.name===t.toString()));)t.num++;e.name=t.toString(),l.rpcProfiles.push(e),this.selectedRpcProfile=e},deleteProfile(){if(l.rpcProfiles.length<2)return;const e=l.rpcProfiles.findIndex((e=>e.name===this.selectedRpcProfile.name));-1!==e&&confirm(`确认删除 RPC 预设 "${this.selectedRpcProfile.name}" 吗?`)&&(l.rpcProfiles.splice(e,1),this.selectedRpcProfile=l.rpcProfiles[0])}}});var f=n(991),u=n.n(f),m=n(745),g=n.n(m),v={insert:"head",singleton:!1};u()(g(),v);g().locals;var h=function(e,t,n,o,i,r,s,a){var c,l="function"==typeof e?e.options:e;if(t&&(l.render=t,l.staticRenderFns=n,l._compiled=!0),o&&(l.functional=!0),r&&(l._scopeId="data-v-"+r),s?(c=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),i&&i.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(s)},l._ssrRegister=c):i&&(c=a?function(){i.call(this,(l.functional?this.parent:this).$root.$options.shadowRoot)}:i),c)if(l.functional){l._injectStyles=c;var d=l.render;l.render=function(e,t){return c.call(t),d(e,t)}}else{var p=l.beforeCreate;l.beforeCreate=p?[].concat(p,c):[c]}return{exports:e,options:l}}(p,o,[],!1,null,null,null);const A=h.exports},5:e=>{"use strict";e.exports=coreApis.toast}},t={};function n(o){var i=t[o];if(void 0!==i)return i.exports;var r=t[o]={id:o,exports:{}};return e[o](r,r.exports,n),r.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var o in t)n.o(t,o)&&!n.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.nc=void 0;var o={};return(()=>{"use strict";n.d(o,{plugin:()=>g});const e=coreApis.download,t=coreApis.utils.constants,i=coreApis.utils.title,r={name:"aria2",displayName:"aria2 Input",description:"使用 aria2 命令行输入文件开始下载. (aria2c -i xxx.txt)",runAction:async n=>{const{infos:o}=n,r=document.URL.replace(window.location.search,""),s=`\n# Generated by Bilibili Evolved Video Export\n# https://github.com/the1812/Bilibili-Evolved/\n${o.map((e=>e.titledFragments.map((e=>({url:e.url,params:{referer:r,userAgent:t.UserAgent,out:e.title}}))).flat().map((e=>{const t=Object.entries(e.params).map((e=>{let[t,n]=e;return` ${lodash.kebabCase(t)}=${n}`})).join("\n");return`${e.url}\n${t}`})))).flat().join("\n")}`.trim();await e.DownloadPackage.single(`${(0,i.getFriendlyTitle)()}.txt`,s)}},s=coreApis.ajax;var a=n(5);const c=coreApis.utils.log,l=e=>{const t=e.host.match(/^http[s]?:\/\//)?e.host:`http://${e.host}`;return{option:e,host:t,methodName:"aria2.addUri"}},d=async(e,t)=>{try{let n=await t();return"string"==typeof n&&(n=JSON.parse(n)),void 0!==n.error?1===n.error.code?{param:e,success:!1,message:"请求遭到拒绝, 请检查您的密钥相关设置."}:{param:e,success:!1,message:`请求发生错误, code = ${n.error.code}, message = ${n.error.message}`}:{param:e,success:!0,message:n.result}}catch(t){return{param:e,success:!1,message:`无法连接到RPC主机, error = ${t.toString()}`}}},p=async(e,t)=>{const{option:n,host:o,methodName:i}=l(e);return d(t,(async()=>{const e=window.btoa(unescape(encodeURIComponent(JSON.stringify(t.params)))),r=`${o}:${n.port}/jsonrpc?method=${i}&id=${t.id}¶ms=${e}`;return console.log(`RPC request: ${r}`),r.startsWith("http:")?(0,s.monkey)({method:"GET",url:r,responseType:"json"}):(0,s.getJson)(r)}))},f=async(e,t)=>{const{option:n,host:o,methodName:i}=l(e);return d(t,(async()=>{const e=`${o}:${n.port}/jsonrpc`,r={method:i,id:t.id,params:t.params};return e.startsWith("http:")?(0,s.monkey)({method:"POST",url:e,responseType:"json",data:JSON.stringify(r)}):(0,s.postJson)(e,r)}))},u=e=>{if(!e)return{};const t=e.split("\n").map((e=>{const[t,...n]=e.trim().split("=");return[t.trim(),n.join("=").trim()]})).filter((e=>Boolean(e[1])));return Object.fromEntries(t)},m={name:"aria2Rpc",displayName:"aria2 RPC",description:"使用 aria2 RPC 功能发送下载请求.",runAction:async(e,n)=>{const{infos:o,extraOnlineAssets:i}=e,{selectedRpcProfile:r,isPluginDownloadAssets:s}=n,{secretKey:l,dir:d,other:m}=r,g=document.URL.replace(window.location.search,""),v=(e,n)=>{const o=[];l&&o.push(`token:${l}`),o.push([e]),o.push({referer:g,"user-agent":t.UserAgent,out:n,dir:d||void 0,...u(m)});return{params:o,id:encodeURIComponent(n)}},h=o.map((e=>e.titledFragments.map((e=>{const{url:t,title:n}=e;return v(t,n)})))).flat(),A=e=>s&&void 0!==e.getUrls,y=(await Promise.all(i.filter((e=>A(e.asset))).map((async e=>{const{asset:t,instance:n}=e;return(await t.getUrls(o,n)).map((e=>{let{name:t,url:n}=e;return v(n,t)}))})))).flat();e.extraOnlineAssets=i.filter((e=>!A(e.asset)));const P=[...h,...y],b=await(async(e,t)=>{const n=[];for(const o of t){let t;t="get"===e.method?await p(e,o):await f(e,o),n.push(t)}return n})(r,P);if(console.table(b),1===b.length){const e=b[0];e.success?a.Toast.success(`成功发送了请求, GID = ${e.message}`,"aria2 RPC",5e3):(0,c.logError)(e.message)}else{const e=b.filter((e=>e.success)).length,t=b.length-e;a.Toast.info(`发送了 ${b.length} 个请求, 成功 ${e} 个, 失败 ${t} 个.`,"aria2 RPC",5e3)}},component:()=>Promise.resolve().then(n.bind(n,700)).then((e=>e.default))},g={name:"downloadVideo.outputs.aria2",displayName:"下载视频 - aria2 输出支持",description:"为下载视频增加 aria2 文件导出和 RPC 输出支持.",setup:e=>{let{addData:t}=e;t("downloadVideo.outputs",(e=>{e.push(r),e.push(m)}))},commitHash:"d87d69cfb9d7e0124bd90a06fec4569bd61e02c5",coreVersion:"2.10.7"}})(),o=o.plugin})())); //# sourceMappingURL=https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/registry/dist/plugins/video/download/aria2-output.js.map \ No newline at end of file diff --git a/bb-evolved/registry/dist/plugins/video/download/empty-output.js b/bb-evolved/registry/dist/plugins/video/download/empty-output.js index b002fb9a89..673d6cb58b 100644 --- a/bb-evolved/registry/dist/plugins/video/download/empty-output.js +++ b/bb-evolved/registry/dist/plugins/video/download/empty-output.js @@ -1,2 +1,2 @@ -!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["video/download/empty-output"]=t():e["video/download/empty-output"]=t()}(globalThis,(()=>(()=>{var e,t,o={74:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=74,e.exports=t},445:e=>{"use strict";e.exports='提供一个 "空" 的输出选项, 只想获取下载视频的附带产物 (弹幕, 字幕等) 时可以使用此插件.\n'}},r={};function n(e){var t=r[e];if(void 0!==t)return t.exports;var i=r[e]={exports:{}};return o[e](i,i.exports,n),i.exports}t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,n.t=function(o,r){if(1&r&&(o=this(o)),8&r)return o;if("object"==typeof o&&o){if(4&r&&o.__esModule)return o;if(16&r&&"function"==typeof o.then)return o}var i=Object.create(null);n.r(i);var d={};e=e||[null,t({}),t([]),t(t)];for(var p=2&r&&o;"object"==typeof p&&!~e.indexOf(p);p=t(p))Object.getOwnPropertyNames(p).forEach((e=>d[e]=()=>o[e]));return d.default=()=>o,n.d(i,d),i},n.d=(e,t)=>{for(var o in t)n.o(t,o)&&!n.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var i={};return(()=>{"use strict";n.d(i,{plugin:()=>e});const e={name:"downloadVideo.outputs.empty",displayName:"下载视频 - 空输出",setup:e=>{let{addData:t}=e;t("downloadVideo.outputs",(e=>{e.push({name:"empty",displayName:"空",description:"不输出视频本身, 仅获取下载视频的附带产物.",runAction:async()=>lodash.noop()})}))},commitHash:"58c0b438ca2371e397f70466a91572cb2757b142",coreVersion:"2.10.7",description:(()=>{const e=n(74);return{...Object.fromEntries(e.keys().map((t=>[t.match(/index\.(.+)\.md$/)[1],e(t)]))),"zh-CN":()=>Promise.resolve().then(n.t.bind(n,445,17)).then((e=>e.default))}})()}})(),i=i.plugin})())); +!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["video/download/empty-output"]=t():e["video/download/empty-output"]=t()}(globalThis,(()=>(()=>{var e,t,o={74:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=74,e.exports=t},445:e=>{"use strict";e.exports='提供一个 "空" 的输出选项, 只想获取下载视频的附带产物 (弹幕, 字幕等) 时可以使用此插件.\n'}},r={};function n(e){var t=r[e];if(void 0!==t)return t.exports;var d=r[e]={exports:{}};return o[e](d,d.exports,n),d.exports}t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,n.t=function(o,r){if(1&r&&(o=this(o)),8&r)return o;if("object"==typeof o&&o){if(4&r&&o.__esModule)return o;if(16&r&&"function"==typeof o.then)return o}var d=Object.create(null);n.r(d);var i={};e=e||[null,t({}),t([]),t(t)];for(var p=2&r&&o;"object"==typeof p&&!~e.indexOf(p);p=t(p))Object.getOwnPropertyNames(p).forEach((e=>i[e]=()=>o[e]));return i.default=()=>o,n.d(d,i),d},n.d=(e,t)=>{for(var o in t)n.o(t,o)&&!n.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var d={};return(()=>{"use strict";n.d(d,{plugin:()=>e});const e={name:"downloadVideo.outputs.empty",displayName:"下载视频 - 空输出",setup:e=>{let{addData:t}=e;t("downloadVideo.outputs",(e=>{e.push({name:"empty",displayName:"空",description:"不输出视频本身, 仅获取下载视频的附带产物.",runAction:async()=>lodash.noop()})}))},commitHash:"d87d69cfb9d7e0124bd90a06fec4569bd61e02c5",coreVersion:"2.10.7",description:(()=>{const e=n(74);return{...Object.fromEntries(e.keys().map((t=>[t.match(/index\.(.+)\.md$/)[1],e(t)]))),"zh-CN":()=>Promise.resolve().then(n.t.bind(n,445,17)).then((e=>e.default))}})()}})(),d=d.plugin})())); //# sourceMappingURL=https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/registry/dist/plugins/video/download/empty-output.js.map \ No newline at end of file diff --git a/bb-evolved/registry/dist/plugins/video/download/idm-output.js b/bb-evolved/registry/dist/plugins/video/download/idm-output.js index 2151a994ad..089116f77c 100644 --- a/bb-evolved/registry/dist/plugins/video/download/idm-output.js +++ b/bb-evolved/registry/dist/plugins/video/download/idm-output.js @@ -1,2 +1,2 @@ -!function(e,o){"object"==typeof exports&&"object"==typeof module?module.exports=o():"function"==typeof define&&define.amd?define([],o):"object"==typeof exports?exports["video/download/idm-output"]=o():e["video/download/idm-output"]=o()}(globalThis,(()=>(()=>{"use strict";var e={d:(o,t)=>{for(var n in t)e.o(t,n)&&!e.o(o,n)&&Object.defineProperty(o,n,{enumerable:!0,get:t[n]})},o:(e,o)=>Object.prototype.hasOwnProperty.call(e,o)},o={};e.d(o,{plugin:()=>a});const t=coreApis.download,n=coreApis.utils.constants,i=coreApis.utils.title,a={name:"downloadVideo.outputs.idm",displayName:"下载视频 - IDM 输出支持",description:"为下载视频增加 IDM 输出支持.",setup:e=>{let{addData:o}=e;o("downloadVideo.outputs",(e=>{e.push({name:"idm",displayName:"IDM",description:"使用 IDM 的 .ef2 格式导出, 可以在 IDM 中使用导入开始下载, 建议配合 [ef2.exe](https://github.com/MotooriKashin/ef2) 以简化操作、保留文件名.",runAction:async e=>{const{infos:o}=e,a=document.URL.replace(window.location.search,""),r=o.map((e=>e.titledFragments.map((e=>`<\n${e.url}\nreferer: ${a}\nUser-Agent: ${n.UserAgent}\nfilename: ${e.title}\n>`.trim())))).flat().concat("").join("\n").replace(/([^\r])\n/g,"$1\r\n");await t.DownloadPackage.single(`${(0,i.getFriendlyTitle)()}.ef2`,r)}})}))},commitHash:"58c0b438ca2371e397f70466a91572cb2757b142",coreVersion:"2.10.7"};return o=o.plugin})())); +!function(e,o){"object"==typeof exports&&"object"==typeof module?module.exports=o():"function"==typeof define&&define.amd?define([],o):"object"==typeof exports?exports["video/download/idm-output"]=o():e["video/download/idm-output"]=o()}(globalThis,(()=>(()=>{"use strict";var e={d:(o,t)=>{for(var n in t)e.o(t,n)&&!e.o(o,n)&&Object.defineProperty(o,n,{enumerable:!0,get:t[n]})},o:(e,o)=>Object.prototype.hasOwnProperty.call(e,o)},o={};e.d(o,{plugin:()=>d});const t=coreApis.download,n=coreApis.utils.constants,i=coreApis.utils.title,d={name:"downloadVideo.outputs.idm",displayName:"下载视频 - IDM 输出支持",description:"为下载视频增加 IDM 输出支持.",setup:e=>{let{addData:o}=e;o("downloadVideo.outputs",(e=>{e.push({name:"idm",displayName:"IDM",description:"使用 IDM 的 .ef2 格式导出, 可以在 IDM 中使用导入开始下载, 建议配合 [ef2.exe](https://github.com/MotooriKashin/ef2) 以简化操作、保留文件名.",runAction:async e=>{const{infos:o}=e,d=document.URL.replace(window.location.search,""),a=o.map((e=>e.titledFragments.map((e=>`<\n${e.url}\nreferer: ${d}\nUser-Agent: ${n.UserAgent}\nfilename: ${e.title}\n>`.trim())))).flat().concat("").join("\n").replace(/([^\r])\n/g,"$1\r\n");await t.DownloadPackage.single(`${(0,i.getFriendlyTitle)()}.ef2`,a)}})}))},commitHash:"d87d69cfb9d7e0124bd90a06fec4569bd61e02c5",coreVersion:"2.10.7"};return o=o.plugin})())); //# sourceMappingURL=https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/registry/dist/plugins/video/download/idm-output.js.map \ No newline at end of file diff --git a/bb-evolved/registry/dist/plugins/video/download/manual-input.js b/bb-evolved/registry/dist/plugins/video/download/manual-input.js index 9defad9e7d..f4032fb27f 100644 --- a/bb-evolved/registry/dist/plugins/video/download/manual-input.js +++ b/bb-evolved/registry/dist/plugins/video/download/manual-input.js @@ -11,5 +11,5 @@ var a=this[o][0];null!=a&&(i[a]=!0)}for(var s=0;s{"use strict";var r,i=function(){return void 0===r&&( // @see http://browserhacks.com/#hack-e71d8692f65334173fee715c222cb805 // @see https://github.com/webpack-contrib/style-loader/issues/177 -r=Boolean(window&&document&&document.all&&!window.atob)),r},o=function(){var e={};return function(t){if(void 0===e[t]){var n=document.querySelector(t);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}e[t]=n}return e[t]}}(),a=[];function s(e){for(var t=-1,n=0;n{"use strict";n.r(t),n.d(t,{default:()=>p});var r=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"manual-input download-video-config-section"},[t("TextArea",{attrs:{placeholder:"输入 av 号或 BV 号, 空格或换行分隔"},model:{value:e.inputText,callback:function(t){e.inputText=t},expression:"inputText"}}),e._v(" "),t("div",{staticClass:"manual-input-stats download-video-config-description"},[e._v("\n 已输入 "+e._s(e.ids.length)+" 个视频\n ")]),e._v(" "),t("div",{staticClass:"manual-input-description download-video-config-description"},[e._v("\n 手动输入可以自行输入要下载的视频编号, 但下面清晰度的选择依然是以当前视频为准的,\n 所以建议在高清的视频页面里操作. 批量命名格式至少需要包含 title 和 ep 变量.\n ")]),e._v(" "),t("div",{staticClass:"manual-input-description download-video-config-description"},[e._v("\n 一次最多 36 个视频, 请勿短时间进行大量下载, 以免遭到 b 站封禁.\n ")])],1)};r._withStripped=!0;const i=coreApis.ui,o=Vue.extend({components:{TextArea:i.TextArea},data:()=>({inputText:""}),computed:{ids(){const e=this.inputText,t=/(BV.+)|av(\d+)/i;return e.split(/\n| /).map((e=>{const t=e.trim();return/^\d+$/.test(t)?`av${t}`:t})).filter((e=>t.test(e))).map((e=>{const n=e.match(t);return n[1]??n[2]})).slice(0,36)}}});var a=n(991),s=n.n(a),c=n(184),l=n.n(c),u={insert:"head",singleton:!1};s()(l(),u);l().locals;var d=function(e,t,n,r,i,o,a,s){var c,l="function"==typeof e?e.options:e;if(t&&(l.render=t,l.staticRenderFns=n,l._compiled=!0),r&&(l.functional=!0),o&&(l._scopeId="data-v-"+o),a?(c=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),i&&i.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(a)},l._ssrRegister=c):i&&(c=s?function(){i.call(this,(l.functional?this.parent:this).$root.$options.shadowRoot)}:i),c)if(l.functional){l._injectStyles=c;var u=l.render;l.render=function(e,t){return c.call(t),u(e,t)}}else{var d=l.beforeCreate;l.beforeCreate=d?[].concat(d,c):[c]}return{exports:e,options:l}}(o,r,[],!1,null,null,null);const p=d.exports}},t={};function n(r){var i=t[r];if(void 0!==i)return i.exports;var o=t[r]={id:r,exports:{}};return e[r](o,o.exports,n),o.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.nc=void 0;var r={};return(()=>{"use strict";n.d(r,{plugin:()=>c});const e=coreApis.ajax,t=coreApis.settings,i=coreApis.utils.formatters,o=coreApis.utils.log,a=coreApis.utils.title,s=coreApis.utils.urls,c={name:"downloadVideo.inputs.manual",displayName:"下载视频 - 手动输入",description:"为下载视频增加手动输入支持.",setup:r=>{let{addData:c}=r;c("downloadVideo.inputs",(r=>{r.push({name:"videoManual",displayName:"手动输入",match:s.videoUrls,batch:!0,getInputs:async n=>{const r=(0,o.useScopedConsole)("手动输入"),s=await Promise.allSettled(n.ids.map((t=>/av(\d+)/i.test(t)?(t=>{const n=`https://api.bilibili.com/x/web-interface/view?aid=${t}`;return(0,e.bilibiliApi)((0,e.getJsonWithCredentials)(n),`获取视频信息失败, aid = ${t}`)})(t):/BV(.+)/i.test(t)?(t=>{const n=`https://api.bilibili.com/x/web-interface/view?bvid=${t}`;return(0,e.bilibiliApi)((0,e.getJsonWithCredentials)(n),`获取视频信息失败, bvid = ${t}`)})(t):(r.error(`无效输入: ${t}`),null))));return s.filter((e=>"rejected"===e.status)).forEach((e=>{r.error(e.reason)})),s.filter((e=>"fulfilled"===e.status)).flatMap((e=>{const{aid:n,cid:r,bvid:o,title:s,pages:c}=e.value;if(c.length>1)return c.map(((e,r)=>({aid:n.toString(),cid:e.cid.toString(),bvid:o,allowQualityDrop:!0,title:(0,a.formatTitle)((0,t.getGeneralSettings)().batchFilenameFormat,!1,e.part?{title:s,n:(0,i.formatNumber)(r+1,c.length),ep:e.part}:{title:s})})));return{aid:n.toString(),cid:r.toString(),bvid:o,allowQualityDrop:!0,title:(0,a.formatTitle)((0,t.getGeneralSettings)().batchFilenameFormat,!1,{title:s})}}))},component:()=>Promise.resolve().then(n.bind(n,164)).then((e=>e.default))})}))},commitHash:"58c0b438ca2371e397f70466a91572cb2757b142",coreVersion:"2.10.7"}})(),r=r.plugin})())); +r=Boolean(window&&document&&document.all&&!window.atob)),r},o=function(){var e={};return function(t){if(void 0===e[t]){var n=document.querySelector(t);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}e[t]=n}return e[t]}}(),a=[];function s(e){for(var t=-1,n=0;n{"use strict";n.r(t),n.d(t,{default:()=>p});var r=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"manual-input download-video-config-section"},[t("TextArea",{attrs:{placeholder:"输入 av 号或 BV 号, 空格或换行分隔"},model:{value:e.inputText,callback:function(t){e.inputText=t},expression:"inputText"}}),e._v(" "),t("div",{staticClass:"manual-input-stats download-video-config-description"},[e._v("\n 已输入 "+e._s(e.ids.length)+" 个视频\n ")]),e._v(" "),t("div",{staticClass:"manual-input-description download-video-config-description"},[e._v("\n 手动输入可以自行输入要下载的视频编号, 但下面清晰度的选择依然是以当前视频为准的,\n 所以建议在高清的视频页面里操作. 批量命名格式至少需要包含 title 和 ep 变量.\n ")]),e._v(" "),t("div",{staticClass:"manual-input-description download-video-config-description"},[e._v("\n 一次最多 36 个视频, 请勿短时间进行大量下载, 以免遭到 b 站封禁.\n ")])],1)};r._withStripped=!0;const i=coreApis.ui,o=Vue.extend({components:{TextArea:i.TextArea},data:()=>({inputText:""}),computed:{ids(){const e=this.inputText,t=/(BV.+)|av(\d+)/i;return e.split(/\n| /).map((e=>{const t=e.trim();return/^\d+$/.test(t)?`av${t}`:t})).filter((e=>t.test(e))).map((e=>{const n=e.match(t);return n[1]??n[2]})).slice(0,36)}}});var a=n(991),s=n.n(a),c=n(184),l=n.n(c),u={insert:"head",singleton:!1};s()(l(),u);l().locals;var d=function(e,t,n,r,i,o,a,s){var c,l="function"==typeof e?e.options:e;if(t&&(l.render=t,l.staticRenderFns=n,l._compiled=!0),r&&(l.functional=!0),o&&(l._scopeId="data-v-"+o),a?(c=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),i&&i.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(a)},l._ssrRegister=c):i&&(c=s?function(){i.call(this,(l.functional?this.parent:this).$root.$options.shadowRoot)}:i),c)if(l.functional){l._injectStyles=c;var u=l.render;l.render=function(e,t){return c.call(t),u(e,t)}}else{var d=l.beforeCreate;l.beforeCreate=d?[].concat(d,c):[c]}return{exports:e,options:l}}(o,r,[],!1,null,null,null);const p=d.exports}},t={};function n(r){var i=t[r];if(void 0!==i)return i.exports;var o=t[r]={id:r,exports:{}};return e[r](o,o.exports,n),o.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.nc=void 0;var r={};return(()=>{"use strict";n.d(r,{plugin:()=>c});const e=coreApis.ajax,t=coreApis.settings,i=coreApis.utils.formatters,o=coreApis.utils.log,a=coreApis.utils.title,s=coreApis.utils.urls,c={name:"downloadVideo.inputs.manual",displayName:"下载视频 - 手动输入",description:"为下载视频增加手动输入支持.",setup:r=>{let{addData:c}=r;c("downloadVideo.inputs",(r=>{r.push({name:"videoManual",displayName:"手动输入",match:s.videoUrls,batch:!0,getInputs:async n=>{const r=(0,o.useScopedConsole)("手动输入"),s=await Promise.allSettled(n.ids.map((t=>/av(\d+)/i.test(t)?(t=>{const n=`https://api.bilibili.com/x/web-interface/view?aid=${t}`;return(0,e.bilibiliApi)((0,e.getJsonWithCredentials)(n),`获取视频信息失败, aid = ${t}`)})(t):/BV(.+)/i.test(t)?(t=>{const n=`https://api.bilibili.com/x/web-interface/view?bvid=${t}`;return(0,e.bilibiliApi)((0,e.getJsonWithCredentials)(n),`获取视频信息失败, bvid = ${t}`)})(t):(r.error(`无效输入: ${t}`),null))));return s.filter((e=>"rejected"===e.status)).forEach((e=>{r.error(e.reason)})),s.filter((e=>"fulfilled"===e.status)).flatMap((e=>{const{aid:n,cid:r,bvid:o,title:s,pages:c}=e.value;if(c.length>1)return c.map(((e,r)=>({aid:n.toString(),cid:e.cid.toString(),bvid:o,allowQualityDrop:!0,title:(0,a.formatTitle)((0,t.getGeneralSettings)().batchFilenameFormat,!1,e.part?{title:s,n:(0,i.formatNumber)(r+1,c.length),ep:e.part}:{title:s})})));return{aid:n.toString(),cid:r.toString(),bvid:o,allowQualityDrop:!0,title:(0,a.formatTitle)((0,t.getGeneralSettings)().batchFilenameFormat,!1,{title:s})}}))},component:()=>Promise.resolve().then(n.bind(n,164)).then((e=>e.default))})}))},commitHash:"d87d69cfb9d7e0124bd90a06fec4569bd61e02c5",coreVersion:"2.10.7"}})(),r=r.plugin})())); //# sourceMappingURL=https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/registry/dist/plugins/video/download/manual-input.js.map \ No newline at end of file diff --git a/bb-evolved/registry/dist/plugins/video/download/motrix-output.js b/bb-evolved/registry/dist/plugins/video/download/motrix-output.js index 8223331c0e..29efaa3694 100644 --- a/bb-evolved/registry/dist/plugins/video/download/motrix-output.js +++ b/bb-evolved/registry/dist/plugins/video/download/motrix-output.js @@ -1,2 +1,2 @@ -!function(o,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["video/download/motrix-output"]=t():o["video/download/motrix-output"]=t()}(globalThis,(()=>(()=>{"use strict";var o={d:(t,e)=>{for(var r in e)o.o(e,r)&&!o.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},o:(o,t)=>Object.prototype.hasOwnProperty.call(o,t)},t={};o.d(t,{plugin:()=>r});const e=coreApis.toast,r={name:"downloadVideo.outputs.motrix",displayName:"下载视频 - Motrix 输出支持",description:"为下载视频增加 Motrix 输出支持.",setup:o=>{let{addData:t}=o;t("downloadVideo.outputs",(o=>{o.push({name:"motrix",displayName:"Motrix",description:"调用 Motrix 下载.",runAction:async o=>{const t=o.infos.flatMap((o=>o.titledFragments));try{const o=new URLSearchParams({uris:t.map((o=>o.url)).join("\n"),referer:document.URL.replace(window.location.search,"")});window.open(`motrix://new-task?${o.toString()}`,"_self")}catch(o){e.Toast.error(String(o),"发生错误")}}})}))},commitHash:"58c0b438ca2371e397f70466a91572cb2757b142",coreVersion:"2.10.7"};return t=t.plugin})())); +!function(o,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports["video/download/motrix-output"]=e():o["video/download/motrix-output"]=e()}(globalThis,(()=>(()=>{"use strict";var o={d:(e,t)=>{for(var r in t)o.o(t,r)&&!o.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},o:(o,e)=>Object.prototype.hasOwnProperty.call(o,e)},e={};o.d(e,{plugin:()=>r});const t=coreApis.toast,r={name:"downloadVideo.outputs.motrix",displayName:"下载视频 - Motrix 输出支持",description:"为下载视频增加 Motrix 输出支持.",setup:o=>{let{addData:e}=o;e("downloadVideo.outputs",(o=>{o.push({name:"motrix",displayName:"Motrix",description:"调用 Motrix 下载.",runAction:async o=>{const e=o.infos.flatMap((o=>o.titledFragments));try{const o=new URLSearchParams({uris:e.map((o=>o.url)).join("\n"),referer:document.URL.replace(window.location.search,"")});window.open(`motrix://new-task?${o.toString()}`,"_self")}catch(o){t.Toast.error(String(o),"发生错误")}}})}))},commitHash:"d87d69cfb9d7e0124bd90a06fec4569bd61e02c5",coreVersion:"2.10.7"};return e=e.plugin})())); //# sourceMappingURL=https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/registry/dist/plugins/video/download/motrix-output.js.map \ No newline at end of file diff --git a/bb-evolved/registry/dist/plugins/video/download/mpv-output-ex.js b/bb-evolved/registry/dist/plugins/video/download/mpv-output-ex.js index 4561477f8d..a2b2a5a82e 100644 --- a/bb-evolved/registry/dist/plugins/video/download/mpv-output-ex.js +++ b/bb-evolved/registry/dist/plugins/video/download/mpv-output-ex.js @@ -11,5 +11,5 @@ var a=this[i][0];null!=a&&(r[a]=!0)}for(var s=0;s{"use strict";var o,r=function(){return void 0===o&&( // @see http://browserhacks.com/#hack-e71d8692f65334173fee715c222cb805 // @see https://github.com/webpack-contrib/style-loader/issues/177 -o=Boolean(window&&document&&document.all&&!window.atob)),o},i=function(){var e={};return function(t){if(void 0===e[t]){var n=document.querySelector(t);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}e[t]=n}return e[t]}}(),a=[];function s(e){for(var t=-1,n=0;n{"use strict";n.r(t),n.d(t,{default:()=>m});var o=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"mpv-ex config"},[t("div",{staticClass:"config-item"},[t("span",{staticClass:"item-name"},[e._v("api_dev_key:")]),e._v(" "),t("TextBox",{on:{blur:e.onChange},model:{value:e.api_dev_key,callback:function(t){e.api_dev_key=t},expression:"api_dev_key"}})],1),e._v(" "),t("div",{staticClass:"config-item"},[t("span",{staticClass:"item-name"},[e._v("api_user_key:")]),e._v(" "),t("TextBox",{on:{blur:e.onChange},model:{value:e.api_user_key,callback:function(t){e.api_user_key=t},expression:"api_user_key"}})],1)])};o._withStripped=!0;const r=coreApis.settings,i=coreApis.ui,{options:a}=(0,r.getComponentSettings)("downloadVideo"),s=Vue.extend({components:{TextBox:i.TextBox},data:()=>({...lodash.pick(a,["api_dev_key","api_user_key"])}),methods:{onChange(){Object.assign(a,lodash.pick(this,["api_dev_key","api_user_key"]))}}});var c=n(991),l=n.n(c),u=n(605),p=n.n(u),d={insert:"head",singleton:!1};l()(p(),d);p().locals;var f=function(e,t,n,o,r,i,a,s){var c,l="function"==typeof e?e.options:e;if(t&&(l.render=t,l.staticRenderFns=n,l._compiled=!0),o&&(l.functional=!0),i&&(l._scopeId="data-v-"+i),a?(c=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),r&&r.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(a)},l._ssrRegister=c):r&&(c=s?function(){r.call(this,(l.functional?this.parent:this).$root.$options.shadowRoot)}:r),c)if(l.functional){l._injectStyles=c;var u=l.render;l.render=function(e,t){return c.call(t),u(e,t)}}else{var p=l.beforeCreate;l.beforeCreate=p?[].concat(p,c):[c]}return{exports:e,options:l}}(s,o,[],!1,null,null,null);const m=f.exports}},t={};function n(o){var r=t[o];if(void 0!==r)return r.exports;var i=t[o]={id:o,exports:{}};return e[o](i,i.exports,n),i.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var o in t)n.o(t,o)&&!n.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.nc=void 0;var o={};return(()=>{"use strict";n.d(o,{plugin:()=>i});const e=coreApis.ajax,t=coreApis.utils.log,r={name:"mpv-ex",displayName:"MPV 输出支持加强版",description:'多文件时格式选择 flv,使用前请先阅读 README',runAction:async(n,o)=>{let r;const i='mpv://--http-header-fields="referer:https://www.bilibili.com/"';if(n.isSingleVideo){const e=n.infos[0].fragments;1===e.length?r=`${i} ${e[0].url}`:2===e.length&&(r=`${i} ${e[0].url} --audio-file=${e[1].url}`)}else{const a=n.infos.reduce(((e,t)=>`${e}#EXTINF:-1,${t.input.title}\n${t.fragments[0].url}\n`),"#EXTM3U\n");try{r=`${i} ${(await(async(t,n)=>{const o=new URLSearchParams;Object.entries({api_dev_key:n.api_dev_key,api_user_key:n.api_user_key,api_folder_key:"m3u",api_option:"paste",api_paste_code:t,api_paste_private:"1",api_paste_expire_date:"10M"}).forEach((e=>{let[t,n]=e;return o.append(t,n)}));const r=await(0,e.monkey)({url:"https://pastebin.com/api/api_post.php",method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded"},data:o.toString(),nocache:!0,responseType:"text",fetch:!0});if(/^Bad API request,/.test(r))throw r;return r})(a,o)).replace(/^(https:\/\/pastebin.com)\/(.*)/,"$1/raw/$2?.m3u")}`}catch(e){return void(0,t.logError)(e)}}console.log(r),window.open(r)},component:()=>Promise.resolve().then(n.bind(n,807)).then((e=>e.default))},i={name:"downloadVideo.outputs.mpv-ex",displayName:"下载视频 - MPV 输出支持加强版",author:{name:"asuaaa",link:"https://github.com/Asukaaaaaa"},description:"为下载视频增加 MPV 输出,支持导出列表, 配置方式请参考 [README](https://github.com/Asukaaaaaa/tricks/blob/main/Bilibili-Evolved%20mpv-ex%20%E6%8F%92%E4%BB%B6.md)",setup:e=>{let{addData:t}=e;t("downloadVideo.outputs",(e=>{e.push(r)}))},commitHash:"58c0b438ca2371e397f70466a91572cb2757b142",coreVersion:"2.10.7"}})(),o=o.plugin})())); +o=Boolean(window&&document&&document.all&&!window.atob)),o},i=function(){var e={};return function(t){if(void 0===e[t]){var n=document.querySelector(t);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}e[t]=n}return e[t]}}(),a=[];function s(e){for(var t=-1,n=0;n{"use strict";n.r(t),n.d(t,{default:()=>m});var o=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"mpv-ex config"},[t("div",{staticClass:"config-item"},[t("span",{staticClass:"item-name"},[e._v("api_dev_key:")]),e._v(" "),t("TextBox",{on:{blur:e.onChange},model:{value:e.api_dev_key,callback:function(t){e.api_dev_key=t},expression:"api_dev_key"}})],1),e._v(" "),t("div",{staticClass:"config-item"},[t("span",{staticClass:"item-name"},[e._v("api_user_key:")]),e._v(" "),t("TextBox",{on:{blur:e.onChange},model:{value:e.api_user_key,callback:function(t){e.api_user_key=t},expression:"api_user_key"}})],1)])};o._withStripped=!0;const r=coreApis.settings,i=coreApis.ui,{options:a}=(0,r.getComponentSettings)("downloadVideo"),s=Vue.extend({components:{TextBox:i.TextBox},data:()=>({...lodash.pick(a,["api_dev_key","api_user_key"])}),methods:{onChange(){Object.assign(a,lodash.pick(this,["api_dev_key","api_user_key"]))}}});var c=n(991),l=n.n(c),u=n(605),p=n.n(u),d={insert:"head",singleton:!1};l()(p(),d);p().locals;var f=function(e,t,n,o,r,i,a,s){var c,l="function"==typeof e?e.options:e;if(t&&(l.render=t,l.staticRenderFns=n,l._compiled=!0),o&&(l.functional=!0),i&&(l._scopeId="data-v-"+i),a?(c=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),r&&r.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(a)},l._ssrRegister=c):r&&(c=s?function(){r.call(this,(l.functional?this.parent:this).$root.$options.shadowRoot)}:r),c)if(l.functional){l._injectStyles=c;var u=l.render;l.render=function(e,t){return c.call(t),u(e,t)}}else{var p=l.beforeCreate;l.beforeCreate=p?[].concat(p,c):[c]}return{exports:e,options:l}}(s,o,[],!1,null,null,null);const m=f.exports}},t={};function n(o){var r=t[o];if(void 0!==r)return r.exports;var i=t[o]={id:o,exports:{}};return e[o](i,i.exports,n),i.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var o in t)n.o(t,o)&&!n.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.nc=void 0;var o={};return(()=>{"use strict";n.d(o,{plugin:()=>i});const e=coreApis.ajax,t=coreApis.utils.log,r={name:"mpv-ex",displayName:"MPV 输出支持加强版",description:'多文件时格式选择 flv,使用前请先阅读 README',runAction:async(n,o)=>{let r;const i='mpv://--http-header-fields="referer:https://www.bilibili.com/"';if(n.isSingleVideo){const e=n.infos[0].fragments;1===e.length?r=`${i} ${e[0].url}`:2===e.length&&(r=`${i} ${e[0].url} --audio-file=${e[1].url}`)}else{const a=n.infos.reduce(((e,t)=>`${e}#EXTINF:-1,${t.input.title}\n${t.fragments[0].url}\n`),"#EXTM3U\n");try{r=`${i} ${(await(async(t,n)=>{const o=new URLSearchParams;Object.entries({api_dev_key:n.api_dev_key,api_user_key:n.api_user_key,api_folder_key:"m3u",api_option:"paste",api_paste_code:t,api_paste_private:"1",api_paste_expire_date:"10M"}).forEach((e=>{let[t,n]=e;return o.append(t,n)}));const r=await(0,e.monkey)({url:"https://pastebin.com/api/api_post.php",method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded"},data:o.toString(),nocache:!0,responseType:"text",fetch:!0});if(/^Bad API request,/.test(r))throw r;return r})(a,o)).replace(/^(https:\/\/pastebin.com)\/(.*)/,"$1/raw/$2?.m3u")}`}catch(e){return void(0,t.logError)(e)}}console.log(r),window.open(r)},component:()=>Promise.resolve().then(n.bind(n,807)).then((e=>e.default))},i={name:"downloadVideo.outputs.mpv-ex",displayName:"下载视频 - MPV 输出支持加强版",author:{name:"asuaaa",link:"https://github.com/Asukaaaaaa"},description:"为下载视频增加 MPV 输出,支持导出列表, 配置方式请参考 [README](https://github.com/Asukaaaaaa/tricks/blob/main/Bilibili-Evolved%20mpv-ex%20%E6%8F%92%E4%BB%B6.md)",setup:e=>{let{addData:t}=e;t("downloadVideo.outputs",(e=>{e.push(r)}))},commitHash:"d87d69cfb9d7e0124bd90a06fec4569bd61e02c5",coreVersion:"2.10.7"}})(),o=o.plugin})())); //# sourceMappingURL=https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/registry/dist/plugins/video/download/mpv-output-ex.js.map \ No newline at end of file diff --git a/bb-evolved/registry/dist/plugins/video/download/mpv-output-playlist.js b/bb-evolved/registry/dist/plugins/video/download/mpv-output-playlist.js index b693c01107..334d9d44cc 100644 --- a/bb-evolved/registry/dist/plugins/video/download/mpv-output-playlist.js +++ b/bb-evolved/registry/dist/plugins/video/download/mpv-output-playlist.js @@ -11,5 +11,5 @@ var a=this[i][0];null!=a&&(r[a]=!0)}for(var s=0;s{"use strict";var o,r=function(){return void 0===o&&( // @see http://browserhacks.com/#hack-e71d8692f65334173fee715c222cb805 // @see https://github.com/webpack-contrib/style-loader/issues/177 -o=Boolean(window&&document&&document.all&&!window.atob)),o},i=function(){var e={};return function(t){if(void 0===e[t]){var n=document.querySelector(t);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}e[t]=n}return e[t]}}(),a=[];function s(e){for(var t=-1,n=0;n{"use strict";n.r(t),n.d(t,{default:()=>m});var o=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"rpc-config download-video-config-section"},[t("div",{staticClass:"profile-dir"},[t("div",{staticClass:"profile-item-name"},[e._v("命令路径:")]),e._v(" "),t("TextBox",{on:{blur:e.saveInfo},model:{value:e.mpvInfo.dir,callback:function(t){e.$set(e.mpvInfo,"dir",t)},expression:"mpvInfo.dir"}})],1),e._v(" "),t("div",{staticClass:"profile-host"},[t("div",{staticClass:"profile-item-name"},[e._v("主机:")]),e._v(" "),t("TextBox",{on:{blur:e.saveInfo},model:{value:e.mpvInfo.host,callback:function(t){e.$set(e.mpvInfo,"host",t)},expression:"mpvInfo.host"}})],1),e._v(" "),t("div",{staticClass:"profile-port"},[t("div",{staticClass:"profile-item-name"},[e._v("端口:")]),e._v(" "),t("TextBox",{on:{blur:e.saveInfo},model:{value:e.mpvInfo.port,callback:function(t){e.$set(e.mpvInfo,"port",t)},expression:"mpvInfo.port"}})],1)])};o._withStripped=!0;const r=coreApis.settings,i=coreApis.ui,{options:a}=(0,r.getComponentSettings)("downloadVideo"),s={dir:"mpv",host:"127.0.0.1",port:"50000",...a},c=Vue.extend({components:{TextBox:i.TextBox},data:()=>({mpvInfo:s}),methods:{saveInfo(){Object.assign(a,s)}}});var l=n(991),u=n.n(l),d=n(858),p=n.n(d),f={insert:"head",singleton:!1};u()(p(),f);p().locals;var v=function(e,t,n,o,r,i,a,s){var c,l="function"==typeof e?e.options:e;if(t&&(l.render=t,l.staticRenderFns=n,l._compiled=!0),o&&(l.functional=!0),i&&(l._scopeId="data-v-"+i),a?(c=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),r&&r.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(a)},l._ssrRegister=c):r&&(c=s?function(){r.call(this,(l.functional?this.parent:this).$root.$options.shadowRoot)}:r),c)if(l.functional){l._injectStyles=c;var u=l.render;l.render=function(e,t){return c.call(t),u(e,t)}}else{var d=l.beforeCreate;l.beforeCreate=d?[].concat(d,c):[c]}return{exports:e,options:l}}(c,o,[],!1,null,null,null);const m=v.exports}},t={};function n(o){var r=t[o];if(void 0!==r)return r.exports;var i=t[o]={id:o,exports:{}};return e[o](i,i.exports,n),i.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var o in t)n.o(t,o)&&!n.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.nc=void 0;var o={};return(()=>{"use strict";n.d(o,{plugin:()=>s});const e=coreApis.ajax,t=coreApis.toast,r=coreApis.utils.constants,i=coreApis.utils.log,a={name:"mpv-playlist",displayName:"MPV播放",description:"格式选择flv,千万不能选音画分离的dash。建议把mpv.exe所在目录加进环境变量。",runAction:async(n,o)=>{const{infos:a}=n,{mpvInfo:s}=o,c=a.flatMap((e=>e.titledFragments)).map((e=>e.url)),l=a.flatMap((e=>e.titledFragments)).map((e=>e.title)),u={dir:s.dir,referer:"https://www.bilibili.com/","user-agent":r.UserAgent,urls:c,titles:l},d=`http://${s.host}:${s.port}`,p=await(0,e.postJson)(d,u),f=JSON.parse(p);f.success?t.Toast.success(`成功发送了请求: ${f.message}`,"MPV播放",3e3):(0,i.logError)(f.message)},component:()=>Promise.resolve().then(n.bind(n,900)).then((e=>e.default))},s={name:"downloadVideo.outputs.mpv-playlist",displayName:"下载视频 - MPV 播放支持(列表)",author:{name:"wuliic",link:"https://github.com/wullic"},description:"为下载视频增加 MPV 输出支持,支持列表播放,配置方式请参考 [playwithmpv](https://github.com/videoanywhere/playwithmpv)",setup:e=>{let{addData:t}=e;t("downloadVideo.outputs",(e=>{e.push(a)}))},commitHash:"58c0b438ca2371e397f70466a91572cb2757b142",coreVersion:"2.10.7"}})(),o=o.plugin})())); +o=Boolean(window&&document&&document.all&&!window.atob)),o},i=function(){var e={};return function(t){if(void 0===e[t]){var n=document.querySelector(t);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}e[t]=n}return e[t]}}(),a=[];function s(e){for(var t=-1,n=0;n{"use strict";n.r(t),n.d(t,{default:()=>m});var o=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"rpc-config download-video-config-section"},[t("div",{staticClass:"profile-dir"},[t("div",{staticClass:"profile-item-name"},[e._v("命令路径:")]),e._v(" "),t("TextBox",{on:{blur:e.saveInfo},model:{value:e.mpvInfo.dir,callback:function(t){e.$set(e.mpvInfo,"dir",t)},expression:"mpvInfo.dir"}})],1),e._v(" "),t("div",{staticClass:"profile-host"},[t("div",{staticClass:"profile-item-name"},[e._v("主机:")]),e._v(" "),t("TextBox",{on:{blur:e.saveInfo},model:{value:e.mpvInfo.host,callback:function(t){e.$set(e.mpvInfo,"host",t)},expression:"mpvInfo.host"}})],1),e._v(" "),t("div",{staticClass:"profile-port"},[t("div",{staticClass:"profile-item-name"},[e._v("端口:")]),e._v(" "),t("TextBox",{on:{blur:e.saveInfo},model:{value:e.mpvInfo.port,callback:function(t){e.$set(e.mpvInfo,"port",t)},expression:"mpvInfo.port"}})],1)])};o._withStripped=!0;const r=coreApis.settings,i=coreApis.ui,{options:a}=(0,r.getComponentSettings)("downloadVideo"),s={dir:"mpv",host:"127.0.0.1",port:"50000",...a},c=Vue.extend({components:{TextBox:i.TextBox},data:()=>({mpvInfo:s}),methods:{saveInfo(){Object.assign(a,s)}}});var l=n(991),u=n.n(l),d=n(858),p=n.n(d),f={insert:"head",singleton:!1};u()(p(),f);p().locals;var v=function(e,t,n,o,r,i,a,s){var c,l="function"==typeof e?e.options:e;if(t&&(l.render=t,l.staticRenderFns=n,l._compiled=!0),o&&(l.functional=!0),i&&(l._scopeId="data-v-"+i),a?(c=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),r&&r.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(a)},l._ssrRegister=c):r&&(c=s?function(){r.call(this,(l.functional?this.parent:this).$root.$options.shadowRoot)}:r),c)if(l.functional){l._injectStyles=c;var u=l.render;l.render=function(e,t){return c.call(t),u(e,t)}}else{var d=l.beforeCreate;l.beforeCreate=d?[].concat(d,c):[c]}return{exports:e,options:l}}(c,o,[],!1,null,null,null);const m=v.exports}},t={};function n(o){var r=t[o];if(void 0!==r)return r.exports;var i=t[o]={id:o,exports:{}};return e[o](i,i.exports,n),i.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var o in t)n.o(t,o)&&!n.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.nc=void 0;var o={};return(()=>{"use strict";n.d(o,{plugin:()=>s});const e=coreApis.ajax,t=coreApis.toast,r=coreApis.utils.constants,i=coreApis.utils.log,a={name:"mpv-playlist",displayName:"MPV播放",description:"格式选择flv,千万不能选音画分离的dash。建议把mpv.exe所在目录加进环境变量。",runAction:async(n,o)=>{const{infos:a}=n,{mpvInfo:s}=o,c=a.flatMap((e=>e.titledFragments)).map((e=>e.url)),l=a.flatMap((e=>e.titledFragments)).map((e=>e.title)),u={dir:s.dir,referer:"https://www.bilibili.com/","user-agent":r.UserAgent,urls:c,titles:l},d=`http://${s.host}:${s.port}`,p=await(0,e.postJson)(d,u),f=JSON.parse(p);f.success?t.Toast.success(`成功发送了请求: ${f.message}`,"MPV播放",3e3):(0,i.logError)(f.message)},component:()=>Promise.resolve().then(n.bind(n,900)).then((e=>e.default))},s={name:"downloadVideo.outputs.mpv-playlist",displayName:"下载视频 - MPV 播放支持(列表)",author:{name:"wuliic",link:"https://github.com/wullic"},description:"为下载视频增加 MPV 输出支持,支持列表播放,配置方式请参考 [playwithmpv](https://github.com/videoanywhere/playwithmpv)",setup:e=>{let{addData:t}=e;t("downloadVideo.outputs",(e=>{e.push(a)}))},commitHash:"d87d69cfb9d7e0124bd90a06fec4569bd61e02c5",coreVersion:"2.10.7"}})(),o=o.plugin})())); //# sourceMappingURL=https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/registry/dist/plugins/video/download/mpv-output-playlist.js.map \ No newline at end of file diff --git a/bb-evolved/registry/dist/plugins/video/download/mpv-output.js b/bb-evolved/registry/dist/plugins/video/download/mpv-output.js index 8fd4628349..6006e177b3 100644 --- a/bb-evolved/registry/dist/plugins/video/download/mpv-output.js +++ b/bb-evolved/registry/dist/plugins/video/download/mpv-output.js @@ -1,2 +1,2 @@ -!function(o,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports["video/download/mpv-output"]=e():o["video/download/mpv-output"]=e()}(globalThis,(()=>(()=>{"use strict";var o={d:(e,t)=>{for(var i in t)o.o(t,i)&&!o.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})},o:(o,e)=>Object.prototype.hasOwnProperty.call(o,e)},e={};o.d(e,{plugin:()=>i});const t=coreApis.toast,i={name:"downloadVideo.outputs.mpv",displayName:"下载视频 - MPV 输出支持",author:{name:"diannaojiang",link:"https://github.com/diannaojiang"},description:"为下载视频增加 MPV 输出支持, 配置方式请参考 [Bilibili-Playin-Mpv](https://github.com/diannaojiang/Bilibili-Playin-Mpv)",setup:o=>{let{addData:e}=o;e("downloadVideo.outputs",(o=>{o.push({name:"mpv",displayName:"MPV",description:"弹一条消息显示出播放按钮,点击即可使用MPV进行播放",runAction:async o=>{const e=o.infos.flatMap((o=>o.titledFragments)),i=e.map((o=>o.url)).join("\n"),n=`mpv://--http-header-fields="referer:https://www.bilibili.com/" "${e[0].url}" --audio-file="${e[1].url}"`;console.log(n),t.Toast.show(`播放`,"MPV播放"),console.log(i),console.log(o)}})}))},commitHash:"58c0b438ca2371e397f70466a91572cb2757b142",coreVersion:"2.10.7"};return e=e.plugin})())); +!function(o,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports["video/download/mpv-output"]=e():o["video/download/mpv-output"]=e()}(globalThis,(()=>(()=>{"use strict";var o={d:(e,t)=>{for(var i in t)o.o(t,i)&&!o.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})},o:(o,e)=>Object.prototype.hasOwnProperty.call(o,e)},e={};o.d(e,{plugin:()=>i});const t=coreApis.toast,i={name:"downloadVideo.outputs.mpv",displayName:"下载视频 - MPV 输出支持",author:{name:"diannaojiang",link:"https://github.com/diannaojiang"},description:"为下载视频增加 MPV 输出支持, 配置方式请参考 [Bilibili-Playin-Mpv](https://github.com/diannaojiang/Bilibili-Playin-Mpv)",setup:o=>{let{addData:e}=o;e("downloadVideo.outputs",(o=>{o.push({name:"mpv",displayName:"MPV",description:"弹一条消息显示出播放按钮,点击即可使用MPV进行播放",runAction:async o=>{const e=o.infos.flatMap((o=>o.titledFragments)),i=e.map((o=>o.url)).join("\n"),n=`mpv://--http-header-fields="referer:https://www.bilibili.com/" "${e[0].url}" --audio-file="${e[1].url}"`;console.log(n),t.Toast.show(`播放`,"MPV播放"),console.log(i),console.log(o)}})}))},commitHash:"d87d69cfb9d7e0124bd90a06fec4569bd61e02c5",coreVersion:"2.10.7"};return e=e.plugin})())); //# sourceMappingURL=https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/registry/dist/plugins/video/download/mpv-output.js.map \ No newline at end of file diff --git a/bb-evolved/registry/dist/plugins/video/download/wasm-output.js b/bb-evolved/registry/dist/plugins/video/download/wasm-output.js index 584c2ebcdc..fe9ab7811d 100644 --- a/bb-evolved/registry/dist/plugins/video/download/wasm-output.js +++ b/bb-evolved/registry/dist/plugins/video/download/wasm-output.js @@ -1,5 +1,5 @@ !function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports["video/download/wasm-output"]=e():t["video/download/wasm-output"]=e()}(globalThis,(()=>(()=>{"use strict";var t={198:(t,e,a)=>{a.r(e),a.d(e,{default:()=>d});var o=function(){var t=this,e=t._self._c;t._self._setupProxy;return e("div",{staticClass:"wasm-output-config"},[e("div",{staticClass:"download-video-config-item",staticStyle:{"flex-wrap":"wrap"}},[e("div",{staticClass:"download-video-config-title"},[t._v("输出格式:")]),t._v(" "),e("VDropdown",{attrs:{items:t.outputTypes},on:{change:t.saveOptions},scopedSlots:t._u([{key:"item",fn:function({item:e}){return[t._v("\n "+t._s(e)+"\n ")]}}]),model:{value:t.outputType,callback:function(e){t.outputType=e},expression:"outputType"}}),t._v(" "),t._m(0)],1),t._v(" "),t.hasMetadata?e("div",{staticClass:"download-video-config-item",staticStyle:{"flex-wrap":"wrap"}},[e("div",{staticClass:"download-video-config-title"},[t._v("写入元数据:")]),t._v(" "),e("SwitchBox",{on:{change:t.saveOptions},model:{value:t.muxWithMetadata,callback:function(e){t.muxWithMetadata=e},expression:"muxWithMetadata"}}),t._v(" "),e("div",{staticClass:"download-video-config-description",staticStyle:{width:"100%"}},[t._v("\n 支持元数据类型「ffmetadata」\n ")])],1):t._e(),t._v(" "),t.hasCover?e("div",{staticClass:"download-video-config-item",staticStyle:{"flex-wrap":"wrap"}},[e("div",{staticClass:"download-video-config-title"},[t._v("附加封面:")]),t._v(" "),e("SwitchBox",{on:{change:t.saveOptions},model:{value:t.attachCover,callback:function(e){t.attachCover=e},expression:"attachCover"}}),t._v(" "),t.hasMetadata?e("div",{staticClass:"download-video-config-description",staticStyle:{width:"100%"}},[t._v("\n 附加封面至 MP4 格式会导致元数据自定义字段失效\n ")]):t._e()],1):t._e()])};o._withStripped=!0;const n=coreApis.ui;var i=a(905);const{options:s}=(0,i.getComponentSettings)("downloadVideo"),r={muxWithMetadata:!1,attachCover:!1,outputType:"auto",...s};var c=function(t,e,a,o,n,i,s,r){var c,d="function"==typeof t?t.options:t;if(e&&(d.render=e,d.staticRenderFns=a,d._compiled=!0),o&&(d.functional=!0),i&&(d._scopeId="data-v-"+i),s?(c=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),n&&n.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(s)},d._ssrRegister=c):n&&(c=r?function(){n.call(this,(d.functional?this.parent:this).$root.$options.shadowRoot)}:n),c)if(d.functional){d._injectStyles=c;var l=d.render;d.render=function(t,e){return c.call(e),l(t,e)}}else{var u=d.beforeCreate;d.beforeCreate=u?[].concat(u,c):[c]}return{exports:t,options:d}}(Vue.extend({components:{SwitchBox:n.SwitchBox,VDropdown:n.VDropdown},data(){const t=(0,i.isComponentEnabled)("saveVideoMetadata"),e=(0,i.isComponentEnabled)("viewCover");return{hasMetadata:t,hasCover:e,muxWithMetadata:t&&r.muxWithMetadata,attachCover:e&&r.attachCover,outputType:r.outputType,outputTypes:["auto","mp4","matroska"]}},methods:{saveOptions(){r.muxWithMetadata=this.muxWithMetadata,r.attachCover=this.attachCover,r.outputType=this.outputType,Object.assign(s,r)}}}),o,[function(){var t=this,e=t._self._c;t._self._setupProxy;return e("div",{staticClass:"download-video-config-description",staticStyle:{width:"100%"}},[t._v("\n 非特殊需求请保持自动"),e("br"),t._v("\n 指定 MP4 格式若包含无损音频,会将 FLAC 格式的音轨重新编码为 ALAC 格式\n ")])}],!1,null,null,null);const d=c.exports},905:t=>{t.exports=coreApis.settings}},e={};function a(o){var n=e[o];if(void 0!==n)return n.exports;var i=e[o]={exports:{}};return t[o](i,i.exports,a),i.exports}a.d=(t,e)=>{for(var o in e)a.o(e,o)&&!a.o(t,o)&&Object.defineProperty(t,o,{enumerable:!0,get:e[o]})},a.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),a.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var o={};a.d(o,{plugin:()=>D,D:()=>j});const n=coreApis.toast,i=coreApis.download,s=coreApis.meta;var r=a(905);const c=coreApis.utils.formatters;function d(t,e,a){return(e=function(t){var e=function(t,e){if("object"!=typeof t||!t)return t;var a=t[Symbol.toPrimitive];if(void 0!==a){var o=a.call(t,e||"default");if("object"!=typeof o)return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==typeof e?e:e+""}(e))in t?Object.defineProperty(t,e,{value:a,enumerable:!0,configurable:!0,writable:!0}):t[e]=a,t}function l(t,e,a){(function(t,e){if(e.has(t))throw new TypeError("Cannot initialize the same private elements twice on an object")})(t,e),e.set(t,a)}function u(t,e,a){return t.set(m(t,e),a),a}function p(t,e){return t.get(m(t,e))}function m(t,e,a){if("function"==typeof t?t===e:t.has(e))return arguments.length<3?e:a;throw new TypeError("Private element is not present on this object")} /* eslint-disable @typescript-eslint/naming-convention */const h=(()=>{let t=0;return()=>t++})();var f=function(t){return t.LOAD="LOAD",t.EXEC="EXEC",t.WRITE_FILE="WRITE_FILE",t.READ_FILE="READ_FILE",t.DELETE_FILE="DELETE_FILE",t.ERROR="ERROR",t.PROGRESS="PROGRESS",t}(f||{}),v=new WeakMap,w=new WeakMap,g=new WeakMap,y=new WeakMap,E=new WeakMap,_=new WeakMap;const b={mp4:{extension:"mp4",mime:"video/mp4",muxArgs:(t,e,a)=>{const o=["-i","video","-i","audio"];return t&&e?(o.push("-i","cover","-i","metadata"),o.push("-map","0","-map","1","-map","2"),o.push("-map_metadata","3","-disposition:2","attached_pic")):t&&!e?(o.push("-i","cover"),o.push("-map","0","-map","1","-map","2"),o.push("-disposition:2","attached_pic")):!t&&e&&(o.push("-i","metadata"),o.push("-map_metadata","2","-movflags","+use_metadata_tags")),o.push("-codec:v","copy"),o.push("-codec:a",a?"alac":"copy"),o.push("-f","mp4"),o}},matroska:{extension:"mkv",mime:"video/x-matroska",muxArgs:(t,e)=>{const a=["-i","video","-i","audio"];return t&&e?(a.push("-i","metadata","-attach","cover"),a.push("-map","0","-map","1"),a.push("-map_metadata","2"),a.push("-metadata:s:t:0","mimetype=image/jpeg","-metadata:s:t:0","filename=cover.jpg")):t&&!e?(a.push("-attach","cover"),a.push("-metadata:s:t:0","mimetype=image/jpeg","-metadata:s:t:0","filename=cover.jpg")):!t&&e&&a.push("-i","metadata","-map_metadata","2"),a.push("-codec","copy","-f","matroska"),a}}};const x=coreApis.runtimeLibrary,C={cache:"cache"};async function S(t,e){return async function(){return new Promise(((t,e)=>{const a=unsafeWindow.indexedDB.open("bilibili-evolved-wasm-output",124);a.onerror=e,a.onupgradeneeded=()=>{const t=a.result;for(const e of t.objectStoreNames)t.deleteObjectStore(e);Object.values(C).forEach((e=>{t.createObjectStore(e)}))},a.onsuccess=()=>t(a.result)}))}().then((a=>new Promise(((o,n)=>{const i=a.transaction(t,e);o(i.objectStore(t)),i.onerror=n}))))}async function F(t,e,a){const o=await S(t).then((t=>async function(t,e){return new Promise(((a,o)=>{const n=t.get(e);n.onerror=o,n.onsuccess=()=>a(n.result)}))}(t,e)));if(o)return o;const n=await a(e);return await S(t,"readwrite").then((t=>async function(t,e,a){return new Promise(((o,n)=>{const i=t.put(e,a);i.onerror=n,i.onsuccess=()=>o(i.result)}))}(t,n,e))),n}function A(t){const e=[];return(a,o)=>(n,i,s)=>{e[a]=`${o}: ${function(t,e,a){const o=(0,c.formatFileSize)(t),n=e>0?` / ${(0,c.formatFileSize)(e)}`:"",i=e>0?` @ ${(0,c.formatPercent)(t/e)}`:"";let s="",r="";return e>t&&a>0&&(r=` (${(0,c.formatFileSize)(a)}/s)`,s=` - ${(0,c.formatDuration)((e-t)/a)}`),`${o}${n}${i}${r}${s}`}(n,i,s)}`,t.message=e.join("\n")}}function k(t){return t.headers.get("Content-Encoding")?-1:parseInt(t.headers.get("Content-Length"))}async function L(t,e){const a=await fetch(t);if(!a.ok)throw new Error(`${a.status} ${a.statusText}`);const o=a.body.getReader(),n=k(a);let i=0;const s=[];let r=Date.now(),c=0,d=0; // eslint-disable-next-line no-constant-condition -for(;;){const{done:t,value:a}=await o.read();if(t)break;s.push(a),i+=a.length;const l=Date.now(),u=(l-r)/1e3;if(u>1){const t=(i-c)/u;e(i,n,t),r=l,c=i,d=t}else e(i,n,c>0?d:0)}const l=new Uint8Array(i);let u=0;for(const t of s)l.set(t,u),u+=t.length;return l}async function R(t){try{const e=await fetch(t,{method:"HEAD"});return e.ok?k(e):-1}catch(t){return-1}}async function M(t,e,a){return F(C.cache,t,(async()=>{const t=await L(e.url,a),o=await x.RuntimeLibrary.sha256(t);if(o!==e.sha256)throw new Error(`Check integrity failed from ${e.url}, expected = ${e.sha256}, actual = ${o}`);return t}))}function T(t,e){const a=new Blob([t],{type:e});return URL.createObjectURL(a)}const O=new class{constructor(){var t=this;l(this,v,null),l(this,w,{}),l(this,g,{}),l(this,y,void 0),d(this,"loaded",!1),l(this,E,(()=>{p(v,this)&&(p(v,this).onmessage=t=>{let{data:{id:e,type:a,data:o}}=t;switch(a){case f.LOAD:this.loaded=!0,p(w,this)[e](o);break;case f.EXEC:case f.WRITE_FILE:case f.READ_FILE:case f.DELETE_FILE:p(w,this)[e](o);break;case f.PROGRESS:p(y,this)&&p(y,this).call(this,o);break;case f.ERROR:p(g,this)[e](o)}delete p(w,this)[e],delete p(g,this)[e]})})),l(this,_,(function(e){let{type:a,data:o}=e,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],i=arguments.length>2?arguments[2]:void 0;return p(v,t)?new Promise(((e,s)=>{const r=h();p(v,t)&&p(v,t).postMessage({id:r,type:a,data:o},n),p(w,t)[r]=e,p(g,t)[r]=s,i?.addEventListener("abort",(()=>{s(new DOMException(`Message # ${r} was aborted`,"AbortError"))}),{once:!0})})):Promise.reject(new Error("FFmpeg is not loaded"))})),d(this,"load",((t,e)=>(p(v,this)||(u(v,this,new Worker(t.workerLoadURL,{type:"classic"})),p(E,this).call(this)),p(_,this).call(this,{type:f.LOAD,data:t},void 0,e)))),d(this,"exec",(function(e){let a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:-1,o=arguments.length>2?arguments[2]:void 0;return p(_,t).call(t,{type:f.EXEC,data:{args:e,timeout:a}},void 0,o)})),d(this,"terminate",(()=>{const t=Object.keys(p(g,this));for(const e of t)p(g,this)[e](new Error("FFmpeg terminated")),delete p(g,this)[e],delete p(w,this)[e];p(v,this)&&(p(v,this).terminate(),u(v,this,null),this.loaded=!1)})),d(this,"writeFile",((t,e,a)=>{const o=[];return o.push(e.buffer),p(_,this).call(this,{type:f.WRITE_FILE,data:{path:t,data:e}},o,a)})),d(this,"readFile",((t,e)=>p(_,this).call(this,{type:f.READ_FILE,data:{path:t,encoding:"binary"}},void 0,e))),d(this,"deleteFile",((t,e)=>p(_,this).call(this,{type:f.DELETE_FILE,data:{path:t}},void 0,e)))}onProgress(t){u(y,this,t)}};async function P(t,e,a,o,s,r,d){let l=arguments.length>7&&void 0!==arguments[7]?arguments[7]:1,u=arguments.length>8&&void 0!==arguments[8]?arguments[8]:1;const p=n.Toast.info("",`${j} - ${l} / ${u}`),m=A(p),[h,f]=await Promise.all([L(e,m(0,"正在下载视频流")),L(a,m(1,"正在下载音频流"))]);let v,w;o&&(v=await L(o,m(0,"正在下载封面"))),s&&(w=(new TextEncoder).encode(s));const{data:g,format:{extension:y}}=await async function(t,e,a,o,n,i,s,r){"auto"===e&&(e=i?"matroska":"mp4",e=s&&r?"matroska":e);const c=b[e],d=c.muxArgs(!!s,!!r,i);d.push("output"),console.debug("FFmpeg commandline args:",d.join(" ")),await t.writeFile("video",o),await t.writeFile("audio",n),s&&await t.writeFile("cover",s),r&&await t.writeFile("metadata",r),t.onProgress(a),await t.exec(d);const l=await t.readFile("output"),u=new Blob([l],{type:c.mime});return await Promise.all([t.deleteFile("video"),t.deleteFile("audio"),t.deleteFile("output"),r?t.deleteFile("metadata"):Promise.resolve(),s?t.deleteFile("cover"):Promise.resolve()]),{data:u,format:c}}(O,r,(t=>{p.message=`混流中: ${(0,c.formatPercent)(t.progress)}`}),h,f,d,v,w);p.message="完成!",p.duration=1e3,await i.DownloadPackage.single(t.replace(/.[^/.]+$/,`.${y}`),g)}async function $(t,e,a,o){O.loaded||await async function(){const t=n.Toast.info("正在加载 FFmpeg",`${j} - 初始化`),e=A(t),[a,o,i]=await Promise.all([M("ffmpeg-worker",s.meta.compilationInfo.altCdn.library.ffmpeg.worker,e(0,"正在加载 FFmpeg Worker")),M("ffmpeg-core",s.meta.compilationInfo.altCdn.library.ffmpeg.core,e(1,"正在加载 FFmpeg Core")),M("ffmpeg-wasm",s.meta.compilationInfo.altCdn.library.ffmpeg.wasm,e(2,"正在加载 FFmpeg WASM"))]);await O.load({workerLoadURL:T(a,"text/javascript"),coreURL:T(o,"text/javascript"),wasmURL:T(i,"application/wasm")}),t.message="完成!",t.close()}();const{infos:i,extraAssets:d,extraOnlineAssets:l}=t;let u,p;if(a){const e=[];for(const{asset:t,instance:a}of d)u||"saveVideoMetadata"!==t.name||"ffmetadata"!==a.type?e.push({asset:t,instance:a}):u=await t.getAssets(i,a);t.extraAssets=e}if(o){const e=[];for(const{asset:t,instance:a}of l)p||"downloadCover"!==t.name||"jpg"!==a.type?e.push({asset:t,instance:a}):p=await t.getUrls(i,a);t.extraOnlineAssets=e}const{dashAudioExtension:m,dashFlacAudioExtension:h,dashVideoExtension:f}=(0,r.getComponentSettings)("downloadVideo").options;for(let t=0;t2097152e3)throw new Error(`仅支持合并 2GB 内的音视频(${(0,c.formatFileSize)(d)})`);await P(o.title,o.url,n.url,p?.[t]?.url,u?.[t]?.data,e,n.extension===h,t+1,i.length)}}const j="WASM 混流输出",W="使用 WASM 在浏览器中下载并合并音视频, 支持批量下载",D={name:"downloadVideo.outputs.wasm",displayName:`下载视频 - ${j}`,description:W,author:[{name:"WakelessSloth56",link:"https://github.com/WakelessSloth56"},{name:"LainIO24",link:"https://github.com/LainIO24"}],setup:t=>{let{addData:e}=t;e("downloadVideo.outputs",(t=>{t.push({name:"wasm",displayName:"WASM",description:`${W}。运行过程中请勿关闭页面,初次使用或清除缓存后需要加载约 30 MB 的 WASM 文件。由于浏览器限制,仅支持合并 2GB 以内的音视频。`,runAction:async(t,e)=>{try{await $(t,e.outputType,e.muxWithMetadata,e.attachCover)}catch(t){n.Toast.error(String(t),j)}},component:()=>Promise.resolve().then(a.bind(a,198)).then((t=>t.default))})}))},commitHash:"58c0b438ca2371e397f70466a91572cb2757b142",coreVersion:"2.10.7"};return o=o.plugin})())); +for(;;){const{done:t,value:a}=await o.read();if(t)break;s.push(a),i+=a.length;const l=Date.now(),u=(l-r)/1e3;if(u>1){const t=(i-c)/u;e(i,n,t),r=l,c=i,d=t}else e(i,n,c>0?d:0)}const l=new Uint8Array(i);let u=0;for(const t of s)l.set(t,u),u+=t.length;return l}async function R(t){try{const e=await fetch(t,{method:"HEAD"});return e.ok?k(e):-1}catch(t){return-1}}async function M(t,e,a){return F(C.cache,t,(async()=>{const t=await L(e.url,a),o=await x.RuntimeLibrary.sha256(t);if(o!==e.sha256)throw new Error(`Check integrity failed from ${e.url}, expected = ${e.sha256}, actual = ${o}`);return t}))}function T(t,e){const a=new Blob([t],{type:e});return URL.createObjectURL(a)}const O=new class{constructor(){var t=this;l(this,v,null),l(this,w,{}),l(this,g,{}),l(this,y,void 0),d(this,"loaded",!1),l(this,E,(()=>{p(v,this)&&(p(v,this).onmessage=t=>{let{data:{id:e,type:a,data:o}}=t;switch(a){case f.LOAD:this.loaded=!0,p(w,this)[e](o);break;case f.EXEC:case f.WRITE_FILE:case f.READ_FILE:case f.DELETE_FILE:p(w,this)[e](o);break;case f.PROGRESS:p(y,this)&&p(y,this).call(this,o);break;case f.ERROR:p(g,this)[e](o)}delete p(w,this)[e],delete p(g,this)[e]})})),l(this,_,(function(e){let{type:a,data:o}=e,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],i=arguments.length>2?arguments[2]:void 0;return p(v,t)?new Promise(((e,s)=>{const r=h();p(v,t)&&p(v,t).postMessage({id:r,type:a,data:o},n),p(w,t)[r]=e,p(g,t)[r]=s,i?.addEventListener("abort",(()=>{s(new DOMException(`Message # ${r} was aborted`,"AbortError"))}),{once:!0})})):Promise.reject(new Error("FFmpeg is not loaded"))})),d(this,"load",((t,e)=>(p(v,this)||(u(v,this,new Worker(t.workerLoadURL,{type:"classic"})),p(E,this).call(this)),p(_,this).call(this,{type:f.LOAD,data:t},void 0,e)))),d(this,"exec",(function(e){let a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:-1,o=arguments.length>2?arguments[2]:void 0;return p(_,t).call(t,{type:f.EXEC,data:{args:e,timeout:a}},void 0,o)})),d(this,"terminate",(()=>{const t=Object.keys(p(g,this));for(const e of t)p(g,this)[e](new Error("FFmpeg terminated")),delete p(g,this)[e],delete p(w,this)[e];p(v,this)&&(p(v,this).terminate(),u(v,this,null),this.loaded=!1)})),d(this,"writeFile",((t,e,a)=>{const o=[];return o.push(e.buffer),p(_,this).call(this,{type:f.WRITE_FILE,data:{path:t,data:e}},o,a)})),d(this,"readFile",((t,e)=>p(_,this).call(this,{type:f.READ_FILE,data:{path:t,encoding:"binary"}},void 0,e))),d(this,"deleteFile",((t,e)=>p(_,this).call(this,{type:f.DELETE_FILE,data:{path:t}},void 0,e)))}onProgress(t){u(y,this,t)}};async function P(t,e,a,o,s,r,d){let l=arguments.length>7&&void 0!==arguments[7]?arguments[7]:1,u=arguments.length>8&&void 0!==arguments[8]?arguments[8]:1;const p=n.Toast.info("",`${j} - ${l} / ${u}`),m=A(p),[h,f]=await Promise.all([L(e,m(0,"正在下载视频流")),L(a,m(1,"正在下载音频流"))]);let v,w;o&&(v=await L(o,m(0,"正在下载封面"))),s&&(w=(new TextEncoder).encode(s));const{data:g,format:{extension:y}}=await async function(t,e,a,o,n,i,s,r){"auto"===e&&(e=i?"matroska":"mp4",e=s&&r?"matroska":e);const c=b[e],d=c.muxArgs(!!s,!!r,i);d.push("output"),console.debug("FFmpeg commandline args:",d.join(" ")),await t.writeFile("video",o),await t.writeFile("audio",n),s&&await t.writeFile("cover",s),r&&await t.writeFile("metadata",r),t.onProgress(a),await t.exec(d);const l=await t.readFile("output"),u=new Blob([l],{type:c.mime});return await Promise.all([t.deleteFile("video"),t.deleteFile("audio"),t.deleteFile("output"),r?t.deleteFile("metadata"):Promise.resolve(),s?t.deleteFile("cover"):Promise.resolve()]),{data:u,format:c}}(O,r,(t=>{p.message=`混流中: ${(0,c.formatPercent)(t.progress)}`}),h,f,d,v,w);p.message="完成!",p.duration=1e3,await i.DownloadPackage.single(t.replace(/.[^/.]+$/,`.${y}`),g)}async function $(t,e,a,o){O.loaded||await async function(){const t=n.Toast.info("正在加载 FFmpeg",`${j} - 初始化`),e=A(t),[a,o,i]=await Promise.all([M("ffmpeg-worker",s.meta.compilationInfo.altCdn.library.ffmpeg.worker,e(0,"正在加载 FFmpeg Worker")),M("ffmpeg-core",s.meta.compilationInfo.altCdn.library.ffmpeg.core,e(1,"正在加载 FFmpeg Core")),M("ffmpeg-wasm",s.meta.compilationInfo.altCdn.library.ffmpeg.wasm,e(2,"正在加载 FFmpeg WASM"))]);await O.load({workerLoadURL:T(a,"text/javascript"),coreURL:T(o,"text/javascript"),wasmURL:T(i,"application/wasm")}),t.message="完成!",t.close()}();const{infos:i,extraAssets:d,extraOnlineAssets:l}=t;let u,p;if(a){const e=[];for(const{asset:t,instance:a}of d)u||"saveVideoMetadata"!==t.name||"ffmetadata"!==a.type?e.push({asset:t,instance:a}):u=await t.getAssets(i,a);t.extraAssets=e}if(o){const e=[];for(const{asset:t,instance:a}of l)p||"downloadCover"!==t.name||"jpg"!==a.type?e.push({asset:t,instance:a}):p=await t.getUrls(i,a);t.extraOnlineAssets=e}const{dashAudioExtension:m,dashFlacAudioExtension:h,dashVideoExtension:f}=(0,r.getComponentSettings)("downloadVideo").options;for(let t=0;t2097152e3)throw new Error(`仅支持合并 2GB 内的音视频(${(0,c.formatFileSize)(d)})`);await P(o.title,o.url,n.url,p?.[t]?.url,u?.[t]?.data,e,n.extension===h,t+1,i.length)}}const j="WASM 混流输出",W="使用 WASM 在浏览器中下载并合并音视频, 支持批量下载",D={name:"downloadVideo.outputs.wasm",displayName:`下载视频 - ${j}`,description:W,author:[{name:"WakelessSloth56",link:"https://github.com/WakelessSloth56"},{name:"LainIO24",link:"https://github.com/LainIO24"}],setup:t=>{let{addData:e}=t;e("downloadVideo.outputs",(t=>{t.push({name:"wasm",displayName:"WASM",description:`${W}。运行过程中请勿关闭页面,初次使用或清除缓存后需要加载约 30 MB 的 WASM 文件。由于浏览器限制,仅支持合并 2GB 以内的音视频。`,runAction:async(t,e)=>{try{await $(t,e.outputType,e.muxWithMetadata,e.attachCover)}catch(t){n.Toast.error(String(t),j)}},component:()=>Promise.resolve().then(a.bind(a,198)).then((t=>t.default))})}))},commitHash:"d87d69cfb9d7e0124bd90a06fec4569bd61e02c5",coreVersion:"2.10.7"};return o=o.plugin})())); //# sourceMappingURL=https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/registry/dist/plugins/video/download/wasm-output.js.map \ No newline at end of file diff --git a/bb-evolved/registry/dist/plugins/video/player/speed.js b/bb-evolved/registry/dist/plugins/video/player/speed.js index c28014473d..b5a98d2a24 100644 --- a/bb-evolved/registry/dist/plugins/video/player/speed.js +++ b/bb-evolved/registry/dist/plugins/video/player/speed.js @@ -1,2 +1,2 @@ -!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["video/player/speed"]=t():e["video/player/speed"]=t()}(globalThis,(()=>(()=>{"use strict";var e={d:(t,n)=>{for(var r in n)e.o(n,r)&&!e.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:n[r]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t)},t={};e.d(t,{plugin:()=>q});const n=coreApis.toast,r=coreApis.componentApis.video.playerAgent,o=coreApis.lifeCycle,s=coreApis.observer,i=coreApis.utils,a=coreApis.utils.sort,l=coreApis.settings,c=e=>"function"==typeof e?{next:e}:e,d=e=>function e(t){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0,o=!1;const s=[],i=[];let a=!1;const d=()=>{for(;s.length;)s.pop()();i.length=0,a=!0},p=e=>{a||(i.forEach((t=>{t.error?.(e),(0,l.getGeneralSettings)().devMode&&console.error(e)})),d())},u=e=>{a||i.forEach((t=>{try{t.next(e)}catch(e){p(e)}}))},h=()=>{i.forEach((e=>{e.complete?.()})),d()},b=()=>{if(o)return;const e=t?.({next:u,error:p,complete:h});e&&s.push(e),o=!0},m=e=>null==e?null:(i.push(e),()=>{lodash.pull(i,e)}),f=function(){for(var t=arguments.length,n=new Array(t),o=0;o{const t=m(c(e));return(r?.connect??b)(),t},pipe:f,next:u,error:p,complete:h,...r}:e(n[0],{subscribe:m},r||{connect:b,next:u}).pipe(...n.slice(1))};if(n){const e=t?.({subscribe:e=>n.subscribe({error:p,complete:h,...c(e)}),next:u,error:p,complete:h});e&&s.push(e)}return f()}(e),p=(e,t)=>d((n=>{let{next:r}=n;return e.addEventListener(t,r),()=>e.removeEventListener(t,r)})),u=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r{let{next:r}=t;e(...n,r)}))},h=e=>new Promise(((t,n)=>{const r=e.subscribe({next:e=>{t(e),r()},error:()=>{n(),r()},complete:()=>{n(),r()}})})),b=e=>function(){for(var t=arguments.length,n=new Array(t),r=0;re(...n)))},m=function(){for(var e=arguments.length,t=new Array(e),n=0;n{let{next:n,error:r,complete:o}=e;return(e=>{const t=new Set;return e((e=>{lodash.castArray(e).forEach((e=>{t.add(e)}))})),()=>{t.forEach((e=>{e()}))}})((e=>{const s=[];let i=0;e(t.map(((e,a)=>{return e.pipe((l=b,e=>{let{subscribe:t,next:n,complete:r,error:o}=e;t(lodash.mapValues({next:n,complete:r,error:o},(e=>l(e))))})).subscribe({next:e=>{s[a]=e,s.reduce((e=>e+1),0)===t.length&&n(s.slice())},complete:()=>{i++,i===t.length&&o()},error:r});var l}))),e((()=>{s.length=0,i=0}))}))}))},f=e=>t=>{let{subscribe:n,next:r,error:o}=t;n(lodash.debounce((e=>{try{r(e)}catch(e){o(e)}}),e))},g=e=>t=>{let{subscribe:n,next:r}=t;n((t=>{e(t)&&r(t)}))},v=function(){for(var e=arguments.length,t=new Array(e),n=0;n{let{next:n,subscribe:r}=e,o=!1;r((e=>{o||t.forEach((e=>n(e))),n(e),o=!0}))}},y=coreApis.pluginApis.data,x=e=>e.split(",").map((e=>e.trim().replace(/^\./,""))).join(","),w=(e,t)=>{const n=t=>{(0,y.registerAndGetData)(e,t)[0]=t},r=(0,y.getData)(e);if(r.length)return[r[0],n];if(t){const e=t();return n(e),[e,n]}return[void 0,n]},S=function(e){return arguments.length>1&&void 0!==arguments[1]&&arguments[1]&&1===e?"倍速":Math.trunc(e)===e?`${e}.0x`:`${e}x`},E=e=>{if("倍速"===e)return 1;const t=/([0-9]*[.]?[0-9]+)x/.exec(e);if(t)return parseFloat(t[1]);throw new Error(`unknown speed text: ${e}`)};function A(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const k=r.playerAgent.provideCustomQuery({video:{speedMenuList:".bilibili-player-video-btn-speed-menu, .bpx-player-ctrl-playbackrate-menu",speedMenuItem:".bilibili-player-video-btn-speed-menu-list, .bpx-player-ctrl-playbackrate-menu-item",speedNameBtn:".bilibili-player-video-btn-speed-name, .bpx-player-ctrl-playbackrate-result",speedContainer:".bilibili-player-video-btn-speed, .bpx-player-ctrl-playbackrate",active:".bilibili-player-active, .bpx-state-active",show:".bilibili-player-speed-show, .bpx-state-show"},bangumi:{speedMenuList:".squirtle-speed-select-list, .bpx-player-ctrl-playbackrate-menu",speedMenuItem:".squirtle-select-item, .bpx-player-ctrl-playbackrate-menu-item",speedNameBtn:".squirtle-speed-select-result, .bpx-player-ctrl-playbackrate-result",speedContainer:".squirtle-speed-wrap, .bpx-player-ctrl-playbackrate",active:".active, .bpx-state-active",show:".bilibili-player-speed-show, .bpx-state-show"}});let V=function(e){return e[e.MIN=0]="MIN",e[e.CURRENT=1]="CURRENT",e[e.MAX=2]="MAX",e}({});const C=(e,t,n)=>{const r=new MutationObserver(n);return r.observe(e,t),r},O=e=>{let[t,n]=e;if(!t)throw new Error("speed container element not found!");if(!n)throw new Error("video element not found!");const r=t.querySelector(k.custom.speedNameBtn.selector),o=t.querySelector(k.custom.speedMenuList.selector);let s,l,c;const p=d(),u=d().pipe((e=>{let t,{subscribe:n,next:r}=e,o=!0;n((e=>{(o||t!==e)&&(o=!1,t=e,r(e))}))}));u.pipe(v(void 0),(e=>{let{subscribe:t,next:n}=e;const r=[];return t((e=>{2===r.length&&r.shift(),r.push(e),2===r.length&&n(r.slice())})),()=>{r.length=0}})).subscribe((e=>{let[t,n]=e;l=t,s=n}));const h=e=>{if(e)switch(e.nodeType){case Node.TEXT_NODE:u.next(E(e.data));break;case Node.ELEMENT_NODE:u.next(E(e.innerHTML));break;default:console.warn("The target parameter of updateActiveVideoSpeed must be a Node, and the node type must be one of TEXT_NODE and ELEMENT_NODE")}},b=()=>{c=lodash([...o.children]).map((e=>lodash.attempt((()=>E(e.textContent))))).reject((e=>lodash.isError(e))).sort((0,a.ascendingSort)()).value()};h(r),b();const m=C(o,{childList:!0,attributes:!0},(e=>{const{attributes:t=[],childList:n=[]}=lodash.groupBy(e,"type");n.length&&b(),p.next({attributes:t,childList:n})})),f=C(r,{childList:!0,subtree:!0},(e=>{e.forEach((e=>{const[t]=e.addedNodes;h(t)}))}));return{containerElement:t,videoElement:n,nameBtnElement:r,menuListElement:o,query:e=>(0,i.des)(`./*[(${function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"or";return e.split(",").map(x).flat().map((e=>`contains(@class, "${e}")`)).join(` ${t} `)}(k.custom.speedMenuItem.selector)}) and normalize-space()="${S(e)}"]`,o),dispose:()=>{m.disconnect(),f.disconnect()},activeVideoSpeed$:u,menuListElementMutations$:p,getActiveVideoSpeed:()=>s,getOldActiveVideoSpeed:()=>l,getAvailableSpeedValues:()=>c}},N=e=>{const{videoElement:t,menuListElement:n}=e,r=p(n,"click").pipe((o=e=>{const{innerText:t,innerHTML:n}=e.target,r=t.trim()||n.trim();return lodash.attempt((()=>E(r)))},e=>{let{subscribe:t,next:n}=e;t((e=>{n(o(e))}))}),g((e=>!lodash.isError(e))));var o;const s=d((e=>{let{next:n}=e,r=t;do{r=Object.getPrototypeOf(r)}while(null===r||!Object.prototype.hasOwnProperty.call(r,"playbackRate"));const o=Object.getOwnPropertyDescriptor(r,"playbackRate");return Object.defineProperty(r,"playbackRate",{set(e){o.set.call(this,e),n(e)}}),()=>{Object.defineProperty(r,"playbackRate",o)}})),i=r.pipe((e=>{let t,{subscribe:n,next:r}=e,o=!0;n((e=>{(o||t!==e)&&(o=!1,t=e,r(e))}))})),a=s.pipe((e=>{let t,{subscribe:n,next:r}=e,o=!0;n((e=>{(o||t!==e)&&(o=!1,t=e,r(e))}))})),l=d((e=>{let{next:t}=e;const n=m(i,a);return n.subscribe((e=>{let[n,r]=e;n===r&&t(r)})),()=>n.complete()})).pipe((e=>{let t,{subscribe:n,next:r}=e,o=!0;n((e=>{(o||t!==e)&&(o=!1,t=e,r(e))}))}));let c;a.pipe(f(200),v(void 0),(e=>{let{subscribe:t,next:n}=e;const r=[];return t((e=>{2===r.length&&r.shift(),r.push(e),2===r.length&&n(r.slice())})),()=>{r.length=0}})).subscribe((e=>{let[t]=e;c=t}));const u={menuListElementClickSpeed$:r,menuListElementClickSpeedChange$:i,playbackRate$:s,playbackRateChange$:a,videoSpeedChange$:l};return{...e,...u,dispose:()=>{lodash.values(u).forEach((e=>{e.complete()})),e.dispose()},getOldPlaybackRate:()=>c}},[$]=w("speed.NoSuchSpeedMenuItemElementError",(()=>class extends Error{constructor(e){const t=lodash.attempt((()=>S(e))),n=lodash.isError(t)?String(e):String(t);super(`There is no such speed menu item as ${n}`),this.speed=e,A(this,"formattedSpeed",void 0),this.formattedSpeed=n}})),T=e=>{const{query:t,videoElement:n,videoSpeedChange$:r,getOldActiveVideoSpeed:o,getAvailableSpeedValues:s,getActiveVideoSpeed:i}=e,a=async function(e){let o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:200;const s=t(e);if(null==s)throw new $(e);s.click();const i=t=>{if((t??n.playbackRate)!==e)throw new Error(`failed to set ${S(e)} video speed.`)},a=[h(r.pipe(f(Math.max(0,o||0))))];o>0&&a.push(new Promise(((e,t)=>setTimeout((()=>setTimeout(t,o)))))),await Promise.all(a).then(i).catch(i)},l=async()=>{await a(1)},c=async(e,t)=>{if(lodash.isNil(e)&&(e=!1),"boolean"==typeof e)e||1===n.playbackRate?await a(o()):await l();else{const n=s();switch(t){case V.MIN:await a(n[e]);break;case V.MAX:await a(n[n.length-1+e]);break;case V.CURRENT:default:{const t=n.indexOf(i());if(-1===t)throw new Error("Unexpected Error: The available speed values do not include the active speed value, this should be a bug, please report the issue on github!");await a(n[t+e])}}}},d=async e=>{try{await c(e,V.CURRENT)}catch(e){if(console.warn(e),!(e instanceof $))throw e}};return Object.assign(e,{set:a,force:async e=>{n.playbackRate=e},reset:l,toggle:c,step:d,increase:async()=>{await d(1)},decrease:async()=>{await d(-1)}})},j=()=>w("speed.speedContext"),M=()=>w("speed.buildArguments$",(()=>{return d().pipe((e=e=>e.settings.enabled,t=>{let{subscribe:n,next:r}=t;const o=new Set;return n((t=>{const n=o.size;e(t)?o.add(t):o.delete(t),o.size!==n&&r([...o])})),()=>{o.clear()}}));var e})),L=async function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:lodash.identity;const[t,n]=j();if(t)return t;let r,i;const[a]=w("lifeCycleComponentLoaded$",(()=>p(unsafeWindow,o.LifeCycleEventTypes.ComponentsLoaded))),[l]=M(),[c]=w("speed.videoChange$",(()=>u(s.videoChange).pipe(g((e=>{let{aid:t,cid:n}=e;return t||n}))))),[b]=w("speed.speedContext$",(()=>d((t=>{let{next:n}=t;return m(c,function(){for(var e=arguments.length,t=new Array(e),n=0;n{let{next:n,complete:r}=e;const o=[...t],s=()=>{const e=o.shift();e||r(),e.subscribe({next:n,complete:()=>{s()}})};s()}))}(function(){for(var e=arguments.length,t=new Array(e),n=0;n{let{next:n,complete:r}=e;t.forEach((e=>{n(e)})),r()}))}([]),l),a).subscribe((t=>{let[o,s]=t;const[a]=j();a?.dispose(),i?.("context update");const l=new Promise(((e,t)=>{r=e,i=t}));Promise.all([Promise.all([k.custom.speedContainer(),k.query.video.element()]).then(r),l]).then((e=>{let[,t]=e;return t})).then(O).then(N).then(T).then((e=>Object.assign(e,{videoIdObject:o,speedContext$:b,videoChange$:c}))).then(e(s)).then(n).catch((e=>console.error(e)))}))}))));return b.subscribe(n),h(b)},R=coreApis.utils.log,P=coreApis.pluginApis.hook;function I(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}class D{constructor(e,t){this.entryContext=e,this.enabled$=t,I(this,"speedContext",void 0),I(this,"settings",void 0),I(this,"coreApis",void 0),I(this,"metadata",void 0),I(this,"options",void 0),I(this,"getVideoIdObject",void 0),I(this,"getAvailableSpeedValues",void 0),I(this,"getOldActiveVideoSpeed",void 0),I(this,"forceVideoSpeed",void 0),I(this,"getVideoSpeed",void 0),I(this,"setVideoSpeed",void 0),I(this,"resetVideoSpeed",void 0),I(this,"toggleVideoSpeed",void 0),I(this,"increaseVideoSpeed",void 0),I(this,"decreaseVideoSpeed",void 0),lodash.assign(this,e,{options:e.settings.options}),this.migrate?.(),lodash.assign(this,lodash.mapValues(D.contextMap,(e=>async function(){const t=await L(),n=lodash.get(t,e);return lodash.isFunction(n)?await n(...arguments):n})))}}I(D,"create",void 0),I(D,"contextMap",{getVideoIdObject:"videoIdObject",getAvailableSpeedValues:"getAvailableSpeedValues",getOldActiveVideoSpeed:"getOldActiveVideoSpeed",getVideoSpeed:"videoElement.playbackRate",setVideoSpeed:"set",forceVideoSpeed:"force",resetVideoSpeed:"reset",toggleVideoSpeed:"toggle",increaseVideoSpeed:"increase",decreaseVideoSpeed:"decrease"}),L((e=>t=>{const n=lodash.omit(t,"dispose"),r=e.map((e=>e.getSpeedContextMixin(n)));if(r.length>1){const e=lodash.intersection(...r.map(Object.keys));if(e.length)throw new Error(`In the registered speed component, there is an implementation of getSpeedContextMixin that causes the speed context to be mixed in ambiguous.\nThe repeated key names are ${e.join(", ")}`)}lodash.assign(n,...r);const o=[];return e.forEach((e=>{const t=lodash(e.settings.options).mapValues(((t,n)=>u(l.addComponentListener,`${e.metadata.name}.${n}`).pipe((e=>{let t,{subscribe:n,next:r}=e,o=!0;n((e=>{(o||t!==e)&&(o=!1,t=e,r(e))}))})))).mapKeys(((e,t)=>`${t}$`)).value();o.push(...lodash.values(t)),e.options=new Proxy(e.settings.options,{get:(e,n,r)=>lodash.isSymbol(n)?Reflect.get(e,n,r):!Reflect.has(e,n)&&n.endsWith("$")?t[n]:Reflect.get(e,n,r)}),e.speedContext=n,e.onSpeedContext(n),e.settings.enabled&&lodash(t).entries().forEach((t=>{let[n,r]=t;r.next(e.settings.options[n.slice(0,-1)])}))})),{...n,dispose:()=>{o.forEach((e=>e.complete())),t.dispose()}}})),D.create=function(e){const t=d().pipe((e=>{let t,{subscribe:n,next:r}=e,o=!0;n((e=>{(o||t!==e)&&(o=!1,t=e,r(e))}))}));return{...e,entry:n=>{const r=lodash.attempt((()=>new this(n,t)));if(r instanceof Error)return(0,R.logError)(r),null;const[o]=M();return t.subscribe((()=>{o.next(r)})),t.next(!0),(0,P.getHook)(`speed.component.${e.name}`).after(r),r},reload:()=>t.next(!0),unload:()=>t.next(!1)}};const q={name:"speed.keymap",displayName:"快捷键扩展 - 视频倍速",author:{name:"JLoeve",link:"https://github.com/LonelySteve"},description:"\n\n为操作视频倍速提供快捷键支持:\n\n- 提高倍速\n- 降低倍速\n- 切换倍速\n\n若添加并启用了记忆倍速组件,则还会增加一个快捷键:\n\n- 清除倍速记忆\n ",setup:e=>{let{addData:t,addHook:r}=e;const o=e=>async t=>{const n=await L();return await e(n),t.showTip(S(n.videoElement.playbackRate),"mdi-fast-forward"),!0};t("keymap.actions",(e=>{Object.assign(e,{videoSpeedIncrease:{displayName:"提高倍速",run:o((e=>{let{increase:t}=e;return t()}))},videoSpeedDecrease:{displayName:"降低倍速",run:o((e=>{let{decrease:t}=e;return t()}))},videoSpeedToggle:{displayName:"切换倍速",run:o((e=>{let{toggle:t}=e;t()}))}})})),t("keymap.presets",(e=>{e.videoSpeedIncrease="shift > 》 arrowUp",e.videoSpeedDecrease="shift < 《 arrowDown",e.videoSpeedToggle="shift ? ?"})),r("speed.component.rememberVideoSpeed",{after:e=>{t("keymap.actions",(t=>{t.videoSpeedForget={displayName:"清除倍速记忆",run:lodash.debounce(o((async()=>{e.settings.enabled?e.options.individualRemember?(e.forgetSpeed(),await e.resetVideoSpeed(),n.Toast.success("已清除当前视频倍速记忆值",e.metadata.displayName,3e3)):n.Toast.error("选项「各视频分别记忆」已禁用,不能清除当前视频倍速记忆值",e.metadata.displayName,5e3):n.Toast.error("组件已禁用,不能清除当前视频倍速记忆值",e.metadata.displayName,5e3)})),200)}})),t("keymap.presets",(e=>{e.videoSpeedForget="shift : :"}))}})},commitHash:"58c0b438ca2371e397f70466a91572cb2757b142",coreVersion:"2.10.7"};return t=t.plugin})())); +!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["video/player/speed"]=t():e["video/player/speed"]=t()}(globalThis,(()=>(()=>{"use strict";var e={d:(t,n)=>{for(var r in n)e.o(n,r)&&!e.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:n[r]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t)},t={};e.d(t,{plugin:()=>q});const n=coreApis.toast,r=coreApis.componentApis.video.playerAgent,o=coreApis.lifeCycle,s=coreApis.observer,i=coreApis.utils,a=coreApis.utils.sort,l=coreApis.settings,c=e=>"function"==typeof e?{next:e}:e,d=e=>function e(t){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0,o=!1;const s=[],i=[];let a=!1;const d=()=>{for(;s.length;)s.pop()();i.length=0,a=!0},p=e=>{a||(i.forEach((t=>{t.error?.(e),(0,l.getGeneralSettings)().devMode&&console.error(e)})),d())},u=e=>{a||i.forEach((t=>{try{t.next(e)}catch(e){p(e)}}))},h=()=>{i.forEach((e=>{e.complete?.()})),d()},b=()=>{if(o)return;const e=t?.({next:u,error:p,complete:h});e&&s.push(e),o=!0},m=e=>null==e?null:(i.push(e),()=>{lodash.pull(i,e)}),f=function(){for(var t=arguments.length,n=new Array(t),o=0;o{const t=m(c(e));return(r?.connect??b)(),t},pipe:f,next:u,error:p,complete:h,...r}:e(n[0],{subscribe:m},r||{connect:b,next:u}).pipe(...n.slice(1))};if(n){const e=t?.({subscribe:e=>n.subscribe({error:p,complete:h,...c(e)}),next:u,error:p,complete:h});e&&s.push(e)}return f()}(e),p=(e,t)=>d((n=>{let{next:r}=n;return e.addEventListener(t,r),()=>e.removeEventListener(t,r)})),u=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r{let{next:r}=t;e(...n,r)}))},h=e=>new Promise(((t,n)=>{const r=e.subscribe({next:e=>{t(e),r()},error:()=>{n(),r()},complete:()=>{n(),r()}})})),b=e=>function(){for(var t=arguments.length,n=new Array(t),r=0;re(...n)))},m=function(){for(var e=arguments.length,t=new Array(e),n=0;n{let{next:n,error:r,complete:o}=e;return(e=>{const t=new Set;return e((e=>{lodash.castArray(e).forEach((e=>{t.add(e)}))})),()=>{t.forEach((e=>{e()}))}})((e=>{const s=[];let i=0;e(t.map(((e,a)=>{return e.pipe((l=b,e=>{let{subscribe:t,next:n,complete:r,error:o}=e;t(lodash.mapValues({next:n,complete:r,error:o},(e=>l(e))))})).subscribe({next:e=>{s[a]=e,s.reduce((e=>e+1),0)===t.length&&n(s.slice())},complete:()=>{i++,i===t.length&&o()},error:r});var l}))),e((()=>{s.length=0,i=0}))}))}))},f=e=>t=>{let{subscribe:n,next:r,error:o}=t;n(lodash.debounce((e=>{try{r(e)}catch(e){o(e)}}),e))},g=e=>t=>{let{subscribe:n,next:r}=t;n((t=>{e(t)&&r(t)}))},v=function(){for(var e=arguments.length,t=new Array(e),n=0;n{let{next:n,subscribe:r}=e,o=!1;r((e=>{o||t.forEach((e=>n(e))),n(e),o=!0}))}},y=coreApis.pluginApis.data,x=e=>e.split(",").map((e=>e.trim().replace(/^\./,""))).join(","),w=(e,t)=>{const n=t=>{(0,y.registerAndGetData)(e,t)[0]=t},r=(0,y.getData)(e);if(r.length)return[r[0],n];if(t){const e=t();return n(e),[e,n]}return[void 0,n]},S=function(e){return arguments.length>1&&void 0!==arguments[1]&&arguments[1]&&1===e?"倍速":Math.trunc(e)===e?`${e}.0x`:`${e}x`},E=e=>{if("倍速"===e)return 1;const t=/([0-9]*[.]?[0-9]+)x/.exec(e);if(t)return parseFloat(t[1]);throw new Error(`unknown speed text: ${e}`)};function A(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const k=r.playerAgent.provideCustomQuery({video:{speedMenuList:".bilibili-player-video-btn-speed-menu, .bpx-player-ctrl-playbackrate-menu",speedMenuItem:".bilibili-player-video-btn-speed-menu-list, .bpx-player-ctrl-playbackrate-menu-item",speedNameBtn:".bilibili-player-video-btn-speed-name, .bpx-player-ctrl-playbackrate-result",speedContainer:".bilibili-player-video-btn-speed, .bpx-player-ctrl-playbackrate",active:".bilibili-player-active, .bpx-state-active",show:".bilibili-player-speed-show, .bpx-state-show"},bangumi:{speedMenuList:".squirtle-speed-select-list, .bpx-player-ctrl-playbackrate-menu",speedMenuItem:".squirtle-select-item, .bpx-player-ctrl-playbackrate-menu-item",speedNameBtn:".squirtle-speed-select-result, .bpx-player-ctrl-playbackrate-result",speedContainer:".squirtle-speed-wrap, .bpx-player-ctrl-playbackrate",active:".active, .bpx-state-active",show:".bilibili-player-speed-show, .bpx-state-show"}});let V=function(e){return e[e.MIN=0]="MIN",e[e.CURRENT=1]="CURRENT",e[e.MAX=2]="MAX",e}({});const C=(e,t,n)=>{const r=new MutationObserver(n);return r.observe(e,t),r},O=e=>{let[t,n]=e;if(!t)throw new Error("speed container element not found!");if(!n)throw new Error("video element not found!");const r=t.querySelector(k.custom.speedNameBtn.selector),o=t.querySelector(k.custom.speedMenuList.selector);let s,l,c;const p=d(),u=d().pipe((e=>{let t,{subscribe:n,next:r}=e,o=!0;n((e=>{(o||t!==e)&&(o=!1,t=e,r(e))}))}));u.pipe(v(void 0),(e=>{let{subscribe:t,next:n}=e;const r=[];return t((e=>{2===r.length&&r.shift(),r.push(e),2===r.length&&n(r.slice())})),()=>{r.length=0}})).subscribe((e=>{let[t,n]=e;l=t,s=n}));const h=e=>{if(e)switch(e.nodeType){case Node.TEXT_NODE:u.next(E(e.data));break;case Node.ELEMENT_NODE:u.next(E(e.innerHTML));break;default:console.warn("The target parameter of updateActiveVideoSpeed must be a Node, and the node type must be one of TEXT_NODE and ELEMENT_NODE")}},b=()=>{c=lodash([...o.children]).map((e=>lodash.attempt((()=>E(e.textContent))))).reject((e=>lodash.isError(e))).sort((0,a.ascendingSort)()).value()};h(r),b();const m=C(o,{childList:!0,attributes:!0},(e=>{const{attributes:t=[],childList:n=[]}=lodash.groupBy(e,"type");n.length&&b(),p.next({attributes:t,childList:n})})),f=C(r,{childList:!0,subtree:!0},(e=>{e.forEach((e=>{const[t]=e.addedNodes;h(t)}))}));return{containerElement:t,videoElement:n,nameBtnElement:r,menuListElement:o,query:e=>(0,i.des)(`./*[(${function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"or";return e.split(",").map(x).flat().map((e=>`contains(@class, "${e}")`)).join(` ${t} `)}(k.custom.speedMenuItem.selector)}) and normalize-space()="${S(e)}"]`,o),dispose:()=>{m.disconnect(),f.disconnect()},activeVideoSpeed$:u,menuListElementMutations$:p,getActiveVideoSpeed:()=>s,getOldActiveVideoSpeed:()=>l,getAvailableSpeedValues:()=>c}},N=e=>{const{videoElement:t,menuListElement:n}=e,r=p(n,"click").pipe((o=e=>{const{innerText:t,innerHTML:n}=e.target,r=t.trim()||n.trim();return lodash.attempt((()=>E(r)))},e=>{let{subscribe:t,next:n}=e;t((e=>{n(o(e))}))}),g((e=>!lodash.isError(e))));var o;const s=d((e=>{let{next:n}=e,r=t;do{r=Object.getPrototypeOf(r)}while(null===r||!Object.prototype.hasOwnProperty.call(r,"playbackRate"));const o=Object.getOwnPropertyDescriptor(r,"playbackRate");return Object.defineProperty(r,"playbackRate",{set(e){o.set.call(this,e),n(e)}}),()=>{Object.defineProperty(r,"playbackRate",o)}})),i=r.pipe((e=>{let t,{subscribe:n,next:r}=e,o=!0;n((e=>{(o||t!==e)&&(o=!1,t=e,r(e))}))})),a=s.pipe((e=>{let t,{subscribe:n,next:r}=e,o=!0;n((e=>{(o||t!==e)&&(o=!1,t=e,r(e))}))})),l=d((e=>{let{next:t}=e;const n=m(i,a);return n.subscribe((e=>{let[n,r]=e;n===r&&t(r)})),()=>n.complete()})).pipe((e=>{let t,{subscribe:n,next:r}=e,o=!0;n((e=>{(o||t!==e)&&(o=!1,t=e,r(e))}))}));let c;a.pipe(f(200),v(void 0),(e=>{let{subscribe:t,next:n}=e;const r=[];return t((e=>{2===r.length&&r.shift(),r.push(e),2===r.length&&n(r.slice())})),()=>{r.length=0}})).subscribe((e=>{let[t]=e;c=t}));const u={menuListElementClickSpeed$:r,menuListElementClickSpeedChange$:i,playbackRate$:s,playbackRateChange$:a,videoSpeedChange$:l};return{...e,...u,dispose:()=>{lodash.values(u).forEach((e=>{e.complete()})),e.dispose()},getOldPlaybackRate:()=>c}},[$]=w("speed.NoSuchSpeedMenuItemElementError",(()=>class extends Error{constructor(e){const t=lodash.attempt((()=>S(e))),n=lodash.isError(t)?String(e):String(t);super(`There is no such speed menu item as ${n}`),this.speed=e,A(this,"formattedSpeed",void 0),this.formattedSpeed=n}})),T=e=>{const{query:t,videoElement:n,videoSpeedChange$:r,getOldActiveVideoSpeed:o,getAvailableSpeedValues:s,getActiveVideoSpeed:i}=e,a=async function(e){let o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:200;const s=t(e);if(null==s)throw new $(e);s.click();const i=t=>{if((t??n.playbackRate)!==e)throw new Error(`failed to set ${S(e)} video speed.`)},a=[h(r.pipe(f(Math.max(0,o||0))))];o>0&&a.push(new Promise(((e,t)=>setTimeout((()=>setTimeout(t,o)))))),await Promise.all(a).then(i).catch(i)},l=async()=>{await a(1)},c=async(e,t)=>{if(lodash.isNil(e)&&(e=!1),"boolean"==typeof e)e||1===n.playbackRate?await a(o()):await l();else{const n=s();switch(t){case V.MIN:await a(n[e]);break;case V.MAX:await a(n[n.length-1+e]);break;case V.CURRENT:default:{const t=n.indexOf(i());if(-1===t)throw new Error("Unexpected Error: The available speed values do not include the active speed value, this should be a bug, please report the issue on github!");await a(n[t+e])}}}},d=async e=>{try{await c(e,V.CURRENT)}catch(e){if(console.warn(e),!(e instanceof $))throw e}};return Object.assign(e,{set:a,force:async e=>{n.playbackRate=e},reset:l,toggle:c,step:d,increase:async()=>{await d(1)},decrease:async()=>{await d(-1)}})},j=()=>w("speed.speedContext"),M=()=>w("speed.buildArguments$",(()=>{return d().pipe((e=e=>e.settings.enabled,t=>{let{subscribe:n,next:r}=t;const o=new Set;return n((t=>{const n=o.size;e(t)?o.add(t):o.delete(t),o.size!==n&&r([...o])})),()=>{o.clear()}}));var e})),L=async function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:lodash.identity;const[t,n]=j();if(t)return t;let r,i;const[a]=w("lifeCycleComponentLoaded$",(()=>p(unsafeWindow,o.LifeCycleEventTypes.ComponentsLoaded))),[l]=M(),[c]=w("speed.videoChange$",(()=>u(s.videoChange).pipe(g((e=>{let{aid:t,cid:n}=e;return t||n}))))),[b]=w("speed.speedContext$",(()=>d((t=>{let{next:n}=t;return m(c,function(){for(var e=arguments.length,t=new Array(e),n=0;n{let{next:n,complete:r}=e;const o=[...t],s=()=>{const e=o.shift();e||r(),e.subscribe({next:n,complete:()=>{s()}})};s()}))}(function(){for(var e=arguments.length,t=new Array(e),n=0;n{let{next:n,complete:r}=e;t.forEach((e=>{n(e)})),r()}))}([]),l),a).subscribe((t=>{let[o,s]=t;const[a]=j();a?.dispose(),i?.("context update");const l=new Promise(((e,t)=>{r=e,i=t}));Promise.all([Promise.all([k.custom.speedContainer(),k.query.video.element()]).then(r),l]).then((e=>{let[,t]=e;return t})).then(O).then(N).then(T).then((e=>Object.assign(e,{videoIdObject:o,speedContext$:b,videoChange$:c}))).then(e(s)).then(n).catch((e=>console.error(e)))}))}))));return b.subscribe(n),h(b)},R=coreApis.utils.log,P=coreApis.pluginApis.hook;function I(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}class D{constructor(e,t){this.entryContext=e,this.enabled$=t,I(this,"speedContext",void 0),I(this,"settings",void 0),I(this,"coreApis",void 0),I(this,"metadata",void 0),I(this,"options",void 0),I(this,"getVideoIdObject",void 0),I(this,"getAvailableSpeedValues",void 0),I(this,"getOldActiveVideoSpeed",void 0),I(this,"forceVideoSpeed",void 0),I(this,"getVideoSpeed",void 0),I(this,"setVideoSpeed",void 0),I(this,"resetVideoSpeed",void 0),I(this,"toggleVideoSpeed",void 0),I(this,"increaseVideoSpeed",void 0),I(this,"decreaseVideoSpeed",void 0),lodash.assign(this,e,{options:e.settings.options}),this.migrate?.(),lodash.assign(this,lodash.mapValues(D.contextMap,(e=>async function(){const t=await L(),n=lodash.get(t,e);return lodash.isFunction(n)?await n(...arguments):n})))}}I(D,"create",void 0),I(D,"contextMap",{getVideoIdObject:"videoIdObject",getAvailableSpeedValues:"getAvailableSpeedValues",getOldActiveVideoSpeed:"getOldActiveVideoSpeed",getVideoSpeed:"videoElement.playbackRate",setVideoSpeed:"set",forceVideoSpeed:"force",resetVideoSpeed:"reset",toggleVideoSpeed:"toggle",increaseVideoSpeed:"increase",decreaseVideoSpeed:"decrease"}),L((e=>t=>{const n=lodash.omit(t,"dispose"),r=e.map((e=>e.getSpeedContextMixin(n)));if(r.length>1){const e=lodash.intersection(...r.map(Object.keys));if(e.length)throw new Error(`In the registered speed component, there is an implementation of getSpeedContextMixin that causes the speed context to be mixed in ambiguous.\nThe repeated key names are ${e.join(", ")}`)}lodash.assign(n,...r);const o=[];return e.forEach((e=>{const t=lodash(e.settings.options).mapValues(((t,n)=>u(l.addComponentListener,`${e.metadata.name}.${n}`).pipe((e=>{let t,{subscribe:n,next:r}=e,o=!0;n((e=>{(o||t!==e)&&(o=!1,t=e,r(e))}))})))).mapKeys(((e,t)=>`${t}$`)).value();o.push(...lodash.values(t)),e.options=new Proxy(e.settings.options,{get:(e,n,r)=>lodash.isSymbol(n)?Reflect.get(e,n,r):!Reflect.has(e,n)&&n.endsWith("$")?t[n]:Reflect.get(e,n,r)}),e.speedContext=n,e.onSpeedContext(n),e.settings.enabled&&lodash(t).entries().forEach((t=>{let[n,r]=t;r.next(e.settings.options[n.slice(0,-1)])}))})),{...n,dispose:()=>{o.forEach((e=>e.complete())),t.dispose()}}})),D.create=function(e){const t=d().pipe((e=>{let t,{subscribe:n,next:r}=e,o=!0;n((e=>{(o||t!==e)&&(o=!1,t=e,r(e))}))}));return{...e,entry:n=>{const r=lodash.attempt((()=>new this(n,t)));if(r instanceof Error)return(0,R.logError)(r),null;const[o]=M();return t.subscribe((()=>{o.next(r)})),t.next(!0),(0,P.getHook)(`speed.component.${e.name}`).after(r),r},reload:()=>t.next(!0),unload:()=>t.next(!1)}};const q={name:"speed.keymap",displayName:"快捷键扩展 - 视频倍速",author:{name:"JLoeve",link:"https://github.com/LonelySteve"},description:"\n\n为操作视频倍速提供快捷键支持:\n\n- 提高倍速\n- 降低倍速\n- 切换倍速\n\n若添加并启用了记忆倍速组件,则还会增加一个快捷键:\n\n- 清除倍速记忆\n ",setup:e=>{let{addData:t,addHook:r}=e;const o=e=>async t=>{const n=await L();return await e(n),t.showTip(S(n.videoElement.playbackRate),"mdi-fast-forward"),!0};t("keymap.actions",(e=>{Object.assign(e,{videoSpeedIncrease:{displayName:"提高倍速",run:o((e=>{let{increase:t}=e;return t()}))},videoSpeedDecrease:{displayName:"降低倍速",run:o((e=>{let{decrease:t}=e;return t()}))},videoSpeedToggle:{displayName:"切换倍速",run:o((e=>{let{toggle:t}=e;t()}))}})})),t("keymap.presets",(e=>{e.videoSpeedIncrease="shift > 》 arrowUp",e.videoSpeedDecrease="shift < 《 arrowDown",e.videoSpeedToggle="shift ? ?"})),r("speed.component.rememberVideoSpeed",{after:e=>{t("keymap.actions",(t=>{t.videoSpeedForget={displayName:"清除倍速记忆",run:lodash.debounce(o((async()=>{e.settings.enabled?e.options.individualRemember?(e.forgetSpeed(),await e.resetVideoSpeed(),n.Toast.success("已清除当前视频倍速记忆值",e.metadata.displayName,3e3)):n.Toast.error("选项「各视频分别记忆」已禁用,不能清除当前视频倍速记忆值",e.metadata.displayName,5e3):n.Toast.error("组件已禁用,不能清除当前视频倍速记忆值",e.metadata.displayName,5e3)})),200)}})),t("keymap.presets",(e=>{e.videoSpeedForget="shift : :"}))}})},commitHash:"d87d69cfb9d7e0124bd90a06fec4569bd61e02c5",coreVersion:"2.10.7"};return t=t.plugin})())); //# sourceMappingURL=https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/registry/dist/plugins/video/player/speed.js.map \ No newline at end of file diff --git a/bb-evolved/registry/lib/components/feeds/extend-live/LiveList.vue b/bb-evolved/registry/lib/components/feeds/extend-live/LiveList.vue index dd7a01698f..5ea839d5eb 100644 --- a/bb-evolved/registry/lib/components/feeds/extend-live/LiveList.vue +++ b/bb-evolved/registry/lib/components/feeds/extend-live/LiveList.vue @@ -193,7 +193,7 @@ const fetchLiveList = async () => { face, uname, title, - roomid: room_id, + roomid: room_id.toString(), pic: cover_from_user, online, uid, diff --git a/bb-evolved/registry/lib/components/feeds/extend-live/types.ts b/bb-evolved/registry/lib/components/feeds/extend-live/types.ts index c102707c3d..3780686932 100644 --- a/bb-evolved/registry/lib/components/feeds/extend-live/types.ts +++ b/bb-evolved/registry/lib/components/feeds/extend-live/types.ts @@ -5,7 +5,7 @@ export interface LiveInfo { face: string uname: string title: string - roomid: number + roomid: string pic: string online: number uid: number diff --git a/bb-evolved/registry/lib/components/live/remove-watermark/index.ts b/bb-evolved/registry/lib/components/live/remove-watermark/index.ts index 15b972e1b2..bfb2806f73 100644 --- a/bb-evolved/registry/lib/components/live/remove-watermark/index.ts +++ b/bb-evolved/registry/lib/components/live/remove-watermark/index.ts @@ -2,6 +2,8 @@ import { defineComponentMetadata } from '@/components/define' import { toggleStyle } from '@/components/styled-component' import { liveUrls } from '@/core/utils/urls' +const liveUrlsWithHome = [...liveUrls, /^https:\/\/live\.bilibili\.com\/(index\.html)?$/] + export const component = defineComponentMetadata({ ...toggleStyle('removeLiveWatermark', () => import('./remove-watermark.scss')), displayName: '删除直播水印', @@ -9,5 +11,5 @@ export const component = defineComponentMetadata({ description: { 'zh-CN': '删除观看直播时角落的水印.', }, - urlInclude: liveUrls, + urlInclude: liveUrlsWithHome, }) diff --git a/bb-evolved/registry/lib/components/live/remove-watermark/remove-watermark.scss b/bb-evolved/registry/lib/components/live/remove-watermark/remove-watermark.scss index 57d2e83f7d..a608ec388a 100644 --- a/bb-evolved/registry/lib/components/live/remove-watermark/remove-watermark.scss +++ b/bb-evolved/registry/lib/components/live/remove-watermark/remove-watermark.scss @@ -1,5 +1,5 @@ +.player-ctnr .web-player-icon-roomStatus, .live-player-ctnr .web-player-icon-roomStatus, -.bilibili-live-player-video-logo -{ +.bilibili-live-player-video-logo { display: none !important; } diff --git a/clash-nyanpasu/backend/Cargo.lock b/clash-nyanpasu/backend/Cargo.lock index 98a12c6727..442be42d6a 100644 --- a/clash-nyanpasu/backend/Cargo.lock +++ b/clash-nyanpasu/backend/Cargo.lock @@ -1028,7 +1028,7 @@ dependencies = [ "boa_string", "indexmap 2.13.0", "num-bigint", - "rustc-hash 2.1.1", + "rustc-hash 2.1.2", ] [[package]] @@ -1069,7 +1069,7 @@ dependencies = [ "portable-atomic", "rand 0.9.2", "regress", - "rustc-hash 2.1.1", + "rustc-hash 2.1.2", "ryu-js", "serde", "serde_json", @@ -1107,7 +1107,7 @@ dependencies = [ "indexmap 2.13.0", "once_cell", "phf 0.13.1", - "rustc-hash 2.1.1", + "rustc-hash 2.1.2", "static_assertions", ] @@ -1140,7 +1140,7 @@ dependencies = [ "num-bigint", "num-traits", "regress", - "rustc-hash 2.1.1", + "rustc-hash 2.1.2", ] [[package]] @@ -1152,7 +1152,7 @@ dependencies = [ "fast-float2", "itoa", "paste", - "rustc-hash 2.1.1", + "rustc-hash 2.1.2", "ryu-js", "static_assertions", ] @@ -1178,7 +1178,7 @@ dependencies = [ "phf 0.13.1", "postcard", "reqwest 0.12.28", - "rustc-hash 2.1.1", + "rustc-hash 2.1.2", "serde", "serde_json", "smol", @@ -1637,7 +1637,7 @@ dependencies = [ "rs-snowflake", "runas", "rust-i18n", - "rustc-hash 2.1.1", + "rustc-hash 2.1.2", "rustc_version 0.4.1", "seahash", "semver 1.0.27", @@ -5241,7 +5241,7 @@ dependencies = [ "mlua-sys", "num-traits", "parking_lot", - "rustc-hash 2.1.1", + "rustc-hash 2.1.2", "rustversion", "serde", "serde-value", @@ -6374,7 +6374,7 @@ dependencies = [ "allocator-api2", "hashbrown 0.16.1", "oxc_data_structures", - "rustc-hash 2.1.1", + "rustc-hash 2.1.2", ] [[package]] @@ -6486,7 +6486,7 @@ dependencies = [ "oxc_regular_expression", "oxc_span", "oxc_syntax", - "rustc-hash 2.1.1", + "rustc-hash 2.1.2", "seq-macro", ] @@ -6502,7 +6502,7 @@ dependencies = [ "oxc_diagnostics", "oxc_span", "phf 0.13.1", - "rustc-hash 2.1.1", + "rustc-hash 2.1.2", "unicode-id-start", ] @@ -7248,7 +7248,7 @@ dependencies = [ "pin-project-lite", "quinn-proto", "quinn-udp", - "rustc-hash 2.1.1", + "rustc-hash 2.1.2", "rustls", "socket2", "thiserror 2.0.18", @@ -7268,7 +7268,7 @@ dependencies = [ "lru-slab", "rand 0.9.2", "ring", - "rustc-hash 2.1.1", + "rustc-hash 2.1.2", "rustls", "rustls-pki-types", "slab", @@ -7900,9 +7900,9 @@ checksum = "08d43f7aa6b08d49f382cde6a7982047c3426db949b1424bc4b7ec9ae12c6ce2" [[package]] name = "rustc-hash" -version = "2.1.1" +version = "2.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "357703d41365b4b27c590e3ed91eabb1b663f07c4c084095e60cbed4362dff0d" +checksum = "94300abf3f1ae2e2b8ffb7b58043de3d399c73fa6f4b73826402a5c457614dbe" [[package]] name = "rustc_version" @@ -10421,7 +10421,7 @@ version = "0.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "cb30dbbd9036155e74adad6812e9898d03ec374946234fbcebd5dfc7b9187b90" dependencies = [ - "rustc-hash 2.1.1", + "rustc-hash 2.1.2", ] [[package]] diff --git a/clash-nyanpasu/frontend/nyanpasu/package.json b/clash-nyanpasu/frontend/nyanpasu/package.json index 73e659f5c9..734cbf5e44 100644 --- a/clash-nyanpasu/frontend/nyanpasu/package.json +++ b/clash-nyanpasu/frontend/nyanpasu/package.json @@ -70,7 +70,7 @@ "@csstools/normalize.css": "12.1.1", "@emotion/babel-plugin": "11.13.5", "@emotion/react": "11.14.0", - "@iconify/json": "2.2.455", + "@iconify/json": "2.2.456", "@monaco-editor/react": "4.7.0", "@tanstack/react-query": "5.95.2", "@tanstack/react-router": "1.167.5", diff --git a/clash-nyanpasu/manifest/version.json b/clash-nyanpasu/manifest/version.json index 97d545912a..828d521a76 100644 --- a/clash-nyanpasu/manifest/version.json +++ b/clash-nyanpasu/manifest/version.json @@ -2,10 +2,10 @@ "manifest_version": 1, "latest": { "mihomo": "v1.19.21", - "mihomo_alpha": "alpha-809aee8", + "mihomo_alpha": "alpha-7fdc122", "clash_rs": "v0.9.6", "clash_premium": "2023-09-05-gdcc8d87", - "clash_rs_alpha": "0.9.6-alpha+sha.8a5452f" + "clash_rs_alpha": "0.9.6-alpha+sha.7efd00d" }, "arch_template": { "mihomo": { @@ -69,5 +69,5 @@ "linux-armv7hf": "clash-rs-armv7-unknown-linux-gnueabihf" } }, - "updated_at": "2026-03-26T22:23:05.609Z" + "updated_at": "2026-03-27T22:23:22.253Z" } diff --git a/clash-nyanpasu/package.json b/clash-nyanpasu/package.json index 6dd7f369c1..e1ed6f766d 100644 --- a/clash-nyanpasu/package.json +++ b/clash-nyanpasu/package.json @@ -68,7 +68,7 @@ "cross-env": "10.1.0", "dedent": "1.7.2", "globals": "17.4.0", - "knip": "6.0.6", + "knip": "6.1.0", "lint-staged": "16.4.0", "npm-run-all2": "8.0.4", "oxlint": "1.57.0", diff --git a/clash-nyanpasu/pnpm-lock.yaml b/clash-nyanpasu/pnpm-lock.yaml index fcd6152570..5fab9b73ff 100644 --- a/clash-nyanpasu/pnpm-lock.yaml +++ b/clash-nyanpasu/pnpm-lock.yaml @@ -59,8 +59,8 @@ importers: specifier: 17.4.0 version: 17.4.0 knip: - specifier: 6.0.6 - version: 6.0.6 + specifier: 6.1.0 + version: 6.1.0 lint-staged: specifier: 16.4.0 version: 16.4.0 @@ -337,8 +337,8 @@ importers: specifier: 11.14.0 version: 11.14.0(@types/react@19.2.14)(react@19.2.4) '@iconify/json': - specifier: 2.2.455 - version: 2.2.455 + specifier: 2.2.456 + version: 2.2.456 '@monaco-editor/react': specifier: 4.7.0 version: 4.7.0(monaco-editor@0.55.1)(react-dom@19.2.4(react@19.2.4))(react@19.2.4) @@ -1721,8 +1721,8 @@ packages: prettier-plugin-ember-template-tag: optional: true - '@iconify/json@2.2.455': - resolution: {integrity: sha512-ruOl4ZTLW/qNDjuEE8Zb+LQPbRiLdRu4JEnewX8OhWDevAjrTY6UyqJdW0o2umOqcg8WmKJBihVI7YwBUCH7/Q==} + '@iconify/json@2.2.456': + resolution: {integrity: sha512-u2215knwHqSTgvRwkwziitJr5Js25KukLhW8C58fUGyNsD6P5EWoOb5nA0o8K8tzqUBi/622XTdf7wN2hmK+NA==} '@iconify/types@2.0.0': resolution: {integrity: sha512-+wluvCrRhXrhyOmRDJ3q8mux9JkKy5SJ/v8ol2tu4FVjyYvtEzkc/3pK15ET6RKg4b4w4BmTk1+gsCUhf21Ykg==} @@ -2249,14 +2249,14 @@ packages: resolution: {integrity: sha512-16TtZXNOfH8RaRsV+iag5dTYeJvdOdZDBcpEPCULdKS3eTRJqAYxBNZPFaDJ3cx3WNyvbaQ0IxsPpnaR/tgGFA==} engines: {node: '>= 20'} - '@oxc-parser/binding-android-arm-eabi@0.120.0': - resolution: {integrity: sha512-WU3qtINx802wOl8RxAF1v0VvmC2O4D9M8Sv486nLeQ7iPHVmncYZrtBhB4SYyX+XZxj2PNnCcN+PW21jHgiOxg==} + '@oxc-parser/binding-android-arm-eabi@0.121.0': + resolution: {integrity: sha512-n07FQcySwOlzap424/PLMtOkbS7xOu8nsJduKL8P3COGHKgKoDYXwoAHCbChfgFpHnviehrLWIPX0lKGtbEk/A==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [arm] os: [android] - '@oxc-parser/binding-android-arm64@0.120.0': - resolution: {integrity: sha512-SEf80EHdhlbjZEgzeWm0ZA/br4GKMenDW3QB/gtyeTV1gStvvZeFi40ioHDZvds2m4Z9J1bUAUL8yn1/+A6iGg==} + '@oxc-parser/binding-android-arm64@0.121.0': + resolution: {integrity: sha512-/Dd1xIXboYAicw+twT2utxPD7bL8qh7d3ej0qvaYIMj3/EgIrGR+tSnjCUkiCT6g6uTC0neSS4JY8LxhdSU/sA==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [arm64] os: [android] @@ -2267,8 +2267,8 @@ packages: cpu: [arm64] os: [android] - '@oxc-parser/binding-darwin-arm64@0.120.0': - resolution: {integrity: sha512-xVrrbCai8R8CUIBu3CjryutQnEYhZqs1maIqDvtUCFZb8vY33H7uh9mHpL3a0JBIKoBUKjPH8+rzyAeXnS2d6A==} + '@oxc-parser/binding-darwin-arm64@0.121.0': + resolution: {integrity: sha512-A0jNEvv7QMtCO1yk205t3DWU9sWUjQ2KNF0hSVO5W9R9r/R1BIvzG01UQAfmtC0dQm7sCrs5puixurKSfr2bRQ==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [arm64] os: [darwin] @@ -2279,8 +2279,8 @@ packages: cpu: [arm64] os: [darwin] - '@oxc-parser/binding-darwin-x64@0.120.0': - resolution: {integrity: sha512-xyHBbnJ6mydnQUH7MAcafOkkrNzQC6T+LXgDH/3InEq2BWl/g424IMRiJVSpVqGjB+p2bd0h0WRR8iIwzjU7rw==} + '@oxc-parser/binding-darwin-x64@0.121.0': + resolution: {integrity: sha512-SsHzipdxTKUs3I9EOAPmnIimEeJOemqRlRDOp9LIj+96wtxZejF51gNibmoGq8KoqbT1ssAI5po/E3J+vEtXGA==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [x64] os: [darwin] @@ -2291,8 +2291,8 @@ packages: cpu: [x64] os: [darwin] - '@oxc-parser/binding-freebsd-x64@0.120.0': - resolution: {integrity: sha512-UMnVRllquXUYTeNfFKmxTTEdZ/ix1nLl0ducDzMSREoWYGVIHnOOxoKMWlCOvRr9Wk/HZqo2rh1jeumbPGPV9A==} + '@oxc-parser/binding-freebsd-x64@0.121.0': + resolution: {integrity: sha512-v1APOTkCp+RWOIDAHRoaeW/UoaHF15a60E8eUL6kUQXh+i4K7PBwq2Wi7jm8p0ymID5/m/oC1w3W31Z/+r7HQw==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [x64] os: [freebsd] @@ -2303,8 +2303,8 @@ packages: cpu: [x64] os: [freebsd] - '@oxc-parser/binding-linux-arm-gnueabihf@0.120.0': - resolution: {integrity: sha512-tkvn2CQ7QdcsMnpfiX3fd3wA3EFsWKYlcQzq9cFw/xc89Al7W6Y4O0FgLVkVQpo0Tnq/qtE1XfkJOnRRA9S/NA==} + '@oxc-parser/binding-linux-arm-gnueabihf@0.121.0': + resolution: {integrity: sha512-PmqPQuqHZyFVWA4ycr0eu4VnTMmq9laOHZd+8R359w6kzuNZPvmmunmNJ8ybkm769A0nCoVp3TJ6dUz7B3FYIQ==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [arm] os: [linux] @@ -2315,8 +2315,8 @@ packages: cpu: [arm] os: [linux] - '@oxc-parser/binding-linux-arm-musleabihf@0.120.0': - resolution: {integrity: sha512-WN5y135Ic42gQDk9grbwY9++fDhqf8knN6fnP+0WALlAUh4odY/BDK1nfTJRSfpJD9P3r1BwU0m3pW2DU89whQ==} + '@oxc-parser/binding-linux-arm-musleabihf@0.121.0': + resolution: {integrity: sha512-vF24htj+MOH+Q7y9A8NuC6pUZu8t/C2Fr/kDOi2OcNf28oogr2xadBPXAbml802E8wRAVfbta6YLDQTearz+jw==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [arm] os: [linux] @@ -2327,8 +2327,8 @@ packages: cpu: [arm] os: [linux] - '@oxc-parser/binding-linux-arm64-gnu@0.120.0': - resolution: {integrity: sha512-1GgQBCcXvFMw99EPdMy+4NZ3aYyXsxjf9kbUUg8HuAy3ZBXzOry5KfFEzT9nqmgZI1cuetvApkiJBZLAPo8uaw==} + '@oxc-parser/binding-linux-arm64-gnu@0.121.0': + resolution: {integrity: sha512-wjH8cIG2Lu/3d64iZpbYr73hREMgKAfu7fqpXjgM2S16y2zhTfDIp8EQjxO8vlDtKP5Rc7waZW72lh8nZtWrpA==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [arm64] os: [linux] @@ -2341,8 +2341,8 @@ packages: os: [linux] libc: [glibc] - '@oxc-parser/binding-linux-arm64-musl@0.120.0': - resolution: {integrity: sha512-gmMQ70gsPdDBgpcErvJEoWNBr7bJooSLlvOBVBSGfOzlP5NvJ3bFvnUeZZ9d+dPrqSngtonf7nyzWUTUj/U+lw==} + '@oxc-parser/binding-linux-arm64-musl@0.121.0': + resolution: {integrity: sha512-qT663J/W8yQFw3dtscbEi9LKJevr20V7uWs2MPGTnvNZ3rm8anhhE16gXGpxDOHeg9raySaSHKhd4IGa3YZvuw==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [arm64] os: [linux] @@ -2355,15 +2355,15 @@ packages: os: [linux] libc: [musl] - '@oxc-parser/binding-linux-ppc64-gnu@0.120.0': - resolution: {integrity: sha512-T/kZuU0ajop0xhzVMwH5r3srC9Nqup5HaIo+3uFjIN5uPxa0LvSxC1ZqP4aQGJVW5G0z8/nCkjIfSMS91P/wzw==} + '@oxc-parser/binding-linux-ppc64-gnu@0.121.0': + resolution: {integrity: sha512-mYNe4NhVvDBbPkAP8JaVS8lC1dsoJZWH5WCjpw5E+sjhk1R08wt3NnXYUzum7tIiWPfgQxbCMcoxgeemFASbRw==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [ppc64] os: [linux] libc: [glibc] - '@oxc-parser/binding-linux-riscv64-gnu@0.120.0': - resolution: {integrity: sha512-vn21KXLAXzaI3N5CZWlBr1iWeXLl9QFIMor7S1hUjUGTeUuWCoE6JZB040/ZNDwf+JXPX8Ao9KbmJq9FMC2iGw==} + '@oxc-parser/binding-linux-riscv64-gnu@0.121.0': + resolution: {integrity: sha512-+QiFoGxhAbaI/amqX567784cDyyuZIpinBrJNxUzb+/L2aBRX67mN6Jv40pqduHf15yYByI+K5gUEygCuv0z9w==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [riscv64] os: [linux] @@ -2376,15 +2376,15 @@ packages: os: [linux] libc: [glibc] - '@oxc-parser/binding-linux-riscv64-musl@0.120.0': - resolution: {integrity: sha512-SUbUxlar007LTGmSLGIC5x/WJvwhdX+PwNzFJ9f/nOzZOrCFbOT4ikt7pJIRg1tXVsEfzk5mWpGO1NFiSs4PIw==} + '@oxc-parser/binding-linux-riscv64-musl@0.121.0': + resolution: {integrity: sha512-9ykEgyTa5JD/Uhv2sttbKnCfl2PieUfOjyxJC/oDL2UO0qtXOtjPLl7H8Kaj5G7p3hIvFgu3YWvAxvE0sqY+hQ==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [riscv64] os: [linux] libc: [musl] - '@oxc-parser/binding-linux-s390x-gnu@0.120.0': - resolution: {integrity: sha512-hYiPJTxyfJY2+lMBFk3p2bo0R9GN+TtpPFlRqVchL1qvLG+pznstramHNvJlw9AjaoRUHwp9IKR7UZQnRPGjgQ==} + '@oxc-parser/binding-linux-s390x-gnu@0.121.0': + resolution: {integrity: sha512-DB1EW5VHZdc1lIRjOI3bW/wV6R6y0xlfvdVrqj6kKi7Ayu2U3UqUBdq9KviVkcUGd5Oq+dROqvUEEFRXGAM7EQ==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [s390x] os: [linux] @@ -2397,8 +2397,8 @@ packages: os: [linux] libc: [glibc] - '@oxc-parser/binding-linux-x64-gnu@0.120.0': - resolution: {integrity: sha512-q+5jSVZkprJCIy3dzJpApat0InJaoxQLsJuD6DkX8hrUS61z2lHQ1Fe9L2+TYbKHXCLWbL0zXe7ovkIdopBGMQ==} + '@oxc-parser/binding-linux-x64-gnu@0.121.0': + resolution: {integrity: sha512-s4lfobX9p4kPTclvMiH3gcQUd88VlnkMTF6n2MTMDAyX5FPNRhhRSFZK05Ykhf8Zy5NibV4PbGR6DnK7FGNN6A==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [x64] os: [linux] @@ -2411,8 +2411,8 @@ packages: os: [linux] libc: [glibc] - '@oxc-parser/binding-linux-x64-musl@0.120.0': - resolution: {integrity: sha512-D9QDDZNnH24e7X4ftSa6ar/2hCavETfW3uk0zgcMIrZNy459O5deTbWrjGzZiVrSWigGtlQwzs2McBP0QsfV1w==} + '@oxc-parser/binding-linux-x64-musl@0.121.0': + resolution: {integrity: sha512-P9KlyTpuBuMi3NRGpJO8MicuGZfOoqZVRP1WjOecwx8yk4L/+mrCRNc5egSi0byhuReblBF2oVoDSMgV9Bj4Hw==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [x64] os: [linux] @@ -2425,14 +2425,14 @@ packages: os: [linux] libc: [musl] - '@oxc-parser/binding-openharmony-arm64@0.120.0': - resolution: {integrity: sha512-TBU8ZwOUWAOUWVfmI16CYWbvh4uQb9zHnGBHsw5Cp2JUVG044OIY1CSHODLifqzQIMTXvDvLzcL89GGdUIqNrA==} + '@oxc-parser/binding-openharmony-arm64@0.121.0': + resolution: {integrity: sha512-R+4jrWOfF2OAPPhj3Eb3U5CaKNAH9/btMveMULIrcNW/hjfysFQlF8wE0GaVBr81dWz8JLgQlsxwctoL78JwXw==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [arm64] os: [openharmony] - '@oxc-parser/binding-wasm32-wasi@0.120.0': - resolution: {integrity: sha512-WG/FOZgDJCpJnuF3ToG/K28rcOmSY7FmFmfBKYb2fmLyhDzPpUldFGV7/Fz4ru0Iz/v4KPmf8xVgO8N3lO4KHA==} + '@oxc-parser/binding-wasm32-wasi@0.121.0': + resolution: {integrity: sha512-5TFISkPTymKvsmIlKasPVTPuWxzCcrT8pM+p77+mtQbIZDd1UC8zww4CJcRI46kolmgrEX6QpKO8AvWMVZ+ifw==} engines: {node: '>=14.0.0'} cpu: [wasm32] @@ -2441,8 +2441,8 @@ packages: engines: {node: '>=14.0.0'} cpu: [wasm32] - '@oxc-parser/binding-win32-arm64-msvc@0.120.0': - resolution: {integrity: sha512-1T0HKGcsz/BKo77t7+89L8Qvu4f9DoleKWHp3C5sJEcbCjDOLx3m9m722bWZTY+hANlUEs+yjlK+lBFsA+vrVQ==} + '@oxc-parser/binding-win32-arm64-msvc@0.121.0': + resolution: {integrity: sha512-V0pxh4mql4XTt3aiEtRNUeBAUFOw5jzZNxPABLaOKAWrVzSr9+XUaB095lY7jqMf5t8vkfh8NManGB28zanYKw==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [arm64] os: [win32] @@ -2453,14 +2453,14 @@ packages: cpu: [arm64] os: [win32] - '@oxc-parser/binding-win32-ia32-msvc@0.120.0': - resolution: {integrity: sha512-L7vfLzbOXsjBXV0rv/6Y3Jd9BRjPeCivINZAqrSyAOZN3moCopDN+Psq9ZrGNZtJzP8946MtlRFZ0Als0wBCOw==} + '@oxc-parser/binding-win32-ia32-msvc@0.121.0': + resolution: {integrity: sha512-4Ob1qvYMPnlF2N9rdmKdkQFdrq16QVcQwBsO8yiPZXof0fHKFF+LmQV501XFbi7lHyrKm8rlJRfQ/M8bZZPVLw==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [ia32] os: [win32] - '@oxc-parser/binding-win32-x64-msvc@0.120.0': - resolution: {integrity: sha512-ys+upfqNtSu58huAhJMBKl3XCkGzyVFBlMlGPzHeFKgpFF/OdgNs1MMf8oaJIbgMH8ZxgGF7qfue39eJohmKIg==} + '@oxc-parser/binding-win32-x64-msvc@0.121.0': + resolution: {integrity: sha512-BOp1KCzdboB1tPqoCPXgntgFs0jjeSyOXHzgxVFR7B/qfr3F8r4YDacHkTOUNXtDgM8YwKnkf3rE5gwALYX7NA==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [x64] os: [win32] @@ -2471,8 +2471,8 @@ packages: cpu: [x64] os: [win32] - '@oxc-project/types@0.120.0': - resolution: {integrity: sha512-k1YNu55DuvAip/MGE1FTsIuU3FUCn6v/ujG9V7Nq5Df/kX2CWb13hhwD0lmJGMGqE+bE1MXvv9SZVnMzEXlWcg==} + '@oxc-project/types@0.121.0': + resolution: {integrity: sha512-CGtOARQb9tyv7ECgdAlFxi0Fv7lmzvmlm2rpD/RdijOO9rfk/JvB1CjT8EnoD+tjna/IYgKKw3IV7objRb+aYw==} '@oxc-project/types@0.99.0': resolution: {integrity: sha512-LLDEhXB7g1m5J+woRSgfKsFPS3LhR9xRhTeIoEBm5WrkwMxn6eZ0Ld0c0K5eHB57ChZX6I3uSmmLjZ8pcjlRcw==} @@ -6092,8 +6092,8 @@ packages: resolution: {integrity: sha512-dcS1ul+9tmeD95T+x28/ehLgd9mENa3LsvDTtzm3vyBEO7RPptvAD+t44WVXaUjTBRcrpFeFlC8WCruUR456hw==} engines: {node: '>=0.10.0'} - knip@6.0.6: - resolution: {integrity: sha512-PA+r1mTDLHH3eShlffn2ZDyH1hHvmgDj7JsTP3JKuhV/jZTyHbRkGcOd+uaSxfJZmcZyOE5zw3naP33WllTIlA==} + knip@6.1.0: + resolution: {integrity: sha512-n5eVbJP7HXmwTsiJcELWJe2O1ESxyCTNxJzRTIECDYDTM465qnqk7fL2dv6ae3NUFvFWorZvGlh9mcwxwJ5Xgw==} engines: {node: ^20.19.0 || >=22.12.0} hasBin: true @@ -6597,8 +6597,8 @@ packages: resolution: {integrity: sha512-7x81NCL719oNbsq/3mh+hVrAWmFuEYUqrq/Iw3kUzH8ReypT9QQ0BLoJS7/G9k6N81XjW4qHWtjWwe/9eLy1EQ==} engines: {node: '>=12'} - oxc-parser@0.120.0: - resolution: {integrity: sha512-WyPWZlcIm+Fkte63FGfgFB8mAAk33aH9h5N9lphXVOHSXEBFFsmYdOBedVKly363aWABjZdaj/m9lBfEY4wt+w==} + oxc-parser@0.121.0: + resolution: {integrity: sha512-ek9o58+SCv6AV7nchiAcUJy1DNE2CC5WRdBcO0mF+W4oRjNQfPO7b3pLjTHSFECpHkKGOZSQxx3hk8viIL5YCg==} engines: {node: ^20.19.0 || >=22.12.0} oxc-parser@0.99.0: @@ -7404,8 +7404,8 @@ packages: resolution: {integrity: sha512-94hK0Hh8rPqQl2xXc3HsaBoOXKV20MToPkcXvwbISWLEs+64sBq5kFgn2kJDHb1Pry9yrP0dxrCI9RRci7RXKg==} engines: {node: '>= 6.0.0', npm: '>= 3.0.0'} - smol-toml@1.6.0: - resolution: {integrity: sha512-4zemZi0HvTnYwLfrpk/CF9LOd9Lt87kAt50GnqhMpyF9U3poDAP2+iukq2bZsO/ufegbYehBkqINbsWxj4l4cw==} + smol-toml@1.6.1: + resolution: {integrity: sha512-dWUG8F5sIIARXih1DTaQAX4SsiTXhInKf1buxdY9DIg4ZYPZK5nGM1VRIYmEbDbsHt7USo99xSLFu5Q1IqTmsg==} engines: {node: '>= 18'} snake-case@3.0.4: @@ -9507,7 +9507,7 @@ snapshots: transitivePeerDependencies: - supports-color - '@iconify/json@2.2.455': + '@iconify/json@2.2.456': dependencies: '@iconify/types': 2.0.0 pathe: 2.0.3 @@ -10140,91 +10140,91 @@ snapshots: '@octokit/request-error': 7.0.2 '@octokit/webhooks-methods': 6.0.0 - '@oxc-parser/binding-android-arm-eabi@0.120.0': + '@oxc-parser/binding-android-arm-eabi@0.121.0': optional: true - '@oxc-parser/binding-android-arm64@0.120.0': + '@oxc-parser/binding-android-arm64@0.121.0': optional: true '@oxc-parser/binding-android-arm64@0.99.0': optional: true - '@oxc-parser/binding-darwin-arm64@0.120.0': + '@oxc-parser/binding-darwin-arm64@0.121.0': optional: true '@oxc-parser/binding-darwin-arm64@0.99.0': optional: true - '@oxc-parser/binding-darwin-x64@0.120.0': + '@oxc-parser/binding-darwin-x64@0.121.0': optional: true '@oxc-parser/binding-darwin-x64@0.99.0': optional: true - '@oxc-parser/binding-freebsd-x64@0.120.0': + '@oxc-parser/binding-freebsd-x64@0.121.0': optional: true '@oxc-parser/binding-freebsd-x64@0.99.0': optional: true - '@oxc-parser/binding-linux-arm-gnueabihf@0.120.0': + '@oxc-parser/binding-linux-arm-gnueabihf@0.121.0': optional: true '@oxc-parser/binding-linux-arm-gnueabihf@0.99.0': optional: true - '@oxc-parser/binding-linux-arm-musleabihf@0.120.0': + '@oxc-parser/binding-linux-arm-musleabihf@0.121.0': optional: true '@oxc-parser/binding-linux-arm-musleabihf@0.99.0': optional: true - '@oxc-parser/binding-linux-arm64-gnu@0.120.0': + '@oxc-parser/binding-linux-arm64-gnu@0.121.0': optional: true '@oxc-parser/binding-linux-arm64-gnu@0.99.0': optional: true - '@oxc-parser/binding-linux-arm64-musl@0.120.0': + '@oxc-parser/binding-linux-arm64-musl@0.121.0': optional: true '@oxc-parser/binding-linux-arm64-musl@0.99.0': optional: true - '@oxc-parser/binding-linux-ppc64-gnu@0.120.0': + '@oxc-parser/binding-linux-ppc64-gnu@0.121.0': optional: true - '@oxc-parser/binding-linux-riscv64-gnu@0.120.0': + '@oxc-parser/binding-linux-riscv64-gnu@0.121.0': optional: true '@oxc-parser/binding-linux-riscv64-gnu@0.99.0': optional: true - '@oxc-parser/binding-linux-riscv64-musl@0.120.0': + '@oxc-parser/binding-linux-riscv64-musl@0.121.0': optional: true - '@oxc-parser/binding-linux-s390x-gnu@0.120.0': + '@oxc-parser/binding-linux-s390x-gnu@0.121.0': optional: true '@oxc-parser/binding-linux-s390x-gnu@0.99.0': optional: true - '@oxc-parser/binding-linux-x64-gnu@0.120.0': + '@oxc-parser/binding-linux-x64-gnu@0.121.0': optional: true '@oxc-parser/binding-linux-x64-gnu@0.99.0': optional: true - '@oxc-parser/binding-linux-x64-musl@0.120.0': + '@oxc-parser/binding-linux-x64-musl@0.121.0': optional: true '@oxc-parser/binding-linux-x64-musl@0.99.0': optional: true - '@oxc-parser/binding-openharmony-arm64@0.120.0': + '@oxc-parser/binding-openharmony-arm64@0.121.0': optional: true - '@oxc-parser/binding-wasm32-wasi@0.120.0': + '@oxc-parser/binding-wasm32-wasi@0.121.0': dependencies: '@napi-rs/wasm-runtime': 1.1.1 optional: true @@ -10234,22 +10234,22 @@ snapshots: '@napi-rs/wasm-runtime': 1.0.7 optional: true - '@oxc-parser/binding-win32-arm64-msvc@0.120.0': + '@oxc-parser/binding-win32-arm64-msvc@0.121.0': optional: true '@oxc-parser/binding-win32-arm64-msvc@0.99.0': optional: true - '@oxc-parser/binding-win32-ia32-msvc@0.120.0': + '@oxc-parser/binding-win32-ia32-msvc@0.121.0': optional: true - '@oxc-parser/binding-win32-x64-msvc@0.120.0': + '@oxc-parser/binding-win32-x64-msvc@0.121.0': optional: true '@oxc-parser/binding-win32-x64-msvc@0.99.0': optional: true - '@oxc-project/types@0.120.0': {} + '@oxc-project/types@0.121.0': {} '@oxc-project/types@0.99.0': {} @@ -13736,7 +13736,7 @@ snapshots: kind-of@6.0.3: {} - knip@6.0.6: + knip@6.1.0: dependencies: '@nodelib/fs.walk': 1.2.8 fast-glob: 3.3.3 @@ -13744,11 +13744,11 @@ snapshots: get-tsconfig: 4.13.7 jiti: 2.6.1 minimist: 1.2.8 - oxc-parser: 0.120.0 + oxc-parser: 0.121.0 oxc-resolver: 11.19.1 picocolors: 1.1.1 picomatch: 4.0.3 - smol-toml: 1.6.0 + smol-toml: 1.6.1 strip-json-comments: 5.0.3 unbash: 2.2.0 yaml: 2.8.2 @@ -14387,30 +14387,30 @@ snapshots: is-docker: 2.2.1 is-wsl: 2.2.0 - oxc-parser@0.120.0: + oxc-parser@0.121.0: dependencies: - '@oxc-project/types': 0.120.0 + '@oxc-project/types': 0.121.0 optionalDependencies: - '@oxc-parser/binding-android-arm-eabi': 0.120.0 - '@oxc-parser/binding-android-arm64': 0.120.0 - '@oxc-parser/binding-darwin-arm64': 0.120.0 - '@oxc-parser/binding-darwin-x64': 0.120.0 - '@oxc-parser/binding-freebsd-x64': 0.120.0 - '@oxc-parser/binding-linux-arm-gnueabihf': 0.120.0 - '@oxc-parser/binding-linux-arm-musleabihf': 0.120.0 - '@oxc-parser/binding-linux-arm64-gnu': 0.120.0 - '@oxc-parser/binding-linux-arm64-musl': 0.120.0 - '@oxc-parser/binding-linux-ppc64-gnu': 0.120.0 - '@oxc-parser/binding-linux-riscv64-gnu': 0.120.0 - '@oxc-parser/binding-linux-riscv64-musl': 0.120.0 - '@oxc-parser/binding-linux-s390x-gnu': 0.120.0 - '@oxc-parser/binding-linux-x64-gnu': 0.120.0 - '@oxc-parser/binding-linux-x64-musl': 0.120.0 - '@oxc-parser/binding-openharmony-arm64': 0.120.0 - '@oxc-parser/binding-wasm32-wasi': 0.120.0 - '@oxc-parser/binding-win32-arm64-msvc': 0.120.0 - '@oxc-parser/binding-win32-ia32-msvc': 0.120.0 - '@oxc-parser/binding-win32-x64-msvc': 0.120.0 + '@oxc-parser/binding-android-arm-eabi': 0.121.0 + '@oxc-parser/binding-android-arm64': 0.121.0 + '@oxc-parser/binding-darwin-arm64': 0.121.0 + '@oxc-parser/binding-darwin-x64': 0.121.0 + '@oxc-parser/binding-freebsd-x64': 0.121.0 + '@oxc-parser/binding-linux-arm-gnueabihf': 0.121.0 + '@oxc-parser/binding-linux-arm-musleabihf': 0.121.0 + '@oxc-parser/binding-linux-arm64-gnu': 0.121.0 + '@oxc-parser/binding-linux-arm64-musl': 0.121.0 + '@oxc-parser/binding-linux-ppc64-gnu': 0.121.0 + '@oxc-parser/binding-linux-riscv64-gnu': 0.121.0 + '@oxc-parser/binding-linux-riscv64-musl': 0.121.0 + '@oxc-parser/binding-linux-s390x-gnu': 0.121.0 + '@oxc-parser/binding-linux-x64-gnu': 0.121.0 + '@oxc-parser/binding-linux-x64-musl': 0.121.0 + '@oxc-parser/binding-openharmony-arm64': 0.121.0 + '@oxc-parser/binding-wasm32-wasi': 0.121.0 + '@oxc-parser/binding-win32-arm64-msvc': 0.121.0 + '@oxc-parser/binding-win32-ia32-msvc': 0.121.0 + '@oxc-parser/binding-win32-x64-msvc': 0.121.0 oxc-parser@0.99.0: dependencies: @@ -15231,7 +15231,7 @@ snapshots: smart-buffer@4.2.0: {} - smol-toml@1.6.0: {} + smol-toml@1.6.1: {} snake-case@3.0.4: dependencies: diff --git a/echo/go.mod b/echo/go.mod index 530e2722c2..774d89f1da 100644 --- a/echo/go.mod +++ b/echo/go.mod @@ -10,13 +10,10 @@ require ( github.com/hashicorp/go-retryablehttp v0.7.8 github.com/juju/ratelimit v1.0.2 github.com/labstack/echo/v4 v4.15.1 - github.com/pkg/errors v0.9.1 github.com/prometheus/client_golang v1.23.2 github.com/prometheus/client_model v0.6.2 github.com/prometheus/common v0.67.5 github.com/prometheus/node_exporter v1.10.2 - github.com/sagernet/sing v0.8.2 - github.com/sagernet/sing-box v1.13.2 github.com/stretchr/testify v1.11.1 github.com/urfave/cli/v2 v2.27.7 github.com/xtls/xray-core v1.260206.0 @@ -45,10 +42,7 @@ require ( github.com/dennwc/ioctl v1.0.1-0.20181021180353-017804252068 // indirect github.com/dustin/go-humanize v1.0.1 // indirect github.com/ema/qdisc v1.0.0 // indirect - github.com/florianl/go-nfqueue/v2 v2.0.2 // indirect - github.com/fsnotify/fsnotify v1.9.0 // indirect github.com/ghodss/yaml v1.0.1-0.20220118164431-d8423dcdf344 // indirect - github.com/go-ole/go-ole v1.3.0 // indirect github.com/gobwas/httphead v0.1.0 // indirect github.com/gobwas/pool v0.2.1 // indirect github.com/godbus/dbus/v5 v5.2.2 // indirect @@ -64,7 +58,6 @@ require ( github.com/klauspost/compress v1.18.4 // indirect github.com/klauspost/cpuid/v2 v2.3.0 // indirect github.com/labstack/gommon v0.4.2 // indirect - github.com/logrusorgru/aurora v2.0.3+incompatible // indirect github.com/lufia/iostat v1.2.1 // indirect github.com/mattn/go-colorable v0.1.14 // indirect github.com/mattn/go-isatty v0.0.20 // indirect @@ -89,12 +82,8 @@ require ( github.com/remyoudompheng/bigfft v0.0.0-20230129092748-24d4a6f8daec // indirect github.com/russross/blackfriday/v2 v2.1.0 // indirect github.com/safchain/ethtool v0.7.0 // indirect - github.com/sagernet/fswatch v0.1.1 // indirect - github.com/sagernet/gvisor v0.0.0-20250811-sing-box-mod.1 // indirect - github.com/sagernet/netlink v0.0.0-20240916134442-83396419aa8b // indirect - github.com/sagernet/nftables v0.3.0-mod.1 // indirect + github.com/sagernet/sing v0.8.0 // indirect github.com/sagernet/sing-shadowsocks v0.2.9 // indirect - github.com/sagernet/sing-tun v0.8.2 // indirect github.com/valyala/bytebufferpool v1.0.0 // indirect github.com/valyala/fasttemplate v1.2.2 // indirect github.com/vishvananda/netlink v1.3.1 // indirect diff --git a/echo/go.sum b/echo/go.sum index 9ff8358b48..ed3bacb724 100644 --- a/echo/go.sum +++ b/echo/go.sum @@ -38,10 +38,6 @@ github.com/ema/qdisc v1.0.0 h1:EHLG08FVRbWLg8uRICa3xzC9Zm0m7HyMHfXobWFnXYg= github.com/ema/qdisc v1.0.0/go.mod h1:FhIc0fLYi7f+lK5maMsesDqwYojIOh3VfRs8EVd5YJQ= github.com/fatih/color v1.16.0 h1:zmkK9Ngbjj+K0yRhTVONQh1p/HknKYSlNT+vZCzyokM= github.com/fatih/color v1.16.0/go.mod h1:fL2Sau1YI5c0pdGEVCbKQbLXB6edEj1ZgiY4NijnWvE= -github.com/florianl/go-nfqueue/v2 v2.0.2 h1:FL5lQTeetgpCvac1TRwSfgaXUn0YSO7WzGvWNIp3JPE= -github.com/florianl/go-nfqueue/v2 v2.0.2/go.mod h1:VA09+iPOT43OMoCKNfXHyzujQUty2xmzyCRkBOlmabc= -github.com/fsnotify/fsnotify v1.9.0 h1:2Ml+OJNzbYCTzsxtv8vKSFD9PbJjmhYF14k/jKC7S9k= -github.com/fsnotify/fsnotify v1.9.0/go.mod h1:8jBTzvmWwFyi3Pb8djgCCO5IBqzKJ/Jwo8TRcHyHii0= github.com/getsentry/sentry-go v0.43.0 h1:XbXLpFicpo8HmBDaInk7dum18G9KSLcjZiyUKS+hLW4= github.com/getsentry/sentry-go v0.43.0/go.mod h1:XDotiNZbgf5U8bPDUAfvcFmOnMQQceESxyKaObSssW0= github.com/ghodss/yaml v1.0.1-0.20220118164431-d8423dcdf344 h1:Arcl6UOIS/kgO2nW3A65HN+7CMjSDP/gofXL4CZt1V4= @@ -52,8 +48,6 @@ github.com/go-logr/logr v1.4.3 h1:CjnDlHq8ikf6E492q6eKboGOC0T8CDaOvkHCIg8idEI= github.com/go-logr/logr v1.4.3/go.mod h1:9T104GzyrTigFIr8wt5mBrctHMim0Nb2HLGrmQ40KvY= github.com/go-logr/stdr v1.2.2 h1:hSWxHoqTgW2S2qGc0LTAI563KZ5YKYRhT3MFKZMbjag= github.com/go-logr/stdr v1.2.2/go.mod h1:mMo/vtBO5dYbehREoey6XUKy/eSumjCCveDpRre4VKE= -github.com/go-ole/go-ole v1.3.0 h1:Dt6ye7+vXGIKZ7Xtk4s6/xVdGDQynvom7xCFEdWr6uE= -github.com/go-ole/go-ole v1.3.0/go.mod h1:5LS6F96DhAwUc7C+1HLexzMXY1xGRSryjyPPKW6zv78= github.com/go-ping/ping v1.2.0 h1:vsJ8slZBZAXNCK4dPcI2PEE9eM9n9RbXbGouVQ/Y4yQ= github.com/go-ping/ping v1.2.0/go.mod h1:xIFjORFzTxqIV/tDVGO4eDy/bLuSyawEeojSm3GfRGk= github.com/gobwas/httphead v0.1.0 h1:exrUm0f4YX0L7EBwZHuCF4GDp8aJfVeBrlLQrs6NqWU= @@ -112,8 +106,6 @@ github.com/labstack/echo/v4 v4.15.1 h1:S9keusg26gZpjMmPqB5hOEvNKnmd1lNmcHrbbH2ln github.com/labstack/echo/v4 v4.15.1/go.mod h1:xmw1clThob0BSVRX1CRQkGQ/vjwcpOMjQZSZa9fKA/c= github.com/labstack/gommon v0.4.2 h1:F8qTUNXgG1+6WQmqoUWnz8WiEU60mXVVw0P4ht1WRA0= github.com/labstack/gommon v0.4.2/go.mod h1:QlUFxVM+SNXhDL/Z7YhocGIBYOiwB0mXm1+1bAPHPyU= -github.com/logrusorgru/aurora v2.0.3+incompatible h1:tOpm7WcpBTn4fjmVfgpQq0EfczGlG91VSDkswnjF5A8= -github.com/logrusorgru/aurora v2.0.3+incompatible/go.mod h1:7rIyQOR62GCctdiQpZ/zOJlFyk6y+94wXzv6RNZgaR4= github.com/lufia/iostat v1.2.1 h1:tnCdZBIglgxD47RyD55kfWQcJMGzO+1QBziSQfesf2k= github.com/lufia/iostat v1.2.1/go.mod h1:rEPNA0xXgjHQjuI5Cy05sLlS2oRcSlWHRLrvh/AQ+Pg= github.com/mattn/go-colorable v0.1.14 h1:9A9LHSqF/7dyVVX6g0U9cwm9pG3kP9gSzcuIPHPsaIE= @@ -177,24 +169,10 @@ github.com/russross/blackfriday/v2 v2.1.0 h1:JIOH55/0cWyOuilr9/qlrm0BSXldqnqwMsf github.com/russross/blackfriday/v2 v2.1.0/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM= github.com/safchain/ethtool v0.7.0 h1:rlJzfDetsVvT61uz8x1YIcFn12akMfuPulHtZjtb7Is= github.com/safchain/ethtool v0.7.0/go.mod h1:MenQKEjXdfkjD3mp2QdCk8B/hwvkrlOTm/FD4gTpFxQ= -github.com/sagernet/fswatch v0.1.1 h1:YqID+93B7VRfqIH3PArW/XpJv5H4OLEVWDfProGoRQs= -github.com/sagernet/fswatch v0.1.1/go.mod h1:nz85laH0mkQqJfaOrqPpkwtU1znMFNVTpT/5oRsVz/o= -github.com/sagernet/gvisor v0.0.0-20250811-sing-box-mod.1 h1:bYLFFxOBLbmeMjMSCzsXJwNAS1EHoBb+G9GlE5oBgM8= -github.com/sagernet/gvisor v0.0.0-20250811-sing-box-mod.1/go.mod h1:NJKBtm9nVEK3iyOYWsUlrDQuoGh4zJ4KOPhSYVidvQ4= -github.com/sagernet/netlink v0.0.0-20240916134442-83396419aa8b h1:ppoda3bl004POPsp3ut7V+4Mn6+DUbTxyxpB0BjpaIk= -github.com/sagernet/netlink v0.0.0-20240916134442-83396419aa8b/go.mod h1:xLnfdiJbSp8rNqYEdIW/6eDO4mVoogml14Bh2hSiFpM= -github.com/sagernet/nftables v0.3.0-mod.1 h1:OMe+qoEAx8EipYAQbD2FI5erVvKmTS9+cYhdpg+vezY= -github.com/sagernet/nftables v0.3.0-mod.1/go.mod h1:8kslHG4VvYNihcco+i6uxIX7qbT8A56T0y5q7U44ZaQ= -github.com/sagernet/quic-go v0.59.0-sing-box-mod.4 h1:6qvrUW79S+CrPwWz6cMePXohgjHoKxLo3c+MDhNwc3o= -github.com/sagernet/quic-go v0.59.0-sing-box-mod.4/go.mod h1:OqILvS182CyOol5zNNo6bguvOGgXzV459+chpRaUC+4= -github.com/sagernet/sing v0.8.2 h1:kX1IH9SWJv4S0T9M8O+HNahWgbOuY1VauxbF7NU5lOg= -github.com/sagernet/sing v0.8.2/go.mod h1:ARkL0gM13/Iv5VCZmci/NuoOlePoIsW0m7BWfln/Hak= -github.com/sagernet/sing-box v1.13.2 h1:wChNq1BIqr5YKjGMWNWwmXSfEBaKk4q76WD2TH8tpRs= -github.com/sagernet/sing-box v1.13.2/go.mod h1:KdOFknh0k/LSGlWPwc6A2+KqnRyI7gliIRoxPxMM5Dw= +github.com/sagernet/sing v0.8.0 h1:OwLEwbcYfZHvu4olZVljxxC1XRicBqJ1HfiFr6F2WEE= +github.com/sagernet/sing v0.8.0/go.mod h1:ARkL0gM13/Iv5VCZmci/NuoOlePoIsW0m7BWfln/Hak= github.com/sagernet/sing-shadowsocks v0.2.9 h1:Paep5zCszRKsEn8587O0MnhFWKJwDW1Y4zOYYlIxMkM= github.com/sagernet/sing-shadowsocks v0.2.9/go.mod h1:TE/Z6401Pi8tgr0nBZcM/xawAI6u3F6TTbz4nH/qw+8= -github.com/sagernet/sing-tun v0.8.2 h1:rQr/x3eQCHh3oleIaoJdPdJwqzZp4+QWcJLT0Wz2xKY= -github.com/sagernet/sing-tun v0.8.2/go.mod h1:pLCo4o+LacXEzz0bhwhJkKBjLlKOGPBNOAZ97ZVZWzs= github.com/siebenmann/go-kstat v0.0.0-20210513183136-173c9b0a9973 h1:GfSdC6wKfTGcgCS7BtzF5694Amne1pGCSTY252WhlEY= github.com/siebenmann/go-kstat v0.0.0-20210513183136-173c9b0a9973/go.mod h1:G81aIFAMS9ECrwBYR9YxhlPjWgrItd+Kje78O6+uqm8= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= @@ -272,7 +250,6 @@ golang.org/x/sys v0.0.0-20201119102817-f84b799fce68/go.mod h1:h1NjWce9XRLGQEsW7w golang.org/x/sys v0.0.0-20201204225414-ed752295db88/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210315160823-c6e025ad8005/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20211031064116-611d5d643895/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.1.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.2.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.6.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.10.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= diff --git a/echo/internal/metrics/node_linux.go b/echo/internal/metrics/node_linux.go index 286a795a56..72a306f206 100644 --- a/echo/internal/metrics/node_linux.go +++ b/echo/internal/metrics/node_linux.go @@ -43,7 +43,7 @@ func RegisterNodeExporterMetrics(cfg *config.Config) error { } nc, err := collector.NewNodeCollector(logger) if err != nil { - return fmt.Errorf("couldn't create collector: %s", err) + return fmt.Errorf("couldn't create collector: %w", err) } prometheus.MustRegister(nc) return nil diff --git a/echo/internal/relay/conf/cfg.go b/echo/internal/relay/conf/cfg.go index 8b9b866b14..94ae701515 100644 --- a/echo/internal/relay/conf/cfg.go +++ b/echo/internal/relay/conf/cfg.go @@ -1,7 +1,6 @@ package conf import ( - "errors" "fmt" "net/url" "time" @@ -117,7 +116,7 @@ func (r *Config) Adjust() error { func (r *Config) Validate() error { if err := r.Adjust(); err != nil { - return errors.New("adjust config failed") + return fmt.Errorf("adjust config failed: %w", err) } if err := r.validateType(); err != nil { return err diff --git a/echo/internal/transporter/base.go b/echo/internal/transporter/base.go index 59dba4f1f7..e49440e860 100644 --- a/echo/internal/transporter/base.go +++ b/echo/internal/transporter/base.go @@ -4,11 +4,8 @@ import ( "context" "fmt" "net" + "time" - "github.com/sagernet/sing-box/adapter" - "github.com/sagernet/sing-box/common/sniff" - "github.com/sagernet/sing/common/buf" - "github.com/sagernet/sing/common/bufio" "go.uber.org/zap" "github.com/Ehco1996/ehco/internal/cmgr" @@ -99,32 +96,36 @@ func (b *BaseRelayServer) sniffAndBlockProtocol(c net.Conn) (net.Conn, error) { return c, nil } - buffer := buf.NewPacket() - - ctx, cancel := context.WithTimeout(context.Background(), b.cfg.Options.SniffTimeout) - defer cancel() - - sniffMetadata := &adapter.InboundContext{} - err := sniff.PeekStream(ctx, sniffMetadata, c, nil, buffer, b.cfg.Options.SniffTimeout, sniff.TLSClientHello, sniff.HTTPHost) - if err != nil { - b.l.Debugf("sniff error: %s", err) + if err := c.SetReadDeadline(time.Now().Add(b.cfg.Options.SniffTimeout)); err != nil { + b.l.Debugf("sniff: failed to set read deadline: %s", err) + return c, nil } - if sniffMetadata.Protocol != "" { - b.l.Infof("sniffed protocol: %s", sniffMetadata.Protocol) + peek := make([]byte, peekBufferSize) + n, err := c.Read(peek) + + // Reset deadline regardless of read result + _ = c.SetReadDeadline(time.Time{}) + + if n == 0 { + if err != nil { + b.l.Debugf("sniff error: %s", err) + } + return c, nil + } + peek = peek[:n] + + protocol := sniffProtocol(peek) + if protocol != "" { + b.l.Infof("sniffed protocol: %s", protocol) for _, p := range b.cfg.Options.BlockedProtocols { - if sniffMetadata.Protocol == p { - return c, fmt.Errorf("relay:%s blocked protocol:%s", b.cfg.Label, sniffMetadata.Protocol) + if protocol == p { + return c, fmt.Errorf("relay:%s blocked protocol:%s", b.cfg.Label, protocol) } } } - if !buffer.IsEmpty() { - return bufio.NewCachedConn(c, buffer), nil - } else { - buffer.Release() - } - return c, nil + return newPeekedConn(c, peek), nil } func (b *BaseRelayServer) applyRateLimit(c net.Conn) net.Conn { diff --git a/echo/internal/transporter/sniff.go b/echo/internal/transporter/sniff.go new file mode 100644 index 0000000000..1bc41a7901 --- /dev/null +++ b/echo/internal/transporter/sniff.go @@ -0,0 +1,77 @@ +package transporter + +import ( + "bytes" + "io" + "net" + + "github.com/Ehco1996/ehco/internal/relay/conf" +) + +const peekBufferSize = 4096 + +// sniffProtocol detects the protocol from peeked connection data. +// Returns conf.ProtocolTLS, conf.ProtocolHTTP, or empty string if unknown. +func sniffProtocol(data []byte) string { + if isTLSClientHello(data) { + return conf.ProtocolTLS + } + if isHTTPRequest(data) { + return conf.ProtocolHTTP + } + return "" +} + +// isTLSClientHello checks if data looks like a TLS ClientHello message. +// TLS record: ContentType(1) | Version(2) | Length(2) | HandshakeType(1) +// ContentType 0x16 = Handshake, HandshakeType 0x01 = ClientHello +func isTLSClientHello(data []byte) bool { + if len(data) < 6 { + return false + } + if data[0] != 0x16 { + return false + } + if data[1] != 0x03 || data[2] > 0x03 { + return false + } + return data[5] == 0x01 +} + +var httpMethods = [][]byte{ + []byte("GET "), + []byte("POST "), + []byte("HEAD "), + []byte("PUT "), + []byte("DELETE "), + []byte("OPTIONS "), + []byte("PATCH "), + []byte("CONNECT "), + []byte("TRACE "), +} + +func isHTTPRequest(data []byte) bool { + for _, method := range httpMethods { + if bytes.HasPrefix(data, method) { + return true + } + } + return false +} + +// peekedConn wraps a net.Conn, prepending previously peeked data to reads. +type peekedConn struct { + net.Conn + reader io.Reader +} + +func newPeekedConn(c net.Conn, peeked []byte) net.Conn { + return &peekedConn{ + Conn: c, + reader: io.MultiReader(bytes.NewReader(peeked), c), + } +} + +func (c *peekedConn) Read(b []byte) (int, error) { + return c.reader.Read(b) +} diff --git a/echo/internal/transporter/sniff_test.go b/echo/internal/transporter/sniff_test.go new file mode 100644 index 0000000000..c8c4b1d9a8 --- /dev/null +++ b/echo/internal/transporter/sniff_test.go @@ -0,0 +1,112 @@ +package transporter + +import ( + "testing" + + "github.com/Ehco1996/ehco/internal/relay/conf" + "github.com/stretchr/testify/assert" +) + +func TestIsTLSClientHello(t *testing.T) { + tests := []struct { + name string + data []byte + want bool + }{ + { + name: "valid TLS 1.0 ClientHello", + data: []byte{0x16, 0x03, 0x01, 0x00, 0x05, 0x01}, + want: true, + }, + { + name: "valid TLS 1.2 ClientHello", + data: []byte{0x16, 0x03, 0x03, 0x00, 0xf1, 0x01, 0x00, 0x00, 0xed}, + want: true, + }, + { + name: "TLS handshake but not ClientHello (ServerHello=0x02)", + data: []byte{0x16, 0x03, 0x03, 0x00, 0x05, 0x02}, + want: false, + }, + { + name: "not TLS - wrong content type", + data: []byte{0x15, 0x03, 0x01, 0x00, 0x05, 0x01}, + want: false, + }, + { + name: "not TLS - wrong major version", + data: []byte{0x16, 0x04, 0x01, 0x00, 0x05, 0x01}, + want: false, + }, + { + name: "too short", + data: []byte{0x16, 0x03, 0x01}, + want: false, + }, + { + name: "empty", + data: []byte{}, + want: false, + }, + } + for _, tt := range tests { + t.Run(tt.name, func(t *testing.T) { + assert.Equal(t, tt.want, isTLSClientHello(tt.data)) + }) + } +} + +func TestIsHTTPRequest(t *testing.T) { + tests := []struct { + name string + data []byte + want bool + }{ + {name: "GET", data: []byte("GET / HTTP/1.1\r\n"), want: true}, + {name: "POST", data: []byte("POST /api HTTP/1.1\r\n"), want: true}, + {name: "HEAD", data: []byte("HEAD / HTTP/1.1\r\n"), want: true}, + {name: "PUT", data: []byte("PUT /data HTTP/1.1\r\n"), want: true}, + {name: "DELETE", data: []byte("DELETE /item HTTP/1.1\r\n"), want: true}, + {name: "OPTIONS", data: []byte("OPTIONS * HTTP/1.1\r\n"), want: true}, + {name: "PATCH", data: []byte("PATCH /res HTTP/1.1\r\n"), want: true}, + {name: "CONNECT", data: []byte("CONNECT host:443 HTTP/1.1\r\n"), want: true}, + {name: "TRACE", data: []byte("TRACE / HTTP/1.1\r\n"), want: true}, + {name: "not HTTP - TLS", data: []byte{0x16, 0x03, 0x01}, want: false}, + {name: "not HTTP - random", data: []byte("HELLO world"), want: false}, + {name: "empty", data: []byte{}, want: false}, + } + for _, tt := range tests { + t.Run(tt.name, func(t *testing.T) { + assert.Equal(t, tt.want, isHTTPRequest(tt.data)) + }) + } +} + +func TestSniffProtocol(t *testing.T) { + tests := []struct { + name string + data []byte + want string + }{ + { + name: "TLS", + data: []byte{0x16, 0x03, 0x03, 0x00, 0xf1, 0x01}, + want: conf.ProtocolTLS, + }, + { + name: "HTTP", + data: []byte("GET / HTTP/1.1\r\nHost: example.com\r\n"), + want: conf.ProtocolHTTP, + }, + { + name: "unknown", + data: []byte{0x00, 0x01, 0x02, 0x03}, + want: "", + }, + } + for _, tt := range tests { + t.Run(tt.name, func(t *testing.T) { + assert.Equal(t, tt.want, sniffProtocol(tt.data)) + }) + } +} diff --git a/echo/internal/web/server.go b/echo/internal/web/server.go index a2b55044d5..7a01694fec 100644 --- a/echo/internal/web/server.go +++ b/echo/internal/web/server.go @@ -12,7 +12,6 @@ import ( "github.com/labstack/echo/v4" "github.com/labstack/echo/v4/middleware" - "github.com/pkg/errors" "github.com/prometheus/client_golang/prometheus/promhttp" "go.uber.org/zap" @@ -60,22 +59,22 @@ func NewServer( connMgr cmgr.Cmgr, ) (*Server, error) { if err := validateConfig(cfg); err != nil { - return nil, errors.Wrap(err, "invalid configuration") + return nil, fmt.Errorf("invalid configuration: %w", err) } l := zap.S().Named("web") e := NewEchoServer() if err := setupMiddleware(e, cfg, l); err != nil { - return nil, errors.Wrap(err, "failed to setup middleware") + return nil, fmt.Errorf("failed to setup middleware: %w", err) } if err := setupTemplates(e, l, cfg); err != nil { - return nil, errors.Wrap(err, "failed to setup templates") + return nil, fmt.Errorf("failed to setup templates: %w", err) } if err := setupMetrics(cfg); err != nil { - return nil, errors.Wrap(err, "failed to setup metrics") + return nil, fmt.Errorf("failed to setup metrics: %w", err) } s := &Server{ @@ -97,7 +96,7 @@ func NewServer( func validateConfig(cfg *config.Config) error { // Add validation logic here if cfg.WebPort <= 0 || cfg.WebPort > 65535 { - return errors.New("invalid web port") + return fmt.Errorf("invalid web port: %d", cfg.WebPort) } // Add more validations as needed return nil @@ -138,7 +137,7 @@ func setupTemplates(e *echo.Echo, l *zap.SugaredLogger, cfg *config.Config) erro } tmpl, err := template.New("").Funcs(funcMap).ParseFS(templatesFS, "templates/*.html") if err != nil { - return errors.Wrap(err, "failed to parse templates") + return fmt.Errorf("failed to parse templates: %w", err) } templates := template.Must(tmpl, nil) for _, temp := range templates.Templates() { @@ -150,10 +149,10 @@ func setupTemplates(e *echo.Echo, l *zap.SugaredLogger, cfg *config.Config) erro func setupMetrics(cfg *config.Config) error { if err := metrics.RegisterEhcoMetrics(cfg); err != nil { - return errors.Wrap(err, "failed to register Ehco metrics") + return fmt.Errorf("failed to register Ehco metrics: %w", err) } if err := metrics.RegisterNodeExporterMetrics(cfg); err != nil { - return errors.Wrap(err, "failed to register Node Exporter metrics") + return fmt.Errorf("failed to register Node Exporter metrics: %w", err) } return nil } diff --git a/echo/pkg/metric_reader/reader.go b/echo/pkg/metric_reader/reader.go index 3ba2e882af..042fb2d81a 100644 --- a/echo/pkg/metric_reader/reader.go +++ b/echo/pkg/metric_reader/reader.go @@ -2,12 +2,12 @@ package metric_reader import ( "context" + "fmt" "io" "net/http" "strings" "time" - "github.com/pkg/errors" dto "github.com/prometheus/client_model/go" "github.com/prometheus/common/expfmt" "github.com/prometheus/common/model" @@ -39,7 +39,7 @@ func NewReader(metricsURL string) *readerImpl { func (b *readerImpl) ReadOnce(ctx context.Context) (*NodeMetrics, map[string]*RuleMetrics, error) { metricMap, err := b.fetchMetrics(ctx) if err != nil { - return nil, nil, errors.Wrap(err, "failed to fetch metrics") + return nil, nil, fmt.Errorf("failed to fetch metrics: %w", err) } nm := &NodeMetrics{SyncTime: time.Now()} if err := b.ParseNodeMetrics(metricMap, nm); err != nil { @@ -59,18 +59,18 @@ func (b *readerImpl) ReadOnce(ctx context.Context) (*NodeMetrics, map[string]*Ru func (r *readerImpl) fetchMetrics(ctx context.Context) (map[string]*dto.MetricFamily, error) { req, err := http.NewRequestWithContext(ctx, "GET", r.metricsURL, nil) if err != nil { - return nil, errors.Wrap(err, "failed to create request") + return nil, fmt.Errorf("failed to create request: %w", err) } resp, err := r.httpClient.Do(req) if err != nil { - return nil, errors.Wrap(err, "failed to send request") + return nil, fmt.Errorf("failed to send request: %w", err) } defer resp.Body.Close() body, err := io.ReadAll(resp.Body) if err != nil { - return nil, errors.Wrap(err, "failed to read response body") + return nil, fmt.Errorf("failed to read response body: %w", err) } // Use LegacyValidation for backward compatibility with older Prometheus metrics // This prevents the "Invalid name validation scheme requested: unset" panic diff --git a/filebrowser/.github/workflows/ci.yaml b/filebrowser/.github/workflows/ci.yaml index c6e4c7b39f..ce29dcde9f 100644 --- a/filebrowser/.github/workflows/ci.yaml +++ b/filebrowser/.github/workflows/ci.yaml @@ -27,6 +27,24 @@ jobs: pnpm install --frozen-lockfile pnpm run lint + test-frontend: + name: Test Frontend + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v6 + - uses: pnpm/action-setup@v5 + with: + package_json_file: "frontend/package.json" + - uses: actions/setup-node@v6 + with: + node-version: "24.x" + cache: "pnpm" + cache-dependency-path: "frontend/pnpm-lock.yaml" + - working-directory: frontend + run: | + pnpm install --frozen-lockfile + pnpm run test + lint-backend: name: Lint Backend runs-on: ubuntu-latest diff --git a/filebrowser/.github/workflows/docs.yml b/filebrowser/.github/workflows/docs.yml index d7cbf75e10..4e7c4da4e7 100644 --- a/filebrowser/.github/workflows/docs.yml +++ b/filebrowser/.github/workflows/docs.yml @@ -49,4 +49,4 @@ jobs: with: path: www/public - name: Deploy to GitHub Pages - uses: actions/deploy-pages@v4 + uses: actions/deploy-pages@v5 diff --git a/filebrowser/frontend/package.json b/filebrowser/frontend/package.json index 36c7ae095d..2a756c10d8 100644 --- a/filebrowser/frontend/package.json +++ b/filebrowser/frontend/package.json @@ -14,7 +14,8 @@ "typecheck": "vue-tsc -p ./tsconfig.app.json --noEmit", "lint": "eslint src/", "lint:fix": "eslint --fix src/", - "format": "prettier --write ." + "format": "prettier --write .", + "test": "vitest run" }, "dependencies": { "@chenfengyuan/vue-number-input": "^2.0.1", @@ -70,7 +71,8 @@ "typescript": "^5.9.3", "vite": "^8.0.0", "vite-plugin-compression2": "^2.3.1", + "vitest": "^4.1.0", "vue-tsc": "^3.1.3" }, - "packageManager": "pnpm@10.32.1+sha512.a706938f0e89ac1456b6563eab4edf1d1faf3368d1191fc5c59790e96dc918e4456ab2e67d613de1043d2e8c81f87303e6b40d4ffeca9df15ef1ad567348f2be" + "packageManager": "pnpm@10.33.0+sha512.10568bb4a6afb58c9eb3630da90cc9516417abebd3fabbe6739f0ae795728da1491e9db5a544c76ad8eb7570f5c4bb3d6c637b2cb41bfdcdb47fa823c8649319" } diff --git a/filebrowser/frontend/pnpm-lock.yaml b/filebrowser/frontend/pnpm-lock.yaml index 58de3b03df..f57dc60785 100644 --- a/filebrowser/frontend/pnpm-lock.yaml +++ b/filebrowser/frontend/pnpm-lock.yaml @@ -10,19 +10,19 @@ importers: dependencies: '@chenfengyuan/vue-number-input': specifier: ^2.0.1 - version: 2.0.1(vue@3.5.30(typescript@5.9.3)) + version: 2.0.1(vue@3.5.31(typescript@5.9.3)) '@vueuse/core': specifier: ^14.0.0 - version: 14.2.1(vue@3.5.30(typescript@5.9.3)) + version: 14.2.1(vue@3.5.31(typescript@5.9.3)) '@vueuse/integrations': specifier: ^14.0.0 - version: 14.2.1(focus-trap@8.0.0)(jwt-decode@4.0.0)(vue@3.5.30(typescript@5.9.3)) + version: 14.2.1(focus-trap@8.0.0)(jwt-decode@4.0.0)(vue@3.5.31(typescript@5.9.3)) ace-builds: specifier: ^1.43.2 version: 1.43.6 csv-parse: specifier: ^6.1.0 - version: 6.1.0 + version: 6.2.1 dayjs: specifier: ^1.11.13 version: 1.11.20 @@ -34,7 +34,7 @@ importers: version: 0.3.93 filesize: specifier: ^11.0.13 - version: 11.0.13 + version: 11.0.14 js-base64: specifier: ^3.7.7 version: 3.7.8 @@ -46,10 +46,10 @@ importers: version: 4.17.23 marked: specifier: ^17.0.0 - version: 17.0.4 + version: 17.0.5 marked-katex-extension: specifier: ^5.1.6 - version: 5.1.7(katex@0.16.28)(marked@17.0.4) + version: 5.1.7(katex@0.16.28)(marked@17.0.5) material-icons: specifier: ^1.13.14 version: 1.13.14 @@ -58,13 +58,13 @@ importers: version: 8.0.1 pinia: specifier: ^3.0.4 - version: 3.0.4(typescript@5.9.3)(vue@3.5.30(typescript@5.9.3)) + version: 3.0.4(typescript@5.9.3)(vue@3.5.31(typescript@5.9.3)) pretty-bytes: specifier: ^7.1.0 version: 7.1.0 qrcode.vue: specifier: ^3.6.0 - version: 3.8.0(vue@3.5.30(typescript@5.9.3)) + version: 3.8.0(vue@3.5.31(typescript@5.9.3)) tus-js-client: specifier: ^4.3.1 version: 4.3.1 @@ -79,13 +79,13 @@ importers: version: 0.2.30 videojs-mobile-ui: specifier: ^1.1.1 - version: 1.2.2(video.js@8.23.7) + version: 1.2.3(video.js@8.23.7) vue: specifier: ^3.5.17 - version: 3.5.30(typescript@5.9.3) + version: 3.5.31(typescript@5.9.3) vue-i18n: specifier: ^11.1.10 - version: 11.3.0(vue@3.5.30(typescript@5.9.3)) + version: 11.3.0(vue@3.5.31(typescript@5.9.3)) vue-lazyload: specifier: ^3.0.0 version: 3.0.0 @@ -94,14 +94,14 @@ importers: version: 1.3.4 vue-router: specifier: ^5.0.0 - version: 5.0.3(@vue/compiler-sfc@3.5.30)(pinia@3.0.4(typescript@5.9.3)(vue@3.5.30(typescript@5.9.3)))(vue@3.5.30(typescript@5.9.3)) + version: 5.0.4(@vue/compiler-sfc@3.5.31)(pinia@3.0.4(typescript@5.9.3)(vue@3.5.31(typescript@5.9.3)))(vue@3.5.31(typescript@5.9.3)) vue-toastification: specifier: ^2.0.0-rc.5 - version: 2.0.0-rc.5(vue@3.5.30(typescript@5.9.3)) + version: 2.0.0-rc.5(vue@3.5.31(typescript@5.9.3)) devDependencies: '@intlify/unplugin-vue-i18n': specifier: ^11.0.1 - version: 11.0.7(@vue/compiler-dom@3.5.30)(eslint@10.0.3)(rollup@4.57.1)(typescript@5.9.3)(vue-i18n@11.3.0(vue@3.5.30(typescript@5.9.3)))(vue@3.5.30(typescript@5.9.3)) + version: 11.0.7(@vue/compiler-dom@3.5.31)(eslint@10.1.0)(rollup@4.57.1)(typescript@5.9.3)(vue-i18n@11.3.0(vue@3.5.31(typescript@5.9.3)))(vue@3.5.31(typescript@5.9.3)) '@tsconfig/node24': specifier: ^24.0.2 version: 24.0.4 @@ -113,37 +113,37 @@ importers: version: 24.12.0 '@typescript-eslint/eslint-plugin': specifier: ^8.37.0 - version: 8.57.0(@typescript-eslint/parser@8.56.0(eslint@10.0.3)(typescript@5.9.3))(eslint@10.0.3)(typescript@5.9.3) + version: 8.57.2(@typescript-eslint/parser@8.56.0(eslint@10.1.0)(typescript@5.9.3))(eslint@10.1.0)(typescript@5.9.3) '@vitejs/plugin-legacy': specifier: ^8.0.0 - version: 8.0.0(terser@5.46.0)(vite@8.0.0(@types/node@24.12.0)(esbuild@0.27.3)(terser@5.46.0)(yaml@2.8.2)) + version: 8.0.1(terser@5.46.1)(vite@8.0.3(@emnapi/core@1.9.0)(@emnapi/runtime@1.9.0)(@types/node@24.12.0)(esbuild@0.27.3)(terser@5.46.1)(yaml@2.8.3)) '@vitejs/plugin-vue': specifier: ^6.0.1 - version: 6.0.5(vite@8.0.0(@types/node@24.12.0)(esbuild@0.27.3)(terser@5.46.0)(yaml@2.8.2))(vue@3.5.30(typescript@5.9.3)) + version: 6.0.5(vite@8.0.3(@emnapi/core@1.9.0)(@emnapi/runtime@1.9.0)(@types/node@24.12.0)(esbuild@0.27.3)(terser@5.46.1)(yaml@2.8.3))(vue@3.5.31(typescript@5.9.3)) '@vue/eslint-config-prettier': specifier: ^10.2.0 - version: 10.2.0(eslint@10.0.3)(prettier@3.8.1) + version: 10.2.0(eslint@10.1.0)(prettier@3.8.1) '@vue/eslint-config-typescript': specifier: ^14.6.0 - version: 14.7.0(eslint-plugin-vue@10.8.0(@typescript-eslint/parser@8.56.0(eslint@10.0.3)(typescript@5.9.3))(eslint@10.0.3)(vue-eslint-parser@10.4.0(eslint@10.0.3)))(eslint@10.0.3)(typescript@5.9.3) + version: 14.7.0(eslint-plugin-vue@10.8.0(@typescript-eslint/parser@8.56.0(eslint@10.1.0)(typescript@5.9.3))(eslint@10.1.0)(vue-eslint-parser@10.4.0(eslint@10.1.0)))(eslint@10.1.0)(typescript@5.9.3) '@vue/tsconfig': specifier: ^0.9.0 - version: 0.9.0(typescript@5.9.3)(vue@3.5.30(typescript@5.9.3)) + version: 0.9.1(typescript@5.9.3)(vue@3.5.31(typescript@5.9.3)) autoprefixer: specifier: ^10.4.21 version: 10.4.27(postcss@8.5.8) eslint: specifier: ^10.0.0 - version: 10.0.3 + version: 10.1.0 eslint-config-prettier: specifier: ^10.1.5 - version: 10.1.8(eslint@10.0.3) + version: 10.1.8(eslint@10.1.0) eslint-plugin-prettier: specifier: ^5.5.1 - version: 5.5.5(eslint-config-prettier@10.1.8(eslint@10.0.3))(eslint@10.0.3)(prettier@3.8.1) + version: 5.5.5(eslint-config-prettier@10.1.8(eslint@10.1.0))(eslint@10.1.0)(prettier@3.8.1) eslint-plugin-vue: specifier: ^10.5.1 - version: 10.8.0(@typescript-eslint/parser@8.56.0(eslint@10.0.3)(typescript@5.9.3))(eslint@10.0.3)(vue-eslint-parser@10.4.0(eslint@10.0.3)) + version: 10.8.0(@typescript-eslint/parser@8.56.0(eslint@10.1.0)(typescript@5.9.3))(eslint@10.1.0)(vue-eslint-parser@10.4.0(eslint@10.1.0)) postcss: specifier: ^8.5.6 version: 8.5.8 @@ -152,19 +152,22 @@ importers: version: 3.8.1 terser: specifier: ^5.43.1 - version: 5.46.0 + version: 5.46.1 typescript: specifier: ^5.9.3 version: 5.9.3 vite: specifier: ^8.0.0 - version: 8.0.0(@types/node@24.12.0)(esbuild@0.27.3)(terser@5.46.0)(yaml@2.8.2) + version: 8.0.3(@emnapi/core@1.9.0)(@emnapi/runtime@1.9.0)(@types/node@24.12.0)(esbuild@0.27.3)(terser@5.46.1)(yaml@2.8.3) vite-plugin-compression2: specifier: ^2.3.1 - version: 2.5.1(rollup@4.57.1) + version: 2.5.3(rollup@4.57.1) + vitest: + specifier: ^4.1.0 + version: 4.1.2(@types/node@24.12.0)(vite@8.0.3(@emnapi/core@1.9.0)(@emnapi/runtime@1.9.0)(@types/node@24.12.0)(esbuild@0.27.3)(terser@5.46.1)(yaml@2.8.3)) vue-tsc: specifier: ^3.1.3 - version: 3.2.5(typescript@5.9.3) + version: 3.2.6(typescript@5.9.3) packages: @@ -204,13 +207,8 @@ packages: peerDependencies: '@babel/core': ^7.0.0 - '@babel/helper-define-polyfill-provider@0.6.6': - resolution: {integrity: sha512-mOAsxeeKkUKayvZR3HeTYD/fICpCPLJrU5ZjelT/PA6WHtNDBOE436YiaEUvHN454bRM3CebhDsIpieCc4texA==} - peerDependencies: - '@babel/core': ^7.4.0 || ^8.0.0-0 <8.0.0 - - '@babel/helper-define-polyfill-provider@0.6.7': - resolution: {integrity: sha512-6Fqi8MtQ/PweQ9xvux65emkLQ83uB+qAVtfHkC9UodyHMIZdxNI01HjLCLUtybElp2KY2XNE0nOgyP1E1vXw9w==} + '@babel/helper-define-polyfill-provider@0.6.8': + resolution: {integrity: sha512-47UwBLPpQi1NoWzLuHNjRoHlYXMwIJoBf7MFou6viC/sIHWYygpvr0B6IAyh5sBdA2nr2LPIRww8lfaUVQINBA==} peerDependencies: '@babel/core': ^7.4.0 || ^8.0.0-0 <8.0.0 @@ -272,8 +270,8 @@ packages: resolution: {integrity: sha512-z+PwLziMNBeSQJonizz2AGnndLsP2DeGHIxDAn+wdHOGuo4Fo1x1HBPPXeE9TAOPHNNWQKCSlA2VZyYyyibDnQ==} engines: {node: '>=6.9.0'} - '@babel/helpers@7.28.6': - resolution: {integrity: sha512-xOBvwq86HHdB7WUDTfKfT/Vuxh7gElQ+Sfti2Cy6yIWNW05P8iUslOVcZ4/sKbE+/jQaukQAdz/gf3724kYdqw==} + '@babel/helpers@7.29.2': + resolution: {integrity: sha512-HoGuUs4sCZNezVEKdVcwqmZN8GoHirLUcLaYVNBK2J0DadGtdcqgr3BCbvH8+XUo4NGjNl3VOtSjEKNzqfFgKw==} engines: {node: '>=6.9.0'} '@babel/parser@7.29.0': @@ -281,6 +279,11 @@ packages: engines: {node: '>=6.0.0'} hasBin: true + '@babel/parser@7.29.2': + resolution: {integrity: sha512-4GgRzy/+fsBa72/RZVJmGKPmZu9Byn8o4MoLpmNe1m8ZfYnz5emHLQz3U4gLud6Zwl0RZIcgiLD7Uq7ySFuDLA==} + engines: {node: '>=6.0.0'} + hasBin: true + '@babel/plugin-bugfix-firefox-class-in-computed-class-key@7.28.5': resolution: {integrity: sha512-87GDMS3tsmMSi/3bWOte1UblL+YUTFMV8SZPZ2eSEL17s74Cw/l63rR6NmGVKMYW2GYi85nE+/d6Hw5N0bEk2Q==} engines: {node: '>=6.9.0'} @@ -641,8 +644,8 @@ packages: peerDependencies: '@babel/core': ^7.0.0 - '@babel/preset-env@7.29.0': - resolution: {integrity: sha512-fNEdfc0yi16lt6IZo2Qxk3knHVdfMYX33czNb4v8yWhemoBhibCpQK/uYHtSKIiO+p/zd3+8fYVXhQdOVV608w==} + '@babel/preset-env@7.29.2': + resolution: {integrity: sha512-DYD23veRYGvBFhcTY1iUvJnDNpuqNd/BzBwCvzOTKUnJjKg5kpUBh3/u9585Agdkgj+QuygG7jLfOPWMa2KVNw==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 @@ -1126,8 +1129,11 @@ packages: '@jridgewell/trace-mapping@0.3.31': resolution: {integrity: sha512-zzNR+SdQSDJzc8joaeP8QQoCQr8NuYx2dIIytl1QeBEZHJ9uW6hebsrYgbz8hJwUQao3TWCMtmfV8Nu1twOLAw==} - '@napi-rs/wasm-runtime@1.1.1': - resolution: {integrity: sha512-p64ah1M1ld8xjWv3qbvFwHiFVWrq1yFvV4f7w+mzaqiR4IlSgkqhcRdHwsGgomwzBH51sRY4NEowLxnaBjcW/A==} + '@napi-rs/wasm-runtime@1.1.2': + resolution: {integrity: sha512-sNXv5oLJ7ob93xkZ1XnxisYhGYXfaG9f65/ZgYuAu3qt7b3NadcOEhLvx28hv31PgX8SZJRYrAIPQilQmFpLVw==} + peerDependencies: + '@emnapi/core': ^1.7.1 + '@emnapi/runtime': ^1.7.1 '@nodelib/fs.scandir@2.1.5': resolution: {integrity: sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==} @@ -1141,118 +1147,114 @@ packages: resolution: {integrity: sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg==} engines: {node: '>= 8'} - '@oxc-project/runtime@0.115.0': - resolution: {integrity: sha512-Rg8Wlt5dCbXhQnsXPrkOjL1DTSvXLgb2R/KYfnf1/K+R0k6UMLEmbQXPM+kwrWqSmWA2t0B1EtHy2/3zikQpvQ==} - engines: {node: ^20.19.0 || >=22.12.0} - - '@oxc-project/types@0.115.0': - resolution: {integrity: sha512-4n91DKnebUS4yjUHl2g3/b2T+IUdCfmoZGhmwsovZCDaJSs+QkVAM+0AqqTxHSsHfeiMuueT75cZaZcT/m0pSw==} + '@oxc-project/types@0.122.0': + resolution: {integrity: sha512-oLAl5kBpV4w69UtFZ9xqcmTi+GENWOcPF7FCrczTiBbmC0ibXxCwyvZGbO39rCVEuLGAZM84DH0pUIyyv/YJzA==} '@pkgr/core@0.2.9': resolution: {integrity: sha512-QNqXyfVS2wm9hweSYD2O7F0G06uurj9kZ96TRQE5Y9hU7+tgdZwIkbAKc5Ocy1HxEY2kuDQa6cQ1WRs/O5LFKA==} engines: {node: ^12.20.0 || ^14.18.0 || >=16.0.0} - '@rolldown/binding-android-arm64@1.0.0-rc.9': - resolution: {integrity: sha512-lcJL0bN5hpgJfSIz/8PIf02irmyL43P+j1pTCfbD1DbLkmGRuFIA4DD3B3ZOvGqG0XiVvRznbKtN0COQVaKUTg==} + '@rolldown/binding-android-arm64@1.0.0-rc.12': + resolution: {integrity: sha512-pv1y2Fv0JybcykuiiD3qBOBdz6RteYojRFY1d+b95WVuzx211CRh+ytI/+9iVyWQ6koTh5dawe4S/yRfOFjgaA==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [arm64] os: [android] - '@rolldown/binding-darwin-arm64@1.0.0-rc.9': - resolution: {integrity: sha512-J7Zk3kLYFsLtuH6U+F4pS2sYVzac0qkjcO5QxHS7OS7yZu2LRs+IXo+uvJ/mvpyUljDJ3LROZPoQfgBIpCMhdQ==} + '@rolldown/binding-darwin-arm64@1.0.0-rc.12': + resolution: {integrity: sha512-cFYr6zTG/3PXXF3pUO+umXxt1wkRK/0AYT8lDwuqvRC+LuKYWSAQAQZjCWDQpAH172ZV6ieYrNnFzVVcnSflAg==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [arm64] os: [darwin] - '@rolldown/binding-darwin-x64@1.0.0-rc.9': - resolution: {integrity: sha512-iwtmmghy8nhfRGeNAIltcNXzD0QMNaaA5U/NyZc1Ia4bxrzFByNMDoppoC+hl7cDiUq5/1CnFthpT9n+UtfFyg==} + '@rolldown/binding-darwin-x64@1.0.0-rc.12': + resolution: {integrity: sha512-ZCsYknnHzeXYps0lGBz8JrF37GpE9bFVefrlmDrAQhOEi4IOIlcoU1+FwHEtyXGx2VkYAvhu7dyBf75EJQffBw==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [x64] os: [darwin] - '@rolldown/binding-freebsd-x64@1.0.0-rc.9': - resolution: {integrity: sha512-DLFYI78SCiZr5VvdEplsVC2Vx53lnA4/Ga5C65iyldMVaErr86aiqCoNBLl92PXPfDtUYjUh+xFFor40ueNs4Q==} + '@rolldown/binding-freebsd-x64@1.0.0-rc.12': + resolution: {integrity: sha512-dMLeprcVsyJsKolRXyoTH3NL6qtsT0Y2xeuEA8WQJquWFXkEC4bcu1rLZZSnZRMtAqwtrF/Ib9Ddtpa/Gkge9Q==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [x64] os: [freebsd] - '@rolldown/binding-linux-arm-gnueabihf@1.0.0-rc.9': - resolution: {integrity: sha512-CsjTmTwd0Hri6iTw/DRMK7kOZ7FwAkrO4h8YWKoX/kcj833e4coqo2wzIFywtch/8Eb5enQ/lwLM7w6JX1W5RQ==} + '@rolldown/binding-linux-arm-gnueabihf@1.0.0-rc.12': + resolution: {integrity: sha512-YqWjAgGC/9M1lz3GR1r1rP79nMgo3mQiiA+Hfo+pvKFK1fAJ1bCi0ZQVh8noOqNacuY1qIcfyVfP6HoyBRZ85Q==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [arm] os: [linux] - '@rolldown/binding-linux-arm64-gnu@1.0.0-rc.9': - resolution: {integrity: sha512-2x9O2JbSPxpxMDhP9Z74mahAStibTlrBMW0520+epJH5sac7/LwZW5Bmg/E6CXuEF53JJFW509uP+lSedaUNxg==} + '@rolldown/binding-linux-arm64-gnu@1.0.0-rc.12': + resolution: {integrity: sha512-/I5AS4cIroLpslsmzXfwbe5OmWvSsrFuEw3mwvbQ1kDxJ822hFHIx+vsN/TAzNVyepI/j/GSzrtCIwQPeKCLIg==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [arm64] os: [linux] libc: [glibc] - '@rolldown/binding-linux-arm64-musl@1.0.0-rc.9': - resolution: {integrity: sha512-JA1QRW31ogheAIRhIg9tjMfsYbglXXYGNPLdPEYrwFxdbkQCAzvpSCSHCDWNl4hTtrol8WeboCSEpjdZK8qrCg==} + '@rolldown/binding-linux-arm64-musl@1.0.0-rc.12': + resolution: {integrity: sha512-V6/wZztnBqlx5hJQqNWwFdxIKN0m38p8Jas+VoSfgH54HSj9tKTt1dZvG6JRHcjh6D7TvrJPWFGaY9UBVOaWPw==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [arm64] os: [linux] libc: [musl] - '@rolldown/binding-linux-ppc64-gnu@1.0.0-rc.9': - resolution: {integrity: sha512-aOKU9dJheda8Kj8Y3w9gnt9QFOO+qKPAl8SWd7JPHP+Cu0EuDAE5wokQubLzIDQWg2myXq2XhTpOVS07qqvT+w==} + '@rolldown/binding-linux-ppc64-gnu@1.0.0-rc.12': + resolution: {integrity: sha512-AP3E9BpcUYliZCxa3w5Kwj9OtEVDYK6sVoUzy4vTOJsjPOgdaJZKFmN4oOlX0Wp0RPV2ETfmIra9x1xuayFB7g==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [ppc64] os: [linux] libc: [glibc] - '@rolldown/binding-linux-s390x-gnu@1.0.0-rc.9': - resolution: {integrity: sha512-OalO94fqj7IWRn3VdXWty75jC5dk4C197AWEuMhIpvVv2lw9fiPhud0+bW2ctCxb3YoBZor71QHbY+9/WToadA==} + '@rolldown/binding-linux-s390x-gnu@1.0.0-rc.12': + resolution: {integrity: sha512-nWwpvUSPkoFmZo0kQazZYOrT7J5DGOJ/+QHHzjvNlooDZED8oH82Yg67HvehPPLAg5fUff7TfWFHQS8IV1n3og==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [s390x] os: [linux] libc: [glibc] - '@rolldown/binding-linux-x64-gnu@1.0.0-rc.9': - resolution: {integrity: sha512-cVEl1vZtBsBZna3YMjGXNvnYYrOJ7RzuWvZU0ffvJUexWkukMaDuGhUXn0rjnV0ptzGVkvc+vW9Yqy6h8YX4pg==} + '@rolldown/binding-linux-x64-gnu@1.0.0-rc.12': + resolution: {integrity: sha512-RNrafz5bcwRy+O9e6P8Z/OCAJW/A+qtBczIqVYwTs14pf4iV1/+eKEjdOUta93q2TsT/FI0XYDP3TCky38LMAg==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [x64] os: [linux] libc: [glibc] - '@rolldown/binding-linux-x64-musl@1.0.0-rc.9': - resolution: {integrity: sha512-UzYnKCIIc4heAKgI4PZ3dfBGUZefGCJ1TPDuLHoCzgrMYPb5Rv6TLFuYtyM4rWyHM7hymNdsg5ik2C+UD9VDbA==} + '@rolldown/binding-linux-x64-musl@1.0.0-rc.12': + resolution: {integrity: sha512-Jpw/0iwoKWx3LJ2rc1yjFrj+T7iHZn2JDg1Yny1ma0luviFS4mhAIcd1LFNxK3EYu3DHWCps0ydXQ5i/rrJ2ig==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [x64] os: [linux] libc: [musl] - '@rolldown/binding-openharmony-arm64@1.0.0-rc.9': - resolution: {integrity: sha512-+6zoiF+RRyf5cdlFQP7nm58mq7+/2PFaY2DNQeD4B87N36JzfF/l9mdBkkmTvSYcYPE8tMh/o3cRlsx1ldLfog==} + '@rolldown/binding-openharmony-arm64@1.0.0-rc.12': + resolution: {integrity: sha512-vRugONE4yMfVn0+7lUKdKvN4D5YusEiPilaoO2sgUWpCvrncvWgPMzK00ZFFJuiPgLwgFNP5eSiUlv2tfc+lpA==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [arm64] os: [openharmony] - '@rolldown/binding-wasm32-wasi@1.0.0-rc.9': - resolution: {integrity: sha512-rgFN6sA/dyebil3YTlL2evvi/M+ivhfnyxec7AccTpRPccno/rPoNlqybEZQBkcbZu8Hy+eqNJCqfBR8P7Pg8g==} + '@rolldown/binding-wasm32-wasi@1.0.0-rc.12': + resolution: {integrity: sha512-ykGiLr/6kkiHc0XnBfmFJuCjr5ZYKKofkx+chJWDjitX+KsJuAmrzWhwyOMSHzPhzOHOy7u9HlFoa5MoAOJ/Zg==} engines: {node: '>=14.0.0'} cpu: [wasm32] - '@rolldown/binding-win32-arm64-msvc@1.0.0-rc.9': - resolution: {integrity: sha512-lHVNUG/8nlF1IQk1C0Ci574qKYyty2goMiPlRqkC5R+3LkXDkL5Dhx8ytbxq35m+pkHVIvIxviD+TWLdfeuadA==} + '@rolldown/binding-win32-arm64-msvc@1.0.0-rc.12': + resolution: {integrity: sha512-5eOND4duWkwx1AzCxadcOrNeighiLwMInEADT0YM7xeEOOFcovWZCq8dadXgcRHSf3Ulh1kFo/qvzoFiCLOL1Q==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [arm64] os: [win32] - '@rolldown/binding-win32-x64-msvc@1.0.0-rc.9': - resolution: {integrity: sha512-G0oA4+w1iY5AGi5HcDTxWsoxF509hrFIPB2rduV5aDqS9FtDg1CAfa7V34qImbjfhIcA8C+RekocJZA96EarwQ==} + '@rolldown/binding-win32-x64-msvc@1.0.0-rc.12': + resolution: {integrity: sha512-PyqoipaswDLAZtot351MLhrlrh6lcZPo2LSYE+VDxbVk24LVKAGOuE4hb8xZQmrPAuEtTZW8E6D2zc5EUZX4Lw==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [x64] os: [win32] + '@rolldown/pluginutils@1.0.0-rc.12': + resolution: {integrity: sha512-HHMwmarRKvoFsJorqYlFeFRzXZqCt2ETQlEDOb9aqssrnVBB1/+xgTGtuTrIk5vzLNX1MjMtTf7W9z3tsSbrxw==} + '@rolldown/pluginutils@1.0.0-rc.2': resolution: {integrity: sha512-izyXV/v+cHiRfozX62W9htOAvwMo4/bXKDrQ+vom1L1qRuexPock/7VZDAhnpHCLNejd3NJ6hiab+tO0D44Rgw==} - '@rolldown/pluginutils@1.0.0-rc.9': - resolution: {integrity: sha512-w6oiRWgEBl04QkFZgmW+jnU1EC9b57Oihi2ot3HNWIQRqgHp5PnYDia5iZ5FF7rpa4EQdiqMDXjlqKGXBhsoXw==} - '@rollup/pluginutils@5.3.0': resolution: {integrity: sha512-5EdhGZtnu3V88ces7s53hhfK5KSASnJZv8Lulpc04cWO3REESroJXg73DFsOmgbU2BhwV0E20bu2IDZb3VKW4Q==} engines: {node: '>=14.0.0'} @@ -1400,12 +1402,21 @@ packages: cpu: [x64] os: [win32] + '@standard-schema/spec@1.1.0': + resolution: {integrity: sha512-l2aFy5jALhniG5HgqrD6jXLi/rUWrKvqN/qJx6yoJsgKhblVd+iqqU4RCXavm/jPityDo5TCvKMnpjKnOriy0w==} + '@tsconfig/node24@24.0.4': resolution: {integrity: sha512-2A933l5P5oCbv6qSxHs7ckKwobs8BDAe9SJ/Xr2Hy+nDlwmLE1GhFh/g/vXGRZWgxBg9nX/5piDtHR9Dkw/XuA==} '@tybys/wasm-util@0.10.1': resolution: {integrity: sha512-9tTaPJLSiejZKx+Bmog4uSubteqTvFrVrURwkmHixBo0G4seD0zUxp98E1DzUBJxLQ3NPwXrGKDiVjwx/DpPsg==} + '@types/chai@5.2.3': + resolution: {integrity: sha512-Mw558oeA9fFbv65/y4mHtXDs9bPnFMZAL/jxdPFUpOHHIXX91mcgEHbS5Lahr+pwZFR8A7GQleRWeI6cGFC2UA==} + + '@types/deep-eql@4.0.2': + resolution: {integrity: sha512-c9h9dVVMigMPc4bwTvC5dxqtqJZwQPePsWjPlpSOnojbor6pGqdk541lfA7AqFQr5pB1BRdq0juY9db81BwyFw==} + '@types/esrecurse@4.3.1': resolution: {integrity: sha512-xJBAbDifo5hpffDBuHl0Y8ywswbiAp/Wi7Y/GtAgSlZyIABppyurxVueOPE8LUQOxdlgi6Zqce7uoEpqNTeiUw==} @@ -1442,11 +1453,11 @@ packages: eslint: ^8.57.0 || ^9.0.0 || ^10.0.0 typescript: '>=4.8.4 <6.0.0' - '@typescript-eslint/eslint-plugin@8.57.0': - resolution: {integrity: sha512-qeu4rTHR3/IaFORbD16gmjq9+rEs9fGKdX0kF6BKSfi+gCuG3RCKLlSBYzn/bGsY9Tj7KE/DAQStbp8AHJGHEQ==} + '@typescript-eslint/eslint-plugin@8.57.2': + resolution: {integrity: sha512-NZZgp0Fm2IkD+La5PR81sd+g+8oS6JwJje+aRWsDocxHkjyRw0J5L5ZTlN3LI1LlOcGL7ph3eaIUmTXMIjLk0w==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} peerDependencies: - '@typescript-eslint/parser': ^8.57.0 + '@typescript-eslint/parser': ^8.57.2 eslint: ^8.57.0 || ^9.0.0 || ^10.0.0 typescript: '>=4.8.4 <6.0.0' @@ -1463,8 +1474,8 @@ packages: peerDependencies: typescript: '>=4.8.4 <6.0.0' - '@typescript-eslint/project-service@8.57.0': - resolution: {integrity: sha512-pR+dK0BlxCLxtWfaKQWtYr7MhKmzqZxuii+ZjuFlZlIGRZm22HnXFqa2eY+90MUz8/i80YJmzFGDUsi8dMOV5w==} + '@typescript-eslint/project-service@8.57.2': + resolution: {integrity: sha512-FuH0wipFywXRTHf+bTTjNyuNQQsQC3qh/dYzaM4I4W0jrCqjCVuUh99+xd9KamUfmCGPvbO8NDngo/vsnNVqgw==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} peerDependencies: typescript: '>=4.8.4 <6.0.0' @@ -1473,8 +1484,8 @@ packages: resolution: {integrity: sha512-7UiO/XwMHquH+ZzfVCfUNkIXlp/yQjjnlYUyYz7pfvlK3/EyyN6BK+emDmGNyQLBtLGaYrTAI6KOw8tFucWL2w==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} - '@typescript-eslint/scope-manager@8.57.0': - resolution: {integrity: sha512-nvExQqAHF01lUM66MskSaZulpPL5pgy5hI5RfrxviLgzZVffB5yYzw27uK/ft8QnKXI2X0LBrHJFr1TaZtAibw==} + '@typescript-eslint/scope-manager@8.57.2': + resolution: {integrity: sha512-snZKH+W4WbWkrBqj4gUNRIGb/jipDW3qMqVJ4C9rzdFc+wLwruxk+2a5D+uoFcKPAqyqEnSb4l2ULuZf95eSkw==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} '@typescript-eslint/tsconfig-utils@8.56.0': @@ -1483,8 +1494,8 @@ packages: peerDependencies: typescript: '>=4.8.4 <6.0.0' - '@typescript-eslint/tsconfig-utils@8.57.0': - resolution: {integrity: sha512-LtXRihc5ytjJIQEH+xqjB0+YgsV4/tW35XKX3GTZHpWtcC8SPkT/d4tqdf1cKtesryHm2bgp6l555NYcT2NLvA==} + '@typescript-eslint/tsconfig-utils@8.57.2': + resolution: {integrity: sha512-3Lm5DSM+DCowsUOJC+YqHHnKEfFh5CoGkj5Z31NQSNF4l5wdOwqGn99wmwN/LImhfY3KJnmordBq/4+VDe2eKw==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} peerDependencies: typescript: '>=4.8.4 <6.0.0' @@ -1496,8 +1507,8 @@ packages: eslint: ^8.57.0 || ^9.0.0 || ^10.0.0 typescript: '>=4.8.4 <6.0.0' - '@typescript-eslint/type-utils@8.57.0': - resolution: {integrity: sha512-yjgh7gmDcJ1+TcEg8x3uWQmn8ifvSupnPfjP21twPKrDP/pTHlEQgmKcitzF/rzPSmv7QjJ90vRpN4U+zoUjwQ==} + '@typescript-eslint/type-utils@8.57.2': + resolution: {integrity: sha512-Co6ZCShm6kIbAM/s+oYVpKFfW7LBc6FXoPXjTRQ449PPNBY8U0KZXuevz5IFuuUj2H9ss40atTaf9dlGLzbWZg==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} peerDependencies: eslint: ^8.57.0 || ^9.0.0 || ^10.0.0 @@ -1507,8 +1518,8 @@ packages: resolution: {integrity: sha512-DBsLPs3GsWhX5HylbP9HNG15U0bnwut55Lx12bHB9MpXxQ+R5GC8MwQe+N1UFXxAeQDvEsEDY6ZYwX03K7Z6HQ==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} - '@typescript-eslint/types@8.57.0': - resolution: {integrity: sha512-dTLI8PEXhjUC7B9Kre+u0XznO696BhXcTlOn0/6kf1fHaQW8+VjJAVHJ3eTI14ZapTxdkOmc80HblPQLaEeJdg==} + '@typescript-eslint/types@8.57.2': + resolution: {integrity: sha512-/iZM6FnM4tnx9csuTxspMW4BOSegshwX5oBDznJ7S4WggL7Vczz5d2W11ecc4vRrQMQHXRSxzrCsyG5EsPPTbA==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} '@typescript-eslint/typescript-estree@8.56.0': @@ -1517,8 +1528,8 @@ packages: peerDependencies: typescript: '>=4.8.4 <6.0.0' - '@typescript-eslint/typescript-estree@8.57.0': - resolution: {integrity: sha512-m7faHcyVg0BT3VdYTlX8GdJEM7COexXxS6KqGopxdtkQRvBanK377QDHr4W/vIPAR+ah9+B/RclSW5ldVniO1Q==} + '@typescript-eslint/typescript-estree@8.57.2': + resolution: {integrity: sha512-2MKM+I6g8tJxfSmFKOnHv2t8Sk3T6rF20A1Puk0svLK+uVapDZB/4pfAeB7nE83uAZrU6OxW+HmOd5wHVdXwXA==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} peerDependencies: typescript: '>=4.8.4 <6.0.0' @@ -1530,8 +1541,8 @@ packages: eslint: ^8.57.0 || ^9.0.0 || ^10.0.0 typescript: '>=4.8.4 <6.0.0' - '@typescript-eslint/utils@8.57.0': - resolution: {integrity: sha512-5iIHvpD3CZe06riAsbNxxreP+MuYgVUsV0n4bwLH//VJmgtt54sQeY2GszntJ4BjYCpMzrfVh2SBnUQTtys2lQ==} + '@typescript-eslint/utils@8.57.2': + resolution: {integrity: sha512-krRIbvPK1ju1WBKIefiX+bngPs+odIQUtR7kymzPfo1POVw3jlF+nLkmexdSSd4UCbDcQn+wMBATOOmpBbqgKg==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} peerDependencies: eslint: ^8.57.0 || ^9.0.0 || ^10.0.0 @@ -1541,8 +1552,8 @@ packages: resolution: {integrity: sha512-q+SL+b+05Ud6LbEE35qe4A99P+htKTKVbyiNEe45eCbJFyh/HVK9QXwlrbz+Q4L8SOW4roxSVwXYj4DMBT7Ieg==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} - '@typescript-eslint/visitor-keys@8.57.0': - resolution: {integrity: sha512-zm6xx8UT/Xy2oSr2ZXD0pZo7Jx2XsCoID2IUh9YSTFRu7z+WdwYTRk6LhUftm1crwqbuoF6I8zAFeCMw0YjwDg==} + '@typescript-eslint/visitor-keys@8.57.2': + resolution: {integrity: sha512-zhahknjobV2FiD6Ee9iLbS7OV9zi10rG26odsQdfBO/hjSzUQbkIYgda+iNKK1zNiW2ey+Lf8MU5btN17V3dUw==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} '@videojs/http-streaming@3.17.4': @@ -1558,8 +1569,8 @@ packages: '@videojs/xhr@2.7.0': resolution: {integrity: sha512-giab+EVRanChIupZK7gXjHy90y3nncA2phIOyG3Ne5fvpiMJzvqYwiTOnEVW2S4CoYcuKJkomat7bMXA/UoUZQ==} - '@vitejs/plugin-legacy@8.0.0': - resolution: {integrity: sha512-o5BmEuu4N+woyv+yUsiDrMUfMntJ1kEJITUYLd2ELOAETObwkWNFn5GNIQLLGx8liaobIvoXeSRiM/aYVIaeTQ==} + '@vitejs/plugin-legacy@8.0.1': + resolution: {integrity: sha512-8zeDeuNPqXd49rIVgFgluQYB8vQICHR7l+W2I3CxYK4gTjTorajVr0wLvSjALIwEwLRxBn68EgNVyGP4j6hP7w==} engines: {node: ^20.19.0 || >=22.12.0} peerDependencies: terser: ^5.16.0 @@ -1572,6 +1583,35 @@ packages: vite: ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0 vue: ^3.2.25 + '@vitest/expect@4.1.2': + resolution: {integrity: sha512-gbu+7B0YgUJ2nkdsRJrFFW6X7NTP44WlhiclHniUhxADQJH5Szt9mZ9hWnJPJ8YwOK5zUOSSlSvyzRf0u1DSBQ==} + + '@vitest/mocker@4.1.2': + resolution: {integrity: sha512-Ize4iQtEALHDttPRCmN+FKqOl2vxTiNUhzobQFFt/BM1lRUTG7zRCLOykG/6Vo4E4hnUdfVLo5/eqKPukcWW7Q==} + peerDependencies: + msw: ^2.4.9 + vite: ^6.0.0 || ^7.0.0 || ^8.0.0 + peerDependenciesMeta: + msw: + optional: true + vite: + optional: true + + '@vitest/pretty-format@4.1.2': + resolution: {integrity: sha512-dwQga8aejqeuB+TvXCMzSQemvV9hNEtDDpgUKDzOmNQayl2OG241PSWeJwKRH3CiC+sESrmoFd49rfnq7T4RnA==} + + '@vitest/runner@4.1.2': + resolution: {integrity: sha512-Gr+FQan34CdiYAwpGJmQG8PgkyFVmARK8/xSijia3eTFgVfpcpztWLuP6FttGNfPLJhaZVP/euvujeNYar36OQ==} + + '@vitest/snapshot@4.1.2': + resolution: {integrity: sha512-g7yfUmxYS4mNxk31qbOYsSt2F4m1E02LFqO53Xpzg3zKMhLAPZAjjfyl9e6z7HrW6LvUdTwAQR3HHfLjpko16A==} + + '@vitest/spy@4.1.2': + resolution: {integrity: sha512-DU4fBnbVCJGNBwVA6xSToNXrkZNSiw59H8tcuUspVMsBDBST4nfvsPsEHDHGtWRRnqBERBQu7TrTKskmjqTXKA==} + + '@vitest/utils@4.1.2': + resolution: {integrity: sha512-xw2/TiX82lQHA06cgbqRKFb5lCAy3axQ4H4SoUFhUsg+wztiet+co86IAMDtF6Vm1hc7J6j09oh/rgDn+JdKIQ==} + '@volar/language-core@2.4.28': resolution: {integrity: sha512-w4qhIJ8ZSitgLAkVay6AbcnC7gP3glYM3fYwKV3srj8m494E3xtrCv6E+bWviiK/8hs6e6t1ij1s2Endql7vzQ==} @@ -1590,29 +1630,17 @@ packages: vue: optional: true - '@vue/compiler-core@3.5.28': - resolution: {integrity: sha512-kviccYxTgoE8n6OCw96BNdYlBg2GOWfBuOW4Vqwrt7mSKWKwFVvI8egdTltqRgITGPsTFYtKYfxIG8ptX2PJHQ==} + '@vue/compiler-core@3.5.31': + resolution: {integrity: sha512-k/ueL14aNIEy5Onf0OVzR8kiqF/WThgLdFhxwa4e/KF/0qe38IwIdofoSWBTvvxQOesaz6riAFAUaYjoF9fLLQ==} - '@vue/compiler-core@3.5.30': - resolution: {integrity: sha512-s3DfdZkcu/qExZ+td75015ljzHc6vE+30cFMGRPROYjqkroYI5NV2X1yAMX9UeyBNWB9MxCfPcsjpLS11nzkkw==} + '@vue/compiler-dom@3.5.31': + resolution: {integrity: sha512-BMY/ozS/xxjYqRFL+tKdRpATJYDTTgWSo0+AJvJNg4ig+Hgb0dOsHPXvloHQ5hmlivUqw1Yt2pPIqp4e0v1GUw==} - '@vue/compiler-dom@3.5.28': - resolution: {integrity: sha512-/1ZepxAb159jKR1btkefDP+J2xuWL5V3WtleRmxaT+K2Aqiek/Ab/+Ebrw2pPj0sdHO8ViAyyJWfhXXOP/+LQA==} + '@vue/compiler-sfc@3.5.31': + resolution: {integrity: sha512-M8wpPgR9UJ8MiRGjppvx9uWJfLV7A/T+/rL8s/y3QG3u0c2/YZgff3d6SuimKRIhcYnWg5fTfDMlz2E6seUW8Q==} - '@vue/compiler-dom@3.5.30': - resolution: {integrity: sha512-eCFYESUEVYHhiMuK4SQTldO3RYxyMR/UQL4KdGD1Yrkfdx4m/HYuZ9jSfPdA+nWJY34VWndiYdW/wZXyiPEB9g==} - - '@vue/compiler-sfc@3.5.28': - resolution: {integrity: sha512-6TnKMiNkd6u6VeVDhZn/07KhEZuBSn43Wd2No5zaP5s3xm8IqFTHBj84HJah4UepSUJTro5SoqqlOY22FKY96g==} - - '@vue/compiler-sfc@3.5.30': - resolution: {integrity: sha512-LqmFPDn89dtU9vI3wHJnwaV6GfTRD87AjWpTWpyrdVOObVtjIuSeZr181z5C4PmVx/V3j2p+0f7edFKGRMpQ5A==} - - '@vue/compiler-ssr@3.5.28': - resolution: {integrity: sha512-JCq//9w1qmC6UGLWJX7RXzrGpKkroubey/ZFqTpvEIDJEKGgntuDMqkuWiZvzTzTA5h2qZvFBFHY7fAAa9475g==} - - '@vue/compiler-ssr@3.5.30': - resolution: {integrity: sha512-NsYK6OMTnx109PSL2IAyf62JP6EUdk4Dmj6AkWcJGBvN0dQoMYtVekAmdqgTtWQgEJo+Okstbf/1p7qZr5H+bA==} + '@vue/compiler-ssr@3.5.31': + resolution: {integrity: sha512-h0xIMxrt/LHOvJKMri+vdYT92BrK3HFLtDqq9Pr/lVVfE4IyKZKvWf0vJFW10Yr6nX02OR4MkJwI0c1HDa1hog==} '@vue/devtools-api@6.6.4': resolution: {integrity: sha512-sGhTPMuXqZ1rVOk32RylztWkfXTRhuS7vgAKv0zjqk8gbsHkJ7xfFf+jbySxt7tWObEJwyKaHMikV/WGDiQm8g==} @@ -1620,20 +1648,20 @@ packages: '@vue/devtools-api@7.7.9': resolution: {integrity: sha512-kIE8wvwlcZ6TJTbNeU2HQNtaxLx3a84aotTITUuL/4bzfPxzajGBOoqjMhwZJ8L9qFYDU/lAYMEEm11dnZOD6g==} - '@vue/devtools-api@8.0.6': - resolution: {integrity: sha512-+lGBI+WTvJmnU2FZqHhEB8J1DXcvNlDeEalz77iYgOdY1jTj1ipSBaKj3sRhYcy+kqA8v/BSuvOz1XJucfQmUA==} + '@vue/devtools-api@8.1.1': + resolution: {integrity: sha512-bsDMJ07b3GN1puVwJb/fyFnj/U2imyswK5UQVLZwVl7O05jDrt6BHxeG5XffmOOdasOj/bOmIjxJvGPxU7pcqw==} '@vue/devtools-kit@7.7.9': resolution: {integrity: sha512-PyQ6odHSgiDVd4hnTP+aDk2X4gl2HmLDfiyEnn3/oV+ckFDuswRs4IbBT7vacMuGdwY/XemxBoh302ctbsptuA==} - '@vue/devtools-kit@8.0.6': - resolution: {integrity: sha512-9zXZPTJW72OteDXeSa5RVML3zWDCRcO5t77aJqSs228mdopYj5AiTpihozbsfFJ0IodfNs7pSgOGO3qfCuxDtw==} + '@vue/devtools-kit@8.1.1': + resolution: {integrity: sha512-gVBaBv++i+adg4JpH71k9ppl4soyR7Y2McEqO5YNgv0BI1kMZ7BDX5gnwkZ5COYgiCyhejZG+yGNrBAjj6Coqg==} '@vue/devtools-shared@7.7.9': resolution: {integrity: sha512-iWAb0v2WYf0QWmxCGy0seZNDPdO3Sp5+u78ORnyeonS6MT4PC7VPrryX2BpMJrwlDeaZ6BD4vP4XKjK0SZqaeA==} - '@vue/devtools-shared@8.0.6': - resolution: {integrity: sha512-Pp1JylTqlgMJvxW6MGyfTF8vGvlBSCAvMFaDCYa82Mgw7TT5eE5kkHgDvmOGHWeJE4zIDfCpCxHapsK2LtIAJg==} + '@vue/devtools-shared@8.1.1': + resolution: {integrity: sha512-+h4ttmJYl/txpxHKaoZcaKpC+pvckgLzIDiSQlaQ7kKthKh8KuwoLW2D8hPJEnqKzXOvu15UHEoGyngAXCz0EQ==} '@vue/eslint-config-prettier@10.2.0': resolution: {integrity: sha512-GL3YBLwv/+b86yHcNNfPJxOTtVFJ4Mbc9UU3zR+KVoG7SwGTjPT+32fXamscNumElhcpXW3mT0DgzS9w32S7Bw==} @@ -1652,33 +1680,30 @@ packages: typescript: optional: true - '@vue/language-core@3.2.5': - resolution: {integrity: sha512-d3OIxN/+KRedeM5wQ6H6NIpwS3P5gC9nmyaHgBk+rO6dIsjY+tOh4UlPpiZbAh3YtLdCGEX4M16RmsBqPmJV+g==} + '@vue/language-core@3.2.6': + resolution: {integrity: sha512-xYYYX3/aVup576tP/23sEUpgiEnujrENaoNRbaozC1/MA9I6EGFQRJb4xrt/MmUCAGlxTKL2RmT8JLTPqagCkg==} - '@vue/reactivity@3.5.30': - resolution: {integrity: sha512-179YNgKATuwj9gB+66snskRDOitDiuOZqkYia7mHKJaidOMo/WJxHKF8DuGc4V4XbYTJANlfEKb0yxTQotnx4Q==} + '@vue/reactivity@3.5.31': + resolution: {integrity: sha512-DtKXxk9E/KuVvt8VxWu+6Luc9I9ETNcqR1T1oW1gf02nXaZ1kuAx58oVu7uX9XxJR0iJCro6fqBLw9oSBELo5g==} - '@vue/runtime-core@3.5.30': - resolution: {integrity: sha512-e0Z+8PQsUTdwV8TtEsLzUM7SzC7lQwYKePydb7K2ZnmS6jjND+WJXkmmfh/swYzRyfP1EY3fpdesyYoymCzYfg==} + '@vue/runtime-core@3.5.31': + resolution: {integrity: sha512-AZPmIHXEAyhpkmN7aWlqjSfYynmkWlluDNPHMCZKFHH+lLtxP/30UJmoVhXmbDoP1Ng0jG0fyY2zCj1PnSSA6Q==} - '@vue/runtime-dom@3.5.30': - resolution: {integrity: sha512-2UIGakjU4WSQ0T4iwDEW0W7vQj6n7AFn7taqZ9Cvm0Q/RA2FFOziLESrDL4GmtI1wV3jXg5nMoJSYO66egDUBw==} + '@vue/runtime-dom@3.5.31': + resolution: {integrity: sha512-xQJsNRmGPeDCJq/u813tyonNgWBFjzfVkBwDREdEWndBnGdHLHgkwNBQxLtg4zDrzKTEcnikUy1UUNecb3lJ6g==} - '@vue/server-renderer@3.5.30': - resolution: {integrity: sha512-v+R34icapydRwbZRD0sXwtHqrQJv38JuMB4JxbOxd8NEpGLny7cncMp53W9UH/zo4j8eDHjQ1dEJXwzFQknjtQ==} + '@vue/server-renderer@3.5.31': + resolution: {integrity: sha512-GJuwRvMcdZX/CriUnyIIOGkx3rMV3H6sOu0JhdKbduaeCji6zb60iOGMY7tFoN24NfsUYoFBhshZtGxGpxO4iA==} peerDependencies: - vue: 3.5.30 + vue: 3.5.31 - '@vue/shared@3.5.28': - resolution: {integrity: sha512-cfWa1fCGBxrvaHRhvV3Is0MgmrbSCxYTXCSCau2I0a1Xw1N1pHAvkWCiXPRAqjvToILvguNyEwjevUqAuBQWvQ==} + '@vue/shared@3.5.31': + resolution: {integrity: sha512-nBxuiuS9Lj5bPkPbWogPUnjxxWpkRniX7e5UBQDWl6Fsf4roq9wwV+cR7ezQ4zXswNvPIlsdj1slcLB7XCsRAw==} - '@vue/shared@3.5.30': - resolution: {integrity: sha512-YXgQ7JjaO18NeK2K9VTbDHaFy62WrObMa6XERNfNOkAhD1F1oDSf3ZJ7K6GqabZ0BvSDHajp8qfS5Sa2I9n8uQ==} - - '@vue/tsconfig@0.9.0': - resolution: {integrity: sha512-RP+v9Cpbsk1ZVXltCHHkYBr7+624x6gcijJXVjIcsYk7JXqvIpRtMwU2ARLvWDhmy9ffdFYxhsfJnPztADBohQ==} + '@vue/tsconfig@0.9.1': + resolution: {integrity: sha512-buvjm+9NzLCJL29KY1j1991YYJ5e6275OiK+G4jtmfIb+z4POywbdm0wXusT9adVWqe0xqg70TbI7+mRx4uU9w==} peerDependencies: - typescript: 5.x + typescript: '>= 5.8' vue: ^3.4.0 peerDependenciesMeta: typescript: @@ -1758,11 +1783,6 @@ packages: peerDependencies: acorn: ^6.0.0 || ^7.0.0 || ^8.0.0 - acorn@8.15.0: - resolution: {integrity: sha512-NZyJarBfL7nWwIq+FDL6Zp/yHEhePMNnnJ0y3qfieCrmNvYct8uvtiV41UvlSe6apAfk0fY1FbWx+NwfmpvtTg==} - engines: {node: '>=0.4.0'} - hasBin: true - acorn@8.16.0: resolution: {integrity: sha512-UVJyE9MttOsBQIDKw1skb9nAwQuR5wuGD3+82K6JgJlm/Y+KI92oNsMNGZCYdDsVtRHSak0pcV5Dno5+4jh9sw==} engines: {node: '>=0.4.0'} @@ -1777,6 +1797,10 @@ packages: alien-signals@3.1.2: resolution: {integrity: sha512-d9dYqZTS90WLiU0I5c6DHj/HcKkF8ZyGN3G5x8wSbslulz70KOxaqCT0hQCo9KOyhVqzqGojvNdJXoTumZOtcw==} + assertion-error@2.0.1: + resolution: {integrity: sha512-Izi8RQcffqCeNVgFigKli1ssklIbpHnCYc6AknXGYoB6grJqyeby7jv12JUQgmTAnIDnbck1uxksT4dzN3PWBA==} + engines: {node: '>=12'} + ast-kit@2.2.0: resolution: {integrity: sha512-m1Q/RaVOnTp9JxPX+F+Zn7IcLYMzM8kZofDImfsKZd8MbR+ikdOzTeztStWqfrqIxZnYWryyI9ePm3NGjnZgGw==} engines: {node: '>=20.19.0'} @@ -1792,18 +1816,18 @@ packages: peerDependencies: postcss: ^8.1.0 - babel-plugin-polyfill-corejs2@0.4.15: - resolution: {integrity: sha512-hR3GwrRwHUfYwGfrisXPIDP3JcYfBrW7wKE7+Au6wDYl7fm/ka1NEII6kORzxNU556JjfidZeBsO10kYvtV1aw==} + babel-plugin-polyfill-corejs2@0.4.17: + resolution: {integrity: sha512-aTyf30K/rqAsNwN76zYrdtx8obu0E4KoUME29B1xj+B3WxgvWkp943vYQ+z8Mv3lw9xHXMHpvSPOBxzAkIa94w==} peerDependencies: '@babel/core': ^7.4.0 || ^8.0.0-0 <8.0.0 - babel-plugin-polyfill-corejs3@0.14.1: - resolution: {integrity: sha512-ENp89vM9Pw4kv/koBb5N2f9bDZsR0hpf3BdPMOg/pkS3pwO4dzNnQZVXtBbeyAadgm865DmQG2jMMLqmZXvuCw==} + babel-plugin-polyfill-corejs3@0.14.2: + resolution: {integrity: sha512-coWpDLJ410R781Npmn/SIBZEsAetR4xVi0SxLMXPaMO4lSf1MwnkGYMtkFxew0Dn8B3/CpbpYxN0JCgg8mn67g==} peerDependencies: '@babel/core': ^7.4.0 || ^8.0.0-0 <8.0.0 - babel-plugin-polyfill-regenerator@0.6.7: - resolution: {integrity: sha512-OTYbUlSwXhNgr4g6efMZgsO8//jA61P7ZbRX3iTT53VON8l+WQS8IAUEVo4a4cWknrg2W8Cj4gQhRYNCJ8GkAA==} + babel-plugin-polyfill-regenerator@0.6.8: + resolution: {integrity: sha512-M762rNHfSF1EV3SLtnCJXFoQbbIIz0OyRwnCmV0KPC7qosSfCO0QLTSuJX3ayAebubhE6oYBAYPrBA5ljowaZg==} peerDependencies: '@babel/core': ^7.4.0 || ^8.0.0-0 <8.0.0 @@ -1827,8 +1851,8 @@ packages: brace-expansion@2.0.2: resolution: {integrity: sha512-Jt0vHyM+jmUBqojB7E1NIYadt0vI0Qxjxd2TErW94wDz+E2LAm5vKMXXwg6ZZBTHPuUlDgQHKXvjGBdfcF1ZDQ==} - brace-expansion@5.0.4: - resolution: {integrity: sha512-h+DEnpVvxmfVefa4jFbCf5HdH5YMDXRsmKflpf1pILZWRFlTbJpxeU55nJl4Smt5HQaGzg1o6RHFPJaOqnmBDg==} + brace-expansion@5.0.5: + resolution: {integrity: sha512-VZznLgtwhn+Mact9tfiwx64fA9erHH/MCXEUfB/0bX/6Fz6ny5EGTXYltMocqg4xFAQZtnO3DHWWXi8RiuN7cQ==} engines: {node: 18 || 20 || >=22} braces@3.0.3: @@ -1853,6 +1877,10 @@ packages: caniuse-lite@1.0.30001774: resolution: {integrity: sha512-DDdwPGz99nmIEv216hKSgLD+D4ikHQHjBC/seF98N9CPqRX4M5mSxT9eTV6oyisnJcuzxtZy4n17yKKQYmYQOA==} + chai@6.2.2: + resolution: {integrity: sha512-NUPRluOfOiTKBKvWPtSD4PhFvWCqOi0BGStNWs57X9js7XGTprSmFoz5F0tWhR4WPjNeR9jXqdC7/UpSJTnlRg==} + engines: {node: '>=18'} + chokidar@5.0.0: resolution: {integrity: sha512-TQMmc3w+5AxjpL8iIiwebF73dRDF4fBIieAqGn9RGCWaEVwQ6Fb2cGe31Yns0RRIzii5goJ1Y7xbMwo1TxMplw==} engines: {node: '>= 20.19.0'} @@ -1880,12 +1908,15 @@ packages: resolution: {integrity: sha512-7Vv6asjS4gMOuILabD3l739tsaxFQmC+a7pLZm02zyvs8p977bL3zEgq3yDk5rn9B0PbYgIv++jmHcuUab4RhA==} engines: {node: '>=18'} - core-js-compat@3.48.0: - resolution: {integrity: sha512-OM4cAF3D6VtH/WkLtWvyNC56EZVXsZdU3iqaMG2B4WvYrlqU831pc4UtG5yp0sE9z8Y02wVN7PjW5Zf9Gt0f1Q==} + core-js-compat@3.49.0: + resolution: {integrity: sha512-VQXt1jr9cBz03b331DFDCCP90b3fanciLkgiOoy8SBHy06gNf+vQ1A3WFLqG7I8TipYIKeYK9wxd0tUrvHcOZA==} core-js@3.48.0: resolution: {integrity: sha512-zpEHTy1fjTMZCKLHUZoVeylt9XrzaIN2rbPXEt0k+q7JE5CkCZdo6bNq55bn24a69CH7ErAVLKijxJja4fw+UQ==} + core-js@3.49.0: + resolution: {integrity: sha512-es1U2+YTtzpwkxVLwAFdSpaIMyQaq0PBgm3YD1W3Qpsn1NAmO3KSgZfu+oGSWVu6NvLHoHCV/aYcsE5wiB7ALg==} + core-util-is@1.0.3: resolution: {integrity: sha512-ZQBvi1DcpJ4GDqanjucZ2Hj3wEO5pZDS89BWbkcrvdxksJorwUDDZamX9ldFkp9aw2lmBDLgkObEA4DWNJ9FYQ==} @@ -1901,8 +1932,8 @@ packages: csstype@3.2.3: resolution: {integrity: sha512-z1HGKcYy2xA8AGQfwrn0PAy+PB7X/GSj3UVJW9qKyn43xWa+gl5nXmU4qqLMRzWVLFC8KusUX8T/0kCiOYpAIQ==} - csv-parse@6.1.0: - resolution: {integrity: sha512-CEE+jwpgLn+MmtCpVcPtiCZpVtB6Z2OKPTr34pycYYoL7sxdOkXDdQ4lRiw6ioC0q6BLqhc6cKweCVvral8yhw==} + csv-parse@6.2.1: + resolution: {integrity: sha512-LRLMV+UCyfMokp8Wb411duBf1gaBKJfOfBWU9eHMJ+b+cJYZsNu3AFmjJf3+yPGd59Exz1TsMjaSFyxnYB9+IQ==} custom-error-instance@2.1.1: resolution: {integrity: sha512-p6JFxJc3M4OTD2li2qaHkDCw9SfMw82Ldr6OC9Je1aXiGfhx2W8p3GaoeaGrPJTUN9NirTM/KTxHWMUdR1rsUg==} @@ -1946,6 +1977,9 @@ packages: epubjs@0.3.93: resolution: {integrity: sha512-c06pNSdBxcXv3dZSbXAVLE1/pmleRhOT6mXNZo6INKmvuKpYB65MwU/lO7830czCtjIiK9i+KR+3S+p0wtljrw==} + es-module-lexer@2.0.0: + resolution: {integrity: sha512-5POEcUuZybH7IdmGsD8wlf0AI55wMecM9rVBTI/qEAy2c1kTOm3DjFYjrBdI2K3BaJjJYfYFeRtM0t9ssnRuxw==} + es5-ext@0.10.64: resolution: {integrity: sha512-p2snDhiLaXe6dahss1LddxqEm+SkuDvV8dnIQG0MWjyHpcMNfXKPE+/Cc0y+PhxJX3A4xGNeFCj5oc0BUh6deg==} engines: {node: '>=0.10'} @@ -2026,8 +2060,8 @@ packages: resolution: {integrity: sha512-tD40eHxA35h0PEIZNeIjkHoDR4YjjJp34biM0mDvplBe//mB+IHCqHDGV7pxF+7MklTvighcCPPZC7ynWyjdTA==} engines: {node: ^20.19.0 || ^22.13.0 || >=24} - eslint@10.0.3: - resolution: {integrity: sha512-COV33RzXZkqhG9P2rZCFl9ZmJ7WL+gQSCRzE7RhkbclbQPtLAWReL7ysA0Sh4c8Im2U9ynybdR56PV0XcKvqaQ==} + eslint@10.1.0: + resolution: {integrity: sha512-S9jlY/ELKEUwwQnqWDO+f+m6sercqOPSqXM5Go94l7DOmxHVDgmSFGWEzeE/gwgTAr0W103BWt0QLe/7mabIvA==} engines: {node: ^20.19.0 || ^22.13.0 || >=24} hasBin: true peerDependencies: @@ -2068,6 +2102,9 @@ packages: estree-walker@2.0.2: resolution: {integrity: sha512-Rfkk/Mp/DL7JVje3u18FxFujQlTNR2q6QfMSMB7AvCBx91NGj/ba3kCfza0f6dVDbw7YlRf/nDrn7pQrCCyQ/w==} + estree-walker@3.0.3: + resolution: {integrity: sha512-7RUKfXgSMMkzt6ZuXmqapOurLGPPfgj6l9uRZ7lRGolvk0y2yocc35LdcxKC5PQZdn2DMqioAQ2NoWcrTKmm6g==} + esutils@2.0.3: resolution: {integrity: sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==} engines: {node: '>=0.10.0'} @@ -2075,6 +2112,10 @@ packages: event-emitter@0.3.5: resolution: {integrity: sha512-D9rRn9y7kLPnJ+hMq7S/nhvoKwwvVJahBi2BPmx3bvbsEdK3W9ii8cBSGjP+72/LnM4n6fo3+dkCX5FeTQruXA==} + expect-type@1.3.0: + resolution: {integrity: sha512-knvyeauYhqjOYvQ66MznSMs83wmHrCycNEN6Ao+2AeYEfxUIkuiVxdEa1qlGEPK+We3n0THiDciYSsCcgW/DoA==} + engines: {node: '>=12.0.0'} + exsolve@1.0.8: resolution: {integrity: sha512-LmDxfWXwcTArk8fUEnOfSZpHOJ6zOMUJKOtFLFqJLoKJetuQG874Uc7/Kki7zFLzYybmZhp1M7+98pfMqeX8yA==} @@ -2113,8 +2154,8 @@ packages: resolution: {integrity: sha512-XXTUwCvisa5oacNGRP9SfNtYBNAMi+RPwBFmblZEF7N7swHYQS6/Zfk7SRwx4D5j3CH211YNRco1DEMNVfZCnQ==} engines: {node: '>=16.0.0'} - filesize@11.0.13: - resolution: {integrity: sha512-mYJ/qXKvREuO0uH8LTQJ6v7GsUvVOguqxg2VTwQUkyTPXXRRWPdjuUPVqdBrJQhvci48OHlNGRnux+Slr2Rnvw==} + filesize@11.0.14: + resolution: {integrity: sha512-2+pBV36IghE/lC78KmHqq4GGzSwqxisNb6YH17W6owdAFoXChND4WZ/51CUYXKyaEiJOhNKKsZSwZ8HbejrKTA==} engines: {node: '>= 10.8.0'} fill-range@7.1.1: @@ -2129,8 +2170,8 @@ packages: resolution: {integrity: sha512-f7ccFPK3SXFHpx15UIGyRJ/FJQctuKZ0zVuN3frBo4HnK3cay9VEW0R6yPYFHC0AgqhukPzKjq22t5DmAyqGyw==} engines: {node: '>=16'} - flatted@3.3.4: - resolution: {integrity: sha512-3+mMldrTAPdta5kjX2G2J7iX4zxtnwpdA8Tr2ZSjkyPSanvbZAcy6flmtnXbEybHrDcU9641lxrMfFuUxVz9vA==} + flatted@3.4.2: + resolution: {integrity: sha512-PjDse7RzhcPkIJwy5t7KPWQSZ9cAbzQXcafsetQoD7sOJRQlGikNbx7yZp2OotDnJyrDcbyRq3Ttb18iYOqkxA==} focus-trap@8.0.0: resolution: {integrity: sha512-Aa84FOGHs99vVwufDMdq2qgOwXPC2e9U66GcqBhn1/jEHPDhJaP8PYhkIbqG9lhfL5Kddk/567lj46LLHYCRUw==} @@ -2412,8 +2453,8 @@ packages: katex: '>=0.16 <0.17' marked: '>=4 <18' - marked@17.0.4: - resolution: {integrity: sha512-NOmVMM+KAokHMvjWmC5N/ZOvgmSWuqJB8FoYI019j4ogb/PeRMKoKIjReZ2w3376kkA8dSJIP8uD993Kxc0iRQ==} + marked@17.0.5: + resolution: {integrity: sha512-6hLvc0/JEbRjRgzI6wnT2P1XuM1/RrrDEX0kPt0N7jGm1133g6X7DlxFasUIx+72aKAr904GTxhSLDrd5DIlZg==} engines: {node: '>= 20'} hasBin: true @@ -2449,8 +2490,8 @@ packages: mitt@3.0.1: resolution: {integrity: sha512-vKivATfr97l2/QBCYAkXYDbrIWPM2IIKEl7YPhjCvKlG3kE2gm+uBo6nEXK3M5/Ffh/FLpKExzOQ3JJoJGFKBw==} - mlly@1.8.0: - resolution: {integrity: sha512-l8D9ODSRWLe2KHJSifWGwBqpTZXIXTeo8mlKjY+E2HAakaTeNpqAyBZ8GSqLzHgw4XmHmC8whvpjJNMbFZN7/g==} + mlly@1.8.2: + resolution: {integrity: sha512-d+ObxMQFmbt10sretNDytwt85VrbkhhUA/JBGm1MPaWJ65Cl4wOgLaB1NYvJSZ0Ef03MMEU/0xpPMXUIQ29UfA==} mpd-parser@1.3.1: resolution: {integrity: sha512-1FuyEWI5k2HcmhS1HkKnUAQV7yFPfXPht2DnRRGtoiiAAW+ESTbtEXIDpRkwdU+XyrQuwrIym7UkoPKsZ0SyFw==} @@ -2487,6 +2528,9 @@ packages: nth-check@2.1.1: resolution: {integrity: sha512-lqjrjmaOoAnWfMmBPL+XNnynZh2+swxiX3WUE0s4yEHI6m+AwrK2UZOimIRl3X/4QctVqS8AiZjFqyOGrMXb/w==} + obug@2.1.1: + resolution: {integrity: sha512-uTqF9MuPraAQ+IsnPf366RG4cP9RtUi7MLO1N3KEc+wb0a6yKpeL0lmk2IB1jY5KHPAlTc6T/JRdC/YqxHNwkQ==} + optionator@0.9.4: resolution: {integrity: sha512-6IpQ7mKUxRcZNLIObR0hz7lxsapSSIYNZJwXPGeF0mTVqGKFIXj1DQcMoT22S3ROcLyY/rz0PWaWZ9ayWmad9g==} engines: {node: '>= 0.8.0'} @@ -2539,6 +2583,10 @@ packages: resolution: {integrity: sha512-5gTmgEY/sqK6gFXLIsQNH19lWb4ebPDLA4SdLP7dsWkIXHWlG66oPuVvXSGFPppYZz8ZDZq0dYYrbHfBCVUb1Q==} engines: {node: '>=12'} + picomatch@4.0.4: + resolution: {integrity: sha512-QP88BAKvMam/3NxH6vj2o21R6MjxZUAd6nlwAS/pnGvN9IVLocLHxGYIzFhg6fUQ+5th6P4dv4eW9jX3DSIj7A==} + engines: {node: '>=12'} + pinia@3.0.4: resolution: {integrity: sha512-l7pqLUFTI/+ESXn6k3nu30ZIzW5E2WZF/LaHJEpoq6ElcLD+wduZoB2kBN19du6K/4FDpPMazY2wJr+IndBtQw==} peerDependencies: @@ -2661,8 +2709,8 @@ packages: rfdc@1.4.1: resolution: {integrity: sha512-q1b3N5QkRUWUl7iyylaaj3kOpIT0N2i9MqIEQXP73GVsN9cw3fdx8X63cEmWhJGi2PPCF23Ijp7ktmd39rawIA==} - rolldown@1.0.0-rc.9: - resolution: {integrity: sha512-9EbgWge7ZH+yqb4d2EnELAntgPTWbfL8ajiTW+SyhJEC4qhBbkCKbqFV4Ge4zmu5ziQuVbWxb/XwLZ+RIO7E8Q==} + rolldown@1.0.0-rc.12: + resolution: {integrity: sha512-yP4USLIMYrwpPHEFB5JGH1uxhcslv6/hL0OyvTuY+3qlOSJvZ7ntYnoWpehBxufkgN0cvXxppuTu5hHa/zPh+A==} engines: {node: ^20.19.0 || >=22.12.0} hasBin: true @@ -2700,6 +2748,9 @@ packages: resolution: {integrity: sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==} engines: {node: '>=8'} + siginfo@2.0.0: + resolution: {integrity: sha512-ybx0WO1/8bSBLEWXZvEd7gMW3Sn3JFlW3TvX1nREbDLRNQNaeNN8WK0meBwPdAaOI7TtRRRJn/Es1zhrrCHu7g==} + signal-exit@3.0.7: resolution: {integrity: sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ==} @@ -2718,6 +2769,12 @@ packages: resolution: {integrity: sha512-1POYv7uv2gXoyGFpBCmpDVSNV74IfsWlDW216UPjbWufNf+bSU6GdbDsxdcxtfwb4xlI3yxzOTKClUosxARYrQ==} engines: {node: '>=0.10.0'} + stackback@0.0.2: + resolution: {integrity: sha512-1XMJE5fQo1jGH6Y/7ebnwPOBEkIEnT4QF32d5R1+VXdXveM0IBMJt8zfaxX1P3QhVwrYe+576+jkANtSS2mBbw==} + + std-env@4.0.0: + resolution: {integrity: sha512-zUMPtQ/HBY3/50VbpkupYHbRroTRZJPRLvreamgErJVys0ceuzMkD44J/QjqhHjOzK42GQ3QZIeFG1OYfOtKqQ==} + string_decoder@1.1.1: resolution: {integrity: sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==} @@ -2742,15 +2799,26 @@ packages: tar-mini@0.2.0: resolution: {integrity: sha512-+qfUHz700DWnRutdUsxRRVZ38G1Qr27OetwaMYTdg8hcPxf46U0S1Zf76dQMWRBmusOt2ZCK5kbIaiLkoGO7WQ==} - terser@5.46.0: - resolution: {integrity: sha512-jTwoImyr/QbOWFFso3YoU3ik0jBBDJ6JTOQiy/J2YxVJdZCc+5u7skhNwiOR3FQIygFqVUPHl7qbbxtjW2K3Qg==} + terser@5.46.1: + resolution: {integrity: sha512-vzCjQO/rgUuK9sf8VJZvjqiqiHFaZLnOiimmUuOKODxWL8mm/xua7viT7aqX7dgPY60otQjUotzFMmCB4VdmqQ==} engines: {node: '>=10'} hasBin: true + tinybench@2.9.0: + resolution: {integrity: sha512-0+DUvqWMValLmha6lr4kD8iAMK1HzV0/aKnCtWb9v9641TnP/MFb7Pc2bxoxQjTXAErryXVgUOfv2YqNllqGeg==} + + tinyexec@1.0.4: + resolution: {integrity: sha512-u9r3uZC0bdpGOXtlxUIdwf9pkmvhqJdrVCH9fapQtgy/OeTTMZ1nqH7agtvEfmGui6e1XxjcdrlxvxJvc3sMqw==} + engines: {node: '>=18'} + tinyglobby@0.2.15: resolution: {integrity: sha512-j2Zq4NyQYG5XMST4cbs02Ak8iJUdxRM0XI5QyxXuZOzKOINmWurp3smXu3y5wDcJrptwpSjgXHzIQxR0omXljQ==} engines: {node: '>=12.0.0'} + tinyrainbow@3.1.0: + resolution: {integrity: sha512-Bf+ILmBgretUrdJxzXM0SgXLZ3XfiaUuOj/IKQHuTXip+05Xn+uyEYdVg0kYDipTBcLrCVyUzAPz7QmArb0mmw==} + engines: {node: '>=14.0.0'} + to-regex-range@5.0.1: resolution: {integrity: sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==} engines: {node: '>=8.0'} @@ -2761,6 +2829,12 @@ packages: peerDependencies: typescript: '>=4.8.4' + ts-api-utils@2.5.0: + resolution: {integrity: sha512-OJ/ibxhPlqrMM0UiNHJ/0CKQkoKF243/AEmplt3qpRgkW8VG7IfOS41h7V8TjITqdByHzrjcS/2si+y4lIh8NA==} + engines: {node: '>=18.12'} + peerDependencies: + typescript: '>=4.8.4' + tslib@2.8.1: resolution: {integrity: sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==} @@ -2854,8 +2928,8 @@ packages: videojs-hotkeys@0.2.30: resolution: {integrity: sha512-G8kEQZPapoWDoEajh2Nroy4bCN1qVEul5AuzZqBS7ZCG45K7hqTYKgf1+fmYvG8m8u84sZmVMUvSWZBjaFW66Q==} - videojs-mobile-ui@1.2.2: - resolution: {integrity: sha512-XPGgfQac4UhCRK4EJdJ6ODrQwj+ui0oGWzi+g5GFoIdzh4NcCk8PxwhvraSId6lSmMSOhazrrxY9Y/p30OKkjQ==} + videojs-mobile-ui@1.2.3: + resolution: {integrity: sha512-p0yO5E+Skzo4PFFtmaIhlKr20iBEDSTvlIeBeXgk7+lZIeMx/O/Rycvw2jhJUD63PDAXrGOunseaFFTwAWrDFA==} engines: {node: '>=14', npm: '>=6'} peerDependencies: video.js: ^8 @@ -2863,16 +2937,16 @@ packages: videojs-vtt.js@0.15.5: resolution: {integrity: sha512-yZbBxvA7QMYn15Lr/ZfhhLPrNpI/RmCSCqgIff57GC2gIrV5YfyzLfLyZMj0NnZSAz8syB4N0nHXpZg9MyrMOQ==} - vite-plugin-compression2@2.5.1: - resolution: {integrity: sha512-2YpLZWs1ZRo9XwtSFA6/NVuBgOR+kvFk8M0HNDsP7Wu7OfJDOKT6fHB8kzuvw6jhgC9KYgDOttfaG2qC0wE9AQ==} + vite-plugin-compression2@2.5.3: + resolution: {integrity: sha512-ItPgqQWkcnBbVw7is9OKwiZ8v6+ju9rYROl5Lp6QfQDEx/d55AwJQb/KLpsQqsU9HoigYBsZ8tK6I02UwJNvEw==} - vite@8.0.0: - resolution: {integrity: sha512-fPGaRNj9Zytaf8LEiBhY7Z6ijnFKdzU/+mL8EFBaKr7Vw1/FWcTBAMW0wLPJAGMPX38ZPVCVgLceWiEqeoqL2Q==} + vite@8.0.3: + resolution: {integrity: sha512-B9ifbFudT1TFhfltfaIPgjo9Z3mDynBTJSUYxTjOQruf/zHH+ezCQKcoqO+h7a9Pw9Nm/OtlXAiGT1axBgwqrQ==} engines: {node: ^20.19.0 || >=22.12.0} hasBin: true peerDependencies: '@types/node': ^20.19.0 || >=22.12.0 - '@vitejs/devtools': ^0.0.0-alpha.31 + '@vitejs/devtools': ^0.1.0 esbuild: ^0.27.0 jiti: '>=1.21.0' less: ^4.0.0 @@ -2909,6 +2983,41 @@ packages: yaml: optional: true + vitest@4.1.2: + resolution: {integrity: sha512-xjR1dMTVHlFLh98JE3i/f/WePqJsah4A0FK9cc8Ehp9Udk0AZk6ccpIZhh1qJ/yxVWRZ+Q54ocnD8TXmkhspGg==} + engines: {node: ^20.0.0 || ^22.0.0 || >=24.0.0} + hasBin: true + peerDependencies: + '@edge-runtime/vm': '*' + '@opentelemetry/api': ^1.9.0 + '@types/node': ^20.0.0 || ^22.0.0 || >=24.0.0 + '@vitest/browser-playwright': 4.1.2 + '@vitest/browser-preview': 4.1.2 + '@vitest/browser-webdriverio': 4.1.2 + '@vitest/ui': 4.1.2 + happy-dom: '*' + jsdom: '*' + vite: ^6.0.0 || ^7.0.0 || ^8.0.0 + peerDependenciesMeta: + '@edge-runtime/vm': + optional: true + '@opentelemetry/api': + optional: true + '@types/node': + optional: true + '@vitest/browser-playwright': + optional: true + '@vitest/browser-preview': + optional: true + '@vitest/browser-webdriverio': + optional: true + '@vitest/ui': + optional: true + happy-dom: + optional: true + jsdom: + optional: true + vscode-uri@3.1.0: resolution: {integrity: sha512-/BpdSx+yCQGnCvecbyXdxHDkuk55/G3xwnC0GqY4gmQ3j+A+g8kzzgB4Nk/SINjqn6+waqw3EgbVF2QKExkRxQ==} @@ -2930,8 +3039,8 @@ packages: vue-reader@1.3.4: resolution: {integrity: sha512-QYTX9hlrV71gL/1vMejcBLLS9Ool29XMZcLQwvL0Ep1F//o0ymzYbKX2Lre+4BUBkVq49/GmmGCmAJACsJL9tw==} - vue-router@5.0.3: - resolution: {integrity: sha512-nG1c7aAFac7NYj8Hluo68WyWfc41xkEjaR0ViLHCa3oDvTQ/nIuLJlXJX1NUPw/DXzx/8+OKMng045HHQKQKWw==} + vue-router@5.0.4: + resolution: {integrity: sha512-lCqDLCI2+fKVRl2OzXuzdSWmxXFLQRxQbmHugnRpTMyYiT+hNaycV0faqG5FBHDXoYrZ6MQcX87BvbY8mQ20Bg==} peerDependencies: '@pinia/colada': '>=0.21.2' '@vue/compiler-sfc': ^3.5.17 @@ -2950,14 +3059,14 @@ packages: peerDependencies: vue: ^3.0.2 - vue-tsc@3.2.5: - resolution: {integrity: sha512-/htfTCMluQ+P2FISGAooul8kO4JMheOTCbCy4M6dYnYYjqLe3BExZudAua6MSIKSFYQtFOYAll7XobYwcpokGA==} + vue-tsc@3.2.6: + resolution: {integrity: sha512-gYW/kWI0XrwGzd0PKc7tVB/qpdeAkIZLNZb10/InizkQjHjnT8weZ/vBarZoj4kHKbUTZT/bAVgoOr8x4NsQ/Q==} hasBin: true peerDependencies: typescript: '>=5.0.0' - vue@3.5.30: - resolution: {integrity: sha512-hTHLc6VNZyzzEH/l7PFGjpcTvUgiaPK5mdLkbjrTeWSRcEfxFrv56g/XckIYlE9ckuobsdwqd5mk2g1sBkMewg==} + vue@3.5.31: + resolution: {integrity: sha512-iV/sU9SzOlmA/0tygSmjkEN6Jbs3nPoIPFhCMLD2STrjgOU8DX7ZtzMhg4ahVwf5Rp9KoFzcXeB1ZrVbLBp5/Q==} peerDependencies: typescript: '*' peerDependenciesMeta: @@ -2972,6 +3081,11 @@ packages: engines: {node: '>= 8'} hasBin: true + why-is-node-running@2.3.0: + resolution: {integrity: sha512-hUrmaWBdVDcxvYqnyh09zunKzROWjbZTiNy8dBEjkS7ehEDQibXJ7XvlmtbwuTclUiIyN+CyXQD4Vmko8fNm8w==} + engines: {node: '>=8'} + hasBin: true + word-wrap@1.2.5: resolution: {integrity: sha512-BN22B5eaMMI9UMtjrGd5g5eCYPpCPDUy0FJXbYsaT5zYxjFOckS53SQDE3pWkVoWpHXVb3BrYcEN4Twa55B5cA==} engines: {node: '>=0.10.0'} @@ -2992,6 +3106,11 @@ packages: engines: {node: '>= 14.6'} hasBin: true + yaml@2.8.3: + resolution: {integrity: sha512-AvbaCLOO2Otw/lW5bmh9d/WEdcDFdQp2Z2ZUH3pX9U2ihyUY0nvLv7J6TrWowklRGPYbB/IuIMfYgxaCPg5Bpg==} + engines: {node: '>= 14.6'} + hasBin: true + yocto-queue@0.1.0: resolution: {integrity: sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==} engines: {node: '>=10'} @@ -3012,8 +3131,8 @@ snapshots: '@babel/generator': 7.29.1 '@babel/helper-compilation-targets': 7.28.6 '@babel/helper-module-transforms': 7.28.6(@babel/core@7.29.0) - '@babel/helpers': 7.28.6 - '@babel/parser': 7.29.0 + '@babel/helpers': 7.29.2 + '@babel/parser': 7.29.2 '@babel/template': 7.28.6 '@babel/traverse': 7.29.0 '@babel/types': 7.29.0 @@ -3028,7 +3147,7 @@ snapshots: '@babel/generator@7.29.1': dependencies: - '@babel/parser': 7.29.0 + '@babel/parser': 7.29.2 '@babel/types': 7.29.0 '@jridgewell/gen-mapping': 0.3.13 '@jridgewell/trace-mapping': 0.3.31 @@ -3066,18 +3185,7 @@ snapshots: regexpu-core: 6.4.0 semver: 6.3.1 - '@babel/helper-define-polyfill-provider@0.6.6(@babel/core@7.29.0)': - dependencies: - '@babel/core': 7.29.0 - '@babel/helper-compilation-targets': 7.28.6 - '@babel/helper-plugin-utils': 7.28.6 - debug: 4.4.3 - lodash.debounce: 4.0.8 - resolve: 1.22.11 - transitivePeerDependencies: - - supports-color - - '@babel/helper-define-polyfill-provider@0.6.7(@babel/core@7.29.0)': + '@babel/helper-define-polyfill-provider@0.6.8(@babel/core@7.29.0)': dependencies: '@babel/core': 7.29.0 '@babel/helper-compilation-targets': 7.28.6 @@ -3158,7 +3266,7 @@ snapshots: transitivePeerDependencies: - supports-color - '@babel/helpers@7.28.6': + '@babel/helpers@7.29.2': dependencies: '@babel/template': 7.28.6 '@babel/types': 7.29.0 @@ -3167,6 +3275,10 @@ snapshots: dependencies: '@babel/types': 7.29.0 + '@babel/parser@7.29.2': + dependencies: + '@babel/types': 7.29.0 + '@babel/plugin-bugfix-firefox-class-in-computed-class-key@7.28.5(@babel/core@7.29.0)': dependencies: '@babel/core': 7.29.0 @@ -3555,7 +3667,7 @@ snapshots: '@babel/helper-create-regexp-features-plugin': 7.28.5(@babel/core@7.29.0) '@babel/helper-plugin-utils': 7.28.6 - '@babel/preset-env@7.29.0(@babel/core@7.29.0)': + '@babel/preset-env@7.29.2(@babel/core@7.29.0)': dependencies: '@babel/compat-data': 7.29.0 '@babel/core': 7.29.0 @@ -3623,10 +3735,10 @@ snapshots: '@babel/plugin-transform-unicode-regex': 7.27.1(@babel/core@7.29.0) '@babel/plugin-transform-unicode-sets-regex': 7.28.6(@babel/core@7.29.0) '@babel/preset-modules': 0.1.6-no-external-plugins(@babel/core@7.29.0) - babel-plugin-polyfill-corejs2: 0.4.15(@babel/core@7.29.0) - babel-plugin-polyfill-corejs3: 0.14.1(@babel/core@7.29.0) - babel-plugin-polyfill-regenerator: 0.6.7(@babel/core@7.29.0) - core-js-compat: 3.48.0 + babel-plugin-polyfill-corejs2: 0.4.17(@babel/core@7.29.0) + babel-plugin-polyfill-corejs3: 0.14.2(@babel/core@7.29.0) + babel-plugin-polyfill-regenerator: 0.6.8(@babel/core@7.29.0) + core-js-compat: 3.49.0 semver: 6.3.1 transitivePeerDependencies: - supports-color @@ -3643,7 +3755,7 @@ snapshots: '@babel/template@7.28.6': dependencies: '@babel/code-frame': 7.29.0 - '@babel/parser': 7.29.0 + '@babel/parser': 7.29.2 '@babel/types': 7.29.0 '@babel/traverse@7.29.0': @@ -3651,7 +3763,7 @@ snapshots: '@babel/code-frame': 7.29.0 '@babel/generator': 7.29.1 '@babel/helper-globals': 7.28.0 - '@babel/parser': 7.29.0 + '@babel/parser': 7.29.2 '@babel/template': 7.28.6 '@babel/types': 7.29.0 debug: 4.4.3 @@ -3663,9 +3775,9 @@ snapshots: '@babel/helper-string-parser': 7.27.1 '@babel/helper-validator-identifier': 7.28.5 - '@chenfengyuan/vue-number-input@2.0.1(vue@3.5.30(typescript@5.9.3))': + '@chenfengyuan/vue-number-input@2.0.1(vue@3.5.31(typescript@5.9.3))': dependencies: - vue: 3.5.30(typescript@5.9.3) + vue: 3.5.31(typescript@5.9.3) '@emnapi/core@1.9.0': dependencies: @@ -3839,9 +3951,9 @@ snapshots: '@esbuild/win32-x64@0.27.3': optional: true - '@eslint-community/eslint-utils@4.9.1(eslint@10.0.3)': + '@eslint-community/eslint-utils@4.9.1(eslint@10.1.0)': dependencies: - eslint: 10.0.3 + eslint: 10.1.0 eslint-visitor-keys: 3.4.3 '@eslint-community/regexpp@4.12.2': {} @@ -3880,7 +3992,7 @@ snapshots: '@humanwhocodes/retry@0.4.3': {} - '@intlify/bundle-utils@11.0.7(vue-i18n@11.3.0(vue@3.5.30(typescript@5.9.3)))': + '@intlify/bundle-utils@11.0.7(vue-i18n@11.3.0(vue@3.5.31(typescript@5.9.3)))': dependencies: '@intlify/message-compiler': 11.2.8 '@intlify/shared': 11.2.8 @@ -3892,7 +4004,7 @@ snapshots: source-map-js: 1.2.1 yaml-eslint-parser: 1.3.2 optionalDependencies: - vue-i18n: 11.3.0(vue@3.5.30(typescript@5.9.3)) + vue-i18n: 11.3.0(vue@3.5.31(typescript@5.9.3)) '@intlify/core-base@11.3.0': dependencies: @@ -3919,12 +4031,12 @@ snapshots: '@intlify/shared@11.3.0': {} - '@intlify/unplugin-vue-i18n@11.0.7(@vue/compiler-dom@3.5.30)(eslint@10.0.3)(rollup@4.57.1)(typescript@5.9.3)(vue-i18n@11.3.0(vue@3.5.30(typescript@5.9.3)))(vue@3.5.30(typescript@5.9.3))': + '@intlify/unplugin-vue-i18n@11.0.7(@vue/compiler-dom@3.5.31)(eslint@10.1.0)(rollup@4.57.1)(typescript@5.9.3)(vue-i18n@11.3.0(vue@3.5.31(typescript@5.9.3)))(vue@3.5.31(typescript@5.9.3))': dependencies: - '@eslint-community/eslint-utils': 4.9.1(eslint@10.0.3) - '@intlify/bundle-utils': 11.0.7(vue-i18n@11.3.0(vue@3.5.30(typescript@5.9.3))) + '@eslint-community/eslint-utils': 4.9.1(eslint@10.1.0) + '@intlify/bundle-utils': 11.0.7(vue-i18n@11.3.0(vue@3.5.31(typescript@5.9.3))) '@intlify/shared': 11.2.8 - '@intlify/vue-i18n-extensions': 8.0.0(@intlify/shared@11.2.8)(@vue/compiler-dom@3.5.30)(vue-i18n@11.3.0(vue@3.5.30(typescript@5.9.3)))(vue@3.5.30(typescript@5.9.3)) + '@intlify/vue-i18n-extensions': 8.0.0(@intlify/shared@11.2.8)(@vue/compiler-dom@3.5.31)(vue-i18n@11.3.0(vue@3.5.31(typescript@5.9.3)))(vue@3.5.31(typescript@5.9.3)) '@rollup/pluginutils': 5.3.0(rollup@4.57.1) '@typescript-eslint/scope-manager': 8.56.0 '@typescript-eslint/typescript-estree': 8.56.0(typescript@5.9.3) @@ -3933,9 +4045,9 @@ snapshots: pathe: 2.0.3 picocolors: 1.1.1 unplugin: 2.3.11 - vue: 3.5.30(typescript@5.9.3) + vue: 3.5.31(typescript@5.9.3) optionalDependencies: - vue-i18n: 11.3.0(vue@3.5.30(typescript@5.9.3)) + vue-i18n: 11.3.0(vue@3.5.31(typescript@5.9.3)) transitivePeerDependencies: - '@vue/compiler-dom' - eslint @@ -3943,14 +4055,14 @@ snapshots: - supports-color - typescript - '@intlify/vue-i18n-extensions@8.0.0(@intlify/shared@11.2.8)(@vue/compiler-dom@3.5.30)(vue-i18n@11.3.0(vue@3.5.30(typescript@5.9.3)))(vue@3.5.30(typescript@5.9.3))': + '@intlify/vue-i18n-extensions@8.0.0(@intlify/shared@11.2.8)(@vue/compiler-dom@3.5.31)(vue-i18n@11.3.0(vue@3.5.31(typescript@5.9.3)))(vue@3.5.31(typescript@5.9.3))': dependencies: '@babel/parser': 7.29.0 optionalDependencies: '@intlify/shared': 11.2.8 - '@vue/compiler-dom': 3.5.30 - vue: 3.5.30(typescript@5.9.3) - vue-i18n: 11.3.0(vue@3.5.30(typescript@5.9.3)) + '@vue/compiler-dom': 3.5.31 + vue: 3.5.31(typescript@5.9.3) + vue-i18n: 11.3.0(vue@3.5.31(typescript@5.9.3)) '@jridgewell/gen-mapping@0.3.13': dependencies: @@ -3976,7 +4088,7 @@ snapshots: '@jridgewell/resolve-uri': 3.1.2 '@jridgewell/sourcemap-codec': 1.5.5 - '@napi-rs/wasm-runtime@1.1.1': + '@napi-rs/wasm-runtime@1.1.2(@emnapi/core@1.9.0)(@emnapi/runtime@1.9.0)': dependencies: '@emnapi/core': 1.9.0 '@emnapi/runtime': 1.9.0 @@ -3995,63 +4107,64 @@ snapshots: '@nodelib/fs.scandir': 2.1.5 fastq: 1.20.1 - '@oxc-project/runtime@0.115.0': {} - - '@oxc-project/types@0.115.0': {} + '@oxc-project/types@0.122.0': {} '@pkgr/core@0.2.9': {} - '@rolldown/binding-android-arm64@1.0.0-rc.9': + '@rolldown/binding-android-arm64@1.0.0-rc.12': optional: true - '@rolldown/binding-darwin-arm64@1.0.0-rc.9': + '@rolldown/binding-darwin-arm64@1.0.0-rc.12': optional: true - '@rolldown/binding-darwin-x64@1.0.0-rc.9': + '@rolldown/binding-darwin-x64@1.0.0-rc.12': optional: true - '@rolldown/binding-freebsd-x64@1.0.0-rc.9': + '@rolldown/binding-freebsd-x64@1.0.0-rc.12': optional: true - '@rolldown/binding-linux-arm-gnueabihf@1.0.0-rc.9': + '@rolldown/binding-linux-arm-gnueabihf@1.0.0-rc.12': optional: true - '@rolldown/binding-linux-arm64-gnu@1.0.0-rc.9': + '@rolldown/binding-linux-arm64-gnu@1.0.0-rc.12': optional: true - '@rolldown/binding-linux-arm64-musl@1.0.0-rc.9': + '@rolldown/binding-linux-arm64-musl@1.0.0-rc.12': optional: true - '@rolldown/binding-linux-ppc64-gnu@1.0.0-rc.9': + '@rolldown/binding-linux-ppc64-gnu@1.0.0-rc.12': optional: true - '@rolldown/binding-linux-s390x-gnu@1.0.0-rc.9': + '@rolldown/binding-linux-s390x-gnu@1.0.0-rc.12': optional: true - '@rolldown/binding-linux-x64-gnu@1.0.0-rc.9': + '@rolldown/binding-linux-x64-gnu@1.0.0-rc.12': optional: true - '@rolldown/binding-linux-x64-musl@1.0.0-rc.9': + '@rolldown/binding-linux-x64-musl@1.0.0-rc.12': optional: true - '@rolldown/binding-openharmony-arm64@1.0.0-rc.9': + '@rolldown/binding-openharmony-arm64@1.0.0-rc.12': optional: true - '@rolldown/binding-wasm32-wasi@1.0.0-rc.9': + '@rolldown/binding-wasm32-wasi@1.0.0-rc.12(@emnapi/core@1.9.0)(@emnapi/runtime@1.9.0)': dependencies: - '@napi-rs/wasm-runtime': 1.1.1 + '@napi-rs/wasm-runtime': 1.1.2(@emnapi/core@1.9.0)(@emnapi/runtime@1.9.0) + transitivePeerDependencies: + - '@emnapi/core' + - '@emnapi/runtime' optional: true - '@rolldown/binding-win32-arm64-msvc@1.0.0-rc.9': + '@rolldown/binding-win32-arm64-msvc@1.0.0-rc.12': optional: true - '@rolldown/binding-win32-x64-msvc@1.0.0-rc.9': + '@rolldown/binding-win32-x64-msvc@1.0.0-rc.12': optional: true + '@rolldown/pluginutils@1.0.0-rc.12': {} + '@rolldown/pluginutils@1.0.0-rc.2': {} - '@rolldown/pluginutils@1.0.0-rc.9': {} - '@rollup/pluginutils@5.3.0(rollup@4.57.1)': dependencies: '@types/estree': 1.0.8 @@ -4135,6 +4248,8 @@ snapshots: '@rollup/rollup-win32-x64-msvc@4.57.1': optional: true + '@standard-schema/spec@1.1.0': {} + '@tsconfig/node24@24.0.4': {} '@tybys/wasm-util@0.10.1': @@ -4142,6 +4257,13 @@ snapshots: tslib: 2.8.1 optional: true + '@types/chai@5.2.3': + dependencies: + '@types/deep-eql': 4.0.2 + assertion-error: 2.0.1 + + '@types/deep-eql@4.0.2': {} + '@types/esrecurse@4.3.1': {} '@types/estree@1.0.8': {} @@ -4167,15 +4289,15 @@ snapshots: '@types/web-bluetooth@0.0.21': {} - '@typescript-eslint/eslint-plugin@8.56.0(@typescript-eslint/parser@8.56.0(eslint@10.0.3)(typescript@5.9.3))(eslint@10.0.3)(typescript@5.9.3)': + '@typescript-eslint/eslint-plugin@8.56.0(@typescript-eslint/parser@8.56.0(eslint@10.1.0)(typescript@5.9.3))(eslint@10.1.0)(typescript@5.9.3)': dependencies: '@eslint-community/regexpp': 4.12.2 - '@typescript-eslint/parser': 8.56.0(eslint@10.0.3)(typescript@5.9.3) + '@typescript-eslint/parser': 8.56.0(eslint@10.1.0)(typescript@5.9.3) '@typescript-eslint/scope-manager': 8.56.0 - '@typescript-eslint/type-utils': 8.56.0(eslint@10.0.3)(typescript@5.9.3) - '@typescript-eslint/utils': 8.56.0(eslint@10.0.3)(typescript@5.9.3) + '@typescript-eslint/type-utils': 8.56.0(eslint@10.1.0)(typescript@5.9.3) + '@typescript-eslint/utils': 8.56.0(eslint@10.1.0)(typescript@5.9.3) '@typescript-eslint/visitor-keys': 8.56.0 - eslint: 10.0.3 + eslint: 10.1.0 ignore: 7.0.5 natural-compare: 1.4.0 ts-api-utils: 2.4.0(typescript@5.9.3) @@ -4183,30 +4305,30 @@ snapshots: transitivePeerDependencies: - supports-color - '@typescript-eslint/eslint-plugin@8.57.0(@typescript-eslint/parser@8.56.0(eslint@10.0.3)(typescript@5.9.3))(eslint@10.0.3)(typescript@5.9.3)': + '@typescript-eslint/eslint-plugin@8.57.2(@typescript-eslint/parser@8.56.0(eslint@10.1.0)(typescript@5.9.3))(eslint@10.1.0)(typescript@5.9.3)': dependencies: '@eslint-community/regexpp': 4.12.2 - '@typescript-eslint/parser': 8.56.0(eslint@10.0.3)(typescript@5.9.3) - '@typescript-eslint/scope-manager': 8.57.0 - '@typescript-eslint/type-utils': 8.57.0(eslint@10.0.3)(typescript@5.9.3) - '@typescript-eslint/utils': 8.57.0(eslint@10.0.3)(typescript@5.9.3) - '@typescript-eslint/visitor-keys': 8.57.0 - eslint: 10.0.3 + '@typescript-eslint/parser': 8.56.0(eslint@10.1.0)(typescript@5.9.3) + '@typescript-eslint/scope-manager': 8.57.2 + '@typescript-eslint/type-utils': 8.57.2(eslint@10.1.0)(typescript@5.9.3) + '@typescript-eslint/utils': 8.57.2(eslint@10.1.0)(typescript@5.9.3) + '@typescript-eslint/visitor-keys': 8.57.2 + eslint: 10.1.0 ignore: 7.0.5 natural-compare: 1.4.0 - ts-api-utils: 2.4.0(typescript@5.9.3) + ts-api-utils: 2.5.0(typescript@5.9.3) typescript: 5.9.3 transitivePeerDependencies: - supports-color - '@typescript-eslint/parser@8.56.0(eslint@10.0.3)(typescript@5.9.3)': + '@typescript-eslint/parser@8.56.0(eslint@10.1.0)(typescript@5.9.3)': dependencies: '@typescript-eslint/scope-manager': 8.56.0 '@typescript-eslint/types': 8.56.0 '@typescript-eslint/typescript-estree': 8.56.0(typescript@5.9.3) '@typescript-eslint/visitor-keys': 8.56.0 debug: 4.4.3 - eslint: 10.0.3 + eslint: 10.1.0 typescript: 5.9.3 transitivePeerDependencies: - supports-color @@ -4220,10 +4342,10 @@ snapshots: transitivePeerDependencies: - supports-color - '@typescript-eslint/project-service@8.57.0(typescript@5.9.3)': + '@typescript-eslint/project-service@8.57.2(typescript@5.9.3)': dependencies: - '@typescript-eslint/tsconfig-utils': 8.57.0(typescript@5.9.3) - '@typescript-eslint/types': 8.57.0 + '@typescript-eslint/tsconfig-utils': 8.57.2(typescript@5.9.3) + '@typescript-eslint/types': 8.57.2 debug: 4.4.3 typescript: 5.9.3 transitivePeerDependencies: @@ -4234,46 +4356,46 @@ snapshots: '@typescript-eslint/types': 8.56.0 '@typescript-eslint/visitor-keys': 8.56.0 - '@typescript-eslint/scope-manager@8.57.0': + '@typescript-eslint/scope-manager@8.57.2': dependencies: - '@typescript-eslint/types': 8.57.0 - '@typescript-eslint/visitor-keys': 8.57.0 + '@typescript-eslint/types': 8.57.2 + '@typescript-eslint/visitor-keys': 8.57.2 '@typescript-eslint/tsconfig-utils@8.56.0(typescript@5.9.3)': dependencies: typescript: 5.9.3 - '@typescript-eslint/tsconfig-utils@8.57.0(typescript@5.9.3)': + '@typescript-eslint/tsconfig-utils@8.57.2(typescript@5.9.3)': dependencies: typescript: 5.9.3 - '@typescript-eslint/type-utils@8.56.0(eslint@10.0.3)(typescript@5.9.3)': + '@typescript-eslint/type-utils@8.56.0(eslint@10.1.0)(typescript@5.9.3)': dependencies: '@typescript-eslint/types': 8.56.0 '@typescript-eslint/typescript-estree': 8.56.0(typescript@5.9.3) - '@typescript-eslint/utils': 8.56.0(eslint@10.0.3)(typescript@5.9.3) + '@typescript-eslint/utils': 8.56.0(eslint@10.1.0)(typescript@5.9.3) debug: 4.4.3 - eslint: 10.0.3 + eslint: 10.1.0 ts-api-utils: 2.4.0(typescript@5.9.3) typescript: 5.9.3 transitivePeerDependencies: - supports-color - '@typescript-eslint/type-utils@8.57.0(eslint@10.0.3)(typescript@5.9.3)': + '@typescript-eslint/type-utils@8.57.2(eslint@10.1.0)(typescript@5.9.3)': dependencies: - '@typescript-eslint/types': 8.57.0 - '@typescript-eslint/typescript-estree': 8.57.0(typescript@5.9.3) - '@typescript-eslint/utils': 8.57.0(eslint@10.0.3)(typescript@5.9.3) + '@typescript-eslint/types': 8.57.2 + '@typescript-eslint/typescript-estree': 8.57.2(typescript@5.9.3) + '@typescript-eslint/utils': 8.57.2(eslint@10.1.0)(typescript@5.9.3) debug: 4.4.3 - eslint: 10.0.3 - ts-api-utils: 2.4.0(typescript@5.9.3) + eslint: 10.1.0 + ts-api-utils: 2.5.0(typescript@5.9.3) typescript: 5.9.3 transitivePeerDependencies: - supports-color '@typescript-eslint/types@8.56.0': {} - '@typescript-eslint/types@8.57.0': {} + '@typescript-eslint/types@8.57.2': {} '@typescript-eslint/typescript-estree@8.56.0(typescript@5.9.3)': dependencies: @@ -4290,39 +4412,39 @@ snapshots: transitivePeerDependencies: - supports-color - '@typescript-eslint/typescript-estree@8.57.0(typescript@5.9.3)': + '@typescript-eslint/typescript-estree@8.57.2(typescript@5.9.3)': dependencies: - '@typescript-eslint/project-service': 8.57.0(typescript@5.9.3) - '@typescript-eslint/tsconfig-utils': 8.57.0(typescript@5.9.3) - '@typescript-eslint/types': 8.57.0 - '@typescript-eslint/visitor-keys': 8.57.0 + '@typescript-eslint/project-service': 8.57.2(typescript@5.9.3) + '@typescript-eslint/tsconfig-utils': 8.57.2(typescript@5.9.3) + '@typescript-eslint/types': 8.57.2 + '@typescript-eslint/visitor-keys': 8.57.2 debug: 4.4.3 minimatch: 10.2.4 semver: 7.7.4 tinyglobby: 0.2.15 - ts-api-utils: 2.4.0(typescript@5.9.3) + ts-api-utils: 2.5.0(typescript@5.9.3) typescript: 5.9.3 transitivePeerDependencies: - supports-color - '@typescript-eslint/utils@8.56.0(eslint@10.0.3)(typescript@5.9.3)': + '@typescript-eslint/utils@8.56.0(eslint@10.1.0)(typescript@5.9.3)': dependencies: - '@eslint-community/eslint-utils': 4.9.1(eslint@10.0.3) + '@eslint-community/eslint-utils': 4.9.1(eslint@10.1.0) '@typescript-eslint/scope-manager': 8.56.0 '@typescript-eslint/types': 8.56.0 '@typescript-eslint/typescript-estree': 8.56.0(typescript@5.9.3) - eslint: 10.0.3 + eslint: 10.1.0 typescript: 5.9.3 transitivePeerDependencies: - supports-color - '@typescript-eslint/utils@8.57.0(eslint@10.0.3)(typescript@5.9.3)': + '@typescript-eslint/utils@8.57.2(eslint@10.1.0)(typescript@5.9.3)': dependencies: - '@eslint-community/eslint-utils': 4.9.1(eslint@10.0.3) - '@typescript-eslint/scope-manager': 8.57.0 - '@typescript-eslint/types': 8.57.0 - '@typescript-eslint/typescript-estree': 8.57.0(typescript@5.9.3) - eslint: 10.0.3 + '@eslint-community/eslint-utils': 4.9.1(eslint@10.1.0) + '@typescript-eslint/scope-manager': 8.57.2 + '@typescript-eslint/types': 8.57.2 + '@typescript-eslint/typescript-estree': 8.57.2(typescript@5.9.3) + eslint: 10.1.0 typescript: 5.9.3 transitivePeerDependencies: - supports-color @@ -4332,9 +4454,9 @@ snapshots: '@typescript-eslint/types': 8.56.0 eslint-visitor-keys: 5.0.1 - '@typescript-eslint/visitor-keys@8.57.0': + '@typescript-eslint/visitor-keys@8.57.2': dependencies: - '@typescript-eslint/types': 8.57.0 + '@typescript-eslint/types': 8.57.2 eslint-visitor-keys: 5.0.1 '@videojs/http-streaming@3.17.4(video.js@8.23.7)': @@ -4359,30 +4481,71 @@ snapshots: global: 4.4.0 is-function: 1.0.2 - '@vitejs/plugin-legacy@8.0.0(terser@5.46.0)(vite@8.0.0(@types/node@24.12.0)(esbuild@0.27.3)(terser@5.46.0)(yaml@2.8.2))': + '@vitejs/plugin-legacy@8.0.1(terser@5.46.1)(vite@8.0.3(@emnapi/core@1.9.0)(@emnapi/runtime@1.9.0)(@types/node@24.12.0)(esbuild@0.27.3)(terser@5.46.1)(yaml@2.8.3))': dependencies: '@babel/core': 7.29.0 '@babel/plugin-transform-dynamic-import': 7.27.1(@babel/core@7.29.0) '@babel/plugin-transform-modules-systemjs': 7.29.0(@babel/core@7.29.0) - '@babel/preset-env': 7.29.0(@babel/core@7.29.0) - babel-plugin-polyfill-corejs3: 0.14.1(@babel/core@7.29.0) - babel-plugin-polyfill-regenerator: 0.6.7(@babel/core@7.29.0) + '@babel/preset-env': 7.29.2(@babel/core@7.29.0) + babel-plugin-polyfill-corejs3: 0.14.2(@babel/core@7.29.0) + babel-plugin-polyfill-regenerator: 0.6.8(@babel/core@7.29.0) browserslist: 4.28.1 browserslist-to-esbuild: 2.1.1(browserslist@4.28.1) - core-js: 3.48.0 + core-js: 3.49.0 magic-string: 0.30.21 regenerator-runtime: 0.14.1 systemjs: 6.15.1 - terser: 5.46.0 - vite: 8.0.0(@types/node@24.12.0)(esbuild@0.27.3)(terser@5.46.0)(yaml@2.8.2) + terser: 5.46.1 + vite: 8.0.3(@emnapi/core@1.9.0)(@emnapi/runtime@1.9.0)(@types/node@24.12.0)(esbuild@0.27.3)(terser@5.46.1)(yaml@2.8.3) transitivePeerDependencies: - supports-color - '@vitejs/plugin-vue@6.0.5(vite@8.0.0(@types/node@24.12.0)(esbuild@0.27.3)(terser@5.46.0)(yaml@2.8.2))(vue@3.5.30(typescript@5.9.3))': + '@vitejs/plugin-vue@6.0.5(vite@8.0.3(@emnapi/core@1.9.0)(@emnapi/runtime@1.9.0)(@types/node@24.12.0)(esbuild@0.27.3)(terser@5.46.1)(yaml@2.8.3))(vue@3.5.31(typescript@5.9.3))': dependencies: '@rolldown/pluginutils': 1.0.0-rc.2 - vite: 8.0.0(@types/node@24.12.0)(esbuild@0.27.3)(terser@5.46.0)(yaml@2.8.2) - vue: 3.5.30(typescript@5.9.3) + vite: 8.0.3(@emnapi/core@1.9.0)(@emnapi/runtime@1.9.0)(@types/node@24.12.0)(esbuild@0.27.3)(terser@5.46.1)(yaml@2.8.3) + vue: 3.5.31(typescript@5.9.3) + + '@vitest/expect@4.1.2': + dependencies: + '@standard-schema/spec': 1.1.0 + '@types/chai': 5.2.3 + '@vitest/spy': 4.1.2 + '@vitest/utils': 4.1.2 + chai: 6.2.2 + tinyrainbow: 3.1.0 + + '@vitest/mocker@4.1.2(vite@8.0.3(@emnapi/core@1.9.0)(@emnapi/runtime@1.9.0)(@types/node@24.12.0)(esbuild@0.27.3)(terser@5.46.1)(yaml@2.8.3))': + dependencies: + '@vitest/spy': 4.1.2 + estree-walker: 3.0.3 + magic-string: 0.30.21 + optionalDependencies: + vite: 8.0.3(@emnapi/core@1.9.0)(@emnapi/runtime@1.9.0)(@types/node@24.12.0)(esbuild@0.27.3)(terser@5.46.1)(yaml@2.8.3) + + '@vitest/pretty-format@4.1.2': + dependencies: + tinyrainbow: 3.1.0 + + '@vitest/runner@4.1.2': + dependencies: + '@vitest/utils': 4.1.2 + pathe: 2.0.3 + + '@vitest/snapshot@4.1.2': + dependencies: + '@vitest/pretty-format': 4.1.2 + '@vitest/utils': 4.1.2 + magic-string: 0.30.21 + pathe: 2.0.3 + + '@vitest/spy@4.1.2': {} + + '@vitest/utils@4.1.2': + dependencies: + '@vitest/pretty-format': 4.1.2 + convert-source-map: 2.0.0 + tinyrainbow: 3.1.0 '@volar/language-core@2.4.28': dependencies: @@ -4396,75 +4559,45 @@ snapshots: path-browserify: 1.0.1 vscode-uri: 3.1.0 - '@vue-macros/common@3.1.2(vue@3.5.30(typescript@5.9.3))': + '@vue-macros/common@3.1.2(vue@3.5.31(typescript@5.9.3))': dependencies: - '@vue/compiler-sfc': 3.5.28 + '@vue/compiler-sfc': 3.5.31 ast-kit: 2.2.0 local-pkg: 1.1.2 magic-string-ast: 1.0.3 unplugin-utils: 0.3.1 optionalDependencies: - vue: 3.5.30(typescript@5.9.3) + vue: 3.5.31(typescript@5.9.3) - '@vue/compiler-core@3.5.28': + '@vue/compiler-core@3.5.31': dependencies: - '@babel/parser': 7.29.0 - '@vue/shared': 3.5.28 + '@babel/parser': 7.29.2 + '@vue/shared': 3.5.31 entities: 7.0.1 estree-walker: 2.0.2 source-map-js: 1.2.1 - '@vue/compiler-core@3.5.30': + '@vue/compiler-dom@3.5.31': dependencies: - '@babel/parser': 7.29.0 - '@vue/shared': 3.5.30 - entities: 7.0.1 - estree-walker: 2.0.2 - source-map-js: 1.2.1 + '@vue/compiler-core': 3.5.31 + '@vue/shared': 3.5.31 - '@vue/compiler-dom@3.5.28': + '@vue/compiler-sfc@3.5.31': dependencies: - '@vue/compiler-core': 3.5.28 - '@vue/shared': 3.5.28 - - '@vue/compiler-dom@3.5.30': - dependencies: - '@vue/compiler-core': 3.5.30 - '@vue/shared': 3.5.30 - - '@vue/compiler-sfc@3.5.28': - dependencies: - '@babel/parser': 7.29.0 - '@vue/compiler-core': 3.5.28 - '@vue/compiler-dom': 3.5.28 - '@vue/compiler-ssr': 3.5.28 - '@vue/shared': 3.5.28 + '@babel/parser': 7.29.2 + '@vue/compiler-core': 3.5.31 + '@vue/compiler-dom': 3.5.31 + '@vue/compiler-ssr': 3.5.31 + '@vue/shared': 3.5.31 estree-walker: 2.0.2 magic-string: 0.30.21 postcss: 8.5.8 source-map-js: 1.2.1 - '@vue/compiler-sfc@3.5.30': + '@vue/compiler-ssr@3.5.31': dependencies: - '@babel/parser': 7.29.0 - '@vue/compiler-core': 3.5.30 - '@vue/compiler-dom': 3.5.30 - '@vue/compiler-ssr': 3.5.30 - '@vue/shared': 3.5.30 - estree-walker: 2.0.2 - magic-string: 0.30.21 - postcss: 8.5.8 - source-map-js: 1.2.1 - - '@vue/compiler-ssr@3.5.28': - dependencies: - '@vue/compiler-dom': 3.5.28 - '@vue/shared': 3.5.28 - - '@vue/compiler-ssr@3.5.30': - dependencies: - '@vue/compiler-dom': 3.5.30 - '@vue/shared': 3.5.30 + '@vue/compiler-dom': 3.5.31 + '@vue/shared': 3.5.31 '@vue/devtools-api@6.6.4': {} @@ -4472,9 +4605,9 @@ snapshots: dependencies: '@vue/devtools-kit': 7.7.9 - '@vue/devtools-api@8.0.6': + '@vue/devtools-api@8.1.1': dependencies: - '@vue/devtools-kit': 8.0.6 + '@vue/devtools-kit': 8.1.1 '@vue/devtools-kit@7.7.9': dependencies: @@ -4486,108 +4619,101 @@ snapshots: speakingurl: 14.0.1 superjson: 2.2.6 - '@vue/devtools-kit@8.0.6': + '@vue/devtools-kit@8.1.1': dependencies: - '@vue/devtools-shared': 8.0.6 + '@vue/devtools-shared': 8.1.1 birpc: 2.9.0 hookable: 5.5.3 - mitt: 3.0.1 perfect-debounce: 2.1.0 - speakingurl: 14.0.1 - superjson: 2.2.6 '@vue/devtools-shared@7.7.9': dependencies: rfdc: 1.4.1 - '@vue/devtools-shared@8.0.6': - dependencies: - rfdc: 1.4.1 + '@vue/devtools-shared@8.1.1': {} - '@vue/eslint-config-prettier@10.2.0(eslint@10.0.3)(prettier@3.8.1)': + '@vue/eslint-config-prettier@10.2.0(eslint@10.1.0)(prettier@3.8.1)': dependencies: - eslint: 10.0.3 - eslint-config-prettier: 10.1.8(eslint@10.0.3) - eslint-plugin-prettier: 5.5.5(eslint-config-prettier@10.1.8(eslint@10.0.3))(eslint@10.0.3)(prettier@3.8.1) + eslint: 10.1.0 + eslint-config-prettier: 10.1.8(eslint@10.1.0) + eslint-plugin-prettier: 5.5.5(eslint-config-prettier@10.1.8(eslint@10.1.0))(eslint@10.1.0)(prettier@3.8.1) prettier: 3.8.1 transitivePeerDependencies: - '@types/eslint' - '@vue/eslint-config-typescript@14.7.0(eslint-plugin-vue@10.8.0(@typescript-eslint/parser@8.56.0(eslint@10.0.3)(typescript@5.9.3))(eslint@10.0.3)(vue-eslint-parser@10.4.0(eslint@10.0.3)))(eslint@10.0.3)(typescript@5.9.3)': + '@vue/eslint-config-typescript@14.7.0(eslint-plugin-vue@10.8.0(@typescript-eslint/parser@8.56.0(eslint@10.1.0)(typescript@5.9.3))(eslint@10.1.0)(vue-eslint-parser@10.4.0(eslint@10.1.0)))(eslint@10.1.0)(typescript@5.9.3)': dependencies: - '@typescript-eslint/utils': 8.56.0(eslint@10.0.3)(typescript@5.9.3) - eslint: 10.0.3 - eslint-plugin-vue: 10.8.0(@typescript-eslint/parser@8.56.0(eslint@10.0.3)(typescript@5.9.3))(eslint@10.0.3)(vue-eslint-parser@10.4.0(eslint@10.0.3)) + '@typescript-eslint/utils': 8.56.0(eslint@10.1.0)(typescript@5.9.3) + eslint: 10.1.0 + eslint-plugin-vue: 10.8.0(@typescript-eslint/parser@8.56.0(eslint@10.1.0)(typescript@5.9.3))(eslint@10.1.0)(vue-eslint-parser@10.4.0(eslint@10.1.0)) fast-glob: 3.3.3 - typescript-eslint: 8.56.0(eslint@10.0.3)(typescript@5.9.3) - vue-eslint-parser: 10.4.0(eslint@10.0.3) + typescript-eslint: 8.56.0(eslint@10.1.0)(typescript@5.9.3) + vue-eslint-parser: 10.4.0(eslint@10.1.0) optionalDependencies: typescript: 5.9.3 transitivePeerDependencies: - supports-color - '@vue/language-core@3.2.5': + '@vue/language-core@3.2.6': dependencies: '@volar/language-core': 2.4.28 - '@vue/compiler-dom': 3.5.28 - '@vue/shared': 3.5.28 + '@vue/compiler-dom': 3.5.31 + '@vue/shared': 3.5.31 alien-signals: 3.1.2 muggle-string: 0.4.1 path-browserify: 1.0.1 - picomatch: 4.0.3 + picomatch: 4.0.4 - '@vue/reactivity@3.5.30': + '@vue/reactivity@3.5.31': dependencies: - '@vue/shared': 3.5.30 + '@vue/shared': 3.5.31 - '@vue/runtime-core@3.5.30': + '@vue/runtime-core@3.5.31': dependencies: - '@vue/reactivity': 3.5.30 - '@vue/shared': 3.5.30 + '@vue/reactivity': 3.5.31 + '@vue/shared': 3.5.31 - '@vue/runtime-dom@3.5.30': + '@vue/runtime-dom@3.5.31': dependencies: - '@vue/reactivity': 3.5.30 - '@vue/runtime-core': 3.5.30 - '@vue/shared': 3.5.30 + '@vue/reactivity': 3.5.31 + '@vue/runtime-core': 3.5.31 + '@vue/shared': 3.5.31 csstype: 3.2.3 - '@vue/server-renderer@3.5.30(vue@3.5.30(typescript@5.9.3))': + '@vue/server-renderer@3.5.31(vue@3.5.31(typescript@5.9.3))': dependencies: - '@vue/compiler-ssr': 3.5.30 - '@vue/shared': 3.5.30 - vue: 3.5.30(typescript@5.9.3) + '@vue/compiler-ssr': 3.5.31 + '@vue/shared': 3.5.31 + vue: 3.5.31(typescript@5.9.3) - '@vue/shared@3.5.28': {} + '@vue/shared@3.5.31': {} - '@vue/shared@3.5.30': {} - - '@vue/tsconfig@0.9.0(typescript@5.9.3)(vue@3.5.30(typescript@5.9.3))': + '@vue/tsconfig@0.9.1(typescript@5.9.3)(vue@3.5.31(typescript@5.9.3))': optionalDependencies: typescript: 5.9.3 - vue: 3.5.30(typescript@5.9.3) + vue: 3.5.31(typescript@5.9.3) - '@vueuse/core@14.2.1(vue@3.5.30(typescript@5.9.3))': + '@vueuse/core@14.2.1(vue@3.5.31(typescript@5.9.3))': dependencies: '@types/web-bluetooth': 0.0.21 '@vueuse/metadata': 14.2.1 - '@vueuse/shared': 14.2.1(vue@3.5.30(typescript@5.9.3)) - vue: 3.5.30(typescript@5.9.3) + '@vueuse/shared': 14.2.1(vue@3.5.31(typescript@5.9.3)) + vue: 3.5.31(typescript@5.9.3) - '@vueuse/integrations@14.2.1(focus-trap@8.0.0)(jwt-decode@4.0.0)(vue@3.5.30(typescript@5.9.3))': + '@vueuse/integrations@14.2.1(focus-trap@8.0.0)(jwt-decode@4.0.0)(vue@3.5.31(typescript@5.9.3))': dependencies: - '@vueuse/core': 14.2.1(vue@3.5.30(typescript@5.9.3)) - '@vueuse/shared': 14.2.1(vue@3.5.30(typescript@5.9.3)) - vue: 3.5.30(typescript@5.9.3) + '@vueuse/core': 14.2.1(vue@3.5.31(typescript@5.9.3)) + '@vueuse/shared': 14.2.1(vue@3.5.31(typescript@5.9.3)) + vue: 3.5.31(typescript@5.9.3) optionalDependencies: focus-trap: 8.0.0 jwt-decode: 4.0.0 '@vueuse/metadata@14.2.1': {} - '@vueuse/shared@14.2.1(vue@3.5.30(typescript@5.9.3))': + '@vueuse/shared@14.2.1(vue@3.5.31(typescript@5.9.3))': dependencies: - vue: 3.5.30(typescript@5.9.3) + vue: 3.5.31(typescript@5.9.3) '@xmldom/xmldom@0.7.13': {} @@ -4599,8 +4725,6 @@ snapshots: dependencies: acorn: 8.16.0 - acorn@8.15.0: {} - acorn@8.16.0: {} aes-decrypter@4.0.2: @@ -4619,14 +4743,16 @@ snapshots: alien-signals@3.1.2: {} + assertion-error@2.0.1: {} + ast-kit@2.2.0: dependencies: - '@babel/parser': 7.29.0 + '@babel/parser': 7.29.2 pathe: 2.0.3 ast-walker-scope@0.8.3: dependencies: - '@babel/parser': 7.29.0 + '@babel/parser': 7.29.2 ast-kit: 2.2.0 autoprefixer@10.4.27(postcss@8.5.8): @@ -4638,27 +4764,27 @@ snapshots: postcss: 8.5.8 postcss-value-parser: 4.2.0 - babel-plugin-polyfill-corejs2@0.4.15(@babel/core@7.29.0): + babel-plugin-polyfill-corejs2@0.4.17(@babel/core@7.29.0): dependencies: '@babel/compat-data': 7.29.0 '@babel/core': 7.29.0 - '@babel/helper-define-polyfill-provider': 0.6.6(@babel/core@7.29.0) + '@babel/helper-define-polyfill-provider': 0.6.8(@babel/core@7.29.0) semver: 6.3.1 transitivePeerDependencies: - supports-color - babel-plugin-polyfill-corejs3@0.14.1(@babel/core@7.29.0): + babel-plugin-polyfill-corejs3@0.14.2(@babel/core@7.29.0): dependencies: '@babel/core': 7.29.0 - '@babel/helper-define-polyfill-provider': 0.6.7(@babel/core@7.29.0) - core-js-compat: 3.48.0 + '@babel/helper-define-polyfill-provider': 0.6.8(@babel/core@7.29.0) + core-js-compat: 3.49.0 transitivePeerDependencies: - supports-color - babel-plugin-polyfill-regenerator@0.6.7(@babel/core@7.29.0): + babel-plugin-polyfill-regenerator@0.6.8(@babel/core@7.29.0): dependencies: '@babel/core': 7.29.0 - '@babel/helper-define-polyfill-provider': 0.6.7(@babel/core@7.29.0) + '@babel/helper-define-polyfill-provider': 0.6.8(@babel/core@7.29.0) transitivePeerDependencies: - supports-color @@ -4676,7 +4802,7 @@ snapshots: dependencies: balanced-match: 1.0.2 - brace-expansion@5.0.4: + brace-expansion@5.0.5: dependencies: balanced-match: 4.0.4 @@ -4701,6 +4827,8 @@ snapshots: caniuse-lite@1.0.30001774: {} + chai@6.2.2: {} + chokidar@5.0.0: dependencies: readdirp: 5.0.0 @@ -4724,12 +4852,14 @@ snapshots: dependencies: is-what: 5.5.0 - core-js-compat@3.48.0: + core-js-compat@3.49.0: dependencies: browserslist: 4.28.1 core-js@3.48.0: {} + core-js@3.49.0: {} + core-util-is@1.0.3: {} cross-spawn@7.0.6: @@ -4742,7 +4872,7 @@ snapshots: csstype@3.2.3: {} - csv-parse@6.1.0: {} + csv-parse@6.2.1: {} custom-error-instance@2.1.1: {} @@ -4783,6 +4913,8 @@ snapshots: marks-pane: 1.0.9 path-webpack: 0.0.3 + es-module-lexer@2.0.0: {} + es5-ext@0.10.64: dependencies: es6-iterator: 2.0.3 @@ -4872,31 +5004,31 @@ snapshots: optionalDependencies: source-map: 0.6.1 - eslint-config-prettier@10.1.8(eslint@10.0.3): + eslint-config-prettier@10.1.8(eslint@10.1.0): dependencies: - eslint: 10.0.3 + eslint: 10.1.0 - eslint-plugin-prettier@5.5.5(eslint-config-prettier@10.1.8(eslint@10.0.3))(eslint@10.0.3)(prettier@3.8.1): + eslint-plugin-prettier@5.5.5(eslint-config-prettier@10.1.8(eslint@10.1.0))(eslint@10.1.0)(prettier@3.8.1): dependencies: - eslint: 10.0.3 + eslint: 10.1.0 prettier: 3.8.1 prettier-linter-helpers: 1.0.1 synckit: 0.11.12 optionalDependencies: - eslint-config-prettier: 10.1.8(eslint@10.0.3) + eslint-config-prettier: 10.1.8(eslint@10.1.0) - eslint-plugin-vue@10.8.0(@typescript-eslint/parser@8.56.0(eslint@10.0.3)(typescript@5.9.3))(eslint@10.0.3)(vue-eslint-parser@10.4.0(eslint@10.0.3)): + eslint-plugin-vue@10.8.0(@typescript-eslint/parser@8.56.0(eslint@10.1.0)(typescript@5.9.3))(eslint@10.1.0)(vue-eslint-parser@10.4.0(eslint@10.1.0)): dependencies: - '@eslint-community/eslint-utils': 4.9.1(eslint@10.0.3) - eslint: 10.0.3 + '@eslint-community/eslint-utils': 4.9.1(eslint@10.1.0) + eslint: 10.1.0 natural-compare: 1.4.0 nth-check: 2.1.1 postcss-selector-parser: 7.1.1 semver: 7.7.4 - vue-eslint-parser: 10.4.0(eslint@10.0.3) + vue-eslint-parser: 10.4.0(eslint@10.1.0) xml-name-validator: 4.0.0 optionalDependencies: - '@typescript-eslint/parser': 8.56.0(eslint@10.0.3)(typescript@5.9.3) + '@typescript-eslint/parser': 8.56.0(eslint@10.1.0)(typescript@5.9.3) eslint-scope@9.1.2: dependencies: @@ -4909,9 +5041,9 @@ snapshots: eslint-visitor-keys@5.0.1: {} - eslint@10.0.3: + eslint@10.1.0: dependencies: - '@eslint-community/eslint-utils': 4.9.1(eslint@10.0.3) + '@eslint-community/eslint-utils': 4.9.1(eslint@10.1.0) '@eslint-community/regexpp': 4.12.2 '@eslint/config-array': 0.23.3 '@eslint/config-helpers': 0.5.3 @@ -4977,6 +5109,10 @@ snapshots: estree-walker@2.0.2: {} + estree-walker@3.0.3: + dependencies: + '@types/estree': 1.0.8 + esutils@2.0.3: {} event-emitter@0.3.5: @@ -4984,6 +5120,8 @@ snapshots: d: 1.0.2 es5-ext: 0.10.64 + expect-type@1.3.0: {} + exsolve@1.0.8: {} ext@1.7.0: @@ -5018,7 +5156,7 @@ snapshots: dependencies: flat-cache: 4.0.1 - filesize@11.0.13: {} + filesize@11.0.14: {} fill-range@7.1.1: dependencies: @@ -5031,10 +5169,10 @@ snapshots: flat-cache@4.0.1: dependencies: - flatted: 3.3.4 + flatted: 3.4.2 keyv: 4.5.4 - flatted@3.3.4: {} + flatted@3.4.2: {} focus-trap@8.0.0: dependencies: @@ -5205,7 +5343,7 @@ snapshots: local-pkg@1.1.2: dependencies: - mlly: 1.8.0 + mlly: 1.8.2 pkg-types: 2.3.0 quansync: 0.2.11 @@ -5267,12 +5405,12 @@ snapshots: dependencies: '@jridgewell/sourcemap-codec': 1.5.5 - marked-katex-extension@5.1.7(katex@0.16.28)(marked@17.0.4): + marked-katex-extension@5.1.7(katex@0.16.28)(marked@17.0.5): dependencies: katex: 0.16.28 - marked: 17.0.4 + marked: 17.0.5 - marked@17.0.4: {} + marked@17.0.5: {} marks-pane@1.0.9: {} @@ -5293,7 +5431,7 @@ snapshots: minimatch@10.2.4: dependencies: - brace-expansion: 5.0.4 + brace-expansion: 5.0.5 minimatch@9.0.9: dependencies: @@ -5301,7 +5439,7 @@ snapshots: mitt@3.0.1: {} - mlly@1.8.0: + mlly@1.8.2: dependencies: acorn: 8.16.0 pathe: 2.0.3 @@ -5338,6 +5476,8 @@ snapshots: dependencies: boolbase: 1.0.0 + obug@2.1.1: {} + optionator@0.9.4: dependencies: deep-is: 0.1.4 @@ -5379,10 +5519,12 @@ snapshots: picomatch@4.0.3: {} - pinia@3.0.4(typescript@5.9.3)(vue@3.5.30(typescript@5.9.3)): + picomatch@4.0.4: {} + + pinia@3.0.4(typescript@5.9.3)(vue@3.5.31(typescript@5.9.3)): dependencies: '@vue/devtools-api': 7.7.9 - vue: 3.5.30(typescript@5.9.3) + vue: 3.5.31(typescript@5.9.3) optionalDependencies: typescript: 5.9.3 @@ -5393,7 +5535,7 @@ snapshots: pkg-types@1.3.1: dependencies: confbox: 0.1.8 - mlly: 1.8.0 + mlly: 1.8.2 pathe: 2.0.3 pkg-types@2.3.0: @@ -5437,9 +5579,9 @@ snapshots: punycode@2.3.1: {} - qrcode.vue@3.8.0(vue@3.5.30(typescript@5.9.3)): + qrcode.vue@3.8.0(vue@3.5.31(typescript@5.9.3)): dependencies: - vue: 3.5.30(typescript@5.9.3) + vue: 3.5.31(typescript@5.9.3) quansync@0.2.11: {} @@ -5496,26 +5638,29 @@ snapshots: rfdc@1.4.1: {} - rolldown@1.0.0-rc.9: + rolldown@1.0.0-rc.12(@emnapi/core@1.9.0)(@emnapi/runtime@1.9.0): dependencies: - '@oxc-project/types': 0.115.0 - '@rolldown/pluginutils': 1.0.0-rc.9 + '@oxc-project/types': 0.122.0 + '@rolldown/pluginutils': 1.0.0-rc.12 optionalDependencies: - '@rolldown/binding-android-arm64': 1.0.0-rc.9 - '@rolldown/binding-darwin-arm64': 1.0.0-rc.9 - '@rolldown/binding-darwin-x64': 1.0.0-rc.9 - '@rolldown/binding-freebsd-x64': 1.0.0-rc.9 - '@rolldown/binding-linux-arm-gnueabihf': 1.0.0-rc.9 - '@rolldown/binding-linux-arm64-gnu': 1.0.0-rc.9 - '@rolldown/binding-linux-arm64-musl': 1.0.0-rc.9 - '@rolldown/binding-linux-ppc64-gnu': 1.0.0-rc.9 - '@rolldown/binding-linux-s390x-gnu': 1.0.0-rc.9 - '@rolldown/binding-linux-x64-gnu': 1.0.0-rc.9 - '@rolldown/binding-linux-x64-musl': 1.0.0-rc.9 - '@rolldown/binding-openharmony-arm64': 1.0.0-rc.9 - '@rolldown/binding-wasm32-wasi': 1.0.0-rc.9 - '@rolldown/binding-win32-arm64-msvc': 1.0.0-rc.9 - '@rolldown/binding-win32-x64-msvc': 1.0.0-rc.9 + '@rolldown/binding-android-arm64': 1.0.0-rc.12 + '@rolldown/binding-darwin-arm64': 1.0.0-rc.12 + '@rolldown/binding-darwin-x64': 1.0.0-rc.12 + '@rolldown/binding-freebsd-x64': 1.0.0-rc.12 + '@rolldown/binding-linux-arm-gnueabihf': 1.0.0-rc.12 + '@rolldown/binding-linux-arm64-gnu': 1.0.0-rc.12 + '@rolldown/binding-linux-arm64-musl': 1.0.0-rc.12 + '@rolldown/binding-linux-ppc64-gnu': 1.0.0-rc.12 + '@rolldown/binding-linux-s390x-gnu': 1.0.0-rc.12 + '@rolldown/binding-linux-x64-gnu': 1.0.0-rc.12 + '@rolldown/binding-linux-x64-musl': 1.0.0-rc.12 + '@rolldown/binding-openharmony-arm64': 1.0.0-rc.12 + '@rolldown/binding-wasm32-wasi': 1.0.0-rc.12(@emnapi/core@1.9.0)(@emnapi/runtime@1.9.0) + '@rolldown/binding-win32-arm64-msvc': 1.0.0-rc.12 + '@rolldown/binding-win32-x64-msvc': 1.0.0-rc.12 + transitivePeerDependencies: + - '@emnapi/core' + - '@emnapi/runtime' rollup@4.57.1: dependencies: @@ -5569,6 +5714,8 @@ snapshots: shebang-regex@3.0.0: {} + siginfo@2.0.0: {} + signal-exit@3.0.7: {} source-map-js@1.2.1: {} @@ -5582,6 +5729,10 @@ snapshots: speakingurl@14.0.1: {} + stackback@0.0.2: {} + + std-env@4.0.0: {} + string_decoder@1.1.1: dependencies: safe-buffer: 5.1.2 @@ -5603,18 +5754,24 @@ snapshots: tar-mini@0.2.0: {} - terser@5.46.0: + terser@5.46.1: dependencies: '@jridgewell/source-map': 0.3.11 - acorn: 8.15.0 + acorn: 8.16.0 commander: 2.20.3 source-map-support: 0.5.21 + tinybench@2.9.0: {} + + tinyexec@1.0.4: {} + tinyglobby@0.2.15: dependencies: fdir: 6.5.0(picomatch@4.0.3) picomatch: 4.0.3 + tinyrainbow@3.1.0: {} + to-regex-range@5.0.1: dependencies: is-number: 7.0.0 @@ -5623,6 +5780,10 @@ snapshots: dependencies: typescript: 5.9.3 + ts-api-utils@2.5.0(typescript@5.9.3): + dependencies: + typescript: 5.9.3 + tslib@2.8.1: optional: true @@ -5642,13 +5803,13 @@ snapshots: type@2.7.3: {} - typescript-eslint@8.56.0(eslint@10.0.3)(typescript@5.9.3): + typescript-eslint@8.56.0(eslint@10.1.0)(typescript@5.9.3): dependencies: - '@typescript-eslint/eslint-plugin': 8.56.0(@typescript-eslint/parser@8.56.0(eslint@10.0.3)(typescript@5.9.3))(eslint@10.0.3)(typescript@5.9.3) - '@typescript-eslint/parser': 8.56.0(eslint@10.0.3)(typescript@5.9.3) + '@typescript-eslint/eslint-plugin': 8.56.0(@typescript-eslint/parser@8.56.0(eslint@10.1.0)(typescript@5.9.3))(eslint@10.1.0)(typescript@5.9.3) + '@typescript-eslint/parser': 8.56.0(eslint@10.1.0)(typescript@5.9.3) '@typescript-eslint/typescript-estree': 8.56.0(typescript@5.9.3) - '@typescript-eslint/utils': 8.56.0(eslint@10.0.3)(typescript@5.9.3) - eslint: 10.0.3 + '@typescript-eslint/utils': 8.56.0(eslint@10.1.0)(typescript@5.9.3) + eslint: 10.1.0 typescript: 5.9.3 transitivePeerDependencies: - supports-color @@ -5673,7 +5834,7 @@ snapshots: unplugin-utils@0.3.1: dependencies: pathe: 2.0.3 - picomatch: 4.0.3 + picomatch: 4.0.4 unplugin@2.3.11: dependencies: @@ -5685,7 +5846,7 @@ snapshots: unplugin@3.0.0: dependencies: '@jridgewell/remapping': 2.3.5 - picomatch: 4.0.3 + picomatch: 4.0.4 webpack-virtual-modules: 0.6.2 update-browserslist-db@1.2.3(browserslist@4.28.1): @@ -5733,7 +5894,7 @@ snapshots: videojs-hotkeys@0.2.30: {} - videojs-mobile-ui@1.2.2(video.js@8.23.7): + videojs-mobile-ui@1.2.3(video.js@8.23.7): dependencies: global: 4.4.0 video.js: 8.23.7 @@ -5742,34 +5903,63 @@ snapshots: dependencies: global: 4.4.0 - vite-plugin-compression2@2.5.1(rollup@4.57.1): + vite-plugin-compression2@2.5.3(rollup@4.57.1): dependencies: '@rollup/pluginutils': 5.3.0(rollup@4.57.1) tar-mini: 0.2.0 transitivePeerDependencies: - rollup - vite@8.0.0(@types/node@24.12.0)(esbuild@0.27.3)(terser@5.46.0)(yaml@2.8.2): + vite@8.0.3(@emnapi/core@1.9.0)(@emnapi/runtime@1.9.0)(@types/node@24.12.0)(esbuild@0.27.3)(terser@5.46.1)(yaml@2.8.3): dependencies: - '@oxc-project/runtime': 0.115.0 lightningcss: 1.32.0 - picomatch: 4.0.3 + picomatch: 4.0.4 postcss: 8.5.8 - rolldown: 1.0.0-rc.9 + rolldown: 1.0.0-rc.12(@emnapi/core@1.9.0)(@emnapi/runtime@1.9.0) tinyglobby: 0.2.15 optionalDependencies: '@types/node': 24.12.0 esbuild: 0.27.3 fsevents: 2.3.3 - terser: 5.46.0 - yaml: 2.8.2 + terser: 5.46.1 + yaml: 2.8.3 + transitivePeerDependencies: + - '@emnapi/core' + - '@emnapi/runtime' + + vitest@4.1.2(@types/node@24.12.0)(vite@8.0.3(@emnapi/core@1.9.0)(@emnapi/runtime@1.9.0)(@types/node@24.12.0)(esbuild@0.27.3)(terser@5.46.1)(yaml@2.8.3)): + dependencies: + '@vitest/expect': 4.1.2 + '@vitest/mocker': 4.1.2(vite@8.0.3(@emnapi/core@1.9.0)(@emnapi/runtime@1.9.0)(@types/node@24.12.0)(esbuild@0.27.3)(terser@5.46.1)(yaml@2.8.3)) + '@vitest/pretty-format': 4.1.2 + '@vitest/runner': 4.1.2 + '@vitest/snapshot': 4.1.2 + '@vitest/spy': 4.1.2 + '@vitest/utils': 4.1.2 + es-module-lexer: 2.0.0 + expect-type: 1.3.0 + magic-string: 0.30.21 + obug: 2.1.1 + pathe: 2.0.3 + picomatch: 4.0.4 + std-env: 4.0.0 + tinybench: 2.9.0 + tinyexec: 1.0.4 + tinyglobby: 0.2.15 + tinyrainbow: 3.1.0 + vite: 8.0.3(@emnapi/core@1.9.0)(@emnapi/runtime@1.9.0)(@types/node@24.12.0)(esbuild@0.27.3)(terser@5.46.1)(yaml@2.8.3) + why-is-node-running: 2.3.0 + optionalDependencies: + '@types/node': 24.12.0 + transitivePeerDependencies: + - msw vscode-uri@3.1.0: {} - vue-eslint-parser@10.4.0(eslint@10.0.3): + vue-eslint-parser@10.4.0(eslint@10.1.0): dependencies: debug: 4.4.3 - eslint: 10.0.3 + eslint: 10.1.0 eslint-scope: 9.1.2 eslint-visitor-keys: 5.0.1 espree: 11.2.0 @@ -5778,13 +5968,13 @@ snapshots: transitivePeerDependencies: - supports-color - vue-i18n@11.3.0(vue@3.5.30(typescript@5.9.3)): + vue-i18n@11.3.0(vue@3.5.31(typescript@5.9.3)): dependencies: '@intlify/core-base': 11.3.0 '@intlify/devtools-types': 11.3.0 '@intlify/shared': 11.3.0 '@vue/devtools-api': 6.6.4 - vue: 3.5.30(typescript@5.9.3) + vue: 3.5.31(typescript@5.9.3) vue-lazyload@3.0.0: {} @@ -5792,47 +5982,47 @@ snapshots: dependencies: epubjs: 0.3.93 - vue-router@5.0.3(@vue/compiler-sfc@3.5.30)(pinia@3.0.4(typescript@5.9.3)(vue@3.5.30(typescript@5.9.3)))(vue@3.5.30(typescript@5.9.3)): + vue-router@5.0.4(@vue/compiler-sfc@3.5.31)(pinia@3.0.4(typescript@5.9.3)(vue@3.5.31(typescript@5.9.3)))(vue@3.5.31(typescript@5.9.3)): dependencies: '@babel/generator': 7.29.1 - '@vue-macros/common': 3.1.2(vue@3.5.30(typescript@5.9.3)) - '@vue/devtools-api': 8.0.6 + '@vue-macros/common': 3.1.2(vue@3.5.31(typescript@5.9.3)) + '@vue/devtools-api': 8.1.1 ast-walker-scope: 0.8.3 chokidar: 5.0.0 json5: 2.2.3 local-pkg: 1.1.2 magic-string: 0.30.21 - mlly: 1.8.0 + mlly: 1.8.2 muggle-string: 0.4.1 pathe: 2.0.3 - picomatch: 4.0.3 + picomatch: 4.0.4 scule: 1.3.0 tinyglobby: 0.2.15 unplugin: 3.0.0 unplugin-utils: 0.3.1 - vue: 3.5.30(typescript@5.9.3) - yaml: 2.8.2 + vue: 3.5.31(typescript@5.9.3) + yaml: 2.8.3 optionalDependencies: - '@vue/compiler-sfc': 3.5.30 - pinia: 3.0.4(typescript@5.9.3)(vue@3.5.30(typescript@5.9.3)) + '@vue/compiler-sfc': 3.5.31 + pinia: 3.0.4(typescript@5.9.3)(vue@3.5.31(typescript@5.9.3)) - vue-toastification@2.0.0-rc.5(vue@3.5.30(typescript@5.9.3)): + vue-toastification@2.0.0-rc.5(vue@3.5.31(typescript@5.9.3)): dependencies: - vue: 3.5.30(typescript@5.9.3) + vue: 3.5.31(typescript@5.9.3) - vue-tsc@3.2.5(typescript@5.9.3): + vue-tsc@3.2.6(typescript@5.9.3): dependencies: '@volar/typescript': 2.4.28 - '@vue/language-core': 3.2.5 + '@vue/language-core': 3.2.6 typescript: 5.9.3 - vue@3.5.30(typescript@5.9.3): + vue@3.5.31(typescript@5.9.3): dependencies: - '@vue/compiler-dom': 3.5.30 - '@vue/compiler-sfc': 3.5.30 - '@vue/runtime-dom': 3.5.30 - '@vue/server-renderer': 3.5.30(vue@3.5.30(typescript@5.9.3)) - '@vue/shared': 3.5.30 + '@vue/compiler-dom': 3.5.31 + '@vue/compiler-sfc': 3.5.31 + '@vue/runtime-dom': 3.5.31 + '@vue/server-renderer': 3.5.31(vue@3.5.31(typescript@5.9.3)) + '@vue/shared': 3.5.31 optionalDependencies: typescript: 5.9.3 @@ -5842,6 +6032,11 @@ snapshots: dependencies: isexe: 2.0.0 + why-is-node-running@2.3.0: + dependencies: + siginfo: 2.0.0 + stackback: 0.0.2 + word-wrap@1.2.5: {} xml-name-validator@4.0.0: {} @@ -5855,4 +6050,6 @@ snapshots: yaml@2.8.2: {} + yaml@2.8.3: {} + yocto-queue@0.1.0: {} diff --git a/filebrowser/frontend/src/i18n/hr.json b/filebrowser/frontend/src/i18n/hr.json index 9626a0c756..5a3abf3783 100644 --- a/filebrowser/frontend/src/i18n/hr.json +++ b/filebrowser/frontend/src/i18n/hr.json @@ -42,17 +42,17 @@ "update": "Ažuriraj", "upload": "Prenesi", "openFile": "Otvori datoteku", - "openDirect": "View raw", + "openDirect": "Pregled neobrađenog", "discardChanges": "Odbaci", - "stopSearch": "Stop searching", + "stopSearch": "Prestanak pretraživanja", "saveChanges": "Spremi promjene", "editAsText": "Uredi kao tekst", "increaseFontSize": "Povećaj veličinu fonta", "decreaseFontSize": "Smanji veličinu fonta", - "overrideAll": "Replace all files in destination folder", - "skipAll": "Skip all conflicting files", - "renameAll": "Rename all files (create a copy)", - "singleDecision": "Decide for each conflicting file" + "overrideAll": "Zamijeni sve datoteke u destinacijskoj mapi", + "skipAll": "Preskoči sve konfliktirajuće datoteke", + "renameAll": "Preimenuj sve datoteke (stvori kopiju)", + "singleDecision": "Odluči za svaku konfliktirajuću datoteku" }, "download": { "downloadFile": "Preuzmi Datoteku", @@ -94,7 +94,7 @@ "semicolon": "Točka zarez (;)", "both": "I (,) i (;)" }, - "fileEncoding": "File Encoding" + "fileEncoding": "Kodiranje datoteka" }, "help": { "click": "odaberi datoteku ili mapu", @@ -166,18 +166,18 @@ "optionalPassword": "Opcionalna lozinka", "resolution": "Rezolucija", "discardEditorChanges": "Jeste li sigurni da želite odbaciti promjene koje ste napravili?", - "replaceOrSkip": "Replace or skip files", - "resolveConflict": "Which files do you want to keep?", - "singleConflictResolve": "If you select both versions, a number will be added to the name of the copied file.", - "fastConflictResolve": "The destination folder there are {count} files with same name.", - "uploadingFiles": "Uploading files", - "filesInOrigin": "Files in origin", - "filesInDest": "Files in destination", - "override": "Overwrite", - "skip": "Skip", - "forbiddenError": "Forbidden Error", - "currentPassword": "Your password", - "currentPasswordMessage": "Enter your password to validate this action." + "replaceOrSkip": "Zamijeni ili preskoči datoteke", + "resolveConflict": "Koje datoteke želite sačuvati?", + "singleConflictResolve": "Ako odaberete obje verzije, u ime kopirane datoteke bit će dodan broj.", + "fastConflictResolve": "Destinacijska mapa sadrži {count} istoimenih datoteka.", + "uploadingFiles": "Prenošenje datoteka", + "filesInOrigin": "Datoteke u izvornoj mapi", + "filesInDest": "Datoteke u destinacijskoj mapi", + "override": "Prebrisivanje", + "skip": "Preskoči", + "forbiddenError": "Greška zabrane pristupa", + "currentPassword": "Vaša lozinka", + "currentPasswordMessage": "Unesite Vašu lozinku da biste validirali ovu akciju." }, "search": { "images": "Slike", @@ -250,7 +250,7 @@ "permissions": "Dopuštenja", "permissionsHelp": "Korisnika možete postaviti administratorom ili odabrati dopuštenja individualno. Odabirom na \"Administrator\", sve druge opcije bit će automatski odabrane. Upravljanje korisnicima ostaje privilegija administratora.\n", "profileSettings": "Postavke profila", - "redirectAfterCopyMove": "Redirect to destination after copy/move", + "redirectAfterCopyMove": "Preusmjeri na destinaciju nakon kopiranja/premještanja", "ruleExample1": "onemogućava pristup svakoj datoteci koja započinje točkom (poput .git, .gitignore) u svakoj mapi.\n", "ruleExample2": "blokira pristup datoteci naziva Caddyfile na korijenu opsega.", "rules": "Pravila", @@ -278,7 +278,7 @@ "userUpdated": "Korisnik ažuriran!", "username": "Korisničko ime", "users": "Korisnici", - "currentPassword": "Your Current Password" + "currentPassword": "Vaša trenutna lozinka" }, "sidebar": { "help": "Pomoć", diff --git a/filebrowser/frontend/src/i18n/ko.json b/filebrowser/frontend/src/i18n/ko.json index 1ca34ed38b..c03c39f670 100644 --- a/filebrowser/frontend/src/i18n/ko.json +++ b/filebrowser/frontend/src/i18n/ko.json @@ -176,8 +176,8 @@ "override": "덮어쓰기", "skip": "건너뛰기", "forbiddenError": "권한 오류", - "currentPassword": "Your password", - "currentPasswordMessage": "Enter your password to validate this action." + "currentPassword": "기존 비밀번호", + "currentPasswordMessage": "기존 비밀번호를 입력해 이 동작을 확인하십시오." }, "search": { "images": "이미지", diff --git a/filebrowser/frontend/src/i18n/pt-pt.json b/filebrowser/frontend/src/i18n/pt-pt.json index f7b8e52446..8430474c0a 100644 --- a/filebrowser/frontend/src/i18n/pt-pt.json +++ b/filebrowser/frontend/src/i18n/pt-pt.json @@ -100,7 +100,7 @@ "click": "seleccionar ficheiro ou pasta", "ctrl": { "click": "seleccionar vários ficheiros e pastas", - "f": "opens search", + "f": "abre a pesquisa", "s": "guarda um ficheiro ou descarrega a pasta onde estiver" }, "del": "elimina os itens seleccionados", @@ -145,7 +145,7 @@ "lastModified": "última modificação", "move": "Mover", "moveMessage": "Escolha uma nova casa para o(s) seu(s) ficheiro(s)/pasta(s):", - "newArchetype": "Escolha um novo post baseado no archetype. O seu ficheiro irá criado no conteúdo da pasta.", + "newArchetype": "Criar uma nova publicação baseado no archetype. O seu ficheiro irá ser criado no conteúdo da pasta.", "newDir": "Nova pasta", "newDirMessage": "Nomeie a sua nova pasta.", "newFile": "Novo ficheiro", @@ -157,7 +157,7 @@ "replace": "Substituir", "replaceMessage": "Um dos ficheiros que está a tentar enviar tem um nome em conflito. Quer ignorar este ficheiro e continuar a enviar ou substituir o existente?\none?\n", "schedule": "Agendar", - "scheduleMessage": "Escolha a data e hora para agendar a autenticação desta publicação.", + "scheduleMessage": "Escolha a data e hora para agendar a publicação desta publicação.", "show": "Mostrar", "size": "Tamanho", "upload": "Enviar", diff --git a/filebrowser/frontend/src/utils/__tests__/upload.test.ts b/filebrowser/frontend/src/utils/__tests__/upload.test.ts new file mode 100644 index 0000000000..b28868ea2b --- /dev/null +++ b/filebrowser/frontend/src/utils/__tests__/upload.test.ts @@ -0,0 +1,80 @@ +import { describe, it, expect } from "vitest"; + +/** + * Reproduces the path-building logic from scanFiles() in upload.ts (lines 118-138). + * + * readReaderContent() is called when traversing a dropped folder. The browser's + * FileSystemDirectoryReader.readEntries() returns entries in batches — you must + * call it repeatedly until it returns an empty array. Each recursive call in the + * current code appends "/" to the directory, so the second batch and beyond get + * double (or triple, etc.) slashes in the constructed fullPath. + */ + +type Entry = { name: string; isFile: boolean; isDirectory: boolean }; + +function simulateScanFiles( + dirName: string, + entryBatches: Entry[][] +): string[] { + const paths: string[] = []; + let batchIndex = 0; + + // Mirrors readEntry() for files — records fullPath as `${directory}${file.name}` + function readEntry(entry: Entry, directory = ""): void { + if (entry.isFile) { + paths.push(`${directory}${entry.name}`); + } + } + + // Mirrors readReaderContent() from upload.ts lines 118-138 + function readReaderContent(directory: string): void { + const entries = batchIndex < entryBatches.length ? entryBatches[batchIndex] : []; + batchIndex++; + + if (entries.length > 0) { + const dirWithSlash = directory.endsWith("/") + ? directory + : `${directory}/`; + for (const entry of entries) { + readEntry(entry, dirWithSlash); + } + readReaderContent(dirWithSlash); + } + } + + // Initial call mirrors readEntry() for a directory — upload.ts line 111-114 + readReaderContent(dirName); + return paths; +} + +describe("scanFiles path construction", () => { + it("should not produce double slashes when readEntries returns multiple batches", () => { + // Two batches: simulates a large directory where the browser splits + // readEntries() results across multiple calls + const paths = simulateScanFiles("TestFolder", [ + [ + { name: "file1.xlsx", isFile: true, isDirectory: false }, + { name: "file2.xlsx", isFile: true, isDirectory: false }, + ], + [ + { name: "file3.xlsx", isFile: true, isDirectory: false }, + ], + ]); + + expect(paths).toHaveLength(3); + + for (const p of paths) { + expect(p, `path "${p}" contains double slash`).not.toContain("//"); + } + }); + + it("single batch should work fine (no regression)", () => { + const paths = simulateScanFiles("TestFolder", [ + [ + { name: "file1.xlsx", isFile: true, isDirectory: false }, + ], + ]); + + expect(paths).toEqual(["TestFolder/file1.xlsx"]); + }); +}); diff --git a/filebrowser/frontend/src/utils/upload.ts b/filebrowser/frontend/src/utils/upload.ts index 3b68919223..b3f6c329a1 100644 --- a/filebrowser/frontend/src/utils/upload.ts +++ b/filebrowser/frontend/src/utils/upload.ts @@ -124,11 +124,14 @@ export function scanFiles(dt: DataTransfer): Promise { reader.readEntries((entries) => { reading--; if (entries.length > 0) { + const dirWithSlash = directory.endsWith("/") + ? directory + : `${directory}/`; for (const entry of entries) { - readEntry(entry, `${directory}/`); + readEntry(entry, dirWithSlash); } - readReaderContent(reader, `${directory}/`); + readReaderContent(reader, dirWithSlash); } if (reading === 0) { diff --git a/filebrowser/frontend/src/views/files/Preview.vue b/filebrowser/frontend/src/views/files/Preview.vue index 2a60e7df30..0ac529ec1f 100644 --- a/filebrowser/frontend/src/views/files/Preview.vue +++ b/filebrowser/frontend/src/views/files/Preview.vue @@ -84,7 +84,6 @@ }" :epubOptions="{ allowPopups: true, - allowScriptedContent: true, }" @update:location="locationChange" /> diff --git a/filebrowser/go.mod b/filebrowser/go.mod index e354852959..32b050ba5b 100644 --- a/filebrowser/go.mod +++ b/filebrowser/go.mod @@ -27,7 +27,7 @@ require ( github.com/tomasen/realip v0.0.0-20180522021738-f0c99a92ddce go.etcd.io/bbolt v1.4.3 golang.org/x/crypto v0.49.0 - golang.org/x/image v0.37.0 + golang.org/x/image v0.38.0 golang.org/x/text v0.35.0 gopkg.in/natefinch/lumberjack.v2 v2.2.1 gopkg.in/yaml.v3 v3.0.1 diff --git a/filebrowser/go.sum b/filebrowser/go.sum index 07a252baeb..4aa318e3f9 100644 --- a/filebrowser/go.sum +++ b/filebrowser/go.sum @@ -296,8 +296,8 @@ golang.org/x/exp v0.0.0-20200207192155-f17229e696bd/go.mod h1:J/WKrq2StrnmMY6+EH golang.org/x/image v0.0.0-20190227222117-0694c2d4d067/go.mod h1:kZ7UVZpmo3dzQBMxlp+ypCbDeSB+sBbTgSJuh5dn5js= golang.org/x/image v0.0.0-20190802002840-cff245a6509b/go.mod h1:FeLwcggjj3mMvU+oOTbSwawSJRM1uh48EjtB4UJZlP0= golang.org/x/image v0.0.0-20191009234506-e7c1f5e7dbb8/go.mod h1:FeLwcggjj3mMvU+oOTbSwawSJRM1uh48EjtB4UJZlP0= -golang.org/x/image v0.37.0 h1:ZiRjArKI8GwxZOoEtUfhrBtaCN+4b/7709dlT6SSnQA= -golang.org/x/image v0.37.0/go.mod h1:/3f6vaXC+6CEanU4KJxbcUZyEePbyKbaLoDOe4ehFYY= +golang.org/x/image v0.38.0 h1:5l+q+Y9JDC7mBOMjo4/aPhMDcxEptsX+Tt3GgRQRPuE= +golang.org/x/image v0.38.0/go.mod h1:/3f6vaXC+6CEanU4KJxbcUZyEePbyKbaLoDOe4ehFYY= golang.org/x/lint v0.0.0-20181026193005-c67002cb31c3/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE= golang.org/x/lint v0.0.0-20190227174305-5b3e6a55c961/go.mod h1:wehouNa3lNwaWXcvxsM5YxQ5yQlVC4a0KAMCusXpPoU= golang.org/x/lint v0.0.0-20190301231843-5614ed5bae6f/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE= diff --git a/filebrowser/http/auth.go b/filebrowser/http/auth.go index d975beae9d..59f15a36a0 100644 --- a/filebrowser/http/auth.go +++ b/filebrowser/http/auth.go @@ -171,6 +171,12 @@ var signupHandler = func(_ http.ResponseWriter, r *http.Request, d *data) (int, // if that is the default permission. user.Perm.Admin = false + // Self-registered users should not inherit execution capabilities from + // default settings, regardless of what the administrator has configured + // as the default. Execution rights must be explicitly granted by an admin. + user.Perm.Execute = false + user.Commands = []string{} + pwd, err := users.ValidateAndHashPwd(info.Password, d.settings.MinimumPasswordLength) if err != nil { return http.StatusBadRequest, err diff --git a/filebrowser/http/raw.go b/filebrowser/http/raw.go index a6857ffb32..b5c86643e5 100644 --- a/filebrowser/http/raw.go +++ b/filebrowser/http/raw.go @@ -72,7 +72,8 @@ func parseQueryAlgorithm(r *http.Request) (string, archives.Archival, error) { func setContentDisposition(w http.ResponseWriter, r *http.Request, file *files.FileInfo) { if r.URL.Query().Get("inline") == "true" { - w.Header().Set("Content-Disposition", "inline") + // As per RFC6266 section 4.3 + w.Header().Set("Content-Disposition", "inline; filename*=utf-8''"+url.PathEscape(file.Name)) } else { // As per RFC6266 section 4.3 w.Header().Set("Content-Disposition", "attachment; filename*=utf-8''"+url.PathEscape(file.Name)) diff --git a/filebrowser/http/raw_test.go b/filebrowser/http/raw_test.go new file mode 100644 index 0000000000..ec53a17334 --- /dev/null +++ b/filebrowser/http/raw_test.go @@ -0,0 +1,75 @@ +package fbhttp + +import ( + "net/http" + "net/http/httptest" + "net/url" + "testing" + + "github.com/filebrowser/filebrowser/v2/files" +) + +func TestSetContentDisposition(t *testing.T) { + t.Parallel() + + testCases := map[string]struct { + filename string + inline bool + expected string + }{ + "inline simple filename": { + filename: "document.pdf", + inline: true, + expected: "inline; filename*=utf-8''" + url.PathEscape("document.pdf"), + }, + "attachment simple filename": { + filename: "document.pdf", + inline: false, + expected: "attachment; filename*=utf-8''" + url.PathEscape("document.pdf"), + }, + "inline non-ASCII filename": { + filename: "日本語.txt", + inline: true, + expected: "inline; filename*=utf-8''" + url.PathEscape("日本語.txt"), + }, + "attachment non-ASCII filename": { + filename: "日本語.txt", + inline: false, + expected: "attachment; filename*=utf-8''" + url.PathEscape("日本語.txt"), + }, + "inline filename with spaces": { + filename: "my file.txt", + inline: true, + expected: "inline; filename*=utf-8''" + url.PathEscape("my file.txt"), + }, + "attachment filename with spaces": { + filename: "my file.txt", + inline: false, + expected: "attachment; filename*=utf-8''" + url.PathEscape("my file.txt"), + }, + } + + for name, tc := range testCases { + t.Run(name, func(t *testing.T) { + t.Parallel() + + recorder := httptest.NewRecorder() + req, err := http.NewRequest(http.MethodGet, "/test", http.NoBody) + if err != nil { + t.Fatalf("failed to create request: %v", err) + } + if tc.inline { + req.URL.RawQuery = "inline=true" + } + + file := &files.FileInfo{Name: tc.filename} + + setContentDisposition(recorder, req, file) + + got := recorder.Header().Get("Content-Disposition") + if got != tc.expected { + t.Errorf("Content-Disposition = %q, want %q", got, tc.expected) + } + }) + } +} diff --git a/filebrowser/http/static.go b/filebrowser/http/static.go index 25f8539ddf..7580f17071 100644 --- a/filebrowser/http/static.go +++ b/filebrowser/http/static.go @@ -1,19 +1,19 @@ package fbhttp import ( + "compress/gzip" "encoding/json" "errors" "fmt" - "io/fs" + "html/template" "io" - "compress/gzip" + "io/fs" "log" "net/http" "os" "path" "path/filepath" "strings" - "text/template" "github.com/filebrowser/filebrowser/v2/auth" "github.com/filebrowser/filebrowser/v2/settings" @@ -85,7 +85,7 @@ func handleWithStaticData(w http.ResponseWriter, _ *http.Request, d *data, fSys return http.StatusInternalServerError, err } - data["Json"] = strings.ReplaceAll(string(b), `'`, `\'`) + data["Json"] = template.JS(strings.ReplaceAll(string(b), `'`, `\'`)) fileContents, err := fs.ReadFile(fSys, file) if err != nil { @@ -153,7 +153,7 @@ func getStaticHandlers(store *storage.Storage, server *settings.Server, assetsFs defer f.Close() acceptEncoding := r.Header.Get("Accept-Encoding") - if strings.Contains(acceptEncoding, "gzip") { + if strings.Contains(acceptEncoding, "gzip") { w.Header().Set("Content-Encoding", "gzip") w.Header().Set("Content-Type", "application/javascript; charset=utf-8") @@ -168,7 +168,7 @@ func getStaticHandlers(store *storage.Storage, server *settings.Server, assetsFs defer gzReader.Close() w.Header().Set("Content-Type", "application/javascript; charset=utf-8") - + if _, err := io.Copy(w, gzReader); err != nil { return http.StatusInternalServerError, err } diff --git a/hysteria/app/go.mod b/hysteria/app/go.mod index 1c2e614654..6902107036 100644 --- a/hysteria/app/go.mod +++ b/hysteria/app/go.mod @@ -30,7 +30,7 @@ require ( require ( github.com/andybalholm/brotli v1.1.0 // indirect - github.com/apernet/quic-go v0.59.1-0.20260217092621-db4786c77a22 // indirect + github.com/apernet/quic-go v0.59.1-0.20260328005802-789359b3e584 // indirect github.com/cloudflare/circl v1.3.9 // indirect github.com/database64128/netx-go v0.0.0-20240905055117-62795b8b054a // indirect github.com/database64128/tfo-go/v2 v2.2.2 // indirect diff --git a/hysteria/app/go.sum b/hysteria/app/go.sum index 8d1938e667..4d7068c949 100644 --- a/hysteria/app/go.sum +++ b/hysteria/app/go.sum @@ -2,8 +2,8 @@ github.com/andybalholm/brotli v1.1.0 h1:eLKJA0d02Lf0mVpIDgYnqXcUn0GqVmEFny3VuID1 github.com/andybalholm/brotli v1.1.0/go.mod h1:sms7XGricyQI9K10gOSf56VKKWS4oLer58Q+mhRPtnY= github.com/apernet/go-tproxy v0.0.0-20230809025308-8f4723fd742f h1:uVh0qpEslrWjgzx9vOcyCqsOY3c9kofDZ1n+qaw35ZY= github.com/apernet/go-tproxy v0.0.0-20230809025308-8f4723fd742f/go.mod h1:xkkq9D4ygcldQQhKS/w9CadiCKwCngU7K9E3DaKahpM= -github.com/apernet/quic-go v0.59.1-0.20260217092621-db4786c77a22 h1:00ziBGnLWQEcR9LThDwvxOznJJquJ9bYUdmBFnawLMU= -github.com/apernet/quic-go v0.59.1-0.20260217092621-db4786c77a22/go.mod h1:Npbg8qBtAZlsAB3FWmqwlVh5jtVG6a4DlYsOylUpvzA= +github.com/apernet/quic-go v0.59.1-0.20260328005802-789359b3e584 h1:UkZ30ZI/XCULdKgluCQjAeO1Y8TIb6z8jm5dJgLurFo= +github.com/apernet/quic-go v0.59.1-0.20260328005802-789359b3e584/go.mod h1:Npbg8qBtAZlsAB3FWmqwlVh5jtVG6a4DlYsOylUpvzA= github.com/apernet/sing-tun v0.2.6-0.20250920121535-299f04629986 h1:w62V0oOO2Do0vXeZkx7mgZ2YFuUaRcO6rNZewI3xzuE= github.com/apernet/sing-tun v0.2.6-0.20250920121535-299f04629986/go.mod h1:S5IydyLSN/QAfvY+r2GoomPJ6hidtXWm/Ad18sJVssk= github.com/benbjohnson/clock v1.1.0 h1:Q92kusRqC1XV2MjkWETPvjJVqKetz1OzxZB7mHJLju8= diff --git a/hysteria/core/go.mod b/hysteria/core/go.mod index 2685a3255b..2602620b3d 100644 --- a/hysteria/core/go.mod +++ b/hysteria/core/go.mod @@ -5,7 +5,7 @@ go 1.24.0 toolchain go1.25.1 require ( - github.com/apernet/quic-go v0.59.1-0.20260217092621-db4786c77a22 + github.com/apernet/quic-go v0.59.1-0.20260328005802-789359b3e584 github.com/stretchr/testify v1.11.1 go.uber.org/goleak v1.2.1 golang.org/x/exp v0.0.0-20240506185415-9bf2ced13842 diff --git a/hysteria/core/go.sum b/hysteria/core/go.sum index 762adeab02..3da1b45d0b 100644 --- a/hysteria/core/go.sum +++ b/hysteria/core/go.sum @@ -1,5 +1,5 @@ -github.com/apernet/quic-go v0.59.1-0.20260217092621-db4786c77a22 h1:00ziBGnLWQEcR9LThDwvxOznJJquJ9bYUdmBFnawLMU= -github.com/apernet/quic-go v0.59.1-0.20260217092621-db4786c77a22/go.mod h1:Npbg8qBtAZlsAB3FWmqwlVh5jtVG6a4DlYsOylUpvzA= +github.com/apernet/quic-go v0.59.1-0.20260328005802-789359b3e584 h1:UkZ30ZI/XCULdKgluCQjAeO1Y8TIb6z8jm5dJgLurFo= +github.com/apernet/quic-go v0.59.1-0.20260328005802-789359b3e584/go.mod h1:Npbg8qBtAZlsAB3FWmqwlVh5jtVG6a4DlYsOylUpvzA= github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E= github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= diff --git a/hysteria/core/internal/congestion/bbr/bbr_sender.go b/hysteria/core/internal/congestion/bbr/bbr_sender.go index 562055fe5c..dc32ee3f55 100644 --- a/hysteria/core/internal/congestion/bbr/bbr_sender.go +++ b/hysteria/core/internal/congestion/bbr/bbr_sender.go @@ -28,16 +28,13 @@ const ( invalidPacketNumber = -1 initialCongestionWindowPackets = 32 + minCongestionWindowPackets = 4 // Constants based on TCP defaults. // The minimum CWND to ensure delayed acks don't reduce bandwidth measurements. // Does not inflate the pacing rate. - defaultMinimumCongestionWindow = 4 * congestion.ByteCount(congestion.InitialPacketSize) - // The gain used for the STARTUP, equal to 2/ln(2). defaultHighGain = 2.885 - // The newly derived gain for STARTUP, equal to 4 * ln(2) - derivedHighGain = 2.773 // The newly derived CWND gain for STARTUP, 2. derivedHighCWNDGain = 2.0 @@ -66,7 +63,6 @@ const ( // Flag. defaultStartupFullLossCount = 8 quicBbr2DefaultLossThreshold = 0.02 - maxBbrBurstPackets = 10 ) type bbrMode int @@ -277,7 +273,7 @@ func newBbrSender( congestionWindow: initialCongestionWindow, initialCongestionWindow: initialCongestionWindow, maxCongestionWindow: initialMaxCongestionWindow, - minCongestionWindow: defaultMinimumCongestionWindow, + minCongestionWindow: minCongestionWindowForMaxDatagramSize(initialMaxDatagramSize), highGain: defaultHighGain, highCwndGain: defaultHighGain, drainGain: 1.0 / defaultHighGain, @@ -296,19 +292,37 @@ func newBbrSender( } b.pacer = common.NewPacer(b.bandwidthForPacer) - /* - if b.tracer != nil { - b.lastState = logging.CongestionStateStartup - b.tracer.UpdatedCongestionState(logging.CongestionStateStartup) - } - */ - b.enterStartupMode(b.clock.Now()) b.setHighCwndGain(derivedHighCWNDGain) return b } +func minCongestionWindowForMaxDatagramSize(maxDatagramSize congestion.ByteCount) congestion.ByteCount { + return minCongestionWindowPackets * maxDatagramSize +} + +func scaleByteWindowForDatagramSize(window, oldMaxDatagramSize, newMaxDatagramSize congestion.ByteCount) congestion.ByteCount { + if oldMaxDatagramSize == newMaxDatagramSize { + return window + } + return congestion.ByteCount(uint64(window) * uint64(newMaxDatagramSize) / uint64(oldMaxDatagramSize)) +} + +func (b *bbrSender) rescalePacketSizedWindows(maxDatagramSize congestion.ByteCount) { + oldMaxDatagramSize := b.maxDatagramSize + b.maxDatagramSize = maxDatagramSize + b.initialCongestionWindow = scaleByteWindowForDatagramSize(b.initialCongestionWindow, oldMaxDatagramSize, maxDatagramSize) + b.maxCongestionWindow = scaleByteWindowForDatagramSize(b.maxCongestionWindow, oldMaxDatagramSize, maxDatagramSize) + b.minCongestionWindow = minCongestionWindowForMaxDatagramSize(maxDatagramSize) + b.cwndToCalculateMinPacingRate = scaleByteWindowForDatagramSize(b.cwndToCalculateMinPacingRate, oldMaxDatagramSize, maxDatagramSize) + b.maxCongestionWindowWithNetworkParametersAdjusted = scaleByteWindowForDatagramSize( + b.maxCongestionWindowWithNetworkParametersAdjusted, + oldMaxDatagramSize, + maxDatagramSize, + ) +} + func (b *bbrSender) SetRTTStatsProvider(provider congestion.RTTStatsProvider) { b.rttStats = provider } @@ -370,14 +384,22 @@ func (b *bbrSender) OnRetransmissionTimeout(packetsRetransmitted bool) { // SetMaxDatagramSize implements the SendAlgorithm interface. func (b *bbrSender) SetMaxDatagramSize(s congestion.ByteCount) { + b.debugPrint("Max Datagram Size: %d", s) if s < b.maxDatagramSize { panic(fmt.Sprintf("congestion BUG: decreased max datagram size from %d to %d", b.maxDatagramSize, s)) } - cwndIsMinCwnd := b.congestionWindow == b.minCongestionWindow - b.maxDatagramSize = s - if cwndIsMinCwnd { + oldMinCongestionWindow := b.minCongestionWindow + oldInitialCongestionWindow := b.initialCongestionWindow + b.rescalePacketSizedWindows(s) + switch b.congestionWindow { + case oldMinCongestionWindow: b.congestionWindow = b.minCongestionWindow + case oldInitialCongestionWindow: + b.congestionWindow = b.initialCongestionWindow + default: + b.congestionWindow = min(b.maxCongestionWindow, max(b.congestionWindow, b.minCongestionWindow)) } + b.recoveryWindow = min(b.maxCongestionWindow, max(b.recoveryWindow, b.minCongestionWindow)) b.pacer.SetMaxDatagramSize(s) } @@ -519,22 +541,6 @@ func (b *bbrSender) PacingRate() Bandwidth { return b.pacingRate } -func (b *bbrSender) hasGoodBandwidthEstimateForResumption() bool { - return b.hasNonAppLimitedSample() -} - -func (b *bbrSender) hasNonAppLimitedSample() bool { - return b.hasNoAppLimitedSample -} - -// Sets the pacing gain used in STARTUP. Must be greater than 1. -func (b *bbrSender) setHighGain(highGain float64) { - b.highGain = highGain - if b.mode == bbrModeStartup { - b.pacingGain = highGain - } -} - // Sets the CWND gain used in STARTUP. Must be greater than 1. func (b *bbrSender) setHighCwndGain(highCwndGain float64) { b.highCwndGain = highCwndGain @@ -543,11 +549,6 @@ func (b *bbrSender) setHighCwndGain(highCwndGain float64) { } } -// Sets the gain used in DRAIN. Must be less than 1. -func (b *bbrSender) setDrainGain(drainGain float64) { - b.drainGain = drainGain -} - // Get the current bandwidth estimate. Note that Bandwidth is in bits per second. func (b *bbrSender) bandwidthEstimate() Bandwidth { return b.maxBandwidth.GetBest() diff --git a/hysteria/core/internal/congestion/bbr/bbr_sender_test.go b/hysteria/core/internal/congestion/bbr/bbr_sender_test.go new file mode 100644 index 0000000000..41dad12d12 --- /dev/null +++ b/hysteria/core/internal/congestion/bbr/bbr_sender_test.go @@ -0,0 +1,44 @@ +package bbr + +import ( + "testing" + + "github.com/apernet/quic-go/congestion" + "github.com/stretchr/testify/require" +) + +func TestSetMaxDatagramSizeRescalesPacketSizedWindows(t *testing.T) { + const oldMaxDatagramSize = congestion.ByteCount(1000) + const newMaxDatagramSize = congestion.ByteCount(1400) + const initialCongestionWindowPackets = congestion.ByteCount(20) + const maxCongestionWindowPackets = congestion.ByteCount(80) + + b := newBbrSender( + DefaultClock{}, + oldMaxDatagramSize, + initialCongestionWindowPackets*oldMaxDatagramSize, + maxCongestionWindowPackets*oldMaxDatagramSize, + ) + b.congestionWindow = b.initialCongestionWindow + + b.SetMaxDatagramSize(newMaxDatagramSize) + + require.Equal(t, initialCongestionWindowPackets*newMaxDatagramSize, b.initialCongestionWindow) + require.Equal(t, maxCongestionWindowPackets*newMaxDatagramSize, b.maxCongestionWindow) + require.Equal(t, minCongestionWindowPackets*newMaxDatagramSize, b.minCongestionWindow) + require.Equal(t, initialCongestionWindowPackets*newMaxDatagramSize, b.congestionWindow) +} + +func TestSetMaxDatagramSizeClampsCongestionWindow(t *testing.T) { + const oldMaxDatagramSize = congestion.ByteCount(1000) + const newMaxDatagramSize = congestion.ByteCount(1400) + + b := NewBbrSender(DefaultClock{}, oldMaxDatagramSize) + b.congestionWindow = b.minCongestionWindow + oldMaxDatagramSize + b.recoveryWindow = b.minCongestionWindow + oldMaxDatagramSize + + b.SetMaxDatagramSize(newMaxDatagramSize) + + require.Equal(t, b.minCongestionWindow, b.congestionWindow) + require.Equal(t, b.minCongestionWindow, b.recoveryWindow) +} diff --git a/hysteria/extras/go.mod b/hysteria/extras/go.mod index fadf19de25..3047020ad7 100644 --- a/hysteria/extras/go.mod +++ b/hysteria/extras/go.mod @@ -6,7 +6,7 @@ toolchain go1.25.1 require ( github.com/apernet/hysteria/core/v2 v2.0.0-00010101000000-000000000000 - github.com/apernet/quic-go v0.59.1-0.20260217092621-db4786c77a22 + github.com/apernet/quic-go v0.59.1-0.20260328005802-789359b3e584 github.com/database64128/tfo-go/v2 v2.2.2 github.com/hashicorp/golang-lru/v2 v2.0.5 github.com/miekg/dns v1.1.59 diff --git a/hysteria/extras/go.sum b/hysteria/extras/go.sum index 650630bd91..bcf8c9e131 100644 --- a/hysteria/extras/go.sum +++ b/hysteria/extras/go.sum @@ -1,7 +1,7 @@ github.com/andybalholm/brotli v1.1.0 h1:eLKJA0d02Lf0mVpIDgYnqXcUn0GqVmEFny3VuID1U3M= github.com/andybalholm/brotli v1.1.0/go.mod h1:sms7XGricyQI9K10gOSf56VKKWS4oLer58Q+mhRPtnY= -github.com/apernet/quic-go v0.59.1-0.20260217092621-db4786c77a22 h1:00ziBGnLWQEcR9LThDwvxOznJJquJ9bYUdmBFnawLMU= -github.com/apernet/quic-go v0.59.1-0.20260217092621-db4786c77a22/go.mod h1:Npbg8qBtAZlsAB3FWmqwlVh5jtVG6a4DlYsOylUpvzA= +github.com/apernet/quic-go v0.59.1-0.20260328005802-789359b3e584 h1:UkZ30ZI/XCULdKgluCQjAeO1Y8TIb6z8jm5dJgLurFo= +github.com/apernet/quic-go v0.59.1-0.20260328005802-789359b3e584/go.mod h1:Npbg8qBtAZlsAB3FWmqwlVh5jtVG6a4DlYsOylUpvzA= github.com/cloudflare/circl v1.3.9 h1:QFrlgFYf2Qpi8bSpVPK1HBvWpx16v/1TZivyo7pGuBE= github.com/cloudflare/circl v1.3.9/go.mod h1:PDRU+oXvdD7KCtgKxW95M5Z8BpSCJXQORiZFnBQS5QU= github.com/database64128/netx-go v0.0.0-20240905055117-62795b8b054a h1:t4SDi0pmNkryzKdM4QF3o5vqSP4GRjeZD/6j3nyxNP0= diff --git a/hysteria/go.work.sum b/hysteria/go.work.sum index c11baaf1e7..42cc3627ca 100644 --- a/hysteria/go.work.sum +++ b/hysteria/go.work.sum @@ -35,7 +35,9 @@ github.com/anmitsu/go-shlex v0.0.0-20161002113705-648efa622239 h1:kFOfPq6dUM1hTo github.com/anmitsu/go-shlex v0.0.0-20161002113705-648efa622239/go.mod h1:2FmKhYUyUczH0OGQWaF5ceTx0UBShxjsH6f8oGKYe2c= github.com/apernet/quic-go v0.54.1-0.20260110201338-839e2640e302/go.mod h1:N1WIjPphkqs4efXWuyDNQ6OjjIK04vM3h+bEgwV+eVU= github.com/apernet/quic-go v0.57.2-0.20260111184307-eec823306178/go.mod h1:N1WIjPphkqs4efXWuyDNQ6OjjIK04vM3h+bEgwV+eVU= +github.com/apernet/quic-go v0.59.1-0.20260217092621-db4786c77a22 h1:00ziBGnLWQEcR9LThDwvxOznJJquJ9bYUdmBFnawLMU= github.com/apernet/quic-go v0.59.1-0.20260217092621-db4786c77a22/go.mod h1:Npbg8qBtAZlsAB3FWmqwlVh5jtVG6a4DlYsOylUpvzA= +github.com/apernet/quic-go v0.59.1-0.20260328005802-789359b3e584/go.mod h1:Npbg8qBtAZlsAB3FWmqwlVh5jtVG6a4DlYsOylUpvzA= github.com/armon/go-metrics v0.4.0 h1:yCQqn7dwca4ITXb+CbubHmedzaQYHhNhrEXLYUeEe8Q= github.com/armon/go-metrics v0.4.0/go.mod h1:E6amYzXo6aW1tqzoZGT755KkbgrJsSdpwZ+3JqfkOG4= github.com/beorn7/perks v0.0.0-20180321164747-3a771d992973 h1:xJ4a3vCFaGF/jqvzLMYoU8P317H5OQ+Via4RmuPwCS0= @@ -283,6 +285,7 @@ golang.org/x/crypto v0.4.0/go.mod h1:3quD/ATkf6oY+rnes5c3ExXTbLc8mueNue5/DoinL80 golang.org/x/crypto v0.13.0/go.mod h1:y6Z2r+Rw4iayiXXAIxJIDAJ1zMW4yaTpebo8fPOliYc= golang.org/x/crypto v0.18.0/go.mod h1:R0j02AL6hcrfOiy9T4ZYp/rcWeMxM3L6QYxlOuEG1mg= golang.org/x/crypto v0.23.0/go.mod h1:CKFgDieR+mRhux2Lsu27y0fO304Db0wZe70UKqHu0v8= +golang.org/x/crypto v0.41.0/go.mod h1:pO5AFd7FA68rFak7rOAGVuygIISepHftHnr8dr6+sUc= golang.org/x/exp/typeparams v0.0.0-20221208152030-732eee02a75a h1:Jw5wfR+h9mnIYH+OtGT2im5wV1YGGDora5vTv/aa5bE= golang.org/x/exp/typeparams v0.0.0-20221208152030-732eee02a75a/go.mod h1:AbB0pIl9nAr9wVwH+Z2ZpaocVmF5I4GyWCDIsVjR0bk= golang.org/x/image v0.0.0-20190802002840-cff245a6509b h1:+qEpEAPhDZ1o0x3tHzZTQDArnOixOzGD9HUJfcg0mb4= @@ -297,6 +300,7 @@ golang.org/x/mod v0.12.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs= golang.org/x/mod v0.14.0/go.mod h1:hTbmBsO62+eylJbnUtE2MGJUyE7QWk4xUqPFrRgJ+7c= golang.org/x/mod v0.16.0/go.mod h1:hTbmBsO62+eylJbnUtE2MGJUyE7QWk4xUqPFrRgJ+7c= golang.org/x/mod v0.26.0/go.mod h1:/j6NAhSk8iQ723BGAUyoAcn7SlD7s15Dp9Nd/SfeaFQ= +golang.org/x/mod v0.27.0/go.mod h1:rWI627Fq0DEoudcK+MBkNkCe0EetEaDSwJJkCcjpazc= golang.org/x/net v0.0.0-20180906233101-161cd47e91fd/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20181029044818-c44066c5c816/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20181106065722-10aee1819953/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= @@ -311,6 +315,7 @@ golang.org/x/net v0.20.0/go.mod h1:z8BVo6PvndSri0LbOE3hAn0apkU+1YvI6E70E9jsnvY= golang.org/x/net v0.21.0/go.mod h1:bIjVDfnllIU7BJ2DNgfnXvpSvtn8VRwhlsaeUTyUS44= golang.org/x/net v0.22.0/go.mod h1:JKghWKKOSdJwpW2GEx0Ja7fmaKnMsbu+MWVZTokSYmg= golang.org/x/net v0.25.0/go.mod h1:JkAGAh7GEvH74S6FOH42FLoXpXbE/aqXSrIQjXgsiwM= +golang.org/x/net v0.43.0/go.mod h1:vhO1fvI4dGsIjh73sWfUVjj3N7CA9WkKJNQm2svM6Jg= golang.org/x/net v0.48.0/go.mod h1:+ndRgGjkh8FGtu1w1FGbEC31if4VrNVMuKTgcAAnQRY= golang.org/x/oauth2 v0.0.0-20181017192945-9dcd33a902f4/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U= golang.org/x/oauth2 v0.0.0-20181203162652-d668ce993890/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U= @@ -322,6 +327,7 @@ golang.org/x/sync v0.2.0/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.3.0/go.mod h1:FU7BRWz2tNW+3quACPkgCx/L+uEAv1htQ0V83Z9Rj+Y= golang.org/x/sync v0.6.0/go.mod h1:Czt+wKu1gCyEFDUtn0jG5QVvpJ6rzVqr5aXyt9drQfk= golang.org/x/sync v0.7.0/go.mod h1:Czt+wKu1gCyEFDUtn0jG5QVvpJ6rzVqr5aXyt9drQfk= +golang.org/x/sync v0.16.0/go.mod h1:1dzgHSNfp02xaA81J2MS99Qcpr2w7fw1gpm99rleRqA= golang.org/x/sys v0.0.0-20180909124046-d0be0721c37e/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20181029174526-d69651ed3497/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20190316082340-a2f829d7f35f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= @@ -335,6 +341,7 @@ golang.org/x/sys v0.16.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= golang.org/x/sys v0.18.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= golang.org/x/sys v0.20.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= golang.org/x/sys v0.23.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= +golang.org/x/sys v0.35.0/go.mod h1:BJP2sWEmIv4KK5OTEluFJCKSidICx8ciO85XgH3Ak8k= golang.org/x/sys v0.40.0/go.mod h1:OgkHotnGiDImocRcuBABYBEXf8A9a87e/uXjp9XT3ks= golang.org/x/telemetry v0.0.0-20240228155512-f48c80bd79b2 h1:IRJeR9r1pYWsHKTRe/IInb7lYvbBVIqOgsX/u0mbOWY= golang.org/x/telemetry v0.0.0-20240228155512-f48c80bd79b2/go.mod h1:TeRTkGYfJXctD9OcfyVLyj2J3IxLnKwHJR8f4D8a3YE= @@ -364,10 +371,12 @@ golang.org/x/term v0.21.0/go.mod h1:ooXLefLobQVslOqselCNF4SxFAaoS6KujMbsGzSDmX0= golang.org/x/term v0.23.0 h1:F6D4vR+EHoL9/sWAWgAR1H2DcHr4PareCbAaCo1RpuU= golang.org/x/term v0.23.0/go.mod h1:DgV24QBUrK6jhZXl+20l6UWznPlwAHm1Q1mGHtydmSk= golang.org/x/term v0.39.0/go.mod h1:yxzUCTP/U+FzoxfdKmLaA0RV1WgE0VY7hXBwKtY/4ww= +golang.org/x/text v0.7.0/go.mod h1:mrYo+phRRbMaCq/xk9113O4dZlRixOauAjOtrjsXDZ8= golang.org/x/text v0.9.0/go.mod h1:e1OnstbJyHTd6l/uOt8jFFHp6TRDWZR/bV3emEE/zU8= golang.org/x/text v0.13.0/go.mod h1:TvPlkZtksWOMsz7fbANvkp4WM8x/WCo/om8BMLbz+aE= golang.org/x/text v0.14.0/go.mod h1:18ZOQIKpY8NJVqYksKHtTdi31H5itFRjB5/qKTNYzSU= golang.org/x/text v0.15.0/go.mod h1:18ZOQIKpY8NJVqYksKHtTdi31H5itFRjB5/qKTNYzSU= +golang.org/x/text v0.28.0/go.mod h1:U8nCwOR8jO/marOQ0QbDiOngZVEBB7MAiitBuMjXiNU= golang.org/x/text v0.33.0/go.mod h1:LuMebE6+rBincTi9+xWTY8TztLzKHc/9C1uBCG27+q8= golang.org/x/time v0.0.0-20180412165947-fbb02b2291d2/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= golang.org/x/time v0.1.0 h1:xYY+Bajn2a7VBmTM5GikTmnK8ZuX8YgnQCqZpbBNtmA= @@ -381,6 +390,7 @@ golang.org/x/tools v0.13.0/go.mod h1:HvlwmtVNQAhOuCjW7xxvovg8wbNq7LwfXh/k7wXUl58 golang.org/x/tools v0.17.0/go.mod h1:xsh6VxdV005rRVaS6SSAf9oiAqljS7UZUacMZ8Bnsps= golang.org/x/tools v0.19.0/go.mod h1:qoJWxmGSIBmAeriMx19ogtrEPrGtDbPK634QFIcLAhc= golang.org/x/tools v0.21.0/go.mod h1:aiJjzUbINMkxbQROHiO6hDPo2LHcIPhhQsa9DLh0yGk= +golang.org/x/tools v0.36.0/go.mod h1:WBDiHKJK8YgLHlcQPYQzNCkUxUypCaa5ZegCVutKm+s= golang.org/x/tools v0.40.0/go.mod h1:Ik/tzLRlbscWpqqMRjyWYDisX8bG13FrdXp3o4Sr9lc= golang.org/x/xerrors v0.0.0-20220907171357-04be3eba64a2 h1:H2TDz8ibqkAF6YGhCdN3jS9O0/s90v0rJh3X/OLHEUk= golang.org/x/xerrors v0.0.0-20220907171357-04be3eba64a2/go.mod h1:K8+ghG5WaK9qNqU5K3HdILfMLy1f3aNYFI/wnl100a8= diff --git a/lede/include/kernel-6.1 b/lede/include/kernel-6.1 index 818916f756..7cb71a6b97 100644 --- a/lede/include/kernel-6.1 +++ b/lede/include/kernel-6.1 @@ -1,2 +1,2 @@ -LINUX_VERSION-6.1 = .166 -LINUX_KERNEL_HASH-6.1.166 = 818dfc742158d18f70a6abccd77b7e4366cb7f26a88687f94dae392a9f089449 +LINUX_VERSION-6.1 = .167 +LINUX_KERNEL_HASH-6.1.167 = 2818053c07976ba4ed5f44deb0f5dc7ae7b0975d7918c313d48d8fe7c4e598cb diff --git a/lede/include/kernel-6.12 b/lede/include/kernel-6.12 index 848f89c66c..eda0774e7d 100644 --- a/lede/include/kernel-6.12 +++ b/lede/include/kernel-6.12 @@ -1,2 +1,2 @@ -LINUX_VERSION-6.12 = .77 -LINUX_KERNEL_HASH-6.12.77 = 358836ebe5caef41e7ae9492e7fbcdf5be6e53ee43c99752aebda81e1b2cff67 +LINUX_VERSION-6.12 = .79 +LINUX_KERNEL_HASH-6.12.79 = 4bfa751f33de2a5d7ecb4ff964743a027fc726a2225a76a18f92f0582aa0790b diff --git a/lede/include/kernel-6.6 b/lede/include/kernel-6.6 index 44dfecfe1e..c9ded66880 100644 --- a/lede/include/kernel-6.6 +++ b/lede/include/kernel-6.6 @@ -1,2 +1,2 @@ -LINUX_VERSION-6.6 = .129 -LINUX_KERNEL_HASH-6.6.129 = caa08f0122224fbbfab177e2a37cc2a94a0046bd2e7e87f03f8913f2b812448a +LINUX_VERSION-6.6 = .130 +LINUX_KERNEL_HASH-6.6.130 = 2460aa67b9494cff6f9fc2b235470867d2005469d40f29da452e8ee82940248d diff --git a/lede/package/libs/libubox/Makefile b/lede/package/libs/libubox/Makefile index e77dfd9874..c72c34f7d2 100644 --- a/lede/package/libs/libubox/Makefile +++ b/lede/package/libs/libubox/Makefile @@ -5,9 +5,9 @@ PKG_RELEASE=1 PKG_SOURCE_PROTO:=git PKG_SOURCE_URL=$(PROJECT_GIT)/project/libubox.git -PKG_MIRROR_HASH:=242e33eca235124c7e005d25fbc8f8bf08a324335343e60278d4535c91157ba4 -PKG_SOURCE_DATE:=2024-03-29 -PKG_SOURCE_VERSION:=eb9bcb64185ac155c02cc1a604692c4b00368324 +PKG_MIRROR_HASH:=48ec3711a4b8129bc6f7b6b05add8752c33a3e44cafd5bc7d9b393aeb7675233 +PKG_SOURCE_DATE:=2026-02-13 +PKG_SOURCE_VERSION:=1aa36ee774c8db4d7a396903e0d2e1fb79ee8bf1 PKG_ABI_VERSION:=$(call abi_version_str,$(PKG_SOURCE_DATE)) CMAKE_INSTALL:=1 diff --git a/lede/target/linux/generic/pending-6.12/620-net-sfp-improve-Huawei-MA5671a-fixup.patch b/lede/target/linux/generic/pending-6.12/620-net-sfp-improve-Huawei-MA5671a-fixup.patch deleted file mode 100644 index 55a4a7f343..0000000000 --- a/lede/target/linux/generic/pending-6.12/620-net-sfp-improve-Huawei-MA5671a-fixup.patch +++ /dev/null @@ -1,45 +0,0 @@ -From: =?utf-8?q?=C3=81lvaro_Fern=C3=A1ndez_Rojas?= -Cc: =?utf-8?q?=C3=81lvaro_Fern=C3=A1ndez_Rojas?= -Subject: [PATCH net v3] net: sfp: improve Huawei MA5671a fixup -Date: Fri, 6 Mar 2026 13:29:55 +0100 - -With the current sfp_fixup_ignore_tx_fault() fixup we ignore the TX_FAULT -signal, but we also need to apply sfp_fixup_ignore_los() in order to be -able to communicate with the module even if the fiber isn't connected for -configuration purposes. -This is needed for all the MA5671a firmwares, excluding the FS modded -firmware. - -Fixes: 2069624dac19 ("net: sfp: Add tx-fault workaround for Huawei MA5671A SFP ONT") -Signed-off-by: Álvaro Fernández Rojas ---- - v3: avoid using a vendor name in the function - v2: rebase on top of net/main instead of linux/master - - drivers/net/phy/sfp.c | 8 +++++++- - 1 file changed, 7 insertions(+), 1 deletion(-) - ---- a/drivers/net/phy/sfp.c -+++ b/drivers/net/phy/sfp.c -@@ -360,6 +360,12 @@ static void sfp_fixup_ignore_tx_fault(st - sfp->state_ignore_mask |= SFP_F_TX_FAULT; - } - -+static void sfp_fixup_ignore_tx_fault_and_los(struct sfp *sfp) -+{ -+ sfp_fixup_ignore_tx_fault(sfp); -+ sfp_fixup_ignore_los(sfp); -+} -+ - static void sfp_fixup_ignore_hw(struct sfp *sfp, unsigned int mask) - { - sfp->state_hw_mask &= ~mask; -@@ -523,7 +529,7 @@ static const struct sfp_quirk sfp_quirks - // Huawei MA5671A can operate at 2500base-X, but report 1.2GBd NRZ in - // their EEPROM - SFP_QUIRK("HUAWEI", "MA5671A", sfp_quirk_2500basex, -- sfp_fixup_ignore_tx_fault), -+ sfp_fixup_ignore_tx_fault_and_los), - - // Lantech 8330-262D-E and 8330-265D can operate at 2500base-X, but - // incorrectly report 2500MBd NRZ in their EEPROM. diff --git a/lede/target/linux/generic/pending-6.12/704-net-phy-register-phy-led_triggers-during-probe-to-av.patch b/lede/target/linux/generic/pending-6.12/704-net-phy-register-phy-led_triggers-during-probe-to-av.patch deleted file mode 100644 index 126275c7ec..0000000000 --- a/lede/target/linux/generic/pending-6.12/704-net-phy-register-phy-led_triggers-during-probe-to-av.patch +++ /dev/null @@ -1,116 +0,0 @@ -From 5225349f1e750dfd107a4c5dc97d91fa212dc1ed Mon Sep 17 00:00:00 2001 -From: Andrew Lunn -Date: Sat, 21 Feb 2026 14:51:54 -0600 -Subject: [PATCH] net: phy: register phy led_triggers during probe to avoid - AB-BA deadlock - -There is an AB-BA deadlock when both LEDS_TRIGGER_NETDEV and -LED_TRIGGER_PHY are enabled: - -[ 1362.049207] [<8054e4b8>] led_trigger_register+0x5c/0x1fc <-- Trying to get lock "triggers_list_lock" via down_write(&triggers_list_lock); -[ 1362.054536] [<80662830>] phy_led_triggers_register+0xd0/0x234 -[ 1362.060329] [<8065e200>] phy_attach_direct+0x33c/0x40c -[ 1362.065489] [<80651fc4>] phylink_fwnode_phy_connect+0x15c/0x23c -[ 1362.071480] [<8066ee18>] mtk_open+0x7c/0xba0 -[ 1362.075849] [<806d714c>] __dev_open+0x280/0x2b0 -[ 1362.080384] [<806d7668>] __dev_change_flags+0x244/0x24c -[ 1362.085598] [<806d7698>] dev_change_flags+0x28/0x78 -[ 1362.090528] [<807150e4>] dev_ioctl+0x4c0/0x654 <-- Hold lock "rtnl_mutex" by calling rtnl_lock(); -[ 1362.094985] [<80694360>] sock_ioctl+0x2f4/0x4e0 -[ 1362.099567] [<802e9c4c>] sys_ioctl+0x32c/0xd8c -[ 1362.104022] [<80014504>] syscall_common+0x34/0x58 - -Here LED_TRIGGER_PHY is registering LED triggers during phy_attach -while holding RTNL and then taking triggers_list_lock. - -[ 1362.191101] [<806c2640>] register_netdevice_notifier+0x60/0x168 <-- Trying to get lock "rtnl_mutex" via rtnl_lock(); -[ 1362.197073] [<805504ac>] netdev_trig_activate+0x194/0x1e4 -[ 1362.202490] [<8054e28c>] led_trigger_set+0x1d4/0x360 <-- Hold lock "triggers_list_lock" by down_read(&triggers_list_lock); -[ 1362.207511] [<8054eb38>] led_trigger_write+0xd8/0x14c -[ 1362.212566] [<80381d98>] sysfs_kf_bin_write+0x80/0xbc -[ 1362.217688] [<8037fcd8>] kernfs_fop_write_iter+0x17c/0x28c -[ 1362.223174] [<802cbd70>] vfs_write+0x21c/0x3c4 -[ 1362.227712] [<802cc0c4>] ksys_write+0x78/0x12c -[ 1362.232164] [<80014504>] syscall_common+0x34/0x58 - -Here LEDS_TRIGGER_NETDEV is being enabled on an LED. It first takes -triggers_list_lock and then RTNL. A classical AB-BA deadlock. - -phy_led_triggers_registers() does not require the RTNL, it does not -make any calls into the network stack which require protection. There -is also no requirement the PHY has been attached to a MAC, the -triggers only make use of phydev state. This allows the call to -phy_led_triggers_registers() to be placed elsewhere. PHY probe() and -release() don't hold RTNL, so solving the AB-BA deadlock. - -Reported-by: Shiji Yang -Closes: https://lore.kernel.org/all/OS7PR01MB13602B128BA1AD3FA38B6D1FFBC69A@OS7PR01MB13602.jpnprd01.prod.outlook.com/ -Fixes: 06f502f57d0d ("leds: trigger: Introduce a NETDEV trigger") -Signed-off-by: Andrew Lunn ---- - drivers/net/phy/phy_device.c | 25 +++++++++++++++++-------- - 1 file changed, 17 insertions(+), 8 deletions(-) - ---- a/drivers/net/phy/phy_device.c -+++ b/drivers/net/phy/phy_device.c -@@ -1684,8 +1684,6 @@ int phy_attach_direct(struct net_device - goto error; - - phy_resume(phydev); -- if (!phydev->is_on_sfp_module) -- phy_led_triggers_register(phydev); - - /** - * If the external phy used by current mac interface is managed by -@@ -2058,9 +2056,6 @@ void phy_detach(struct phy_device *phyde - } - phydev->phylink = NULL; - -- if (!phydev->is_on_sfp_module) -- phy_led_triggers_unregister(phydev); -- - if (phydev->mdio.dev.driver) - module_put(phydev->mdio.dev.driver->owner); - -@@ -3691,17 +3686,28 @@ static int phy_probe(struct device *dev) - /* Set the state to READY by default */ - phydev->state = PHY_READY; - -+ /* Register the PHY LED triggers */ -+ if (!phydev->is_on_sfp_module) -+ phy_led_triggers_register(phydev); -+ - /* Get the LEDs from the device tree, and instantiate standard - * LEDs for them. - */ - if (IS_ENABLED(CONFIG_PHYLIB_LEDS) && !phy_driver_is_genphy(phydev) && -- !phy_driver_is_genphy_10g(phydev)) -+ !phy_driver_is_genphy_10g(phydev)) { - err = of_phy_leds(phydev); -+ if (err) -+ goto out; -+ } -+ -+ return 0; - - out: -+ if (!phydev->is_on_sfp_module) -+ phy_led_triggers_unregister(phydev); -+ - /* Re-assert the reset signal on error */ -- if (err) -- phy_device_reset(phydev, 1); -+ phy_device_reset(phydev, 1); - - return err; - } -@@ -3716,6 +3722,9 @@ static int phy_remove(struct device *dev - !phy_driver_is_genphy_10g(phydev)) - phy_leds_unregister(phydev); - -+ if (!phydev->is_on_sfp_module) -+ phy_led_triggers_unregister(phydev); -+ - phydev->state = PHY_DOWN; - - sfp_bus_del_upstream(phydev->sfp_bus); diff --git a/lede/toolchain/gcc/Config.in b/lede/toolchain/gcc/Config.in index 658d78697d..b326733080 100644 --- a/lede/toolchain/gcc/Config.in +++ b/lede/toolchain/gcc/Config.in @@ -21,6 +21,9 @@ choice config GCC_USE_VERSION_14 bool "gcc 14.x" + + config GCC_USE_VERSION_15 + bool "gcc 15.x" endchoice config GCC_USE_GRAPHITE diff --git a/lede/toolchain/gcc/Config.version b/lede/toolchain/gcc/Config.version index a0bf08f2b1..61edb64b10 100644 --- a/lede/toolchain/gcc/Config.version +++ b/lede/toolchain/gcc/Config.version @@ -15,10 +15,15 @@ config GCC_VERSION_14 default y if GCC_USE_VERSION_14 bool +config GCC_VERSION_15 + default y if GCC_USE_VERSION_15 + bool + config GCC_VERSION string default "8.4.0" if GCC_VERSION_8 default "11.3.0" if GCC_VERSION_11 default "12.2.0" if GCC_VERSION_12 default "14.3.0" if GCC_VERSION_14 + default "15.2.0" if GCC_VERSION_15 default "13.3.0" diff --git a/lede/toolchain/gcc/common.mk b/lede/toolchain/gcc/common.mk index 08b994599f..e41fbc85cb 100644 --- a/lede/toolchain/gcc/common.mk +++ b/lede/toolchain/gcc/common.mk @@ -49,6 +49,10 @@ ifeq ($(PKG_VERSION),14.3.0) PKG_HASH:=e0dc77297625631ac8e50fa92fffefe899a4eb702592da5c32ef04e2293aca3a endif +ifeq ($(PKG_VERSION),15.2.0) + PKG_HASH:=438fd996826b0c82485a29da03a72d71d6e3541a83ec702df4271f6fe025d24e +endif + PATCH_DIR=../patches-$(GCC_MAJOR_VERSION).x BUGURL=http://bugs.openwrt.org/ diff --git a/lede/toolchain/gcc/patches-15.x/002-case_insensitive.patch b/lede/toolchain/gcc/patches-15.x/002-case_insensitive.patch new file mode 100644 index 0000000000..409497e5a3 --- /dev/null +++ b/lede/toolchain/gcc/patches-15.x/002-case_insensitive.patch @@ -0,0 +1,24 @@ +commit 81cc26c706b2bc8c8c1eb1a322e5c5157900836e +Author: Felix Fietkau +Date: Sun Oct 19 21:45:51 2014 +0000 + + gcc: do not assume that the Mac OS X filesystem is case insensitive + + Signed-off-by: Felix Fietkau + + SVN-Revision: 42973 + +--- a/include/filenames.h ++++ b/include/filenames.h +@@ -44,11 +44,6 @@ extern "C" { + # define IS_DIR_SEPARATOR(c) IS_DOS_DIR_SEPARATOR (c) + # define IS_ABSOLUTE_PATH(f) IS_DOS_ABSOLUTE_PATH (f) + #else /* not DOSish */ +-# if defined(__APPLE__) +-# ifndef HAVE_CASE_INSENSITIVE_FILE_SYSTEM +-# define HAVE_CASE_INSENSITIVE_FILE_SYSTEM 1 +-# endif +-# endif /* __APPLE__ */ + # define HAS_DRIVE_SPEC(f) (0) + # define IS_DIR_SEPARATOR(c) IS_UNIX_DIR_SEPARATOR (c) + # define IS_ABSOLUTE_PATH(f) IS_UNIX_ABSOLUTE_PATH (f) diff --git a/lede/toolchain/gcc/patches-15.x/003-dont-choke-when-building-32bit-on-64bit.patch b/lede/toolchain/gcc/patches-15.x/003-dont-choke-when-building-32bit-on-64bit.patch new file mode 100644 index 0000000000..c41f35e33b --- /dev/null +++ b/lede/toolchain/gcc/patches-15.x/003-dont-choke-when-building-32bit-on-64bit.patch @@ -0,0 +1,13 @@ +--- a/gcc/real.h ++++ b/gcc/real.h +@@ -77,8 +77,10 @@ struct GTY(()) real_value { + + (REAL_VALUE_TYPE_SIZE%HOST_BITS_PER_WIDE_INT ? 1 : 0)) /* round up */ + + /* Verify the guess. */ ++#ifndef __LP64__ + extern char test_real_width + [sizeof (REAL_VALUE_TYPE) <= REAL_WIDTH * sizeof (HOST_WIDE_INT) ? 1 : -1]; ++#endif + + /* Calculate the format for CONST_DOUBLE. We need as many slots as + are necessary to overlay a REAL_VALUE_TYPE on them. This could be diff --git a/lede/toolchain/gcc/patches-15.x/010-documentation.patch b/lede/toolchain/gcc/patches-15.x/010-documentation.patch new file mode 100644 index 0000000000..b3f0e124f6 --- /dev/null +++ b/lede/toolchain/gcc/patches-15.x/010-documentation.patch @@ -0,0 +1,35 @@ +commit 098bd91f5eae625c7d2ee621e10930fc4434e5e2 +Author: Luka Perkov +Date: Tue Feb 26 16:16:33 2013 +0000 + + gcc: don't build documentation + + This closes #13039. + + Signed-off-by: Luka Perkov + + SVN-Revision: 35807 + +--- a/gcc/Makefile.in ++++ b/gcc/Makefile.in +@@ -3747,18 +3747,10 @@ doc/gcc.info: $(TEXI_GCC_FILES) + doc/gccint.info: $(TEXI_GCCINT_FILES) + doc/cppinternals.info: $(TEXI_CPPINT_FILES) + +-doc/%.info: %.texi +- if [ x$(BUILD_INFO) = xinfo ]; then \ +- $(MAKEINFO) $(MAKEINFOFLAGS) -I . -I $(gcc_docdir) \ +- -I $(gcc_docdir)/include -o $@ $<; \ +- fi ++doc/%.info: + + # Duplicate entry to handle renaming of gccinstall.info +-doc/gccinstall.info: $(TEXI_GCCINSTALL_FILES) +- if [ x$(BUILD_INFO) = xinfo ]; then \ +- $(MAKEINFO) $(MAKEINFOFLAGS) -I $(gcc_docdir) \ +- -I $(gcc_docdir)/include -o $@ $<; \ +- fi ++doc/gccinstall.info: + + doc/cpp.dvi: $(TEXI_CPP_FILES) + doc/gcc.dvi: $(TEXI_GCC_FILES) diff --git a/lede/toolchain/gcc/patches-15.x/110-Fix-MIPS-PR-84790.patch b/lede/toolchain/gcc/patches-15.x/110-Fix-MIPS-PR-84790.patch new file mode 100644 index 0000000000..ea8625eca2 --- /dev/null +++ b/lede/toolchain/gcc/patches-15.x/110-Fix-MIPS-PR-84790.patch @@ -0,0 +1,20 @@ +Fix https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84790. +MIPS16 functions have a static assembler prologue which clobbers +registers v0 and v1. Add these register clobbers to function call +instructions. + +--- a/gcc/config/mips/mips.cc ++++ b/gcc/config/mips/mips.cc +@@ -3293,6 +3293,12 @@ mips_emit_call_insn (rtx pattern, rtx or + emit_insn (gen_update_got_version ()); + } + ++ if (TARGET_MIPS16 && TARGET_USE_GOT) ++ { ++ clobber_reg (&CALL_INSN_FUNCTION_USAGE (insn), MIPS16_PIC_TEMP); ++ clobber_reg (&CALL_INSN_FUNCTION_USAGE (insn), MIPS_PROLOGUE_TEMP (word_mode)); ++ } ++ + if (TARGET_MIPS16 + && TARGET_EXPLICIT_RELOCS + && TARGET_CALL_CLOBBERED_GP) diff --git a/lede/toolchain/gcc/patches-15.x/230-musl_libssp.patch b/lede/toolchain/gcc/patches-15.x/230-musl_libssp.patch new file mode 100644 index 0000000000..34eaac4af3 --- /dev/null +++ b/lede/toolchain/gcc/patches-15.x/230-musl_libssp.patch @@ -0,0 +1,13 @@ +--- a/gcc/gcc.cc ++++ b/gcc/gcc.cc +@@ -992,7 +992,9 @@ proper position among the other output f + #endif + + #ifndef LINK_SSP_SPEC +-#ifdef TARGET_LIBC_PROVIDES_SSP ++#if DEFAULT_LIBC == LIBC_MUSL ++#define LINK_SSP_SPEC "-lssp_nonshared" ++#elif defined(TARGET_LIBC_PROVIDES_SSP) + #define LINK_SSP_SPEC "%{fstack-protector|fstack-protector-all" \ + "|fstack-protector-strong|fstack-protector-explicit:}" + #else diff --git a/lede/toolchain/gcc/patches-15.x/300-mips_Os_cpu_rtx_cost_model.patch b/lede/toolchain/gcc/patches-15.x/300-mips_Os_cpu_rtx_cost_model.patch new file mode 100644 index 0000000000..fe9e69b35a --- /dev/null +++ b/lede/toolchain/gcc/patches-15.x/300-mips_Os_cpu_rtx_cost_model.patch @@ -0,0 +1,21 @@ +commit ecf7671b769fe96f7b5134be442089f8bdba55d2 +Author: Felix Fietkau +Date: Thu Aug 4 20:29:45 2016 +0200 + +gcc: add a patch to generate better code with Os on mips + +Also happens to reduce compressed code size a bit + +Signed-off-by: Felix Fietkau + +--- a/gcc/config/mips/mips.cc ++++ b/gcc/config/mips/mips.cc +@@ -20605,7 +20605,7 @@ mips_option_override (void) + flag_pcc_struct_return = 0; + + /* Decide which rtx_costs structure to use. */ +- if (optimize_size) ++ if (0 && optimize_size) + mips_cost = &mips_rtx_cost_optimize_size; + else + mips_cost = &mips_rtx_cost_data[mips_tune]; diff --git a/lede/toolchain/gcc/patches-15.x/800-arm_v5te_no_ldrd_strd.patch b/lede/toolchain/gcc/patches-15.x/800-arm_v5te_no_ldrd_strd.patch new file mode 100644 index 0000000000..e83cb1bebb --- /dev/null +++ b/lede/toolchain/gcc/patches-15.x/800-arm_v5te_no_ldrd_strd.patch @@ -0,0 +1,11 @@ +--- a/gcc/config/arm/arm.h ++++ b/gcc/config/arm/arm.h +@@ -165,7 +165,7 @@ emission of floating point pcs attribute + /* Thumb-1 only. */ + #define TARGET_THUMB1_ONLY (TARGET_THUMB1 && !arm_arch_notm) + +-#define TARGET_LDRD (arm_arch5te && ARM_DOUBLEWORD_ALIGN \ ++#define TARGET_LDRD (arm_arch6 && ARM_DOUBLEWORD_ALIGN \ + && !TARGET_THUMB1) + + #define TARGET_CRC32 (arm_arch_crc) diff --git a/lede/toolchain/gcc/patches-15.x/810-arm-softfloat-libgcc.patch b/lede/toolchain/gcc/patches-15.x/810-arm-softfloat-libgcc.patch new file mode 100644 index 0000000000..5c9d86aead --- /dev/null +++ b/lede/toolchain/gcc/patches-15.x/810-arm-softfloat-libgcc.patch @@ -0,0 +1,33 @@ +commit 8570c4be394cff7282f332f97da2ff569a927ddb +Author: Imre Kaloz +Date: Wed Feb 2 20:06:12 2011 +0000 + + fixup arm soft-float symbols + + SVN-Revision: 25325 + +--- a/libgcc/config/arm/t-linux ++++ b/libgcc/config/arm/t-linux +@@ -1,6 +1,10 @@ + LIB1ASMSRC = arm/lib1funcs.S + LIB1ASMFUNCS = _udivsi3 _divsi3 _umodsi3 _modsi3 _dvmd_lnx _clzsi2 _clzdi2 \ +- _ctzsi2 _arm_addsubdf3 _arm_addsubsf3 ++ _ctzsi2 _arm_addsubdf3 _arm_addsubsf3 \ ++ _arm_negdf2 _arm_muldivdf3 _arm_cmpdf2 _arm_unorddf2 \ ++ _arm_fixdfsi _arm_fixunsdfsi _arm_truncdfsf2 \ ++ _arm_negsf2 _arm_muldivsf3 _arm_cmpsf2 _arm_unordsf2 \ ++ _arm_fixsfsi _arm_fixunssfsi + + # Just for these, we omit the frame pointer since it makes such a big + # difference. +--- a/gcc/config/arm/linux-elf.h ++++ b/gcc/config/arm/linux-elf.h +@@ -58,8 +58,6 @@ + %{shared:-lc} \ + %{!shared:%{profile:-lc_p}%{!profile:-lc}}" + +-#define LIBGCC_SPEC "%{mfloat-abi=soft*:-lfloat} -lgcc" +- + #define GLIBC_DYNAMIC_LINKER "/lib/ld-linux.so.2" + + #define LINUX_TARGET_LINK_SPEC "%{h*} \ diff --git a/lede/toolchain/gcc/patches-15.x/820-libgcc_pic.patch b/lede/toolchain/gcc/patches-15.x/820-libgcc_pic.patch new file mode 100644 index 0000000000..f9691e599f --- /dev/null +++ b/lede/toolchain/gcc/patches-15.x/820-libgcc_pic.patch @@ -0,0 +1,44 @@ +commit c96312958c0621e72c9b32da5bc224ffe2161384 +Author: Felix Fietkau +Date: Mon Oct 19 23:26:09 2009 +0000 + + gcc: create a proper libgcc_pic.a static library for relinking (4.3.3+ for now, backport will follow) + + SVN-Revision: 18086 + +--- a/libgcc/Makefile.in ++++ b/libgcc/Makefile.in +@@ -944,11 +944,12 @@ $(libgcov-driver-objects): %$(objext): $ + + # Static libraries. + libgcc.a: $(libgcc-objects) ++libgcc_pic.a: $(libgcc-s-objects) + libgcov.a: $(libgcov-objects) + libunwind.a: $(libunwind-objects) + libgcc_eh.a: $(libgcc-eh-objects) + +-libgcc.a libgcov.a libunwind.a libgcc_eh.a: ++libgcc.a libgcov.a libunwind.a libgcc_eh.a libgcc_pic.a: + -rm -f $@ + + objects="$(objects)"; \ +@@ -972,7 +973,7 @@ all: libunwind.a + endif + + ifeq ($(enable_shared),yes) +-all: libgcc_eh.a libgcc_s$(SHLIB_EXT) ++all: libgcc_eh.a libgcc_pic.a libgcc_s$(SHLIB_EXT) + ifneq ($(LIBUNWIND),) + all: libunwind$(SHLIB_EXT) + libgcc_s$(SHLIB_EXT): libunwind$(SHLIB_EXT) +@@ -1181,6 +1182,10 @@ install-shared: + chmod 644 $(DESTDIR)$(inst_libdir)/libgcc_eh.a + $(RANLIB) $(DESTDIR)$(inst_libdir)/libgcc_eh.a + ++ $(INSTALL_DATA) libgcc_pic.a $(mapfile) $(DESTDIR)$(inst_libdir)/ ++ chmod 644 $(DESTDIR)$(inst_libdir)/libgcc_pic.a ++ $(RANLIB) $(DESTDIR)$(inst_libdir)/libgcc_pic.a ++ + $(subst @multilib_dir@,$(MULTIDIR),$(subst \ + @shlib_base_name@,libgcc_s,$(subst \ + @shlib_slibdir_qual@,$(MULTIOSSUBDIR),$(SHLIB_INSTALL)))) diff --git a/lede/toolchain/gcc/patches-15.x/830-aarch64-libatomic.patch b/lede/toolchain/gcc/patches-15.x/830-aarch64-libatomic.patch new file mode 100644 index 0000000000..0a543067af --- /dev/null +++ b/lede/toolchain/gcc/patches-15.x/830-aarch64-libatomic.patch @@ -0,0 +1,32 @@ +libatomic: Do not enforce march on aarch64 + +Inspired by The Yocto Project [1]. + +[1] https://github.com/yoctoproject/poky/blob/51192a79f1717786dda42776f916c3d97ada7971/meta/recipes-devtools/gcc/gcc/0022-libatomic-Do-not-enforce-march-on-aarch64.patch + +Signed-off-by: Konstantin Demin + + libatomic/Makefile.am | 1 - + libatomic/Makefile.in | 1 - + 2 files changed, 2 deletions(-) + +--- a/libatomic/Makefile.am ++++ b/libatomic/Makefile.am +@@ -128,7 +128,6 @@ libatomic_la_LIBADD = $(foreach s,$(SIZE + ## On a target-specific basis, include alternates to be selected by IFUNC. + if HAVE_IFUNC + if ARCH_AARCH64_LINUX +-IFUNC_OPTIONS = -march=armv8-a+lse + libatomic_la_LIBADD += $(foreach s,$(SIZES),$(addsuffix _$(s)_1_.lo,$(SIZEOBJS))) + + endif +--- a/libatomic/Makefile.in ++++ b/libatomic/Makefile.in +@@ -452,7 +452,6 @@ M_SRC = $(firstword $(filter %/$(M_FILE) + libatomic_la_LIBADD = $(foreach s,$(SIZES),$(addsuffix \ + _$(s)_.lo,$(SIZEOBJS))) $(am__append_1) $(am__append_2) \ + $(am__append_3) $(am__append_4) +-@ARCH_AARCH64_LINUX_TRUE@@HAVE_IFUNC_TRUE@IFUNC_OPTIONS = -march=armv8-a+lse + @ARCH_ARM_LINUX_TRUE@@HAVE_IFUNC_TRUE@IFUNC_OPTIONS = -march=armv7-a+fp -DHAVE_KERNEL64 + @ARCH_I386_TRUE@@HAVE_IFUNC_TRUE@IFUNC_OPTIONS = -march=i586 + @ARCH_X86_64_TRUE@@HAVE_IFUNC_TRUE@IFUNC_OPTIONS = -mcx16 -mcx16 diff --git a/lede/toolchain/gcc/patches-15.x/840-armv4_pass_fix-v4bx_to_ld.patch b/lede/toolchain/gcc/patches-15.x/840-armv4_pass_fix-v4bx_to_ld.patch new file mode 100644 index 0000000000..e3cb616c4e --- /dev/null +++ b/lede/toolchain/gcc/patches-15.x/840-armv4_pass_fix-v4bx_to_ld.patch @@ -0,0 +1,28 @@ +commit 7edc8ca5456d9743dd0075eb3cc5b04f4f24c8cc +Author: Imre Kaloz +Date: Wed Feb 2 19:34:36 2011 +0000 + + add armv4 fixup patches + + SVN-Revision: 25322 + + +--- a/gcc/config/arm/linux-eabi.h ++++ b/gcc/config/arm/linux-eabi.h +@@ -91,10 +91,15 @@ + #define MUSL_DYNAMIC_LINKER \ + "/lib/ld-musl-arm" MUSL_DYNAMIC_LINKER_E "%{mfloat-abi=hard:hf}%{mfdpic:-fdpic}.so.1" + ++/* For armv4 we pass --fix-v4bx to linker to support EABI */ ++#undef TARGET_FIX_V4BX_SPEC ++#define TARGET_FIX_V4BX_SPEC " %{mcpu=arm8|mcpu=arm810|mcpu=strongarm*"\ ++ "|march=armv4|mcpu=fa526|mcpu=fa626:--fix-v4bx}" ++ + /* At this point, bpabi.h will have clobbered LINK_SPEC. We want to + use the GNU/Linux version, not the generic BPABI version. */ + #undef LINK_SPEC +-#define LINK_SPEC EABI_LINK_SPEC \ ++#define LINK_SPEC EABI_LINK_SPEC TARGET_FIX_V4BX_SPEC \ + LINUX_OR_ANDROID_LD (LINUX_TARGET_LINK_SPEC, \ + LINUX_TARGET_LINK_SPEC " " ANDROID_LINK_SPEC) + diff --git a/lede/toolchain/gcc/patches-15.x/850-use_shared_libgcc.patch b/lede/toolchain/gcc/patches-15.x/850-use_shared_libgcc.patch new file mode 100644 index 0000000000..210c790d25 --- /dev/null +++ b/lede/toolchain/gcc/patches-15.x/850-use_shared_libgcc.patch @@ -0,0 +1,54 @@ +commit dcfc40358b5a3cae7320c17f8d1cebd5ad5540cd +Author: Felix Fietkau +Date: Sun Feb 12 20:25:47 2012 +0000 + + gcc 4.6: port over the missing patch 850-use_shared_libgcc.patch to prevent libgcc crap from leaking into every single binary + + SVN-Revision: 30486 +--- a/gcc/config/arm/linux-eabi.h ++++ b/gcc/config/arm/linux-eabi.h +@@ -132,10 +132,6 @@ + "%{Ofast|ffast-math|funsafe-math-optimizations:%{!shared:crtfastmath.o%s}} " \ + LINUX_OR_ANDROID_LD (GNU_USER_TARGET_ENDFILE_SPEC, ANDROID_ENDFILE_SPEC) + +-/* Use the default LIBGCC_SPEC, not the version in linux-elf.h, as we +- do not use -lfloat. */ +-#undef LIBGCC_SPEC +- + /* Clear the instruction cache from `beg' to `end'. This is + implemented in lib1funcs.S, so ensure an error if this definition + is used. */ +--- a/gcc/config/linux.h ++++ b/gcc/config/linux.h +@@ -58,6 +58,10 @@ see the files COPYING3 and COPYING.RUNTI + builtin_assert ("system=posix"); \ + } while (0) + ++#ifndef LIBGCC_SPEC ++#define LIBGCC_SPEC "%{static|static-libgcc:-lgcc}%{!static:%{!static-libgcc:-lgcc_s}}" ++#endif ++ + /* Determine which dynamic linker to use depending on whether GLIBC or + uClibc or Bionic or musl is the default C library and whether + -muclibc or -mglibc or -mbionic or -mmusl has been passed to change +--- a/libgcc/mkmap-symver.awk ++++ b/libgcc/mkmap-symver.awk +@@ -136,5 +136,5 @@ function output(lib) { + else if (inherit[lib]) + printf("} %s;\n", inherit[lib]); + else +- printf ("\n local:\n\t*;\n};\n"); ++ printf ("\n\t*;\n};\n"); + } +--- a/gcc/config/rs6000/linux.h ++++ b/gcc/config/rs6000/linux.h +@@ -70,6 +70,9 @@ + #undef CPP_OS_DEFAULT_SPEC + #define CPP_OS_DEFAULT_SPEC "%(cpp_os_linux)" + ++#undef LIBGCC_SPEC ++#define LIBGCC_SPEC "%{!static:%{!static-libgcc:-lgcc_s}} -lgcc" ++ + #undef LINK_SHLIB_SPEC + #define LINK_SHLIB_SPEC "%{shared:-shared} %{!shared: %{static:-static}} \ + %{static-pie:-static -pie --no-dynamic-linker -z text}" diff --git a/lede/toolchain/gcc/patches-15.x/851-libgcc_no_compat.patch b/lede/toolchain/gcc/patches-15.x/851-libgcc_no_compat.patch new file mode 100644 index 0000000000..d710e40717 --- /dev/null +++ b/lede/toolchain/gcc/patches-15.x/851-libgcc_no_compat.patch @@ -0,0 +1,22 @@ +commit 64661de100da1ec1061ef3e5e400285dce115e6b +Author: Felix Fietkau +Date: Sun May 10 13:16:35 2015 +0000 + + gcc: add some size optimization patches + + Signed-off-by: Felix Fietkau + + SVN-Revision: 45664 + +--- a/libgcc/config/t-libunwind ++++ b/libgcc/config/t-libunwind +@@ -2,8 +2,7 @@ + + HOST_LIBGCC2_CFLAGS += -DUSE_GAS_SYMVER + +-LIB2ADDEH = $(srcdir)/unwind-sjlj.c $(srcdir)/unwind-c.c \ +- $(srcdir)/unwind-compat.c $(srcdir)/unwind-dw2-fde-compat.c ++LIB2ADDEH = $(srcdir)/unwind-sjlj.c $(srcdir)/unwind-c.c + LIB2ADDEHSTATIC = $(srcdir)/unwind-sjlj.c $(srcdir)/unwind-c.c + + # Override the default value from t-slibgcc-elf-ver and mention -lunwind diff --git a/lede/toolchain/gcc/patches-15.x/870-ppc_no_crtsavres.patch b/lede/toolchain/gcc/patches-15.x/870-ppc_no_crtsavres.patch new file mode 100644 index 0000000000..0dca68899e --- /dev/null +++ b/lede/toolchain/gcc/patches-15.x/870-ppc_no_crtsavres.patch @@ -0,0 +1,11 @@ +--- a/gcc/config/rs6000/rs6000-logue.cc ++++ b/gcc/config/rs6000/rs6000-logue.cc +@@ -344,7 +344,7 @@ rs6000_savres_strategy (rs6000_stack_t * + /* Define cutoff for using out-of-line functions to save registers. */ + if (DEFAULT_ABI == ABI_V4 || TARGET_ELF) + { +- if (!optimize_size) ++ if (1) + { + strategy |= SAVE_INLINE_FPRS | REST_INLINE_FPRS; + strategy |= SAVE_INLINE_GPRS | REST_INLINE_GPRS; diff --git a/lede/toolchain/gcc/patches-15.x/881-no_tm_section.patch b/lede/toolchain/gcc/patches-15.x/881-no_tm_section.patch new file mode 100644 index 0000000000..2029910fd0 --- /dev/null +++ b/lede/toolchain/gcc/patches-15.x/881-no_tm_section.patch @@ -0,0 +1,11 @@ +--- a/libgcc/crtstuff.c ++++ b/libgcc/crtstuff.c +@@ -152,7 +152,7 @@ call_ ## FUNC (void) \ + #endif + + #if !defined(USE_TM_CLONE_REGISTRY) && defined(OBJECT_FORMAT_ELF) +-# define USE_TM_CLONE_REGISTRY 1 ++# define USE_TM_CLONE_REGISTRY 0 + #elif !defined(USE_TM_CLONE_REGISTRY) + # define USE_TM_CLONE_REGISTRY 0 + #endif diff --git a/lede/toolchain/gcc/patches-15.x/900-bad-mips16-crt.patch b/lede/toolchain/gcc/patches-15.x/900-bad-mips16-crt.patch new file mode 100644 index 0000000000..b355545c35 --- /dev/null +++ b/lede/toolchain/gcc/patches-15.x/900-bad-mips16-crt.patch @@ -0,0 +1,9 @@ +--- a/libgcc/config/mips/t-mips16 ++++ b/libgcc/config/mips/t-mips16 +@@ -42,3 +42,6 @@ SYNC_CFLAGS = -mno-mips16 + + # Version these symbols if building libgcc.so. + SHLIB_MAPFILES += $(srcdir)/config/mips/libgcc-mips16.ver ++ ++CRTSTUFF_T_CFLAGS += -mno-mips16 ++CRTSTUFF_T_CFLAGS_S += -mno-mips16 diff --git a/lede/toolchain/gcc/patches-15.x/910-mbsd_multi.patch b/lede/toolchain/gcc/patches-15.x/910-mbsd_multi.patch new file mode 100644 index 0000000000..4b29ac01cc --- /dev/null +++ b/lede/toolchain/gcc/patches-15.x/910-mbsd_multi.patch @@ -0,0 +1,146 @@ +commit 99368862e44740ff4fd33760893f04e14f9dbdf1 +Author: Felix Fietkau +Date: Tue Jul 31 00:52:27 2007 +0000 + + Port the mbsd_multi patch from freewrt, which adds -fhonour-copts. This will emit warnings in packages that don't use our target cflags properly + + SVN-Revision: 8256 + + This patch brings over a feature from MirBSD: + * -fhonour-copts + If this option is not given, it's warned (depending + on environment variables). This is to catch errors + of misbuilt packages which override CFLAGS themselves. + + This patch was authored by Thorsten Glaser + with copyright assignment to the FSF in effect. + +--- a/gcc/c-family/c-opts.cc ++++ b/gcc/c-family/c-opts.cc +@@ -109,6 +109,9 @@ static size_t include_cursor; + /* Whether any standard preincluded header has been preincluded. */ + static bool done_preinclude; + ++/* Check if a port honours COPTS. */ ++static int honour_copts = 0; ++ + static void handle_OPT_d (const char *); + static void set_std_cxx98 (int); + static void set_std_cxx11 (int); +@@ -503,6 +506,12 @@ c_common_handle_option (size_t scode, co + flag_no_builtin = !value; + break; + ++ case OPT_fhonour_copts: ++ if (c_language == clk_c) { ++ honour_copts++; ++ } ++ break; ++ + case OPT_fconstant_string_class_: + constant_string_class_name = arg; + break; +@@ -1361,6 +1370,47 @@ c_common_init (void) + return false; + } + ++ if (c_language == clk_c) { ++ char *ev = getenv ("GCC_HONOUR_COPTS"); ++ int evv; ++ if (ev == NULL) ++ evv = -1; ++ else if ((*ev == '0') || (*ev == '\0')) ++ evv = 0; ++ else if (*ev == '1') ++ evv = 1; ++ else if (*ev == '2') ++ evv = 2; ++ else if (*ev == 's') ++ evv = -1; ++ else { ++ warning (0, "unknown GCC_HONOUR_COPTS value, assuming 1"); ++ evv = 1; /* maybe depend this on something like MIRBSD_NATIVE? */ ++ } ++ if (evv == 1) { ++ if (honour_copts == 0) { ++ error ("someone does not honour COPTS at all in lenient mode"); ++ return false; ++ } else if (honour_copts != 1) { ++ warning (0, "someone does not honour COPTS correctly, passed %d times", ++ honour_copts); ++ } ++ } else if (evv == 2) { ++ if (honour_copts == 0) { ++ error ("someone does not honour COPTS at all in strict mode"); ++ return false; ++ } else if (honour_copts != 1) { ++ error ("someone does not honour COPTS correctly, passed %d times", ++ honour_copts); ++ return false; ++ } ++ } else if (evv == 0) { ++ if (honour_copts != 1) ++ inform (UNKNOWN_LOCATION, "someone does not honour COPTS correctly, passed %d times", ++ honour_copts); ++ } ++ } ++ + return true; + } + +--- a/gcc/c-family/c.opt ++++ b/gcc/c-family/c.opt +@@ -2008,6 +2008,9 @@ C++ ObjC++ Optimization Alias(fexception + fhonor-std + C++ ObjC++ WarnRemoved + ++fhonour-copts ++C ObjC C++ ObjC++ RejectNegative ++ + fhosted + C ObjC + Assume normal C execution environment. +--- a/gcc/common.opt ++++ b/gcc/common.opt +@@ -1938,6 +1938,9 @@ Enum(hardcfr_check_noreturn_calls) Strin + EnumValue + Enum(hardcfr_check_noreturn_calls) String(always) Value(HCFRNR_ALWAYS) + ++fhonour-copts ++Common RejectNegative ++ + ; Nonzero means ignore `#ident' directives. 0 means handle them. + ; Generate position-independent code for executables if possible + ; On SVR4 targets, it also controls whether or not to emit a +--- a/gcc/doc/invoke.texi ++++ b/gcc/doc/invoke.texi +@@ -10897,6 +10897,17 @@ This option is only supported for C and + + This warning is upgraded to an error by @option{-pedantic-errors}. + ++@item -fhonour-copts ++@opindex fhonour-copts ++If @env{GCC_HONOUR_COPTS} is set to 1, abort if this option is not ++given at least once, and warn if it is given more than once. ++If @env{GCC_HONOUR_COPTS} is set to 2, abort if this option is not ++given exactly once. ++If @env{GCC_HONOUR_COPTS} is set to 0 or unset, warn if this option ++is not given exactly once. ++The warning is quelled if @env{GCC_HONOUR_COPTS} is set to @samp{s}. ++This flag and environment variable only affect the C language. ++ + @opindex Wstack-protector + @opindex Wno-stack-protector + @item -Wstack-protector +--- a/gcc/opts.cc ++++ b/gcc/opts.cc +@@ -2867,6 +2867,9 @@ common_handle_option (struct gcc_options + add_comma_separated_to_vector (&opts->x_flag_ignored_attributes, arg); + break; + ++ case OPT_fhonour_copts: ++ break; ++ + case OPT_Werror: + dc->set_warning_as_error_requested (value); + break; diff --git a/lede/toolchain/gcc/patches-15.x/920-specs_nonfatal_getenv.patch b/lede/toolchain/gcc/patches-15.x/920-specs_nonfatal_getenv.patch new file mode 100644 index 0000000000..01591d2cd8 --- /dev/null +++ b/lede/toolchain/gcc/patches-15.x/920-specs_nonfatal_getenv.patch @@ -0,0 +1,22 @@ +Author: Jo-Philipp Wich +Date: Sat Apr 21 03:02:39 2012 +0000 + + gcc: add patch to make the getenv() spec function nonfatal if requested environment variable is unset + + SVN-Revision: 31390 + +--- a/gcc/gcc.cc ++++ b/gcc/gcc.cc +@@ -10357,8 +10357,10 @@ getenv_spec_function (int argc, const ch + } + + if (!value) +- fatal_error (input_location, +- "environment variable %qs not defined", varname); ++ { ++ warning (input_location, "environment variable %qs not defined", varname); ++ value = ""; ++ } + + /* We have to escape every character of the environment variable so + they are not interpreted as active spec characters. A diff --git a/lede/toolchain/gcc/patches-15.x/960-gotools-fix-compilation-when-making-cross-compiler.patch b/lede/toolchain/gcc/patches-15.x/960-gotools-fix-compilation-when-making-cross-compiler.patch new file mode 100644 index 0000000000..b1d7576328 --- /dev/null +++ b/lede/toolchain/gcc/patches-15.x/960-gotools-fix-compilation-when-making-cross-compiler.patch @@ -0,0 +1,67 @@ +From dda6b050cd74a352670787a294596a9c56c21327 Mon Sep 17 00:00:00 2001 +From: Yousong Zhou +Date: Fri, 4 May 2018 18:20:53 +0800 +Subject: [PATCH] gotools: fix compilation when making cross compiler + +libgo is "the runtime support library for the Go programming language. +This library is intended for use with the Go frontend." + +gccgo will link target files with libgo.so which depends on libgcc_s.so.1, but +the linker will complain that it cannot find it. That's because shared libgcc +is not present in the install directory yet. libgo.so was made without problem +because gcc will emit -lgcc_s when compiled with -shared option. When gotools +were being made, it was supplied with -static-libgcc thus no link option was +provided. Check LIBGO in gcc/go/gcc-spec.c for how gccgo make a builtin spec +for linking with libgo.so + +- GccgoCrossCompilation, https://github.com/golang/go/wiki/GccgoCrossCompilation +- Cross-building instructions, http://www.eglibc.org/archives/patches/msg00078.html + +When 3-pass GCC compilation is used, shared libgcc runtime libraries will be +available after gcc pass2 completed and will meet the gotools link requirement +at gcc pass3 +--- + gotools/Makefile.am | 4 +++- + gotools/Makefile.in | 4 +++- + 2 files changed, 6 insertions(+), 2 deletions(-) + +--- a/gotools/Makefile.am ++++ b/gotools/Makefile.am +@@ -26,6 +26,7 @@ PWD_COMMAND = $${PWDCMD-pwd} + STAMP = echo timestamp > + + libgodir = ../$(target_noncanonical)/libgo ++libgccdir = ../$(target_noncanonical)/libgcc + LIBGODEP = $(libgodir)/libgo.la + + LIBGOTOOL = $(libgodir)/libgotool.a +@@ -41,7 +42,8 @@ GOCFLAGS = $(CFLAGS_FOR_TARGET) + GOCOMPILE = $(GOCOMPILER) $(GOCFLAGS) + + AM_GOCFLAGS = -I $(libgodir) +-AM_LDFLAGS = -L $(libgodir) -L $(libgodir)/.libs ++AM_LDFLAGS = -L $(libgodir) -L $(libgodir)/.libs \ ++ -L $(libgccdir) -L $(libgccdir)/.libs -lgcc_s + GOLINK = $(GOCOMPILER) $(GOCFLAGS) $(AM_GOCFLAGS) $(LDFLAGS) $(AM_LDFLAGS) -o $@ + + libgosrcdir = $(srcdir)/../libgo/go +--- a/gotools/Makefile.in ++++ b/gotools/Makefile.in +@@ -337,6 +337,7 @@ mkinstalldirs = $(SHELL) $(toplevel_srcd + PWD_COMMAND = $${PWDCMD-pwd} + STAMP = echo timestamp > + libgodir = ../$(target_noncanonical)/libgo ++libgccdir = ../$(target_noncanonical)/libgcc + LIBGODEP = $(libgodir)/libgo.la + LIBGOTOOL = $(libgodir)/libgotool.a + @NATIVE_FALSE@GOCOMPILER = $(GOC) +@@ -346,7 +347,8 @@ LIBGOTOOL = $(libgodir)/libgotool.a + GOCFLAGS = $(CFLAGS_FOR_TARGET) + GOCOMPILE = $(GOCOMPILER) $(GOCFLAGS) + AM_GOCFLAGS = -I $(libgodir) +-AM_LDFLAGS = -L $(libgodir) -L $(libgodir)/.libs ++AM_LDFLAGS = -L $(libgodir) -L $(libgodir)/.libs \ ++ -L $(libgccdir) -L $(libgccdir)/.libs -lgcc_s + GOLINK = $(GOCOMPILER) $(GOCFLAGS) $(AM_GOCFLAGS) $(LDFLAGS) $(AM_LDFLAGS) -o $@ + libgosrcdir = $(srcdir)/../libgo/go + cmdsrcdir = $(libgosrcdir)/cmd diff --git a/lede/toolchain/gcc/patches-15.x/970-macos_arm64-building-fix.patch b/lede/toolchain/gcc/patches-15.x/970-macos_arm64-building-fix.patch new file mode 100644 index 0000000000..cf0fd7491c --- /dev/null +++ b/lede/toolchain/gcc/patches-15.x/970-macos_arm64-building-fix.patch @@ -0,0 +1,45 @@ +commit 9c6e71079b46ad5433165feaa2001450f2017b56 +Author: Przemysław Buczkowski +Date: Mon Aug 16 13:16:21 2021 +0100 + + GCC: Patch for Apple Silicon compatibility + + This patch fixes a linker error occuring when compiling + the cross-compiler on macOS and ARM64 architecture. + + Adapted from: + https://github.com/richfelker/musl-cross-make/issues/116#issuecomment-823612404 + + Change-Id: Ia3ee98a163bbb62689f42e2da83a5ef36beb0913 + Reviewed-on: https://review.haiku-os.org/c/buildtools/+/4329 + Reviewed-by: John Scipione + Reviewed-by: Adrien Destugues + +--- a/gcc/config/aarch64/aarch64.h ++++ b/gcc/config/aarch64/aarch64.h +@@ -1469,7 +1469,7 @@ extern enum aarch64_code_model aarch64_c + + /* Extra specs when building a native AArch64-hosted compiler. + Option rewriting rules based on host system. */ +-#if defined(__aarch64__) ++#if defined(__aarch64__) && ! defined(__APPLE__) + extern const char *host_detect_local_cpu (int argc, const char **argv); + #define HAVE_LOCAL_CPU_DETECT + # define EXTRA_SPEC_FUNCTIONS \ +--- a/gcc/config/host-darwin.cc ++++ b/gcc/config/host-darwin.cc +@@ -23,6 +23,8 @@ + #include "options.h" + #include "diagnostic-core.h" + #include "config/host-darwin.h" ++#include "hosthooks.h" ++#include "hosthooks-def.h" + #include + + /* For Darwin (macOS only) platforms, without ASLR (PIE) enabled on the +@@ -181,3 +183,5 @@ darwin_gt_pch_use_address (void *&addr, + + return 1; + } ++ ++const struct host_hooks host_hooks = HOST_HOOKS_INITIALIZER; diff --git a/lede/toolchain/gcc/patches-15.x/980-fix-build-error-with-Xcode-16.3.patch b/lede/toolchain/gcc/patches-15.x/980-fix-build-error-with-Xcode-16.3.patch new file mode 100644 index 0000000000..c55100133c --- /dev/null +++ b/lede/toolchain/gcc/patches-15.x/980-fix-build-error-with-Xcode-16.3.patch @@ -0,0 +1,47 @@ +From 93954654b87552c4fe0273cab99d0f42f213f7f8 Mon Sep 17 00:00:00 2001 +From: Georgi Valkov +Date: Mon, 14 Apr 2025 15:45:59 +0300 +Subject: [PATCH] zlib: fix build error with Xcode 16.3 + +Xcode 16.3 defines TARGET_OS_MAC, it was not defined in prior versions. +zutil.h conditionally defines fdopen as NULL when this macro is defined, +resulting in the following build error: + +/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdio.h:318:7: error: expected identifier or '(' + 318 | FILE *fdopen(int, const char *) __DARWIN_ALIAS_STARTING(__MAC_10_6, __IPHONE_2_0, __DARWIN_ALIAS(fdopen)); + | ^ +./zutil.h:147:33: note: expanded from macro 'fdopen' + 147 | # define fdopen(fd,mode) NULL /* No fdopen() */ + +In Xcode 16.2 and earlier, TARGET_OS_MAC was not defined so this entire +block was ignored, gcc and gdb used to compile and work fine. + +This may have been used for compatibility with older versions of macOS, +but is no longer needed. By pure luck, the build worked fine for a long +time, because it did not properly detect macOS. +Fixed by removing the check for TARGET_OS_MAC. + +Note that since Xcode 16.3, an entire set of TARGET_OS macros +are now defined, most of which are set to 0: +TARGET_OS_LINUX 0 +TARGET_OS_MAC 1 +TARGET_OS_OSX 1 + +[1] https://github.com/openwrt/openwrt/pull/18467 + +Signed-off-by: Georgi Valkov +--- + zlib/zutil.h | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +--- a/zlib/zutil.h ++++ b/zlib/zutil.h +@@ -130,7 +130,7 @@ extern z_const char * const z_errmsg[10] + # endif + #endif + +-#if defined(MACOS) || defined(TARGET_OS_MAC) ++#if defined(MACOS) + # define OS_CODE 7 + # ifndef Z_SOLO + # if defined(__MWERKS__) && __dest_os != __be_os && __dest_os != __win32_os diff --git a/mieru/Makefile b/mieru/Makefile index 9af28b88cc..02d87cb786 100644 --- a/mieru/Makefile +++ b/mieru/Makefile @@ -52,7 +52,7 @@ bin: lib client-android client-linux client-mac client-windows server-linux lib: fmt vet CGO_ENABLED=0 go build -v ./... go clean -testcache - CGO_ENABLED=0 go test -timeout=1m0s -coverprofile coverage.out ./... + go test -race -timeout=5m -coverprofile coverage.out ./... go tool cover -html coverage.out -o coverage.html # Format source code. diff --git a/mieru/pkg/metrics/export.go b/mieru/pkg/metrics/export.go index 4b5281afc6..e67d796516 100644 --- a/mieru/pkg/metrics/export.go +++ b/mieru/pkg/metrics/export.go @@ -270,7 +270,10 @@ func logMetricsLoop() { select { case <-logTicker.C: LogMetricsNow() - if metricsDump { + logMutex.Lock() + shouldDump := metricsDump + logMutex.Unlock() + if shouldDump { if err := DumpMetricsNow(); err != nil { log.Warnf("DumpMetricsNow() failed: %v", err) } diff --git a/mieru/pkg/protocol/mux.go b/mieru/pkg/protocol/mux.go index 1dfd065016..813ea58643 100644 --- a/mieru/pkg/protocol/mux.go +++ b/mieru/pkg/protocol/mux.go @@ -392,6 +392,8 @@ func (m *Mux) DialContext(ctx context.Context) (net.Conn, error) { } func (m *Mux) ExportSessionInfoList() *appctlpb.SessionInfoList { + m.mu.Lock() + defer m.mu.Unlock() items := make([]*appctlpb.SessionInfo, 0) for _, underlay := range m.underlays { items = append(items, underlay.SessionInfos()...) diff --git a/openwrt-packages/luci-theme-alpha/Makefile b/openwrt-packages/luci-theme-alpha/Makefile index 7fbbcd1961..5e76efce30 100644 --- a/openwrt-packages/luci-theme-alpha/Makefile +++ b/openwrt-packages/luci-theme-alpha/Makefile @@ -19,7 +19,7 @@ define Package/luci-theme-$(THEME_NAME) SECTION:=luci CATEGORY:=LuCI SUBMENU:=9. Themes - DEPENDS:=+libc + DEPENDS:=+libc +luci-app-alpha-config TITLE:=LuCi Theme For OpenWrt And Alpha OS ONLY - $(THEME_TITLE) URL:=http://facebook.com/derisamedia/ PKGARCH:=all diff --git a/openwrt-packages/luci-theme-alpha/template/footer.ut b/openwrt-packages/luci-theme-alpha/template/footer.ut index f6740eb1b0..efaa4da0df 100644 --- a/openwrt-packages/luci-theme-alpha/template/footer.ut +++ b/openwrt-packages/luci-theme-alpha/template/footer.ut @@ -54,7 +54,7 @@