Bilibili-Evolved/registry/dist/components/style/custom-navbar.js
github-actions[bot] ab048b3e66
Some checks are pending
Build / build (push) Waiting to run
CI build
2025-07-22 15:52:11 +00:00

30 lines
200 KiB
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

!function(t,n){"object"==typeof exports&&"object"==typeof module?module.exports=n():"function"==typeof define&&define.amd?define([],n):"object"==typeof exports?exports["style/custom-navbar"]=n():t["style/custom-navbar"]=n()}(globalThis,(()=>(()=>{var t,n,e={5282:(t,n,e)=>{"use strict";function a(t){if(null==t)return window;if("[object Window]"!==t.toString()){var n=t.ownerDocument;return n&&n.defaultView||window}return t}function i(t){return t instanceof a(t).Element||t instanceof Element}function r(t){return t instanceof a(t).HTMLElement||t instanceof HTMLElement}function o(t){return"undefined"!=typeof ShadowRoot&&(t instanceof a(t).ShadowRoot||t instanceof ShadowRoot)}e.d(n,{LC:()=>xt,mW:()=>ft,z0:()=>At});var s=Math.max,l=Math.min,c=Math.round;function p(){var t=navigator.userAgentData;return null!=t&&t.brands&&Array.isArray(t.brands)?t.brands.map((function(t){return t.brand+"/"+t.version})).join(" "):navigator.userAgent}function d(){return!/^((?!chrome|android).)*safari/i.test(p())}function u(t,n,e){void 0===n&&(n=!1),void 0===e&&(e=!1);var o=t.getBoundingClientRect(),s=1,l=1;n&&r(t)&&(s=t.offsetWidth>0&&c(o.width)/t.offsetWidth||1,l=t.offsetHeight>0&&c(o.height)/t.offsetHeight||1);var p=(i(t)?a(t):window).visualViewport,u=!d()&&e,m=(o.left+(u&&p?p.offsetLeft:0))/s,h=(o.top+(u&&p?p.offsetTop:0))/l,v=o.width/s,g=o.height/l;return{width:v,height:g,top:h,right:m+v,bottom:h+g,left:m,x:m,y:h}}function m(t){var n=a(t);return{scrollLeft:n.pageXOffset,scrollTop:n.pageYOffset}}function h(t){return t?(t.nodeName||"").toLowerCase():null}function v(t){return((i(t)?t.ownerDocument:t.document)||window.document).documentElement}function g(t){return u(v(t)).left+m(t).scrollLeft}function b(t){return a(t).getComputedStyle(t)}function f(t){var n=b(t),e=n.overflow,a=n.overflowX,i=n.overflowY;return/auto|scroll|overlay|hidden/.test(e+i+a)}function A(t,n,e){void 0===e&&(e=!1);var i,o,s=r(n),l=r(n)&&function(t){var n=t.getBoundingClientRect(),e=c(n.width)/t.offsetWidth||1,a=c(n.height)/t.offsetHeight||1;return 1!==e||1!==a}(n),p=v(n),d=u(t,l,e),b={scrollLeft:0,scrollTop:0},A={x:0,y:0};return(s||!s&&!e)&&(("body"!==h(n)||f(p))&&(b=(i=n)!==a(i)&&r(i)?{scrollLeft:(o=i).scrollLeft,scrollTop:o.scrollTop}:m(i)),r(n)?((A=u(n,!0)).x+=n.clientLeft,A.y+=n.clientTop):p&&(A.x=g(p))),{x:d.left+b.scrollLeft-A.x,y:d.top+b.scrollTop-A.y,width:d.width,height:d.height}}function x(t){var n=u(t),e=t.offsetWidth,a=t.offsetHeight;return Math.abs(n.width-e)<=1&&(e=n.width),Math.abs(n.height-a)<=1&&(a=n.height),{x:t.offsetLeft,y:t.offsetTop,width:e,height:a}}function y(t){return"html"===h(t)?t:t.assignedSlot||t.parentNode||(o(t)?t.host:null)||v(t)}function w(t){return["html","body","#document"].indexOf(h(t))>=0?t.ownerDocument.body:r(t)&&f(t)?t:w(y(t))}function _(t,n){var e;void 0===n&&(n=[]);var i=w(t),r=i===(null==(e=t.ownerDocument)?void 0:e.body),o=a(i),s=r?[o].concat(o.visualViewport||[],f(i)?i:[]):i,l=n.concat(s);return r?l:l.concat(_(y(s)))}function C(t){return["table","td","th"].indexOf(h(t))>=0}function k(t){return r(t)&&"fixed"!==b(t).position?t.offsetParent:null}function I(t){for(var n=a(t),e=k(t);e&&C(e)&&"static"===b(e).position;)e=k(e);return e&&("html"===h(e)||"body"===h(e)&&"static"===b(e).position)?n:e||function(t){var n=/firefox/i.test(p());if(/Trident/i.test(p())&&r(t)&&"fixed"===b(t).position)return null;var e=y(t);for(o(e)&&(e=e.host);r(e)&&["html","body"].indexOf(h(e))<0;){var a=b(e);if("none"!==a.transform||"none"!==a.perspective||"paint"===a.contain||-1!==["transform","perspective"].indexOf(a.willChange)||n&&"filter"===a.willChange||n&&a.filter&&"none"!==a.filter)return e;e=e.parentNode}return null}(t)||n}var S="top",V="bottom",P="right",L="left",N="auto",z=[S,V,P,L],B="start",E="end",j="viewport",T="popper",D=z.reduce((function(t,n){return t.concat([n+"-"+B,n+"-"+E])}),[]),M=[].concat(z,[N]).reduce((function(t,n){return t.concat([n,n+"-"+B,n+"-"+E])}),[]),O=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function U(t){var n=new Map,e=new Set,a=[];function i(t){e.add(t.name),[].concat(t.requires||[],t.requiresIfExists||[]).forEach((function(t){if(!e.has(t)){var a=n.get(t);a&&i(a)}})),a.push(t)}return t.forEach((function(t){n.set(t.name,t)})),t.forEach((function(t){e.has(t.name)||i(t)})),a}var F={placement:"bottom",modifiers:[],strategy:"absolute"};function R(){for(var t=arguments.length,n=new Array(t),e=0;e<t;e++)n[e]=arguments[e];return!n.some((function(t){return!(t&&"function"==typeof t.getBoundingClientRect)}))}function W(t){void 0===t&&(t={});var n=t,e=n.defaultModifiers,a=void 0===e?[]:e,r=n.defaultOptions,o=void 0===r?F:r;return function(t,n,e){void 0===e&&(e=o);var r,s,l={placement:"bottom",orderedModifiers:[],options:Object.assign({},F,o),modifiersData:{},elements:{reference:t,popper:n},attributes:{},styles:{}},c=[],p=!1,d={state:l,setOptions:function(e){var r="function"==typeof e?e(l.options):e;u(),l.options=Object.assign({},o,l.options,r),l.scrollParents={reference:i(t)?_(t):t.contextElement?_(t.contextElement):[],popper:_(n)};var s,p,m=function(t){var n=U(t);return O.reduce((function(t,e){return t.concat(n.filter((function(t){return t.phase===e})))}),[])}((s=[].concat(a,l.options.modifiers),p=s.reduce((function(t,n){var e=t[n.name];return t[n.name]=e?Object.assign({},e,n,{options:Object.assign({},e.options,n.options),data:Object.assign({},e.data,n.data)}):n,t}),{}),Object.keys(p).map((function(t){return p[t]}))));return l.orderedModifiers=m.filter((function(t){return t.enabled})),l.orderedModifiers.forEach((function(t){var n=t.name,e=t.options,a=void 0===e?{}:e,i=t.effect;if("function"==typeof i){var r=i({state:l,name:n,instance:d,options:a}),o=function(){};c.push(r||o)}})),d.update()},forceUpdate:function(){if(!p){var t=l.elements,n=t.reference,e=t.popper;if(R(n,e)){l.rects={reference:A(n,I(e),"fixed"===l.options.strategy),popper:x(e)},l.reset=!1,l.placement=l.options.placement,l.orderedModifiers.forEach((function(t){return l.modifiersData[t.name]=Object.assign({},t.data)}));for(var a=0;a<l.orderedModifiers.length;a++)if(!0!==l.reset){var i=l.orderedModifiers[a],r=i.fn,o=i.options,s=void 0===o?{}:o,c=i.name;"function"==typeof r&&(l=r({state:l,options:s,name:c,instance:d})||l)}else l.reset=!1,a=-1}}},update:(r=function(){return new Promise((function(t){d.forceUpdate(),t(l)}))},function(){return s||(s=new Promise((function(t){Promise.resolve().then((function(){s=void 0,t(r())}))}))),s}),destroy:function(){u(),p=!0}};if(!R(t,n))return d;function u(){c.forEach((function(t){return t()})),c=[]}return d.setOptions(e).then((function(t){!p&&e.onFirstUpdate&&e.onFirstUpdate(t)})),d}}var Q={passive:!0};// eslint-disable-next-line import/no-unused-modules
function Y(t){return t.split("-")[0]}function H(t){return t.split("-")[1]}function J(t){return["top","bottom"].indexOf(t)>=0?"x":"y"}function q(t){var n,e=t.reference,a=t.element,i=t.placement,r=i?Y(i):null,o=i?H(i):null,s=e.x+e.width/2-a.width/2,l=e.y+e.height/2-a.height/2;switch(r){case S:n={x:s,y:e.y-a.height};break;case V:n={x:s,y:e.y+e.height};break;case P:n={x:e.x+e.width,y:l};break;case L:n={x:e.x-a.width,y:l};break;default:n={x:e.x,y:e.y}}var c=r?J(r):null;if(null!=c){var p="y"===c?"height":"width";switch(o){case B:n[c]=n[c]-(e[p]/2-a[p]/2);break;case E:n[c]=n[c]+(e[p]/2-a[p]/2)}}return n}
// eslint-disable-next-line import/no-unused-modules
var Z={top:"auto",right:"auto",bottom:"auto",left:"auto"};function G(t){var n,e=t.popper,i=t.popperRect,r=t.placement,o=t.variation,s=t.offsets,l=t.position,p=t.gpuAcceleration,d=t.adaptive,u=t.roundOffsets,m=t.isFixed,h=s.x,g=void 0===h?0:h,f=s.y,A=void 0===f?0:f,x="function"==typeof u?u({x:g,y:A}):{x:g,y:A};g=x.x,A=x.y;var y=s.hasOwnProperty("x"),w=s.hasOwnProperty("y"),_=L,C=S,k=window;if(d){var N=I(e),z="clientHeight",B="clientWidth";if(N===a(e)&&"static"!==b(N=v(e)).position&&"absolute"===l&&(z="scrollHeight",B="scrollWidth"),r===S||(r===L||r===P)&&o===E)C=V,A-=(m&&N===k&&k.visualViewport?k.visualViewport.height:N[z])-i.height,A*=p?1:-1;if(r===L||(r===S||r===V)&&o===E)_=P,g-=(m&&N===k&&k.visualViewport?k.visualViewport.width:N[B])-i.width,g*=p?1:-1}var j,T=Object.assign({position:l},d&&Z),D=!0===u?function(t,n){var e=t.x,a=t.y,i=n.devicePixelRatio||1;return{x:c(e*i)/i||0,y:c(a*i)/i||0}}({x:g,y:A},a(e)):{x:g,y:A};return g=D.x,A=D.y,p?Object.assign({},T,((j={})[C]=w?"0":"",j[_]=y?"0":"",j.transform=(k.devicePixelRatio||1)<=1?"translate("+g+"px, "+A+"px)":"translate3d("+g+"px, "+A+"px, 0)",j)):Object.assign({},T,((n={})[C]=w?A+"px":"",n[_]=y?g+"px":"",n.transform="",n))}// eslint-disable-next-line import/no-unused-modules
const X={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(t){var n=t.state,e=t.options,a=t.name,i=e.offset,r=void 0===i?[0,0]:i,o=M.reduce((function(t,e){return t[e]=
// eslint-disable-next-line import/no-unused-modules
function(t,n,e){var a=Y(t),i=[L,S].indexOf(a)>=0?-1:1,r="function"==typeof e?e(Object.assign({},n,{placement:t})):e,o=r[0],s=r[1];return o=o||0,s=(s||0)*i,[L,P].indexOf(a)>=0?{x:s,y:o}:{x:o,y:s}}(e,n.rects,r),t}),{}),s=o[n.placement],l=s.x,c=s.y;null!=n.modifiersData.popperOffsets&&(n.modifiersData.popperOffsets.x+=l,n.modifiersData.popperOffsets.y+=c),n.modifiersData[a]=o}};var K={left:"right",right:"left",bottom:"top",top:"bottom"};function $(t){return t.replace(/left|right|bottom|top/g,(function(t){return K[t]}))}var tt={start:"end",end:"start"};function nt(t){return t.replace(/start|end/g,(function(t){return tt[t]}))}function et(t,n){var e=n.getRootNode&&n.getRootNode();if(t.contains(n))return!0;if(e&&o(e)){var a=n;do{if(a&&t.isSameNode(a))return!0;a=a.parentNode||a.host}while(a)}return!1}function at(t){return Object.assign({},t,{left:t.x,top:t.y,right:t.x+t.width,bottom:t.y+t.height})}function it(t,n,e){return n===j?at(function(t,n){var e=a(t),i=v(t),r=e.visualViewport,o=i.clientWidth,s=i.clientHeight,l=0,c=0;if(r){o=r.width,s=r.height;var p=d();(p||!p&&"fixed"===n)&&(l=r.offsetLeft,c=r.offsetTop)}return{width:o,height:s,x:l+g(t),y:c}}(t,e)):i(n)?function(t,n){var e=u(t,!1,"fixed"===n);return e.top=e.top+t.clientTop,e.left=e.left+t.clientLeft,e.bottom=e.top+t.clientHeight,e.right=e.left+t.clientWidth,e.width=t.clientWidth,e.height=t.clientHeight,e.x=e.left,e.y=e.top,e}(n,e):at(function(t){var n,e=v(t),a=m(t),i=null==(n=t.ownerDocument)?void 0:n.body,r=s(e.scrollWidth,e.clientWidth,i?i.scrollWidth:0,i?i.clientWidth:0),o=s(e.scrollHeight,e.clientHeight,i?i.scrollHeight:0,i?i.clientHeight:0),l=-a.scrollLeft+g(t),c=-a.scrollTop;return"rtl"===b(i||e).direction&&(l+=s(e.clientWidth,i?i.clientWidth:0)-r),{width:r,height:o,x:l,y:c}}(v(t)))}function rt(t,n,e,a){var o="clippingParents"===n?function(t){var n=_(y(t)),e=["absolute","fixed"].indexOf(b(t).position)>=0&&r(t)?I(t):t;return i(e)?n.filter((function(t){return i(t)&&et(t,e)&&"body"!==h(t)})):[]}(t):[].concat(n),c=[].concat(o,[e]),p=c[0],d=c.reduce((function(n,e){var i=it(t,e,a);return n.top=s(i.top,n.top),n.right=l(i.right,n.right),n.bottom=l(i.bottom,n.bottom),n.left=s(i.left,n.left),n}),it(t,p,a));return d.width=d.right-d.left,d.height=d.bottom-d.top,d.x=d.left,d.y=d.top,d}function ot(t){return Object.assign({},{top:0,right:0,bottom:0,left:0},t)}function st(t,n){return n.reduce((function(n,e){return n[e]=t,n}),{})}
// eslint-disable-next-line import/no-unused-modules
function lt(t,n){void 0===n&&(n={});var e=n,a=e.placement,r=void 0===a?t.placement:a,o=e.strategy,s=void 0===o?t.strategy:o,l=e.boundary,c=void 0===l?"clippingParents":l,p=e.rootBoundary,d=void 0===p?j:p,m=e.elementContext,h=void 0===m?T:m,g=e.altBoundary,b=void 0!==g&&g,f=e.padding,A=void 0===f?0:f,x=ot("number"!=typeof A?A:st(A,z)),y=h===T?"reference":T,w=t.rects.popper,_=t.elements[b?y:h],C=rt(i(_)?_:_.contextElement||v(t.elements.popper),c,d,s),k=u(t.elements.reference),I=q({reference:k,element:w,strategy:"absolute",placement:r}),L=at(Object.assign({},w,I)),N=h===T?L:k,B={top:C.top-N.top+x.top,bottom:N.bottom-C.bottom+x.bottom,left:C.left-N.left+x.left,right:N.right-C.right+x.right},E=t.modifiersData.offset;if(h===T&&E){var D=E[r];Object.keys(B).forEach((function(t){var n=[P,V].indexOf(t)>=0?1:-1,e=[S,V].indexOf(t)>=0?"y":"x";B[t]+=D[e]*n}))}return B}function ct(t,n,e){return s(t,l(n,e))}// eslint-disable-next-line import/no-unused-modules
const pt={name:"preventOverflow",enabled:!0,phase:"main",fn:function(t){var n=t.state,e=t.options,a=t.name,i=e.mainAxis,r=void 0===i||i,o=e.altAxis,c=void 0!==o&&o,p=e.boundary,d=e.rootBoundary,u=e.altBoundary,m=e.padding,h=e.tether,v=void 0===h||h,g=e.tetherOffset,b=void 0===g?0:g,f=lt(n,{boundary:p,rootBoundary:d,padding:m,altBoundary:u}),A=Y(n.placement),y=H(n.placement),w=!y,_=J(A),C="x"===_?"y":"x",k=n.modifiersData.popperOffsets,N=n.rects.reference,z=n.rects.popper,E="function"==typeof b?b(Object.assign({},n.rects,{placement:n.placement})):b,j="number"==typeof E?{mainAxis:E,altAxis:E}:Object.assign({mainAxis:0,altAxis:0},E),T=n.modifiersData.offset?n.modifiersData.offset[n.placement]:null,D={x:0,y:0};if(k){if(r){var M,O="y"===_?S:L,U="y"===_?V:P,F="y"===_?"height":"width",R=k[_],W=R+f[O],Q=R-f[U],q=v?-z[F]/2:0,Z=y===B?N[F]:z[F],G=y===B?-z[F]:-N[F],X=n.elements.arrow,K=v&&X?x(X):{width:0,height:0},$=n.modifiersData["arrow#persistent"]?n.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},tt=$[O],nt=$[U],et=ct(0,N[F],K[F]),at=w?N[F]/2-q-et-tt-j.mainAxis:Z-et-tt-j.mainAxis,it=w?-N[F]/2+q+et+nt+j.mainAxis:G+et+nt+j.mainAxis,rt=n.elements.arrow&&I(n.elements.arrow),ot=rt?"y"===_?rt.clientTop||0:rt.clientLeft||0:0,st=null!=(M=null==T?void 0:T[_])?M:0,pt=R+it-st,dt=ct(v?l(W,R+at-st-ot):W,R,v?s(Q,pt):Q);k[_]=dt,D[_]=dt-R}if(c){var ut,mt="x"===_?S:L,ht="x"===_?V:P,vt=k[C],gt="y"===C?"height":"width",bt=vt+f[mt],ft=vt-f[ht],At=-1!==[S,L].indexOf(A),xt=null!=(ut=null==T?void 0:T[C])?ut:0,yt=At?bt:vt-N[gt]-z[gt]-xt+j.altAxis,wt=At?vt+N[gt]+z[gt]-xt-j.altAxis:ft,_t=v&&At?function(t,n,e){var a=ct(t,n,e);return a>e?e:a}(yt,vt,wt):ct(v?yt:bt,vt,v?wt:ft);k[C]=_t,D[C]=_t-vt}n.modifiersData[a]=D}},requiresIfExists:["offset"]};// eslint-disable-next-line import/no-unused-modules
const dt={name:"arrow",enabled:!0,phase:"main",fn:function(t){var n,e=t.state,a=t.name,i=t.options,r=e.elements.arrow,o=e.modifiersData.popperOffsets,s=Y(e.placement),l=J(s),c=[L,P].indexOf(s)>=0?"height":"width";if(r&&o){var p=function(t,n){return ot("number"!=typeof(t="function"==typeof t?t(Object.assign({},n.rects,{placement:n.placement})):t)?t:st(t,z))}(i.padding,e),d=x(r),u="y"===l?S:L,m="y"===l?V:P,h=e.rects.reference[c]+e.rects.reference[l]-o[l]-e.rects.popper[c],v=o[l]-e.rects.reference[l],g=I(r),b=g?"y"===l?g.clientHeight||0:g.clientWidth||0:0,f=h/2-v/2,A=p[u],y=b-d[c]-p[m],w=b/2-d[c]/2+f,_=ct(A,w,y),C=l;e.modifiersData[a]=((n={})[C]=_,n.centerOffset=_-w,n)}},effect:function(t){var n=t.state,e=t.options.element,a=void 0===e?"[data-popper-arrow]":e;null!=a&&("string"!=typeof a||(a=n.elements.popper.querySelector(a)))&&et(n.elements.popper,a)&&(n.elements.arrow=a)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function ut(t,n,e){return void 0===e&&(e={x:0,y:0}),{top:t.top-n.height-e.y,right:t.right-n.width+e.x,bottom:t.bottom-n.height+e.y,left:t.left-n.width-e.x}}function mt(t){return[S,P,V,L].some((function(n){return t[n]>=0}))}var ht=W({defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(t){var n=t.state,e=t.instance,i=t.options,r=i.scroll,o=void 0===r||r,s=i.resize,l=void 0===s||s,c=a(n.elements.popper),p=[].concat(n.scrollParents.reference,n.scrollParents.popper);return o&&p.forEach((function(t){t.addEventListener("scroll",e.update,Q)})),l&&c.addEventListener("resize",e.update,Q),function(){o&&p.forEach((function(t){t.removeEventListener("scroll",e.update,Q)})),l&&c.removeEventListener("resize",e.update,Q)}}// eslint-disable-next-line import/no-unused-modules
,data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(t){var n=t.state,e=t.name;n.modifiersData[e]=q({reference:n.rects.reference,element:n.rects.popper,strategy:"absolute",placement:n.placement})}// eslint-disable-next-line import/no-unused-modules
,data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(t){var n=t.state,e=t.options,a=e.gpuAcceleration,i=void 0===a||a,r=e.adaptive,o=void 0===r||r,s=e.roundOffsets,l=void 0===s||s,c={placement:Y(n.placement),variation:H(n.placement),popper:n.elements.popper,popperRect:n.rects.popper,gpuAcceleration:i,isFixed:"fixed"===n.options.strategy};null!=n.modifiersData.popperOffsets&&(n.styles.popper=Object.assign({},n.styles.popper,G(Object.assign({},c,{offsets:n.modifiersData.popperOffsets,position:n.options.strategy,adaptive:o,roundOffsets:l})))),null!=n.modifiersData.arrow&&(n.styles.arrow=Object.assign({},n.styles.arrow,G(Object.assign({},c,{offsets:n.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),n.attributes.popper=Object.assign({},n.attributes.popper,{"data-popper-placement":n.placement})}// eslint-disable-next-line import/no-unused-modules
,data:{}},{name:"applyStyles",enabled:!0,phase:"write",fn:function(t){var n=t.state;Object.keys(n.elements).forEach((function(t){var e=n.styles[t]||{},a=n.attributes[t]||{},i=n.elements[t];r(i)&&h(i)&&(Object.assign(i.style,e),Object.keys(a).forEach((function(t){var n=a[t];!1===n?i.removeAttribute(t):i.setAttribute(t,!0===n?"":n)})))}))},effect:function(t){var n=t.state,e={popper:{position:n.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(n.elements.popper.style,e.popper),n.styles=e,n.elements.arrow&&Object.assign(n.elements.arrow.style,e.arrow),function(){Object.keys(n.elements).forEach((function(t){var a=n.elements[t],i=n.attributes[t]||{},o=Object.keys(n.styles.hasOwnProperty(t)?n.styles[t]:e[t]).reduce((function(t,n){return t[n]="",t}),{});r(a)&&h(a)&&(Object.assign(a.style,o),Object.keys(i).forEach((function(t){a.removeAttribute(t)})))}))}}// eslint-disable-next-line import/no-unused-modules
,requires:["computeStyles"]},X,{name:"flip",enabled:!0,phase:"main",fn:function(t){var n=t.state,e=t.options,a=t.name;if(!n.modifiersData[a]._skip){for(var i=e.mainAxis,r=void 0===i||i,o=e.altAxis,s=void 0===o||o,l=e.fallbackPlacements,c=e.padding,p=e.boundary,d=e.rootBoundary,u=e.altBoundary,m=e.flipVariations,h=void 0===m||m,v=e.allowedAutoPlacements,g=n.options.placement,b=Y(g),f=l||(b===g||!h?[$(g)]:
// eslint-disable-next-line import/no-unused-modules
function(t){if(Y(t)===N)return[];var n=$(t);return[nt(t),n,nt(n)]}(g)),A=[g].concat(f).reduce((function(t,e){return t.concat(Y(e)===N?function(t,n){void 0===n&&(n={});var e=n,a=e.placement,i=e.boundary,r=e.rootBoundary,o=e.padding,s=e.flipVariations,l=e.allowedAutoPlacements,c=void 0===l?M:l,p=H(a),d=p?s?D:D.filter((function(t){return H(t)===p})):z,u=d.filter((function(t){return c.indexOf(t)>=0}));0===u.length&&(u=d);var m=u.reduce((function(n,e){return n[e]=lt(t,{placement:e,boundary:i,rootBoundary:r,padding:o})[Y(e)],n}),{});return Object.keys(m).sort((function(t,n){return m[t]-m[n]}))}(n,{placement:e,boundary:p,rootBoundary:d,padding:c,flipVariations:h,allowedAutoPlacements:v}):e)}),[]),x=n.rects.reference,y=n.rects.popper,w=new Map,_=!0,C=A[0],k=0;k<A.length;k++){var I=A[k],E=Y(I),j=H(I)===B,T=[S,V].indexOf(E)>=0,O=T?"width":"height",U=lt(n,{placement:I,boundary:p,rootBoundary:d,altBoundary:u,padding:c}),F=T?j?P:L:j?V:S;x[O]>y[O]&&(F=$(F));var R=$(F),W=[];if(r&&W.push(U[E]<=0),s&&W.push(U[F]<=0,U[R]<=0),W.every((function(t){return t}))){C=I,_=!1;break}w.set(I,W)}if(_)for(var Q=function(t){var n=A.find((function(n){var e=w.get(n);if(e)return e.slice(0,t).every((function(t){return t}))}));if(n)return C=n,"break"},J=h?3:1;J>0;J--){if("break"===Q(J))break}n.placement!==C&&(n.modifiersData[a]._skip=!0,n.placement=C,n.reset=!0)}}// eslint-disable-next-line import/no-unused-modules
,requiresIfExists:["offset"],data:{_skip:!1}},pt,dt,{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(t){var n=t.state,e=t.name,a=n.rects.reference,i=n.rects.popper,r=n.modifiersData.preventOverflow,o=lt(n,{elementContext:"reference"}),s=lt(n,{altBoundary:!0}),l=ut(o,a),c=ut(s,i,r),p=mt(l),d=mt(c);n.modifiersData[e]={referenceClippingOffsets:l,popperEscapeOffsets:c,isReferenceHidden:p,hasPopperEscaped:d},n.attributes.popper=Object.assign({},n.attributes.popper,{"data-popper-reference-hidden":p,"data-popper-escaped":d})}// eslint-disable-next-line import/no-unused-modules
}]}),vt=e(4905),gt=e(7847);function bt(t,n,e){return(n=function(t){var n=function(t,n){if("object"!=typeof t||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var a=e.call(t,n||"default");if("object"!=typeof a)return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===n?String:Number)(t)}(t,"string");return"symbol"==typeof n?n:n+""}(n))in t?Object.defineProperty(t,n,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[n]=e,t}const ft="customNavbar.items",At="customNavbar.renderedItems";class xt{constructor(t){if(bt(this,"name",void 0),bt(this,"displayName",void 0),bt(this,"content",void 0),bt(this,"flexStyle","0 0 auto"),bt(this,"disabled",!1),bt(this,"href",null),bt(this,"active",!1),bt(this,"clickAction",none),bt(this,"contentMounted",none),bt(this,"notifyCount",0),bt(this,"touch",!1),bt(this,"loginRequired",!1),bt(this,"popupContent",null),bt(this,"popper",null),bt(this,"boundingWidth",0),bt(this,"noPopupPadding",!1),bt(this,"transparentPopup",!1),bt(this,"lazy",!0),bt(this,"hidden",!1),bt(this,"order",0),bt(this,"requestedPopup",void 0),Object.assign(this,t),!this.name)throw new Error("Missing CustomNavbarItem name");if(void 0===this.content)throw new Error("Missing CustomNavbarItem content");(0,vt.addComponentListener)("customNavbar.touch",(n=>{this.touch=!!n&&t.touch}),!0),this.hidden=xt.navbarOptions.hidden.includes(this.name)||!(0,gt.getUID)()&&t.loginRequired;const n=xt.navbarOptions.order;this.order=n[this.name]||0,this.requestedPopup=!this.lazy}get element(){return dq(`.custom-navbar-item[data-name='${this.name}']`)}toString(){return this.name}usePopper(t,n){this.popper=ht(t,n,{placement:"bottom"})}}bt(xt,"navbarOptions",(0,vt.getComponentSettings)("customNavbar").options)},4263:(t,n,e)=>{"use strict";e.d(n,{I:()=>l});var a=e(1649),i=e(2007),r=e(765),o=e(2930),s=e(1164);const l=(t,n)=>Vue.extend({components:{VLoading:s.VLoading,VEmpty:s.VEmpty,ScrollTrigger:s.ScrollTrigger},data:()=>({loading:!0,cards:[],hasMorePage:!0}),computed:{sortedCards(){return[...this.cards].sort((0,i.descendingBigIntSort)((t=>t.id)))}},async created(){await this.nextPage();const t=this.sortedCards;t.length>0&&(0,o.setLatestID)(t[0].id)},methods:{async nextPage(){try{const e=this.sortedCards,r=e[e.length-1]?.id??0,o=await(0,a.getFeeds)(t,r);if(console.log(o),0!==o.code)throw this.hasMorePage=!1,new Error(o.message);const s=lodash.get(o,"data.items",[]).map(n);let l=(0,a.applyContentFilter)(e.concat(s).sort((0,i.descendingBigIntSort)((t=>t.id))).filter((t=>!(0,a.isPreOrderedVideo)(t))));if(l.length>0&&this.onCardsUpdate&&(l=this.onCardsUpdate(l)),console.log("nextPage get",l),this.cards=l,0===this.cards.length)return void(this.hasMorePage=!1);this.hasMorePage=0===r||Boolean(lodash.get(o,"data.has_more",!0))}catch(t){(0,r.logError)(t)}finally{this.loading=!1}}}})},891:(t,n,e)=>{"use strict";e.d(n,{E:()=>o,U:()=>r});var a=e(2259),i=e(5282);const r=Vue.extend({props:{item:{type:i.LC,required:!0},container:{type:HTMLElement,required:!0}},mounted(){const t=this.item,n=this.container;n&&t?.usePopper(n,this.$el.parentElement)},methods:{popupShow(){const t=this.item;t?.popper?.update()}}}),o=t=>((0,a.onMounted)((()=>{const n=t.item,e=t.container;e&&n?.usePopper(e,e.children[0])})),{popupShow(){const n=t.item;n?.popper?.update()}})},9642:(t,n,e)=>{"use strict";e.d(n,{D:()=>r,toggleNavbarSettings:()=>s,w:()=>o});var a=e(7847);let i;const r=t=>{i&&(i.triggerElement=t)},o=async()=>{if(i)return!1;const t=await Promise.resolve().then(e.bind(e,8435)).then((t=>t.default));return i=(0,a.mountVueComponent)(t),document.body.insertAdjacentElement("beforeend",i.$el),!0},s=async()=>{i||await o(),i?.toggle()}},3818:(t,n,e)=>{"use strict";e.d(n,{r:()=>i,x:()=>o});var a=e(7847);let i=function(t){return t.Bangumi="bangumi",t.Cinema="cinema",t}({});const r=(0,a.getUID)(),o={name:"subscriptions",displayName:"番剧 (弹窗)",content:()=>Promise.resolve().then(e.bind(e,1506)).then((t=>t.default)),href:`https://space.bilibili.com/${r}/bangumi`,touch:!0,active:[`https://space.bilibili.com/${r}/bangumi`,`https://space.bilibili.com/${r}/cinema`,`https://space.bilibili.com/${r}/subs`].includes(document.URL.replace(/\?.*$/,"")),loginRequired:!0,boundingWidth:380,noPopupPadding:!0,popupContent:()=>Promise.resolve().then(e.bind(e,9541)).then((t=>t.default))}},3629:(t,n,e)=>{"use strict";e.d(n,{i:()=>a});let a=function(t){return t[t.ToView=1]="ToView",t[t.Viewing=2]="Viewing",t[t.Viewed=3]="Viewed",t}({})},6305:(t,n,e)=>{var a=e(2955)((function(t){return t[1]}));a.push([t.id,'@property --navbar-foreground {\n syntax: "<color>";\n inherits: true;\n initial-value: transparent;\n}\n@property --navbar-background {\n syntax: "<color>";\n inherits: true;\n initial-value: transparent;\n}\n@property --foreground-color-d {\n syntax: "<color>";\n inherits: true;\n initial-value: transparent;\n}\n@property --theme-color {\n syntax: "<color>";\n inherits: true;\n initial-value: transparent;\n}\n@property --theme-color-60 {\n syntax: "<color>";\n inherits: true;\n initial-value: transparent;\n}\n@keyframes transparent-to-light {\nto {\n --navbar-foreground: #555;\n --navbar-background: white;\n}\n}\n@keyframes transparent-to-light-blur {\nto {\n --navbar-foreground: #555;\n --navbar-background: #fffc;\n -webkit-backdrop-filter: blur(24px);\n backdrop-filter: blur(24px);\n}\n}\n@keyframes transparent-to-dark {\nto {\n --navbar-foreground: #eee;\n --navbar-background: #222;\n}\n}\n@keyframes transparent-to-dark-blur {\nto {\n --navbar-foreground: #eee;\n --navbar-background: #2228;\n -webkit-backdrop-filter: blur(24px);\n backdrop-filter: blur(24px);\n}\n}\n@keyframes transparent-to-theme {\nto {\n --navbar-foreground: var(--foreground-color-d);\n --navbar-background: var(--theme-color);\n}\n}\n@keyframes transparent-to-theme-blur {\nto {\n --navbar-foreground: var(--foreground-color-d);\n --navbar-background: var(--theme-color-60);\n -webkit-backdrop-filter: blur(24px);\n backdrop-filter: blur(24px);\n}\n}\n@keyframes transparent-to-light-shadow {\nto {\n --navbar-foreground: #555;\n --navbar-background: white;\n box-shadow: #0002 0 1px 10px 1px;\n}\n}\n@keyframes transparent-to-light-blur-shadow {\nto {\n --navbar-foreground: #555;\n --navbar-background: #fffc;\n -webkit-backdrop-filter: blur(24px);\n backdrop-filter: blur(24px);\n box-shadow: #0002 0 1px 10px 1px;\n}\n}\n@keyframes transparent-to-dark-shadow {\nto {\n --navbar-foreground: #eee;\n --navbar-background: #222;\n box-shadow: #0004 0px 2px 10px 1px;\n}\n}\n@keyframes transparent-to-dark-blur-shadow {\nto {\n --navbar-foreground: #eee;\n --navbar-background: #2228;\n -webkit-backdrop-filter: blur(24px);\n backdrop-filter: blur(24px);\n box-shadow: #0004 0px 2px 10px 1px;\n}\n}\n@keyframes transparent-to-theme-shadow {\nto {\n --navbar-foreground: var(--foreground-color-d);\n --navbar-background: var(--theme-color);\n box-shadow: #0002 0 1px 10px 1px;\n}\n}\n@keyframes transparent-to-theme-blur-shadow {\nto {\n --navbar-foreground: var(--foreground-color-d);\n --navbar-background: var(--theme-color-60);\n -webkit-backdrop-filter: blur(24px);\n backdrop-filter: blur(24px);\n box-shadow: #0002 0 1px 10px 1px;\n}\n}\n@keyframes transparent-mask {\nto {\n opacity: 0;\n}\n}\n@keyframes launch-bar-colors {\nto {\n background-color: #8883;\n}\n}\n@keyframes launch-bar-colors-fill {\nto {\n background-color: #0002;\n}\n}\n@supports (animation-timeline: scroll()) {\n.custom-navbar.transparent {\n --animation-range: clamp(116px, 7vw, 180px) clamp(155px, 9.375vw, 240px);\n}\n.custom-navbar.transparent::before {\n animation: transparent-mask linear both;\n animation-timeline: scroll();\n animation-range: var(--animation-range);\n}\nbody.fixed-navbar .custom-navbar.transparent {\n animation: transparent-to-light linear both;\n animation-timeline: scroll();\n animation-range: var(--animation-range);\n}\nbody.fixed-navbar .custom-navbar.transparent .launch-bar {\n animation: launch-bar-colors linear both;\n animation-timeline: scroll();\n animation-range: var(--animation-range);\n}\nbody.fixed-navbar .custom-navbar.transparent.shadow {\n animation-name: transparent-to-light-shadow;\n}\nbody.fixed-navbar .custom-navbar.transparent.blur:not(.fill) {\n animation-name: transparent-to-light-blur;\n}\nbody.fixed-navbar .custom-navbar.transparent.blur:not(.fill).shadow {\n animation-name: transparent-to-light-blur-shadow;\n}\nbody.fixed-navbar .custom-navbar.transparent.fill {\n animation-name: transparent-to-theme;\n}\nbody.fixed-navbar .custom-navbar.transparent.fill .launch-bar {\n animation-name: launch-bar-colors-fill;\n}\nbody.fixed-navbar .custom-navbar.transparent.fill.shadow {\n animation-name: transparent-to-theme-shadow;\n}\nbody.fixed-navbar .custom-navbar.transparent.fill.blur {\n animation-name: transparent-to-theme-blur;\n}\nbody.fixed-navbar .custom-navbar.transparent.fill.blur.shadow {\n animation-name: transparent-to-theme-blur-shadow;\n}\nbody.fixed-navbar.dark .custom-navbar.transparent:not(.fill) {\n animation-name: transparent-to-dark;\n}\nbody.fixed-navbar.dark .custom-navbar.transparent:not(.fill).shadow {\n animation-name: transparent-to-dark-shadow;\n}\nbody.fixed-navbar.dark .custom-navbar.transparent:not(.fill).blur {\n animation-name: transparent-to-dark-blur;\n}\nbody.fixed-navbar.dark .custom-navbar.transparent:not(.fill).blur.shadow {\n animation-name: transparent-to-dark-blur-shadow;\n}\n}\n.van-message-box {\n z-index: 10002 !important;\n}\nhtml {\n --navbar-height: 50px;\n --navbar-foreground: #555;\n --navbar-background: white;\n --navbar-bounds-padding: 10%;\n --navbar-icon-size: 24px;\n}\nbody.custom-navbar-loading::after {\n content: "";\n height: var(--navbar-height);\n width: 100%;\n position: absolute;\n top: 0;\n left: 0;\n background-color: white;\n z-index: 10001;\n}\nbody.dark.custom-navbar-loading::after {\n background-color: #333;\n}\nbody.fixed-navbar .left-panel .adaptive-scroll .scroll-content {\n top: var(--navbar-height) !important;\n}\nbody.fixed-navbar.enable-feeds-filter .left-panel .adaptive-scroll .scroll-content,\nbody.fixed-navbar .right-panel .adaptive-scroll .scroll-content {\n top: calc(var(--navbar-height) + 8px) !important;\n}\nbody.fixed-navbar .bili-feed4 .header-channel,\nbody.fixed-navbar .search-fixed-header {\n display: none !important;\n}\n.custom-navbar *,\n.custom-navbar {\n -webkit-tap-highlight-color: transparent;\n outline: none !important;\n}\n.custom-navbar {\n position: absolute;\n top: 0;\n left: 0;\n height: var(--navbar-height);\n width: 100%;\n background-color: var(--navbar-background);\n color: var(--navbar-foreground);\n z-index: 10001;\n display: flex;\n justify-content: center;\n line-height: normal;\n}\nbody.fixed-navbar .custom-navbar {\n position: fixed;\n}\nbody.player-mode-blackmask .custom-navbar {\n visibility: hidden;\n}\nbody.player-mode-full .custom-navbar, body.player-fullscreen-fix .custom-navbar, body.player-mode-web .custom-navbar, body.player-full-win .custom-navbar {\n z-index: 1;\n}\n.custom-navbar svg.inherit-color path {\n fill: var(--navbar-foreground);\n}\n.custom-navbar svg.inherit-color.stroke,\n.custom-navbar svg.inherit-color.stroke path {\n fill: transparent;\n stroke: var(--navbar-foreground);\n}\n.custom-navbar.fill:not(.transparent) svg.inherit-color path {\n fill: var(--foreground-color-d);\n}\n.custom-navbar.fill:not(.transparent) svg.inherit-color.stroke,\n.custom-navbar.fill:not(.transparent) svg.inherit-color.stroke path {\n fill: transparent;\n stroke: var(--navbar-foreground-d);\n}\n.custom-navbar.shadow:not(.transparent) {\n box-shadow: #0002 0 1px 10px 1px;\n}\nbody.dark .custom-navbar.shadow:not(.transparent) {\n box-shadow: #0004 0px 2px 10px 1px;\n}\n.custom-navbar.blur:not(.transparent) {\n -webkit-backdrop-filter: blur(24px);\n backdrop-filter: blur(24px);\n --navbar-background: #fffc;\n}\nbody.dark .custom-navbar:not(.fill):not(.transparent) {\n --navbar-background: #222;\n --navbar-foreground: #eee;\n}\nbody.dark .custom-navbar:not(.fill):not(.transparent).blur {\n --navbar-background: #2228;\n}\n.custom-navbar.transparent {\n --navbar-background: transparent;\n --navbar-foreground: #eee;\n}\n.custom-navbar.transparent::before {\n content: "";\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: calc(2 * var(--navbar-height));\n background-image: linear-gradient(to bottom, #000a 0, #0004 65%, transparent 100%);\n pointer-events: none;\n}\n.custom-navbar.fill:not(.transparent) {\n --navbar-background: var(--theme-color);\n --navbar-foreground: var(--foreground-color-d);\n height: var(--navbar-height);\n width: 100%;\n}\n.custom-navbar.fill:not(.transparent).blur {\n --navbar-background: var(--theme-color-60);\n}\n.custom-navbar.fill.shadow:not(.transparent) {\n box-shadow: var(--theme-color-30) 0px 2px 10px 1px;\n}\n.custom-navbar .custom-navbar-items {\n display: flex;\n align-items: center;\n justify-content: space-between;\n height: 100%;\n flex: 1 0 auto;\n color: inherit;\n}\n.custom-navbar .padding {\n max-width: var(--navbar-bounds-padding);\n flex: 1 1 0;\n transition: none;\n position: relative;\n}\n.custom-navbar .padding.peek::after,\n.custom-navbar .custom-navbar-items > *.peek::after {\n content: "";\n position: absolute;\n top: 0;\n width: 100%;\n height: 100%;\n box-sizing: border-box;\n border: 2px dashed;\n}\n.custom-navbar .padding.left-pad::after,\n.custom-navbar .custom-navbar-items > *.left-pad::after {\n left: 0;\n}\n.custom-navbar .padding.right-pad::after,\n.custom-navbar .custom-navbar-items > *.right-pad::after {\n right: 0;\n}\n.custom-navbar ~ .bili-gallery {\n z-index: 10002;\n}',""]),t.exports=a},7519:(t,n,e)=>{var a=e(2955)((function(t){return t[1]}));a.push([t.id,'@keyframes navbar-popup-in {\n1% {\n pointer-events: initial;\n}\nto {\n pointer-events: initial;\n}\n}\n.custom-navbar-item {\n color: inherit;\n position: relative;\n height: 100%;\n display: flex;\n align-items: center;\n transition: 0.2s background-color ease-out;\n}\n.custom-navbar-item .active-bar {\n position: absolute;\n left: 0;\n bottom: 0;\n background-color: var(--theme-color);\n width: 100%;\n height: 3px;\n border-radius: 1.5px;\n display: none;\n}\n.custom-navbar.transparent .custom-navbar-item .active-bar, .custom-navbar.fill .custom-navbar-item .active-bar {\n background-color: rgba(0, 0, 0, 0.3);\n}\n.custom-navbar-item.active .active-bar {\n display: flex;\n}\n.custom-navbar-item.view-border::before {\n content: "";\n width: 94%;\n height: 94%;\n border: 2px dashed var(--navbar-foreground);\n position: absolute;\n top: 3%;\n left: 3%;\n box-sizing: border-box;\n}\n.custom-navbar-item:not(.disabled) {\n cursor: pointer;\n}\n.custom-navbar-item:not(.disabled):hover {\n background-color: #8882;\n}\n.custom-navbar-item.disabled a {\n cursor: default;\n}\n.custom-navbar-item .main-content {\n transition: none;\n font-size: 10pt;\n height: 100%;\n display: flex;\n align-items: center;\n padding: 0 10px;\n color: var(--navbar-foreground);\n -webkit-user-select: none;\n user-select: none;\n}\n.custom-navbar-item .main-content:hover {\n color: var(--navbar-foreground) !important;\n}\n.custom-navbar-item.active .main-content {\n font-weight: 600;\n font-size: 11pt;\n}\n.custom-navbar-item .popup {\n color: black;\n background: white;\n box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.05);\n border: 1px solid #8882;\n border-radius: 8px;\n transition: opacity 0.2s ease-out 0.2s;\n position: absolute;\n top: 100%;\n left: 50%;\n padding: 8px;\n pointer-events: none;\n opacity: 0;\n transform: translateX(-50%);\n cursor: default;\n}\nbody.dark .custom-navbar-item .popup {\n color: #eee;\n background: #222;\n}\n.custom-navbar-item .popup.iframe-container {\n border: none;\n box-shadow: none;\n}\n.custom-navbar-item .popup.iframe-container:not(.transparent) iframe {\n box-shadow: rgba(0, 0, 0, 0.2) 0 4px 8px 0px;\n}\n.custom-navbar-item .popup.no-padding {\n padding: 0;\n}\n.custom-navbar-item .popup.transparent {\n background-color: transparent !important;\n box-shadow: none;\n}\n.custom-navbar-item .popup > *, .custom-navbar-item .popup > * *, .custom-navbar-item .popup > * *::before, .custom-navbar-item .popup > * *::after {\n transition: 0.2s all ease-out;\n}\n.custom-navbar-item:not(.disabled) .popup-container {\n position: absolute;\n top: calc(100% - 8px);\n left: 50%;\n pointer-events: none;\n transition: all 0.2s ease-out 0.2s;\n}\n.custom-navbar-item:not(.disabled):hover .popup-container, .custom-navbar-item:not(.disabled).input-within .popup-container {\n top: 100%;\n}\n.custom-navbar-item:not(.disabled):hover .popup-container > .popup, .custom-navbar-item:not(.disabled).input-within .popup-container > .popup {\n animation: navbar-popup-in 0.2s ease-out 0.15s both;\n opacity: 1;\n}\n.custom-navbar-item a,\n.custom-navbar-item a:hover {\n color: inherit !important;\n text-decoration: none;\n}\n.custom-navbar-item .notify-count {\n position: absolute;\n left: 50%;\n top: 0;\n background-color: var(--theme-color);\n padding: 0 8px;\n display: flex;\n justify-content: center;\n font-size: 11px;\n transform: translateX(-50%);\n opacity: 0;\n line-height: 14px;\n white-space: nowrap;\n color: var(--foreground-color);\n border-radius: 0 0 8px 8px;\n}\nhtml:not([data-navbar-notify-style=hidden]) .custom-navbar-item .notify-count:not(:empty):not(.hidden) {\n opacity: 1;\n}\nhtml[data-navbar-notify-style=dot] .custom-navbar-item .notify-count, .custom-navbar-item .notify-count.dot {\n color: transparent;\n border-radius: 50%;\n width: 8px;\n height: 8px;\n padding: 0;\n top: 2px;\n}\n.custom-navbar.fill .custom-navbar-item .notify-count {\n background-color: rgba(0, 0, 0, 0.3);\n}',""]),t.exports=a},5821:(t,n,e)=>{var a=e(2955)((function(t){return t[1]}));a.push([t.id,'.custom-navbar .favorites-list {\n width: 380px;\n height: 600px;\n min-height: 200px;\n max-height: calc(100vh - var(--navbar-height) - 12px);\n font-size: 12px;\n display: flex;\n align-items: stretch;\n flex-direction: column;\n justify-content: center;\n}\n.custom-navbar .favorites-list .be-empty,\n.custom-navbar .favorites-list .be-loading {\n align-self: center;\n flex: 1;\n}\n.custom-navbar .favorites-list .be-scroll-trigger {\n text-align: center;\n}\n.custom-navbar .favorites-list .header {\n display: flex;\n align-items: stretch;\n justify-content: space-between;\n margin: 16px 12px;\n}\n.custom-navbar .favorites-list .header .search {\n flex: 1;\n margin-left: 8px;\n}\n.custom-navbar .favorites-list .header .search .be-textbox {\n height: 100%;\n}\n.custom-navbar .favorites-list .header .list-select {\n flex-shrink: 0;\n height: 26px;\n}\n.custom-navbar .favorites-list .header .dropdown-popup {\n max-height: 300px;\n overflow: auto;\n scrollbar-width: none !important;\n overscroll-behavior: contain;\n}\n.custom-navbar .favorites-list .header .dropdown-popup::-webkit-scrollbar {\n height: 0 !important;\n width: 0 !important;\n}\n.custom-navbar .favorites-list .header .operation {\n margin-left: 8px;\n}\n.custom-navbar .favorites-list .header .more-info {\n display: flex;\n align-items: center;\n box-sizing: border-box;\n height: 26px;\n border-radius: 13px;\n padding: 4px;\n}\n.custom-navbar .favorites-list .header .play-all {\n display: flex;\n align-items: center;\n box-sizing: border-box;\n height: 26px;\n border-radius: 13px;\n padding: 4px;\n}\n.custom-navbar .favorites-list .content {\n display: flex;\n align-items: stretch;\n flex-direction: column;\n overflow: auto;\n scrollbar-width: none !important;\n overscroll-behavior: contain;\n justify-content: space-between;\n flex-grow: 1;\n}\n.custom-navbar .favorites-list .content::-webkit-scrollbar {\n height: 0 !important;\n width: 0 !important;\n}\n.custom-navbar .favorites-list .content .floating {\n box-sizing: border-box;\n height: 20px;\n border-radius: 10px;\n display: flex;\n align-items: center;\n background-color: #000c;\n color: white;\n justify-content: center;\n cursor: pointer;\n}\n.custom-navbar .favorites-list .content .cards {\n flex: 1;\n scroll-behavior: smooth;\n position: relative;\n overflow: auto;\n scrollbar-width: none !important;\n overscroll-behavior: contain;\n padding: 0 12px;\n padding-bottom: 12px;\n}\n.custom-navbar .favorites-list .content .cards::-webkit-scrollbar {\n height: 0 !important;\n width: 0 !important;\n}\n.custom-navbar .favorites-list .content .cards-enter, .custom-navbar .favorites-list .content .cards-leave-to {\n opacity: 0;\n transform: translateY(-16px) scale(0.9);\n}\n.custom-navbar .favorites-list .content .cards-leave-active {\n transition: 0.24s cubic-bezier(0.22, 0.61, 0.36, 1);\n position: absolute;\n}\n.custom-navbar .favorites-list .content .cards-leave-active.be-scroll-trigger {\n width: 100%;\n padding-bottom: 12px;\n}\n.custom-navbar .favorites-list .content .cards .favorite-card {\n cursor: pointer;\n flex-shrink: 0;\n border-radius: 8px;\n box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.05);\n border: 1px solid #8882;\n color: black;\n background-color: #fff;\n display: grid;\n grid-template: "cover title" 2fr "cover info" 1fr/130px 1fr;\n height: 85px;\n}\nbody.dark .custom-navbar .favorites-list .content .cards .favorite-card {\n background-color: #282828;\n color: #eee;\n}\n.custom-navbar .favorites-list .content .cards .favorite-card:not(:last-child) {\n margin-bottom: 12px;\n}\n.custom-navbar .favorites-list .content .cards .favorite-card:hover .cover {\n transform: scale(1.05);\n}\n.custom-navbar .favorites-list .content .cards .favorite-card .favorites-cover-container {\n grid-area: cover;\n overflow: hidden;\n border-radius: 8px 0 0 8px;\n position: relative;\n}\n.custom-navbar .favorites-list .content .cards .favorite-card .favorites-cover-container .favorite-time {\n top: 6px;\n left: 6px;\n padding: 0 6px;\n}\n.custom-navbar .favorites-list .content .cards .favorite-card .favorites-cover-container .duration {\n left: 6px;\n bottom: 6px;\n padding: 0 6px;\n}\n.custom-navbar .favorites-list .content .cards .favorite-card .favorites-cover-container .floating {\n position: absolute;\n opacity: 0;\n font-size: 11px;\n}\n.custom-navbar .favorites-list .content .cards .favorite-card .favorites-cover-container .cover {\n object-fit: cover;\n}\n.custom-navbar .favorites-list .content .cards .favorite-card:hover .floating {\n opacity: 1;\n}\n.custom-navbar .favorites-list .content .cards .favorite-card .title {\n grid-area: title;\n font-size: 13px;\n font-weight: 600;\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 -webkit-box-align: start;\n margin: 0;\n margin-top: 8px;\n padding: 0 10px;\n}\n.custom-navbar .favorites-list .content .cards .favorite-card .title:hover {\n color: var(--theme-color) !important;\n}\n.custom-navbar .favorites-list .content .cards .favorite-card .up {\n flex: 0 1 auto;\n padding: 2px 10px 2px 2px;\n margin: 0 8px 6px;\n justify-self: start;\n align-self: center;\n max-width: calc(100% - 16px);\n display: flex;\n align-items: center;\n box-sizing: border-box;\n height: 24px;\n border-radius: 12px;\n border: 1px solid #8882;\n}\n.custom-navbar .favorites-list .content .cards .favorite-card .up:hover {\n background-color: #8882;\n}\n.custom-navbar .favorites-list .content .cards .favorite-card .up .face {\n border-radius: 50%;\n margin-right: 6px;\n height: 20px;\n width: 20px;\n object-fit: cover;\n}\nbody.dark .custom-navbar .favorites-list .content .cards .favorite-card .up .face.placeholder {\n filter: invert(0.9);\n}\n.custom-navbar .favorites-list .content .cards .favorite-card .up .name {\n overflow: hidden;\n white-space: nowrap;\n text-overflow: ellipsis;\n font-size: 11px;\n}\n.custom-navbar .favorites-list .content .cards .favorite-card .up:hover .name {\n color: var(--theme-color);\n}\n.custom-navbar .favorites-list .content .cards .favorite-card .description {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n margin: 4px 10px;\n}',""]),t.exports=a},7261:(t,n,e)=>{var a=e(2955)((function(t){return t[1]}));a.push([t.id,".navbar-feeds {\n width: 380px;\n height: 600px;\n min-height: 200px;\n max-height: calc(100vh - var(--navbar-height) - 12px);\n line-height: normal;\n white-space: nowrap;\n box-sizing: border-box;\n padding: 4px 4px 0 4px;\n font-size: 12px;\n}\n.navbar-feeds .be-tab-control {\n height: 100%;\n padding-top: 8px;\n box-sizing: border-box;\n}\n.navbar-feeds .be-tab-control .default-header .default-tabs .default-tab:not(:last-child) {\n margin-right: 16px;\n}",""]),t.exports=a},9226:(t,n,e)=>{var a=e(2955)((function(t){return t[1]}));a.push([t.id,".bangumi-feeds {\n display: flex;\n flex-direction: column;\n align-items: center;\n}\n.bangumi-feeds .bangumi-feeds-content {\n align-self: stretch;\n}\n.bangumi-feeds .be-scroll-trigger {\n padding-bottom: 12px;\n}",""]),t.exports=a},7616:(t,n,e)=>{var a=e(2955)((function(t){return t[1]}));a.push([t.id,".column-feeds {\n display: flex;\n flex-direction: column;\n align-items: center;\n}",""]),t.exports=a},4373:(t,n,e)=>{var a=e(2955)((function(t){return t[1]}));a.push([t.id,".live-feeds {\n width: 100%;\n display: flex;\n align-items: center;\n flex-direction: column;\n}\n.live-feeds .live-feeds-content {\n align-self: stretch;\n}\n.live-feeds .live-feeds-content-enter, .live-feeds .live-feeds-content-leave-to {\n opacity: 0;\n transform: translateY(-16px) scale(0.9);\n}\n.live-feeds .live-feeds-content-leave-active {\n transition: 0.24s cubic-bezier(0.22, 0.61, 0.36, 1);\n position: absolute;\n}\n.live-feeds .live-feeds-content .live-card {\n margin: 0 8px 12px 8px;\n background-color: #fff;\n box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.05);\n border: 1px solid #8882;\n display: flex;\n align-items: stretch;\n height: 54px;\n border-radius: 26px;\n box-sizing: border-box;\n padding: 2px;\n width: auto;\n flex-shrink: 0;\n}\nbody.dark .live-feeds .live-feeds-content .live-card {\n background-color: #282828;\n color: #eee;\n}\n.live-feeds .live-feeds-content .live-card .face-container {\n flex-shrink: 0;\n border-radius: 50%;\n height: 48px;\n overflow: hidden;\n}\n.live-feeds .live-feeds-content .live-card .face-container .face {\n height: 100%;\n width: 100%;\n}\n.live-feeds .live-feeds-content .live-card:hover .face {\n transform: scale(1.05);\n}\n.live-feeds .live-feeds-content .live-card .live-info {\n display: flex;\n align-items: stretch;\n flex-direction: column;\n flex: 1 0 0;\n width: 0;\n justify-content: center;\n}\n.live-feeds .live-feeds-content .live-card .live-title {\n font-size: 14px;\n font-weight: 600;\n padding: 0 12px;\n padding-bottom: 6px;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n color: inherit;\n line-height: normal;\n}\n.live-feeds .live-feeds-content .live-card:hover .live-title {\n color: var(--theme-color);\n}\n.live-feeds .live-feeds-content .live-card .live-name {\n opacity: 0.75;\n padding: 0 12px;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n line-height: normal;\n}",""]),t.exports=a},9328:(t,n,e)=>{var a=e(2955)((function(t){return t[1]}));a.push([t.id,".video-feeds[data-v-d3e1a0c0] {\n display: flex;\n align-items: center;\n justify-content: flex-start;\n flex-direction: column;\n flex: 1;\n padding: 0 8px;\n}\n.video-feeds .be-scroll-trigger[data-v-d3e1a0c0] {\n padding-bottom: 12px;\n}\n.video-feeds-content[data-v-d3e1a0c0] {\n flex: 1;\n align-self: stretch;\n display: flex;\n align-items: flex-start;\n justify-content: space-between;\n width: 356px;\n}\n.video-feeds-content .cards-enter[data-v-d3e1a0c0], .video-feeds-content .cards-leave-to[data-v-d3e1a0c0] {\n opacity: 0;\n transform: translateY(-16px) scale(0.9);\n}\n.video-feeds-content .cards-leave-active[data-v-d3e1a0c0] {\n transition: 0.24s cubic-bezier(0.22, 0.61, 0.36, 1);\n position: absolute;\n}\n.video-feeds-content .left-column[data-v-d3e1a0c0],\n.video-feeds-content .right-column[data-v-d3e1a0c0] {\n display: flex;\n flex-direction: column;\n padding-bottom: 12px;\n}\n.video-feeds-content .left-column .video-card[data-v-d3e1a0c0],\n.video-feeds-content .right-column .video-card[data-v-d3e1a0c0] {\n --card-width: 174px;\n}\n.video-feeds-content .left-column .video-card[data-v-d3e1a0c0]:not(:last-child),\n.video-feeds-content .right-column .video-card[data-v-d3e1a0c0]:not(:last-child) {\n margin-bottom: 8px;\n}",""]),t.exports=a},8508:(t,n,e)=>{var a=e(2955)((function(t){return t[1]}));a.push([t.id,".custom-navbar-games-popup {\n width: 420px;\n font-size: 12px;\n display: flex;\n align-items: stretch;\n flex-direction: column;\n}\n.custom-navbar-games-popup .loading-container {\n flex-grow: 1;\n display: flex;\n align-items: center;\n flex-direction: column;\n justify-content: center;\n height: 240px;\n font-size: 14px;\n}\n.custom-navbar-games-popup .custom-navbar-games-panel {\n display: flex;\n align-items: stretch;\n gap: 12px;\n padding: 12px;\n}\n.custom-navbar-games-popup .custom-navbar-games-left-panel {\n flex-basis: 60%;\n min-width: 0;\n display: flex;\n align-items: stretch;\n flex-direction: column;\n gap: 12px;\n}\n.custom-navbar-games-popup .custom-navbar-games-left-panel .banner-game-card {\n position: relative;\n overflow: hidden;\n background-color: #8882;\n display: flex;\n align-items: stretch;\n flex-direction: column;\n border-radius: 8px;\n}\n.custom-navbar-games-popup .custom-navbar-games-left-panel .banner-game-card img {\n transition: transform 0.2s ease-out;\n aspect-ratio: 15/8;\n}\n.custom-navbar-games-popup .custom-navbar-games-left-panel .banner-game-card:hover img {\n transform: scale(1.05);\n}\n.custom-navbar-games-popup .custom-navbar-games-left-panel .banner-game-card-title {\n position: absolute;\n bottom: 0;\n left: 0;\n width: 100%;\n font-size: 12px;\n color: #fff;\n padding: 8px;\n background-image: linear-gradient(to top, #0008, transparent);\n}\n.custom-navbar-games-popup .custom-navbar-games-left-panel .panel-game-cards {\n display: grid;\n grid-template-columns: repeat(3, minmax(0, 1fr));\n gap: 12px;\n}\n.custom-navbar-games-popup .custom-navbar-games-left-panel .panel-game-cards .panel-game-card {\n display: flex;\n align-items: stretch;\n flex-direction: column;\n gap: 6px;\n min-width: 0;\n transition: color 0.2s ease-out;\n}\n.custom-navbar-games-popup .custom-navbar-games-left-panel .panel-game-cards .panel-game-card img {\n background-color: #8882;\n border-radius: 16px;\n aspect-ratio: 1/1;\n}\n.custom-navbar-games-popup .custom-navbar-games-left-panel .panel-game-cards .panel-game-card:hover {\n color: var(--theme-color) !important;\n}\n.custom-navbar-games-popup .custom-navbar-games-left-panel .panel-game-cards .panel-game-card-title {\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 text-align: center;\n}\n.custom-navbar-games-popup .custom-navbar-games-right-panel {\n min-width: 0;\n flex: 1;\n display: flex;\n align-items: stretch;\n flex-direction: column;\n gap: 12px;\n padding: 6px 4px;\n}\n.custom-navbar-games-popup .custom-navbar-games-right-panel .list-game-cards-title {\n font-size: large;\n font-weight: 600;\n}\n.custom-navbar-games-popup .custom-navbar-games-right-panel .list-game-cards {\n display: flex;\n align-items: stretch;\n flex-direction: column;\n}\n.custom-navbar-games-popup .custom-navbar-games-right-panel .list-game-cards .list-game-card {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n padding: 4px 0;\n opacity: 0.6;\n transition: all 0.2s ease-out;\n}\n.custom-navbar-games-popup .custom-navbar-games-right-panel .list-game-cards .list-game-card:hover {\n color: var(--theme-color) !important;\n opacity: 1;\n}\n.custom-navbar-games-popup .custom-navbar-games-panel-separator {\n width: 1px;\n background-color: #8882;\n}",""]),t.exports=a},4764:(t,n,e)=>{var a=e(2955)((function(t){return t[1]}));a.push([t.id,'.custom-navbar-history-list {\n width: 400px;\n height: 600px;\n min-height: 200px;\n max-height: calc(100vh - var(--navbar-height) - 12px);\n font-size: 12px;\n padding: 0;\n margin: 0;\n display: flex;\n align-items: stretch;\n flex-direction: column;\n justify-content: center;\n}\n.custom-navbar-history-list .header {\n display: flex;\n align-items: stretch;\n flex-direction: column;\n gap: 6px;\n margin: 16px 12px 4px 12px;\n}\n.custom-navbar-history-list .header .header-row {\n display: flex;\n align-items: stretch;\n gap: 8px;\n}\n.custom-navbar-history-list .header .header-row .row-title {\n display: flex;\n align-items: center;\n}\n.custom-navbar-history-list .header .type-filters {\n display: flex;\n align-items: center;\n gap: 6px;\n}\n.custom-navbar-history-list .header .type-filters .type-filter .be-button {\n padding: 4px 8px 4px 6px;\n}\n.custom-navbar-history-list .header .search {\n flex: 1;\n}\n.custom-navbar-history-list .header .search .be-textbox {\n height: 100%;\n}\n.custom-navbar-history-list .header .operations {\n display: flex;\n align-items: center;\n gap: 8px;\n}\n.custom-navbar-history-list .header .operations .operation .be-button {\n width: 26px;\n height: 26px;\n box-sizing: border-box;\n}\n.custom-navbar-history-list .content {\n display: flex;\n align-items: stretch;\n flex-direction: column;\n overflow: auto;\n scrollbar-width: none !important;\n overscroll-behavior: contain;\n justify-content: space-between;\n flex-grow: 1;\n}\n.custom-navbar-history-list .content::-webkit-scrollbar {\n height: 0 !important;\n width: 0 !important;\n}\n.custom-navbar-history-list .content .be-scroll-trigger,\n.custom-navbar-history-list .content .be-empty,\n.custom-navbar-history-list .content .be-loading {\n align-self: center;\n text-align: center;\n margin: 12px 0;\n}\n.custom-navbar-history-list .content .cards {\n flex: 1;\n scroll-behavior: smooth;\n position: relative;\n overflow: auto;\n scrollbar-width: none !important;\n overscroll-behavior: contain;\n padding-bottom: 12px;\n}\n.custom-navbar-history-list .content .cards-enter, .custom-navbar-history-list .content .cards-leave-to {\n opacity: 0;\n transform: translateY(-16px) scale(0.9);\n}\n.custom-navbar-history-list .content .cards-leave-active {\n transition: 0.24s cubic-bezier(0.22, 0.61, 0.36, 1);\n position: absolute;\n}\n.custom-navbar-history-list .content .cards::-webkit-scrollbar {\n height: 0 !important;\n width: 0 !important;\n}\n.custom-navbar-history-list .content .cards .empty-tip {\n text-align: center;\n}\n.custom-navbar-history-list .content .cards .time-group-enter, .custom-navbar-history-list .content .cards .time-group-leave-to {\n opacity: 0;\n transform: translateY(-16px) scale(0.9);\n}\n.custom-navbar-history-list .content .cards .time-group-leave-active {\n transition: 0.24s cubic-bezier(0.22, 0.61, 0.36, 1);\n position: absolute;\n}\n.custom-navbar-history-list .content .cards .time-group-name {\n padding: 8px 12px;\n font-size: 12px;\n position: sticky;\n top: 0;\n z-index: 1;\n background-color: #fff;\n}\nbody.dark .custom-navbar-history-list .content .cards .time-group-name {\n background-color: #222;\n}\n.custom-navbar-history-list .content .cards .time-group-items {\n padding: 0 12px;\n}\n.custom-navbar-history-list .content .cards .time-group-items .floating {\n box-sizing: border-box;\n height: 16px;\n border-radius: 8px;\n display: flex;\n align-items: center;\n background-color: #000c;\n color: white;\n justify-content: center;\n position: absolute;\n font-size: 11px;\n padding: 2px 4px;\n}\n.custom-navbar-history-list .content .cards .time-group-items .floating.pages {\n bottom: 4px;\n right: 4px;\n}\n.custom-navbar-history-list .content .cards .time-group-items .time-group-item {\n display: grid;\n grid-template: "cover title title" 5fr "cover up time" 6fr/80px 1fr auto;\n border-radius: 8px;\n color: black;\n background-color: #fff;\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 .custom-navbar-history-list .content .cards .time-group-items .time-group-item {\n background-color: #282828;\n color: #eee;\n}\n.custom-navbar-history-list .content .cards .time-group-items .time-group-item:not(:last-child) {\n margin-bottom: 8px;\n}\n.custom-navbar-history-list .content .cards .time-group-items .time-group-item:hover .cover {\n transform: scale(1.05);\n}\n.custom-navbar-history-list .content .cards .time-group-items .time-group-item .history-cover-container {\n grid-area: cover;\n position: relative;\n height: 55px;\n overflow: hidden;\n border-radius: 7px 0 0 7px;\n}\n.custom-navbar-history-list .content .cards .time-group-items .time-group-item .history-cover-container .cover {\n object-fit: cover;\n width: 80px;\n height: 55px;\n}\nbody.dark .custom-navbar-history-list .content .cards .time-group-items .time-group-item .history-cover-container .cover.placeholder {\n filter: invert(0.9);\n}\n.custom-navbar-history-list .content .cards .time-group-items .time-group-item .history-cover-container .progress {\n position: absolute;\n bottom: 0;\n left: 0;\n height: 2px;\n border-radius: 1px;\n background-color: var(--theme-color);\n}\n.custom-navbar-history-list .content .cards .time-group-items .time-group-item .title {\n font-weight: 600;\n grid-area: title;\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n align-self: end;\n margin: 0;\n line-height: normal;\n display: block;\n padding-left: 8px;\n padding-right: 6px;\n font-size: 13px;\n}\n.custom-navbar-history-list .content .cards .time-group-items .time-group-item .title:hover {\n color: var(--theme-color) !important;\n}\n.custom-navbar-history-list .content .cards .time-group-items .time-group-item .up,\n.custom-navbar-history-list .content .cards .time-group-items .time-group-item .history-info {\n font-size: 11px;\n opacity: 0.75;\n align-self: center;\n}\n.custom-navbar-history-list .content .cards .time-group-items .time-group-item .up {\n grid-area: up;\n display: flex;\n align-items: center;\n padding-left: 8px;\n opacity: 1;\n}\n.custom-navbar-history-list .content .cards .time-group-items .time-group-item .up .be-icon {\n margin-right: 4px;\n font-size: 14px;\n}\n.custom-navbar-history-list .content .cards .time-group-items .time-group-item .up-face {\n border-radius: 50%;\n width: 18px;\n height: 18px;\n margin-right: 4px;\n}\n.custom-navbar-history-list .content .cards .time-group-items .time-group-item .up-name {\n white-space: nowrap;\n max-width: 160px;\n overflow: hidden;\n text-overflow: ellipsis;\n opacity: 0.75;\n}\n.custom-navbar-history-list .content .cards .time-group-items .time-group-item .up-name:hover {\n opacity: 1;\n}\n.custom-navbar-history-list .content .cards .time-group-items .time-group-item .history-info {\n display: flex;\n align-items: center;\n gap: 4px;\n font-size: 11px;\n grid-area: time;\n padding-right: 6px;\n}\n.custom-navbar-history-list .content .cards .time-group-items .time-group-item .history-info-separator {\n margin: 0 4px;\n}\n.custom-navbar-history-list .content .cards .time-group-items .time-group-item .progress-number,\n.custom-navbar-history-list .content .cards .time-group-items .time-group-item .live-status {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n.custom-navbar-history-list .content .cards .time-group-items .time-group-item .live-status.on {\n color: var(--theme-color);\n}',""]),t.exports=a},3329:(t,n,e)=>{var a=e(2955)((function(t){return t[1]}));a.push([t.id,'.custom-navbar .home-popup {\n max-height: 75vh;\n display: flex;\n flex-wrap: wrap;\n flex-direction: row;\n writing-mode: vertical-lr;\n}\n.custom-navbar .home-popup > * {\n writing-mode: horizontal-tb;\n}\n.custom-navbar .home-popup .category-item {\n border-radius: 8px;\n font-size: 12pt;\n cursor: pointer;\n position: relative;\n box-sizing: border-box;\n transition: 0.2s background-color ease-out;\n}\n.custom-navbar .home-popup .category-item.loading {\n font-size: 10pt;\n cursor: initial;\n display: flex;\n align-items: center;\n justify-content: center;\n}\n.custom-navbar .home-popup .category-item:not(.loading):hover {\n background-color: #8882;\n}\n.custom-navbar .home-popup .category-item a {\n display: flex;\n justify-content: space-between;\n align-items: center;\n padding: 8px;\n}\n.custom-navbar .home-popup .category-item a.sub-region {\n position: relative;\n padding: 8px;\n display: flex;\n justify-content: flex-start;\n border-bottom: 2px solid transparent;\n font-size: 15px;\n line-height: normal;\n}\n.custom-navbar .home-popup .category-item a.sub-region::before {\n content: "";\n position: absolute;\n top: calc(100% - 4px);\n left: 8px;\n width: calc(100% - 16px);\n height: 2px;\n border-radius: 2px;\n background-color: var(--theme-color);\n transition: 0.16s 0.1s ease-out;\n transform: scaleX(0);\n}\n.custom-navbar .home-popup .category-item a.sub-region:hover::before {\n transform: scaleX(1);\n}\nhtml[data-navbar-link-popup-content-align-style=left] .custom-navbar .home-popup .category-item a.sub-region, .custom-navbar .home-popup .category-item a.sub-region.left {\n justify-content: flex-start;\n}\nhtml[data-navbar-link-popup-content-align-style=center] .custom-navbar .home-popup .category-item a.sub-region, .custom-navbar .home-popup .category-item a.sub-region.center {\n justify-content: center;\n}\nhtml[data-navbar-link-popup-content-align-style=right] .custom-navbar .home-popup .category-item a.sub-region, .custom-navbar .home-popup .category-item a.sub-region.right {\n justify-content: flex-end;\n}\n.custom-navbar .home-popup .category-item svg {\n width: 25px;\n height: 25px;\n fill: currentColor;\n margin-right: 10px;\n}\n.custom-navbar .home-popup .category-item .name {\n flex: 1 0 auto;\n}\n.custom-navbar .home-popup .category-item.main {\n min-width: 150px;\n}\n.custom-navbar .home-popup .category-item .sub-regions-popup {\n z-index: 10002;\n width: max-content;\n transform: scaleX(0);\n transform-origin: left;\n padding: 6px;\n left: 100%;\n top: 0;\n transition-delay: 0.3s;\n pointer-events: initial;\n}\n.custom-navbar .home-popup .category-item:hover .sub-regions-popup {\n transform: scaleX(1);\n opacity: 1;\n}\n.custom-navbar .home-popup .category-item .count {\n opacity: 0.5;\n font-size: 14px;\n}',""]),t.exports=a},5317:(t,n,e)=>{var a=e(2955)((function(t){return t[1]}));a.push([t.id,".custom-navbar-logo-container {\n display: flex;\n align-items: stretch;\n flex-direction: column;\n justify-content: center;\n height: 100%;\n padding: 8px 0;\n box-sizing: border-box;\n max-height: 54px;\n width: calc(var(--navbar-height) * 1.3);\n}\nbody.dark .custom-navbar:not(.fill) .custom-navbar-logo:not(.season) {\n color: #fff;\n}\n.custom-navbar:not(.fill) .custom-navbar-logo:not(.season).theme {\n color: var(--theme-color);\n}\nbody.dark .custom-navbar:not(.fill) .custom-navbar-logo:not(.season).theme {\n color: var(--theme-color);\n}\n.custom-navbar-logo.be-icon {\n --size: calc(var(--navbar-height) / 2) !important;\n width: 100%;\n max-height: 32px;\n}\n.custom-navbar-logo.season {\n height: 0;\n flex: 1 0 0;\n background-size: contain;\n background-position: center;\n background-repeat: no-repeat;\n filter: drop-shadow(0 0 2px #0002);\n}\nbody.season-logo-enabled .bili-header .inner-logo {\n display: none !important;\n}",""]),t.exports=a},196:(t,n,e)=>{var a=e(2955)((function(t){return t[1]}));a.push([t.id,".custom-navbar-manga-popup {\n width: 500px;\n font-size: 12px;\n display: flex;\n align-items: stretch;\n flex-direction: column;\n}\n.custom-navbar-manga-popup .loading-container {\n flex-grow: 1;\n display: flex;\n align-items: center;\n flex-direction: column;\n justify-content: center;\n height: 240px;\n font-size: 14px;\n}\n.custom-navbar-manga-popup .custom-navbar-manga-panel {\n display: flex;\n align-items: stretch;\n gap: 12px;\n padding: 12px;\n}\n.custom-navbar-manga-popup .custom-navbar-manga-panel .custom-navbar-manga-left-panel {\n min-width: 0;\n flex: 0 0 65%;\n display: grid;\n grid-template-columns: repeat(2, minmax(0, 1fr));\n gap: 12px;\n}\n.custom-navbar-manga-popup .custom-navbar-manga-panel .custom-navbar-manga-left-panel .recommend-manga-card {\n display: flex;\n align-items: stretch;\n flex-direction: column;\n gap: 8px;\n}\n.custom-navbar-manga-popup .custom-navbar-manga-panel .custom-navbar-manga-left-panel .recommend-manga-card .recommend-manga-card-image {\n display: flex;\n align-items: stretch;\n flex-direction: column;\n border-radius: 8px;\n background: #8882;\n aspect-ratio: 16/9;\n width: 100%;\n overflow: hidden;\n}\n.custom-navbar-manga-popup .custom-navbar-manga-panel .custom-navbar-manga-left-panel .recommend-manga-card:hover img {\n transform: scale(1.05);\n}\n.custom-navbar-manga-popup .custom-navbar-manga-panel .custom-navbar-manga-left-panel .recommend-manga-card-title {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n.custom-navbar-manga-popup .custom-navbar-manga-panel .custom-navbar-manga-left-panel .recommend-manga-card:hover {\n color: var(--theme-color) !important;\n}\n.custom-navbar-manga-popup .custom-navbar-manga-panel .custom-navbar-manga-right-panel {\n position: relative;\n min-width: 0;\n flex: 1;\n display: flex;\n align-items: stretch;\n flex-direction: column;\n gap: 12px;\n padding: 6px 4px;\n}\n.custom-navbar-manga-popup .custom-navbar-manga-panel .custom-navbar-manga-right-panel .custom-navbar-manga-hot-title {\n font-size: large;\n font-weight: 600;\n}\n.custom-navbar-manga-popup .custom-navbar-manga-panel .custom-navbar-manga-right-panel .custom-navbar-manga-hot-list {\n display: flex;\n align-items: stretch;\n flex-direction: column;\n counter-reset: manga-item;\n}\n.custom-navbar-manga-popup .custom-navbar-manga-panel .custom-navbar-manga-right-panel .custom-navbar-manga-hot-list .hot-manga-card {\n display: flex;\n align-items: center;\n gap: 6px;\n padding: 4px 0;\n}\n.custom-navbar-manga-popup .custom-navbar-manga-panel .custom-navbar-manga-right-panel .custom-navbar-manga-hot-list .hot-manga-card-title {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n transition: color 0.2s ease-out, opacity 0.2s ease-out;\n opacity: 0.6;\n min-width: 0;\n max-width: 100%;\n flex: 1 0 0;\n}\n.custom-navbar-manga-popup .custom-navbar-manga-panel .custom-navbar-manga-right-panel .custom-navbar-manga-hot-list .hot-manga-card::before {\n counter-increment: manga-item;\n content: counter(manga-item);\n font-weight: 600;\n opacity: 0.6;\n font-style: italic;\n font-size: 14px;\n}\n.custom-navbar-manga-popup .custom-navbar-manga-panel .custom-navbar-manga-right-panel .custom-navbar-manga-hot-list .hot-manga-card:hover .hot-manga-card-title {\n color: var(--theme-color) !important;\n opacity: 1;\n}\n.custom-navbar-manga-popup .custom-navbar-manga-panel .custom-navbar-manga-right-panel .custom-navbar-manga-hot-list .hot-manga-card:nth-child(1)::before {\n opacity: 1;\n color: #e64747;\n}\n.custom-navbar-manga-popup .custom-navbar-manga-panel .custom-navbar-manga-right-panel .custom-navbar-manga-hot-list .hot-manga-card:nth-child(2)::before {\n opacity: 1;\n color: #ff6e42;\n}\n.custom-navbar-manga-popup .custom-navbar-manga-panel .custom-navbar-manga-right-panel .custom-navbar-manga-hot-list .hot-manga-card:nth-child(3)::before {\n opacity: 1;\n color: #ff9900;\n}\n.custom-navbar-manga-popup .custom-navbar-manga-panel .custom-navbar-manga-right-panel .hot-manga-card-preview {\n position: absolute;\n pointer-events: none;\n top: calc(-1 * 12px);\n right: calc(100% + 12px + 1px);\n height: calc(100% - 12px);\n background-image: linear-gradient(to left, #fff 75%, transparent);\n padding: 18px 18px 18px 60px;\n}\nbody.dark .custom-navbar-manga-popup .custom-navbar-manga-panel .custom-navbar-manga-right-panel .hot-manga-card-preview {\n background-image: linear-gradient(to left, #222 75%, transparent);\n}\n.custom-navbar-manga-popup .custom-navbar-manga-panel .custom-navbar-manga-right-panel .hot-manga-card-preview img {\n display: flex;\n background: #8882;\n height: 100%;\n aspect-ratio: 169/225;\n border-radius: 8px;\n}\n.custom-navbar-manga-popup .custom-navbar-manga-panel .custom-navbar-manga-panel-separator {\n width: 1px;\n background-color: #8882;\n}",""]),t.exports=a},2202:(t,n,e)=>{var a=e(2955)((function(t){return t[1]}));a.push([t.id,".custom-navbar-match-popup {\n width: 650px;\n font-size: 12px;\n display: flex;\n align-items: stretch;\n flex-direction: column;\n}\n.custom-navbar-match-popup .loading-container {\n flex-grow: 1;\n display: flex;\n align-items: center;\n flex-direction: column;\n justify-content: center;\n height: 240px;\n font-size: 14px;\n}\n.custom-navbar-match-popup .custom-navbar-match-panel {\n display: flex;\n align-items: stretch;\n gap: 12px;\n padding: 12px;\n}\n.custom-navbar-match-popup .custom-navbar-match-panel .custom-navbar-match-left-panel {\n min-width: 0;\n flex: 0 0 45%;\n display: grid;\n grid-template-columns: repeat(2, minmax(0, 1fr));\n gap: 12px;\n}\n.custom-navbar-match-popup .custom-navbar-match-panel .custom-navbar-match-left-panel .banner-match-card {\n overflow: hidden;\n border-radius: 6px;\n}\n.custom-navbar-match-popup .custom-navbar-match-panel .custom-navbar-match-left-panel .banner-match-card:first-child {\n grid-column: 1/3;\n}\n.custom-navbar-match-popup .custom-navbar-match-panel .custom-navbar-match-left-panel .banner-match-card img {\n width: 100%;\n height: 100%;\n object-fit: cover;\n background: #8882;\n aspect-ratio: 16/9;\n transition: transform 0.2s ease-out;\n}\n.custom-navbar-match-popup .custom-navbar-match-panel .custom-navbar-match-left-panel .banner-match-card:hover img {\n transform: scale(1.05);\n}\n.custom-navbar-match-popup .custom-navbar-match-panel .custom-navbar-match-panel-separator {\n width: 1px;\n background-color: #8882;\n}\n.custom-navbar-match-popup .custom-navbar-match-panel .custom-navbar-match-right-panel {\n display: flex;\n align-items: stretch;\n flex-direction: column;\n gap: 12px;\n justify-content: space-between;\n min-width: 0;\n flex: 1;\n padding: 6px 4px;\n}\n.custom-navbar-match-popup .custom-navbar-match-panel .custom-navbar-match-right-panel .hot-match-list-title,\n.custom-navbar-match-popup .custom-navbar-match-panel .custom-navbar-match-right-panel .preview-match-list-title {\n font-size: large;\n font-weight: 600;\n margin-bottom: 6px;\n}\n.custom-navbar-match-popup .custom-navbar-match-panel .custom-navbar-match-right-panel .hot-match-list,\n.custom-navbar-match-popup .custom-navbar-match-panel .custom-navbar-match-right-panel .preview-match-list {\n display: flex;\n align-items: stretch;\n flex-direction: column;\n counter-reset: match-item;\n}\n.custom-navbar-match-popup .custom-navbar-match-panel .custom-navbar-match-right-panel .hot-match-card {\n display: flex;\n align-items: center;\n gap: 6px;\n padding: 5px 0;\n}\n.custom-navbar-match-popup .custom-navbar-match-panel .custom-navbar-match-right-panel .hot-match-card-status {\n font-size: 11px;\n background-color: #8882;\n padding: 1px 4px;\n border-radius: 4px;\n}\n.custom-navbar-match-popup .custom-navbar-match-panel .custom-navbar-match-right-panel .hot-match-card-status.in-progress {\n background-color: var(--theme-color);\n color: var(--foreground-color);\n}\n.custom-navbar-match-popup .custom-navbar-match-panel .custom-navbar-match-right-panel .hot-match-card-title {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n transition: color 0.2s ease-out;\n min-width: 0;\n max-width: 100%;\n flex: 1 0 0;\n}\n.custom-navbar-match-popup .custom-navbar-match-panel .custom-navbar-match-right-panel .hot-match-card::before {\n counter-increment: match-item;\n content: counter(match-item);\n font-weight: 600;\n font-style: italic;\n font-size: 14px;\n}\n.custom-navbar-match-popup .custom-navbar-match-panel .custom-navbar-match-right-panel .hot-match-card:hover .hot-match-card-title {\n color: var(--theme-color) !important;\n}\n.custom-navbar-match-popup .custom-navbar-match-panel .custom-navbar-match-right-panel .hot-match-card:nth-child(2)::before {\n color: #e64747;\n}\n.custom-navbar-match-popup .custom-navbar-match-panel .custom-navbar-match-right-panel .hot-match-card:nth-child(3)::before {\n color: #ff6e42;\n}\n.custom-navbar-match-popup .custom-navbar-match-panel .custom-navbar-match-right-panel .hot-match-card:nth-child(4)::before {\n color: #ff9900;\n}\n.custom-navbar-match-popup .custom-navbar-match-panel .custom-navbar-match-right-panel .preview-match-card {\n display: flex;\n align-items: center;\n gap: 4px;\n padding: 5px 0;\n}\n.custom-navbar-match-popup .custom-navbar-match-panel .custom-navbar-match-right-panel .preview-match-card .preview-match-date {\n opacity: 0.6;\n}\n.custom-navbar-match-popup .custom-navbar-match-panel .custom-navbar-match-right-panel .preview-match-card .preview-match-title {\n flex: 1 0 0;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n.custom-navbar-match-popup .custom-navbar-match-panel .custom-navbar-match-right-panel .preview-match-card .preview-match-subscribe.be-button {\n padding: 2px 6px;\n font-size: 11px;\n}\n.custom-navbar-match-popup .custom-navbar-match-panel .custom-navbar-match-right-panel .preview-match-card:hover .preview-match-title {\n color: var(--theme-color);\n}",""]),t.exports=a},7569:(t,n,e)=>{var a=e(2955)((function(t){return t[1]}));a.push([t.id,'.messages-popup[data-v-38cbdbce] {\n width: max-content;\n}\n.messages-popup .message-entry a[data-v-38cbdbce] {\n position: relative;\n padding: 8px;\n display: flex;\n justify-content: flex-start;\n border-bottom: 2px solid transparent;\n font-size: 15px;\n line-height: normal;\n}\n.messages-popup .message-entry a[data-v-38cbdbce]::before {\n content: "";\n position: absolute;\n top: calc(100% - 4px);\n left: 8px;\n width: calc(100% - 16px);\n height: 2px;\n border-radius: 2px;\n background-color: var(--theme-color);\n transition: 0.16s 0.1s ease-out;\n transform: scaleX(0);\n}\n.messages-popup .message-entry a[data-v-38cbdbce]:hover::before {\n transform: scaleX(1);\n}\nhtml[data-navbar-link-popup-content-align-style=left] .messages-popup .message-entry a[data-v-38cbdbce], .messages-popup .message-entry a.left[data-v-38cbdbce] {\n justify-content: flex-start;\n}\nhtml[data-navbar-link-popup-content-align-style=center] .messages-popup .message-entry a[data-v-38cbdbce], .messages-popup .message-entry a.center[data-v-38cbdbce] {\n justify-content: center;\n}\nhtml[data-navbar-link-popup-content-align-style=right] .messages-popup .message-entry a[data-v-38cbdbce], .messages-popup .message-entry a.right[data-v-38cbdbce] {\n justify-content: flex-end;\n}\n.messages-popup .message-entry a[data-count][data-v-38cbdbce]::after {\n content: attr(data-count);\n position: absolute;\n left: 100%;\n top: 50%;\n transform: translateY(-50%);\n background-color: var(--theme-color);\n color: var(--foreground-color);\n padding: 0 6px;\n display: flex;\n justify-content: center;\n font-size: 9pt;\n border-radius: 6px;\n white-space: nowrap;\n}',""]),t.exports=a},1599:(t,n,e)=>{var a=e(2955)((function(t){return t[1]}));a.push([t.id,'.ranking-popup[data-v-dbcac2e2] {\n width: max-content;\n}\n.ranking-popup .ranking-entry a[data-v-dbcac2e2] {\n position: relative;\n padding: 8px;\n display: flex;\n justify-content: flex-start;\n border-bottom: 2px solid transparent;\n font-size: 15px;\n line-height: normal;\n}\n.ranking-popup .ranking-entry a[data-v-dbcac2e2]::before {\n content: "";\n position: absolute;\n top: calc(100% - 4px);\n left: 8px;\n width: calc(100% - 16px);\n height: 2px;\n border-radius: 2px;\n background-color: var(--theme-color);\n transition: 0.16s 0.1s ease-out;\n transform: scaleX(0);\n}\n.ranking-popup .ranking-entry a[data-v-dbcac2e2]:hover::before {\n transform: scaleX(1);\n}\nhtml[data-navbar-link-popup-content-align-style=left] .ranking-popup .ranking-entry a[data-v-dbcac2e2], .ranking-popup .ranking-entry a.left[data-v-dbcac2e2] {\n justify-content: flex-start;\n}\nhtml[data-navbar-link-popup-content-align-style=center] .ranking-popup .ranking-entry a[data-v-dbcac2e2], .ranking-popup .ranking-entry a.center[data-v-dbcac2e2] {\n justify-content: center;\n}\nhtml[data-navbar-link-popup-content-align-style=right] .ranking-popup .ranking-entry a[data-v-dbcac2e2], .ranking-popup .ranking-entry a.right[data-v-dbcac2e2] {\n justify-content: flex-end;\n}',""]),t.exports=a},890:(t,n,e)=>{var a=e(2955)((function(t){return t[1]}));a.push([t.id,".custom-navbar .launch-bar {\n --color: var(--custom-navbar-foreground);\n background-color: #000a;\n opacity: 0.5;\n transition: opacity 0.2s ease-out;\n padding: 2px 6px;\n border-radius: 8px;\n}\n.custom-navbar .launch-bar:hover, .custom-navbar .launch-bar:focus-within {\n opacity: 1;\n}\n.custom-navbar .launch-bar .input-area .launch-bar-form .input {\n padding: 8px 6px;\n width: var(--navbar-search-width);\n}\n.custom-navbar:not(.transparent) .launch-bar {\n background-color: #8883;\n}\n.custom-navbar.fill:not(.transparent) .launch-bar {\n background-color: #0002;\n}\n.custom-navbar-search {\n align-self: center;\n display: flex;\n}",""]),t.exports=a},5750:(t,n,e)=>{var a=e(2955)((function(t){return t[1]}));a.push([t.id,".custom-navbar-extra-options {\n display: flex;\n align-items: center;\n justify-content: center;\n}",""]),t.exports=a},8790:(t,n,e)=>{var a=e(2955)((function(t){return t[1]}));a.push([t.id,".custom-navbar-settings {\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: 400px;\n font-size: 14px;\n padding: 12px 12px 12px 18px;\n left: 50%;\n top: 50%;\n transform: translateX(-50%) translateY(-50%) scale(0.95);\n transition: 0.2s ease-out;\n z-index: 100002;\n}\nbody.dark .custom-navbar-settings {\n box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.2);\n}\nbody.dark .custom-navbar-settings {\n background-color: #282828;\n color: #eee;\n}\nbody.dark .custom-navbar-settings {\n background-color: #222;\n}\n.custom-navbar-settings.open {\n transform: translateX(-50%) translateY(-50%) scale(1);\n}\n.custom-navbar-settings .navbar-settings-header {\n display: flex;\n align-items: center;\n justify-content: space-between;\n}\n.custom-navbar-settings .navbar-settings-header .title {\n margin-left: 6px;\n font-size: 18px;\n font-weight: 600;\n}\n.custom-navbar-settings .navbar-settings-header .grow {\n flex: 1;\n}\n.custom-navbar-settings .navbar-settings-header .close {\n padding: 6px;\n cursor: pointer;\n transition: 0.2s ease-out;\n}\n.custom-navbar-settings .navbar-settings-header .close:hover {\n color: var(--theme-color);\n}\n.custom-navbar-settings .navbar-settings-content .navbar-settings-section {\n margin-top: 12px;\n}\n.custom-navbar-settings .navbar-settings-content .navbar-settings-section > :not(:last-child) {\n margin-bottom: 6px;\n}\n.custom-navbar-settings .navbar-settings-content .navbar-settings-section-title {\n font-size: 14px;\n}\n.custom-navbar-settings .navbar-settings-content .navbar-settings-section-description {\n font-size: 12px;\n opacity: 0.6;\n line-height: 1.5;\n}\n.custom-navbar-settings .navbar-settings-content .navbar-settings-section-content {\n display: flex;\n align-items: center;\n flex-wrap: wrap;\n}\n.custom-navbar-settings .navbar-settings-content .navbar-settings-section-content .be-slider {\n margin: 0 4px;\n flex: 1;\n}\n.custom-navbar-settings .navbar-settings-content .navbar-settings-section-content .padding-value {\n margin-left: 12px;\n width: 50px;\n text-align: end;\n}\n.custom-navbar-settings .navbar-settings-content .navbar-settings-section-content .navbar-sort-item {\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: center;\n transition: none;\n white-space: nowrap;\n padding: 6px;\n padding-left: 8px;\n margin: 0 4px 4px 0;\n cursor: move;\n}\nbody.dark .custom-navbar-settings .navbar-settings-content .navbar-settings-section-content .navbar-sort-item {\n box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.2);\n}\nbody.dark .custom-navbar-settings .navbar-settings-content .navbar-settings-section-content .navbar-sort-item {\n background-color: #282828;\n color: #eee;\n}\n.custom-navbar-settings .navbar-settings-content .navbar-settings-section-content .navbar-sort-item:hover {\n border-color: var(--theme-color);\n}\n.custom-navbar-settings .navbar-settings-content .navbar-settings-section-content .navbar-sort-item.navbar-hidden {\n opacity: 0.5;\n}\n.custom-navbar-settings .navbar-settings-content .navbar-settings-section-content .navbar-sort-item.sortable-ghost {\n opacity: 0;\n}\n.custom-navbar-settings .navbar-settings-content .navbar-settings-section-content .navbar-sort-item.sortable-chosen {\n box-shadow: 0 4px 16px 0 rgba(0, 0, 0, 0.16);\n transform: scale(1.05);\n}\n.custom-navbar-settings .navbar-settings-content .navbar-settings-section-content .navbar-sort-item.sortable-drag {\n opacity: 1;\n}\n.custom-navbar-settings .navbar-settings-content .navbar-settings-section-content .navbar-sort-item.sortable-drag.navbar-hidden {\n opacity: 0.5;\n}\n.custom-navbar-settings .navbar-settings-content .navbar-settings-section-content .navbar-sort-item .toggle-visible {\n margin-left: 6px;\n cursor: pointer;\n}",""]),t.exports=a},3234:(t,n,e)=>{var a=e(2955)((function(t){return t[1]}));a.push([t.id,".navbar-subscriptions {\n width: 380px;\n height: 600px;\n min-height: 200px;\n max-height: calc(100vh - var(--navbar-height) - 12px);\n padding: 0 4px 0 4px;\n box-sizing: border-box;\n font-size: 12px;\n}\n.navbar-subscriptions .be-tab-control {\n padding-top: 12px;\n height: 100%;\n box-sizing: border-box;\n}\n.navbar-subscriptions .be-tab-control .default-content {\n padding-bottom: 0;\n}\n.navbar-subscriptions-filter {\n display: flex;\n align-items: stretch;\n justify-content: flex-end;\n height: 26px;\n}",""]),t.exports=a},2185:(t,n,e)=>{var a=e(2955)((function(t){return t[1]}));a.push([t.id,".subscription-list {\n width: 100%;\n box-sizing: border-box;\n padding: 0 8px;\n display: flex;\n align-items: center;\n flex-direction: column;\n}\n.subscription-list .be-scroll-trigger {\n padding-bottom: 12px;\n}\n.subscription-list .subscription-content {\n align-self: stretch;\n display: flex;\n flex-direction: column;\n}\n.subscription-list .subscription-content .subscription-card {\n position: relative;\n display: flex;\n margin-bottom: 12px;\n flex-shrink: 0;\n background-color: #fff;\n box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.05);\n border: 1px solid #8882;\n border-radius: 8px;\n}\nbody.dark .subscription-list .subscription-content .subscription-card {\n background-color: #2d2d2d;\n color: #eee;\n}\n.subscription-list .subscription-content .subscription-card .subscriptions-cover-container {\n height: 64px;\n width: 64px;\n border-radius: 8px 0 0 8px;\n overflow: hidden;\n}\n.subscription-list .subscription-content .subscription-card .subscriptions-cover-container .cover {\n height: 100%;\n width: 100%;\n}\n.subscription-list .subscription-content .subscription-card:hover .cover {\n transform: scale(1.05);\n}\n.subscription-list .subscription-content .subscription-card .card-info {\n flex-grow: 1;\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n padding: 0 12px;\n max-width: calc(100% - 24px - 64px);\n box-sizing: content-box;\n}\n.subscription-list .subscription-content .subscription-card .info {\n padding: 2px;\n border-radius: 14px;\n line-height: 1;\n}\n.subscription-list .subscription-content .subscription-card .info:hover {\n color: var(--theme-color) !important;\n}\n.subscription-list .subscription-content .subscription-card .progress-row {\n display: flex;\n padding-bottom: 8px;\n justify-content: space-between;\n align-self: stretch;\n align-items: center;\n}\n.subscription-list .subscription-content .subscription-card .status {\n padding: 0 4px;\n background-color: #8882;\n border: 1px solid #8884;\n border-radius: 4px;\n opacity: 0.75;\n}\n.subscription-list .subscription-content .subscription-card .status.status-2 {\n background-color: var(--theme-color-10);\n border-color: var(--theme-color-30);\n opacity: 1;\n}\n.subscription-list .subscription-content .subscription-card .progress {\n white-space: nowrap;\n width: 0;\n flex-grow: 1;\n margin: 0 8px;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n.subscription-list .subscription-content .subscription-card .title {\n font-size: 14px;\n font-weight: 600;\n padding-top: 4px;\n color: inherit;\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n width: 100%;\n margin: 0;\n flex: 1;\n display: flex;\n align-items: center;\n}\n.subscription-list .subscription-content .subscription-card:hover .title {\n color: var(--theme-color);\n}",""]),t.exports=a},7027:(t,n,e)=>{var a=e(2955)((function(t){return t[1]}));a.push([t.id,".navbar-upload[data-v-99a054ea] {\n display: flex;\n align-items: center;\n}\n.navbar-upload-name[data-v-99a054ea] {\n padding-left: 4px;\n font-size: 12pt;\n font-weight: bold;\n}",""]),t.exports=a},4246:(t,n,e)=>{var a=e(2955)((function(t){return t[1]}));a.push([t.id,'.upload-popup[data-v-b43e8cea] {\n width: max-content;\n}\n.upload-popup a[data-v-b43e8cea] {\n position: relative;\n padding: 8px;\n display: flex;\n justify-content: flex-start;\n border-bottom: 2px solid transparent;\n font-size: 15px;\n line-height: normal;\n}\n.upload-popup a[data-v-b43e8cea]::before {\n content: "";\n position: absolute;\n top: calc(100% - 4px);\n left: 8px;\n width: calc(100% - 16px);\n height: 2px;\n border-radius: 2px;\n background-color: var(--theme-color);\n transition: 0.16s 0.1s ease-out;\n transform: scaleX(0);\n}\n.upload-popup a[data-v-b43e8cea]:hover::before {\n transform: scaleX(1);\n}\nhtml[data-navbar-link-popup-content-align-style=left] .upload-popup a[data-v-b43e8cea], .upload-popup a.left[data-v-b43e8cea] {\n justify-content: flex-start;\n}\nhtml[data-navbar-link-popup-content-align-style=center] .upload-popup a[data-v-b43e8cea], .upload-popup a.center[data-v-b43e8cea] {\n justify-content: center;\n}\nhtml[data-navbar-link-popup-content-align-style=right] .upload-popup a[data-v-b43e8cea], .upload-popup a.right[data-v-b43e8cea] {\n justify-content: flex-end;\n}',""]),t.exports=a},6989:(t,n,e)=>{var a=e(2955)((function(t){return t[1]}));a.push([t.id,".user-face-container {\n position: relative;\n height: calc(var(--navbar-height) - 16px);\n width: calc(var(--navbar-height) - 16px);\n max-width: 36px;\n max-height: 36px;\n}\n.user-face-container .user-face,\n.user-face-container .user-pendant {\n position: absolute;\n width: 100%;\n height: 100%;\n transition: 0.2s all ease-out 0.2s;\n opacity: 1;\n z-index: 100;\n}\n.custom-navbar-item:hover .user-face-container .user-face,\n.custom-navbar-item:hover .user-face-container .user-pendant {\n transform: scale(2) translateY(10px);\n}\n.user-face-container .user-face {\n background-color: transparent;\n background-size: contain;\n border-radius: 50%;\n}\n.user-face-container .user-pendant {\n background-color: transparent;\n background-size: cover;\n width: 170%;\n height: 170%;\n top: -12px;\n left: -12px;\n opacity: 0;\n pointer-events: none;\n}",""]),t.exports=a},8471:(t,n,e)=>{var a=e(2955)((function(t){return t[1]}));a.push([t.id,".user-info-panel {\n border-radius: 8px;\n overflow: hidden;\n width: 240px;\n font-size: 12px;\n}\n.user-info-panel .circle {\n position: relative;\n width: var(--navbar-icon-size);\n height: var(--navbar-icon-size);\n opacity: 0.7;\n}\n.user-info-panel .circle .mdi {\n position: absolute;\n top: 0;\n left: 0;\n}\n.user-info-panel .mdi-circle ~ .mdi {\n filter: invert(1);\n font-size: calc(var(--navbar-icon-size) - 10px);\n line-height: calc(var(--navbar-icon-size) - 10px);\n transform: translate(5px, 5px);\n}\n.user-info-panel .be-icon {\n font-style: normal;\n}\n.user-info-panel .logged-in {\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: space-between;\n}\n.user-info-panel .row,\n.user-info-panel .items {\n align-self: stretch;\n display: flex;\n justify-content: space-between;\n align-items: center;\n}\n.user-info-panel .items {\n padding-top: 4px;\n}\n.user-info-panel .row {\n margin: 0 10px;\n width: auto !important;\n}\n.user-info-panel .row::after {\n content: none !important;\n}\n.user-info-panel .row.level-info {\n margin-bottom: -5px;\n}\n.user-info-panel .privileges {\n justify-content: center;\n}\n.user-info-panel .privileges > * {\n font-size: 11px;\n background-color: #8882;\n padding: 2px 4px;\n margin: 0 2px;\n border-radius: 4px;\n line-height: normal;\n cursor: pointer;\n}\n.user-info-panel .privileges > *.received {\n cursor: default;\n opacity: 0.5;\n}\n.user-info-panel .privileges > *:not(.received):hover {\n background-color: #8884;\n}\n.user-info-panel .bv-custom-navbar-operation {\n height: 36px;\n display: flex;\n align-items: center;\n justify-content: center;\n position: relative;\n align-self: stretch;\n}\n.user-info-panel .bv-custom-navbar-operation:hover {\n background-color: #8882;\n}\n.user-info-panel .bv-custom-navbar-operation .be-icon {\n position: absolute;\n left: 10px;\n top: 50%;\n transform: translateY(-50%);\n background: none;\n}\n.user-info-panel .item {\n display: flex;\n flex-direction: column;\n justify-content: space-around;\n align-items: center;\n height: 48px;\n flex: 1;\n}\n.user-info-panel .item > .be-icon {\n opacity: 0.7;\n}\n.user-info-panel .item > .be-icon:nth-child(2) {\n font-size: 18px;\n line-height: 18px;\n}\n.user-info-panel .item span {\n font-size: 14px;\n font-weight: 600;\n opacity: 0.7;\n}\n.user-info-panel .welcome,\n.user-info-panel .name {\n font-size: 16px;\n font-weight: 600;\n margin: 46px 0 16px 0;\n text-align: center;\n color: inherit;\n}\n.user-info-panel .name {\n margin: 62px 0 0 0;\n}\n.user-info-panel .name:hover {\n color: var(--theme-color) !important;\n}\n.user-info-panel .type {\n font-size: 11px;\n opacity: 0.5;\n margin: 6px 0;\n}\n.user-info-panel .separator {\n height: 1px;\n align-self: stretch;\n margin: 5px 10px;\n background: rgba(0, 0, 0, 0.1);\n}\nbody.dark .user-info-panel .separator {\n background: rgba(255, 255, 255, 0.1);\n}\n.user-info-panel .level-icon.plus {\n max-height: 24px;\n}\n.user-info-panel .level-progress-thumb {\n width: 100%;\n height: 100%;\n background: var(--theme-color);\n transform-origin: left;\n}\n.user-info-panel .level-progress-label {\n font-size: 11px;\n}\n.user-info-panel .stats {\n display: flex;\n align-items: center;\n align-self: stretch;\n margin: 0 10px;\n line-height: normal;\n}\n.user-info-panel .stats-item {\n padding: 6px 0;\n flex: 1;\n display: flex;\n flex-direction: column;\n align-items: center;\n transition: none;\n}\n.user-info-panel .stats-item:hover {\n color: var(--theme-color) !important;\n}\n.user-info-panel .stats-item .stats-number {\n font-weight: 600;\n margin-bottom: 4px;\n font-size: 14px;\n transition: none;\n}\n.user-info-panel .grey-button,\n.user-info-panel .theme-button {\n align-self: stretch;\n height: 36px;\n display: flex;\n align-items: center;\n justify-content: center;\n margin: 6px;\n border-radius: 4px;\n font-size: 14px;\n}\n.user-info-panel .grey-button {\n background: #f8f8f8;\n color: inherit !important;\n}\n.user-info-panel .grey-button:hover {\n background: #f0f0f0;\n}\n.user-info-panel .grey-button.logout {\n font-size: 12px;\n height: 32px;\n cursor: pointer;\n}\n.user-info-panel .grey-button.logout:hover {\n color: inherit !important;\n}\nbody.dark .user-info-panel .grey-button {\n background: #282828;\n}\nbody.dark .user-info-panel .grey-button:hover {\n background: #333;\n}\n.user-info-panel .theme-button {\n background: var(--theme-color);\n color: var(--foreground-color) !important;\n}\n.user-info-panel .theme-button:hover {\n background: var(--theme-color-90);\n color: var(--foreground-color) !important;\n}",""]),t.exports=a},4311:(t,n,e)=>{var a=e(2955)((function(t){return t[1]}));a.push([t.id,'.custom-navbar .watchlater-list {\n height: 600px;\n min-height: 200px;\n max-height: calc(100vh - var(--navbar-height) - 12px);\n width: 380px;\n font-size: 12px;\n display: flex;\n flex-flow: column nowrap;\n justify-content: space-between;\n align-items: center;\n}\n.custom-navbar .watchlater-list .round-button {\n box-sizing: border-box;\n height: 26px;\n border-radius: 13px;\n display: flex;\n align-items: center;\n justify-content: center;\n cursor: pointer;\n width: 26px;\n}\n.custom-navbar .watchlater-list .floating {\n box-sizing: border-box;\n height: 20px;\n border-radius: 10px;\n display: flex;\n align-items: center;\n background-color: #000c;\n color: white;\n justify-content: center;\n cursor: pointer;\n}\n.custom-navbar .watchlater-list .header {\n display: flex;\n align-items: center;\n justify-content: space-between;\n align-self: stretch;\n margin: 16px 12px;\n}\n.custom-navbar .watchlater-list .header .watchlater-list-summary {\n margin-right: 6px;\n}\n.custom-navbar .watchlater-list .header .search {\n position: relative;\n flex-grow: 1;\n align-self: stretch;\n margin-right: 8px;\n}\n.custom-navbar .watchlater-list .header .search .be-textbox {\n height: 100%;\n}\n.custom-navbar .watchlater-list .header .operations {\n display: flex;\n align-items: center;\n}\n.custom-navbar .watchlater-list .header .operations .round-button:not(:last-child) {\n margin-right: 4px;\n}\n.custom-navbar .watchlater-list .header .operation:not(:last-child) {\n margin-right: 8px;\n}\n.custom-navbar .watchlater-list .header .more-info {\n display: flex;\n align-items: center;\n box-sizing: border-box;\n height: 28px;\n border-radius: 14px;\n padding: 4px 6px 4px 10px;\n}\n.custom-navbar .watchlater-list .be-empty,\n.custom-navbar .watchlater-list .be-loading {\n flex: 1;\n}\n.custom-navbar .watchlater-list-content {\n flex: 1;\n align-self: stretch;\n scroll-behavior: smooth;\n position: relative;\n overflow: auto;\n scrollbar-width: none !important;\n overscroll-behavior: contain;\n padding: 0 12px;\n padding-bottom: 12px;\n}\n.custom-navbar .watchlater-list-content::-webkit-scrollbar {\n height: 0 !important;\n width: 0 !important;\n}\n.custom-navbar .watchlater-list-content .watchlater-card {\n cursor: pointer;\n flex-shrink: 0;\n border-radius: 8px;\n color: black;\n background-color: #fff;\n box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.05);\n border: 1px solid #8882;\n display: grid;\n grid-template: "cover title" 2fr "cover info" 1fr/130px 1fr;\n height: 85px;\n}\n.custom-navbar .watchlater-list-content .watchlater-card.cards-enter, .custom-navbar .watchlater-list-content .watchlater-card.cards-leave-to {\n opacity: 0;\n transform: translateY(-16px) scale(0.9);\n}\n.custom-navbar .watchlater-list-content .watchlater-card.cards-leave-active {\n transition: 0.24s cubic-bezier(0.22, 0.61, 0.36, 1);\n position: absolute;\n}\nbody.dark .custom-navbar .watchlater-list-content .watchlater-card {\n background-color: #282828;\n color: #eee;\n}\n.custom-navbar .watchlater-list-content .watchlater-card:not(:last-child) {\n margin-bottom: 12px;\n}\n.custom-navbar .watchlater-list-content .watchlater-card:hover .cover {\n transform: scale(1.05);\n}\n.custom-navbar .watchlater-list-content .watchlater-card .watchlater-cover-container {\n grid-area: cover;\n overflow: hidden;\n border-radius: 8px 0 0 8px;\n position: relative;\n}\n.custom-navbar .watchlater-list-content .watchlater-card .watchlater-cover-container .floating {\n position: absolute;\n opacity: 0;\n font-size: 11px;\n}\n.custom-navbar .watchlater-list-content .watchlater-card .watchlater-cover-container .remove {\n top: 6px;\n left: 6px;\n width: 20px;\n}\n.custom-navbar .watchlater-list-content .watchlater-card .watchlater-cover-container .duration {\n left: 6px;\n bottom: 6px;\n padding: 0 6px;\n}\n.custom-navbar .watchlater-list-content .watchlater-card .watchlater-cover-container .pages {\n top: 6px;\n right: 6px;\n padding: 0 6px;\n}\n.custom-navbar .watchlater-list-content .watchlater-card .watchlater-cover-container .cover {\n object-fit: cover;\n}\n.custom-navbar .watchlater-list-content .watchlater-card .watchlater-cover-container .progress {\n position: absolute;\n bottom: 0;\n left: 0;\n height: 2px;\n border-radius: 1px;\n background-color: var(--theme-color);\n}\n.custom-navbar .watchlater-list-content .watchlater-card:hover .floating {\n opacity: 1;\n}\n.custom-navbar .watchlater-list-content .watchlater-card .title {\n grid-area: title;\n font-size: 13px;\n font-weight: 600;\n margin: 0;\n margin-top: 8px;\n padding: 0 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.custom-navbar .watchlater-list-content .watchlater-card .title:hover {\n color: var(--theme-color) !important;\n}\n.custom-navbar .watchlater-list-content .watchlater-card .info-row {\n display: flex;\n justify-content: space-between;\n align-items: flex-end;\n grid-area: info;\n margin: 6px 8px;\n}\n.custom-navbar .watchlater-list-content .watchlater-card .info-row .viewed {\n opacity: 0.75;\n font-size: 11px;\n margin: 2px 0;\n}\n.custom-navbar .watchlater-list-content .watchlater-card .up {\n flex: 0 1 auto;\n padding: 2px 10px 2px 2px;\n justify-self: start;\n align-self: center;\n max-width: calc(100% - 16px);\n display: flex;\n align-items: center;\n box-sizing: border-box;\n height: 24px;\n border-radius: 12px;\n border: 1px solid #8882;\n}\n.custom-navbar .watchlater-list-content .watchlater-card .up:hover {\n background-color: #8882;\n}\n.custom-navbar .watchlater-list-content .watchlater-card .up .face {\n border-radius: 50%;\n margin-right: 6px;\n height: 20px;\n width: 20px;\n}\n.custom-navbar .watchlater-list-content .watchlater-card .up .name {\n overflow: hidden;\n white-space: nowrap;\n text-overflow: ellipsis;\n font-size: 11px;\n}\n.custom-navbar .watchlater-list-content .watchlater-card .up:hover .name {\n color: var(--theme-color);\n}',""]),t.exports=a},4506:(t,n,e)=>{var a=e(2955)((function(t){return t[1]}));a.push([t.id,"body.no-banner #banner_link,\nbody.no-banner .z-top-container.has-banner > .header,\n.bili-header-m > #banner_link .search,\nli.nav-item[report-id=playpage_dynamic] iframe,\nli.nav-item[report-id=playpage_dynamic] .i-frame,\n.z-top-container > .header .search,\n.i_menu_login,\n.international-header .b-logo,\n.bili-banner .taper-line,\n.international-header .mini-header,\n.bili-header-m .head-banner .head-content .head-logo,\n#biliMainHeader .mini-header,\n#biliMainHeader .base-mini-header,\n.bili-header__bar {\n display: none !important;\n}\n\n.van-popover {\n z-index: 10002 !important;\n}\n\n.bili-header,\n.international-header {\n min-height: var(--navbar-height) !important;\n}\n\n.bili-header-m .head-banner {\n margin-top: calc(-1 * var(--navbar-height)) !important;\n}\n\n.bili-header-m > .nav-menu,\n.z_top,\n.z-top-container#bili-header-container {\n visibility: hidden !important;\n height: var(--navbar-height) !important;\n}\n\n#message-navbar,\nbody:not(.history-page) #biliMainHeader:not(.z-top-container),\n.z-top-container:not(#biliMainHeader, .has-menu) {\n max-height: var(--navbar-height) !important;\n}\n\nbody.history-page #biliMainHeader:not(.z-top-container) {\n height: auto;\n}\n\n.link-top-container#tab-container {\n top: var(--navbar-height) !important;\n}\n\n.bili-feed4 .header-channel {\n top: 0 !important;\n}",""]),t.exports=a},2955:t=>{"use strict";
// eslint-disable-next-line func-names
t.exports=function(t){var n=[];return n.toString=function(){return this.map((function(n){var e=t(n);return n[2]?"@media ".concat(n[2]," {").concat(e,"}"):e})).join("")},
// eslint-disable-next-line func-names
n.i=function(t,e,a){"string"==typeof t&&(
// eslint-disable-next-line no-param-reassign
t=[[null,t,""]]);var i={};if(a)for(var r=0;r<this.length;r++){
// eslint-disable-next-line prefer-destructuring
var o=this[r][0];null!=o&&(i[o]=!0)}for(var s=0;s<t.length;s++){var l=[].concat(t[s]);a&&i[l[0]]||(e&&(l[2]?l[2]="".concat(e," and ").concat(l[2]):l[2]=e),n.push(l))}},n}},6991:(t,n,e)=>{"use strict";var a,i=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 t={};return function(n){if(void 0===t[n]){var e=document.querySelector(n);if(window.HTMLIFrameElement&&e instanceof window.HTMLIFrameElement)try{e=e.contentDocument.head}catch(t){e=null}t[n]=e}return t[n]}}(),o=[];function s(t){for(var n=-1,e=0;e<o.length;e++)if(o[e].identifier===t){n=e;break}return n}function l(t,n){for(var e={},a=[],i=0;i<t.length;i++){var r=t[i],l=n.base?r[0]+n.base:r[0],c=e[l]||0,p="".concat(l," ").concat(c);e[l]=c+1;var d=s(p),u={css:r[1],media:r[2],sourceMap:r[3]};-1!==d?(o[d].references++,o[d].updater(u)):o.push({identifier:p,updater:g(u,n),references:1}),a.push(p)}return a}function c(t){var n=document.createElement("style"),a=t.attributes||{};if(void 0===a.nonce){var i=e.nc;i&&(a.nonce=i)}if(Object.keys(a).forEach((function(t){n.setAttribute(t,a[t])})),"function"==typeof t.insert)t.insert(n);else{var o=r(t.insert||"head");if(!o)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");o.appendChild(n)}return n}var p,d=(p=[],function(t,n){return p[t]=n,p.filter(Boolean).join("\n")});function u(t,n,e,a){var i=e?"":a.media?"@media ".concat(a.media," {").concat(a.css,"}"):a.css;if(t.styleSheet)t.styleSheet.cssText=d(n,i);else{var r=document.createTextNode(i),o=t.childNodes;o[n]&&t.removeChild(o[n]),o.length?t.insertBefore(r,o[n]):t.appendChild(r)}}function m(t,n,e){var a=e.css,i=e.media,r=e.sourceMap;if(i?t.setAttribute("media",i):t.removeAttribute("media"),r&&"undefined"!=typeof btoa&&(a+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(r))))," */")),t.styleSheet)t.styleSheet.cssText=a;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(a))}}var h=null,v=0;function g(t,n){var e,a,i;if(n.singleton){var r=v++;e=h||(h=c(n)),a=u.bind(null,e,r,!1),i=u.bind(null,e,r,!0)}else e=c(n),a=m.bind(null,e,n),i=function(){!function(t){if(null===t.parentNode)return!1;t.parentNode.removeChild(t)}(e)};return a(t),function(n){if(n){if(n.css===t.css&&n.media===t.media&&n.sourceMap===t.sourceMap)return;a(t=n)}else i()}}t.exports=function(t,n){(n=n||{}).singleton||"boolean"==typeof n.singleton||(n.singleton=i());var e=l(t=t||[],n);return function(t){if(t=t||[],"[object Array]"===Object.prototype.toString.call(t)){for(var a=0;a<e.length;a++){var i=s(e[a]);o[i].references--}for(var r=l(t,n),c=0;c<e.length;c++){var p=s(e[c]);0===o[p].references&&(o[p].updater(),o.splice(p,1))}e=r}}}},3356:(t,n,e)=>{var a=e(4506);a&&a.__esModule&&(a=a.default),t.exports="string"==typeof a?a:a.toString()},2303:(t,n,e)=>{"use strict";e.r(n),e.d(n,{default:()=>ct});var a=function(){var t=this,n=t._self._c;t._self._setupProxy;return n("div",{staticClass:"custom-navbar",class:t.styles,attrs:{role:"navigation"}},[n("div",{staticClass:"left-pad padding"}),t._v(" "),n("div",{staticClass:"custom-navbar-items",attrs:{role:"list"}},t._l(t.items,(function(t){return n("NavbarItem",{key:t.name,attrs:{item:t}})})),1),t._v(" "),n("div",{staticClass:"right-pad padding"})])};a._withStripped=!0;var i=e(4905),r=e(2007),o=e(322);const s="https://message.bilibili.com/",l={name:"messages",displayName:"消息",content:"消息",href:s,active:document.URL.startsWith(s),loginRequired:!0,touch:!0,popupContent:()=>Promise.resolve().then(e.bind(e,4824)).then((t=>t.default)),lazy:!1},c="https://www.bilibili.com/v/popular/rank/",p={name:"ranking",displayName:"排行",content:"排行",href:`${c}all`,active:document.URL.startsWith(c),touch:!0,popupContent:()=>Promise.resolve().then(e.bind(e,4802)).then((t=>t.default))};var d=e(7847);const u={name:"userInfo",displayName:"个人信息",content:()=>Promise.resolve().then(e.bind(e,6031)).then((t=>t.default)),href:(0,d.getUID)()?"https://space.bilibili.com":null,touch:!0,popupContent:()=>Promise.resolve().then(e.bind(e,1466)).then((t=>t.default)),lazy:!1,noPopupPadding:!0,boundingWidth:240},m={name:"logo",displayName:"Logo",content:()=>Promise.resolve().then(e.bind(e,1289)).then((t=>t.default)),href:"https://www.bilibili.com/"},h={name:"home",displayName:"主站",content:"主站",href:"https://www.bilibili.com/",touch:!0,boundingWidth:366,popupContent:()=>Promise.resolve().then(e.bind(e,2821)).then((t=>t.default))},v={name:"games",displayName:"游戏中心",content:"游戏中心",touch:!0,href:"https://game.bilibili.com/",boundingWidth:420,noPopupPadding:!0,popupContent:()=>Promise.resolve().then(e.bind(e,5468)).then((t=>t.default))},g=new Array(4).fill(0).map(((t,n)=>({name:`blank${n+1}`,displayName:`弹性空白${n+1}`,content:"",disabled:!0,flexStyle:"1 0 auto"}))),b=t=>({content:t.displayName,...t,active:document.URL.startsWith(t.href)}),f=(b({name:"ranking",displayName:"排行",href:"https://www.bilibili.com/v/popular/rank/all"}),b({name:"bangumi",displayName:"番剧 (链接)",content:"番剧",href:"https://www.bilibili.com/anime/"})),A=b({name:"music",displayName:"音频",href:"https://www.bilibili.com/audio/home/"}),x=b({name:"shop",displayName:"会员购",href:"https://show.bilibili.com"}),y=b({name:"creations",displayName:"创作中心",href:"https://member.bilibili.com/platform/home"}),w=b({name:"lives",displayName:"直播",href:"https://live.bilibili.com"}),_={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,1776)).then((t=>t.default))},C={name:"upload",displayName:"投稿",content:()=>Promise.resolve().then(e.bind(e,1363)).then((t=>t.default)),touch:!0,href:"https://member.bilibili.com/platform/upload/video/frame",popupContent:()=>Promise.resolve().then(e.bind(e,1481)).then((t=>t.default))},k={name:"search",displayName:"搜索",content:()=>Promise.resolve().then(e.bind(e,1092)).then((t=>t.default)),disabled:!0},I={name:"feeds",displayName:"动态",content:"动态",href:"https://t.bilibili.com/",touch:!0,active:"https://t.bilibili.com/"===document.URL.replace(window.location.search,""),contentMounted:async t=>{const{getNotifyCount:n}=await Promise.resolve().then(e.t.bind(e,2930,23));await(async()=>{const e=await n();t.notifyCount=e})()},loginRequired:!0,popupContent:()=>Promise.resolve().then(e.bind(e,1635)).then((t=>t.default)),boundingWidth:300,noPopupPadding:!0};var S=e(3818);const V={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,8469)).then((t=>t.default))},P=`https://space.bilibili.com/${(0,d.getUID)()}/favlist`,L={name:"favorites",displayName:"收藏",content:"收藏",href:P,touch:!0,active:document.URL.replace(/\?.*$/,"")===P,loginRequired:!0,boundingWidth:380,noPopupPadding:!0,popupContent:()=>Promise.resolve().then(e.bind(e,346)).then((t=>t.default))},N="https://www.bilibili.com/history",z={name:"history",displayName:"历史",content:"历史",href:N,touch:!0,active:document.URL.replace(/\?.*$/,"")===N,loginRequired:!0,boundingWidth:400,noPopupPadding:!0,popupContent:()=>Promise.resolve().then(e.bind(e,1314)).then((t=>t.default))},B={name:"manga",displayName:"漫画",content:"漫画",touch:!0,href:"https://manga.bilibili.com/",boundingWidth:500,noPopupPadding:!0,popupContent:()=>Promise.resolve().then(e.bind(e,5047)).then((t=>t.default))},[E,j,T,D]=g;var M=e(5282),O=function(){var t=this,n=t._self._c;t._self._setupProxy;return n("div",{directives:[{name:"show",rawName:"v-show",value:!t.item.hidden,expression:"!item.hidden"}],staticClass:"custom-navbar-item",class:{disabled:t.item.disabled,active:t.item.active,"input-within":t.inputWithin},style:{flex:t.item.flexStyle,order:t.item.order},attrs:{role:"listitem","data-name":t.item.name}},[t.item.href?n("CustomNavbarLink",{staticClass:"main-content",attrs:{"new-tab":t.newTab,href:!t.item.active&&!t.item.touch&&t.item.href},on:{mouseover:function(n){return n.target!==n.currentTarget?null:t.requestPopup()}}},["string"==typeof t.item.content?[t._v("\n "+t._s(t.item.content)+"\n ")]:n(t.item.content,{tag:"component",attrs:{item:t.item}})],2):n("div",{staticClass:"main-content",on:{click:function(n){!t.item.active&&!t.item.touch&&t.item.clickAction&&t.item.clickAction(n)}}},["string"==typeof t.item.content?[t._v("\n "+t._s(t.item.content)+"\n ")]:n(t.item.content,{tag:"component",attrs:{item:t.item}})],2),t._v(" "),n("div",{directives:[{name:"show",rawName:"v-show",value:!t.item.active,expression:"!item.active"}],staticClass:"notify-count"},[t.item.notifyCount>0?[t._v("\n "+t._s(t.item.notifyCount)+"\n ")]:t._e()],2),t._v(" "),n("div",{ref:"popupContainer",staticClass:"popup-container",on:{focusin:function(n){return t.toggleInputWithin(n,!0)},focusout:function(n){return t.toggleInputWithin(n,!1)}}},[t.item.popupContent?n("div",{staticClass:"popup",class:t.popupClasses(t.item)},[t.item.requestedPopup?n(t.item.popupContent,{ref:"popup",tag:"component",attrs:{container:t.$refs.popupContainer,item:t.item}}):t._e()],1):t._e()]),t._v(" "),n("div",{staticClass:"active-bar"})],1)};O._withStripped=!0;var U=function(){var t=this,n=t._self._c;t._self._setupProxy;return n("a",t._g(t._b({attrs:{target:t.newTab?"_blank":null}},"a",t.$attrs,!1),t.$listeners),[t._t("default")],2)};U._withStripped=!0;const F=Vue.extend({props:{newTab:{type:Boolean,default:!0}}});var R=e(8678);const W=(0,R.A)(F,U,[],!1,null,null,null).exports,Q=t=>{const{name:n}=t,e=M.LC.navbarOptions;return n in e.openInNewTabOverrides?e.openInNewTabOverrides[n]:e.openInNewTab},Y=Vue.extend({components:{CustomNavbarLink:W},props:{item:{type:M.LC,required:!0}},data(){return{newTab:Q(this.item),cancelListeners:none,inputWithin:!1}},mounted(){const t=this.item;t.contentMounted?.(t);const n=()=>{this.updateLinkOption()};(0,i.addComponentListener)("customNavbar.openInNewTabOverrides",n),(0,i.addComponentListener)("customNavbar.openInNewTab",n),this.cancelListeners=()=>{(0,i.removeComponentListener)("customNavbar.openInNewTabOverrides",n),(0,i.removeComponentListener)("customNavbar.openInNewTab",n)}},beforeDestroy(){this.cancelListeners?.()},methods:{toggleInputWithin(t,n){t.target instanceof HTMLInputElement?this.inputWithin=n:this.inputWithin=!1},updateLinkOption(){this.newTab=Q(this.item)},popupClasses:t=>({transparent:t.transparentPopup,"no-padding":t.noPopupPadding,"iframe-container":t.iframeName}),triggerPopupShow:lodash.debounce((function(t){const{popup:n}=this.$refs;if(!n)return;const e=M.LC.navbarOptions.refreshOnPopup&&n.popupRefresh&&"function"==typeof n.popupRefresh;!t&&e&&n.popupRefresh(),n.popupShow&&"function"==typeof n.popupShow&&n.popupShow()}),300),async requestPopup(){const{item:t}=this;if(!t.disabled)return t.requestedPopup?void this.triggerPopupShow(!1):(t.requestedPopup=!0,void this.triggerPopupShow(!0))}}});var H=e(6991),J=e.n(H),q=e(7519),Z=e.n(q),G={insert:"head",singleton:!1};J()(Z(),G);Z().locals;const X=(0,R.A)(Y,O,[],!1,null,null,null).exports,K=coreApis.spinQuery,$=coreApis.utils.urls,tt=t=>{(0,i.addComponentListener)("customNavbar.transparent",(n=>{(0,i.getComponentSettings)("hideBanner").enabled||t.toggleStyle(n,"transparent")}),!0),(0,i.addComponentListener)("hideBanner",(n=>{(0,i.getComponentSettings)("customNavbar").options.transparent&&t.toggleStyle(!n,"transparent")}))},nt=["//music.bilibili.com/","//space.bilibili.com/"],[et]=(0,o.registerAndGetData)(M.mW,[E,m,h,f,p,A,v,w,x,_,B,j,k,T,u,l,I,S.x,V,L,z,y,C,D]),[at]=(0,o.registerAndGetData)(M.z0,{items:[]}),it=()=>{const t=et.map((t=>new M.LC(t))).sort((0,r.ascendingSort)((t=>t.order)));return at.items=t,t},rt=Vue.extend({components:{NavbarItem:X},data:()=>({initItems:et,items:it(),styles:[],height:M.LC.navbarOptions.height}),watch:{initItems(){this.items=it()}},async mounted(){(0,i.addComponentListener)("customNavbar.height",(t=>{document.documentElement.style.setProperty("--navbar-height",`${t}px`)}),!0),await(async t=>{nt.some((t=>(0,d.matchUrlPattern)(t)))?tt(t):(0,$.matchCurrentPage)($.mainSiteUrls)&&(0,K.sq)((()=>dqa(".animated-banner video, .banner-img img, #banner_link, .international-header .bili-banner, .bili-header__banner")),(t=>0!==t.length&&!!t.some((t=>!!t.style.backgroundImage||!!t.src||!!t.querySelector(".animated-banner"))))).then((n=>{0!==n.length&&tt(t)}))})(this)},methods:{toggleStyle(t,n){t&&!this.styles.includes(n)?this.styles.push(n):!t&&this.styles.includes(n)&&this.styles.splice(this.styles.indexOf(n),1)}}});var ot=e(6305),st=e.n(ot),lt={insert:"head",singleton:!1};J()(st(),lt);st().locals;const ct=(0,R.A)(rt,a,[],!1,null,null,null).exports},346:(t,n,e)=>{"use strict";e.r(n),e.d(n,{default:()=>I});var a=function(){var t=this,n=t._self._c;t._self._setupProxy;return n("div",{staticClass:"favorites-list"},[n("div",{staticClass:"header"},[n("FavoritesFolderSelect",{model:{value:t.folder,callback:function(n){t.folder=n},expression:"folder"}}),t._v(" "),n("div",{staticClass:"search"},[n("TextBox",{attrs:{linear:"",placeholder:"搜索"},model:{value:t.search,callback:function(n){t.search=n},expression:"search"}})],1),t._v(" "),n("a",{staticClass:"operation",attrs:{href:t.playLink,title:"播放全部",target:"_blank"}},[n("VButton",{staticClass:"play-all",attrs:{round:""}},[n("VIcon",{attrs:{icon:"mdi-play",size:18}})],1)],1),t._v(" "),n("a",{staticClass:"operation",attrs:{href:t.moreLink,title:"查看更多",target:"_blank"}},[n("VButton",{staticClass:"more-info",attrs:{round:""}},[n("VIcon",{attrs:{icon:"mdi-dots-horizontal",size:18}})],1)],1)],1),t._v(" "),n("div",{staticClass:"content"},[t.loading&&!t.searching?n("VLoading"):t.loading||t.canLoadMore||0!==t.filteredCards.length?n("transition-group",{staticClass:"cards",attrs:{name:"cards",tag:"div"}},[t._l(t.filteredCards,(function(e){return n("div",{key:e.id,staticClass:"favorite-card"},[n("a",{staticClass:"favorites-cover-container",attrs:{target:"_blank",href:t.getItemPlayLink(e)}},[n("DpiImage",{staticClass:"cover",attrs:{src:e.coverUrl,size:{width:130,height:85}}}),t._v(" "),n("div",{staticClass:"floating duration"},[t._v(t._s(e.durationText))]),t._v(" "),n("div",{staticClass:"floating favorite-time"},[t._v(t._s(e.favoriteTime))])],1),t._v(" "),n("a",{staticClass:"title",attrs:{target:"_blank",href:t.getItemPlayLink(e),title:e.title}},[t._v(t._s(e.title))]),t._v(" "),e.upID?n("a",{staticClass:"up",attrs:{target:"_blank",href:"https://space.bilibili.com/"+e.upID,title:e.upName}},[n("DpiImage",{staticClass:"face",attrs:{"placeholder-image":"",src:e.upFaceUrl,size:20}}),t._v(" "),n("div",{staticClass:"name"},[t._v(t._s(e.upName))])],1):n("div",{staticClass:"description"},[t._v("\n "+t._s(e.description)+"\n ")])])})),t._v(" "),t.canLoadMore?n("ScrollTrigger",{key:"scroll-trigger",on:{trigger:function(n){return t.scrollTrigger()}}}):t._e()],2):n("VEmpty")],1)])};a._withStripped=!0;var i=e(1164),r=e(2082),o=e(7847),s=e(416),l=e(765),c=e(4905);const p={id:0,name:"加载中...",count:0};var d=function(){var t=this,n=t._self._c;t._self._setupProxy;return n("VDropdown",{staticClass:"favorites-folder-select",attrs:{round:"",items:t.folders,"key-mapper":t=>t.id,value:t.folder},on:{change:function(n){return t.change(n)}},scopedSlots:t._u([{key:"item",fn:function({item:n}){return[t._v(" "+t._s(n.name)+" ("+t._s(n.count)+") ")]}}])})};d._withStripped=!0;const u=(0,c.getComponentSettings)("customNavbar").options,m=Vue.extend({components:{VDropdown:i.VDropdown},model:{prop:"folder",event:"change"},props:{folder:{type:Object,required:!0}},data:()=>({folders:[]}),async created(){const t=(0,o.getUID)();if(!t)return;const n=`https://api.bilibili.com/medialist/gateway/base/created?pn=1&ps=100&up_mid=${t}&is_space=0`,e=await(0,s.getJsonWithCredentials)(n);if(0!==e.code)throw new Error(`获取收藏夹列表失败: ${e.message}`);if(this.folders=lodash.get(e,"data.list",[]).map((t=>({id:t.id,name:t.title,count:t.media_count}))),this.folders.length>0&&this.folder.id===p.id){const{lastFavoriteFolder:t}=u,n=this.folders.find((n=>n.id===t));n?this.$emit("change",n):this.$emit("change",this.folders[0])}},methods:{change(t){u.lastFavoriteFolder=t.id,this.$emit("change",t)}}});var h=e(8678);const v=(0,h.A)(m,d,[],!1,null,null,null).exports;var g=e(891);const b=(0,c.getComponentSettings)("customNavbar").options,f=t=>!!b.showDeadVideos||9!==t.attr&&1!==t.attr,A=t=>({type:t.type,id:t.id,aid:t.id,bvid:t.bvid,coverUrl:t.cover.replace("http:","https:"),favoriteTimestamp:1e3*t.fav_time,favoriteTime:(0,r.formatDate)(new Date(1e3*t.fav_time)),title:t.title,description:t.intro,duration:t.duration,durationText:t.page>1?`${(0,r.formatDuration)(t.duration)} / ${t.page}P`:(0,r.formatDuration)(t.duration),playCount:t.cnt_info.play,danmakuCount:t.cnt_info.danmaku,upName:t.upper.name,upFaceUrl:t.upper.face.replace("http:","https:"),upID:t.upper.mid});const x=Vue.extend({components:{FavoritesFolderSelect:v,VLoading:i.VLoading,VEmpty:i.VEmpty,VIcon:i.VIcon,VButton:i.VButton,TextBox:i.TextBox,DpiImage:i.DpiImage,ScrollTrigger:i.ScrollTrigger},mixins:[g.U],data:()=>({loading:!0,cards:[],filteredCards:[],page:1,hasMorePage:!0,searchPage:1,hasMoreSearchPage:!0,search:"",folder:p}),computed:{searching(){return""!==this.search},moreLink(){const{id:t}=this.folder;return 0===t?`https://space.bilibili.com/${(0,o.getUID)()}/favlist`:`https://space.bilibili.com/${(0,o.getUID)()}/favlist?fid=${t}`},playLink(){const{id:t}=this.folder;if(0!==t)return`https://www.bilibili.com/medialist/play/ml${t}`},canLoadMore(){return this.searching?this.hasMoreSearchPage:this.hasMorePage}},watch:{folder(){this.changeList()},search(t){""!==t?(t=t.toLowerCase(),this.hasMoreSearchPage=!0,this.searchPage=1,this.filteredCards=this.cards.filter((n=>n.title.toLowerCase().includes(t)||n.upName.toLowerCase().includes(t)))):this.filteredCards=this.cards}},methods:{async getCards(){const t=`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`,n=await(0,s.getJsonWithCredentials)(t);if(0!==n.code)throw new Error(`加载收藏夹内容失败: ${n.message}`);return n.data.medias?n.data.medias.filter(f).map(A):[]},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(t){(0,l.logError)(t)}finally{this.loading=!1}},async loadNextPage(){try{this.page++;const t=await this.getCards();this.cards.push(...t),this.hasMorePage=0!==t.length||this.cards.length<this.folder.count}catch(t){(0,l.logError)(t)}},debounceSearchAllList:lodash.debounce((async function(){if(this.searching)try{this.loading=!0;const t=await(0,s.getJsonWithCredentials)(`https://api.bilibili.com/x/v3/fav/resource/list?media_id=${this.folder.id}&pn=${this.searchPage}&ps=20&keyword=${this.search}&order=mtime&type=0&tid=0&platform=web`),n=await(0,s.getJsonWithCredentials)(`https://api.bilibili.com/x/v3/fav/resource/list?media_id=${this.folder.id}&pn=${this.searchPage}&ps=20&keyword=${this.search}&order=mtime&type=1&tid=0&platform=web`);if(0!==t.code&&0!==n.code)return;const e=lodash.get(t,"data.medias",[])||[],a=lodash.get(n,"data.medias",[])||[];this.searchPage++;const i=lodash.uniqBy(this.filteredCards.concat(e.filter(f).map(A),a.filter(f).map(A)),(t=>t.id));this.filteredCards=i;const r=e.length+a.length===0,o=a.length<20;if(r||o)return void(this.hasMoreSearchPage=!1)}catch(t){console.error(t)}finally{this.loading=!1}}),200),scrollTrigger(){this.searching?this.debounceSearchAllList():this.loadNextPage()},getItemPlayLink(t){switch(t.type){default:case 2:return`https://www.bilibili.com/video/${t.bvid}`;case 12:return`https://www.bilibili.com/audio/au${t.id}`}}}});var y=e(6991),w=e.n(y),_=e(5821),C=e.n(_),k={insert:"head",singleton:!1};w()(C(),k);C().locals;const I=(0,h.A)(x,a,[],!1,null,null,null).exports},1635:(t,n,e)=>{"use strict";e.r(n),e.d(n,{default:()=>v});var a=function(){var t=this,n=t._self._c;t._self._setupProxy;return n("div",{staticClass:"navbar-feeds"},[n("TabControl",{ref:"tabControl",attrs:{tabs:t.tabs,"more-link":"https://t.bilibili.com/"},scopedSlots:t._u([{key:"more-link",fn:function(){return[t._v("\n 所有动态\n "),n("VIcon",{attrs:{icon:"feeds",size:18}})]},proxy:!0}])})],1)};a._withStripped=!0;var i=e(1164),r=e(1649),o=e(2930),s=e(891);const l=[{name:"video",displayName:"视频",component:()=>Promise.resolve().then(e.bind(e,2758)).then((t=>t.default)),activeLink:"https://t.bilibili.com/?tab=video",count:0},{name:"bangumi",displayName:"番剧",component:()=>Promise.resolve().then(e.bind(e,7427)).then((t=>t.default)),activeLink:"https://t.bilibili.com/?tab=pgc",count:0},{name:"column",displayName:"专栏",component:()=>Promise.resolve().then(e.bind(e,5271)).then((t=>t.default)),activeLink:"https://t.bilibili.com/?tab=article",count:0},{name:"live",displayName:"直播",component:()=>Promise.resolve().then(e.bind(e,9981)).then((t=>t.default)),activeLink:"https://link.bilibili.com/p/center/index#/user-center/follow/1",count:0}],c=Vue.extend({components:{TabControl:i.TabControl,VIcon:i.VIcon},mixins:[s.U],data:()=>({tabs:l}),mounted(){this.refreshNotifyCount()},methods:{popupShow(){this.item.notifyCount=0},async refreshNotifyCount(){const{tabControl:t}=this.$refs;l.forEach((async n=>{if(t.selectedTab===n)return;if("live"===n.name)return;const e=r.feedsCardTypes[n.name];if(!e.apiType)return;const a=await(0,o.getNotifyCountByType)(e.apiType);n.count=a,console.log(n)}))}}});var p=e(6991),d=e.n(p),u=e(7261),m=e.n(u),h={insert:"head",singleton:!1};d()(m(),h);m().locals;const v=(0,e(8678).A)(c,a,[],!1,null,null,null).exports},7427:(t,n,e)=>{"use strict";e.r(n),e.d(n,{default:()=>v});var a=function(){var t=this,n=t._self._c;t._self._setupProxy;return n("div",{staticClass:"bangumi-feeds"},[t.loading?n("VLoading"):t.loading||0!==t.cards.length?[n("div",{staticClass:"bangumi-feeds-content"},t._l(t.cards,(function(t){return n("BangumiCard",{key:t.id,attrs:{"is-new":t.new,data:t}})})),1),t._v(" "),t.hasMorePage?n("ScrollTrigger",{on:{trigger:function(n){return t.nextPage()}}}):t._e()]:n("VEmpty")],2)};a._withStripped=!0;var i=e(1649),r=e(2930);const o=coreApis.componentApis.feeds.BangumiCard;var s=e.n(o),l=e(4263);const c=Vue.extend({components:{BangumiCard:s()},mixins:[(0,l.I)(i.feedsCardTypes.bangumi,(t=>{const n=lodash.get(t,"modules.module_dynamic.major.pgc"),e=lodash.get(t,"modules.module_author");return{id:t.id_str,title:e.name,coverUrl:e.face,epCoverUrl:n.cover,epTitle:n.title.replace(new RegExp(`^${e.name}`),""),url:n.jump_url,get new(){return(0,r.isNewID)(this.id)}}}))]});var p=e(6991),d=e.n(p),u=e(9226),m=e.n(u),h={insert:"head",singleton:!1};d()(m(),h);m().locals;const v=(0,e(8678).A)(c,a,[],!1,null,null,null).exports},5271:(t,n,e)=>{"use strict";e.r(n),e.d(n,{default:()=>v});var a=function(){var t=this,n=t._self._c;t._self._setupProxy;return n("div",{staticClass:"column-feeds"},[t.loading?n("VLoading"):t.loading||0!==t.cards.length?[n("div",{staticClass:"columns-feeds-content"},t._l(t.cards,(function(t){return n("ColumnCard",{key:t.id,attrs:{"is-new":t.new,data:t}})})),1),t._v(" "),t.hasMorePage?n("ScrollTrigger",{on:{trigger:function(n){return t.nextPage()}}}):t._e()]:n("VEmpty")],2)};a._withStripped=!0;var i=e(1649),r=e(2930);const o=coreApis.componentApis.feeds.ColumnCard;var s=e.n(o),l=e(4263);const c=Vue.extend({components:{ColumnCard:s()},mixins:[(0,l.I)(i.feedsCardTypes.column,(t=>{const n=lodash.get(t,"modules.module_dynamic.major.article"),e=lodash.get(t,"modules.module_author");return{id:t.id_str,cvID:n.id.toString(),title:n.title,upName:e.name,upFaceUrl:e.face,upID:e.mid,description:n.desc,covers:n.covers,originalCovers:n.covers,get new(){return(0,r.isNewID)(this.id)}}}))]});var p=e(6991),d=e.n(p),u=e(7616),m=e.n(u),h={insert:"head",singleton:!1};d()(m(),h);m().locals;const v=(0,e(8678).A)(c,a,[],!1,null,null,null).exports},9981:(t,n,e)=>{"use strict";e.r(n),e.d(n,{default:()=>u});var a=function(){var t=this,n=t._self._c;t._self._setupProxy;return n("div",{staticClass:"live-feeds"},[t.loading?n("VLoading"):t.loading||0!==t.cards.length?t._e():n("VEmpty"),t._v(" "),n("transition-group",{staticClass:"live-feeds-content",attrs:{name:"cards",tag:"div"}},t._l(t.cards,(function(e){return n("a",{key:e.id,staticClass:"live-card",attrs:{target:"_blank",href:e.url}},[n("div",{staticClass:"face-container"},[n("DpiImage",{staticClass:"face",attrs:{size:48,src:e.upFaceUrl}})],1),t._v(" "),n("div",{staticClass:"live-info"},[n("div",{staticClass:"live-title",attrs:{title:e.title}},[t._v(t._s(e.title))]),t._v(" "),n("div",{staticClass:"live-name",attrs:{title:e.upName}},[t._v(t._s(e.upName))])])])})),0)],1)};a._withStripped=!0;var i=e(1164),r=e(416);const o=Vue.extend({components:{VLoading:i.VLoading,VEmpty:i.VEmpty,DpiImage:i.DpiImage},data:()=>({loading:!0,rawItems:[],hasMorePage:!0}),computed:{cards(){return this.rawItems.map((t=>({id:t.roomid,title:t.title,upFaceUrl:t.face,upName:t.uname,url:t.link})))}},async created(){const[t]=(0,r.responsiveGetPages)({api:t=>(0,r.getJsonWithCredentials)(`https://api.live.bilibili.com/relation/v1/feed/feed_list?page=${t}&pagesize=24`),getList:t=>lodash.get(t,"data.list",[]),getTotal:t=>lodash.get(t,"data.results",0)});this.rawItems=await t,this.loading=!1}});var s=e(6991),l=e.n(s),c=e(4373),p=e.n(c),d={insert:"head",singleton:!1};l()(p(),d);p().locals;const u=(0,e(8678).A)(o,a,[],!1,null,null,null).exports},2758:(t,n,e)=>{"use strict";e.r(n),e.d(n,{default:()=>f});var a=function(){var t=this,n=t._self._c;t._self._setupProxy;return n("div",{staticClass:"video-feeds"},[t.loading?n("VLoading"):t.loading||0!==t.cards.length?[n("div",{staticClass:"video-feeds-content"},[n("transition-group",{staticClass:"left-column",attrs:{name:"cards",tag:"div"}},t._l(t.columnedCards.left,(function(t){return n("VideoCard",{key:t.id,attrs:{orientation:"vertical","is-new":t.new,"show-stats":!1,data:t}})})),1),t._v(" "),n("transition-group",{staticClass:"right-column",attrs:{name:"cards",tag:"div"}},t._l(t.columnedCards.right,(function(t){return n("VideoCard",{key:t.id,attrs:{orientation:"vertical","is-new":t.new,"show-stats":!1,data:t}})})),1)],1),t._v(" "),t.hasMorePage?n("ScrollTrigger",{on:{trigger:function(n){return t.nextPage()}}}):t._e()]:n("VEmpty")],2)};a._withStripped=!0;var i=e(2082),r=e(2930),o=e(1649);const s=coreApis.componentApis.feeds.VideoCard;var l=e.n(s),c=e(4263);const p=t=>{const n=Number(new Date),e=new Date(t),a=[e.getHours(),e.getMinutes(),e.getSeconds()].map((t=>t.toString().padStart(2,"0"))).join(":");let i;return i=new Date(n).getFullYear()!==e.getFullYear()?[e.getFullYear(),e.getMonth()+1,e.getDate()]:[e.getMonth()+1,e.getDate()],`${i.map((t=>t.toString().padStart(2,"0"))).join("-")} ${a}`},d=t=>{const n=Number(new Date);if(n-864e5<t){const e=Math.round((n-t)/1e3/3600);if(0===e){const e=Math.round((n-t)/1e3/60);return 0===e?"刚刚":`${e}分钟前`}return`${e}小时前`}const e=new Date(t);let a;return a=new Date(n).getFullYear()!==e.getFullYear()?[e.getFullYear(),e.getMonth()+1,e.getDate()]:[e.getMonth()+1,e.getDate()],`${a.map((t=>t.toString().padStart(2,"0"))).join("-")}`},u=Vue.extend({components:{VideoCard:l()},mixins:[(0,c.I)(o.feedsCardTypes.video,(t=>{const n=lodash.get(t,"modules.module_dynamic.major.archive"),e=lodash.get(t,"modules.module_author");return{id:t.id_str,aid:parseInt(n.aid),bvid:n.bvid,videoUrl:`https://www.bilibili.com/${n.bvid}`,coverUrl:n.cover,title:n.title,duration:(0,i.parseDuration)(n.duration_text),durationText:(0,i.formatDuration)((0,i.parseDuration)(n.duration_text)),description:n.desc,pubTime:p(1e3*e.pub_ts),pubTimeText:d(1e3*e.pub_ts),upFaceUrl:e.face,upName:e.name,upID:e.mid,watchlater:!0,playCount:(0,i.formatCount)((0,i.parseCount)(n.stat.play)),get new(){return(0,r.isNewID)(this.id)}}}))],computed:{columnedCards(){const{cards:t}=this;return{left:t.filter(((t,n)=>n%2==0)),right:t.filter(((t,n)=>n%2!=0))}}},methods:{onCardsUpdate:t=>(0,o.groupVideoFeeds)(t)}});var m=e(6991),h=e.n(m),v=e(9328),g=e.n(v),b={insert:"head",singleton:!1};h()(g(),b);g().locals;const f=(0,e(8678).A)(u,a,[],!1,null,"d3e1a0c0",null).exports},5468:(t,n,e)=>{"use strict";e.r(n),e.d(n,{default:()=>h});var a=function(){var t=this,n=t._self._c,e=t._self._setupProxy;return n("div",{staticClass:"custom-navbar-games-popup"},[e.loading?n("div",{staticClass:"loading-container"},[n(e.VLoading)],1):t._e(),t._v(" "),e.gameInfo?n("div",{staticClass:"custom-navbar-games-panel"},[n("div",{staticClass:"custom-navbar-games-left-panel"},[n("a",{staticClass:"banner-game-card",attrs:{href:e.gameInfo.banner.href,title:e.gameInfo.banner.title}},[n("img",{attrs:{src:e.gameInfo.banner.poster,alt:e.gameInfo.banner.title}}),t._v(" "),n("div",{staticClass:"banner-game-card-title"},[t._v("\n "+t._s(e.gameInfo.banner.title)+"\n ")])]),t._v(" "),n("div",{staticClass:"panel-game-cards"},t._l(e.gameInfo.panel,(function(e){return n("a",{key:e.href,staticClass:"panel-game-card",attrs:{href:e.href,title:e.title}},[n("img",{attrs:{src:e.poster,alt:e.title}}),t._v(" "),n("div",{staticClass:"panel-game-card-title"},[t._v("\n "+t._s(e.title)+"\n ")])])})),0)]),t._v(" "),n("div",{staticClass:"custom-navbar-games-panel-separator"}),t._v(" "),n("div",{staticClass:"custom-navbar-games-right-panel"},[n("div",{staticClass:"list-game-cards-title"},[t._v("新游预告")]),t._v(" "),n("div",{staticClass:"list-game-cards"},t._l(e.gameInfo.list.slice(0,8),(function(e){return n("a",{key:e.href,staticClass:"list-game-card",attrs:{href:e.href,title:e.title}},[t._v("\n "+t._s(e.title)+"\n ")])})),0)])]):t._e()])};a._withStripped=!0;var i=e(2259),r=e(1164),o=e(416),s=e(891);const l=(0,i.defineComponent)({__name:"GamesPopup",props:{item:null,container:null},setup(t,n){let{expose:e}=n;const a=t,l=(0,s.E)(a),c=(0,i.ref)(void 0),p=(0,i.ref)(!0),d=async()=>{if(void 0!==c.value)return;const t=await(0,o.bilibiliApi)((0,o.getJson)("https://le3-api.game.bilibili.com/pc/game/nav/info"));c.value=t,p.value=!1};return e({popupShow(){l.popupShow(),d()}}),{__sfc:!0,props:a,popper:l,gameInfo:c,loading:p,loadGameInfo:d,VLoading:r.VLoading}}});var c=e(6991),p=e.n(c),d=e(8508),u=e.n(d),m={insert:"head",singleton:!1};p()(u(),m);u().locals;const h=(0,e(8678).A)(l,a,[],!1,null,null,null).exports},1314:(t,n,e)=>{"use strict";e.r(n),e.d(n,{default:()=>y});var a=function(){var t=this,n=t._self._c;t._self._setupProxy;return n("div",{staticClass:"custom-navbar-history-list"},[n("div",{staticClass:"header"},[n("div",{staticClass:"header-row"},[n("div",{staticClass:"search"},[n("TextBox",{attrs:{placeholder:"搜索",linear:""},model:{value:t.search,callback:function(n){t.search=n},expression:"search"}})],1),t._v(" "),n("div",{staticClass:"operations"},[n("div",{staticClass:"operation"},[n("VButton",{attrs:{title:"刷新",round:""},on:{click:function(n){return t.reloadHistoryItems()}}},[n("VIcon",{attrs:{icon:"mdi-refresh",size:16}})],1)],1),t._v(" "),n("div",{staticClass:"operation",on:{click:t.toggleHistoryPause}},[t.paused?n("VButton",{attrs:{title:"继续记录历史",round:""}},[n("VIcon",{attrs:{icon:"mdi-play",size:14}})],1):n("VButton",{attrs:{title:"暂停记录历史",round:""}},[n("VIcon",{attrs:{icon:"mdi-pause",size:14}})],1)],1),t._v(" "),n("a",{staticClass:"operation",attrs:{target:"_blank",href:"https://www.bilibili.com/history"}},[n("VButton",{attrs:{title:"查看更多",round:""}},[n("VIcon",{attrs:{icon:"mdi-dots-horizontal",size:18}})],1)],1)])]),t._v(" "),n("div",{staticClass:"header-row"},[n("div",{staticClass:"row-title"},[t._v("过滤:")]),t._v(" "),n("div",{staticClass:"type-filters"},t._l(t.types,(function(e){return n("div",{key:e.name,staticClass:"type-filter"},[n("RadioButton",{class:{checked:e.checked},attrs:{checked:e.checked,disabled:t.loading},on:{change:function(n){return t.toggleTypeFilter(e)}}},[t._v("\n "+t._s(e.displayName)+"\n ")])],1)})),0)])]),t._v(" "),n("div",{staticClass:"content"},[t.loading?n("VLoading"):t.loading||0!==t.groups.length?n("transition-group",{staticClass:"cards",attrs:{name:"cards",tag:"div"}},[t._l(t.groups,(function(e){return n("div",{key:e.name,staticClass:"time-group"},[n("div",{staticClass:"time-group-name"},[t._v("\n "+t._s(e.name)+"\n ")]),t._v(" "),n("transition-group",{staticClass:"time-group-items",attrs:{name:"time-group",tag:"div"}},t._l(e.items,(function(e){return n("div",{key:e.id,staticClass:"time-group-item"},[n("a",{staticClass:"history-cover-container",attrs:{target:"_blank",href:e.url}},[n("DpiImage",{staticClass:"cover",attrs:{src:e.cover,size:{width:160,height:110},"placeholder-image":""}}),t._v(" "),e.progress?n("div",{staticClass:"progress",style:{width:100*e.progress+"%"}}):t._e(),t._v(" "),void 0!==e.pages&&e.pages>1?n("div",{staticClass:"floating pages"},[t._v("\n "+t._s(e.page)+"P / "+t._s(e.pages)+"P\n ")]):t._e()],1),t._v(" "),n("a",{staticClass:"title",attrs:{target:"_blank",href:e.url,title:e.title}},[t._v(t._s(e.title||e.upName+"的直播间"))]),t._v(" "),n("a",{staticClass:"up",attrs:{target:"_blank",href:"pgc"===e.type?e.url:"https://space.bilibili.com/"+e.upID,title:e.upName}},[e.upFaceUrl?n("DpiImage",{staticClass:"up-face",attrs:{size:18,src:e.upFaceUrl}}):t._e(),t._v(" "),n("div",{staticClass:"up-name"},[t._v(t._s(e.upName))])],1),t._v(" "),n("div",{staticClass:"history-info"},[e.progressText?n("div",{staticClass:"progress-number"},[t._v("\n "+t._s(e.progress>=.95?"已看完":e.progressText)+"\n ")]):t._e(),t._v(" "),void 0!==e.liveStatus?n("div",{staticClass:"duration live-status",class:{on:1===e.liveStatus}},[t._v("\n "+t._s(1===e.liveStatus?"直播中":"未开播")+"\n ")]):t._e(),t._v(" "),e.progressText||void 0!==e.liveStatus?n("span",{staticClass:"history-info-separator"},[t._v("|")]):t._e(),t._v(" "),e.timeText?n("div",{staticClass:"time",attrs:{title:new Date(e.viewAt).toLocaleString()}},[t._v("\n "+t._s(e.timeText)+"\n ")]):t._e()])])})),0)],1)})),t._v(" "),t.canNextPage?n("ScrollTrigger",{key:"scroll-trigger",on:{trigger:function(n){return t.nextPage()}}}):t._e()],2):n("VEmpty")],1)])};a._withStripped=!0;var i=e(416),r=e(7847),o=e(2007),s=e(1164),l=e(891),c=e(2082);let p=function(t){return t.All="all",t.Video="archive",t.Live="live",t.Article="article",t.Bangumi="pgc",t.Cheese="cheese",t}({});const d=[{name:p.All,displayName:"全部",icon:"",checked:!0,apiType:""},{name:p.Video,displayName:"视频",icon:"mdi-play-circle-outline",checked:!1,apiType:"archive"},{name:p.Bangumi,displayName:"番剧",icon:"mdi-television-classic",checked:!1,apiType:"archive"},{name:p.Live,displayName:"直播",icon:"mdi-video-wireless-outline",checked:!1,apiType:"live"},{name:p.Article,displayName:"专栏",icon:"mdi-newspaper-variant-outline",checked:!1,apiType:"article"}],u=()=>{const t=new Date,n=Number(new Date(t.getFullYear(),t.getMonth(),t.getDate())),e=864e5;return{now:t,today:n,oneDay:e,yesterday:n-e,lastWeek:n-7*e}},m=t=>{const{yesterday:n,today:e}=u(),a=Number(t);return a>=n?`${a>=e?"今天":"昨天"} ${t.getHours().toString().padStart(2,"0")}:${t.getMinutes().toString().padStart(2,"0")}`:`${(t.getMonth()+1).toString().padStart(2,"0")}-${t.getDate().toString().padStart(2,"0")} ${t.getHours().toString().padStart(2,"0")}:${t.getMinutes().toString().padStart(2,"0")}`},h=t=>{t.history.business===p.Article&&(t.history.cid=t.history.oid);const{epid:n,bvid:e,cid:a,oid:i,page:r}=t.history,o=t.progress>0?`t=${t.progress}`:"t=0",s=-1===t.progress?1:t.progress/t.duration,l=t=>t.replace("http:","https:"),d=new Date(1e3*t.view_at),u=t.cover?l(t.cover):t.covers?l(t.covers[0]):"",h={title:t.title,viewAt:1e3*t.view_at,time:d,timeText:m(d),cover:u,covers:t.covers?.map(l)??[],progress:s,progressText:Number.isNaN(s)?null:`${(0,c.formatDuration)(t.progress)} / ${(0,c.formatDuration)(t.duration)}`,duration:t.duration,durationText:t.duration?(0,c.formatDuration)(t.duration):null,upName:t.author_name,upFaceUrl:l(t.author_face),upID:t.author_mid};if(t.history.business===p.Cheese)return{...h,id:i,upName:t.title,title:t.show_title,url:t.uri,type:p.Video};if(n)return{...h,id:n,url:`https://www.bilibili.com/bangumi/play/ep${n}?${o}`,title:t.show_title||t.title,upName:t.title,type:p.Bangumi};if(e)return{...h,id:e,url:`https://www.bilibili.com/video/${e}?p=${t.history.page}&${o}`,type:p.Video,page:r,pages:t.videos};if(a)return{...h,id:a,url:`https://www.bilibili.com/read/cv${a}`,type:p.Article};if(i)return{...h,id:i,url:`https://live.bilibili.com/${i}`,liveStatus:t.live_status,type:p.Live};throw console.error("unknown history item type",t),new Error("未知的历史项目类型")},v=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:[l.U],data:()=>({types:d,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(t){d.forEach((n=>n.checked=n.name===t.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(t){return!(!d.find((t=>t.name===p.All)).checked&&d.some((n=>n.name===t.type&&!n.checked)))&&!(!t.title.toLowerCase().includes(this.search.toLowerCase())&&!t.upName.toLowerCase().includes(this.search.toLowerCase()))},updateGroups(){this.groups=(t=>{if(0===t.length)return[];const{today:n,yesterday:e,lastWeek:a}=u(),i=lodash.groupBy(t,(t=>t.viewAt>=n?"今天":t.viewAt>=e?"昨天":t.viewAt>=a?"本周":"更早"));return Object.entries(i).map((t=>{let[n,e]=t;return{name:n,items:e}}))})(this.cards.filter(this.filterFunc))},async nextPage(){const t=await(async(t,n)=>{const e=new URLSearchParams;t&&e.set("view_at",Math.round(t/1e3).toString()),e.set("type",n?.apiType??"");const{list:a}=await(0,i.bilibiliApi)((0,i.getJsonWithCredentials)(`https://api.bilibili.com/x/web-interface/history/cursor?${e.toString()}`),"获取历史记录失败");return Array.isArray(a)?a.map(h).filter((t=>null!==t&&(!n||n.name===p.All||t.type===n.name))):[]})(this.viewTime,d.find((t=>t.checked))),n=lodash.uniqBy(this.cards.concat(t).sort((0,o.descendingSort)((t=>t.viewAt))),(t=>t.id));this.cards=n,this.updateGroups(),n.length>0&&(this.viewTime=lodash.last(n).viewAt),this.hasMorePage=0!==t.length,this.hasMorePage&&0===this.groups.length&&await this.nextPage()},async updateHistoryPauseState(){const t=await(0,i.bilibiliApi)((0,i.getJsonWithCredentials)("https://api.bilibili.com/x/v2/history/shadow"));this.paused=!0===t},async toggleHistoryPause(){const t=!this.paused;try{this.paused=t,await(0,i.postTextWithCredentials)("https://api.bilibili.com/x/v2/history/shadow/set",new URLSearchParams({csrf:(0,r.getCsrf)(),switch:t.toString()}).toString())}catch(n){this.paused=!t}}}});var g=e(6991),b=e.n(g),f=e(4764),A=e.n(f),x={insert:"head",singleton:!1};b()(A(),x);A().locals;const y=(0,e(8678).A)(v,a,[],!1,null,null,null).exports},2821:(t,n,e)=>{"use strict";e.r(n),e.d(n,{default:()=>h});var a=function(){var t=this,n=t._self._c;t._self._setupProxy;return n("div",{staticClass:"home-popup",attrs:{role:"list"}},t._l(Object.entries(t.categories),(function([e,a]){return n("div",{key:e,staticClass:"category-item",class:{main:null!==a.code},attrs:{role:"listitem"}},[n("a",{attrs:{href:a.link,target:"_blank"}},[n("svg",{attrs:{"aria-hidden":"true"}},[n("use",{attrs:{href:"#header-icon-"+a.icon,"xlink:href":"#header-icon-"+a.icon}})]),t._v(" "),n("div",{staticClass:"name"},[t._v(t._s(e))]),t._v(" "),n("span",{staticClass:"count"},[null!==a.count?[t._v(t._s(a.count))]:t._e()],2)]),t._v(" "),a.subCategories?n("div",{staticClass:"sub-regions-popup popup"},t._l(Object.entries(a.subCategories),(function([e,a]){return n("a",{key:e,staticClass:"sub-region",attrs:{href:a,target:"_blank"}},[t._v(t._s(e))])})),0):t._e()])})),0)};a._withStripped=!0;var i=e(8217),r=e(891);const o=lodash.cloneDeep(i.categories);Object.values(o).forEach((t=>{t.count=null}));let s=!1;const l=Vue.extend({mixins:[r.U],data:()=>({categories:o}),async created(){if(s)return;s=!0;const{bilibiliApi:t,getJson:n}=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:i={}}=await t(n("https://api.bilibili.com/x/web-interface/online"),"[自定义顶栏] 分区投稿信息获取失败");Object.values(this.categories).forEach((t=>{t.code&&(Array.isArray(t.code)?t.count=lodash.sum(t.code.map((t=>i[t]))):t.count=i[t.code])}))},mounted(){this.$el.style.maxHeight="inherit",this.$nextTick((()=>{this.$el.style.maxHeight=""}))}});var c=e(6991),p=e.n(c),d=e(3329),u=e.n(d),m={insert:"head",singleton:!1};p()(u(),m);u().locals;const h=(0,e(8678).A)(l,a,[],!1,null,null,null).exports},1289:(t,n,e)=>{"use strict";e.r(n),e.d(n,{default:()=>m});var a=function(){var t=this,n=t._self._c;t._self._setupProxy;return n("div",{staticClass:"custom-navbar-logo-container"},[t.seasonLogoUrl?n("div",{staticClass:"custom-navbar-logo season",style:{backgroundImage:`url(${t.seasonLogoUrl})`}}):n("VIcon",{staticClass:"custom-navbar-logo",class:{theme:t.useThemeColor},attrs:{icon:"logo"}})],1)};a._withStripped=!0;var i=e(4905),r=e(416),o=e(1164);const s=Vue.extend({name:"NavbarLogo",components:{VIcon:o.VIcon},data:()=>({seasonLogoUrl:"",useThemeColor:!0}),watch:{seasonLogoUrl(){document.body.classList.toggle("season-logo-enabled",Boolean(this.seasonLogoUrl))}},async created(){(0,i.addComponentListener)("customNavbar.seasonLogo",(async t=>{if(!t)return void(this.seasonLogoUrl="");const n=await(0,r.getJson)("https://api.bilibili.com/x/web-show/page/header?resource_id=1");0===n.code?this.seasonLogoUrl=lodash.get(n,"data.litpic","").replace("http:","https:"):this.seasonLogoUrl=""}),!0),(0,i.addComponentListener)("customNavbar.themeLogo",(async t=>{this.useThemeColor=t}),!0)}});var l=e(6991),c=e.n(l),p=e(5317),d=e.n(p),u={insert:"head",singleton:!1};c()(d(),u);d().locals;const m=(0,e(8678).A)(s,a,[],!1,null,null,null).exports},5047:(t,n,e)=>{"use strict";e.r(n),e.d(n,{default:()=>h});var a=function(){var t=this,n=t._self._c,e=t._self._setupProxy;return n("div",{staticClass:"custom-navbar-manga-popup"},[e.loading?n("div",{staticClass:"loading-container"},[n(e.VLoading)],1):t._e(),t._v(" "),e.loading?t._e():n("div",{staticClass:"custom-navbar-manga-panel"},[n("div",{staticClass:"custom-navbar-manga-left-panel"},t._l(e.recommendItems,(function(e){return n("a",{key:e.season_id,staticClass:"recommend-manga-card",attrs:{href:"https://manga.bilibili.com/detail/mc"+e.season_id}},[n("div",{staticClass:"recommend-manga-card-image"},[n("img",{attrs:{src:e.horizontal_cover+"@300w.jpg",alt:e.title}})]),t._v(" "),n("div",{staticClass:"recommend-manga-card-title",attrs:{title:e.title}},[t._v(t._s(e.title))])])})),0),t._v(" "),n("div",{staticClass:"custom-navbar-manga-panel-separator"}),t._v(" "),n("div",{staticClass:"custom-navbar-manga-right-panel"},[n("div",{staticClass:"custom-navbar-manga-hot-title"},[t._v("人气漫画")]),t._v(" "),n("div",{staticClass:"custom-navbar-manga-hot-list"},t._l(e.hotItems.slice(0,7),(function(a){return n("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(t){e.previewCard=a},mouseleave:function(t){e.previewCard=void 0}}},[n("div",{staticClass:"hot-manga-card-title"},[t._v("\n "+t._s(a.title)+"\n ")])])})),0),t._v(" "),e.previewCard?n("div",{staticClass:"hot-manga-card-preview"},[n("img",{attrs:{src:e.previewCard.vertical_cover+"@450h.jpg",alt:e.previewCard.title}})]):t._e()])])])};a._withStripped=!0;var i=e(2259),r=e(1164),o=e(416),s=e(891);const l=(0,i.defineComponent)({__name:"MangaPopup",props:{item:null,container:null},setup(t,n){let{expose:e}=n;const a=t,l=(0,s.E)(a),c=(0,i.ref)(!0),p=(0,i.ref)(void 0),d=(0,i.ref)(void 0),u=(0,i.ref)(void 0),m=async()=>{void 0===p.value&&(p.value=await(0,o.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((t=>t.json()))))},h=async()=>{void 0===d.value&&(d.value=await(0,o.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((t=>t.json()))))},v=async()=>{await Promise.all([m(),h()]),c.value=!1};return e({popupShow(){l.popupShow(),v()}}),{__sfc:!0,props:a,popper:l,loading:c,recommendItems:p,hotItems:d,previewCard:u,loadRecommendItems:m,loadHotItems:h,loadMangaInfo:v,VLoading:r.VLoading}}});var c=e(6991),p=e.n(c),d=e(196),u=e.n(d),m={insert:"head",singleton:!1};p()(u(),m);u().locals;const h=(0,e(8678).A)(l,a,[],!1,null,null,null).exports},1776:(t,n,e)=>{"use strict";e.r(n),e.d(n,{default:()=>b});var a=function(){var t=this,n=t._self._c,e=t._self._setupProxy;return n("div",{staticClass:"custom-navbar-match-popup"},[e.loading?n("div",{staticClass:"loading-container"},[n(e.VLoading)],1):t._e(),t._v(" "),e.loading?t._e():n("div",{staticClass:"custom-navbar-match-panel"},[n("div",{staticClass:"custom-navbar-match-left-panel"},t._l(e.bannerItems,(function(t){return n("a",{key:t.jump_url,staticClass:"banner-match-card",attrs:{href:t.jump_url}},[n("img",{attrs:{src:t.cover}})])})),0),t._v(" "),n("div",{staticClass:"custom-navbar-match-panel-separator"}),t._v(" "),n("div",{staticClass:"custom-navbar-match-right-panel"},[n("div",{staticClass:"hot-match-list"},[n("div",{staticClass:"hot-match-list-title"},[t._v("热门赛事")]),t._v(" "),t._l(e.hotItems,(function(a){return n("a",{key:a.jump_url,staticClass:"hot-match-card",attrs:{href:a.jump_url,title:a.name}},[n("div",{staticClass:"hot-match-card-status",class:{"in-progress":a.status===e.MatchHotItemStatus.InProgress}},[a.status===e.MatchHotItemStatus.NotStarted?[t._v("未开始")]:t._e(),t._v(" "),a.status===e.MatchHotItemStatus.InProgress?[t._v("进行中")]:t._e(),t._v(" "),a.status===e.MatchHotItemStatus.Finished?[t._v("已结束")]:t._e()],2),t._v(" "),n("div",{staticClass:"hot-match-card-title"},[t._v("\n "+t._s(a.name)+"\n ")])])}))],2),t._v(" "),n("div",{staticClass:"preview-match-list"},[n("div",{staticClass:"preview-match-list-title"},[t._v("精彩预告")]),t._v(" "),t._l(e.previewItems,(function(a){return n("a",{key:a.jump_url,staticClass:"preview-match-card",attrs:{href:a.jump_url,title:a.name}},[n("div",{staticClass:"preview-match-date"},[t._v(t._s(a.stime))]),t._v(" "),n("div",{staticClass:"preview-match-title"},[t._v(t._s(a.name))]),t._v(" "),n(e.VButton,{staticClass:"preview-match-subscribe",attrs:{type:0===a.fav_status?"primary":"light"},on:{click:function(t){return t.preventDefault(),e.toggleSubscribe(a)}}},[t._v("\n "+t._s(0===a.fav_status?"订阅":"已订阅")+"\n ")])],1)}))],2)])])])};a._withStripped=!0;var i=e(2259),r=e(1164),o=e(416),s=e(891);let l=function(t){return t[t.NotStarted=1]="NotStarted",t[t.InProgress=2]="InProgress",t[t.Finished=3]="Finished",t}({});var c=e(7847),p=e(765);const d=(0,i.defineComponent)({__name:"MatchPopup",props:{item:null,container:null},setup(t,n){let{expose:e}=n;const a=t,d=(0,s.E)(a),u=(0,i.ref)(!0),m=(0,i.ref)(void 0),h=(0,i.computed)((()=>m.value?.banner)),v=(0,i.computed)((()=>m.value?.hot)),g=(0,i.computed)((()=>m.value?.preview)),b=async()=>{m.value=(0,i.reactive)(await(0,o.bilibiliApi)((0,o.getJsonWithCredentials)("https://api.bilibili.com/x/web-interface/nav/game"))),u.value=!1};return e({popupShow(){d.popupShow(),b()}}),{__sfc:!0,props:a,popper:d,loading:u,matchInfo:m,bannerItems:h,hotItems:v,previewItems:g,loadMatchInfo:b,toggleSubscribe:async t=>{const n=0!==t.fav_status;try{await(0,o.postTextWithCredentials)(n?"https://api.bilibili.com/x/esports/fav/del":"https://api.bilibili.com/x/esports/fav/add",new URLSearchParams({cid:t.cid.toString(),csrf:(0,c.getCsrf)()}).toString()),t.fav_status=n?0:1}catch(t){(0,p.logError)(t)}},VLoading:r.VLoading,VButton:r.VButton,MatchHotItemStatus:l}}});var u=e(6991),m=e.n(u),h=e(2202),v=e.n(h),g={insert:"head",singleton:!1};m()(v(),g);v().locals;const b=(0,e(8678).A)(d,a,[],!1,null,null,null).exports},4824:(t,n,e)=>{"use strict";e.r(n),e.d(n,{default:()=>m});var a=function(){var t=this,n=t._self._c;t._self._setupProxy;return n("div",{staticClass:"messages-popup",attrs:{role:"list"}},t._l(t.entries,(function(e){return n("div",{key:e.name,staticClass:"message-entry",attrs:{role:"listitem"}},[n("a",{attrs:{"data-prop":e.prop,target:"_blank",href:e.href,"data-count":e.count||null},on:{click:function(n){return t.clearCount(e)}}},[t._v(t._s(e.name))])])})),0)};a._withStripped=!0;var i=e(416),r=e(891);const o=[{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:o.map((t=>(t.count=0,t))),settings:{notify:!0,hideNotFollowedCount:!1,json:{}}}),async created(){await this.fetchSettings(),this.notify()},methods:{popupRefresh(){this.notify()},async fetchSettings(){const t=await(0,i.getJsonWithCredentials)("https://api.vc.bilibili.com/link_setting/v1/link_setting/get?msg_notify=1&show_unfollowed_msg=1");0===t.code&&(this.settings={notify:3!==t.data.msg_notify,hideNotFollowedCount:1===t.data.show_unfollowed_msg,json:t.data})},async notify(){if(!this.settings.notify)return;const[t,n]=await Promise.all([(0,i.getJsonWithCredentials)("https://api.bilibili.com/x/msgfeed/unread"),(0,i.getJsonWithCredentials)("https://api.vc.bilibili.com/session_svr/v1/session_svr/single_unread")]);t.data.user_msg=n.data.follow_unread||0,this.settings.hideNotFollowedCount||(t.data.user_msg+=n.data.unfollow_unread||0),this.item.notifyCount=o.reduce(((n,e)=>n+(e.prop?t.data[e.prop]:0)),0),this.item.notifyCount&&(console.log(o),o.forEach((n=>{if(!n.prop)return;const e=t.data[n.prop];console.log(n.prop,n.count,e),e>0&&(n.count=e)})))},clearCount(t){this.item.notifyCount-=t.count,t.count=0}}});var l=e(6991),c=e.n(l),p=e(7569),d=e.n(p),u={insert:"head",singleton:!1};c()(d(),u);d().locals;const m=(0,e(8678).A)(s,a,[],!1,null,"38cbdbce",null).exports},4802:(t,n,e)=>{"use strict";e.r(n),e.d(n,{default:()=>u});var a=function(){var t=this,n=t._self._c;t._self._setupProxy;return n("div",{staticClass:"ranking-popup",attrs:{role:"list"}},t._l(t.entries,(function(e){return n("div",{key:e.name,staticClass:"ranking-entry",attrs:{role:"listitem"}},[n("a",{attrs:{target:"_blank",href:e.href}},[t._v(t._s(e.name))])])})),0)};a._withStripped=!0;var i=e(891);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:"全站音乐榜"}],o=Vue.extend({name:"RankingPopup",mixins:[i.U],data:()=>({entries:r})});var s=e(6991),l=e.n(s),c=e(1599),p=e.n(c),d={insert:"head",singleton:!1};l()(p(),d);p().locals;const u=(0,e(8678).A)(o,a,[],!1,null,"dbcac2e2",null).exports},1092:(t,n,e)=>{"use strict";e.r(n),e.d(n,{default:()=>u});var a=function(){var t=this._self._c;this._self._setupProxy;return t("div",{staticClass:"custom-navbar-search"},[t("LaunchBar")],1)};a._withStripped=!0;const i=coreApis.componentApis.launchBar.LaunchBar;var r=e.n(i);const o=Vue.extend({components:{LaunchBar:r()}});var s=e(6991),l=e.n(s),c=e(890),p=e.n(c),d={insert:"head",singleton:!1};l()(p(),d);p().locals;const u=(0,e(8678).A)(o,a,[],!1,null,null,null).exports},2167:(t,n,e)=>{"use strict";e.r(n),e.d(n,{default:()=>u});var a=function(){var t=this,n=t._self._c;t._self._setupProxy;return n("div",{staticClass:"custom-navbar-extra-options"},[n("VButton",{ref:"button",on:{mouseover:function(n){return t.loadNavbarSettings()},click:function(n){return t.toggleNavbarSettings()}}},[t._v("\n 布局设置"),n("VIcon",{attrs:{icon:"right-arrow",size:16}})],1)],1)};a._withStripped=!0;var i=e(1164),r=e(9642);const o=Vue.extend({components:{VIcon:i.VIcon,VButton:i.VButton},methods:{async loadNavbarSettings(){if(await(0,r.w)()){const t=this.$refs.button.$el;(0,r.D)(t)}},toggleNavbarSettings:r.toggleNavbarSettings}});var s=e(6991),l=e.n(s),c=e(5750),p=e.n(c),d={insert:"head",singleton:!1};l()(p(),d);p().locals;const u=(0,e(8678).A)(o,a,[],!1,null,null,null).exports},8435:(t,n,e)=>{"use strict";e.r(n),e.d(n,{default:()=>A});var a=function(){var t=this,n=t._self._c;t._self._setupProxy;return n("VPopup",{ref:"popup",staticClass:"custom-navbar-settings",attrs:{fixed:"",lazy:!1,"trigger-element":t.triggerElement},model:{value:t.open,callback:function(n){t.open=n},expression:"open"}},[n("div",{staticClass:"navbar-settings-header"},[n("VIcon",{staticClass:"title-icon",attrs:{icon:"mdi-sort",size:24}}),t._v(" "),n("div",{staticClass:"title"},[t._v("顶栏布局设置")]),t._v(" "),n("div",{staticClass:"grow"}),t._v(" "),n("div",{staticClass:"close",on:{click:function(n){t.open=!1}}},[n("VIcon",{attrs:{icon:"close",size:18}})],1)],1),t._v(" "),n("div",{staticClass:"navbar-settings-content"},[n("div",{staticClass:"navbar-settings-section"},[n("div",{staticClass:"navbar-settings-section-title"},[t._v("边缘间距")]),t._v(" "),n("div",{staticClass:"navbar-settings-section-description"},[t._v("\n 设定两侧边缘处的间距, 单位为百分比, 100%为整个顶栏的宽度.\n "),n("br"),t._v("空间不足时, 实际呈现的间距会自动缩小.\n ")]),t._v(" "),n("div",{staticClass:"navbar-settings-section-content",on:{mouseover:function(n){return t.peekPadding(!0)},mouseout:function(n){return t.peekPadding(!1)}}},[n("VSlider",{attrs:{min:0,max:40,step:.5},model:{value:t.padding,callback:function(n){t.padding=n},expression:"padding"}}),t._v(" "),n("div",{staticClass:"padding-value"},[t._v(t._s(t.padding.toFixed(1))+"%")])],1)]),t._v(" "),t.isLogin?n("div",{staticClass:"navbar-settings-section"},[n("div",{staticClass:"navbar-settings-section-title"},[t._v("元素呈现")]),t._v(" "),n("div",{staticClass:"navbar-settings-section-description"},[t._v("\n 按住并拖动可以调整顺序, 点击眼睛图标可以切换隐藏/显示.\n ")]),t._v(" "),t.loaded?t._e():n("VLoading"),t._v(" "),n("div",{directives:[{name:"show",rawName:"v-show",value:t.loaded,expression:"loaded"}],ref:"navbarSortList",staticClass:"navbar-settings-section-content navbar-sort-list"},t._l(t.rendered.items,(function(e){return n("div",{key:e.name,staticClass:"navbar-sort-item",class:{"navbar-hidden":e.hidden},attrs:{"data-name":e.name},on:{mouseover:function(n){return t.peekItem(e,!0)},mouseout:function(n){return t.peekItem(e,!1)}}},[n("div",{staticClass:"item-name"},[t._v("\n "+t._s(e.displayName)+"\n ")]),t._v(" "),n("div",{staticClass:"toggle-visible"},[n("VIcon",{attrs:{size:18,icon:e.hidden?"mdi-eye-off-outline":"mdi-eye-outline"},on:{click:function(n){return t.toggleVisible(e)}}})],1)])})),0)],1):t._e()])])};a._withStripped=!0;var i=e(1164),r=e(4905),o=e(7847);const s=coreApis.runtimeLibrary;var l=e(322),c=e(5282);const p=t=>{t.forEach(((t,n)=>{t.order!==n&&(t.order=n)}));const n=Object.fromEntries(t.map((t=>[t.name,t.order])));c.LC.navbarOptions.order=n},{navbarOptions:d}=c.LC,[u]=(0,l.getData)(c.z0),m=Vue.extend({components:{VPopup:i.VPopup,VIcon:i.VIcon,VSlider:i.VSlider,VLoading:i.VLoading},props:{triggerElement:{type:HTMLElement,default:null}},data:()=>({open:!1,padding:d.padding,rendered:u,hidden:d.hidden,loaded:!1,isLogin:Boolean((0,o.getUID)())}),watch:{padding:lodash.debounce((t=>{d.padding=t}),200)},async mounted(){(0,r.addComponentListener)("customNavbar.padding",(t=>{this.padding!==t&&(this.padding=t)}));const t=this.$refs.navbarSortList;if(t){(await s.SortableJSLibrary).create(t,{delay:100,forceFallback:!0,onEnd:t=>{this.onSort(t)}}),(n=u.items).every(((t,n)=>t.order===n))||p(n)}var n;this.loaded=!0},methods:{toggle(){this.$refs.popup.toggle()},peekPadding(t){(0,o.dqa)(".custom-navbar .padding").forEach((n=>n.classList.toggle("peek",t)))},peekItem(t,n){t.element?.classList.toggle("peek",n)},onSort(t){const n=this.$refs.navbarSortList,e=t.item;console.log(`${e.getAttribute("data-name")} ${t.oldIndex}->${t.newIndex}`);const a=Object.fromEntries([...n.children].map(((t,n)=>[t.getAttribute("data-name"),n])));this.rendered.items=((t,n)=>{const e=lodash.sortBy(t,(t=>n[t.name]));return p(e),e})(u.items,a)},toggleVisible(t){d.hidden.includes(t.name)?(lodash.pull(d.hidden,t.name),t.hidden=!1,console.log("delete",t.name)):(d.hidden.push(t.name),t.hidden=!0,console.log("add",t.name))}}});var h=e(6991),v=e.n(h),g=e(8790),b=e.n(g),f={insert:"head",singleton:!1};v()(b(),f);b().locals;const A=(0,e(8678).A)(m,a,[],!1,null,null,null).exports},2318:(t,n,e)=>{"use strict";e.r(n),e.d(n,{default:()=>s});var a=function(){var t=this,n=t._self._c;t._self._setupProxy;return n("DefaultWidget",{attrs:{name:"顶栏布局设置",icon:"mdi-sort"},on:{mouseover:function(n){return t.loadNavbarSettings()},click:function(n){return t.toggleNavbarSettings()}}})};a._withStripped=!0;var i=e(1164),r=e(9642);const o=Vue.extend({components:{DefaultWidget:i.DefaultWidget},methods:{async loadNavbarSettings(){await(0,r.w)()},toggleNavbarSettings:r.toggleNavbarSettings}});const s=(0,e(8678).A)(o,a,[],!1,null,null,null).exports},2461:(t,n,e)=>{"use strict";e.r(n),e.d(n,{default:()=>o});var a=function(){var t=this,n=t._self._c;t._self._setupProxy;return n("SubscriptionsList",{attrs:{type:"bangumi",filter:t.filter}})};a._withStripped=!0;var i=e(841);const r=Vue.extend({components:{SubscriptionsList:i.A},props:{filter:{type:[Object,null],default:null}}});const o=(0,e(8678).A)(r,a,[],!1,null,null,null).exports},1069:(t,n,e)=>{"use strict";e.r(n),e.d(n,{default:()=>o});var a=function(){var t=this,n=t._self._c;t._self._setupProxy;return n("SubscriptionsList",{attrs:{type:"cinema",filter:t.filter}})};a._withStripped=!0;var i=e(841);const r=Vue.extend({components:{SubscriptionsList:i.A},props:{filter:{type:[Object,null],default:null}}});const o=(0,e(8678).A)(r,a,[],!1,null,null,null).exports},1506:(t,n,e)=>{"use strict";e.r(n),e.d(n,{default:()=>o});var a=function(){var t=this,n=t._self._c;t._self._setupProxy;return n("div",{},[t._v(t._s(t.content))])};a._withStripped=!0;var i=e(4905);const r=Vue.extend({data:()=>({isBangumiLinkHidden:(0,i.getComponentSettings)("customNavbar").options.hidden.includes("bangumi")}),computed:{content(){return this.isBangumiLinkHidden?"番剧":"追番追剧"}},mounted(){(0,i.addComponentListener)("customNavbar.hidden",this.updateBangumiLinkStatus)},beforeDestroy(){(0,i.removeComponentListener)("customNavbar.hidden",this.updateBangumiLinkStatus)},methods:{updateBangumiLinkStatus(t){const n=t.includes("bangumi");this.isBangumiLinkHidden=n}}});const o=(0,e(8678).A)(r,a,[],!1,null,null,null).exports},9541:(t,n,e)=>{"use strict";e.r(n),e.d(n,{default:()=>g});var a=function(){var t=this,n=t._self._c;t._self._setupProxy;return n("div",{staticClass:"navbar-subscriptions"},[n("TabControl",{ref:"tabControl",attrs:{tabs:t.tabs,"more-link":t.moreLink},scopedSlots:t._u([{key:"header-item",fn:function(){return[n("div",{staticClass:"navbar-subscriptions-filter"},[n("VDropdown",{attrs:{round:"",items:t.filterItems},model:{value:t.selectedFilter,callback:function(n){t.selectedFilter=n},expression:"selectedFilter"}})],1)]},proxy:!0}])})],1)};a._withStripped=!0;var i=e(1164),r=e(7847),o=e(891),s=e(3818),l=e(3629);const c=[{name:"all",value:{viewAll:!0,status:l.i.Viewing},displayName:"全部"},{name:"viewing",value:{viewAll:!1,status:l.i.Viewing},displayName:"在看"},{name:"toView",value:{viewAll:!1,status:l.i.ToView},displayName:"想看"},{name:"viewed",value:{viewAll:!1,status:l.i.Viewed},displayName:"看过"}],p=Vue.extend({components:{TabControl:i.TabControl,VDropdown:i.VDropdown},mixins:[o.U],data(){const t=(0,r.getUID)();return{uid:t,filterItems:c,selectedFilter:c[0],moreLink:n=>`https://space.bilibili.com/${t}/${n.name}`,filter:{viewAll:!0,status:l.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,2461)).then((t=>t.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,1069)).then((t=>t.default)),propsData:{filter:this.selectedFilter.value}}]}}});var d=e(6991),u=e.n(d),m=e(3234),h=e.n(m),v={insert:"head",singleton:!1};u()(h(),v);h().locals;const g=(0,e(8678).A)(p,a,[],!1,null,null,null).exports},841:(t,n,e)=>{"use strict";e.d(n,{A:()=>f});var a=function(){var t=this,n=t._self._c;t._self._setupProxy;return n("div",{staticClass:"subscription-list"},[t.loading?n("VLoading"):t.loading||0!==t.cards.length?[n("div",{staticClass:"subscription-content"},t._l(t.cards,(function(e){return n("a",{key:e.id,staticClass:"subscription-card",attrs:{href:e.playUrl,target:"_blank"}},[n("div",{staticClass:"subscriptions-cover-container"},[n("DpiImage",{staticClass:"cover",attrs:{src:e.coverUrl,size:64}})],1),t._v(" "),n("div",{staticClass:"card-info"},[n("h1",{staticClass:"title",attrs:{title:e.title}},[t._v(t._s(e.title))]),t._v(" "),n("div",{staticClass:"progress-row"},[e.status?n("div",{staticClass:"status",class:"status-"+e.status},[t._v("\n "+t._s(e.statusText)+"\n ")]):t._e(),t._v(" "),e.progress?n("div",{staticClass:"progress",attrs:{title:e.progress+" | "+e.latest}},[t._v("\n "+t._s(e.progress)+" | "+t._s(e.latest)+"\n ")]):n("div",{staticClass:"progress",attrs:{title:e.latest}},[t._v(t._s(e.latest))]),t._v(" "),n("a",{staticClass:"info",attrs:{href:e.mediaUrl,target:"_blank",title:"详细信息"}},[n("VIcon",{attrs:{icon:"mdi-information-outline",size:16}})],1)])])])})),0),t._v(" "),t.hasMorePage?n("ScrollTrigger",{on:{trigger:function(n){return t.nextPage()}}}):t._e()]:n("VEmpty")],2)};a._withStripped=!0;var i=e(7847),r=e(765),o=e(1164),s=e(416),l=e(3818),c=e(3629);const p=t=>{switch(t){case c.i.ToView:return"想看";case c.i.Viewing:default:return"在看";case c.i.Viewed:return"看过"}},d=(t,n)=>{let e=t.status;e!==c.i.Viewed&&(e=c.i.Viewed-e);let a=n.status;return a!==c.i.Viewed&&(a=c.i.Viewed-a),e-a},u=Vue.extend({components:{DpiImage:o.DpiImage,VLoading:o.VLoading,VEmpty:o.VEmpty,VIcon:o.VIcon,ScrollTrigger:o.ScrollTrigger},props:{filter:{type:[Object,null],default:null},type:{type:String,default:l.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 t=this.filter,n=t.viewAll?0:t.status,e=new URLSearchParams({type:this.type!==l.r.Bangumi?"2":"1",pn:this.page,ps:"16",vmid:(0,i.getUID)(),follow_status:n.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 o=lodash.uniqBy(lodash.get(a,"data.list").map((t=>({title:t.title,coverUrl:t.square_cover.replace("http:","https:"),latest:t.new_ep.index_show,progress:t.progress,id:t.season_id,status:t.follow_status,statusText:p(t.follow_status),playUrl:`https://www.bilibili.com/bangumi/play/ss${t.season_id}`,mediaUrl:`https://www.bilibili.com/bangumi/media/md${t.media_id}`}))),(t=>t.id)).sort(d);this.page++,this.cards=this.cards.concat(o),this.hasMorePage=this.cards.length<a.data.total}finally{this.loading=!1}}}});var m=e(6991),h=e.n(m),v=e(2185),g=e.n(v),b={insert:"head",singleton:!1};h()(g(),b);g().locals;const f=(0,e(8678).A)(u,a,[],!1,null,null,null).exports},1363:(t,n,e)=>{"use strict";e.r(n),e.d(n,{default:()=>d});var a=function(){var t=this,n=t._self._c;t._self._setupProxy;return n("div",{staticClass:"navbar-upload"},[n("VIcon",{attrs:{icon:"upload",size:18}}),t._v(" "),n("div",{staticClass:"navbar-upload-name"},[t._v("投稿")])],1)};a._withStripped=!0;var i=e(1164);const r=Vue.extend({components:{VIcon:i.VIcon}});var o=e(6991),s=e.n(o),l=e(7027),c=e.n(l),p={insert:"head",singleton:!1};s()(c(),p);c().locals;const d=(0,e(8678).A)(r,a,[],!1,null,"99a054ea",null).exports},1481:(t,n,e)=>{"use strict";e.r(n),e.d(n,{default:()=>d});var a=function(){var t=this;t._self._c,t._self._setupProxy;return t._m(0)};a._withStripped=!0;var i=e(891);const r=Vue.extend({mixins:[i.U]});var o=e(6991),s=e.n(o),l=e(4246),c=e.n(l),p={insert:"head",singleton:!1};s()(c(),p);c().locals;const d=(0,e(8678).A)(r,a,[function(){var t=this,n=t._self._c;t._self._setupProxy;return n("div",{staticClass:"upload-popup",attrs:{role:"list"}},[n("div",{attrs:{role:"listitem"}},[n("a",{attrs:{target:"_blank",href:"https://member.bilibili.com/platform/upload/text/apply"}},[t._v("专栏投稿")])]),t._v(" "),n("div",{attrs:{role:"listitem"}},[n("a",{attrs:{target:"_blank",href:"https://member.bilibili.com/platform/upload/audio/frame"}},[t._v("音频投稿")])]),t._v(" "),n("div",{attrs:{role:"listitem"}},[n("a",{attrs:{target:"_blank",href:"https://member.bilibili.com/platform/upload/sticker"}},[t._v("贴纸投稿")])]),t._v(" "),n("div",{attrs:{role:"listitem"}},[n("a",{attrs:{target:"_blank",href:"https://member.bilibili.com/platform/upload/video/frame"}},[t._v("视频投稿")])]),t._v(" "),n("div",{attrs:{role:"listitem"}},[n("a",{attrs:{target:"_blank",href:"https://member.bilibili.com/platform/upload-manager/article"}},[t._v("投稿管理")])]),t._v(" "),n("div",{attrs:{role:"listitem"}},[n("a",{attrs:{target:"_blank",href:"https://member.bilibili.com/platform/home"}},[t._v("创作中心")])])])}],!1,null,"b43e8cea",null).exports},6031:(t,n,e)=>{"use strict";e.r(n),e.d(n,{default:()=>h});var a=function(){var t=this,n=t._self._c;t._self._setupProxy;return n("div",{staticClass:"user-face-container"},[n("img",{staticClass:"user-face",attrs:{src:t.faceSrc,srcset:t.faceSrcset}}),t._v(" "),n("img",{staticClass:"user-pendant",attrs:{src:t.pendantSrc,srcset:t.pendantSrcset}})])};a._withStripped=!0;var i=e(119),r=e(7847);const o=coreApis.utils.constants,s="//static.hdslb.com/images/member/noface.gif",l=Vue.extend({name:"UserFace",data:()=>({faceSrc:o.EmptyImageUrl,pendantSrc:o.EmptyImageUrl,faceSrcset:null,pendantSrcset:null}),async created(){const t=await(0,i.getUserInfo)();if(t.isLogin){if(t.face){const n=t.face.replace("http:","https:");if(n.includes(s))this.faceSrc=s;else{const t=68;this.faceSrc=n,this.faceSrcset=(0,r.getDpiSourceSet)(n,t)}}if(t.pendant?.image){const n=t.pendant.image.replace("http:","https:"),e=116;this.pendantSrcset=(0,r.getDpiSourceSet)(n,e,"png")}}else this.faceSrc="data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/4QAYRXhpZgAASUkqAAgAAAAAAAAAAAAAAP/sABFEdWNreQABAAQAAABQAAD/4QMxaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wLwA8P3hwYWNrZXQgYmVnaW49Iu+7vyIgaWQ9Ilc1TTBNcENlaGlIenJlU3pOVGN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989),u=e.n(d),m={insert:"head",singleton:!1};p()(u(),m);u().locals;const h=(0,e(8678).A)(l,a,[],!1,null,null,null).exports},1466:(t,n,e)=>{"use strict";e.r(n),e.d(n,{default:()=>g});var a=function(){var t=this,n=t._self._c;t._self._setupProxy;return n("div",{staticClass:"user-info-panel"},[t.isLogin&&!0===t.userInfo.isLogin?n("div",{staticClass:"logged-in"},[n("a",{staticClass:"name",attrs:{target:"_blank",href:"https://space.bilibili.com/"}},[t._v(t._s(t.userInfo.uname))]),t._v(" "),n("a",{staticClass:"type",attrs:{target:"_blank",href:"https://account.bilibili.com/account/big"}},[t._v(t._s(t.userType))]),t._v(" "),1===t.userInfo.vipStatus&&2===t.userInfo.vipType?n("div",{staticClass:"privileges row"},[n("div",{staticClass:"b-coin",class:{received:t.privileges.bCoin.received},attrs:{title:"有效期限: "+t.privileges.bCoin.expire},on:{click:function(n){return t.privilegeReceive(1)}}},[t._v("\n "+t._s(t.privileges.bCoin.received?"已领取B币":"领取B币")+"\n ")]),t._v(" "),n("div",{staticClass:"coupons",class:{received:t.privileges.coupons.received},attrs:{title:"有效期限: "+t.privileges.coupons.expire},on:{click:function(n){return t.privilegeReceive(2)}}},[t._v("\n "+t._s(t.privileges.coupons.received?"已领取优惠券":"领取优惠券")+"\n ")])]):t._e(),t._v(" "),n("div",{staticClass:"level-info row"},[n("a",{staticClass:"level",attrs:{target:"_blank",title:"等级",href:"https://account.bilibili.com/account/record"}},[t.userInfo.is_senior_member?n("VIcon",{staticClass:"level-icon plus",attrs:{icon:"lv"+t.userInfo.level_info.current_level+"-plus",colored:"",size:30}}):n("VIcon",{staticClass:"level-icon",attrs:{icon:"lv"+t.userInfo.level_info.current_level}})],1),t._v(" "),n("span",{staticClass:"level-progress-label"},[t._v(t._s(t.userInfo.level_info.current_exp)+" / "+t._s(t.userInfo.level_info.next_exp))])]),t._v(" "),n("div",{staticClass:"level-progress separator"},[n("div",{staticClass:"level-progress-thumb",style:t.levelProgressStyle})]),t._v(" "),n("div",{staticClass:"items"},[n("a",{staticClass:"item",attrs:{target:"_blank",title:"手机验证",href:"https://passport.bilibili.com/account/security#/bindphone"}},[n("VIcon",{attrs:{icon:"bind-phone",size:20}}),t._v(" "),t.userInfo.mobile_verified?n("VIcon",{attrs:{icon:"ok",size:18}}):n("VIcon",{attrs:{icon:"cancel",size:18}})],1),t._v(" "),n("a",{staticClass:"item",attrs:{target:"_blank",title:"邮箱验证",href:"https://passport.bilibili.com/account/security#/bindmail"}},[n("VIcon",{attrs:{icon:"bind-email",size:20}}),t._v(" "),t.userInfo.email_verified?n("VIcon",{attrs:{icon:"ok",size:18}}):n("VIcon",{attrs:{icon:"cancel",size:18}})],1),t._v(" "),n("a",{staticClass:"item",attrs:{target:"_blank",href:"https://account.bilibili.com/site/coin",title:"硬币"}},[n("VIcon",{attrs:{icon:"coin-outline",size:20}}),t._v(" "),n("span",[t._v(t._s(t.userInfo.money))])],1),t._v(" "),n("a",{staticClass:"item",attrs:{target:"_blank",href:"https://pay.bilibili.com/bb_balance.html",title:"B币"}},[n("VIcon",{attrs:{icon:"b-coin-outline",size:20}}),t._v(" "),n("span",[t._v(t._s(t.userInfo.wallet.bcoin_balance))])],1)]),t._v(" "),n("div",{staticClass:"separator"}),t._v(" "),n("div",{staticClass:"stats"},[n("a",{staticClass:"stats-item",attrs:{href:"https://space.bilibili.com/"+t.userInfo.mid+"/fans/follow",target:"_blank"}},[n("div",{staticClass:"stats-number"},[t._v(t._s(t._f("count")(t.stat.following)))]),t._v("\n 关注\n ")]),t._v(" "),n("a",{staticClass:"stats-item",attrs:{href:"https://space.bilibili.com/"+t.userInfo.mid+"/fans/fans",target:"_blank"}},[n("div",{staticClass:"stats-number"},[t._v(t._s(t._f("count")(t.stat.follower)))]),t._v("\n 粉丝\n ")]),t._v(" "),n("a",{staticClass:"stats-item",attrs:{href:"https://space.bilibili.com/"+t.userInfo.mid+"/dynamic",target:"_blank"}},[n("div",{staticClass:"stats-number"},[t._v(t._s(t._f("count")(t.stat.dynamic_count)))]),t._v("\n 动态\n ")])]),t._v(" "),n("div",{staticClass:"separator"}),t._v(" "),n("a",{staticClass:"bv-custom-navbar-operation",attrs:{target:"_blank",href:"https://account.bilibili.com/account/home"}},[n("VIcon",{attrs:{icon:"profile"}}),t._v("个人中心\n ")],1),t._v(" "),n("a",{staticClass:"bv-custom-navbar-operation",attrs:{target:"_blank",href:"https://member.bilibili.com/platform/upload-manager/article"}},[n("VIcon",{attrs:{icon:"posts"}}),t._v("投稿管理\n ")],1),t._v(" "),n("a",{staticClass:"bv-custom-navbar-operation",attrs:{target:"_blank",href:"https://pay.bilibili.com/"}},[n("VIcon",{attrs:{icon:"wallet"}}),t._v("B币钱包\n ")],1),t._v(" "),n("a",{staticClass:"bv-custom-navbar-operation",attrs:{target:"_blank",href:"https://link.bilibili.com/p/center/index"}},[n("VIcon",{attrs:{icon:"live-center"}}),t._v("直播中心\n ")],1),t._v(" "),n("a",{staticClass:"bv-custom-navbar-operation",attrs:{target:"_blank",href:"https://show.bilibili.com/orderlist"}},[n("VIcon",{attrs:{icon:"order-center"}}),t._v("订单中心\n ")],1),t._v(" "),n("a",{staticClass:"bv-custom-navbar-operation",attrs:{target:"_blank",href:"https://www.bilibili.com/v/cheese/mine"}},[n("VIcon",{attrs:{icon:"course"}}),t._v("我的课程\n ")],1),t._v(" "),n("div",{staticClass:"logout grey-button",on:{click:function(n){return t.logout()}}},[t._v("退出登录")])]):t._e(),t._v(" "),t.isLogin?t._e():n("div",{staticClass:"not-logged-in"},[n("h1",{staticClass:"welcome"},[t._v("欢迎来到 bilibili")]),t._v(" "),n("a",{staticClass:"signup grey-button",attrs:{href:"https://passport.bilibili.com/register/phone.html"}},[t._v("注册")]),t._v(" "),n("a",{staticClass:"login theme-button",attrs:{href:"https://passport.bilibili.com/login"}},[t._v("登录")])])])};a._withStripped=!0;var i=e(7847),r=e(2082),o=e(765),s=e(416),l=e(119),c=e(891);const p=Vue.extend({components:{VIcon:coreApis.ui.VIcon},filters:{count:r.formatCount},mixins:[c.U],data:()=>({userInfo:{},stat:{},isLogin:Boolean((0,i.getUID)()),privileges:{bCoin:{received:!1,expire:""},coupons:{received:!1,expire:""}}}),computed:{level(){const t=`lv${this.userInfo.level_info.current_level}`;return this.userInfo.is_senior_member?{icon:`${t}-plus`,colored:!0}:{icon:t}},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:t,current_min:n,next_exp:e}=this.userInfo.level_info;return{transform:`scaleX(${(t-n)/(e-n)})`}}},async created(){const t=await(0,l.getUserInfo)();this.userInfo=t;const n=await(0,s.getJsonWithCredentials)("https://api.bilibili.com/x/web-interface/nav/stat");if(this.stat=n.data||{},this.isLogin&&2===this.userInfo.vipType){const t=await(0,s.getJsonWithCredentials)("https://api.bilibili.com/x/vip/privilege/my");if(0===t.code){const n=t.data.list.find((t=>1===t.type));this.privileges.bCoin.received=1===n.state,this.privileges.bCoin.expire=new Date(1e3*n.expire_time).toLocaleDateString();const e=t.data.list.find((t=>2===t.type));this.privileges.coupons.received=1===e.state,this.privileges.coupons.expire=new Date(1e3*e.expire_time).toLocaleDateString()}}},methods:{async privilegeReceive(t){const n={1:"bCoin",2:"coupons"};if(this.privileges[n[t]].received)return;this.privileges[n[t]].received=!0;const e=(0,i.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=${t}&csrf=${e}`,method:"POST"})).json();console.log(a),0===a.code?"bCoin"===n[t]&&(this.userInfo.wallet.bcoin_balance+=5):69801===a.code||(this.privileges[n[t]].received=!1,(0,o.logError)(a.message))},async logout(){const t=await(0,s.postTextWithCredentials)("https://passport.bilibili.com/login/exit/v2",(0,i.formData)({biliCSRF:(0,i.getCsrf)()})),n=lodash.get(JSON.parse(t),"data.redirectUrl","");n&&window.location.assign(n)}}});var d=e(6991),u=e.n(d),m=e(8471),h=e.n(m),v={insert:"head",singleton:!1};u()(h(),v);h().locals;const g=(0,e(8678).A)(p,a,[],!1,null,null,null).exports},8469:(t,n,e)=>{"use strict";e.r(n),e.d(n,{default:()=>v});var a=function(){var t=this,n=t._self._c;t._self._setupProxy;return n("div",{staticClass:"watchlater-list"},[n("div",{staticClass:"header"},[n("div",{staticClass:"watchlater-list-summary"},[t._v("共 "+t._s(t.filteredCards.length)+" 个")]),t._v(" "),n("div",{staticClass:"search"},[n("TextBox",{attrs:{linear:"",placeholder:"搜索"},model:{value:t.search,callback:function(n){t.search=n},expression:"search"}})],1),t._v(" "),n("a",{staticClass:"operation",attrs:{target:"_blank",href:"https://www.bilibili.com/medialist/play/watchlater"}},[n("VButton",{staticClass:"round-button",attrs:{title:"播放全部",round:""}},[n("VIcon",{attrs:{icon:"mdi-play",size:18}})],1)],1),t._v(" "),n("a",{staticClass:"operation",attrs:{target:"_blank",href:"https://www.bilibili.com/watchlater/#/list"}},[n("VButton",{staticClass:"round-button",attrs:{title:"查看更多",round:""}},[n("VIcon",{attrs:{icon:"mdi-dots-horizontal",size:18}})],1)],1)]),t._v(" "),t.loading?n("VLoading"):t.loading||0!==t.cards.length?n("transition-group",{staticClass:"watchlater-list-content",attrs:{name:"cards",tag:"div"}},t._l(t.filteredCards,(function(e,a){return n("div",{key:e.aid,staticClass:"watchlater-card"},[n("a",{staticClass:"watchlater-cover-container",attrs:{target:"_blank",href:e.href}},[n("DpiImage",{staticClass:"cover",attrs:{src:e.coverUrl,size:{width:130,height:85}}}),t._v(" "),n("div",{staticClass:"floating remove",attrs:{title:"移除"},on:{click:function(n){return n.preventDefault(),t.remove(e.aid,a)}}},[n("VIcon",{attrs:{icon:"mdi-close",size:16}})],1),t._v(" "),n("div",{staticClass:"floating duration"},[t._v(t._s(e.durationText))]),t._v(" "),e.totalPages>1?n("div",{staticClass:"floating pages"},[t._v("\n "+t._s(e.currentPage)+"P / "+t._s(e.totalPages)+"P\n ")]):t._e(),t._v(" "),e.percent?n("div",{staticClass:"progress",style:{width:100*e.percent+"%"}}):t._e()],1),t._v(" "),n("a",{staticClass:"title",attrs:{target:"_blank",href:e.href,title:e.title}},[t._v(t._s(e.title))]),t._v(" "),n("div",{staticClass:"info-row"},[n("a",{staticClass:"up",attrs:{target:"_blank",href:"https://space.bilibili.com/"+e.upID,title:e.upName}},[n("DpiImage",{staticClass:"face",attrs:{src:e.upFaceUrl,size:20}}),t._v(" "),n("div",{staticClass:"name"},[t._v(t._s(e.upName))])],1),t._v(" "),e.complete?n("div",{staticClass:"viewed"},[t._v("已观看")]):t._e()])])})),0):n("VEmpty")],1)};a._withStripped=!0;var i=e(4905),r=e(2082);const o=coreApis.componentApis.video.watchlater;var s=e(1164),l=e(891);const c=Vue.extend({components:{VLoading:s.VLoading,VEmpty:s.VEmpty,TextBox:s.TextBox,VButton:s.VButton,VIcon:s.VIcon,DpiImage:s.DpiImage},mixins:[l.U],data(){const t=(0,i.getComponentSettings)("watchlaterRedirect");return{watchlaterList:o.watchlaterList,loading:!0,cards:[],filteredCards:[],search:"",redirect:t.enabled&&t.options.navbar}},watch:{search(){this.updateFilteredCards()}},async created(){try{await this.updateList()}finally{this.loading=!1}},methods:{toggleWatchlater:o.toggleWatchlater,popupRefresh(){this.updateList()},async updateList(){const t=await(0,o.getWatchlaterList)(!0);if(!t)return void(this.cards=[]);const n=t=>this.redirect?`https://www.bilibili.com/video/${t.bvid}`:`https://www.bilibili.com/medialist/play/watchlater/${t.bvid}`,e=t.map((t=>{const e=t.pages?.find((n=>n.cid===t.cid)),a=e?.duration??t.duration,i=(()=>{if(!e||!this.redirect)return n(t);const{page:a}=e;return a<=1?n(t):`${n(t)}?p=${a}`})(),o=Math.round(1e3*t.progress/a)/1e3;return{aid:t.aid,href:i,coverUrl:t.pic.replace("http:","https:"),durationText:(0,r.formatDuration)(a),duration:a,complete:t.progress<0||o>.95,title:t.title,upName:t.owner.name,upFaceUrl:t.owner.face.replace("http:","https:"),upID:t.owner.mid,currentPage:e?.page,totalPages:t.videos,percent:o}}));this.cards=e,this.search?this.updateFilteredCards():this.filteredCards=e},async remove(t,n){this.cards.splice(n,1),await this.toggleWatchlater(t)},updateFilteredCards:lodash.debounce((function(){const t=this.search.toLowerCase();this.$el.querySelector(".watchlater-list-content").scrollTo(0,0),this.filteredCards=this.cards.filter((n=>n.title.toLowerCase().includes(t)||n.upName.toLowerCase().includes(t)))}),100)}});var p=e(6991),d=e.n(p),u=e(4311),m=e.n(u),h={insert:"head",singleton:!1};d()(m(),h);m().locals;const v=(0,e(8678).A)(c,a,[],!1,null,null,null).exports},8678:(t,n,e)=>{"use strict";function a(t,n,e,a,i,r,o,s){var l,c="function"==typeof t?t.options:t;if(n&&(c.render=n,c.staticRenderFns=e,c._compiled=!0),a&&(c.functional=!0),r&&(c._scopeId="data-v-"+r),o?(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(o)},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(t,n){return l.call(n),p(t,n)}}else{var d=c.beforeCreate;c.beforeCreate=d?[].concat(d,l):[l]}return{exports:t,options:c}}e.d(n,{A:()=>a})},3832: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=3832,t.exports=n},3711:t=>{"use strict";t.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:t=>{"use strict";t.exports=globalThis.Vue},416:t=>{"use strict";t.exports=coreApis.ajax},1649:t=>{"use strict";t.exports=coreApis.componentApis.feeds.api},2930:t=>{"use strict";t.exports=coreApis.componentApis.feeds.notify},8217:t=>{"use strict";t.exports=coreApis.componentApis.utils.categories.data},322:t=>{"use strict";t.exports=coreApis.pluginApis.data},4905:t=>{"use strict";t.exports=coreApis.settings},1164:t=>{"use strict";t.exports=coreApis.ui},119:t=>{"use strict";t.exports=coreApis.userInfo},2082:t=>{"use strict";t.exports=coreApis.utils.formatters},765:t=>{"use strict";t.exports=coreApis.utils.log},2007:t=>{"use strict";t.exports=coreApis.utils.sort},7847:t=>{"use strict";t.exports=coreApis.utils}},a={};function i(t){var n=a[t];if(void 0!==n)return n.exports;var r=a[t]={id:t,exports:{}};return e[t](r,r.exports,i),r.exports}i.n=t=>{var n=t&&t.__esModule?()=>t.default:()=>t;return i.d(n,{a:n}),n},n=Object.getPrototypeOf?t=>Object.getPrototypeOf(t):t=>t.__proto__,i.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);i.r(r);var o={};t=t||[null,n({}),n([]),n(n)];for(var s=2&a&&e;"object"==typeof s&&!~t.indexOf(s);s=n(s))Object.getOwnPropertyNames(s).forEach((t=>o[t]=()=>e[t]));return o.default=()=>e,i.d(r,o),r},i.d=(t,n)=>{for(var e in n)i.o(n,e)&&!i.o(t,e)&&Object.defineProperty(t,e,{enumerable:!0,get:n[e]})},i.o=(t,n)=>Object.prototype.hasOwnProperty.call(t,n),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 r={};return(()=>{"use strict";i.d(r,{component:()=>l});const t=coreApis.componentApis.define;var n=i(4905),e=i(7847);let a=function(t){return t.Number="数字",t.Hidden="隐藏",t.Dot="点状",t}({});let o=function(t){return t.Left="左侧对齐",t.Center="居中对齐",t.Right="右侧对齐",t}({});const s=(0,t.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:o.Left,dropdownEnum:o,displayName:"链接对齐样式"},searchBarWidth:{defaultValue:15,slider:{min:8,max:64},displayName:"搜索栏宽度 (%)"}}),l=(0,t.defineComponentMetadata)({name:"customNavbar",displayName:"自定义顶栏",entry:async t=>{let{metadata:{name:r}}=t;if((0,e.isIframe)()||(0,e.isNotHtml)())return;(0,n.addComponentListener)(`${r}.padding`,(t=>{document.documentElement.style.setProperty("--navbar-bounds-padding",`${t}%`)}),!0),(0,n.addComponentListener)(`${r}.searchBarWidth`,(t=>{document.documentElement.style.setProperty("--navbar-search-width",`${t}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((t=>(0,e.matchUrlPattern)(t)))||(0,n.addComponentListener)(`${r}.globalFixed`,(t=>{document.body.classList.toggle("fixed-navbar",t)}),!0),(0,e.matchUrlPattern)("https://www.bilibili.com/account/history")&&document.body.classList.add("history-page"),(()=>{const{options:t}=(0,n.getComponentSettings)("customNavbar");[["gamesIframe","games"],["livesIframe","lives"],["mangaIframe","manga"]].forEach((n=>{let[e,a]=n;const i=t.order[e];void 0!==i&&(t.order[a]=i,delete t.order[e])}))})();const s=await Promise.resolve().then(i.bind(i,2303)),l=(0,e.mountVueComponent)(s);document.body.insertAdjacentElement("beforeend",l.$el),["fill","shadow","blur"].forEach((t=>{(0,n.addComponentListener)(`${r}.${t}`,(n=>l.toggleStyle(n,t)),!0)})),(()=>{const t={[a.Number]:"number",[a.Hidden]:"hidden",[a.Dot]:"dot"};(0,n.addComponentListener)("customNavbar.notifyStyle",(n=>{document.documentElement.setAttribute("data-navbar-notify-style",t[n])}),!0)})(),(()=>{const t={[o.Left]:"left",[o.Center]:"center",[o.Right]:"right"};(0,n.addComponentListener)("customNavbar.linkPopupContentAlignStyle",(n=>{document.documentElement.setAttribute("data-navbar-link-popup-content-align-style",t[n])}),!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/"],instantStyles:[{name:"custom-navbar-style",style:()=>Promise.resolve().then(i.t.bind(i,3356,23)),important:!0}],unload:async()=>{document.querySelectorAll(".custom-navbar,.custom-navbar-settings").forEach((t=>t.style.display="none"))},reload:async()=>{document.querySelectorAll(".custom-navbar").forEach((t=>t.style.display="flex"));document.querySelectorAll(".custom-navbar-settings").forEach((t=>t.style.display="block"))},widget:{component:()=>Promise.resolve().then(i.bind(i,2318)).then((t=>t.default))},extraOptions:()=>Promise.resolve().then(i.bind(i,2167)).then((t=>t.default)),plugin:{displayName:"自定义顶栏 - 功能扩展",setup:t=>{let{addData:n}=t;n("launchBar.actions",(t=>{t.push({name:"navbarSettings",getActions:async()=>[{name:"自定义顶栏设置",description:"Custom Navbar Settings",icon:"mdi-sort",action:async()=>{const{toggleNavbarSettings:t}=await Promise.resolve().then(i.bind(i,9642));t()}}]})}))}},commitHash:"4b3a1a387095ef7eaca46616c451a366366a9869",coreVersion:"2.10.3",description:(()=>{const t=i(3832);return{...Object.fromEntries(t.keys().map((n=>[n.match(/index\.(.+)\.md$/)[1],t(n)]))),"zh-CN":()=>Promise.resolve().then(i.t.bind(i,3711,17)).then((t=>t.default))}})()})})(),r=r.component})()));