/*! * @version 8.4.84 * @date 2020-02-03 * @generated */ !function(e){var t=window.webpackJsonp;window.webpackJsonp=function(n,a,o){for(var r,s,c=0,l=[];c0){if(n[t].action&&n[t].action(a),/exposure=1/.test(location.href))for(t=0;t=0&&a.topthis.threshold||void 0},pushListeningEle:function(e,t,n,i,a){var o={},r=this,s={},c=[];i=r.threshold=i||300;r.height=a||10,Array.prototype.slice.call(e).forEach(function(e){o.ele=e,o.canRepeat=!!n,o.doneOnce=!1,o.startTop=null,o.endTop=null,s=r._clone(o),c.push(s)}),r._listeningEles.push({listeningEles:c,action:t,threshold:i}),r._checkExposeure("scroll")},_actionFactory:function(e){var t="undefined"===typeof e?"undefined":i(e);return"function"==t?e:"string"==t?function(){var t=e.indexOf("?")>-1?e+"×tamp="+(new Date).valueOf():e+"?timestamp="+(new Date).valueOf();(new Image).src=t}:null},scroll_lock:!1,_scrollListener:function(e){var t=this;if(!e)throw new Error("scrollListener needs a object parameter.");function n(e){t.scroll_lock||(t.scroll_lock=!0,t._checkExposeure(e))}e.addEventListener("scroll",function(){n("timegap"),setTimeout(function(){n("timegap")},500)},!1),e.addEventListener("touchstart",function(){n("timegap")},!1),e.addEventListener("touchmove",function(){n("timegap")},!1),e.addEventListener("touchend",function(){n("timegap"),setTimeout(function(){t.scroll_lock=!0,t._checkExposeure("timegap")},500)},!1),e.addEventListener("touchcancel",function(){n("timegap")},!1)},_clone:function(e){var t=null,n=this;switch(this._getType(e)){case"object":t={},Object.keys(e).forEach(function(i){t[i]=n._clone(e[i])});break;case"array":t=[],e.forEach(function(e){t.push(n._clone(e))});break;default:t=e}return t},_getType:function(e){var t="undefined"===typeof e?"undefined":i(e);return"object"===t?Object.prototype.toString.call(e).match(/\[object (.*)\]/)?RegExp.$1.toLowerCase():"other":t}};o._init(),a.newExposure=o,t.a=o},function(e,t,n){"use strict";var i={_UA:navigator.userAgent.toLowerCase()||"",UAIdentify:{weibo:"weibo",qq:"qq",qqb:"mqqbrowser/",uc:"ucbrowser/",weixin:"micromessenger",chrome:"chrome",sinanews:"sinanews",alipay:"alipayclient",ios9:"iphone os 9_",IOSFLAG:"cpu iphone os ",IOSWeiboFlag:"iphone__os",huawei:"huawei"},checkKeys:["UC","SinaNews","Weibo","QQ","QQB","Weixin","Chrome","AliPay","Huawei"],createCheckFunc:function(){var e=this;this.checkKeys.forEach(function(t){var n=t.toLowerCase(),i=e.UAIdentify[n];i&&(e["is"+t]=function(){return!!e.isInclude(e._UA,i)})})},getIOSVersion:function(){var e=this._UA,t=this.UAIdentify;return function(e){if(e.length>1){var t=e[1].replace(/_/gi,".");return parseInt(t)}return 0}(e.split(t.IOSFLAG)||e.split(t.IOSWeiboFlag))},getWeiboVersion:function(){var e=this._UA,t=this.UAIdentify,n=e.split("__"+t.weibo+"__"),i=n.length>1?n[1]:"0.0.0";return this.getVersion(i)},getVersion:function(e){var t=e.split(".");return parseFloat(t[0]+"."+parseInt(t[1]))},isInclude:function(e,t){return e.indexOf(t)>-1},isIOS9:function(){this.UAIdentify;return this.getIOSVersion()>=9},_system:function(){return this._UA.match(/iphone|ipod/gi)?"ios":"android"}};i.createCheckFunc();var a=i;window.prtl={type:"https:"==window.location.protocol?"https":"http",prefix:"https:"==window.location.protocol?"https://":"http://"};var o={joinLikeArray:function(e){var t=[];return e.forEach(function(e){var n=document.querySelectorAll("."+e);Array.prototype.push.apply(t,Array.prototype.slice.call(n))}),t},getCookie:function(e){var t=new RegExp("(^| )"+e+"=([^;]*)(;|$)").exec(document.cookie);return t&&t[2]||null},log:function(){window.location.href.match(/debug\=1/gi)&&console.log(arguments)},encode:function(e,t){for(var n=e;t--;)n=encodeURIComponent(n);return n},getValue:function(e){return"undefined"!==typeof e&&e},getAllNodes:function(e){return document.body.querySelectorAll(e)},getUniqKey:function(e){var t,n=["A","z","C","E","d","H","j","v","k","L"],i=(new Date).getTime();return(e=e||"")+(t=""+parseInt(1e4*Math.random()),[].map.call(t,function(e){return n[e]}).join(""))+i},isExist:function(e,t){return!!e[t]&&e[t].length>0},getVal:function(e,t){return!!e[t]&&e[t]},getFullPos:function(e){!e&&(e=1);return e.toString().length<3&&(e=("000"+e).substr(-3,3)),e},getParamsStr:function(e){return encodeURIComponent(JSON.stringify(e))},bindEventForApp:function(e,t,n){document.addEventListener?e.addEventListener(t,n,!0):e.attachEvent(t,n)},stopDefault:function(e){(e=e||window.event).preventDefault?e.preventDefault():e.returnValue=!1},getFullNumber:function(e){!e&&(e=1);return e.toString().length<3&&(e=("000"+e).substr(-3,3)),e},isWeiboJsbridgeWay:function(){for(var e=navigator.userAgent.match(/weibo__([^_]+)__android/)&&navigator.userAgent.match(/weibo__([^_]+)__android/)[1],t=(e&&e.length>1?e:"0.0.0").split("."),n=0,i=["9","6","1"],a=t.length,o=0;oNumber(i[o])){n=1;break}if(Number(t[o])"+a:((i=document.createElement("div")).id="iLogZone",i.setAttribute("style","position: fixed;left:0;top:0;width:100%;height:150px;background-color: rgba(0,0,0,0.7);padding: 20px;color:#FFF;overflow: scroll;font-size: 14px;"),i.innerHTML=a,document.body.appendChild(i))}}};t.a=function(e,t){for(var n in t)e[n]=t[n];return e}(o,a)},function(module,__webpack_exports__,__webpack_require__){"use strict";var __WEBPACK_IMPORTED_MODULE_0__mfelibs_base_tools_exposure__=__webpack_require__(0),_typeof="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},config={pvContainer:"sax_pv_count"},pvContainer={pv:"sax_pv_count",nullPv:"sax_null_count"},pinPdpsArr=[],base64EncodeChars="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",storage={getItem:function(e){return window.localStorage.getItem(e)},setItem:function(e,t,n){window.localStorage.setItem(e,t+(n?";expires="+(sinaadToolkit.now()+n):"")),n||(_sessionStorageMap[e]=1)},removeItem:function(e){window.localStorage.removeItem(e)},get:function(e){try{var t=storage.getItem(e);return t?(t=t.split(";expires="))[1]&&sinaadToolkit.now()>parseInt(t[1],10)?(this.removeItem(e),null):t[0]:null}catch(e){return null}},set:function(e,t,n){try{storage.setItem(e,t,n)}catch(e){sinaadToolkit.error("sinaadToolkit.storage.set:"+e.message)}}},cookie={getItem:function(e){return sinaadToolkit.cookie.get(e)},setItem:function(e,t,n){cookie.set(e,t,{expires:n||0})},removeItem:function(e){cookie.remove(e)},removeCookie:function(e,t){(t=t||{}).expires=new Date(0),cookie._setRaw(e,"",t)},_isValidKey:function(e){return new RegExp('^[^\\x00-\\x20\\x7f\\(\\)<>@,;:\\\\\\"\\[\\]\\?=\\{\\}\\/\\u0080-\\uffff]+$').test(e)},_setRaw:function(e,t,n){if(this._isValidKey(e)){var i=(n=n||{}).expires;"number"===typeof n.expires&&(i=new Date).setTime(i.getTime()+n.expires),document.cookie=e+"="+t+(n.path?"; path="+n.path:"")+(i?"; expires="+i.toGMTString():"")+(n.domain?"; domain="+n.domain:"")+(n.secure?"; secure":"")}},set:function(e,t,n){cookie._setRaw(e,encodeURIComponent(t),n)}},toolkit={storage:{getItem:function(e){return window.localStorage.getItem(e)},setItem:function(e,t,n){window.localStorage.setItem(e,t+(n?";expires="+(sinaadToolkit.now()+n):"")),n||(_sessionStorageMap[e]=1)},removeItem:function(e){window.localStorage.removeItem(e)},get:function(e){try{var t=storage.getItem(e);return t?(t=t.split(";expires="))[1]&&sinaadToolkit.now()>parseInt(t[1],10)?(this.removeItem(e),null):t[0]:null}catch(e){return null}},set:function(e,t,n){try{storage.setItem(e,t,n)}catch(e){sinaadToolkit.error("sinaadToolkit.storage.set:"+e.message)}}},cookie:{getItem:function(e){return sinaadToolkit.cookie.get(e)},setItem:function(e,t,n){cookie.set(e,t,{expires:n||0})},removeItem:function(e){cookie.remove(e)},removeCookie:function(e,t){(t=t||{}).expires=new Date(0),cookie._setRaw(e,"",t)},_setRaw:function(e,t,n){if(this._isValidKey(e)){var i=(n=n||{}).expires;"number"===typeof n.expires&&(i=new Date).setTime(i.getTime()+n.expires),document.cookie=e+"="+t+(n.path?"; path="+n.path:"")+(i?"; expires="+i.toGMTString():"")+(n.domain?"; domain="+n.domain:"")+(n.secure?"; secure":"")}},_getRaw:function(e){if(cookie._isValidKey(e)){var t=new RegExp("(^| )"+e+"=([^;]*)(;|$)").exec(document.cookie);if(t)return t[2]||null}return null},set:function(e,t,n){this._setRaw(e,encodeURIComponent(t),n)},get:function(e){var t=this._getRaw(e);return"string"===typeof t?t=decodeURIComponent(t):null}},base64encode:function(e){var t,n,i,a,o,r;for(i=e.length,n=0,t="";n>2),t+=base64EncodeChars.charAt((3&a)<<4),t+="==";break}if(o=e.charCodeAt(n++),n==i){t+=base64EncodeChars.charAt(a>>2),t+=base64EncodeChars.charAt((3&a)<<4|(240&o)>>4),t+=base64EncodeChars.charAt((15&o)<<2),t+="=";break}r=e.charCodeAt(n++),t+=base64EncodeChars.charAt(a>>2),t+=base64EncodeChars.charAt((3&a)<<4|(240&o)>>4),t+=base64EncodeChars.charAt((15&o)<<2|(192&r)>>6),t+=base64EncodeChars.charAt(63&r)}return t},checkTime:function(e,t){if(!e&&!t)return!0;var n=parseInt(e),i=parseInt(t),a=new Date,o=a.getMonth()+1,r=a.getDate(),s=a.getHours(),c=a.getFullYear(),l=parseInt(this.timeFormat(c)+this.timeFormat(o)+this.timeFormat(r)+this.timeFormat(s));return!!(n&&i&&l>=n&&l<=i||n&&!i&&l>=n||!n&&i&&l<=i)},timeFormat:function(e){return e<10?"0"+e:e.toString()},creatElement:function(e,t){var n=document.createElement(e);for(var i in t)n.setAttribute(i,t[i]);return n},creatPvElement:function(){var e=config.pvContainer;document.getElementById(e)?this.pvBox=document.getElementById(e):(this.pvBox=this.creatElement("div",{id:e,style:"display:none"}),document.body.appendChild(this.pvBox))},_getElement:function(e){return document.querySelector(e)},createScript:function createScript(box){if(box){if(box.$container&&box.$container.dataset&&"PDPS000000056239"==box.$container.dataset.id)var options={type:"text/javascript",id:"_gg_127480"};else if("PDPS000000056240"==box.$container.dataset.id)var options={type:"text/javascript",id:"vlion_1520832446_box"};else if(void 0!=_typeof(box.sClass))var options={class:box.sClass,type:"text/javascript"};else var options={type:"text/javascript"};var _script=null;box.src&&(options.src=box.src),_script=this.creatElement("script",options),box.readyStr&&(_script.onload=function(){eval(box.readyStr)}),box.$container&&box.$container.appendChild(_script)}},createWordsPv:function(e){var t=this.creatElement("img",{src:e+"&r="+Math.random()}),n=this._getElement("#"+config.pvContainer);n||this.creatPvElement(),n.appendChild(t)},parseURL:function(e){e=this.toString();var t,n=document.createElement("a");return n.href=e,{source:e,protocol:n.protocol.replace(":",""),host:n.hostname,origin:n.origin,port:n.port,query:n.search,file:(n.pathname.match(/\/([^\/?#]+)$/i)||[,""])[1],hash:n.hash.replace("#",""),path:n.pathname.replace(/^([^\/])/,"/$1"),relative:(n.href.match(/tps?:\/\/[^\/]+(.+)/)||[,""])[1],segments:n.pathname.replace(/^\//,"").split("/"),params:(t={},n.search.replace(/^\?/,"").split("&").filter(function(e,t){if(""!==e&&e.indexOf("="))return!0}).forEach(function(e,n){var i=e.indexOf("="),a=e.substring(0,i),o=e.substring(i+1);t[a]=o}),t)}},copyObject:function(e){if("object"!=("undefined"===typeof e?"undefined":_typeof(e)))return e;var t={};for(var n in e)t[n]=e[n];return t},addParams:function(e,t){if(!e)return"";if(!t)return e;var n=[];for(var i in t)n.push(i+"="+t[i]);return e+(e.match(/\?/gi)?"&":"?")+n.join("&")},createWordsScript:function(e,t,n,i,a){if(i)var o=sinaSax.creatElement("script",{type:"text/javascript",src:i});else o=sinaSax.creatElement("script",{type:"text/javascript"});if(""!=t&&(o.innerHTML=t),n){var r=sinaSax.creatElement("img",{src:n+"&r="+Math.random()});$("#sax_pv_count").length>0?$("#sax_pv_count").append(r):(sinaSax.creatPvElement(),$("#sax_pv_count").append(r))}e.appendChild(o),0!=a&&sinaSax.callback("triggerDomIimit",[e])},getQueryString:function(e,t){var n=new RegExp("(^|&)"+e+"=([^&]*)(&|$)");if(t)var i=t.split("?")[1]&&t.split("?")[1].match(n);else i=window.location.search.substr(1).match(n);return null!=i?unescape(i[2]):null},createId:function(){for(var e=[],t=0;t<8;t++)e[t]="0123456789abcdef".substr(Math.floor(16*Math.random()),1);return e[parseInt(4)+1]="0123456789abcdef".substr(3&e[4]|8,1),"_"+e.join("")+(new Date).getTime().toString().substring(5,13)},isNull:function(e){return"undefined"===typeof e||null===e},ensureArray:function(e){return Array.isArray(e)?e:toolkit.isNull(e)?[]:[e]},stringTrim:function(){var e=new RegExp("(^[\\s\\t\\xa0\\u3000]+)|([\\u3000\\xa0\\s\\t]+$)","g");return function(t){return t=t||"",String(t).replace(e,"")}}};window.testLMT=function(){setTimeout(function(){window.location.href.match(/isMock/gi)&&sax_jsonpCallback_1({ad:[{id:"PDPS000000059890",type:"jdt",size:"170*151",content:[]},{id:"PDPS000000060087",type:"jdt",size:"170*151",content:[]},{id:"8A622C4B3DD0",type:"gjz",size:"140*170",content:[{src:["https://d1.sinaimg.cn/201708/31/1466713.gif"],link:["https://saxn.sina.com.cn/mfp/click?type=3&t=MjAxNy0wOS0wNSAxOTozMTo0MwkxMTEuMTMuOTUuMwlOVUxMX1ZBTFVFCWh0dHA6Ly8xMC4yMzYuNTcuNjc6MzAyNS9pbmRleC5odG1sCUI2OTRFQkVDMEE5Rgk3MjY1Njg0MS1lNGQ0LTQ0ZDgtYjhmYS0zNWRjZTc2ZDY2YjEJNjk4MTZjOGZiZDIwCTY5ODE2YzhmYmQyMAlhdXRvX2xldmVsOjE4MDEwMHx1c2VyX2dyb3VwOjkwMHxwb3M6UERQUzAwMDAwMDA1OTg5MCxQRFBTMDAwMDAwMDYwMDg3LEI2OTRFQkVDMEE5Rnx3YXBfb3M6NzAyfHVzZXJfYWdlOjYwMHx2X3pvbmU6MzAyMDAwLDMwMjAwMHx1c2VyX2dlbmRlcjo1MDB8YXV0b19wcmljZToxODAyMDB8X3Zfem9uZTozMDIwMDAsMzAyMDAwfG1vYmlsZV9icmFuZDoxMjAxfG1vYmlsZV9icm93c2VyOjgxMQkJMzAyMDAwfDMwMjAwMAk2OTgxNmM4ZmJkMjAJTUIxNzA2MDk2OQkJN0E5OEUxNTQ3NzM0CVdBUAktCTU2CS0JLQktCS0JLQktCS0JLQk0CTEJLQkwCTAJb3M6aXBob25lfGJyb3dzZXI6c2FmYXJpfHBsYXRmb3JtOmlvc3xkZXZpY2U6b3RoZXJ8Y3JlYXRpdmU6Njk4MTZjOGZiZDIwLDY5ODE2YzhmYmQyMCw2OTgxNmM4ZmJkMjB8YWRQbGF0Rm9ybToz&url=https%3A%2F%2Fengine.lvehaisen.com%2Findex%2Factivity%3FappKey%3DuZvDRUfe1CQBu1XnmQL1JHfLo1v%26adslotId%3D2331&captcha=-716674430108034077&viewlog=false&userid=111.13.95.3"],monitor:[],origin_monitor:null,type:"image",pv:["https://saxn.sina.com.cn/mfp/view?type=3&t=MjAxNy0wOS0wNSAxOTozMTo0MwkxMTEuMTMuOTUuMwlOVUxMX1ZBTFVFCWh0dHA6Ly8xMC4yMzYuNTcuNjc6MzAyNS9pbmRleC5odG1sCUI2OTRFQkVDMEE5Rgk3MjY1Njg0MS1lNGQ0LTQ0ZDgtYjhmYS0zNWRjZTc2ZDY2YjEJNjk4MTZjOGZiZDIwCTY5ODE2YzhmYmQyMAlhdXRvX2xldmVsOjE4MDEwMHx1c2VyX2dyb3VwOjkwMHxwb3M6UERQUzAwMDAwMDA1OTg5MCxQRFBTMDAwMDAwMDYwMDg3LEI2OTRFQkVDMEE5Rnx3YXBfb3M6NzAyfHVzZXJfYWdlOjYwMHx2X3pvbmU6MzAyMDAwLDMwMjAwMHx1c2VyX2dlbmRlcjo1MDB8YXV0b19wcmljZToxODAyMDB8X3Zfem9uZTozMDIwMDAsMzAyMDAwfG1vYmlsZV9icmFuZDoxMjAxfG1vYmlsZV9icm93c2VyOjgxMQkJMzAyMDAwfDMwMjAwMAk2OTgxNmM4ZmJkMjAJTUIxNzA2MDk2OQkJN0E5OEUxNTQ3NzM0CVdBUAktCTU2CS0JLQktCS0JLQktCS0JLQk0CTEJLQkwCTAJb3M6aXBob25lfGJyb3dzZXI6c2FmYXJpfHBsYXRmb3JtOmlvc3xkZXZpY2U6b3RoZXJ8Y3JlYXRpdmU6Njk4MTZjOGZiZDIwLDY5ODE2YzhmYmQyMCw2OTgxNmM4ZmJkMjB8YWRQbGF0Rm9ybToz&userid=111.13.95.3&viewlog=false&hashCode=f6e55c4e98cab0655e14b79bd570bb4e"],pid:null,len:null,volume:null,pvBegin:null,pvEnd:null,size:null,ad_id:"sina_69816c8fbd20"}]}],cm:[]})},1e3)},window._sendExpose=function(e,t){__WEBPACK_IMPORTED_MODULE_0__mfelibs_base_tools_exposure__.a&&__WEBPACK_IMPORTED_MODULE_0__mfelibs_base_tools_exposure__.a.pushListeningEle([e],function(){if(t.pdps)if(t.vision=toolkit.ensureArray(t.vision),void 0!=t.vision&&0!=t.vision.length)for(var e=document.getElementById(pvContainer.pv),n=0;n]*>/,g=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,v=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,_=/^(?:body|html)$/i,w=/([A-Z])/g,y=["val","css","html","text","data","width","height","offset"],b=u.createElement("table"),A=u.createElement("tr"),x={tr:u.createElement("tbody"),tbody:b,thead:b,tfoot:b,td:A,th:A,"*":u.createElement("div")},k=/^[\w-]*$/,S={},C=S.toString,T={},E=u.createElement("div"),I={tabindex:"tabIndex",readonly:"readOnly",for:"htmlFor",class:"className",maxlength:"maxLength",cellspacing:"cellSpacing",cellpadding:"cellPadding",rowspan:"rowSpan",colspan:"colSpan",usemap:"useMap",frameborder:"frameBorder",contenteditable:"contentEditable"},M=Array.isArray||function(e){return e instanceof Array};function j(e){return null==e?String(e):S[C.call(e)]||"object"}function O(e){return"function"==j(e)}function D(e){return null!=e&&e==e.window}function L(e){return null!=e&&e.nodeType==e.DOCUMENT_NODE}function P(e){return"object"==j(e)}function N(e){return P(e)&&!D(e)&&Object.getPrototypeOf(e)==Object.prototype}function U(e){var t=!!e&&"length"in e&&e.length,i=n.type(e);return"function"!=i&&!D(e)&&("array"==i||0===t||"number"==typeof t&&t>0&&t-1 in e)}function B(e){return e.replace(/::/g,"/").replace(/([A-Z]+)([A-Z][a-z])/g,"$1_$2").replace(/([a-z\d])([A-Z])/g,"$1_$2").replace(/_/g,"-").toLowerCase()}function R(e){return e in p?p[e]:p[e]=new RegExp("(^|\\s)"+e+"(\\s|$)")}function z(e,t){return"number"!=typeof t||h[B(e)]?t:t+"px"}function H(e){return"children"in e?d.call(e.children):n.map(e.childNodes,function(e){if(1==e.nodeType)return e})}function q(e,t){var n,i=e?e.length:0;for(n=0;n")),i===e&&(i=m.test(t)&&RegExp.$1),i in x||(i="*"),(s=x[i]).innerHTML=""+t,o=n.each(d.call(s.childNodes),function(){s.removeChild(this)})),N(a)&&(r=n(o),n.each(a,function(e,t){y.indexOf(e)>-1?r[e](t):r.attr(e,t)})),o},T.Z=function(e,t){return new q(e,t)},T.isZ=function(e){return e instanceof T.Z},T.init=function(t,i){var a,o;if(!t)return T.Z();if("string"==typeof t)if("<"==(t=t.trim())[0]&&m.test(t))a=T.fragment(t,RegExp.$1,i),t=null;else{if(i!==e)return n(i).find(t);a=T.qsa(u,t)}else{if(O(t))return n(u).ready(t);if(T.isZ(t))return t;if(M(t))o=t,a=l.call(o,function(e){return null!=e});else if(P(t))a=[t],t=null;else if(m.test(t))a=T.fragment(t.trim(),RegExp.$1,i),t=null;else{if(i!==e)return n(i).find(t);a=T.qsa(u,t)}}return T.Z(a,t)},(n=function(e,t){return T.init(e,t)}).extend=function(n){var i,a=d.call(arguments,1);return"boolean"==typeof n&&(i=n,n=a.shift()),a.forEach(function(a){!function n(i,a,o){for(t in a)o&&(N(a[t])||M(a[t]))?(N(a[t])&&!N(i[t])&&(i[t]={}),M(a[t])&&!M(i[t])&&(i[t]=[]),n(i[t],a[t],o)):a[t]!==e&&(i[t]=a[t])}(n,a,i)}),n},T.qsa=function(e,t){var n,i="#"==t[0],a=!i&&"."==t[0],o=i||a?t.slice(1):t,r=k.test(o);return e.getElementById&&r&&i?(n=e.getElementById(o))?[n]:[]:1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType?[]:d.call(r&&!i&&e.getElementsByClassName?a?e.getElementsByClassName(o):e.getElementsByTagName(t):e.querySelectorAll(t))},n.contains=u.documentElement.contains?function(e,t){return e!==t&&e.contains(t)}:function(e,t){for(;t&&(t=t.parentNode);)if(t===e)return!0;return!1},n.type=j,n.isFunction=O,n.isWindow=D,n.isArray=M,n.isPlainObject=N,n.isEmptyObject=function(e){var t;for(t in e)return!1;return!0},n.isNumeric=function(e){var t=Number(e),n="undefined"===typeof e?"undefined":i(e);return null!=e&&"boolean"!=n&&("string"!=n||e.length)&&!isNaN(t)&&isFinite(t)||!1},n.inArray=function(e,t,n){return s.indexOf.call(t,e,n)},n.camelCase=o,n.trim=function(e){return null==e?"":String.prototype.trim.call(e)},n.uuid=0,n.support={},n.expr={},n.noop=function(){},n.map=function(e,t){var i,a,o,r,s=[];if(U(e))for(a=0;a0?n.fn.concat.apply([],r):r},n.each=function(e,t){var n,i;if(U(e)){for(n=0;n=0?t:t+this.length]},toArray:function(){return this.get()},size:function(){return this.length},remove:function(){return this.each(function(){null!=this.parentNode&&this.parentNode.removeChild(this)})},each:function(e){return s.every.call(this,function(t,n){return!1!==e.call(t,n,t)}),this},filter:function(e){return O(e)?this.not(this.not(e)):n(l.call(this,function(t){return T.matches(t,e)}))},add:function(e,t){return n(r(this.concat(n(e,t))))},is:function(e){return this.length>0&&T.matches(this[0],e)},not:function(t){var i=[];if(O(t)&&t.call!==e)this.each(function(e){t.call(this,e)||i.push(this)});else{var a="string"==typeof t?this.filter(t):U(t)&&O(t.item)?d.call(t):n(t);this.forEach(function(e){a.indexOf(e)<0&&i.push(e)})}return n(i)},has:function(e){return this.filter(function(){return P(e)?n.contains(this,e):n(this).find(e).size()})},eq:function(e){return-1===e?this.slice(e):this.slice(e,+e+1)},first:function(){var e=this[0];return e&&!P(e)?e:n(e)},last:function(){var e=this[this.length-1];return e&&!P(e)?e:n(e)},find:function(e){var t=this;return e?"object"==("undefined"===typeof e?"undefined":i(e))?n(e).filter(function(){var e=this;return s.some.call(t,function(t){return n.contains(t,e)})}):1==this.length?n(T.qsa(this[0],e)):this.map(function(){return T.qsa(this,e)}):n()},closest:function(e,t){var a=[],o="object"==("undefined"===typeof e?"undefined":i(e))&&n(e);return this.each(function(n,i){for(;i&&!(o?o.indexOf(i)>=0:T.matches(i,e));)i=i!==t&&!L(i)&&i.parentNode;i&&a.indexOf(i)<0&&a.push(i)}),n(a)},parents:function(e){for(var t=[],i=this;i.length>0;)i=n.map(i,function(e){if((e=e.parentNode)&&!L(e)&&t.indexOf(e)<0)return t.push(e),e});return F(t,e)},parent:function(e){return F(r(this.pluck("parentNode")),e)},children:function(e){return F(this.map(function(){return H(this)}),e)},contents:function(){return this.map(function(){return this.contentDocument||d.call(this.childNodes)})},siblings:function(e){return F(this.map(function(e,t){return l.call(H(t.parentNode),function(e){return e!==t})}),e)},empty:function(){return this.each(function(){this.innerHTML=""})},pluck:function(e){return n.map(this,function(t){return t[e]})},show:function(){return this.each(function(){var e,t,n;"none"==this.style.display&&(this.style.display=""),"none"==getComputedStyle(this,"").getPropertyValue("display")&&(this.style.display=(e=this.nodeName,f[e]||(t=u.createElement(e),u.body.appendChild(t),n=getComputedStyle(t,"").getPropertyValue("display"),t.parentNode.removeChild(t),"none"==n&&(n="block"),f[e]=n),f[e]))})},replaceWith:function(e){return this.before(e).remove()},wrap:function(e){var t=O(e);if(this[0]&&!t)var i=n(e).get(0),a=i.parentNode||this.length>1;return this.each(function(o){n(this).wrapAll(t?e.call(this,o):a?i.cloneNode(!0):i)})},wrapAll:function(e){if(this[0]){var t;for(n(this[0]).before(e=n(e));(t=e.children()).length;)e=t.first();n(e).append(this)}return this},wrapInner:function(e){var t=O(e);return this.each(function(i){var a=n(this),o=a.contents(),r=t?e.call(this,i):e;o.length?o.wrapAll(r):a.append(r)})},unwrap:function(){return this.parent().each(function(){n(this).replaceWith(n(this).children())}),this},clone:function(){return this.map(function(){return this.cloneNode(!0)})},hide:function(){return this.css("display","none")},toggle:function(t){return this.each(function(){var i=n(this);(t===e?"none"==i.css("display"):t)?i.show():i.hide()})},prev:function(e){return n(this.pluck("previousElementSibling")).filter(e||"*")},next:function(e){return n(this.pluck("nextElementSibling")).filter(e||"*")},html:function(e){return 0 in arguments?this.each(function(t){var i=this.innerHTML;n(this).empty().append(Q(this,e,t,i))}):0 in this?this[0].innerHTML:null},text:function(e){return 0 in arguments?this.each(function(t){var n=Q(this,e,t,this.textContent);this.textContent=null==n?"":""+n}):0 in this?this.pluck("textContent").join(""):null},attr:function(n,i){var a;return"string"!=typeof n||1 in arguments?this.each(function(e){if(1===this.nodeType)if(P(n))for(t in n)W(this,t,n[t]);else W(this,n,Q(this,i,e,this.getAttribute(n)))}):0 in this&&1==this[0].nodeType&&null!=(a=this[0].getAttribute(n))?a:e},removeAttr:function(e){return this.each(function(){1===this.nodeType&&e.split(" ").forEach(function(e){W(this,e)},this)})},prop:function(e,t){return e=I[e]||e,1 in arguments?this.each(function(n){this[e]=Q(this,t,n,this[e])}):this[0]&&this[0][e]},removeProp:function(e){return e=I[e]||e,this.each(function(){delete this[e]})},data:function(t,n){var i="data-"+t.replace(w,"-$1").toLowerCase(),a=1 in arguments?this.attr(i,n):this.attr(i);return null!==a?V(a):e},val:function(e){return 0 in arguments?(null==e&&(e=""),this.each(function(t){this.value=Q(this,e,t,this.value)})):this[0]&&(this[0].multiple?n(this[0]).find("option").filter(function(){return this.selected}).pluck("value"):this[0].value)},offset:function(e){if(e)return this.each(function(t){var i=n(this),a=Q(this,e,t,i.offset()),o=i.offsetParent().offset(),r={top:a.top-o.top,left:a.left-o.left};"static"==i.css("position")&&(r.position="relative"),i.css(r)});if(!this.length)return null;if(u.documentElement!==this[0]&&!n.contains(u.documentElement,this[0]))return{top:0,left:0};var t=this[0].getBoundingClientRect();return{left:t.left+window.pageXOffset,top:t.top+window.pageYOffset,width:Math.round(t.width),height:Math.round(t.height)}},css:function(e,i){if(arguments.length<2){var a=this[0];if("string"==typeof e){if(!a)return;return a.style[o(e)]||getComputedStyle(a,"").getPropertyValue(e)}if(M(e)){if(!a)return;var r={},s=getComputedStyle(a,"");return n.each(e,function(e,t){r[t]=a.style[o(t)]||s.getPropertyValue(t)}),r}}var c="";if("string"==j(e))i||0===i?c=B(e)+":"+z(e,i):this.each(function(){this.style.removeProperty(B(e))});else for(t in e)e[t]||0===e[t]?c+=B(t)+":"+z(t,e[t])+";":this.each(function(){this.style.removeProperty(B(t))});return this.each(function(){this.style.cssText+=";"+c})},index:function(e){return e?this.indexOf(n(e)[0]):this.parent().children().indexOf(this[0])},hasClass:function(e){return!!e&&s.some.call(this,function(e){return this.test($(e))},R(e))},addClass:function(e){return e?this.each(function(t){if("className"in this){a=[];var i=$(this);Q(this,e,t,i).split(/\s+/g).forEach(function(e){n(this).hasClass(e)||a.push(e)},this),a.length&&$(this,i+(i?" ":"")+a.join(" "))}}):this},removeClass:function(t){return this.each(function(n){if("className"in this){if(t===e)return $(this,"");a=$(this),Q(this,t,n,a).split(/\s+/g).forEach(function(e){a=a.replace(R(e)," ")}),$(this,a.trim())}})},toggleClass:function(t,i){return t?this.each(function(a){var o=n(this);Q(this,t,a,$(this)).split(/\s+/g).forEach(function(t){(i===e?!o.hasClass(t):i)?o.addClass(t):o.removeClass(t)})}):this},scrollTop:function(t){if(this.length){var n="scrollTop"in this[0];return t===e?n?this[0].scrollTop:this[0].pageYOffset:this.each(n?function(){this.scrollTop=t}:function(){this.scrollTo(this.scrollX,t)})}},scrollLeft:function(t){if(this.length){var n="scrollLeft"in this[0];return t===e?n?this[0].scrollLeft:this[0].pageXOffset:this.each(n?function(){this.scrollLeft=t}:function(){this.scrollTo(t,this.scrollY)})}},position:function(){if(this.length){var e=this[0],t=this.offsetParent(),i=this.offset(),a=_.test(t[0].nodeName)?{top:0,left:0}:t.offset();return i.top-=parseFloat(n(e).css("margin-top"))||0,i.left-=parseFloat(n(e).css("margin-left"))||0,a.top+=parseFloat(n(t[0]).css("border-top-width"))||0,a.left+=parseFloat(n(t[0]).css("border-left-width"))||0,{top:i.top-a.top,left:i.left-a.left}}},offsetParent:function(){return this.map(function(){for(var e=this.offsetParent||u.body;e&&!_.test(e.nodeName)&&"static"==n(e).css("position");)e=e.offsetParent;return e})}},n.fn.detach=n.fn.remove,["width","height"].forEach(function(t){var i=t.replace(/./,function(e){return e[0].toUpperCase()});n.fn[t]=function(a){var o,r=this[0];return a===e?D(r)?r["inner"+i]:L(r)?r.documentElement["scroll"+i]:(o=this.offset())&&o[t]:this.each(function(e){(r=n(this)).css(t,Q(this,a,e,r[t]()))})}}),["after","prepend","before","append"].forEach(function(t,i){var a=i%2;n.fn[t]=function(){var t,o,r=n.map(arguments,function(i){var a=[];return"array"==(t=j(i))?(i.forEach(function(t){return t.nodeType!==e?a.push(t):n.zepto.isZ(t)?a=a.concat(t.get()):void(a=a.concat(T.fragment(t)))}),a):"object"==t||null==i?i:T.fragment(i)}),s=this.length>1;return r.length<1?this:this.each(function(e,t){o=a?t:t.parentNode,t=0==i?t.nextSibling:1==i?t.firstChild:2==i?t:null;var c=n.contains(u.documentElement,o);r.forEach(function(e){if(s)e=e.cloneNode(!0);else if(!o)return n(e).remove();o.insertBefore(e,t),c&&function e(t,n){n(t);for(var i=0,a=t.childNodes.length;i)<[^<]*)*<\/script>/gi,r=/^(?:text|application)\/javascript/i,s=/^(?:text|application)\/xml/i,c="application/json",l="text/html",d=/^\s*$/,u=a.createElement("a");function f(t,n,i,o){if(t.global)return function(t,n,i){var a=e.Event(n);return e(t).trigger(a,i),!a.isDefaultPrevented()}(n||a,i,o)}function p(e,t){var n=t.context;if(!1===t.beforeSend.call(n,e,t)||!1===f(t,n,"ajaxBeforeSend",[e,t]))return!1;f(t,n,"ajaxSend",[e,t])}function h(e,t,n,i){var a=n.context;n.success.call(a,e,"success",t),i&&i.resolveWith(a,[e,"success",t]),f(n,a,"ajaxSuccess",[t,n,e]),g("success",t,n)}function m(e,t,n,i,a){var o=i.context;i.error.call(o,n,t,e),a&&a.rejectWith(o,[n,t,e]),f(i,o,"ajaxError",[n,i,e||t]),g(t,n,i)}function g(t,n,i){var a=i.context;i.complete.call(a,n,t),f(i,a,"ajaxComplete",[n,i]),function(t){t.global&&!--e.active&&f(t,null,"ajaxStop")}(i)}function v(){}function _(e,t){return""==t?e:(e+"&"+t).replace(/[&?]{1,2}/,"?")}function w(t,n,i,a){return e.isFunction(n)&&(a=i,i=n,n=void 0),e.isFunction(i)||(a=i,i=void 0),{url:t,data:n,success:i,dataType:a}}u.href=window.location.href,e.active=0,e.ajaxJSONP=function(t,n){if(!("type"in t))return e.ajax(t);var o,r,s=t.jsonpCallback,c=(e.isFunction(s)?s():s)||"Zepto"+i++,l=a.createElement("script"),d=window[c],u=function(t){e(l).triggerHandler("error",t||"abort")},f={abort:u};return n&&n.promise(f),e(l).on("load error",function(i,a){clearTimeout(r),e(l).off().remove(),"error"!=i.type&&o?h(o[0],f,t,n):m(null,a||"error",f,t,n),window[c]=d,o&&e.isFunction(d)&&d(o[0]),d=o=void 0}),!1===p(f,t)?(u("abort"),f):(window[c]=function(){o=arguments},l.src=t.url.replace(/\?(.+)=\?/,"?$1="+c),a.head.appendChild(l),t.timeout>0&&(r=setTimeout(function(){u("timeout")},t.timeout)),f)},e.ajaxSettings={type:"GET",beforeSend:v,success:v,error:v,complete:v,context:null,global:!0,xhr:function(){return new window.XMLHttpRequest},accepts:{script:"text/javascript, application/javascript, application/x-javascript",json:c,xml:"application/xml, text/xml",html:l,text:"text/plain"},crossDomain:!1,timeout:0,processData:!0,cache:!0,dataFilter:v},e.ajax=function(i){var o,g,w=e.extend({},i||{}),y=e.Deferred&&e.Deferred();for(t in e.ajaxSettings)void 0===w[t]&&(w[t]=e.ajaxSettings[t]);!function(t){t.global&&0===e.active++&&f(t,null,"ajaxStart")}(w),w.crossDomain||((o=a.createElement("a")).href=w.url,o.href=o.href,w.crossDomain=u.protocol+"//"+u.host!==o.protocol+"//"+o.host),w.url||(w.url=window.location.toString()),(g=w.url.indexOf("#"))>-1&&(w.url=w.url.slice(0,g)),function(t){t.processData&&t.data&&"string"!=e.type(t.data)&&(t.data=e.param(t.data,t.traditional)),!t.data||t.type&&"GET"!=t.type.toUpperCase()&&"jsonp"!=t.dataType||(t.url=_(t.url,t.data),t.data=void 0)}(w);var b=w.dataType,A=/\?.+=\?/.test(w.url);if(A&&(b="jsonp"),!1!==w.cache&&(i&&!0===i.cache||"script"!=b&&"jsonp"!=b)||(w.url=_(w.url,"_="+Date.now())),"jsonp"==b)return A||(w.url=_(w.url,w.jsonp?w.jsonp+"=?":!1===w.jsonp?"":"callback=?")),e.ajaxJSONP(w,y);var x,k=w.accepts[b],S={},C=function(e,t){S[e.toLowerCase()]=[e,t]},T=/^([\w-]+:)\/\//.test(w.url)?RegExp.$1:window.location.protocol,E=w.xhr(),I=E.setRequestHeader;if(y&&y.promise(E),w.crossDomain||C("X-Requested-With","XMLHttpRequest"),C("Accept",k||"*/*"),(k=w.mimeType||k)&&(k.indexOf(",")>-1&&(k=k.split(",",2)[0]),E.overrideMimeType&&E.overrideMimeType(k)),(w.contentType||!1!==w.contentType&&w.data&&"GET"!=w.type.toUpperCase())&&C("Content-Type",w.contentType||"application/x-www-form-urlencoded"),w.headers)for(n in w.headers)C(n,w.headers[n]);if(E.setRequestHeader=C,E.onreadystatechange=function(){if(4==E.readyState){E.onreadystatechange=v,clearTimeout(x);var t,n=!1;if(E.status>=200&&E.status<300||304==E.status||0==E.status&&"file:"==T){if(b=b||((i=w.mimeType||E.getResponseHeader("content-type"))&&(i=i.split(";",2)[0]),i&&(i==l?"html":i==c?"json":r.test(i)?"script":s.test(i)&&"xml")||"text"),"arraybuffer"==E.responseType||"blob"==E.responseType)t=E.response;else{t=E.responseText;try{t=function(e,t,n){if(n.dataFilter==v)return e;var i=n.context;return n.dataFilter.call(i,e,t)}(t,b,w),"script"==b?(0,eval)(t):"xml"==b?t=E.responseXML:"json"==b&&(t=d.test(t)?null:e.parseJSON(t))}catch(e){n=e}if(n)return m(n,"parsererror",E,w,y)}h(t,E,w,y)}else m(E.statusText||null,E.status?"error":"abort",E,w,y)}var i},!1===p(E,w))return E.abort(),m(null,"abort",E,w,y),E;var M=!("async"in w)||w.async;if(E.open(w.type,w.url,M,w.username,w.password),w.xhrFields)for(n in w.xhrFields)E[n]=w.xhrFields[n];for(n in S)I.apply(E,S[n]);return w.timeout>0&&(x=setTimeout(function(){E.onreadystatechange=v,E.abort(),m(null,"timeout",E,w,y)},w.timeout)),E.send(w.data?w.data:null),E},e.get=function(){return e.ajax(w.apply(null,arguments))},e.post=function(){var t=w.apply(null,arguments);return t.type="POST",e.ajax(t)},e.getJSON=function(){var t=w.apply(null,arguments);return t.dataType="json",e.ajax(t)},e.fn.load=function(t,n,i){if(!this.length)return this;var a,r=this,s=t.split(/\s/),c=w(t,n,i),l=c.success;return s.length>1&&(c.url=s[0],a=s[1]),c.success=function(t){r.html(a?e("
").html(t.replace(o,"")).find(a):t),l&&l.apply(r,arguments)},e.ajax(c),this};var y=encodeURIComponent;e.param=function(t,n){var i=[];return i.add=function(t,n){e.isFunction(n)&&(n=n()),null==n&&(n=""),this.push(y(t)+"="+y(n))},function t(n,i,a,o){var r,s=e.isArray(i),c=e.isPlainObject(i);e.each(i,function(i,l){r=e.type(l),o&&(i=a?o:o+"["+(c||"object"==r||"array"==r?i:"")+"]"),!o&&s?n.add(l.name,l.value):"array"==r||!a&&"object"==r?t(n,l,a,i):n.add(i,l)})}(i,t,n),i.join("&").replace(/%20/g,"+")}}(a),function(e){e.fn.serializeArray=function(){var t,n,i=[];return this[0]&&e.each(this[0].elements,function(a,o){n=o.type,(t=o.name)&&"fieldset"!=o.nodeName.toLowerCase()&&!o.disabled&&"submit"!=n&&"reset"!=n&&"button"!=n&&"file"!=n&&("radio"!=n&&"checkbox"!=n||o.checked)&&function e(n){if(n.forEach)return n.forEach(e);i.push({name:t,value:n})}(e(o).val())}),i},e.fn.serialize=function(){var e=[];return this.serializeArray().forEach(function(t){e.push(encodeURIComponent(t.name)+"="+encodeURIComponent(t.value))}),e.join("&")},e.fn.submit=function(t){if(0 in arguments)this.bind("submit",t);else if(this.length){var n=e.Event("submit");this.eq(0).trigger(n),n.isDefaultPrevented()||this.get(0).submit()}return this}}(a),function(e){var t={},n=e.fn.data,i=e.camelCase,a=e.expando="Zepto"+ +new Date,o=[];function r(n,r,s){var c=n[a]||(n[a]=++e.uuid),l=t[c]||(t[c]=function(t){var n={};return e.each(t.attributes||o,function(t,a){0==a.name.indexOf("data-")&&(n[i(a.name.replace("data-",""))]=e.zepto.deserializeValue(a.value))}),n}(n));return void 0!==r&&(l[i(r)]=s),l}e.fn.data=function(o,s){return void 0===s?e.isPlainObject(o)?this.each(function(t,n){e.each(o,function(e,t){r(n,e,t)})}):0 in this?function(o,s){var c=o[a],l=c&&t[c];if(void 0===s)return l||r(o);if(l){if(s in l)return l[s];var d=i(s);if(d in l)return l[d]}return n.call(e(o),s)}(this[0],o):void 0:this.each(function(){r(this,o,s)})},e.data=function(t,n,i){return e(t).data(n,i)},e.hasData=function(n){var i=n[a],o=i&&t[i];return!!o&&!e.isEmptyObject(o)},e.fn.removeData=function(n){return"string"==typeof n&&(n=n.split(/\s+/)),this.each(function(){var o=this[a],r=o&&t[o];r&&e.each(n||r,function(e){delete r[n?i(this):e]})})},["remove","empty"].forEach(function(t){var n=e.fn[t];e.fn[t]=function(){var e=this.find("*");return"remove"===t&&(e=e.add(this)),e.removeData(),n.call(this)}})}(a),function(e){e.Callbacks=function(t){var n,i,a,o,r,s,c=[],l=!(t=e.extend({},t)).once&&[],d=function e(d){for(n=t.memory&&d,i=!0,s=o||0,o=0,r=c.length,a=!0;c&&s-1;)c.splice(i,1),a&&(i<=r&&--r,i<=s&&--s)}),this},has:function(t){return!(!c||!(t?e.inArray(t,c)>-1:c.length))},empty:function(){return r=c.length=0,this},disable:function(){return c=l=n=void 0,this},disabled:function(){return!c},lock:function(){return l=void 0,n||u.disable(),this},locked:function(){return!l},fireWith:function(e,t){return!c||i&&!l||(t=[e,(t=t||[]).slice?t.slice():t],a?l.push(t):d(t)),this},fire:function(){return u.fireWith(this,arguments)},fired:function(){return!!i}};return u}}(a),function(e){var t=Array.prototype.slice;function n(t){var i=[["resolve","done",e.Callbacks({once:1,memory:1}),"resolved"],["reject","fail",e.Callbacks({once:1,memory:1}),"rejected"],["notify","progress",e.Callbacks({memory:1})]],a="pending",o={state:function(){return a},always:function(){return r.done(arguments).fail(arguments),this},then:function(){var t=arguments;return n(function(n){e.each(i,function(i,a){var s=e.isFunction(t[i])&&t[i];r[a[1]](function(){var t=s&&s.apply(this,arguments);if(t&&e.isFunction(t.promise))t.promise().done(n.resolve).fail(n.reject).progress(n.notify);else{var i=this===o?n.promise():this,r=s?[t]:arguments;n[a[0]+"With"](i,r)}})}),t=null}).promise()},promise:function(t){return null!=t?e.extend(t,o):o}},r={};return e.each(i,function(e,t){var n=t[2],s=t[3];o[t[1]]=n.add,s&&n.add(function(){a=s},i[1^e][2].disable,i[2][2].lock),r[t[0]]=function(){return r[t[0]+"With"](this===r?o:this,arguments),this},r[t[0]+"With"]=n.fireWith}),o.promise(r),t&&t.call(r,r),r}e.when=function(i){var a,o,r,s=t.call(arguments),c=s.length,l=0,d=1!==c||i&&e.isFunction(i.promise)?c:0,u=1===d?i:n(),f=function(e,n,i){return function(o){n[e]=this,i[e]=arguments.length>1?t.call(arguments):o,i===a?u.notifyWith(n,i):--d||u.resolveWith(n,i)}};if(c>1)for(a=new Array(c),o=new Array(c),r=new Array(c);l-1)throw console.warn(t),new Error("\u540c\u4e00\u5143\u7d20\u4e0d\u53ef\u7ed1\u5b9a\u591a\u4e2a\u5bf9\u8c61");h(i)?(n=a,u.instancePool[n.className].push({obj:n.obj,el:n.el,src:"dom"===n.el.__src?"dom":"obj"})):function(e){Object.defineProperty(u.instancePool,e.className,{value:[{obj:e.obj,el:e.el,src:"dom"===e.el.__src?"dom":"obj"}],writable:!1,enumerable:!0})}(a)}function h(e){return u.instancePool.hasOwnProperty(e)}function g(e){var t=function(e){return e.length>0?(e.__ck=!0,e):void 0};switch(!0){case e instanceof Element:return t($(e));case e instanceof NodeList:case e instanceof HTMLCollection:return t($(e[0]));case e&&e.__ck:return e;default:return t($($(e).get(0)))}}function v(e){var t=u.instancePool[e];return"undefined"===typeof t?[]:t}var _="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},w=function(){function e(e,t){for(var n=0;n1&&void 0!==arguments[1]?arguments[1]:{},i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e);var a=this.$el=g(t),r={},s={};if(!a)throw new Error("can't find element");var c=this._getDOMConfig(t);this.__options=i?o.extend(!0,c,n):o.extend(!0,n,c),this.on=function(e,t){void 0===r[e]&&(r[e]=[]),r[e].push(t)},this.one=function(e,t){void 0===s[e]&&(s[e]=[]),s[e].push(t)},this.off=function(e){r[e]=[],s[e]=[]},this.emit=function(){var e,t;if(!arguments.length)return!1;if(e=arguments[0],t=[].concat(Array.prototype.slice.call(arguments,1)),r[e]&&r[e].length)for(var n in r[e])r[e][n].apply(null,t);if(s[e]&&s[e].length){for(var i in this.oneObj[e])s[e][i].apply(null,t),s[e][i]=void 0;s[e]=[]}},a.attr(d,this.constructor.mrType),p(this,a[0])}return w(e,[{key:"getContext",value:function(){return f}},{key:"getOptions",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return o.extend(!0,{},e,this.__options)}},{key:"destroy",value:function(){var e;e=this,console.log("destroy",e)}},{key:"_getDOMConfig",value:function(e){var t=g(e||this.$el);if(void 0===("undefined"===typeof t?"undefined":_(t)))return{};var n=t[0].dataset,i=function(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"datas-",n=e[0].attributes,i={},a=0;a-1&&(o=o.replace(t,""),i[o]=y(r))}return i}(t,"datas-");return o.extend({},n,i)}}],[{key:"register",value:function(e,t){e.mrType=t,u.classPool[t]=e}}]),e}(),A={init:function(){var e=this;return o("["+d+"]").not("[mr-auto=false]").each(function(t,n){f.getInstance(n)||e.createModule(n)}),f},createModule:function(e){var t,n=o(e).attr(d),i=f.getProto(n);return"undefined"===typeof i?(console.warn("Module ["+n+"] is not regiested."),null):(e.__src="dom",t=new i(e),delete e.__src,t)}},x={init:function(e){console.log("init")},ready:function(e){$(function(){var t=A.init();"function"===typeof e&&e(t)})},destroy:function(){console.log("destroy")}},k=function(){function e(e,t){for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:20;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.isMobile="ontouchstart"in window,this.threshold=t}k(e,[{key:"_getAngle",value:function(e,t){return 180*Math.atan2(t,e)/Math.PI}},{key:"start",value:function(e){this.startX=this.isMobile?e.touches[0].pageX:e.x,this.startY=this.isMobile?e.touches[0].pageY:e.y}},{key:"end",value:function(e){return this.endX=this.isMobile?e.changedTouches[0].pageX:e.x,this.endY=this.isMobile?e.changedTouches[0].pageY:e.y,this._getDirection()}},{key:"_getDirection",value:function(){var e=this.endX-this.startX,t=this.endY-this.startY,n="none";if(Math.abs(e)=-135&&i<=-45?n="up":i>45&&i<135?n="down":i>=135&&i<=180||i>=-180&&i<-135?n="left":i>=-45&&i<=45&&(n="right"),n}},{key:"listen",value:function(e,t){var n=this,i={start:"mousedown",end:"mouseup"};window.navigator.pointerEnabled?i={start:"pointerdown",end:"pointerup"}:window.navigator.msPointerEnabled&&(i={start:"MSPointerDown",end:"MSPointerUp"});var a={start:this.isMobile?"touchstart":i.start,end:this.isMobile?"touchend":i.end};$(e).on(a.start,this.start.bind(this)),$(e).on(a.end,function(e){return t(n.end(e))})}}])}(),"//mjs.sinaimg.cn/wap/online/others/eruda/eruda.min.js"),E="//mjs.sinaimg.cn/wap/online/public/mdebug/201706161130/js/index.min.js",I={_devtools:M,_mlog:j};function M(e){e&&C(T,function(){window.eruda&&window.eruda.init(),console.log("[base-utils] eruda ready")})}function j(e){e&&C(E,function(){console.log("[base-utils] mlog ready")})}var O={load:function(){Object.keys(I).forEach(function(e){return I[e]((t=new RegExp("(^|&)"+e+"=([^&]*)(&|$)"),null===(n=window.location.search.substr(1).match(t))?null:decodeURI(n[2])));var t,n})},devtools:M,mlog:j};window.SINA_NEWS=window.SINA_NEWS||{ready:x.ready,event:c},O.load();n(11),n(12);var D="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},L=0,P=100,N=!1,U="Apache",B="",R="",z="ustat",H="statuid",q="",F="",Q=window.sudaLogConfig&&window.sudaLogConfig.channel||"",W=document.referrer,V=document.URL,J="//beacon.sina.com.cn/b.gif",G="";function Y(e,t){var n;return(n=e.indexOf("#"))>0?(t&&(G=e.substring(n)),e.substring(0,n)):(t&&(G=""),e)}function X(e){for(var t=0,n=0,i=e;t=i.indexOf("<"),n=i.indexOf(">",t),t>=0&&n>=0&&n>t;)i=i.substring(0,t)+i.substring(n+1,i.length);return i}function Z(e,t,n){if(null!=t){var i=function(){if(""!=B)return B;var e="",t=V.toLowerCase(),n=t.indexOf("sina.");if(n>0)e="sina.cn";else{var i=t.indexOf(".");if(!(i>0))return"";i+=1,(n=t.indexOf("/",i))<0&&(n=t.length),e=t.substring(i,n)}return B=e,e}();if("undefined"==n||null==n)document.cookie=e+"="+t+"; domain="+i+"; path=/";else{var a=new Date,o=a.getTime();o+=864e5*n,a.setTime(o),o=a.getTime(),document.cookie=e+"="+t+"; domain="+i+"; expires="+a.toUTCString()+"; path=/"}}}function K(){if(!(Math.floor(100*Math.random())-1?"&":"?";t=t+a+"clicktime="+e+"&userid="+i}if("_blank"==n){var o=window.navigator.userAgent.toLowerCase();/ucbrowser/i.test(o)?window.location.href="ext:wo:"+t+G:/qqbrowser/i.test(o)?window.location.href=t+G:window.open(t+G)}else window.location.href=t+G},200)}function te(e,t,n){for(var i=0;i=n?null:e}function ne(e){var t=e.srcElement||e.target;if(null==t&&t==document)return!1;var n="",i="",a="",o="",r="";if("A"==t.tagName)n="txt",i=X(t.innerHTML),a=Y(t.href,!0),r=t.getAttribute("target"),o=t;else if("IMG"==t.tagName){n="img",i=t.alt;var s=te(t,"A",8);s&&(a=Y(s.href,!0),r=s.getAttribute("target"),o=s)}else{n="txt",i=X(t.innerHTML);var c=te(t,"A",8);c&&(a=Y(c.href,!0),r=c.getAttribute("target"),o=c)}var l="",d=t.tagName,u="",f=!1;try{for(var p=0;p<10&&t!=document;p++){var h=t.getAttribute("data-sudaclick");if(h){var m=t.getAttribute("data-sudatagname");if(m)f=!0,m.split(",").forEach(function(e){e.toUpperCase()==d&&(f=!1)});l=h;for(var g=t.getElementsByTagName("A"),v=0;v30&&(i=i.substr(0,30));var _=(new Date).getTime();a=a.replace(/(\r\n)|(\n)|(\t)|(\<)|(\>)/gim,""),window.sudaMapConfig&&window.sudaMapConfig.version&&(l=l+"_"+window.sudaMapConfig.version);var w={data:{index:u,aid:l,url:encodeURIComponent(a)},action:"_click"};ee("t="+n+",s="+i+",h="+escape(a+(-1==a.indexOf("?")?"?":"&")+"channel="+Q)+",ct="+_+",aid="+l+"-"+u+",channel="+Q+"|",a,r,w)}}function ie(){!function e(t){var n=t.frames;for(var i=0;i0&&(L=e,P=t,n,"function"===typeof window.getUserInfo?window.getUserInfo(function(e){e&&e.uid&&(window.sudaMapConfig.uId=e.uid),K()},!0):K())},oe=function(e){if(!e.name)return!1;e.type||(e.type="btn"),e.title||(e.title=""),e.index||(e.index=0),e.href||(e.href=window.location.href);var t=(new Date).getTime();ee("t="+e.type+",s="+e.title+",h="+escape(e.href+(-1==e.href.indexOf("?")?"?":"&")+"channel="+Q)+",ct="+t+",aid="+e.name+"-"+e.index+",channel="+Q+"|","",void 0==e.target?"":e.target)};var re="";function se(e){for(var t in e)"string"==typeof e[t]&&(e[t]=e[t].replace(/(\r\n)|(\n)|(\t)|(\<)|(\>)/gim,""));return e}"function"===typeof window.getCookie&&(re=window.getCookie(z)||""),"function"!=typeof Object.assign&&(Object.assign=function(e,t){if(null==e)throw new TypeError("Cannot convert undefined or null to object");for(var n=Object(e),i=1;i0&&Object.keys(e).forEach(function(t){var n=e[t],o="other";Object.keys(n).some(function(e){return-1!==i.indexOf(n[e])&&(o=e,!0)}),a[t]=o}),"android"!==a.system&&(a.system="ios"),this._platformInfo=a}return this._platformInfo},set:function(e){return null}}]),e}()),pe=window.navigator.userAgent.toLowerCase(),he=/iphone|ipad|ipod/.test(pe)?"ios":"android",me=["a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z"],ge=0,ve={},_e="https:"==window.location.protocol?"https://":"http://";function we(e){return[me[ge++]+"="+encodeURIComponent(window.getCookie("ustat")||""),me[ge++]+"="+he,me[ge++]+"="+e,me[ge++]+"="+encodeURIComponent(pe)].join("&")}"function"!=typeof Object.assign&&(Object.assign=function(e,t){if(null==e)throw new TypeError("Cannot convert undefined or null to object");for(var n=Object(e),i=1;i0?e>9999999?"999\u4e07+":e>9999?parseInt(e/1e4)+"\u4e07":e:null},cardName:{},hasRepeatData:function(e,t){return!!t&&(!(!this.cardName[e]||-1==this.cardName[e].indexOf(t))||(this.cardName[e]?this.cardName[e].push(t):this.cardName[e]=[t],!1))},getRollNum:function(e,t){return Math.floor(Math.random()*(t-e)+e)},scrollListener:function(e,t){if(!e||"object"!=("undefined"===typeof t?"undefined":xe(t)))throw new Error("scrollListener needs a object parameter.");for(var n=["scrollStart","scrolling","scrollEnd","threshold"],i={},a=0;a<3;a++)i[n[a]]=t[n[a]]||null;i.threshold=t.threshold||500,e.addEventListener("scroll",function(){clearTimeout(r);var e=new Date;e-o>i.threshold&&i.scrollStart&&i.scrollStart();o=e,i.scrolling&&i.scrolling(),r=setTimeout(function(){i.scrollEnd&&i.scrollEnd()},i.threshold)},!1);var o=new Date(1970,0,1,0,0,0),r=0}},"cardName",{}),ke(be,"hasRepeatData",function(e,t){return!!t&&(!(!this.cardName[e]||-1==this.cardName[e].indexOf(t))||(this.cardName[e]?this.cardName[e].push(t):this.cardName[e]=[t],!1))}),ke(be,"adDate",Date.parse(new Date)),ke(be,"tyAdData",function(e){var t=this.storage.getSession("randomNum")||0;if(this.storage.getSession("randomNum")&&0!=t)t=parseInt(this.storage.getSession("randomNum"))+1,this.storage.setSession("randomNum",t);else{t=Math.floor(1e4*Math.random());try{this.storage.setSession("randomNum",t)}catch(e){}}var n=null;fe.wifi(function(e){n=e.result,n=e.result?e.result.toString().toLowerCase():e.ori?e.ori.toString().toLowerCase():null});var i={rotate_count:t,page_url:encodeURIComponent(location.href),platform:"wap",timestamp:this.adDate,net:n};if(e)for(var a in e)i[a]=e[a];return JSON.stringify(i)}),ke(be,"sendSinaLog",function(e){var t={pk:"tianyi",ek:"interface",method:"jsonp",data:[{message:e.message||"",cre:e.url&&this.getUrlParam(e.url,"cre")||"",mod:e.url&&this.getUrlParam(e.url,"mod")||"",type:e.type||""}]};if(e.config){var n=config,i=n.duplicate,a=n.length;i&&(t.data[0].duplicate=i),a&&(t.data[0].length=a)}Ae(t)}),ke(be,"getUrlParam",function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments[1],n=new RegExp("(^|&)"+t+"=([^&]*)(&|$)"),i=(e.split("?")[1]||e.split("?")[0]||e).match(n);return null===i?null:decodeURI(i[2])}),be);document.location.href.match(/debug\=1/gi)&&(window._sinaUtils=Ce);var Te=Ce,Ee=(n(13),function(){function e(e,t){for(var n=0;n=0&&this.setSession("addHisUrl",location.href),window.sinaHisReplace(null,"",e),window.sinaHisPush("","",t),window.addEventListener("popstate",function(){this.endTime=(new Date).getTime(),this.endTime-this.startTime>200&&location.reload()}.bind(this))}else if(!this.isHomeId()&&!this.isOldAdd()){console.log("twicehis");e=this.channelUrl+"×=2",t=location.href;window.sinaHisReplace(null,"",e),window.sinaHisPush("","",t),window.addEventListener("popstate",function(){this.endTime=(new Date).getTime(),this.endTime-this.startTime>200&&location.reload()}.bind(this))}}},{key:"routeName",value:function(){var e="/intercept.d.html/?",t=location.hostname;return"photo.sina.cn"!=t&&"k.sina.cn"!=t||(e="/intercept_d.html/?"),e}},{key:"HasHistoryUrl",value:function(){if(!window.sinaHisPush){var e=history.pushState,t=history.replaceState;window.sinaHisPush=function(){for(var t=arguments.length,n=Array(t),i=0;i=0&&Ie.location.href.indexOf(e[o])>=0)return!1;if(Ie.referrer.indexOf(e[o])>=0)return!1}for(var r=0;r=0)return!1;return!0}},{key:"isHomeId",value:function(){return"sina.cn"==location.hostname}},{key:"isChannel",value:function(){return-1==Ie.referrer.indexOf(this.channelName())}},{key:"backEnd",value:function(){return-1==Ie.location.href.indexOf("backToHome=")}},{key:"isOldAdd",value:function(){return-1==Ie.location.href.indexOf("urlHistory="+this.channelName())}},{key:"isStopHis",value:function(){return-1==Ie.location.href.indexOf("his=0")}},{key:"isHomeSource",value:function(){return-1==Ie.referrer.indexOf("sina.cn")}},{key:"isfastmode",value:function(){return function(){var e=1;try{sessionStorage.setItem("checkfastmode",1),e=0}catch(e){}return e}()}},{key:"setSession",value:function(e,t){if(this.isfastmode())return"";sessionStorage.setItem(e,JSON.stringify(t))}},{key:"getSession",value:function(e){return this.isfastmode()?"":JSON.parse(sessionStorage.getItem(e))}},{key:"removeSession",value:function(e){if(this.isfastmode())return"";sessionStorage.removeItem(e)}}]),e}()),je={};je.Utils={_UA:navigator.userAgent.toLowerCase(),UAIdentify:{weibo:"weibo",qq:"qq/",sinanews:"sinanews"},isInclude:function(e,t){return e.indexOf(t)>-1},isSinaNews:function(){var e=this.UAIdentify;return!!this.isInclude(this._UA,e.sinanews)},isWeibo:function(){var e=this.UAIdentify;return!!this.isInclude(this._UA,e.weibo)},isQQ:function(){var e=this.UAIdentify;return!!this.isInclude(this._UA,e.qq)}},window.addEventListener("load",function(){var e=new Me;window.addEventListener("pageshow",function(){e.startTime=(new Date).getTime()})});var Oe="";window.addEventListener("touchmove",function(){function e(){Oe||(Oe=setTimeout(function(){$("#j_worldcupBtn").removeClass("an")},1e3))}Oe&&(clearTimeout(Oe),Oe=""),$("#j_worldcupBtn").addClass("an"),window.addEventListener("touchend",e,!1),window.addEventListener("touchcancel",e,!1)},!1);n(14);var De="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},Le=(document,window,{adaptInfo:function(e,t){var n={};if("object"!=("undefined"===typeof e?"undefined":De(e)))return n;switch(t){case"yaowen":case"like":if(function(e){return!((!e.mthumbs||e.mthumbs.length<3)&&(!e.thumbs||e.thumbs.length<3))&&(3==e.thumbStyle||e.surl.indexOf("photo.sina.cn")>-1||e.url.indexOf("photo.sina.cn")>-1)}(e)){var i=(e.mthumbs&&e.mthumbs.length>=3?e.mthumbs.slice(0):"")||(e.thumbs?e.thumbs.slice(0):"")||[];n={link:e.surl||e.url||"",feedback:e.url||"",title:e.ltitle||e.title||"",imgNum:e.img_count||0,imgs:i,info:e.info||"",comment:Le.commentFiler(e.comment_count)||0,thumbStyle:e.thumbStyle||"",media:Le.sourceFiler(e.media)||"",card:e.card||!1,docID:e.docid||"",pclink:e.url||"",is_3pics:e.is_3pics||0,bthumb:e.bthumb||"",reason:e.reason||""}}else{var a=(e.mthumbs?e.mthumbs[0]:"")||e.thumb||(e.thumbs?e.thumbs[0]:""),o=24==e.reason?"\u7f6e\u9876":"";n={link:e.surl||e.url||"",feedback:e.url||"",img:Te.getCuttedImg(a,"200_134",!0),title:e.ltitle||e.title||"",intro:e.mintro||e.short_intro||e.intro||e.title||"",reason:e.reason||0,uid:e.uids&&e.uids[0].split("_")[2]||0,info:e.info||"",comment:Le.commentFiler(e.comment_count)||0,media:Le.sourceFiler(e.media)||"",type:e.type||"",time_length:e.time_length||"",card:e.card||!1,docID:e.docid||"",pclink:e.url||"",is_3pics:e.is_3pics||0,bthumb:e.bthumb||"",tag:o}}break;case"intellect_news":i=e.thumbs?e.thumbs.slice(0):e.thumbs?e.thumbs.slice(0):[],o=24==e.reason?"\u7f6e\u9876":"";for(var r=0;r=3)i=e.pics.imgs.slice(0),n={link:Te.http2https(e.link||""),title:e.largetitle||e.title||"",imgNum:e.pics.total||"",imgs:i};else n={link:Te.http2https(e.link||""),img:Te.getCuttedImg(e.img,"200_134",!0),title:e.largetitle||e.title||"",intro:e.intro||"",comment:Le.commentFiler(e.comment_count)||""};break;case"house":n=e.pics?{link:e.link||"",title:e.title||"",imgNum:e.pics.total||"",imgs:e.pics.imgs.slice(0)}:{link:e.link||"",img:e.pic||"",title:e.title||"",intro:e.zhaiyao||e.title||"",comment:0};break;case"app":n={link:e.url||"",img:e.pic,title:e.title||""};break;case"stockIndex":n={link:e.link||"",range:e.range||"",title:e.title||"",value:e.value||"",class:e.class||""};break;case"breaker":n={status:e.status||"",begin:e.begin||"",lastend:e.lastend||"",zuixin:e.zuixin||"",zhangdiefu:e.zhangdiefu||""};break;case"video":n={link:e.link||"",img:e.img,title:e.title||e.wap_title||"",intro:e.intro||"",comment:e.comment||"",tag:e.newsTag||""};break;case"weather":n={icon:e.icon_v3||e.icon||mjsDomain+"/wap/homev6/weather/qing_bai_2.png"};break;case"cardvideo":a=(e.mthumbs?e.mthumbs[0]:"")||e.thumb||(e.thumbs?e.thumbs[0]:"");n={link:e.surl||e.url||"",src:Te.getCuttedImg(a,"710_400",!1),title:e.ltitle||e.title||"",time:Le.dateFormat(new Date(parseInt(e.time_length)||0),"%M:%S"),reason:e.reason||0,docID:e.docid||"",comment:Le.commentFiler(e.comment_count)||0,info:e.info||""};break;case"flowPic":a=(e.thumbs?e.thumbs[0]:"")||e.thumb||(e.mthumbs?e.mthumbs[0]:"");n={link:e.surl||e.url||"",src:Te.getCuttedImg(a,"345_0",!1,!0),alt:e.ltitle||e.title||"",count:e.org_imgCount||"",docID:e.docid||"",info:e.info||0};break;case"threePic":for(r=0;r=3)i=e.pics.imgs.slice(0),n={link:e.link||"",title:e.title||e.wap_title||"",imgNum:e.pics.total||"",imgs:i,docID:e.docID||"",comment:Le.commentFiler(e.comment)||"",scheme:e.scheme||"",commentId:e.comment_id||""};else{a=e.img||e.pic;-1==e.link.indexOf("v.sina.cn")&&-1==e.link.indexOf("video.sina.cn")||(e.type=3);n={link:e.link||"",img:Te.getCuttedImg(a,3==e.type||10==e.type?"710_400":"200_134",!1),title:e.title||e.wap_title||"",intro:e.intro||"",comment:Le.commentFiler(e.comment)||"",tag:e.newsTag||"",docID:e.docID||"",scheme:e.scheme||"",source:e.source||"",type:e.type||"",commentId:e.comment_id||""}}break;default:n=(e=e||{}).pics&&e.pics.total>=3?{link:e.link||"",title:e.title||e.wap_title||"",imgNum:e.pics.total||"",imgs:e.pics.imgs.slice(0),docID:e.docID||"",comment:Le.commentFiler(e.comment)||""}:{link:e.link||"",img:e.img||e.pic||"",title:e.title||e.wap_title||"",intro:e.intro||"",comment:Le.commentFiler(e.comment)||"",tag:e.newsTag||"",docID:e.docID||"",scheme:e.scheme||"",source:e.source||""}}return n},adapt2PicsInfo:function(e,t){var n=[],i=0,a=0;switch(t){case"house":for(i=0,a=e.retData.house.pic.length;i9999){var n=parseInt(t/1e3).toString();e="0"==n.charAt(n.length-1).toString()?parseInt(t/1e4)+"\u4e07":parseInt(t/1e3)/10+"\u4e07"}else e=t}else e="";return e}}),Pe=Le,Ne="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};document,window;function Ue(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments[1],n=new RegExp("(^|&)"+t+"=([^&]*)(&|$)"),i=(e.split("?")[1]||e.split("?")[0]||e).match(n);return null===i?null:decodeURI(i[2])}var Be={init:function(){return{action:"",t:1,uid:"",info:"",mod:"",cre:""}},ElemExpose:function(e,t,n){var i=Be.init(),a=[];e[0]&&(i.mod=Ue(e[0].href,"mod")||Ue(e[0].dataset.href,"mod")||i.mod,i.cre=Ue(e[0].href,"cre")||Ue(e[0].dataset.href,"cre")||i.cre),e.forEach(function(e){if(e.dataset.info){if(n){var t=$(e).next().find("a"),i=$(e).prev().find("a");t.data("href")&&-1!=t.data("href").indexOf("sax")&&window.SIMA({action:"_exposead",pk:"187522",data:{cre:Ue(n,"cre"),info:$(e).data("info"),mod:Ue(n,"mod"),action:"exposead",adinfo:t.data("info"),loc:"up",type:"home"}}),i.data("href")&&-1!=i.data("href").indexOf("sax")&&window.SIMA({action:"_exposead",pk:"187522",data:{cre:Ue(n,"cre"),info:$(e).data("info"),mod:Ue(n,"mod"),action:"exposead",adinfo:i.data("info"),loc:"down",type:"home"}})}a.push(e.dataset.info)}}),0!=a.length&&(i.action="expose",i.uid=Be.getUid(),i.t=parseInt(10*Math.random()),i.info=a.join(";"),t&&$.extend(i,t),window.SIMA({action:"_exposure",data:i}))},ElemClick:function(e,t,n){e.forEach(function(e){e.addEventListener("click",function(){if(this.dataset.info){var e=Be.init();if(e.action="click",e.uid=Be.getUid(),e.info=this.dataset.info,e.mod=Ue(this.href,"mod")||Ue(this.dataset.href,"mod")||e.mod,e.cre=Ue(this.href,"cre")||Ue(this.dataset.href,"cre")||e.cre,e.t=parseInt(10*Math.random()),e.info){if(n){var i=$(this).next().find("a"),a=$(this).prev().find("a");i.data("href")&&-1!=i.data("href").indexOf("sax")&&window.SIMA({action:"_clickad",pk:"187522",data:{cre:Ue(n,"cre"),info:$(this).data("info"),mod:Ue(n,"mod"),action:"clickad",adinfo:i.data("info"),loc:"up",type:"home"}}),a.data("href")&&-1!=a.data("href").indexOf("sax")&&window.SIMA({action:"_clickad",pk:"187522",data:{cre:Ue(n,"cre"),info:$(this).data("info"),mod:Ue(n,"mod"),action:"clickad",adinfo:a.data("info"),loc:"down",type:"home"}})}t&&$.extend(e,t),window.SIMA({action:"_click",data:e})}}},!1)})},getUid:function(){return"function"===typeof window.getCookie&&(e=getCookie("ustat")||""),"object"===Ne(window.userInfo)&&(t=userInfo.uid||""),(t||"")+";"+(e||"");var e,t},getMod:function(e){return e?this.match(e,"mod"):""},getCre:function(e){return e?this.match(e,"cre"):""},match:function(e,t){var n=new RegExp(t+"=(.*?)&"),i=e.match(n);return null!=i?i[1]:""},log:function(e){"http:"==window.location.protocol&&((new Image).src=e)}},Re=Be,ze=n(0);var He=function(){var e=[{handle:".h_module",tag:"exp_title",recursive:!1},{handle:"#j_top_nav",tag:"exp_top_nav",recursive:!1},{handle:"#j_imgSlide",tag:"exp_imgSlide",recursive:!1},{handle:"#j_news_scroll",tag:"exp_news_scroll",recursive:!1},{handle:"#j_card_yaowen",tag:"exp_yaowen",recursive:!1},{handle:"#j_card_breaking",tag:"exp_breaking",recursive:!1},{handle:"#j_card_sports",tag:"exp_sports",recursive:!1},{handle:"#j_card_ent",tag:"exp_ent",recursive:!1},{handle:"#j_card_local",tag:"exp_local",recursive:!1},{handle:"#j_card_finance",tag:"exp_finance",recursive:!1},{handle:"#j_card_tech",tag:"exp_tech",recursive:!1},{handle:"#j_card_auto",tag:"exp_auto",recursive:!0},{handle:"#j_card_house",tag:"exp_house",recursive:!1},{handle:"#j_card_searchbar",tag:"exp_searchbar",recursive:!1},{handle:"#j_card_mil",tag:"exp_mil",recursive:!1},{handle:"#j_card_blog",tag:"exp_blog",recursive:!1},{handle:"#j_card_edu",tag:"exp_edu",recursive:!1},{handle:"#j_card_fashion",tag:"exp_fashion",recursive:!1},{handle:"#j_card_life",tag:"exp_life",recursive:!1},{handle:"#j_card_video",tag:"exp_video",recursive:!1},{handle:"#j_card_games",tag:"exp_games",recursive:!1},{handle:"#j_card_hotweibo",tag:"exp_hotweibo",recursive:!1},{handle:"#j_card_like_feed",tag:"exp_like_feed",recursive:!1},{handle:"#j_card_apprecommend",tag:"exp_apprecommend",recursive:!1},{handle:"#j_bottom_nav",tag:"exp_bottom_nav",recursive:!1},{handle:"#j_card_shehui",tag:"exp_shehui",recursive:!1}],t=0,n=0,i=e.length,a=null,o="",r=[],s=null,c=0;for(t=0;t-1;return r||this.cacheList.push(a),r||t&&t.addEventListener("load",function(){i.later5s?i.saveImg(e):i.imgList5sBefore.push(e)}),e}},{key:"saveImg",value:function(e){var t=this;try{var n=new XMLHttpRequest,i=new FileReader;n.open("GET",e),n.responseType="arraybuffer",n.addEventListener("load",function(){if(200===n.status){var a=n.getResponseHeader("content-type"),o=function(e,t){try{return new Blob([e],{type:t})}catch(i){var n=new(window.BlobBuilder||window.MozBlobBuilder||window.WebKitBlobBuilder||window.OBlobBuilder||window.msBlobBuilder);return n.append(e),n.getBlob(t)}}(n.response,a);i.readAsDataURL(o),i.onload=function(n){var i=n.target.result;t._doSave(i,e)}}}),n.send()}catch(e){console.warn("\u6d4f\u89c8\u5668\u4e0d\u652f\u6301FileReader\u6216Blob\u5bfc\u81f4\u7f13\u5b58\u56fe\u7247\u51fa\u9519"),console.error(e.message)}}},{key:"getSize",value:function(){return parseInt(this.storage.getItem("mfe_cache_img_size")||0)}},{key:"_doSave",value:function(e,t){var n=e.length;if(!(n>this.option.maxCacheSzie)){var i=this,a=this._getCacheList(),o=Qe(this._cutUrlHost(t));!function e(){if(a.length>0&&n+i.getSize()>i.option.maxCacheSzie){var t=a.pop();i._delCache(t),e()}}(),a.unshift(o),this._saveCacheList(a),this.storage.setItem("mfe_cache_img_size",this.getSize()+n);try{this.storage.setItem(o,e)}catch(e){}}}},{key:"_updateCacheList",value:function(e){var t=this._getCacheList(),n=t.indexOf(e);n>-1&&t.splice(n,1),t.unshift(e),this._saveCacheList(t)}},{key:"_getCacheList",value:function(){var e=this.storage.getItem("mfe_cache_img_cache_list");return e?JSON.parse(e):[]}},{key:"_saveCacheList",value:function(e){this.storage.setItem("mfe_cache_img_cache_list",JSON.stringify(e))}},{key:"_delCache",value:function(e){var t=0;this.storage.getItem(e)&&(t=this.storage.getItem(e).length);var n=this.getSize();this.storage.setItem("mfe_cache_img_size",n-t),this.storage.removeItem(e)}},{key:"_isImgInFirstScreen",value:function(e){return e.getBoundingClientRect().top+window.pageYOffset1?t-1:0),i=1;i=0)){Ge.push(n);var r={action:"_imageError",pk:"187526",data:{image:n,url:a}};le(r),window.log&&console.log("lazyload: \u56fe\u7247\u52a0\u8f7d\u9519\u8bef\u5df2\u53d1:",r)}},Xe=new Fe({urlReg:Je.cacheImgUrlReg}),Ze=new(function(e){function t(){$e(this,t);var e=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this));return e.option=Je,e.init(),e}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,Ve),We(t,[{key:"init",value:function(){this._refreshLazyItems(),this._initEvent(),this._loadLazy()}},{key:"_refreshLazyItems",value:function(){var e=this;this.option._lazyImgCache=[],Array.prototype.forEach.call(document.querySelectorAll("img,[bg-src]"),function(t){e._canLazyLoad(t)&&(t.getAttribute(e.option.lazyImgAttr)||t.getAttribute(e.option.bgSrcAttr))&&e.option._lazyImgCache.push(t)})}},{key:"currentLazy",value:function(){this._doLazy()}},{key:"refreshLazyload",value:function(){this._refreshLazyItems()}},{key:"_canLazyLoad",value:function(e){return!function(e,t){for(var n=t.className.split(/\s+/),i=0;it.option.errorTime||null!=i&&setTimeout(function(){o?o++:o=1,e.setAttribute("errorTime",o),e.setAttribute("src",""),e.setAttribute("src",i)},1e3)},this.option.cacheImg){var a=Xe.getImg(i,e,e);if(null==a)return;e.setAttribute("src",a)}else e.setAttribute("src",i)}},{key:"_loadImgSrc",value:function(e){var t=this,n=e.getAttribute("errorTime");if(!(n&&n>this.option.errorTime))if("true"!=e.getAttribute("data-direct")){var i=new Image,a=e.getAttribute(this.option.bgSrcAttr),o=this;i.onload=function(n){e.act=!0,e.classList.add(o.option.imgLoadClass),a?(e.style.backgroundImage="url("+a+")",e.removeAttribute(o.option.bgSrcAttr)):(e.setAttribute("src",i.getAttribute("src")),e.removeAttribute(o.option.lazyImgAttr)),o.onload&&o.onload(e),t.emit("load",e)},i.onerror=function(a){e.act=!0,n?n++:n=1,e.setAttribute("errorTime",n),e.getAttribute(o.option.retryAttr)?s():(Ye(e),i.src&&o.onerror&&o.onerror(e,a),i.src&&t.emit("error",e,a))},i.onabort=function(n){e.act=!0,e.getAttribute(o.option.retryAttr)?s():(i.src&&o.onabort&&o.onabort(e,n),i.src&&t.emit("abort",e,n))};var r=a||e.getAttribute(this.option.lazyImgAttr);this.option.cacheImg?i.src=Xe.getImg(r,i,e):i.src=r;var s=function(){i.src="",i.src=(a||e.getAttribute(t.option.lazyImgAttr))+"?"+(new Date).getTime(),e.removeAttribute(t.option.retryAttr)};e.getAttribute(this.option.retryAttr)&&setTimeout(function(){return!e.act&&s()},this.option.retryTime)}else this._loadImgSrcDirect(e)}},{key:"_imgsHotSortAndLoad",value:function(e){e.sort(function(e,t){return e.hot-t.hot});for(var t=0;t0&&void 0!==arguments[0]&&arguments[0],t=document.documentElement,n=window.innerHeight||t.clientHeight||document.body.clientHeight||0,i=window.innerWidth||t.clientWidth||document.body.clientWidth||0,a=[];this._refreshLazyItems();for(var o=[],r=0;r-this.option.marginHeight&&c.top-this.option.marginHeight;e&&(l=!0),l&&(o.push({img:s,hot:Math.abs(c.top-this.option.bestHot)}),a.push(r))}this._imgsHotSortAndLoad(o);for(r=a.length-1;r>=0;r--)this.option._lazyImgCache.splice(a[r],1)}},{key:"loadAll",value:function(){this._doLazy(!0)}},{key:"_initEvent",value:function(){window.addEventListener("scroll",this._loadLazy.bind(this),!1),window.addEventListener("resize",this._loadLazy.bind(this),!1),window.addEventListener("orientationchange",this._loadLazy.bind(this),!1),window.addEventListener("touchmove",this._loadLazy.bind(this),!1)}},{key:"setMarginHeight",value:function(e){this.option.marginHeight=e}},{key:"setMarginWidth",value:function(e){this.option.marginWidth=e}},{key:"setCacheImgOption",value:function(e){this.option.cacheImg=e.cacheImg,e.cacheImgUrlReg&&(Xe=new Fe({urlReg:e.cacheImgUrlReg}),this.option.cacheImgUrlReg=e.cacheImgUrlReg)}}]),t}());window.lazyLoad=Ze;var Ke=Ze,et=function(e){try{var t=void 0,n=lt(e);if(t=nt(e,n))return t;if(t=ot(e,n))return t;if(t=rt(e,n))return t;if(t=ct(e,n))return t;if(t=tt(e,n))return t}catch(e){}return!1},tt=function(e,t){if("kandian"!=t&&"k"!=t)return!1;var n=e.match("/article_([0-9a-zA-Z]+)_([0-9a-zA-Z]+).html");return!!(n&&n[1]&&n[2])&&("m"==n[2].substring(0,1)?n[1]+"-"+n[2]+"-video-mp":n[1]+"-"+n[2]+"-cms-mp")},nt=function(e,t){var n=e.match("-i([a-z]{7}[0-9]{7})"),i=n?n[1]:"";if(i&&t){var a=it(e,i,t);return a||((a=at(e,i,t))?a:("v"==t&&(t="video"),i+"-comos-"+t+"-cms"))}},it=function(e,t,n){return"yd"==n&&t+"-"+(dt(e,"mid")||0)+"-comos-original"},at=function(e,t,n){return"top"==n&&t+"-comos-consice"},ot=function(e,t){var n=!1;if("cj"==t){var i=e.match("/article/detail/([0-9a-zA-Z]+)/([0-9a-zA-Z]+)"),a=e.match("/articles/view/([0-9a-zA-Z]+)/([0-9a-zA-Z]+)");if(i&&i[1]&&i[2]&&(n=i[1]+"-"+i[2]+"-cj-cjtop"),a&&a[1]&&a[2]){var o=a[2].split("")[0];switch(n=a[1]+"-"+a[2]+"-cj-",o){case"p":n+="hdpic-mp";break;case"m":n+="video-mp";break;default:n+="cms-mp"}}}else if("t.cj"==t){var r=e.match("/articles/view/([0-9a-zA-Z]+)/([0-9a-zA-Z]+)");if(r&&r[1]&&r[2]){var s=r[2].split("")[0];switch(n=r[1]+"-"+r[2]+"-tcj-",s){case"p":n+="hdpic-mp";break;case"m":n+="video-mp";break;default:n+="cms-mp"}}}return n},rt=function(e,t){var n=st(e,t);return!!n&&n+"-blog"},st=function(e,t){if("blog"!=t)return!1;var n=e.match("dpool/blog/s/blog_(.*?).html");return!(!n||!n[1])&&n[1]},ct=function(e,t){if("photo"!=t)return!1;var n=e.match("album_([0-9_]*).htm");return!(!n||!n[1])&&n[1].replace(/\_/g,"-")+"-hdpic"},lt=function(e){var t=e.indexOf(".com.cn")>-1?e.match("://([a-zA-Z0-9.]{0,61}).sina.com.cn"):e.match("://([a-zA-Z0-9.]{0,61}).sina.cn");return t?t[1]:""},dt=function(e,t){if(-1==e.indexOf(t))return"";for(var n=e.split("?")[1].split("&"),i=0;i=3?Ot.Ztemplate.threePicFnTem(e):Ot.Ztemplate.picTxtFnTem(e)},picTxtFnTem:function(e){if(Ot.isLeftArt())return Ot.Ztemplate.txtPicFnTem(e);var t="";if("feeduc"==e.type)t='';else if("feediqiyi"==e.type)t='';else{var n=e.info.commentId?" data-cmntId='"+e.info.commentId+"'":"";t=''}return t+=mt()(e.info),t+=""},txtPicFnTem:function(e){var t="";if("feeduc"==e.type)t='';else if("feediqiyi"==e.type)t='';else{var n=e.info.commentId?" data-cmntId='"+e.info.commentId+"'":"";t=''}return t+=wt()(e.info),t+=""},threePicFnTem:function(e){var t="";if("feeduc"==e.type)t='';else if("feediqiyi"==e.type)t='';else{t=''}return t+=vt()(e.info),t+=""},bigVideoPicFnTem:function(e){var t="";return t+='',t+=pt()(e.info),t+=""},bigPicFnTem:function(e){var t="";return t='',t+=bt()(e.info),t+=""},wdBigPicFnTem:function(e){var t="";return t='',t+=xt()(e.info),t+=""},loadingFnTem:function(){return'
\u52a0\u8f7d\u4e2d...
'},tagFnTem:function(e){return''+e+""},reloadDataBtn:function(){return'
\u4e0a\u6b21\u9605\u8bfb\u5230\u8fd9\u91cc\uff0c\u70b9\u51fb\u5237\u65b0
'}},appendToYaowen:function(e,t){this.appendToCard(e,t,"#j_card_yaowen")},appendToCard:function(e,t,n){var i=kt.querySelector(n);if(0!=i.length){var a=i.children[t],o=kt.createElement("div");o.innerHTML=e,i.insertBefore(o.children[0],a),Ke&&Ke.currentLazy()}},getFeedStr:function(e,t,n,i,a){return t.bthumb?n+=this.getBigPicFeedStr(e,t,i,a):t.imgNum&&t.imgNum>=3||3==t.thumbStyle?n+=this.get3PicsFeedStr(e,t,i,a):"video"==e||3==t.type||10==t.type?n+=this.getVideoFeedStr(e,t,i,a):n+=this.getCommonFeedStr(e,t,i,a),n},getVideoFeedStr:function(e,t,n,i){if(Ot.isLeftArt())return this.getLeftArtVideoFeedStr(e,t,n,i);var a="",o=this.getTarget(e),r=this.getOtherArgs(e),s="";if(i&&"feedmove"==i&&(s="data-pclink="+t.link),Ct){if(n&&"yaowen"==e){var c=ut(t.link),l=t.link.split("//")[1].split(".")[0],d=this.isAndroidNoQQ()?"j_nativeLiteCell":"j_call_native",u=this.isAndroidNoQQ()?t.link:"javascript:void(0)",f=this.isAndroidNoQQ()?'data-kid="265"':'data-kid="203"';a+=""}else a+="";a+=t.img?"
"+t.title+"
":"",a+="",a+="
"}else a="",a+="

"+t.title+"

",a+=this.getTagStr(e,t),a+="
";return a},getWeiDongFeedStr:function(e,t,n,i){var a="",o=this.getTarget(e),r=this.getOtherArgs(e),s="";if(i&&"feedmove"==i&&(s="data-pclink="+t.link),Ct){var c=ut(t.link),l=t.link.split("//")[1].split(".")[0];a+="",a+="

"+t.title+"

",a+='",a+=this.getTagStr(e,t,n),a+="
"}else a="",a+="

"+t.title+"

",a+=this.getTagStr(e,t),a+="
";return a},getBigPicFeedStr:function(e,t,n,i){var a="",o=this.getTarget(e),r=this.getOtherArgs(e),s="";if(i&&"feedmove"==i&&(s="data-pclink="+t.link),Ct){if(n&&"yaowen"==e){var c=ut(t.link),l=t.link.split("//")[1].split(".")[0],d=this.isAndroidNoQQ()?"j_nativeLiteCell":"j_call_native",u=this.isAndroidNoQQ()?t.link:"javascript:void(0)",f=this.isAndroidNoQQ()?'data-kid="265"':'data-kid="203"';a+=""}else a+="";a+="

"+t.title+"

",a+='",a+=this.getTagStr(e,t,n),a+="
"}else a="",a+="

"+t.title+"

",a+=this.getTagStr(e,t),a+="
";return a},getLeftArtVideoFeedStr:function(e,t,n,i){var a="",o=this.getTarget(e),r=this.getOtherArgs(e),s="";if(i&&"feedmove"==i&&(s="data-pclink="+t.link),Ct){if(this.isOutsidePicUrl(t.img))return t.img="","";if(n&&"yaowen"==e){var c=ut(t.link),l=t.link.split("//")[1].split(".")[0],d=this.isAndroidNoQQ()?"j_nativeLiteCell":"j_call_native",u=this.isAndroidNoQQ()?t.link:"javascript:void(0)",f=this.isAndroidNoQQ()?'data-kid="265"':'data-kid="203"';a+=""}else a+="";a+="",a+=t.img?"
"+t.title+"
":"",a+="
"}else a="",a+="

"+t.title+"

",a+=this.getTagStr(e,t),a+="
";return a},isURLAvailable:function(e){var t=e&&(0==e.indexOf("https://")||"//"==e.substring(0,2))&&-1==e.indexOf("esfimg.com");return!St||t},isOutsidePicUrl:function(e){return!1},get2PicsFeedStr:function(e,t){var n="",i=0,a=this.getTarget(e);if(Ct){for(n+="
",i=0;i<2;i++){var o="cardgroup"!=e?Te.getCuttedImg(t[i].img,"350_234",!0):Te.getCuttedImg(t[i].img,"350_234");n+="",n+=""+t[i].title+"",n+="

"+t[i].title+"

",n+="
"}n+="
"}else for(i=0;i<2;i++)n+="",n+="

"+t[i].title+"

",n+="
",n+="",n+="
",n+="
";return n},getSwiperStr:function(e,t,n){var i="",a=t.title.replace(/"/g,"");return i+='
  • ',i+='',i+=0!=n?''+a+'':''+a+'',i+='

    '+t.title+"

    ",i+="
  • "},get3PicsFeedStr:function(e,t,n,i,a,o){var r="",s=this.getTarget(e),c=0,l="";if(i&&"feedmove"==i&&(l="data-pclink="+t.link),"wbstick"==e)r+="";else if(n&&"yaowen"==e){var d=ut(t.link),u=t.link.split("//")[1].split(".")[0],f=this.isAndroidNoQQ()?"j_nativeLiteCell":"j_call_native",p=this.isAndroidNoQQ()?t.link:"javascript:void(0)",h=this.isAndroidNoQQ()?'data-kid="265"':'data-kid="203"';r+=''}else if(o)r+="";else if(a)r+='';else{r+="'}if(Ct){for(r+='

    ',r+=t.title,r+="

    ",r+='",r+=this.getTagStr(e,t,n),r+="
    "}else r="",r+="

    "+t.title+"

    ",r+="
    ",r+=""+t.imgNum+"",r+="
    ",r+="
    ";return r},get3VerticalPicStr:function(e,t){var n="",i=(this.getTarget(e),0);if(Ct){n+='
    ';for(i=0;i<3;i++)n+='',n+='
    ",n+=''+t[i].title+"",n+="
    ";n+="
    "}return n},get5PicsFeedStr:function(e,t){var n="",i=(this.getTarget(e),0),a=t.length;if(Ct){n+='"}return n},get4PicsFeedStr:function(e,t){var n="",i=(this.getTarget(e),0),a=t.length;n+='"},getCommonTitleStr:function(e,t){var n="",i=t.subTitle&&t.subTitle.length,a=0,o=this.getTarget(e);if(n+=""},getTarget:function(e){var t=[],n=0,i=t.length;for(n=0;n\u5174\u8da3'},2:{title:"\u5fae\u535a",dom:'\u5fae\u535a'},4:{title:"\u70ed\u95e8",dom:'\u70ed\u95e8'},7:{title:"\u672c\u5730",dom:'\u672c\u5730'}},a="";return a+="
    ",void 0===t.tag||""===t.tag||n?t.reason in i&&!jt[t.reason]&&!n?(a+=i[t.reason].dom,2==t.reason&&(a=a.replace("\u5fae\u535a",t.uid)),jt[t.reason]=!0):("hotweibo"==e&&t.source&&Ct&&!n&&(a+='@'+t.source+""),"video"!=e&&3!=t.type&&10!=t.type||!Ct||n||(a+='\u89c6\u9891'),n&&(this.isAndroidNoQQ()?a+='\u6781\u901f\u7248\u4e13\u4eab':a+='APP\u4e13\u4eab'),a+='',a+=parseInt(t.comment)?''+t.comment+'':'',a+=""):a+=""+t.tag+"",a+="
    "},getLeftArtTagStr:function(e,t,n){var i={0:{title:"\u5174\u8da3",dom:'\u5174\u8da3'},2:{title:"\u5fae\u535a",dom:'\u5fae\u535a'},4:{title:"\u70ed\u95e8",dom:'\u70ed\u95e8'},7:{title:"\u672c\u5730",dom:'\u672c\u5730'}},a="";return a+="
    ",void 0===t.tag||""===t.tag||n?t.reason in i&&!jt[t.reason]&&!n?(a+=i[t.reason].dom,2==t.reason&&(a=a.replace("\u5fae\u535a",t.uid)),jt[t.reason]=!0):(a+='',a+=parseInt(t.comment)?''+t.comment+"":'',a+="","hotweibo"==e&&t.source&&Ct&&!n&&(a+='@'+t.source+""),"video"!=e&&3!=t.type&&10!=t.type||!Ct||n||(a+='\u89c6\u9891'),n&&(this.isAndroidNoQQ()?a+='\u6781\u901f\u7248\u4e13\u4eab':a+='APP\u4e13\u4eab')):a+=""+t.tag+"",a+="
    "},isAndroidNoQQ:function(){var e=navigator.userAgent.toLowerCase();return(-1!=e.indexOf("Android")||-1!=e.indexOf("android"))&&(-1==e.indexOf("qq")&&-1==e.indexOf("QQ"))},getCommonFeedStr:function(e,t,n,i,a,o){if(Ot.isLeftArt())return this.getLeftArtFeedStr(e,t,n,i,a,o);var r="",s=this.getTarget(e),c=this.getOtherArgs(e),l=n?"j_nativeLiteCell":"",d="";if(i&&"feedmove"==i&&(d="data-pclink="+t.link),Ct){if("hotweibo"==e||"wbstick"==e)r+="";else if(n&&"yaowen"==e){var u=ut(t.link),f=t.link.split("//")[1].split(".")[0],p=this.isAndroidNoQQ()?"j_nativeLiteCell":"j_call_native",h=this.isAndroidNoQQ()?t.link:"javascript:void(0)",m=this.isAndroidNoQQ()?'data-kid="265"':'data-kid="203"';r+=""}else if(o)r+="";else if(a)r+="";else{r+=""}r+="hotweibo"==e||"book"==e?t.img?"
    "+t.title+"
    ":"":t.img?"
    "+t.title+"
    ":"",r+="",r+="
    "}else r="",r+="

    "+t.title+"

    ",r+=this.getTagStr(e,t),r+="
    ";return r},getLeftArtFeedStr:function(e,t,n,i,a,o){var r="",s=this.getTarget(e),c=this.getOtherArgs(e),l=n?"j_nativeLiteCell":"",d="";if(i&&"feedmove"==i&&(d="data-pclink="+t.link),Ct){if(this.isOutsidePicUrl(t.img))return t.img="","";if("hotweibo"==e||"wbstick"==e)r+="";else if(n&&"yaowen"==e){var u=ut(t.link),f=t.link.split("//")[1].split(".")[0],p=this.isAndroidNoQQ()?"j_nativeLiteCell":"j_call_native",h=this.isAndroidNoQQ()?t.link:"javascript:void(0)",m=this.isAndroidNoQQ()?"":'data-kid="203"';r+=""}else if(o)r+="";else if(a)r+="";else{r+=""}r+="",r+="hotweibo"==e||"book"==e?t.img?"
    "+t.title+"
    ":"":t.img?"
    "+t.title+"
    ":"",r+="
    "}else r="",r+="

    "+t.title+"

    ",r+=this.getTagStr(e,t),r+="
    ";return r},getMatchStr:function(e,t){if(Ct){var n=t.length>2?2:t.length,i="",a="",o="",r="",s="",c="",l=0,d=0;i+='
    ';for(var u=2==n?"":"m_match_a_solo",f=0;f',i+='";i+="
    "}return i},getOtherArgs:function(e){return""}},Dt=Ot,Lt={init:function(e,t){var n="",i={obj:{},arr:[]};e.forEach(function(t,i){n+=t,i0?t(i):t(null))},error:function(){t(null)}})}};document,window;var Pt={init:function(e){var t=e||"#j_card_yaowen";this.entry=t,this.pageType=!0,this.stick()},stick:function(){var e=0;if(SM&&SM.data&&SM.data.yaowenpos)for(var t=0;t0&&(e-=1),Dt.appendToCard(n,e,this.entry)}},cmntNumLive:function(){var e=[],t=this;$("#j_card_intenews").length>0&&(t.pageType=!1);for(var n=$("#j_card_yaowen").find("a"),i=0,a=n.length;i'+r+""):n.eq(i).find(".m_f_con_n").prepend(''+r+""):n.eq(i).find(".m_f_con_n").append(''+r+"")}}if(!t.pageType)for(i=0,a=o.length;i'+r+"")}}})},info2str:function(e){e=Pe.adaptInfo(e,"stick");if(e=this.tagZT(e),document.querySelector("#j_card_intenews")){if(e.imgs)for(var t=0;t'):i.push('
    '),i.push('
    '+e.tag+""+e.title+"
    "),i.push("ZT_FEED"),e.enter_tag&&i.push(''+e.enter_tag+""),i.push("
    ");for(var r=0;r\u4e13\u9898':e.tag="\u4e13\u9898",e.nocomment=!0),e}},Nt=(document,window,{init:function(e,t){if(!e.card||0==e.card.length)return"";var n="",i=e.card.card_id;if(i){var a=t.cards&&t.cards[i]&&t.cards[i].data;n=this.moreFeedSub(e.card,a)}else n=this.onlyFeedSub(e.card,e);return n},moreFeedSub:function(e,t){if(!t||0==t.length)return"";var n,i="";n=this.headFeed(e);for(var a=0,o=t.length;a'}else{if(t='
    ',e.show_top&&1!=e.show_top)return t;t+='"}return t},footerFeed:function(e){if(1!=e.show_bottom)return"
    ";var t="";if(e.ad_pic){var n=e.ad_url||"",i=e.url||"",a=e.enter_tag||"";t+='
    '+a+'
    '}else{t+=''+a+''}return t}}),Ut=(document,window,{init:function(){this.entry="#j_card_yaowen",this.link="",this.scheme="",this.wbstick()},wbstick:function(){if(SM&&SM.data&&SM.data.weibo_hot){if(SM.data.weibo_hot.error)return!1;var e=this.info2str(SM.data.weibo_hot),t=$(this.entry).children("a"),n=t.length;t.eq(n-1).get(0).insertAdjacentHTML("beforeBegin",e),this.exposure()}},exposure:function(e,t){var n=this,i=[],a=$(this.entry).children("a"),o=a.length-2,r=a.eq(o);i.push(r.get(0)),ze.a.pushListeningEle(i,function(e){window.SIMA({action:"_exposure",pk:"187523",data:{index:o,aid:"wbFeed",url:encodeURIComponent(n.link)}})}),r.on("click",function(){window.SIMA({action:"_click",pk:"187523",data:{index:o,aid:"wbFeed",url:encodeURIComponent(n.link)}});var e={androidNativeUrl:n.scheme,androidInstallUrl:n.link,iosNativeUrl:n.scheme,iosInstallUrl:n.link};_sinaCallEvent.trigger("sina_open_native",e)})},info2str:function(e){if(e.img&&(e.img=Te.getCuttedImg(e.img,"200_134",!0)),e.pics&&e.pics.imgs){for(var t=e.pics.imgs.slice(0),n=0;n\u4e13\u9898':e.tag="\u4e13\u9898",e.nocomment=!0),e}}),Bt=(n(21),n(2)),Rt=(n(22),n(23)),zt=n.n(Rt);function Ht(e){this.config=e,this.dom=null,this.box=null,this.data=[{img:zt.a,src:zt.a,url:"",title:"",desc:""},{img:zt.a,src:zt.a,url:"",title:"",desc:""}],this.hasBinded=!1,this.isAnimation=!1,this.topLine=0,this.bottomLine=0,this.rateTop=.5,this.rateBottom=.53,this.aniType="",this.duration=.5,this.timer=null,this.create(e)}function qt(e){return new Promise(function(t,n){e.onload=function(){t(e)},e.onerror=function(t){n(new Error("Could not load image at "+e.src))}})}Ht.prototype={constructor:Ht,create:function(e){e?(this.config.curPageLoaded&&this.config.curPageLoaded(),this.init(this.config)):console.warn("\u4f60\u586b\u5199\u7684\u914d\u7f6e\u6709\u8bef")},init:function(e){if(!e.box)return console.error("\u4f60\u672a\u8f93\u5165dom"),!1;try{this.box=document.querySelector(e.box),this.box.innerHTML=''}catch(t){e.failtoInsertDom&&e.failtoInsertDom(t)}this.dom=this.box.getElementsByClassName("adContent")[0],this.setDur(),this.setRange(),this.setData(),this.setAdInfos(),this.bindEvent(),this.imgOnLoad()},imgOnLoad:function(){for(var e=this,t=this.dom.getElementsByTagName("img"),n=[],i=0;i\uffe5"+this.data[o].desc+"":a[o].innerHTML=''+this.data[o].desc+""},animate:function(e){"slideUp"===e&&"slideUp"!==this.aniType?(this.aniType="slideUp",this.slide("Up")):"slideDown"===e&&"slideUp"===this.aniType&&(this.aniType="slideDown",this.slide("Down"))},slide:function(e){this.dom.className="adContent slide"+e},check:function(e){e=e;return function(){var t=e.box.getBoundingClientRect();t.tope.bottomLine&&t.top>e.topLine&&e.animate("slideDown")}},notQQcheck:function(){var e=this.box.getBoundingClientRect();e.topthis.bottomLine&&e.top>this.topLine&&this.animate("slideDown")},isQQBrw:function(){var e=window.navigator.userAgent,t=!/Mobile\sMQQBrowser/.test(e)&&/MQQBrowser/.test(e);return console.log(t),t}};var Ft=Ht,Qt="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};var Wt,$t={result:null};fe.wifi(function(e){try{$t.result=(""+e.result).toLocaleLowerCase()||(""+e.ori).toLocaleLowerCase()||null}catch(e){console.log("net get error ==== "+e.message)}});var Vt=function(){var e,t,n,i,a="https://",o=Date.now(),r={saxType:{},saxDomain:window.location.host,sax:[{class:window.SM&&window.SM.data&&window.SM.data.sax&&window.SM.data.sax.wap_class||"j_sax",url:a+"sa.sina.cn/wap/delivery",id:"id",pv:"content-0-pv",data:"ad",urlFix:function(){var e=r.getAMData();return"&rotate_count="+parseInt(isNaN(r.storage.getMode("sax_wap"))?1e3*Math.random():r.storage.get("sax_wap"))+"&am="+encodeURIComponent(e)+"&net="+$t.result}},{class:window.SM&&window.SM.data&&window.SM.data.sax&&window.SM.data.sax.native_class||"j_native",url:a+"sa.sina.cn/native/delivery",id:"pdps",pv:"pvmonitor",urlFix:function(){var e=r.getAMData();return"&rotate_count="+parseInt(isNaN(r.storage.getMode("sax_native"))?1e3*Math.random():r.storage.get("sax_native"))+"&am="+encodeURIComponent(e)+"&net="+$t.result}}],previewed:!1,init:function(){for(var e,t=0,n=this.sax.length;t4){for(var n=0,i=e.length;n0&&e.length<=4?(t[0]=e.join(","),t):[]},getSaxType:(i=0,function(){for(var e=document.getElementsByTagName("script"),t=0,n=e.length;t0)for(var t=0;t0)for(var n=e.content,i=null,a=t.children[0],o=0,s=n.length;o<=s;o++)!function(e){if("undefined"==typeof n[e]&&(i=e),e!=i&&"undefined"!=typeof n[e].type&&n[e].type.indexOf("deeplink")>-1){var t=n[e].src,o=n[e].link;a.addEventListener("click",function(e){e.preventDefault(),r.huqiFunc(t,o)},!1)}}(o)},huqiFunc:function(e,t){for(var n=null,i=0,a=e.length;i<=a;i++)"undefined"!=typeof e[i]&&e[i].indexOf("sinaweibo")>-1&&(n=e[i],location.href=n);setTimeout(function(){window.location.href=t},3e3)},isPvKeywords:function(e,t){var n=window.SM.data.sax.pvkeywords;if(n&&n.length)for(var i=0;i-1?"ios":"android"};return JSON.stringify(e)},isBlank:function(e){return/^\s*$/.test(e)},formatData:function(e,t,n){if(this.sax[t][n])for(var i=this.sax[t][n].split("-"),a=0,o=void 0!=i?i.length:void 0;a-1?r.storage.setMode("sax_wap",n+1):e.indexOf("sa.sina.cn/native")>-1&&r.storage.setMode("sax_native",n+1)},storage:{setMode:function(e,t){try{this.set("check",1),this.set(e,t)}catch(e){}},getMode:function(e){try{return this.set("check",1),this.get(e)}catch(e){}},set:function(e,t){sessionStorage.setItem(e,parseInt(t))},get:function(e){return parseInt(sessionStorage.getItem(e))}},getWm:function(){var e=Bt.a.getQueryString("wm",null);return e||(e=this.getWmCookie("wm")||""),e},jsonp:function(){var e=0;return function(t,n,i,a,o,s,c,l){var d=e,u="sax_jsonpCallback_"+e++,f=t.split("?"),p=+new Date+"",h=this.getWm();if(2==f.length){f[1]+="&chwm="+h,t=Bt.a.getQueryString("isEncrypt",null)?f[0]+"?callback="+u+"&"+f[1]:f[0]+"?"+p.substr(r.RandomNumBoth(0,3),r.RandomNumBoth(2,6))+"="+Bt.a.base64encode("callback="+u+"&"+f[1]);var m=this.creatElement("script",{src:t,id:"sax_script_jsonp_"+d}),g=this}else{var v;t=Bt.a.getQueryString("isEncrypt",null)?t+(t.indexOf("?")+1?"&":"?")+p.substr(r.RandomNumBoth(0,3),r.RandomNumBoth(2,6))+"=callback="+u+"&chwm="+h:t+(t.indexOf("?")+1?"&":"?")+p.substr(r.RandomNumBoth(0,3),r.RandomNumBoth(2,6))+"="+Bt.a.base64encode("callback="+u+"&chwm="+h),m=this.creatElement("script",{src:t,id:"sax_script_jsonp_"+d}),g=this}window.location.href.match(/isMock/gi)&&"sax_jsonpCallback_1"==u&&window.testLMT(),window[u]=function(e){clearTimeout(v),n(e,i,a,g),o&&o(),window.location.href.match(/isMock/gi)||(document.body.removeChild(document.getElementById("sax_script_jsonp_"+d)),window[u]=null)},"undefined"!=typeof s&&(v=setTimeout(function(){o&&o(),c&&c(l),document.body.removeChild(document.getElementById("sax_script_jsonp_"+d)),window[u]=null},s)),document.body.appendChild(m)}}(),isAllHttpsData:function(e,t){return!!this.pvHttpsData(e,t)&&(!!this.imagesHttpsData(e,t)&&!((e.play||e.namonitor)&&!this.playHttpsData(e,t)))},pvHttpsData:function(e,t){if(!e.cE){if(e.length)for(var n=0,i=(e=this.formatData(e,t,"pv")).length;n-1))return!1}return!0}},imagesHttpsData:function(e,t){if((0==t||"0"==t)&&void 0!==e.content&&e.content.length>0){var n=e.content[0];switch(e.type){case"qp":if(n.src[1]&&-1===n.src[1].indexOf(a))return!1;break;case"wzl":return!0;default:if(n.src[0]&&-1===n.src[0].indexOf(a))return!1}}else{if(e.images)for(var i=e.images,o=0,r=i.length;o-1))return!1}if(e.img&&!this.isBlank(e.img)&&!(e.img.u&&e.img.u.indexOf(a)>-1))return!1}return!0},playHttpsData:function(e,t){if("1"===t||1===t){if(e.play)for(var n=e.play,i=0,o=n.length;i-1}else if(e.namonitor.tel){return e.namonitor.tel.indexOf(a)>-1}return!0}},sendLog:function(e,t){var n=t||pvContainer.pv;if(e&&!r.isBlank(e)){var i=r.creatElement("img",{src:e}),a=document.getElementById(n);a||(a=r.creatElement("div",{id:n,style:"display:none"}),document.body.appendChild(a)),a.appendChild(i)}},sendErrLog:function(e){try{var t=e.pb[0];r.sendLog(t.replace("http://","https://").replace("__PB__","insertErr"),"sax_null_count")}catch(e){console.log(e.message)}},historyStatus:(e={pagehtbefore:0,pagehtafter:1,page:1,before:2,after:3,entcard:4,entstart:5,enterror:6},t="entstart",n=7,t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e),loadAd:function(e){new Ft({box:".box",duration:.5,rateTop:.5,rateBottom:.53,data:e&&e.sub,curPageLoaded:function(){},imgsLoadedEvent:function(){},animStartEvent:function(){},animationEndEvent:function(){},isInsertDom:function(e){r.sendErrLog(e)}})},insertAfter:function(e,t){var n=t.parentNode;n.lastChild==t?n.appendChild(e):n.insertBefore(e,t.nextSibling)},cardMiddle:function(){var e=document.getElementById("j_card_yaowen");if(e&&"ls_c_yaowen"==e.getAttribute("data-sudaclick")&&!document.querySelector("[data-id=PDPS000000057778]")){var t=document.createElement("div");t.setAttribute("class","s_card_sp_da"),r.insertAfter(t,document.getElementById("j_card_yaowen")),(n=document.createElement("div")).setAttribute("sax-type","proxy"),n.setAttribute("class","j_native s_card_white"),n.setAttribute("data-id","PDPS000000057778"),n.setAttribute("data-index","j_card_yaowen"),n.setAttribute("style","margin-bottom: 0.2rem"),n.setAttribute("listener","true"),t.appendChild(n)}if(document.getElementById("j_card_sports")&&!document.querySelector("[data-id=PDPS000000057780]")){var n,i=document.createElement("div");i.setAttribute("class","s_card_sp_da"),r.insertAfter(i,document.getElementById("j_card_sports")),(n=document.createElement("div")).setAttribute("sax-type","proxy"),n.setAttribute("class","j_native s_card_white"),n.setAttribute("data-id","PDPS000000057780"),n.setAttribute("data-index","j_card_sports"),n.setAttribute("style","margin-bottom: 0.2rem"),n.setAttribute("listener","true"),i.appendChild(n)}},_getTargeting:function(){function e(){Bt.a.cookie.remove("sinaads_entry",{domain:".sina.com.cn",path:"/"}),Bt.a.storage.remove("sinaads_entry")}if(!Wt){var t,n,i,a,o=document.getElementsByTagName("head")[0].getElementsByTagName("meta"),r={},s=o.length,c=0;for(Wt={},r.keywords=[];c]*>(?:.*?)<\/script>/.exec(n[0]))i.srcdoc=''+n[0]+"",-1!==navigator.userAgent.indexOf("QQBrowser")&&(t.contentWindow.document.open(),t.contentWindow.document.write(""),t.contentWindow.document.close());else{if(!a)return void Bt.a.createWordsPv(Bt.a.ensureArray(e.pb[0]));a[1],n=n[0]}for(var o in i)t.setAttribute(o,i[o]);var r=document.querySelector('div[data-id="'+e.pdps+'"]');if("PDPS000000057786"!=e.pdps&&"PDPS000000059890"!=e.pdps&&"PDPS000000060087"!=e.pdps&&r&&r.setAttribute("style","border-bottom: 1px solid #e4e4e4;margin: 0 .2rem; height: 89px;"),r){r.appendChild(t),n=encodeURIComponent(e.src+"?pdps="+e.pdps);var s=["9ibbcq2d","l6urqh27","qgnu18wo"],c=Math.floor(3*Math.random());parseInt(Bt.a.getQueryString("delad",null))?t.setAttribute("src","https://"+s[c]+".sina.cn/check?src="+n+"&debug=1&fb=0"):t.setAttribute("src","https://"+s[c]+".sina.cn/check?src="+n)}pbInfo[e.pdps]={pdps:e.pdps,pb:e.pb}}}(t))}})}();var Gt="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};var Yt,Xt=function(e,t,n){var i=t.finger,a=void 0===i?2:i,o=t.number,r=void 0===o?2:o,s=t.timer,c=void 0===s?500:s,l=[],d=0,u=[],f={};function p(){l.length=0,u.length=0}document.addEventListener("touchstart",function(t){var i=function(e,t){for(;t;){if("string"==typeof e){if(/#/.test(e)){if(t.getAttribute&&t.getAttribute("id")===e.replace(/#/,function(){return""}))return t}else if(/\./.test(e)){if(t.classList&&t.classList.contains(e.replace(/./,function(){return""})))return t}else if(t.nodeName&&t.nodeName.toLowerCase()==e)return t}else if("object"==("undefined"===typeof e?"undefined":Gt(e))){e.length||(e=[e]);for(var n=0;n-1||function(e){var t=void 0,a=void 0;t=n||(n=e.target.parentElement.querySelector(".icon-img")),a=i||(i=e.target.parentElement.querySelector(".ad-video-poster")),t.style="display: none",a.style="display: none"}(e)}),an.addEventListener("pause",function(e){e.target.controls=!1,e.target.style="display: none",function(e){var t=void 0,a=void 0;t=n||(n=e.target.parentElement.querySelector(".icon-img")),a=i||(i=e.target.parentElement.querySelector(".ad-video-poster")),t.style="display: block",a.style="display: block"}(e),navigator.userAgent.indexOf("UCBrowser")>-1&&window.scrollTo(0,Yt)}),an.addEventListener("ended",function(e){e.target.controls=!1,e.target.parentElement.querySelector(".icon-img").style="display:none",e.target.parentElement.querySelector(".ad-video-shade").style.display="block"},e)},pn=function(e){e.backgroundColor&&(rn.style.backgroundColor=e.backgroundColor)},hn=function(e){e.selector.innerHTML='
    \n
    \n
    \n \n
    \n \n \n
    \n
    \n
    ',e.config&&(cn=e.config),nn=e.insert,sn=e.selector.querySelector(".ad-video-shade"),nn&&(sn.innerHTML=nn);e.needShade;un(e.needShade,e.isIcon,e.selector),pn(cn)},mn=function(){function e(e,t){for(var n=0;nt-e?t-e-i:o-i,u=d-l;if(u<100||c<=s)return a.imgDom.css("transform","translate3d(0, 0, 0)"),void(c<=s&&a.adDom.addClass("weidong_disabled"));var f=(c-s)/u,p=document.documentElement.scrollTop||document.body.scrollTop;p<=l&&(p=l),p>d&&(p=d),a.imgDom.css("transform","translate3d(0, "+(p-l)*f+"px, 0)")})}},{key:"listener",value:function(){var e=this,t=(new Date).getTime();o(window).on("scroll",function(){if((new Date).getTime()-t<50)return!1;t=(new Date).getTime(),e.move()})}}]),e}(),wn="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},yn="https:"==window.location.protocol?"https://mjs.sinaimg.cn":"http://mjs.sinaimg.cn",bn=yn+"/wap/online/home/v7/images/lz2X1.jpg",An=yn+"/wap/online/home/v7/images/lz4X3.jpg",xn=void 0,kn=void 0,Sn=(window.innerHeight||document.documentElement.clientHeight||document.body.clientHeight,[]),Cn=[],Tn=0,En={vid:[],loadImages:function(e,t){var n=0,i={},a=0;for(src in e)a++;for(src in e)i[src]=new Image,i[src].onload=function(){++n>=a&&t(i)},i[src].src=e[src]},aHrefClickPos:function(e,t){if(e.children[0].className&&e.children[0].className.indexOf("j_href")>-1){var n=t.target,i=t.target.parentNode;if("A"===n.nodeName&&n.getAttribute("data-href"))return void(location.href=n.getAttribute("data-href")+"&am="+encodeURIComponent(JSON.stringify(clickPos)));if(i&&"A"===i.nodeName&&i.getAttribute("data-href")){var a=e.children[0].querySelector(".j_href")||e.querySelector(".j_href");location.href=a.getAttribute("data-href")+"&am="+encodeURIComponent(JSON.stringify(clickPos))}}else{if(e.children[0].getAttribute("data-href")){var o=e.children[0].getAttribute("data-href")+"&am="+encodeURIComponent(JSON.stringify(clickPos));e.children[0].setAttribute("href",o)}else if(e.getAttribute("data-href")){o=e.getAttribute("data-href")+"&am="+encodeURIComponent(JSON.stringify(clickPos));e.setAttribute("href",o)}else if(e.children[0].className&&e.children[0].className.indexOf("s_card_cec_da")>-1&&e.children[1].getAttribute("data-href")){o=e.children[1].getAttribute("data-href")+"&am="+encodeURIComponent(JSON.stringify(clickPos));e.children[1].setAttribute("href",o)}location.href=o,t.preventDefault(),t.stopPropagation()}},getCommStr:function(e){var t=e.comment_total,n="01"==e.adtype&&0==t?"":t;return 0==n?"":n},gifListener:function(){var e=document.getElementById("j_gif").children;if("undefined"!==typeof e&&0!==e.length)for(var t=0;t-1){var n=t.parentNode.firstElementChild.getAttribute("href");location.href=n}else{t.className="i_gx3_img_box Gifing";var i=t.firstElementChild.firstElementChild.getAttribute("data-src-info");t.firstElementChild.firstElementChild.src=i}},!0)},videoEvent:function(e){var t=e.firstChild,n=o(e).parents(".m_f_a").find(".img_width")[0],i=o(e).parents(".m_f_a").find(".cm_btn_paly")[0];n.addEventListener("click",function(e){En.videoBoxShow(e),t.play()}),i.addEventListener("click",function(e){En.videoBoxShow(e),t.play()}),t.addEventListener("pause",function(e){En.videoBoxHide(e)}),t.addEventListener("play",function(e){En.videoBoxShow(e)}),t.addEventListener("ended",function(e){En.videoBoxHide(e)})},videoBoxShow:function(e){var t=void 0,n=void 0;t=kn||(kn=o(e.target).parents(".m_video_img_box").next()),n=xn||(xn=o(e.target).parents(".m_video_img_box")),t.removeClass("hide"),n.addClass("hide")},videoBoxHide:function(e){var t=void 0,n=void 0;t=xn||(xn=o(e.target).parents(".m_video_img_box")),n=kn||(kn=o(e.target).parents(".m_video_img_box").prev()),t.removeClass("hide"),n.addClass("hide")},noPic:function(e,t){var n='\n \n

    '+t.title+'

    \n
    \n \u5e7f\u544a\n
    \n
    ';e.innerHTML=n},temp31:function(e,t){var n='\n \n
    \n '+t.title+'
    \n \n
    ';e.innerHTML=n},temp31c:function(e,t){var n='\n \n
    \n
    \n \n
    \n \n
    \n
    ";e.innerHTML=n},temp33:function(e,t){var n="";t.images.length>=3&&(n='\n
    '+t.title+'
    \n
    '+t.title+'
    \n
    '+t.title+'
    ');var i='\n \n

    '+t.title+'

    \n \n
    \n
    \u5238
    \n
    \u6bcf\u6ee1'+t.card.ext_1+"\u51cf"+t.card.ext_2+'
    \n
    \u4fc3\u9500\u622a\u6b62: '+t.card.ext_3+'
    \n
    \u9886\u5238\u8d2d\u4e70
    \n
    \n
    ':i+='
    \n \n \n '+(t.comment_reply?t.comment_reply:parseInt(100*Math.random(),10))+'\n \n \u5e7f\u544a\n
    \n ',e.innerHTML=i},preLoadImg:function(e,t){setTimeout(function(){Sn[e].isLoadGif||(Sn[e].isLoadGif=1,Sn[e].image=new Image,Sn[e].image.src=t.img.u,Sn[e].image.setAttribute("class","img_width finpic"),Sn[e].image.alt=t.title,Sn[e].image.complete||(Sn[e].image.onload=function(e){for(var t=0;t\n

    '+t.title+'

    \n \n
    \n
    \u5238
    \n
    \u6bcf\u6ee1'+t.card.ext_1+"\u51cf"+t.card.ext_2+'
    \n
    \u4fc3\u9500\u622a\u6b62: '+t.card.ext_3+'
    \n
    \u9886\u5238\u8d2d\u4e70
    \n
    \n ':a+='
    \n '+(t.comment_reply?t.comment_reply:parseInt(100*Math.random(),10))+'\n \u5e7f\u544a\n
    \n ',e.innerHTML=a},temp35a:function(e,t){var n='\n \n
    \n '+t.intro+'\n
    \n

    \n \u5e7f\u544a\n '+t.title+"\n

    \n
    ";e.innerHTML=n},temp33p:function(e,t){var n="";t.images.length>=3&&(n='\n
    '+t.title+'
    \n
    '+t.title+'
    \n
    '+t.title+'
    ');var i='\n \n

    '+t.title+'

    \n \n \n
    \n
    \n '+tn.init()+'\n
    \n
    \n '+tn.init()+'\n
    \n
    \n
    \n \u5e7f\u544a\n \xa5'+t.card.ext_2+'\n \xa5'+t.card.ext_1+'\n \u5df2\u62fc'+t.colCount+'\u4ef6\n
    \u9a6c\u4e0a\u62fc>
    \n
    \n
    ';e.innerHTML=i},temp35p:function(e,t){var n='\n \n

    '+t.title+'

    \n \n \n
    \n
    \n '+tn.init()+'\n
    \n
    \n '+tn.init()+'\n
    \n
    \n
    \n \u5e7f\u544a\n \xa5'+t.card.ext_2+'\n \xa5'+t.card.ext_1+'\n \u5df2\u62fc'+t.colCount+'\u4ef6\n
    \u9a6c\u4e0a\u62fc>
    \n
    \n
    ';e.innerHTML=n},temp43p:function(e,t){var n='\n
    \n \n
    \n
    \n '+tn.init()+'\n
    \n
    \n '+tn.init()+'\n
    \n \u5df2\u62fc'+t.colCount+"\u4ef6\n
    \n
    ";e.innerHTML=n},temp36:function(e,t){var n=[];n.push('
    '),n.push('
    '+t.title+'
    '),n.push('
    '),n.push('

    '+t.title+"

    "),n.push('
    '),n.push('\u5e7f\u544a'),t.adSource&&n.push(''+t.adSource+""),n.push(''),n.push("
    "),e.innerHTML=n.join("")},temp37:function(e,t){var n=[];n.push(''),n.push('
    '),n.push('
    '+t.title+'
    '),n.push('
    '),n.push('

    '+t.title+"

    "),n.push('
    '),n.push('\u5e7f\u544a'),t.adSource&&n.push(''+t.adSource+""),n.push('\u4e0b\u8f7d'),n.push("
    "),e.innerHTML=n.join("")},temp38:function(e,t){var n=[];n.push(''),n.push('
    '),n.push('
    '+t.title+'
    '),n.push('
    '),n.push('

    '+t.title+"

    "),n.push('
    '),n.push('\u5e7f\u544a'),t.adSource&&n.push(''+t.adSource+""),n.push('\u6253\u5f00'),n.push("
    "),e.innerHTML=n.join("")},temp39:function(e,t){var n=[];n.push(''),n.push('
    '),n.push(''+t.intro+''),n.push('\u5e7f\u544a'),n.push("
    "),n.push('

    '+t.title+''+t.comment_reply+'

    '),n.push("
    "),e&&(e.innerHTML=n.join(""))},temp40:function(e,t){var n="https://z0.sinaimg.cn/auto/crop?img="+t.images[0].u+"&size=640_320&focus=center",i='\n
    \n

    '+t.title+'

    \n \n
    \n \u5e7f\u544a\n '+(t.comment_reply?t.comment_reply:parseInt(100*Math.random(),10))+'\n
    \n ';e.innerHTML=i;try{var a=e.querySelector("#temp40_posXY");"true"!==e.getAttribute("listener")&&(e.setAttribute("listener","true"),a.addEventListener("click",function(e){clickPos.clkx=e.clientX,clickPos.clky=e.clientY,aHrefClickPos(this,e)},!0))}catch(e){console.log("temp40_posXY error info === "+e.message)}this.gifListener(e)},temp42:function(e,t){var n='\n
    \n

    '+t.title+'

    \n
    \n '+t.title+'\n \n
    \n
    \n
    \n \u5e7f\u544a\n '+(t.comment_reply?t.comment_reply:parseInt(100*Math.random(),10))+'\n \n
    \n
    ';e.innerHTML=n,this.vid.push("vid"+t.vid);var i="https://interface.sina.cn/video/wap/videoinfo.d.json?vid="+t.vid;o.ajax({dataType:"jsonp",url:i,jsonpCallback:"jsonp_"+parseInt(1e3*Math.random()),success:function(e){if(e.data.baseUrl){var t=e.data.baseUrl;if(-1===t.indexOf("https://"))return!1;var n=document.querySelector("#"+En.vid[En.vid.length-1]);void 0==("undefined"===typeof n?"undefined":wn(n))&&null==n||(n.innerHTML='',En.videoEvent(n),navigator.userAgent.indexOf("UCBrowser")>-1&&navigator.userAgent.indexOf("Android")>-1&&window.addEventListener("pageshow",function(i){if(i.persisted){var a=document.querySelectorAll("#vid"+e.data.video_id)[0];a.innerHTML="",a.innerHTML='',En.videoEvent(n)}}))}else;}})},temp43:function(e,t){var n='\n
    \n \n
    \n ":n+=''+(t.comment_reply?t.comment_reply:parseInt(100*Math.random(),10))+'\n \u5e7f\u544a\n \n ',t.card&&104===t.card.bottom_type?n+='
    \n
    \u5238
    \n
    \u6bcf\u6ee1'+t.card.ext_1+"\u51cf"+t.card.ext_2+'
    \n
    \u4fc3\u9500\u622a\u6b62: '+t.card.ext_3+'
    \n
    \u9886\u5238\u8d2d\u4e70
    \n
    \n
    ':n+="",e.innerHTML=n},temp44:function(e,t){var n=[];n.push('
    '),n.push('

    '+t.title+"

    "),n.push('
      '),n.push('
    • '),n.push('
    • '),n.push('
    • '),n.push("
    "),n.push('
    '),n.push('
    '),n.push('
    '),n.push('

    '+t.sub[0].title+"

    "),n.push('

    '+t.sub[1].title+"

    "),n.push('

    '+t.sub[2].title+"

    "),n.push("
    "),e.innerHTML=n.join("")},temp46:function(e,t){var n='\n \n \n ":n+=''+(t.comment_reply?t.comment_reply:parseInt(100*Math.random(),10))+'\n \n \u5e7f\u544a\n \n ',n+='
    '+t.title+'
    ',t.card&&104===t.card.bottom_type?n+='
    \n
    \u5238
    \n
    \u6bcf\u6ee1'+t.card.ext_1+"\u51cf"+t.card.ext_2+'
    \n
    \u4fc3\u9500\u622a\u6b62: '+t.card.ext_3+'
    \n
    \u9886\u5238\u8d2d\u4e70
    \n
    \n
    ':n+="",e.innerHTML=n},temp47:function(e,t){var n='\n \n \n
    '+t.title+'
    \n
    ';e.innerHTML=n},temp53:function(e,t){var n='\n \n

    '+t.title+'

    \n \n
    \n \n \n '+(t.comment_reply?t.comment_reply:parseInt(100*Math.random(),10))+'\n \u5e7f\u544a\n
    \n
    ';e.innerHTML=n,setTimeout(function(){(new _n).addCard({cardSelector:".weidong_card",boxSelector:".weidong_box",imgSelector:".weidong_img"})},1)},temp54:function(e,t){var n=[];return n.push('
    '+t.title+'
    '),n.push(''),n.push('

    '+t.title+"

    "),n.push('"),n.push('
    '),n.push('\u5e7f\u544a'),t.comment_reply?n.push(''+t.comment_reply+''):n.push(''+parseInt(100*Math.random(),10)+''),n.push("
    "),n.push("
    "),e.innerHTML=n.join("")},temp57:function(e,t){var n=[];n.push('
    '),n.push(''),n.push('
    '),n.push('

    '+t.title+"

    "),n.push("
    "),n.push('
    '),n.push(''+t.title+''),n.push(''),n.push("
    "),n.push('
    '),n.push("
    "),n.push('
    '),n.push('\u5e7f\u544a'),t.adSource&&n.push(''+t.adSource+""),t.comment_reply?n.push(''+t.comment_reply+''):n.push(''+parseInt(100*Math.random(),10)+''),n.push("
    "),n.push(''),n.push('
    '),n.push("
    "),n.push("
    "),e.innerHTML=n.join(""),this.vid.push("vid"+t.vid);var i="https://interface.sina.cn/video/wap/videoinfo.d.json?vid="+t.vid;try{var a=e.querySelector("#temp57_posXYT"),o=e.querySelector("#temp57_posXYB");"true"!==e.getAttribute("listener")&&(e.setAttribute("listener","true"),a.addEventListener("click",function(e){clickPos.clkx=e.clientX,clickPos.clky=e.clientY,aHrefClickPos(this,e)}),o.addEventListener("click",function(e){clickPos.clkx=e.clientX,clickPos.clky=e.clientY,aHrefClickPos(this,e)}))}catch(e){console.log("temp57_posXY error info === "+e.message)}S.jsonp(i,function(e){if(e.data.baseUrl){var t=e.data.baseUrl;if(-1===t.indexOf("https://"))return console.log("videoSrcError",e),!1;var n=document.querySelector("#"+En.vid[En.vid.length-1]);if(void 0!=("undefined"===typeof n?"undefined":wn(n))||null!=n){n.innerHTML='';var i=n.firstChild,a=n.parentNode.firstChild.nextSibling.firstChild,o=n.parentNode.firstChild.nextSibling.firstChild.nextSibling,r=feedPush._getUA();a.addEventListener("click",function(e){var t=e.target.parentNode.firstChild.width;i.style.height=9*t/16+"px",(r.indexOf("iphone")>-1||r.indexOf("ipad")>-1)&&(r.indexOf("safari")>-1||r.indexOf("qq")>-1)&&r.indexOf("mozilla")>-1&&r.indexOf("mobile")>-1||(n.parentNode.firstChild.nextSibling.nextSibling.className="m_video_img_box",n.parentNode.firstChild.nextSibling.className="m_video_img_box hide"),i.play()}),o.addEventListener("click",function(e){var t=e.target.parentNode.firstChild.width;i.style.height=9*t/16+"px",(r.indexOf("iphone")>-1||r.indexOf("ipad")>-1)&&(r.indexOf("safari")>-1||r.indexOf("qq")>-1)&&r.indexOf("mozilla")>-1&&r.indexOf("mobile")>-1||(n.parentNode.firstChild.nextSibling.nextSibling.className="m_video_img_box",n.parentNode.firstChild.nextSibling.className="m_video_img_box hide"),i.play()})}}else;})},temp86:function(e,t){var n='\n
    \n \n

    '+t.title+'

    \n
    \n
    \n
    \n
    \u5e7f\u544a
    \n \n
    \n
    '+t.ext_3+'
    \n \u7acb\u5373\u4e0b\u8f7d\n
    \n
    \n
    ',i="https://interface.sina.cn/video/wap/videoinfo.d.json?vid="+t.vid,a='\n \n \n \n ';o.ajax({dataType:"jsonp",url:i,jsonpCallback:"jsonp_"+parseInt(1e3*Math.random()),success:function(e){e.data.baseUrl&&hn({selector:document.querySelector("#vid"+t.vid),src:e.data.baseUrl,insert:a,poster:t.img.u,needShade:!0,isIcon:!0,icon:"https://n.sinaimg.cn/mobileh5/24f155b4/20170308/videoPlay.png"})}}),e.innerHTML=n,o("#vid"+t.vid+" .ad-video-shade-btn1").live("click",function(){o("#vid"+t.vid+" .ad-video-shade").css("display","none"),o("#vid"+t.vid+" .ad-video-poster").css("display","none"),o("#vid"+t.vid+" .icon-img").css("display","none"),o("#vid"+t.vid+" .ad-video").css("display","block"),o("#vid"+t.vid+" .ad-video")[0].play(),document.querySelector("#vid"+t.vid+" .ad-video").controls=!0})},tempWzl:function(e,t){var n='\n
    \n
    ";e.innerHTML=n},tempBanner:function(e,t){var n='\n \n '+t.src[1]+'\n \u5e7f\u544a\n ';e.innerHTML=n},tempQp:function(e,t){var n=void 0;if(t.src&&t.src.length)for(var i=0;i\n
    \n \u5e7f\u544a\n
    \n \n
    \n \n '+t.src[0]+'\n \n
    \n \n
    \n
    ';e.innerHTML=a},tempGjz:function(e,t){var n='\n
    \n \n \n \n \n
    ';e.innerHTML=n},tempAn:function(e,t){var n='\t\n \n
    \n '+t.type+'\n
    \t\t\n
    ';e.innerHTML=n},tempLmt:function(e,t){var n='\n \n
    \n \u5173\u95ed\n
    \n
    \n \n
    \n
    ';e.innerHTML=n},tempJdt:function(e,t){var n='\n \n \n \u5e7f\u544a\n

    \n '+t.src[1]+"\n

    \n
    \n ";e.innerHTML=n},tempJdtA:function(e,t){var n='\n \n
    \n \n
    \n '+t.src[1]+'\n
    \n \n
    \n
    ';e.innerHTML=n},tempJx:function(e,t){var n='\n \n \n \u5e7f\u544a\n ';e.innerHTML=n},json_temp35:{adtype:"02",pdps:"PDPS000000058118",author:"",authoruid:"0",categoryid:"1",channelid:"0",columnid:"0",comment_reply:"706",comment_show:"0",comment_total:"0",commentid:"",ctime:"",docid:"",ext_0:"0",ext_1:"0",ext_2:"0",ext_3:"0",ext_4:"0",images:null,img:{u:"https://d0.sinaimg.cn/pfpghc2/201709/15/d81f615955f34d1d8ec14a1cb164aed8.jpg",w:"0",h:"0",desc:null,ext:null,link:null,fuyi_link:null},intro:null,ipad_vid:"",keywords:"",level:"1",lids:"",mediaid:"0",oid:"0",productid:"0",stitle:"",subjectid:"0",tel:"",scheme:"",download:"",summary:null,templateid:"35",title:"\u5927\u7f51\u7edc\u7684\u6848\u4ef6\u65e0\u6cd5\u90a3\u6211\u770b\u4f60\u70e6",url:"http://saxn.sina.com.cn/dsp/click?t=MjAxNy0wOS0xOCAxNDoxNzo0MC42ODQJNjEuMTM1LjE1Mi4xMzAJX182MS4xMzUuMTUyLjEzNV8xNTA1NDU5MjM2XzAuNjA2MzQyMDAJMzc0Y2YyNTItMWRjNS00NTJhLTlkZWMtZWVlMjc0ZDQ4YmFlCTMxMDE4MzgJNjA0MDkxNjc2MF9QSU5QQUktQ1BDCTMwNDUwNzIJODQzMzcJNi40Mzk3NzFFLTQJMQl0cnVlCVBEUFMwMDAwMDAwNTgxMTgJMzIyNzAxNwlXQVAJeHhsCS0JMXw0TTNhVGg5dXoyT3VWaUhFMDRKT2U0fDM1fG51bGx8Ymp8NXByeUROaUU2OEhGQ2RaRHRDM2N1ZHwzRFhZWWpsaVBoVG42RG5yYXFBWTV0fDAJbnVsbAkxCS0JLQktCTAJX182MS4xMzUuMTUyLjEzNV8xNTA1NDU5MjM2XzAuNjA2MzQyMDAJV0FQX0ZFRUQJLQltb3ZhYmxlfHV2Zm0tcnQJLQl1c2VyX3RhZzoyMDIxMjowLjB8d2FwX29zOjcwMDowLjB8dXNlcl9hZ2U6NjAzOjAuMTY0OTN8dXNlcl9nZW5kZXI6NTAyOjEuMHx2X3pvbmU6MzAyMDAwOjAuMHxuZXRfd2lmaToxMTAxOjAuMAkwCTg1MDAwCTUwMDAwCS0=&userid=__61.135.152.135_1505459236_0.60634200&type=0&c=0&auth=340d883a214f2e56&url=http%3A%2F%2Fsax.sina.cn%2Fclick%3Ftype%3D2%26t%3DZjllNDM1N2EtNjIzMS0zNDIxLWJhMjAtNDEzMGM0MTU0MzFiCTQ1CVBEUFMwMDAwMDAwNTgxMTgJMzIyNzAxNwkxCVJUQgktCQk%253D%26id%3D45%26url%3Dhttp%253A%252F%252Fwww.toutiaopage.com%252Ftetris%252Fpage%252F64003866901%252F%253FSET_A%253DPDPS000000058118%2526SET_B%253D3101838%2526SET_C%253D3227017%2526SET_D%253D374cf252-1dc5-452a-9dec-eee274d48bae%2526SET_E%253D3045072%2526SET_F%253D1%26sina_sign%3Dc474d1a1b62fa0dc&sign=8582244aed887ab5&p=%2BeQ1emIxNCG6IEEwxBVDG1wuP7xusBNI7Pdf8A%3D%3D",vid:"",wapurl:"",weiboname:"",weibourl:"",zurl:"",namonitor:{weibourl:"",zurl:"",comment:"",sharing:"",tel:"",scheme:"",download:"",ext_0:null,ext_1:null,ext_2:null,ext_3:null,ext_4:null},pvmonitor:["https://saxn.sina.cn/dsp/view?m=MjAxNy0wOS0xOCAxNDoxNzo0MC42ODQJMzc0Y2YyNTItMWRjNS00NTJhLTlkZWMtZWVlMjc0ZDQ4YmFlCTMxMDE4MzgJMzA0NTA3Mgk2MDQwOTE2NzYwX1BJTlBBSS1DUEMJUERQUzAwMDAwMDA1ODExOAkzMjI3MDE3CXh4bAkxCS0JV0FQCS0JMQk2MmEzOGFkNWIzOWZlM2MzZTVjMzNiNDY4OTRkN2I5MglmOWU0MzU3YS02MjMxLTM0MjEtYmEyMC00MTMwYzQxNTQzMWIJODQzMzcJNi40Mzk3NzFFLTQJNjEuMTM1LjE1Mi4xMzAJX182MS4xMzUuMTUyLjEzNV8xNTA1NDU5MjM2XzAuNjA2MzQyMDAJMAl0cnVlCU5BVElWRQlXQVAJLQkwCV9fNjEuMTM1LjE1Mi4xMzVfMTUwNTQ1OTIzNl8wLjYwNjM0MjAwCVdBUF9GRUVECS0JbW92YWJsZXx1dmZtLXJ0CS0JdXNlcl90YWc6MjAyMTI6MC4wfHdhcF9vczo3MDA6MC4wfHVzZXJfYWdlOjYwMzowLjE2NDkzfHVzZXJfZ2VuZGVyOjUwMjoxLjB8dl96b25lOjMwMjAwMDowLjB8bmV0X3dpZmk6MTEwMTowLjAJMAk4NTAwMAk1MDAwMA==&userid=__61.135.152.135_1505459236_0.60634200&auth=e5a7d9686f6672f3&p=%2BeQ1emIxNCG6IEEwxBVDG1wuP7xusBNI7Pdf8A%3D%3D","https://sax.sina.cn/view?type=2&t=ZjllNDM1N2EtNjIzMS0zNDIxLWJhMjAtNDEzMGM0MTU0MzFiCTQ1CVBEUFMwMDAwMDAwNTgxMTgJNTAJMzIyNzAxNwkxCVJUQgktCQk%3D"],vision:["https://saxn.sina.cn/dsp/vision?m=MjAxNy0wOS0xOCAxNzozNDozOC42NDEJNWYxMWM4NjUtZjY4Mi00MzFlLWJhY2UtNDUzNjc2ZjJjMTk4CTMxMDI0MjMJMzA0NTM2Ngk2MTQxMDYxMTExX1BJTlBBSS1DUEMJUERQUzAwMDAwMDA1NzU3MwkzMjI3ODgyCXh4bAkxCS0JV0FQCS0JMQk4ODlmNmQ1MmRlMWI5MWQ1NGQ3NWNkYTQzMzY1NDg1MwlkYTM4OTAzYi1hNGYxLTM5ZDQtYmY5Zi1jMzY2MWE3ODMxNzYJMjIyNzY1CTAuMDAxNzA1MzgxNAk2MS4xMzUuMTUyLjEzMAkJMAl0cnVlCU5BVElWRQlXQVAJLQkwCQlXQVBfRkVFRAktCW1vdmFibGV8dXZmbXJ0LWV4cGwJLQl1c2VyX3RhZzoyMDk1NjowLjB8d2FwX29zOjcwMjowLjB8dXNlcl9hZ2U6NjAwOjAuMHx1c2VyX2dlbmRlcjo1MDA6MC4wfHZfem9uZTozMDIwMDA6MC4wfG5ldF93aWZpOjExMDE6MC4wCTAJMjI2MDAwCTIwMDAw&userid=61.135.152.130&auth=4ccfd354bf96c868","https://sax.sina.cn/view?type=2&t=MGIyZjdhMmUtYTJlNi0zNzI4LWI0NDctMTgyNGZlMmMzOTA2CTQ1CVBEUFMwMDAwMDAwNTc1NzMJNTAJMzIyNzg4MgkxCVJUQgktCQk%3D&v=1"],pos:"",uuid:null,img_pause:null,img_play:null,play:null,play_pause:null,sub:null,appid:"",insertpos:1,adSource:"\u9357\u64b6\u7de8\u935d\u4f7d\u56a7",logo:null,pb:["http://sax.sina.com.cn/view?type=pb&t=LQlmeQlQRFBTMDAwMDAwMDU4MTE4CS0JMzIyNzAxNwlmeQktCQlfX1BCX18JLQ%3D%3D&pb=__PB__"],adid:"ad-3227017"}};function In(e){for(var t=e.offsetTop,n=e.offsetParent;null!==n;)t+=n.offsetTop,n=n.offsetParent;if("BackCompat"==document.compatMode)var i=document.body.scrollTop;else i=document.documentElement.scrollTop;return t-i}document.addEventListener("scroll",function(){for(var e=0;e-500&&(Cn[e].image=new Image,Cn[e].image.src=Cn[e].gifData.img.u,Cn[e].image.setAttribute("class","img_width finpic"),Cn[e].image.alt=Cn[e].gifData.title,Cn[e].isPreGif=1,Cn[e].image.onload=function(e){for(var t=0;t-100&&Cn[e].isLoadGif&&!Cn[e].isReplaceDom&&(Cn[e].isReplaceDom=1,Cn[e].dom.getElementsByTagName("figure")[0].innerHTML="",Cn[e].dom.getElementsByTagName("figure")[0].appendChild(Cn[e].image))}});var Mn=En,jn=[[],[]],On=1;function Dn(e,t){var n=document.querySelector("[data-id="+e+"]");if(n){var i=function e(t,n,i){var a=60;return function(){if(t[n])if(t[n].offsetTop>-(t[n].offsetHeight-10)){if(0==t[n].offsetTop&&a>0)return void a--;t[n].style.top=t[n].offsetTop-On+"px"}else{var o;t[n].style.top=t[n].offsetHeight+"px",clearInterval(jn[n][i]),t[n=1==n?0:1].children[0].innerText=""+tn.init(),o=e(t,n,i),jn[n][i]=setInterval(o,30)}}}(n.getElementsByClassName("animation_block"),0,t);jn[0][t]=setInterval(i,30)}}var Ln={init:function(e,t){Dn(e,t),t++}},Pn=window.MEIYOUJSSDK,Nn={init:function(e){e&&(e.content?e.content.length&&document.querySelector("[data-id="+e.id+"]").addEventListener("click",function(){Pn.openWebpage(e.content[0].link[0])}):document.querySelector("[data-id="+e.pdps+"]").addEventListener("click",function(){Pn.openWebpage(e.url)}))}};function Un(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}window.isSpecialAd=!!window.location.href.match(/isAdShow/)||!!window.isSpecialAd,window.is56240Ad=!!window.location.href.match(/is56240AdShow/)||!!window.is56240Ad,window.isFiveAd=!!window.location.href.match(/isFiveAdShow/)||!!window.isFiveAd,window.Iframe06AdShow=!!window.location.href.match(/Iframe06AdShow/)||!!window.Iframe06AdShow;var Bn,Rn,zn,Hn=window.location.href.match(/debugger\=1/gi),qn=[],Fn="",Qn=document.getElementsByClassName("sina_tj_qp")[0],Wn=document.getElementsByClassName("sina_tj_lmt")[0],$n=[];Qn&&(Rn=Qn.getAttribute("data-id")),Wn&&(zn=Wn.getAttribute("data-id"));var Vn=function(e,t){localStorage.setItem(e,JSON.stringify(t))},Jn=function(e){return JSON.parse(localStorage.getItem(e))};Ke.setMarginHeight(500);var Gn=0;((function(e,t){var n;window.iframeAdArr||(window.iframeAdArr=[]),window.isFiveAd=!!window.location.href.match(/isFiveAdShow/)||!!window.isFiveAd;var i=(Un(n={feed:function(e,t,n,i){var a=[];if(t&&t.length)for(var o=0;o
    ';else{var s=Bt.a.createId();r.domHTML='
    ',r.saxId=s}else r.domHTML="sax"===n?'
    ':'
    ';r.cardModule=""+e,r.cardPos=parseInt(t[o].pos),qn.push(t[o].pdps),a.push(r)}return a},init:function(e,t,n,a,o,r){if(this._ua=this._getUA(),"sax"===a)t&&t.length>0&&i.push(e,t),Jt.init();else if(o||Jt.init(),i.push(e,t),o)for(var s=0;si/e.width*e.height?(clearInterval(a),setTimeout(function(){document.querySelector(".j_lmtimage")&&(document.querySelector(".j_lmtimage").style.height=0),Jt.callback("lmtSaxFinish")},5e3)):(t+=5,n.style.height=t+"px")},20)},_getUA:function(){return navigator.userAgent.toLowerCase()},_isUCCheck:function(){var e=this._ua;return e.indexOf("ucbrowser")>-1&&-1==e.indexOf("iphone")},_isQQBrowserCheck:function(){var e=this._ua;return e.indexOf("qqbrowser")>-1&&-1==e.indexOf("iphone")},_isBaiduBrowserCheck:function(){var e=this._ua;return e.indexOf("baidu")>-1&&-1==e.indexOf("iphone")},_is360BrowserCheck:function(){var e=this._ua;return e.indexOf("360 aphone")>-1&&-1==e.indexOf("iphone")},fadeOut:function(e,t,n){t=t||20,n=n||0;var a=20;!function o(){i.SetOpacity(e,a),(a-=5)>=n?setTimeout(o,t):a<0&&(e.style.height="0 !important",e.style.display="none")}()},SetOpacity:function(e,t){e.filters?e.style.filter="alpha(opacity="+t+")":e.style.opacity=t/100},insertAnimation:function(){if($(".lmt_w")&&$(".lmt_w").length>0){var e=$(".lmt_w").find(".lmt_img")[0].getAttribute("src"),t=new Image;t.onload=function(){setTimeout(function(){i.fadeOut($(".lmt_w")[0],5)},8e3),$(document).on("click",".lmt_c_w",function(){i.fadeOut($(".lmt_w")[0],5)})},t.src=e}},bindEvent:function(){$(document).on("tap click",".teljc",function(e){var t=$(e.target).data("teljc");i.sendPv(t)})},asyncDataHandle:function(e,t,n){var i,a=document.querySelector(n),o=parseInt(t,10);if(a&&n){if(i=a.children,o=o||i.length+1,e.className!=window.SM.data.sax.native_class||"cs_mmzwy02"!=e.dataset.id&&"PDPS000000059758"!=e.dataset.id)i.length>=o-1?o-2<0?i[0].parentNode.insertBefore(e,i[0]):this.insertAfter(e,i[o-2]):a.insertBefore(e,i[i.length-1]);else{if(!e.innerHTML)return;this.replaceNews(e,i[o-2])}return!0}return!1},asyncDataHandlePullUp:function(e,t,n,i){n=parseInt(n,10),i=parseInt(i,10);var a=(t=document.querySelector(t)).children,o=a.length;try{if(9===n)var r=o-i+n-2;else r=o-i+n-1}catch(e){}return o>=r&&(this.insertAfter(e,a[r-1]),!0)},topAnimation:function(e,t,n){var i=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||function(e){window.setTimeout(e,1e3/60)};n.style.cssText+=";-webkit-transform:translate3d(0,0,0);";var a=document.documentElement.clientWidth;n.style.cssText+="transition:height cubic-bezier(0.1, 0.57, 0.1, 1) 0ms;-webkit-transition:height cubic-bezier(0.1, 0.57, 0.1, 1) 0ms;";var o=e.width,r=e.height;!function e(){t>a/o*r?setTimeout(function(){document.querySelector(".j_adImgUp").style.height=0,document.querySelector(".j_adCloseBtn").style.WebkitTransform="rotate(135deg)",document.querySelector(".j_adCloseBtn").style.transform="rotate(135deg)"},5e3):(t+=5,n.style.height=t+"px",i(e))}()}},"bottomAnimation",function(e,t,n){var i=document.documentElement.clientWidth,a=setInterval(function(){t>i/e.width*e.height?(clearInterval(a),setTimeout(function(){document.querySelector(".j_lmtimage")&&(document.querySelector(".j_lmtimage").style.height=0),Jt.callback("lmtSaxFinish")},5e3)):(t+=5,n.style.height=t+"px")},20)}),Un(n,"moveOffRuleAdToContainer",function(e,t){var n=this;e.forEach(function(e){var i=document.querySelector('[data-id="'+e+'"]'),a=i&&i.dataset.pos||-1,o=i&&i.dataset.saxname||"";a<0||Fn.indexOf(e)>=0||(Fn+=e,0===t&&n.asyncDataHandle(i,a,o))})}),Un(n,"makeColCount",function(e){var t=void 0;return e<100?t=Math.round(800*Math.random()+200):e>=100&&e<300?t=Math.round(450*Math.random()+50):e>=300&&e<1e3?t=Math.round(270*Math.random()+30):e>=1e3&&(t=Math.round(97*Math.random()+3)),t}),Un(n,"changeAdCard",function(e,t){switch(e){case"PDPS000000065802":case"PDPS000000057781":t.setAttribute("data-saxname","#j_card_ent .s_card_it");break;case"PDPS000000059949":t.setAttribute("data-saxname","#j_card_finance .s_card_it");break;case"PDPS000000059950":t.setAttribute("data-saxname","#j_card_tech .s_card_it");break;case"PDPS000000057782":t.setAttribute("data-saxname","#j_card_mil .s_card_it");break;case"PDPS000000057783":t.setAttribute("data-saxname","#j_card_blog .s_card_it")}}),n);Jt.bind("insertSucc",function(e){switch(function(e){if("undefined"!=typeof adBlock&&adBlock&&e)for(var t=0;t0)for(var e=0;e');if(r='[data-id="E9D6AC4F348E"] .new_icon',s="display:none!important;",c=document.querySelector("#newStyle"),l=[],c&&l.push(c.innerHTML),l.push(r),l.push("{"),l.push(s),l.push("}"),c||((c=document.createElement("style")).id="newStyle",document.head.appendChild(c)),c.innerHTML=l.join(""),i.innerHTML=n.join(""),(Bn=document.getElementsByClassName("sina_tj_jdt")).length>0)for(var o=0;o','
    '+e+"
    ",'\u590d\u5236\u5e76\u5173\u95ed',""].join(""),l.style.display="block"}(JSON.stringify(t))})):Jt.sendErrLog(t)}}}),Jt.bind("IntellFirstLoad",function(){}),Jt.bind("error",function(e){}),Jt.bind("loadRelevent",function(e,t,n,a,o){var r=i.feed(e,t,n,a);r&&(i.init(e,r,t,n,a,o),window.SM.data.sax.standardNews&&i.moveOffRuleAdToContainer(qn,a))}),Jt.bind("loadPicSuda",function(){0==$(".j_gallery_aside ").find("div.hd_nat").length&&$(".gallery_slide_adwrap").append('
    '),Jt.reloadPdps("PDPS000000058151")}),$(window).on("loadedVideo",function(){!function(){var e=0,t=Mn.vid.length,n=document.getElementsByClassName("videobox")[0].getElementsByTagName("video");if("undefined"!=typeof n&&n.length>0)for(;e=2&&(l=Pe.adapt2PicsInfo(e.retData.xc,"xc"),c+=Dt.get2PicsFeedStr(t,l)),r=0;r'+e+"":''+Kn.local.navName+"":i+=r[a].outerHTML;document.querySelector("#j_top_nav").innerHTML=i}else if(document.querySelector("#j_navScroll")){var r=document.querySelector("#j_navScroll").querySelector(".sw_c2").querySelectorAll("a"),s=document.querySelector("#j_navScroll").querySelectorAll(".sw_c3");for(i="",a=0,o=r.length;a'+e+"":(Te.http2https(Kn.local.navUrl),Kn.local.navName,Kn.local.navName):i+=s[a].outerHTML;document.querySelector("#j_navScroll").querySelector(".sw_c2").innerHTML=i}},showGoToChannel:function(e){var t=Xn.querySelector("#j_card_"+e);if(t){var n=t.querySelector(".main_tit");if(n){n.innerHTML;var i=n.parentNode.href,a=n.parentNode.getAttribute("data-href"),o='\u70b9\u51fb\u67e5\u770b\u66f4\u591a';t.querySelector(".f_more_tips").innerHTML=o}}},localToYaowen:function(e,t){var n=e.retData.yaowen.list.length<2?e.retData.yaowen.list.length:2,i=0,a=null,o=[8,9];for(i=0;i3?r+=Dt.get3PicsFeedStr(t,a):r+=Dt.getCommonFeedStr(t,a),Dt.appendToYaowen(r,o[i]),this.resetAD(o[i])}},resetAD:function(e){var t=e,n=$("#j_card_yaowen").children();if(0==$("#j_card_yaowen").length)return!1;for(var i=t;i0;)t.appendChild(a[0]);ze.a.pushListeningEle(s,function(e){Re.ElemExpose(e)},!1),Re.ElemClick(Array.prototype.slice.call(s))}(e,t):function(e,t){t.innerHTML=e}(e,t)},getFeedBodyStr:function(e,t,n){var i="";return i+='
    ',i+=e,i+='\u70b9\u51fb\u67e5\u770b\u66f4\u591a',i+="
    "},showEle:function(e){Te.removeClass(e,"hide")}};var ti=function(){return(new Date).getTime()},ni={randNum:0,queue:[],UA:window.navigator.userAgent.toLocaleLowerCase(),isInitiated:!1,shouldCompensatePV:function(){if(!oi(this.randNum))return!1;var e=this.testUA();return!!("vivobrowser"==e.browser||"huaweibrowser"==e.browser||"xiaomibrowser"==e.browser||"chrome"==e.browser)},testUA:function(){var e=this.UA,t={browser:"",platform:""};return/iphone|ipod|ipad/.test(e)?(t.platform="ios",/ucbrowser/.test(e)?t.browser="ucbrowser":/baidubrowser/.test(e)?t.browser="baidubrowser":/mqqbrowser/.test(e)?t.browser="mqqbrowser":/micromessenger/.test(e)?t.browser="weixinapp":/baiduboxapp/.test(e)?t.browser="baiduapp":/weibo/.test(e)?t.browser="weiboapp":/chrome/.test(e)||(t.browser="other")):(t.platform="android",/vivobrowser/.test(e)?t.browser="vivobrowser":/xiaomi/.test(e)?t.browser="xiaomibrowser":/oppobrowser/.test(e)?t.browser="oppobrowser":/mqqbrowser/.test(e)?t.browser="mqqbrowser":/ucbrowser/.test(e)?t.browser="ucbrowser":/baidubrowser/.test(e)?t.browser="baidubrowser":/huawei/.test(e)?t.browser="huaweibrowser":/micromessenger/.test(e)?t.browser="weixinapp":/baiduboxapp/.test(e)?t.browser="baiduapp":/weibo/.test(e)?t.browser="weiboapp":t.browser="chrome"),t},bind:function(e){function t(){var t=ti(),n=t-window.backforward_lastInterval;window.backforward_lastInterval=t,n>3e3&&e&&e()}var n=this.testUA(),i="vivobrowser"==n.browser||"huaweibrowser"==n.browser||"xiaomibrowser"==n.browser||"chrome"==n.browser,a="android"==n.platform&&("ucbrowser"==n.browser||"mqqbrowser"==n.browser),o=oi(this.randNum);if(i&&o){if(window.addEventListener("click",function(t){document.body&&function e(t,n){return!!t&&("A"==t.nodeName?t:t!=n&&e(t.parentNode,n))}(t.target,document.body)&&setTimeout(function(){e&&e()},800)}),"vivobrowser"!==n.browser&&document.addEventListener("DOMNodeInserted",function(e){var t=void 0;switch(e.target.tagName){case void 0:return;case"A":t=[e.target];break;default:t=e.target.querySelectorAll("a")}!function(e){e.length&&"forEach"in e&&e.forEach(function(e){var t=e.getAttribute("href");!t||t.indexOf("javascript")>=0||e.setAttribute("target","_blank")})}(t)},!1),"chrome"==n.browser){var r=document.createElement("meta");r.setAttribute("content","#15adf6"),r.setAttribute("name","theme-color"),document.head&&document.head.appendChild(r)}}else"onpageshow"in window&&"onpagehide"in window&&(a||!o)?(window.addEventListener("pageshow",function(n){n.persisted?e&&e():t()},!1),window.addEventListener("pagehide",function(e){window.backforward_lastInterval=ti()},!1)):setInterval(t,800)},add:function(e){"function"==typeof e&&this.queue.push(e)},init:function(){this.randNum=Math.random(),this.isInitiated||(window.backforward_lastInterval=(new Date).getTime(),window.backforward.bind(function(){setTimeout(function(){window.backforward.queue.forEach(function(e){e&&e()})},300)}),this.bindBackRefreshMethod(),this.isInitiated=!0)},bindBackRefreshMethod:function(){window.addEventListener("pageshow",ii)}};function ii(e){if(2==performance.navigation.type){if(!window.backRefreshFlag&&window.SIMA){window.SIMA.suda_count&&window.SIMA.suda_count({type:"bfcache",name:"backforward refresh",title:"\u56de\u9000\u5237\u65b0\u7edf\u8ba1",index:0})}}else window.backRefreshFlag=!0}function ai(e,t){return ti.getTime())&&(!(18!=n||!ai(.8,e))||(!(19!=n||!ai(.7,e))||!(20!=n||!ai(.5,e))))}window.backforward=ni;var ri=ni,si=(document,window,(Te.isHTTPS()?"https://cre.dp.sina.cn":"http://cre.dp.sina.cn")+"/api/v3/get?merge=3&statics=1&this_page=1&length=1&cateid=sina_all&mod=wclick&cre=tianyi&pageurl="),ci=!1;-1!=location.href.indexOf("feedmove=1")&&(ci=!0);var li={target:!1,init:function(){ri.add(function(){if(li.target){var e="";Te.isDebug()&&console.log(e),Te.isDebug()&&console.log("feedmove \u53d1\u9001\u8bf7\u6c42.........");var t=$(li.target).data("pclink");Te.jsonp(si+(-1==t.indexOf("?")?t:t.split("?")[0])+li.ext+e,function(){Te.isDebug()&&console.log("feedmove \u8bf7\u6c42\u6210\u529f........."),li.callback.apply(li,arguments)}.bind(this),"feedmove",function(){})}}),ri.init(),Te.isDebug()&&console.log("\u7ed1\u5b9abackforward...............")},getAdconfig:function(){var e=li.getAfter(),t=li.getBefore(),n=$(li.target).attr("href")&&$(li.target).attr("href").split("?")[0],i={id:$(li.target).data("docid")||"",tpl:this.getArticleTPL($(li.target)),url:escape(n)||"",label:$(li.target).data("label")||""},a=window.getCookie("feedmove_count")||1;return this.setCookie("feedmove_count",a-0+1,720,"/",".sina.cn"),"&ad="+Te.tyAdData({channel:"11001",context:{after:e,before:t,article:i,count:a}})},setCookie:function(e,t,n,i,a,o){var r=[];if(r.push(e+"="+escape(t)),n){var s=new Date,c=s.getTime()+36e5*n;s.setTime(c),r.push("expires="+s.toGMTString())}i&&r.push("path="+i),a&&r.push("domain="+a),o&&r.push(o),document.cookie=r.join(";")},getBefore:function(){for(var e=[],t=$(li.target);t.prev().length;){if(-1!=(t=t.prev()).html().indexOf("\u5e7f\u544a")){e.unshift({id:t.find("a").data("adid")+""||"",tpl:t.find("a").data("templateid")+""||"43"});break}e.unshift({id:t.data("docid")||"",tpl:this.getArticleTPL(t)})}return e},getAfter:function(){for(var e=[],t=$(li.target);t.next().length;){if(-1!=(t=t.next()).html().indexOf("\u5e7f\u544a")){e.push({id:t.find("a").data("adid")+""||"",tpl:t.find("a").data("templateid")+""||"43"});break}e.push({id:t.data("docid")||"",tpl:this.getArticleTPL(t)})}return e},getArticleTPL:function(e){if(e.attr("href")){if(-1!=e.attr("href").indexOf("v.sina.cn")||-1!=e.attr("href").indexOf("video.sina.cn"))return"35";if(-1!=e.attr("href").indexOf("photo.sina.cn"))return"33"}return"43"},callback:function(e,t,n,i,a){var o=e&&e.data||[];(0==(o&&o.length)||e.status&&0==e.status.end)&&Te.isDebug()&&console.log("feedmove \u6570\u636e\u5f02\u5e38......"),li.fn&&li.fn(o,e.sax),li.target=!1},add:function(e,t,n,i){if(i&&"number"==typeof i&&i0&&void 0!==arguments[0]?arguments[0]:{};!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.jsb=t.jsb,this.version=t.version||"v1",this.id_prefix=t.id_prefix||"",this.gkurl=t.gkurl||"https://gk.sina.cn/"+this.version+"/gkmatch",this.qeurl=t.qeurl||"https://gk.sina.cn/"+this.version+"/qematch"}return hi(e,[{key:"loadGK",value:function(e,t){var n=this,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:function(){};e=e.map(function(e){return""+n.id_prefix+e}),this.fetch(e,this.gkurl,t,function(t,n){if(t)return i(t);if(n&&0==n.code){var a=[];e.forEach(function(e){var t=n.hit[e];t&&a.push(t.rs)}),a.length?i(null,a):i(new Error("gkid not matched"))}else i(new Error(n.msg))})}},{key:"loadQE",value:function(e,t){var n=this,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:function(){};e=e.map(function(e){return""+n.id_prefix+e}),this.fetch(e,this.qeurl,t,function(t,n){if(t)return i(t);if(n&&0===n.code){var a=[];e.forEach(function(e){var t=n.hit[e];t&&a.push(t)}),a.length?i(null,a):i(new Error("qeid not matched"))}else i(new Error(n.msg))})}},{key:"loadQEbyNative",value:function(e,t,n){var i=this,a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:function(){};t=t.map(function(e){return""+i.id_prefix+e}).join(","),n.id=t,this.jsb&&this.jsb.fetch({url:e,method:"GET",data:n,success:function(e){a(null,e)},error:function(e){a(e)}})}},{key:"loadGKRule",value:function(e,t){var n=this,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:function(){};this.loadGK(e,t,function(e,t){if(e)return i(e);n.loadRuleByRss(t,i)})}},{key:"loadQERule",value:function(e,t){var n=this,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:function(){};this.loadQE(e,t,function(e,t){if(e)return i(e);n.loadRuleByRss(t,i)})}},{key:"loadRuleByRss",value:function(e,t){var n=this,i=e.length,a=0;e.forEach(function(o){var r=o.conf||o.rs.conf;n.loadScript(r.url,function(n){++a===i&&t(n,e)})})}},{key:"fetch",value:function(e,t,n,i){if(t=t+"?id="+e.join(","),this.jsb)this.jsb.fetch({url:t,method:"POST",referer:"http://sina.cn",data:n,success:function(e){i(null,e)},error:function(e){i(e)}});else{var a=new XMLHttpRequest;a.open("POST",t,!0),a.setRequestHeader("Content-type","application/x-www-form-urlencoded"),a.onreadystatechange=function(){if(a.readyState===XMLHttpRequest.DONE&&200===a.status)try{i(null,JSON.parse(a.responseText))}catch(e){i(e)}},a.onerror=i,n=Object.keys(n).map(function(e){return encodeURIComponent(e)+"="+encodeURIComponent(n[e])}).join("&"),a.send(n)}}},{key:"loadScript",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(){};if(!e)return t(null);var n=document.createElement("script");n.onload=function(){n.parentNode.removeChild(n),t(null)},n.onerror=function(e){n.parentNode.removeChild(n),t(e)},n.src=e,document.body.appendChild(n)}},{key:"setUrl",value:function(e){e.gkurl&&(this.gkurl=e.gkurl),e.qeurl&&(this.qeurl=e.qeurl)}},{key:"getCookie",value:function(e){return Object(pi.getCookie)(e)}}]),e}(),di.defaultData=Object(pi.collectData)(),ui);var mi=window.GongBu;(new mi).loadQE(["r86"],{sinaglobal:window.getCookie&&window.getCookie("SINAGLOBAL")||"",ustat:window.getCookie&&window.getCookie("ustat")||""},function(e,t){if(console.log("\u5de5\u90e8\u8bd5\u9a8c\u624b\u6d6a\u57fa\u51c6\u5bf9\u7167\uff1a"+JSON.stringify(t)),t&&t[0]){var n={r86:{hitresp:t[0].hitresp}},i=JSON.stringify(n);$.ajax({url:"//gk.sina.cn/v1/qeexpose",type:"POST",data:{data:i,sinaglobal:window.getCookie&&window.getCookie("SINAGLOBAL")||"",ustat:window.getCookie&&window.getCookie("ustat")||"",seq:0,ts:(new Date).getTime()},success:function(){}})}}),window.gongBuResult={};var gi=window.navigator.userAgent.toLowerCase();var vi=function(e,t){if(!(gi.match(/sinanews/gi)||gi.match(/ucbrowser/gi)||gi.match(/micromessenger/gi)))if(window.gongBuResult[e])window.gongBuResult[e].resp&&t(window.gongBuResult[e].conf);else{var n=window.sudaLogConfig&&window.sudaLogConfig.channel||"",i=new mi,a=Te.storage.get("__r"+e)||{},o=0;if(a&&a[n]&&a[n].timestamp){var r=new Date(a[n].timestamp),s=new Date;r.getFullYear()==s.getFullYear()&&r.getMonth()==s.getMonth()&&r.getDate()==s.getDate()&&(o=a[n].count||0)}i.loadGK(["r"+e],{sinaglobal:window.getCookie("SINAGLOBAL"),ustat:window.getCookie("ustat"),ref:window.location.href,channel:n,useragent:gi,count:o},function(i,a){if(console.log("\u5de5\u90e8\u8bd5\u9a8c\u624b\u6d6a\u57fa\u51c6\u5bf9\u7167\uff1a"+JSON.stringify(a)),a&&a[0]){if(a[0].conf&&a[0].resp){if(!window.gongBuResult[e]&&le){var o={type:"",name:"exposure_"+a[0].conf.sn+"001",title:"",channel:n,index:0};le.suda_count&&le.suda_count(o)}t(a[0].conf)}window.gongBuResult[e]=a[0]}})}};n(26);var _i=function(e){var t=[];t.push(''),t.push(''),t.push(''+(e.title||"\u65b0\u6d6a\u65b0\u95fb \u66f4\u591a\u7cbe\u5f69")+""),t.push('\u6253\u5f00');var n=document.createElement("link");n.setAttribute("rel","stylesheet"),n.setAttribute("type","text/css"),document.getElementsByTagName("head")[0].appendChild(n);var i=document.createElement("main");if(i.className="cm_fl_call",i.id="j_nba_banner",i.innerHTML=t.join(""),document.getElementsByTagName("body")[0].appendChild(i),window._sinaCallEvent)window._sinaCallEvent.trigger("sina_bind_target");else{var a=document.createElement("script");a.onload=function(){window._sinaCallEvent.trigger("sina_bind_target")},a.src="//mjs.sinaimg.cn/umd/base-tools-nph/1.0.34/lib/index.min.js",document.getElementsByTagName("body")[0].appendChild(a)}};var wi=window.sudaLogConfig&&window.sudaLogConfig.channel||"",yi=function(e,t){vi(e,function(n){var i=window.location.href.split(".")[0].split("//")[1];t.find("a").forEach(function(t){if(-1==t.className.indexOf("j_call_native")&&-1==t.className.indexOf("j_nativeLiteCell")){var a=ut($(t).attr("href"));a?($(t).addClass("j_call_native"),t.dataset.app="news",t.dataset.domain=i,t.dataset.channel=wi,t.dataset.golink=$(t).attr("href"),t.dataset.calluptype=n&&n.sn,t.dataset.callupid=a,t.dataset.type="wm"+(o=window.location.href,r=new RegExp("wm"+"=(.*?)(&|$)"),null!=(s=o.match(r))?s[1]:"")+"_ART_"+a,t.dataset.skipad="1",t.dataset.href=$(t).attr("href"),$(t).attr("href","javascript:;"),$(t).on("click",function(){var t=Te.storage.get("__r"+e)||{},n=0,i=new Date;if(t&&t[wi]&&t[wi].timestamp){var a=new Date(t[wi].timestamp);a.getFullYear()==i.getFullYear()&&a.getMonth()==i.getMonth()&&a.getDate()==i.getDate()&&(n=t[wi].count||0)}n>0?t[wi].count++:t[wi]={count:1,timestamp:i.getTime()},Te.storage.set("__r"+e,t)})):console.log(11111111111,"this dom has not callupId",t)}var o,r,s}),window._sinaCallEvent.trigger("sina_bind_target")})};vi(259,function(e){_i(e)});var bi=function(e){var t=new RegExp("(^| )"+e+"=([^;]*)(;|$)").exec(document.cookie);return t&&t[2]||null},Ai=function(e){var t="========= "+e.title+"========= "+e.txt;if(window.location.href.match(/debugwifi/gi)){var n=document.querySelector("#showLog");n?n.innerHTML=n.innerHTML+"
    "+t:((n=document.createElement("div")).style="position:fixed;bottom:0;left:0;right:0;height:150px;background:rgba(0,0,0,0.7);color:#FFF;padding: 10px; line-height: 1.5;overflow:scroll;font-size:15px;text-align:left;",n.innerHTML=t,n.id="showLog",document.body.appendChild(n))}},xi={isSend:!0,init:function(e,t,n){e=e||2e-4;if(!(Math.floor(Math.random()/e*10)>=10)){location;this._performanceCollection(t,n)}},_performanceCollection:function(e,t){var n=window,i=null,a=-1,o=this,r="0";n.performance&&(a=setInterval(function(){clearInterval(a),(i=n.performance.timing).fetchStart&&(r=o._sliceAttr(i.fetchStart));var s={attr:r,cE:o._sliceString(i.connectEnd),cS:o._sliceString(i.connectStart),dC:o._sliceString(i.domComplete),dCLE:o._sliceString(i.domContentLoadedEventEnd),dCLS:o._sliceString(i.domContentLoadedEventStart),dI:o._sliceString(i.domInteractive),dL:o._sliceString(i.domLoading),dLE:o._sliceString(i.domainLookupEnd),dLS:o._sliceString(i.domainLookupStart),fS:o._sliceString(i.fetchStart),lEE:o._sliceString(i.loadEventEnd),lES:o._sliceString(i.loadEventStart),rE:o._sliceString(i.redirectEnd),rS:o._sliceString(i.redirectStart),nS:o._sliceString(i.navigationStart),reS:o._sliceString(i.requestStart),rsS:o._sliceString(i.responseStart),rsE:o._sliceString(i.responseEnd),sCS:o._sliceString(i.secureConnectionStart),uEE:o._sliceString(i.unloadEventEnd),uES:o._sliceString(i.unloadEventStart),ext:e};o.isSend&&t&&t(s)},30))},_sliceString:function(e){var t="0";return 0==e||null==e||"undefined"==typeof e?t:((t=(t=e.toString()).slice(7,t.length)).length<6&&(this.isSend=!1),t)},_sliceAttr:function(e){return 0==e?e.toString():e.toString().slice(0,7)}};window.performanceCollection=xi;var ki=xi,Si=n(27),Ci=n.n(Si),Ti=n(29),Ei=n(30),Ii=n.n(Ei),Mi=function(){function e(e,t){for(var n=0;n0&&(t.filter(function(e){var t="xmlhttprequest"===e.initiatorType||"script"===e.initiatorType||"img"===e.initiatorType||"link"===e.initiatorType,n=-1===e.name.indexOf("beacon.sinajs.cn");return t&&n}).filter(function(t){return(e.itemRandom[t.initiatorType]||0)>=Math.random()}).forEach(function(t,n){var i=function(e){var t={};for(var n in Di)e[n]&&(e[n].toFixed&&0!==e[n]?t[Di[n]]=e[n].toFixed(2):t[Di[n]]=e[n]);return t}(t);0===n&&e.fpsInfo.length>0&&(t.fpsInfo=JSON.stringify(e.fpsInfo),e._clearFpsInfo()),Li(e.clinetInfo,i),i.nm&&(i.nm=encodeURIComponent(i.nm)),Object.keys(i).length>0&&e.reportByPost(i)}),Oi.performance.clearResourceTimings())},this.collectTime)}},{key:"collectClinet",value:function(){var e=Oi.navigator.userAgent,t=!1,n=!1,i="Mobile";try{document.createEvent("TouchEvent")}catch(e){i="PC"}return Oi.matchMedia("(display-mode: standalone)").matches&&(t=!0),"serviceWorker"in navigator&&(n=!0),{currentUrl:encodeURIComponent(Oi.location.href),projectType:i,userAgent:e,isStandlone:t,supportSwork:n,referer:document.referer?encodeURIComponent(document.referer):"",host:Oi.location.protocol+"//"+Oi.location.hostname}}},{key:"collectFPS",value:function(){var e=this;this.fpsCollector=new Ti.collectScrollFps({threshold:2}),this.fpsCollector.start(),this.fpsCollector.on("end",function(t){e.fpsInfo.push({fps:t.fps.toFixed(2),speed:t.speed.toFixed(2)})})}},{key:"collectExt",value:function(e){if(!(this.extRandom<=Math.random())){var t=this.collectClinet();t.ext=JSON.stringify(e||{}),this.extReport.reportByGet(t)}}},{key:"collectExtByPost",value:function(e){if(!(this.extRandom<=Math.random())){var t=this.collectClinet();t.ext=JSON.stringify(e||{}),this.extReport.reportByPost(t)}}},{key:"_clearFpsInfo",value:function(){this.fpsInfo=[]}}]),t}(),Ni="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},Ui=.001;new Date("2018/04/25")',e+='',a.insertAdjacentHTML("afterBegin",e),c(),setInterval(function(){c()},i));o.addEventListener("focus",function(){clearInterval(s),o.value="",r="userInput",l(),a.insertAdjacentHTML("afterBegin",'')}),a.parentNode.addEventListener("submit",function(e){var t,n;t=o.value,n={type:r,name:r,title:t,index:0},zi.suda_count&&zi.suda_count(n)})}function c(){var e=Te.getRollNum(0,n),i=t[e].word;o.value=i}function l(){var e=a.querySelectorAll("[type=hidden]"),t=e.length,n=0;for(n=0;n\u70b9\u51fb\u67e5\u770b\u66f4\u591a';t.querySelector(".f_more_tips").innerHTML=a}}},hasNoMore:function(e){for(var t=ua[la],n=["fashion","life"],i=0,a=n.length;i=t},getMore:function(e){e in ha?this.showCommonMore(e):this.getAsyncCard(e)},getChannelName:function(e){for(;e;){if(e.classList&&e.classList.contains("card_module"))return e.getAttribute("data-channel");e=e.parentNode}},getYaowen:function(){this.getAsyncCard("yaowen")},getAllAsyncCard:function(){for(var e in sa)"yaowen"!=e&&this.getAsyncCard(e)},getLocal:function(){return Te.getSearchValue("df")},getURL:function(e){var t=e in sa?sa[e].host:Gi+"?card="+e;"local"==e&&(this.getLocal()&&(t+="&df="+this.getLocal()));if("weatherFinanceApp"==e){var n=Te.getSearchValue("time"),i=Te.getSearchValue("df"),a=navigator.userAgent.toLowerCase(),o=a.indexOf("ucbrowser")+1?"uc":a.indexOf("baidu")+1?"bd":a.indexOf("qqbrowser")+1?"qq":"no",r=/iphone|ipad|ipod/.test(a)?"ios":a.indexOf("android")+1?"android":"no";n&&(n="&time="+n),i&&(i="&df="+i),t+="&ua="+o+"&pf="+r+n+i}if("yaowen"==e){if(-1==Ji[e])var s=0,c=sa[e].firstPageNum,l=0;else c=da[la],s=Ji[e]*c+sa[e].firstPageNum,l=1;t+="&ad="+Te.tyAdData({channel:"10000"}),t+="&length="+c+"&offset="+s+"&action="+l}else e in Ji&&(t+=ca?"&nopic=0":"&nopic=1",t+=e in sa?"&page="+(Ji[e]+1):"&page=-1");if("hotweibo"==e&&(t+="&vid="+this.getCookie("SINAGLOBAL")),"house"==e){var d=this.getCookie("dfz_location").split("-")[1];d&&(t+="&ls_city="+d)}return t},getCookie:function(e){return void 0==e||""==e?"":this.stringSplice(document.cookie,e,";","")},stringSplice:function(e,t,n,i){if(""==e)return"";t+=i=""==i?"=":i;var a=e.indexOf(t);if(a<0)return"";a+=t.length;var o=e.indexOf(n,a);return o=ha[e].length)this.showGoToChannel(e);else{for(i=0;i0){var m=h[0].parentNode;for(d=0;d=0&&(v=!1),c=Dt.getFeedStr(t,u,c,v,"feedmove")}if(f=this.getFeedBodyStr(f,"https://news.sina.cn/?vt=4&pos=108",t),this.appendToCard(c+f,l,"yaowen"==t,i),this.showEle(l),Pt.init(),Ut.init(),_sinaCallEvent&&_sinaCallEvent.trigger("sina_lite_init"),_sinaCallEvent&&_sinaCallEvent.trigger("sina_bind_target"),e.sax){r=Ri.querySelector("#j_card_"+t).querySelectorAll("a").length;var w={cardId:"#j_card_"+t,initList:e.sax,saxType:"tianyi",isUp:0,addList:r};sinaSax.saxInit(w)}if(Zi&&fi.add($("#j_card_"+t+" a"),this._feedMoveCallback.bind(this),"&feed_insert=0"),Ji[t]++,p){var y=$("#j_card_yaowen .m_f_a_r").last();y.attr("data-sudaclick","callUpHomeArt"),ze.a.pushListeningEle([y.get(0)],function(e){window.SIMA&&window.SIMA({action:"_exposure",pk:"187523",data:{index:0,aid:"callUpHomeArtExp",url:location.href}})},!1)}}this.likeFeedbackData=ma,this.getAutoLastData(),sinaSax&&sinaSax.callback("sendHistoryLog",[4]),this.modulesAdsInit()}},modulesAdsInit:function(){var e={cardId:"#j_card_sports .s_card_it",initList:[],saxType:"sax"};e.initList=[{pdps:"PDPS000000065801",pos:5}];var t=document.querySelector("#j_card_sports .s_card_it");t&&e.initList.push({pdps:"PDPS000000060104",pos:t.childElementCount+1}),e.initList.push({pdps:"PDPS000000065802",pos:5});var n=document.querySelector("#j_card_ent .s_card_it");n&&e.initList.push({pdps:"PDPS000000057781",pos:n.childElementCount+1});var i=document.querySelector("#j_card_finance .s_card_it");i&&e.initList.push({pdps:"PDPS000000059949",pos:i.childElementCount+2});var a=document.querySelector("#j_card_tech .s_card_it");a&&e.initList.push({pdps:"PDPS000000059950",pos:a.childElementCount+2});var o=document.querySelector("#j_card_mil .s_card_it");o&&e.initList.push({pdps:"PDPS000000057782",pos:o.childElementCount+2});var r=document.querySelector("#j_card_blog .s_card_it");r&&e.initList.push({pdps:"PDPS000000057783",pos:r.childElementCount+2}),sinaSax.saxInit(e)},_feedMoveCallback:function(e){var t=e[0],n="";if(t=Pe.adaptInfo(t,"yaowen"),Te.hasRepeatData("yaowen",t.docID))console.log("feedmove \u6570\u636e\u91cd\u590d......");else{n=Dt.getFeedStr("feedmove",t,n,!1,"feedmove");var i=Ri.createElement("div");i.innerHTML=n;var a=$(i.children[0]);fi.add($(i.children[0]),va.feedmoveCallback),Re.ElemExpose(a,{mod:"whome"}),Re.ElemClick(a,{mod:"whome"}),a.insertAfter(fi.target),this.resetSubAD(a),Ke&&Ke.currentLazy(),console.log("feedmove \u6210\u529f\u63d2\u5165 ............")}},resetSubAD:function(e){for(var t=e.index(),n=$("#j_card_yaowen").children(),i=t;i=2&&(c=Pe.adapt2PicsInfo(e,t),r+=Dt.get2PicsFeedStr(t,c)),this.updateCardFeedsBuffer(t),a=0;a=2&&"book"!=r&&(l=Pe.adapt2PicsInfo(s.pic,t),u+=Dt.get2PicsFeedStr(t,l)),s.pic&&s.pic.length>=2&&"book"==r&&(l=Pe.adapt2PicsInfo(s.pic,t),u+=Dt.get3VerticalPicStr(t,l)),s.icon&&s.icon.length>=3&&("searchbar"!=r?(l=Pe.adapt5PicsInfo(s.icon,t),u+=Dt.get5PicsFeedStr(t,l)):(l=Pe.adapt5PicsInfo(s.icon,t),u+=Dt.get4PicsFeedStr(t,l))),s.list)for(var p=0,h=s.list.length;p=3?u+=Dt.get3PicsFeedStr(r,l):u+=Dt.getCommonFeedStr(r,l);"searchbar"!=r&&(u=this.getFeedBodyStr(u,f)),this.appendToCard(d+u,c),"sports"==r&&s.matches&&this.getSportsLiveScore(),"auto"==r&&this.getAutoLastData(),this.showEle(c),Ke&&Ke.currentLazy()}}}"cardgroup1"===i&&sinaSax&&sinaSax.callback("sendHistoryLog",[4]),Te.trigger("asyncAd",[n]),Ji[i]++},getAutoLastData:function(){},getSportsLiveScore:function(){var e=Ri.querySelectorAll(".j_sports_match"),t=e.length>2?2:e.length;if(0==t)return!1;for(var n="",i=0;i3?o+=Dt.get3PicsFeedStr(t,i):o+=Dt.getCommonFeedStr(t,i),Dt.appendToYaowen(o,a[n])}},execWFA:function(e,t){if(e){var n="",i=Ri.querySelector("#"+sa[t].weatherCardId),a=Ri.querySelector("#"+sa[t].financeCardId);n=this.getWeatherStr(e),this.appendToWeather(n,i),n=this.getFinanceStr(e),this.appendToFinance(n,a)}},cardFeedsBuffer:{},updateCardFeedsBuffer:function(e,t){var n=[],i=0,a=0,o=0,r=null;if(e in this.cardFeedsBuffer){if(!t)return;this.cardFeedsBuffer[e].push({}),o=this.cardFeedsBuffer[e].length-1,this.cardFeedsBuffer[e][o].docID=t.docID,this.cardFeedsBuffer[e][o].title=t.title,this.cardFeedsBuffer[e][o].link=t.link}else for(n=Ri.querySelector("#j_card_"+e).querySelectorAll("h4"),this.cardFeedsBuffer[e]=[],i=0,a=n.length;i"},getFinanceStr:function(e){var t=e.retData.finance.stocks.length,n=0,i="",a=null;for(n=0;n",i+="",i+=a.title,i+="",i+="

    ",i+=a.value,i+="",i+=a.range,i+="%",i+="

    ",i+="";return i},getFeedBodyStr:function(e,t,n){var i="";return i+='
    ',i+=e,i+='\u70b9\u51fb\u67e5\u770b\u66f4\u591a',i+="
    "},parseTime:function(e){if(!e)return"";function t(e){return e<10?"0"+e:e}var n=parseInt(e/1e3);return t(parseInt(n/60))+":"+t(n%60)},appendToCard:function(e,t,n,i){var a=this;n?function(e,t){var n=Ri.createElement("div");n.innerHTML=e;var o=n.childNodes,r=0,s=o.length,c=[];for(r=0;r0;)t.appendChild(o[0]);ze.a.pushListeningEle(c,function(e){Re.ElemExpose(e,!1,i)},!1),Re.ElemClick(Array.prototype.slice.call(c),!1,i)}(e,t):function(e,t){t.innerHTML=e}(e,t)},appendToYaowen:function(e,t){var n=Ri.querySelector("#j_card_yaowen");if(0!=n.length){var i=n.children[t],a=Ri.createElement("div");a.innerHTML=e,n.insertBefore(a.children[0],i),Ke&&Ke.currentLazy()}},appendToApp:function(e,t){t.insertAdjacentHTML("beforeEnd",e)},appendToFinance:function(e,t){t.insertAdjacentHTML("beforeEnd",e)},appendToBreakder:function(e,t){e&&t.insertAdjacentHTML("afterEnd",e)},appendToWeather:function(e,t){t.insertAdjacentHTML("beforeEnd",e)},getHdpicObj:function(){var e=[],t=document.querySelector("#hdpic_defense");if(!t)return!1;for(var n=t.querySelectorAll("a"),i=0,a=n.length;i0&&(t=Ea),window._sinaCallEvent.trigger("sina_suda_action",t),wa.a.showLog({title:"\u5efa\u6865\u6210\u529f\uff0c\u53d1\u9001code",txt:t}),wa.a.showLog({title:"\u5efa\u6865\u9700\u8981\u7684\u65f6\u95f4",txt:window.weiboJSBridgeReadyTime-window.weiboJSBridgeInitTime})}},goNative:function(e){e.cb},clearTwiceTimer:function(){tryGoAppMaxTimer&&(clearTimeout(tryGoAppMaxTimer),tryGoAppMaxTimer=null)},storeInfo:function(e){var t=e.WeiboJSBridgeReady,n=e.config,i=1;userDoTimes++,i=ja.goAppInfo&&n.androidNativeUrl==ja.goAppInfo.androidNativeUrl?0:1,1!=t&&2==userDoTimes&&1==i&&(ja.clearTwiceTimer(),userDoTimes=1),ja.goAppInfo=n,ja.goAppInfo.isUDo=i,wa.a.showLog({title:"\u5b58\u50a8\u547c\u8d77\u4fe1\u606f\uff0c\u5f53\u524d\u662f\u5426\u4e3a\u7528\u6237\u64cd\u4f5c",txt:i})},storeDownloadInfo:function(e){var t=e.url;ja.clearTwiceTimer(),ja.downloadInfo={url:t},ja.downloadInfo.startTime=~~ja.downloadInfo.startTime,wa.a.showLog({title:"\u5b58\u50a8\u4e0b\u8f7d\u4fe1\u606f\uff0c\u4e0b\u8f7d\u5730\u5740",txt:t||null})},goDownload:function(e){var t=e.cb;if(tryGoAppMaxTimer)ja.clearTwiceTimer();else{ja.downloadInfo.nextTime=(new Date).getTime();var n=ja.downloadInfo.nextTime-ja.downloadInfo.startTime;if(!(ja.downloadInfo.startTime&&n<1e4))return wa.a.showLog({title:"\u8ddd\u79bb\u4e0a\u6b21\u4e0b\u8f7d\u65f6\u95f4\u95f4\u9694",txt:n}),tryGoAppMaxTimer=setTimeout(function(){ja.downloadInfo.startTime=(new Date).getTime(),ja.clearTwiceTimer(),wa.a.showLog({title:"\u5f00\u59cb\u4e8c\u6b21\u91cd\u8bd5\u4e0b\u8f7d\uff0c\u5df2\u7b49\u5f85\u65f6\u95f4",txt:tryGoAppMaxTime}),t&&t({startTime:ja.downloadInfo.startTime,url:ja.downloadInfo.url})},tryGoAppMaxTime),wa.a.showLog({title:"\u8bbe\u7f6e\u4e8c\u6b21\u91cd\u8bd5",txt:"start"}),userDoTimes;wa.a.showLog({title:"\u91cd\u8bd5\u903b\u8f91\u65f6\u95f4\u95f4\u9694\u5fc5\u987b\u5927\u4e8e10s\uff0c\u8ddd\u79bb\u4e0a\u6b21\u4e0b\u8f7d\u65f6\u95f4\u95f4\u9694",txt:n})}}},Oa=ja;function Da(e){if(!e.match(/sinanews|sapi\.sina\.cn|sinawap/gi))return"";var t=Number(config.newRoute)?"&":"::";return t+"ustat="+encodeURIComponent(wa.a.getCookie("ustat"))+t+"opid="+(new Date).getTime()+Math.floor(1e7*Math.random())}var La="undefined"!==typeof isNphCopyPower?parseInt(isNphCopyPower||0):1,Pa=window.SM&&window.SM.data&&window.SM.data.callUpConfig&&window.SM.data.callUpConfig.shiftKnob||0,Na=window,Ua=document;Na.getFromUrl=!1;var Ba=!!document.location.href.match(/shiftKnob\=1/gi),Ra=window.location.href.match(/isTestWB2Download/gi),za=window.location.href.match(/isMockBrowser/gi),Ha=new Ca.a,qa=0,Fa=wa.a.isWeibo(),Qa="android"==wa.a._system();function Wa(){window.weiboJSBridgeReadyTime=(new Date).getTime(),Oa.sendLog({WeiboJSBridgeReady:qa}),$a()}function $a(){qa=1}function Va(e){var t=JSON.stringify({installAppFromWeibo:~~Na.wbInstallInfo}),n={name:e,type:encodeURIComponent(t),title:"",index:"",href:""};wa.a.showLog({title:"send log install status",txt:e+"/"+~~Na.wbInstallInfo}),("function"==typeof Na.suda_count||Na.suda_count)&&Na.suda_count&&Na.suda_count(n)}Na.isTestUserDoTimes=0,window.isTestWB2Downloaded=0,Na.wbInstallInfo=0,Ba&&(Pa=1),Fa&&(document.addEventListener("DOMContentLoaded",function(e){if("undefined"===typeof window.WeiboJSBridge){var t=document.createElement("iframe");t.id="__WeiboJSInvokeIframe",t.style.display="none",document.documentElement.appendChild(t),t.src="sinaweibo://bridge_initialize"}window.weiboJSBridgeInitTime=(new Date).getTime()}),window.WeiboJSBridge?$a():document.addEventListener("WeiboJSBridgeReady",Wa)),za&&setTimeout(function(){Wa()},1500),Na.sendSudaLog=function(e){Fa&&Qa?setTimeout(function(){Va(e)},100):Va(e)};var Ja={openTimer:null,onlyCopy:!1,init:function(e){var t=Ja,n=wa.a.isWeixin(),i=(wa.a.isChrome(),wa.a.isIOS9()),a=!n&&wa.a.isQQ(),o=wa.a.isUC(),r=e||{},s=wa.a.isSinaNews();if(Oa.storeInfo({WeiboJSBridgeReady:qa,config:e}),t.onlyCopy=parseInt(r.onlyCopy||"0")>0,t.platform=wa.a._system(),t.openByWeixin=r.openByWeixin||"",a=!(!a||!t.openByWeixin)||"",t.isNotScheme=!!r.isNotScheme,t.ios9Weixin=r.ios9Weixin||r.ios9Url,t.isGolink=r.isGolink||!1,t.downloadswitch=r.downloadswitch&&!!parseInt(r.downloadswitch),t.tryCallDirectly=r.tryCallDirectly||"0",t.newRoute=r.newRoute||0,t.targetEl=r.targetEl||null,t._position=wa.a.getFullNumber(r.position),t.position=!!r.calluptype&&(r.calluptype||"")+t._position||"001",!r.useInstallUrl&&Ga.sendClickTrack(t.position),_sinaCallEvent.trigger("native_call_start",t.targetEl),t.platform){if(window.config=e,"ios"==t.platform){"newslite"===(t&&t.targetEl&&t.targetEl.getAttribute("data-app")||"")&&Pa&&(r.useInstallUrl=1),t.installUrl=parseInt(Pa)?r.useInstallUrl&&Fa&&r.iosInstallUrl||"":r.iosInstallUrl||"",t.nativeUrl=r.iosNativeUrl||"";var c=t.installUrl.match(/(\S*)(d\.php\?k\=)(\S*)/);t.openTime=r.iosOpenTime||800,Fa&&t.installUrl&&c&&(t.installUrl+="&sinainternalbrowser=external")}else t.installUrl=r.androidInstallUrl||"",t.nativeUrl=r.androidNativeUrl||"",t.openTime=r.androidOpenTime||(Fa?1500:o?2300:2e3);(s||t.onlyCopy)&&(t.installUrl=""),t.ios9Url=s&&i?t.nativeUrl:r.ios9Url,t.nativeUrl.indexOf(""+Na.prtl.prefix)>-1,parseInt(t.tryCallDirectly)?t.callDirectly(t.nativeUrl):t._goIOS9Native()}},_hackChrome:function(){Date.now();if(""==this.nativeUrl||!this.nativeUrl)return"";var e=this.nativeUrl.split("://"),t=e[0];return"intent://"+e[1]+"#Intent;scheme="+t+";end"},iCopyHack:function(e){var t=e+Da(e),n=!1;if(1===La||0!==La&&"ios"==this.platform||this.onlyCopy){var i=Da(e),a=(t=e+(~~config.newRoute&&e.match(/sapi\.sina\.cn/)?encodeURIComponent(i):i)).replace("sinawap*","sinawap_clip*");setTimeout(function(){wa.a.showLog({title:"copyHack wbInstallInfo",txt:Na.wbInstallInfo}),1!=Na.wbInstallInfo&&ka(a)},100),n=!0}return wa.a.showLog({title:"\u4f7f\u7528\u526a\u8d34\u677f",txt:n}),t||e},newLocation:function(e){var t=this,n=this.iCopyHack(e);setTimeout(function(){t.onlyCopy||(Na.location.href=n||e)},50)},_goIOS9Native:function(){var e=wa.a.isWeixin(),t=(wa.a.isChrome(),wa.a.isIOS9()),n=!e&&wa.a.isQQB(),i=!e&&!n&&wa.a.isQQ(),a=wa.a.isUC();if(!t||!this.ios9Url||Fa||n||a)if(t&&this.ios9Weixin&&n){var o=this.onlyCopy&&this.nativeUrl||this.ios9Weixin;this.newLocation(o)}else if(!i&&!e||"android"!=this.platform||!this.openByWeixin||this.isNotScheme)this._gotoNative();else{this.openByWeixin+=this.openByWeixin.indexOf("?")<0?"?":"";var r=this.openByWeixin.indexOf("app.qq.com")>0?"&android_schema="+encodeURIComponent(this.nativeUrl):"",s=this.onlyCopy&&this.nativeUrl||this.openByWeixin+r;this.newLocation(s)}else this.newLocation(this.ios9Url)},_gotoNative:function(){var e=wa.a.isIOS9(),t=wa.a.isUC(),n=wa.a.isHuawei(),i=(wa.a.isAliPay(),Ha&&Ha.browser&&"chrome"===Ha.browser.toLocaleLowerCase()||0),a="android"==wa.a._system(),o=Date.now();if(!e||!this.installUrl||this.isNotScheme||Fa||t){if(this.nativeUrl)if(e&&Fa||this.isNotScheme)this.newLocation(this.nativeUrl);else{var r=window.getNewPortal(),s=this.nativeUrl.match(/sinanews:\/\//gi)&&this.nativeUrl.replace(/sinanews:\/\//gi,r+"://");n&&!Fa&&a&&s&&!this.onlyCopy?this.goScheme(this.nativeUrl):a&&(i||t)?this.newLocation(this.nativeUrl):this.goScheme(this.nativeUrl)}this._checkWBDownload()}else this._gotoDownload(o)},goScheme:function(e){if(e){var t=document.body,n=document.createElement("iframe");wa.a._system();n.id="J_redirectNativeFrame",n.style.display="none",n.style.width="1px",n.style.height="1px",n.border="none";var i=e;n.src=this.iCopyHack(i),wa.a.showLog({title:"\u547c\u8d77scheme",txt:'

    '+n.src+"

    "}),this.onlyCopy||(t?t.appendChild(n):setTimeout(function(){t.appendChild(n)},0))}},_checkWBDownload:function(e){var t=this,n=Date.now(),i="ios"===wa.a._system();Na.wbDownloadAPI&&Na.wbDownloadAPI.APIValid();Na.wbDownloadAPI&&(Na.wbInstallInfo&&1!=Na.wbInstallInfo||!Na.wbInstallInfo)&&(i?Na.wbDownloadAPI.getIOSInstallInfo(function(e){if(!Na.wbInstallInfo){try{Na.wbInstallInfo=~~e.canOpenUrl}catch(e){Na.wbInstallInfo=0}var t,n,i;wa.a.showLog((t={title:"install Info"},n="title",i=Na.wbInstallInfo,n in t?Object.defineProperty(t,n,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[n]=i,t))}}):qa?Na.wbDownloadAPI.getInstallInfo(function(e){if(!Na.wbInstallInfo)try{Na.wbInstallInfo=parseInt(e.status||0)}catch(e){Na.wbInstallInfo=0}},1):Na._sinaCallEvent.trigger("sina_suda_action","WeiboJSBridgeUnReady_getAppInstallStates")),1==Na.wbInstallInfo||e||(!Na.isWBValid||i?(t.openTimer&&clearTimeout(t.openTimer),t.openTimer=setTimeout(function(){t._gotoDownload(n)},t.openTime)):t._gotoDownload(n,""),Oa.storeDownloadInfo({url:""}))},_gotoDownload:function(e,t){var n=this,i=Date.now(),a=wa.a._system(),o=wa.a.isWeibo(),r=wa.a.isWeiboJsbridgeWay(),s="android"==a&&i-e750?375:n,t?(e*t/n).toFixed(2)+"rem":e+"px"}function Za(e){return Array.isArray?Array.isArray(e):"[object Array]"===Object.prototype.toString.call(e)}function Ka(e,t){return"function"===typeof e&&e.apply(null,t)}function eo(e){var t=window.getComputedStyle?getComputedStyle(e,null):e.currentStyle,n=parseInt(t.width,10);return isNaN(n)?0:n}var to=function(){},no={debug:!1,wrap:"#waterfall_wrap",placeholder:".flow-placeholder",srcField:"src",columns:2,data:[],extra:{position:[],ratio:1.5,sync:!0,data:[]},assertStatic:null,render:function(e,t,n){return''},style:{padding:10,addHeight:0},noRepeat:"",resize:!0,callback:{render:to,resize:null,init:null,filter:function(e,t){return!0},done:null,nomore:to}},io=function(){function e(e,t){for(var n=0;n4&&void 0!==arguments[4]?arguments[4]:"flow";!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.oriHeight=n,this.oriWidth=t,this.width=i,this.order=a,this.addHeight=0,this.height=this.getScaleHeight(),this.type=o}return io(e,[{key:"setAddHeight",value:function(e){this.addHeight=e}},{key:"setColWidth",value:function(e){this.width=e}},{key:"getFullHeight",value:function(){return this.height+this.addHeight}},{key:"getScaleHeight",value:function(){return parseInt(this.oriHeight*this.width/this.oriWidth)}}]),e}(),oo=function(){function e(e,t){for(var n=0;n-1?this.items[e]:this.items}},{key:"getHeight",value:function(){return this.height}},{key:"plusHeight",value:function(e){return this.height+=e,this.height}}]),e}(),so=function(){function e(e,t){for(var n=0;n1&&void 0!==arguments[1]?arguments[1]:0;this.sections[t].setItem(e),this.plusHeight(e.getFullHeight()+this.padding,t)}},{key:"appendSection",value:function(){this.sections.push(new ro)}},{key:"getSection",value:function(e){return e>-1?this.sections[e]:this.sections}},{key:"getItem",value:function(e,t){return this.getSection(e).getItem(t)}},{key:"resize",value:function(e){this.width=e}},{key:"getSectionHeight",value:function(e){return this.getSection(e).getHeight()}},{key:"plusHeight",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;this.getSection(t).plusHeight(e),this.height+=e}}]),e}(),lo=function(){function e(e,t){for(var n=0;n2&&void 0!==arguments[2]?arguments[2]:{width:0,height:0},a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"flow";!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.meta=t,this.order=n,this.size=i,this.type=a,this.isBad=i.width+i.height===0}return lo(e,[{key:"setSize",value:function(e){this.size=e}},{key:"is",value:function(e){return this.type===e}}]),e}(),fo=function(){function e(e,t){for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:-1;if(e<0)return this.cols;for(var t=0,n=this.cols.length;t0&&void 0!==arguments[0]&&arguments[0]?function(){console.log.apply(console,arguments)}:function(){}}(t.debug),this.settings=t,this.$wrap=$(this.settings.wrap),this.columns=this.settings.columns,this.padding=this.settings.style.padding,this.callback=this.settings.callback,this.seatQueue=[],this.cursor=0,this.totalNum=0,this.dropNum=0,this.pullTimes=0,this.pushTimes=0,this.unitLength=0,this.repeatNum=0,this.currSecIdx=0,this.uuidSet={},this._initContext(),this.layout(0,this.settings.data,this._extendExtra({}))}return ho(e,[{key:"_initContext",value:function(){var e;this._pxrem=(e=this.settings.style.rem,function(t){var n=document.documentElement.clientWidth;return n=n>750?375:n,e?(t*e/n).toFixed(2)+"rem":t+"px"}),this.holderHeight=this._getHolderHeight(),this.wrapWidth=eo(this.$wrap[0]),this.colInfo=this._createColumns(),this.$wrap.css({height:this._pxrem(this.holderHeight)}).addClass("waterfall")}},{key:"_createColumns",value:function(){var e=this,t=new po(this.wrapWidth,this.columns,this.padding);return t.getCol().forEach(function(t,n){var i="width: "+e._pxrem(t.width)+"; padding-left: "+e._pxrem(e.padding);e.$wrap.append('
    \n
    \n
    ')}),t}},{key:"layout",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments[2];this.cursor=0,this.repeatNum=0,this.dropNum=0,this.extraNum=0,this.flowNum=0,this.unitLength=t.length,this.currSecIdx=e,this.seatQueue=new Array(t.length),this._fixWrapHeight(),this._iterateDatas(t,n)}},{key:"_extendExtra",value:function(e){var t=null;return Za(e)?t=$.extend({},this.settings.extra,{data:e}):"object"===("undefined"===typeof e?"undefined":mo(e))&&null!==e&&(t=$.extend({},this.settings.extra,e)),t&&(t.position=function(e){var t=e.position,n=e.data,i=e.sync;return"function"===typeof t?n.map(function(e,n){return t(++n)}):Za(t)?(i&&(t.length=Math.min(n.length,t.length)),t.sort(function(e,t){return e-t})):void 0}(t)),t}},{key:"_getHolderHeight",value:function(){return this.$wrap.find(this.settings.placeholder).height()||1}},{key:"_iterateDatas",value:function(e,t){if(!e.length)return this._checkAllDone();t&&this._markExtras(this._extendExtra(t)),e.forEach(this._assignSeat.bind(this));var n=t&&t.position.indexOf(e.length+1)>-1;if(0===this.flowNum&&n){var i=this.seatQueue[e.length];this._renderStatic(i)}}},{key:"_assignSeat",value:function(e,t){var n=vo(e,this.settings.srcField),i=Ka(this.settings.assertStatic,[e]);e.__water_src=n,i?this._markStatic(e,t):n?(this.flowNum++,function(e,t,n,i){var a=document.createElement("img"),o=function(){var t=a.width,o=a.height;i(new uo(e,n,{width:t,height:o},"flow"))};if(a.src=t,a.complete)return o();a.onerror=a.onload=o}(e,n,t,this._markFlow.bind(this))):(this.dropNum++,go("empty src, order",t))}},{key:"_markExtras",value:function(e){var t=this,n=this.colInfo.getSizeByRatio(e.ratio),i=e.position;i.forEach(function(i,a){var o=e.data[a],r=i-1;o&&(o.__water_src=vo(o,t.settings.srcField)),t._sitDown(new uo(o,r,n,"extra"),r)}),this.unitLength=function(e,t){var n=0;return e>(t.length>0?t[t.length-1]:0)?(n=e+t.length,go("good data")):(n=e+function(e,t){for(var n=t.length,i=0;i0&&void 0!==arguments[0]?arguments[0]:0,t=arguments[1],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;$('.water__section[data-index="'+n+"_"+e+'"]').append(t)}(this.currSecIdx,i,t.col),this._refreshWrapHeight()}},{key:"_createItem",value:function(e,t,n,i){var a=document.createElement("div");a.innerHTML=t;var o=a.childNodes.length>1?a:a.childNodes[0];if("extra"===i.type&&!i.meta)return _o(o,e,n);var r=i.meta.__water_src,s=o.querySelector('[src="'+r+'"]');if(null===s)throw new Error("\u8bf7\u5728\u6a21\u677f\u4e2d\u4f7f\u7528 __water_src \u4f5c\u4e3a\u56fe\u7247\u5730\u5740");return s.classList.add("water__img"),"extra"===i.type||"static"===i.type?s.style.minHeight=Xa(e.height,n):s.style.height=Xa(e.height,n),$(s).on("load",function(e){var t=e.currentTarget;t.style.minHeight=t.style.height=""}),_o(o,e,n)}},{key:"_registColItem",value:function(e){var t,n=this.colInfo.createItem(e.size,e.order),i=this.colInfo.getShorter();return n.setAddHeight(this.settings.style.addHeight),t=this._getPosition(i,n),i.appendItem(n,this.currSecIdx),t}},{key:"_getPosition",value:function(e,t){return{col:e.col,top:e.height,edge:this.settings.style.padding,height:t.height,order:t.order,addHeight:this.settings.style.addHeight}}},{key:"_filterRepeat",value:function(e){var t=this.settings.noRepeat,n=e[t];return!!t&&(this.uuidSet[n]?(this.repeatNum++,n):!!void(this.uuidSet[n]=1))}},{key:"_fixWrapHeight",value:function(){var e=this;this.colInfo.getCol().forEach(function(t,n){var i=$('.water__col[data-index="'+n+'"]').height();e.height=e.height>i?e.height:i})}},{key:"_refreshWrapHeight",value:function(){this.colInfo.getHigher().height1&&void 0!==arguments[1]?arguments[1]:100,n=null;return function(){var i=this,a=arguments;clearTimeout(n),n=setTimeout(function(){e.apply(i,a)},t)}}(n.resize.bind(n))()})}return yo(e,[{key:"push",value:function(e,t){Za(e)&&(this._waterfall.pushTimes++,this._waterfall.layout(0,e,t))}},{key:"pull",value:function(e,t){if(Za(e)){var n=this._waterfall.colInfo.addSection();!function(e){$(".water__col").each(function(t,n){var i=n.dataset.index;$(n).prepend('
    ')})}(n),this._waterfall.pullTimes++,this._waterfall.layout(n,e,t)}}},{key:"resize",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.settings.columns,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.settings.style.padding;this.wrapWidth=eo(this.$wrap[0]),this._waterfall.colInfo.resize(this.wrapWidth,e,t),this._waterfall.$wrap.find(".water__col").css("width",this._waterfall.colInfo.colWidth+"px"),Ka(this.settings.callback.resize,[this._waterfall.colInfo.colWidth])}},{key:"reset",value:function(){this._waterfall.reset()}},{key:"getTotal",value:function(){return this._waterfall.totalNum}}]),e}(),Ao=(n(39),function(){function e(e,t){for(var n=0;n2&&void 0!==arguments[2]&&arguments[2];!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var a=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n,i));return a.option=a.getOptions(xo),a.$extraToggleInit(),a._init(),a}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,b),Ao(t,[{key:"abort",value:function(){this._upReturn(),this.isAbort=!0}},{key:"goOn",value:function(){this.isAbort=!1}},{key:"_init",value:function(){this._insertLoading(),this._setStyle(),this._bindEvent()}},{key:"$extraToggleApply",value:function(e){this.option.$extraToggle&&this.option.$extraToggle.forEach(function(t){e(t)})}},{key:"$extraToggleInit",value:function(){this.option.$extraToggle&&(this.option.$extraToggle=this.option.$extraToggle.map(function(e){return o(e)}))}},{key:"_bindEvent",value:function(){var e=this;this.$el.on("touchmove",this._touchMove.bind(this)),this.$el.on("touchstart",this._touchStart.bind(this)),this.$el.on("touchend",this._touchEnd.bind(this)),this.$extraToggleApply(function(t){t.on("touchmove",e._touchMove.bind(e)),t.on("touchstart",e._touchStart.bind(e)),t.on("touchend",e._touchEnd.bind(e))})}},{key:"_setStyle",value:function(){this.$el.css({transform:"translate3d(0px, 0px, 0px)","-webkit-transform":"translate3d(0px, 0px, 0px)","-moz-transform":"translate3d(0px, 0px, 0px)","-ms-transform":"translate3d(0px, 0px, 0px)","-o-transform":"translate3d(0px, 0px, 0px)"}),this.$extraToggleApply(function(e){e.css({transform:"translate3d(0px, 0px, 0px)","-webkit-transform":"translate3d(0px, 0px, 0px)","-moz-transform":"translate3d(0px, 0px, 0px)","-ms-transform":"translate3d(0px, 0px, 0px)","-o-transform":"translate3d(0px, 0px, 0px)"})}),this.$loadingContent.css({clip:"rect( 50px 1000px 50px 0px)"}),this.$loadingContent.find(".loading-circle-check").css({"border-color":this.option.circleColor}),this.$loadingContent.find(".loading-circle").css({"border-color":this.option.circleColor}),this.$loadingContent.find(".loading-circle-shadow").css({background:this.option.shadowColor}),this.$loadingContent.find(".loading-circle-check-shadow").css({background:this.option.shadowColor})}},{key:"_move",value:function(e){!this.isdrawing&&this.drawingStart(),this._circleExtend(.34*e);var t=.6*e;t>this.option.drawHeight||(this.$el.css({transform:"translate3d(0px, "+t+"px, 0px)","-webkit-transform":"translate3d(0px, "+t+"px, 0px)","-moz-transform":"translate3d(0px, "+t+"px, 0px)","-ms-transform":"translate3d(0px, "+t+"px, 0px)","-o-transform":"translate3d(0px, "+t+"px, 0px)"}),this.$extraToggleApply(function(e){e.css({transform:"translate3d(0px, "+t+"px, 0px)","-webkit-transform":"translate3d(0px, "+t+"px, 0px)","-moz-transform":"translate3d(0px, "+t+"px, 0px)","-ms-transform":"translate3d(0px, "+t+"px, 0px)","-o-transform":"translate3d(0px, "+t+"px, 0px)"})}),this.$loadingContent.css({clip:"rect("+(50-t)+"px 1000px 50px 0px)"}))}},{key:"excuteReturn",value:function(){this._excuteReturn()}},{key:"_excuteReturn",value:function(){var e=this;this.$el.css({transition:"all 300ms","-webkit-transition":"all 300ms","-moz-transition":"all 300ms","-ms-transition":"all 300ms","-o-transition":"all 300ms",transform:"translate3d(0px, 0px, 0px)","-webkit-transform":"translate3d(0px, 0px, 0px)","-moz-transform":"translate3d(0px, 0px, 0px)","-ms-transform":"translate3d(0px, 0px, 0px)","-o-transform":"translate3d(0px, 0px, 0px)"}),this.$extraToggleApply(function(e){e.css({transition:"all 300ms","-webkit-transition":"all 300ms","-moz-transition":"all 300ms","-ms-transition":"all 300ms","-o-transition":"all 300ms",transform:"translate3d(0px, 0px, 0px)","-webkit-transform":"translate3d(0px, 0px, 0px)","-moz-transform":"translate3d(0px, 0px, 0px)","-ms-transform":"translate3d(0px, 0px, 0px)","-o-transform":"translate3d(0px, 0px, 0px)"})}),this.$loadingContent.css({transition:"all 300ms","-webkit-transition":"all 300ms","-moz-transition":"all 300ms","-ms-transition":"all 300ms","-o-transition":"all 300ms",clip:"rect( 50px 1000px 50px 0px)"}),setTimeout(function(){e.inLoading=!1,e.$el.css({transition:"none","-webkit-transition":"none","-moz-transition":"none","-ms-transition":"none","-o-transition":"none"}),e.$extraToggleApply(function(e){e.css({transition:"none","-webkit-transition":"none","-moz-transition":"none","-ms-transition":"none","-o-transition":"none"})}),e.$loadingContent.css({transition:"none","-webkit-transition":"none","-moz-transition":"none","-ms-transition":"none","-o-transition":"none",display:"block"}),e._circleClear(),e.drawingEnd(),e.option.afterExcuteReturn()},300)}},{key:"_upReturn",value:function(e){this.$loadingContent.css({display:"none"}),e?e():this._excuteReturn()}},{key:"_successUpReturn",value:function(e){var t=this;this._circleDone(),setTimeout(function(){t._upReturn(e)},1e3)}},{key:"_errorUpReturn",value:function(){var e=this;setTimeout(function(){e._upReturn()},400)}},{key:"successUp",value:function(e){this._successUpReturn(e)}},{key:"errorUp",value:function(){this._errorUpReturn()}},{key:"upReady",value:function(){this.inLoading=!0,this.$el.css({transition:"all 400ms","-webkit-transition":"all 400ms","-moz-transition":"all 400ms","-ms-transition":"all 400ms","-o-transition":"all 400ms",transform:"translate3d(0px, 40px, 0px)","-webkit-transform":"translate3d(0px, 40px, 0px)","-moz-transform":"translate3d(0px, 40px, 0px)","-ms-transform":"translate3d(0px, 40px, 0px)","-o-transform":"translate3d(0px, 40px, 0px)"}),this.$extraToggleApply(function(e){e.css({transition:"all 400ms","-webkit-transition":"all 400ms","-moz-transition":"all 400ms","-ms-transition":"all 400ms","-o-transition":"all 400ms",transform:"translate3d(0px, 40px, 0px)","-webkit-transform":"translate3d(0px, 40px, 0px)","-moz-transform":"translate3d(0px, 40px, 0px)","-ms-transform":"translate3d(0px, 40px, 0px)","-o-transform":"translate3d(0px, 40px, 0px)"})}),this.$loadingContent.css({clip:"rect( 10px 1000px 50px 0px)"})}},{key:"_upRefresh",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];n&&this.$loadingContent.css({display:"none"}),this.upReady(),setTimeout(function(){n&&t.$loadingContent.css({display:"block"}),t._circleRotate(),e?e&&e(t):t.option.refresh(t)},400)}},{key:"drawingStart",value:function(){if(!this.isdrawing){this.isdrawing=!0;var e=o(document.body).css("background-color");this.preBodyColor=e,o(document.body).css("background-color",this.option.shadowColor)}}},{key:"drawingEnd",value:function(){o(document.body).css("background-color",this.preBodyColor),this.isdrawing=!1}},{key:"_touchStart",value:function(e){this.isAbort||this.inLoading||(this.touchStartPageY=e.changedTouches[0].pageY,this.touchStartScrollTop=document.documentElement.scrollTop||document.body.scrollTop,this.option.partScroll&&(this.touchStartScrollTop=this.$el.parent()[0].scrollTop),this.preTouchPageY=this.touchStartPageY,this.option.beforeDrawStart())}},{key:"isScrollTop",value:function(){var e=!1,t=document.documentElement.scrollTop||document.body.scrollTop;return this.option.partScroll&&(t=this.$el.parent()[0].scrollTop),0==t&&0==this.touchStartScrollTop||(this.touchStartScrollTop=-1,e=!0),e}},{key:"_touchMove",value:function(e){if(!this.isAbort&&!this.inLoading&&!this.isScrollTop()){this.haveMove=!0;var t=e.changedTouches[0].pageY,n=t-this.touchStartPageY;n>0&&(this.haveDraw=!0,this.isRefresh=n>86,this._move(n),this.preTouchPageY=t,e.preventDefault(),e.stopPropagation())}}},{key:"_touchEnd",value:function(e){this.isAbort||this.inLoading||this.isScrollTop()||(this.haveMove&&this.isRefresh&&0==document.body.scrollTop?this._upRefresh():this.haveDraw&&this._upReturn(),this.haveMove=!1,this.isRefresh=!1)}},{key:"_circleClear",value:function(){this.$loadingContent.find(".loading-circle-shadow").css({top:0}),this.$loadingContent.find(".loadingR").removeClass("load"),this.$loadingContent.find(".loadingR").removeClass("done")}},{key:"_circleRotate",value:function(){this.$loadingContent.find(".loadingR").addClass("load")}},{key:"_circleDone",value:function(){this.$loadingContent.find(".loadingR").removeClass("load"),this.$loadingContent.find(".loadingR").addClass("done")}},{key:"_circleExtend",value:function(e){e>60||this.$loadingContent.find(".loading-circle-shadow").css({top:e+"px"})}},{key:"_insertLoading",value:function(){this.$loading=o('
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    '),this.$loadingContent=this.$loading.children().eq(0),this.$el.prepend(this.$loading)}},{key:"autoDrawRefresh",value:function(e){var t=this,n=0,i=setInterval(function(){if(n>=182)return clearInterval(i),void t._upRefresh(e,!0);t._move(n),n+=5},5)}},{key:"autoRefresh",value:function(e){this.drawingStart(),this.$loadingContent.find(".loading-circle-shadow").css({top:"30px"}),this._upRefresh(e,!0)}}]),t}();b.register(ko,"DrawRefresh");var So=ko,Co="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},To=document,Eo=window,Io=null,Mo=Te.isHTTPS()?"https://cre.dp.sina.cn":"http://cre.dp.sina.cn",jo={loading:!1,loadingMoreCtn:null,config:{},drawRefresh:null,drawRefreshPic:null,_init:function(){var e=this;e._config(),e._createContainer(),Te.onload(function(){Eo.addEventListener("scroll",function(){e._posListener()})}),e.drawRefresh=new So(document.querySelector("#j_card_wvideo"),{refresh:function(t){if(e.loading)return e.drawRefresh._upReturn(),document.querySelector("#j_card_wvideo .dr-loading").insertAdjacentHTML("beforeBegin",'
    \u8bf7\u7a0d\u540e\u5237\u65b0
    '),setTimeout(function(){$("#j_card_wvideo .refresh_info").remove()},1500),!1;e.config.cardvideo.action=2,e._videoPicData("cardvideo",{source:"loadmore"},"down",function(n){t.successUp(),e.requestInfo("j_card_wvideo",n,"down"),e.config.cardvideo.down++})},circleColor:"#299df2",shadowColor:"#e8e8e8",drawHeight:150}),e.drawRefreshPic=new So(document.querySelector("#j_card_hpic"),{refresh:function(t){if(e.loading)return e.drawRefreshPic._upReturn(),document.querySelector("#j_card_hpic .dr-loading").insertAdjacentHTML("beforeBegin",'
    \u8bf7\u7a0d\u540e\u5237\u65b0
    '),setTimeout(function(){$("#j_card_hpic .fl_f_message").remove()},1500),!1;e.config.Pic.action=2,e._videoPicData("Pic",{source:"loadmore"},"down"),Te.on("FlowPicDowncb",function(n){t.successUp(),e.requestInfo("j_card_hpic",n,"down"),e.config.Pic.down++})},circleColor:"#299df2",shadowColor:"#e8e8e8",drawHeight:150})},_config:function(){var e,t="&ad="+Te.tyAdData({channel:"20000"});e={like:{url:Mo+"/api/v3/get?cateid=sina_all&cre=tianyi&mod=wlast&merge=3&statics=1",length:"20",action:"0",up:"0",id:"j_card_like_feed",parentid:"j_card_tnews",sudaclick:"like_feed",channel:"like-feed"},cardvideo:{url:Mo+"/api/v3/get?cateid=sina_all&cre=tianyi&mod=whv&merge=3&statics=1",length:"10",action:"0",up:"0",down:"0",id:"j_card_wvideo",sudaclick:"video_feed",channel:"tianyi-video"},Pic:{url:Mo+"/api/v3/get?cateid=sina_all&cre=tianyi&mod=whp&merge=3&statics=1"+t,length:"20",action:"0",up:"0",down:"0",id:"j_card_hpic",sudaclick:"flowpic_feed",channel:"tianyi-pic",ele:".m_img_l_a"}},this.config=e},template:{like_container:['
    '],load_container:['
    ','\u52a0\u8f7d\u4e2d...',"
    "],cardvideo:['
    ','','
    ','','<%title%>','
    ','','
    ',"
    ",'

    <%title%>

    ',"
    ","
    "],flowPic:['','
    ','<%title%>','<%count%>\u5f20',"
    ",'

    <%title%>

    ',"
    "],threePic:['
    ','','",'<%count%>\u5f20',"",'

    <%alt%>

    ',"
    "]},_posListener:function(){if(!this.loading){var e=To.body.scrollHeight||To.documentElement.scrollHeight,t=Eo.screen.height,n=To.body.scrollTop||To.documentElement.scrollTop,i=0,a="",o=n>i;if(i=n,o&&e-n-t<500){if(document.getElementById(""+this.config.cardvideo.id).classList.contains("hide"))if(document.getElementById(""+this.config.Pic.id).classList.contains("hide")){if(document.getElementById(""+this.config.like.parentid).classList.contains("hide"))return;a="like"}else a="Pic";else a="cardvideo";switch(a){case"cardvideo":this.config[a].action=1,this.config[a].up++,this._videoPicData("cardvideo",{source:"loadmore"});break;case"Pic":this.config[a].action=1,this.config[a].up++,this._videoPicData("Pic",{source:"loadmore"});break;case"like":this._likeFeedData("like")}}}},_createContainer:function(){var e=this._tinyTemplateParser(this.template.like_container.join(""),this.config.like),t=this._tinyTemplateParser(this.template.load_container.join(""),this.config.load_container),n=To.querySelector("#j_card_apprecommend"),i=To.querySelector("footer");return n&&n.insertAdjacentHTML("beforeBegin",e),i.insertAdjacentHTML("beforeBegin",t),this.loadingMoreCtn=To.querySelector("#j_loading_more"),!!this.loadingMoreCtn},_likeFeedData:function(e){var t,n=this;if(n.ctrlLoadingCtn(!0),""!=e&&"undefined"!=typeof e){n.config[e].up*n.config[e].length,t=n.config[e].url+"&length="+n.config[e].length+"&action="+n.config[e].action+"&up="+n.config[e].up,t+="&ad="+Te.tyAdData({channel:"10001"});navigator.userAgent.toLowerCase();Te.jsonp(t,function(i){if(i&&i.data&&i.data.length>0&&0==i.status.code){for(var a=i.data,o=a.length,r=null,s="",c=0;c0&&_a.sinaSaxSend(i.sax,"j_card_like_feed","up",f),0===o&&(_a.saxFail(10001),n.requestInfo("j_card_like_feed",[],"up")),n.ctrlLoadingCtn(!1),Te.trigger("repaint")}},"like",function(){_a.saxFail(10001),n.requestInfo("j_card_like_feed",[],"up"),n.ctrlLoadingCtn(!1)})}},_videoPicData:function(e,t,n,i){var a,o=this,r=(n=n||"up",e);if(!o.loading&&(o.ctrlLoadingCtn(!0),""!=e&&"undefined"!=typeof e)){switch(t&&"loadmore"==t.source||(o.config[e].action=0,o.config[e][n]=0),a=o.config[e].url+"&length="+o.config[e].length+"&action="+o.config[e].action+"&"+n+"="+o.config[e][n],o.config[e].action){case 0:o.SIMASEND("_fload",0,e);break;case 1:o.SIMASEND("_up",o.config[e].up,e);break;case 2:o.SIMASEND("_down",o.config[e].down,e)}"Pic"==e?"A"==document.getElementById(""+o.config.Pic.id).dataset.type?Te.jsonp(a,function(t){if(saxData=t.sax,0==o.config[e].action&&t.status&&0==t.status.end){var i=_a.getHdpicObj();return o._flowPicConfig(i,{bool:!1},saxData),!1}"down"==n?o._flowPicCallback(t,{bool:!0},saxData):o._flowPicCallback(t,{bool:!1},saxData)},"flowpic",function(){if(console.log("\u7011\u5e03\u6d41\u8d85\u65f6"),Te.trigger("FlowPicDowncb",[]),o.requestInfo("j_card_hpic",[],n),0==o.config[e].action){var t=_a.getHdpicObj();o._flowPicConfig(t,{bool:!1},saxData)}}):document.getElementById(""+o.config.Pic.id).dataset.type:Te.jsonp(a,function(t){if(0==parseInt(o.config[e].action)&&t.status&&1==t.status.end){var a={data:_a.getVideoObj(),status:{code:0}};return o.videoCallback(a,r,n,i),o.SIMASEND("_fload",0,"cardvideo"),!1}o.videoCallback(t,r,n,i)},"cardvideo",function(){if(console.log(" \u89c6\u9891\u8d85\u65f6"),o.requestInfo("j_card_wvideo",[],n),0==parseInt(o.config[e].action)){var t={data:_a.getVideoObj(),status:{code:0}};o.videoCallback(t,r,n,i)}o.ctrlLoadingCtn(!1),"down"==n&&i&&i()})}},videoCallback:function(e,t,n,i){var a=this,o="cardvideo";if(e&&e.data&&e.data.length>0&&0==e.status.code){var r=null,s="",c=e.data,l=c.length,d=a.template.cardvideo[6];a.template.cardvideo[6]="";var u=a.template.cardvideo.join("");a.template.cardvideo[6]=d;for(var f=0;f=750?750:$(window).width();$(r).find(".m_img_list").width(s),$(window).on("resize",function(){s=$(window).width()>=750?750:$(window).width(),$(r).find(".m_img_list").width(s)});var c=[];n&&n.length>0&&n.forEach(function(e){(e.rela_pos||e.pos)&&c.push(e.rela_pos||e.pos)}),Io=new bo({wrap:".m_img_list",placeholder:".ls_igl",render:function(e,t,i){if("extra"!==t)return'\n
    \n '+e.alt+'\n '+(e.count||1)+'\u5f20\n
    \n

    '+e.alt+"

    \n
    ";for(var a=n.length,o=0;o'},assertStatic:function(e){return!!e.zhiding},data:e,columns:2,srcField:"src",style:{padding:10,addHeight:1.16*parseInt($("html").css("font-size"))},extra:{position:c,sync:!1},callback:{done:function(){!function(e,t){if(!t)return sinaSax.callback("proxyty_null",[130100]);for(var n=t.length,i=0;i'),n.push('
    '),n.push(''+t.intro+''),n.push('\u5e7f\u544a'),n.push("
    "),n.push('

    '+t.title+''+t.comment_reply+'

    '),n.push(""),e&&(e.innerHTML=n.join(""))}},f={pv:"sax_pv_count",nullPv:"sax_null_count"},p={creatElement:function(e,t){var n=document.createElement(e);for(var i in t)n.setAttribute(i,t[i]);return n},getPvElement:function(e){var t=e||f&&f.pv,n=document.getElementById(t);return n||(n=this.creatElement("div",{id:t,style:"display:none"}),document.body.appendChild(n)),n},_sendExpose:function(e,t){function n(e,t){if(console.log("\u53d1\u9001dom: "+t.pdps),void 0!=t.vision&&0!=t.vision.length)for(var n=p.getPvElement(f.pv),i=0;i0&&0==e.status.code){for(var a=e.data.length,o=(i=null,[]),r=0;r0){for(r=SM.data.hdpic_tab[0].length-1;r>=0;r--){var s=SM.data.hdpic_tab[0][r];s.src=Te.getCuttedImg(s.src,"345_0",!1,!0),s.zhiding=1,s.src&&o.unshift(s)}Te.storage.set("zhiding",(new Date).getTime())}this._flowPicConfig(o,t,n)}},pic_id:[],video_id:[],like_id:[],_picNrepeat:function(e,t){var n=[];if(0!=e.length){for(var i=0;i0?"\u6709"+t.length+"\u6761\u5185\u5bb9\u66f4\u65b0":"\u6ca1\u6709\u65b0\u5185\u5bb9\u5566\uff0c\u4e00\u4f1a\u518d\u8bd5\u8bd5\uff01";"j_card_like_feed"==e?($("#"+e).css("transform","translate3d(0px, 0px, 0px)"),$("#"+e).append(''+o+"")):"down"===n?document.querySelector("#"+e+" .dr-loading").insertAdjacentHTML("beforeBegin",'
    '+o+"
    "):document.querySelector("#"+e+" .dr-loading").insertAdjacentHTML("beforeBegin",''+o+""),$("#j_loading_more").addClass("hide"),setTimeout(function(){$("#"+e+" .refresh_info").remove(),$("#"+e+" .fl_f_message").remove(),i.ctrlLoadingCtn(!1)},2e3)},1e3)},cutImgSize:function(e,t){return"//z"+Math.floor(10*Math.random())+".sinaimg.cn/auto/resize?img="+encodeURIComponent(e)+"&size="+t},ctrlLoadingCtn:function(e){var t=e?Te.removeClass:Te.addClass;this.loading=e,t(this.loadingMoreCtn,"hide")},_tinyTemplateParser:function(e,t){function n(e){var t="undefined"===typeof e?"undefined":Co(e);return"object"===t?Object.prototype.toString.call(e).match(/\[object (.*)\]/)?RegExp.$1.toLowerCase():"other":t}return"string"===n(e)?e.replace(/<%\s?([\[\]\.A-Za-z0-9_]+)\s?%>/g,function(e,i){var a=t,o=!1;return i&&a&&i.split(".").forEach(function(e){var t;e&&!o&&(t=e.match(/(\w+)(\[(\d)+\])?/))&&(a[t[1]]?(a=a[t[1]],t[2]&&t[3]&&(a[t[3]]?a=a[t[3]]:o=!0)):o=!0)}),o||a===t?"":"string"!==n(a)?JSON.stringify(a):a}):""},SIMASEND:function(e,t,n){e=e||"_up";var i={et:t=t||0};n&&(i.type=n);var a={data:[i],action:e,pk:187522};window.SIMA&&window.SIMA(a),window.SUDA&&window.SUDA.log()}};jo.videoPicData=jo._videoPicData;var Oo=jo,Do=(document,window,{navClass:"j_nav",navAClass:"sec_nav_a",videotipsClass:"sec_nav_sm",cardName:{news:"news",video:"cardvideo",pic:"Pic"},enter:{news:document.querySelector("#j_card_tnews"),video:document.querySelector("#j_card_wvideo"),pic:document.querySelector("#j_card_hpic")},init:function(){for(var e=document.querySelectorAll("."+this.videotipsClass),t=0;t0)switch(e){case 1:this.initCard(this.cardName.pic);break;case 2:this.initCard(this.cardName.video)}},getNavTop:function(){this.scroll[0]=this.scroll[1]=this.scroll[2]=document.querySelector(".j_nav").offsetTop},scroll:[0,0,0],openned:{Pic:0,cardvideo:0},activeNav:function(){return Te.index(document.querySelector(".j_nav .active"))},getScroll:function(){var e=this;window.addEventListener("scroll",function(){document.querySelector(".j_nav .active")&&0==e.activeNav()&&(e.scroll[e.activeNav()]=e.getWinScrollHeight())},!1)},setScroll:function(e){document.documentElement.scrollTop=document.body.scrollTop=this.scroll[e]+1},getWinScrollHeight:function(){return document.documentElement.scrollTop||document.body.scrollTop},bindEvent:function(){var e=this;document.addEventListener("click",function(t){e.getNavTop();var n=Te.parentA(t.target,document.querySelector(".page_main"));if(n&&n.classList&&n.classList.contains(e.navAClass)){if(n.classList.contains("active"))return;var i=Te.index(n);Te.cookie.set("tabVersion",i,0),sinaSax&&sinaSax.callback("reloadAds");var a=document.querySelectorAll("."+e.navClass);Array.prototype.slice.call(a).forEach(function(t){Array.prototype.slice.call(t.children).forEach(function(e,t){Te.removeClass(e,"active")}),Te.addClass(t.children[i],"active"),e.switchCard(i,t)}),e.setScroll(i)}},!1)},switchCard:function(e,t){switch(e){case 0:Te.removeClass(this.enter.news,"hide"),Te.addClass(this.enter.video,"hide"),Te.addClass(this.enter.pic,"hide");break;case 1:if(Te.addClass(this.enter.news,"hide"),Te.addClass(this.enter.video,"hide"),Te.removeClass(this.enter.pic,"hide"),t.querySelector("."+this.videotipsClass)){var n=t.querySelector("."+this.videotipsClass);n.parentNode.removeChild(n)}this.initCard(this.cardName.pic,"pic");break;case 2:Te.addClass(this.enter.news,"hide"),Te.removeClass(this.enter.video,"hide"),Te.addClass(this.enter.pic,"hide"),this.initCard(this.cardName.video,"video")}},initCard:function(e,t){1!=this.openned[e]&&(this.openned[e]=1,Oo.loading=!1,Oo.videoPicData(e))}}),Lo=document,Po=(window,Te.isHTTPS(),{init:function(){this.initEvent()},initEvent:function(){Te.onload(this.changeMode),Te.onload(this.tabNav.bind(this)),Te.onload(this.fixHrefArgs),document.addEventListener("DOMNodeInserted",function(e){switch(e.target.tagName){case void 0:return;case"A":var t=[e.target];break;default:t=e.target.querySelectorAll("a")}Po.fixHrefArgs(t)},!1),Do.initVideoPic.call(Do),Do.init(),Te.huidu.add("smartGuide",Te.huiduArr(),{default:"99999",fn:{117:function(){Te.onload(Po.navguide),Te.isDebug()&&console.log("\u6807\u51c6\u7248\u5bfc\u822a\u5207\u6362\u6309\u94ae\u5f15\u5bfc\u667a\u80fd\u7248\u6d6e\u5c42\u7070\u5ea6\u7b56\u7565")},99999:function(){Te.isDebug()&&console.log("\u6807\u51c6\u7248\u5bfc\u822a\u5207\u6362\u6309\u94ae\u5f15\u5bfc\u667a\u80fd\u7248\u6d6e\u5c42\u9ed8\u8ba4\u7b56\u7565")}}}),Te.huidu.smartGuide()},navguide:function(){if(Te.storage.get("navguide"))return!1;Te.storage.set("navguide",1),$(".hd_cut").append(''),ze.a.pushListeningEle([$(".hd_cut .navguide").get(0)],function(e){if(window.SIMA){window.SIMA.suda_count&&window.SIMA.suda_count({type:"navGuide",name:"navGuideExp",title:"\u667a\u80fd\u7248\u5411\u5bfc",index:0})}}),setTimeout(function(){$(".navguide").remove()},3500)},changeMode:function(){var e=Lo.querySelector("#j_mode_pic"),t=location,n="1"==Te.cookie.get("NPIC");function i(e){1==e?Te.cookie.set("NPIC",e,31536e3,".sina.cn","/"):Te.cookie.set("NPIC",e,-1,".sina.cn","/"),t.reload()}e.innerHTML=n?"\u89e6\u5c4f\u7248":"\u65e0\u56fe\u7248",e&&e.addEventListener("click",function(e){i(n?0:1),window.scrollTo(0,0)},!1)},fixHrefArgs:function(e){if(e)var t=e;else t=document.querySelectorAll("a[href^=http]");function n(e){var t={};if(e){for(var n=e.split("&"),i=0;i-1||r.indexOf("tel")>-1)){var s=r.lastIndexOf("?"),c=s>-1,l=n(c?r.slice(s+1):""),d=l.vt&&"4"===l.vt,u=l.pos&&"108"===l.pos,f=l.his&&"0"===l.his,p=l.wm;d&&u&&f&&p||(r=c?r:r+"?",r=d?r:r+"&vt=4",r=u?r:r+"&pos=108",r=f?r:r+"&his=0",r=(r=p||void 0===i?r:r+"&wm="+i).replace("?&","?"),o.setAttribute("href",r))}}},setPicStorage:function(e,t){Te.cookie.set(e,t)},getPicStorage:function(e){return Te.cookie.get(e)},tabNav:function(){var e=this,t=document.createElement("section");function n(){e.fnTabFixed(),e.threeNavFixed()}t.className="s_card_white fl_two_nav j_scroll_tab hide",document.querySelector("body").appendChild(t),document.querySelector(".j_scroll_tab").innerHTML='',this.fnTabFixed(),this.threeNavFixed(),window.addEventListener("touchmove",n,!1),window.addEventListener("scroll",n,!1),window.addEventListener("resize",n,!1),window.addEventListener("orientationchange",n,!1)},threeNavFixed:function(){var e=document.querySelector(".sec_nav"),t=document.querySelector(".j_scroll_tab"),n=document.querySelectorAll(".two_nav")[0],i=document.querySelector("#j_card_wvideo"),a=document.querySelector("#j_card_hpic"),o=document.querySelector("#j_card_like_feed"),r=t.querySelector(".fl_nav_box");if(0!=e.length&&n){var s=e.offsetTop,c=$("#sizeSeat"),l=c[0]&&"none"!=c[0].style.display&&c[0].offsetHeight||0;if((e.getBoundingClientRect().top<=l&&n.getBoundingClientRect().bottom>=87||o.getBoundingClientRect().top<=0||i.getBoundingClientRect().bottom>0||a.getBoundingClientRect().bottom>0)&&this.getWinScrollHeight()>s-l){t.classList.remove("hide"),r&&(r.innerHTML=e.parentNode.innerHTML);var d=e.getAttribute("data-sudaclick");d?t.setAttribute("data-sudaclick",d):t.removeAttribute("data-sudaclick")}else this.getCurIndex()<0&&t.classList.add("hide")}},fnTabFixed:function(){var e=document.querySelectorAll(".s_card"),t=document.querySelector(".j_scroll_tab"),n=t.querySelector(".fl_nav_box");if(0!=e.length){var i=this.getCurIndex();if(i>=0){t.classList.remove("hide"),n&&(n.innerHTML=e[i].children[0].outerHTML);var a=e[i].getAttribute("data-sudaclick");a?t.setAttribute("data-sudaclick",a):t.removeAttribute("data-sudaclick")}}},getCurIndex:function(){for(var e=document.querySelectorAll(".s_card"),t=0;t=87&&this.getWinScrollHeight()>n)return t}return-1},getWinScrollHeight:function(){return document.documentElement.scrollTop||document.body.scrollTop}}),No=Po,Uo=(n(40),n(41)),Bo=n.n(Uo);var Ro=210977;var zo={init:function(){this.getUserIcon(),this.insertIcon(),this.refreshPage(),this.initSwiper(),this.fromBaidu()||this.fl_listen()},fromBaidu:function(){return-1!=document.referrer.indexOf("baidu.com")},floatIcon:function(){var e=[];return SM&&SM.data&&SM.data.floatbar&&SM.data.floatbar.length>0&&SM.data.floatbar.forEach(function(t){if(e.push('"),window.suda_count){var n={type:"",name:"exposure_"+t.SN+"001",title:"",index:0};window.suda_count&&window.suda_count(n)}}),e.join("")},insertIcon:function(){var e=[];e.push('
    '),e.push(''),this.fromBaidu()||e.push(''),this.fromBaidu()||e.push('
    '),this.fromBaidu()||e.push(this.floatIcon()),e.push("
    "),$("body").append(e.join(""))},fl_listen:function(){document.querySelector("#j_listen").addEventListener("click",function(){var e=Te.getUrlString("wm"),t="sinanews://sina.cn/audio/player.pg?",n={iosInstallUrl:"https://so.sina.cn/palmnews?id=201",androidInstallUrl:"https://so.sina.cn/palmnews?id=201",iosNativeUrl:t,androidNativeUrl:t,ios9Url:"https://sapi.sina.cn/Callup.php?routeUri="+encodeURIComponent(t),openByWeixin:"http://a.app.qq.com/o/simple.jsp?pkgname=com.sina.news",newRoute:1,paramsK:{type:"wm"+e+"_LAND_",calluptype:"SN_0819",position:"1"}};window._sinaCallEvent.trigger("sina_open_native",n)},!1)},initSwiper:function(){var e=this,t=parseInt(Te.cookie.get("tabVersion"));if(t&&"0"!=t&&document.querySelector(".j_nav")){var n=document.querySelectorAll(".j_nav a")[0];if(n){n.addEventListener("click",function t(){e.appendToSwiper.call(e),n.removeEventListener("click",t,!1)},!1)}}else this.appendToSwiper()},appendToSwiper:function(){if(!window.SM.data.focuspic)return!1;for(var e="",t=window.SM.data.focuspic,n=document.querySelector(".swiper-wrapper"),i=navigator.userAgent.toLowerCase(),a=0;a';var o=t[a].title.replace(/"/g,"");if(t[a].type&&"callupapp"===t[a].type&&-1==i.indexOf("sinanews")){var r=ut(t[a].link),s=t[a].link.split("//")[1].split(".")[0];e+=''}else e+='';e+=''+o+'',e+='

    '+t[a].title+"

    ",e+="
    "}n.insertAdjacentHTML("beforeEnd",e),this.newSwiper(),_sinaCallEvent&&_sinaCallEvent.trigger("sina_bind_target");sinaSax&&sinaSax.callback("swiperSlide",[zo.swiper,[{pdps:"PDPS000000049629",pos:2},{pdps:"PDPS000000054671",pos:4},{pdps:"PDPS000000055622",pos:6},{pdps:"PDPS000000054672",pos:8},{pdps:"E9D6AC4F348E",pos:10}]])},newSwiper:function(){zo.swiper=new Bo.a(".swiper-container",{pagination:".swiper-pagination",paginationType:"fraction",loop:!0,autoplay:3e3,speed:300,lazyLoading:!0,autoplayDisableOnInteraction:!1,observeAutoPlay:!0,lazyStatusLoadedClass:"finpic",lazyLoadingInPrevNext:!0,lazyLoadingInPrevNextAmount:1})},getUserIcon:function(){window.getUserInfo&&window.getUserInfo(function(e){if(!e||!e.userface)return!1;var t=document.querySelector("#loginBox");t&&(t.classList.add("hd_user_ic_hide"),t.innerHTML='')})},refreshPage:function(){var e=document.querySelector("#j_toTop"),t=document.querySelector("#j_fixAppBtn"),n=document.querySelector("#j_refreshData"),i=(document.querySelector("#j_card_like_feed"),window.innerHeight,0),a=navigator.userAgent.toLowerCase();window.addEventListener("scroll",function(){(document.body.scrollTop||document.documentElement.scrollTop)>1.5*window.innerHeight?(e.style.display="block",-1==a.indexOf("sinanews")&&t&&(t.style.display="block"),n&&(n.style.display="block"),i&&clearTimeout(i),i=setTimeout(function(){e.style.display="none",t&&(t.style.display="none"),n&&(n.style.display="none")},3e3)):(e.style.display="none",t&&(t.style.display="none"),n&&(n.style.display="none")),document.body.scrollTop||document.documentElement.scrollTop}),e.addEventListener("click",function(){var t=e.querySelector(".fl_ref_em");t&&t.classList.add("hide"),document.querySelector(".j_scroll_tab")&&document.querySelector(".j_scroll_tab").classList.add("hide"),window.scrollTo(0,0),location.reload()},!1),_sinaCallEvent&&_sinaCallEvent.trigger("sina_bind_target")},pageMode:function(e){if(!document.querySelector(".hd_cut"))return!1;var t=document.querySelector(".hd_cut").querySelectorAll("a"),n=this.getWm()?"&wm="+this.getWm():"";[].slice.call(t).forEach(function(e,t){e.addEventListener("click",function(e){t?(Te.cookie.set("SMART",1,2592e3,".sina.cn","/"),location.href="https://sina.cn/index/feed?vt=4&pos=108&his=0"+n):(Te.cookie.set("SMART",0,2592e3,".sina.cn","/"),location.href="https://sina.cn?vt=4&pos=108"+n)})})},getWm:function(){var e=location.href.toLocaleLowerCase().match(/\?(.*)$/),t=null;return e&&(t=e[1].match(/\&?wm=([0-9_]+)/)),t&&t[1]}},Ho=zo,qo=document,Fo=(window,Te.isHTTPS(),"http://data.api.sina.cn/api/count/apicount.php?"),Qo={today:"20000101",init:function(){Math.floor(1e4*Math.random())<10&&(this.today=this.getToday(),this.sampleCount())},isNoPicMode:function(){var e=this.getCookie("NPIC");return console.log(e),parseInt(e)},sampleCount:function(){var e=Fo+"act=add&attitude=praise&type=1&record=0&p=sampleModeCount"+this.today,t=Fo+"act=add&attitude=praise&type=0&record=0&p=sampleModeCount"+this.today;this.isNoPicMode()?this.jsonp(t,null):this.jsonp(e,null)},getCookie:function(e){for(var t=e+"=",n=qo.cookie.split(";"),i=0;i1?a[1]:"";return-1!==["baidu","google","sogou","soso","so","360","sm","easou","yicha","haosou","uodoo","sm-tc"].indexOf(o)?(Te.isDebug()&&console.log(o,"search"),"search"):"compony"}return"compony"}function i(){try{var i=window.qusetMobileConfig;"undefined"!==typeof i&&(e.account=void 0!==i.account?i.account:"",e.point=void 0!==i.point?i.point:"",e.platform=void 0!==i.platform?i.platform:"",e.channel=void 0!==i.channel?i.channel:""),e.account=e.account||"SinaNews",e.point=e.point||"H5",e.platform=e.platform||(/(iPhone|iPad|iPod|iOS)/i.test(t)?"ios":/(Windows Phone)/i.test(t)?"wp":/(Android)/i.test(t)?"android":"pc"),e.channel=e.channel||n(),window._maq=window._maq||[],window._maq.push(["account",e.account],["channel",e.channel],["point",e.point],["platform",e.platform]);var a=document.createElement("script");a.type="text/javascript",a.async=!0,a.src=("https:"==document.location.protocol?"https://":"http://")+"www.qchannel03.cn/m2.js";var o=document.getElementsByTagName("script")[0]||document.body.children[0];o.parentNode.insertBefore(a,o);for(var r=0;r<4;r++)Te.isDebug()&&console.log(window._maq[r][0],":",window._maq[r][1])}catch(e){Te.isDebug()&&console.log("QusetMobile Error")}}window.addEventListener?window.addEventListener("load",function(){i()}):i()}();n(42);var Wo="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},$o={getType:function(e){var t="undefined"===typeof e?"undefined":Wo(e);return"object"===t?Object.prototype.toString.call(e).match(/\[object (.*)\]/)?RegExp.$1.toLowerCase():"other":t},tinyTemplateParser:function(e,t){var n=this.getType;return"string"===n(e)?e.replace(/<%\s?([\[\]\.A-Za-z0-9_]+)\s?%>/g,function(e,i){var a=t,o=!1;return i&&a&&i.split(".").forEach(function(e){var t;e&&!o&&(t=e.match(/(\w+)(\[(\d)+\])?/))&&(a[t[1]]?(a=a[t[1]],t[2]&&t[3]&&(a[t[3]]?a=a[t[3]]:o=!0)):o=!0)}),o||a===t?"":"string"!==n(a)?JSON.stringify(a):a}):""}},Vo={AddToHome:{uc:'
    \u6dfb\u52a0\u624b\u673a\u65b0\u6d6a\u7f51\u5230\u684c\u9762
    ',uc_ios:'
    \u6dfb\u52a0\u624b\u673a\u65b0\u6d6a\u7f51\u5230\u4e66\u7b7e
    '}},Jo=window,Go=document,Yo={debug:!0,shareParams:{},setCookie:function(e,t,n,i,a,o){var r=[];if(r.push(e+"="+escape(t)),n){var s=new Date;s.setTime(Date.now()+36e5*n),r.push("expires="+s.toGMTString())}i&&r.push("path="+i),a&&r.push("domain="+a),o&&r.push(o),Go.cookie=r.join(";")},getCookie:function(e){if(!e)return console.log("missing key, get cookie abort!"),"";e=e.replace(/([\.\[\]\$])/g,"\\$1");var t=new RegExp(e+"=([^;]*)?;","i");return(Go.cookie+";").match(t)?RegExp.$1:""},deleteCookie:function(e){Go.cookie=m+"=;expires=Fri, 31 Dec 1999 23:59:59 GMT;"},log:function(e,t){if(e=("string"===typeof e?e:JSON.stringify(e))+" in "+(Yo._name||"default"),"err"===t){if(Yo._debug)return console.error(e);throw new Error(e)}(-1===["debug","log"].indexOf(t)||Yo._debug)&&(t in console&&"function"===typeof console[t]?console[t](e):console.log("["+t+"]"+e))},parseQs:function(e){var t={};if(e){var n=e.split("?");n[1]&&n[1].split("&").forEach(function(e){var n=e&&e.split("=");n&&2===n.length&&(t[n[0]]=n[1])})}return t},get curHost(){var e;Yo._host||(Yo._host=Jo.location.hostname||(e=Jo.location.match(/https?:\/\/([a-zA-Z\.]+)\/?/))&&e[1]);return Yo._host},set curHost(e){},get UA(){return Yo._ua=Yo._ua||Jo.navigator.userAgent,Yo._ua},set UA(e){return null},get platformBrowserInfo(){if(!Yo._UAIDS&&(Yo.platformBrowserInfo=null),!Yo._plaformInfo){var e=Yo._UAIDS,t=[],n=[],i={};Object.keys(e).forEach(function(n){t=t.concat(Object.keys(e[n]).map(function(t){return e[n][t]}))}),(n=Yo.UA.toLowerCase().match(new RegExp("("+t.join("|")+")+","g")))&&n.length>0&&(i={},Object.keys(e).forEach(function(t){var a=e[t],o="other",r=null;for(r in a)if(a.hasOwnProperty(r)&&-1!==n.indexOf(a[r])){o=r;break}i[t]=o})),"other"!==i.platform&&(i.system="ios"),"ios"==i.system&&1==new RegExp("crios").test(Yo.UA.toLocaleLowerCase())&&(i.browser="chrome"),Yo._plaformInfo=i}return Yo._plaformInfo},set platformBrowserInfo(e){return Yo._UAIDS={browser:{firefox:"firefox",ie:"msie",qq:"mqqbrowser",uc:"ucbrowser",chrome:"chrome",baidu:"baidu"},client:{weibo:"weibo",weixin:"micromessenger",qq:"qq"},platform:{iphone:"iphone",ipod:"ipod",ipad:"ipad"},system:{ios:"ios",android:"android"}},null}},Xo=function(e){this.init(e)};Xo.prototype={constructor:Xo,init:function(e){e&&(this.name=e.name,this.title="\u624b\u673a\u65b0\u6d6a\u7f51",this.url="https://sina.cn/",this.img="https://mjs.sinaimg.cn/wap/online/public/images/addToHome/sina_114x114_v1.png")},pushTask:function(e){if("string"===typeof e){var t=this.taskMap;t.hasOwnProperty(e)&&(this.queue=t[e])}else e&&(this.queue=e)},run:function(){Yo.shareParams.title=this.title,Yo.shareParams.url=this.url,Yo.shareParams.img=this.img,!this.flag&&this.then({})},then:function(e){var t=this.queue;if(t)return this.flag=!0,t(this.then.bind(this),e);this.flag=!1},addTask:function(e,t,n){return t=t||"WFTask"+this.length,this.taskMap=[t,function(t,i){return n?e(t,i):t(e(i))}],this.length++,t},get stats(){return!this._stat&&(this._stat={}),this._stat},set stats(e){this._stat=this._stat||{curTask:null,isBreak:!1,gotoTask:null}},get length(){return this._len||0},set length(e){return"number"===typeof e&&(this._len=e)},get taskMap(){return this._taskMap||{}},set taskMap(e){if(this._taskMap=this._taskMap||{},e&&2==e.length){if(this._taskMap.hasOwnProperty(e[0]))throw new Error("duplicate defined task!");this._taskMap[e[0]]=e[1]}},get queue(){return this._queue.shift()},set queue(e){(this._queue=this._queue||[]).push(e)}};var Zo="_"+(new Date).getTime()+"ath",Ko=!1;Date.prototype.Format=function(e){var t={"M+":this.getMonth()+1,"d+":this.getDate()};for(var n in/(y+)/.test(e)&&(e=e.replace(RegExp.$1,(this.getFullYear()+"").substr(4-RegExp.$1.length))),t)new RegExp("("+n+")").test(e)&&(e=e.replace(RegExp.$1,1==RegExp.$1.length?t[n]:("00"+t[n]).substr((""+t[n]).length)));return e};var er={allowWeek:[0,1,2,3,4,5,6,7],setMark:function(){Yo.setCookie("sinaWapAddToHome_SetTime",(new Date).Format("yyyy-MM-dd"),720,"/")},checkRule:function(){var e=parseInt((new Date).getDay()),t=(new Date).Format("yyyy-MM-dd"),n=Yo.getCookie("sinaWapAddToHome_SetTime")||"0";return this.allowWeek.indexOf(e)>-1&&n!=t}};function tr(e){var t,n,i={};Yo.getCookie("sinaWapAddToHome");if(i.isAdd="1"===Yo.getCookie("sinaWapAddToHome")||i.isAdd||!1,!i.isAdd){if(i.isAdd=!0,"uc"==e.ch){try{var a=location.href,o="";"ios"==e.system?(o="ubmi",window.history.replaceState({},"",a.indexOf("?")>0?a+="&asc="+o:a+="?asc="+o),location.href="ext:add_favorite",setTimeout(function(){window.history.replaceState({},"",a)},3e3)):"android"==e.system&&(o="ubma",window.history.replaceState({},"",a.indexOf("?")>0?a+="&asc="+o:a+="?asc="+o),location.href="ext:add_favorite",setTimeout(function(){window.history.replaceState({},"",a)},3e3))}catch(e){}er.setMark()}else if("qq"==e.ch){a=location.href,o="";o="ios"==e.system?"qbmi":"qbma",window.history.replaceState({},"",a.indexOf("?")>0?a+="&asc="+o:a+="?asc="+o),t="qb://bookmark/add",(n=document.createElement("div")).style.display="none",document.body.appendChild(n),n.innerHTML='