4069 lines
408 KiB
Plaintext
4069 lines
408 KiB
Plaintext
|
<!-- 注意:这个文件是一个公共文件,被很多地方引用,改动需要注意其他类型页面是否有受影响 -->
|
|||
|
<!DOCTYPE html>
|
|||
|
<html class="
|
|||
|
|
|||
|
">
|
|||
|
<head>
|
|||
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
|||
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|||
|
<meta name="color-scheme" content="light dark">
|
|||
|
<meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=1.0,user-scalable=0,viewport-fit=cover">
|
|||
|
<link rel="shortcut icon" type="image/x-icon" href="//res.wx.qq.com/a/wx_fed/assets/res/NTI4MWU5.ico">
|
|||
|
<link rel="mask-icon" href="//res.wx.qq.com/a/wx_fed/assets/res/MjliNWVm.svg" color="#4C4C4C">
|
|||
|
<link rel="apple-touch-icon-precomposed" href="//res.wx.qq.com/a/wx_fed/assets/res/OTE0YTAw.png">
|
|||
|
<meta name="apple-mobile-web-app-capable" content="yes">
|
|||
|
<meta name="apple-mobile-web-app-status-bar-style" content="black">
|
|||
|
<meta name="format-detection" content="telephone=no">
|
|||
|
|
|||
|
|
|||
|
|
|||
|
|
|||
|
|
|||
|
<meta name="description" content="省级示范性普通高中" />
|
|||
|
<meta name="author" content="" />
|
|||
|
|
|||
|
|
|||
|
<meta property="og:title" content="创建于1937年,连续16年全市第一!她就是陇西……" />
|
|||
|
<meta property="og:url" content="http://mp.weixin.qq.com/s?__biz=MzAwMjU3NjA1Mw==&mid=2649667982&idx=1&sn=785369d56286b706c4544afb5854983b&chksm=82d24254b5a5cb425f68a91bb513e178a76d9efe2d001f7cd6f4c2ca5c7336568cde510ca62a#rd" />
|
|||
|
<meta property="og:image" content="http://mmbiz.qpic.cn/mmbiz_jpg/jIhDxnibk8LKicUgIfrl6ibNu53kd6BtcialdOCtz7Z2DDicqW9kbbNG7erVNwNQ5ydFCJLD638EeiaCo5icDsdlpmCkw/0?wx_fmt=jpeg" />
|
|||
|
<meta property="og:description" content="省级示范性普通高中" />
|
|||
|
<meta property="og:site_name" content="微信公众平台" />
|
|||
|
<meta property="og:type" content="article" />
|
|||
|
<meta property="og:article:author" content="" />
|
|||
|
|
|||
|
|
|||
|
<meta property="twitter:card" content="summary" />
|
|||
|
<meta property="twitter:image" content="http://mmbiz.qpic.cn/mmbiz_jpg/jIhDxnibk8LKicUgIfrl6ibNu53kd6BtcialdOCtz7Z2DDicqW9kbbNG7erVNwNQ5ydFCJLD638EeiaCo5icDsdlpmCkw/0?wx_fmt=jpeg" />
|
|||
|
<meta property="twitter:title" content="创建于1937年,连续16年全市第一!她就是陇西……" />
|
|||
|
<meta property="twitter:creator" content="" />
|
|||
|
<meta property="twitter:site" content="微信公众平台" />
|
|||
|
<meta property="twitter:description" content="省级示范性普通高中" />
|
|||
|
|
|||
|
|
|||
|
<script nonce="1032235604" type="text/javascript">
|
|||
|
window.logs = {
|
|||
|
pagetime: {}
|
|||
|
};
|
|||
|
|
|||
|
var testRdmUrl = '//res.wx.qq.com/mmbizwap/zh_CN/htmledition/images/pic/common/avatar_default46e3e2.svg';
|
|||
|
|
|||
|
if (testRdmUrl.indexOf('mp.weixin.qq.com') > 0) {
|
|||
|
window.__allowLoadResFromMp = true;
|
|||
|
window.__loadAllResFromMp = true;
|
|||
|
|
|||
|
|
|||
|
document.documentElement.style.boxShadow = 'inset 0 0 15px green';
|
|||
|
}
|
|||
|
|
|||
|
window.logs.pagetime['html_begin'] = (+new Date());
|
|||
|
window.LANG= "zh_CN";
|
|||
|
|
|||
|
</script>
|
|||
|
<title>
|
|||
|
</title>
|
|||
|
<!---请求录制 by gabyliu-->
|
|||
|
<!--todo 这里要加cookie或actionType才加载 -->
|
|||
|
|
|||
|
<style>.radius_avatar{display:inline-block;background-color:#fff;padding:3px;border-radius:50%;-moz-border-radius:50%;-webkit-border-radius:50%;overflow:hidden;vertical-align:middle}.radius_avatar img{display:block;width:100%;height:100%;border-radius:50%;-moz-border-radius:50%;-webkit-border-radius:50%;background-color:#eee}.rich_media_inner{word-wrap:break-word;-webkit-hyphens:auto;-ms-hyphens:auto;hyphens:auto}.rich_media_area_primary{padding:20px 16px 12px;padding:calc(20px + constant(safe-area-inset-top)) calc(16px + constant(safe-area-inset-right)) 12px calc(16px + constant(safe-area-inset-left));padding:calc(20px + env(safe-area-inset-top)) calc(16px + env(safe-area-inset-right)) 12px calc(16px + env(safe-area-inset-left));background-color:#fafafa}.rich_media_area_primary.voice{padding-top:66px}.rich_media_area_primary .weui-loadmore_line{border-color:#d8d8d8}.rich_media_area_primary .weui-loadmore_line .weui-loadmore__tips{color:#888;background-color:#fafafa}.rich_media_area_extra{padding:0 16px 16px;padding:0 calc(16px + constant(safe-area-inset-right)) calc(16px + constant(safe-area-inset-bottom)) calc(16px + constant(safe-area-inset-left));padding:0 calc(16px + env(safe-area-inset-right)) calc(16px + env(safe-area-inset-bottom)) calc(16px + env(safe-area-inset-left))}.rich_media_extra{padding-top:30px}.mpda_bottom_container .rich_media_extra{padding-top:24px}.mpda_bottom_container .rich_media_extra .mpad_more_list{right:-10px}.appmsg_desktop_fontsize_1 .like_comment_wrp,.appmsg_desktop_fontsize_1 .like_comment_primary_wrp,.appmsg_desktop_fontsize_1 .share_mod_context,.appmsg_desktop_fontsize_1 .original_page,.appmsg_desktop_fontsize_1 .weui-toast,.appmsg_desktop_fontsize_1 .weui-dialog,.appmsg_desktop_fontsize_1 .function_mod,.appmsg_desktop_fontsize_1 .rich_media_extra,.appmsg_desktop_fontsize_1 .rich_media_tool,.appmsg_desktop_fontsize_1 .article_extend_area,.appmsg_desktop_fontsize_1 .article-tag__list,.appmsg_desktop_fontsize_1 .rich_media_wrp{zoom:.875}.appmsg_desktop_fontsize_1 .rich_media_extra .weui-dialog,.appmsg_desktop_fontsize_1 .rich_media_extra .weui-toast{zoom:1}.appmsg_desktop_fontsize_1 .rich_media_area_primary_inner,.appmsg_desktop_fontsize_1 .rich_media_area_extra_inner{max-width:592.375px}.appmsg_desktop_fontsize_2 .like_comment_wrp,.appmsg_desktop_fontsize_2 .like_comment_primary_wrp,.appmsg_desktop_fontsize_2 .share_mod_context,.appmsg_desktop_fontsize_2 .original_page,.appmsg_desktop_fontsize_2 .weui-toast,.appmsg_desktop_fontsize_2 .weui-dialog,.appmsg_desktop_fontsize_2 .function_mod,.appmsg_desktop_fontsize_2 .rich_media_extra,.appmsg_desktop_fontsize_2 .like_comment_wrp,.appmsg_desktop_fontsize_2 .rich_media_tool,.appmsg_desktop_fontsize_2 .article_extend_area,.appmsg_desktop_fontsize_2 .article-tag__list,.appmsg_desktop_fontsize_2 .rich_media_wrp{zoom:1}.appmsg_desktop_fontsize_2 .rich_media_extra .weui-dialog,.appmsg_desktop_fontsize_2 .rich_media_extra .weui-toast{zoom:1}.appmsg_desktop_fontsize_2 .rich_media_area_primary_inner,.appmsg_desktop_fontsize_2 .rich_media_area_extra_inner{max-width:677px}.appmsg_desktop_fontsize_3 .like_comment_wrp,.appmsg_desktop_fontsize_3 .like_comment_primary_wrp,.appmsg_desktop_fontsize_3 .share_mod_context,.appmsg_desktop_fontsize_3 .original_page,.appmsg_desktop_fontsize_3 .weui-toast,.appmsg_desktop_fontsize_3 .weui-dialog,.appmsg_desktop_fontsize_3 .function_mod,.appmsg_desktop_fontsize_3 .rich_media_extra,.appmsg_desktop_fontsize_3 .like_comment_wrp,.appmsg_desktop_fontsize_3 .rich_media_tool,.appmsg_desktop_fontsize_3 .article_extend_area,.appmsg_desktop_fontsize_3 .article-tag__list,.appmsg_desktop_fontsize_3 .rich_media_wrp{zoom:1.25}.appmsg_desktop_fontsize_3 .rich_media_extra .weui-dialog,.appmsg_desktop_fontsize_3 .rich_media_extra .weui-toast{zoom:1}.appmsg_desktop_fontsize_3 .rich_media_area_primary_inner,.appmsg_desktop_fontsize_3 .rich_media_area_extra_inner{max-width:846.25px}.appmsg_desktop_fontsize_4 .weui-toast,.appmsg_desktop_fontsize_4 .weui-dialog{zoom:1.25}.appmsg_desktop_fontsize_4 .share_mod_context,.appmsg_desktop_fontsiz
|
|||
|
<style>
|
|||
|
</style>
|
|||
|
<!--[if lt IE 9]>
|
|||
|
<link rel="stylesheet" type="text/css" href="//res.wx.qq.com/mmbizwap/zh_CN/htmledition/style/page/appmsg_new/pc4c4161.css">
|
|||
|
<![endif]-->
|
|||
|
|
|||
|
</head>
|
|||
|
<!-- 非视频落地页走老逻辑 -->
|
|||
|
<body id="activity-detail" class="zh_CN wx_wap_page
|
|||
|
|
|||
|
appmsg_desktop_fontsize_2 mm_appmsg
|
|||
|
discuss_tab appmsg_skin_default appmsg_style_default ">
|
|||
|
<!-- <span style="color: red">currentVersion </span>
|
|||
|
<div style="color:red;padding-left: 50px;">is IOS</div>
|
|||
|
<span style="color: red">111</span>
|
|||
|
<span style="color: red">222170009FF</span> -->
|
|||
|
|
|||
|
|
|||
|
|
|||
|
<script nonce="1032235604" type="text/javascript">
|
|||
|
var biz = "MzAwMjU3NjA1Mw==" || "";
|
|||
|
var sn = "785369d56286b706c4544afb5854983b" || "" || "";
|
|||
|
var mid = "2649667982" || "" || "";
|
|||
|
var idx = "1" || "" || "";
|
|||
|
window.__allowLoadResFromMp = true;
|
|||
|
|
|||
|
</script>
|
|||
|
<script nonce="1032235604" type="text/javascript">
|
|||
|
var page_begintime=+new Date,is_rumor="",norumor="";
|
|||
|
1*is_rumor&&!(1*norumor)&&biz&&mid&&(document.referrer&&-1!=document.referrer.indexOf("mp.weixin.qq.com/mp/rumor")||(location.href="http://mp.weixin.qq.com/mp/rumor?action=info&__biz="+biz+"&mid="+mid+"&idx="+idx+"&sn="+sn+"#wechat_redirect"));
|
|||
|
</script>
|
|||
|
<script nonce="1032235604" type="text/javascript">
|
|||
|
var MutationObserver=window.WebKitMutationObserver||window.MutationObserver||window.MozMutationObserver,isDangerSrc=function(t){
|
|||
|
if(t){
|
|||
|
var e=t.match(/http(?:s)?:\/\/([^\/]+?)(\/|$)/);
|
|||
|
if(e&&!/qq\.com(\:8080)?$/.test(e[1])&&!/weishi\.com$/.test(e[1]))return!0;
|
|||
|
}
|
|||
|
return!1;
|
|||
|
},ishttp=0==location.href.indexOf("http://");
|
|||
|
-1==location.href.indexOf("safe=0")&&ishttp&&"function"==typeof MutationObserver&&"mp.weixin.qq.com"==location.host&&(window.__observer_data={
|
|||
|
count:0,
|
|||
|
exec_time:0,
|
|||
|
list:[]
|
|||
|
},window.__observer=new MutationObserver(function(t){
|
|||
|
window.__observer_data.count++;
|
|||
|
var e=new Date,r=[];
|
|||
|
t.forEach(function(t){
|
|||
|
for(var e=t.addedNodes,o=0;o<e.length;o++){
|
|||
|
var n=e[o];
|
|||
|
if("SCRIPT"===n.tagName){
|
|||
|
var i=n.src;
|
|||
|
isDangerSrc(i)&&(window.__observer_data.list.push(i),r.push(n)),!i&&window.__nonce_str&&n.getAttribute("nonce")!=window.__nonce_str&&(window.__observer_data.list.push("inlinescript_without_nonce"),
|
|||
|
r.push(n));
|
|||
|
}
|
|||
|
}
|
|||
|
});
|
|||
|
for(var o=0;o<r.length;o++){
|
|||
|
var n=r[o];
|
|||
|
n.parentNode&&n.parentNode.removeChild(n);
|
|||
|
}
|
|||
|
window.__observer_data.exec_time+=new Date-e;
|
|||
|
}),window.__observer.observe(document,{
|
|||
|
subtree:!0,
|
|||
|
childList:!0
|
|||
|
})),function(){
|
|||
|
if(-1==location.href.indexOf("safe=0")&&Math.random()<.01&&ishttp&&HTMLScriptElement.prototype.__lookupSetter__&&"undefined"!=typeof Object.defineProperty){
|
|||
|
window.__danger_src={
|
|||
|
xmlhttprequest:[],
|
|||
|
script_src:[],
|
|||
|
script_setAttribute:[]
|
|||
|
};
|
|||
|
var t="$"+Math.random();
|
|||
|
HTMLScriptElement.prototype.__old_method_script_src=HTMLScriptElement.prototype.__lookupSetter__("src"),
|
|||
|
HTMLScriptElement.prototype.__defineSetter__("src",function(t){
|
|||
|
t&&isDangerSrc(t)&&window.__danger_src.script_src.push(t),this.__old_method_script_src(t);
|
|||
|
});
|
|||
|
var e="element_setAttribute"+t;
|
|||
|
Object.defineProperty(Element.prototype,e,{
|
|||
|
value:Element.prototype.setAttribute,
|
|||
|
enumerable:!1
|
|||
|
}),Element.prototype.setAttribute=function(t,r){
|
|||
|
"SCRIPT"==this.tagName&&"src"==t&&isDangerSrc(r)&&window.__danger_src.script_setAttribute.push(r),
|
|||
|
this[e](t,r);
|
|||
|
};
|
|||
|
}
|
|||
|
}();
|
|||
|
</script>
|
|||
|
|
|||
|
<link rel="dns-prefetch" href="//res.wx.qq.com">
|
|||
|
<link rel="dns-prefetch" href="//mmbiz.qpic.cn">
|
|||
|
<link rel="dns-prefetch" href="https://wxa.wxs.qq.com">
|
|||
|
<link rel="shortcut icon" type="image/x-icon" href="//res.wx.qq.com/a/wx_fed/assets/res/NTI4MWU5.ico">
|
|||
|
<link rel="mask-icon" href="//res.wx.qq.com/a/wx_fed/assets/res/MjliNWVm.svg" color="#4C4C4C">
|
|||
|
<link rel="apple-touch-icon-precomposed" href="//res.wx.qq.com/a/wx_fed/assets/res/OTE0YTAw.png">
|
|||
|
<script nonce="1032235604" type="text/javascript">
|
|||
|
String.prototype.html = function(encode) {
|
|||
|
var replace =["'", "'", """, '"', " ", " ", ">", ">", "<", "<", "¥", "¥", "&", "&"];
|
|||
|
|
|||
|
|
|||
|
|
|||
|
|
|||
|
|
|||
|
|
|||
|
var replaceReverse = ["&", "&", "¥", "¥", "<", "<", ">", ">", " ", " ", '"', """, "'", "'"];
|
|||
|
var target;
|
|||
|
if (encode) {
|
|||
|
target = replaceReverse;
|
|||
|
} else {
|
|||
|
target = replace;
|
|||
|
}
|
|||
|
for (var i=0,str=this;i< target.length;i+= 2) {
|
|||
|
str=str.replace(new RegExp(target[i],'g'),target[i+1]);
|
|||
|
}
|
|||
|
return str;
|
|||
|
};
|
|||
|
|
|||
|
window.isInWeixinApp = function() {
|
|||
|
return /MicroMessenger/.test(navigator.userAgent);
|
|||
|
};
|
|||
|
|
|||
|
window.getQueryFromURL = function(url) {
|
|||
|
url = url || 'http://qq.com/s?a=b#rd';
|
|||
|
var tmp = url.split('?'),
|
|||
|
query = (tmp[1] || "").split('#')[0].split('&'),
|
|||
|
params = {};
|
|||
|
for (var i=0; i<query.length; i++) {
|
|||
|
var arg = query[i].split('=');
|
|||
|
params[arg[0]] = arg[1];
|
|||
|
}
|
|||
|
if (params['pass_ticket']) {
|
|||
|
params['pass_ticket'] = encodeURIComponent(params['pass_ticket'].html(false).html(false).replace(/\s/g,"+"));
|
|||
|
}
|
|||
|
return params;
|
|||
|
};
|
|||
|
|
|||
|
(function() {
|
|||
|
var params = getQueryFromURL(location.href);
|
|||
|
window.uin = params['uin'] || "" || '';
|
|||
|
window.key = params['key'] || "" || '';
|
|||
|
window.wxtoken = params['wxtoken'] || '';
|
|||
|
window.pass_ticket = params['pass_ticket'] || '';
|
|||
|
window.appmsg_token = "";
|
|||
|
})();
|
|||
|
|
|||
|
function wx_loaderror() {
|
|||
|
if (location.pathname === '/bizmall/reward') {
|
|||
|
new Image().src = '/mp/jsreport?key=96&content=reward_res_load_err&r=' + Math.random();
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
</script>
|
|||
|
|
|||
|
<script nonce="1032235604" type="text/javascript">
|
|||
|
window.__moon_report_uin = "0";
|
|||
|
window.no_moon_ls = 0;
|
|||
|
</script>
|
|||
|
|
|||
|
|
|||
|
<script nonce="1032235604" type="text/javascript">
|
|||
|
var write_sceen_time = (+new Date());
|
|||
|
|
|||
|
var currencyMap = {
|
|||
|
'USD': '$',
|
|||
|
'HKD': 'HK$',
|
|||
|
'CAD': 'C$',
|
|||
|
'AUD': 'A$',
|
|||
|
'TWD': 'NT$',
|
|||
|
'JPY': 'JPY¥',
|
|||
|
'EUR': '€',
|
|||
|
'SGD': 'S$',
|
|||
|
'GBP': '£',
|
|||
|
'NZD': 'NZ$',
|
|||
|
'MYR': 'RM',
|
|||
|
'KZT': '〒',
|
|||
|
'KRW': '₩',
|
|||
|
'THB': '฿',
|
|||
|
'PHP': '₱',
|
|||
|
'TRY': '₺',
|
|||
|
'MXN': 'Mex$',
|
|||
|
'CNY': '¥'
|
|||
|
};
|
|||
|
</script>
|
|||
|
|
|||
|
<div id="js_article" class="rich_media">
|
|||
|
|
|||
|
<div id="js_top_ad_area" class="top_banner"></div>
|
|||
|
|
|||
|
<div class="rich_media_inner">
|
|||
|
|
|||
|
|
|||
|
|
|||
|
<div id="page-content" class="rich_media_area_primary">
|
|||
|
|
|||
|
<div class="rich_media_area_primary_inner">
|
|||
|
|
|||
|
|
|||
|
|
|||
|
|
|||
|
|
|||
|
<div id="img-content" class="rich_media_wrp">
|
|||
|
|
|||
|
<h2 class="rich_media_title" id="activity-name">
|
|||
|
|
|||
|
|
|||
|
|
|||
|
创建于1937年,连续16年全市第一!她就是陇西……
|
|||
|
</h2>
|
|||
|
<div id="meta_content" class="rich_media_meta_list">
|
|||
|
|
|||
|
<span class="rich_media_meta rich_media_meta_nickname" id="profileBt">
|
|||
|
<a href="javascript:void(0);" id="js_name">
|
|||
|
陇西人 </a>
|
|||
|
<div id="js_profile_qrcode" class="profile_container" style="display:none;">
|
|||
|
<div class="profile_inner">
|
|||
|
<strong class="profile_nickname">陇西人</strong>
|
|||
|
<img class="profile_avatar" id="js_profile_qrcode_img" src="" alt="">
|
|||
|
|
|||
|
<p class="profile_meta">
|
|||
|
<label class="profile_meta_label">微信号</label>
|
|||
|
<span class="profile_meta_value">longxiren1</span>
|
|||
|
</p>
|
|||
|
|
|||
|
<p class="profile_meta">
|
|||
|
<label class="profile_meta_label">功能介绍</label>
|
|||
|
<span class="profile_meta_value">在这里,读懂陇西。</span>
|
|||
|
</p>
|
|||
|
|
|||
|
</div>
|
|||
|
<span class="profile_arrow_wrp" id="js_profile_arrow_wrp">
|
|||
|
<i class="profile_arrow arrow_out"></i>
|
|||
|
<i class="profile_arrow arrow_in"></i>
|
|||
|
</span>
|
|||
|
</div>
|
|||
|
</span>
|
|||
|
<em id="publish_time" class="rich_media_meta rich_media_meta_text"></em>
|
|||
|
</div>
|
|||
|
|
|||
|
|
|||
|
<div id="js_tags" class="article-tag__list" style="display: none;" data-len="0">
|
|||
|
|
|||
|
<div class="article-tag-card__title">收录于话题</div>
|
|||
|
<div class="article-tags">
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
|
|||
|
|
|||
|
|
|||
|
|
|||
|
|
|||
|
|
|||
|
|
|||
|
|
|||
|
|
|||
|
|
|||
|
|
|||
|
|
|||
|
|
|||
|
|
|||
|
|
|||
|
|
|||
|
|
|||
|
|
|||
|
|
|||
|
|
|||
|
|
|||
|
|
|||
|
<div class="rich_media_content " id="js_content" style="visibility: hidden;">
|
|||
|
|
|||
|
|
|||
|
|
|||
|
|
|||
|
|
|||
|
|
|||
|
<section data-support="96编辑器" data-style-id="27915"><section style="margin-top: 10px;margin-bottom: 10px;"><section style="border-left: 1px solid rgb(255, 0, 0);border-right: 1px solid rgb(255, 0, 0);background-color: rgb(255, 233, 199);padding: 13px;box-sizing: border-box;"><p style="text-align: center;letter-spacing: 2px;"><img data-ratio="0.6712707182320442" data-src="https://mmbiz.qpic.cn/mmbiz_jpg/jIhDxnibk8LKicUgIfrl6ibNu53kd6Btcial16NJdqhMlxNopjwososw9svtu47zVYpSnxSB1VjYfEDdBqCkU7yolA/640?wx_fmt=jpeg" data-type="jpeg" data-w="724" style="display:block;"></p><section style="margin-top:10px;color:#df0000;"><p style="letter-spacing: 2px;text-align: center;"><span style="font-size: 15px;">陇西一中2020级高一学生军训开训典礼</span></p></section></section></section></section><section data-support="96编辑器" data-style-id="27804"><section style="text-align: center;margin-top: 10px;margin-bottom: 10px;"><section style="display: flex;align-items: center;padding-right: 10px;padding-left: 10px;box-sizing: border-box;"><section style="width:1.3em;letter-spacing: 2px;transform: rotateZ(0deg);-webkit-transform: rotateZ(0deg);-moz-transform: rotateZ(0deg);-ms-transform: rotateZ(0deg);-o-transform: rotateZ(0deg);"><img data-ratio="1.6" data-src="https://mmbiz.qpic.cn/mmbiz_png/Ljib4So7yuWgAEMqXfHPcUgV7icyibu9nDuNakibqpwxggUiaIhTzkvZNpwZiaPuz59n0NibicILbas89pm2tI63RYAnQQ/640?wx_fmt=png" data-type="png" data-w="30" data-width="100%" style="display: block;width: 100%;"></section><section><section style="color: rgb(255, 162, 0);padding-right: 0.5em;margin-left: 10px;box-sizing: border-box;"><p style="letter-spacing: 2px;"><strong><em>陇西一中简介</em></strong></p></section></section></section><section style="margin-top: -4px;"><section style="width: 100%;height: 0.3em;background-color: #ffefcd;" data-width="100%"><br /></section></section><section style="border-bottom: 5px solid rgb(255, 239, 205);padding: 15px;color: rgb(91, 61, 46);box-sizing: border-box;"><p style="text-align: left;letter-spacing: 2px;"><span style="font-size: 15px;">甘肃省陇西县第一中学位于渭水河畔的巩昌雄镇长安路南侧,创建于1937年,现为</span><span style="font-size: 15px;color: rgb(255, 79, 121);">省级示范性普通高中</span><span style="font-size: 15px;">。学校占地165亩,建筑面积42923.63平方米。教学班60个,在校学生3368人。</span></p><p style="text-align: left;"><span style="font-size: 15px;letter-spacing: 2px;">学校以“宏健忠毅”为校训,以“以人为本,学教和谐,因材施教,发展个性”为办学理念,以“培养健康人、知识人、道德人、文化人,办人民满意的学校”为宗旨,实施“依法治校,科研兴校,质量强校,勤俭建校”战略,形成了“博学善思,励志明行”的校风,“敬业创新”的教风和“全实进律”的学风。先后被评为</span><span style="font-size: 15px;letter-spacing: 2px;color: rgb(255, 79, 121);">“全国教育系统先进集体”、“全国群众体育先进集体”、“国家级节约型公共机构示范单位”、“省级文明单位标兵”、“全省教育系统先进集体”、“全省双拥工作先进单位”、“全省会考工作先进集体”、“全省实验与信息技术准备先进单位”、“甘肃省语言文字规范化示范学校”、“全省创建绿色学校先进学校”、“市双拥工作先进单位”、“定西市先进基层党组织”、“定西市未成年人思想道德建设先进单位”</span><span style="font-size: 15px;letter-spacing: 2px;">等荣誉称号,多次被评为“市、县教育系统先进集体”。</span></p><p style="text-align: left;"><span style="font-size: 15px;letter-spacing: 2px;">现有教职工242人,专任教师208人,教师学历合格率为98%。教师队伍结构合理,中级以上职称占专任教师总数的75%,高级教师占专任教师总数的30%,涌现出了众多省园丁、国家省市县优秀和骨干教师、省市<E79C81>
|
|||
|
</div>
|
|||
|
|
|||
|
<script nonce="1032235604" type="text/javascript">
|
|||
|
var first_sceen__time = (+new Date());
|
|||
|
|
|||
|
if ("" == 1 && document.getElementById('js_content')) {
|
|||
|
document.getElementById('js_content').addEventListener("selectstart",function(e){ e.preventDefault(); });
|
|||
|
}
|
|||
|
|
|||
|
|
|||
|
(function(){
|
|||
|
if (navigator.userAgent.indexOf("WindowsWechat") != -1){
|
|||
|
var link = document.createElement('link');
|
|||
|
var head = document.getElementsByTagName('head')[0];
|
|||
|
link.rel = 'stylesheet';
|
|||
|
link.type = 'text/css';
|
|||
|
link.href = "//res.wx.qq.com/mmbizwap/zh_CN/htmledition/style/page/appmsg_new/winwx502975.css";
|
|||
|
head.appendChild(link);
|
|||
|
}
|
|||
|
})();
|
|||
|
</script>
|
|||
|
|
|||
|
|
|||
|
<div id="js_sponsor_ad_area"></div>
|
|||
|
|
|||
|
|
|||
|
|
|||
|
<div class="read-more__area" id="js_more_read_area" style="display:none;">
|
|||
|
|
|||
|
</div>
|
|||
|
|
|||
|
|
|||
|
|
|||
|
|
|||
|
</div>
|
|||
|
<div id="js_tags_preview_toast" class="article-tag__error-tips" style="display: none;">预览时标签不可点</div>
|
|||
|
|
|||
|
|
|||
|
|
|||
|
|
|||
|
<ul id="js_hotspot_area" class="article_extend_area"></ul>
|
|||
|
|
|||
|
|
|||
|
|
|||
|
|
|||
|
|
|||
|
|
|||
|
|
|||
|
<div class="rich_media_tool" id="js_toobar3">
|
|||
|
<div class="weui-flex">
|
|||
|
<div class="weui-flex__item">
|
|||
|
|
|||
|
|
|||
|
|
|||
|
|
|||
|
<div id="js_read_area3" class="media_tool_meta tips_global_primary meta_primary" style="display:none;">
|
|||
|
<span id="readTxt">阅读</span>
|
|||
|
<span id="readNum3"></span>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
<div class="weui-flex sns_opr_area" id="js_bottom_opr_right">
|
|||
|
<div class="weui-flex__item">
|
|||
|
|
|||
|
<span style="display: none;" class="media_tool_meta meta_primary meta_share js_media_tool_meta" id="js_bottom_share">
|
|||
|
<button class="sns_opr_btn sns_share_btn" id="js_bottom_share_btn"><span class="sns_opr_gap">分享</span></button>
|
|||
|
</span>
|
|||
|
</div>
|
|||
|
|
|||
|
|
|||
|
<span style="display:none;" class="media_tool_meta meta_extra meta_praise js_media_tool_meta" id="like_old">
|
|||
|
<button class="sns_opr_btn sns_praise_btn" id="js_bottom_zan_btn"><span class="sns_opr_gap">赞</span><span class="sns_opr_num sns_opr_gap" id="likeNum_old" style="display: none;"></span></button>
|
|||
|
</span>
|
|||
|
|
|||
|
|
|||
|
<span style="display:none;" class="media_tool_meta meta_extra meta_like js_media_tool_meta" id="like3">
|
|||
|
|
|||
|
<button class="sns_opr_btn sns_like_btn" id="js_like_btn"><span class="sns_opr_gap" id="js_like_wording">在看</span><span class="sns_opr_num sns_opr_gap" id="likeNum3"></span></button>
|
|||
|
</span>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
|
|||
|
<div class="like_comment_wrp" id="js_like_comment" style="display: none;">
|
|||
|
<div class="like_comment_inner">
|
|||
|
<div class="like_comment_hd" style="display:none" id="js_like_title"></div>
|
|||
|
<div class="like_comment_bd">
|
|||
|
<div class="like_comment_tips" id="js_comment_area">
|
|||
|
<i class="weui-icon-success"></i><i class="icon-success-primary"></i>已同步到看一看<a href="javascript:;" class="like_comment_share_link" id="js_like_comment_share">写下你的想法</a>
|
|||
|
</div>
|
|||
|
<div class="like_comment_extra_info" id="js_like_educate" style="display: none">
|
|||
|
<p class="like_comment_extra_tips">
|
|||
|
<span id="js_friend_like_area" style="display: none"></span>
|
|||
|
<span id="js_friend_like_word">前往“发现”-“看一看”浏览“朋友在看”</span>
|
|||
|
</p>
|
|||
|
<p class="like_comment_pic_wrp">
|
|||
|
<img class="like_comment_pic" src="//res.wx.qq.com/mmbizwap/zh_CN/htmledition/images/pic/appmsg/pic_like_comment492329.png">
|
|||
|
</p>
|
|||
|
<button class="weui-btn weui-btn_primary" id="js_go_wow">前往看一看</button>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
<div style="display:none;" id="wow_close_inform">
|
|||
|
<div class="weui-mask"></div>
|
|||
|
<div class="weui-dialog">
|
|||
|
<div class="weui-dialog__hd"><strong class="weui-dialog__title">看一看入口已关闭</strong></div>
|
|||
|
<div class="weui-dialog__bd">
|
|||
|
在“设置”-“通用”-“发现页管理”打开“看一看”入口 </div>
|
|||
|
<div class="weui-dialog__ft" id="wow_close_ack">
|
|||
|
<a href="javascript:;" class="weui-dialog__btn weui-dialog__btn_primary">我知道了</a>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
|
|||
|
<div id="js_like_toast" style="display: none;">
|
|||
|
<div class="weui-mask_transparent"></div>
|
|||
|
<div class="weui-toast">
|
|||
|
<i class="weui-icon-success-no-circle weui-icon_toast"></i>
|
|||
|
<p class="weui-toast__content" id="js_toast_msg">已发送</p>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
|
|||
|
<div style="display: none;" id="js_comment_panel">
|
|||
|
<div class="like_comment_primary_wrp editing" id="js_comment_wrp">
|
|||
|
<div class="like_comment_primary_inner">
|
|||
|
<div class="like_comment_primary_hd">
|
|||
|
<div class="like_comment_primary_hd_side">
|
|||
|
<button class="like_comment_primary_cancel" id="js_comment_cancel">
|
|||
|
取消 <i class="weui-icon-close-thin"></i>
|
|||
|
</button>
|
|||
|
</div>
|
|||
|
<h4 class="like_comment_primary_title"> 发送到看一看 </h4>
|
|||
|
<div class="like_comment_primary_hd_side">
|
|||
|
<button class="like_comment_primary_btn" id="js_comment_confirm" disabled="disabled">发送</button>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
<div class="like_comment_primary_bd">
|
|||
|
<div class="like_comment_media_title" id="js_panel_like_title">
|
|||
|
创建于1937年,连续16年全市第一!她就是陇西……
|
|||
|
</div>
|
|||
|
<div class="like_comment_textarea_wrp">
|
|||
|
<textarea class="like_comment_textarea weui-textarea" placeholder="写下你的想法..." id="js_comment_text"></textarea>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
<span class="like_comment_msg" id="js_like_comment_msg" style="visibility: hidden;">最多200字,当前共<span id="js_like_current_cnt"></span>字</span>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
<div class="like_comment_primary_mask" id="js_mask_2"></div>
|
|||
|
</div>
|
|||
|
|
|||
|
<div id="js_loading" style="display: none;">
|
|||
|
<div class="weui-mask_transparent"></div>
|
|||
|
<div class="weui-toast">
|
|||
|
<i class="weui-loading weui-icon_toast"></i>
|
|||
|
<p class="weui-toast__content">发送中</p>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
|
|||
|
|
|||
|
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
|
|||
|
<div class="rich_media_area_primary sougou" id="sg_tj" style="display:none"></div>
|
|||
|
|
|||
|
|
|||
|
|
|||
|
<div class="rich_media_area_extra">
|
|||
|
<div class="rich_media_area_extra_inner">
|
|||
|
|
|||
|
<div id="js_share_appmsg">
|
|||
|
</div>
|
|||
|
|
|||
|
|
|||
|
|
|||
|
<div class="mpda_bottom_container" id="js_bottom_ad_area"></div>
|
|||
|
|
|||
|
<div id="js_iframetest" style="display:none;"></div>
|
|||
|
|
|||
|
<div class="rich_media_extra rich_media_extra_discuss" id="js_cmt_container" style="display:none">
|
|||
|
|
|||
|
|
|||
|
|
|||
|
<div class="discuss_mod" id="js_friend_cmt_area" style="display:none">
|
|||
|
|
|||
|
|
|||
|
|
|||
|
</div>
|
|||
|
|
|||
|
<div class="discuss_mod" id="js_cmt_area" style="display:none">
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
|
|||
|
<div class="function_mod function_mod_index" id="js_related_area" style="display:none;">
|
|||
|
<div class="function_hd">相关阅读</div>
|
|||
|
<div class="function_bd">
|
|||
|
<div class="relate_article_index_list relate_article_list" id="js_related"></div>
|
|||
|
|
|||
|
|
|||
|
<div class="relate_loadmore" id="js_related_opr">
|
|||
|
<a href="javascript:;" class="weui-media-box weui-media-box_loadmore hide" id="js_related_load_more">
|
|||
|
<div class="weui-media-box__bd">更多文章</div>
|
|||
|
<div class="weui-media-box__ft"></div>
|
|||
|
</a>
|
|||
|
<div class="function_mod_empty_msg" style="display: none;" id="js_more_article">
|
|||
|
<a class="function_mod_empty_more_access" href="javascript:;">查看更多相关内容</a>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
|
|||
|
|
|||
|
<div class="relate_loadmore_pc" id="js_related_opr_pc" style="display: none;">
|
|||
|
<a href="javascript:;" class="weui-media-box weui-media-box_loadmore weui-media-box_loadmore_pc" id="js_related_load_more_pc">
|
|||
|
<div class="weui-media-box__bd">更多文章</div>
|
|||
|
<div class="weui-media-box__ft"></div>
|
|||
|
</a>
|
|||
|
<div class="function_mod_empty_msg" id="js_more_article_pc" style="display: none;">
|
|||
|
<a class="function_mod_empty_more_access" href="javascript:;">查看更多相关内容</a>
|
|||
|
</div>
|
|||
|
<div class="weui-media-box weui-media-box_loadmore" style="display: none;" id="js_related_loading_pc">
|
|||
|
<div class="weui-loadmore">
|
|||
|
<i class="weui-loading"></i>
|
|||
|
<span class="weui-loadmore__tips">正在加载</span>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
<div class="weui-media-box weui-media-box_loadmore" style="display: none;" id="js_related_all_pc">
|
|||
|
<div class="weui-loadmore">
|
|||
|
<span class="weui-loadmore__tips">以上推荐为优质及原创文章</span>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
|
|||
|
|
|||
|
<div id="js_pc_qr_code" class="qr_code_pc_outer" style="display:none;">
|
|||
|
<div class="qr_code_pc_inner">
|
|||
|
<div class="qr_code_pc">
|
|||
|
<img id="js_pc_qr_code_img" class="qr_code_pc_img">
|
|||
|
<p>微信扫一扫<br>关注该公众号</p>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
|
|||
|
|
|||
|
|
|||
|
<div id="js_pc_weapp_code" class="weui-desktop-popover weui-desktop-popover_pos-up-center weui-desktop-popover_img-text" style="display: none;">
|
|||
|
<div class="weui-desktop-popover__content">
|
|||
|
<div class="weui-desktop-popover__desc">
|
|||
|
<img id="js_pc_weapp_code_img">
|
|||
|
微信扫一扫<br>使用小程序<span id="js_pc_weapp_code_des"></span> </div>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
<div id="js_minipro_dialog" style="display:none;">
|
|||
|
<div class="weui-mask"></div>
|
|||
|
<div class="weui-dialog weui-dialog_link">
|
|||
|
<div class="weui-dialog__hd">
|
|||
|
<strong class="weui-dialog__title" id="js_minipro_dialog_head"></strong>
|
|||
|
</div>
|
|||
|
<div class="weui-dialog__bd" id="js_minipro_dialog_body"></div>
|
|||
|
|
|||
|
<div class="weui-dialog__ft">
|
|||
|
<a id="js_minipro_dialog_cancel" href="javascript:void(0);" class="weui-dialog__btn weui-dialog__btn_default">取消</a>
|
|||
|
<a id="js_minipro_dialog_ok" href="javascript:void(0);" class="weui-dialog__btn weui-dialog__btn_primary">允许</a>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
<div id="js_link_dialog" style="display:none;">
|
|||
|
<div class="weui-mask"></div>
|
|||
|
<div class="weui-dialog weui-dialog_link">
|
|||
|
<div class="weui-dialog__hd">
|
|||
|
<strong class="weui-dialog__title" id="js_link_dialog_head"></strong>
|
|||
|
</div>
|
|||
|
<div class="weui-dialog__bd" id="js_link_dialog_body"></div>
|
|||
|
|
|||
|
<div class="weui-dialog__ft">
|
|||
|
<a id="js_link_dialog_cancel" href="javascript:void(0);" class="weui-dialog__btn weui-dialog__btn_default">取消</a>
|
|||
|
<a id="js_link_dialog_ok" href="javascript:void(0);" class="weui-dialog__btn weui-dialog__btn_primary">允许</a>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
|
|||
|
|
|||
|
<div class="weui-dialog__wrp" id="js_update_dialog" style="display: none;">
|
|||
|
<div class="weui-mask"></div>
|
|||
|
<div class="weui-dialog weui-dialog_link">
|
|||
|
<div class="weui-dialog__hd">
|
|||
|
<strong class="weui-dialog__title">微信版本过低</strong>
|
|||
|
</div>
|
|||
|
<div class="weui-dialog__bd">当前微信版本不支持该功能,请升级至最新版本。</div>
|
|||
|
|
|||
|
<div class="weui-dialog__ft">
|
|||
|
<a href="javascript:void(0);" id="js_update_cancel" class="weui-dialog__btn weui-dialog__btn_default">我知道了</a>
|
|||
|
<a href="javascript:void(0);" class="weui-dialog__btn weui-dialog__btn_primary" id="js_update_confirm">前往更新</a>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
|
|||
|
<div class="weui-dialog__wrp" id="js_delete_reply_panel" style="display: none;">
|
|||
|
<div class="weui-mask"></div>
|
|||
|
<div class="weui-dialog">
|
|||
|
<div class="weui-dialog__bd">确定删除回复吗?</div>
|
|||
|
<div class="weui-dialog__ft">
|
|||
|
<a href="javascript:;" class="weui-dialog__btn weui-dialog__btn_default" id="js_delete_reply_cancel">取消</a>
|
|||
|
<a href="javascript:;" class="weui-dialog__btn weui-dialog__btn_primary" id="js_delete_reply_confirm">删除</a>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
|
|||
|
|
|||
|
<div class="comment_primary_emotion_panel_wrp" id="js_emotion_panel_pc" style="display: none">
|
|||
|
<div class="comment_primary_emotion_panel">
|
|||
|
<ul class="comment_primary_emotion_list" id="js_emotion_list_pc">
|
|||
|
</ul>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
|
|||
|
|
|||
|
<div class="weui-dialog__wrp" id="js_alert_panel" style="display:none;">
|
|||
|
<div class="weui-mask"></div>
|
|||
|
<div class="weui-dialog">
|
|||
|
<div class="weui-dialog__bd" id="js_alert_content"></div>
|
|||
|
<div class="weui-dialog__ft">
|
|||
|
<a href="javascript:;" class="weui-dialog__btn weui-dialog__btn_default" id="js_alert_confirm">知道了</a>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
|
|||
|
<div id="js_weapp_without_auth_dialog" style="display:none;">
|
|||
|
<div id="js_weapp_without_auth_dialog_mask" class="weui-mask"></div>
|
|||
|
<div class="weui-dialog weui-dialog_link">
|
|||
|
<div class="weui-dialog__hd"><strong class="weui-dialog__title">长按识别前往小程序</strong></div>
|
|||
|
<div class="weui-dialog__bd" id="js_weapp_without_auth_dialog_name">
|
|||
|
<img id="js_weapp_without_auth_weappurl" src="" class="dialog_add_wxxy_qrcode_icon" style="width: 250px;height: 250px;margin: 10px auto 0;">
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
|
|||
|
|
|||
|
<script nonce="1032235604" type="text/javascript">
|
|||
|
var PAGE_MID='mmbizwap:appmsg/newindex.html';
|
|||
|
</script>
|
|||
|
<script nonce="1032235604" type="text/javascript">
|
|||
|
window.logs.pagetime.page_begin = Date.now();
|
|||
|
</script>
|
|||
|
<script nonce="1032235604" type="text/javascript">
|
|||
|
(function () {
|
|||
|
|
|||
|
var ajaxWhiteList = {
|
|||
|
1: {
|
|||
|
reg: /^https?:\/\/mp\.weixin\.qq\.com\/mp\/appmsg_like/,
|
|||
|
times: 0
|
|||
|
},
|
|||
|
2: {
|
|||
|
reg: /^https?:\/\/mp\.weixin\.qq\.com\/mp\/appmsg_comment((\?|&)[^=]*?=[^&]*?)*?(\?|&)action=likecomment/,
|
|||
|
times: 0
|
|||
|
},
|
|||
|
3: {
|
|||
|
reg: /^https?:\/\/mp\.weixin\.qq\.com\/mp\/appmsg_comment((\?|&)[^=]*?=[^&]*?)*?(\?|&)action=addcomment/,
|
|||
|
times: 0
|
|||
|
},
|
|||
|
4: {
|
|||
|
reg: /^https?:\/\/mp\.weixin\.qq\.com\/mp\/authorreward/,
|
|||
|
times: 0
|
|||
|
}
|
|||
|
|
|||
|
|
|||
|
|
|||
|
|
|||
|
};
|
|||
|
|
|||
|
|
|||
|
if (!performance || !performance.getEntries) return;
|
|||
|
|
|||
|
|
|||
|
var hasReported = false;
|
|||
|
|
|||
|
|
|||
|
var reportResLoadTime = function () {
|
|||
|
|
|||
|
if (hasReported) return;
|
|||
|
|
|||
|
|
|||
|
var notSupport = false;
|
|||
|
|
|||
|
|
|||
|
var ajaxEntries = [];
|
|||
|
|
|||
|
|
|||
|
var entries = performance.getEntries().map(function (entry) {
|
|||
|
if (typeof entry !== 'object') {
|
|||
|
notSupport = true;
|
|||
|
} else if (entry.entryType === undefined) {
|
|||
|
notSupport = true;
|
|||
|
} else if (
|
|||
|
entry.entryType !== 'navigation' &&
|
|||
|
entry.entryType !== 'resource'
|
|||
|
) {
|
|||
|
|
|||
|
return null;
|
|||
|
} else if (entry.initiatorType === undefined) {
|
|||
|
notSupport = true;
|
|||
|
} else if (entry.initiatorType === 'xmlhttprequest') {
|
|||
|
|
|||
|
if (entry.name === undefined || entry.duration === undefined) {
|
|||
|
notSupport = true;
|
|||
|
} else {
|
|||
|
for (var scene in ajaxWhiteList) {
|
|||
|
if (Object.prototype.hasOwnProperty.call(ajaxWhiteList, scene)) {
|
|||
|
var ajaxItem = ajaxWhiteList[scene];
|
|||
|
if (ajaxItem.times < 10 && ajaxItem.reg.test(entry.name)) {
|
|||
|
ajaxEntries.push({
|
|||
|
scene: scene,
|
|||
|
protocol: entry.nextHopProtocol,
|
|||
|
is_https: isHttps(entry),
|
|||
|
time: entry.duration
|
|||
|
});
|
|||
|
ajaxItem.times++;
|
|||
|
}
|
|||
|
}
|
|||
|
}
|
|||
|
}
|
|||
|
return null;
|
|||
|
}
|
|||
|
return entry;
|
|||
|
});
|
|||
|
|
|||
|
|
|||
|
if (notSupport || ajaxEntries.length === 0) return;
|
|||
|
|
|||
|
|
|||
|
var data = {
|
|||
|
stat_list: ajaxEntries
|
|||
|
};
|
|||
|
var img = new Image();
|
|||
|
img.src = 'https://mp.weixin.qq.com/mp/timereport?data=' + JSON.stringify(data);
|
|||
|
hasReported = true;
|
|||
|
};
|
|||
|
|
|||
|
|
|||
|
window.addEventListener('beforeunload', reportResLoadTime, false);
|
|||
|
window.addEventListener('unload', reportResLoadTime, false);
|
|||
|
|
|||
|
function isHttps(entry) {
|
|||
|
if (/^https/.test(entry.name)) return 1;
|
|||
|
else return 0;
|
|||
|
}
|
|||
|
})();
|
|||
|
</script>
|
|||
|
<script nonce="1032235604">
|
|||
|
var __DEBUGINFO = {
|
|||
|
debug_js : "//res.wx.qq.com/mmbizwap/zh_CN/htmledition/js/biz_wap/debug/console42f400.js",
|
|||
|
safe_js : "//res.wx.qq.com/mmbizwap/zh_CN/htmledition/js/biz_wap/safe/moonsafe42f400.js",
|
|||
|
res_list: []
|
|||
|
};
|
|||
|
</script>
|
|||
|
|
|||
|
<script nonce="1032235604" type="text/javascript">
|
|||
|
(function() {
|
|||
|
var totalCount = 0,
|
|||
|
finishCount = 0;
|
|||
|
|
|||
|
function _loadVConsolePlugin() {
|
|||
|
window.vConsole = new window.VConsole();
|
|||
|
while (window.vConsolePlugins.length > 0) {
|
|||
|
var p = window.vConsolePlugins.shift();
|
|||
|
window.vConsole.addPlugin(p);
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
function _addVConsole(uri, cb) {
|
|||
|
totalCount++;
|
|||
|
var node = document.createElement('SCRIPT');
|
|||
|
node.type = 'text/javascript';
|
|||
|
node.src = uri;
|
|||
|
node.setAttribute('nonce', '1032235604');
|
|||
|
if (cb) {
|
|||
|
node.onload = cb;
|
|||
|
}
|
|||
|
document.getElementsByTagName('head')[0].appendChild(node);
|
|||
|
}
|
|||
|
if (
|
|||
|
(document.cookie && document.cookie.indexOf('vconsole_open=1') > -1)
|
|||
|
|| location.href.indexOf('vconsole=1') > -1
|
|||
|
) {
|
|||
|
window.vConsolePlugins = [];
|
|||
|
_addVConsole('//res.wx.qq.com/mmbizwap/zh_CN/htmledition/js/vconsole/3.2.2/vconsole.min440203.js', function() {
|
|||
|
|
|||
|
_addVConsole('//res.wx.qq.com/mmbizwap/zh_CN/htmledition/js/vconsole/plugin/vconsole-mpopt/1.0.1/vconsole-mpopt42f400.js', _loadVConsolePlugin);
|
|||
|
});
|
|||
|
}
|
|||
|
|
|||
|
|
|||
|
try {
|
|||
|
var adIframeUrl = localStorage.getItem('__WXLS_ad_iframe_url');
|
|||
|
if (window === top) {
|
|||
|
if (adIframeUrl) {
|
|||
|
if (navigator.userAgent.indexOf('iPhone') > -1) {
|
|||
|
var img = new Image();
|
|||
|
img.src = adIframeUrl;
|
|||
|
} else {
|
|||
|
var link = document.createElement('link');
|
|||
|
link.rel = 'prefetch';
|
|||
|
link.href = adIframeUrl;
|
|||
|
document.getElementsByTagName('head')[0].appendChild(link);
|
|||
|
}
|
|||
|
}
|
|||
|
}
|
|||
|
} catch (err) {
|
|||
|
|
|||
|
}
|
|||
|
|
|||
|
})();
|
|||
|
</script>
|
|||
|
|
|||
|
|
|||
|
<script nonce="1032235604" type="text/javascript">
|
|||
|
function _typeof(e){
|
|||
|
return e&&"undefined"!=typeof Symbol&&e.constructor===Symbol?"symbol":typeof e;
|
|||
|
}
|
|||
|
!function(e){
|
|||
|
if("object"===("undefined"==typeof module?"undefined":_typeof(module)))module.exports=e;else{
|
|||
|
if(window.__second_open__)return;
|
|||
|
var t="1599016434",n="1598606048",s="2020-08-28";
|
|||
|
e(t,n,s,document.getElementById("publish_time"));
|
|||
|
}
|
|||
|
}(function(e,t,n,s){
|
|||
|
var i="",o=86400,f=new Date(1e3*e),r=1*t,l=n||"";
|
|||
|
f.setHours(0),f.setMinutes(0),f.setSeconds(0);
|
|||
|
var c=f.getTime()/1e3;
|
|||
|
f.setDate(1),f.setMonth(0);
|
|||
|
var u=f.getTime()/1e3;
|
|||
|
if(r>=c)i="今天";else if(r>=c-o)i="昨天";else if(r>=c-2*o)i="前天";else if(r>=c-3*o)i="3天前";else if(r>=c-4*o)i="4天前";else if(r>=c-5*o)i="5天前";else if(r>=c-6*o)i="6天前";else if(r>=c-14*o)i="1周前";else if(r>=u){
|
|||
|
var d=l.split("-");
|
|||
|
i="%s月%s日".replace("%s",parseInt(d[1],10)).replace("%s",parseInt(d[2],10));
|
|||
|
}else i=l;
|
|||
|
s&&(s.innerText=i,setTimeout(function(){
|
|||
|
s.onclick=function(){
|
|||
|
s.innerText=l;
|
|||
|
};
|
|||
|
},10));
|
|||
|
});
|
|||
|
</script>
|
|||
|
<script nonce="1032235604" type="text/javascript">
|
|||
|
|
|||
|
if (!window.console) window.console = { log: function() {} };
|
|||
|
|
|||
|
if (typeof getComputedStyle == 'undefined') {
|
|||
|
if (document.body.currentStyle) {
|
|||
|
window.getComputedStyle = function(el) {
|
|||
|
return el.currentStyle;
|
|||
|
}
|
|||
|
} else {
|
|||
|
window.getComputedStyle = {};
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
(function(){
|
|||
|
window.__zoom = 1;
|
|||
|
|
|||
|
|
|||
|
|
|||
|
var ua = navigator.userAgent.toLowerCase();
|
|||
|
var re = new RegExp("msie ([0-9]+[\.0-9]*)");
|
|||
|
var version;
|
|||
|
if (re.exec(ua) != null) {
|
|||
|
version = parseInt(RegExp.$1);
|
|||
|
}
|
|||
|
var isIE = false;
|
|||
|
if (typeof version != 'undefined' && version >= 6 && version <= 9) {
|
|||
|
isIE = true;
|
|||
|
}
|
|||
|
var bodyWidth = '' * 1;
|
|||
|
if (bodyWidth) {
|
|||
|
var styles = getComputedStyle(document.getElementById('page-content'));
|
|||
|
bodyWidth - parseFloat(styles.paddingLeft) - parseFloat(styles.paddingRight);
|
|||
|
}
|
|||
|
var getMaxWith=function(){
|
|||
|
var container = document.getElementById('img-content');
|
|||
|
var max_width = container.offsetWidth;
|
|||
|
!max_width && bodyWidth && (max_width = bodyWidth);
|
|||
|
var container_padding = 0;
|
|||
|
var container_style = getComputedStyle(container);
|
|||
|
container_padding = parseFloat(container_style.paddingLeft) + parseFloat(container_style.paddingRight);
|
|||
|
max_width -= container_padding;
|
|||
|
if (!max_width) {
|
|||
|
max_width = window.innerWidth - 30;
|
|||
|
}
|
|||
|
return max_width;
|
|||
|
};
|
|||
|
var getParentWidth = function(dom){
|
|||
|
var parent_width = 0;
|
|||
|
var parent = dom.parentNode;
|
|||
|
var outerWidth = 0;
|
|||
|
while (true) {
|
|||
|
if(!parent||parent.nodeType!=1) break;
|
|||
|
var parent_style = getComputedStyle(parent);
|
|||
|
if (!parent_style) break;
|
|||
|
parent_width = parent.clientWidth - parseFloat(parent_style.paddingLeft) - parseFloat(parent_style.paddingRight) - outerWidth;
|
|||
|
if (parent_width > 0) break;
|
|||
|
outerWidth += parseFloat(parent_style.paddingLeft) + parseFloat(parent_style.paddingRight) + parseFloat(parent_style.marginLeft) + parseFloat(parent_style.marginRight) + parseFloat(parent_style.borderLeftWidth) + parseFloat(parent_style.borderRightWidth);
|
|||
|
parent = parent.parentNode;
|
|||
|
}
|
|||
|
return parent_width;
|
|||
|
}
|
|||
|
var getOuterW=function(dom){
|
|||
|
var style=getComputedStyle(dom),
|
|||
|
w=0;
|
|||
|
if(!!style){
|
|||
|
w = parseFloat(style.paddingLeft) + parseFloat(style.paddingRight) + parseFloat(style.borderLeftWidth) + parseFloat(style.borderRightWidth);
|
|||
|
}
|
|||
|
return w;
|
|||
|
};
|
|||
|
var getOuterH =function(dom){
|
|||
|
var style=getComputedStyle(dom),
|
|||
|
h=0;
|
|||
|
if(!!style){
|
|||
|
h = parseFloat(style.paddingTop) + parseFloat(style.paddingBottom) + parseFloat(style.borderTopWidth) + parseFloat(style.borderBottomWidth);
|
|||
|
}
|
|||
|
return h;
|
|||
|
};
|
|||
|
var insertAfter = function(dom,afterDom){
|
|||
|
var _p = afterDom.parentNode;
|
|||
|
if(!_p){
|
|||
|
return;
|
|||
|
}
|
|||
|
if(_p.lastChild === afterDom){
|
|||
|
_p.appendChild(dom);
|
|||
|
}else{
|
|||
|
_p.insertBefore(dom,afterDom.nextSibling);
|
|||
|
}
|
|||
|
};
|
|||
|
var getQuery = function(name,url){
|
|||
|
|
|||
|
var u = arguments[1] || window.location.search,
|
|||
|
reg = new RegExp("(^|&)"+ name +"=([^&]*)(&|$)"),
|
|||
|
r = u.substr(u.indexOf("\?")+1).match(reg);
|
|||
|
return r!=null?r[2]:"";
|
|||
|
};
|
|||
|
|
|||
|
|
|||
|
function setImgSize(item, widthNum, widthUnit, ratio, breakParentWidth) {
|
|||
|
setTimeout(function () {
|
|||
|
var img_padding_border = getOuterW(item) || 0;
|
|||
|
var img_padding_border_top_bottom = getOuterH(item) || 0;
|
|||
|
|
|||
|
if (widthNum > getParentWidth(item) && !breakParentWidth) {
|
|||
|
widthNum = getParentWidth(item);
|
|||
|
}
|
|||
|
|
|||
|
height = (widthNum - img_padding_border) * ratio + img_padding_border_top_bottom;
|
|||
|
|
|||
|
if (isIE || '0' === '1') {
|
|||
|
var url = item.getAttribute('data-src');
|
|||
|
item.src = url;
|
|||
|
} else {
|
|||
|
if(parseFloat(widthNum, 10) > 40 && height > 40 && breakParentWidth) {
|
|||
|
item.className += ' img_loading';
|
|||
|
}
|
|||
|
item.src = "data:image/gif;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVQImWNgYGBgAAAABQABh6FO1AAAAABJRU5ErkJggg==";
|
|||
|
}
|
|||
|
item.style.cssText += ";width: " + widthNum + widthUnit + " !important;";
|
|||
|
item.style.cssText += ";height: " + height + widthUnit + " !important;";
|
|||
|
}, 10);
|
|||
|
}
|
|||
|
|
|||
|
(function(){
|
|||
|
var images = document.getElementsByTagName('img');
|
|||
|
var length = images.length;
|
|||
|
var max_width = getMaxWith();
|
|||
|
for (var i = 0; i < length; ++i) {
|
|||
|
if (window.__second_open__ && images[i].getAttribute('__sec_open_place_holder__')) {
|
|||
|
continue;
|
|||
|
}
|
|||
|
var imageItem = images[i];
|
|||
|
var src_ = imageItem.getAttribute('data-src');
|
|||
|
var realSrc = imageItem.getAttribute('src');
|
|||
|
if (!src_ || realSrc) continue;
|
|||
|
|
|||
|
var originWidth = imageItem.getAttribute('data-w');
|
|||
|
var ratio_ = 1 * imageItem.getAttribute('data-ratio');
|
|||
|
|
|||
|
var height = 100;
|
|||
|
if (ratio_ && ratio_ > 0) {
|
|||
|
var parent_width = getParentWidth(imageItem) || max_width;
|
|||
|
var initWidth = imageItem.style.width || imageItem.getAttribute('width') || originWidth || parent_width;
|
|||
|
initWidth = parseFloat(initWidth, 10) > max_width ? max_width : initWidth;
|
|||
|
|
|||
|
if (initWidth) {
|
|||
|
imageItem.setAttribute('_width', !isNaN(initWidth * 1) ? initWidth + 'px' : initWidth);
|
|||
|
}
|
|||
|
|
|||
|
if (typeof initWidth === 'string' && initWidth.indexOf('%') !== -1) {
|
|||
|
initWidth = parseFloat(initWidth.replace('%', ''), 10) / 100 * parent_width;
|
|||
|
}
|
|||
|
|
|||
|
if (initWidth === 'auto') {
|
|||
|
initWidth = originWidth;
|
|||
|
}
|
|||
|
|
|||
|
var res = /^(\d+(?:\.\d+)?)([a-zA-Z%]+)?$/.exec(initWidth);
|
|||
|
var widthNum = res && res.length >= 2 ? res[1] : 0;
|
|||
|
var widthUnit = res && res.length >= 3 && res[2] ? res[2] : 'px';
|
|||
|
|
|||
|
|
|||
|
setImgSize(imageItem, widthNum, widthUnit, ratio_, true);
|
|||
|
|
|||
|
(function (item, widthNumber, unit, ratio) {
|
|||
|
setTimeout(function () {
|
|||
|
setImgSize(item, widthNumber, unit, ratio, false);
|
|||
|
});
|
|||
|
})(imageItem, widthNum, widthUnit, ratio_);
|
|||
|
} else {
|
|||
|
imageItem.style.cssText += ";visibility: hidden !important;";
|
|||
|
}
|
|||
|
|
|||
|
}
|
|||
|
})();
|
|||
|
window.__videoDefaultRatio=16/9;
|
|||
|
window.__getVideoWh = function(dom){
|
|||
|
var max_width = getMaxWith(),
|
|||
|
width = max_width,
|
|||
|
ratio_ = dom.getAttribute('data-ratio')*1,
|
|||
|
arr = [4/3, 16/9],
|
|||
|
ret = arr[0],
|
|||
|
abs = Math.abs(ret - ratio_);
|
|||
|
if (!ratio_) {
|
|||
|
if (dom.getAttribute("data-mpvid")) {
|
|||
|
ratio_ = 16/9;
|
|||
|
} else {
|
|||
|
ratio_ = 4/3;
|
|||
|
}
|
|||
|
} else {
|
|||
|
for (var j = 1, jl = arr.length; j < jl; j++) {
|
|||
|
var _abs = Math.abs(arr[j] - ratio_);
|
|||
|
if (_abs < abs) {
|
|||
|
abs = _abs;
|
|||
|
ret = arr[j];
|
|||
|
}
|
|||
|
}
|
|||
|
ratio_ = ret;
|
|||
|
}
|
|||
|
|
|||
|
var parent_width = getParentWidth(dom)||max_width,
|
|||
|
width = width > parent_width ? parent_width : width,
|
|||
|
outerW = getOuterW(dom)||0,
|
|||
|
outerH = getOuterH(dom)||0,
|
|||
|
videoW = width - outerW,
|
|||
|
videoH = videoW/ratio_,
|
|||
|
speedDotH = 12,
|
|||
|
height = videoH + outerH + speedDotH;
|
|||
|
|
|||
|
return {w:Math.ceil(width),h:Math.ceil(height),vh:videoH,vw:videoW,ratio:ratio_,sdh: speedDotH};
|
|||
|
|
|||
|
};
|
|||
|
|
|||
|
|
|||
|
(function(){
|
|||
|
var iframe = document.getElementsByTagName('iframe');
|
|||
|
for (var i=0,il=iframe.length;i<il;i++) {
|
|||
|
if (window.__second_open__ && iframe[i].getAttribute('__sec_open_place_holder__')) {
|
|||
|
continue;
|
|||
|
}
|
|||
|
var a = iframe[i];
|
|||
|
var src_ = a.getAttribute('src')||a.getAttribute('data-src')||"";
|
|||
|
if(!/^http(s)*\:\/\/v\.qq\.com\/iframe\/(preview|player)\.html\?/.test(src_)
|
|||
|
&& !/^http(s)*\:\/\/mp\.weixin\.qq\.com\/mp\/readtemplate\?t=pages\/video_player_tmpl/.test(src_)
|
|||
|
){
|
|||
|
continue;
|
|||
|
}
|
|||
|
var vid = getQuery("vid",src_);
|
|||
|
if(!vid){
|
|||
|
continue;
|
|||
|
}
|
|||
|
vid=vid.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");
|
|||
|
a.removeAttribute('src');
|
|||
|
a.style.display = "none";
|
|||
|
var obj = window.__getVideoWh(a),
|
|||
|
videoPlaceHolderSpan = document.createElement('span'),
|
|||
|
videoPlayerIconSpan = document.createElement('span'),
|
|||
|
mydiv = document.createElement('img');
|
|||
|
|
|||
|
videoPlaceHolderSpan.className = "js_img_loading db";
|
|||
|
videoPlaceHolderSpan.setAttribute("data-vid", vid);
|
|||
|
|
|||
|
|
|||
|
videoPlayerIconSpan.className = 'wx_video_context db';
|
|||
|
videoPlayerIconSpan.style.display = 'none';
|
|||
|
videoPlayerIconSpan.innerHTML = '<span class="wx_video_thumb_primary"></span><button class="wx_video_play_btn">播放</button><span class="wx_video_mask"></span>';
|
|||
|
|
|||
|
mydiv.className = "img_loading";
|
|||
|
|
|||
|
mydiv.src="data:image/gif;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVQImWNgYGBgAAAABQABh6FO1AAAAABJRU5ErkJggg==";
|
|||
|
|
|||
|
|
|||
|
videoPlaceHolderSpan.style.cssText = "width: " + obj.w + "px !important;";
|
|||
|
mydiv.style.cssText += ";width: " + obj.w + "px";
|
|||
|
videoPlaceHolderSpan.appendChild(videoPlayerIconSpan);
|
|||
|
videoPlaceHolderSpan.appendChild(mydiv);
|
|||
|
|
|||
|
insertAfter(videoPlaceHolderSpan, a);
|
|||
|
|
|||
|
|
|||
|
|
|||
|
|
|||
|
function ajax(obj){
|
|||
|
var url = obj.url;
|
|||
|
var xhr = new XMLHttpRequest();
|
|||
|
|
|||
|
var data = null;
|
|||
|
if (typeof obj.data == "object"){
|
|||
|
var d = obj.data;
|
|||
|
data = [];
|
|||
|
for(var k in d) {
|
|||
|
if (d.hasOwnProperty(k)){
|
|||
|
data.push(k + "=" + encodeURIComponent(d[k]));
|
|||
|
}
|
|||
|
}
|
|||
|
data = data.join("&");
|
|||
|
}else{
|
|||
|
data = typeof obj.data == 'string' ? obj.data : null;
|
|||
|
}
|
|||
|
|
|||
|
xhr.open('POST', url, true);
|
|||
|
xhr.onreadystatechange = function(){
|
|||
|
if( xhr.readyState == 4 ){
|
|||
|
if( xhr.status >= 200 && xhr.status < 400 ){
|
|||
|
obj.success && obj.success(xhr.responseText);
|
|||
|
} else {
|
|||
|
obj.error && obj.error(xhr);
|
|||
|
}
|
|||
|
obj.complete && obj.complete();
|
|||
|
obj.complete = null;
|
|||
|
}
|
|||
|
};
|
|||
|
xhr.setRequestHeader("Content-Type", "application/x-www-form-urlencoded; charset=UTF-8");
|
|||
|
xhr.setRequestHeader("X-Requested-With", "XMLHttpRequest");
|
|||
|
xhr.send(data);
|
|||
|
}
|
|||
|
|
|||
|
var mid = "" || ""|| "2649667982";
|
|||
|
var biz = ""||"MzAwMjU3NjA1Mw==";
|
|||
|
var sessionid = ""||"svr_579d1f2d8f1";
|
|||
|
var idx = "";
|
|||
|
(function sendReq(parentNode, copyIframe, index) {
|
|||
|
ajax({
|
|||
|
url: 'mp/videoplayer?vid=' + vid + '&mid=' + mid + '&idx=1&__biz=' + biz + '&sessionid=' + sessionid + '&f=json',
|
|||
|
type: "GET",
|
|||
|
dataType: 'json',
|
|||
|
success: function(json) {
|
|||
|
var ret = JSON.parse(json || '{}');
|
|||
|
var ori = ret.ori_status;
|
|||
|
var hit_biz_headimg = ret.hit_biz_headimg + '/64';
|
|||
|
var hit_nickname = ret.hit_nickname;
|
|||
|
var hit_username = ret.hit_username;
|
|||
|
|
|||
|
var selfUserName = "gh_741f1591cbd0";
|
|||
|
|
|||
|
if(ori === 2 && selfUserName !== hit_username) {
|
|||
|
var videoBar = document.createElement('div');
|
|||
|
var videoBarHtml = '<div class="wx-edui-video_source_link" id="' + (hit_username + index) + '" data-hit-username="' + hit_username + '">';
|
|||
|
videoBarHtml += '<div class="wx-edui-video_source_link" id="' + (hit_username + index) + '" data-hit-username="' + hit_username + '">';
|
|||
|
videoBarHtml += '<div class="wx-edui-video_source_word">以下视频来源于</div>';
|
|||
|
videoBarHtml += '<div class="wx-edui-video_account_info">';
|
|||
|
videoBarHtml += '<div class="wx-edui-video_account_avatar" id="' + (hit_biz_headimg + index) + '" data-src="' + hit_biz_headimg + '"></div>';
|
|||
|
videoBarHtml += '<div class="wx-edui-video_account_name">' + hit_nickname + '</div>';
|
|||
|
videoBarHtml += '<i class="wx-edui-video_account_arrow"></i>';
|
|||
|
videoBarHtml += '</div>';
|
|||
|
videoBarHtml += '<div class="wx-edui-video_source_link__layer_mask"></div>';
|
|||
|
videoBarHtml += '</div>';
|
|||
|
videoBar.innerHTML = videoBarHtml;
|
|||
|
parentNode.insertBefore(videoBar, copyIframe);
|
|||
|
var avatorEle = document.getElementById(hit_biz_headimg+index);
|
|||
|
var avatorSrc = avatorEle.dataset.src;
|
|||
|
console.log('avatorSrc' + avatorSrc);
|
|||
|
if(ret.hit_biz_headimg) {
|
|||
|
avatorEle.style.backgroundImage = 'url(' + avatorSrc + ')';
|
|||
|
}
|
|||
|
}
|
|||
|
},
|
|||
|
error: function(xhr) {
|
|||
|
}
|
|||
|
});
|
|||
|
})(a.parentNode, a, i);
|
|||
|
|
|||
|
a.style.cssText += ";width: " + obj.w + "px !important;";
|
|||
|
a.setAttribute("width",obj.w);
|
|||
|
if(window.__zoom!=1){
|
|||
|
a.style.display = "block";
|
|||
|
videoPlaceHolderSpan.style.display = "none";
|
|||
|
a.setAttribute("_ratio",obj.ratio);
|
|||
|
a.setAttribute("_vid",vid);
|
|||
|
}else{
|
|||
|
videoPlaceHolderSpan.style.cssText += "height: " + obj.h + "px !important;";
|
|||
|
mydiv.style.cssText += "height: " + obj.h + "px !important;";
|
|||
|
a.style.cssText += "height: " + obj.h + "px !important;";
|
|||
|
a.setAttribute("height",obj.h);
|
|||
|
}
|
|||
|
a.setAttribute("data-vh",obj.vh);
|
|||
|
a.setAttribute("data-vw",obj.vw);
|
|||
|
if(a.getAttribute("data-mpvid")){
|
|||
|
a.setAttribute("data-src",location.protocol+"//mp.weixin.qq.com/mp/readtemplate?t=pages/video_player_tmpl&auto=0&vid="+vid);
|
|||
|
}else{
|
|||
|
a.setAttribute("data-src",location.protocol+"//v.qq.com/iframe/player.html?vid="+ vid + "&width="+obj.vw+"&height="+obj.vh+"&auto=0");
|
|||
|
}
|
|||
|
|
|||
|
}
|
|||
|
|
|||
|
|
|||
|
|
|||
|
})();
|
|||
|
|
|||
|
(function(){
|
|||
|
if(window.__zoom!=1){
|
|||
|
if (!window.__second_open__) {
|
|||
|
document.getElementById('page-content').style.zoom = window.__zoom;
|
|||
|
var a = document.getElementById('activity-name');
|
|||
|
var b = document.getElementById('meta_content');
|
|||
|
if(!!a){
|
|||
|
a.style.zoom = 1/window.__zoom;
|
|||
|
}
|
|||
|
if(!!b){
|
|||
|
b.style.zoom = 1/window.__zoom;
|
|||
|
}
|
|||
|
}
|
|||
|
var images = document.getElementsByTagName('img');
|
|||
|
for (var i = 0,il=images.length;i<il;i++) {
|
|||
|
if (window.__second_open__ && images[i].getAttribute('__sec_open_place_holder__')) {
|
|||
|
continue;
|
|||
|
}
|
|||
|
images[i].style.zoom = 1/window.__zoom;
|
|||
|
}
|
|||
|
var iframe = document.getElementsByTagName('iframe');
|
|||
|
for (var i = 0,il=iframe.length;i<il;i++) {
|
|||
|
if (window.__second_open__ && iframe[i].getAttribute('__sec_open_place_holder__')) {
|
|||
|
continue;
|
|||
|
}
|
|||
|
var a = iframe[i];
|
|||
|
a.style.zoom = 1/window.__zoom;
|
|||
|
var src_ = a.getAttribute('data-src')||"";
|
|||
|
if(!/^http(s)*\:\/\/v\.qq\.com\/iframe\/(preview|player)\.html\?/.test(src_)
|
|||
|
&& !/^http(s)*\:\/\/mp\.weixin\.qq\.com\/mp\/readtemplate\?t=pages\/video_player_tmpl/.test(src_)
|
|||
|
){
|
|||
|
continue;
|
|||
|
}
|
|||
|
var ratio = a.getAttribute("_ratio");
|
|||
|
var vid = a.getAttribute("_vid");
|
|||
|
a.removeAttribute("_ratio");
|
|||
|
a.removeAttribute("_vid");
|
|||
|
var vw = a.offsetWidth - (getOuterW(a)||0);
|
|||
|
var vh = vw/ratio;
|
|||
|
var h = vh + (getOuterH(a)||0)
|
|||
|
a.style.cssText += "height: " + h + "px !important;"
|
|||
|
a.setAttribute("height",h);
|
|||
|
if (/^http(s)*\:\/\/v\.qq\.com\/iframe\/(preview|player)\.html\?/.test(src_)) {
|
|||
|
a.setAttribute("data-src", location.protocol + "//v.qq.com/iframe/player.html?vid=" + vid + "&width=" + vw + "&height=" + vh + "&auto=0");
|
|||
|
}
|
|||
|
a.style.display = "none";
|
|||
|
var parent = a.parentNode;
|
|||
|
if(!parent){
|
|||
|
continue;
|
|||
|
}
|
|||
|
for(var j=0,jl=parent.children.length;j<jl;j++){
|
|||
|
var child = parent.children[j];
|
|||
|
if(child.className.indexOf("img_loading")>=0 && child.getAttribute("data-vid")==vid){
|
|||
|
child.style.cssText += "height: " + h + "px !important;";
|
|||
|
child.style.display = "";
|
|||
|
}
|
|||
|
}
|
|||
|
}
|
|||
|
}
|
|||
|
})();
|
|||
|
})();
|
|||
|
</script>
|
|||
|
<script nonce="1032235604" type="text/javascript">
|
|||
|
!function(e){
|
|||
|
var t={
|
|||
|
defaultContentTpl:'<span class="js_img_loading db" style="width:#width#px !important;height:#height#px !important;"><img style="width:#width#px !important;height:#height#px !important;" class="img_loading" src="data:image/gif;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVQImWNgYGBgAAAABQABh6FO1AAAAABJRU5ErkJggg=="></span>',
|
|||
|
config:[{
|
|||
|
querySelector:"redpacketcover",
|
|||
|
genId:function(){
|
|||
|
var e=arguments.length<=0||void 0===arguments[0]?{}:arguments[0];
|
|||
|
return decodeURIComponent(e.node.getAttribute("data-coveruri")||"");
|
|||
|
},
|
|||
|
calW:function(){
|
|||
|
var e=arguments.length<=0||void 0===arguments[0]?{}:arguments[0];
|
|||
|
return.7854*e.parentWidth;
|
|||
|
},
|
|||
|
calH:function(){
|
|||
|
var e=arguments.length<=0||void 0===arguments[0]?{}:arguments[0];
|
|||
|
return this.calW({
|
|||
|
parentWidth:e.parentWidth
|
|||
|
})/.73346+27+37;
|
|||
|
},
|
|||
|
replaceContentCssText:"",
|
|||
|
appendContentCssText:"display: inline-block;position: relative;",
|
|||
|
outerContainerLeft:'<section style="display:block;font-size:0;text-align:center;margin:16px 0;">',
|
|||
|
outerContainerRight:"</section>"
|
|||
|
},{
|
|||
|
querySelector:"qqmusic",
|
|||
|
genId:function(){
|
|||
|
var e=arguments.length<=0||void 0===arguments[0]?{}:arguments[0];
|
|||
|
return(e.node.getAttribute("musicid")||"").replace(/^\s/,"").replace(/\s$/,"")+"_"+e.index;
|
|||
|
},
|
|||
|
calW:function(){
|
|||
|
var e=arguments.length<=0||void 0===arguments[0]?{}:arguments[0];
|
|||
|
return 1*e.parentWidth;
|
|||
|
},
|
|||
|
calH:function(){
|
|||
|
return 88;
|
|||
|
},
|
|||
|
replaceContentCssText:"",
|
|||
|
appendContentCssText:"margin:16px 0;diplay:block;",
|
|||
|
outerContainerLeft:"",
|
|||
|
outerContainerRight:""
|
|||
|
},{
|
|||
|
querySelector:"mpvoice",
|
|||
|
genId:function(){
|
|||
|
var e=arguments.length<=0||void 0===arguments[0]?{}:arguments[0],t=decodeURIComponent(e.node.getAttribute("voice_encode_fileid")||"").replace(/^\s/,"").replace(/\s$/,"");
|
|||
|
return t+"_"+e.index;
|
|||
|
},
|
|||
|
calW:function(){
|
|||
|
var e=arguments.length<=0||void 0===arguments[0]?{}:arguments[0];
|
|||
|
return 1*e.parentWidth;
|
|||
|
},
|
|||
|
calH:function(){
|
|||
|
return 122;
|
|||
|
},
|
|||
|
replaceContentCssText:"",
|
|||
|
appendContentCssText:"margin:16px 0;diplay:block;",
|
|||
|
outerContainerLeft:"",
|
|||
|
outerContainerRight:""
|
|||
|
},{
|
|||
|
querySelector:"mppoi",
|
|||
|
genId:function(){
|
|||
|
var e=arguments.length<=0||void 0===arguments[0]?{}:arguments[0];
|
|||
|
return e.node.getAttribute("data-id")||"";
|
|||
|
},
|
|||
|
calW:function(){
|
|||
|
var e=arguments.length<=0||void 0===arguments[0]?{}:arguments[0];
|
|||
|
return 1*e.parentWidth;
|
|||
|
},
|
|||
|
calH:function(){
|
|||
|
return 219;
|
|||
|
},
|
|||
|
replaceContentCssText:"",
|
|||
|
appendContentCssText:"margin:16px 0;diplay:block;",
|
|||
|
outerContainerLeft:"",
|
|||
|
outerContainerRight:""
|
|||
|
},{
|
|||
|
querySelector:"mpsearch",
|
|||
|
genId:function(){
|
|||
|
return decodeURIComponent("mpsearch");
|
|||
|
},
|
|||
|
calW:function(){
|
|||
|
var e=arguments.length<=0||void 0===arguments[0]?{}:arguments[0];
|
|||
|
return 1*e.parentWidth;
|
|||
|
},
|
|||
|
calH:function(){
|
|||
|
return 100;
|
|||
|
},
|
|||
|
replaceContentCssText:"",
|
|||
|
appendContentCssText:"margin:16px 0;diplay:block;",
|
|||
|
outerContainerLeft:"",
|
|||
|
outerContainerRight:""
|
|||
|
}]
|
|||
|
};
|
|||
|
e(t);
|
|||
|
}(function(){
|
|||
|
var e=arguments.length<=0||void 0===arguments[0]?{}:arguments[0];
|
|||
|
if("function"==typeof document.querySelectorAll)for(var t={
|
|||
|
maxWith:document.getElementById("img-content").getBoundingClientRect().width,
|
|||
|
idAttr:"data-preloadingid"
|
|||
|
},n=0,r=e.config.length;r>n;n++)for(var i=e.config[n],a=document.querySelectorAll(i.querySelector),o=0,g=a.length;g>o;o++){
|
|||
|
var u=a[o],s=u.parentNode.getBoundingClientRect().width;
|
|||
|
s=Math.min(s,t.maxWith);
|
|||
|
var l=i.calW({
|
|||
|
parentWidth:s
|
|||
|
}),c=i.calH({
|
|||
|
parentWidth:s
|
|||
|
}),d=i.genId({
|
|||
|
index:o,
|
|||
|
node:u
|
|||
|
}),p=e.defaultContentTpl.replace(/#height#/g,c).replace(/#width#/g,l),m=document.createElement("div");
|
|||
|
if(m.innerHTML=p,i.replaceContentCssText){
|
|||
|
var h=i.replaceContentCssText.replace(/#height#/g,c).replace(/#width#/g,l);
|
|||
|
m.firstChild.style.cssText=h;
|
|||
|
}else i.appendContentCssText&&(m.firstChild.style.cssText+=i.appendContentCssText);
|
|||
|
var C=i.outerContainerLeft+m.innerHTML+i.outerContainerRight;
|
|||
|
m.innerHTML=C,m.firstChild.setAttribute(t.idAttr,d),u.parentNode.insertBefore(m.firstChild,u.nextSibling);
|
|||
|
}
|
|||
|
});
|
|||
|
</script>
|
|||
|
<script nonce="1032235604" type="text/javascript">
|
|||
|
|
|||
|
var whiteList = 'rich_pages,blockquote_info,blockquote_biz,blockquote_other,blockquote_article,js_jump_icon,h5_image_link,js_banner_container,js_list_container,js_cover,js_tx_video_container,js_product_err_container,js_product_loop_content,js_product_container,img_loading,list-paddingleft-1,list-paddingleft-2,list-paddingleft-3,selectTdClass,noBorderTable,ue-table-interlace-color-single,ue-table-interlace-color-double,__bg_gif,weapp_text_link,weapp_image_link,js_img_loading,wx_video_context,db,wx_video_thumb_primary,wx_video_play_btn,wx_video_mask,qqmusic_area,tc,tips_global,unsupport_tips,qqmusic_wrp,appmsg_card_context,appmsg_card_active,qqmusic_bd,play_area,icon_qqmusic_switch,pic_qqmusic_default,qqmusic_thumb,access_area,qqmusic_songname,qqmusic_singername,qqmusic_source,js_audio_frame,share_audio_context,flex_context,pages_reset,share_audio_switch,icon_share_audio_switch,share_audio_info,flex_bd,share_audio_title,share_audio_tips,share_audio_progress_wrp,share_audio_progress,share_audio_progress_inner,share_audio_progress_buffer,share_audio_progress_loading,share_audio_progress_loading_inner,share_audio_progress_handle,share_audio_desc,share_audio_length_current,share_audio_length_total,video_iframe,vote_iframe,js_editor_vote_card,res_iframe,card_iframe,js_editor_card,weapp_display_element,js_weapp_display_element,weapp_card,app_context,weapp_card_bd,weapp_card_profile,radius_avatar,weapp_card_avatar,weapp_card_nickname,weapp_card_info,weapp_card_title,weapp_card_thumb_wrp,weapp_card_ft,weapp_card_logo,js_pay_btn,pay,pay__mask,wx_video_loading,js_redpacketcover,js_uneditable,js_uneditablemouseover,js_editor_qqmusic,js_editor_audio,ct_geography_loc_tip,js_poi_entry'.split(',');
|
|||
|
var qaClassPrefix = 'qa__';
|
|||
|
var whiteListReg = [
|
|||
|
new RegExp("^weui"),
|
|||
|
new RegExp("^appmsg"),
|
|||
|
new RegExp("^audio"),
|
|||
|
new RegExp("^music"),
|
|||
|
new RegExp("^cps_inner"),
|
|||
|
new RegExp("^bizsvr_"),
|
|||
|
new RegExp("^code-snippet"),
|
|||
|
new RegExp("^" + qaClassPrefix),
|
|||
|
new RegExp("^wx-edui-"),
|
|||
|
new RegExp("^wx_"),
|
|||
|
new RegExp("^wx-"),
|
|||
|
new RegExp('^js_darkmode__'),
|
|||
|
];
|
|||
|
</script>
|
|||
|
|
|||
|
<script nonce="1032235604" type="text/javascript">
|
|||
|
var uin = '';
|
|||
|
var key = '';
|
|||
|
var pass_ticket = '';
|
|||
|
var new_appmsg = 1;
|
|||
|
var item_show_type = "0";
|
|||
|
var can_see_complaint = "0";
|
|||
|
var not_in_mm_css = "//res.wx.qq.com/mmbizwap/zh_CN/htmledition/style/page/appmsg_new/not_in_mm4dbfed.css";
|
|||
|
var windowwx_css = "//res.wx.qq.com/mmbizwap/zh_CN/htmledition/style/page/appmsg_new/winwx502975.css";
|
|||
|
var article_improve_combo_css = "//res.wx.qq.com/mmbizwap/zh_CN/htmledition/style/page/appmsg_new/combo504659.css";
|
|||
|
var tid = "";
|
|||
|
var aid = "";
|
|||
|
var clientversion = "";
|
|||
|
var appuin = ""||"MzAwMjU3NjA1Mw==";
|
|||
|
var voiceid = "";
|
|||
|
|
|||
|
var source = "";
|
|||
|
var ascene = "";
|
|||
|
var subscene = "";
|
|||
|
var sessionid = ""||"svr_579d1f2d8f1";
|
|||
|
var abtest_cookie = "";
|
|||
|
|
|||
|
var scene = 75;
|
|||
|
|
|||
|
var itemidx = "";
|
|||
|
var appmsg_token = "";
|
|||
|
var _copyright_stat = "0";
|
|||
|
var _ori_article_type = "";
|
|||
|
|
|||
|
var is_follow = "";
|
|||
|
var nickname = "陇西人";
|
|||
|
var appmsg_type = "9";
|
|||
|
var ct = "1598606048";
|
|||
|
var user_name = "gh_741f1591cbd0";
|
|||
|
var fakeid = "";
|
|||
|
var version = "";
|
|||
|
var is_limit_user = "0";
|
|||
|
var round_head_img = "http://mmbiz.qpic.cn/mmbiz_png/jIhDxnibk8LJaIb2s816ku3wH8WH9vd0iaOxHesgtIhEJNMRZSYc5eEkribycy7NY1np2Iw92nrwialpo3H7KlS3RQ/0?wx_fmt=png";
|
|||
|
var hd_head_img = "http://wx.qlogo.cn/mmhead/Q3auHgzwzM5SK2PvhCBGNyzmibotibu6EKb6Jal6iccL7EkFeWiaU8lnaA/0"||"";
|
|||
|
var ori_head_img_url = "http://wx.qlogo.cn/mmhead/Q3auHgzwzM5SK2PvhCBGNyzmibotibu6EKb6Jal6iccL7EkFeWiaU8lnaA/132";
|
|||
|
var msg_title = '创建于1937年,连续16年全市第一!她就是陇西……'.html(false);
|
|||
|
var msg_desc = "省级示范性普通高中";
|
|||
|
var msg_cdn_url = "http://mmbiz.qpic.cn/mmbiz_jpg/jIhDxnibk8LKicUgIfrl6ibNu53kd6BtcialdOCtz7Z2DDicqW9kbbNG7erVNwNQ5ydFCJLD638EeiaCo5icDsdlpmCkw/0?wx_fmt=jpeg";
|
|||
|
var cdn_url_1_1 = "https://mmbiz.qlogo.cn/mmbiz_jpg/jIhDxnibk8LKicUgIfrl6ibNu53kd6BtcialFAzdbrAHUrEvPshYWwxNOzJX1Yay7L5BChTOpb5lgtM00zn2G5Vppg/0?wx_fmt=jpeg";
|
|||
|
var cdn_url_235_1 = "https://mmbiz.qlogo.cn/mmbiz_jpg/jIhDxnibk8LKicUgIfrl6ibNu53kd6BtcialdOCtz7Z2DDicqW9kbbNG7erVNwNQ5ydFCJLD638EeiaCo5icDsdlpmCkw/0?wx_fmt=jpeg";
|
|||
|
|
|||
|
var msg_link = "http://mp.weixin.qq.com/s?__biz=MzAwMjU3NjA1Mw==&mid=2649667982&idx=1&sn=785369d56286b706c4544afb5854983b&chksm=82d24254b5a5cb425f68a91bb513e178a76d9efe2d001f7cd6f4c2ca5c7336568cde510ca62a#rd";
|
|||
|
var user_uin = ""*1;
|
|||
|
var msg_source_url = '';
|
|||
|
var img_format = 'jpeg';
|
|||
|
var srcid = '';
|
|||
|
var req_id = '0211A68hIK5y35khYPqcqrTj';
|
|||
|
var networkType;
|
|||
|
var appmsgid = "2649667982" || '' || '';
|
|||
|
var comment_id = "1493403372580896772" || "1493403372580896772" * 1;
|
|||
|
var comment_enabled = "" * 1;
|
|||
|
var is_https_res = ("" * 1) && (location.protocol == "https:");
|
|||
|
var msg_daily_idx = "1" || "";
|
|||
|
var profileReportInfo = "" || "";
|
|||
|
|
|||
|
var devicetype = "";
|
|||
|
var source_encode_biz = "";
|
|||
|
var source_username = "";
|
|||
|
|
|||
|
var reprint_ticket = "";
|
|||
|
var source_mid = "";
|
|||
|
var source_idx = "";
|
|||
|
var source_biz = "";
|
|||
|
var author_id = "";
|
|||
|
|
|||
|
|
|||
|
var optimizing_flag = "0" * 1;
|
|||
|
|
|||
|
|
|||
|
|
|||
|
|
|||
|
var show_comment = "";
|
|||
|
var __appmsgCgiData = {
|
|||
|
wxa_product : ""*1,
|
|||
|
wxa_cps : ""*1,
|
|||
|
show_msg_voice: "0"*1,
|
|||
|
can_use_page : ""*1,
|
|||
|
is_wxg_stuff_uin : "0"*1,
|
|||
|
card_pos : "",
|
|||
|
copyright_stat : "0",
|
|||
|
source_biz : "",
|
|||
|
hd_head_img : "http://wx.qlogo.cn/mmhead/Q3auHgzwzM5SK2PvhCBGNyzmibotibu6EKb6Jal6iccL7EkFeWiaU8lnaA/0"||(window.location.protocol+"//"+window.location.host + "//res.wx.qq.com/mmbizwap/zh_CN/htmledition/images/pic/appmsg/pic_rumor_link.2x42f400.jpg"),
|
|||
|
has_red_packet_cover: "0" * 1 || 0
|
|||
|
};
|
|||
|
var _empty_v = "//res.wx.qq.com/mmbizwap/zh_CN/htmledition/images/pic/pages/voice/empty42f400.mp3";
|
|||
|
var copyright_stat = "0" * 1;
|
|||
|
var hideSource = "" * 1;
|
|||
|
|
|||
|
var pay_fee = "" * 1;
|
|||
|
var pay_timestamp = "";
|
|||
|
var need_pay = "" * 1;
|
|||
|
|
|||
|
var need_report_cost = "0" * 1;
|
|||
|
var use_tx_video_player = "0" * 1;
|
|||
|
var appmsg_fe_filter = "contenteditable";
|
|||
|
|
|||
|
var friend_read_source = "" || "";
|
|||
|
var friend_read_version = "" || "";
|
|||
|
var friend_read_class_id = "" || "";
|
|||
|
|
|||
|
var is_only_read = "1" * 1;
|
|||
|
var read_num = "" * 1;
|
|||
|
var like_num = "" * 1;
|
|||
|
var liked = "" == 'true' ? true : false;
|
|||
|
var is_temp_url = "" ? 1 : 0;
|
|||
|
var send_time = "";
|
|||
|
var icon_emotion_switch = "//res.wx.qq.com/mmbizwap/zh_CN/htmledition/images/icon/appmsg/emotion/icon_emotion_switch46b604.svg";
|
|||
|
var icon_emotion_switch_active = "//res.wx.qq.com/mmbizwap/zh_CN/htmledition/images/icon/appmsg/emotion/icon_emotion_switch_active46b604.svg";
|
|||
|
var icon_emotion_switch_primary = "//res.wx.qq.com/mmbizwap/zh_CN/htmledition/images/icon/appmsg/emotion/icon_emotion_switch_primary46b604.svg";
|
|||
|
var icon_emotion_switch_active_primary = "//res.wx.qq.com/mmbizwap/zh_CN/htmledition/images/icon/appmsg/emotion/icon_emotion_switch_active_primary46b604.svg";
|
|||
|
var icon_loading_white = "//res.wx.qq.com/mmbizwap/zh_CN/htmledition/images/icon/common/icon_loading_white42f400.gif";
|
|||
|
var icon_audio_unread = "//res.wx.qq.com/mmbizwap/zh_CN/htmledition/images/icon/appmsg/audio/icon_audio_unread42f400.png";
|
|||
|
var icon_qqmusic_default = "//res.wx.qq.com/mmbizwap/zh_CN/htmledition/images/icon/appmsg/qqmusic/icon_qqmusic_default.2x42f400.png";
|
|||
|
var icon_qqmusic_source = "//res.wx.qq.com/mmbizwap/zh_CN/htmledition/images/icon/appmsg/qqmusic/icon_qqmusic_source4abca9.svg";
|
|||
|
var icon_kugou_source = "//res.wx.qq.com/mmbizwap/zh_CN/htmledition/images/icon/appmsg/kugou/icon_kugou_source42f400.png";
|
|||
|
|
|||
|
var topic_default_img = '//res.wx.qq.com/mmbizwap/zh_CN/htmledition/images/icon/appmsg/topic/pic_book_thumb.2x42f400.png';
|
|||
|
var comment_edit_icon = '//res.wx.qq.com/mmbizwap/zh_CN/htmledition/images/icon/appmsg_new/icon_edit42f400.png';
|
|||
|
var comment_loading_img = '//res.wx.qq.com/mmbizwap/zh_CN/htmledition/images/icon/common/icon_loading_white42f400.gif';
|
|||
|
|
|||
|
var voice_in_appmsg = {
|
|||
|
"1":"1"
|
|||
|
};
|
|||
|
var voiceList={};
|
|||
|
voiceList={"voice_in_appmsg":[]}
|
|||
|
var reprint_style = ''*1;
|
|||
|
var wxa_img_alert = "" != 'false';
|
|||
|
|
|||
|
|
|||
|
var img_popup = 1;
|
|||
|
|
|||
|
|
|||
|
var more_read_type = '0'*1;
|
|||
|
|
|||
|
|
|||
|
|
|||
|
|
|||
|
|
|||
|
|
|||
|
|
|||
|
var weapp_sn_arr_json = "" || "";
|
|||
|
|
|||
|
|
|||
|
var ban_scene = "0" * 1;
|
|||
|
|
|||
|
var svr_time = "1599016434" * 1;
|
|||
|
|
|||
|
var is_transfer_msg = ""*1||0;
|
|||
|
|
|||
|
var malicious_title_reason_id = "0" * 1;
|
|||
|
var malicious_content_type = "0" * 1;
|
|||
|
|
|||
|
|
|||
|
var modify_time = "";
|
|||
|
|
|||
|
|
|||
|
var isprofileblock = "0";
|
|||
|
|
|||
|
|
|||
|
var hotspotInfoList = [
|
|||
|
];
|
|||
|
|
|||
|
var jumpInfo = [
|
|||
|
];
|
|||
|
|
|||
|
var hasRelatedArticleInfo = '0' * 1 || 0;
|
|||
|
var relatedArticleFlag = '' * 1 || 0;
|
|||
|
|
|||
|
window.wxtoken = "777";
|
|||
|
|
|||
|
|
|||
|
|
|||
|
|
|||
|
|
|||
|
window.is_login = '' * 1;
|
|||
|
|
|||
|
window.__moon_initcallback = function(){
|
|||
|
if(!!window.__initCatch){
|
|||
|
window.__initCatch({
|
|||
|
idkey : 27611+2,
|
|||
|
startKey : 0,
|
|||
|
limit : 128,
|
|||
|
badjsId: 43,
|
|||
|
reportOpt : {
|
|||
|
uin : uin,
|
|||
|
biz : biz,
|
|||
|
mid : mid,
|
|||
|
idx : idx,
|
|||
|
sn : sn
|
|||
|
},
|
|||
|
extInfo : {
|
|||
|
network_rate : 0.01,
|
|||
|
badjs_rate: 0.1
|
|||
|
}
|
|||
|
});
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
var title ="陇西人";
|
|||
|
|
|||
|
var is_new_msg=true;
|
|||
|
|
|||
|
|
|||
|
|
|||
|
var is_wash = '' * 1;
|
|||
|
var topbarEnable = false;
|
|||
|
var enterid = "" * 1 || "" * 1 || parseInt(Date.now() / 1000);
|
|||
|
|
|||
|
var miniprogram_appid = "";
|
|||
|
|
|||
|
var defaultAvatarUrl = '//res.wx.qq.com/mmbizwap/zh_CN/htmledition/images/pic/common/avatar_default46e3e2.svg';
|
|||
|
|
|||
|
document.addEventListener('DOMContentLoaded', function () {
|
|||
|
window.domCompleteTime = Date.now();
|
|||
|
});
|
|||
|
|
|||
|
|
|||
|
var hasRecommendMsg = 0;
|
|||
|
;
|
|||
|
|
|||
|
var isPaySubscribe = '0' * 1;
|
|||
|
var isPaid = '0' * 1;
|
|||
|
var payShowIAPPrice = 1;
|
|||
|
var payProductId = '' || '';
|
|||
|
var previewPercent = '0' || '';
|
|||
|
var payGiftsCount = '0' * 1 || 0;
|
|||
|
var payFreeGift = '' * 1 || 0;
|
|||
|
var is_finished_preview = 0;
|
|||
|
var jump2pay = '' * 1;
|
|||
|
|
|||
|
var isFans;
|
|||
|
var is_need_reward = (isPaySubscribe && !isPaid) ? 0 : "0" * 1;
|
|||
|
|
|||
|
|
|||
|
var anchor_tree_msg = '';
|
|||
|
|
|||
|
var colorScheme = '';
|
|||
|
|
|||
|
var iapPriceInfo = {
|
|||
|
};
|
|||
|
var productPayPackage = {
|
|||
|
iap_price_info: iapPriceInfo
|
|||
|
};
|
|||
|
|
|||
|
|
|||
|
var isCartoonCopyright = '0' * 1;
|
|||
|
|
|||
|
|
|||
|
var show_msg_voice = '' * 1;
|
|||
|
var qnaCardData = '';
|
|||
|
</script>
|
|||
|
<script nonce="1032235604" type="text/javascript">
|
|||
|
!function(e,t){
|
|||
|
"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define("Darkmode",[],t):"object"==typeof exports?exports.Darkmode=t():e.Darkmode=t();
|
|||
|
}(window,function(){
|
|||
|
return function(e){
|
|||
|
function t(n){
|
|||
|
if(r[n])return r[n].exports;
|
|||
|
var a=r[n]={
|
|||
|
i:n,
|
|||
|
l:!1,
|
|||
|
exports:{}
|
|||
|
};
|
|||
|
return e[n].call(a.exports,a,a.exports,t),a.l=!0,a.exports;
|
|||
|
}
|
|||
|
var r={};
|
|||
|
return t.m=e,t.c=r,t.d=function(e,r,n){
|
|||
|
t.o(e,r)||Object.defineProperty(e,r,{
|
|||
|
enumerable:!0,
|
|||
|
get:n
|
|||
|
});
|
|||
|
},t.r=function(e){
|
|||
|
"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{
|
|||
|
value:"Module"
|
|||
|
}),Object.defineProperty(e,"__esModule",{
|
|||
|
value:!0
|
|||
|
});
|
|||
|
},t.t=function(e,r){
|
|||
|
if(1&r&&(e=t(e)),8&r)return e;
|
|||
|
if(4&r&&"object"==typeof e&&e&&e.__esModule)return e;
|
|||
|
var n=Object.create(null);
|
|||
|
if(t.r(n),Object.defineProperty(n,"default",{
|
|||
|
enumerable:!0,
|
|||
|
value:e
|
|||
|
}),2&r&&"string"!=typeof e)for(var a in e)t.d(n,a,function(t){
|
|||
|
return e[t];
|
|||
|
}.bind(null,a));
|
|||
|
return n;
|
|||
|
},t.n=function(e){
|
|||
|
var r=e&&e.__esModule?function(){
|
|||
|
return e.default;
|
|||
|
}:function(){
|
|||
|
return e;
|
|||
|
};
|
|||
|
return t.d(r,"a",r),r;
|
|||
|
},t.o=function(e,t){
|
|||
|
return Object.prototype.hasOwnProperty.call(e,t);
|
|||
|
},t.p="",t(t.s=9);
|
|||
|
}([function(e,t,r){
|
|||
|
"use strict";
|
|||
|
function n(e,t){
|
|||
|
if(!(this instanceof n))return new n(e,t);
|
|||
|
if(t&&t in h&&(t=null),t&&!(t in u))throw new Error("Unknown model: "+t);
|
|||
|
var r,a;
|
|||
|
if(null==e)this.model="rgb",this.color=[0,0,0],this.valpha=1;else if(e instanceof n)this.model=e.model,
|
|||
|
this.color=e.color.slice(),this.valpha=e.valpha;else if("string"==typeof e){
|
|||
|
var o=l.get(e);
|
|||
|
if(null===o)throw new Error("Unable to parse color from string: "+e);
|
|||
|
this.model=o.model,a=u[this.model].channels,this.color=o.value.slice(0,a),this.valpha="number"==typeof o.value[a]?o.value[a]:1;
|
|||
|
}else if(e.length){
|
|||
|
this.model=t||"rgb",a=u[this.model].channels;
|
|||
|
var i=c.call(e,0,a);
|
|||
|
this.color=s(i,a),this.valpha="number"==typeof e[a]?e[a]:1;
|
|||
|
}else if("number"==typeof e)e&=16777215,this.model="rgb",this.color=[e>>16&255,e>>8&255,255&e],
|
|||
|
this.valpha=1;else{
|
|||
|
this.valpha=1;
|
|||
|
var d=Object.keys(e);
|
|||
|
"alpha"in e&&(d.splice(d.indexOf("alpha"),1),this.valpha="number"==typeof e.alpha?e.alpha:0);
|
|||
|
var b=d.sort().join("");
|
|||
|
if(!(b in f))throw new Error("Unable to parse color from object: "+JSON.stringify(e));
|
|||
|
this.model=f[b];
|
|||
|
var p=u[this.model].labels,m=[];
|
|||
|
for(r=0;r<p.length;r++)m.push(e[p[r]]);
|
|||
|
this.color=s(m);
|
|||
|
}
|
|||
|
if(g[this.model])for(a=u[this.model].channels,r=0;a>r;r++){
|
|||
|
var y=g[this.model][r];
|
|||
|
y&&(this.color[r]=y(this.color[r]));
|
|||
|
}
|
|||
|
this.valpha=Math.max(0,Math.min(1,this.valpha)),Object.freeze&&Object.freeze(this);
|
|||
|
}
|
|||
|
function a(e,t,r){
|
|||
|
return(e=Array.isArray(e)?e:[e]).forEach(function(e){
|
|||
|
(g[e]||(g[e]=[]))[t]=r;
|
|||
|
}),e=e[0],function(n){
|
|||
|
var a;
|
|||
|
return arguments.length?(r&&(n=r(n)),(a=this[e]()).color[t]=n,a):(a=this[e]().color[t],
|
|||
|
r&&(a=r(a)),a);
|
|||
|
};
|
|||
|
}
|
|||
|
function o(e){
|
|||
|
return function(t){
|
|||
|
return Math.max(0,Math.min(e,t));
|
|||
|
};
|
|||
|
}
|
|||
|
function i(e){
|
|||
|
return Array.isArray(e)?e:[e];
|
|||
|
}
|
|||
|
function s(e,t){
|
|||
|
for(var r=0;t>r;r++)"number"!=typeof e[r]&&(e[r]=0);
|
|||
|
return e;
|
|||
|
}
|
|||
|
var l=r(3),u=r(6),c=[].slice,h=["keyword","gray","hex"],f={};
|
|||
|
Object.keys(u).forEach(function(e){
|
|||
|
f[c.call(u[e].labels).sort().join("")]=e;
|
|||
|
});
|
|||
|
var g={};
|
|||
|
n.prototype={
|
|||
|
toString:function(){
|
|||
|
return this.string();
|
|||
|
},
|
|||
|
toJSON:function(){
|
|||
|
return this[this.model]();
|
|||
|
},
|
|||
|
string:function(e){
|
|||
|
var t=this.model in l.to?this:this.rgb(),r=1===(t=t.round("number"==typeof e?e:1)).valpha?t.color:t.color.concat(this.valpha);
|
|||
|
return l.to[t.model](r);
|
|||
|
},
|
|||
|
percentString:function(e){
|
|||
|
var t=this.rgb().round("number"==typeof e?e:1),r=1===t.valpha?t.color:t.color.concat(this.valpha);
|
|||
|
return l.to.rgb.percent(r);
|
|||
|
},
|
|||
|
array:function(){
|
|||
|
return 1===this.valpha?this.color.slice():this.color.concat(this.valpha);
|
|||
|
},
|
|||
|
object:function(){
|
|||
|
for(var e={},t=u[this.model].channels,r=u[this.model].labels,n=0;t>n;n++)e[r[n]]=this.color[n];
|
|||
|
return 1!==this.valpha&&(e.alpha=this.valpha),e;
|
|||
|
},
|
|||
|
unitArray:function(){
|
|||
|
var e=this.rgb().color;
|
|||
|
return e[0]/=255,e[1]/=255,e[2]/=255,1!==this.valpha&&e.push(this.valpha),e;
|
|||
|
},
|
|||
|
unitObject:function(){
|
|||
|
var e=this.rgb().object();
|
|||
|
return e.r/=255,e.g/=255,e.b/=255,1!==this.valpha&&(e.alpha=this.valpha),e;
|
|||
|
},
|
|||
|
round:function(e){
|
|||
|
return e=Math.max(e||0,0),new n(this.color.map(function(e){
|
|||
|
return function(t){
|
|||
|
return function(e,t){
|
|||
|
return Number(e.toFixed(t));
|
|||
|
}(t,e);
|
|||
|
};
|
|||
|
}(e)).concat(this.valpha),this.model);
|
|||
|
},
|
|||
|
alpha:function(e){
|
|||
|
return arguments.length?new n(this.color.concat(Math.max(0,Math.min(1,e))),this.model):this.valpha;
|
|||
|
},
|
|||
|
red:a("rgb",0,o(255)),
|
|||
|
green:a("rgb",1,o(255)),
|
|||
|
blue:a("rgb",2,o(255)),
|
|||
|
hue:a(["hsl","hsv","hsl","hwb","hcg"],0,function(e){
|
|||
|
return(e%360+360)%360;
|
|||
|
}),
|
|||
|
saturationl:a("hsl",1,o(100)),
|
|||
|
lightness:a("hsl",2,o(100)),
|
|||
|
saturationv:a("hsv",1,o(100)),
|
|||
|
value:a("hsv",2,o(100)),
|
|||
|
chroma:a("hcg",1,o(100)),
|
|||
|
gray:a("hcg",2,o(100)),
|
|||
|
white:a("hwb",1,o(100)),
|
|||
|
wblack:a("hwb",2,o(100)),
|
|||
|
cyan:a("cmyk",0,o(100)),
|
|||
|
magenta:a("cmyk",1,o(100)),
|
|||
|
yellow:a("cmyk",2,o(100)),
|
|||
|
black:a("cmyk",3,o(100)),
|
|||
|
x:a("xyz",0,o(100)),
|
|||
|
y:a("xyz",1,o(100)),
|
|||
|
z:a("xyz",2,o(100)),
|
|||
|
l:a("lab",0,o(100)),
|
|||
|
a:a("lab",1),
|
|||
|
b:a("lab",2),
|
|||
|
keyword:function(e){
|
|||
|
return arguments.length?new n(e):u[this.model].keyword(this.color);
|
|||
|
},
|
|||
|
hex:function(e){
|
|||
|
return arguments.length?new n(e):l.to.hex(this.rgb().round().color);
|
|||
|
},
|
|||
|
rgbNumber:function(){
|
|||
|
var e=this.rgb().color;
|
|||
|
return(255&e[0])<<16|(255&e[1])<<8|255&e[2];
|
|||
|
},
|
|||
|
luminosity:function(){
|
|||
|
for(var e=this.rgb().color,t=[],r=0;r<e.length;r++){
|
|||
|
var n=e[r]/255;
|
|||
|
t[r]=.03928>=n?n/12.92:Math.pow((n+.055)/1.055,2.4);
|
|||
|
}
|
|||
|
return.2126*t[0]+.7152*t[1]+.0722*t[2];
|
|||
|
},
|
|||
|
contrast:function(e){
|
|||
|
var t=this.luminosity(),r=e.luminosity();
|
|||
|
return t>r?(t+.05)/(r+.05):(r+.05)/(t+.05);
|
|||
|
},
|
|||
|
level:function(e){
|
|||
|
var t=this.contrast(e);
|
|||
|
return t>=7.1?"AAA":t>=4.5?"AA":"";
|
|||
|
},
|
|||
|
isDark:function(){
|
|||
|
var e=this.rgb().color;
|
|||
|
return(299*e[0]+587*e[1]+114*e[2])/1e3<128;
|
|||
|
},
|
|||
|
isLight:function(){
|
|||
|
return!this.isDark();
|
|||
|
},
|
|||
|
negate:function(){
|
|||
|
for(var e=this.rgb(),t=0;3>t;t++)e.color[t]=255-e.color[t];
|
|||
|
return e;
|
|||
|
},
|
|||
|
lighten:function(e){
|
|||
|
var t=this.hsl();
|
|||
|
return t.color[2]+=t.color[2]*e,t;
|
|||
|
},
|
|||
|
darken:function(e){
|
|||
|
var t=this.hsl();
|
|||
|
return t.color[2]-=t.color[2]*e,t;
|
|||
|
},
|
|||
|
saturate:function(e){
|
|||
|
var t=this.hsl();
|
|||
|
return t.color[1]+=t.color[1]*e,t;
|
|||
|
},
|
|||
|
desaturate:function(e){
|
|||
|
var t=this.hsl();
|
|||
|
return t.color[1]-=t.color[1]*e,t;
|
|||
|
},
|
|||
|
whiten:function(e){
|
|||
|
var t=this.hwb();
|
|||
|
return t.color[1]+=t.color[1]*e,t;
|
|||
|
},
|
|||
|
blacken:function(e){
|
|||
|
var t=this.hwb();
|
|||
|
return t.color[2]+=t.color[2]*e,t;
|
|||
|
},
|
|||
|
grayscale:function(){
|
|||
|
var e=this.rgb().color,t=.3*e[0]+.59*e[1]+.11*e[2];
|
|||
|
return n.rgb(t,t,t);
|
|||
|
},
|
|||
|
fade:function(e){
|
|||
|
return this.alpha(this.valpha-this.valpha*e);
|
|||
|
},
|
|||
|
opaquer:function(e){
|
|||
|
return this.alpha(this.valpha+this.valpha*e);
|
|||
|
},
|
|||
|
rotate:function(e){
|
|||
|
var t=this.hsl(),r=t.color[0];
|
|||
|
return r=(r=(r+e)%360)<0?360+r:r,t.color[0]=r,t;
|
|||
|
},
|
|||
|
mix:function(e,t){
|
|||
|
if(!e||!e.rgb)throw new Error('Argument to "mix" was not a Color instance, but rather an instance of '+typeof e);
|
|||
|
var r=e.rgb(),a=this.rgb(),o=void 0===t?.5:t,i=2*o-1,s=r.alpha()-a.alpha(),l=((i*s==-1?i:(i+s)/(1+i*s))+1)/2,u=1-l;
|
|||
|
return n.rgb(l*r.red()+u*a.red(),l*r.green()+u*a.green(),l*r.blue()+u*a.blue(),r.alpha()*o+a.alpha()*(1-o));
|
|||
|
}
|
|||
|
},Object.keys(u).forEach(function(e){
|
|||
|
if(-1===h.indexOf(e)){
|
|||
|
var t=u[e].channels;
|
|||
|
n.prototype[e]=function(){
|
|||
|
if(this.model===e)return new n(this);
|
|||
|
if(arguments.length)return new n(arguments,e);
|
|||
|
var r="number"==typeof arguments[t]?t:this.valpha;
|
|||
|
return new n(i(u[this.model][e].raw(this.color)).concat(r),e);
|
|||
|
},n[e]=function(r){
|
|||
|
return"number"==typeof r&&(r=s(c.call(arguments),t)),new n(r,e);
|
|||
|
};
|
|||
|
}
|
|||
|
}),e.exports=n;
|
|||
|
},function(e){
|
|||
|
"use strict";
|
|||
|
e.exports={
|
|||
|
aliceblue:[240,248,255],
|
|||
|
antiquewhite:[250,235,215],
|
|||
|
aqua:[0,255,255],
|
|||
|
aquamarine:[127,255,212],
|
|||
|
azure:[240,255,255],
|
|||
|
beige:[245,245,220],
|
|||
|
bisque:[255,228,196],
|
|||
|
black:[0,0,0],
|
|||
|
blanchedalmond:[255,235,205],
|
|||
|
blue:[0,0,255],
|
|||
|
blueviolet:[138,43,226],
|
|||
|
brown:[165,42,42],
|
|||
|
burlywood:[222,184,135],
|
|||
|
cadetblue:[95,158,160],
|
|||
|
chartreuse:[127,255,0],
|
|||
|
chocolate:[210,105,30],
|
|||
|
coral:[255,127,80],
|
|||
|
cornflowerblue:[100,149,237],
|
|||
|
cornsilk:[255,248,220],
|
|||
|
crimson:[220,20,60],
|
|||
|
cyan:[0,255,255],
|
|||
|
darkblue:[0,0,139],
|
|||
|
darkcyan:[0,139,139],
|
|||
|
darkgoldenrod:[184,134,11],
|
|||
|
darkgray:[169,169,169],
|
|||
|
darkgreen:[0,100,0],
|
|||
|
darkgrey:[169,169,169],
|
|||
|
darkkhaki:[189,183,107],
|
|||
|
darkmagenta:[139,0,139],
|
|||
|
darkolivegreen:[85,107,47],
|
|||
|
darkorange:[255,140,0],
|
|||
|
darkorchid:[153,50,204],
|
|||
|
darkred:[139,0,0],
|
|||
|
darksalmon:[233,150,122],
|
|||
|
darkseagreen:[143,188,143],
|
|||
|
darkslateblue:[72,61,139],
|
|||
|
darkslategray:[47,79,79],
|
|||
|
darkslategrey:[47,79,79],
|
|||
|
darkturquoise:[0,206,209],
|
|||
|
darkviolet:[148,0,211],
|
|||
|
deeppink:[255,20,147],
|
|||
|
deepskyblue:[0,191,255],
|
|||
|
dimgray:[105,105,105],
|
|||
|
dimgrey:[105,105,105],
|
|||
|
dodgerblue:[30,144,255],
|
|||
|
firebrick:[178,34,34],
|
|||
|
floralwhite:[255,250,240],
|
|||
|
forestgreen:[34,139,34],
|
|||
|
fuchsia:[255,0,255],
|
|||
|
gainsboro:[220,220,220],
|
|||
|
ghostwhite:[248,248,255],
|
|||
|
gold:[255,215,0],
|
|||
|
goldenrod:[218,165,32],
|
|||
|
gray:[128,128,128],
|
|||
|
green:[0,128,0],
|
|||
|
greenyellow:[173,255,47],
|
|||
|
grey:[128,128,128],
|
|||
|
honeydew:[240,255,240],
|
|||
|
hotpink:[255,105,180],
|
|||
|
indianred:[205,92,92],
|
|||
|
indigo:[75,0,130],
|
|||
|
ivory:[255,255,240],
|
|||
|
khaki:[240,230,140],
|
|||
|
lavender:[230,230,250],
|
|||
|
lavenderblush:[255,240,245],
|
|||
|
lawngreen:[124,252,0],
|
|||
|
lemonchiffon:[255,250,205],
|
|||
|
lightblue:[173,216,230],
|
|||
|
lightcoral:[240,128,128],
|
|||
|
lightcyan:[224,255,255],
|
|||
|
lightgoldenrodyellow:[250,250,210],
|
|||
|
lightgray:[211,211,211],
|
|||
|
lightgreen:[144,238,144],
|
|||
|
lightgrey:[211,211,211],
|
|||
|
lightpink:[255,182,193],
|
|||
|
lightsalmon:[255,160,122],
|
|||
|
lightseagreen:[32,178,170],
|
|||
|
lightskyblue:[135,206,250],
|
|||
|
lightslategray:[119,136,153],
|
|||
|
lightslategrey:[119,136,153],
|
|||
|
lightsteelblue:[176,196,222],
|
|||
|
lightyellow:[255,255,224],
|
|||
|
lime:[0,255,0],
|
|||
|
limegreen:[50,205,50],
|
|||
|
linen:[250,240,230],
|
|||
|
magenta:[255,0,255],
|
|||
|
maroon:[128,0,0],
|
|||
|
mediumaquamarine:[102,205,170],
|
|||
|
mediumblue:[0,0,205],
|
|||
|
mediumorchid:[186,85,211],
|
|||
|
mediumpurple:[147,112,219],
|
|||
|
mediumseagreen:[60,179,113],
|
|||
|
mediumslateblue:[123,104,238],
|
|||
|
mediumspringgreen:[0,250,154],
|
|||
|
mediumturquoise:[72,209,204],
|
|||
|
mediumvioletred:[199,21,133],
|
|||
|
midnightblue:[25,25,112],
|
|||
|
mintcream:[245,255,250],
|
|||
|
mistyrose:[255,228,225],
|
|||
|
moccasin:[255,228,181],
|
|||
|
navajowhite:[255,222,173],
|
|||
|
navy:[0,0,128],
|
|||
|
oldlace:[253,245,230],
|
|||
|
olive:[128,128,0],
|
|||
|
olivedrab:[107,142,35],
|
|||
|
orange:[255,165,0],
|
|||
|
orangered:[255,69,0],
|
|||
|
orchid:[218,112,214],
|
|||
|
palegoldenrod:[238,232,170],
|
|||
|
palegreen:[152,251,152],
|
|||
|
paleturquoise:[175,238,238],
|
|||
|
palevioletred:[219,112,147],
|
|||
|
papayawhip:[255,239,213],
|
|||
|
peachpuff:[255,218,185],
|
|||
|
peru:[205,133,63],
|
|||
|
pink:[255,192,203],
|
|||
|
plum:[221,160,221],
|
|||
|
powderblue:[176,224,230],
|
|||
|
purple:[128,0,128],
|
|||
|
rebeccapurple:[102,51,153],
|
|||
|
red:[255,0,0],
|
|||
|
rosybrown:[188,143,143],
|
|||
|
royalblue:[65,105,225],
|
|||
|
saddlebrown:[139,69,19],
|
|||
|
salmon:[250,128,114],
|
|||
|
sandybrown:[244,164,96],
|
|||
|
seagreen:[46,139,87],
|
|||
|
seashell:[255,245,238],
|
|||
|
sienna:[160,82,45],
|
|||
|
silver:[192,192,192],
|
|||
|
skyblue:[135,206,235],
|
|||
|
slateblue:[106,90,205],
|
|||
|
slategray:[112,128,144],
|
|||
|
slategrey:[112,128,144],
|
|||
|
snow:[255,250,250],
|
|||
|
springgreen:[0,255,127],
|
|||
|
steelblue:[70,130,180],
|
|||
|
tan:[210,180,140],
|
|||
|
teal:[0,128,128],
|
|||
|
thistle:[216,191,216],
|
|||
|
tomato:[255,99,71],
|
|||
|
turquoise:[64,224,208],
|
|||
|
violet:[238,130,238],
|
|||
|
wheat:[245,222,179],
|
|||
|
white:[255,255,255],
|
|||
|
whitesmoke:[245,245,245],
|
|||
|
yellow:[255,255,0],
|
|||
|
yellowgreen:[154,205,50]
|
|||
|
};
|
|||
|
},function(e,t,r){
|
|||
|
var n=r(7),a={};
|
|||
|
for(var o in n)n.hasOwnProperty(o)&&(a[n[o]]=o);
|
|||
|
var i=e.exports={
|
|||
|
rgb:{
|
|||
|
channels:3,
|
|||
|
labels:"rgb"
|
|||
|
},
|
|||
|
hsl:{
|
|||
|
channels:3,
|
|||
|
labels:"hsl"
|
|||
|
},
|
|||
|
hsv:{
|
|||
|
channels:3,
|
|||
|
labels:"hsv"
|
|||
|
},
|
|||
|
hwb:{
|
|||
|
channels:3,
|
|||
|
labels:"hwb"
|
|||
|
},
|
|||
|
cmyk:{
|
|||
|
channels:4,
|
|||
|
labels:"cmyk"
|
|||
|
},
|
|||
|
xyz:{
|
|||
|
channels:3,
|
|||
|
labels:"xyz"
|
|||
|
},
|
|||
|
lab:{
|
|||
|
channels:3,
|
|||
|
labels:"lab"
|
|||
|
},
|
|||
|
lch:{
|
|||
|
channels:3,
|
|||
|
labels:"lch"
|
|||
|
},
|
|||
|
hex:{
|
|||
|
channels:1,
|
|||
|
labels:["hex"]
|
|||
|
},
|
|||
|
keyword:{
|
|||
|
channels:1,
|
|||
|
labels:["keyword"]
|
|||
|
},
|
|||
|
ansi16:{
|
|||
|
channels:1,
|
|||
|
labels:["ansi16"]
|
|||
|
},
|
|||
|
ansi256:{
|
|||
|
channels:1,
|
|||
|
labels:["ansi256"]
|
|||
|
},
|
|||
|
hcg:{
|
|||
|
channels:3,
|
|||
|
labels:["h","c","g"]
|
|||
|
},
|
|||
|
apple:{
|
|||
|
channels:3,
|
|||
|
labels:["r16","g16","b16"]
|
|||
|
},
|
|||
|
gray:{
|
|||
|
channels:1,
|
|||
|
labels:["gray"]
|
|||
|
}
|
|||
|
};
|
|||
|
for(var s in i)if(i.hasOwnProperty(s)){
|
|||
|
if(!("channels"in i[s]))throw new Error("missing channels property: "+s);
|
|||
|
if(!("labels"in i[s]))throw new Error("missing channel labels property: "+s);
|
|||
|
if(i[s].labels.length!==i[s].channels)throw new Error("channel and label counts mismatch: "+s);
|
|||
|
var l=i[s].channels,u=i[s].labels;
|
|||
|
delete i[s].channels,delete i[s].labels,Object.defineProperty(i[s],"channels",{
|
|||
|
value:l
|
|||
|
}),Object.defineProperty(i[s],"labels",{
|
|||
|
value:u
|
|||
|
});
|
|||
|
}
|
|||
|
i.rgb.hsl=function(e){
|
|||
|
var t,r,n=e[0]/255,a=e[1]/255,o=e[2]/255,i=Math.min(n,a,o),s=Math.max(n,a,o),l=s-i;
|
|||
|
return s===i?t=0:n===s?t=(a-o)/l:a===s?t=2+(o-n)/l:o===s&&(t=4+(n-a)/l),(t=Math.min(60*t,360))<0&&(t+=360),
|
|||
|
r=(i+s)/2,[t,100*(s===i?0:.5>=r?l/(s+i):l/(2-s-i)),100*r];
|
|||
|
},i.rgb.hsv=function(e){
|
|||
|
var t,r,n,a,o,i=e[0]/255,s=e[1]/255,l=e[2]/255,u=Math.max(i,s,l),c=u-Math.min(i,s,l),h=function(e){
|
|||
|
return(u-e)/6/c+.5;
|
|||
|
};
|
|||
|
return 0===c?a=o=0:(o=c/u,t=h(i),r=h(s),n=h(l),i===u?a=n-r:s===u?a=1/3+t-n:l===u&&(a=2/3+r-t),
|
|||
|
0>a?a+=1:a>1&&(a-=1)),[360*a,100*o,100*u];
|
|||
|
},i.rgb.hwb=function(e){
|
|||
|
var t=e[0],r=e[1],n=e[2];
|
|||
|
return[i.rgb.hsl(e)[0],100*(1/255)*Math.min(t,Math.min(r,n)),100*(n=1-1/255*Math.max(t,Math.max(r,n)))];
|
|||
|
},i.rgb.cmyk=function(e){
|
|||
|
var t,r=e[0]/255,n=e[1]/255,a=e[2]/255;
|
|||
|
return[100*((1-r-(t=Math.min(1-r,1-n,1-a)))/(1-t)||0),100*((1-n-t)/(1-t)||0),100*((1-a-t)/(1-t)||0),100*t];
|
|||
|
},i.rgb.keyword=function(e){
|
|||
|
var t=a[e];
|
|||
|
if(t)return t;
|
|||
|
var r,o,i,s=1/0;
|
|||
|
for(var l in n)if(n.hasOwnProperty(l)){
|
|||
|
var u=n[l],c=(o=e,i=u,Math.pow(o[0]-i[0],2)+Math.pow(o[1]-i[1],2)+Math.pow(o[2]-i[2],2));
|
|||
|
s>c&&(s=c,r=l);
|
|||
|
}
|
|||
|
return r;
|
|||
|
},i.keyword.rgb=function(e){
|
|||
|
return n[e];
|
|||
|
},i.rgb.xyz=function(e){
|
|||
|
var t=e[0]/255,r=e[1]/255,n=e[2]/255;
|
|||
|
return[100*(.4124*(t=t>.04045?Math.pow((t+.055)/1.055,2.4):t/12.92)+.3576*(r=r>.04045?Math.pow((r+.055)/1.055,2.4):r/12.92)+.1805*(n=n>.04045?Math.pow((n+.055)/1.055,2.4):n/12.92)),100*(.2126*t+.7152*r+.0722*n),100*(.0193*t+.1192*r+.9505*n)];
|
|||
|
},i.rgb.lab=function(e){
|
|||
|
var t=i.rgb.xyz(e),r=t[0],n=t[1],a=t[2];
|
|||
|
return n/=100,a/=108.883,r=(r/=95.047)>.008856?Math.pow(r,1/3):7.787*r+16/116,[116*(n=n>.008856?Math.pow(n,1/3):7.787*n+16/116)-16,500*(r-n),200*(n-(a=a>.008856?Math.pow(a,1/3):7.787*a+16/116))];
|
|||
|
},i.hsl.rgb=function(e){
|
|||
|
var t,r,n,a,o,i=e[0]/360,s=e[1]/100,l=e[2]/100;
|
|||
|
if(0===s)return[o=255*l,o,o];
|
|||
|
t=2*l-(r=.5>l?l*(1+s):l+s-l*s),a=[0,0,0];
|
|||
|
for(var u=0;3>u;u++)(n=i+1/3*-(u-1))<0&&n++,n>1&&n--,o=1>6*n?t+6*(r-t)*n:1>2*n?r:2>3*n?t+(r-t)*(2/3-n)*6:t,
|
|||
|
a[u]=255*o;
|
|||
|
return a;
|
|||
|
},i.hsl.hsv=function(e){
|
|||
|
var t=e[0],r=e[1]/100,n=e[2]/100,a=r,o=Math.max(n,.01);
|
|||
|
return r*=(n*=2)<=1?n:2-n,a*=1>=o?o:2-o,[t,100*(0===n?2*a/(o+a):2*r/(n+r)),100*((n+r)/2)];
|
|||
|
},i.hsv.rgb=function(e){
|
|||
|
var t=e[0]/60,r=e[1]/100,n=e[2]/100,a=Math.floor(t)%6,o=t-Math.floor(t),i=255*n*(1-r),s=255*n*(1-r*o),l=255*n*(1-r*(1-o));
|
|||
|
switch(n*=255,a){
|
|||
|
case 0:
|
|||
|
return[n,l,i];
|
|||
|
|
|||
|
case 1:
|
|||
|
return[s,n,i];
|
|||
|
|
|||
|
case 2:
|
|||
|
return[i,n,l];
|
|||
|
|
|||
|
case 3:
|
|||
|
return[i,s,n];
|
|||
|
|
|||
|
case 4:
|
|||
|
return[l,i,n];
|
|||
|
|
|||
|
case 5:
|
|||
|
return[n,i,s];
|
|||
|
}
|
|||
|
},i.hsv.hsl=function(e){
|
|||
|
var t,r,n,a=e[0],o=e[1]/100,i=e[2]/100,s=Math.max(i,.01);
|
|||
|
return n=(2-o)*i,r=o*s,[a,100*(r=(r/=(t=(2-o)*s)<=1?t:2-t)||0),100*(n/=2)];
|
|||
|
},i.hwb.rgb=function(e){
|
|||
|
var t,r,n,a,o,i,s,l=e[0]/360,u=e[1]/100,c=e[2]/100,h=u+c;
|
|||
|
switch(h>1&&(u/=h,c/=h),n=6*l-(t=Math.floor(6*l)),0!=(1&t)&&(n=1-n),a=u+n*((r=1-c)-u),
|
|||
|
t){
|
|||
|
default:
|
|||
|
case 6:
|
|||
|
case 0:
|
|||
|
o=r,i=a,s=u;
|
|||
|
break;
|
|||
|
|
|||
|
case 1:
|
|||
|
o=a,i=r,s=u;
|
|||
|
break;
|
|||
|
|
|||
|
case 2:
|
|||
|
o=u,i=r,s=a;
|
|||
|
break;
|
|||
|
|
|||
|
case 3:
|
|||
|
o=u,i=a,s=r;
|
|||
|
break;
|
|||
|
|
|||
|
case 4:
|
|||
|
o=a,i=u,s=r;
|
|||
|
break;
|
|||
|
|
|||
|
case 5:
|
|||
|
o=r,i=u,s=a;
|
|||
|
}
|
|||
|
return[255*o,255*i,255*s];
|
|||
|
},i.cmyk.rgb=function(e){
|
|||
|
var t=e[0]/100,r=e[1]/100,n=e[2]/100,a=e[3]/100;
|
|||
|
return[255*(1-Math.min(1,t*(1-a)+a)),255*(1-Math.min(1,r*(1-a)+a)),255*(1-Math.min(1,n*(1-a)+a))];
|
|||
|
},i.xyz.rgb=function(e){
|
|||
|
var t,r,n,a=e[0]/100,o=e[1]/100,i=e[2]/100;
|
|||
|
return r=-.9689*a+1.8758*o+.0415*i,n=.0557*a+-.204*o+1.057*i,t=(t=3.2406*a+-1.5372*o+-.4986*i)>.0031308?1.055*Math.pow(t,1/2.4)-.055:12.92*t,
|
|||
|
r=r>.0031308?1.055*Math.pow(r,1/2.4)-.055:12.92*r,n=n>.0031308?1.055*Math.pow(n,1/2.4)-.055:12.92*n,
|
|||
|
[255*(t=Math.min(Math.max(0,t),1)),255*(r=Math.min(Math.max(0,r),1)),255*(n=Math.min(Math.max(0,n),1))];
|
|||
|
},i.xyz.lab=function(e){
|
|||
|
var t=e[0],r=e[1],n=e[2];
|
|||
|
return r/=100,n/=108.883,t=(t/=95.047)>.008856?Math.pow(t,1/3):7.787*t+16/116,[116*(r=r>.008856?Math.pow(r,1/3):7.787*r+16/116)-16,500*(t-r),200*(r-(n=n>.008856?Math.pow(n,1/3):7.787*n+16/116))];
|
|||
|
},i.lab.xyz=function(e){
|
|||
|
var t,r,n,a=e[0];
|
|||
|
t=e[1]/500+(r=(a+16)/116),n=r-e[2]/200;
|
|||
|
var o=Math.pow(r,3),i=Math.pow(t,3),s=Math.pow(n,3);
|
|||
|
return r=o>.008856?o:(r-16/116)/7.787,t=i>.008856?i:(t-16/116)/7.787,n=s>.008856?s:(n-16/116)/7.787,
|
|||
|
[t*=95.047,r*=100,n*=108.883];
|
|||
|
},i.lab.lch=function(e){
|
|||
|
var t,r=e[0],n=e[1],a=e[2];
|
|||
|
return(t=360*Math.atan2(a,n)/2/Math.PI)<0&&(t+=360),[r,Math.sqrt(n*n+a*a),t];
|
|||
|
},i.lch.lab=function(e){
|
|||
|
var t,r=e[0],n=e[1];
|
|||
|
return t=e[2]/360*2*Math.PI,[r,n*Math.cos(t),n*Math.sin(t)];
|
|||
|
},i.rgb.ansi16=function(e){
|
|||
|
var t=e[0],r=e[1],n=e[2],a=1 in arguments?arguments[1]:i.rgb.hsv(e)[2];
|
|||
|
if(0===(a=Math.round(a/50)))return 30;
|
|||
|
var o=30+(Math.round(n/255)<<2|Math.round(r/255)<<1|Math.round(t/255));
|
|||
|
return 2===a&&(o+=60),o;
|
|||
|
},i.hsv.ansi16=function(e){
|
|||
|
return i.rgb.ansi16(i.hsv.rgb(e),e[2]);
|
|||
|
},i.rgb.ansi256=function(e){
|
|||
|
var t=e[0],r=e[1],n=e[2];
|
|||
|
return t===r&&r===n?8>t?16:t>248?231:Math.round((t-8)/247*24)+232:16+36*Math.round(t/255*5)+6*Math.round(r/255*5)+Math.round(n/255*5);
|
|||
|
},i.ansi16.rgb=function(e){
|
|||
|
var t=e%10;
|
|||
|
if(0===t||7===t)return e>50&&(t+=3.5),[t=t/10.5*255,t,t];
|
|||
|
var r=.5*(1+~~(e>50));
|
|||
|
return[(1&t)*r*255,(t>>1&1)*r*255,(t>>2&1)*r*255];
|
|||
|
},i.ansi256.rgb=function(e){
|
|||
|
if(e>=232){
|
|||
|
var t=10*(e-232)+8;
|
|||
|
return[t,t,t];
|
|||
|
}
|
|||
|
var r;
|
|||
|
return e-=16,[Math.floor(e/36)/5*255,Math.floor((r=e%36)/6)/5*255,r%6/5*255];
|
|||
|
},i.rgb.hex=function(e){
|
|||
|
var t=(((255&Math.round(e[0]))<<16)+((255&Math.round(e[1]))<<8)+(255&Math.round(e[2]))).toString(16).toUpperCase();
|
|||
|
return"000000".substring(t.length)+t;
|
|||
|
},i.hex.rgb=function(e){
|
|||
|
var t=e.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);
|
|||
|
if(!t)return[0,0,0];
|
|||
|
var r=t[0];
|
|||
|
3===t[0].length&&(r=r.split("").map(function(e){
|
|||
|
return e+e;
|
|||
|
}).join(""));
|
|||
|
var n=parseInt(r,16);
|
|||
|
return[n>>16&255,n>>8&255,255&n];
|
|||
|
},i.rgb.hcg=function(e){
|
|||
|
var t,r=e[0]/255,n=e[1]/255,a=e[2]/255,o=Math.max(Math.max(r,n),a),i=Math.min(Math.min(r,n),a),s=o-i;
|
|||
|
return t=0>=s?0:o===r?(n-a)/s%6:o===n?2+(a-r)/s:4+(r-n)/s+4,t/=6,[360*(t%=1),100*s,100*(1>s?i/(1-s):0)];
|
|||
|
},i.hsl.hcg=function(e){
|
|||
|
var t=e[1]/100,r=e[2]/100,n=1,a=0;
|
|||
|
return(n=.5>r?2*t*r:2*t*(1-r))<1&&(a=(r-.5*n)/(1-n)),[e[0],100*n,100*a];
|
|||
|
},i.hsv.hcg=function(e){
|
|||
|
var t=e[1]/100,r=e[2]/100,n=t*r,a=0;
|
|||
|
return 1>n&&(a=(r-n)/(1-n)),[e[0],100*n,100*a];
|
|||
|
},i.hcg.rgb=function(e){
|
|||
|
var t=e[0]/360,r=e[1]/100,n=e[2]/100;
|
|||
|
if(0===r)return[255*n,255*n,255*n];
|
|||
|
var a,o=[0,0,0],i=t%1*6,s=i%1,l=1-s;
|
|||
|
switch(Math.floor(i)){
|
|||
|
case 0:
|
|||
|
o[0]=1,o[1]=s,o[2]=0;
|
|||
|
break;
|
|||
|
|
|||
|
case 1:
|
|||
|
o[0]=l,o[1]=1,o[2]=0;
|
|||
|
break;
|
|||
|
|
|||
|
case 2:
|
|||
|
o[0]=0,o[1]=1,o[2]=s;
|
|||
|
break;
|
|||
|
|
|||
|
case 3:
|
|||
|
o[0]=0,o[1]=l,o[2]=1;
|
|||
|
break;
|
|||
|
|
|||
|
case 4:
|
|||
|
o[0]=s,o[1]=0,o[2]=1;
|
|||
|
break;
|
|||
|
|
|||
|
default:
|
|||
|
o[0]=1,o[1]=0,o[2]=l;
|
|||
|
}
|
|||
|
return a=(1-r)*n,[255*(r*o[0]+a),255*(r*o[1]+a),255*(r*o[2]+a)];
|
|||
|
},i.hcg.hsv=function(e){
|
|||
|
var t=e[1]/100,r=t+e[2]/100*(1-t),n=0;
|
|||
|
return r>0&&(n=t/r),[e[0],100*n,100*r];
|
|||
|
},i.hcg.hsl=function(e){
|
|||
|
var t=e[1]/100,r=e[2]/100*(1-t)+.5*t,n=0;
|
|||
|
return r>0&&.5>r?n=t/(2*r):r>=.5&&1>r&&(n=t/(2*(1-r))),[e[0],100*n,100*r];
|
|||
|
},i.hcg.hwb=function(e){
|
|||
|
var t=e[1]/100,r=t+e[2]/100*(1-t);
|
|||
|
return[e[0],100*(r-t),100*(1-r)];
|
|||
|
},i.hwb.hcg=function(e){
|
|||
|
var t=e[1]/100,r=1-e[2]/100,n=r-t,a=0;
|
|||
|
return 1>n&&(a=(r-n)/(1-n)),[e[0],100*n,100*a];
|
|||
|
},i.apple.rgb=function(e){
|
|||
|
return[e[0]/65535*255,e[1]/65535*255,e[2]/65535*255];
|
|||
|
},i.rgb.apple=function(e){
|
|||
|
return[e[0]/255*65535,e[1]/255*65535,e[2]/255*65535];
|
|||
|
},i.gray.rgb=function(e){
|
|||
|
return[e[0]/100*255,e[0]/100*255,e[0]/100*255];
|
|||
|
},i.gray.hsl=i.gray.hsv=function(e){
|
|||
|
return[0,0,e[0]];
|
|||
|
},i.gray.hwb=function(e){
|
|||
|
return[0,100,e[0]];
|
|||
|
},i.gray.cmyk=function(e){
|
|||
|
return[0,0,0,e[0]];
|
|||
|
},i.gray.lab=function(e){
|
|||
|
return[e[0],0,0];
|
|||
|
},i.gray.hex=function(e){
|
|||
|
var t=255&Math.round(e[0]/100*255),r=((t<<16)+(t<<8)+t).toString(16).toUpperCase();
|
|||
|
return"000000".substring(r.length)+r;
|
|||
|
},i.rgb.gray=function(e){
|
|||
|
return[(e[0]+e[1]+e[2])/3/255*100];
|
|||
|
};
|
|||
|
},function(e,t,r){
|
|||
|
function n(e,t,r){
|
|||
|
return Math.min(Math.max(t,e),r);
|
|||
|
}
|
|||
|
function a(e){
|
|||
|
var t=e.toString(16).toUpperCase();
|
|||
|
return t.length<2?"0"+t:t;
|
|||
|
}
|
|||
|
var o=r(1),i=r(4),s={};
|
|||
|
for(var l in o)o.hasOwnProperty(l)&&(s[o[l]]=l);
|
|||
|
var u=e.exports={
|
|||
|
to:{},
|
|||
|
get:{}
|
|||
|
};
|
|||
|
u.get=function(e){
|
|||
|
var t,r;
|
|||
|
switch(e.substring(0,3).toLowerCase()){
|
|||
|
case"hsl":
|
|||
|
t=u.get.hsl(e),r="hsl";
|
|||
|
break;
|
|||
|
|
|||
|
case"hwb":
|
|||
|
t=u.get.hwb(e),r="hwb";
|
|||
|
break;
|
|||
|
|
|||
|
default:
|
|||
|
t=u.get.rgb(e),r="rgb";
|
|||
|
}
|
|||
|
return t?{
|
|||
|
model:r,
|
|||
|
value:t
|
|||
|
}:null;
|
|||
|
},u.get.rgb=function(e){
|
|||
|
if(!e)return null;
|
|||
|
var t,r,a,i=[0,0,0,1];
|
|||
|
if(t=e.match(/^#([a-f0-9]{6})([a-f0-9]{2})?$/i)){
|
|||
|
for(a=t[2],t=t[1],r=0;3>r;r++){
|
|||
|
var s=2*r;
|
|||
|
i[r]=parseInt(t.slice(s,s+2),16);
|
|||
|
}
|
|||
|
a&&(i[3]=Math.round(parseInt(a,16)/255*100)/100);
|
|||
|
}else if(t=e.match(/^#([a-f0-9]{3,4})$/i)){
|
|||
|
for(a=(t=t[1])[3],r=0;3>r;r++)i[r]=parseInt(t[r]+t[r],16);
|
|||
|
a&&(i[3]=Math.round(parseInt(a+a,16)/255*100)/100);
|
|||
|
}else if(t=e.match(/^rgba?\(\s*([+-]?\d+)\s*,\s*([+-]?\d+)\s*,\s*([+-]?\d+)\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/)){
|
|||
|
for(r=0;3>r;r++)i[r]=parseInt(t[r+1],0);
|
|||
|
t[4]&&(i[3]=parseFloat(t[4]));
|
|||
|
}else{
|
|||
|
if(!(t=e.match(/^rgba?\(\s*([+-]?[\d\.]+)\%\s*,\s*([+-]?[\d\.]+)\%\s*,\s*([+-]?[\d\.]+)\%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/)))return(t=e.match(/(\D+)/))?"transparent"===t[1]?[0,0,0,0]:(i=o[t[1]])?(i[3]=1,
|
|||
|
i):null:null;
|
|||
|
for(r=0;3>r;r++)i[r]=Math.round(2.55*parseFloat(t[r+1]));
|
|||
|
t[4]&&(i[3]=parseFloat(t[4]));
|
|||
|
}
|
|||
|
for(r=0;3>r;r++)i[r]=n(i[r],0,255);
|
|||
|
return i[3]=n(i[3],0,1),i;
|
|||
|
},u.get.hsl=function(e){
|
|||
|
if(!e)return null;
|
|||
|
var t=e.match(/^hsla?\(\s*([+-]?(?:\d*\.)?\d+)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/);
|
|||
|
if(t){
|
|||
|
var r=parseFloat(t[4]);
|
|||
|
return[(parseFloat(t[1])+360)%360,n(parseFloat(t[2]),0,100),n(parseFloat(t[3]),0,100),n(isNaN(r)?1:r,0,1)];
|
|||
|
}
|
|||
|
return null;
|
|||
|
},u.get.hwb=function(e){
|
|||
|
if(!e)return null;
|
|||
|
var t=e.match(/^hwb\(\s*([+-]?\d*[\.]?\d+)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/);
|
|||
|
if(t){
|
|||
|
var r=parseFloat(t[4]);
|
|||
|
return[(parseFloat(t[1])%360+360)%360,n(parseFloat(t[2]),0,100),n(parseFloat(t[3]),0,100),n(isNaN(r)?1:r,0,1)];
|
|||
|
}
|
|||
|
return null;
|
|||
|
},u.to.hex=function(){
|
|||
|
var e=i(arguments);
|
|||
|
return"#"+a(e[0])+a(e[1])+a(e[2])+(e[3]<1?a(Math.round(255*e[3])):"");
|
|||
|
},u.to.rgb=function(){
|
|||
|
var e=i(arguments);
|
|||
|
return e.length<4||1===e[3]?"rgb("+Math.round(e[0])+", "+Math.round(e[1])+", "+Math.round(e[2])+")":"rgba("+Math.round(e[0])+", "+Math.round(e[1])+", "+Math.round(e[2])+", "+e[3]+")";
|
|||
|
},u.to.rgb.percent=function(){
|
|||
|
var e=i(arguments),t=Math.round(e[0]/255*100),r=Math.round(e[1]/255*100),n=Math.round(e[2]/255*100);
|
|||
|
return e.length<4||1===e[3]?"rgb("+t+"%, "+r+"%, "+n+"%)":"rgba("+t+"%, "+r+"%, "+n+"%, "+e[3]+")";
|
|||
|
},u.to.hsl=function(){
|
|||
|
var e=i(arguments);
|
|||
|
return e.length<4||1===e[3]?"hsl("+e[0]+", "+e[1]+"%, "+e[2]+"%)":"hsla("+e[0]+", "+e[1]+"%, "+e[2]+"%, "+e[3]+")";
|
|||
|
},u.to.hwb=function(){
|
|||
|
var e=i(arguments),t="";
|
|||
|
return e.length>=4&&1!==e[3]&&(t=", "+e[3]),"hwb("+e[0]+", "+e[1]+"%, "+e[2]+"%"+t+")";
|
|||
|
},u.to.keyword=function(e){
|
|||
|
return s[e.slice(0,3)];
|
|||
|
};
|
|||
|
},function(e,t,r){
|
|||
|
"use strict";
|
|||
|
var n=r(5),a=Array.prototype.concat,o=Array.prototype.slice,i=e.exports=function(e){
|
|||
|
for(var t=[],r=0,i=e.length;i>r;r++){
|
|||
|
var s=e[r];
|
|||
|
n(s)?t=a.call(t,o.call(s)):t.push(s);
|
|||
|
}
|
|||
|
return t;
|
|||
|
};
|
|||
|
i.wrap=function(e){
|
|||
|
return function(){
|
|||
|
return e(i(arguments));
|
|||
|
};
|
|||
|
};
|
|||
|
},function(e){
|
|||
|
e.exports=function(e){
|
|||
|
return!(!e||"string"==typeof e)&&(e instanceof Array||Array.isArray(e)||e.length>=0&&(e.splice instanceof Function||Object.getOwnPropertyDescriptor(e,e.length-1)&&"String"!==e.constructor.name));
|
|||
|
};
|
|||
|
},function(e,t,r){
|
|||
|
var n=r(2),a=r(8),o={};
|
|||
|
Object.keys(n).forEach(function(e){
|
|||
|
o[e]={},Object.defineProperty(o[e],"channels",{
|
|||
|
value:n[e].channels
|
|||
|
}),Object.defineProperty(o[e],"labels",{
|
|||
|
value:n[e].labels
|
|||
|
});
|
|||
|
var t=a(e);
|
|||
|
Object.keys(t).forEach(function(r){
|
|||
|
var n=t[r];
|
|||
|
o[e][r]=function(e){
|
|||
|
var t=function(t){
|
|||
|
if(null==t)return t;
|
|||
|
arguments.length>1&&(t=Array.prototype.slice.call(arguments));
|
|||
|
var r=e(t);
|
|||
|
if("object"==typeof r)for(var n=r.length,a=0;n>a;a++)r[a]=Math.round(r[a]);
|
|||
|
return r;
|
|||
|
};
|
|||
|
return"conversion"in e&&(t.conversion=e.conversion),t;
|
|||
|
}(n),o[e][r].raw=function(e){
|
|||
|
var t=function(t){
|
|||
|
return null==t?t:(arguments.length>1&&(t=Array.prototype.slice.call(arguments)),
|
|||
|
e(t));
|
|||
|
};
|
|||
|
return"conversion"in e&&(t.conversion=e.conversion),t;
|
|||
|
}(n);
|
|||
|
});
|
|||
|
}),e.exports=o;
|
|||
|
},function(e){
|
|||
|
"use strict";
|
|||
|
e.exports={
|
|||
|
aliceblue:[240,248,255],
|
|||
|
antiquewhite:[250,235,215],
|
|||
|
aqua:[0,255,255],
|
|||
|
aquamarine:[127,255,212],
|
|||
|
azure:[240,255,255],
|
|||
|
beige:[245,245,220],
|
|||
|
bisque:[255,228,196],
|
|||
|
black:[0,0,0],
|
|||
|
blanchedalmond:[255,235,205],
|
|||
|
blue:[0,0,255],
|
|||
|
blueviolet:[138,43,226],
|
|||
|
brown:[165,42,42],
|
|||
|
burlywood:[222,184,135],
|
|||
|
cadetblue:[95,158,160],
|
|||
|
chartreuse:[127,255,0],
|
|||
|
chocolate:[210,105,30],
|
|||
|
coral:[255,127,80],
|
|||
|
cornflowerblue:[100,149,237],
|
|||
|
cornsilk:[255,248,220],
|
|||
|
crimson:[220,20,60],
|
|||
|
cyan:[0,255,255],
|
|||
|
darkblue:[0,0,139],
|
|||
|
darkcyan:[0,139,139],
|
|||
|
darkgoldenrod:[184,134,11],
|
|||
|
darkgray:[169,169,169],
|
|||
|
darkgreen:[0,100,0],
|
|||
|
darkgrey:[169,169,169],
|
|||
|
darkkhaki:[189,183,107],
|
|||
|
darkmagenta:[139,0,139],
|
|||
|
darkolivegreen:[85,107,47],
|
|||
|
darkorange:[255,140,0],
|
|||
|
darkorchid:[153,50,204],
|
|||
|
darkred:[139,0,0],
|
|||
|
darksalmon:[233,150,122],
|
|||
|
darkseagreen:[143,188,143],
|
|||
|
darkslateblue:[72,61,139],
|
|||
|
darkslategray:[47,79,79],
|
|||
|
darkslategrey:[47,79,79],
|
|||
|
darkturquoise:[0,206,209],
|
|||
|
darkviolet:[148,0,211],
|
|||
|
deeppink:[255,20,147],
|
|||
|
deepskyblue:[0,191,255],
|
|||
|
dimgray:[105,105,105],
|
|||
|
dimgrey:[105,105,105],
|
|||
|
dodgerblue:[30,144,255],
|
|||
|
firebrick:[178,34,34],
|
|||
|
floralwhite:[255,250,240],
|
|||
|
forestgreen:[34,139,34],
|
|||
|
fuchsia:[255,0,255],
|
|||
|
gainsboro:[220,220,220],
|
|||
|
ghostwhite:[248,248,255],
|
|||
|
gold:[255,215,0],
|
|||
|
goldenrod:[218,165,32],
|
|||
|
gray:[128,128,128],
|
|||
|
green:[0,128,0],
|
|||
|
greenyellow:[173,255,47],
|
|||
|
grey:[128,128,128],
|
|||
|
honeydew:[240,255,240],
|
|||
|
hotpink:[255,105,180],
|
|||
|
indianred:[205,92,92],
|
|||
|
indigo:[75,0,130],
|
|||
|
ivory:[255,255,240],
|
|||
|
khaki:[240,230,140],
|
|||
|
lavender:[230,230,250],
|
|||
|
lavenderblush:[255,240,245],
|
|||
|
lawngreen:[124,252,0],
|
|||
|
lemonchiffon:[255,250,205],
|
|||
|
lightblue:[173,216,230],
|
|||
|
lightcoral:[240,128,128],
|
|||
|
lightcyan:[224,255,255],
|
|||
|
lightgoldenrodyellow:[250,250,210],
|
|||
|
lightgray:[211,211,211],
|
|||
|
lightgreen:[144,238,144],
|
|||
|
lightgrey:[211,211,211],
|
|||
|
lightpink:[255,182,193],
|
|||
|
lightsalmon:[255,160,122],
|
|||
|
lightseagreen:[32,178,170],
|
|||
|
lightskyblue:[135,206,250],
|
|||
|
lightslategray:[119,136,153],
|
|||
|
lightslategrey:[119,136,153],
|
|||
|
lightsteelblue:[176,196,222],
|
|||
|
lightyellow:[255,255,224],
|
|||
|
lime:[0,255,0],
|
|||
|
limegreen:[50,205,50],
|
|||
|
linen:[250,240,230],
|
|||
|
magenta:[255,0,255],
|
|||
|
maroon:[128,0,0],
|
|||
|
mediumaquamarine:[102,205,170],
|
|||
|
mediumblue:[0,0,205],
|
|||
|
mediumorchid:[186,85,211],
|
|||
|
mediumpurple:[147,112,219],
|
|||
|
mediumseagreen:[60,179,113],
|
|||
|
mediumslateblue:[123,104,238],
|
|||
|
mediumspringgreen:[0,250,154],
|
|||
|
mediumturquoise:[72,209,204],
|
|||
|
mediumvioletred:[199,21,133],
|
|||
|
midnightblue:[25,25,112],
|
|||
|
mintcream:[245,255,250],
|
|||
|
mistyrose:[255,228,225],
|
|||
|
moccasin:[255,228,181],
|
|||
|
navajowhite:[255,222,173],
|
|||
|
navy:[0,0,128],
|
|||
|
oldlace:[253,245,230],
|
|||
|
olive:[128,128,0],
|
|||
|
olivedrab:[107,142,35],
|
|||
|
orange:[255,165,0],
|
|||
|
orangered:[255,69,0],
|
|||
|
orchid:[218,112,214],
|
|||
|
palegoldenrod:[238,232,170],
|
|||
|
palegreen:[152,251,152],
|
|||
|
paleturquoise:[175,238,238],
|
|||
|
palevioletred:[219,112,147],
|
|||
|
papayawhip:[255,239,213],
|
|||
|
peachpuff:[255,218,185],
|
|||
|
peru:[205,133,63],
|
|||
|
pink:[255,192,203],
|
|||
|
plum:[221,160,221],
|
|||
|
powderblue:[176,224,230],
|
|||
|
purple:[128,0,128],
|
|||
|
rebeccapurple:[102,51,153],
|
|||
|
red:[255,0,0],
|
|||
|
rosybrown:[188,143,143],
|
|||
|
royalblue:[65,105,225],
|
|||
|
saddlebrown:[139,69,19],
|
|||
|
salmon:[250,128,114],
|
|||
|
sandybrown:[244,164,96],
|
|||
|
seagreen:[46,139,87],
|
|||
|
seashell:[255,245,238],
|
|||
|
sienna:[160,82,45],
|
|||
|
silver:[192,192,192],
|
|||
|
skyblue:[135,206,235],
|
|||
|
slateblue:[106,90,205],
|
|||
|
slategray:[112,128,144],
|
|||
|
slategrey:[112,128,144],
|
|||
|
snow:[255,250,250],
|
|||
|
springgreen:[0,255,127],
|
|||
|
steelblue:[70,130,180],
|
|||
|
tan:[210,180,140],
|
|||
|
teal:[0,128,128],
|
|||
|
thistle:[216,191,216],
|
|||
|
tomato:[255,99,71],
|
|||
|
turquoise:[64,224,208],
|
|||
|
violet:[238,130,238],
|
|||
|
wheat:[245,222,179],
|
|||
|
white:[255,255,255],
|
|||
|
whitesmoke:[245,245,245],
|
|||
|
yellow:[255,255,0],
|
|||
|
yellowgreen:[154,205,50]
|
|||
|
};
|
|||
|
},function(e,t,r){
|
|||
|
function n(e){
|
|||
|
var t=function(){
|
|||
|
for(var e={},t=Object.keys(i),r=t.length,n=0;r>n;n++)e[t[n]]={
|
|||
|
distance:-1,
|
|||
|
parent:null
|
|||
|
};
|
|||
|
return e;
|
|||
|
}(),r=[e];
|
|||
|
for(t[e].distance=0;r.length;)for(var n=r.pop(),a=Object.keys(i[n]),o=a.length,s=0;o>s;s++){
|
|||
|
var l=a[s],u=t[l];
|
|||
|
-1===u.distance&&(u.distance=t[n].distance+1,u.parent=n,r.unshift(l));
|
|||
|
}
|
|||
|
return t;
|
|||
|
}
|
|||
|
function a(e,t){
|
|||
|
return function(r){
|
|||
|
return t(e(r));
|
|||
|
};
|
|||
|
}
|
|||
|
function o(e,t){
|
|||
|
for(var r=[t[e].parent,e],n=i[t[e].parent][e],o=t[e].parent;t[o].parent;)r.unshift(t[o].parent),
|
|||
|
n=a(i[t[o].parent][o],n),o=t[o].parent;
|
|||
|
return n.conversion=r,n;
|
|||
|
}
|
|||
|
var i=r(2);
|
|||
|
e.exports=function(e){
|
|||
|
for(var t=n(e),r={},a=Object.keys(t),i=a.length,s=0;i>s;s++){
|
|||
|
var l=a[s];
|
|||
|
null!==t[l].parent&&(r[l]=o(l,t));
|
|||
|
}
|
|||
|
return r;
|
|||
|
};
|
|||
|
},function(e,t,r){
|
|||
|
"use strict";
|
|||
|
function n(e){
|
|||
|
return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){
|
|||
|
return typeof e;
|
|||
|
}:function(e){
|
|||
|
return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e;
|
|||
|
})(e);
|
|||
|
}
|
|||
|
function a(e,t){
|
|||
|
for(var r=0;r<t.length;r++){
|
|||
|
var n=t[r];
|
|||
|
n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n);
|
|||
|
}
|
|||
|
}
|
|||
|
function o(e,t,r){
|
|||
|
return t in e?Object.defineProperty(e,t,{
|
|||
|
value:r,
|
|||
|
enumerable:!0,
|
|||
|
configurable:!0,
|
|||
|
writable:!0
|
|||
|
}):e[t]=r,e;
|
|||
|
}
|
|||
|
function i(e,t){
|
|||
|
for(var r=0;r<t.length;r++){
|
|||
|
var n=t[r];
|
|||
|
n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n);
|
|||
|
}
|
|||
|
}
|
|||
|
function s(e,t,r){
|
|||
|
return t in e?Object.defineProperty(e,t,{
|
|||
|
value:r,
|
|||
|
enumerable:!0,
|
|||
|
configurable:!0,
|
|||
|
writable:!0
|
|||
|
}):e[t]=r,e;
|
|||
|
}
|
|||
|
function l(e,t){
|
|||
|
for(var r=0;r<t.length;r++){
|
|||
|
var n=t[r];
|
|||
|
n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n);
|
|||
|
}
|
|||
|
}
|
|||
|
function u(e,t,r){
|
|||
|
return t in e?Object.defineProperty(e,t,{
|
|||
|
value:r,
|
|||
|
enumerable:!0,
|
|||
|
configurable:!0,
|
|||
|
writable:!0
|
|||
|
}):e[t]=r,e;
|
|||
|
}
|
|||
|
function c(e,t){
|
|||
|
for(var r=0;r<t.length;r++){
|
|||
|
var n=t[r];
|
|||
|
n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n);
|
|||
|
}
|
|||
|
}
|
|||
|
function h(e,t,r){
|
|||
|
return t in e?Object.defineProperty(e,t,{
|
|||
|
value:r,
|
|||
|
enumerable:!0,
|
|||
|
configurable:!0,
|
|||
|
writable:!0
|
|||
|
}):e[t]=r,e;
|
|||
|
}
|
|||
|
function f(e){
|
|||
|
return function(e){
|
|||
|
return Array.isArray(e)?g(e):void 0;
|
|||
|
}(e)||function(e){
|
|||
|
return"undefined"!=typeof Symbol&&Symbol.iterator in Object(e)?Array.from(e):void 0;
|
|||
|
}(e)||function(e,t){
|
|||
|
if(e){
|
|||
|
if("string"==typeof e)return g(e,t);
|
|||
|
var r=Object.prototype.toString.call(e).slice(8,-1);
|
|||
|
return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(r):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?g(e,t):void 0;
|
|||
|
}
|
|||
|
}(e)||function(){
|
|||
|
throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|||
|
}();
|
|||
|
}
|
|||
|
function g(e,t){
|
|||
|
(null==t||t>e.length)&&(t=e.length);
|
|||
|
for(var r=0,n=new Array(t);t>r;r++)n[r]=e[r];
|
|||
|
return n;
|
|||
|
}
|
|||
|
function d(e){
|
|||
|
var t;
|
|||
|
return(t=[e]).concat.apply(t,f(e.querySelectorAll("*")));
|
|||
|
}
|
|||
|
function b(e,t){
|
|||
|
return function(e){
|
|||
|
return Array.isArray(e)?e:void 0;
|
|||
|
}(e)||function(e,t){
|
|||
|
if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){
|
|||
|
var r=[],n=!0,a=!1,o=void 0;
|
|||
|
try{
|
|||
|
for(var i,s=e[Symbol.iterator]();!(n=(i=s.next()).done)&&(r.push(i.value),!t||r.length!==t);n=!0);
|
|||
|
}catch(e){
|
|||
|
a=!0,o=e;
|
|||
|
}finally{
|
|||
|
try{
|
|||
|
n||null==s.return||s.return();
|
|||
|
}finally{
|
|||
|
if(a)throw o;
|
|||
|
}
|
|||
|
}
|
|||
|
return r;
|
|||
|
}
|
|||
|
}(e,t)||m(e,t)||function(){
|
|||
|
throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|||
|
}();
|
|||
|
}
|
|||
|
function p(e){
|
|||
|
return function(e){
|
|||
|
return Array.isArray(e)?y(e):void 0;
|
|||
|
}(e)||function(e){
|
|||
|
return"undefined"!=typeof Symbol&&Symbol.iterator in Object(e)?Array.from(e):void 0;
|
|||
|
}(e)||m(e)||function(){
|
|||
|
throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|||
|
}();
|
|||
|
}
|
|||
|
function m(e,t){
|
|||
|
if(e){
|
|||
|
if("string"==typeof e)return y(e,t);
|
|||
|
var r=Object.prototype.toString.call(e).slice(8,-1);
|
|||
|
return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(r):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?y(e,t):void 0;
|
|||
|
}
|
|||
|
}
|
|||
|
function y(e,t){
|
|||
|
(null==t||t>e.length)&&(t=e.length);
|
|||
|
for(var r=0,n=new Array(t);t>r;r++)n[r]=e[r];
|
|||
|
return n;
|
|||
|
}
|
|||
|
function v(e,t){
|
|||
|
for(var r=0;r<t.length;r++){
|
|||
|
var n=t[r];
|
|||
|
n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n);
|
|||
|
}
|
|||
|
}
|
|||
|
function k(e,t){
|
|||
|
w(t),at.set(e),st(it,{
|
|||
|
force:!0,
|
|||
|
type:"dom"
|
|||
|
});
|
|||
|
}
|
|||
|
function w(){
|
|||
|
var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};
|
|||
|
if(!et.hasInit){
|
|||
|
et.hasInit=!0;
|
|||
|
var t=et.whitelist.tagName;
|
|||
|
"function"==typeof e.error&&(et.error=e.error),["dark","light"].indexOf(e.mode)>-1&&(et.mode=e.mode,
|
|||
|
document.getElementsByTagName("html")[0].classList.add(M)),e.whitelist&&e.whitelist.tagName instanceof Array&&e.whitelist.tagName.forEach(function(e){
|
|||
|
e=e.toUpperCase(),-1===t.indexOf(e)&&t.push(e);
|
|||
|
}),"boolean"==typeof e.needJudgeFirstPage&&(et.needJudgeFirstPage=e.needJudgeFirstPage),
|
|||
|
"boolean"==typeof e.delayBgJudge&&(et.delayBgJudge=e.delayBgJudge),e.container instanceof HTMLElement&&(et.container=e.container),
|
|||
|
"string"==typeof e.cssSelectorsPrefix&&(et.cssSelectorsPrefix=e.cssSelectorsPrefix),
|
|||
|
"string"==typeof e.defaultLightTextColor&&""!==e.defaultLightTextColor&&(et.defaultLightTextColor=e.defaultLightTextColor),
|
|||
|
"string"==typeof e.defaultLightBgColor&&""!==e.defaultLightBgColor&&(et.defaultLightBgColor=e.defaultLightBgColor),
|
|||
|
"string"==typeof e.defaultDarkTextColor&&""!==e.defaultDarkTextColor&&(et.defaultDarkTextColor=e.defaultDarkTextColor),
|
|||
|
"string"==typeof e.defaultDarkBgColor&&""!==e.defaultDarkBgColor&&(et.defaultDarkBgColor=e.defaultDarkBgColor),
|
|||
|
et.mode||null!==it||(it=window.matchMedia(x)).addListener(st);
|
|||
|
}
|
|||
|
}
|
|||
|
function _(e){
|
|||
|
at.set(e),null!==et.container&&(rt.update(e),tt.update(e)),st(it,{
|
|||
|
force:!0,
|
|||
|
type:"bg"
|
|||
|
});
|
|||
|
}
|
|||
|
r.r(t),r.d(t,"run",function(){
|
|||
|
return k;
|
|||
|
}),r.d(t,"init",function(){
|
|||
|
return w;
|
|||
|
}),r.d(t,"convertBg",function(){
|
|||
|
return _;
|
|||
|
});
|
|||
|
var x="(prefers-color-scheme: dark)",M="data_color_scheme_dark",C="".concat(1*new Date).concat(Math.round(10*Math.random())),B="data-darkmode-color-".concat(C),S="data-darkmode-bgcolor-".concat(C),j="data-darkmode-original-color-".concat(C),O="data-darkmode-original-bgcolor-".concat(C),A="data-darkmode-bgimage-".concat(C),P=window.getInnerHeight&&window.getInnerHeight()||window.innerHeight||document.documentElement.clientHeight,T=["TABLE","TR","TD","TH"],E=navigator.userAgent,L=/windows\snt/i.test(E)&&!/Windows\sPhone/i.test(E)||/mac\sos/i.test(E)&&!/(iPhone|iPad|iPod|iOS)/i.test(E),N=/ !important$/,D=function(){
|
|||
|
function e(t,r){
|
|||
|
!function(e,t){
|
|||
|
if(!(e instanceof t))throw new TypeError("Cannot call a class as a function");
|
|||
|
}(this,e),o(this,"_queue",[]),o(this,"_idx",0),this._config=t,this._prefix=r;
|
|||
|
}
|
|||
|
var t,r,i;
|
|||
|
return t=e,(r=[{
|
|||
|
key:"push",
|
|||
|
value:function(e){
|
|||
|
var t="".concat(this._prefix).concat(this._idx++);
|
|||
|
e.classList.add(t),this._queue.push({
|
|||
|
el:e,
|
|||
|
className:t,
|
|||
|
updated:!this._config.delayBgJudge
|
|||
|
});
|
|||
|
}
|
|||
|
},{
|
|||
|
key:"forEach",
|
|||
|
value:function(e){
|
|||
|
var t=[];
|
|||
|
for(this._queue.forEach(function(r,a){
|
|||
|
r.updated&&(t.unshift(a),n(e)&&e(r.el));
|
|||
|
});t.length;)this._queue.splice(t.shift(),1);
|
|||
|
}
|
|||
|
},{
|
|||
|
key:"update",
|
|||
|
value:function(e){
|
|||
|
this._queue.forEach(function(t){
|
|||
|
t.updated||Array.prototype.some.call(e,function(e){
|
|||
|
return!!e.classList.contains(t.className)&&(t.el=e,t.updated=!0,!0);
|
|||
|
});
|
|||
|
});
|
|||
|
}
|
|||
|
}])&&a(t.prototype,r),i&&a(t,i),e;
|
|||
|
}(),F=function(){
|
|||
|
function e(t,r){
|
|||
|
!function(e,t){
|
|||
|
if(!(e instanceof t))throw new TypeError("Cannot call a class as a function");
|
|||
|
}(this,e),s(this,"_stack",[]),s(this,"_idx",0),this._config=t,this._prefix=r;
|
|||
|
}
|
|||
|
var t,r,n;
|
|||
|
return t=e,(r=[{
|
|||
|
key:"push",
|
|||
|
value:function(e,t){
|
|||
|
var r="".concat(this._prefix).concat(this._idx++);
|
|||
|
e.classList.add(r),this._stack.unshift({
|
|||
|
el:e,
|
|||
|
className:r,
|
|||
|
cssKV:t,
|
|||
|
updated:!this._config.delayBgJudge
|
|||
|
});
|
|||
|
}
|
|||
|
},{
|
|||
|
key:"contains",
|
|||
|
value:function(e,t){
|
|||
|
var r=e.getBoundingClientRect(),n=[];
|
|||
|
for(this._stack.forEach(function(e,t){
|
|||
|
if(e.updated){
|
|||
|
e.rect||(e.rect=e.el.getBoundingClientRect());
|
|||
|
var a=e.rect;
|
|||
|
r.top>=a.bottom||r.bottom<=a.top||r.left>=a.right||r.right<=a.left||n.unshift(t);
|
|||
|
}
|
|||
|
});n.length;){
|
|||
|
var a=this._stack.splice(n.shift(),1)[0];
|
|||
|
"function"==typeof t&&t(a);
|
|||
|
}
|
|||
|
}
|
|||
|
},{
|
|||
|
key:"update",
|
|||
|
value:function(e){
|
|||
|
this._stack.forEach(function(t){
|
|||
|
t.updated||Array.prototype.some.call(e,function(e){
|
|||
|
return!!e.classList.contains(t.className)&&(t.el=e,t.updated=!0,!0);
|
|||
|
});
|
|||
|
});
|
|||
|
}
|
|||
|
}])&&i(t.prototype,r),n&&i(t,n),e;
|
|||
|
}(),q=function(){
|
|||
|
function e(t){
|
|||
|
!function(e,t){
|
|||
|
if(!(e instanceof t))throw new TypeError("Cannot call a class as a function");
|
|||
|
}(this,e),u(this,"_firstPageStyle",""),u(this,"_otherPageStyle",""),u(this,"isFinish",!1),
|
|||
|
this._config=t;
|
|||
|
}
|
|||
|
var t,r,n;
|
|||
|
return t=e,(r=[{
|
|||
|
key:"genCssKV",
|
|||
|
value:function(e,t){
|
|||
|
return"".concat(e,": ").concat(t," !important;");
|
|||
|
}
|
|||
|
},{
|
|||
|
key:"genCss",
|
|||
|
value:function(e,t){
|
|||
|
return"".concat("dark"===this._config.mode?"html.".concat(M," "):"").concat(this._config.cssSelectorsPrefix&&"".concat(this._config.cssSelectorsPrefix," "),".").concat(e,"{").concat(t,"}");
|
|||
|
}
|
|||
|
},{
|
|||
|
key:"addCss",
|
|||
|
value:function(e,t){
|
|||
|
this[t?"_firstPageStyle":"_otherPageStyle"]+=e;
|
|||
|
}
|
|||
|
},{
|
|||
|
key:"writeStyle",
|
|||
|
value:function(e){
|
|||
|
var t="";
|
|||
|
e?t="_firstPageStyle":(this._otherPageStyle=this._firstPageStyle+this._otherPageStyle,
|
|||
|
this._firstPageStyle="",t="_otherPageStyle",this.isFinish=!0);
|
|||
|
var r=this[t];
|
|||
|
r&&(document.head.insertAdjacentHTML("beforeend",'<style type="text/css">'.concat("dark"===this._config.mode?r:"@media ".concat(x," {").concat(r,"}"),"</style>")),
|
|||
|
this[t]="");
|
|||
|
}
|
|||
|
}])&&l(t.prototype,r),n&&l(t,n),e;
|
|||
|
}(),U={
|
|||
|
"ue-table-interlace-color-single":"#fcfcfc",
|
|||
|
"ue-table-interlace-color-double":"#f7faff"
|
|||
|
},I=function(){
|
|||
|
function e(t){
|
|||
|
!function(e,t){
|
|||
|
if(!(e instanceof t))throw new TypeError("Cannot call a class as a function");
|
|||
|
}(this,e),h(this,"_nodes",[]),h(this,"_firstPageNodes",[]),h(this,"_delayNodes",[]),
|
|||
|
this._config=t;
|
|||
|
}
|
|||
|
var t,r,n;
|
|||
|
return t=e,(r=[{
|
|||
|
key:"set",
|
|||
|
value:function(){
|
|||
|
var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];
|
|||
|
this._nodes=e;
|
|||
|
}
|
|||
|
},{
|
|||
|
key:"len",
|
|||
|
value:function(){
|
|||
|
return this._nodes.length;
|
|||
|
}
|
|||
|
},{
|
|||
|
key:"get",
|
|||
|
value:function(){
|
|||
|
var e=[];
|
|||
|
return this._nodes.length?(e=this._nodes,this._nodes=[]):this._delayNodes.length?(e=this._delayNodes,
|
|||
|
this._delayNodes=[]):this._config.container&&(e=this._config.container.querySelectorAll("*")),
|
|||
|
e;
|
|||
|
}
|
|||
|
},{
|
|||
|
key:"delay",
|
|||
|
value:function(){
|
|||
|
var e=this;
|
|||
|
this._nodes.forEach(function(t){
|
|||
|
return e._delayNodes.push(t);
|
|||
|
}),this._nodes=[];
|
|||
|
}
|
|||
|
},{
|
|||
|
key:"addFirstPageNode",
|
|||
|
value:function(e){
|
|||
|
this._firstPageNodes.push(e);
|
|||
|
}
|
|||
|
},{
|
|||
|
key:"showFirstPageNodes",
|
|||
|
value:function(){
|
|||
|
this._firstPageNodes.forEach(function(e){
|
|||
|
return e.style.visibility="visible";
|
|||
|
}),this._firstPageNodes=[];
|
|||
|
}
|
|||
|
}])&&c(t.prototype,r),n&&c(t,n),e;
|
|||
|
}(),z=r(0),J=r.n(z),V=r(1),K=r.n(V);
|
|||
|
K.a.windowtext=[0,0,0];
|
|||
|
var $=new RegExp(Object.keys(K.a).map(function(e){
|
|||
|
return"(^|[\\s,()]+)".concat(e,"([\\s,()]+|$)");
|
|||
|
}).join("|"),"ig"),H=/rgba?\([^)]+\)/i,R=/rgba?\([^)]+\)/gi,Q=function(e){
|
|||
|
return e.replace(N,"");
|
|||
|
},G=function(e){
|
|||
|
return Q(e).replace($,function(e){
|
|||
|
return"rgb(".concat(K.a[e.replace(/(^[\s,()]+)|([\s,()]+$)/g,"").toLowerCase()].toString(),")");
|
|||
|
});
|
|||
|
},W=function(e){
|
|||
|
var t=G(e);
|
|||
|
return H.test(t)?t:"";
|
|||
|
},X=function(e){
|
|||
|
return(299*e[0]+587*e[1]+114*e[2])/1e3;
|
|||
|
},Y=function(){
|
|||
|
function e(t){
|
|||
|
var r,n,a,o=t.config,i=t.tnQueue,s=t.bgStack,l=t.cssUtils;
|
|||
|
!function(e,t){
|
|||
|
if(!(e instanceof t))throw new TypeError("Cannot call a class as a function");
|
|||
|
}(this,e),a=0,(n="_idx")in(r=this)?Object.defineProperty(r,n,{
|
|||
|
value:a,
|
|||
|
enumerable:!0,
|
|||
|
configurable:!0,
|
|||
|
writable:!0
|
|||
|
}):r[n]=a,this._config=o,this._tnQueue=i,this._bgStack=s,this._cssUtils=l,this._defaultDarkTextColorRgb=J()(this._config.defaultDarkTextColor).rgb().array(),
|
|||
|
this._defaultDarkBgColorRgb=J()(this._config.defaultDarkBgColor).rgb().array(),this._defaultDarkBgColorHSL=J()(this._config.defaultDarkBgColor).hsl().array(),
|
|||
|
this._defaultDarkTextColorBrightness=X(this._defaultDarkTextColorRgb),this._defaultDarkBgColorBrightness=X(this._defaultDarkBgColorRgb),
|
|||
|
this._defaultDarkBgColorHslBrightness=this._defaultDarkBgColorHSL[2],this._maxLimitOffsetBrightness=this._defaultDarkTextColorBrightness-this._defaultDarkBgColorBrightness;
|
|||
|
}
|
|||
|
var t,r,n;
|
|||
|
return t=e,(r=[{
|
|||
|
key:"_adjustBrightnessByLimit",
|
|||
|
value:function(e,t){
|
|||
|
var r=e/X(t),n=Math.min(255,t[0]*r),a=Math.min(255,t[1]*r),o=Math.min(255,t[2]*r);
|
|||
|
return 0===a||255===n||255===o?a=(1e3*e-299*n-114*o)/587:0===n?n=(1e3*e-587*a-114*o)/299:0!==o&&255!==a||(o=(1e3*e-299*n-587*a)/114),
|
|||
|
J.a.rgb(n,a,o);
|
|||
|
}
|
|||
|
},{
|
|||
|
key:"_adjustTextBrightness",
|
|||
|
value:function(e,t){
|
|||
|
var r=t.rgb().array(),n=t.alpha(),a=X(r)*n+this._defaultDarkBgColorBrightness*(1-n),o=e.rgb().array(),i=e.hsl().array(),s=e.alpha(),l=X(o),u=Math.abs(a-l);
|
|||
|
if(l>=250)return e;
|
|||
|
if(u>this._maxLimitOffsetBrightness&&a<=this._defaultDarkBgColorBrightness+2)return this._adjustBrightnessByLimit(this._maxLimitOffsetBrightness+a,o).alpha(s);
|
|||
|
if(u>=65)return e;
|
|||
|
if(a>=100){
|
|||
|
if(i[2]>50){
|
|||
|
i[2]=90-i[2];
|
|||
|
var c=J.a.hsl.apply(J.a,p(i)).alpha(s);
|
|||
|
return this._adjustTextBrightness(c,t);
|
|||
|
}
|
|||
|
return this._adjustBrightnessByLimit(Math.min(this._maxLimitOffsetBrightness,a-65),o).alpha(s);
|
|||
|
}
|
|||
|
if(i[2]<=40){
|
|||
|
i[2]=90-i[2];
|
|||
|
var h=J.a.hsl.apply(J.a,p(i)).alpha(s);
|
|||
|
return this._adjustTextBrightness(h,t);
|
|||
|
}
|
|||
|
return this._adjustBrightnessByLimit(Math.min(this._maxLimitOffsetBrightness,a+65),o).alpha(s);
|
|||
|
}
|
|||
|
},{
|
|||
|
key:"_adjustBackgroundBrightness",
|
|||
|
value:function(e){
|
|||
|
var t=e.rgb().array(),r=e.hsl().array(),n=e.alpha(),a=X(t),o=e;
|
|||
|
return 0===r[1]&&r[2]>40||a>250?o=J.a.hsl(0,0,Math.min(100,100+this._defaultDarkBgColorHslBrightness-r[2])):a>190?o=this._adjustBrightnessByLimit(190,t).alpha(n):r[2]<22&&(r[2]=22,
|
|||
|
o=J.a.hsl.apply(J.a,p(r))),o.alpha(n).rgb();
|
|||
|
}
|
|||
|
},{
|
|||
|
key:"_adjustBrightness",
|
|||
|
value:function(e,t,r){
|
|||
|
var n,a=e.alpha(),o="";
|
|||
|
if(r.isBgColor){
|
|||
|
if(t.getAttribute(A)&&a>=.05&&t.removeAttribute(A),n=this._adjustBackgroundBrightness(e),
|
|||
|
!r.hasInlineColor){
|
|||
|
var i=t.getAttribute(B)||this._config.defaultLightTextColor,s=n||e,l=this._adjustBrightness(J()(i),t,{
|
|||
|
isTextColor:!0,
|
|||
|
parentElementBgColorStr:s
|
|||
|
});
|
|||
|
o+=l.newColor?this._cssUtils.genCssKV("color",l.newColor):this._cssUtils.genCssKV("color",i);
|
|||
|
}
|
|||
|
}else if(r.isTextColor||r.isBorderColor){
|
|||
|
var u=r.parentElementBgColorStr||r.isTextColor&&t.getAttribute(S)||this._config.defaultDarkBgColor,c=J()(u);
|
|||
|
t.getAttribute(A)||(n=this._adjustTextBrightness(e,c));
|
|||
|
}else r.isTextShadow&&(n=this._adjustBackgroundBrightness(e));
|
|||
|
return{
|
|||
|
newColor:n&&e.toString()!==n.toString()&&n.alpha(a).rgb(),
|
|||
|
extStyle:o
|
|||
|
};
|
|||
|
}
|
|||
|
},{
|
|||
|
key:"convert",
|
|||
|
value:function(e){
|
|||
|
var t=this,r=e.nodeName;
|
|||
|
if(this._config.whitelist.tagName.indexOf(r)>-1)return"";
|
|||
|
var n,a,o=e.style,i="",s="",l=!1,u=!1,c=!1,h=(o.cssText&&o.cssText.split(";")||[]).map(function(e){
|
|||
|
var t=e.indexOf(":");
|
|||
|
return[e.slice(0,t).toLowerCase(),e.slice(t+1)].map(function(e){
|
|||
|
return(e||"").replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");
|
|||
|
});
|
|||
|
}).filter(function(e){
|
|||
|
var t=b(e,2),r=t[0],o=t[1];
|
|||
|
return"color"===r?l=!0:/background/i.test(r)&&(u=!0,"background-position"===r?n=o:"background-size"===r&&(a=o)),
|
|||
|
(/background/i.test(r)||/^(-webkit-)?border-image/.test(r))&&/url\([^\)]*\)/i.test(o)&&(c=!0),
|
|||
|
["-webkit-border-image","border-image","color","background-color","background-image","background","border","border-top","border-right","border-bottom","border-left","border-color","border-top-color","border-right-color","border-bottom-color","border-left-color","-webkit-text-fill-color","-webkit-text-stroke","-webkit-text-stroke-color","text-shadow"].indexOf(r)>-1;
|
|||
|
}).sort(function(e,t){
|
|||
|
var r=b(e,1)[0],n=b(t,1)[0];
|
|||
|
return"color"===r||"background-image"===r&&"background-color"===n||0===n.indexOf("-webkit-text")?1:-1;
|
|||
|
});
|
|||
|
if(T.indexOf(r)>-1&&!u){
|
|||
|
var f=function(e){
|
|||
|
var t=null;
|
|||
|
return Array.prototype.some.call(e.classList,function(e){
|
|||
|
return!!U[e]&&(t=U[e],!0);
|
|||
|
}),t;
|
|||
|
}(e);
|
|||
|
f||(f=e.getAttribute("bgcolor")),f&&(h.unshift(["background-color",J()(f).toString()]),
|
|||
|
u=!0);
|
|||
|
}
|
|||
|
if("FONT"===r&&!l){
|
|||
|
var g=e.getAttribute("color");
|
|||
|
g&&(h.push(["color",J()(g).toString()]),l=!0);
|
|||
|
}
|
|||
|
var p,m="",y="",v=0;
|
|||
|
if(h.some(function(e,t){
|
|||
|
var r=b(e,2),n=r[0],a=r[1];
|
|||
|
if(0!==n.indexOf("-webkit-text"))return v=t,!0;
|
|||
|
switch(n){
|
|||
|
case"-webkit-text-fill-color":
|
|||
|
m=W(a);
|
|||
|
break;
|
|||
|
|
|||
|
case"-webkit-text-stroke":
|
|||
|
var o=a.split(" ");
|
|||
|
2===o.length&&(y=W(o[1]));
|
|||
|
break;
|
|||
|
|
|||
|
case"-webkit-text-stroke-color":
|
|||
|
y=W(a);
|
|||
|
}
|
|||
|
return!1;
|
|||
|
}),m&&(l?h[h.length-1]=["-webkit-text-fill-color",m]:(h.push(["-webkit-text-fill-color",m]),
|
|||
|
l=!0)),v&&(h.splice(0,v),y&&h.unshift(["-webkit-text-stroke-color",y])),h.forEach(function(r){
|
|||
|
var s=b(r,2),h=s[0],f=s[1],g=f,p=!1;
|
|||
|
f=G(f);
|
|||
|
var m,y=/^background/.test(h),v="text-shadow"===h,k=["-webkit-text-stroke-color","color","-webkit-text-fill-color"].indexOf(h),w=/^border/.test(h),_=/gradient/.test(f),x="",M=[];
|
|||
|
if(!c&&H.test(f)&&(_&&(f.replace(R,function(e){
|
|||
|
return M.push(e);
|
|||
|
}),m=function(e){
|
|||
|
if(!e||e.length<1)return"";
|
|||
|
if(1===e.length)return e[0];
|
|||
|
for(var t=e.shift(),r=e.pop();r;)t=J()(t).mix(J()(r)),r=e.pop();
|
|||
|
return t;
|
|||
|
}([].concat(M))),f=f.replace(R,function(r){
|
|||
|
_&&(r=m,p=!0);
|
|||
|
var n=t._adjustBrightness(J()(r),e,{
|
|||
|
isBgColor:y,
|
|||
|
isTextShadow:v,
|
|||
|
isTextColor:k>-1,
|
|||
|
isBorderColor:w,
|
|||
|
hasInlineColor:l
|
|||
|
}),a=n.newColor;
|
|||
|
if(x+=n.extStyle,y||k>0){
|
|||
|
var o=y?S:B,i=y?O:j,s=a?a.toString():r;
|
|||
|
d(e).forEach(function(e){
|
|||
|
e.setAttribute(o,s),e.setAttribute(i,r),y&&J()(s).alpha()>=.05&&e.getAttribute(A)&&e.removeAttribute(A);
|
|||
|
});
|
|||
|
}
|
|||
|
return a&&(p=!0),a||r;
|
|||
|
}).replace(/\s?!\s?important/gi,"")),x&&(i+=x),!(e instanceof SVGElement)){
|
|||
|
var C=/^background/.test(h),P=/^(-webkit-)?border-image/.test(h);
|
|||
|
if((C||P)&&/url\([^\)]*\)/i.test(f)){
|
|||
|
p=!0;
|
|||
|
var T=e.getAttribute(O)||t._config.defaultLightBgColor;
|
|||
|
if(f=f.replace(/^(.*?)url\(([^\)]*)\)(.*)$/i,function(r){
|
|||
|
var o=r,s="",l="",c="";
|
|||
|
return"1"!==e.getAttribute(A)&&d(e).forEach(function(e){
|
|||
|
return e.setAttribute(A,"1");
|
|||
|
}),C?(o="linear-gradient(".concat("rgba(0,0,0,0.1)",", ").concat("rgba(0,0,0,0.1)","),").concat(r),
|
|||
|
c=t._cssUtils.genCssKV(h,"".concat(o,",linear-gradient(").concat(T,", ").concat(T,")")),
|
|||
|
n&&(s="top left,".concat(n),i+=t._cssUtils.genCssKV("background-position","".concat(s)),
|
|||
|
c+=t._cssUtils.genCssKV("background-position","".concat(s,",top left"))),a&&(l="100%,".concat(a),
|
|||
|
i+=t._cssUtils.genCssKV("background-size","".concat(l)),c+=t._cssUtils.genCssKV("background-size","".concat(l,",100%"))),
|
|||
|
t._bgStack.push(e,c)):!u&&t._bgStack.push(e,t._cssUtils.genCssKV("background-image","linear-gradient(".concat("rgba(0,0,0,0.1)",", ").concat("rgba(0,0,0,0.1)","),linear-gradient(").concat(T,", ").concat(T,")"))),
|
|||
|
o;
|
|||
|
}),!l){
|
|||
|
var E=e.getAttribute(j)||t._config.defaultLightTextColor;
|
|||
|
i+=t._cssUtils.genCssKV("color",E),d(e).forEach(function(e){
|
|||
|
return e.setAttribute(B,E);
|
|||
|
});
|
|||
|
}
|
|||
|
}
|
|||
|
}
|
|||
|
p&&(N.test(g)&&(o[h]=Q(g)),_?t._bgStack.push(e,t._cssUtils.genCssKV(h,f)):i+=t._cssUtils.genCssKV(h,f));
|
|||
|
}),i){
|
|||
|
L&&e.setAttribute("data-style",o.cssText);
|
|||
|
var k="".concat("js_darkmode__").concat(this._idx++);
|
|||
|
e.classList.add(k),s+=i?this._cssUtils.genCss(k,i):"";
|
|||
|
}
|
|||
|
return p="",e.childNodes.forEach(function(e){
|
|||
|
3===e.nodeType&&(p+=e.nodeValue.replace(/\s/g,""));
|
|||
|
}),p.length>0&&(this._config.delayBgJudge?this._tnQueue.push(e):this._bgStack.contains(e,function(e){
|
|||
|
s+=t._cssUtils.genCss(e.className,e.cssKV);
|
|||
|
})),s;
|
|||
|
}
|
|||
|
}])&&v(t.prototype,r),n&&v(t,n),e;
|
|||
|
}(),Z=new RegExp("".concat("js_darkmode__","[^ ]+"),"g"),et={
|
|||
|
hasInit:!1,
|
|||
|
error:null,
|
|||
|
mode:"",
|
|||
|
whitelist:{
|
|||
|
tagName:["MPCPS","IFRAME"]
|
|||
|
},
|
|||
|
needJudgeFirstPage:!0,
|
|||
|
delayBgJudge:!1,
|
|||
|
container:null,
|
|||
|
cssSelectorsPrefix:"",
|
|||
|
defaultLightTextColor:"#191919",
|
|||
|
defaultLightBgColor:"#fff",
|
|||
|
defaultDarkTextColor:"#a3a3a3",
|
|||
|
defaultDarkBgColor:"#191919"
|
|||
|
},tt=new D(et,"".concat("js_darkmode__","text__")),rt=new F(et,"".concat("js_darkmode__","bg__")),nt=new q(et),at=new I(et),ot=new Y({
|
|||
|
config:et,
|
|||
|
tnQueue:tt,
|
|||
|
bgStack:rt,
|
|||
|
cssUtils:nt
|
|||
|
}),it=null,st=function(e){
|
|||
|
var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{
|
|||
|
type:"dom"
|
|||
|
};
|
|||
|
if(t.force&&(nt.isFinish=!1),!nt.isFinish)try{
|
|||
|
(et.mode?"dark"===et.mode:e.matches)?("dom"===t.type?at.get().forEach(function(e){
|
|||
|
if(e.className&&"string"==typeof e.className&&(e.className=e.className.replace(Z,"")),
|
|||
|
et.needJudgeFirstPage){
|
|||
|
var t=e.getBoundingClientRect(),r=t.top,n=t.bottom;
|
|||
|
0>=r&&0>=n?nt.addCss(ot.convert(e),!1):r>0&&P>r||n>0&&P>n?(at.addFirstPageNode(e),
|
|||
|
nt.addCss(ot.convert(e),!0)):(et.needJudgeFirstPage=!1,nt.writeStyle(!0),at.showFirstPageNodes(),
|
|||
|
nt.addCss(ot.convert(e),!1));
|
|||
|
}else nt.addCss(ot.convert(e),!1);
|
|||
|
}):"bg"===t.type&&tt.forEach(function(e){
|
|||
|
return rt.contains(e,function(e){
|
|||
|
nt.addCss(nt.genCss(e.className,e.cssKV),!1);
|
|||
|
});
|
|||
|
}),nt.writeStyle()):(et.needJudgeFirstPage=!1,et.delayBgJudge=!1,null===et.container&&"dom"===t.type&&at.len()&&at.delay());
|
|||
|
}catch(e){
|
|||
|
console.error(e),"function"==typeof et.error&&et.error(e);
|
|||
|
}
|
|||
|
};
|
|||
|
}]);
|
|||
|
});
|
|||
|
</script>
|
|||
|
<script nonce="1032235604" type="text/javascript">
|
|||
|
function _typeof(e){
|
|||
|
return e&&"undefined"!=typeof Symbol&&e.constructor===Symbol?"symbol":typeof e;
|
|||
|
}
|
|||
|
!function(e){
|
|||
|
var t=e();
|
|||
|
if("function"==typeof document.querySelectorAll)if("object"===("undefined"==typeof module?"undefined":_typeof(module)))module.exports=t;else{
|
|||
|
if(window.__second_open__)return;
|
|||
|
document.getElementById("js_content").style.visibility="visible";
|
|||
|
}
|
|||
|
}(function(){
|
|||
|
for(var e={
|
|||
|
config:[{
|
|||
|
querySelector:"animate",
|
|||
|
isTargetNode:function(){
|
|||
|
var e=arguments.length<=0||void 0===arguments[0]?{}:arguments[0];
|
|||
|
return"height"===e.node.attributes.attributeName.nodeValue&&("indefinite"===e.node.attributes.repeatCount.nodeValue||e.node.attributes.repeatCount.nodeValue>"10")?e.node.attributes.begin&&-1===e.node.attributes.begin.nodeValue.indexOf("click")?!0:e.node.attributes.end&&-1===e.node.attributes.end.nodeValue.indexOf("click")?!0:!0:!1;
|
|||
|
},
|
|||
|
setArribute:function(){
|
|||
|
var e=arguments.length<=0||void 0===arguments[0]?{}:arguments[0];
|
|||
|
for(var t in e.attris)"undefined"===e.attris[t]&&e.node.attributes.removeNamedItem(t);
|
|||
|
}
|
|||
|
}]
|
|||
|
},t=0;t<e.config.length;t++)for(var n=document.querySelectorAll(e.config[t].querySelector),o=0;o<n.length;o++)e.config[t].isTargetNode({
|
|||
|
node:n[o]
|
|||
|
})&&e.config[t].setArribute({
|
|||
|
node:n[o],
|
|||
|
attris:{
|
|||
|
repeatCount:"undefined",
|
|||
|
attributeName:"undefined"
|
|||
|
}
|
|||
|
});
|
|||
|
});
|
|||
|
</script>
|
|||
|
<script nonce="1032235604" type="text/javascript">
|
|||
|
if (!window.__second_open__) {
|
|||
|
Darkmode.run(document.querySelectorAll('#js_content *'), {
|
|||
|
mode: '',
|
|||
|
defaultDarkBgColor: '',
|
|||
|
error: function () {
|
|||
|
(new Image()).src = 'https://mp.weixin.qq.com/mp/jsmonitor?idkey=125617_0_1';
|
|||
|
}
|
|||
|
});
|
|||
|
document.getElementById('js_content').style.visibility = 'visible';
|
|||
|
}
|
|||
|
</script>
|
|||
|
|
|||
|
<script nonce="1032235604" type="text/javascript">
|
|||
|
(function(_g){
|
|||
|
_g.appmsg_like_type = "2" * 1 ? "2" * 1 : 1;
|
|||
|
|
|||
|
_g.clientversion = "";
|
|||
|
_g.passparam = "";
|
|||
|
if(!_g.msg_link) {
|
|||
|
_g.msg_link = "http://mp.weixin.qq.com/s?__biz=MzAwMjU3NjA1Mw==&mid=2649667982&idx=1&sn=785369d56286b706c4544afb5854983b&chksm=82d24254b5a5cb425f68a91bb513e178a76d9efe2d001f7cd6f4c2ca5c7336568cde510ca62a#rd";
|
|||
|
}
|
|||
|
_g.appmsg_type = "9";
|
|||
|
_g.devicetype = "";
|
|||
|
})(window);
|
|||
|
|
|||
|
</script>
|
|||
|
|
|||
|
|
|||
|
<script nonce="1032235604">window.__moon_host = 'res.wx.qq.com';window.__moon_mainjs = 'appmsg/index.js';window.moon_map = {"new_video/plugin/util.js":"//res.wx.qq.com/mmbizwap/zh_CN/htmledition/js/new_video/plugin/util4a091e.js","pages/iframe_communicate.js":"//res.wx.qq.com/mmbizwap/zh_CN/htmledition/js/pages/iframe_communicate4848aa.js","new_video/player.html.js":"//res.wx.qq.com/mmbizwap/zh_CN/htmledition/js/new_video/player.html502418.js","biz_wap/zepto/touch.js":"//res.wx.qq.com/mmbizwap/zh_CN/htmledition/js/biz_wap/zepto/touch42f400.js","biz_wap/zepto/event.js":"//res.wx.qq.com/mmbizwap/zh_CN/htmledition/js/biz_wap/zepto/event42f400.js","biz_wap/zepto/zepto.js":"//res.wx.qq.com/mmbizwap/zh_CN/htmledition/js/biz_wap/zepto/zepto440203.js","page/pages/video_new.css":"//res.wx.qq.com/mmbizwap/zh_CN/htmledition/style/page/pages/video_new.css502418.js","a/tpl/smallbanner_msg_tpl.html.js":"//res.wx.qq.com/mmbizwap/zh_CN/htmledition/js/a/tpl/smallbanner_msg_tpl.html42f400.js","a/tpl/smallbanner_info_tpl.html.js":"//res.wx.qq.com/mmbizwap/zh_CN/htmledition/js/a/tpl/smallbanner_info_tpl.html44c2e3.js","a/tpl/banner_info_tpl.html.js":"//res.wx.qq.com/mmbizwap/zh_CN/htmledition/js/a/tpl/banner_info_tpl.html42f400.js","a/tpl/promote_tpl.html.js":"//res.wx.qq.com/mmbizwap/zh_CN/htmledition/js/a/tpl/promote_tpl.html42f400.js","a/tpl/smallcard_tpl.html.js":"//res.wx.qq.com/mmbizwap/zh_CN/htmledition/js/a/tpl/smallcard_tpl.html42f400.js","a/tpl/info_tpl.html.js":"//res.wx.qq.com/mmbizwap/zh_CN/htmledition/js/a/tpl/info_tpl.html42f400.js","a/tpl/cardticket_tpl.html.js":"//res.wx.qq.com/mmbizwap/zh_CN/htmledition/js/a/tpl/cardticket_tpl.html42f400.js","a/tpl/banner_tpl.html.js":"//res.wx.qq.com/mmbizwap/zh_CN/htmledition/js/a/tpl/banner_tpl.html47af5b.js","a/tpl/sponsor_tpl.html.js":"//res.wx.qq.com/mmbizwap/zh_CN/htmledition/js/a/tpl/sponsor_tpl.html42f400.js","a/tpl/new_cpc_tpl.html.js":"//res.wx.qq.com/mmbizwap/zh_CN/htmledition/js/a/tpl/new_cpc_tpl.html45178d.js","appmsg/emotion/caret.js":"//res.wx.qq.com/mmbizwap/zh_CN/htmledition/js/appmsg/emotion/caret42f400.js","pages/similar_video_tpl.html.js":"//res.wx.qq.com/mmbizwap/zh_CN/htmledition/js/pages/similar_video_tpl.html4ffc94.js","pages/video_collection/report.js":"//res.wx.qq.com/mmbizwap/zh_CN/htmledition/js/pages/video_collection/report502418.js","a/appdialog_confirm.html.js":"//res.wx.qq.com/mmbizwap/zh_CN/htmledition/js/a/appdialog_confirm.html42f400.js","widget/wx_profile_dialog_primary.css":"//res.wx.qq.com/mmbizwap/zh_CN/htmledition/style/widget/wx_profile_dialog_primary.css4dbfed.js","new_video/player.js":"//res.wx.qq.com/mmbizwap/zh_CN/htmledition/js/new_video/player502418.js","a/tpl/mpda_bottom_tpl.html.js":"//res.wx.qq.com/mmbizwap/zh_CN/htmledition/js/a/tpl/mpda_bottom_tpl.html450c68.js","a/tpl/crt_size_map.js":"//res.wx.qq.com/mmbizwap/zh_CN/htmledition/js/a/tpl/crt_size_map4602fc.js","biz_wap/jsapi/cardticket.js":"//res.wx.qq.com/mmbizwap/zh_CN/htmledition/js/biz_wap/jsapi/cardticket42f400.js","biz_common/utils/emoji_panel_data.js":"//res.wx.qq.com/mmbizwap/zh_CN/htmledition/js/biz_common/utils/emoji_panel_data4be7b1.js","appmsg/emotion/textarea.js":"//res.wx.qq.com/mmbizwap/zh_CN/htmledition/js/appmsg/emotion/textarea4fe01c.js","appmsg/emotion/nav.js":"//res.wx.qq.com/mmbizwap/zh_CN/htmledition/js/appmsg/emotion/nav4fe01c.js","appmsg/emotion/common.js":"//res.wx.qq.com/mmbizwap/zh_CN/htmledition/js/appmsg/emotion/common4be7b1.js","appmsg/emotion/slide.js":"//res.wx.qq.com/mmbizwap/zh_CN/htmledition/js/appmsg/emotion/slide4fe01c.js","pages/mod/bottom_modal.html.js":"//res.wx.qq.com/mmbizwap/zh_CN/htmledition/js/pages/mod/bottom_modal.html4f1ce4.js","widget/wx-widget/wx_bottom_modal.css":"//res.wx.qq.com/mmbizwap/zh_CN/htmledition/style/widget/wx-widget/wx_bottom_modal.css5007de.js","pages/audition_tpl.html.js":"//res.wx.qq.com/mmbizwap/zh_CN/htmledition/js/pages/audition_tpl.html47a8e6.js","pages/musicUrlReport.js":"//res.wx.qq.com/mmbizwap/zh_CN/htmledition/js/pages/musicUrlReport47f34b.js","pages/music_report_conf.js":"//res.wx.qq.com/mmbizwap/zh_CN/
|
|||
|
if(!window.__moonhasinit){
|
|||
|
window.__moonhasinit=!0,window.__moonclientlog=[],window.__wxgspeeds&&(window.__wxgspeeds.moonloadedtime=+new Date),
|
|||
|
"object"!=typeof JSON&&(window.JSON={
|
|||
|
stringify:function(){
|
|||
|
return"";
|
|||
|
},
|
|||
|
parse:function(){
|
|||
|
return{};
|
|||
|
}
|
|||
|
});
|
|||
|
var e=function(){
|
|||
|
function e(e){
|
|||
|
try{
|
|||
|
var o;
|
|||
|
/(iPhone|iPad|iPod|iOS)/i.test(navigator.userAgent)?o="writeLog":/(Android)/i.test(navigator.userAgent)&&(o="log"),
|
|||
|
o&&n(o,e);
|
|||
|
}catch(t){
|
|||
|
throw console.error(t),t;
|
|||
|
}
|
|||
|
}
|
|||
|
function n(e,o){
|
|||
|
var t,r,i={};
|
|||
|
t=top!=window?top.window:window;
|
|||
|
try{
|
|||
|
r=t.WeixinJSBridge,i=t.document;
|
|||
|
}catch(a){}
|
|||
|
e&&r&&r.invoke?r.invoke(e,{
|
|||
|
level:"info",
|
|||
|
msg:"[WechatFe][moon]"+o
|
|||
|
}):setTimeout(function(){
|
|||
|
i.addEventListener?i.addEventListener("WeixinJSBridgeReady",function(){
|
|||
|
n(e,o);
|
|||
|
},!1):i.attachEvent&&(i.attachEvent("WeixinJSBridgeReady",function(){
|
|||
|
n(e,o);
|
|||
|
}),i.attachEvent("onWeixinJSBridgeReady",function(){
|
|||
|
n(e,o);
|
|||
|
}));
|
|||
|
},0);
|
|||
|
}
|
|||
|
var t;
|
|||
|
localStorage&&JSON.parse(localStorage.getItem("__WXLS__moonarg"))&&"fromls"==JSON.parse(localStorage.getItem("__WXLS__moonarg")).method&&(t=!0),
|
|||
|
e(" moon init, moon_inline:"+window.__mooninline+", moonls:"+t),function(){
|
|||
|
var e={},o={},n={};
|
|||
|
e.COMBO_UNLOAD=0,e.COMBO_LOADING=1,e.COMBO_LOADED=2;
|
|||
|
var t=function(e,n,t){
|
|||
|
if(!o[e]){
|
|||
|
o[e]=t;
|
|||
|
for(var r=3;r--;)try{
|
|||
|
moon.setItem(moon.prefix+e,t.toString()),moon.setItem(moon.prefix+e+"_ver",moon_map[e]);
|
|||
|
break;
|
|||
|
}catch(i){
|
|||
|
moon.clear();
|
|||
|
}
|
|||
|
}
|
|||
|
},r=window.alert;
|
|||
|
window.__alertList=[],window.alert=function(e){
|
|||
|
r(e),window.__alertList.push(e);
|
|||
|
};
|
|||
|
var i=function(e){
|
|||
|
if(!e||!o[e])return null;
|
|||
|
var t=o[e];
|
|||
|
if("function"==typeof t&&!n[e]){
|
|||
|
var a={},s={
|
|||
|
exports:a
|
|||
|
},c=t(i,a,s,r);
|
|||
|
t=o[e]=c||s.exports,n[e]=!0;
|
|||
|
}
|
|||
|
if(".css"===e.substr(-4)){
|
|||
|
var d=document.getElementById(e);
|
|||
|
if(!d){
|
|||
|
d=document.createElement("style"),d.id=e;
|
|||
|
var _=/url\s*\(\s*\/(\"(?:[^\\\"\r\n\f]|\\[\s\S])*\"|'(?:[^\\'\n\r\f]|\\[\s\S])*'|[^)}]+)\s*\)/g,l=window.testenv_reshost||window.__moon_host||"res.wx.qq.com";
|
|||
|
t=t.replace(_,"url(//"+l+"/$1)"),d.innerHTML=t,document.getElementsByTagName("head")[0].appendChild(d);
|
|||
|
}
|
|||
|
}
|
|||
|
return t;
|
|||
|
};
|
|||
|
e.combo_status=e.COMBO_UNLOAD,e.run=function(){
|
|||
|
var o=e.run.info,n=o&&o[0],t=o&&o[1];
|
|||
|
if(n&&e.combo_status==e.COMBO_LOADED){
|
|||
|
var r=i(n);
|
|||
|
t&&t(r);
|
|||
|
}
|
|||
|
},e.use=function(o,n){
|
|||
|
window.__wxgspeeds&&(window.__wxgspeeds.seajs_use_time=+new Date),e.run.info=[o,n],
|
|||
|
e.run();
|
|||
|
},window.define=t,window.seajs=e;
|
|||
|
}(),function(){
|
|||
|
if(window.__nonce_str){
|
|||
|
var e=document.createElement;
|
|||
|
document.createElement=function(o){
|
|||
|
var n=e.apply(this,arguments);
|
|||
|
return"object"==typeof o&&(o=o.toString()),"string"==typeof o&&"script"==o.toLowerCase()&&n.setAttribute("nonce",window.__nonce_str),
|
|||
|
n;
|
|||
|
};
|
|||
|
}
|
|||
|
window.addEventListener&&window.__DEBUGINFO&&Math.random()<.01&&window.addEventListener("load",function(){
|
|||
|
var e=document.createElement("script");
|
|||
|
e.src=__DEBUGINFO.safe_js,e.type="text/javascript",e.async=!0;
|
|||
|
var o=document.head||document.getElementsByTagName("head")[0];
|
|||
|
o.appendChild(e);
|
|||
|
});
|
|||
|
}(),function(){
|
|||
|
function n(e){
|
|||
|
return"[object Array]"===Object.prototype.toString.call(e);
|
|||
|
}
|
|||
|
function t(e){
|
|||
|
return"[object Object]"===Object.prototype.toString.call(e);
|
|||
|
}
|
|||
|
function r(e){
|
|||
|
var n=e.stack+" "+e.toString()||"";
|
|||
|
try{
|
|||
|
if(window.testenv_reshost){
|
|||
|
var t="http(s)?://"+window.testenv_reshost,r=new RegExp(t,"g");
|
|||
|
n=n.replace(r,"");
|
|||
|
}else n=n.replace(/http(s)?:\/\/res\.wx\.qq\.com/g,"");
|
|||
|
for(var r=/\/([^.]+)\/js\/(\S+?)\.js(\,|:)?/g;r.test(n);)n=n.replace(r,function(e,o,n,t){
|
|||
|
return n+t;
|
|||
|
});
|
|||
|
}catch(e){
|
|||
|
n=e.stack?e.stack:"";
|
|||
|
}
|
|||
|
var i=[];
|
|||
|
for(o in m)m.hasOwnProperty(o)&&i.push(o+":"+m[o]);
|
|||
|
return i.push("STK:"+n.replace(/\n/g,"")),i.join("|");
|
|||
|
}
|
|||
|
function i(e,o,n){
|
|||
|
if(!/^mp\.weixin\.qq\.com$/.test(location.hostname)){
|
|||
|
var t=[];
|
|||
|
n=n.replace(location.href,(location.origin||"")+(location.pathname||"")).replace("#wechat_redirect","").replace("#rd","").split("&");
|
|||
|
for(var r=0,i=n.length;i>r;r++){
|
|||
|
var a=n[r].split("=");
|
|||
|
a[0]&&a[1]&&t.push(a[0]+"="+encodeURIComponent(a[1]));
|
|||
|
}
|
|||
|
var s=new window.Image;
|
|||
|
return void(s.src=(o+t.join("&")).substr(0,1024));
|
|||
|
}
|
|||
|
var c;
|
|||
|
if(window.ActiveXObject)try{
|
|||
|
c=new ActiveXObject("Msxml2.XMLHTTP");
|
|||
|
}catch(d){
|
|||
|
try{
|
|||
|
c=new ActiveXObject("Microsoft.XMLHTTP");
|
|||
|
}catch(_){
|
|||
|
c=!1;
|
|||
|
}
|
|||
|
}else window.XMLHttpRequest&&(c=new XMLHttpRequest);
|
|||
|
c&&(c.open(e,o,!0),c.setRequestHeader("cache-control","no-cache"),c.setRequestHeader("Content-Type","application/x-www-form-urlencoded; charset=UTF-8"),
|
|||
|
c.setRequestHeader("X-Requested-With","XMLHttpRequest"),c.send(n));
|
|||
|
}
|
|||
|
function a(e){
|
|||
|
return function(o,n){
|
|||
|
if("string"==typeof o)try{
|
|||
|
o=new Function(o);
|
|||
|
}catch(t){
|
|||
|
throw t;
|
|||
|
}
|
|||
|
var r=[].slice.call(arguments,2),i=o;
|
|||
|
return o=function(){
|
|||
|
try{
|
|||
|
return i.apply(this,r.length&&r||arguments);
|
|||
|
}catch(e){
|
|||
|
throw e.stack&&console&&console.error&&console.error("[TryCatch]"+e.stack),h&&window.__moon_report&&window.__moon_report([{
|
|||
|
offset:O,
|
|||
|
log:"timeout_error;host:"+location.host,
|
|||
|
e:e
|
|||
|
}]),e;
|
|||
|
}
|
|||
|
},e(o,n);
|
|||
|
};
|
|||
|
}
|
|||
|
function s(e){
|
|||
|
return function(o,n,t){
|
|||
|
if("undefined"==typeof t)var t=!1;
|
|||
|
var r=this,i=n||function(){};
|
|||
|
return n=function(){
|
|||
|
try{
|
|||
|
return i.apply(r,arguments);
|
|||
|
}catch(e){
|
|||
|
throw e.stack&&console&&console.error&&console.error("[TryCatch]"+e.stack),h&&window.__moon_report&&window.__moon_report([{
|
|||
|
offset:v,
|
|||
|
log:"listener_error;type:"+o+";host:"+location.host,
|
|||
|
e:e
|
|||
|
}]),e;
|
|||
|
}
|
|||
|
},i.moon_lid=j,x[j]=n,j++,e.call(r,o,n,t);
|
|||
|
};
|
|||
|
}
|
|||
|
function c(e){
|
|||
|
return function(o,n,t){
|
|||
|
if("undefined"==typeof t)var t=!1;
|
|||
|
var r=this;
|
|||
|
return n=x[n.moon_lid],e.call(r,o,n,t);
|
|||
|
};
|
|||
|
}
|
|||
|
var d,_,l,m,w,u=/MicroMessenger/i.test(navigator.userAgent),f=/MPAPP/i.test(navigator.userAgent),p=window.define,h=121261,g=0,v=2,y=4,O=9,E=10;
|
|||
|
if(window.__initCatch=function(e){
|
|||
|
h=e.idkey,d=e.startKey||0,_=e.limit,l=e.badjsId,m=e.reportOpt||"",w=e.extInfo||{},
|
|||
|
w.rate=w.rate||.5;
|
|||
|
},window.__moon_report=function(e,o){
|
|||
|
var a=!1,s="";
|
|||
|
try{
|
|||
|
s=top.location.href;
|
|||
|
}catch(c){
|
|||
|
a=!0;
|
|||
|
}
|
|||
|
var m=.5;
|
|||
|
if(w&&w.rate&&(m=w.rate),o&&"number"==typeof o&&(m=o),!/mp\.weixin\.qq\.com/.test(location.href)&&!/payapp\.weixin\.qq\.com/.test(location.href)||Math.random()>m||!u&&!f||top!=window&&!a&&!/mp\.weixin\.qq\.com/.test(s),
|
|||
|
t(e)&&(e=[e]),n(e)&&""!=h){
|
|||
|
var p="",g=[],v=[],O=[],E=[];
|
|||
|
"number"!=typeof _&&(_=1/0);
|
|||
|
for(var x=0;x<e.length;x++){
|
|||
|
var j=e[x]||{};
|
|||
|
if(!(j.offset>_||"number"!=typeof j.offset||j.offset==y&&w&&w.network_rate&&Math.random()>=w.network_rate)){
|
|||
|
var b=1/0==_?d:d+j.offset;
|
|||
|
g[x]="[moon]"+h+"_"+b+";"+j.log+";"+r(j.e||{})||"",v[x]=b,O[x]=1;
|
|||
|
}
|
|||
|
}
|
|||
|
for(var D=0;D<v.length;D++)E[D]=h+"_"+v[D]+"_"+O[D],p=p+"&log"+D+"="+g[D];
|
|||
|
if(E.length>0){
|
|||
|
i("POST",location.protocol+"//mp.weixin.qq.com/mp/jsmonitor?","idkey="+E.join(";")+"&r="+Math.random()+"&lc="+g.length+p);
|
|||
|
var m=1;
|
|||
|
if(w&&w.badjs_rate&&(m=w.badjs_rate),Math.random()<m){
|
|||
|
if(p=p.replace(/uin\:(.)*\|biz\:(.)*\|mid\:(.)*\|idx\:(.)*\|sn\:(.)*\|/,""),l){
|
|||
|
var B=new Image,S="https://badjs.weixinbridge.com/badjs?id="+l+"&level=4&from="+encodeURIComponent(location.host)+"&msg="+encodeURIComponent(p);
|
|||
|
B.src=S.slice(0,1024);
|
|||
|
}
|
|||
|
if("undefined"!=typeof WX_BJ_REPORT&&WX_BJ_REPORT.BadJs)for(var x=0;x<e.length;x++){
|
|||
|
var j=e[x]||{};
|
|||
|
if(j.e)WX_BJ_REPORT.BadJs.onError(j.e,{
|
|||
|
_info:j.log
|
|||
|
});else{
|
|||
|
var L=/[^:;]*/.exec(j.log)[0];
|
|||
|
WX_BJ_REPORT.BadJs.report(L,j.log,{
|
|||
|
mid:"mmbizwap:Monitor"
|
|||
|
});
|
|||
|
}
|
|||
|
}
|
|||
|
}else for(var x=0;x<e.length;x++){
|
|||
|
var j=e[x]||{};
|
|||
|
j.e&&(j.e.BADJS_EXCUTED=!0);
|
|||
|
}
|
|||
|
}
|
|||
|
}
|
|||
|
},window.setTimeout=a(window.setTimeout),window.setInterval=a(window.setInterval),
|
|||
|
Math.random()<.01&&window.Document&&window.HTMLElement){
|
|||
|
var x={},j=0;
|
|||
|
Document.prototype.addEventListener=s(Document.prototype.addEventListener),Document.prototype.removeEventListener=c(Document.prototype.removeEventListener),
|
|||
|
HTMLElement.prototype.addEventListener=s(HTMLElement.prototype.addEventListener),
|
|||
|
HTMLElement.prototype.removeEventListener=c(HTMLElement.prototype.removeEventListener);
|
|||
|
}
|
|||
|
var b=window.navigator.userAgent;
|
|||
|
if((/ip(hone|ad|od)/i.test(b)||/android/i.test(b))&&!/windows phone/i.test(b)&&window.localStorage&&window.localStorage.setItem){
|
|||
|
var D=window.localStorage.setItem,B=0;
|
|||
|
window.localStorage.setItem=function(e,o){
|
|||
|
if(!(B>=10))try{
|
|||
|
D.call(window.localStorage,e,o);
|
|||
|
}catch(n){
|
|||
|
n.stack&&console&&console.error&&console.error("[TryCatch]"+n.stack),window.__moon_report([{
|
|||
|
offset:E,
|
|||
|
log:"localstorage_error;"+n.toString(),
|
|||
|
e:n
|
|||
|
}]),B++,B>=3&&window.moon&&window.moon.clear&&moon.clear();
|
|||
|
}
|
|||
|
};
|
|||
|
}
|
|||
|
window.seajs&&p&&(window.define=function(){
|
|||
|
for(var o,n=[],t=arguments&&arguments[0],i=0,a=arguments.length;a>i;i++){
|
|||
|
var s=o=arguments[i];
|
|||
|
"function"==typeof o&&(o=function(){
|
|||
|
try{
|
|||
|
return s.apply(this,arguments);
|
|||
|
}catch(o){
|
|||
|
throw"string"==typeof t&&console.error("[TryCatch][DefineeErr]id:"+t),o.stack&&console&&console.error&&console.error("[TryCatch]"+o.stack),
|
|||
|
h&&window.__moon_report&&(WX_BJ_REPORT.BadJs.onError(o,{
|
|||
|
mid:"mmbizwap:defineError"
|
|||
|
}),window.__moon_report([{
|
|||
|
offset:g,
|
|||
|
log:"define_error;id:"+t+";",
|
|||
|
e:o
|
|||
|
}])),e(" [define_error]"+JSON.stringify(r(o))),o;
|
|||
|
}
|
|||
|
},o.toString=function(e){
|
|||
|
return function(){
|
|||
|
return e.toString();
|
|||
|
};
|
|||
|
}(arguments[i])),n.push(o);
|
|||
|
}
|
|||
|
return p.apply(this,n);
|
|||
|
});
|
|||
|
}(),function(o){
|
|||
|
function n(e,o,n){
|
|||
|
return window.__DEBUGINFO?(window.__DEBUGINFO.res_list||(window.__DEBUGINFO.res_list=[]),
|
|||
|
window.__DEBUGINFO.res_list[e]?(window.__DEBUGINFO.res_list[e][o]=n,!0):!1):!1;
|
|||
|
}
|
|||
|
function t(e){
|
|||
|
var o=new TextEncoder("utf-8").encode(e),n=crypto.subtle||crypto.webkitSubtle;
|
|||
|
return n.digest("SHA-256",o).then(function(e){
|
|||
|
return r(e);
|
|||
|
});
|
|||
|
}
|
|||
|
function r(e){
|
|||
|
for(var o=[],n=new DataView(e),t=0;t<n.byteLength;t+=4){
|
|||
|
var r=n.getUint32(t),i=r.toString(16),a="00000000",s=(a+i).slice(-a.length);
|
|||
|
o.push(s);
|
|||
|
}
|
|||
|
return o.join("");
|
|||
|
}
|
|||
|
function i(e,o,n){
|
|||
|
if("object"==typeof e){
|
|||
|
var t=Object.prototype.toString.call(e).replace(/^\[object (.+)\]$/,function(e,o){
|
|||
|
return o;
|
|||
|
});
|
|||
|
if(n=n||e,"Array"==t){
|
|||
|
for(var r=0,i=e.length;i>r;++r)if(o.call(n,e[r],r,e)===!1)return;
|
|||
|
}else{
|
|||
|
if("Object"!==t&&a!=e)throw"unsupport type";
|
|||
|
if(a==e){
|
|||
|
for(var r=e.length-1;r>=0;r--){
|
|||
|
var s=a.key(r),c=a.getItem(s);
|
|||
|
if(o.call(n,c,s,e)===!1)return;
|
|||
|
}
|
|||
|
return;
|
|||
|
}
|
|||
|
for(var r in e)if(e.hasOwnProperty(r)&&o.call(n,e[r],r,e)===!1)return;
|
|||
|
}
|
|||
|
}
|
|||
|
}
|
|||
|
var a=o.localStorage,s=document.head||document.getElementsByTagName("head")[0],c=1,d=11,_=12,l=13,m=window.__allowLoadResFromMp?1:2,w=window.__allowLoadResFromMp?1:0,u=m+w,f=window.testenv_reshost||window.__moon_host||"res.wx.qq.com";
|
|||
|
window.__loadAllResFromMp&&(f="mp.weixin.qq.com",m=0,u=m+w);
|
|||
|
var p=new RegExp("^(http(s)?:)?//"+f),h={
|
|||
|
prefix:"__MOON__",
|
|||
|
loaded:[],
|
|||
|
unload:[],
|
|||
|
clearSample:!0,
|
|||
|
hit_num:0,
|
|||
|
mod_num:0,
|
|||
|
version:1003,
|
|||
|
cacheData:{
|
|||
|
js_mod_num:0,
|
|||
|
js_hit_num:0,
|
|||
|
js_not_hit_num:0,
|
|||
|
js_expired_num:0,
|
|||
|
css_mod_num:0,
|
|||
|
css_hit_num:0,
|
|||
|
css_not_hit_num:0,
|
|||
|
css_expired_num:0
|
|||
|
},
|
|||
|
init:function(){
|
|||
|
h.loaded=[],h.unload=[];
|
|||
|
var e,n,r;
|
|||
|
if(window.no_moon_ls&&(h.clearSample=!0),a){
|
|||
|
var s="_moon_ver_key_",c=a.getItem(s);
|
|||
|
c!=h.version&&(h.clear(),a.setItem(s,h.version));
|
|||
|
}
|
|||
|
if((-1!=location.search.indexOf("no_moon1=1")||-1!=location.search.indexOf("no_lshttps=1"))&&h.clear(),
|
|||
|
a){
|
|||
|
var d=1*a.getItem(h.prefix+"clean_time"),_=+new Date;
|
|||
|
if(_-d>=1296e6){
|
|||
|
h.clear();
|
|||
|
try{
|
|||
|
!!a&&a.setItem(h.prefix+"clean_time",+new Date);
|
|||
|
}catch(l){}
|
|||
|
}
|
|||
|
}
|
|||
|
i(moon_map,function(i,s){
|
|||
|
if(n=h.prefix+s,r=!!i&&i.replace(p,""),e=!!a&&a.getItem(n),version=!!a&&(a.getItem(n+"_ver")||"").replace(p,""),
|
|||
|
h.mod_num++,r&&-1!=r.indexOf(".css")?h.cacheData.css_mod_num++:r&&-1!=r.indexOf(".js")&&h.cacheData.js_mod_num++,
|
|||
|
h.clearSample||!e||r!=version)h.unload.push(r.replace(p,"")),r&&-1!=r.indexOf(".css")?e?r!=version&&h.cacheData.css_expired_num++:h.cacheData.css_not_hit_num++:r&&-1!=r.indexOf(".js")&&(e?r!=version&&h.cacheData.js_expired_num++:h.cacheData.js_not_hit_num++);else{
|
|||
|
if("https:"==location.protocol&&window.moon_hash_map&&window.moon_hash_map[s]&&window.crypto)try{
|
|||
|
t(e).then(function(e){
|
|||
|
window.moon_hash_map[s]!=e&&console.log(s);
|
|||
|
});
|
|||
|
}catch(c){}
|
|||
|
try{
|
|||
|
var d="//# sourceURL="+s+"\n//@ sourceURL="+s;
|
|||
|
o.eval.call(o,'define("'+s+'",[],'+e+")"+d),h.hit_num++,r&&-1!=r.indexOf(".css")?h.cacheData.css_hit_num++:r&&-1!=r.indexOf(".js")&&h.cacheData.js_hit_num++;
|
|||
|
}catch(c){
|
|||
|
h.unload.push(r.replace(p,""));
|
|||
|
}
|
|||
|
}
|
|||
|
}),h.load(h.genUrl());
|
|||
|
},
|
|||
|
genUrl:function(){
|
|||
|
var e=h.unload;
|
|||
|
if(!e||e.length<=0)return[];
|
|||
|
if(window.__loadAllResFromMp)for(var o=0;o<h.unload.length;o++)0==h.unload[o].indexOf("/mmbizwap/")&&(h.unload[o]="/mp/"+h.unload[o].substr(10));
|
|||
|
var n,t,r="",i=[],a={},s=-1!=location.search.indexOf("no_moon2=1"),c="//"+f;
|
|||
|
-1!=location.href.indexOf("moon_debug2=1")&&(c="//mp.weixin.qq.com");
|
|||
|
for(var d=0,_=e.length;_>d;++d){
|
|||
|
/^\/(.*?)\//.test(e[d]);
|
|||
|
var l=/^\/(.*?)\//.exec(e[d]);
|
|||
|
l.length<2||!l[1]||(t=l[1],r=a[t],r?(n=r+","+e[d],n.length>1e3||s?(i.push(r+"?v="+h.version),
|
|||
|
r=location.protocol+c+e[d],a[t]=r):(r=n,a[t]=r)):(r=location.protocol+c+e[d],a[t]=r));
|
|||
|
}
|
|||
|
for(var m in a)a.hasOwnProperty(m)&&i.push(a[m]);
|
|||
|
return i;
|
|||
|
},
|
|||
|
load:function(e){
|
|||
|
if(window.__wxgspeeds&&(window.__wxgspeeds.mod_num=h.mod_num,window.__wxgspeeds.hit_num=h.hit_num),
|
|||
|
!e||e.length<=0)return seajs.combo_status=seajs.COMBO_LOADED,seajs.run(),console.debug&&console.debug("[moon] load js complete, all in cache, cost time : 0ms, total count : "+h.mod_num+", hit num: "+h.hit_num),
|
|||
|
void window.__moonclientlog.push("[moon] load js complete, all in cache, cost time : 0ms, total count : "+h.mod_num+", hit num: "+h.hit_num);
|
|||
|
seajs.combo_status=seajs.COMBO_LOADING;
|
|||
|
var o=0,n=+new Date;
|
|||
|
window.__wxgspeeds&&(window.__wxgspeeds.combo_times=[],window.__wxgspeeds.combo_times.push(n)),
|
|||
|
i(e,function(t){
|
|||
|
h.request(t,u,function(){
|
|||
|
if(window.__wxgspeeds&&window.__wxgspeeds.combo_times.push(+new Date),o++,o==e.length){
|
|||
|
var t=+new Date-n;
|
|||
|
window.__wxgspeeds&&(window.__wxgspeeds.mod_downloadtime=t),seajs.combo_status=seajs.COMBO_LOADED,
|
|||
|
seajs.run(),console.debug&&console.debug("[moon] load js complete, url num : "+e.length+", total mod count : "+h.mod_num+", hit num: "+h.hit_num+", use time : "+t+"ms"),
|
|||
|
window.__moonclientlog.push("[moon] load js complete, url num : "+e.length+", total mod count : "+h.mod_num+", hit num: "+h.hit_num+", use time : "+t+"ms");
|
|||
|
}
|
|||
|
});
|
|||
|
});
|
|||
|
},
|
|||
|
request:function(o,t,r){
|
|||
|
if(o){
|
|||
|
t=t||0,o.indexOf("mp.weixin.qq.com")>-1&&((new Image).src=location.protocol+"//mp.weixin.qq.com/mp/jsmonitor?idkey=27613_32_1&r="+Math.random(),
|
|||
|
window.__moon_report([{
|
|||
|
offset:_,
|
|||
|
log:"load_script_from_mp: "+o
|
|||
|
}],1));
|
|||
|
var i=-1;
|
|||
|
window.__DEBUGINFO&&(__DEBUGINFO.res_list||(__DEBUGINFO.res_list=[]),__DEBUGINFO.res_list.push({
|
|||
|
type:"js",
|
|||
|
status:"pendding",
|
|||
|
start:+new Date,
|
|||
|
end:0,
|
|||
|
url:o
|
|||
|
}),i=__DEBUGINFO.res_list.length-1),-1!=location.search.indexOf("no_lshttps=1")&&(o=o.replace("http://","https://"));
|
|||
|
var a=document.createElement("script");
|
|||
|
a.src=o,a.type="text/javascript",a.async=!0,a.down_time=+new Date,a.onerror=function(s){
|
|||
|
n(i,"status","error"),n(i,"end",+new Date);
|
|||
|
var _=new Error(s);
|
|||
|
if(t>=0)if(w>t){
|
|||
|
var m=o.replace("res.wx.qq.com","mp.weixin.qq.com");
|
|||
|
h.request(m,t,r);
|
|||
|
}else h.request(o,t,r);else window.__moon_report&&(window.__moon_report([{
|
|||
|
offset:c,
|
|||
|
log:"load_script_error: "+o,
|
|||
|
e:_
|
|||
|
}],1),window.WX_BJ_REPORT.BadJs.report("load_script_error",o,{
|
|||
|
mid:"mmbizwap:Monitor",
|
|||
|
_info:_
|
|||
|
}));
|
|||
|
if(t==w-1&&window.__moon_report([{
|
|||
|
offset:d,
|
|||
|
log:"load_script_error: "+o,
|
|||
|
e:_
|
|||
|
}],1),-1==t){
|
|||
|
var u="ua: "+window.navigator.userAgent+", time="+(+new Date-a.down_time)+", load_script_error -1 : "+o;
|
|||
|
window.__moon_report([{
|
|||
|
offset:l,
|
|||
|
log:u
|
|||
|
}],1);
|
|||
|
}
|
|||
|
window.__moonclientlog.push("moon load js error : "+o+", error -> "+_.toString()),
|
|||
|
e("moon_request_error url:"+o);
|
|||
|
},"undefined"!=typeof moon_crossorigin&&moon_crossorigin&&a.setAttribute("crossorigin",!0),
|
|||
|
a.onload=a.onreadystatechange=function(){
|
|||
|
n(i,"status","loaded"),n(i,"end",+new Date),!a||a.readyState&&!/loaded|complete/.test(a.readyState)||(n(i,"status","200"),
|
|||
|
a.onload=a.onreadystatechange=null,"function"==typeof r&&r());
|
|||
|
},t--,s.appendChild(a),e("moon_request url:"+o+" retry:"+t);
|
|||
|
}
|
|||
|
},
|
|||
|
setItem:function(e,o){
|
|||
|
!!a&&a.setItem(e,o);
|
|||
|
},
|
|||
|
clear:function(){
|
|||
|
a&&(i(a,function(e,o){
|
|||
|
~o.indexOf(h.prefix)&&a.removeItem(o);
|
|||
|
}),console.debug&&console.debug("[moon] clear"));
|
|||
|
},
|
|||
|
idkeyReport:function(e,o,n){
|
|||
|
n=n||1;
|
|||
|
var t=e+"_"+o+"_"+n;
|
|||
|
(new Image).src="/mp/jsmonitor?idkey="+t+"&r="+Math.random();
|
|||
|
}
|
|||
|
};
|
|||
|
seajs&&seajs.use&&"string"==typeof window.__moon_mainjs&&seajs.use(window.__moon_mainjs),
|
|||
|
window.moon=h;
|
|||
|
}(window),function(){
|
|||
|
try{
|
|||
|
Math.random()<1;
|
|||
|
}catch(e){}
|
|||
|
}(),window.moon.init();
|
|||
|
};
|
|||
|
e(),!!window.__moon_initcallback&&window.__moon_initcallback(),window.__wxgspeeds&&(window.__wxgspeeds.moonendtime=+new Date);
|
|||
|
}
|
|||
|
}
|
|||
|
var WX_BJ_REPORT=window.WX_BJ_REPORT||{};
|
|||
|
!function(e){
|
|||
|
function o(e,o,n,t,r,i){
|
|||
|
return{
|
|||
|
name:e||"",
|
|||
|
message:o||"",
|
|||
|
file:n||"",
|
|||
|
line:t||"",
|
|||
|
col:r||"",
|
|||
|
stack:i&&i.stack||""
|
|||
|
};
|
|||
|
}
|
|||
|
function n(e){
|
|||
|
var o=t(e);
|
|||
|
return{
|
|||
|
name:e.name,
|
|||
|
key:e.message,
|
|||
|
msg:e.message,
|
|||
|
stack:o.info,
|
|||
|
file:o.file,
|
|||
|
line:o.line,
|
|||
|
col:o.col,
|
|||
|
client_version:"",
|
|||
|
_info:e._info
|
|||
|
};
|
|||
|
}
|
|||
|
function t(o){
|
|||
|
o._info=o._info||"";
|
|||
|
var n=o.stack||"",t={
|
|||
|
info:n,
|
|||
|
file:o.file||"",
|
|||
|
line:o.line||"",
|
|||
|
col:o.col||""
|
|||
|
};
|
|||
|
if(""==t.file){
|
|||
|
var r=n.split(/\bat\b/);
|
|||
|
if(r&&r[1]){
|
|||
|
var i=/(https?:\/\/[^\n]+)\:(\d+)\:(\d+)/.exec(r[1]);
|
|||
|
i&&(i[1]&&i[1]!=t.file&&(t.file&&(o._info+=" [file: "+t.file+" ]"),t.file=i[1]),
|
|||
|
i[2]&&i[2]!=t.line&&(t.line&&(o._info+=" [line: "+t.line+" ]"),t.line=i[2]),i[3]&&i[3]!=t.col&&(t.col&&(o._info+=" [col: "+t.col+" ]"),
|
|||
|
t.col=i[3]));
|
|||
|
}
|
|||
|
}
|
|||
|
return t&&t.file&&t.file.length>0&&(t.info=t.info.replace(new RegExp(t.file.split("?")[0],"gi"),"__FILE__")),
|
|||
|
e.BadJs.ignorePath&&(t.info=t.info.replace(/http(s)?\:[^:\n]*\//gi,"").replace(/\n/gi,"")),
|
|||
|
t;
|
|||
|
}
|
|||
|
if(!e.BadJs){
|
|||
|
var r="BadjsWindowError",i=function(e,o){
|
|||
|
for(var n in o)e[n]=o[n];
|
|||
|
return e;
|
|||
|
};
|
|||
|
return e.BadJs={
|
|||
|
uin:0,
|
|||
|
mid:"",
|
|||
|
view:"wap",
|
|||
|
_cache:{},
|
|||
|
_info:{},
|
|||
|
_hookCallback:null,
|
|||
|
ignorePath:!0,
|
|||
|
"throw":function(e,o){
|
|||
|
throw this.onError(e,o),e;
|
|||
|
},
|
|||
|
onError:function(o,t){
|
|||
|
try{
|
|||
|
if(1==o.BADJS_EXCUTED)return;
|
|||
|
o.BADJS_EXCUTED=!0;
|
|||
|
var r=n(o);
|
|||
|
if(r.uin=this.uin,r.mid=this.mid,r.view=this.view,r.cmdb_module="mmbizwap",t&&(r=i(r,t)),
|
|||
|
r.cid&&(r.key="["+r.cid+"]:"+r.key),r._info&&(r.msg+="[object Object]"==Object.prototype.toString.call(r._info)?" || info:"+JSON.stringify(r._info):"[object String]"==Object.prototype.toString.call(r._info)?" || info:"+r._info:" || info:"+r._info),
|
|||
|
"function"==typeof this._hookCallback&&this._hookCallback(r)===!1)return;
|
|||
|
return this._send(r),e.BadJs;
|
|||
|
}catch(o){
|
|||
|
console.error(o);
|
|||
|
}
|
|||
|
},
|
|||
|
winErr:function(n){
|
|||
|
n.error&&n.error.BADJS_EXCUTED||e.BadJs.onError("unhandledrejection"===n.type?o(n.type,n.reason,"","","",n.reason):o(r,n.message,n.filename,n.lineno,n.colno,n.error));
|
|||
|
},
|
|||
|
init:function(o,n,t){
|
|||
|
return this.uin=o||this.uin,this.mid=n||this.mid,this.view=t||this.view,e.BadJs;
|
|||
|
},
|
|||
|
hook:function(o){
|
|||
|
return this._hookCallback=o,e.BadJs;
|
|||
|
},
|
|||
|
_send:function(o){
|
|||
|
if(!o.mid){
|
|||
|
if("undefined"==typeof window.PAGE_MID||!window.PAGE_MID)return;
|
|||
|
o.mid=window.PAGE_MID;
|
|||
|
}
|
|||
|
o.uin||(o.uin=window.user_uin||0);
|
|||
|
var n=[o.mid,o.name,o.key].join("|");
|
|||
|
if(!this._cache||!this._cache[n])return this._cache&&(this._cache[n]=!0),this._xhr(o),
|
|||
|
e.BadJs;
|
|||
|
},
|
|||
|
_xhr:function(e){
|
|||
|
var o;
|
|||
|
if(window.ActiveXObject)try{
|
|||
|
o=new ActiveXObject("Msxml2.XMLHTTP");
|
|||
|
}catch(n){
|
|||
|
try{
|
|||
|
o=new ActiveXObject("Microsoft.XMLHTTP");
|
|||
|
}catch(t){
|
|||
|
o=!1;
|
|||
|
}
|
|||
|
}else window.XMLHttpRequest&&(o=new XMLHttpRequest);
|
|||
|
var r="";
|
|||
|
for(var i in e)i&&e[i]&&(r+=[i,"=",encodeURIComponent(e[i]),"&"].join(""));
|
|||
|
if(o&&o.open)o.open("POST","https://badjs.weixinbridge.com/report",!0),o.setRequestHeader("Content-Type","application/x-www-form-urlencoded; charset=UTF-8"),
|
|||
|
o.onreadystatechange=function(){},o.send(r.slice(0,-1));else{
|
|||
|
var a=new Image;
|
|||
|
a.src="https://badjs.weixinbridge.com/report?"+r;
|
|||
|
}
|
|||
|
},
|
|||
|
report:function(e,n,t){
|
|||
|
return this.onError(o(e,n),t),this;
|
|||
|
},
|
|||
|
mark:function(e){
|
|||
|
this._info=i(this._info,e);
|
|||
|
},
|
|||
|
nocache:function(){
|
|||
|
return this._cache=!1,e.BadJs;
|
|||
|
}
|
|||
|
},window.addEventListener&&window.addEventListener("error",e.BadJs.winErr),window.addEventListener&&window.addEventListener("unhandledrejection",e.BadJs.winErr),
|
|||
|
e.BadJs;
|
|||
|
}
|
|||
|
}(WX_BJ_REPORT),window.WX_BJ_REPORT=WX_BJ_REPORT,__moonf__(); }, 25);</script><script nonce="1032235604">
|
|||
|
|
|||
|
(function() {
|
|||
|
var ua = window.navigator.userAgent;
|
|||
|
if (/MicroMessenger\/([\d\.]+)/i.test(ua) && /wxwork/i.test(ua)) {
|
|||
|
var profileName = document.getElementById('js_name');
|
|||
|
var authorName = document.getElementById('js_author_name');
|
|||
|
var accountNames = document.getElementsByClassName('account_nickname_inner');
|
|||
|
if (profileName) {
|
|||
|
profileName.classList.add('tips_global_primary');
|
|||
|
}
|
|||
|
if (authorName) {
|
|||
|
authorName.classList.add('tips_global_primary');
|
|||
|
}
|
|||
|
if (accountNames && accountNames.length) {
|
|||
|
accountNames[0].classList.add('tips_global_primary');
|
|||
|
}
|
|||
|
}
|
|||
|
})();
|
|||
|
</script>
|
|||
|
<script nonce="1032235604">
|
|||
|
|
|||
|
(function() {
|
|||
|
var ua = navigator.userAgent;
|
|||
|
if (ua.indexOf("MicroMessenger") != -1 && ua.indexOf("Android") != -1){
|
|||
|
var script = document.createElement('script');
|
|||
|
var head = document.getElementsByTagName('head')[0];
|
|||
|
script.type = 'text/javascript';
|
|||
|
script.src = "https://midas.gtimg.cn/h5sdk/js/api/h5sdk.js";
|
|||
|
head.appendChild(script);
|
|||
|
}
|
|||
|
})();
|
|||
|
</script>
|
|||
|
|
|||
|
<script nonce="1032235604" type="text/javascript">
|
|||
|
var real_show_page_time = +new Date();
|
|||
|
if (!!window.addEventListener){
|
|||
|
window.addEventListener("load", function(){
|
|||
|
window.onload_endtime = +new Date();
|
|||
|
});
|
|||
|
}
|
|||
|
|
|||
|
</script>
|
|||
|
|
|||
|
</body>
|
|||
|
</html>
|
|||
|
|
|||
|
|