var __defProp = Object.defineProperty,
__typeError = (msg) => {
throw TypeError(msg);
},
__publicField = (obj, key, value) =>
((obj, key, value) =>
key in obj
? __defProp(obj, key, {
enumerable: !0,
configurable: !0,
writable: !0,
value: value,
})
: (obj[key] = value))(obj, "symbol" != typeof key ? key + "" : key, value),
__privateMethod = (obj, member, method) => (
((obj, member, msg) => {
member.has(obj) || __typeError("Cannot " + msg);
})(obj, member, "access private method"),
method
);
const currentHref = window.location.href,
isJavDb = currentHref.includes("javdb"),
isJavBus = currentHref.includes("javbus") || currentHref.includes("seejav") || currentHref.includes("bus") || currentHref.includes("javsee") || "javbus" === (() => { try { const _alt = $(".hidden-xs").attr("alt"); return _alt ? _alt.trim().toLowerCase() : void 0; } catch (_e) { return void 0; } })(),
isSearchPage = currentHref.includes("/search?q") || currentHref.includes("/search/") || currentHref.includes("/users/"),
Status_RUNNING = "RUNNING",
Status_SUCCESS = "SUCCESS",
Status_FAIL = "FAIL",
Status_LOADING = "LOADING",
Status_FILTER = "filter",
Status_FAVORITE = "favorite",
Status_HAS_DOWN = "hasDown",
Status_HAS_WATCH = "hasWatch",
NO = "no",
YES = "yes",
qualityOptions = [{
id: "video-mhb",
quality: "dmb_w",
text: "旧视频源-中画质宽版 (404p)",
canSelect: !1
}, {
id: "video-mhb",
quality: "sm_s",
text: "旧视频源-低画质 (240p)",
canSelect: !1
}, {
id: "video-mhb",
quality: "dm_s",
text: "旧视频源-中画质 (360p)",
canSelect: !1
}, {
id: "video-mhb",
quality: "dmb_s",
text: "旧视频源-中画质 (480p)",
canSelect: !1
}, {
id: "video-mhb",
quality: "mhb_w",
text: "旧视频源-高画质宽版 (404p)",
canSelect: !1
}, {
id: "video-mmb",
quality: "mmb",
text: "中画质 (432p)",
canSelect: !0
}, {
id: "video-mhb",
quality: "mhb",
text: "高画质 (576p)",
canSelect: !0
}, {
id: "video-hmb",
quality: "hmb",
text: "HD (720p)",
canSelect: !0
}, {
id: "video-hhb",
quality: "hhb",
text: "FullHD (1080p)",
canSelect: !0
}, {
id: "video-hhbs",
quality: "hhbs",
text: "FullHD (1080p60fps)",
canSelect: !0
}, {
id: "video-4k",
quality: "4k",
text: "4K (2160p)",
canSelect: !0
}, {
id: "video-4ks",
quality: "4ks",
text: "4K (2160p60fps)",
canSelect: !0
}];
let detailPageCss$1 = "";
window.location.href.includes("hideNav=1") && (detailPageCss$1 = "\n .navbar-default {\n display: none !important;\n }\n body {\n padding-top:0px!important;\n }\n ");
const javBusStyle = `
`;
let detailPageCss = "";
window.location.href.includes("hideNav=1") && (detailPageCss = "\n .main-nav,#search-bar-container {\n display: none !important;\n }\n \n html {\n padding-top:0px!important;\n }\n ");
const javdbStyle = `
`;
const mainCss = `
`;
const subtitleModalCss = `
`;
function insertStyle(css) {
if (css) if (css.includes("\n'
);
insertStyle(mainCss);
insertStyle(subtitleModalCss);
export {
__defProp,
__typeError,
__publicField,
__privateMethod,
currentHref,
isJavDb,
isJavBus,
isSearchPage,
Status_RUNNING,
Status_SUCCESS,
Status_FAIL,
Status_LOADING,
Status_FILTER,
Status_FAVORITE,
Status_HAS_DOWN,
Status_HAS_WATCH,
NO,
YES,
qualityOptions,
detailPageCss$1,
javBusStyle,
detailPageCss,
javdbStyle,
mainCss,
insertStyle,
};