mirror of
https://github.com/bolucat/Archive.git
synced 2026-04-22 16:07:49 +08:00
12 lines
4.4 KiB
JavaScript
12 lines
4.4 KiB
JavaScript
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports["style/hide/video/top-mask"]=e():t["style/hide/video/top-mask"]=e()}(globalThis,(()=>(()=>{var t,e,r={930:(t,e,r)=>{var o=r(904),n=r(955)(o);n.push([t.id,".bpx-player-top-wrap,\n.bilibili-player-video-top {\n display: none !important;\n}","",{version:3,sources:["webpack://./registry/lib/components/style/hide/video/top-mask/top-mask.scss"],names:[],mappings:"AAAA;;EAEE,wBAAwB;AAC1B",sourcesContent:[".bpx-player-top-wrap,\n.bilibili-player-video-top {\n display: none !important;\n}"],sourceRoot:""}]),t.exports=n},955:t=>{"use strict";
|
|
// eslint-disable-next-line func-names
|
|
t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var r=t(e);return e[2]?"@media ".concat(e[2]," {").concat(r,"}"):r})).join("")},
|
|
// eslint-disable-next-line func-names
|
|
e.i=function(t,r,o){"string"==typeof t&&(
|
|
// eslint-disable-next-line no-param-reassign
|
|
t=[[null,t,""]]);var n={};if(o)for(var i=0;i<this.length;i++){
|
|
// eslint-disable-next-line prefer-destructuring
|
|
var a=this[i][0];null!=a&&(n[a]=!0)}for(var c=0;c<t.length;c++){var s=[].concat(t[c]);o&&n[s[0]]||(r&&(s[2]?s[2]="".concat(r," and ").concat(s[2]):s[2]=r),e.push(s))}},e}},904:t=>{"use strict";function e(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=t&&("undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"]);if(null==r)return;var o,n,i=[],a=!0,c=!1;try{for(r=r.call(t);!(a=(o=r.next()).done)&&(i.push(o.value),!e||i.length!==e);a=!0);}catch(t){c=!0,n=t}finally{try{a||null==r.return||r.return()}finally{if(c)throw n}}return i}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return r(t,e);var o=Object.prototype.toString.call(t).slice(8,-1);"Object"===o&&t.constructor&&(o=t.constructor.name);if("Map"===o||"Set"===o)return Array.from(t);if("Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o))return r(t,e)}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function r(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,o=new Array(e);r<e;r++)o[r]=t[r];return o}t.exports=function(t){var r=e(t,4),o=r[1],n=r[3];if(!n)return o;if("function"==typeof btoa){
|
|
// eslint-disable-next-line no-undef
|
|
var i=btoa(unescape(encodeURIComponent(JSON.stringify(n)))),a="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(i),c="/*# ".concat(a," */"),s=n.sources.map((function(t){return"/*# sourceURL=".concat(n.sourceRoot||"").concat(t," */")}));return[o].concat(s).concat([c]).join("\n")}return[o].join("\n")}},548:(t,e,r)=>{var o=r(930);o&&o.__esModule&&(o=o.default),t.exports="string"==typeof o?o:o.toString()}},o={};function n(t){var e=o[t];if(void 0!==e)return e.exports;var i=o[t]={id:t,exports:{}};return r[t](i,i.exports,n),i.exports}e=Object.getPrototypeOf?t=>Object.getPrototypeOf(t):t=>t.__proto__,n.t=function(r,o){if(1&o&&(r=this(r)),8&o)return r;if("object"==typeof r&&r){if(4&o&&r.__esModule)return r;if(16&o&&"function"==typeof r.then)return r}var i=Object.create(null);n.r(i);var a={};t=t||[null,e({}),e([]),e(e)];for(var c=2&o&&r;"object"==typeof c&&!~t.indexOf(c);c=e(c))Object.getOwnPropertyNames(c).forEach((t=>a[t]=()=>r[t]));return a.default=()=>r,n.d(i,a),i},n.d=(t,e)=>{for(var r in e)n.o(e,r)&&!n.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},n.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),n.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var i={};return(()=>{"use strict";n.d(i,{component:()=>o});const t=coreApis.componentApis.define,e=coreApis.utils.urls,r="hideVideoTopMask",o=(0,t.defineComponentMetadata)({name:r,displayName:"隐藏视频标题层",entry:none,instantStyles:[{name:r,style:()=>Promise.resolve().then(n.t.bind(n,548,23))}],tags:[componentsTags.style,componentsTags.video],description:{"zh-CN":"隐藏视频里鼠标经过时出现在右上角的覆盖层."},urlInclude:e.playerUrls,commitHash:"d87d69cfb9d7e0124bd90a06fec4569bd61e02c5",coreVersion:"2.10.7"})})(),i=i.component})()));
|
|
//# sourceMappingURL=https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/registry/dist/components/style/hide/video/top-mask.js.map
|