OneManager-php/theme/renexmoe-tw527e-edition.html

815 lines
31 KiB
HTML
Raw Blame History

This file contains invisible Unicode characters!

This file contains invisible Unicode characters that may be processed differently from what appears below. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to reveal hidden characters.

<!--IconValuesStart-->
{
"music":"audiotrack",
"video":"ondemand_video",
"img":"image",
"pdf":"picture_as_pdf",
"txt":"description",
"apk":"android",
"exe":"desktop_windows",
"default":"insert_drive_file"
}
<!--IconValuesEnd-->
<!DOCTYPE html>
<html lang="<!--constStr@language-->">
<head>
<link rel="preconnect" href="//unpkg.com" />
<meta charset="utf-8" />
<meta http-equiv="" content="IE=edge,chrome=1" />
<meta name="viewport" content="width=device-width, initial-scale=1.0,maximum-scale=1.0, user-scalable=no" />
<meta name="theme-color" content="#fff" />
<!--BackgroundMStart-->
<link rel="icon" href="<!--BackgroundMUrl-->" type="image/x-icon" />
<!--BackgroundMEnd-->
<title><!--Title--></title>
<meta name="keywords" content="<!--Keywords-->" />
<meta name="description" content="<!--Description-->" />
<link rel="stylesheet" href="//unpkg.com/renexmoe-tw527e-edition@1.1.1/css/app1@uw34ru4ehdn4pywddmebm79dnnb2jyei.css" />
<link rel="stylesheet" href="//unpkg.com/renexmoe-tw527e-edition@1.1.1/css/app2@eqge353pwpgivauvcvzejwrki4mdissj.css" />
<link rel="stylesheet" href="//unpkg.com/@fontsource/noto-sans-tc/500.css" />
<link rel="stylesheet" href="//unpkg.com/@fontsource/noto-sans-sc/500.css" />
<link rel="stylesheet" href="//unpkg.com/@fontsource/noto-sans-hk/500.css" />
<link rel="stylesheet" href="//unpkg.com/mdui@1.0.1/dist/css/mdui.min.css" />
<link rel="stylesheet" href="//unpkg.com/@fontsource/fira-code@4.2.2/400.css" />
<link rel="stylesheet" href="//unpkg.com/@highlightjs/cdn-assets/styles/github.min.css" />
<script src="//unpkg.com/dplayer/dist/DPlayer.min.js"></script>
<link rel="stylesheet" href="//unpkg.com/aplayer/dist/APlayer.min.css" />
<script src="//unpkg.com/aplayer/dist/APlayer.min.js"></script>
<script src="//unpkg.com/jsmediatags/dist/jsmediatags.min.js"></script>
<script>
window.disableddarkmode = true;
</script>
<style>
html {
background-color: #222222;
<!--BackgroundStart-->
background: url("<!--BackgroundUrl-->") fixed no-repeat, #222222;
<!--BackgroundEnd-->
margin: 0;
background-size: cover;
}
body {
background: inherit;
margin: 0;
background-attachment: fixed;
background-size: cover;
background-repeat: no-repeat;
}
.mdui-theme-layout-dark {
background-color: #222222 !important;
}
*{
color: #ffd2b3;
font-family: 'Noto Sans TC','Noto Sans SC','Noto Sans HK',sans-serif;
}
#footer {
color: #fff;
}
.mdui-typo code,.mdui-typo kbd {
color: #7787ff;
background-color: #dfdfdf;
border-radius: 6px
}
.mdui-theme-layout-dark .mdui-list-item-active {
--color-active: #ff4081 !important;
}
.mdui-icon {
color: #fff8f3;
}
.mdui-menu {
background-color: rgb(22 22 22 / 43%);
}
.mdui-dialog {
background-color: rgb(38 38 38);
}
.mdui-chip .mdui-chip-title {
color: #fff;
font-weight: 600;
}
div#file {
background-color: rgb(22 22 22 / 43%);
}
.mdui-typo p {
margin: 0 0 0 0;
}
.markdown p {
margin: 0 0 1.2em 0;
}
.mdui-typo {
line-height: 1.8;
}
.markdown code, .mdui-typo code {
padding: 2px 4px !important;
color: #e3adff !important;
background-color: #464646 !important;
}
.markdown a *, .mdui-typo a * {
color: #ff4d7e !important;
}
.mdui-theme-layout-dark .mdui-list-item {
color: #ffd2b3;
}
.mdui-list-item:hover {
background-color: #ffffff29;
}
div#aplayer * {
color: #666;
}
input#url-input {
color: rgb(103 95 217);
}
label.mdui-textfield-label {
color: #e91e63 !important;
}
.clp {
margin: 0.25rem;
color: #1A202C;
font-weight: bold;
border-radius: 0.375rem;
height: 2.5rem;
width: auto;
line-height: 1.2;
display: flex;
justify-content: center;
flex-direction: column;
align-items: center;
}
#openiina {
background: #D6BCFA;
}
#openpot {
background: #FAF089;
}
#openvlc {
background: #FBD38D;
}
#opennp {
background: #81E6D9;
}
#openmxfree {
background: #90cdf4;
}
#openmxpro {
background: #90cdf4;
}
#clpp {
line-height: 1.2rem;
display: flex;
flex-wrap: wrap;
justify-content: center;
-webkit-box-pack: center;
list-style-type: none;
align-items: center;
padding: 0px;
margin: -0.25rem;
}
.blur{
z-index: 0;
position: fixed;
width: 100%;
height: 100%;
left: 0;
filter: blur(0px);
}
ul.mdui-menu{
position: fixed !important;
}
.aplayer, .aplayer-pic {
padding: inherit;
border-radius: 10px;
}
.mdui-menu{
width: auto;
}
</style>
<!--customCss-->
</head>
<body>
<div class="blur"></div>
</body>
<body class="mdui-appbar-with-toolbar mdui-theme-layout-auto mdui-drawer-body-left mdui-theme-accent-pink">
<header class="mdui-appbar mdui-appbar-fixed">
<div class="mdui-toolbar">
<span class="mdui-btn mdui-btn-icon mdui-ripple mdui-ripple-white"
onclick='mdui.$(".mdui-appbar-with-toolbar").toggleClass("mdui-drawer-body-left");' id="toggle-drawer"><i
class="mdui-icon material-icons">menu</i></span>
<a class="mdui-btn mdui-btn-icon mdui-ripple mdui-ripple-white" onclick="window.history.back()">
<i class="mdui-icon material-icons">arrow_back</i>
</a>
<a href="<!--base_path-->" class="mdui-typo-headline">
<!--Sitename-->
</a>
<!--DiskPathArrayStart-->
<i class="mdui-icon material-icons mdui-hidden-xs" style="margin: 0">chevron_right</i><a
href="<!--PathArrayLink-->" class="mdui-typo-subheading mdui-hidden-xs">
<!--PathArrayName-->
</a>
<!--DiskPathArrayEnd-->
<div class="mdui-toolbar-spacer"></div>
</div>
</header>
<div class="mdui-drawer" id="main-drawer">
<div class="mdui-list" mdui-collapse="{accordion: true}">
<!--LoginStart-->
<li class="mdui-list-item mdui-ripple" mdui-dialog="{target: '#login_input'}" >
<a class="mdui-list-item-icon mdui-icon material-icons">account_circle</a>
<a class="mdui-list-item-content" mdui-dialog="{target: '#login_input'}"><!--constStr@Login--></a>
</li>
<!--LoginEnd-->
<li class="mdui-list-item mdui-ripple" onclick="renexmoe.toggle_theme();">
<a class="mdui-list-item-icon mdui-icon material-icons">brightness_4</a><a
class="mdui-list-item-content">深色背景模式</a>
</li>
<li class="mdui-list-item mdui-ripple">
<a href="<!--base_path-->" class="mdui-list-item-icon mdui-icon material-icons">home</a><a
href="<!--base_path-->" class="mdui-list-item-content" id="home">
<!--constStr@Home-->
</a>
</li>
<!--MultiDiskAreaStart-->
<div class="mdui-divider"></div>
<!--MultiDisksStart-->
<li class="mdui-list-item mdui-ripple">
<a href="<!--MultiDisksUrl-->" class="mdui-list-item-icon mdui-icon material-icons">cloud</a>
<a href="<!--MultiDisksUrl-->" class="mdui-list-item-content mdui-text-truncate disk_name">
<!--MultiDisksName-->
</a>
</li>
<!--MultiDisksEnd-->
<div class="mdui-divider"></div>
<!--MultiDiskAreaEnd-->
<a target="_blank" href="https://github.com/qkqpttgf/OneManager-php" class="mdui-list-item mdui-ripple">
<i class="mdui-list-item-icon mdui-icon material-icons">code</i>
<div class="mdui-list-item-content">Github</div>
</a>
<li class="mdui-list-item mdui-ripple" id="about_theme">
<i class="mdui-list-item-icon mdui-icon material-icons">info</i>
<div class="mdui-list-item-content">關於主題</div>
</li>
<div class="mdui-divider"></div>
<li class="mdui-list-item mdui-ripple" id="select_language" style="overflow: visible;">
<i class="mdui-list-item-icon mdui-icon material-icons">language</i>
<div class="mdui-list-item-content" style="padding-top: 10px;padding-bottom: 10px;">
<select class="mdui-select" name="language" mdui-select onchange="changelanguage(this.options[this.options.selectedIndex].value)">
<!--SelectLanguageStart-->
<option value="<!--SelectLanguageKey-->" <!--SelectLanguageSelected-->><!--SelectLanguageValue--></option>
<!--SelectLanguageEnd-->
</select>
</div>
</li>
<script>
function changelanguage(str)
{
if (str=='Language') str = '';
var expd = new Date();
expd.setTime(expd.getTime()+(2*60*60*1000));
var expires = "expires="+expd.toGMTString();
document.cookie='language='+str+'; path=/; '+expires;
location.href = location.href;
}
</script>
</div>
</div>
<div class="mdui-container" style="position: relative;">
<ul class="mdui-menu" id="admin-menu">
<li class="mdui-menu-item">
<a href="javascript:;" class="mdui-ripple back">
<i class="mdui-menu-item-icon mdui-icon material-icons">arrow_back</i>
返回上一頁
</a>
</li>
</ul>
<i id="mouseplace" style="position: fixed"></i>
<!--LoginStart-->
<div class="mdui-dialog" id="login_input">
<div class="mdui-dialog-title"><!--constStr@Login--></div>
<div class="mdui-dialog-content" style="height: 108px">
<form action="<!--IsPreview?-->login=admin" method="post" onsubmit="return sha1loginpass(this);">
<div class="mdui-textfield mdui-textfield-floating-label">
<i class="mdui-icon material-icons">lock</i><label class="mdui-textfield-label"><!--constStr@InputPassword--></label>
<input class="mdui-textfield-input" id="login_input" name="password1" type="password">
<input name="timestamp" type="hidden" value="">
</div>
</div>
<div class="mdui-dialog-actions">
<button class="mdui-btn mdui-ripple" mdui-dialog-close="" id="login_close">取消</button>
<button id="login_btn_bak" class="mdui-btn mdui-ripple" type="submit" value="<!--constStr@Login-->">
<!--constStr@Login-->
</button>
</form>
</div>
</div>
<!--LoginEnd-->
<!--EncryptedStart-->
<div class="mdui-center" style="margin: 20px auto;max-width: 600px;">
<br />
<center>
<div class="mdui-typo-title">
這是一個受保護的資料夾,您需要提供訪問密碼才能檢視。
</div>
</center>
<form action="" method="post">
<div class="mdui-textfield mdui-textfield-floating-label">
<i class="mdui-icon material-icons">https</i>
<label class="mdui-textfield-label">
<!--constStr@InputPassword-->
</label>
<input name="password1" class="mdui-textfield-input" type="password" />
</div>
<br />
<button type="submit" class="mdui-center mdui-btn mdui-btn-raised mdui-ripple mdui-color-theme">
<i class="mdui-icon material-icons">fingerprint</i>
<!--constStr@Submit-->
</button>
</form>
</div>
<!--EncryptedEnd-->
<!--IsFolderStart-->
<!--HeadomfStart-->
<div class="mdui-typo mdui-shadow-3" style="padding: 20px; margin: 20px 0">
<!--HeadomfContent-->
</div>
<!--HeadomfEnd-->
<!--HeadmdStart-->
<div class="mdui-chip mdui-ripple mdui-hidden-xs" style="margin-top: 20px;">
<span class="mdui-chip-icon">
<i class="mdui-icon material-icons">face</i>
</span>
<span class="mdui-chip-title">HEAD.md</span>
</div>
<div class="mdui-typo mdui-shadow-3 markdown" style="padding: 20px; margin: 20px 0; overflow-x: scroll; border-radius: 8px; background-color: rgb(22 22 22 / 43%);" id="head">
<textarea id="head-md"><!--HeadmdContent--></textarea>
</div>
<!--HeadmdEnd-->
<div class="mdui-row mdui-shadow-3" style="margin: 20px 0; border-radius: 8px; background-color: rgb(22 22 22 / 43%);">
<ul class="mdui-list" id="file-list">
<li class="mdui-list-item mdui-ripple">
<div class="mdui-row mdui-col-xs-12">
<div class="mdui-col-xs-12 mdui-col-sm-7">
<!--constStr@File--><i class="mdui-icon material-icons icon-sort" data-sort="name"
data-order="less">expand_less</i>
</div>
<div class="mdui-col-sm-3 mdui-text-right">
<!--constStr@EditTime--><i class="mdui-icon material-icons icon-sort" data-sort="date"
data-order="less">expand_less</i>
</div>
<div class="mdui-col-sm-2 mdui-text-right">
<!--constStr@Size--><i class="mdui-icon material-icons icon-sort" data-sort="size"
data-order="less">expand_less</i>
</div>
</div>
</li>
<!--BackArrowStart-->
<li class="mdui-list-item mdui-ripple back-page">
<a href="<!--BackArrowUrl-->">
<div class="mdui-row mdui-col-sm-12">
<div class="mdui-col-xs-7">
<i class="mdui-icon material-icons">arrow_upward</i>
</div>
<div class="mdui-col-xs-3 mdui-text-right"></div>
<div class="mdui-col-xs-2 mdui-text-right"></div>
</div>
</a>
</li>
<!--BackArrowEnd-->
<!--FolderListStart-->
<li class="mdui-list-item mdui-ripple" data-sort data-sort-name="<!--FileEncodeReplaceName-->"
data-sort-date="<!--lastModifiedDateTime-->" data-sort-size="<!--size-->" style="padding-right: 3.3rem">
<a href="<!--FileEncodeReplaceUrl-->/">
<div class="mdui-row mdui-col-sm-12">
<div class="mdui-col-xs-12 mdui-col-sm-7 mdui-text-truncate">
<i class="mdui-icon material-icons">folder_open</i><span>
<!--FileEncodeReplaceName-->
</span>
</div>
<div class="mdui-col-sm-3 mdui-text-right">
<!--lastModifiedDateTime-->
</div>
<div class="mdui-col-sm-2 mdui-text-right">
<!--size-->
</div>
</div>
</a>
</li>
<!--FolderListEnd-->
<!--FileListStart-->
<li class="mdui-list-item file mdui-ripple" data-sort data-sort-name="<!--FileEncodeReplaceName-->"
data-sort-date="<!--lastModifiedDateTime-->" data-sort-size="<!--size-->" data-readypreview="<!--FileExt-->">
<a class="<!--FileExtType-->" data-name="<!--FileEncodeReplaceName-->"
href="<!--FileEncodeReplaceUrl-->?preview" aria-label="File">
<div class="mdui-row mdui-col-sm-12">
<div class="mdui-col-xs-12 mdui-col-sm-7 mdui-text-truncate">
<i class="mdui-icon material-icons">
<!--IconValue-->
</i>
<span>
<!--FileEncodeReplaceName-->
</span>
</div>
<div class="mdui-col-sm-3 mdui-text-right">
<!--lastModifiedDateTime-->
</div>
<div class="mdui-col-sm-2 mdui-text-right">
<!--size-->
</div>
</div>
</a>
<div class="forcedownload mdui-text-right">
<a title="<!--constStr@Download-->" aria-label="Download" href="<!--FileEncodeReplaceUrl-->"
target="_blank"><button class="mdui-btn mdui-ripple mdui-btn-icon">
<i class="mdui-icon material-icons">file_download</i>
</button></a>
</div>
</li>
<!--FileListEnd-->
</ul>
</div>
<!--ReadmemdStart-->
<div class="mdui-chip mdui-ripple mdui-hidden-xs">
<span class="mdui-chip-icon"><i class="mdui-icon material-icons">face</i></span><span
class="mdui-chip-title">README.md</span>
</div>
<div class="mdui-typo mdui-shadow-3 markdown" style="padding: 20px; margin: 20px 0; overflow-x: scroll; background-color: rgb(22 22 22 / 43%);" id="readme">
<textarea id="readme-md"><!--ReadmemdContent--></textarea>
</div>
<!--ReadmemdEnd-->
<!--FootomfStart-->
<div class="mdui-typo mdui-shadow-3" style="padding: 20px; margin: 20px 0">
<!--FootomfContent-->
</div>
<!--FootomfEnd-->
<script>
document.querySelector("#admin-menu").innerHTML += '<li class="mdui-menu-item"><a class="mdui-ripple getalllink"><i class="mdui-menu-item-icon mdui-icon material-icons">link</i><!--constStr@CopyAllDownloadUrl--></a></li>';
</script>
<script>
window.MorePage = undefined;
</script>
<!--MorePageStart-->
<script>
window.MorePage = [
<!--MorePageListNowStart-->
<!--PageNum-->,
<!--MorePageListNowEnd-->
<!--MorePageListStart-->
<!--PageNum-->,
<!--MorePageListEnd-->
];
</script>
<!--MorePageEnd-->
<!--IsFolderEnd-->
<!--IsFileStart-->
<script>
path = window.location.pathname.substring(0, window.location.pathname.lastIndexOf('/'));
function copyURL() {
copyText = document.createElement("input");
copyText.id = "copyText";
copyText.value = window.location.origin + path + "/" + "<!--FileDownUrl-->";
p = document.querySelector('body');
parent = p.parentNode;
parent.appendChild(copyText);
copyText.focus();
copyText.select();
document.execCommand("copy");
document.getElementById("copyText").remove();
mdui.snackbar("已複製到剪貼簿");
}
document.querySelector("#admin-menu").innerHTML += '<li class="mdui-menu-item"><a class="mdui-ripple" onclick="copyURL()"><i class="mdui-menu-item-icon mdui-icon material-icons">link</i><!--constStr@CopyUrl--></a></li>';
document.querySelector(".mdui-toolbar").innerHTML += '<a class="mdui-btn mdui-btn-icon mdui-ripple downloadurl"><i class="mdui-icon material-icons">cloud_download</i></a>';
</script>
<div id="file" class="mdui-shadow-3" style="margin: 20px 0px; padding: 20px; border-radius: 8px">
<!--IsimgFileStart-->
<img class="mdui-img-fluid mdui-center" src="<!--FileDownUrl-->" />
<!--IsimgFileEnd-->
<!--IsmusicFileStart-->
<div id="aplayer" class="mdui-text-center">音樂載入中...</div>
<br />
<div class="mdui-row" id="clpp">
<a id="openiina" href="" type="button" class="clp mdui-btn mdui-ripple">IINA</a>
<a id="openpot" href="" type="button" class="clp mdui-btn mdui-ripple">PotPlayer</a>
<a id="openvlc" href="" type="button" class="clp mdui-btn mdui-ripple">VLC</a>
<a id="opennp" href="" type="button" class="clp mdui-btn mdui-ripple">nPlayer</a>
<a id="openmxfree" href="" type="button" class="clp mdui-btn mdui-ripple">MXPlayer</a>
<a id="openmxpro" href="" type="button" class="clp mdui-btn mdui-ripple">MXPlayer Pro</a>
</div>
<script>
document.getElementById("openiina").href = "iina://weblink?url=" + window.location.origin + path + "/" + "<!--FileDownUrl-->";
document.getElementById("openpot").href = "potplayer://" + window.location.origin + path + "/" + "<!--FileDownUrl-->";
document.getElementById("openvlc").href = "vlc://" + window.location.origin + path + "/" + "<!--FileDownUrl-->";
document.getElementById("opennp").href = "nplayer-" + window.location.origin + path + "/" + "<!--FileDownUrl-->";
document.getElementById("openmxfree").href = "intent:" + window.location.origin + path + "/" + "<!--FileDownUrl-->" + "#Intent;package=com.mxtech.videoplayer.ad;end";
document.getElementById("openmxpro").href = "intent:" + window.location.origin + path + "/" + "<!--FileDownUrl-->" + "#Intent;package=com.mxtech.videoplayer.pro;end";
ap = new APlayer({
container: document.getElementById('aplayer'),
theme: 'rgb(242, 200, 171)',
autoplay: false,
loop: 'all',
audio: [
{
name: "<!--FileDownUrl-->".substring(0, "<!--FileDownUrl-->".lastIndexOf('.')),
artist: " ",
url: "<!--FileDownUrl-->",
cover: " "
}
]
});
document.querySelector('.aplayer-author').innerHTML = "";
isRecover = false;
function AudioTime(){
if(!isRecover){
if(ap.audio.duration > 0){
if(localStorage.getItem(path + "/" + "<!--FileDownUrl-->") != null && localStorage.getItem(path + "/" + "<!--FileDownUrl-->") != 'null'){
ap.seek(localStorage.getItem(path + "/" + "<!--FileDownUrl-->") - 5);
mdui.snackbar('已恢復至上次播放位置');
isRecover = true;
}else{
isRecover = true;
}
}
}else{
if(ap.audio.currentTime >= 16 && ap.audio.currentTime <= ap.audio.duration - 16){
localStorage.setItem(path + "/" + "<!--FileDownUrl-->", ap.audio.currentTime);
}else{
localStorage.setItem(path + "/" + "<!--FileDownUrl-->", null);
}
}
}
function AudioPause(){
if(window.location.href != oldURL){
if(ap != undefined){
ap.pause();
}
oldURL = window.location.href;
}
}
var oldURL = window.location.href;
setInterval(AudioPause, 1000);
setInterval(AudioTime, 1000);
window.jsmediatags.read(window.location.origin + path + "/" + "<!--FileDownUrl-->", {
onSuccess: function(tag) {
if(tag.tags.picture != undefined){
const data = tag.tags.picture.data;
const format = tag.tags.picture.format;
let base64String = "";
for (let i = 0; i < data.length; i++) {
base64String += String.fromCharCode(data[i]);
}
ap.options.audio[0].cover = `data:${format};base64,${window.btoa(base64String)}`;
document.querySelector('.aplayer-pic').style.backgroundImage = `url("data:${format};base64,${window.btoa(base64String)}")`;
}
if(tag.tags.title != undefined){
ap.options.audio[0].name = tag.tags.title;
document.querySelector('.aplayer-title').innerHTML = tag.tags.title;
}
if(tag.tags.artist != undefined){
ap.options.audio[0].artist = tag.tags.artist;
document.querySelector('.aplayer-author').innerHTML = " - " + tag.tags.artist;
}
},
onError: function(error) {
p = document.getElementById('aplayer');
parent = p.parentNode;
audio = document.createElement('audio');
audio.className = 'mdui-center';
audio.src = "<!--FileDownUrl-->";
audio.controls = true;
audio.autoplay = true;
audio.style = 'width: 100%';
parent.replaceChild(audio, p);
}
});
</script>
<!--IsmusicFileEnd-->
<!--IsvideoFileStart-->
<div id="dplayer"></div>
<br />
<div class="mdui-row" id="clpp">
<a id="openiina" href="" type="button" class="clp mdui-btn mdui-ripple">IINA</a>
<a id="openpot" href="" type="button" class="clp mdui-btn mdui-ripple">PotPlayer</a>
<a id="openvlc" href="" type="button" class="clp mdui-btn mdui-ripple">VLC</a>
<a id="opennp" href="" type="button" class="clp mdui-btn mdui-ripple">nPlayer</a>
<a id="openmxfree" href="" type="button" class="clp mdui-btn mdui-ripple">MXPlayer</a>
<a id="openmxpro" href="" type="button" class="clp mdui-btn mdui-ripple">MXPlayer Pro</a>
</div>
<script>
document.getElementById("openiina").href = "iina://weblink?url=" + window.location.origin + path + "/" + "<!--FileDownUrl-->";
document.getElementById("openpot").href = "potplayer://" + window.location.origin + path + "/" + "<!--FileDownUrl-->";
document.getElementById("openvlc").href = "vlc://" + window.location.origin + path + "/" + "<!--FileDownUrl-->";
document.getElementById("opennp").href = "nplayer-" + window.location.origin + path + "/" + "<!--FileDownUrl-->";
document.getElementById("openmxfree").href = "intent:" + window.location.origin + path + "/" + "<!--FileDownUrl-->" + "#Intent;package=com.mxtech.videoplayer.ad;end";
document.getElementById("openmxpro").href = "intent:" + window.location.origin + path + "/" + "<!--FileDownUrl-->" + "#Intent;package=com.mxtech.videoplayer.pro;end";
dp = new DPlayer({
container: document.getElementById('dplayer'),
theme: '#ffd2b3',
screenshot: true,
preload: 'auto',
playbackSpeed: [0.5, 1, 1.5, 2, 2.5, 3, 3.5, 4, 4.5, 5, 5.5, 6],
video: {
url: "<!--FileDownUrl-->",
type: 'auto'
}
});
isRecover = false;
function VideoTime(){
if(!isRecover){
if(dp.video.duration > 0 && dp.video.duration != NaN){
if(localStorage.getItem(path + "/" + "<!--FileDownUrl-->") != null && localStorage.getItem(path + "/" + "<!--FileDownUrl-->") != 'null'){
dp.seek(localStorage.getItem(path + "/" + "<!--FileDownUrl-->") - 5);
mdui.snackbar('已恢復至上次播放位置');
isRecover = true;
}else{
isRecover = true;
}
}
}else{
if(dp.video.currentTime >= 31 && dp.video.currentTime <= dp.video.duration - 31){
localStorage.setItem(path + "/" + "<!--FileDownUrl-->", dp.video.currentTime);
}else{
localStorage.setItem(path + "/" + "<!--FileDownUrl-->", null);
}
}
}
setInterval(VideoTime, 1000);
</script>
<!--IsvideoFileEnd-->
<!--IsofficeFileStart-->
<iframe id="office-a" src="https://view.officeapps.live.com/op/view.aspx?src=<!--FileEncodeDownUrl-->"
style="width: 100%" frameborder="0"></iframe>
<script>
window.onload = function () {
if (document.getElementById("office-a")) {
var ifm = document.getElementById("office-a");
var containerHeight = document.documentElement.clientHeight - 150;
ifm.height = containerHeight;
}
}
window.onresize = function () {
if (document.getElementById("office-a")) {
var ifm = document.getElementById("office-a");
var containerHeight = document.documentElement.clientHeight - 150;
ifm.height = containerHeight;
}
}
</script>
<!--IsofficeFileEnd-->
<!--IspdfFileStart-->
<div id="pdf-d" style="text-align:center;margin:0 auto;width: calc(100%);">Loading PDF</div>
<script>
function renderpage(pdf, i) {
pdf.getPage(i).then(function (page) {
var scale = 1.5;
var viewport = page.getViewport({
scale: scale,
});
var canvas = document.getElementById("pdf-c" + i);
var context = canvas.getContext("2d");
canvas.height = viewport.height;
canvas.width = viewport.width;
canvas.style.width = "inherit";
var renderContext = {
canvasContext: context,
viewport: viewport,
};
page.render(renderContext);
});
}
function loadpdf() {
pdfjsLib.GlobalWorkerOptions.workerSrc =
"//unpkg.com/pdfjs-dist@2.5.207/es5/build/pdf.worker.js";
var loadingTask = pdfjsLib.getDocument({
url: "<!--FileDownUrl-->",
cMapUrl: "//unpkg.com/pdfjs-dist@2.5.207/cmaps/",
cMapPacked: true,
rangeChunkSize: 65535
});
loadingTask.promise.then(function (pdf) {
var pagenum = pdf.numPages;
var pdfContainer = document.getElementById("pdf-d");
pdfContainer.innerHTML = "";
for (var i = 1; i <= pagenum; i++) {
var canvasNew = document.createElement("canvas");
canvasNew.id = "pdf-c" + i;
pdfContainer.appendChild(canvasNew);
renderpage(pdf, i);
}
});
}
window.onload = function () {
if (document.getElementById("pdf-d")) {
loadpdf();
}
}
</script>
<!--IspdfFileEnd-->
<!--IstxtFileStart-->
<pre id="editor" style="white-space: pre-wrap; font-family: JetBrains Mono, Fira Code, Sarasa Mono SC, Cascadia Code, Menlo, Consolas, monaco, Noto Sans SC;"><code id="code"><!--TxtContent--></code></pre>
<script>
document.querySelector("#admin-menu").innerHTML +=
'<li class="mdui-menu-item"><a class="mdui-ripple highlight"><i class="mdui-menu-item-icon mdui-icon material-icons">style</i>markdown解析</a></li>';
document.querySelector(
".mdui-toolbar"
).innerHTML +=
'<a class="mdui-btn mdui-btn-icon mdui-ripple mdui-hidden-sm-up highlight"><i class="mdui-icon material-icons">style</i></a>';
</script>
<!--IstxtFileEnd-->
<!--IsOtherFileStart-->
<!--constStr@FileNotSupport-->
<!--IsOtherFileEnd-->
</div>
<a href="<!--FileEncodeReplaceUrl-->" target="_blank" class="mdui-fab mdui-fab-fixed mdui-ripple mdui-color-theme-accent"><i class="mdui-icon material-icons">file_download</i></a>
<!--IsFileEnd-->
</div>
<div class="mdui-text-center mdui-typo" id="footer" style="position: relative;"></div>
</body>
<script src="//unpkg.com/pdfjs-dist@2.5.207/es5/build/pdf.js"></script>
<script src="//unpkg.com/mdui@1.0.1/dist/js/mdui.min.js"></script>
<script src="//unpkg.com/sha-1@1.0.0/dist/sha1.umd.js"></script>
<script src="//unpkg.com/jquery"></script>
<script src="//unpkg.com/@highlightjs/cdn-assets/highlight.min.js"></script>
<script src="//unpkg.com/renexmoe-tw527e-edition@1.1.1/js/extra.js"></script>
<script src="//unpkg.com/renexmoe-tw527e-edition@1.1.1/js/app@qm97ssij9cnii7x8fnbkpq4hcgq35dyr.js"></script>
<script src="//unpkg.com/renexmoe-tw527e-edition@1.1.1/js/app@59467336fgwnpx8qbfvtmpyeefv35e5i.js"></script>
<script src="//unpkg.com/renexmoe-tw527e-edition@1.1.1/js/app@a7r8jgn2qe3eyfrkahwdnqcjf7uba95k.js"></script>
<script src="//unpkg.com/renexmoe-tw527e-edition@1.1.1/js/app@keaxctnyw29nuzpsh66g7ki4h5wzy8zn.js"></script>
<script src="//unpkg.com/renexmoe-tw527e-edition@1.1.1/js/app@pe2nahunr9aihucdgc2ssjbgnaccr5rz.js"></script>
<script src="//unpkg.com/renexmoe-tw527e-edition@1.1.1/js/app@tsjmiafbhksy5pyb5tchy765wshmwwnd.js"></script>
<script src="//unpkg.com/renexmoe-tw527e-edition@1.1.1/js/webpack-runtime@cx4vgpbaggjuhg8rh6m3yarhkkxy4dm3.js"></script>
<script>
window.renexmoe.toggle_theme();
</script>
<!--customScript-->
</html>