Crawler_Illegal_Cases_In_China/case3/只因写了一段爬虫,公司200多人被抓!_files/mpAdAsync485651.js

1099 lines
400 KiB
JavaScript
Raw Normal View History

2019-10-16 20:25:46 +08:00
define("appmsg/review_image.js",["biz_common/dom/event.js","biz_wap/jsapi/core.js","biz_common/utils/url/parse.js","appmsg/log.js","biz_wap/utils/ajax.js","biz_wap/utils/mmversion.js","appmsg/cdn_img_lib.js"],function(e){
"use strict";
function t(e,t,o,a){
var i={
current:e,
urls:t,
currentInfo:{
url:e,
data:o,
pos:a
}
};
console.log("imagePreview request",i),console.log("previewFlag",g),g||(g=!0,r.invoke("imagePreview",i,function(e){
console.log("imagePreview response",e),window.__addIdKeyReport&&window.__addIdKeyReport("28307","2");
}),setTimeout(function(){
g=!1;
},500),d("[Appmsg] click image, src: "+e));
}
function o(e,t){
s({
url:"/mp/rewardappmsgreport",
data:{
__biz:window.biz||"",
mid:window.mid||"",
idx:window.idx||"",
oper:t||"",
cdn_url:e||"",
ascene:window.ascene||-1
},
type:"POST",
dataType:"json",
async:!0
});
}
function a(e){
var a=[],r=e.container,d=e.imgs||[];
if(r)for(var s=r.getElementsByTagName("img")||[],g=0,l=s.length;l>g;g++)d.push(s.item(g));
for(var c=p.isIOS&&1==window._copyright_stat&&1==window.is_need_reward,m=0,g=0,l=d.length;l>g;g++){
var w=d[g],u=w.getAttribute("data-src")||w.getAttribute("src"),h=w.getAttribute("data-type");
if(u&&!u.isGif()&&0!=u.indexOf("data:")){
for(;-1!=u.indexOf("?tp=webp");)u=u.replace("?tp=webp","");
w.dataset&&w.dataset.s&&u.isCDN()&&(u=u.replace(/\/640$/,"/0"),u=u.replace(/\/640\?/,"/0?")),
u.isCDN()&&(u=n.addParam(u,"wxfrom","3",!0)),u=e.is_https_res?u.http2https():u.https2http(),
h&&(u=n.addParam(u,"wxtype",h,!0)),a.push(u),"1"!=w.getAttribute("data-nopreviewclick")&&!function(e){
p.isAndroid&&w.setAttribute("data-wxsrc",e),i.on(w,"click",function(i){
if(i.stopPropagation(),!(i&&i.target&&i.target.className&&i.target.className.indexOf("img_loadederror")>-1)){
if("function"==typeof window.__addIdKeyReport&&window.__addIdKeyReport("110644",2),
window.getComputedStyle){
for(var r=i.target,n=r.getBoundingClientRect(),d=.15*n.width,s=.15*n.height,g=!0;r&&"body"!=r.nodeName.toLowerCase();){
var l=window.getComputedStyle(r,null),w=parseInt(l.getPropertyValue("opacity")),u=l.getPropertyValue("filter"),h=l.getPropertyValue("visibility"),f=l.mixBlendMode;
if(1!=w||"visible"!=h||u.indexOf("opacity")>=0||u.indexOf("blur")>=0||f&&"normal"!=f){
g=!1;
break;
}
var b=r.getBoundingClientRect();
if(("hidden"==l.overflow||"hidden"==l.overflowX||"hidden"==l.overflowY)&&(b.left-n.left>d||b.right-n.right<-1*d||b.top-n.top>s||b.bottom-n.bottom<-1*s)){
g=!1;
break;
}
r=r.parentElement;
}
if(!g){
if(console.log("don't try this again"),"function"==typeof window.__addIdKeyReport){
window.__addIdKeyReport("110644",3);
var y=new Image,_="https://badjs.weixinbridge.com/badjs?id=168&level=4&from="+encodeURIComponent(location.href)+"&msg="+encodeURIComponent(e);
y.src=_.slice(0,1024);
}
return!1;
}
}
"undefined"==typeof getComputedStyle&&(window.getComputedStyle=document.body.currentStyle?function(e){
return e.currentStyle;
}:{});
var v=i.target,j=window.getComputedStyle(v),F=v.getBoundingClientRect(),x=document.createElement("canvas");
x.style.width=j.width,x.style.height=j.height,x.width=parseFloat(j.width),x.height=parseFloat(j.height);
var C=x.getContext("2d"),I="";
C.drawImage(v,0,0,parseFloat(j.width),parseFloat(j.height));
try{
I=x.toDataURL();
}catch(i){}
p.isAndroid&&(I=""),t(e,a,I,{
x:F.left-parseFloat(j.paddingLeft)-parseFloat(j.borderLeftWidth),
y:F.top-parseFloat(j.paddingTop)-parseFloat(j.borderTopWidth),
width:F.width-parseFloat(j.paddingLeft)-parseFloat(j.paddingRight)-parseFloat(j.borderLeftWidth)-parseFloat(j.borderRightWidth),
height:F.height-parseFloat(j.paddingTop)-parseFloat(j.paddingBottom)-parseFloat(j.borderTopWidth)-parseFloat(j.borderBottomWidth)
}),c&&0==m&&o(i.target.src,2);
}
});
}(u),w.removeAttribute("data-nopreviewclick");
}
}
if(c){
var f=document.getElementById("js_content"),b=0,y=0;
i.on(f,"touchstart",function(e){
return e&&e.target&&e.target.tagName&&"string"==typeof e.target.tagName&&"IMG"==e.target.tagName.toString().toUpperCase()?(m=+new Date,
b=e.touches[0].pageX,void(y=e.touches[0].pageY)):void(m=0);
}),i.on(f,"touchmove",function(e){
var t=e.touches[0].pageX,o=e.touches[0].pageY;
Math.abs(t-b)>10&&Math.abs(o-y)>10&&(m=0);
}),i.on(f,"touchend",function(e){
0!=m&&(+new Date-m>800&&+new Date-m<6e3?o(e.target.src,1):m=0);
});
}
}
var i=e("biz_common/dom/event.js"),r=e("biz_wap/jsapi/core.js"),n=e("biz_common/utils/url/parse.js"),d=e("appmsg/log.js"),s=e("biz_wap/utils/ajax.js"),p=e("biz_wap/utils/mmversion.js"),g=!1;
return e("appmsg/cdn_img_lib.js"),a;
});define("appmsg/outer_link.js",["biz_common/dom/event.js","appmsg/open_url_with_webview.js","biz_wap/jsapi/core.js","biz_wap/utils/mmversion.js","biz_wap/utils/ajax.js","appmsg/popup_report.js"],function(e){
"use strict";
function t(e){
e.preventDefault();
}
function o(e){
var t=e.innerHTML,o=/<img.*src=[\'\"]/,i=/background-image:(\s*)url\(/,n=/background:[^;"']+url\(/;
return o.test(t)||i.test(t)||n.test(t)?!0:!1;
}
function i(e){
var t=e.innerHTML,o=e.style.fontSize;
return 0===t.trim().length||0===parseFloat(o)?!0:!1;
}
function n(e,t){
var o=e.getElementsByClassName("weui-dialog__bd")[0],i=e.getElementsByClassName("weui-dialog")[0];
if(e.getElementsByClassName("weui-dialog__hd")&&e.getElementsByClassName("weui-dialog__hd").length>0&&i.removeChild(e.getElementsByClassName("weui-dialog__hd")[0]),
t.title&&t.desc){
var n=document.createElement("div");
n.setAttribute("class","weui-dialog__hd");
var r='<strong class="weui-dialog__title">'+t.title+"</strong>";
n.innerHTML=r,o.innerText=t.desc,i.insertBefore(n,o);
}else o.innerText=t.desc;
}
function r(e){
var r=e.container;
if(!r)return!1;
for(var _=r.getElementsByTagName("a")||[],w=0,y=_.length;y>w;++w)!function(r){
var w=_[r],y=w.getAttribute("href");
if(!y)return!1;
var j=0,h=w.innerHTML;
/^[^<>]+$/.test(h)?j=1:/^<img[^>]*>$/.test(h)&&(j=2);
var v=w.getAttribute("data-linktype"),b=w.getAttribute("href");
s.on(w,"tap",function(r){
var s=w.getAttribute("href");
if(!s)return!1;
!!e.changeHref&&!/^https?:\/\/mp\.weixin\.qq\.com\/cgi-bin\//.test(s)&&(s=e.changeHref(s,j)),
r.preventDefault();
var _="";
c[w.getAttribute("data-itemshowtype")]&&(_=c[w.getAttribute("data-itemshowtype")]);
document.getElementById("js_link_dialog_name");
return u[b]&&u[b].subject_name&&"0"===u[b].item_show_type&&u[b].title?n(g,{
title:'即将打开公众号 "'+u[b].subject_name+'" 的'+c[u[b].item_show_type],
desc:f.innerText="《"+u[b].title+"》"
}):u[b]&&u[b].subject_name&&u[b].item_show_type>=0?n(g,{
desc:'即将打开公众号 "'+u[b].subject_name+'" 的'+c[u[b].item_show_type]
}):n(g,{
desc:"即将打开新的页面"
}),r.stopPropagation(),"undefined"==typeof d[b]&&(b.indexOf("mp.weixin.qq.com/s/")>-1||b.indexOf("mp.weixin.qq.com/s?")>-1)?(new Image).src=location.protocol+"//mp.weixin.qq.com/mp/jsmonitor?idkey=110809_6_1&r="+Math.random():"undefined"==typeof d[b]&&((new Image).src=location.protocol+"//mp.weixin.qq.com/mp/jsmonitor?idkey=110809_7_1&r="+Math.random()),
d=function(){
return u[b]&&u[b].item_show_type>=0&&s.indexOf("mp.weixin.qq.com")>-1&&(p.isIOS||p.isAndroid)&&!p.isInMiniProgram&&p.isWechat?1==w.getAttribute("clicked")?!1:(m.invoke("openWebViewUseFastLoad",{
url:s,
item_show_type:u[b].item_show_type,
openType:0,
scene:1
},function(e){
console.log("openWebViewUseFastLoad res: ",e),e&&e.err_msg&&-1==e.err_msg.indexOf("ok")?m.invoke("openUrlWithExtraWebview",{
url:s,
openType:1
},function(e){
w.setAttribute("clicked",0),e&&e.err_msg&&-1==e.err_msg.indexOf("ok")&&(window.location.href=url);
}):(w.setAttribute("clicked",0),(new Image).src=location.protocol+"//mp.weixin.qq.com/mp/jsmonitor?idkey=28839_37_1");
}),!1):void(p.isAndroid||p.isIOS?a(s,{
sample:1,
reject:function(){
location.href=s;
}
}):location.href=s);
},("1"===v||o(w)||i(w))&&l.report([2,l.getRedirectType(b),"",img_popup?1:0,window.source,l.getUrlData(b)]),
("1"===v||o(w)||i(w))&&img_popup?(console.log("tap img link"),g.style.display="block",
g._url=b,(o(w)||i(w))&&((new Image).src=location.protocol+"//mp.weixin.qq.com/mp/jsmonitor?idkey=110809_8_1&r="+Math.random(),
g._type="OTHER"),document.querySelector("body").addEventListener("touchmove",t,{
passive:!1
})):d(),!1;
},!0),s.on(w,"click",function(e){
("1"===v||"2"===v||o(w)||i(w))&&img_popup&&(e.preventDefault(),e.stopPropagation());
},!0);
}(w);
}
var s=e("biz_common/dom/event.js"),a=e("appmsg/open_url_with_webview.js"),m=e("biz_wap/jsapi/core.js"),p=e("biz_wap/utils/mmversion.js"),l=(e("biz_wap/utils/ajax.js"),
e("appmsg/popup_report.js")),c={
0:"文章",
11:"文章",
8:"图片",
7:"语音",
5:"视频"
},u={};
if("undefined"!=typeof jumpInfo)for(var _=0;_<jumpInfo.length;_++)u[jumpInfo[_].url]={
title:jumpInfo[_].title,
item_show_type:jumpInfo[_].item_show_type,
subject_name:jumpInfo[_].subject_name,
link_type:jumpInfo[_].link_type
};
var d=function(){},g=document.getElementById("js_link_dialog"),f=(document.getElementById("js_link_dialog_head"),
document.getElementById("js_link_dialog_body"));
return s.on(document.getElementById("js_link_dialog_ok"),"tap",function(e){
e.stopPropagation(),e.preventDefault(),"OTHER"===g._type&&((new Image).src=location.protocol+"//mp.weixin.qq.com/mp/jsmonitor?idkey=110809_10_1&r="+Math.random()),
l.report([4,l.getRedirectType(g._url),"",img_popup?1:0,window.source,l.getUrlData(g._url)]),
document.querySelector("body").removeEventListener("touchmove",t),d&&d(),g.style.display="none";
}),s.on(document.getElementById("js_link_dialog_cancel"),"tap",function(e){
e.stopPropagation(),e.preventDefault(),document.querySelector("body").removeEventListener("touchmove",t),
"OTHER"===g._type&&((new Image).src=location.protocol+"//mp.weixin.qq.com/mp/jsmonitor?idkey=110809_9_1&r="+Math.random()),
g.style.display="none",l.report([3,l.getRedirectType(g._url),"",img_popup?1:0,window.source,l.getUrlData(g._url)]);
}),r;
});define("appmsg/copyright_report.js",["common/utils.js","biz_common/dom/event.js"],function(o){
"use strict";
function i(o){
var i=["/mp/copyrightreport?action=report&biz=",biz,"&scene=",o.scene,"&user_uin=",user_uin,"&uin=",uin,"&key=",key,"&pass_ticket=",pass_ticket,"&mid=",window.mid,"&idx=",window.idx,"&source_biz=",window.source_biz,"&source_mid=",window.source_mid,"&source_idx=",window.source_idx,"&card_version=2","&show_appmsg_scene=",window.source,"&session_id=",window.sessionid,"&has_recommend_msg=",window.hasRecommendMsg,"&t=",Math.random()].join("");
window.isSg&&(i+="&from=sougou");
var e=new Image;
e.src=i.substr(0,1024);
}
function e(){
var o=__appmsgCgiData;
if("2"==o.copyright_stat){
for(var i=r("copyright_info"),e=r("js_article");i&&e!==i;)c.copyright_top+=i.offsetTop,
i=i.offsetParent;
t.on(window,"scroll",n),n();
}
}
function n(){
var o=window.pageYOffset||document.documentElement.scrollTop;
o+s.getInnerHeight()>c.copyright_top&&(i({
scene:"1",
card_pos:"0"
}),t.off(window,"scroll",n),n=c.copyright_top=null);
}
function r(o){
return document.getElementById(o);
}
var s=o("common/utils.js"),t=o("biz_common/dom/event.js"),c={
copyright_top:0
};
return{
card_click_report:i,
card_pv_report:e
};
});define("appmsg/async.js",["biz_common/utils/string/html.js","appmsg/reward_utils.js","appmsg/comment_utils.js","pages/create_txv.js","pages/video_ctrl.js","biz_common/utils/url/parse.js","appmsg/img_copyright_tpl.html.js","appmsg/appmsgext.js","appmsg/share_tpl.html.js","biz_common/dom/event.js","biz_wap/utils/ajax.js","biz_wap/jsapi/core.js","biz_common/tmpl.js","complain/localstorage.js","appmsg/log.js","rt/appmsg/getappmsgext.rt.js","a/a_utils.js","pages/version4video.js","appmsg/like.js","appmsg/iframe.js","appmsg/more_read.js"],function(e,t,i,r){
"use strict";
function a(){
for(var t=document.getElementsByTagName("iframe"),i=[],r=0,a=t.length;a>r;++r)i.push(t[r]);
t=null;
var o=document.getElementById("js_content"),s=o.offsetWidth,d=s/w.getRatio();
window.logs.video_cnt=0;
for(var r=0,a=i.length;a>r;++r){
var _=i[r],m=_.getAttribute("data-src")||"",c=_.getAttribute("src")||m;
if(c){
var l=e("pages/version4video.js");
if(0==c.indexOf("http://z.weishi.com/weixin/player.html"))c=c.replace(/width=\d+/g,"width="+s),
c=c.replace(/height=\d+/g,"height="+d),_.width=s,_.height=d,_.style.setProperty&&(_.style.setProperty("width",s+"px","important"),
_.style.setProperty("height",d+"px","important")),_.setAttribute("src",c),window.__addIdKeyReport&&window.__addIdKeyReport("28307",10),
window.logs.video_cnt++;else{
if(/http(s)*\:\/\/v\.qq\.com\/iframe\/(preview|player)\.html\?/.test(c)){
if(!l.isShowMpVideo()){
var p;
p=n(f?_:_),p&&A.push(p),"function"==typeof window.__addIdKeyReport&&(window.__addIdKeyReport("28307",10),
l.device.inWechat&&l.device.inWindowWechat?window.__addIdKeyReport("110644",0):l.device.inWechat&&l.device.inMacWechat&&window.__addIdKeyReport("110644",1));
}
window.logs.video_cnt++;
continue;
}
/^http(s)*\:\/\/mp\.weixin\.qq\.com\/mp\/readtemplate\?t=pages\/video_player_tmpl/.test(c)&&window.logs.video_cnt++;
}
}
}
A.length>0&&"function"==typeof window.__getVideoWh&&b.on(window,"resize",function(){
try{
for(var e=0,t=A.length;t>e;e++){
var i=A[e],r=i.playerObj;
if(r){
var a=window.__getVideoWh(i);
i.style.width=a.w+"px",i.style.height=a.h+"px",r.resize({
width:a.vw,
height:a.vh
});
}
}
}catch(n){}
},!1);
}
function n(e){
var t=e.getAttribute("data-src")||e.getAttribute("src"),i=u.getQuery("vid",t),r=e.getAttribute("data-vw"),a=e.getAttribute("data-vh"),n=e.getAttribute("data-ratio"),s=document.createElement("span");
s.setAttribute("data-ratio",n),s.id="js_tx_video_container_"+Math.random(),s.className="js_tx_video_container",
s.style.cssText=e.style.cssText,s.style.display="none";
var d=e.parentNode;
return d?(d.lastChild===e?d.appendChild(s):d.insertBefore(s,e.nextSibling),p.createTxVideo({
containerId:s.id,
vid:i,
width:r,
height:a,
autoplay:!1,
allowFullScreen:!0,
onSuccess:function(e){
s.playerObj=e.player,o(s,i),s.style.display="block";
},
onError:function(){}
}),d.removeChild(e),s):void 0;
}
function o(e,t){
if(t&&e){
var i=e.parentNode;
if(i){
for(var r=[],a=0,n=i.children.length;n>a;a++){
var o=i.children[a];
o.className.indexOf("img_loading")>=0&&o.getAttribute("data-vid")==t&&r.push(o);
}
for(var a=0,n=r.length;n>a;a++)i.removeChild(r[a]);
e.style.display="block";
}
}
}
function s(e){
if(e&&e.img_copy_info&&e.img_copy_info.list){
for(var t={},i=e.img_copy_info.list,r=window.__appmsgCgiData.copyright_stat,a=window.__appmsgCgiData.source_biz,n=0,o=i.length;o>n;n++){
var s=i[n];
if(2==s.type){
if(2==r&&a==s.source_uin)continue;
t[s.img_url]={
source_nickname:s.source_nickname,
source_uin:s.source_uin,
source_encode_biz:s.source_encode_biz||""
};
}
}
for(var d=document.getElementsByTagName("img"),n=0,o=d.length;o>n;n++){
var s=d[n],_=s.getAttribute("data-src")||s.getAttribute("data-backsrc")||"";
if(t[_]){
var m=document.createElement("div");
m.innerHTML=j.tmpl(g,t[_]);
{
var c=m.children[0],l=s.parentNode,p=l.insertBefore(c,s),w=p.children[0];
(function(e,t){
b.on(t,"click",function(){
var t="https://mp.weixin.qq.com/mp/profile_ext?action=home&__biz="+e.source_encode_biz+"&scene=112#wechat_redirect";
return-1!=navigator.userAgent.indexOf("WindowsWechat")||-1!=navigator.userAgent.indexOf("Mac OS")?(location.href=t,
!1):(k.invoke("openUrlWithExtraWebview",{
url:t,
openType:1
},function(e){
-1==e.err_msg.indexOf("ok")&&(location.href=t);
}),!1);
});
})(t[_],w);
}
p.insertBefore(s,w);
}
}
}
}
function d(t){
var i=t.appmsgstat||{};
if(window.appmsgstat||(window.appmsgstat=i),i.show){
{
var a=document.getElementById("js_read_area3"),n=document.getElementById("like3"),o=document.getElementById("like_old"),s=document.getElementById("likeNum3"),d=document.getElementById("likeNum_old"),_=document.getElementById("readNum3");
document.getElementById("js_like_title");
}
if(!(a&&n&&s&&_))return;
var m,p,w=e("appmsg/like.js");
1==appmsg_like_type?(m=o,p=d):(m=n,p=s),i.liked=window.is_temp_url?window.liked:i.liked,
w.showReadNum({
show:!0,
readAreaDom:a,
readNumDom:_,
readAreaDisplayValue:"block",
readNum:window.is_temp_url?window.read_num:i.read_num
}),k.invoke("handleHaokanAction",{
imgUrl:ori_head_img_url?ori_head_img_url:"",
link:msg_link.html(!1),
desc:msg_desc?msg_desc:"",
title:msg_title?msg_title.htmlDecode():"",
action:"update_recommend_status",
permission:i.like_disabled||2!==appmsg_like_type?0:1,
recommend:i.liked?1:0
},function(){}),i.like_disabled||(w.showLikeNum({
show:!0,
likeAreaDom:m,
likeNumDom:p,
liked:i.liked,
className:1===appmsg_like_type?"praised":"like_btn_liked",
likeAreaDisplayValue:"inline",
likeNum:window.is_temp_url?window.like_num:i.like_num
}),w.initLikeEvent({
likeAreaDom:m,
likeNumDom:p,
className:1===appmsg_like_type?"praised":"like_btn_liked",
prompted:i.prompted,
biz:window.biz,
mid:window.mid,
idx:window.idx,
appmsgid:window.appmsgid,
itemidx:window.itemidx,
is_temp_url:window.is_temp_url,
showType:i.style
}));
}
var u=document.getElementById("js_share_appmsg");
t.share_redirect_url&&u&&(window._share_redirect_url=t.share_redirect_url,u.innerHTML=j.tmpl(y,{
url:t.share_redirect_url
})),l.initCommentByExtData(t),I.setBackgroundClass(),c.init(t.reward,{
reward_entrance_enable_for_preview:t.reward_entrance_enable_for_preview,
reward_wording:t.reward_wording,
reward_author_head:t.reward_author_head
});
var g=document.getElementById("js_cmt_container");
1==t.comment_entrance_enable_for_preview&&window.is_temp_url&&g&&(g.style.display="block"),
t.comment_entrance_enable_for_preview&&(document.getElementById("js_preview_cmt")&&(document.getElementById("js_preview_cmt").style.display="block"),
b.on(document.getElementById("js_preview_cmt_write"),"tap",function(e){
e.preventDefault(),r("预览状态下无法操作");
})),t.comment_enabled&&g&&(g.style.display="block");
}
function _(e){
k.invoke("currentMpInfo",{
userName:window.user_name,
brandName:window.title,
brandIcon:window.hd_head_img.replace(/\/0$/,"/132"),
desc:e
});
}
function m(){
var t=0,i="27613",r="50";
h.getData({
biz:biz,
appmsg_type:appmsg_type,
mid:mid,
sn:sn,
idx:idx,
scene:source,
title:msg_title,
ct:ct,
abtest_cookie:abtest_cookie,
devicetype:devicetype,
version:window.clientversion,
is_need_ticket:A&&A.length>0?1:0,
is_need_ad:0,
comment_id:comment_id,
is_need_reward:is_need_reward,
both_ad:0,
reward_uin_count:is_need_reward?3*c.getCountPerLine({
can_reward:!0
})-1:0,
send_time:window.send_time||"",
msg_daily_idx:msg_daily_idx,
item_show_type:window.item_show_type,
is_original:t,
is_only_read:is_only_read,
req_id:window.req_id||"",
pass_ticket:pass_ticket,
is_temp_url:window.is_temp_url||0,
more_read_type:more_read_type||0,
rtId:i,
rtKey:r,
appmsg_like_type:window.appmsg_like_type,
onSuccess:function(t){
if(t)try{
var a="";
if(t.friend_subscribe_count>0?(a=t.friend_subscribe_count+"位朋友关注",_(a),x.set("currentMpInfoDesc"+biz,a)):t.original_article_count>0&&(a=t.original_article_count+"篇原创文章",
_(a),x.set("currentMpInfoDesc"+biz,a)),t&&t.base_resp&&t.base_resp.wxtoken&&(window.wxtoken=t.base_resp.wxtoken),
window.fromWeixinCached&&e("appmsg/iframe.js"),s(t),t.ret)return;
var n=document.getElementById("js_more_read_area");
n&&t&&t.more_read_list&&t.more_read_list.length&&e("appmsg/more_read.js")(n,t.more_read_list),
d({
appmsgstat:t.appmsgstat,
comment_enabled:t.comment_enabled,
comment_count:t.comment_count,
friend_comment_enabled:t.friend_comment_enabled,
only_fans_can_comment:t.only_fans_can_comment,
reward:{
reward_total:t.reward_total_count,
reward_head_imgs:t.reward_head_imgs||[],
can_reward:t.can_reward,
user_can_reward:t.user_can_reward,
reward_qrcode_ticket:t.reward_qrcode_ticket,
timestamp:t.timestamp,
reward_author_head:t.reward_author_head,
rewardsn:t.rewardsn,
scene:source,
is_need_reward:is_need_reward,
title:msg_title,
author_id:author_id,
appmsgextRtId:i,
appmsgextRtKey:r
},
reward_entrance_enable_for_preview:t.reward_entrance_enable_for_preview,
reward_wording:t.reward_wording,
reward_author_head:t.reward_author_head,
comment_entrance_enable_for_preview:t.comment_entrance_enable_for_preview,
share_redirect_url:t.share_redirect_url||"",
logo_url:t.logo_url,
nick_name:t.nick_name,
is_fans:t.is_fans
});
}catch(o){
z("[Appmsg] error parse async data, biz="+biz+", mid="+mid);
var m=new Image;
return m.src=("http://mp.weixin.qq.com/mp/jsreport?1=1&key=1&content=biz:"+biz+",mid:"+mid+",uin:"+uin+"[key1]"+encodeURIComponent(o.toString())+"&r="+Math.random()).substr(0,1024),
void(console&&console.error(o));
}
},
onError:function(){
var e=new Image;
e.src="http://mp.weixin.qq.com/mp/jsreport?1=1&key=2&content=biz:"+biz+",mid:"+mid+",uin:"+uin+"[key2]ajax_err&r="+Math.random();
}
});
}
e("biz_common/utils/string/html.js");
var c=e("appmsg/reward_utils.js"),l=e("appmsg/comment_utils.js"),p=e("pages/create_txv.js"),w=e("pages/video_ctrl.js"),u=e("biz_common/utils/url/parse.js"),g=e("appmsg/img_copyright_tpl.html.js"),h=e("appmsg/appmsgext.js"),y=e("appmsg/share_tpl.html.js"),v=navigator.userAgent,f=-1!=v.indexOf("MicroMessenger"),b=(-1!=navigator.userAgent.indexOf("WindowsWechat"),
e("biz_common/dom/event.js")),k=(e("biz_wap/utils/ajax.js"),e("biz_wap/jsapi/core.js")),j=e("biz_common/tmpl.js"),x=e("complain/localstorage.js"),z=e("appmsg/log.js"),I=(e("rt/appmsg/getappmsgext.rt.js"),
e("a/a_utils.js")),A=[];
a(),m();
});define("biz_wap/ui/lazyload_img.js",["biz_wap/utils/mmversion.js","biz_common/dom/event.js","biz_common/dom/attr.js","biz_common/ui/imgonepx.js"],function(t){
"use strict";
function i(){
var t=this.images;
if(!t||t.length<=0)return!1;
var i=window.pageYOffset||document.documentElement.scrollTop,e=window.innerHeight||document.documentElement.clientHeight,o=this.offset||60,n=0;
if("wifi"==window.networkType){
var s={
bottom:1,
top:1
};
this.lazyloadHeightWhenWifi&&(s=this.lazyloadHeightWhenWifi()),o=Math.max(s.bottom*e,o),
n=Math.max(s.top*e,n);
}
for(var r=+new Date,c=[],d=this.sw,f=this,g=-1,u=0,p=t.length;p>u;u++)!function(t,i){
var s=t.el.getBoundingClientRect(),r=t.src;
if(r){
(r.match(/\:\/\/[^\/]+\/mmbiz\//)&&r.indexOf("wx_fmt=gif")>-1||r.match(/\:\/\/[^\/]+\/mmbiz_gif\//))&&g++;
var f=n,u=o;
(r.match(/\:\/\/[^\/]+\/mmbiz\//)&&r.indexOf("wx_fmt=gif")>-1||r.match(/\:\/\/[^\/]+\/mmbiz_gif\//))&&l&&(f=0,
u=60),!t.show&&(s.top<=0&&s.top+s.height+f>=0||s.top>0&&s.top<e+u)&&(i.inImgRead&&(s.top<=0&&s.top+s.height>=0||s.top>0&&s.top<e)&&i.inImgRead(r,networkType),
i.changeSrc&&(r=i.changeSrc(t.el,r,g)),t.el.onerror=function(){
var e=this;
!!i.onerror&&i.onerror(t.el.src,e);
},t.el.onload=function(){
var e=this;
if("data:image/gif;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVQImWNgYGBgAAAABQABh6FO1AAAAABJRU5ErkJggg=="!=e.src){
var o=e.getAttribute("data-forceheight");
o?(e.removeAttribute("data-forceheight"),h(e,"height",o,"important")):h(e,"height","auto","important"),
e.getAttribute("_width")?h(e,"width",e.getAttribute("_width"),"important"):h(e,"width","auto","important"),
!!i.onload&&i.onload(t.el.src,e);
}
},m(t.el,"src",r),c.push(r),t.show=!0,h(t.el,"visibility","visible","important")),
a.isWp&&1*t.el.width>d&&(t.el.width=d);
}
}(t[u],f);
c.length>0&&this.detect&&this.detect({
time:r,
loadList:c,
scrollTop:i
});
}
function e(){
var t=document.getElementsByTagName("img"),e=[],o=this.container,n=this.attrKey||"data-src",a=o.offsetWidth,s=0,r=this.imgOccupied||!1,l=this.crossOrigin||!1;
o.currentStyle?s=o.currentStyle.width:"undefined"!=typeof getComputedStyle&&(s=getComputedStyle(o).width),
this.sw=1*s.replace("px","");
for(var d=0,f=t.length;f>d;d++){
var g=t.item(d),u=m(g,n),p=m(g,"src");
if(u&&!(p&&p.indexOf("data:image/gif;base64")<0)){
var w=100;
if(g.dataset&&g.dataset.ratio){
var A=1*g.dataset.ratio,b=1*g.dataset.w||a;
"number"==typeof A&&A>0?(b=a>=b?b:a,w=b*A,r||(g.style.width&&g.setAttribute("_width",g.style.width),
h(g,"width",b+"px","important"),h(g,"visibility","visible","important"),g.setAttribute("src",c))):h(g,"visibility","hidden","important");
}else h(g,"visibility","hidden","important");
r||h(g,"height",w+"px","important"),l&&-1==u.indexOf("mmsns.qpic.cn")&&!(u.match(/\:\/\/[^\/]+\/mmbiz\//)&&u.indexOf("wx_fmt=gif")>-1||u.match(/\:\/\/[^\/]+\/mmbiz_gif\//))&&(g.crossOrigin="anonymous"),
e.push({
el:g,
src:u,
height:w,
show:!1
});
}
}
this.images=e,i.call(this);
}
function o(t){
if(this.__called_first_time)i.call(this,t),this.__called_first_time=!1;else if(!this.debounce){
this.debounce=!0;
var e=this;
setTimeout(function(){
i.call(e,t),e.debounce=!1;
},500);
}
}
function n(t){
s.on(window,"scroll",function(i){
o.call(t,i);
}),setTimeout(function(){
e.call(t,{});
},0),s.on(document,"touchmove",function(i){
o.call(t,i);
}),t.__called_first_time=!0,o.call(t,{});
}
var a=t("biz_wap/utils/mmversion.js"),s=t("biz_common/dom/event.js"),r=t("biz_common/dom/attr.js"),m=r.attr,h=r.setProperty,c=t("biz_common/ui/imgonepx.js"),l=!0;
return n;
});define("biz_common/log/jserr.js",[],function(){
function e(e,n){
return e?(r.replaceStr&&(e=e.replace(r.replaceStr,"")),n&&(e=e.substr(0,n)),encodeURIComponent(e.replace("\n",","))):"";
}
var r={};
return window.onerror=function(n,o,t,c,i){
return"Script error."==n||o?"undefined"==typeof r.key||"undefined"==typeof r.reporturl?!0:void setTimeout(function(){
c=c||window.event&&window.event.errorCharacter||0;
var l=[];
if(l.push("msg:"+e(n,100)),o&&(o=o.replace(/[^\,]*\/js\//g,"")),l.push("url:"+e(o,200)),
l.push("line:"+t),l.push("col:"+c),i&&i.stack)l.push("info:"+e(i.stack.toString(),200));else if(arguments.callee){
for(var s=[],u=arguments.callee.caller,a=3;u&&--a>0&&(s.push(u.toString()),u!==u.caller);)u=u.caller;
s=s.join(","),l.push("info:"+e(s,200));
}
var p=new Image;
if(p.src=(r.reporturl+"&key="+r.key+"&content="+l.join("||")).substr(0,1024),window.console&&window.console.log){
var f=l.join("\n");
try{
f=decodeURIComponent(f);
}catch(d){}
console.log(f);
}
},0):!0;
},function(e){
r=e;
};
});define("appmsg/share.js",["biz_common/utils/string/html.js","appmsg/cdn_img_lib.js","biz_common/jquery.md5.js","biz_common/dom/event.js","biz_common/utils/url/parse.js","biz_wap/utils/mmversion.js","appmsg/appmsg_report.js","appmsg/malicious_wording.js","biz_wap/utils/ajax.js","biz_wap/jsapi/core.js"],function(e){
"use strict";
function i(e,i,n){
var t="",o="";
try{
""!=tid&&(o="tid="+tid+"&aid=54");
var s=e.split("?")[1]||"";
if(s=s.split("#")[0],""==s);else{
var m=[s,"mpshare=1","scene="+i,"srcid="+srcid,"sharer_sharetime="+n,"sharer_shareid="+r];
""!=o&&m.push(o),s=m.join("&"),t=e.split("?")[0]+"?"+s+"#"+(e.split("#")[1]||"");
}
}catch(a){
t="";
}
return t||(t=location.href+"#wechat_redirect",(new Image).src=location.protocol+"//mp.weixin.qq.com/mp/jsmonitor?idkey=28307_47_1&lc=1&log0=[share_link]["+encodeURIComponent(location.href)+"]["+encodeURIComponent(e)+"]["+encodeURIComponent(msg_link)+"]"),
t;
}
function n(e,i,n,t){
m.shareReport({
link:e,
action_type:n,
sharer_sharetime:t,
sharer_shareid:r
});
}
function t(e,i){
return e.isCDN()&&(e=o.addParam(e,"wxfrom",i,!0)),e;
}
e("biz_common/utils/string/html.js"),e("appmsg/cdn_img_lib.js"),e("biz_common/jquery.md5.js");
var o=(e("biz_common/dom/event.js"),e("biz_common/utils/url/parse.js")),s=e("biz_wap/utils/mmversion.js"),m=e("appmsg/appmsg_report.js"),a=e("appmsg/malicious_wording.js"),r=(e("biz_wap/utils/ajax.js"),
window.md5(window.user_uin)),c=e("biz_wap/jsapi/core.js");
c.call("hideToolbar"),c.call("showOptionMenu");
var l=msg_title.htmlDecode(),_=(msg_source_url.htmlDecode(),""),u=cdn_url_1_1||msg_cdn_url||ori_head_img_url||round_head_img,d=u,p=msg_link.htmlDecode(),l=msg_title.htmlDecode(),h=msg_desc.htmlDecode();
h=h||"",h=h.replace(/<br\/>/g,"\n"),idx>1&&document.getElementById("js_content")&&1446652800>ct&&(h=document.getElementById("js_content").innerHTML.replace(/<\/?[^>]*\/?>/g,"").htmlDecode().replace(/^(\s*)|(\s*)$/g,"").substr(0,54)),
u.isCDN()&&(u=u.replace(/\/0$/,"/300"),u=u.replace(/\/0\?/,"/300?")),d.isCDN()&&(d=d.replace(/\/0$/,"/640"),
d=d.replace(/\/0\?/,"/640?")),malicious_title_reason_id&&(l=a.maliciousTitleMap[malicious_content_type][malicious_title_reason_id]||l,
h=a.maliciousDescMap[malicious_content_type][malicious_title_reason_id]||h,1!=malicious_content_type&&(u="https://mmbiz.qlogo.cn/mmbiz_png/cVgP5bCElFiayFgbgEB9iaDt7hLicfz9RrXGM0LpaQ0TUic2gP7lbbqU3jCD8ibonicgIa3p99yjx1f1P26HChraeRUg/0?wx_fmt=png")),
"1"==is_limit_user&&c.call("hideOptionMenu"),window.is_temp_url&&c.invoke("hideMenuItems",{
menuList:["menuItem:share:timeline","menuItem:share:qq","menuItem:share:weiboApp","menuItem:share:facebook","menuItem:share:qzone","menuitem:share:weibo","menuItem:share:WeiboApp","menuItem:share:QZone","menuitem:facebook","menuItem:copyUrl","menuItem:share:email","menuitem:copy_url","menuitem:share:haokan"]
},function(){});
var g="https://res.wx.qq.com/op_res/Fwh9olR917lxUMxpJVM5sCCyrQOJSm68IEt-HfL7vpc5-_etzmyuLg1kPdU6RNRX";
c.on("menu:share:appmessage",function(e){
if(window.is_wash){
var o=Date.now();
c.invoke("sendAppMessage",{
img_url:g,
img_width:"640",
img_height:"640",
link:i(p,s,o),
desc:"你可以阅读以下原创作者的内容",
title:"原文存在洗稿行为"
},function(){
n(p,fakeid,s,o);
});
}else{
var s=1,m=t(u,"1");
e&&"favorite"==e.scene&&(s=24,m=t(u,"4")),1==malicious_content_type&&(m="https://mmbiz.qlogo.cn/mmbiz_png/cVgP5bCElFiayFgbgEB9iaDt7hLicfz9RrXGM0LpaQ0TUic2gP7lbbqU3jCD8ibonicgIa3p99yjx1f1P26HChraeRUg/0?wx_fmt=png");
var o=Date.now();
c.invoke("sendAppMessage",{
appid:_,
img_url:m,
img_width:"640",
img_height:"640",
link:i(p,s,o),
desc:h,
title:l
},function(){
n(p,fakeid,s,o);
});
}
}),c.on("menu:share:timeline",function(){
if(window.is_wash){
var e=Date.now();
c.invoke("shareTimeline",{
img_url:g,
img_width:"640",
img_height:"640",
link:i(p,2,e),
desc:"",
title:"原文存在洗稿行为,你可以阅读以下原创作者的内容"
},function(){
n(p,fakeid,2,e);
});
}else{
var o=u;
s.isIOS||(o=t(u,"2"));
var e=Date.now();
c.invoke("shareTimeline",{
img_url:o,
img_width:"640",
img_height:"640",
link:i(p,2,e),
desc:h,
title:l
},function(){
n(p,fakeid,2,e);
});
}
});
c.on("menu:share:weiboApp",function(){
var e=Date.now();
c.invoke("shareWeiboApp",{
img_url:u,
link:i(p,3,e),
title:l
},function(){
n(p,fakeid,3,e);
});
}),c.on("menu:share:facebook",function(){
var e=Date.now();
n(p,fakeid,7,e),c.invoke("shareFB",{
img_url:d,
img_width:"640",
img_height:"640",
link:i(p,43,e),
desc:h,
title:l
},function(){});
}),c.on("menu:share:QZone",function(){
var e=t(u,"6"),o=Date.now();
n(p,fakeid,5,o),c.invoke("shareQZone",{
img_url:e,
img_width:"640",
img_height:"640",
link:i(p,22,o),
desc:h,
title:l
},function(){});
}),c.on("menu:share:qq",function(){
var e=t(u,"7"),o=Date.now();
n(p,fakeid,5,o),c.invoke("shareQQ",{
img_url:e,
img_width:"640",
img_height:"640",
link:i(p,23,o),
desc:h,
title:l
},function(){});
}),c.on("menu:share:email",function(){
var e=Date.now();
n(p,fakeid,5,e),c.invoke("sendEmail",{
content:i(p,5,e),
title:l
},function(){});
}),c.on("onArticleReadingBtnClicked",function(e){
console.log("argv",e),location.href="https://mp.weixin.qq.com/mp/msgvoice?action=ttspage&__biz="+window.biz+"&mid="+window.mid+"&idx="+window.idx+"&sn="+window.sn+"#wechat_redirect";
}),1==window.show_msg_voice&&c.invoke("showMenuItems",{
menuList:["menuItem:readArticle"]
},function(e){
console.log("showMenuItems call",e);
}),c.on("sys:record",function(){
c.invoke("recordHistory",{
link:p,
title:l,
source:nickname,
img_url:u
},function(){});
});
});define("appmsg/cdn_img_lib.js",[],function(){
"use strict";
function t(t){
return!!(t.match(/\:\/\/[^\/]+\/mmbiz\//)&&t.indexOf("wx_fmt=gif")>-1)||!!t.match(/\:\/\/[^\/]+\/mmbiz_gif\//)&&-1==t.indexOf("/s640");
}
function i(t){
return!!(t.match(/\:\/\/[^\/]+\/mmbiz\//)&&t.indexOf("wx_fmt=png")>-1)||!!t.match(/\:\/\/[^\/]+\/mmbiz_png\//);
}
function n(t){
return!!(t.match(/\:\/\/[^\/]+\/mmbiz\//)&&t.indexOf("wx_fmt=jpg")>-1)||!!t.match(/\:\/\/[^\/]+\/mmbiz_jpg\//);
}
function r(t){
return t.indexOf("tp=webp")>-1;
}
function e(t){
return t.indexOf("tp=wxpic")>-1;
}
String.prototype.http2https=function(){
return this.replace(/http:\/\/mmbiz\.qpic\.cn\//g,"https://mmbiz.qpic.cn/");
},String.prototype.https2http=function(){
var t=this.replace(/https:\/\/mmbiz\.qlogo\.cn\//g,"http://mmbiz.qpic.cn/");
return t=t.replace(/https:\/\/mmbiz\.qpic\.cn\//g,"http://mmbiz.qpic.cn/");
},String.prototype.isCDN=function(){
return 0==this.indexOf("http://mmbiz.qpic.cn/")||0==this.indexOf("https://mmbiz.qpic.cn/")||0==this.indexOf("https://mmbiz.qlogo.cn/")||0==this.indexOf("http://res.wx.qq.com/")||0==this.indexOf("https://res.wx.qq.com/");
},String.prototype.nogif=function(){
var i=this.toString();
return t(i)?i.replace(/\/\d+\?/g,"/s640?").replace(/\/\d+\//g,"/s640/").replace(/\/\d+\./g,"/s640.").replace("wx_fmt=gif",""):i;
},String.prototype.isGif=function(){
var i=this.toString();
return t(i);
},String.prototype.isWxpic=function(){
var t=this.toString();
return e(t);
},String.prototype.isWebp=function(){
var t=this.toString();
return r(t);
},String.prototype.canHevc=function(){
var r=this.toString();
return n(r)||i(r)||t(r);
},String.prototype.getImgType=function(){
var p=this.toString();
return t(p)?"gif":r(p)?"webp":e(p)?"wxpic":i(p)?"png":n(p)?"jpg":"unknow";
},String.prototype.getOriginImgType=function(){
var r=this.toString();
return t(r)?"gif":i(r)?"png":n(r)?"jpg":"unknow";
},String.prototype.imgChange640=function(){
var t=this.toString();
t=t.replace(/(\?tp=webp)|(\?tp=wxpic)|(&tp=webp)|(&tp=wxpic)/g,"");
var i=new Date;
return i.setFullYear(2014,9,1),t.isCDN()&&1e3*ct>=i.getTime()&&!t.isGif()&&(t=t.replace(/\/0$/,"/640"),
t=t.replace(/\/0\?/,"/640?"),t=t.replace(/\/0\./,"/640.")),t;
};
});define("appmsg/finance_communicate.js",[],function(){
"use strict";
function e(e){
var t=getComputedStyle(a);
window.parent.postMessage({
name:e,
data:parseFloat(t.height)-(n.offsetTop-o.offsetTop)
},"http://finance.qq.com"),window.parent.postMessage({
name:e,
data:parseFloat(t.height)-(n.offsetTop-o.offsetTop)
},"http://gu.qq.com"),window.parent.postMessage({
name:e,
data:parseFloat(t.height)-(n.offsetTop-o.offsetTop)
},"https://gu.qq.com"),window.parent.postMessage({
name:e,
data:parseFloat(t.height)-(n.offsetTop-o.offsetTop)
},"https://wzq.tenpay.com");
}
function t(e){
console.log("[IFRAME RECEIVE MESSAGE]: ",e);
var t;
if(e.origin?t=e.origin:e.originalEvent&&(t=e.originalEvent.origin),/^http(s)?\:\/\/finance\.qq\.com$/.test(t)&&/^http(s)?\:\/\/gu\.qq\.com$/.test(t)&&/^http(s)?\:\/\/wzq\.tenpay\.com$/.test(t)&&e.source){
e.data,document.getElementsByTagName("body")[0],document.getElementById("activity-name"),
document.getElementById("meta_content"),document.getElementById("page-content");
}
}
if(window.parent===window)return!1;
document.getElementsByTagName("html")[0].style.width="1px",document.getElementsByTagName("html")[0].style.minWidth="100%";
var n=document.getElementById("js_content"),o=document.getElementById("img-content"),a=document.getElementById("js_article"),s=document.getElementsByClassName("rich_media_area_extra")[0];
s.style.display="none",e("pageHeight"),window.addEventListener("message",t,!1);
});;define('page/appmsg_new/not_in_mm.css', [], function(require, exports, module) {
return ".not_in_mm .rich_media_meta_list{position:relative;z-index:1}.not_in_mm .rich_media_content{position:relative}.not_in_mm .profile_container{width:535px;position:absolute;top:100%;left:0;margin-top:10px;font-size:14px;*margin-top:10px}.not_in_mm .profile_inner{position:relative;padding:30px 22px 36px 144px;background-color:#fff;border:1px solid #d9dadc;*zoom:1}.not_in_mm .profile_arrow_wrp{position:absolute;left:22px;top:-8px}.not_in_mm .profile_arrow{display:inline-block;width:0;height:0;border-width:8px;border-style:dashed;border-color:transparent;border-top-width:0;border-bottom-color:#d9dadc;border-bottom-style:solid;position:absolute;top:0}.not_in_mm .profile_arrow.arrow_in{margin-top:1px;border-bottom-color:#fff}.not_in_mm .profile_avatar{position:absolute;width:100px;left:24px;top:24px;height:100px!important}.not_in_mm .profile_nickname{font-size:16px;font-weight:400}.not_in_mm .profile_meta{margin-top:5px;overflow:hidden;*zoom:1}.not_in_mm .profile_meta_label{float:left;width:4em;margin-right:1em}.not_in_mm .profile_meta_value{display:block;overflow:hidden;*zoom:1;color:#adadad}.not_in_mm .icon_verify{width:16px;height:16px;vertical-align:middle;display:inline-block;line-height:9em;overflow:hidden}.not_in_mm .icon_verify.success{background:transparent url(\/mmbizwap\/zh_CN\/htmledition\/images\/icon\/wxverify\/icon_verify_success42f400.png) no-repeat 0 0}.not_in_mm .rich_media_inner{position:relative}.not_in_mm .qr_code_pc_outer{display:none!important;position:fixed;left:0;right:0;top:20px;color:#717375;text-align:center}.not_in_mm .qr_code_pc_inner{position:relative;width:740px;margin-left:auto;margin-right:auto}.not_in_mm .qr_code_pc{position:absolute;right:-140px;top:0;width:140px;padding:16px;border:1px solid #d9dadc;background-color:#fff;word-wrap:break-word;word-break:break-all}.not_in_mm .qr_code_pc p{font-size:14px;line-height:20px}.not_in_mm .qr_code_pc_img{width:102px;height:102px}@media screen and (min-width:1024px){.not_in_mm .qr_code_pc_outer{display:block!important;top:32px}}.not_in_mm .qr_code_pc{box-sizing:border-box}";
});;define('page/appmsg_new/combo.css', [], function(require, exports, module) {
return ".selectTdClass{background-color:#edf5fa!important}table.noBorderTable td,table.noBorderTable th,table.noBorderTable caption{border:1px dashed #ddd!important}table{margin-bottom:10px;border-collapse:collapse;display:table;width:100%!important}td,th{word-wrap:break-word;word-break:break-all;padding:5px 10px;border:1px solid #DDD}caption{border:1px dashed #DDD;border-bottom:0;padding:3px;text-align:center}th{border-top:2px solid #BBB;background:#f7f7f7}.ue-table-interlace-color-single{background-color:#fcfcfc}.ue-table-interlace-color-double{background-color:#f7faff}td p{margin:0;padding:0}.res_iframe{display:block;width:100%;background-color:transparent;border:0}.shopcard_iframe{margin:14px 0;height:95px}.vote_area{display:block;position:relative;margin:14px 0;white-space:normal!important}.vote_iframe{display:block;width:100%;height:100%;background-color:transparent;border:0}form{display:none!important}@media screen and (min-width:0\\0) and (-webkit-min-device-pixel-ratio:.75),screen and (min-width:0\\0) and (min-resolution:72dpi){.rich_media_content table{table-layout:fixed!important}.rich_media_content td,.rich_media_content th{width:auto!important}}.tc{text-align:center}.tl{text-align:left}.tr{text-align:right}.tips_global{color:#888}.article_extend_area{padding:30px 0 0}.article_extend_area .hot_tag{position:relative}.article_extend_area .hot_tag:after{content:\" \";display:inline-block;height:6px;width:6px;border-width:1px 1px 0 0;border-color:currentColor;border-style:solid;transform:matrix(0.71,0.71,-0.71,0.71,0,0);-ms-transform:matrix(0.71,0.71,-0.71,0.71,0,0);-webkit-transform:matrix(0.71,0.71,-0.71,0.71,0,0);position:relative;top:-2px;position:absolute;top:50%;margin-top:-3px;right:12px}.article_extend_area .hot_tag.icon_appmsg_tag{padding-left:12px;padding-right:24px}.article_extend_area .hot_tag_inner{display:block;width:auto;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;word-wrap:normal}.article_extend_area:empty{display:none}.rich_tips{margin-top:25px;margin-bottom:0;min-height:24px;text-align:center}.rich_tips .tips{display:inline-block;vertical-align:middle}.rich_tips .tips,.rich_tips .rich_icon{vertical-align:middle}.rich_tips .rich_icon{margin-top:-3px 5px 0 0}.rich_tips.with_line{border-top:1px dotted #e1e1e1}.rich_tips.with_line .tips{position:relative;top:-12px;padding-left:16px;padding-right:16px;background-color:#f2f2f2}.rich_tips.with_line{line-height:16px}.rich_tips.with_line .tips{top:-11px;padding-left:.35em;padding-right:.35em}.title_tips{margin-top:35px}.title_tips .tips{color:#868686;font-size:16px}.loading_tips{margin:36px 0 20px}.title_bottom_tips{margin-top:-10px}.icon_arrow_gray{width:7px}.icon_loading_white{width:16px}.icon_loading_white.icon_before{margin-right:1em}.icon_loading_white.icon_after{margin-left:1em}.btn{display:block;padding-left:14px;padding-right:14px;font-size:17px;text-align:center;text-decoration:none;border-radius:4px;-moz-border-radius:4px;-webkit-border-radius:4px;box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;color:#fff;line-height:42px;-webkit-tap-highlight-color:rgba(255,255,255,0)}.btn.btn_inline{display:inline-block}.rich_media_extra{overflow:hidden}.btn_primary{background-color:#07c160}.btn_primary:not(.btn_disabled):visited{color:#fff}.btn_primary:not(.btn_disabled):active{color:rgba(255,255,255,0.4);background-color:#06ad56}.btn_disabled{color:rgba(255,255,255,0.6)}.sougou_body .rich_media_area_primary{margin-top:10px}.sougou_body .rich_media_area_primary:first-child{margin-top:0}.sougou_body .rich_media_area_primary.sougou ul{padding-left:0;list-style-type:none}.sougou_body .rich_media_area_extra{margin-top:10px;background-color:#fff}.sougou_body .rich_media_area_title{font-size:16px;margin-bottom:.5em}.sougou_body .relate_article_list{font-size:15px}.sougou_body .relate_article_link{display:block;padding:.35em 0;color:#888;-webkit-tap-highlight-color:rgba(0,0,0,0)}.sougou_body .rich_tips.discuss_title_line{text-align:left;margin-top:0;padding:20px 0 .5em;border-width:0;line-height:1.6}.sougou_body .rich_
});define("appmsg/popup_report.js",["biz_wap/utils/ajax.js","biz_common/base64.js","biz_common/utils/url/parse.js"],function(e){
"use strict";
function i(e){
r({
url:"/mp/webcommreport?action=report&report_useruin=1&__biz="+window.biz,
type:"POST",
data:{
logid:17988,
buffer:a.concat(e).join(",")
},
async:!1,
timeout:2e3
});
}
function t(e){
var i=2,t=u.getQuery("__biz",e)||"",n=u.getQuery("mid",e)||"",r=u.getQuery("idx",e)||"";
return t.length&&n.length&&r.length?i=3:-1!==e.indexOf("mp.weixin.qq.com")&&(i=4),
i;
}
function n(e){
var i="",t=u.getQuery("__biz",e)||"",n=u.getQuery("mid",e)||"",r=u.getQuery("idx",e)||"";
return i=-1===e.indexOf("mp.weixin.qq.com")?e:t.length&&n.length&&r.length?t+"_"+n+"_"+r:e;
}
var r=e("biz_wap/utils/ajax.js"),o=e("biz_common/base64.js"),u=e("biz_common/utils/url/parse.js"),a=["",""+o.decode(window.biz),""+window.mid,""+window.idx,""+window.enterid];
return{
report:i,
getRedirectType:t,
getUrlData:n
};
});define("complain/localstorage.js",[],function(){
"use strict";
var t={};
return t=window.localStorage?{
set:function(t,e){
null!==this.get(t)&&this.remove(t),localStorage.setItem(t,e);
},
get:function(t){
var e=localStorage.getItem(t);
return void 0===e?null:e;
},
remove:function(t){
localStorage.removeItem(t);
},
clear:function(){
localStorage.clear();
},
each:function(t){
for(var e,o=localStorage.length,l=0,t=t||function(){};o>l&&(e=localStorage.key(l),
t.call(this,e,this.get(e))!==!1);l++)localStorage.length<o&&(o--,l--);
}
}:{
set:function(){},
get:function(){}
};
});define("common/utils.js",["biz_common/utils/url/parse.js","biz_wap/jsapi/core.js","biz_wap/utils/wapsdk.js","biz_wap/utils/ajax.js"],function(e){
"use strict";
var n=e("biz_common/utils/url/parse.js"),t=e("biz_wap/jsapi/core.js"),i=e("biz_wap/utils/wapsdk.js"),o=e("biz_wap/utils/ajax.js"),r=void 0,a=[],s={
isNativePage:function(){
return"1"===n.getQuery("isNativePage");
},
insertAfter:function(e,n){
var t=n.parentNode;
t.lastChild===n?t.appendChild(e):t.insertBefore(e,n.nextSibling);
},
getInnerHeight:function(){
var e=window.getInnerHeight&&window.getInnerHeight();
return e||window.innerHeight||document.documentElement.clientHeight;
},
getScrollTop:function(){
return document.documentElement.scrollTop||window.pageYOffset||document.body.scrollTop;
},
listenMpPageAction:function(e){
a.push(e),r||(t.on("onMPPageAction",function(e){
a.forEach(function(n){
n(e);
});
}),r=!0);
},
getIosMainVersion:function(){
var e=navigator.userAgent.toLowerCase().match(/cpu iphone os (.*?) like mac os/);
return e&&e[1]&&parseInt(e[1].split("_")[0],10);
},
report120081:function(e,n){
i.jsmonitor({
id:120081,
key:e,
value:n
});
},
report17149Data:function(){
var e=arguments.length<=0||void 0===arguments[0]?{}:arguments[0];
o({
type:"POST",
url:"/mp/ad_video_report?action=share_video_report",
async:e.async!==!1,
data:e.data
});
}
};
return s;
});define("biz_wap/utils/wapsdk.js",["biz_common/utils/wxgspeedsdk.js"],function(e){
"use strict";
function s(e){
var s=.001;
"number"==typeof e.sample&&(s=e.sample);
var n=Math.random();
s>n&&t.saveSpeeds(e);
}
function n(e){
var s=e.sample||.001,n=Math.random();
s>n&&t.setBasicTime(e);
}
function a(){
t.send();
}
function i(e){
var e=e||[];
if(!e.length){
var s=e;
e=[],e.push(s);
}
for(var n=[],a=0;a<e.length;a++){
var s=e[a],i=s.id,t=s.key,r=s.value||1;
i&&t&&n.push(i+"_"+t+"_"+r);
}
0!=n.length&&((new Image).src="/mp/jsmonitor?idkey="+n.join(";")+"&r="+Math.random());
}
var t=e("biz_common/utils/wxgspeedsdk.js");
return{
saveSpeeds:s,
setBasicTime:n,
send:a,
jsmonitor:i
};
});define("a/mpAdAsync.js",["appmsg/log.js","biz_wap/utils/ajax.js","rt/appmsg/getappmsgext.rt.js","a/a.js","a/a_utils.js","biz_common/utils/url/parse.js","a/a_config.js","pages/version4video.js","common/utils.js"],function(e){
"use strict";
function i(e,i){
var t=document.getElementsByTagName("iframe");
if(window.originalVideoAdFramesAdData=window.originalVideoAdFramesAdData||{},window.originalVideoAdFramesUnsetList)for(var a=0;a<window.originalVideoAdFramesUnsetList.length;a++)for(var s=0;s<t.length;s++)if(t[s].dataset&&t[s].dataset.mpvid===window.originalVideoAdFramesUnsetList[a]){
window.originalVideoAdFramesAdData[t[s].dataset.mpvid]||(window.originalVideoAdFramesAdData[t[s].dataset.mpvid]={}),
i=window.originalVideoAdFramesAdData[t[s].dataset.mpvid],t[s].contentWindow.postMessage({
action:"receiveOriginalVideoData",
vid:window.originalVideoAdFramesUnsetList[a],
adData:i
},"*");
break;
}
e[0]&&window.postMessage({
action:"receiveOriginalVideoData",
vid:e[0],
adData:i||{}
},"*");
}
function t(e){
var i=document.getElementsByTagName("iframe");
r.broadcastFrame(i,_.APPMSGAD_READY_ACTION,e),r.listenMessage(window,function(i,t){
t.action===_.GET_APPMSGAD_READY_STATUS_ACTION&&r.postMessage(i.source,_.APPMSGAD_READY_ACTION,e);
});
}
function a(e){
var a=arguments.length<=1||void 0===arguments[1]?{}:arguments[1],g=arguments[2],w=[],l=d.checkNeedAds();
l.is_need_ad=a.forceGetAd?1:l.is_need_ad;
var v=l.is_need_ad,A=m.getQuery("mock"),f=m.getQuery("rtx"),u="/mockserver/mockservercgi-bin/offerTestCase/mmbizwap/mp/getappmsgad",y="/mp/getappmsgad",D="5"===window.item_show_type,j=D&&!c.isNativePage()&&!m.getQuery("get_ad_after_video"),b=p.isUseAd()&&!j,h=r.isSample(_.TX_VIDEO_AD_GRAY_RATE)||D,V=h?e:w,k=window.pos_type_list?JSON.stringify(window.pos_type_list.split("|").map(function(e){
return Number(e);
})):"";
e=e||[];
for(var F=0;F<e.length;F++)0===e[F].indexOf(_.ORIGIN_VIDEO_VID_PREFIX)&&w.push(e[F]);
(A&&"-1"!==A||f)&&(console.info("[广告走mock系统] mockId",A,"rtx",f),y=u),console.info("[广告发送请求] 是否拉取广告",v),
o({
url:y+"?f=json&mockid="+A+"&rtx="+f,
data:{
r:Math.random(),
__biz:window.biz,
appmsg_type:window.appmsg_type||"",
mid:window.mid,
sn:window.sn,
idx:window.idx,
scene:a.scene||window.scene,
title:a.title||encodeURIComponent(window.msg_title.htmlDecode()),
ct:a.ct||window.ct,
abtest_cookie:a.abtest_cookie||window.abtest_cookie||"",
devicetype:"string"==typeof a.devicetype?a.devicetype:window.devicetype.htmlDecode(),
version:"string"==typeof a.version?a.devicetype:window.clientversion.htmlDecode(),
is_need_ad:v,
both_ad:l.both_ad,
send_time:a.send_time||window.send_time||"",
msg_daily_idx:a.msg_daily_idx||window.msg_daily_idx,
pass_ticket:window.pass_ticket,
is_temp_url:window.is_temp_url||0,
item_show_type:window.item_show_type,
tmp_version:1,
pos_type_list:k,
vid_list:JSON.stringify(b?V:[])
},
type:"POST",
dataType:"json",
rtId:"27613",
rtKey:"50",
rtDesc:n,
async:!0,
success:function(e){
s("[Appmsg] success get async ad data"),console.info("[广告响应请求]",e),window.can_see_complaint=e.can_see_complaint,
d.afterGetAdData(l,e),r.setBackgroundClass();
var a=e;
if(a.advertisement_info&&0!==a.advertisement_info.length)try{
if(s("[Appmsg] success get async ad data, async data is: "+JSON.stringify(a)),window.originalVideoAdFramesAdData={},
a.advertisement_info)for(var o=0;o<a.advertisement_info.length;o++){
a.advertisement_info[o].cdg_appid=a.appid;
var n=a.advertisement_info[o].vid;
n&&"string"==typeof n&&1===a.advertisement_info[o].is_mp_video&&(window.originalVideoAdFramesAdData[n]=r.saveCopy(a.advertisement_info[o]),
c.report120081("0"));
}
i(w,window.originalVideoAdFramesAdData[w[0]]);
}catch(m){
console.error(m);
}else s("[Appmsg] success get async ad data, async data is empty"),i(w);
g&&g(),t(e);
},
error:function(){
s("[Appmsg] error get async ad data, biz="+window.biz+", mid="+window.mid),i(w),
t();
}
});
}
var s=e("appmsg/log.js"),o=e("biz_wap/utils/ajax.js"),n=e("rt/appmsg/getappmsgext.rt.js"),d=e("a/a.js"),r=e("a/a_utils.js"),m=e("biz_common/utils/url/parse.js"),_=e("a/a_config.js"),p=e("pages/version4video.js"),c=e("common/utils.js");
return{
getAdData:a
};
});