var flagconsole = location.href.indexOf("console=1")>=0;!flagconsole&&(console.log=console.info=console.debug=function(){});/*! * @version 0.1.39 * @date 2022-09-21 * @generated web */!function(t){var e={};function n(i){if(e[i])return e[i].exports;var o=e[i]={i:i,l:!1,exports:{}};return t[i].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=t,n.c=e,n.d=function(t,e,i){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:i})},n.r=function(t){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"===typeof t&&t&&t.__esModule)return t;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)n.d(i,o,function(e){return t[e]}.bind(null,o));return i},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="https://mjs.sinaimg.cn/wap/project/nationwide_epidemic/0.1.39/index/",n(n.s=249)}([function(module,__webpack_exports__,__webpack_require__){"use strict";var _Users_dongyukuan_Documents_work_sina_aio_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(7),_UA_js__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(125),_utils;window.prtl={type:"https:"==window.location.protocol?"https":"http",prefix:"https:"==window.location.protocol?"https://":"http://"};var utils=(_utils={joinLikeArray:function(t){var e=[];return t.forEach((function(t){var n=document.querySelectorAll("."+t);Array.prototype.push.apply(e,Array.prototype.slice.call(n))})),e},isURL:function(t){return!!t.match(/(((^(https|http)?:(?:\/\/)?)(?:[-;:&=\+\$,\w]+@)?[A-Za-z0-9.-]+|(?:www.|[-;:&=\+\$,\w]+@)[A-Za-z0-9.-]+)((?:\/[\+~%\/.\w-_]*)?\??(?:[-\+=&;%@.\w_]*)#?(?:[\w]*))?)$/g)},getQueryVariable:function(t){for(var e=(t.split("?")[1]||"").split("&"),n={},i=0;i0},getVal:function(t,e){return!!t[e]&&t[e]},getFullPos:function(t){!t&&(t=1);return t.toString().length<3&&(t=("000"+t).substr(-3,3)),t},getParamsStr:function(t){return encodeURIComponent(JSON.stringify(t))},bindEventForApp:function(t,e,n,i){document.addEventListener?t.addEventListener(e,n,!i):t.attachEvent(e,n)},stopDefault:function(t){(t=t||window.event).preventDefault?t.preventDefault():t.returnValue=!1},getFullNumber:function(t){!t&&(t=1);return t.toString().length<3&&(t=("000"+t).substr(-3,3)),t},isWeiboJsbridgeWay:function(){for(var t=navigator.userAgent.match(/weibo__([^_]+)__android/)&&navigator.userAgent.match(/weibo__([^_]+)__android/)[1],e=(t&&t.length>1?t:"0.0.0").split("."),n=0,i=["9","6","1"],o=e.length,r=0;rNumber(i[r])){n=1;break}if(Number(e[r])").concat(o):((i=document.createElement("div")).id="iLogZone",i.setAttribute("style","position: fixed;z-index:99;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=o,document.body.appendChild(i))}},pageVisibility:function(){var t,e=function(t,e){return""!==t?t+e.slice(0,1).toUpperCase()+e.slice(1):e},n=function(){var n=!1;return"number"===typeof window.screenX&&["webkit","moz","ms","o",""].forEach((function(i){0==n&&void 0!=document[e(i,"hidden")]&&(t=i,n=!0)})),n}(),i=function(){if(n)return document[e(t,"hidden")]},o=function(){if(n)return document[e(t,"visibilityState")]};return{hidden:i(),visibilityState:o(),isSupport:n,visibilitychange:function(e,r){if(!1,n&&"function"===typeof e)return document.addEventListener(t+"visibilitychange",function(t){this.hidden=i(),this.visibilityState=o(),e.call(this,t)}.bind(this),false)}}}(),_UA:navigator.userAgent.toLocaleLowerCase(),OpenTypeIdentify:{noIntent:/aliapp|360 aphone|redmi note|weibo|windvane|ucbrowser|baidubrowser|huaweiknt-al20|mqqbrowser|h60-l01|vivo|huaweitag-al00|mxb48t|xiaomibrowser|oppobrowser|sm-g9350|sm-g9550|sm-g9500|sm-g6100|sm-c7000|huawei|xiaomi|miuibrowser|sm-c7010/,hasIntent:/samsung|e2363/,speciallIntent:/e2363/,isOriginalChrome:/chrome\/[\d.]+ mobile safari\/[\d.]+/i,notIntentCallbackUrl:/xiaomi|oppobrowser/,forbidden:/ucbrowser|mzbrowser|baidu/,isHuaweiP30:/huaweiele|huaweivog/,isHuawei912315:/huaweibrowser\/9\.1\.2\.315|huaweibrowser\/9\.1\.1\.303/,isQQBrowswer95:/mqqbrowser\/9\.5/},RegExpTest:function(t,e){return t.test(e)},_system:function(){var t=this._UA;return t.match(/iphone|ipod/gi)?"ios":t.match(/android/gi)?"android":"other"},isWeibo:function(){var t=this.UAIdentify;return!!this.isInclude(this._UA,t.weibo)},canOpenByIntent:function(){var t=this,e=t._UA,n=t.OpenTypeIdentify,i=t._system();t.RegExpTest(n.hasIntent,e),t.RegExpTest(n.noIntent,e),t.RegExpTest(n.speciallIntent,e);return t.RegExpTest(n.isOriginalChrome,e)&&"android"==i&&!t.isWeibo()}},Object(_Users_dongyukuan_Documents_work_sina_aio_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__.a)(_utils,"pageVisibility",function(){var t,e=function(t,e){return""!==t?t+e.slice(0,1).toUpperCase()+e.slice(1):e},n=function(){var n=!1;return"number"===typeof window.screenX&&["webkit","moz","ms","o",""].forEach((function(i){0==n&&void 0!=document[e(i,"hidden")]&&(t=i,n=!0)})),n}(),i=function(){if(n)return document[e(t,"hidden")]},o=function(){if(n)return document[e(t,"visibilityState")]};return{hidden:i(),visibilityState:o(),isSupport:n,visibilitychange:function(e,r){if(!1,n&&"function"===typeof e)return document.addEventListener(t+"visibilitychange",function(t){this.hidden=i(),this.visibilityState=o(),e.call(this,t)}.bind(this),false)}}}()),Object(_Users_dongyukuan_Documents_work_sina_aio_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__.a)(_utils,"iAssign",(function(t,e){for(var n in e)t[n]=e[n];return t})),Object(_Users_dongyukuan_Documents_work_sina_aio_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__.a)(_utils,"ajaxGet",(function(t){var e=t.url,n=(t.type,t.crossOrigin,t.contentType,t.setHeader),i=t.succCb,o=t.failCb,r=new XMLHttpRequest;if(r.open("GET",e,!0),n)for(var a in n)r.setRequestHeader(a,n[a]);r.send(null),r.onreadystatechange=function(){4===r.readyState&&(200===r.status?i&&i(r.responseText):o&&o("load error,stauts code:"+r.status))}})),Object(_Users_dongyukuan_Documents_work_sina_aio_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__.a)(_utils,"getValFromRoutUri",(function getValFromRoutUri(_ref3){var _ref3$routeUri=_ref3.routeUri,routeUri=void 0===_ref3$routeUri?"":_ref3$routeUri,testReg=_ref3.testReg,_ref3$key=_ref3.key,key=void 0===_ref3$key?"newsId":_ref3$key;if(!eval(testReg)instanceof RegExp||!testReg.test(routeUri))return"";var routeUriSearch=routeUri&&routeUri.replace(testReg,"&");return this.getQueryString(routeUriSearch,key)})),Object(_Users_dongyukuan_Documents_work_sina_aio_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__.a)(_utils,"getNewRouteUriJoinFlag",(function(t){if(!t)return"";var e=t.split("?").length>1,n=-1!=t.indexOf("?");return e&&(n?"&":"")||"?"})),Object(_Users_dongyukuan_Documents_work_sina_aio_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__.a)(_utils,"checkNewRoute",(function(t){return!!t&&(t.match(/(^sinanews|(\s*)routeUri\=sinanews)\:\/\/sina\.cn[\s\S]*\.(sv|pg)/gi)||[]).length>0})),Object(_Users_dongyukuan_Documents_work_sina_aio_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__.a)(_utils,"getUrlJoinFlag",(function(t,e){return t&&e?t.indexOf("?")>0?"&":"?":""})),Object(_Users_dongyukuan_Documents_work_sina_aio_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__.a)(_utils,"getExistVal",(function(t){var e=t.box,n=t.key,i=t.defaultKey,o=e.hasOwnProperty(n)&&n||i;return e[o]})),Object(_Users_dongyukuan_Documents_work_sina_aio_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__.a)(_utils,"getForceNewRoutePower",(function(t){var e="undefined"!==typeof SM&&SM||{},n=t.forceNewRoute||0,i=e&&e.data&&e.data.callUpConfig&&e.data.callUpConfig.forceNewRoute||0;return~~n>0||~~i>0})),Object(_Users_dongyukuan_Documents_work_sina_aio_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__.a)(_utils,"clearBox",(function(t){if(t){var e=document.querySelector(t);e&&e.remove()}})),Object(_Users_dongyukuan_Documents_work_sina_aio_node_modules_babel_runtime_helpers_esm_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__.a)(_utils,"getBackUrl",(function(t){var e=window.isNphBackUrl;if(t||~~e)try{var n=t?JSON.parse(t):{needBackConfig:e.toString()};return this.encode(JSON.stringify(n),2)||""}catch(i){console.log("backurl error!!!")}return""})),_utils);function ObjAssign(t,e){for(var n in e)t[n]=e[n];return t}__webpack_exports__.a=ObjAssign(utils,_UA_js__WEBPACK_IMPORTED_MODULE_1__.a)},function(t,e){t.exports=window.__SINA_COMMON_PKG__.appSNC},function(t,e,n){"use strict";function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}n.d(e,"a",(function(){return i}))},function(t,e,n){"use strict";function i(t,e){for(var n=0;n-1?this.cache[o]:null}},{key:"getEmit",value:function(t,e,n,i){var o=this;return function(r,a,s){o.emit(t,e,n,r,a,s,i)}}}]),t}();Array.prototype.findIndex||Object.defineProperty(Array.prototype,"findIndex",{value:function(t){if(null==this)throw new TypeError('"this" is null or not defined');var e=Object(this),n=e.length>>>0;if("function"!==typeof t)throw new TypeError("predicate must be a function");for(var i=arguments[1],o=0;o0&&void 0!==arguments[0]?arguments[0]:{};Object(r.a)(this,t),this.jsb=e.jsb,this.version=e.version||"v1",this.id_prefix=e.id_prefix||"",this.gkurl=e.gkurl||"https://gk.sina.cn/".concat(this.version,"/gkmatch"),this.qeurl=e.qeurl||"https://gk.sina.cn/".concat(this.version,"/qematch"),this.closeCache=e.closeCache}return Object(a.a)(t,[{key:"getQueueKey",value:function(t){return"".concat("GONGBU_","_").concat(t,"Queue")}},{key:"addRequest",value:function(t,e){var n=this.getQueueKey(t);window[n]||(window[n]=[]),window[n].push(Object(o.a)(Object(o.a)({},e),{},{prefix:this.id_prefix}))}},{key:"clearQueue",value:function(t){var e=this.getQueueKey(t);window[e]=[]}},{key:"loadGK",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:function(){};this.loadGkOrQe(t,e,"gk",n)}},{key:"getQueue",value:function(t){var e=this.getQueueKey(t);return window[e]}},{key:"preRequest",value:function(t){var e=this,n="GONGBU_".concat(t,"RequestTimer");window[n]||(window[n]=setTimeout((function(){window[n]=null,e.startRequest(t)}),0))}},{key:"startRequest",value:function(t){var e=[],n={},o=this.getQueue(t);o.forEach((function(t){var o,r=t.ids.map((function(e){return"".concat(t.prefix).concat(e)}));(o=e).push.apply(o,Object(i.a)(r)),Object.assign(n,t.data)})),e=function(t){for(var e=t.slice(),n=0;n2&&void 0!==arguments[2]?arguments[2]:function(){};this.loadGkOrQe(t,e,"qe",n)}},{key:"loadGkOrQe",value:function(t,e,n,i){this.addRequest(n,{ids:t,data:e,cb:i}),this.preRequest(n)}},{key:"loadGkObj",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:function(){};this.loadGkOrQe(t,e,"gk",(function(t,e,i){n(t,i)}))}},{key:"loadQeObj",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:function(){};this.loadGkOrQe(t,e,"qe",(function(t,e,i){n(t,i)}))}},{key:"loadQEbyNative",value:function(t,e,n,i,o){var r=this;if(e=e.map((function(t){return"".concat(r.id_prefix).concat(t)})),this.closeCache||u.on(o,e,n,i,!0)){var a=e.join(",");JSON.parse(JSON.stringify(n)).id=a;var s=this.closeCache?i:u.getEmit(o,e,n,!0);this.jsb&&this.jsb.getSystemInfo().then((function(e){var i=e.deviceId;r.jsb.fetch({url:t,method:"GET",data:Object.assign({},n||{},{deviceId:i}),success:function(t){s(null,t)},error:function(t){s(t)}})})).catch(s)}}},{key:"loadGKRule",value:function(t,e){var n=this,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:function(){};this.loadGK(t,e,(function(t,e){if(t)return i(t);n.loadRuleByRss(e,i)}))}},{key:"loadQERule",value:function(t,e){var n=this,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:function(){};this.loadQE(t,e,(function(t,e){if(t)return i(t);n.loadRuleByRss(e,i)}))}},{key:"loadRuleByRss",value:function(t,e){var n=this,i=t.length,o=0;t.forEach((function(r){var a=r.conf||r.rs.conf;n.loadScript(a.url,(function(n){++o===i&&e(n,t)}))}))}},{key:"fetch",value:function(t,e,n,i){var o=this;if(e=e+"?id="+t.join(","),this.jsb)this.jsb.getSystemInfo().then((function(t){var r=t.deviceId;o.jsb.fetch({url:e,method:"POST",referer:"http://sina.cn",data:Object.assign({},n||{},{deviceId:r}),success:function(t){i(null,t)},error:function(t){i(t)}})})).catch(i);else{var r=new XMLHttpRequest;r.open("POST",e,!0),r.setRequestHeader("Content-type","application/x-www-form-urlencoded"),r.onreadystatechange=function(){if(r.readyState===XMLHttpRequest.DONE)if(r.status>=200&&r.status<300){var t,e;try{t=JSON.parse(r.responseText)}catch(n){e=n}e?i(e):i(null,t)}else i(new Error(r.responseText||"status is ".concat(r.status)))},r.onerror=i,r.timeout=i,n=Object.keys(n).map((function(t){return encodeURIComponent(t)+"="+encodeURIComponent(n[t])})).join("&"),r.send(n)}}},{key:"loadScript",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(){};if(!t)return e(null);var n=document.createElement("script");n.onload=function(){n.parentNode.removeChild(n),e(null)},n.onerror=function(t){n.parentNode.removeChild(n),e(t)},n.src=t,document.body.appendChild(n)}},{key:"setUrl",value:function(t){t.gkurl&&(this.gkurl=t.gkurl),t.qeurl&&(this.qeurl=t.qeurl)}},{key:"getCookie",value:function(t){return Object(s.getCookie)(t)}}]),t}();l.defaultData=Object(s.collectData)()},function(t,e){t.exports=function(t){return"function"==typeof t}},function(t,e,n){var i=n(61),o=Function.prototype,r=o.bind,a=o.call,s=i&&r.bind(a,a);t.exports=i?function(t){return t&&s(t)}:function(t){return t&&function(){return a.apply(t,arguments)}}},function(t,e){t.exports=function(t){try{return!!t()}catch(e){return!0}}},function(t,e){t.exports=window.__SINA_COMMON_PKG__.Vue},function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var i=n(40);var o=n(35);function r(t){return function(t){if(Array.isArray(t))return Object(i.a)(t)}(t)||function(t){if("undefined"!==typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||Object(o.a)(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},function(t,e,n){"use strict";var i=n(56),o="object"==typeof self&&self&&self.Object===Object&&self,r=i.a||o||Function("return this")();e.a=r},function(t,e,n){var i=n(19),o=n(89),r=n(20),a=n(66),s=n(91),c=n(92),u=o("wks"),l=i.Symbol,d=l&&l.for,f=c?l:l&&l.withoutSetter||a;t.exports=function(t){if(!r(u,t)||!s&&"string"!=typeof u[t]){var e="Symbol."+t;s&&r(l,t)?u[t]=l[t]:u[t]=c&&d?d(e):f(e)}return u[t]}},function(t,e,n){var i=n(12);t.exports=!i((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},function(t,e,n){var i=n(17),o=n(94),r=n(93),a=n(25),s=n(67),c=TypeError,u=Object.defineProperty,l=Object.getOwnPropertyDescriptor,d="enumerable",f="configurable",h="writable";e.f=i?r?function(t,e,n){if(a(t),e=s(e),a(n),"function"===typeof t&&"prototype"===e&&"value"in n&&h in n&&!n.writable){var i=l(t,e);i&&i.writable&&(t[e]=n.value,n={configurable:f in n?n.configurable:i.configurable,enumerable:d in n?n.enumerable:i.enumerable,writable:!1})}return u(t,e,n)}:u:function(t,e,n){if(a(t),e=s(e),a(n),o)try{return u(t,e,n)}catch(i){}if("get"in n||"set"in n)throw c("Accessors not supported");return"value"in n&&(t[e]=n.value),t}},function(t,e,n){(function(e){var n=function(t){return t&&t.Math==Math&&t};t.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof e&&e)||function(){return this}()||Function("return this")()}).call(this,n(63))},function(t,e,n){var i=n(11),o=n(90),r=i({}.hasOwnProperty);t.exports=Object.hasOwn||function(t,e){return r(o(t),e)}},function(t,e,n){var i=n(10),o="object"==typeof document&&document.all,r="undefined"==typeof o&&void 0!==o;t.exports=r?function(t){return"object"==typeof t?null!==t:i(t)||t===o}:function(t){return"object"==typeof t?null!==t:i(t)}},function(t,e,n){"use strict";var i=n(34),o=n(116),r=n(84),a=n(117),s=n(118),c=t.exports=function(t,e){var n,o,c,u,l;return arguments.length<2||"string"!==typeof t?(u=e,e=t,t=null):u=arguments[2],i(t)?(n=s.call(t,"c"),o=s.call(t,"e"),c=s.call(t,"w")):(n=c=!0,o=!1),l={value:e,configurable:n,enumerable:o,writable:c},u?r(a(u),l):l};c.gs=function(t,e,n){var c,u,l,d;return"string"!==typeof t?(l=n,n=e,e=t,t=null):l=arguments[3],i(e)?o(e)?i(n)?o(n)||(l=n,n=void 0):n=void 0:(l=e,e=n=void 0):e=void 0,i(t)?(c=s.call(t,"c"),u=s.call(t,"e")):(c=!0,u=!1),d={get:e,set:n,configurable:c,enumerable:u},l?r(a(l),d):d}},function(t,e,n){"use strict";var i=n(33);t.exports=function(t){if(!i(t))throw new TypeError("Cannot use null or undefined");return t}},function(t,e,n){"use strict";function i(t,e){if(null==t)return{};var n,i,o=function(t,e){if(null==t)return{};var n,i,o={},r=Object.keys(t);for(i=0;i=0||(o[n]=t[n]);return o}(t,e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);for(i=0;i=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(o[n]=t[n])}return o}n.r(e);var o=n(1),r=n.n(o),a=n(41).default;a.init(window.sudaMapConfig&&window.sudaMapConfig.pageId||2949,100);var s=function(t){var e=function(t){var e=function(t){if(t){for(var e=t.split(","),n={},i=0;i=n?null:t}function l(t){var e=t.srcElement||t.target;if(null==e&&e==document)return!1;var n="",i="";if("A"==e.tagName)"txt",e.getAttribute("target"),i=e;else if("IMG"==e.tagName){"img",n=e.alt;var o=u(e,"A",8);o&&(o.getAttribute("target"),i=o)}else{"txt";var r=u(e,"A",8);r&&(r.getAttribute("target"),i=r)}var a="",c=e.tagName,l="0",d=!1;try{for(var f=0;f<10&&e!=document;f++){var h=e.getAttribute("data-sudaclick");if(h){var p=e.getAttribute("data-sudatagname");if(p)d=!0,p.split(",").forEach((function(t){t.toUpperCase()==c&&(d=!1)}));a=h;for(var g=e.getElementsByTagName("A"),m=0;m30&&(n=n.substr(0,30));(new Date).getTime();s({data:a,index:l})}}function d(){f(window)}function f(t){for(var e=t.frames,n=0;nt.length)&&(e=t.length);for(var n=0,i=new Array(e);n"+t+""},p=function(t){t.write(h("")),t.close();var e=t.parentWindow.Object;return t=null,e},g=function(){try{i=new ActiveXObject("htmlfile")}catch(e){}g="undefined"!=typeof document?document.domain&&i?p(i):function(){var t,e=u("iframe");return e.style.display="none",c.appendChild(e),e.src=String("javascript:"),(t=e.contentWindow.document).open(),t.write(h("document.F=Object")),t.close(),t.F}():p(i);for(var t=a.length;t--;)delete g.prototype[a[t]];return g()};s[d]=!0,t.exports=Object.create||function(t,e){var n;return null!==t?(f.prototype=o(t),n=new f,f.prototype=null,n[d]=t):n=g(),void 0===e?n:r.f(n,e)}},function(t,e){t.exports={}},function(t,e,n){var i,o,r,a=n(146),s=n(19),c=n(11),u=n(21),l=n(76),d=n(20),f=n(64),h=n(75),p=n(45),g="Object already initialized",m=s.TypeError,v=s.WeakMap;if(a||f.state){var w=f.state||(f.state=new v),_=c(w.get),y=c(w.has),b=c(w.set);i=function(t,e){if(y(w,t))throw m(g);return e.facade=t,b(w,t,e),e},o=function(t){return _(w,t)||{}},r=function(t){return y(w,t)}}else{var x=h("state");p[x]=!0,i=function(t,e){if(d(t,x))throw m(g);return e.facade=t,l(t,x,e),e},o=function(t){return d(t,x)?t[x]:{}},r=function(t){return d(t,x)}}t.exports={set:i,get:o,has:r,enforce:function(t){return r(t)?o(t):i(t,{})},getterFor:function(t){return function(e){var n;if(!u(e)||(n=o(e)).type!==t)throw m("Incompatible receiver, "+t+" required");return n}}}},function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},function(t,e,n){"use strict";t.exports=n(114)()?Object.setPrototypeOf:n(115)},function(t,e,n){"use strict";t.exports=n(213)()?globalThis:n(214)},function(t,e,n){"use strict";var i=Object.prototype.toString,o=i.call(function(){return arguments}());t.exports=function(t){return i.call(t)===o}},function(t,e,n){"use strict";var i=Object.prototype.toString,o=i.call("");t.exports=function(t){return"string"===typeof t||t&&"object"===typeof t&&(t instanceof String||i.call(t)===o)||!1}},function(t,e){var n;n="undefined"!==typeof self?self:this,t.exports=function(t){var e=t||{},n="undefined"!=typeof t.navigator?t.navigator:{},i=function(t,e){var i=n.mimeTypes;for(var o in i)if(i[o][t]==e)return!0;return!1};return function(t){var o=t||n.userAgent||{},r=this,a={Trident:o.indexOf("Trident")>-1||o.indexOf("NET CLR")>-1,Presto:o.indexOf("Presto")>-1,WebKit:o.indexOf("AppleWebKit")>-1,Gecko:o.indexOf("Gecko/")>-1,Safari:o.indexOf("Safari")>-1,Chrome:o.indexOf("Chrome")>-1||o.indexOf("CriOS")>-1,IE:o.indexOf("MSIE")>-1||o.indexOf("Trident")>-1,Edge:o.indexOf("Edge")>-1,Firefox:o.indexOf("Firefox")>-1||o.indexOf("FxiOS")>-1,"Firefox Focus":o.indexOf("Focus")>-1,Chromium:o.indexOf("Chromium")>-1,Opera:o.indexOf("Opera")>-1||o.indexOf("OPR")>-1,Vivaldi:o.indexOf("Vivaldi")>-1,Yandex:o.indexOf("YaBrowser")>-1,Arora:o.indexOf("Arora")>-1,Lunascape:o.indexOf("Lunascape")>-1,QupZilla:o.indexOf("QupZilla")>-1,"Coc Coc":o.indexOf("coc_coc_browser")>-1,Kindle:o.indexOf("Kindle")>-1||o.indexOf("Silk/")>-1,Iceweasel:o.indexOf("Iceweasel")>-1,Konqueror:o.indexOf("Konqueror")>-1,Iceape:o.indexOf("Iceape")>-1,SeaMonkey:o.indexOf("SeaMonkey")>-1,Epiphany:o.indexOf("Epiphany")>-1,360:o.indexOf("QihooBrowser")>-1||o.indexOf("QHBrowser")>-1,"360EE":o.indexOf("360EE")>-1,"360SE":o.indexOf("360SE")>-1,UC:o.indexOf("UC")>-1||o.indexOf(" UBrowser")>-1,QQBrowser:o.indexOf("QQBrowser")>-1,huaweiBrowser:o.indexOf("huaweiBrowser")>-1,QQ:o.indexOf("QQ/")>-1,Baidu:o.indexOf("Baidu")>-1||o.indexOf("BIDUBrowser")>-1,Maxthon:o.indexOf("Maxthon")>-1,Sogou:o.indexOf("MetaSr")>-1||o.indexOf("Sogou")>-1,LBBROWSER:o.indexOf("LBBROWSER")>-1,"2345Explorer":o.indexOf("2345Explorer")>-1,TheWorld:o.indexOf("TheWorld")>-1,XiaoMi:o.indexOf("MiuiBrowser")>-1,Quark:o.indexOf("Quark")>-1,Qiyu:o.indexOf("Qiyu")>-1,Wechat:o.indexOf("MicroMessenger")>-1,Taobao:o.indexOf("AliApp(TB")>-1,Alipay:o.indexOf("AliApp(AP")>-1,Weibo:o.indexOf("Weibo")>-1,Douban:o.indexOf("com.douban.frodo")>-1,Suning:o.indexOf("SNEBUY-APP")>-1,iQiYi:o.indexOf("IqiyiApp")>-1,SamsungBrowser:o.indexOf("SamsungBrowser")>-1,VivoBrowser:o.indexOf("VivoBrowser")>-1,OppoBrowser:o.indexOf("OppoBrowser")>-1,HuaweiBrowser:o.indexOf("HuaweiBrowser")>-1,MZBrowser:o.indexOf("MZBrowser")>-1,LeBrowser:o.indexOf("LeBrowser")>-1,LieBaoFast:o.indexOf("LieBaoFast")>-1,Windows:o.indexOf("Windows")>-1,Linux:o.indexOf("Linux")>-1||o.indexOf("X11")>-1,"Mac OS":o.indexOf("Macintosh")>-1,Android:o.indexOf("Android")>-1||o.indexOf("Adr")>-1,Ubuntu:o.indexOf("Ubuntu")>-1,FreeBSD:o.indexOf("FreeBSD")>-1,Debian:o.indexOf("Debian")>-1,"Windows Phone":o.indexOf("IEMobile")>-1||o.indexOf("Windows Phone")>-1,BlackBerry:o.indexOf("BlackBerry")>-1||o.indexOf("RIM")>-1,MeeGo:o.indexOf("MeeGo")>-1,Symbian:o.indexOf("Symbian")>-1,iPad:o.indexOf("iPad; CPU OS")>-1,iOS:o.indexOf("like Mac OS X")>-1&&o.indexOf("iPad; CPU OS")<0,"Chrome OS":o.indexOf("CrOS")>-1,WebOS:o.indexOf("hpwOS")>-1,Mobile:o.indexOf("Mobi")>-1||o.indexOf("iPh")>-1||o.indexOf("Android")>0||o.indexOf("480")>-1,Tablet:(o.indexOf("Tablet")>-1||o.indexOf("Pad")>-1||o.indexOf("Nexus 7")>-1)&&o.indexOf("iPad; CPU OS")<0,sinanews:o.match(/sinanews/gi),sinanewslite:o.match(/sinanewslite/gi)},s=!1;if(e.chrome){var c=o.replace(/^.*Chrome\/([\d]+).*$/,"$1");c>36&&e.showModalDialog?s=!0:c>45&&(s=i("type","application/vnd.chromium.remoting-viewer"))}if(a.Mobile?a.Mobile=!(o.indexOf("iPad")>-1):s&&(i("type","application/gameplugin")||n&&n.connection&&"undefined"==typeof n.connection.saveData?a["360SE"]=!0:a["360EE"]=!0),a.IE||a.Edge)switch(window.screenTop-window.screenY){case 71:case 74:case 99:case 102:a["360EE"]=!0;break;case 75:case 74:case 105:case 104:a["360SE"]=!0}a.Baidu&&a.Opera&&(a.Baidu=!1);var u={engine:["WebKit","Trident","Gecko","Presto"],browser:["Safari","Chrome","sinanews","sinanewslite","Edge","IE","Firefox","Firefox Focus","Chromium","Opera","Vivaldi","Yandex","Arora","Lunascape","QupZilla","Coc Coc","Kindle","Iceweasel","Konqueror","Iceape","SeaMonkey","Epiphany","360","360SE","360EE","UC","QQBrowser","QQ","Baidu","Maxthon","Sogou","LBBROWSER","2345Explorer","TheWorld","XiaoMi","Quark","Qiyu","Wechat","Taobao","Alipay","Weibo","Douban","Suning","iQiYi","SamsungBrowser","VivoBrowser","OppoBrowser","HuaweiBrowser","MZBrowser","LeBrowser","LieBaoFast"],os:["Windows","Linux","Mac OS","Android","Ubuntu","FreeBSD","Debian","iPad","iOS","Windows Phone","BlackBerry","MeeGo","Symbian","Chrome OS","WebOS"],device:["Mobile","Tablet","iPad"]};for(var l in r.device="PC",r.language=function(){var t=(n.browserLanguage||n.language).split("-");return t[1]&&(t[1]=t[1].toUpperCase()),t.join("_")}(),u)for(var d=0;d27||"Opera"==r.browser&&parseInt(r.version)>12||"Yandex"==r.browser)&&(r.engine="Blink")}}(n)},function(t,e,n){"use strict";e.a={searchRank:"searchRank",search:"search",event:"event",h5:"h5",doc:"doc",ch:"ch",hybrid:"hybrid",tab:"tab",newHybrid:"newHybrid",calendar:"calendar",newRoute:"newRoute"}},function(t,e,n){"use strict";var i=n(0),o=n(55),r=n(58),a=window.SM&&window.SM.data&&window.SM.data.callUpConfig&&window.SM.data.callUpConfig.shiftKnob||0;!!document.location.href.match(/shiftKnob\=1/gi)&&(a=1);var s="",c=500,u=1500,l=2e3,d=800,f={},h={},p={},g={},m="",v="",w=i.a.isWeixin(),_=i.a.isIOS9(),y=!w&&i.a.isQQ(),b=i.a.isSinaNews(),x=i.a.isWeibo(),C=i.a.isUC(),S=function(t,e){var n=e;return i.a.checkNewRoute(e)?t.ios9Https&&t.ios9Https+"?routeUri="+encodeURIComponent(n):t.ios9Https&&t.ios9Https+"?"+(g.ios9Params?g.ios9Params:g.schemeParams)||""},k=function(t){var e=t.config,n=void 0===e?{}:e,o=t.nativeUrl,a=void 0===o?s:o;try{if(!a.match(/sinanews\:\/\/sina\.cn/))return a;var c,u={dataid:n.paramsK&&n.paramsK.dataid||"",routeuri:n.routeuri||n.androidNativeUrl||"",targetEl:n.targetEl||""},l=r.a.addDefaultBase(u),d=[];l.forEach((function(t){var e=t.split("=")[0];a.includes(e)||d.push(t)})),c=d.join("&");var f=i.a.getUrlJoinFlag(a,c);return"".concat(a).concat(c&&f).concat(c)}catch(h){return a}};e.a={set:function(t){var e=t.typeInfo,n=t._type,r=t._config;p=r,g=e,m=i.a.isExist(p,"golink"),v=i.a.isExist(p,"kid"),h=i.a.getExistVal({box:o.a,key:p.app||"news",defaultkey:"news"});var a=g.schemeParams.match(/sinanews\:\/\//gi),s="".concat(a?"":h.head+"://").concat(g.schemeParams);f={golink:"",iosNativeUrl:s,androidNativeUrl:s,ios9Url:S(h,s),weixn:h.wxUrl};var c=g.ios9Params?g.ios9Params:g.schemeParams;return m?(f.golink=p.golink,f.weixn=p.golink,f.ios9Url&&(f.ios9Url=f.ios9Url+"&golinkUrl="+encodeURIComponent(f.golink)+"&"),f.ios9Weixin=f.ios9Url):(v&&(f.golink="https://so.sina.cn/palmnews/?id="+p.kid),f.ios9Url&&(f.ios9Weixin=h.ios9Https+"?golinkUrl="+encodeURIComponent(f.weixn)+"&"+("newRoute"==n?encodeURIComponent(c):c))),f.ios9Url&&(f.ios9Url=function(t){var e=t.downloadswitch,n=t.ios9Params,i=t._type;return~~e<1?"".concat(h.ios9Https,"?golinkUrl=").concat(encodeURIComponent(f.golink),"&downloadswitch=0&").concat("newRoute"==i?encodeURIComponent(n):n):""}({downloadswitch:p.downloadswitch,ios9Params:c,_type:n})||f.ios9Url),{iosNativeUrl:f.iosNativeUrl,androidNativeUrl:f.androidNativeUrl,iosInstallUrl:f.golink,androidInstallUrl:f.golink,isGolink:m,openByWeixin:f.weixn,ios9Url:f.ios9Url,ios9Weixin:f.ios9Weixin,downloadswitch:p.downloadswitch||"1",weiboslience:p.weiboslience,paramsK:p,calluptype:p.calluptype,position:p.position,targetEl:p.targetEl,onlyCopy:p.onlycopy,tryCallDirectly:p.trycalldirectly,newRoute:p.newroute||i.a.checkNewRoute(f.androidNativeUrl)||0,comloginfokey:p.comloginfokey||"",comloginfo:p.comloginfo||""}},reset:function(t){var e="undefined"!=typeof t&&t||{};for(var n in f.androidNativeUrl=k({config:e,nativeUrl:e.androidNativeUrl}),f.iosNativeUrl=k({config:e,nativeUrl:e.iosNativeUrl}),f.ios9Url=function(t){var e=t.config,n=void 0===e?{}:e,o=t.nativeUrl,r=void 0===o?s:o;try{if(!r.match(/^http/gi))return r;var a=i.a.getQueryVariable(r),c=r.split("?")[0],u=0;if(!a.routeUri)return r;for(var l in a.routeUri=k({config:n,nativeUrl:decodeURIComponent(a.routeUri)}),a)c+="".concat(u>0?"&":"?").concat(l,"=").concat(encodeURIComponent(a[l])),u++;return c}catch(d){return r}}({config:e,nativeUrl:e.ios9Url}),f.androidInstallUrl=e.androidInstallUrl||s,f.iosInstallUrl=e.iosInstallUrl||s,f.installUrl=e.androidInstallUrl||s,f.onlyCopy=parseInt(e.onlyCopy||"0")>0,f.platform=i.a._system(),f.openByWeixin=e.openByWeixin||s,y=!(!y||!e.openByWeixin)||s,f.isNotScheme=!!e.isNotScheme,f.ios9Weixin=e.ios9Weixin||e.ios9Url,f.isGolink=e.isGolink||!1,f.downloadswitch=e.downloadswitch&&!!parseInt(e.downloadswitch),f.tryCallDirectly=e.tryCallDirectly||"0",f.newRoute=e.newRoute||i.a.checkNewRoute(e.androidNativeUrl)||0,f.targetEl=e.targetEl||null,f._position=i.a.getFullNumber(e.position),f.position=!!e.calluptype&&(e.calluptype||"")+f._position||"001",f.comloginfokey=e.comloginfokey||"",f.comloginfo=e.comloginfo||"",t)f[n]=f[n]||t[n];"ios"==f.platform?("newslite"===(f.targetEl&&f.targetEl.getAttribute("data-app")||"")&&a&&(window.iNPHConfig.useInstallUrl=1),f.nativeUrl=f.iosNativeUrl,f.openTime=e.iosOpenTime||d):(f.nativeUrl=f.androidNativeUrl,f.openTime=e.androidOpenTime||(x?c:C?u:l));return f.ios9Url=function(t){return b&&_?t.nativeUrl:t.ios9Url}(f),f.nextIsDownload=f.installUrl&&~~!!f.installUrl.match(/sinaweibo|so\.sina\.cn|\.apk/gi),f}}},function(t,e,n){"use strict";e.a={newslite:{name:"newslite",head:"sinanewslite",ios9Https:"https://lite.sina.cn/lite/Callup.php"},news:{name:"news",head:"sinanews",ios9Https:"https://sapi.sina.cn/Callup.php",wxUrl:"https://a.app.qq.com/o/simple.jsp?pkgname=com.sina.news&ckey=CK1346428841879"},sports:{name:"sports",head:"sinasports",ios9Https:"",downloadUrl:window.prtl.prefix+"sports.sina.cn/app_download.d.html?id=1",wxUrl:window.prtl.prefix+"sports.sina.cn/app_download.d.html?id=1"}}},function(t,e,n){"use strict";(function(t){var n="object"==typeof t&&t&&t.Object===Object&&t;e.a=n}).call(this,n(63))},function(t,e,n){"use strict";(function(t){var i=n(15),o=n(128),r="object"==typeof exports&&exports&&!exports.nodeType&&exports,a=r&&"object"==typeof t&&t&&!t.nodeType&&t,s=a&&a.exports===r?i.a.Buffer:void 0,c=(s?s.isBuffer:void 0)||o.a;e.a=c}).call(this,n(86)(t))},function(t,e,n){"use strict";var i=n(0),o={iDocConfig:{},artContentSelector:"",artContentHeight:"",maxPercent:0,getElementPos:function(t){var e={x:0,y:0,width:0,height:0,top:0,right:0,bottom:0,left:0};if(!t)return e;var n=document.querySelector(t);return n&&n.getBoundingClientRect()||e},getPaddingTop:function(){var t=o,e=t.getElementPos(t.artContentSelector),n=t.getElementPos("body");return(e.top-n.top).toFixed(2)},getConentHeightFromPageSet:function(){return(~~o.artContentHeight||0).toFixed(2)},getConentHeightFromSelector:function(){var t=o,e=t.getElementPos(t.artContentSelector);t.getElementPos("body");return e.height.toFixed(2)},getMaxContentHeight:function(){var t=o,e=t.getConentHeightFromSelector(),n=t.getConentHeightFromPageSet(),r=Math.max(e,n).toFixed(2);return t.maxPercent=e>0?(e/r).toFixed(2):1,i.a.showLog({title:"maxPercent",txt:"".concat(t.maxPercent)}),r},getCurrentTop:function(){return window.scrollY},getFlexHeight:function(){return parseFloat(o.getPaddingTop()||0)+window.screen.height/2},getFinalPercent:function(){var t=o,e=window.screen.height,n=t.getCurrentTop()||0,r=t.getMaxContentHeight()||-1,a=t.getFlexHeight();a=n>=2*e?a:0,i.a.showLog({title:"getFlexHeight/currentTop/screenHeight",txt:"".concat(a,"/").concat(n,"/").concat(e)});var s=((n-a)/r).toFixed(3);return Math.min(Math.max(s,0),t.maxPercent)},compareTargetInContext:function(t){if(!t)return!1;var e=o,n=t.getBoundingClientRect(),i=e.getElementPos(e.artContentSelector),r=e.artContentHeight;return e.artContentSelector&&n.top<=i.bottom||!e.artContentSelector&&window.scrollY+n.top<=r},init:function(t,e,n){try{var r=o;r.iDocConfig="undefined"!==typeof __docConfig&&__docConfig||{},r.artContentSelector=r.iDocConfig.__artContentSelector||"",r.artContentHeight=r.iDocConfig.__artContentHeight||"";var a=r.iDocConfig.__callupId,s=r.compareTargetInContext(e),c=!a||a!=t||a&&!r.artContentSelector&&!r.artContentHeight||!s;if(i.a.showLog({title:"permitPercent",txt:!c}),c&&!~~n)return!1;i.a.showLog({title:"getConentHeightFromSelector",txt:r.getConentHeightFromSelector()}),i.a.showLog({title:"getConentHeightFromPageSet",txt:r.getConentHeightFromPageSet()}),i.a.showLog({title:"getMaxContentHeight",txt:r.getMaxContentHeight()}),i.a.showLog({title:"getFinalPercent",txt:r.getFinalPercent()});var u=r.getFinalPercent();return Math.min(u,1)}catch(l){return!1}}},r=o,a={getParamse:function(t){var e="",n=t,o=t.module,a=t.action;switch(o){case"main":if("main"===a)e="tab=".concat(i.a.encode(n.tabId),"&channel=").concat(i.a.encode(n.ch),"&channelName=").concat(i.a.encode(n.chName),"&forceSubType=").concat(i.a.encode(n.forcesubtype||"2"));break;case"feed":if("subfeed"===a)e="newsId=".concat(i.a.encode(t.chNewsId),"&title=").concat(i.a.encode(t.chtitle),"&clickItem=").concat(i.a.encode(t.chClickItem));break;case"media":case"comment":case"photoPreview":case"favorite":case"message":case"readrecord":case"account":case"app":case"column":break;case"video":switch(a){case"detail":e="newsId=".concat(i.a.encode(n.callupid));break;case"miniVideo":e="newsId=".concat(i.a.encode(n.callupid),"&link=").concat(i.a.encode(n.link));break;case"collection":e="collectionId=".concat(i.a.encode(n.collectionid),"&collectionDataId=").concat(i.a.encode(n.dataid),"&title=").concat(i.a.encode(n.title),"&count=").concat(i.a.encode(n.count))}break;case"live":var s=n.paramsid||n.newsId;e="newsId=".concat(i.a.encode(s));break;case"photo":if("detail"===a)e="newsId=".concat(i.a.encode(n.callupid));break;case"article":var c=r.init(n.callupid,n.targetEl,n.percentPower);e+="newsId="+i.a.encode(n.callupid),c&&(e+="&percent=".concat(c)),n.voteid&&(e+="&voteId="+i.a.encode(n.voteid)),n.commentid&&(e+="&voteId="+i.a.encode(n.commentid)),n.commenthandletype&&(e+="&voteId="+i.a.encode(n.commenthandletype));break;case"hybrid":if("hybrid"===a)e="newsId=".concat(i.a.encode(n.hybridId||n.hbNewsId),"&message=").concat(i.a.encode(decodeURIComponent(n.message)),"&urlInfo=").concat(i.a.encode(n.urlinfo));break;case"search":switch(a){case"detail":e="keyword=".concat(i.a.encode(n.keyword));break;case"rank":e="channelId=".concat(i.a.encode(n.searchRank))}break;case"webbrowser":if("detail"===a)e="link=".concat(i.a.encode(n.url));break;case"finance":switch(a){case"stockDetail":e="market=".concat(i.a.encode(n.market),"&symbol=").concat(i.a.encode(decodeURIComponent(n.symbol)),"&stockType=").concat(i.a.encode(n.stockType));break;case"calender":e="newsId=".concat(i.a.encode(n.hbNewsId),"&message=").concat(i.a.encode(decodeURIComponent(n.message)),"&urlInfo=").concat(i.a.encode(n.urlinfo))}break;case"audio":"player"==a&&(e+="newsId=".concat(i.a.encode(n.callupid),"&column=").concat(i.a.encode(n.column)));break;default:e=n.routeuri||""}return e}},s="photo",c="video",u="article",l="eventlive",d="matchlive",f="superlive",h="undefined"!==typeof __docConfig&&__docConfig||{},p={getForceNewRoutePower:function(t){return i.a.getForceNewRoutePower(t)},changeNewRoute:function(t,e){return this.newRoute(Object.assign({},t,e))},defaultInfo:function(){return{ios9Params:"",schemeParams:"ch=news_toutiao"}},addDefaultParams:function(t,e){var n=t||{},o=e||{},r=!!h.__isCallSilence&&h.__isCallSilence+""||!!o.isSilence&&o.isSilence+""||"0";t.dataid=o.dataid||"",t.pkey=o.pkey||"",~~r&&(n.isSilence=r),(~~o.skipAd||~~window.isNphSkipad)&&(n.skipAd=~~o.skipAd?o.skipAd:String(~~window.isNphSkipad)||"0"),o.needredirect&&(n.needRedirect=o.needredirect||"0"),(h.__appFeed||o.appFeed||h.__appfeed||o.appfeed)&&(n.appFeed=h.__appFeed||o.appFeed||h.__appfeed||o.appfeed||"");var a=i.a.getBackUrl(o.backUrl);return a&&(n.backUrl=a),n},searchRank:function(t){var e=t||{},n=this.addDefaultParams({rankCh:t.searchRank,actionType:"35"},e);return parseInt(h.__isCallSilence||0)&&(n.backApp="sinaweibo://"),this.getForceNewRoutePower(e)?this.changeNewRoute(t,{module:"search",action:"rank"}):{ios9Params:"params="+encodeURIComponent(i.a.getParamsStr(n)),schemeParams:"params="+i.a.getParamsStr(n)}},search:function(t){var e=t||{},n=this.addDefaultParams({keyword:t.keyword,actionType:"28"},e);return parseInt(h.__isCallSilence||0)&&(n.backApp="sinaweibo://"),this.getForceNewRoutePower(e)?this.changeNewRoute(t,{module:"search",action:"detail"}):{ios9Params:"params="+encodeURIComponent(i.a.getParamsStr(n)),schemeParams:"params="+i.a.getParamsStr(n)}},newHybrid:function(t){var e=t||{},n=e.hbNewsId,o=this.addDefaultParams({hbNewsId:n,actionType:e.actionType||"13"},e);return e.url&&(o.url=e.url),parseInt(h.__isCallSilence||0)&&(o.backApp="sinaweibo://"),this.getForceNewRoutePower(e)?this.changeNewRoute(t,{module:"hybrid",action:"hybrid"}):{ios9Params:"params="+encodeURIComponent(i.a.getParamsStr(o)),schemeParams:"params="+i.a.getParamsStr(o)}},hybrid:function(t){var e=t||{},n=e.hybridId,o=this.addDefaultParams({hybridId:n,actionType:e.actionType||"13"},e);return e.url&&(o.url=e.url),parseInt(h.__isCallSilence||0)&&(o.backApp="sinaweibo://"),{ios9Params:"params="+encodeURIComponent(i.a.getParamsStr(o)),schemeParams:"params="+i.a.getParamsStr(o)}},doc:function(t){var e=t||{},n=e.callupid||e.docid+"-comos-news-cms";n.indexOf("-")<=0&&(n=h.__callupId||h.__docId+"-comos-news-cms"),e.pageType="doc";var o=!!n.match(/pic/gi),a=!!n.match(/video/gi),l=this.addDefaultParams({id:n,actionType:o?"6":a?"3":"2"},e);e.paramstype&&(l.paramstype=e.paramstype),e.url&&(l.url=e.url),1==~~e.isMiniVideo&&(l.isMiniVideo=e.isMiniVideo,l.link=e.link);var d=r.init(n,e.targetEl,e.percentPower);if(d&&(l.percent=d),parseInt(h.__isCallSilence||0)&&(l.backApp="sinaweibo://"),this.getForceNewRoutePower(e)){var f=o?s:a?c:u,p=l.isMiniVideo&&a?"miniVideo":"detail";return this.changeNewRoute(t,{module:f,action:p})}return{ios9Params:"params="+encodeURIComponent(i.a.getParamsStr(l)),schemeParams:"params="+i.a.getParamsStr(l)}},event:function(t){var e=t||{},n=this.addDefaultParams({id:e.paramsid,livetype:e.paramslivetype,type:e.paramstype,vid:e.paramsvid,matchid:e.paramsmatchid,actionType:e.paramsid.match(/0\-v3\-snlive/gi)?"24":"4"},e);if(this.getForceNewRoutePower(e)){var o=e.paramsid||e.newsId||"",r=!!o.match(/event/gi),a=!!o.match(/0\-v3\-snlive/gi),s=r?l:a?f:d;return this.changeNewRoute(t,{module:"live",action:s})}return{ios9Params:"params="+encodeURIComponent(i.a.getParamsStr(n)),schemeParams:"params="+i.a.getParamsStr(n)}},h5:function(t){var e=t||{},n=this.addDefaultParams({url:e.url||"",actionType:"1"},e),o=(t.app||"").match(/lite/gi)?"":"::params="+i.a.getParamsStr(n);return this.getForceNewRoutePower(e)?this.changeNewRoute(t,{module:"webbrowser",action:"detail"}):{ios9Params:"params="+encodeURIComponent(i.a.getParamsStr(n)),schemeParams:"url="+encodeURIComponent(n.url)+o}},ch:function(t){var e=t||{},n=this.addDefaultParams({ch:e.ch||"",chName:e.chName||"",actionType:"22",forceSubType:e.forcesubtype||"2"},e);return this.getForceNewRoutePower(e)?this.changeNewRoute(t,{module:"main",action:"main"}):{ios9Params:"params="+encodeURIComponent(i.a.getParamsStr(n)),schemeParams:"params="+i.a.getParamsStr(n)}},tab:function(t){var e=t||{},n=this.addDefaultParams({tabId:e.tabId||"",ch:e.ch||"",chName:e.chName||""},e);return this.getForceNewRoutePower(e)?this.changeNewRoute(t,{module:"main",action:"main"}):{ios9Params:"params="+encodeURIComponent(i.a.getParamsStr(n)),schemeParams:"params="+i.a.getParamsStr(n)}},calendar:function(t){var e=t||{},n=this.addDefaultParams({hbNewsId:e.hbNewsId||"",actionType:"34"},e);return this.getForceNewRoutePower(e)?this.changeNewRoute(t,{module:"finance",action:"calender"}):{ios9Params:"params="+encodeURIComponent(i.a.getParamsStr(n)),schemeParams:"params="+i.a.getParamsStr(n)}},newRoute:function(t){var e=t||{},n=e.module,o=e.action,r=e.issv?"sv":"pg",s=a.getParamse(e),c=this.addDefaultBase(e).join("&"),u=s.match(/sinanews\:\/\//gi)?"":"sinanews://sina.cn/"+n+"/"+o+"."+r,l=u+i.a.getUrlJoinFlag(u,s)+s;return{ios9Params:l+=i.a.getUrlJoinFlag(l,c)+c,schemeParams:l}},checkRouteUriExist:function(t,e){return t.routeuri&&t.routeuri.includes(e)},addDefaultBase:function(t){var e=t||{},n=[],o=i.a.getBackUrl(e.backUrl),a=!!h.__isCallSilence&&h.__isCallSilence+""||!!e.isSilence&&e.isSilence+"",s=e.skipAd||String(~~window.isNphSkipad)||"0",c=e.callupid||i.a.getValFromRoutUri({routeUri:e.routeuri,testReg:/sinanews\:\/\/sina.cn\/article\/detail\.pg\?/,key:"newsId"});if(c){var u=r.init(c,e.targetEl,e.percentPower);u&&n.push("percent=".concat(u||""))}return e.dataid&&!this.checkRouteUriExist(e,"dataid")&&n.push("dataid=".concat(e.dataid||"")),e.pkey&&!this.checkRouteUriExist(e,"pkey")&&n.push("pkey=".concat(e.pkey||"")),s&&!this.checkRouteUriExist(e,"skipAd")&&n.push("skipAd=".concat(s)),e.needredirect&&!this.checkRouteUriExist(e,"needredirect")&&n.push("needredirect=".concat(e.needredirect||"0")),o&&!this.checkRouteUriExist(e,"backUrl")&&n.push("backUrl="+o),a&&!this.checkRouteUriExist(e,"isSilence")&&n.push("isSilence="+(a||"0")),n}};e.a=p},function(t,e){var n=location.origin+location.pathname,i=function(t){return void 0!=t&&""!=t&&o(document.cookie,t,";","")},o=function(t,e,n,i){if(""==t)return"";e+=i=""==i?"=":i;var o=t.indexOf(e);if(o<0)return"";o+=e.length;var r=t.indexOf(n,o);return r0}});else{var t=function(t){for(var e=window.document,n=o(e);n;)n=o(e=n.ownerDocument);return e}(),e=[],n=null,i=null;a.prototype.THROTTLE_TIMEOUT=100,a.prototype.POLL_INTERVAL=null,a.prototype.USE_MUTATION_OBSERVER=!0,a._setupCrossOriginUpdater=function(){return n||(n=function(t,n){i=t&&n?f(t,n):{top:0,bottom:0,left:0,right:0,width:0,height:0},e.forEach((function(t){t._checkForIntersections()}))}),n},a._resetCrossOriginUpdater=function(){n=null,i=null},a.prototype.observe=function(t){if(!this._observationTargets.some((function(e){return e.element==t}))){if(!t||1!=t.nodeType)throw new Error("target must be an Element");this._registerInstance(),this._observationTargets.push({element:t,entry:null}),this._monitorIntersections(t.ownerDocument),this._checkForIntersections()}},a.prototype.unobserve=function(t){this._observationTargets=this._observationTargets.filter((function(e){return e.element!=t})),this._unmonitorIntersections(t.ownerDocument),0==this._observationTargets.length&&this._unregisterInstance()},a.prototype.disconnect=function(){this._observationTargets=[],this._unmonitorAllIntersections(),this._unregisterInstance()},a.prototype.takeRecords=function(){var t=this._queuedEntries.slice();return this._queuedEntries=[],t},a.prototype._initThresholds=function(t){var e=t||[0];return Array.isArray(e)||(e=[e]),e.sort().filter((function(t,e,n){if("number"!=typeof t||isNaN(t)||t<0||t>1)throw new Error("threshold must be a number between 0 and 1 inclusively");return t!==n[e-1]}))},a.prototype._parseRootMargin=function(t){var e=(t||"0px").split(/\s+/).map((function(t){var e=/^(-?\d*\.?\d+)(px|%)$/.exec(t);if(!e)throw new Error("rootMargin must be specified in pixels or percent");return{value:parseFloat(e[1]),unit:e[2]}}));return e[1]=e[1]||e[0],e[2]=e[2]||e[0],e[3]=e[3]||e[1],e},a.prototype._monitorIntersections=function(e){var n=e.defaultView;if(n&&-1==this._monitoringDocuments.indexOf(e)){var i=this._checkForIntersections,r=null,a=null;this.POLL_INTERVAL?r=n.setInterval(i,this.POLL_INTERVAL):(s(n,"resize",i,!0),s(e,"scroll",i,!0),this.USE_MUTATION_OBSERVER&&"MutationObserver"in n&&(a=new n.MutationObserver(i)).observe(e,{attributes:!0,childList:!0,characterData:!0,subtree:!0})),this._monitoringDocuments.push(e),this._monitoringUnsubscribes.push((function(){var t=e.defaultView;t&&(r&&t.clearInterval(r),c(t,"resize",i,!0)),c(e,"scroll",i,!0),a&&a.disconnect()}));var u=this.root&&(this.root.ownerDocument||this.root)||t;if(e!=u){var l=o(e);l&&this._monitorIntersections(l.ownerDocument)}}},a.prototype._unmonitorIntersections=function(e){var n=this._monitoringDocuments.indexOf(e);if(-1!=n){var i=this.root&&(this.root.ownerDocument||this.root)||t,r=this._observationTargets.some((function(t){var n=t.element.ownerDocument;if(n==e)return!0;for(;n&&n!=i;){var r=o(n);if((n=r&&r.ownerDocument)==e)return!0}return!1}));if(!r){var a=this._monitoringUnsubscribes[n];if(this._monitoringDocuments.splice(n,1),this._monitoringUnsubscribes.splice(n,1),a(),e!=i){var s=o(e);s&&this._unmonitorIntersections(s.ownerDocument)}}}},a.prototype._unmonitorAllIntersections=function(){var t=this._monitoringUnsubscribes.slice(0);this._monitoringDocuments.length=0,this._monitoringUnsubscribes.length=0;for(var e=0;e=0&&s>=0&&{top:n,bottom:i,left:o,right:r,width:a,height:s}||null}function l(t){var e;try{e=t.getBoundingClientRect()}catch(n){}return e?(e.width&&e.height||(e={top:e.top,right:e.right,bottom:e.bottom,left:e.left,width:e.right-e.left,height:e.bottom-e.top}),e):{top:0,bottom:0,left:0,right:0,width:0,height:0}}function d(t){return!t||"x"in t?t:{top:t.top,y:t.top,bottom:t.bottom,left:t.left,x:t.left,right:t.right,width:t.width,height:t.height}}function f(t,e){var n=e.top-t.top,i=e.left-t.left;return{top:n,left:i,height:e.height,width:e.width,bottom:n+e.height,right:i+e.width}}function h(t,e){for(var n=e;n;){if(n==t)return!0;n=p(n)}return!1}function p(e){var n=e.parentNode;return 9==e.nodeType&&e!=t?o(e):(n&&n.assignedSlot&&(n=n.assignedSlot.parentNode),n&&11==n.nodeType&&n.host?n.host:n)}function g(t){return t&&9===t.nodeType}}()},function(t,e,n){var i=n(12);t.exports=!i((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")}))},function(t,e,n){var i=n(36),o=TypeError;t.exports=function(t){if(i(t))throw o("Can't call method on "+t);return t}},function(t,e){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(i){"object"===typeof window&&(n=window)}t.exports=n},function(t,e,n){var i=n(19),o=n(65),r="__core-js_shared__",a=i[r]||o(r,{});t.exports=a},function(t,e,n){var i=n(19),o=Object.defineProperty;t.exports=function(t,e){try{o(i,t,{value:e,configurable:!0,writable:!0})}catch(n){i[t]=e}return e}},function(t,e,n){var i=n(11),o=0,r=Math.random(),a=i(1..toString);t.exports=function(t){return"Symbol("+(void 0===t?"":t)+")_"+a(++o+r,36)}},function(t,e,n){var i=n(139),o=n(96);t.exports=function(t){var e=i(t,"string");return o(e)?e:e+""}},function(t,e,n){var i=n(11);t.exports=i({}.isPrototypeOf)},function(t,e,n){var i=n(70),o=n(36);t.exports=function(t,e){var n=t[e];return o(n)?void 0:i(n)}},function(t,e,n){var i=n(10),o=n(71),r=TypeError;t.exports=function(t){if(i(t))return t;throw r(o(t)+" is not a function")}},function(t,e){var n=String;t.exports=function(t){try{return n(t)}catch(e){return"Object"}}},function(t,e,n){var i=n(143);t.exports=function(t){var e=+t;return e!==e||0===e?0:i(e)}},function(t,e,n){var i=n(144);t.exports=function(t){return i(t.length)}},function(t,e){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},function(t,e,n){var i=n(89),o=n(66),r=i("keys");t.exports=function(t){return r[t]||(r[t]=o(t))}},function(t,e,n){var i=n(17),o=n(18),r=n(47);t.exports=i?function(t,e,n){return o.f(t,e,r(1,n))}:function(t,e,n){return t[e]=n,t}},function(t,e,n){"use strict";var i=n(78),o=n(29),r=n(43),a=n(100),s=n(10),c=n(153),u=n(103),l=n(104),d=n(80),f=n(76),h=n(32),p=n(16),g=n(38),m=n(102),v=a.PROPER,w=a.CONFIGURABLE,_=m.IteratorPrototype,y=m.BUGGY_SAFARI_ITERATORS,b=p("iterator"),x="keys",C="values",S="entries",k=function(){return this};t.exports=function(t,e,n,a,p,m,O){c(n,e,a);var I,E,A,j=function(t){if(t===p&&U)return U;if(!y&&t in P)return P[t];switch(t){case x:case C:case S:return function(){return new n(this,t)}}return function(){return new n(this)}},T=e+" Iterator",L=!1,P=t.prototype,R=P[b]||P["@@iterator"]||p&&P[p],U=!y&&R||j(p),N="Array"==e&&P.entries||R;if(N&&(I=u(N.call(new t)))!==Object.prototype&&I.next&&(r||u(I)===_||(l?l(I,_):s(I[b])||h(I,b,k)),d(I,T,!0,!0),r&&(g[T]=k)),v&&p==C&&R&&R.name!==C&&(!r&&w?f(P,"name",C):(L=!0,U=function(){return o(R,this)})),p)if(E={values:j(C),keys:m?U:j(x),entries:j(S)},O)for(A in E)(y||L||!(A in P))&&h(P,A,E[A]);else i({target:e,proto:!0,forced:y||L},E);return r&&!O||P[b]===U||h(P,b,U,{name:p}),g[e]=U,E}},function(t,e,n){var i=n(19),o=n(99).f,r=n(76),a=n(32),s=n(65),c=n(150),u=n(101);t.exports=function(t,e){var n,l,d,f,h,p=t.target,g=t.global,m=t.stat;if(n=g?i:m?i[p]||s(p,{}):(i[p]||{}).prototype)for(l in e){if(f=e[l],d=t.dontCallGetSet?(h=o(n,l))&&h.value:n[l],!u(g?l:p+(m?".":"#")+l,t.forced)&&void 0!==d){if(typeof f==typeof d)continue;c(f,d)}(t.sham||d&&d.sham)&&r(f,"sham",!0),a(n,l,f,t)}}},function(t,e,n){var i=n(97),o=n(74).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return i(t,o)}},function(t,e,n){var i=n(18).f,o=n(20),r=n(16)("toStringTag");t.exports=function(t,e,n){t&&!n&&(t=t.prototype),t&&!o(t,r)&&i(t,r,{configurable:!0,value:e})}},function(t,e,n){var i=n(82),o=n(10),r=n(42),a=n(16)("toStringTag"),s=Object,c="Arguments"==r(function(){return arguments}());t.exports=i?r:function(t){var e,n,i;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=function(t,e){try{return t[e]}catch(n){}}(e=s(t),a))?n:c?r(e):"Object"==(i=r(e))&&o(e.callee)?"Arguments":i}},function(t,e,n){var i={};i[n(16)("toStringTag")]="z",t.exports="[object z]"===String(i)},function(t,e,n){"use strict";var i=n(34),o={object:!0,function:!0,undefined:!0};t.exports=function(t){return!!i(t)&&hasOwnProperty.call(o,typeof t)}},function(t,e,n){"use strict";t.exports=n(204)()?Object.assign:n(205)},function(t,e,n){"use strict";var i,o=n(112),r=n(84),a=n(30),s=n(23),c=n(22),u=n(224),l=n(26),d=Object.defineProperty,f=Object.defineProperties;t.exports=i=function(t,e){if(!(this instanceof i))throw new TypeError("Constructor requires 'new'");f(this,{__list__:c("w",s(t)),__context__:c("w",e),__nextIndex__:c("w",0)}),e&&(a(e.on),e.on("_add",this._onAdd),e.on("_delete",this._onDelete),e.on("_clear",this._onClear))},delete i.prototype.constructor,f(i.prototype,r({_next:c((function(){var t;if(this.__list__)return this.__redo__&&void 0!==(t=this.__redo__.shift())?t:this.__nextIndex__=this.__nextIndex__||(++this.__nextIndex__,this.__redo__?(this.__redo__.forEach((function(e,n){e>=t&&(this.__redo__[n]=++e)}),this),this.__redo__.push(t)):d(this,"__redo__",c("c",[t])))})),_onDelete:c((function(t){var e;t>=this.__nextIndex__||(--this.__nextIndex__,this.__redo__&&(-1!==(e=this.__redo__.indexOf(t))&&this.__redo__.splice(e,1),this.__redo__.forEach((function(e,n){e>t&&(this.__redo__[n]=--e)}),this)))})),_onClear:c((function(){this.__redo__&&o.call(this.__redo__),this.__nextIndex__=0}))}))),d(i.prototype,l.iterator,c((function(){return this})))},function(t,e){t.exports=function(t){if(!t.webpackPolyfill){var e=Object.create(t);e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),Object.defineProperty(e,"exports",{enumerable:!0}),e.webpackPolyfill=1}return e}},function(t,e,n){"use strict";(function(t){var n=("undefined"!==typeof window?window:"undefined"!==typeof t?t:{}).__VUE_DEVTOOLS_GLOBAL_HOOK__;function i(t,e){if(void 0===e&&(e=[]),null===t||"object"!==typeof t)return t;var n,o=(n=function(e){return e.original===t},e.filter(n)[0]);if(o)return o.copy;var r=Array.isArray(t)?[]:{};return e.push({original:t,copy:r}),Object.keys(t).forEach((function(n){r[n]=i(t[n],e)})),r}function o(t,e){Object.keys(t).forEach((function(n){return e(t[n],n)}))}function r(t){return null!==t&&"object"===typeof t}var a=function(t,e){this.runtime=e,this._children=Object.create(null),this._rawModule=t;var n=t.state;this.state=("function"===typeof n?n():n)||{}},s={namespaced:{configurable:!0}};s.namespaced.get=function(){return!!this._rawModule.namespaced},a.prototype.addChild=function(t,e){this._children[t]=e},a.prototype.removeChild=function(t){delete this._children[t]},a.prototype.getChild=function(t){return this._children[t]},a.prototype.hasChild=function(t){return t in this._children},a.prototype.update=function(t){this._rawModule.namespaced=t.namespaced,t.actions&&(this._rawModule.actions=t.actions),t.mutations&&(this._rawModule.mutations=t.mutations),t.getters&&(this._rawModule.getters=t.getters)},a.prototype.forEachChild=function(t){o(this._children,t)},a.prototype.forEachGetter=function(t){this._rawModule.getters&&o(this._rawModule.getters,t)},a.prototype.forEachAction=function(t){this._rawModule.actions&&o(this._rawModule.actions,t)},a.prototype.forEachMutation=function(t){this._rawModule.mutations&&o(this._rawModule.mutations,t)},Object.defineProperties(a.prototype,s);var c=function(t){this.register([],t,!1)};function u(t,e,n){if(e.update(n),n.modules)for(var i in n.modules){if(!e.getChild(i))return void 0;u(t.concat(i),e.getChild(i),n.modules[i])}}c.prototype.get=function(t){return t.reduce((function(t,e){return t.getChild(e)}),this.root)},c.prototype.getNamespace=function(t){var e=this.root;return t.reduce((function(t,n){return t+((e=e.getChild(n)).namespaced?n+"/":"")}),"")},c.prototype.update=function(t){u([],this.root,t)},c.prototype.register=function(t,e,n){var i=this;void 0===n&&(n=!0);var r=new a(e,n);0===t.length?this.root=r:this.get(t.slice(0,-1)).addChild(t[t.length-1],r);e.modules&&o(e.modules,(function(e,o){i.register(t.concat(o),e,n)}))},c.prototype.unregister=function(t){var e=this.get(t.slice(0,-1)),n=t[t.length-1],i=e.getChild(n);i&&i.runtime&&e.removeChild(n)},c.prototype.isRegistered=function(t){var e=this.get(t.slice(0,-1)),n=t[t.length-1];return!!e&&e.hasChild(n)};var l;var d=function(t){var e=this;void 0===t&&(t={}),!l&&"undefined"!==typeof window&&window.Vue&&_(window.Vue);var i=t.plugins;void 0===i&&(i=[]);var o=t.strict;void 0===o&&(o=!1),this._committing=!1,this._actions=Object.create(null),this._actionSubscribers=[],this._mutations=Object.create(null),this._wrappedGetters=Object.create(null),this._modules=new c(t),this._modulesNamespaceMap=Object.create(null),this._subscribers=[],this._watcherVM=new l,this._makeLocalGettersCache=Object.create(null);var r=this,a=this.dispatch,s=this.commit;this.dispatch=function(t,e){return a.call(r,t,e)},this.commit=function(t,e,n){return s.call(r,t,e,n)},this.strict=o;var u=this._modules.root.state;m(this,u,[],this._modules.root),g(this,u),i.forEach((function(t){return t(e)})),(void 0!==t.devtools?t.devtools:l.config.devtools)&&function(t){n&&(t._devtoolHook=n,n.emit("vuex:init",t),n.on("vuex:travel-to-state",(function(e){t.replaceState(e)})),t.subscribe((function(t,e){n.emit("vuex:mutation",t,e)}),{prepend:!0}),t.subscribeAction((function(t,e){n.emit("vuex:action",t,e)}),{prepend:!0}))}(this)},f={state:{configurable:!0}};function h(t,e,n){return e.indexOf(t)<0&&(n&&n.prepend?e.unshift(t):e.push(t)),function(){var n=e.indexOf(t);n>-1&&e.splice(n,1)}}function p(t,e){t._actions=Object.create(null),t._mutations=Object.create(null),t._wrappedGetters=Object.create(null),t._modulesNamespaceMap=Object.create(null);var n=t.state;m(t,n,[],t._modules.root,!0),g(t,n,e)}function g(t,e,n){var i=t._vm;t.getters={},t._makeLocalGettersCache=Object.create(null);var r=t._wrappedGetters,a={};o(r,(function(e,n){a[n]=function(t,e){return function(){return t(e)}}(e,t),Object.defineProperty(t.getters,n,{get:function(){return t._vm[n]},enumerable:!0})}));var s=l.config.silent;l.config.silent=!0,t._vm=new l({data:{$$state:e},computed:a}),l.config.silent=s,t.strict&&function(t){t._vm.$watch((function(){return this._data.$$state}),(function(){0}),{deep:!0,sync:!0})}(t),i&&(n&&t._withCommit((function(){i._data.$$state=null})),l.nextTick((function(){return i.$destroy()})))}function m(t,e,n,i,o){var r=!n.length,a=t._modules.getNamespace(n);if(i.namespaced&&(t._modulesNamespaceMap[a],t._modulesNamespaceMap[a]=i),!r&&!o){var s=v(e,n.slice(0,-1)),c=n[n.length-1];t._withCommit((function(){l.set(s,c,i.state)}))}var u=i.context=function(t,e,n){var i=""===e,o={dispatch:i?t.dispatch:function(n,i,o){var r=w(n,i,o),a=r.payload,s=r.options,c=r.type;return s&&s.root||(c=e+c),t.dispatch(c,a)},commit:i?t.commit:function(n,i,o){var r=w(n,i,o),a=r.payload,s=r.options,c=r.type;s&&s.root||(c=e+c),t.commit(c,a,s)}};return Object.defineProperties(o,{getters:{get:i?function(){return t.getters}:function(){return function(t,e){if(!t._makeLocalGettersCache[e]){var n={},i=e.length;Object.keys(t.getters).forEach((function(o){if(o.slice(0,i)===e){var r=o.slice(i);Object.defineProperty(n,r,{get:function(){return t.getters[o]},enumerable:!0})}})),t._makeLocalGettersCache[e]=n}return t._makeLocalGettersCache[e]}(t,e)}},state:{get:function(){return v(t.state,n)}}}),o}(t,a,n);i.forEachMutation((function(e,n){!function(t,e,n,i){(t._mutations[e]||(t._mutations[e]=[])).push((function(e){n.call(t,i.state,e)}))}(t,a+n,e,u)})),i.forEachAction((function(e,n){var i=e.root?n:a+n,o=e.handler||e;!function(t,e,n,i){(t._actions[e]||(t._actions[e]=[])).push((function(e){var o,r=n.call(t,{dispatch:i.dispatch,commit:i.commit,getters:i.getters,state:i.state,rootGetters:t.getters,rootState:t.state},e);return(o=r)&&"function"===typeof o.then||(r=Promise.resolve(r)),t._devtoolHook?r.catch((function(e){throw t._devtoolHook.emit("vuex:error",e),e})):r}))}(t,i,o,u)})),i.forEachGetter((function(e,n){!function(t,e,n,i){if(t._wrappedGetters[e])return void 0;t._wrappedGetters[e]=function(t){return n(i.state,i.getters,t.state,t.getters)}}(t,a+n,e,u)})),i.forEachChild((function(i,r){m(t,e,n.concat(r),i,o)}))}function v(t,e){return e.reduce((function(t,e){return t[e]}),t)}function w(t,e,n){return r(t)&&t.type&&(n=e,e=t,t=t.type),{type:t,payload:e,options:n}}function _(t){l&&t===l|| /*! * vuex v3.6.2 * (c) 2021 Evan You * @license MIT */ function(t){if(Number(t.version.split(".")[0])>=2)t.mixin({beforeCreate:n});else{var e=t.prototype._init;t.prototype._init=function(t){void 0===t&&(t={}),t.init=t.init?[n].concat(t.init):n,e.call(this,t)}}function n(){var t=this.$options;t.store?this.$store="function"===typeof t.store?t.store():t.store:t.parent&&t.parent.$store&&(this.$store=t.parent.$store)}}(l=t)}f.state.get=function(){return this._vm._data.$$state},f.state.set=function(t){0},d.prototype.commit=function(t,e,n){var i=this,o=w(t,e,n),r=o.type,a=o.payload,s=(o.options,{type:r,payload:a}),c=this._mutations[r];c&&(this._withCommit((function(){c.forEach((function(t){t(a)}))})),this._subscribers.slice().forEach((function(t){return t(s,i.state)})))},d.prototype.dispatch=function(t,e){var n=this,i=w(t,e),o=i.type,r=i.payload,a={type:o,payload:r},s=this._actions[o];if(s){try{this._actionSubscribers.slice().filter((function(t){return t.before})).forEach((function(t){return t.before(a,n.state)}))}catch(u){0}var c=s.length>1?Promise.all(s.map((function(t){return t(r)}))):s[0](r);return new Promise((function(t,e){c.then((function(e){try{n._actionSubscribers.filter((function(t){return t.after})).forEach((function(t){return t.after(a,n.state)}))}catch(u){0}t(e)}),(function(t){try{n._actionSubscribers.filter((function(t){return t.error})).forEach((function(e){return e.error(a,n.state,t)}))}catch(u){0}e(t)}))}))}},d.prototype.subscribe=function(t,e){return h(t,this._subscribers,e)},d.prototype.subscribeAction=function(t,e){return h("function"===typeof t?{before:t}:t,this._actionSubscribers,e)},d.prototype.watch=function(t,e,n){var i=this;return this._watcherVM.$watch((function(){return t(i.state,i.getters)}),e,n)},d.prototype.replaceState=function(t){var e=this;this._withCommit((function(){e._vm._data.$$state=t}))},d.prototype.registerModule=function(t,e,n){void 0===n&&(n={}),"string"===typeof t&&(t=[t]),this._modules.register(t,e),m(this,this.state,t,this._modules.get(t),n.preserveState),g(this,this.state)},d.prototype.unregisterModule=function(t){var e=this;"string"===typeof t&&(t=[t]),this._modules.unregister(t),this._withCommit((function(){var n=v(e.state,t.slice(0,-1));l.delete(n,t[t.length-1])})),p(this)},d.prototype.hasModule=function(t){return"string"===typeof t&&(t=[t]),this._modules.isRegistered(t)},d.prototype.hotUpdate=function(t){this._modules.update(t),p(this,!0)},d.prototype._withCommit=function(t){var e=this._committing;this._committing=!0,t(),this._committing=e},Object.defineProperties(d.prototype,f);var y=k((function(t,e){var n={};return S(e).forEach((function(e){var i=e.key,o=e.val;n[i]=function(){var e=this.$store.state,n=this.$store.getters;if(t){var i=O(this.$store,"mapState",t);if(!i)return;e=i.context.state,n=i.context.getters}return"function"===typeof o?o.call(this,e,n):e[o]},n[i].vuex=!0})),n})),b=k((function(t,e){var n={};return S(e).forEach((function(e){var i=e.key,o=e.val;n[i]=function(){for(var e=[],n=arguments.length;n--;)e[n]=arguments[n];var i=this.$store.commit;if(t){var r=O(this.$store,"mapMutations",t);if(!r)return;i=r.context.commit}return"function"===typeof o?o.apply(this,[i].concat(e)):i.apply(this.$store,[o].concat(e))}})),n})),x=k((function(t,e){var n={};return S(e).forEach((function(e){var i=e.key,o=e.val;o=t+o,n[i]=function(){if(!t||O(this.$store,"mapGetters",t))return this.$store.getters[o]},n[i].vuex=!0})),n})),C=k((function(t,e){var n={};return S(e).forEach((function(e){var i=e.key,o=e.val;n[i]=function(){for(var e=[],n=arguments.length;n--;)e[n]=arguments[n];var i=this.$store.dispatch;if(t){var r=O(this.$store,"mapActions",t);if(!r)return;i=r.context.dispatch}return"function"===typeof o?o.apply(this,[i].concat(e)):i.apply(this.$store,[o].concat(e))}})),n}));function S(t){return function(t){return Array.isArray(t)||r(t)}(t)?Array.isArray(t)?t.map((function(t){return{key:t,val:t}})):Object.keys(t).map((function(e){return{key:e,val:t[e]}})):[]}function k(t){return function(e,n){return"string"!==typeof e?(n=e,e=""):"/"!==e.charAt(e.length-1)&&(e+="/"),t(e,n)}}function O(t,e,n){return t._modulesNamespaceMap[n]}function I(t,e,n){var i=n?t.groupCollapsed:t.group;try{i.call(t,e)}catch(o){t.log(e)}}function E(t){try{t.groupEnd()}catch(e){t.log("\u2014\u2014 log end \u2014\u2014")}}function A(){var t=new Date;return" @ "+j(t.getHours(),2)+":"+j(t.getMinutes(),2)+":"+j(t.getSeconds(),2)+"."+j(t.getMilliseconds(),3)}function j(t,e){return n="0",i=e-t.toString().length,new Array(i+1).join(n)+t;var n,i}var T={Store:d,install:_,version:"3.6.2",mapState:y,mapMutations:b,mapGetters:x,mapActions:C,createNamespacedHelpers:function(t){return{mapState:y.bind(null,t),mapGetters:x.bind(null,t),mapMutations:b.bind(null,t),mapActions:C.bind(null,t)}},createLogger:function(t){void 0===t&&(t={});var e=t.collapsed;void 0===e&&(e=!0);var n=t.filter;void 0===n&&(n=function(t,e,n){return!0});var o=t.transformer;void 0===o&&(o=function(t){return t});var r=t.mutationTransformer;void 0===r&&(r=function(t){return t});var a=t.actionFilter;void 0===a&&(a=function(t,e){return!0});var s=t.actionTransformer;void 0===s&&(s=function(t){return t});var c=t.logMutations;void 0===c&&(c=!0);var u=t.logActions;void 0===u&&(u=!0);var l=t.logger;return void 0===l&&(l=console),function(t){var d=i(t.state);"undefined"!==typeof l&&(c&&t.subscribe((function(t,a){var s=i(a);if(n(t,d,s)){var c=A(),u=r(t),f="mutation "+t.type+c;I(l,f,e),l.log("%c prev state","color: #9E9E9E; font-weight: bold",o(d)),l.log("%c mutation","color: #03A9F4; font-weight: bold",u),l.log("%c next state","color: #4CAF50; font-weight: bold",o(s)),E(l)}d=s})),u&&t.subscribeAction((function(t,n){if(a(t,n)){var i=A(),o=s(t),r="action "+t.type+i;I(l,r,e),l.log("%c action","color: #03A9F4; font-weight: bold",o),E(l)}})))}}};e.a=T}).call(this,n(63))},function(t,e,n){"use strict";(function(t){var i=n(56),o="object"==typeof exports&&exports&&!exports.nodeType&&exports,r=o&&"object"==typeof t&&t&&!t.nodeType&&t,a=r&&r.exports===o&&i.a.process,s=function(){try{var t=r&&r.require&&r.require("util").types;return t||a&&a.binding&&a.binding("util")}catch(e){}}();e.a=s}).call(this,n(86)(t))},function(t,e,n){var i=n(43),o=n(64);(t.exports=function(t,e){return o[t]||(o[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.25.0",mode:i?"pure":"global",copyright:"\xa9 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.25.0/LICENSE",source:"https://github.com/zloirock/core-js"})},function(t,e,n){var i=n(62),o=Object;t.exports=function(t){return o(i(t))}},function(t,e,n){var i=n(136),o=n(12);t.exports=!!Object.getOwnPropertySymbols&&!o((function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&i&&i<41}))},function(t,e,n){var i=n(91);t.exports=i&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},function(t,e,n){var i=n(17),o=n(12);t.exports=i&&o((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},function(t,e,n){var i=n(17),o=n(12),r=n(95);t.exports=!i&&!o((function(){return 7!=Object.defineProperty(r("div"),"a",{get:function(){return 7}}).a}))},function(t,e,n){var i=n(19),o=n(21),r=i.document,a=o(r)&&o(r.createElement);t.exports=function(t){return a?r.createElement(t):{}}},function(t,e,n){var i=n(37),o=n(10),r=n(68),a=n(92),s=Object;t.exports=a?function(t){return"symbol"==typeof t}:function(t){var e=i("Symbol");return o(e)&&r(e.prototype,s(t))}},function(t,e,n){var i=n(11),o=n(20),r=n(31),a=n(142).indexOf,s=n(45),c=i([].push);t.exports=function(t,e){var n,i=r(t),u=0,l=[];for(n in i)!o(s,n)&&o(i,n)&&c(l,n);for(;e.length>u;)o(i,n=e[u++])&&(~a(l,n)||c(l,n));return l}},function(t,e,n){var i=n(72),o=Math.max,r=Math.min;t.exports=function(t,e){var n=i(t);return n<0?o(n+e,0):r(n,e)}},function(t,e,n){var i=n(17),o=n(29),r=n(147),a=n(47),s=n(31),c=n(67),u=n(20),l=n(94),d=Object.getOwnPropertyDescriptor;e.f=i?d:function(t,e){if(t=s(t),e=c(e),l)try{return d(t,e)}catch(n){}if(u(t,e))return a(!o(r.f,t,e),t[e])}},function(t,e,n){var i=n(17),o=n(20),r=Function.prototype,a=i&&Object.getOwnPropertyDescriptor,s=o(r,"name"),c=s&&"something"===function(){}.name,u=s&&(!i||i&&a(r,"name").configurable);t.exports={EXISTS:s,PROPER:c,CONFIGURABLE:u}},function(t,e,n){var i=n(12),o=n(10),r=/#|\.prototype\./,a=function(t,e){var n=c[s(t)];return n==l||n!=u&&(o(e)?i(e):!!e)},s=a.normalize=function(t){return String(t).replace(r,".").toLowerCase()},c=a.data={},u=a.NATIVE="N",l=a.POLYFILL="P";t.exports=a},function(t,e,n){"use strict";var i,o,r,a=n(12),s=n(10),c=n(21),u=n(44),l=n(103),d=n(32),f=n(16),h=n(43),p=f("iterator"),g=!1;[].keys&&("next"in(r=[].keys())?(o=l(l(r)))!==Object.prototype&&(i=o):g=!0),!c(i)||a((function(){var t={};return i[p].call(t)!==t}))?i={}:h&&(i=u(i)),s(i[p])||d(i,p,(function(){return this})),t.exports={IteratorPrototype:i,BUGGY_SAFARI_ITERATORS:g}},function(t,e,n){var i=n(20),o=n(10),r=n(90),a=n(75),s=n(154),c=a("IE_PROTO"),u=Object,l=u.prototype;t.exports=s?u.getPrototypeOf:function(t){var e=r(t);if(i(e,c))return e[c];var n=e.constructor;return o(n)&&e instanceof n?n.prototype:e instanceof u?l:null}},function(t,e,n){var i=n(11),o=n(25),r=n(155);t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,n={};try{(t=i(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set))(n,[]),e=n instanceof Array}catch(a){}return function(n,i){return o(n),r(i),e?t(n,i):n.__proto__=i,n}}():void 0)},function(t,e,n){var i=n(78),o=n(11),r=n(45),a=n(21),s=n(20),c=n(18).f,u=n(79),l=n(159),d=n(162),f=n(66),h=n(164),p=!1,g=f("meta"),m=0,v=function(t){c(t,g,{value:{objectID:"O"+m++,weakData:{}}})},w=t.exports={enable:function(){w.enable=function(){},p=!0;var t=u.f,e=o([].splice),n={};n[g]=1,t(n).length&&(u.f=function(n){for(var i=t(n),o=0,r=i.length;ow;w++)if((y=j(t[w]))&&u(g,y))return y;return new p(!1)}m=l(t,v)}for(b=k?t.next:m.next;!(x=o(b,m)).done;){try{y=j(x.value)}catch(T){f(m,"throw",T)}if("object"==typeof y&&y&&u(g,y))return y}return new p(!1)}},function(t,e,n){var i=n(11),o=n(70),r=n(61),a=i(i.bind);t.exports=function(t,e){return o(t),void 0===e?t:r?a(t,e):function(){return t.apply(e,arguments)}}},function(t,e,n){var i=n(81),o=n(69),r=n(36),a=n(38),s=n(16)("iterator");t.exports=function(t){if(!r(t))return o(t,s)||o(t,"@@iterator")||a[i(t)]}},function(t,e,n){var i=n(68),o=TypeError;t.exports=function(t,e){if(i(e,t))return t;throw o("Incorrect invocation")}},function(t,e,n){var i=n(81),o=String;t.exports=function(t){if("Symbol"===i(t))throw TypeError("Cannot convert a Symbol value to a string");return o(t)}},function(t,e,n){"use strict";var i=n(1),o=n.n(i);o.a.mountApi("wapApis",{simaBizLog:function(){this.simaBizLog=function(t){var e=t.success;return new Promise((function(t,n){e&&e(),t()}))}}});o.a.simaBizLog},function(t,e,n){"use strict";var i=n(23);t.exports=function(){return i(this).length=0,this}},function(t,e,n){"use strict";var i=n(196),o=Math.max;t.exports=function(t){return o(0,i(t))}},function(t,e,n){"use strict";var i=Object.create,o=Object.getPrototypeOf,r={};t.exports=function(){var t=Object.setPrototypeOf,e=arguments[0]||i;return"function"===typeof t&&o(t(e(null),r))===r}},function(t,e,n){"use strict";var i,o=n(200),r=n(23),a=Object.prototype.isPrototypeOf,s=Object.defineProperty,c={configurable:!0,enumerable:!1,writable:!0,value:void 0};i=function(t,e){if(r(t),null===e||o(e))return t;throw new TypeError("Prototype must be null or an object")},t.exports=function(t){var e,n;return t?(2===t.level?t.set?(n=t.set,e=function(t,e){return n.call(i(t,e),e),t}):e=function(t,e){return i(t,e).__proto__=e,t}:e=function t(e,n){var o;return i(e,n),(o=a.call(t.nullPolyfill,e))&&delete t.nullPolyfill.__proto__,null===n&&(n=t.nullPolyfill),e.__proto__=n,o&&s(t.nullPolyfill,"__proto__",c),e},Object.defineProperty(e,"level",{configurable:!1,enumerable:!1,writable:!1,value:t.level})):null}(function(){var t,e=Object.create(null),n={},i=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__");if(i){try{(t=i.set).call(e,n)}catch(o){}if(Object.getPrototypeOf(e)===n)return{set:t,level:2}}return e.__proto__=n,Object.getPrototypeOf(e)===n?{level:2}:((e={}).__proto__=n,Object.getPrototypeOf(e)===n&&{level:1})}()),n(201)},function(t,e,n){"use strict";var i=n(202),o=/^\s*class[\s{/}]/,r=Function.prototype.toString;t.exports=function(t){return!!i(t)&&!o.test(r.call(t))}},function(t,e,n){"use strict";var i=n(33),o=Array.prototype.forEach,r=Object.create,a=function(t,e){var n;for(n in t)e[n]=t[n]};t.exports=function(t){var e=r(null);return o.call(arguments,(function(t){i(t)&&a(Object(t),e)})),e}},function(t,e,n){"use strict";t.exports=n(209)()?String.prototype.contains:n(210)},function(t,e,n){"use strict";var i=n(216);t.exports=function(t){if(!i(t))throw new TypeError(t+" is not a symbol");return t}},function(t,e,n){"use strict";var i=n(220);t.exports=function(t){if(!i(t))throw new TypeError(t+" is not iterable");return t}},function(t,e,n){"use strict";var i=n(34),o=n(83),r=n(226),a=n(227),s=function(t,e){return t.replace("%v",a(e))};t.exports=function(t,e,n){if(!o(n))throw new TypeError(s(e,t));if(!i(t)){if("default"in n)return n.default;if(n.isOptional)return null}var a=r(n.errorMessage);throw i(a)||(a=e),new TypeError(s(a,t))}},function(t,e,n){"use strict";n.r(e);n(184);var i=window;i._callEventCom={},i._callReadyEvent={},i._sinaCallEvent={on:function(t,e){var n=i._callEventCom.hasOwnProperty(t),o=i._callReadyEvent.hasOwnProperty(t);n||(i._callEventCom[t]=e),o&&(_sinaCallEvent.trigger(t,i._callReadyEvent[t]),delete i._callReadyEvent[t])},trigger:function(t,e){i._callEventCom.hasOwnProperty(t)?i._callEventCom[t](e):i._callReadyEvent[t]=e},off:function(t){var e=i._callEventCom.hasOwnProperty(t),n=i._callReadyEvent.hasOwnProperty(t);e&&(delete i._callEventCom[t],n&&delete i._callReadyEvent[t])}};_sinaCallEvent;var o=n(0),r=o.a.isWeibo(),a="ios"===o.a._system(),s=o.a.isWeixin(),c=window.SM&&window.SM.data&&window.SM.data.callUpConfig&&window.SM.data.callUpConfig.shiftKnob||0;if(!!document.location.href.match(/shiftKnob\=1/gi)&&(c=1),1===parseInt(c)){try{a&&r&&_sinaCallEvent.on("native_call_fail",(function(t){var e=window.iNPHConfig;-1==e.iosNativeUrl.indexOf("sinanewslite://")&&(setTimeout((function(){e.iosNativeUrl=e.iosNativeUrl.replace("sinanews://","sinanewslite://"),e.useInstallUrl=1,_sinaCallEvent.trigger("sina_direct_open",e)}),0),console.log("native_call_fail",t))}))}catch(ot){console.log("native_call_fail",ot)}try{!a&&s&&_sinaCallEvent.on("sina_open_native",(function(t){var e=!!document.location.href.match(/debug\=1/gi)?"https://zx.sina.cn/e/2018-12-24/zx-ihmutuee2255445.d.html":"undefined"==typeof __docConfig?location.origin+location.pathname:__docConfig&&__docConfig.__docUrl||location.origin+location.pathname,n="https://so.sina.cn/palmnews/deeplink.d.go?url="+encodeURIComponent(e)+"&wm=3200_0013&id=165&sn=SN_0699";window.location.href="https://so.sina.cn/palmnews/wechat_middle.d.html?jumpUrl="+encodeURIComponent(n)}))}catch(ot){console.log("\u5b89\u5353\u5fae\u4fe1\u5f15\u5bfc\u5f39\u5c42\u5904\u7406")}}!function(t,e){var n=!!t.location.href.match(/wbTest=1/);window.isSchemeDownloadApkInit=!1;var i={url:"sinaweibo://weiboinstall?pkg=com.sina.news&version=191&name=\u65b0\u6d6a\u65b0\u95fb",packageName:"com.sina.news",packageNamelite:"com.sina.news.lite",appVersion:"191",wbAllowVersion:"6.12",wbIOSAllowVersion:"8.9",appId:"84475",pyid:"2028810631"};function r(){var t=navigator.userAgent.toLocaleLowerCase().split("__weibo__");return function(t){var e=t.split(".");return parseFloat(e[0]+"."+(e[1]>9?parseInt(e[1]):"0"+e[1]))}(t.length>1?t[1]:"0.0.0")}function a(){var t=parseFloat(i.wbAllowVersion),e=parseFloat(i.wbIOSAllowVersion),n=r(),o=navigator.userAgent;return!!o.match(/weibo/gi)&&!!(o.match(/android/gi)&&n>=t||o.match(/iphone/gi)&&n>=e)}n&&(t.WeiboJSBridge={on:function(t,e){switch(t){case"downLoadAppInfo":e&&e({id:"0300000000000",name:"",progress:32,packageName:"com.sina.news",result:""});break;case"broadcastObserver:schemeDownloadEvent":e&&e({appId:i.appInfo,progress:32,status:"start"})}},invoke:function(t,e,n){switch(t){case"getAppInstallStates":n&&n({status:0},true,1);break;case"getNetworkType":n&&n({network_type:"wifi"},!0);break;case"schemeDownloadApk":n&&n({msg:"XXXX"},true,200)}}},_sinaCallEvent.on("weibo_ad_install",(function(t){o.a.showLog({title:"weibo_ad_install",txt:t})}))),t.wbDownloadAPI={APIValid:a,wbVersion:r,wbSchemeUrl:function(){return i.url},getProgress:function(t){var e=a();if(window.location.href.match(/debugProgress\=1/gi)&&alert("_wbAPIValid : "+e),!e)return!1;try{window.WeiboJSBridge.on("downLoadAppInfo",(function(e){var n="success"===e.result?"1":"fail"===e.result?"-1":"0",i={progress:e.progress||0,packageName:e.packageName,result:n,targetEl:t||null};window.location.href.match(/debugProgress\=1/gi)&&alert(JSON.stringify(e)),_sinaCallEvent&&_sinaCallEvent.trigger("weibo_ad_progress",i)}))}catch(n){o.a.showLog({title:"downLoadAppInfo",txt:n.message})}},getInstallInfo:function(e,n){if(!a())return e&&e(!1);try{window.WeiboJSBridge.invoke("getAppInstallStates",{packageName:i.packageName,version:i.appVersion,url:"sinanews://sina.cn"},(function(t,n,i){var o="";try{o=parseInt(t.status||0)}catch(r){o=0}e&&e({status:o})})),n&&t._sinaCallEvent.trigger("sina_suda_action","getAppInstallStatesSuc")}catch(r){e&&e({status:-1}),n&&t._sinaCallEvent.trigger("sina_suda_action","getAppInstallStatesErr"),o.a.showLog({title:"getAppInstallStates",txt:r.message})}},getIOSInstallInfo:function(t){try{window.WeiboJSBridge.invoke("checkCanOpenUrl",{url:"sinanews://"},(function(e,n){t&&t(e)}))}catch(e){t&&t({canOpenUrl:!1}),o.a.showLog({title:"checkCanOpenUrl",txt:e.message})}},schemeDownloadApk:function(t){var e=t.version,n=t.appId,r=t.pyid,a=t.app_wm,s=t.copy,c=t.copy_tip,u=t.control,l=t.cb;try{window.WeiboJSBridge.invoke("schemeDownloadApk",{version:e||"V1",appId:n||i.appId,pyid:r||i.pyid,app_wm:a||"",copy:s||"",copy_tip:c||"",control:u||"init"},(function(t,n,i){if(o.a.showLog({title:"schemeDownloadApk ".concat(e," ").concat(u," success"),txt:n}),o.a.showLog({title:"schemeDownloadApk ".concat(e," ").concat(u," code"),txt:i}),o.a.showLog({title:"schemeDownloadApk ".concat(e," ").concat(u),txt:JSON.stringify(t)}),n)return"init"==u&&(window.isSchemeDownloadApkInit=!0),t.schemeDownloadApk=!0,t.control=u,t.version=e,void(l&&l(t));l&&l({schemeDownloadApk:!1}),i==WeiboJSBridge.STATUS_CODE.MISSING_PARAMS?console.warn("\u6ca1\u6709\u4f20\u5165 appId"):403===i&&console.warn("\u4e8b\u4ef6\u4e0d\u652f\u6301"),l&&l({schemeDownloadApk:!1})}))}catch(d){l&&l({schemeDownloadApk:!1}),o.a.showLog({title:"schemeDownloadApk ".concat(e," ").concat(u),txt:d.message})}},broadcastObserver:function(t){var e=t.eventName,n=t.cb,r=t.action,a="broadcastObserver:".concat(e||"schemeDownloadEvent");function s(t){o.a.showLog({title:"".concat(a," ").concat(r),txt:JSON.stringify(t)}),t.appId==i.appId&&n&&n(t)}try{"on"==r&&window.WeiboJSBridge.on(a,s),"off"==r&&window.WeiboJSBridge.off(a,s)}catch(c){n&&n({broadcastObserver:!1}),o.a.showLog({title:"".concat(a).concat(r),txt:c.message})}}},_sinaCallEvent&&_sinaCallEvent.on("get_wb_progress",t.wbDownloadAPI.getProgress),window.location.href.match(/debugProgress\=1/gi)&&(alert("show debugProgress8"),setTimeout((function(){alert("getInstallInfo"),t.wbDownloadAPI.getInstallInfo((function(e){alert(JSON.stringify(e)),window.location.href="sinaweibo://appsdownload?APPID=84475&pyid=2028810631",t.wbDownloadAPI.getProgress()}))}),500))}(window,document);n(185);var u=n(52),l=n.n(u),d="WeiboJSBridgeReady_UDO_0",f="WeiboJSBridgeReady_UDO_1",h="Weibo_JSBridge_Download",p="Weibo_Other_Download",g="WeiboJSBridgeReady_getAppInstallStates",m="WeiboOpenPage_getAppInstallStates",v="WeiboJSBridgeReady_getAppInstallStatesChange";window.tryGoAppMaxTimer=null,window.tryGoAppMaxTime=~~window.tryGoAppMaxTime||2e3,window.userDoTimes=0;var w={goAppInfo:null,downloadInfo:null,sendLog:function(t){if(!~~t.WeiboJSBridgeReady){var e=d;~~userDoTimes>0&&(e=f),window._sinaCallEvent.trigger("sina_suda_action",e),o.a.showLog({title:"\u5efa\u6865\u6210\u529f\uff0c\u53d1\u9001code",txt:e}),o.a.showLog({title:"\u5efa\u6865\u9700\u8981\u7684\u65f6\u95f4",txt:window.weiboJSBridgeReadyTime-window.weiboJSBridgeInitTime})}},goNative:function(t){t.cb},clearTwiceTimer:function(){tryGoAppMaxTimer&&(clearTimeout(tryGoAppMaxTimer),tryGoAppMaxTimer=null)},storeInfo:function(t){var e=t.WeiboJSBridgeReady,n=t.config,i=1;userDoTimes++,i=w.goAppInfo&&n.androidNativeUrl==w.goAppInfo.androidNativeUrl?0:1,1!=e&&2==userDoTimes&&1==i&&(w.clearTwiceTimer(),userDoTimes=1),w.goAppInfo=n,w.goAppInfo.isUDo=i,o.a.showLog({title:"\u5b58\u50a8\u547c\u8d77\u4fe1\u606f\uff0c\u5f53\u524d\u662f\u5426\u4e3a\u7528\u6237\u64cd\u4f5c",txt:i})},storeDownloadInfo:function(t){var e=t.url;w.clearTwiceTimer(),w.downloadInfo={url:e},w.downloadInfo.startTime=~~w.downloadInfo.startTime,o.a.showLog({title:"\u5b58\u50a8\u4e0b\u8f7d\u4fe1\u606f\uff0c\u4e0b\u8f7d\u5730\u5740",txt:e||null})},goDownload:function(t){var e=t.cb;if(tryGoAppMaxTimer)w.clearTwiceTimer();else{w.downloadInfo.nextTime=(new Date).getTime();var n=w.downloadInfo.nextTime-w.downloadInfo.startTime;if(!(w.downloadInfo.startTime&&n<1e4))return o.a.showLog({title:"\u8ddd\u79bb\u4e0a\u6b21\u4e0b\u8f7d\u65f6\u95f4\u95f4\u9694",txt:n}),tryGoAppMaxTimer=setTimeout((function(){w.downloadInfo.startTime=(new Date).getTime(),w.clearTwiceTimer(),o.a.showLog({title:"\u5f00\u59cb\u4e8c\u6b21\u91cd\u8bd5\u4e0b\u8f7d\uff0c\u5df2\u7b49\u5f85\u65f6\u95f4",txt:tryGoAppMaxTime}),e&&e({startTime:w.downloadInfo.startTime,url:w.downloadInfo.url})}),tryGoAppMaxTime),o.a.showLog({title:"\u8bbe\u7f6e\u4e8c\u6b21\u91cd\u8bd5",txt:"start"}),userDoTimes;o.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})}}},_=w,y=function(t){var e=-2,n=window,i="ios"===o.a._system();return new Promise((function(r,a){i?n.wbDownloadAPI.getIOSInstallInfo((function(t){try{e=~~t.canOpenUrl}catch(n){e=-1}o.a.showLog({title:"wbInstallInfo/re",txt:e+"/"+JSON.stringify(t)}),r(e)})):t?n.wbDownloadAPI.getInstallInfo((function(t){try{e=parseInt(t.status)}catch(n){e=-1}o.a.showLog({title:"wbInstallInfo/re",txt:e+"/"+t.status}),r(e)}),1):n._sinaCallEvent.trigger("sina_suda_action","WeiboJSBridgeUnReady_getAppInstallStates")}))},b=window.SM&&window.SM.data&&window.SM.data.callUpConfig&&window.SM.data.callUpConfig.path||"callup/ulink",x=function(t){return Object.keys(t).forEach((function(e){"string"==typeof t[e]&&(t[e]=t[e].replace(/\:\/\/sapi.sina.cn\/Callup.php/,"://sapi.sina.cn/".concat(b)))})),t},C="Exposure_CN_0928",S="Exposure_CN_0929",k="click_CN_0928",O="click_CN_0929",I="j_downs_layle",E="j_downs_close",A="j_downs_btn",j="j_downs_cover",T=function(t){document.querySelector(".".concat(I)).style.display=t?"":"none"},L=function(t){var e=document.createElement("section");e.className="".concat(I," downs_layle"),e.innerHTML=' \n
\n
\n \x3c!--\u9884\u7559\u4e8b\u4ef6 j_downs_close --\x3e\n \n
\n \n
\n

\u65b0\u6d6a\u65b0\u95fb\u5b98\u65b9

\n

\n \u70ed\u70b9\u8d44\u8baf \u7cbe\u5f69\u89c6\u9891\u62a2\u5148\u770b\n 5.0\u5206\u597d\u8bc4\n

\n
\n \u514d\u8d39 / \u7eff\u8272\u5e94\u7528 / \u4f18\u8d28\n
\n \n
\n
\n \x3c!--\u9884\u7559\u4e8b\u4ef6 j_downs_btn --\x3e\n
\u5b89\u88c5
\n
'),function(){var t=document.createElement("style");t.innerHTML=".layer_cover{position: fixed;left: 0;right: 0;bottom: 0; top: 0; background:rgba(0,0,0,.5);z-index:1000;}\n.downs_meta{position: fixed;left: 0;right: 0;bottom: 0;background:#F4F4F4;z-index: 1001;box-sizing: border-box;padding: .4rem;}\n.j_downs_close{ position: absolute; right: .2rem;top:.2rem; width: .3rem; height: .3rem; cursor: pointer; z-index: 1;background: url(http://n.sinaimg.cn/default/80905340/20200331/close.svg) no-repeat ; background-size: .3rem;background-position: center;padding: .2rem;}\n.downs_info_card{ display:block;clear: both; overflow: hidden;}\n.downs_logo{ float:left; width: 1.52rem;}\n.downs_info{overflow: hidden; padding-left:.2rem}\n.downs_info_h5{ display:block;font-size: .42rem; color: #1a1a1a; line-height: 36px;}\n.downs_info_from{ margin:0 0 .05rem .2rem; font-size: .2rem; color: #FE350E; border: 1px solid #FE350E; font-weight: normal; display: inline-block; border-radius: .04rem; line-height:1; padding:2px 4px; vertical-align: middle; }\n.downs_info_tit{font-size: .26rem; color:#444; line-height:20px; font-weight: normal; position: relative; padding-right: 1.2rem;}\n.downs_info_star{ position: absolute; color: #888; right: 0; font-size: .22rem;}\n.downs_info_tips{ clear: both; position: relative; padding-right: 1.2rem; font-size: .22rem; color: #5786D2; line-height: 20px;}\n.downs_info_appstar{ position: absolute; color: #888; top: .05rem; right: 0; font-size: .22rem; background: url(http://n.sinaimg.cn/default/80905340/20200331/star.png) repeat-x; background-size: .24rem; width: 1.16rem; height: .24rem;}\n.j_downs_btn{ margin-top: .38rem; clear: both; text-align: center; color: #fff; font-size: .34rem; height: .88rem; line-height: .88rem;background:linear-gradient(to right,#eb455b,#eb473b,#eb492b); border-radius: .44rem;}",document.body.appendChild(t)}(),document.body.appendChild(e),function(t){o.a.pageVisibility.visibilitychange((function(){"visible"!==document.visibilityState&&"hidden"!==document.visibilityState||T(!1)})),document.querySelector(".".concat(j)).onclick=function(){T(!1),_sinaCallEvent.trigger("sina_suda_action",O)},document.querySelector(".".concat(E)).onclick=function(){T(!1),_sinaCallEvent.trigger("sina_suda_action",O)},document.querySelector(".".concat(A)).onclick=function(){T(!1),_sinaCallEvent.trigger("sina_suda_action",k),t&&t.installUrl&&(window.location.href=t.installUrl)}}(t)},P=function(t){try{if(_sinaCallEvent.trigger("sina_suda_action",S),_sinaCallEvent.trigger("sina_suda_action",C),document.querySelector(".".concat(I)))return void T(!0);L(t)}catch(e){console.log(e)}};window.showLayerTest=P;var R=P,U="click_CN_0929-loading",N="j_wloading_layle",D="j_wloading_btn",M="j_wloading_cover",B=function(t){try{document.querySelector(".".concat(N)).style.display=t?"":"none"}catch(e){console.log(e.message)}},$=function(t){var e=document.createElement("section");e.className="".concat(N," wloading_layle"),e.innerHTML=' \n
\n
\n \x3c!--\u9884\u7559\u4e8b\u4ef6 j_wloading_close --\x3e\n
\n
\n \n

\u6253\u5f00\u65b0\u6d6a\u65b0\u95fb\uff0c\u9605\u8bfb\u66f4\u4f73

\n \x3c!--\u9884\u7559\u4e8b\u4ef6 j_wloading_btn --\x3e\n
\n
\u6b63\u5728\u8df3\u8f6c
\n
\n \n \n \n \n
\n
\n
\n \n
\n
'),function(){var t=document.createElement("style");t.innerHTML=".layer_cover {\n position: fixed;\n left: 0;\n right: 0;\n bottom: 0;\n top: 0;\n background: rgba(0, 0, 0, .5);\n z-index: 1000;\n}\n.sinanews_loading{\n display:block;\n}\n.wloading_meta {\n position: fixed;\n left: 0;\n right: 0;\n bottom: 0;\n background: #F4F4F4;\n z-index: 1001;\n box-sizing: border-box;\n}\n\n.j_wloading_close {\n position: absolute;\n right: .2rem;\n top: .2rem;\n width: .3rem;\n height: .3rem;\n cursor: pointer;\n z-index: 1;\n background: url(http://n.sinaimg.cn/default/80905340/20200331/close.svg) no-repeat;\n background-size: .3rem;\n background-position: center;\n padding: .2rem;\n}\n\n.wloading_info_card {\n clear: both;\n overflow: hidden;\n text-align: center;padding:.3rem 0\n}\n\n.wloading_logo {\n width: 1.1rem;\n display:inline-block;\n vertical-align:center;\n}\n\n.wloading_info_h3 {\n font-size: .36rem;\n color: #1a1a1a;\n line-height: 1.1rem;\n margin: 0 10px!important;\n display: inline-block;\n}\n\n.wloading_btn {\n clear: both;\n text-align: center;\n color: #444444;\n font-size: .3rem; margin-top:-.1rem\n \n}\n.wloading_txt{}\n.wloading_dots{\n display:block;\n}\n.wloading_dots .wloading_dot {\n display: inline-block;\n height: 0.12rem;\n width: 0.12rem;\n background-color: #444444;\n border-radius: 100%;\n}\n\n.wloading_dots .wloading_dot:nth-of-type(0) {\n animation: myfirstDot 1.2s 0 infinite;\n}\n\n.wloading_dots .wloading_dot:nth-of-type(1) {\n animation: myfirstDot 1.2s 0.3s infinite;\n}\n\n.wloading_dots .wloading_dot:nth-of-type(2) {\n animation: myfirstDot 1.2s 0.6s infinite;\n}\n\n.wloading_dots .wloading_dot:nth-of-type(3) {\n animation: myfirstDot 1.2s 0.9s infinite;\n}\n\n@keyframes myfirstDot {\n 0% {\n transform: scale(1)\n }\n 50% {\n transform: scale(1.2)\n }\n 100% {\n transform: scale(1)\n }\n}",document.body.appendChild(t)}(),document.body.appendChild(e),o.a.pageVisibility.visibilitychange((function(){console.log("visibilityState :",o.a.pageVisibility.visibilityState),"visible"!==document.visibilityState&&"hidden"!==document.visibilityState||B(!1)})),setTimeout((function(){B(!1)}),2e3),document.querySelector(".".concat(M)).onclick=function(t){B(!1),_sinaCallEvent.trigger("sina_suda_action",U),t.preventDefault&&t.preventDefault()}},F=function(){B(!1)},W=function(t){try{if(document.querySelector(".".concat(N)))return void B(!0);$()}catch(e){console.log(e)}};window.showLoadingLayerTest=W,window.hideLoadingLayerTest=F;var q=W,z=F,H=n(8),Q=n(39),V=n(28),K=window;K.getFromUrl=!1;var G=window.location.href.match(/isTestWB2Download/gi),J=window.location.href.match(/isMockBrowser/gi),X=new l.a,Y=0,Z=o.a.isWeibo(),tt=o.a.isSinaNews();function et(){window.weiboJSBridgeReadyTime=(new Date).getTime(),_.sendLog({WeiboJSBridgeReady:Y}),nt()}function nt(){y(Y=1).then((function(t){K.wbInstallInfo=t,K._sinaCallEvent.trigger("sina_suda_action",m)}))}K.isTestUserDoTimes=0,window.isTestWB2Downloaded=0,K.wbInstallInfo=-2,Z&&(document.addEventListener("DOMContentLoaded",(function(t){if("undefined"===typeof window.WeiboJSBridge){var e=document.createElement("iframe");e.id="__WeiboJSInvokeIframe",e.style.display="none",document.documentElement.appendChild(e),e.src="sinaweibo://bridge_initialize"}window.weiboJSBridgeInitTime=(new Date).getTime()})),window.WeiboJSBridge?nt():document.addEventListener("WeiboJSBridgeReady",et)),J&&setTimeout((function(){et()}),1500);var it={openTimer:null,onlyCopy:!1,init:function(t){var e=it,n=o.a.isWeixin(),i=(o.a.isIOS9(),!n&&o.a.isQQ(),o.a.isUC(),x(t)||{});_.storeInfo({WeiboJSBridgeReady:Y,config:i}),o.a.iAssign(e,t),e.platform&&(o.a.showLog({title:"sina_open_native_fullscheme",txt:JSON.stringify({nativeUrl:e.nativeUrl})}),_sinaCallEvent.trigger("sina_open_native_fullscheme",{nativeUrl:e.nativeUrl}),e._gotoNative())},_gotoNative:function(){var t=Q.a,e=X.browser===t.Quark,n=this,i=o.a.isIOS9(),r=o.a.isUC(),a=Date.now(),s=o.a.isOriginalChrome();!i||!n.installUrl||n.isNotScheme||Z||r||tt||e?(n.nativeUrl&&(i&&Z||n.isNotScheme?V.a.newLocation({config:window.iNPHConfig,url:n.nativeUrl}):tt&&n.nativeUrl?window.location.href=n.nativeUrl:(s||r||e)&&!Z&&n.nativeUrl?V.a.newLocation({config:window.iNPHConfig,url:n.nativeUrl}):n.goScheme(n.nativeUrl)),n._checkWBDownload()):n._gotoDownload(a)},goScheme:function(t){if(t){var e=document.body,n=document.createElement("iframe");o.a._system();n.className="J_RAF_"+Math.floor(1e11*Math.random(1)),n.style.display="none",n.style.width="1px",n.style.height="1px",n.border="none",setTimeout((function(){o.a.clearBox("."+n.className)}),2e3);var i=t;n.src=V.a.iCopyHack({config:window.iNPHConfig,url:i}),this.isNoLayer||this.callWay.type==H.a.intent||tt||q(),o.a.showLog({title:"\u547c\u8d77scheme",txt:'

'.concat(n.src,"

")}),~~this.onlyCopy||(e?e.appendChild(n):setTimeout((function(){e.appendChild(n)}),0))}},_checkWBDownload:function(t){var e=this,n=Date.now(),i="ios"===o.a._system();K.wbDownloadAPI&&K.wbDownloadAPI.APIValid();K.wbDownloadAPI&&Z&&y(Y).then((function(t){if(1==K.wbInstallInfo&&0==t&&K._sinaCallEvent.trigger("sina_suda_action",v),1==(K.wbInstallInfo||t)&&wbInstallInfo*t==0){var e={current_installed:t,before_installed:K.wbInstallInfo};_sinaCallEvent.trigger("sina_install_change",e),o.a.showLog({title:"\u5b89\u88c5\u6001\u53d1\u751f\u53d8\u5316",txt:JSON.stringify(e)})}K.wbInstallInfo=t,K._sinaCallEvent.trigger("sina_suda_action",g)})),1==K.wbInstallInfo||t||tt||(!K.isWBValid||i?(e.openTimer&&clearTimeout(e.openTimer),e.openTimer=setTimeout((function(){e._gotoDownload(n)}),e.openTime)):e._gotoDownload(n,""),_.storeDownloadInfo({url:""}))},_gotoDownload:function(t,e){var n=this,i=Date.now(),r=o.a._system(),a=o.a.isWeibo(),s=o.a.isWeiboJsbridgeWay(),c="android"==r&&i-t0){if(o.a.showLog({title:"===\u5168\u5c40\u4e0b\u8f7d\u5f00\u59cb====",txt:"_isNphDownloadPower:"+l}),K._sinaCallEvent.trigger("sina_suda_action","callfail_".concat(n.position)),K._sinaCallEvent.trigger("sina_callfail"),K.newsAppActivity&&K.newsAppActivity.trigger&&c&&a&&K.newsAppActivity.trigger("callupDownload",[]),c&&a&&s&&!n.isGolink){if(G&&!window.isTestWB2Downloaded)return o.a.showLog({title:"===\u9996\u6b21\u4e0b\u8f7d\u5f3a\u5236\u8d70\u91cd\u8bd5\u903b\u8f91====",txt:"\u5f00\u59cb\u5566"}),window.isTestWB2Downloaded=1,void _.goDownload({cb:function(t){var e=t.startTime,i=t.url;n._gotoDownload(e,i)}});if(o.a.showLog({title:"jsBridge\u65b9\u5f0f\u4e0b\u8f7d\u5ba2\u6237\u7aef",txt:"\u5f00\u59cb\u5566"}),Y){K._sinaCallEvent.trigger("sina_suda_action",h),o.a.showLog({title:"\u5f00\u59cb\u4f7f\u7528\u5fae\u535aschemeDownloadApk\u65b9\u6cd5\u4e0b\u8f7d\u5ba2\u6237\u7aef",txt:"\u6700\u7ec8\u4e0b\u8f7d\u4f7f\u7528\u7684jsbridge\u65b9\u5f0f\u4e0b\u8f7d"});try{!K.schemeDownloadApkStart&&K._sinaCallEvent.trigger("sina_suda_action","schemeDownloadApkStart"),K.schemeDownloadApkStart=0,window.wbDownloadAPI.schemeDownloadApk({version:window.isSchemeDownloadApkInit?"V2":"V1",control:"start",cb:function(t){t.schemeDownloadApk&&(V.a.iCopyHack({config:window.iNPHConfig,url:n.nativeUrl}),!K.schemeDownloadApkSuc&&K._sinaCallEvent.trigger("sina_suda_action","schemeDownloadApkSuc"),K.schemeDownloadApkSuc=0,o.a.showLog({title:"\u5df2\u5f00\u59cb\u4f7f\u7528\u5fae\u535aschemeDownloadApk\u65b9\u6cd5\u4e0b\u8f7d\u5ba2\u6237\u7aef",txt:""}))}})}catch(ot){K._sinaCallEvent.trigger("sina_suda_action","schemeDownloadApkErr"),o.a.showLog({title:"weiboJsbridge\u4e0d\u53ef\u7528",txt:"schemeDownloadApk"})}}else K._sinaCallEvent.trigger("sina_suda_action","WeiboJSBridgeUnReady_schemeDownloadApk"),o.a.showLog({title:"weiboJsbridge\u6ca1ready",txt:"\u4e0d\u6267\u884c\u4e0b\u8f7d"}),_.goDownload({cb:function(t){var e=t.startTime,i=t.url;n._gotoDownload(e,i)}})}else a&&K._sinaCallEvent.trigger("sina_suda_action",p),o.a.showLog({title:"\u5f00\u59cb\u4f7f\u7528\u5fae\u535aschemeDownloadApk\u65b9\u6cd5\u4e0b\u8f7d\u5ba2\u6237\u7aef",txt:"\u6700\u7ec8\u4e0b\u8f7d\u4f7f\u7528\u7684jsbridge\u65b9\u5f0f\u4e0b\u8f7d"+(new Date).getTime()}),n.isNoLayer?setTimeout((function(){o.a.showLog({title:"\u5f00\u59cb\u4e0b\u8f7d",txt:(new Date).getTime()+"/"+n.installUrl}),document.hidden||document.webkitHidden||(K.location.href=!!e&&e||n.installUrl)}),50):(z(),R(n));_sinaCallEvent&&_sinaCallEvent.trigger("get_wb_progress",n.targetEl)}else K.wbInstallInfo=-2}};K.sinaOpenNative=function(t){var e=t||{};it.init(e)},_sinaCallEvent.on("sina_direct_open",sinaOpenNative);n(186)},function(t,e,n){},function(t,e,n){"use strict";n.r(e);var i=n(5),o=n(2),r=n(3),a=(n(60),function(){function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:10;Object(o.a)(this,t),this.root=e,this.margin=this.initMargin(n),this.initObserver()}return Object(r.a)(t,[{key:"initMargin",value:function(t){if("number"===typeof t)return"-"+t+"px";if("object"===typeof t&&t){var e=new Array(4).fill("0px");return Object.keys(t).forEach((function(n){var i="-"+t[n]+"px";"top"===n&&(e[0]=i),"right"===n&&(e[1]=i),"bottom"===n&&(e[2]=i),"left"===n&&(e[3]=i)})),e.join(" ")}}},{key:"initObserver",value:function(){this.observer=new IntersectionObserver((function(t,e){t.forEach((function(t){if(t.isIntersecting){var n=setTimeout((function(){t.target.__cr||e.unobserve(t.target),t.target.__act(t.target),t.target.dataset.__exposured=t.target.__cr?2:1}),t.target.__ts);t.target.__expt=n}else t.target.__expt&&clearTimeout(t.target.__expt)}))}),{root:this.root,rootMargin:this.margin,threshold:[.1]})}},{key:"observe",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=n.repeat,o=void 0!==i&&i,r=n.threshold,a=void 0===r?300:r;t.__act=e,t.__ts=a,t.__cr=o,this.observer.observe(t)}},{key:"observeAll",value:function(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),i=1;i0?(e&&(C=t.substring(n)),t.substring(0,n)):(e&&(C=""),t)}function O(t){for(var e=0,n=0,i=t;e=i.indexOf("<"),n=i.indexOf(">",e),e>=0&&n>=0&&n>e;)i=i.substring(0,e)+i.substring(n+1,i.length);return i}function I(t,e,n){if(null!=e){var i=function(){if(""!=h)return h;var t="",e=y.toLowerCase(),n=e.indexOf("sina.");if(n>0)t="sina.cn";else{var i=e.indexOf(".");if(!(i>0))return"";i+=1,(n=e.indexOf("/",i))<0&&(n=e.length),t=e.substring(i,n)}return h=t,t}();if("undefined"==n||null==n)document.cookie=t+"="+e+"; domain="+i+"; path=/";else{var o=new Date,r=o.getTime();r+=864e5*n,o.setTime(r),r=o.getTime(),document.cookie=t+"="+e+"; domain="+i+"; expires="+o.toUTCString()+"; path=/"}}}function E(){if(!(Math.floor(100*Math.random())0&&s.observeAll(e,(function(t){for(var e=0;e-1?"&":"?";e=e+o+"clicktime="+t+"&userid="+i}if("_blank"==n){var r=window.navigator.userAgent.toLowerCase();/ucbrowser/i.test(r)?window.location.href="ext:wo:"+e+C:/qqbrowser/i.test(r)?window.location.href=e+C:window.open(e+C)}else window.location.href=e+C}),200)}function T(t,e,n){for(var i=0;i=n?null:t}function L(t){var e=t.srcElement||t.target;if(null==e&&e==document)return!1;var n="",o="",r="",a="",s="";if("A"==e.tagName)n="txt",o=O(e.innerHTML),r=k(e.href,!0),s=e.getAttribute("target"),a=e;else if("IMG"==e.tagName){n="img",o=e.alt;var c=T(e,"A",8);c&&(r=k(c.href,!0),s=c.getAttribute("target"),a=c)}else{n="txt",o=O(e.innerHTML);var u=T(e,"A",8);u&&(r=k(u.href,!0),s=u.getAttribute("target"),a=u)}var l="",d=e.tagName,f="",h=!1;try{for(var p=0;p<10&&e!=document;p++){var g=e.getAttribute("data-sudaclick");e.getAttribute("data-sudaexposure");if(g){var m=e.getAttribute("data-sudatagname");if(m)h=!0,m.split(",").forEach((function(t){t.toUpperCase()==d&&(h=!1)}));l=g;for(var v=e.getElementsByTagName("A"),_=0;_30&&(o=o.substr(0,30));var y=(new Date).getTime();r=r.replace(/(\r\n)|(\n)|(\t)|(\<)|(\>)/gim,"");var b={data:{index:f,aid:l,url:encodeURIComponent(r)},action:"_click"};j(P(Object(i.a)({t:n,s:o,h:escape(r+(-1==r.indexOf("?")?"?":"&")+"channel="+w),ct:y,aid:l+"-"+f},S)),r,s,b)}}function P(t){var e="";for(var n in t)t[n]&&(e+=n+"="+t[n]+",");return e.substring(0,e.length-1)}function R(){U(window)}function U(t){for(var e=t.frames,n=0;n0&&(c=t,u=e,n,"function"===typeof window.getUserInfo&&"file:"!==window.location.protocol?window.getUserInfo((function(t){t&&t.uid&&(window.sudaMapConfig.uId=t.uid),E()}),!0):E(),l=!0)},D=function(t){if(!t.name)return!1;if(!l)return console.warn("SIMA has not inited!"),!1;t.type||(t.type="btn"),t.title||(t.title=""),t.index||(t.index=0),t.href||(t.href=window.location.href);var e=(new Date).getTime();j(P(Object(i.a)({t:t.type,s:t.title,h:escape(t.href+(-1==t.href.indexOf("?")?"?":"&")+"channel="+w),ct:e,aid:t.name+"-"+t.index},S)),"",void 0==t.target?"":t.target)};var M="";function B(t){for(var e in t)"string"==typeof t[e]&&(t[e]=t[e].replace(/(\r\n)|(\n)|(\t)|(\<)|(\>)/gim,""),t[e]=t[e].replace(/#/gim,""));return t}"function"===typeof window.getCookie&&(M=window.getCookie(g)||""),"function"!=typeof Object.assign&&(Object.assign=function(t,e){if(null==t)throw new TypeError("Cannot convert undefined or null to object");for(var n=Object(t),i=1;i1){var e=t[1].replace(/_/gi,".");return parseInt(e)}return 0}(n)},getWeiboVersion:function(){var t=this._UA,e=this.UAIdentify,n=t.split("__"+e.weibo+"__"),i=n.length>1?n[1]:"0.0.0";return this.getVersion(i)},getVersion:function(t){var e=t.split(".");return parseFloat(e[0]+"."+parseInt(e[1]))},isInclude:function(t,e){return t.indexOf(e)>-1},isIOS9:function(){return this.getIOSVersion()>=9},_system:function(){return this._UA.match(/iphone|ipod|ipad/gi)?"ios":"android"},isOriginalChrome:function(){return this.OpenTypeIdentify.isOriginalChrome.test(this._UA)},createScript:function(t){var e=document.createElement("script");e.src=t,document.body.appendChild(e)}};i.createCheckFunc(),e.a=i},function(t,e,n){"use strict";var i=n(58),o=n(0),r=n(53),a=n(55),s="undefined"!==typeof __docConfig&&__docConfig||{};function c(t){var e=t||{},n=r.a||{},c=o.a.isExist(e,"callupid")||o.a.isExist(e,"docid"),u=!!parseInt(e.globalswitch)&&o.a.isExist(s,"__callupId")||o.a.isExist(s,"__docId")||o.a.isExist(e,"callupid"),l=o.a.isExist(e,"tabId")&&n.tab,d=o.a.isExist(e,"url")&&n.h5,f=o.a.isExist(e,"paramsid")&&n.event,h=o.a.isExist(e,"ch")&&n.ch,p=o.a.isExist(e,"hybridId")&&n.hybrid,g=o.a.isExist(e,"hbNewsId")&&n.newHybrid,m=o.a.isExist(e,"keyword")&&n.search,v=o.a.isExist(e,"searchRank")&&n.searchRank,w=o.a.isExist(e,"calendar")&&n.calendar,_=(o.a.isExist(e,"newroute")||o.a.isExist(e,"routeuri"))&&n.newRoute||w||m||v||g||p||l||h||f||(c||u)&&n.doc||d||"defaultInfo",y=i.a[_](e),b=o.a.getExistVal({box:a.a,key:e.app||"news",defaultkey:"news"}),x="newRoute"===_||o.a.getForceNewRoutePower(t);return{fullRoute:{scheme:"".concat(x?"":b.head+"://").concat(y.schemeParams),ios9:"".concat(b.ios9Https).concat(x?"?routeUri="+encodeURIComponent(y.ios9Params):"?"+y.ios9Params)},routeParams:y,pageType:x&&n.newRoute||_}}window.getRouteUri=c,e.a=c},function(t,e){var n={protocol:"https:"==window.location.protocol?"https:":"http:",init:function(t,e){var n={width:e.width,height:e.height,top:e.top||0,left:e.left||50,after:e.after||"c55",cut:e.cut,server:e.server};return/ssl=1/.test(location.href)&&(this.protocol="https:"),/sina/.test(t)&&1==n.server?this.k_cut(t,n):/miaopai/.test(t)||0==n.server?this.z_cut(t,n):t},reg_combine:function(t){return t.cut?"w"+t.width+"h"+t.height+"f1t"+t.top+"l"+t.left+"q90"+t.after:0!=parseInt(t.height)?"w"+t.width+"h"+t.height+"q90"+t.after:"w"+t.width+"q90"+t.after},k_cut:function(t,e){var n=t.split("."),i=n[n.length-1],o=null,r=this.reg_combine(e)||"w200h134f1t10q90c55";return/\.(png|jpe?g|gif|svg|webp)\/[a-zA-Z0-9_]*\.(png|jpe?g|gif|svg|webp)/.test(t)?/https?:\/\/l\.sinaimg\.cn/.test(t)?t.substring(0,t.lastIndexOf("/")+1)+r+"."+i:this.z_cut(t,e):(o=t.match(/(http|https):\/\/(www|n|wx1)\.sinaimg\.cn/i))?t.replace(o[0],this.protocol+"//k.sinaimg.cn/"+o[2])+"/"+r+".jpg":this.z_cut(t,e)},z_cut:function(t,e){var n=e.width+"_"+e.height;return e.cut?this.protocol+"//z"+Math.floor(10*Math.random())+".sinaimg.cn/auto/crop?img="+encodeURIComponent(t)+"&size="+n:this.protocol+"//z"+Math.floor(10*Math.random())+".sinaimg.cn/auto/resize?img="+encodeURIComponent(t)+"&size="+n}};t.exports=n},function(t,e,n){"use strict";e.a=function(){return!1}},function(t,e,n){"use strict";(function(t){var i=n(15),o="object"==typeof exports&&exports&&!exports.nodeType&&exports,r=o&&"object"==typeof t&&t&&!t.nodeType&&t,a=r&&r.exports===o?i.a.Buffer:void 0,s=a?a.allocUnsafe:void 0;e.a=function(t,e){if(e)return t.slice();var n=t.length,i=s?s(n):new t.constructor(n);return t.copy(i),i}}).call(this,n(86)(t))},function(t,e,n){"use strict";var i=n(0),o=n(28),r=function(t){var e=document.getElementById("callDirectlyId"),n="http://gogocan.com:61594/wakeup?r="+t;if(e)e.src=n;else{var i=document.createElement("img");i.id="callDirectlyId",i.style.height=0,i.style.width=0,i.src=n,document.body.appendChild(i)}},a="undefined"!==typeof __docConfig&&__docConfig||{},s=function(){var t="undefined"!=typeof _SACONFIG&&_SACONFIG||"",e=function(){var t=document.location.search;function e(t){var e=new RegExp("(^|&)"+t+"=([^&]*)(&|$)","i"),n=window.location.search.substr(1).match(e),i="";return null!=n&&(i=n[2]),e=null,n=null,null==i||""==i||"undefined"==i?"":i}return t.indexOf("cu_domain"),t.indexOf("cu_type"),!!(t.indexOf("cu_pos")>-1)&&{domain:e("cu_domain"),type:e("cu_type"),channel:e("cu_channel")||e("cu_domain"),position:e("cu_pos")}}(),n=window.SM||{},i={media:t&&t.media||"sinawap",domain:t&&t.domain||document.domain.split(".")[0],channel:t&&t.channel||"news",type:t&&t.type||"index",calluptype:t&&t.calluptype||"SN_",position:t&&t.position||"0000",timeStamp:(new Date).getTime(),url:t&&t.url||window.location.href,dataid:a.__dataid||"",pkey:a.__pkey||n&&n.doc&&n.doc.pkey||"",pageDataid:n&&n.doc&&n.doc.dataid||""};return i.domain=a.__tj_sch||i.domain,i.channel=a.__tj_ch||i.domain,i.type=a.__tj_type||"article",i.calluptype=i.calluptype,!window.getFromUrl&&e&&(i.domain=e.domain||i.domain,i.channel=e.channel||i.channel,i.type=e.type||i.type,i.position=e.position||i.pos,window.getFromUrl=!0),i},c="undefined"!==typeof __docConfig&&__docConfig||{},u="undefined"!==typeof sudaLogConfig&&sudaLogConfig||{},l="undefined"!==typeof SM&&SM||{};function d(){var t="undefined"!==typeof SM&&SM||{};if(t.data&&t.data.pageType)return t.data.pageType;var e="other";try{var n=c.__docId?"art":"",i=t.data&&t.data.channelType||"",o=window.location.href.match(/\/\/sina\.cn/gi)?"home":"";return n||i||o||e}catch(r){return e}}function f(t){var e=t||window.iNPHConfig;return e&&(function(t){var e=l.data&&l.data&&l.data.callUpConfig&&l.data.callUpConfig.comLogInfo||{};return t?Object.assign({},e.all,JSON.parse(t||"{}")||{}):e.all||{}}(e.comloginfo)||e.comloginfokey&&function(t){var e=l.data&&l.data&&l.data.callUpConfig&&l.data.callUpConfig.comLogInfo||{};return t?Object.assign({},e.all,e[t]||{}):e.all||{}}(e.comloginfokey))}function h(){var t=u.channel||"",e=window.location.host.split(".")[0];return t||("sina"===e?"home":e)}function p(t){var e={fromSN:window.iNPHConfig&&window.iNPHConfig.calluptype||"",sid:i.a.getCookie("Apache")||"",pageType:d()||"other",channel:h()||"",backId:(i.a.getQueryVariable(window.location.href)||{}).backId||"",browser:window.checkCallWayType().browser||""};return Object.assign(e,f(t)||{})}window.gkInfo=window.gkInfo||{},window.getCommonNPHCof=p;var g=p,m=(document.location.href.match(/debug\=1/gi),"undefined"!==typeof __docConfig&&__docConfig,{config:{},weiboslience:"sinaweibo://appsdownload?APPID=84475&pyid=2028810631",keyListOrder:["media","domain","channel","type","position","timeStamp","url","ustat"],getKInfo:function(){var t=this.config,e=this.config,n=s(),o="undefined"!==typeof e.paramsK&&e.paramsK||"";return t.media=o&&o.media||n.media,t.domain=o&&o.domain||n.domain,t.channel=o&&o.channel||n.channel,t.type=o&&o.type||n.type,t.calluptype=o&&o.calluptype||n.calluptype,t.position=o&&o.position||n.position,t.timeStamp=(new Date).getTime(),t.url=o&&o.url||n.url,t.ustat=i.a.getCookie("ustat")||"",t.dataid=o&&o.dataid||n.dataid,t.pageDataid=o&&o.pageDataid||n.pageDataid,t.pkey=o&&o.pkey||n.pkey,t.tjShowType=o&&o.tjShowType||n.tjShowType,t},getNativeUrl:function(t){var e=t||"",n=e.indexOf("sinanews")>-1||e.indexOf("sapi.sina.cn")>-1,o=!e.match(/(sinanews)(\S*)(k\=)(\S*)/)||!e.match(/(sapi.sina.cn)(\S*)(k\=)/),r=this.keyListOrder,a=this.getKInfo(),s=[],c=!1;try{window.location.hostname.match(/sina\.cn/gi)&&getUserInfo((function(t){c=t}))}catch(m){console.log(m.message)}if(n&&o){var u=g(window.iNPHConfig),l="";for(var d in r){var f=r[d];switch(f){case"url":default:l=a[f];break;case"type":var h=!!c&&!!c.uid&&c.uid||"";l=[a.type||"","uid"+h].join("_");break;case"position":l=[a.calluptype||"",i.a.getFullNumber(a.position)].join("");break;case"ustat":l=["ustat",a[f],"end"].join("_");break;case"media":l="sinanews"===u.browser?"sinanews":a[f]}"function"!=typeof f&&s.push(encodeURIComponent(l))}var p={ref:document.referrer&&document.referrer.split("?")[0]||"-",dataid:a.dataid||"-",pageDataid:a.pageDataid||"-",pkey:a.pkey||"-",tjShowType:a.tjShowType||""};s.push(encodeURIComponent(JSON.stringify(Object.assign(p,u))))}return n?(this._addKToNativeUrl(e,s),this.addKToNativeUrl(e,s)):e},addKToNativeUrl:function(t,e){var n=e.join("*"),o=i.a.checkNewRoute(decodeURIComponent(t)),r=!!t.match(/sapi\.sina\.cn/),a="",s="";if(o)if(r){var c=t.split("?").length>1&&t.split("?")[1]||"",u=i.a.getQueryString(c,"routeUri")||"";u&&(a=i.a.getNewRouteUriJoinFlag(u),s="".concat(a,"k=").concat(n),t=t.replace(encodeURIComponent(u),encodeURIComponent(u+s)))}else a=i.a.getNewRouteUriJoinFlag(t),t+=s="".concat(a,"k=").concat(n);else t+=s="".concat(a="::","k=").concat(n);return t},_addKToNativeUrl:function(t,e){var n,o=e.join("*"),r=t.length>"sinanews".length,a=i.a.checkNewRoute(decodeURIComponent(t)),s="";return r&&(s=a?-1!=t.indexOf("?")?"&":"?":"::"),n="".concat("?"!=t.slice(-1)?s:"","k=").concat(o),t+=t.match(/sapi\.sina\.cn/)&&a?encodeURIComponent(n):n},toAddNewsStaticParams:function(t){var e=t||{},n=this;return e.iosNativeUrl===e.androidNativeUrl?e.iosNativeUrl=e.androidNativeUrl=n.getNativeUrl(e.iosNativeUrl):(e.iosNativeUrl=n.getNativeUrl(e.iosNativeUrl),e.androidNativeUrl=n.getNativeUrl(e.androidNativeUrl)),e.ios9Url=n.getNativeUrl(e.ios9Url),e.ios9Weixin=n.getNativeUrl(e.ios9Weixin),e},init:function(t){var e=t||{},n=e.androidNativeUrl||e.iosNativeUrl||"",i=n.indexOf("sinanews")>-1||n.indexOf("sinasports")>-1;return this.config=e,i&&(e=this.toAddNewsStaticParams(e)),e}}),v=n(54),w=window.SM&&window.SM.data&&window.SM.data.callUpConfig&&window.SM.data.callUpConfig.shiftKnob||0,_={},y=i.a._system(),b=i.a.isWeibo(),x=i.a.isSinaNews(),C=function(t){var e=s(),n=t||"";return n?(n.indexOf("cu_pos=")<=-1&&n.match(/https\:\/\/so.sina.cn\/palmnews/gi)&&(n.indexOf("?")<=-1&&(n+="?"),n+="&cu_pos="+e.position+"&cu_domain="+e.domain+"&cu_type="+e.type),n):n},S=function(t){_=t||{};Number(_.newRoute);var e=_.hasOwnProperty("downloadswitch");if(e&&parseInt(_.downloadswitch)||!e)_.iosInstallUrl=C(_.iosInstallUrl),_.androidInstallUrl=function(t,e){var n=e||"sinaweibo://appsdownload?APPID=84475&pyid=2028810631",o=i.a.getWeiboVersion(),r="android"==i.a._system();return t&&t.match(/jump_client.d.html|so.sina.cn\/palmnews|app\/download|app\_download/g)&&b&&r&&o>=6?n:C(t)}(_.androidInstallUrl,_.weiboslience);else if(_.iosInstallUrl=_.androidInstallUrl="",_.ios9Url&&!_.ios9Url.match(/downloadswitch=0/gi)){var n=_.ios9Url.match(/\?/gi)?"&":"?";_.ios9Url+=n+"downloadswitch=0"}if("ios"==y){_.installUrl=parseInt(w)?window.config.useInstallUrl&&b&&_.iosInstallUrl||"":_.iosInstallUrl||"";var o=_.installUrl.match(/(\S*)(d\.php\?k\=)(\S*)/);b&&_.installUrl&&o&&(_.installUrl+="&sinainternalbrowser=external")}else _.installUrl=t.androidInstallUrl||"";return(x||~~_.onlyCopy)&&(_.installUrl=""),_},k=n(52),O=n.n(k),I=n(8),E=n(39),A=new O.a,j=E.a,T=A.device,L=i.a._UA,P=i.a.isWeibo(),R=i.a.isUC(),U=A.browser===j.Quark,N=A.browser===j.QQ,D=A.browser===j.QQBrowser,M=A.browser===j.Wechat,B=A.browser===j.XiaoMi,$=A.browser===j.HuaweiBrowser,F=(A.browser,j.VivoBrowser,i.a.isOriginalChrome()),W=i.a._system(),q=i.a.isIOS9(),z=A.os===j.iPad,H=A.browser===j.Chrome&&L.indexOf("HeyTap")>0,Q=i.a.isSinaNews(),V=null,K=function(){var t={type:I.a.universal,power:q&&!R&&!P&&!Q&&!U||z&&!Q,browser:A.browser,device:T},e={type:I.a.yyb,power:"android"===W&&(N||M||D),browser:A.browser,device:T},n=function(){var t=F&&"android"===W;return{type:I.a.intent,power:t,browser:A.browser,device:T}}(),i={type:I.a.schemeLayer,power:($||B||H)&&"android"===W,browser:H>0?j.OppoBrowser:A.browser,device:T};return t.power&&t||e.power&&e||n.power&&n||i.power&&i||{type:I.a.schemeAPK,power:!0,browser:A.browser,device:T}},G=function(){return V=V||K()};window.checkCallWayType=G;var J=G;function X(t){var e=JSON.parse(t),n={};for(var i in e){n[decodeURIComponent(i)]=e[i]}return console.log("\u6821\u9a8c\u6587\u4ef6\u5df2\u6210\u529f\u83b7\u53d6",n),n}function Y(t){var e=t.url,n=t.isUpdate,i=t.checkRule;return new Promise((function(t,o){n&&t({checkRule:i,isUpdate:!0});try{var r=new XMLHttpRequest;r.open("GET",e,!1),r.send(),200==r.status&&t({checkRule:Object.assign({},X(r.responseText)),isUpdate:!0})}catch(a){console.log("\u83b7\u53d6\u6821\u9a8c\u6587\u4ef6\u5931\u8d25\uff0c\u8bf7\u7a0d\u540e\u91cd\u8bd5~")}t({checkRule:i,isUpdate:!1})}))}var Z=Y({url:"https://mfejs.sina.cn/V1Json.js",isUpdate:!1,checkRule:{}}),tt=Y({url:"https://mfejs.sina.cn/V2Json.js",isUpdate:!1,checkRule:{"sinanews://sina.cn/video/detail.pg":[{keyName:"dataid",comment:"dataid"}],"sinanews://sina.cn/article/detail.pg":[{keyName:"dataid",comment:"dataid"}],"sinanews://sina.cn/photo/detail.pg":[{keyName:"dataid",comment:"dataid"}],"sinanews://sina.cn/audio/player.pg":[{keyName:"dataid",comment:"dataid"}],"sinanews://sina.cn/video/miniVideo.pg":[{keyName:"dataid",comment:"dataid"}],"sinanews://sina.cn/live/verticalLive.pg":[{keyName:"dataid",comment:"dataid"}],"sinanews://sina.cn/post/detail.pg":[{keyName:"dataid",comment:"dataid"}]}}),et=new Promise((function(t){Promise.all([Z,tt]).then((function(e){t({ruleV1:e[0].checkRule,ruleV2:e[1].checkRule,isUpdateRuleV1:e[0].isUpdate,isUpdateRuleV2:e[1].isUpdate})}))})),nt=(n(187),{});et.then((function(t){nt=t}));var it="sina_wap_scheme_".concat(document.domain,"_").concat(window.SM&&window.SM.data&&window.SM.data.pageType||""),ot=/undefined|null|NaN/g;!window._ERR_REP&&window.startReport(it);var rt=function(t,e){t.calluptype=e.calluptype,t.pageDataid=e.pageDataid,t.targetClass=e.targetEle&&e.targetEl.className||"",i.a.showLog({title:"[sendLogArr list]",txt:JSON.stringify(t)}),window._ERR_REP&&window._ERR_REP.reportCustomError(encodeURIComponent(JSON.stringify(t)),{j:it})},at=function(t){var e=t.match(ot);return!!(e&&e.length>0)},st=function(t){var e=t.androidNativeUrl||"";0===e.indexOf("sinanews://sina.cn")?function(t){var e=t.androidNativeUrl||"",n={scheme:e,info:"",isUpdateRuleV2:nt.isUpdateRuleV2},o=0,r=e.split("?")[1],a=e.split("?")[0],s=nt.ruleV2[a]||[];s.length>0&&(s.forEach((function(t){var e=i.a.getQueryString(r,t.keyName);(!e||e.match(ot)&&e.match(ot).length>0)&&(o++,n.info+="/".concat(t.keyName,"[").concat(t.comment,"]"))})),at(e)&&(o++,n.info+="/fullScheme[\u5b8c\u6574scheme\u68c0\u6d4b\u5f02\u5e38]"),o>0)&&rt(n,t)}(t):e.indexOf("params=")>-1&&function(t){var e=t.androidNativeUrl||"",n={scheme:e},i=0,o=e.match(/params=(.*?)(\:\:|$)/),r=JSON.parse(decodeURIComponent(o&&o[1]||{}));if(r.id){var a=r.dataid;(!a||a.match(ot)&&a.match(ot).length>0)&&i++}at(e)&&i++,i>0&&rt(n,t)}(t)};n(9),J(),g();var ct="sinanews://sina.cn/video/detail.pg",ut="sinanews://sina.cn/video/miniVideo.pg",lt=function(t){return t&&t.replace(ct,ut).replace(encodeURIComponent(ct),encodeURIComponent(ut))||""},dt=function(t){return t.nativeUrl=lt(t.nativeUrl),t.ios9Url=lt(t.ios9Url),t.ios9Weixin=lt(t.ios9Weixin),t.iosNativeUrl=lt(t.iosNativeUrl),t.androidNativeUrl=lt(t.androidNativeUrl),t};"undefined"!==typeof SM&&SM;window.waitingLogList=[];var ft=window,ht=function(t){var e=null,n="";"string"!=typeof t?(n=t.code,e=t):(n=t,e=window.iNPHConfig),function(t,e){var n=g(e),o=JSON.stringify(Object.assign({installAppFromWeibo:~~ft.wbInstallInfo},n)),r={name:t,type:encodeURIComponent(o),title:"",index:"",href:""};if(i.a.showLog({title:"send log ",txt:t+"/"+o}),waitingLogList.push(r),"function"==typeof ft.suda_count||ft.suda_count){for(var a in waitingLogList)ft.suda_count(waitingLogList[a]);waitingLogList=[]}}(n,e)};(function(){_sinaCallEvent.on("sina_suda_action",ht)})();var pt={},gt=i.a.isWeixin(),mt=i.a.isIOS9(),vt=!gt&&i.a.isQQB(),wt=(!gt&&!vt&&i.a.isQQ(),i.a.isWeibo()),_t=i.a.isUC(),yt=function(t){var e=J();if("PC"!=e.device||"UC"==e.browser)if(~~t.tryCallDirectly)r(t.nativeUrl);else switch(e.type!==I.a.yyb||t.openByWeixin||(e.type=I.a.other),e.type!==I.a.schemeLayer||t.nextIsDownload&&!wt||(e.type=I.a.schemeH5),t.callWay=e,e.type){case I.a.universal:!function(t,e){mt&&t.ios9Url&&!wt&&!_t||"iPad"===e.device?o.a.newLocation({config:t,url:t.ios9Url}):_sinaCallEvent.trigger("sina_direct_open",t)}(t,e);break;case I.a.yyb:!function(t){t.openByWeixin+=t.openByWeixin.indexOf("?")<0?"?":"";var e=t.openByWeixin.indexOf("app.qq.com")>0?"&android_schema="+encodeURIComponent(t.nativeUrl):"",n=t.openByWeixin+e;o.a.newLocation({config:t,url:n})}(t);break;case I.a.intent:case I.a.schemeLayer:case I.a.schemeH5:default:pt.isNoLayer=!0,_sinaCallEvent.trigger("sina_direct_open",pt)}else!function(t,e){t.installUrl?("Safari"===e.browser?window.location.href=t.ios9Url:window.location.href=t.nativeUrl,setTimeout((function(){window.location.href=t.installUrl}),0)):console.log("\u8df3\u8f6c\u5730\u5740\u4e3a\u7a7a\uff01\uff01\uff01")}(t,e)},bt=function(t){window.iNPHConfig=t,pt=S(t),pt=m.init(pt)||{},pt=v.a.reset(pt),window.iNPHConfig=pt,window.iNPHConfig.useInstallUrl||~~t.isNotSendClickLog||~~pt.onlyCopy||(i.a.showLog({title:"sina_suda_action",txt:"click_".concat(pt.position)}),_sinaCallEvent.trigger("sina_suda_action","click_".concat(pt.position))),_sinaCallEvent.trigger("native_call_start",t.targetEl),pt=dt(pt),st(pt),yt(pt)};window.goOpenNative=function(t){bt(t)};e.a=bt},function(t,e){var n,i,o=t.exports={};function r(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function s(t){if(n===setTimeout)return setTimeout(t,0);if((n===r||!n)&&setTimeout)return n=setTimeout,setTimeout(t,0);try{return n(t,0)}catch(e){try{return n.call(null,t,0)}catch(e){return n.call(this,t,0)}}}!function(){try{n="function"===typeof setTimeout?setTimeout:r}catch(t){n=r}try{i="function"===typeof clearTimeout?clearTimeout:a}catch(t){i=a}}();var c,u=[],l=!1,d=-1;function f(){l&&c&&(l=!1,c.length?u=c.concat(u):d=-1,u.length&&h())}function h(){if(!l){var t=s(f);l=!0;for(var e=u.length;e;){for(c=u,u=[];++d1)for(var n=1;n=e.length?(t.target=void 0,{value:void 0,done:!0}):"keys"==n?{value:i,done:!1}:"values"==n?{value:e[i],done:!1}:{value:[i,e[i]],done:!1}}),"values");var p=r.Arguments=r.Array;if(o("keys"),o("values"),o("entries"),!u&&l&&"values"!==p.name)try{s(p,"name",{value:"values"})}catch(g){}},function(t,e,n){var i=n(11),o=n(12),r=n(42),a=Object,s=i("".split);t.exports=o((function(){return!a("z").propertyIsEnumerable(0)}))?function(t){return"String"==r(t)?s(t,""):a(t)}:a},function(t,e,n){var i=n(16),o=n(44),r=n(18).f,a=i("unscopables"),s=Array.prototype;void 0==s[a]&&r(s,a,{configurable:!0,value:o(null)}),t.exports=function(t){s[a][t]=!0}},function(t,e,n){var i,o,r=n(19),a=n(137),s=r.process,c=r.Deno,u=s&&s.versions||c&&c.version,l=u&&u.v8;l&&(o=(i=l.split("."))[0]>0&&i[0]<4?1:+(i[0]+i[1])),!o&&a&&(!(i=a.match(/Edge\/(\d+)/))||i[1]>=74)&&(i=a.match(/Chrome\/(\d+)/))&&(o=+i[1]),t.exports=o},function(t,e,n){var i=n(37);t.exports=i("navigator","userAgent")||""},function(t,e,n){var i=n(17),o=n(93),r=n(18),a=n(25),s=n(31),c=n(141);e.f=i&&!o?Object.defineProperties:function(t,e){a(t);for(var n,i=s(e),o=c(e),u=o.length,l=0;u>l;)r.f(t,n=o[l++],i[n]);return t}},function(t,e,n){var i=n(29),o=n(21),r=n(96),a=n(69),s=n(140),c=n(16),u=TypeError,l=c("toPrimitive");t.exports=function(t,e){if(!o(t)||r(t))return t;var n,c=a(t,l);if(c){if(void 0===e&&(e="default"),n=i(c,t,e),!o(n)||r(n))return n;throw u("Can't convert object to primitive value")}return void 0===e&&(e="number"),s(t,e)}},function(t,e,n){var i=n(29),o=n(10),r=n(21),a=TypeError;t.exports=function(t,e){var n,s;if("string"===e&&o(n=t.toString)&&!r(s=i(n,t)))return s;if(o(n=t.valueOf)&&!r(s=i(n,t)))return s;if("string"!==e&&o(n=t.toString)&&!r(s=i(n,t)))return s;throw a("Can't convert object to primitive value")}},function(t,e,n){var i=n(97),o=n(74);t.exports=Object.keys||function(t){return i(t,o)}},function(t,e,n){var i=n(31),o=n(98),r=n(73),a=function(t){return function(e,n,a){var s,c=i(e),u=r(c),l=o(a,u);if(t&&n!=n){for(;u>l;)if((s=c[l++])!=s)return!0}else for(;u>l;l++)if((t||l in c)&&c[l]===n)return t||l||0;return!t&&-1}};t.exports={includes:a(!0),indexOf:a(!1)}},function(t,e){var n=Math.ceil,i=Math.floor;t.exports=Math.trunc||function(t){var e=+t;return(e>0?i:n)(e)}},function(t,e,n){var i=n(72),o=Math.min;t.exports=function(t){return t>0?o(i(t),9007199254740991):0}},function(t,e,n){var i=n(37);t.exports=i("document","documentElement")},function(t,e,n){var i=n(19),o=n(10),r=i.WeakMap;t.exports=o(r)&&/native code/.test(String(r))},function(t,e,n){"use strict";var i={}.propertyIsEnumerable,o=Object.getOwnPropertyDescriptor,r=o&&!i.call({1:2},1);e.f=r?function(t){var e=o(this,t);return!!e&&e.enumerable}:i},function(t,e,n){var i=n(12),o=n(10),r=n(20),a=n(17),s=n(100).CONFIGURABLE,c=n(149),u=n(46),l=u.enforce,d=u.get,f=Object.defineProperty,h=a&&!i((function(){return 8!==f((function(){}),"length",{value:8}).length})),p=String(String).split("String"),g=t.exports=function(t,e,n){"Symbol("===String(e).slice(0,7)&&(e="["+String(e).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),n&&n.getter&&(e="get "+e),n&&n.setter&&(e="set "+e),(!r(t,"name")||s&&t.name!==e)&&(a?f(t,"name",{value:e,configurable:!0}):t.name=e),h&&n&&r(n,"arity")&&t.length!==n.arity&&f(t,"length",{value:n.arity});try{n&&r(n,"constructor")&&n.constructor?a&&f(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(o){}var i=l(t);return r(i,"source")||(i.source=p.join("string"==typeof e?e:"")),t};Function.prototype.toString=g((function(){return o(this)&&d(this).source||c(this)}),"toString")},function(t,e,n){var i=n(11),o=n(10),r=n(64),a=i(Function.toString);o(r.inspectSource)||(r.inspectSource=function(t){return a(t)}),t.exports=r.inspectSource},function(t,e,n){var i=n(20),o=n(151),r=n(99),a=n(18);t.exports=function(t,e,n){for(var s=o(e),c=a.f,u=r.f,l=0;l1?arguments[1]:void 0);e=e?e.next:n.first;)for(i(e.value,e.key,this);e&&e.removed;)e=e.previous},has:function(t){return!!_(this,t)}}),r(p,n?{get:function(t){var e=_(this,t);return e&&e.value},set:function(t,e){return w(this,0===t?0:t,e)}}:{add:function(t){return w(this,t=0===t?0:t,t)}}),f&&i(p,"size",{get:function(){return v(this).size}}),d},setStrong:function(t,e,n){var i=e+" Iterator",o=m(e),r=m(i);l(t,e,(function(t,e){g(this,{type:i,target:t,state:o(t),kind:e,last:void 0})}),(function(){for(var t=r(this),e=t.kind,n=t.last;n&&n.removed;)n=n.previous;return t.target&&(t.last=n=n?n.next:t.state.first)?"keys"==e?{value:n.key,done:!1}:"values"==e?{value:n.value,done:!1}:{value:[n.key,n.value],done:!1}:(t.target=void 0,{value:void 0,done:!0})}),n?"entries":"values",!n,!0),d(e)}}},function(t,e,n){var i=n(32);t.exports=function(t,e,n){for(var o in e)i(t,o,e[o],n);return t}},function(t,e,n){"use strict";var i=n(37),o=n(18),r=n(16),a=n(17),s=r("species");t.exports=function(t){var e=i(t),n=o.f;a&&e&&!e[s]&&n(e,s,{configurable:!0,get:function(){return this}})}},function(t,e,n){var i=n(82),o=n(32),r=n(174);i||o(Object.prototype,"toString",r,{unsafe:!0})},function(t,e,n){"use strict";var i=n(82),o=n(81);t.exports=i?{}.toString:function(){return"[object "+o(this)+"]"}},function(t,e,n){"use strict";var i=n(176).charAt,o=n(110),r=n(46),a=n(77),s="String Iterator",c=r.set,u=r.getterFor(s);a(String,"String",(function(t){c(this,{type:s,string:o(t),index:0})}),(function(){var t,e=u(this),n=e.string,o=e.index;return o>=n.length?{value:void 0,done:!0}:(t=i(n,o),e.index+=t.length,{value:t,done:!1})}))},function(t,e,n){var i=n(11),o=n(72),r=n(110),a=n(62),s=i("".charAt),c=i("".charCodeAt),u=i("".slice),l=function(t){return function(e,n){var i,l,d=r(a(e)),f=o(n),h=d.length;return f<0||f>=h?t?"":void 0:(i=c(d,f))<55296||i>56319||f+1===h||(l=c(d,f+1))<56320||l>57343?t?s(d,f):i:t?u(d,f,f+2):l-56320+(i-55296<<10)+65536}};t.exports={codeAt:l(!1),charAt:l(!0)}},function(t,e){!function(){"use strict";if("object"===typeof window)if("IntersectionObserver"in window&&"IntersectionObserverEntry"in window&&"intersectionRatio"in window.IntersectionObserverEntry.prototype)"isIntersecting"in window.IntersectionObserverEntry.prototype||Object.defineProperty(window.IntersectionObserverEntry.prototype,"isIntersecting",{get:function(){return this.intersectionRatio>0}});else{var t=window.document,e=[],n=null,i=null;r.prototype.THROTTLE_TIMEOUT=100,r.prototype.POLL_INTERVAL=null,r.prototype.USE_MUTATION_OBSERVER=!0,r._setupCrossOriginUpdater=function(){return n||(n=function(t,n){i=t&&n?d(t,n):{top:0,bottom:0,left:0,right:0,width:0,height:0},e.forEach((function(t){t._checkForIntersections()}))}),n},r._resetCrossOriginUpdater=function(){n=null,i=null},r.prototype.observe=function(t){if(!this._observationTargets.some((function(e){return e.element==t}))){if(!t||1!=t.nodeType)throw new Error("target must be an Element");this._registerInstance(),this._observationTargets.push({element:t,entry:null}),this._monitorIntersections(t.ownerDocument),this._checkForIntersections()}},r.prototype.unobserve=function(t){this._observationTargets=this._observationTargets.filter((function(e){return e.element!=t})),this._unmonitorIntersections(t.ownerDocument),0==this._observationTargets.length&&this._unregisterInstance()},r.prototype.disconnect=function(){this._observationTargets=[],this._unmonitorAllIntersections(),this._unregisterInstance()},r.prototype.takeRecords=function(){var t=this._queuedEntries.slice();return this._queuedEntries=[],t},r.prototype._initThresholds=function(t){var e=t||[0];return Array.isArray(e)||(e=[e]),e.sort().filter((function(t,e,n){if("number"!=typeof t||isNaN(t)||t<0||t>1)throw new Error("threshold must be a number between 0 and 1 inclusively");return t!==n[e-1]}))},r.prototype._parseRootMargin=function(t){var e=(t||"0px").split(/\s+/).map((function(t){var e=/^(-?\d*\.?\d+)(px|%)$/.exec(t);if(!e)throw new Error("rootMargin must be specified in pixels or percent");return{value:parseFloat(e[1]),unit:e[2]}}));return e[1]=e[1]||e[0],e[2]=e[2]||e[0],e[3]=e[3]||e[1],e},r.prototype._monitorIntersections=function(e){var n=e.defaultView;if(n&&-1==this._monitoringDocuments.indexOf(e)){var i=this._checkForIntersections,o=null,r=null;if(this.POLL_INTERVAL?o=n.setInterval(i,this.POLL_INTERVAL):(a(n,"resize",i,!0),a(e,"scroll",i,!0),this.USE_MUTATION_OBSERVER&&"MutationObserver"in n&&(r=new n.MutationObserver(i)).observe(e,{attributes:!0,childList:!0,characterData:!0,subtree:!0})),this._monitoringDocuments.push(e),this._monitoringUnsubscribes.push((function(){var t=e.defaultView;t&&(o&&t.clearInterval(o),s(t,"resize",i,!0)),s(e,"scroll",i,!0),r&&r.disconnect()})),e!=(this.root&&this.root.ownerDocument||t)){var c=p(e);c&&this._monitorIntersections(c.ownerDocument)}}},r.prototype._unmonitorIntersections=function(e){var n=this._monitoringDocuments.indexOf(e);if(-1!=n){var i=this.root&&this.root.ownerDocument||t,o=this._observationTargets.some((function(t){var n=t.element.ownerDocument;if(n==e)return!0;for(;n&&n!=i;){var o=p(n);if((n=o&&o.ownerDocument)==e)return!0}return!1}));if(!o){var r=this._monitoringUnsubscribes[n];if(this._monitoringDocuments.splice(n,1),this._monitoringUnsubscribes.splice(n,1),r(),e!=i){var a=p(e);a&&this._unmonitorIntersections(a.ownerDocument)}}}},r.prototype._unmonitorAllIntersections=function(){var t=this._monitoringUnsubscribes.slice(0);this._monitoringDocuments.length=0,this._monitoringUnsubscribes.length=0;for(var e=0;e=0&&s>=0&&{top:n,bottom:i,left:o,right:r,width:a,height:s}||null}function u(t){var e;try{e=t.getBoundingClientRect()}catch(n){}return e?(e.width&&e.height||(e={top:e.top,right:e.right,bottom:e.bottom,left:e.left,width:e.right-e.left,height:e.bottom-e.top}),e):{top:0,bottom:0,left:0,right:0,width:0,height:0}}function l(t){return!t||"x"in t?t:{top:t.top,y:t.top,bottom:t.bottom,left:t.left,x:t.left,right:t.right,width:t.width,height:t.height}}function d(t,e){var n=e.top-t.top,i=e.left-t.left;return{top:n,left:i,height:e.height,width:e.width,bottom:n+e.height,right:i+e.width}}function f(t,e){for(var n=e;n;){if(n==t)return!0;n=h(n)}return!1}function h(e){var n=e.parentNode;return 9==e.nodeType&&e!=t?p(e):n&&11==n.nodeType&&n.host?n.host:n&&n.assignedSlot?n.assignedSlot.parentNode:n}function p(t){try{return t.defaultView&&t.defaultView.frameElement||null}catch(e){return null}}}()},function(t,e,n){"use strict";var i=Object.prototype.hasOwnProperty;function o(t){try{return decodeURIComponent(t.replace(/\+/g," "))}catch(e){return null}}function r(t){try{return encodeURIComponent(t)}catch(e){return null}}e.stringify=function(t,e){e=e||"";var n,o,a=[];for(o in"string"!==typeof e&&(e="?"),t)if(i.call(t,o)){if((n=t[o])||null!==n&&undefined!==n&&!isNaN(n)||(n=""),o=r(o),n=r(n),null===o||null===n)continue;a.push(o+"="+n)}return a.length?e+a.join("&"):""},e.parse=function(t){for(var e,n=/([^=?#&]+)=?([^&]*)/g,i={};e=n.exec(t);){var r=o(e[1]),a=o(e[2]);null===r||null===a||r in i||(i[r]=a)}return i}},function(t,e){!function(t,e){"use strict";if("IntersectionObserver"in t&&"IntersectionObserverEntry"in t&&"intersectionRatio"in t.IntersectionObserverEntry.prototype)"isIntersecting"in t.IntersectionObserverEntry.prototype||Object.defineProperty(t.IntersectionObserverEntry.prototype,"isIntersecting",{get:function(){return this.intersectionRatio>0}});else{var n=[];o.prototype.THROTTLE_TIMEOUT=100,o.prototype.POLL_INTERVAL=null,o.prototype.USE_MUTATION_OBSERVER=!0,o.prototype.observe=function(t){if(!this._observationTargets.some((function(e){return e.element==t}))){if(!t||1!=t.nodeType)throw new Error("target must be an Element");this._registerInstance(),this._observationTargets.push({element:t,entry:null}),this._monitorIntersections(),this._checkForIntersections()}},o.prototype.unobserve=function(t){this._observationTargets=this._observationTargets.filter((function(e){return e.element!=t})),this._observationTargets.length||(this._unmonitorIntersections(),this._unregisterInstance())},o.prototype.disconnect=function(){this._observationTargets=[],this._unmonitorIntersections(),this._unregisterInstance()},o.prototype.takeRecords=function(){var t=this._queuedEntries.slice();return this._queuedEntries=[],t},o.prototype._initThresholds=function(t){var e=t||[0];return Array.isArray(e)||(e=[e]),e.sort().filter((function(t,e,n){if("number"!=typeof t||isNaN(t)||t<0||t>1)throw new Error("threshold must be a number between 0 and 1 inclusively");return t!==n[e-1]}))},o.prototype._parseRootMargin=function(t){var e=(t||"0px").split(/\s+/).map((function(t){var e=/^(-?\d*\.?\d+)(px|%)$/.exec(t);if(!e)throw new Error("rootMargin must be specified in pixels or percent");return{value:parseFloat(e[1]),unit:e[2]}}));return e[1]=e[1]||e[0],e[2]=e[2]||e[0],e[3]=e[3]||e[1],e},o.prototype._monitorIntersections=function(){this._monitoringIntersections||(this._monitoringIntersections=!0,this.POLL_INTERVAL?this._monitoringInterval=setInterval(this._checkForIntersections,this.POLL_INTERVAL):(r(t,"resize",this._checkForIntersections,!0),r(e,"scroll",this._checkForIntersections,!0),this.USE_MUTATION_OBSERVER&&"MutationObserver"in t&&(this._domObserver=new MutationObserver(this._checkForIntersections),this._domObserver.observe(e,{attributes:!0,childList:!0,characterData:!0,subtree:!0}))))},o.prototype._unmonitorIntersections=function(){this._monitoringIntersections&&(this._monitoringIntersections=!1,clearInterval(this._monitoringInterval),this._monitoringInterval=null,a(t,"resize",this._checkForIntersections,!0),a(e,"scroll",this._checkForIntersections,!0),this._domObserver&&(this._domObserver.disconnect(),this._domObserver=null))},o.prototype._checkForIntersections=function(){var e=this._rootIsInDom(),n=e?this._getRootRect():{top:0,bottom:0,left:0,right:0,width:0,height:0};this._observationTargets.forEach((function(o){var r=o.element,a=c(r),s=this._rootContainsTarget(r),u=o.entry,l=e&&s&&this._computeTargetAndRootIntersection(r,n),d=o.entry=new i({time:t.performance&&performance.now&&performance.now(),target:r,boundingClientRect:a,rootBounds:n,intersectionRect:l});u?e&&s?this._hasCrossedThreshold(u,d)&&this._queuedEntries.push(d):u&&u.isIntersecting&&this._queuedEntries.push(d):this._queuedEntries.push(d)}),this),this._queuedEntries.length&&this._callback(this.takeRecords(),this)},o.prototype._computeTargetAndRootIntersection=function(n,i){if("none"!=t.getComputedStyle(n).display){for(var o=c(n),r=l(n),a=!1;!a;){var u=null,d=1==r.nodeType?t.getComputedStyle(r):{};if("none"==d.display)return;if(r==this.root||r==e?(a=!0,u=i):r!=e.body&&r!=e.documentElement&&"visible"!=d.overflow&&(u=c(r)),u&&!(o=s(u,o)))break;r=l(r)}return o}},o.prototype._getRootRect=function(){var t;if(this.root)t=c(this.root);else{var n=e.documentElement,i=e.body;t={top:0,left:0,right:n.clientWidth||i.clientWidth,width:n.clientWidth||i.clientWidth,bottom:n.clientHeight||i.clientHeight,height:n.clientHeight||i.clientHeight}}return this._expandRectByRootMargin(t)},o.prototype._expandRectByRootMargin=function(t){var e=this._rootMarginValues.map((function(e,n){return"px"==e.unit?e.value:e.value*(n%2?t.width:t.height)/100})),n={top:t.top-e[0],right:t.right+e[1],bottom:t.bottom+e[2],left:t.left-e[3]};return n.width=n.right-n.left,n.height=n.bottom-n.top,n},o.prototype._hasCrossedThreshold=function(t,e){var n=t&&t.isIntersecting?t.intersectionRatio||0:-1,i=e.isIntersecting?e.intersectionRatio||0:-1;if(n!==i)for(var o=0;o=0&&s>=0&&{top:n,bottom:i,left:o,right:r,width:a,height:s}}function c(t){var e;try{e=t.getBoundingClientRect()}catch(n){}return e?(e.width&&e.height||(e={top:e.top,right:e.right,bottom:e.bottom,left:e.left,width:e.right-e.left,height:e.bottom-e.top}),e):{top:0,bottom:0,left:0,right:0,width:0,height:0}}function u(t,e){for(var n=e;n;){if(n==t)return!0;n=l(n)}return!1}function l(t){var e=t.parentNode;return e&&11==e.nodeType&&e.host?e.host:e}}(window,document)},function(t,e,n){"use strict";n.r(e);var i=n(181).default;e.default=i},function(t,e,n){"use strict";n.r(e);var i=n(2),o=n(3),r=function(){function t(e){Object(i.a)(this,t),this.map={},this.registedMap=[],this.instance=null}return Object(o.a)(t,[{key:"trigger",value:function(t,e){var n=this,i=this.map[t];i&&i.forEach((function(t){t.apply(n,[].concat(e))}))}},{key:"on",value:function(t,e){this.map[t]?this.map[t].push(e):this.map[t]=[e]}},{key:"off",value:function(t,e){if(this.map[t]&&e){var n=this.map[t].indexOf(e);this.map[t].splice(n,1)}else e||this.map[t]&&(this.map[t]=[])}}],[{key:"getInstance",value:function(e){return this.instance||(this.instance=new t),this.instance}}]),t}().getInstance();e.default=r},function(t,e,n){"use strict";n.r(e);var i=n(183).default;e.default=i},function(t,e,n){"use strict";n.r(e);var i=n(2),o=n(3),r=function(){function t(){Object(i.a)(this,t)}return Object(o.a)(t,[{key:"insert",value:function(t){return new Promise((function(e,n){e(t)}))}},{key:"delete",value:function(t){return new Promise((function(e,n){e(t)}))}},{key:"query",value:function(t){return new Promise((function(e,n){e(t)}))}}],[{key:"getInstance",value:function(e){return this.instance||(this.instance=new t),this.instance}}]),t}().getInstance();e.default=r},function(t,e){"function"!=typeof Object.assign&&Object.defineProperty(Object,"assign",{value:function(t,e){"use strict";if(null==t)throw new TypeError("Cannot convert undefined or null to object");for(var n=Object(t),i=1;i>>32-e}function n(t,e){var n,i,o,r,a;return o=2147483648&t,r=2147483648&e,a=(1073741823&t)+(1073741823&e),(n=1073741824&t)&(i=1073741824&e)?2147483648^a^o^r:n|i?1073741824&a?3221225472^a^o^r:1073741824^a^o^r:a^o^r}function i(t,i,o,r,a,s,c){return t=n(t,n(n(function(t,e,n){return t&e|~t&n}(i,o,r),a),c)),n(e(t,s),i)}function o(t,i,o,r,a,s,c){return t=n(t,n(n(function(t,e,n){return t&n|e&~n}(i,o,r),a),c)),n(e(t,s),i)}function r(t,i,o,r,a,s,c){return t=n(t,n(n(function(t,e,n){return t^e^n}(i,o,r),a),c)),n(e(t,s),i)}function a(t,i,o,r,a,s,c){return t=n(t,n(n(function(t,e,n){return e^(t|~n)}(i,o,r),a),c)),n(e(t,s),i)}function s(t){var e,n="",i="";for(e=0;e<=3;e++)n+=(i="0"+(t>>>8*e&255).toString(16)).substr(i.length-2,2);return n}var c,u,l,d,f,h,p,g,m,v=Array();for(v=function(t){for(var e,n=t.length,i=n+8,o=16*((i-i%64)/64+1),r=Array(o-1),a=0,s=0;s>>29,r}(this),h=1732584193,p=4023233417,g=2562383102,m=271733878,c=0;c=2;t--)try{if(new Function("return new ActiveXObject('ShockwaveFlash.ShockwaveFlash."+t+"');")()){e=t+".0";break}}catch(i){}return e}function s(){var t=window.navigator.userAgent;return t.toLowerCase().match(/android/i)?"android":t.toLowerCase().match(/iphone/i)?"iphone":"other"}function c(t){var e,n=new RegExp("(^| )"+t+"=([^;]*)(;|$)");return(e=document.cookie.match(n))?unescape(e[2]):null}n.r(e);var u=function(){},l=function(){function t(e){var n=this;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.breadcrumbs=[],this.inited=!1,this.errorReporter=void 0,this.domClickEventHandler=function(t){var e=t.target?t.target:t.srcElement,i={tagName:"",id:"",className:"",parentId:"",outerHTML:"",name:"",time:(new Date).getTime()};if(e&&function(t){return t instanceof HTMLElement}(e)&&(e.tagName&&(i.tagName=e.tagName),e.id&&(i.id=e.id),e.className&&(i.className=e.className),e.name&&(i.name=e.name),!e.id)){for(var o=0,r=e;o++<3&&r.parentNode&&r.parentNode&&r.parentNode.outerHTML&&!(r=r.parentNode).id;);if(r.id)i.parentId=o+":"+r.id;else{var a=r.outerHTML.replace(/>\s+<");a&&a.length>200&&(a=a.slice(0,200)),i.outerHTML=a}}n.breadcrumbs.push(i),n.breadcrumbs.length>10&&n.breadcrumbs.shift()},this.errorReporter=e}var e,n,l;return e=t,(n=[{key:"startCollect",value:function(){this.inited||(this.init(),this.inited=!0)}},{key:"stopCollect",value:function(){this.inited&&(this.destruct(),this.clean(),this.inited=!1)}},{key:"destruct",value:function(){window.onerror=u,window.onunhandledrejection=u,this.unbindCatchClickQueueEvent()}},{key:"clean",value:function(){this.breadcrumbs=[]}},{key:"init",value:function(){this.bindUnhanldePromiseRejectionHandler(),this.bindErrorEventHandler(),this.bindCatchClickQueueEvent()}},{key:"reportCustomError",value:function(t,e){var n;n=t instanceof Error?this.handleErrorStack(t):"string"===typeof t?t:t.toString();var i=this._constructReportBaseError(n);this.reportError(i,e)}},{key:"_constructReportBaseError",value:function(t){return{breadcrumbs:JSON.stringify(this.breadcrumbs),msg:t,rowNum:void 0,colNum:void 0,targetUrl:void 0}}},{key:"reportError",value:function(t,e){var n=function(){var t=window.navigator;return{b:"sinawap",c:"h5",d:c("SINAGLOBAL"),e:s(),f:window.ERR_UID||c("ustat"),g:t.userAgent,h:Date.parse((new Date).toString())/1e3,i:"load",l:window.location.href,_:Math.random()}}(),i=function(){var t=window.screen;return{userAgent:window.navigator.userAgent,currentUrl:window.location.href,timestamp:+new Date+Math.random(),platform:r(),flashVer:a(),title:document.title,screenSize:t.width+"x"+t.height,referer:document.referrer?document.referrer:"",host:window.location.protocol+"//"+window.location.hostname}}();this.errorReporter(t,n,i,e)}},{key:"bindErrorEventHandler",value:function(){var t=this;window.addEventListener("error",(function(e){var n=e.message,i=e.filename,r=e.lineno,a=e.colno,s=e.error;try{a=a||window.event&&window.event.errorCharacter||0;var c=n;o(c=s&&s.stack?t.handleErrorStack(s):t._fixMsgByCaller(c,arguments.callee.caller),"Event")&&(c+=c.type?"--"+c.type+"--"+(c.target?c.target.tagName+"::"+c.target.src:""):""),c&&t.reportError({msg:c,rowNum:r,colNum:a,targetUrl:i,breadcrumbs:JSON.stringify(t.breadcrumbs)})}catch(e){t.reportCustomError(e)}}))}},{key:"_fixMsgByCaller",value:function(t,e){for(var n=[],i=e,o=3;i&&o-- >0&&(n.push(i.toString()),i!==i.caller);)i=i.caller;return n.length>0&&(t+="@"+n.join(",")),t}},{key:"bindUnhanldePromiseRejectionHandler",value:function(){var t=this;window.addEventListener("unhandledrejection",(function(e){try{var n,i=e.reason&&e.reason.message||e.reason;e.reason&&e.reason.stack?(i=t.handleErrorStack(e.reason),n=t._parseErrorStack(e.reason.stack)):i=t._fixMsgByCaller(i,arguments.callee.caller),e.reason instanceof Error&&e.reason,i&&t.reportError({msg:i,rowNum:n&&n.line||0,colNum:n&&n.col||0,targetUrl:n&&n.targetUrl||"",breadcrumbs:JSON.stringify(t.breadcrumbs)})}catch(o){t.reportCustomError(o)}}))}},{key:"_parseErrorStack",value:function(t){var e={col:0,line:0,targetUrl:""};try{var n=t.split("at")[1].match(/http.*/)[0].replace(/\)$/,"").split(":"),i=n.length;e.col=n[i-1],e.line=n[i-2],n.splice(i-2,2),e.targetUrl=n.join(":")}catch(o){}return e}},{key:"handleErrorStack",value:function(t){var e=t.stack,n=t.toString();return n&&e?-1===e.indexOf(n)&&(e+="@"+n):e="",e}},{key:"bindCatchClickQueueEvent",value:function(){window.addEventListener?"ontouchstart"in document.documentElement?window.addEventListener("touchstart",this.domClickEventHandler,!0):window.addEventListener("click",this.domClickEventHandler,!0):document.attachEvent("onclick",this.domClickEventHandler)}},{key:"unbindCatchClickQueueEvent",value:function(){window.addEventListener?"ontouchstart"in document.documentElement?window.removeEventListener("touchstart",this.domClickEventHandler,!0):window.removeEventListener("click",this.domClickEventHandler,!0):document.detachEvent("onclick",this.domClickEventHandler)}}])&&i(e.prototype,n),l&&i(e,l),t}(),d="default",f={breadcrumbs:"bf",colNum:"bg",flashVer:"bi",host:"bj",msg:"n",platform:"bm",referer:"bn",rowNum:"m",screenSize:"bp",targetUrl:"k",title:"br"};function h(t){t&&"object"===typeof t&&t.code&&(d=t.code),(window._ERR_REP&&window._ERR_REP instanceof l?window._ERR_REP:window._ERR_REP=new l((function(e,n,i,o){var r=p(e,i);if(r.customError=n,t.ignoreList&&t.ignoreList.length)for(var a=0;a=0?u(l):o(this.length)-u(c(l));e0?1:-1}},function(t,e,n){"use strict";var i=n(33),o={function:!0,object:!0};t.exports=function(t){return i(t)&&o[typeof t]||!1}},function(t,e,n){"use strict";var i,o=Object.create;n(114)()||(i=n(115)),t.exports=function(){var t,e,n;return i?1!==i.level?o:(t={},e={},n={configurable:!1,enumerable:!1,writable:!0,value:void 0},Object.getOwnPropertyNames(Object.prototype).forEach((function(t){e[t]="__proto__"!==t?n:{configurable:!0,enumerable:!1,writable:!0,value:void 0}})),Object.defineProperties(t,e),Object.defineProperty(i,"nullPolyfill",{configurable:!1,enumerable:!1,writable:!1,value:t}),function(e,n){return o(null===e?t:e,n)}):o}()},function(t,e,n){"use strict";var i=n(203);t.exports=function(t){if("function"!==typeof t)return!1;if(!hasOwnProperty.call(t,"length"))return!1;try{if("number"!==typeof t.length)return!1;if("function"!==typeof t.call)return!1;if("function"!==typeof t.apply)return!1}catch(e){return!1}return!i(t)}},function(t,e,n){"use strict";var i=n(83);t.exports=function(t){if(!i(t))return!1;try{return!!t.constructor&&t.constructor.prototype===t}catch(e){return!1}}},function(t,e,n){"use strict";t.exports=function(){var t,e=Object.assign;return"function"===typeof e&&(e(t={foo:"raz"},{bar:"dwa"},{trzy:"trzy"}),t.foo+t.bar+t.trzy==="razdwatrzy")}},function(t,e,n){"use strict";var i=n(206),o=n(23),r=Math.max;t.exports=function(t,e){var n,a,s,c=r(arguments.length,2);for(t=Object(o(t)),s=function(i){try{t[i]=e[i]}catch(o){n||(n=o)}},a=1;a-1}},function(t,e,n){"use strict";var i,o,r,a,s,c,u,l=n(22),d=n(30),f=Function.prototype.apply,h=Function.prototype.call,p=Object.create,g=Object.defineProperty,m=Object.defineProperties,v=Object.prototype.hasOwnProperty,w={configurable:!0,enumerable:!1,writable:!0};o=function(t,e){var n,o;return d(e),o=this,i.call(this,t,n=function(){r.call(o,t,n),f.call(e,this,arguments)}),n.__eeOnceListener__=e,this},a=function(t){var e,n,i,o,r;if(v.call(this,"__ee__")&&(o=this.__ee__[t]))if("object"===typeof o){for(n=arguments.length,r=new Array(n-1),e=1;e=55296&&m<=56319&&(g+=t[++h]),c.call(e,v,g,d),!f);++h);else u.call(t,(function(t){return c.call(e,v,t,d),f}))}},function(t,e,n){"use strict";var i=n(50),o=n(51),r=n(223),a=n(238),s=n(120),c=n(26).iterator;t.exports=function(t){return"function"===typeof s(t)[c]?t[c]():i(t)?new r(t):o(t)?new a(t):new r(t)}},function(t,e,n){"use strict";var i,o=n(48),r=n(118),a=n(22),s=n(26),c=n(85),u=Object.defineProperty;i=t.exports=function(t,e){if(!(this instanceof i))throw new TypeError("Constructor requires 'new'");c.call(this,t),e=e?r.call(e,"key+value")?"key+value":r.call(e,"key")?"key":"value":"value",u(this,"__kind__",a("",e))},o&&o(i,c),delete i.prototype.constructor,i.prototype=Object.create(c.prototype,{_resolve:a((function(t){return"value"===this.__kind__?this.__list__[t]:"key+value"===this.__kind__?[t,this.__list__[t]]:t}))}),u(i.prototype,s.toStringTag,a("c","Array Iterator"))},function(t,e,n){"use strict";var i,o=n(34),r=n(225),a=n(229),s=n(230),c=n(117),u=n(235),l=Function.prototype.bind,d=Object.defineProperty,f=Object.prototype.hasOwnProperty;i=function(t,e,n){var i,o=r(e)&&a(e.value);return delete(i=s(e)).writable,delete i.value,i.get=function(){return!n.overwriteDefinition&&f.call(this,t)?o:(e.value=l.call(o,n.resolveContext?n.resolveContext(this):this),d(this,t,e),this[t])},i},t.exports=function(t){var e=c(arguments[1]);return o(e.resolveContext)&&a(e.resolveContext),u(t,(function(t,n){return i(n,t,e)}))}},function(t,e,n){"use strict";var i=n(121),o=n(34);t.exports=function(t){return o(t)?t:i(t,"Cannot use %v",arguments[1])}},function(t,e,n){"use strict";var i=n(34),o=n(83),r=Object.prototype.toString;t.exports=function(t){if(!i(t))return null;if(o(t)){var e=t.toString;if("function"!==typeof e)return null;if(e===r)return null}try{return""+t}catch(n){return null}}},function(t,e,n){"use strict";var i=n(228),o=/[\n\r\u2028\u2029]/g;t.exports=function(t){var e=i(t);return null===e?"":(e.length>100&&(e=e.slice(0,99)+"\u2026"),e=e.replace(o,(function(t){switch(t){case"\n":return"\\n";case"\r":return"\\r";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029";default:throw new Error("Unexpected character")}})))}},function(t,e,n){"use strict";t.exports=function(t){try{return t.toString()}catch(e){try{return String(t)}catch(n){return null}}}},function(t,e,n){"use strict";var i=n(121),o=n(116);t.exports=function(t){return o(t)?t:i(t,"%v is not a plain function",arguments[1])}},function(t,e,n){"use strict";var i=n(231),o=n(84),r=n(23);t.exports=function(t){var e=Object(r(t)),n=arguments[1],a=Object(arguments[2]);if(e!==t&&!n)return e;var s={};return n?i(n,(function(e){(a.ensure||e in t)&&(s[e]=t[e])})):o(s,t),s}},function(t,e,n){"use strict";t.exports=n(232)()?Array.from:n(233)},function(t,e,n){"use strict";t.exports=function(){var t,e,n=Array.from;return"function"===typeof n&&(e=n(t=["raz","dwa"]),Boolean(e&&e!==t&&"dwa"===e[1]))}},function(t,e,n){"use strict";var i=n(26).iterator,o=n(50),r=n(234),a=n(113),s=n(30),c=n(23),u=n(33),l=n(51),d=Array.isArray,f=Function.prototype.call,h={configurable:!0,enumerable:!0,writable:!0,value:null},p=Object.defineProperty;t.exports=function(t){var e,n,g,m,v,w,_,y,b,x,C=arguments[1],S=arguments[2];if(t=Object(c(t)),u(C)&&s(C),this&&this!==Array&&r(this))e=this;else{if(!C){if(o(t))return 1!==(v=t.length)?Array.apply(null,t):((m=new Array(1))[0]=t[0],m);if(d(t)){for(m=new Array(v=t.length),n=0;n=55296&&w<=56319&&(x+=t[++n]),x=C?f.call(C,S,x,g):x,e?(h.value=x,p(m,g,h)):m[g]=x,++g;v=g}if(void 0===v)for(v=a(t.length),e&&(m=new e(v)),n=0;n=55296&&e<=56319?n+this.__list__[this.__nextIndex__++]:n}))}),c(i.prototype,a.toStringTag,r("c","String Iterator"))},function(t,e,n){"use strict";var i,o=n(48),r=n(22),a=n(85),s=n(26).toStringTag,c=n(240),u=Object.defineProperties,l=a.prototype._unBind;i=t.exports=function(t,e){if(!(this instanceof i))return new i(t,e);a.call(this,t.__mapKeysData__,t),e&&c[e]||(e="key+value"),u(this,{__kind__:r("",e),__values__:r("w",t.__mapValuesData__)})},o&&o(i,a),i.prototype=Object.create(a.prototype,{constructor:r(i),_resolve:r((function(t){return"value"===this.__kind__?this.__values__[t]:"key"===this.__kind__?this.__list__[t]:[this.__list__[t],this.__values__[t]]})),_unBind:r((function(){this.__values__=null,l.call(this)})),toString:r((function(){return"[object Map Iterator]"}))}),Object.defineProperty(i.prototype,s,r("c","Map Iterator"))},function(t,e,n){"use strict";t.exports=n(241)("key","value","key+value")},function(t,e,n){"use strict";var i=Array.prototype.forEach,o=Object.create;t.exports=function(t){var e=o(null);return i.call(arguments,(function(t){e[t]=!0})),e}},function(t,e,n){"use strict";t.exports="undefined"!==typeof Map&&"[object Map]"===Object.prototype.toString.call(new Map)},function(t,e,n){"use strict";n.r(e),e.default=function(){this.getUserInfo=function(t){var e=t.success,n=t.error;return new Promise((function(t,i){try{window.getUserInfo((function(n){e&&e(n),t(n)}))}catch(o){n&&n(o),i(o)}}))}}},function(t,e){!function(){function t(t,e){t[e>>5]|=128<>>9<<4)]=e;for(var s=1732584193,c=-271733879,u=-1732584194,l=271733878,d=0;d>>32-c,n);var s,c}function n(t,n,i,o,r,a,s){return e(n&i|~n&o,t,n,r,a,s)}function i(t,n,i,o,r,a,s){return e(n&o|i&~o,t,n,r,a,s)}function o(t,n,i,o,r,a,s){return e(n^i^o,t,n,r,a,s)}function r(t,n,i,o,r,a,s){return e(i^(n|~o),t,n,r,a,s)}function a(t,e){var n=(65535&t)+(65535&e);return(t>>16)+(e>>16)+(n>>16)<<16|65535&n}function s(t){for(var e=Array(),n=0;n<8*t.length;n+=8)e[n>>5]|=(255&t.charCodeAt(n/8))<>2]>>i%4*8+4&15)+e.charAt(t[i>>2]>>i%4*8&15);return n}window.hex_md5=function(e){return c(t(s(e),8*e.length))}}()},function(t,e){var n=window,i=(document,n.sinaCnShare),o=function(){this.docConfig="undefined"!=typeof __docConfig&&__docConfig||{},this.curLink=window.location.href,this.favorConfig={btnClass:"j_iadd_btn",favorId:"",URL:"//data.api.sina.cn/api/count/count.php?act=",backURL:this.docConfig.__docUrl||this.curLink,colleid:this.docConfig.__colleid||"",collekey:this.docConfig.__collekey||"",docid:this.docConfig.__gspsId||"",domain:this.docConfig.__domain||this.curLink.split("//")[1].split("/")[0].split(".")[0],number:0},this.tokenTxt={addOK:"\u60a8\u5df2\u6536\u85cf\uff0c\u8bf7\u5230\u4e2a\u4eba\u4e2d\u5fc3\u67e5\u770b",addFail:"\u6536\u85cf\u5931\u8d25!",cancelOK:"\u5df2\u53d6\u6d88\u6536\u85cf",cancelFail:"\u53d6\u6d88\u6536\u85cf\u5931\u8d25!"},this.status={INIT:0,ADD:1,CANCEL:2},this.myUtility=i.myUtility,this.myLogin=i.wapLogin};o.prototype={showToken:function(t,e){this.myUtility.showToken(t,e)},ajaxByJsonp:function(t){this.myUtility.ajaxByJsonp(t)},getShowNum:function(t){return this.myUtility.getShowNum(t)},openLogin:function(t,e){this.myLogin.login(!1)},cf:{closeTxt:!1,onClass:[]},getConfig:function(t){t||(t=$("."+this.favorConfig.btnClass).eq(0)),t.length<1||(this.cf.closeTxt=t.data("closetxt")&&!!parseInt(t.data("closetxt"))||!1,this.cf.onClass=t.data("onclass")&&t.data("onclass").split(",")||[])},favorInit:function(){var t=this.favorConfig,e=this.status,n=this;this.favorEvent(e.INIT),$("body").on("click tap",(function(){})),document.addEventListener("click",(function(i){var o=i.target||n.getEvent().target,r=$(o),a=$(o).parents("."+t.btnClass);if(r.hasClass(t.btnClass)||a.length>0){a.length<1?n.getConfig(r):n.getConfig(a);var s=e.ADD;r.hasClass("on")&&(s=e.CANCEL),n.showToken(),n.favorEvent(s)}}),!1)},favorEvent:function(t){var e=this.favorConfig,n=this.status,i=$("."+e.btnClass),o=this;if(e.colleid&&e.collekey&&"undefined"!=typeof userInfo){userInfo.uid;var r="",a="undefined"!=typeof t?t:n.ADD;if(userInfo||userInfo.islogin){r=a==n.INIT?"&op=isFav&jsoncallback=initFavorCallback":a==n.CANCEL&&e.favorId?"&op=del&fid="+e.favorId+"&jsoncallback=cancelFavorCallback":"&op=add&jsoncallback=addFavorCallback";var s=document.location.protocol+"//my.sina.cn/aj/artfavorite?docid="+e.docid+"&backurl="+e.backURL+"&tj_ch="+e.domain+"&ch=&csrftime="+e.colleid+"&csrfcode="+e.collekey+"&channel="+e.domain+r;this.ajaxByJsonp(s)}else a==n.ADD&&o.openLogin(o.favorEvent.bind(o))}window.cancelFavorCallback=function(t){i.data("loading","no"),i&&1==t.status?(o.cf.closeTxt||i.html("\u6536\u85cf"),o.cf.onClass.length>0&&o.cf.onClass.forEach((function(t){i.removeClass(t)})),i.removeClass("on"),o.showToken(o.tokenTxt.cancelOK,!0),e.favorId=null):t&&2==t.code?document.location.href=t.data:o.showToken(o.tokenTxt.cancelFail,!0)},window.addFavorCallback=function(t){i.data("loading","no"),t&&1==t.code?(o.cf.closeTxt||i.html("\u5df2\u6536\u85cf"),o.cf.onClass.length>0&&o.cf.onClass.forEach((function(t){i.addClass(t)})),i.addClass("on"),o.showToken(o.tokenTxt.addOK,!1),e.favorId=t.data):o.showToken(o.tokenTxt.addFail,!0)},window.initFavorCallback=function(t){t&&1==t.code&&t.data.id&&(o.cf.closeTxt||i.html("\u5df2\u6536\u85cf"),o.cf.onClass.length>0&&o.cf.onClass.forEach((function(t){i.addClass(t)})),i.addClass("on"),e.favorId=t.data.id)}},init:function(){this.getConfig(),this.favorInit()}},n.sinaCnShare&&(n.sinaCnShare.favorCom=new o),window.addEventListener("load",(function(){setTimeout((function(){window.sinaCnShare.favorCom.init()}),100)}))},function(t,e){var n=window,i=document;function o(t,e){if(t&&"object"==typeof e){var n=i.createElement(t);for(var o in e)n.setAttribute(o,e[o]);return n}}var r={goSafariShare:function(){var t=i.querySelector(".j_safari_zone");t?t.classList.remove("hide"):function(){var t=i.createDocumentFragment(),e=o("section",{class:"share_safari j_safari_zone"}),n=o("div",{class:"step_1 j_safari_notice"}),r=o("div",{class:"step_2 hide j_safari_notice"});e.appendChild(n),e.appendChild(r),t.appendChild(e),i.body.appendChild(t),n.onclick=function(){n.classList.add("hide"),r.classList.remove("hide")},r.onclick=function(){e.classList.add("hide"),n.classList.remove("hide"),r.classList.add("hide")}}()}};n.sinaCnShare&&(n.sinaCnShare.safari=r)},function(t,e){var n=function(){};function i(t,e,n){var i=document.createElement("script");return i.src=t,i.charset="utf-8",i.className=e||"dataContainer",i.onerror=n,document.body.appendChild(i),function(t){var e=t||"dataContainer",n=document.querySelector("."+e);setTimeout((function(){n&&Array.prototype.slice.call(n).forEach((function(t){t.remove()}),this)}),200)}(i.className),i}function o(t){var e=t&&JSON.stringify(t),i=e&&e.match(/(confirm|ok)/),o="undefined"!=typeof sinaCnShare&&sinaCnShare.shareWeiboFinish||!1;i&&(o&&o.finishCB(),n&&n())}function r(t,e){return{title:e.shareInfo.title||"",desc:e.shareInfo.desc||"",link:e.shareInfo.link||window.location.href,imgUrl:e.shareInfo.imgUrl||"",type:e.shareInfo.type||"",dataUrl:e.shareInfo.dataUrl||"",success:function(t){o(t)},cancel:function(t){o(t)}}}function a(){var t=window._wxConfig||{};t.init&&"undefined"!==typeof wx&&(wx.config(t.init),wx.ready((function(){wx.onMenuShareAppMessage(r(0,t)),wx.onMenuShareTimeline(r(0,t))})),wx.error((function(t){var e; /*! * @date 2019-12-20 * share error */ e=t,setTimeout((function(){try{window._ERR_REP.reportCustomError(JSON.stringify(e),{j:"share_wx_error"})}catch(t){console.log("share_wx_error",JSON.stringify(e))}}))})))}function s(){var t="undefined"!=typeof _wxShareConfig&&_wxShareConfig||{},e=document.querySelector('[name="description"]'),n=function(){var t=document.querySelector(".sWxImg"),e=document.querySelector('[rel="apple-touch-icon-precomposed"]'),n=document.location.protocol+"//mjs.sinaimg.cn/wap/online/public/images/addToHome/sina_114x114_v1.png";return t?("IMG"==t.tagName?t.src:(t=t.querySelector("img"))&&t.src||"")||e&&e.href||n:e&&e.href||n}();return{title:t&&t.title||document.title||"",desc:t&&t.desc||e&&e.content||"",link:t&&t.link||window.location.href,imgUrl:t&&t.imgUrl||n,type:t&&t.type||"",dataUrl:t&&t.dataUrl||""}}function c(){if(document.location.host.match(/sina\.cn/))if(window._wxShareToken)window.setWSignCB(window._wxShareToken);else{var t=function(t){var e=new RegExp("(^|&)"+t+"=([^&]*)(&|$)","i"),n=window.location.search.substr(1).match(e),i="";null!=n&&(i=n[2]);return e=null,n=null,null==i||""==i||"undefined"==i?"":i}("isErr"),e=t?"http:":document.location.protocol,n=t?"&testtoken=1":"";i("".concat(e,"//mp.sina.cn/aj/wechat/gettoken?url=").concat(encodeURIComponent(window.location.href),"&callback=setWSignCB").concat(n))}else console.log("[WX SHARE SDK]host is not sina.cn!")}function u(t){n=t||"",!!navigator.userAgent.toLocaleLowerCase().match(/micromessenger/gi)&&c()}window._wxShareToken="",window.setWSignCB=function(t){if("undefined"!=typeof t&&0==parseInt(t.status)&&t.data){var e=t.data,n=document.location.protocol+"//res.wx.qq.com/open/js/jweixin-1.6.0.js",i=s();window._wxConfig={init:{debug:!1,appId:e.appid||"",timestamp:e.time||0,nonceStr:e.nonceStr||"",signature:e.signature||"",jsApiList:["onMenuShareAppMessage","onMenuShareTimeline"],openTagList:["wx-open-launch-weapp","wx-open-launch-app"]},shareInfo:i},window._wxShareToken?a():(window._wxShareToken=t,function(t,e,n){var i="css"==t,o=i?"link":"script",r=i?"head":"body",a=i?{rel:"stylesheet",type:"text/css",href:e}:{src:e},s=document.createElement(o);for(var c in a)s.setAttribute(c,a[c]);document[r].appendChild(s),s.onload=function(){n&&n(),s.onload=null}}("js",n,a))}},window.initWxInfo=u,u()},function(t,e,n){t.exports=n.p+"static/img/logo.82b9c7a5.png"},function(t,e,n){"use strict";n.r(e);var i=n(13),o=n.n(i),r=n(5),a=n(87),s=n(2),c=n(3),u=n(41).default;u.init(window.sudaMapConfig&&window.sudaMapConfig.pageId||"",100);var l={wapLogLib:{sima:function(t){u(t)},suda:function(t){u.suda_count(t)}},hbLogLib:{}},d=function(t,e){var n={};for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&e.indexOf(i)<0&&(n[i]=t[i]);if(null!=t&&"function"===typeof Object.getOwnPropertySymbols){var o=0;for(i=Object.getOwnPropertySymbols(t);o=0})).forEach((function(t){if(a.hasOwnProperty(t)&&"function"===typeof s[t]){var e=a[t];a[t]=function(n,i){return e(s[t](n),i)}}}))}for(var d in a)a[d]=this.mergeGeneralParam(a[d]);this.logLib=a}},{key:"updateGeneralParam",value:function(t){this.generalParam=Object.assign(Object.assign({},this.generalParam),t)}},{key:"getGeneralParam",value:function(){return this.generalParam}},{key:"mergeGeneralParam",value:function(t){var e=this;return function(n,i){var o=n.other;n.other=Object.assign(Object.assign({},e.generalParam),o),t(n,i)}}}]),t}(),y=null;function b(t){return y||(y=new _(t))}n(133),n(156),n(173),n(175),n(177);var x=new(function(){function t(){Object(s.a)(this,t),this.prefix=(+new Date).toString(),this.map=new Map,this.seed=0}return Object(c.a)(t,[{key:"genId",value:function(){return"FaizReport_exposure_id_".concat(this.prefix,"_").concat(this.seed++)}},{key:"add",value:function(t){var e=this.genId();return this.map.set(e,t),e}},{key:"has",value:function(t){return this.map.has(t)}},{key:"get",value:function(t){return this.map.get(t)}},{key:"delete",value:function(t){return this.map.delete(t)}}]),t}()),C=null,S=function(t,e){var n={};for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&e.indexOf(i)<0&&(n[i]=t[i]);if(null!=t&&"function"===typeof Object.getOwnPropertySymbols){var o=0;for(i=Object.getOwnPropertySymbols(t);o1&&void 0!==arguments[1]?arguments[1]:"click",n=arguments.length>2?arguments[2]:void 0;t["faizReportHenshin_".concat(e)]||(t["faizReportHenshin_".concat(e)]=!0,t.addEventListener(e,n))}(this.el,"click",(function(){"string"===typeof o?e.doReport(o,n,i,r,"click"):o instanceof Array&&o.forEach((function(t){return e.doReport(t,n,i,r,"click")}))}))}},{key:"exposure",value:function(t){var e=this,n=t.id,i=t.other,o=t.reportMethod,r=S(t,["id","other","reportMethod"]);!function(t,e){var n=x.add(e);if(t.faizReportExposureId=n,!C){var i=p.get(m)||{},o=Object.assign({root:null,threshold:[0]},i);C=new IntersectionObserver((function(t){t.forEach((function(t){if(t.isIntersecting){w("=== [Faiz Console:] faiz report \u6267\u884c listener ===",t);var e=t.target.faizReportExposureId;if(x.has(e))try{x.get(e)()}catch(n){w("=== [Faiz Console:] faiz report \u6267\u884c listener error ===",n)}x.delete(e),C.unobserve(t.target)}}))}),o)}C.observe(t)}(this.el,(function(){"string"===typeof o?e.doReport(o,n,i,r,"exposure"):o instanceof Array&&o.forEach((function(t){return e.doReport(t,n,i,r,"exposure")}))}))}},{key:"doReport",value:function(t,e,n,i,o){this.logMethod[t]?this.logMethod[t](Object.assign({id:e,other:n},i),o):w("=== [Faiz Console:] error ===","".concat(this.env,"Log \u4e0a\u4e0d\u5b58\u5728 ").concat(t,"\u65b9\u6cd5"))}}]),t}(),O=function(t){w("=== [Faiz Console:] faiz report plugin options ===",t);var e=t.env;return{bind:function(t,n,i){w("=== faiz report === bind",t,n);var o=n.arg,r=void 0===o?"wap-click":o,a=n.value,s=void 0===a?{}:a,c=r.split("-"),u=c[0],l=c[1]?c[1].split("_"):"click";e===u&&new k(u,l,t,s)},unbind:function(t){w("=== faiz report === unbind",t),function(t){var e=t.faizReportExposureId;w("=== [Faiz Console:] \u89e3\u9664\u89c2\u5bdf ===",C,t),C&&C.unobserve(t),x.delete(e)}(t)}}},I=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};e=Object.assign(v,e),p.set(m,e.exposureObserverOption||{}),p.set(g,e.debug||!1);var n=b(e);t.directive("FaizReport",O(e)),t.prototype.$faizReport={setGeneralParam:n.updateGeneralParam.bind(n),getGeneralParam:n.getGeneralParam.bind(n),logLib:n.logLib}},E={ready:"hb.core.ready",onInject:"hb.core.onInject",onDatePickerChange:"hb.bee.onDatePickerChange",onUnload:"hb.core.onUnload",onPreFetch:"hb.core.onPreFetch",onGetRenderStatus:"hb.core.getRenderStatus",onFirstAjax:"hb.core.onFirstAjax",onShareInfo:"hb.bee.onShareInfo",onDayOrNightModeChange:"hb.core.onDayOrNightModeChange",onPullDownRefresh:"hb.bee.onPullDownRefresh",onNetworkStatusChange:"hb.core.onNetworkStatusChange",onShow:"hb.core.onShow",onHide:"hb.core.onHide",onReload:"hb.core.onReload",onCommentReady:"hb.bee.onCommentReady",onCommentSendBack:"hb.bee.onCommentSendBack",onCommentCancel:"hb.bee.onCommentCancel",onMessage:"hb.core.onMessage",onLuckMoneyEnd:"hb.core.onLuckMoneyEnd",onShareSuccess:"hb.bee.onShareSuccess",onCommentClick:"hb.bee.onCommentClick",onUserStateChange:"hb.core.onUserStateChange",onNativeClick:"hb.bee.onNativeClick",onLike:"hb.bee.onLike",onFollow:"hb.globalEvent.onFollow",onNativeStateChange:"hb.core.onNativeStateChange",onSensorChange:"hb.core.onSensorChange",onAdAppStatesChange:"hb.bee.onAdAppStatesChange",onPictureMark:"hb.bee.onPictureMark",onUploadProgress:"hb.core.onUploadProgress",onKeyboardChange:"hb.core.onKeyboardChange"},A=n(1),j=n.n(A);j.a.mountApi("wapApis",{pageReload:function(){this.pageReload=function(t){var e=t.type,n=t.success;return new Promise((function(t,i){"firstAjax"!==e&&window.location.reload(),n&&n(),t()}))}}});j.a.pageReload;j.a.mountApi("wapApis",{showToast:function(){this.showToast=function(t){var e=t.success;return new Promise((function(t,n){e&&e(),t()}))}}});j.a.showToast;j.a.mountApi("wapApis",{getNetworkType:function(){this.getNetworkType=function(t){var e=t.success;return new Promise((function(t,n){e&&e({}),t({})}))}}});j.a.getNetworkType;function T(t,e,n,i,o,r,a,s){var c,u="function"===typeof t?t.options:t;if(e&&(u.render=e,u.staticRenderFns=n,u._compiled=!0),i&&(u.functional=!0),r&&(u._scopeId="data-v-"+r),a?(c=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"===typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),o&&o.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(a)},u._ssrRegister=c):o&&(c=s?function(){o.call(this,(u.functional?this.parent:this).$root.$options.shadowRoot)}:o),c)if(u.functional){u._injectStyles=c;var l=u.render;u.render=function(t,e){return c.call(e),l(t,e)}}else{var d=u.beforeCreate;u.beforeCreate=d?[].concat(d,c):[c]}return{exports:t,options:u}}var L=T({props:{type:{type:String},title:{type:String,required:!0},showReloadBtn:{},clickBtnFn:{type:Function},clickBtnTitle:{type:String,default:"\u70b9\u51fb\u91cd\u65b0\u52a0\u8f7d"},subtitle:{type:String}},methods:{reload:function(){this.clickBtnFn?this.clickBtnFn():j.a.pageReload({type:this.type})}}},(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"error_network"},[n("figure",{staticClass:"error_network_img"}),n("h5",{staticClass:"error_data_tit"},[t._v(t._s(t.title))]),t.subtitle?n("p",{staticClass:"error_data_prompt"},[t._v(t._s(t.subtitle))]):t._e(),t.showReloadBtn?n("a",{staticClass:"error_network_refresh",attrs:{href:"javascript:;"},on:{click:t.reload}},[t._v(t._s(t.clickBtnTitle))]):t._e()])}),[],!1,null,null,null).exports,P=(T({props:{type:{type:String},title:{type:String,required:!0},showReloadBtn:{},clickBtnFn:{type:Function},clickBtnTitle:{type:String,default:"\u70b9\u51fb\u91cd\u65b0\u52a0\u8f7d"},subtitle:{type:String}},methods:{reload:function(){this.clickBtnFn?this.clickBtnFn():j.a.pageReload({type:this.type})}},mounted:function(){}},(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"error_data"},[n("figure",{staticClass:"error_data_img"}),n("h5",{staticClass:"error_data_tit"},[t._v(t._s(t.title))]),t.subtitle?n("p",{staticClass:"error_data_prompt"},[t._v(t._s(t.subtitle))]):t._e(),t.showReloadBtn?n("a",{staticClass:"error_network_refresh",attrs:{href:"javascript:;"},on:{click:t.reload}},[t._v(t._s(t.clickBtnTitle))]):t._e()])}),[],!1,null,null,null).exports,T({props:["type","title","clickBtnFn","subtitle"],methods:{reload:function(){this.clickBtnFn?this.clickBtnFn():j.a.pageReload({type:this.type})}},mounted:function(){}},(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"error_audit "},[n("figure",{staticClass:"error_audit_img"}),n("h5",{staticClass:"error_data_tit"},[t._v(t._s(t.title))]),n("p",{staticClass:"error_data_prompt"},[t._v(t._s(t.subtitle))])])}),[],!1,null,null,null).exports,T({props:[],methods:{}},(function(){var t=this.$createElement;return(this._self._c||t)("div",{staticClass:"error_loading"})}),[],!1,null,null,null).exports,T({props:["type","title","showReloadBtn","clickBtnFn","subtitle"],methods:{reload:function(){this.clickBtnFn?this.clickBtnFn():j.a.pageReload({type:this.type})}}},(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"error_msg "},[n("figure",{staticClass:"error_msg_img"}),n("h5",{staticClass:"error_data_tit"},[t._v(t._s(t.title))])])}),[],!1,null,null,null).exports,T({props:{type:{type:String},title:{type:String,required:!0},showReloadBtn:{},clickBtnFn:{type:Function},clickBtnTitle:{type:String,default:"\u70b9\u51fb\u91cd\u65b0\u52a0\u8f7d"},subtitle:{type:String}},methods:{reload:function(){this.clickBtnFn?this.clickBtnFn():j.a.pageReload({type:this.type})}},mounted:function(){}},(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"error_search"},[n("figure",{staticClass:"error_search_img"}),n("h5",{staticClass:"error_data_tit"},[t._v(t._s(t.title))]),t.subtitle?n("p",{staticClass:"error_data_prompt"},[t._v(t._s(t.subtitle))]):t._e(),t.showReloadBtn?n("a",{staticClass:"error_network_refresh",attrs:{href:"javascript:;"},on:{click:t.reload}},[t._v(t._s(t.clickBtnTitle))]):t._e()])}),[],!1,null,null,null).exports);T({props:["type","title","clickBtnFn","subtitle"],methods:{}},(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"error_privacy "},[n("figure",{staticClass:"error_privacy_img"}),n("h5",{staticClass:"error_data_tit"},[t._v(t._s(t.title))]),n("p",{staticClass:"error_data_prompt"},[t._v(t._s(t.subtitle))])])}),[],!1,null,null,null).exports;j.a.mountApi("wapApis",{setNavigationBarTitle:function(){this.setNavigationBarTitle=function(t){var e=t.title,n=t.success;return new Promise((function(t,i){document.title=e||"",n&&n(),t()}))}}});j.a.setNavigationBarTitle;var R=n(24),U=j.a,N=!1,D=T({components:{ErrorNetwork:L,ErrorSearch:P},props:{title:{},titleAlign:{},waitFirstAjax:{default:!1},autoSendRender:{default:!0}},watch:{title:{handler:function(){void 0!==this.title&&this.$appSNC.setNavigationBarTitle({title:this.title,align:this.titleAlign})},immediate:!0}},data:function(){return{errorType:"none",networkErrorTitle:"",networkErrorTypeL:"firstAjax",showReloadBtn:!0,getNetworkTypeDone:!1,hb_onFirstAjaxDone:!this.waitFirstAjax,isApp:N}},created:function(){var t=this;U.onNetworkStatusChange((function(e){console.log("onNetworkStatusChange:",e),t.$store.commit("setAIOSTATE",{AIO_networkStatus:e.networkType,isOnline:"none"!==e.networkType})})),U.getNetworkType({success:function(e){console.log("getNetworkType:",e),t.$store.commit("setAIOSTATE",{networkStatus:e.networkType,isOnline:"none"!==e.networkType}),"none"==e.networkType&&(t.errorType="network"),t.getNetworkTypeDone=!0}})},mounted:function(){this.title},methods:{hb_onFirstAjax:function(t){try{this.$store.commit("setAIOSTATE",{firstAjaxData:t}),this.$store.commit("setAIOSTATE",{firstAjaxError:{status:0,err:""}}),this.hb_onFirstAjaxDone=!0}catch(e){console.log("aio-core aio-page hb_onFirstAjax error:",e),this.$store.commit("setAIOSTATE",{firstAjaxError:{status:1,err:e.message}})}}}},(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("main",{staticClass:"page_main"},[t.getNetworkTypeDone&&t.hb_onFirstAjaxDone&&"network"!==t.errorType?[t._t("header"),t._t("default"),t._t("footer")]:t._e(),"network"==t.errorType?n("error-network",{attrs:{title:t.networkErrorTitle,type:t.networkErrorType,showReloadBtn:t.showReloadBtn}}):t._e()],2)}),[],!1,null,null,null).exports,M=T({props:{created_method:{require:!1,type:String,default:"simaBizLog"},created_log:{require:!1,type:Object},mounted_method:{require:!1,type:String,default:"simaBizLog"},mounted_log:{require:!1,type:Object}},created:function(){this.created_log&&this.$appSNC[this.created_method](Object(r.a)({},this.created_log))},mounted:function(){this.mounted_log&&this.$appSNC[this.mounted_method](Object(r.a)({},this.mounted_log))}},(function(){var t=this,e=t.$createElement;return(t._self._c||e)("div",[t._t("default")],2)}),[],!1,null,null,null).exports;var B=n(35);function $(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!==typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var i,o,r=[],a=!0,s=!1;try{for(n=n.call(t);!(a=(i=n.next()).done)&&(r.push(i.value),!e||r.length!==e);a=!0);}catch(c){s=!0,o=c}finally{try{a||null==n.return||n.return()}finally{if(s)throw o}}return r}}(t,e)||Object(B.a)(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function F(t,e){var n="undefined"!==typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!n){if(Array.isArray(t)||(n=Object(B.a)(t))||e&&t&&"number"===typeof t.length){n&&(t=n);var i=0,o=function(){};return{s:o,n:function(){return i>=t.length?{done:!0}:{done:!1,value:t[i++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var r,a=!0,s=!1;return{s:function(){n=n.call(t)},n:function(){var t=n.next();return a=t.done,t},e:function(t){s=!0,r=t},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw r}}}}var W=n(14);function q(t,e){if("string"!==typeof t||"string"!==typeof e)throw new TypeError("Expected the arguments to be of type `string`");if(""===e)return[];var n=t.indexOf(e);return-1===n?[]:[t.slice(0,n),t.slice(n+e.length)]}function z(t,e){return e.decode?decodeURIComponent(t):t}function H(t,e){return e.encode?encodeURIComponent(t):t}function Q(t){var e=t.indexOf("#");return-1!==e&&(t=t.slice(0,e)),t}function V(t){var e="",n=t.indexOf("#");return-1!==n&&(e=t.slice(n)),e}function K(t){var e=(t=Q(t)).indexOf("?");return-1===e?"":t.slice(e+1)}function G(t){return"string"!==typeof t||""===t||Number.isNaN(Number(t))?null===t||"true"!==t.toLowerCase()&&"false"!==t.toLowerCase()||(t="true"===t.toLowerCase()):t=Number(t),t}function J(t){return"comma"===t.arrayFormat?function(t){return function(e,n){return null===n||void 0===n||0===n.length?e:0===e.length?["".concat(H(t,options),"=").concat(H(n,options))]:[[e,H(n,options)].join(",")]}}:function(t){return function(e,n){return void 0===n||options.skipNull&&null===n||options.skipEmptyString&&""===n?e:[].concat(Object(W.a)(e),null===n?[H(t,options)]:["".concat(H(t,options),"=").concat(H(n,options))])}}}function X(t,e){e=Object.assign({decode:!0,arrayFormat:"none"},e);var n=Object.create(null);if("string"!==typeof t)return n;var i=function(t){return"comma"===t.arrayFormat?function(e,n,i){var o="string"===typeof n&&n.split("").indexOf(",")>-1?n.split(",").map((function(e){return z(e,t)})):null===n?n:z(n,t);i[e]=o}:function(t,e,n){void 0!==n[t]?n[t]=[].concat(n[t],e):n[t]=e}}(e);if(!(t=t.trim().replace(/^[?#&]/,"")))return n;var o,r=F(t.split("&"));try{for(r.s();!(o=r.n()).done;){var a=o.value,s=$(q(e.decode?a.replace(/\+/g," "):a,"="),2),c=s[0],u=s[1];u=void 0===u?null:["comma"].includes(e.arrayFormat)?u:z(u,e),i(z(c,e),u,n)}}catch(v){r.e(v)}finally{r.f()}for(var l=0,d=Object.keys(n);l0})).join("&")}function Z(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=Q(t.url).split("?")[0]||"",i=K(t.url),o=X(i),r=V(t.url),a=Object.assign(o,t.query),s=Y(a,e);return s&&(s="?".concat(s)),"".concat(n).concat(s).concat(r)}function tt(t){return new URLSearchParams(t)}function et(t){var e=new RegExp("(^|&)"+t+"=([^&]*)(&|$)"),n=window.location.search.substr(1).match(e);return null===n?null:decodeURI(n[2])}var nt,it,ot,rt=n(178);function at(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window.location.search;return rt.parse(t)}var st=null!==(nt=null===(it=window.SM)||void 0===it||null===(ot=it.data)||void 0===ot?void 0:ot.callup)&&void 0!==nt?nt:{},ct=et("wm");function ut(t){var e=st.HybridId||t.newsId||"",n=st.Kid||t.kid||"",i=st.Position||t.newsId||"1",o=t.SN||"",r="https://so.sina.cn/palmnews?id="+n,a=encodeURIComponent(JSON.stringify({id:e})),s="sinanews://params="+a,c={iosInstallUrl:r,androidInstallUrl:r,iosNativeUrl:s,androidNativeUrl:s,ios9Url:"https://sapi.sina.cn/Callup.php?params="+a,openByWeixin:"http://a.app.qq.com/o/simple.jsp?pkgname=com.sina.news",paramsK:{type:"wm".concat(ct,"_LAND_").concat(e),calluptype:o,position:i}};window._sinaCallEvent&&window._sinaCallEvent.trigger("sina_open_native",c)}var lt=ut,dt={bind:function(t,e,n){t.__handle__=function(t){t.preventDefault(),ut(e.value)},t.addEventListener("click",t.__handle__)},unbind:function(t){t.removeEventListener("click",t.__handle__)}};function ft(t,e){return"number"===typeof t?t:!(t=Number(t))||isNaN(t)?e:t}var ht=/yyyy|MM|M|mm|m|dd|d|HH|H|ss|s/g;function pt(t,e){var n=function(t){var e=(t=t?new Date(t):new Date).getFullYear(),n=t.getMonth()+1,i=t.getDate(),o=t.getHours(),r=t.getMinutes(),a=t.getSeconds();return{yyyy:e,M:n,d:i,H:o,m:r,s:a}}(t);return console.log(1111),e.replace(ht,(function(t){var e=n[4===t.length?t:t.slice(0,1)];return 2===t.length?function(t){return t<10?"0".concat(t):t}(e):e}))}function gt(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"d",i=Number(e);if(isNaN(i))throw new Error("invald number: "+e);var o="FullYear",r="Month",a="Day",s="Date",c="Hours",u="Seconds",l="Minutes",d="Milliseconds",f={y:o,yyyy:o,M:r,months:r,w:a,weeks:a,d:s,days:s,hours:c,h:c,seconds:u,s:u,minutes:l,m:l,milliseconds:d,ms:d},h=f[n];if(!h)throw new Error("invald type: "+n);if("Day"===h){if(i>6||i<0)throw new Error("\u65e5\u671f\u6570\u503c\u5e94\u8bbe\u7f6e\u8303\u56f4\u5e940-6,\u4f20\u5165\u503c\u4e3a\uff1a"+i);var p=i+1;t.setDate(t.getDate()+(p-t["get".concat(h)]()))}else t["set".concat(h)](t["get".concat(h)]()+i);return t}var mt=function(){var t,e=/])/g,s=/[&<>"'`]/g,c=/(?:\x00|^-*!?>|--!?>|--?!?$|\]>|\]$)/g,u=/&(?:#([xX][0-9A-Fa-f]+|\d+);?|(Tab|NewLine|colon|semi|lpar|rpar|apos|sol|comma|excl|ast|midast|ensp|emsp|thinsp);|(nbsp|amp|AMP|lt|LT|gt|GT|quot|QUOT);?)/g,l={Tab:"\t",NewLine:"\n",colon:":",semi:";",lpar:"(",rpar:")",apos:"'",sol:"/",comma:",",excl:"!",ast:"*",midast:"*",ensp:"\u2002",emsp:"\u2003",thinsp:"\u2009",nbsp:"\xa0",amp:"&",lt:"<",gt:">",quot:'"',QUOT:'"'},d=/^(?:(?!-*expression)#?[-\w]+|[+-]?(?:\d+|\d*\.\d+)(?:r?em|ex|ch|cm|mm|in|px|pt|pc|%|vh|vw|vmin|vmax)?|!important|)$/i,f=/[\x00-\x1F\x7F\[\]{}\\"]/g,h=/[\x00-\x1F\x7F\[\]{}\\']/g,p=/url[\(\u207D\u208D]+/g,g=/['\(\)]/g,m=/\/\/%5[Bb]([A-Fa-f0-9:]+)%5[Dd]/,v={javascript:1,data:1,vbscript:1,mhtml:1,"x-schema":1},w=/(?::|&#[xX]0*3[aA];?|�*58;?|:)/,_=/(?:^[\x00-\x20]+|[\t\n\r\x00]+)/g,y={Tab:"\t",NewLine:"\n"},b=function(t,e,n){return void 0===t?"undefined":null===t?"null":t.toString().replace(e,n)},x=String.fromCodePoint||function(t){return 0===arguments.length?"":t<=65535?String.fromCharCode(t):(t-=65536,String.fromCharCode(55296+(t>>10),t%1024+56320))};function C(t){var e=t.split(w,2);return!e[0]||2!==e.length&&t.length===e[0].length?null:e[0]}function S(e,n,i,o){return n=n||l,i=i||u,void 0===e?"undefined":null===e?"null":e.toString().replace(r,"\ufffd").replace(i,(function(e,i,r,a){return i?(i=Number(i[0]<="9"?i:"0"+i),o?x(i):128===i?"\u20ac":130===i?"\u201a":131===i?"\u0192":132===i?"\u201e":133===i?"\u2026":134===i?"\u2020":135===i?"\u2021":136===i?"\u02c6":137===i?"\u2030":138===i?"\u0160":139===i?"\u2039":140===i?"\u0152":142===i?"\u017d":145===i?"\u2018":146===i?"\u2019":147===i?"\u201c":148===i?"\u201d":149===i?"\u2022":150===i?"\u2013":151===i?"\u2014":152===i?"\u02dc":153===i?"\u2122":154===i?"\u0161":155===i?"\u203a":156===i?"\u0153":158===i?"\u017e":159===i?"\u0178":i>=55296&&i<=57343||13===i?"\ufffd":t.frCoPt(i)):n[r||a]||e}))}function k(t){return"\\"+t.charCodeAt(0).toString(16).toLowerCase()+" "}function O(t){return t.replace(p,(function(t){return"-x-"+t}))}function I(e){var n=C(e=t.yufull(S(e)));return n&&v[n.toLowerCase()]?"##"+e:e}return t={frCoPt:function(t){return void 0===t||null===t?"":!isFinite(t=Number(t))||t<=0||t>1114111||t>=1&&t<=8||t>=14&&t<=31||t>=127&&t<=159||t>=64976&&t<=65007||11===t||65535===(65535&t)||65534===(65535&t)?"\ufffd":x(t)},d:S,yup:function(t){return(t=C(t.replace(r,"")))?S(t,y,null,!0).replace(_,"").toLowerCase():null},y:function(t){return b(t,s,(function(t){return"&"===t?"&":"<"===t?"<":">"===t?">":'"'===t?""":"'"===t?"'":"`"}))},ya:function(t){return b(t,o,"&")},yd:function(t){return b(t,e,"<")},yc:function(t){return b(t,c,(function(t){return"\0"===t?"\ufffd":"--!"===t||"--"===t||"-"===t||"]"===t?t+" ":t.slice(0,-1)+" >"}))},yavd:function(t){return b(t,n,""")},yavs:function(t){return b(t,i,"'")},yavu:function(t){return b(t,a,(function(t){return"\t"===t?" ":"\n"===t?" ":"\v"===t?" ":"\f"===t?" ":"\r"===t?" ":" "===t?" ":"="===t?"=":"<"===t?"<":">"===t?">":'"'===t?""":"'"===t?"'":"`"===t?"`":"\ufffd"}))},yu:encodeURI,yuc:encodeURIComponent,yubl:function(e){return v[t.yup(e)]?"x-"+e:e},yufull:function(e){return t.yu(e).replace(m,(function(t,e){return"//["+e+"]"}))},yublf:function(e){return t.yubl(t.yufull(e))},yceu:function(t){return t=S(t),d.test(t)?t:";-x:'"+O(t.replace(h,k))+"';-v:"},yced:function(t){return O(S(t).replace(f,k))},yces:function(t){return O(S(t).replace(h,k))},yceuu:function(t){return I(t).replace(g,(function(t){return"'"===t?"\\27 ":"("===t?"%28":"%29"}))},yceud:function(t){return I(t)},yceus:function(t){return I(t).replace(i,"\\27 ")}}}();var vt={mixinByPath:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",i={};if(""===n)Object.assign(i,t,e);else{var o=n.split("."),r=t;o.map((function(t){r=r[t]})),r=Object.assign(r,e),i=t}return i},isOverAppVersion:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:U.app.version;function n(t){var e=t.reduce((function(t,e){var n=parseInt(e);return t+""+"".concat(("00"+n).slice(-2))}),"");return e}try{var i=t.split("."),o=n(i),r=parseInt(o),a=e.split("."),s=n(a),c=parseInt(s),u=c-r;if(u>0)return 1;if(u<0)return-1;if(0==u)return 0;throw new Error("\u5224\u65ad\u51fa\u9519\uff0c\u8bf7\u68c0\u67e5\u4f20\u5165\u7684\u7248\u672c\u53f7\u683c\u5f0f")}catch(l){throw new Error(l)}},merge:function(t){for(var e=1,n=arguments.length;e1&&void 0!==arguments[1]?arguments[1]:{};return X(K(t),e)},stringifyUrl:Z,stringifyURL:Z,SearchParams:tt,searchParams:tt,getUrlParam:et,getAllUrlParam:at,formatTime:pt,dateCalc:gt,cutString:function(t,e){if(2*t.length<=e)return t;for(var n=0,i="",o=0;o128?n+=2:n+=1,n>=e)return"".concat(i.substring(0,i.length),"...");return i},strLen:function(t){var e=0,n=t;if(""==n)return e;for(var i=0;i255?e+=2:e++;return e},inHTMLData:mt.yd,uriInHTMLData:mt.yufull,uriPathInHTMLData:mt.yu,uriComponentInHTMLData:mt.yuc},wt=function(){function t(){Object(s.a)(this,t),this.attributes={path:"/"}}return Object(c.a)(t,[{key:"set",value:function(t,e,n){if("undefined"!==typeof document){"number"===typeof(n=Object(r.a)(Object(r.a)({},this.attributes),n)).expires&&(n.expires=new Date(Date.now()+864e5*n.expires)),n.expires&&(n.expires=n.expires.toUTCString()),t=this._writeConverter(t).replace(/=/g,"%3D"),e=this._writeConverter(e);var i="";for(var o in n)n[o]&&(i+="; ".concat(o),!0!==n[o]&&(i+="="+n[o].toString().split(";")[0]));var a="".concat(t,"=").concat(e)+i;return document.cookie=a,a}}},{key:"get",value:function(t){if("undefined"!==typeof document&&(!arguments.length||t)){for(var e=document.cookie?document.cookie.split("; "):[],n={},i=0;i2&&void 0!==arguments[2]?arguments[2]:"d",i=Number(e);if(isNaN(i))throw new Error("invald number: "+e);var o="FullYear",r="Month",a="Day",s="Date",c="Hours",u="Seconds",l="Minutes",d="Milliseconds",f={y:o,yyyy:o,M:r,months:r,w:a,weeks:a,d:s,days:s,hours:c,h:c,seconds:u,s:u,minutes:l,m:l,milliseconds:d,ms:d},h=f[n];if(!h)throw new Error("invald type: "+n);return t["set".concat(h)](t["get".concat(h)]()+i),t}var St=function(){function t(e){Object(s.a)(this,t),this.time=e}return Object(c.a)(t,[{key:"add",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"d";return Ct(this.time,t,e),this}},{key:"subtract",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"d";return Ct(this.time,-t,e),this}},{key:"format",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:yt;return xt(this.time,t)}}]),t}();var kt=window.navigator&&navigator.userAgent||"",Ot=function(t){return t.test(kt)},It={Chrome:Ot(/webkit\W.*(chrome|chromium)\W/i),Firefox:Ot(/mozilla.*\Wfirefox\W/i),IE:function(){return"Microsoft Internet Explorer"===navigator.appName||!!Ot(/\bTrident\b/)},Kindle:Ot(/\W(kindle|silk)\W/i),Mobile:Ot(/(iphone|ipod|((?:android)?.*?mobile)|blackberry|nokia)/i),Opera:Ot(/opera.*\Wpresto\W|OPR/i),Safari:Ot(/webkit\W(?!.*chrome).*safari\W/i),QQ:Ot(/(M?QQBrowser)\/([0-9.]*)/i),iBrowser:Ot(/(iBrowser)\/([0-9.]*)/i),Dolphin:Ot(/DolphinHDCN\/([0-9.]*)/i),"360EEE":Ot(/360EE/i),UC:Ot(/UCBrowser\/([0-9.]*)/i),Tablet:Ot(/(ipad|android(?!.*mobile)|tablet)/i),TV:Ot(/googletv|sonydtv/i),WebKit:Ot(/webkit\W/i),Android:Ot(/android/i),IOS:Ot(/(ipad|iphone|ipod)/i),IPad:Ot(/ipad/i),IPhone:Ot(/iphone/i),IPod:Ot(/ipod/i),userAgent:function(){return kt}};var Et={version:(function(){var t,e={},n=navigator.userAgent.toLowerCase();return(t=n.match(/msie ([\d.]+)/))?e.ie=t[1]:(t=n.match(/firefox\/([\d.]+)/))?e.firefox=t[1]:(t=n.match(/chrome\/([\d.]+)/))?e.chrome=t[1]:(t=n.match(/opera.([\d.]+)/))?e.opera=t[1]:(t=n.match(/version\/([\d.]+).*safari/))&&(e.safari=t[1]),e.ie?"IE: "+e.ie:e.firefox?"Firefox: "+e.firefox:e.chrome?"Chrome: "+e.chrome:e.opera?"Opera: "+e.opera:e.safari?"Safari: "+e.safari:void 0}()+"").replace(/[^0-9.]/gi,""),android:It.android,ios:It.IOS,ipad:It.IPad,kindle:It.Kindle,tablet:It.Tablet,brower:It.Chrome?"chrome":It.Firefox?"firfox":It.Safari?"safari":It.Opera?"opera":It.QQ?"QQ Browser":It.Dolphin?"Dolphin":It.iBrowser?"iBrowser":It["360EE"]?"360":It.UC?"UC":"other",chrome:It.Chrome,firefox:It.Firefox,safari:It.Safari,opera:It.Opera};function At(t,e){return At=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},At(t,e)}function jt(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&At(t,e)}function Tt(t){return Tt=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},Tt(t)}function Lt(t){return Lt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Lt(t)}function Pt(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Rt(t,e){if(e&&("object"===Lt(e)||"function"===typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return Pt(t)}function Ut(t){var e=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,i=Tt(t);if(e){var o=Tt(this).constructor;n=Reflect.construct(i,arguments,o)}else n=i.apply(this,arguments);return Rt(this,n)}}var Nt=function(){function t(){Object(s.a)(this,t),this.map={},this.emitData={}}return Object(c.a)(t,[{key:"emit",value:function(t,e,n){this.map[t]?this.map[t].forEach((function(t){t.apply(this,e)})):n&&(this.emitData[t]?this.emitData[t].push(e):this.emitData[t]=[e])}},{key:"on",value:function(t,e,n){n&&this.emitData[t]&&(this.emitData[t].forEach((function(t){e.apply(this,t)})),delete this.emitData[t]),this.map[t]?this.map[t].push(e):this.map[t]=[e]}}]),t}(),Dt=function(t){jt(n,t);var e=Ut(n);function n(t){var i;return Object(s.a)(this,n),(i=e.call(this))._handleOptions(t),i._elementMap=new WeakMap,i._initIo(),i}return Object(c.a)(n,[{key:"observe",value:function(t){t=this._verifyElements(t);var e=this.io,n=this._elementMap;t.forEach((function(t){var i=n.get(t);i&&i.stopped||(n.set(t,{isShow:!1,timer:null,count:0}),e.observe(t))}))}},{key:"unobserve",value:function(t,e){t=this._verifyElements(t);var n=this.io,i=this._elementMap;t.forEach((function(t){n.unobserve(t),e?i.get(t).stopped=!0:i.delete(t)}))}},{key:"_initIo",value:function(){var t=this,e=this._elementMap;this.io=new IntersectionObserver((function(n){n.forEach((function(n){var i=n.target,o=e.get(i);n.isIntersecting?0===t.stayTime?t.emit("show",[i,++o.count]):o.timer=setTimeout((function(){o.timer=null,o.isShow=!0,t.emit("show",[i,++o.count])}),t.stayTime):(o.timer&&(clearTimeout(o.timer),o.timer=null),o.isShow&&(t.emit("hide",[i]),o.isShow=!1))}))}))}},{key:"_handleOptions",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.stayTime;this.stayTime=ft(e,0)}},{key:"_verifyElements",value:function(t){if(t instanceof Element)return[t];if(void 0===t.length)throw new Error('"elements" must be an element or an array of elements or an NodeList or an HTMLCollection. Got '+t);return[].slice.call(t)}}]),n}(Nt),Mt=Dt,Bt=0;function $t(){}var Ft,Wt,qt=function(t,e,n){"function"==typeof e&&(n=e,e={}),e||(e={});var i,o,r=e.prefix||"jsonp",a=e.name||r+Bt++,s=e.param||"callback",c=null!=e.timeout?e.timeout:6e4,u=encodeURIComponent,l=document.getElementsByTagName("script")[0]||document.head;function d(){i.parentNode&&i.parentNode.removeChild(i),window[a]=$t,o&&clearTimeout(o)}return c&&(o=setTimeout((function(){d(),n&&n(new Error("Timeout"))}),c)),window[a]=function(t){d(),n&&n(null,t)},t=(t+=(~t.indexOf("?")?"&":"?")+s+"="+u(a)).replace("?&","?"),(i=document.createElement("script")).src=t,console.log(t),l.parentNode.insertBefore(i,l),function(){window[a]&&d()}},zt=n(7),Ht={},Qt=function(){function t(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(Object(s.a)(this,t),this.storage=void 0,this.name=void 0,this.prefix="",this.holdTime=0,this.fullName="",this.expireKey="___EXPIRE_DATE_KEY__","string"!==typeof e)throw new Error('"name" must be a string');if(!e.trim())throw new Error("invalid name: ".concat(e));var i=n.holdTime,o=n.prefix,r=n.useSessionStorage;"string"===typeof o&&(this.prefix=o),this.name=e,this.fullName=this.prefix+this.name;var a=this.prefix+e;if(this.fullName=a,Ht[a])return Ht[a];Ht[a]=this,this.setHoldTime(i),this.option={name:e,options:n},this.storage=r?window.sessionStorage:window.localStorage}return Object(c.a)(t,[{key:"get",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,e=this.storage.getItem(this.fullName);if(!e)return t;try{e=JSON.parse(e)}catch(i){return e}var n=e[this.expireKey];return n?Date.now()>n?(console.log("".concat(this.fullName," is expired")),t):e.value:e}},{key:"set",value:function(t){var e,n=this._getExpires(),i=this.storage;n?i.setItem(this.fullName,JSON.stringify((e={},Object(zt.a)(e,this.expireKey,n),Object(zt.a)(e,"value",t),e))):(t=void 0===t?t:JSON.stringify(t),i.setItem(this.fullName,t));return this}},{key:"setHoldTime",value:function(t){return t=Number(t),isNaN(t)||(this.holdTime=t),this}},{key:"destroy",value:function(){var t=this.fullName;Ht[t]=null,this.storage.removeItem(t)}},{key:"getOptions",value:function(){return this.option}},{key:"_getExpires",value:function(){var t=this.holdTime;return t?Date.now()+1e3*t:0}}]),t}(),Vt=Qt;!function(t){t.get="get",t.post="post"}(Ft||(Ft={})),function(t){t.json="json",t.jsonp="jsonp"}(Wt||(Wt={}));var Kt={cookie:_t,dateTool:function(t){return new St(t)},device:Et,ElementViewObserver:Mt,Events:Nt,jsonp:qt,StorageHandle:Vt,request:new(function(){function t(){Object(s.a)(this,t)}return Object(c.a)(t,[{key:"get",value:function(t,e){return this.fetch({url:t,method:Ft.get,data:e})}},{key:"post",value:function(t,e){return this.fetch({url:t,method:Ft.post,data:e})}},{key:"jsonp",value:function(t,e){return this.fetch({url:t,method:Ft.get,data:e,dataType:Wt.jsonp})}},{key:"fetch",value:function(t){return new Promise((function(e,n){var i=t.url,o=t.method,a=t.data,s=t.dataType,c=void 0===s?"json":s;function u(t){U.sendError({error:"".concat(i,"\u63a5\u53e3\u8bf7\u6c42\u5931\u8d25--res: ").concat(t)}),n(t)}U.fetch({url:i,needAuth:!0,needGatewayAuth:!0,needGeneralParam:!0,data:a,method:o,dataType:c,success:function(t){var n,i,o=Number(null===t||void 0===t||null===(n=t.result)||void 0===n||null===(i=n.status)||void 0===i?void 0:i.code),a=Number(null===t||void 0===t?void 0:t.code),s=Number(null===t||void 0===t?void 0:t.status);0===o||0===a||200===s||0===s?e(t):u(Object(r.a)(Object(r.a)({},t),{},{_isErrorCode:!0}))},error:function(e){console.log("FetchError",e,t),u(e)}})}))}}]),t}())},Gt=navigator.userAgent;var Jt,Xt,Yt={buildMode:"prod",isIOS:!!Gt.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/),isHarmony:/sinanews(.+)harmony/gi.test(Gt),isWeibo:!!Gt.match(/weibo/gi),isWechat:!!Gt.match(/MicroMessenger/gi),isTencent:!!Gt.match(/qq/gi),pkgVersion:"0.1.39",isApp:!1},Zt=T({name:"aio-msgbox",props:{title:{type:String,default:""},message:{type:String,default:""},showConfirmButton:{type:Boolean,default:!0},showCancelButton:{type:Boolean,default:!1},confirmButtonText:{type:String,default:"\u786e\u5b9a"},cancelButtonText:{type:String,default:"\u53d6\u6d88"},confirmButtonClass:{type:String,default:""},cancelButtonClass:{type:String,default:""},zIndex:{type:Number,default:9999}},data:function(){return{visible:!1}},methods:{handleAction:function(t){var e=this.callback;this.visible=!1,e(t)}}},(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"aio-msgbox-wrapper",style:{"z-index":t.zIndex}},[n("transition",{attrs:{name:"msgbox-bounce"}},[n("div",{directives:[{name:"show",rawName:"v-show",value:t.visible,expression:"visible"}],staticClass:"aio-msgbox-mask"})]),n("transition",{attrs:{name:"msgbox-bounce"}},[n("div",{directives:[{name:"show",rawName:"v-show",value:t.visible,expression:"visible"}],staticClass:"aio-msgbox-popup"},[t.title?n("div",{staticClass:"aio-msgbox-title"},[t._v(t._s(t.title))]):t._e(),t.message?n("div",{staticClass:"aio-msgbox-content"},[n("div",{staticClass:"aio-msgbox-message",domProps:{innerHTML:t._s(t.message)}})]):t._e(),n("div",{staticClass:"aio-msgbox-btns"},[n("button",{directives:[{name:"show",rawName:"v-show",value:t.showCancelButton,expression:"showCancelButton"}],class:[t.cancelButtonClass],on:{click:function(e){return t.handleAction("cancel")}}},[t._v(t._s(t.cancelButtonText))]),t.showCancelButton?n("span",{staticClass:"spliter"}):t._e(),n("button",{directives:[{name:"show",rawName:"v-show",value:t.showConfirmButton,expression:"showConfirmButton"}],class:[t.confirmButtonClass,"highlight"],on:{click:function(e){return t.handleAction("confirm")}}},[t._v(t._s(t.confirmButtonText))])])])])],1)}),[],!1,null,"22091713",null).exports,te={title:"",message:"",showConfirmButton:!0,showCancelButton:!1,confirmButtonText:"\u786e\u5b9a",cancelButtonText:"\u53d6\u6d88",confirmButtonClass:"",cancelButtonClass:""},ee=o.a.extend(Zt),ne=[];function ie(t){for(var e=1,n=arguments.length;e0){var t=(Jt=ne.shift()).options;for(var e in t)t.hasOwnProperty(e)&&(Xt[e]=t[e]);void 0===t.callback&&(Xt.callback=oe),document.body.appendChild(Xt.$el),o.a.nextTick((function(){Xt.visible=!0}))}}var ae=function t(e,n){if("string"===typeof e?(e={message:e},arguments[1]&&(e.title=arguments[1]),arguments[2]&&(e.type=arguments[2])):e.callback&&!n&&(n=e.callback),"undefined"!==typeof Promise)return new Promise((function(i,o){ne.push({options:ie({},te,t.defaults||{},e),callback:n,resolve:i,reject:o}),re()}));ne.push({options:ie({},te,t.defaults||{},e),callback:n}),re()};ae.setDefaults=function(t){ae.defaults=t},ae.alert=function(t,e,n){return"object"===typeof e&&(n=e,e=""),ae(ie({title:e,message:t,$type:"alert"},n))},ae.confirm=function(t,e,n){return"object"===typeof e&&(n=e,e=""),ae(ie({title:e,message:t,$type:"confirm",showCancelButton:!0},n))},ae.close=function(){Xt.visible=!1,ne=[],Jt=null};var se=ae,ce={props:{size:Number,color:String},computed:{spinnerColor:function(){return this.color||this.$parent.color||"#ccc"},spinnerSize:function(){return(this.size||this.$parent.size||20)+"px"}}},ue=T({name:"snake",mixins:[ce]},(function(){var t=this,e=t.$createElement;return(t._self._c||e)("div",{staticClass:"aio-spinner-snake",style:{"border-top-color":t.spinnerColor,"border-left-color":t.spinnerColor,"border-bottom-color":t.spinnerColor,height:t.spinnerSize,width:t.spinnerSize}})}),[],!1,null,null,null).exports,le=T({name:"dots",mixins:[ce],computed:{spinnerSize:function(){return(this.size||this.$parent.size||20)/3-2+"px"},bounceStyle:function(){return{width:this.spinnerSize,height:this.spinnerSize,backgroundColor:this.spinnerColor}}}},(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"aio-spinner-dots"},[n("div",{staticClass:"aio-spinner-dots-bounce1",style:t.bounceStyle}),n("div",{staticClass:"aio-spinner-dots-bounce2",style:t.bounceStyle}),n("div",{staticClass:"aio-spinner-dots-bounce3",style:t.bounceStyle})])}),[],!1,null,null,null).exports,de=["snake","dots"],fe=T({name:"aio-spinner",components:{SpinnerSnake:ue,SpinnerDots:le},props:{type:{type:String,default:"snake"},color:{type:String,default:"#909399"},size:{type:Number,default:20}},computed:{spinnerName:function(){var t=de.indexOf(this.type)>-1?this.type:de[0];return"spinner-".concat(t)}}},(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("span",[n(t.spinnerName,{tag:"component"})],1)}),[],!1,null,null,null).exports,he=T({name:"aio-mask",components:{AioSpinner:fe},props:{visible:{type:Boolean,default:!1},loading:{type:Boolean,default:!1},scrollable:{type:Boolean,default:!1},closable:{type:Boolean,default:!1}},watch:{visible:function(t){!this.scrollable&&t?document.body.style.overflow="hidden":document.body.style.overflow=""}},methods:{close:function(){this.$emit("update:visible",!1),this.$emit("close")}}},(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{directives:[{name:"show",rawName:"v-show",value:t.visible,expression:"visible"}],staticClass:"aio-mask"},[t.closable?n("div",{staticClass:"aio-mask-icon",on:{click:t.close}},[t._t("close",(function(){return[n("svg",{staticClass:"icon",attrs:{t:"1589511111287",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"15307",width:"200",height:"200"}},[n("path",{attrs:{d:"M862.72 161.28a496 496 0 1 0 0 704 496.64 496.64 0 0 0 0-704z m-45.44 656a432 432 0 1 1 0-610.56 431.36 431.36 0 0 1 0 610.56z",fill:"#ffffff","p-id":"15308"}}),n("path",{attrs:{d:"M698.88 325.12a32.64 32.64 0 0 0-45.44 0L512 466.56 370.56 325.12a32 32 0 0 0-45.44 45.44L466.56 512l-141.44 141.44a32.64 32.64 0 0 0 0 45.44 33.28 33.28 0 0 0 45.44 0L512 557.44l141.44 141.44a33.28 33.28 0 0 0 45.44 0 32.64 32.64 0 0 0 0-45.44L557.44 512l141.44-141.44a32.64 32.64 0 0 0 0-45.44z",fill:"#ffffff","p-id":"15309"}})])]}))],2):t._e(),n("div",{staticClass:"aio-mask-content"},[n("aio-spinner",{directives:[{name:"show",rawName:"v-show",value:t.loading,expression:"loading"}]}),t._t("default")],2)])}),[],!1,null,null,null).exports;function pe(t,e,n,i){n&&Object.defineProperty(t,e,{enumerable:n.enumerable,configurable:n.configurable,writable:n.writable,value:n.initializer?n.initializer.call(i):void 0})}function ge(t,e,n,i,o){var r={};return Object.keys(i).forEach((function(t){r[t]=i[t]})),r.enumerable=!!r.enumerable,r.configurable=!!r.configurable,("value"in r||r.initializer)&&(r.writable=!0),r=n.slice().reverse().reduce((function(n,i){return i(t,e,n)||n}),r),o&&void 0!==r.initializer&&(r.value=r.initializer?r.initializer.call(o):void 0,r.initializer=void 0),void 0===r.initializer&&(Object.defineProperty(t,e,r),r=null),r}var me=n(6),ve=n.n(me);var we="undefined"!==typeof Reflect&&"undefined"!==typeof Reflect.getMetadata;function _e(t,e,n){if(we&&!Array.isArray(t)&&"function"!==typeof t&&"undefined"===typeof t.type){var i=Reflect.getMetadata("design:type",e,n);i!==Object&&(t.type=i)}}var ye,be,xe,Ce,Se;var ke=(ye=ve()({components:{}}),be=function(t){return void 0===t&&(t={}),function(e,n){_e(t,e,n),Object(me.createDecorator)((function(e,n){(e.props||(e.props={}))[n]=t}))(e,n)}}({}),ye((Ce=function(t){jt(n,t);var e=Ut(n);function n(){var t;Object(s.a)(this,n);for(var i=arguments.length,o=new Array(i),r=0;r0}}),!0;return!1}();var Ae="event",je="observer",Te=function(){if(Ie)return"function"===typeof window.CustomEvent?window.CustomEvent:(t.prototype=window.Event.prototype,t);function t(t,e){e=e||{bubbles:!1,cancelable:!1,detail:void 0};var n=document.createEvent("CustomEvent");return n.initCustomEvent(t,e.bubbles,e.cancelable,e.detail),n}}();function Le(t,e){if(t.length){var n=t.indexOf(e);return n>-1?t.splice(n,1):void 0}}function Pe(t,e){if("IMG"===t.tagName&&t.getAttribute("data-srcset")){var n,i,o,r=t.getAttribute("data-srcset"),a=[],s=t.parentNode.offsetWidth*e;(r=r.trim().split(",")).map((function(t){t=t.trim(),-1===(n=t.lastIndexOf(" "))?(i=t,o=999998):(i=t.substr(0,n),o=parseInt(t.substr(n+1,t.length-n-2),10)),a.push([o,i])})),a.sort((function(t,e){if(t[0]e[0])return-1;if(t[0]===e[0]){if(-1!==e[1].indexOf(".webp",e[1].length-5))return 1;if(-1!==t[1].indexOf(".webp",t[1].length-5))return-1}return 0}));for(var c,u="",l=0;l0&&void 0!==arguments[0]?arguments[0]:1;return Ie&&window.devicePixelRatio||t};function Ne(){if(!Ie)return!1;var t=!0,e=document;try{var n=e.createElement("object");n.type="image/webp",n.style.visibility="hidden",n.innerHTML="!",e.body.appendChild(n),t=!n.offsetWidth,e.body.removeChild(n)}catch(i){t=!1}return t}var De=function(){if(Ie){var t=!1;try{var e=Object.defineProperty({},"passive",{get:function(){t=!0}});window.addEventListener("test",null,e)}catch(n){}return t}}(),Me={on:function(t,e,n){var i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];De?t.addEventListener(e,n,{capture:i,passive:!0}):t.addEventListener(e,n,i)},off:function(t,e,n){var i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];t.removeEventListener(e,n,i)}},Be=function(t,e,n){var i=new Image;if(!t||!t.src){var o=new Error("image src is required");return n(o)}i.src=t.src,t.cors&&(i.crossOrigin=t.cors),i.onload=function(){e({naturalHeight:i.naturalHeight,naturalWidth:i.naturalWidth,src:i.src})},i.onerror=function(t){n(t)}},$e=function(t,e){return"undefined"!==typeof getComputedStyle?getComputedStyle(t,null).getPropertyValue(e):t.style[e]},Fe=function(t){return $e(t,"overflow")+$e(t,"overflow-y")+$e(t,"overflow-x")};function We(){}var qe,ze=function(){function t(e){var n=e.max;Object(s.a)(this,t),this.options={max:n||100},this._caches=[]}return Object(c.a)(t,[{key:"has",value:function(t){return this._caches.indexOf(t)>-1}},{key:"add",value:function(t){this.has(t)||(this._caches.push(t),this._caches.length>this.options.max&&this.free())}},{key:"free",value:function(){this._caches.shift()}}]),t}(),He=function(){function t(e){var n=e.el,i=e.src,o=e.error,r=e.loading,a=e.bindType,c=e.$parent,u=e.options,l=e.cors,d=e.elRenderer,f=e.imageCache;Object(s.a)(this,t),this.el=n,this.src=i,this.error=o,this.loading=r,this.bindType=a,this.attempt=0,this.cors=l,this.naturalHeight=0,this.naturalWidth=0,this.options=u,this.rect=null,this.$parent=c,this.elRenderer=d,this._imageCache=f,this.performanceData={init:Date.now(),loadStart:0,loadEnd:0},this.filter(),this.initState(),this.render("loading",!1)}return Object(c.a)(t,[{key:"initState",value:function(){"dataset"in this.el?this.el.dataset.src=this.src:this.el.setAttribute("data-src",this.src),this.state={loading:!1,error:!1,loaded:!1,rendered:!1}}},{key:"record",value:function(t){this.performanceData[t]=Date.now()}},{key:"update",value:function(t){var e=t.src,n=t.loading,i=t.error,o=this.src;this.src=e,this.loading=n,this.error=i,this.filter(),o!==this.src&&(this.attempt=0,this.initState())}},{key:"getRect",value:function(){this.rect=this.el.getBoundingClientRect()}},{key:"checkInView",value:function(){return this.getRect(),this.rect.topthis.options.preLoadTop&&this.rect.left0}},{key:"filter",value:function(){var t=this;(function(t){if(!(t instanceof Object))return[];if(Object.keys)return Object.keys(t);var e=[];for(var n in t)t.hasOwnProperty(n)&&e.push(n);return e})(this.options.filter).map((function(e){t.options.filter[e](t,t.options)}))}},{key:"renderLoading",value:function(t){var e=this;this.state.loading=!0,Be({src:this.loading,cors:this.cors},(function(n){e.render("loading",!1),e.state.loading=!1,t()}),(function(){t(),e.state.loading=!1,e.options.silent||console.warn("VueLazyload log: load failed with loading image(".concat(e.loading,")"))}))}},{key:"load",value:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:We;return this.attempt>this.options.attempt-1&&this.state.error?(this.options.silent||console.log("VueLazyload log: ".concat(this.src," tried too more than ").concat(this.options.attempt," times")),void e()):this.state.rendered&&this.state.loaded?void 0:this._imageCache.has(this.src)?(this.state.loaded=!0,this.render("loaded",!0),this.state.rendered=!0,e()):void this.renderLoading((function(){t.attempt++,t.options.adapter.beforeLoad&&t.options.adapter.beforeLoad(t,t.options),t.record("loadStart"),Be({src:t.src,cors:t.cors},(function(n){t.naturalHeight=n.naturalHeight,t.naturalWidth=n.naturalWidth,t.state.loaded=!0,t.state.error=!1,t.record("loadEnd"),t.render("loaded",!1),t.state.rendered=!0,t._imageCache.add(t.src),e()}),(function(e){!t.options.silent&&console.error(e),t.state.error=!0,t.state.loaded=!1,t.render("error",!1)}))}))}},{key:"render",value:function(t,e){this.elRenderer(this,t,e)}},{key:"performance",value:function(){var t="loading",e=0;return this.state.loaded&&(t="loaded",e=(this.performanceData.loadEnd-this.performanceData.loadStart)/1e3),this.state.error&&(t="error"),{src:this.src,state:t,time:e}}},{key:"$destroy",value:function(){this.el=null,this.src=null,this.error=null,this.loading=null,this.bindType=null,this.attempt=0}}]),t}(),Qe="https://mjs.sinaimg.cn/wap/online/home/v7/images/lz2X1.jpg",Ve=["scroll","wheel","mousewheel","touchmove"],Ke={rootMargin:"0px",threshold:0},Ge=function(t){return function(){function e(t){var n=t.preLoad,i=t.error,o=t.throttleWait,r=t.preLoadTop,a=t.dispatchEvent,c=t.loading,u=t.attempt,l=t.silent,d=void 0===l||l,f=t.scale,h=t.listenEvents,p=(t.hasbind,t.filter),g=t.adapter,m=t.observer,v=t.observerOptions;Object(s.a)(this,e),this.version="__VUE_LAZYLOAD_VERSION__",this.mode=Ae,this.ListenerQueue=[],this.TargetIndex=0,this.TargetQueue=[],this.options={silent:d,dispatchEvent:!!a,throttleWait:o||200,preLoad:n||1.3,preLoadTop:r||0,error:i||Qe,loading:c||Qe,attempt:u||3,scale:f||Ue(f),ListenEvents:h||Ve,hasbind:!1,supportWebp:Ne(),filter:p||{},adapter:g||{},observer:!!m,observerOptions:v||Ke},this._initEvent(),this._imageCache=new ze({max:200}),this.lazyLoadHandler=function(t,e){var n=null,i=0;return function(){if(!n){var o=Date.now()-i,r=this,a=arguments,s=function(){i=Date.now(),n=!1,t.apply(r,a)};o>=e?s():n=setTimeout(s,e)}}}(this._lazyLoadHandler.bind(this),this.options.throttleWait),this.setMode(this.options.observer?je:Ae)}return Object(c.a)(e,[{key:"add",value:function(e,n,i){var o=this;if(function(t,e){for(var n=!1,i=0,o=t.length;i1&&void 0!==arguments[1]?arguments[1]:{},n=Ge(t),i=new n(e);t.directive("lazy",{bind:i.add.bind(i),update:i.update.bind(i),componentUpdated:i.lazyLoadHandler.bind(i),unbind:i.remove.bind(i)})}},Xe=(n(179),{threshold:[0],root:null,rootMargin:"0px 0px -50px 0px"}),Ye=new(function(){function t(){Object(s.a)(this,t),this.prefix=(+new Date).toString(36),this.seed=0,this.set={}}return Object(c.a)(t,[{key:"uuid",value:function(){return"exposureset_".concat(this.prefix,"_").concat(this.seed++)}},{key:"add",value:function(t){var e=this.uuid();return this.set[e]=t,e}},{key:"has",value:function(t){return!!this.set[t]}},{key:"get",value:function(t){return this.set[t]}},{key:"delete",value:function(t){delete this.set[t]}}]),t}()),Ze={install:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.config,i=void 0===n?{}:n,o=e.name,a=void 0===o?"exposure":o,s=Object(r.a)(Object(r.a)({},Xe),i);console.log("[exposure plugin] ".concat(a," config"),s),qe||(qe=new IntersectionObserver((function(t){for(var e=0,n=t.length;e1&&void 0!==arguments[1]?arguments[1]:{};I(t,e),t.use(a.a),t.directive("callup",dt),t.use(Je,{error:e.LazyLoad_error||"https://mjs.sinaimg.cn/wap/online/home/v7/images/lz2X1.jpg",loading:e.LazyLoad_loading||"https://mjs.sinaimg.cn/wap/online/home/v7/images/lz2X1.jpg"});var i={name:"exposure",rootMargin:"0px 0px -50px 0px"};t.use(Ze,{config:Object.assign(i,e.exposure_config)}),t.appSNC=U,t.mixin({created:function(){var t=this;Object.keys(E).forEach((function(e){t["hb_".concat(e)]&&U[e](t["hb_".concat(e)].bind(t))})),"app"===U.context.target?this.onHBCreated&&this.onHBCreated():this.onH5Created&&this.onH5Created()},mounted:function(){"app"===U.context.target?this.onHBMounted&&this.onHBMounted():this.onH5Mounted&&this.onH5Mounted()}}),t.config.errorHandler=function(t,e,n){console.error("\u901a\u8fc7vue errorHandler\u6355\u83b7\u7684\u9519\u8bef"),console.error("error:",t),console.error("vm:",e),console.error("info:",n),U.sendError({error:t})};var o=!0;!1===e.use_aio_vuex?o=!1:"multiple"===e.use_aio_vuex&&(o="multiple");var s={state:e.state||{},actions:{},getters:{},mutations:e.mutations||{},plugins:[]},c={};function u(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],i=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],o=Object(r.a)(Object(r.a)(Object(r.a)(Object(r.a)(Object(r.a)({},i?s:{}),i?e.vuex_option:{}),t),{state:Object.assign(n?{AIO:{networkStatus:"",isOnline:"",readyData:{},firstAjaxData:{},firstAjaxError:{status:0,err:""}}}:{},i?s.state:{},i&&e.vuex_option?e.vuex_option.state:{},t.state||{})}),{mutations:Object.assign(n?{setAIOSTATE:function(t,e){for(var n in e)t.AIO[n]=e[n]}}:{},i?s.mutations:{},i&&e.vuex_option?e.vuex_option.mutations:{},t.mutations)});return new a.a.Store(o)}o&&("multiple"===o?t.mixin({computed:{$store:{get:function(){var t=this.$root._uid;if(c[t])return c[t];var e=this.$root.vuex_option,n=this.$root.merge_aio_vuex,i=this.$root.merge_common_vuex;return c[t]=u(e,n,i),c[t]},set:function(t){}}}}):t.prototype.$store=u({},!0,!0)),t.prototype.$AIO={context:Object.assign(U.context,Yt),wm:et("wm")||"",urlParam:at()||{},callup:lt},t.prototype.$appSNC=U,t.prototype.$AIOTools=vt,t.prototype.$AIOLibs=Kt,t.prototype.$MsgBox=se,t.prototype.$CrossEvent=n(180).default,t.prototype.$Calendar=n(182).default,t.prototype.$UniversalLog=n(24).default;var l=e.exts||{};Object.keys(l).forEach((function(n){if(tn[n])throw new Error("".concat(n," \u5df2\u7ecf\u5728AIO\u7ec4\u4ef6\u4e2d\u6ce8\u518c\uff0c\u4e0d\u652f\u6301\u8986\u76d6\uff0c\u8bf7\u66f4\u6362key\u503c"));t.prototype["$"+n]=e.exts[n]&&(e.exts[n].default||e.exts[n])||{}}));var d=e.statics||{};Object.keys(d).forEach((function(n){if(tn[n])throw new Error("".concat(n," \u5df2\u7ecf\u5728AIO\u7ec4\u4ef6\u4e2d\u6ce8\u518c\uff0c\u4e0d\u652f\u6301\u8986\u76d6\uff0c\u8bf7\u66f4\u6362key\u503c"));t.prototype["$"+n]=e.statics[n]&&(e.statics[n].default||e.statics[n])||{}})),window.SINAAIO=window.SINAAIO||{},window.SINAAIO.$AIO=t.prototype.$AIO,window.SINAAIO.$appSNC=t.prototype.$appSNC,window.SINAAIO.$AIOTools=t.prototype.$AIOTools,window.SINAAIO.$AIOLibs=t.prototype.$AIOLibs,window.SINAAIO.$MsgBox=t.prototype.$MsgBox,window.SINAAIO.$CrossEvent=t.prototype.$CrossEvent,window.SINAAIO.$Calendar=t.prototype.$Calendar,window.SINAAIO.$UniversalLog=t.prototype.$UniversalLog,t.component("AioPage",D),t.component("AioComp",M),t.component("AioSpinner",fe),t.component("AioMask",he),t.component("AioMaskLayer",Oe);var f=e.components||{};Object.keys(f).forEach((function(e){t.component(e,f[e].default||f[e])}))}},nn=en;function on(){ /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ on=function(){return t};var t={},e=Object.prototype,n=e.hasOwnProperty,i="function"==typeof Symbol?Symbol:{},o=i.iterator||"@@iterator",r=i.asyncIterator||"@@asyncIterator",a=i.toStringTag||"@@toStringTag";function s(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{s({},"")}catch(O){s=function(t,e,n){return t[e]=n}}function c(t,e,n,i){var o=e&&e.prototype instanceof d?e:d,r=Object.create(o.prototype),a=new C(i||[]);return r._invoke=function(t,e,n){var i="suspendedStart";return function(o,r){if("executing"===i)throw new Error("Generator is already running");if("completed"===i){if("throw"===o)throw r;return k()}for(n.method=o,n.arg=r;;){var a=n.delegate;if(a){var s=y(a,n);if(s){if(s===l)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===i)throw i="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);i="executing";var c=u(t,e,n);if("normal"===c.type){if(i=n.done?"completed":"suspendedYield",c.arg===l)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(i="completed",n.method="throw",n.arg=c.arg)}}}(t,n,a),r}function u(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(O){return{type:"throw",arg:O}}}t.wrap=c;var l={};function d(){}function f(){}function h(){}var p={};s(p,o,(function(){return this}));var g=Object.getPrototypeOf,m=g&&g(g(S([])));m&&m!==e&&n.call(m,o)&&(p=m);var v=h.prototype=d.prototype=Object.create(p);function w(t){["next","throw","return"].forEach((function(e){s(t,e,(function(t){return this._invoke(e,t)}))}))}function _(t,e){function i(o,r,a,s){var c=u(t[o],t,r);if("throw"!==c.type){var l=c.arg,d=l.value;return d&&"object"==Lt(d)&&n.call(d,"__await")?e.resolve(d.__await).then((function(t){i("next",t,a,s)}),(function(t){i("throw",t,a,s)})):e.resolve(d).then((function(t){l.value=t,a(l)}),(function(t){return i("throw",t,a,s)}))}s(c.arg)}var o;this._invoke=function(t,n){function r(){return new e((function(e,o){i(t,n,e,o)}))}return o=o?o.then(r,r):r()}}function y(t,e){var n=t.iterator[e.method];if(void 0===n){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&(e.method="return",e.arg=void 0,y(t,e),"throw"===e.method))return l;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return l}var i=u(n,t.iterator,e.arg);if("throw"===i.type)return e.method="throw",e.arg=i.arg,e.delegate=null,l;var o=i.arg;return o?o.done?(e[t.resultName]=o.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,l):o:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,l)}function b(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function x(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function C(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(b,this),this.reset(!0)}function S(t){if(t){var e=t[o];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var i=-1,r=function e(){for(;++i=0;--o){var r=this.tryEntries[o],a=r.completion;if("root"===r.tryLoc)return i("end");if(r.tryLoc<=this.prev){var s=n.call(r,"catchLoc"),c=n.call(r,"finallyLoc");if(s&&c){if(this.prev=0;--i){var o=this.tryEntries[i];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),x(n),l}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var i=n.completion;if("throw"===i.type){var o=i.arg;x(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,n){return this.delegate={iterator:S(t),resultName:e,nextLoc:n},"next"===this.method&&(this.arg=void 0),l}},t}function rn(t,e,n,i,o,r,a){try{var s=t[r](a),c=s.value}catch(u){return void n(u)}s.done?e(c):Promise.resolve(c).then(i,o)}function an(t){return function(){var e=this,n=arguments;return new Promise((function(i,o){var r=t.apply(e,n);function a(t){rn(r,i,o,a,s,"next",t)}function s(t){rn(r,i,o,a,s,"throw",t)}a(void 0)}))}}var sn,cn="undefined"!==typeof Reflect&&"undefined"!==typeof Reflect.getMetadata;function un(t,e,n){if(cn&&!Array.isArray(t)&&"function"!==typeof t&&!t.hasOwnProperty("type")&&"undefined"===typeof t.type){var i=Reflect.getMetadata("design:type",e,n);i!==Object&&(t.type=i)}}function ln(t){return void 0===t&&(t={}),function(e,n){un(t,e,n),Object(me.createDecorator)((function(e,n){(e.props||(e.props={}))[n]=t}))(e,n)}}var dn,fn,hn,pn,gn,mn,vn,wn,_n,yn,bn,xn,Cn,Sn,kn,On,In,En,An=ve()(sn=function(t){jt(n,t);var e=Ut(n);function n(){return Object(s.a)(this,n),e.apply(this,arguments)}return Object(c.a)(n)}(o.a))||sn,jn=(dn=ln({type:Number,required:!0,default:0}),fn=ln({type:Number,required:!0,default:0}),hn=ln({type:Number,required:!0,default:0}),pn=ln({type:Number,required:!0,default:0}),gn=ln({type:String,required:!0,default:""}),mn=ln({type:Array,required:!1,default:[]}),vn=ln({type:Array,required:!1,default:[]}),wn=ln({type:Array,required:!1,default:[]}),ve()((yn=function(t){jt(n,t);var e=Ut(n);function n(){var t;Object(s.a)(this,n);for(var i=arguments.length,o=new Array(i),r=0;r1&&void 0!==arguments[1]&&arguments[1],n=[];for(var i in t){var o=t[i];""!==o&&n.push("".concat(i,"=").concat(e?encodeURIComponent(o):o))}return n.join("&")}var Bn=j.a.statistics.errorReport;j.a.mountApi("wapApis",{sendError:function(){this.sendError=function(t){return new Promise((function(e,n){Bn.error(t.error),t.success&&t.success(),t.complete&&t.complete()}))}}}),j.a.on("errorInfo",(function(t){R.default.simaBizLog({ek:"WAP_PAGE_ERROR",method:"CLICK",attribute:t})}));j.a.sendError;function $n(t,e){var n=e instanceof Error?e.stack||"".concat(e.name,":").concat(e.message):e;j.a.sendError({error:"[".concat(t,"] ").concat(n)})}var Fn=function(t,e){var n=new RegExp(e+"=(.*?)(&|$)"),i=t.match(n);return null!=i?i[1]:""};j.a.mountApi("wapApis",{URLNavigateTo:function(){var t=[];this.URLNavigateTo=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return t.length&&(e=t.reduce((function(t,e){var n=e(t);return n||t}),e)),new Promise((function(t,n){if(t(),("web"===e.action||1==e.actionType)&&e.url){if(-1!=window.location.href.indexOf("wm=")&&-1==e.url.indexOf("wm=")){var i=Fn(window.location.href,"wm");e.url+=(-1==e.url.indexOf("?")?"?":"&")+"wm="+i,e.url=e.url.replace("?&","?")}var o=/sinanews(.+)harmony/gi.test(navigator.userAgent);location.href=o?"sinanews://sina.cn/webbrowser/detail.pg?link="+encodeURIComponent(e.url):e.url}}))},this.URLNavigateTo.tap=function(e){"function"==typeof e&&t.push(e)}}});j.a.URLNavigateTo;n(60);var Wn=function(){function t(e){return Object(s.a)(this,t),this._observer=null,this._elToMeta={},this._suffix="",this._index=0,this._config={},this._config=Object.assign({threshold:[0],root:null,rootMargin:"0px 0px -50px 0px"},e||{}),console.log("[vue-exposure] config: ".concat(this._config)),t.instance?t.instance:(this._suffix=(+new Date).toString(36),this._observer=null,this.createIntersectionObserver(),t.instance=this)}return Object(c.a)(t,[{key:"generateUniqueKey",value:function(){return"exposure_".concat(this._index++,"_").concat(this._suffix)}},{key:"getDatasetKey",value:function(e){return e.dataset[t.DATASET_KEY]||""}},{key:"createIntersectionObserver",value:function(){var e=this;window.IntersectionObserver&&(this._observer=new IntersectionObserver((function(n){n.forEach((function(n){var i=n.target,o=n.intersectionRatio,r=e._elToMeta[e.getDatasetKey(i)];if(r&&o){var a=window.getComputedStyle(i,null),s=a.visibility,c=a.height,u=a.width;if("hidden"!==s&&parseInt(c)*parseInt(u)!==0){var l=r.value,d=r.arg?r.arg.split(","):[];"function"===typeof l&&l.apply(void 0,Object(W.a)(d)),i.classList.add(t.EXPOSURE_SUCCESS_CLASS),e.unObserve(i)}}}))}),this._config))}},{key:"observe",value:function(e,n){var i=this.generateUniqueKey();e.dataset[t.DATASET_KEY]=i,this._elToMeta[i]=n,this._observer&&this._observer.observe(e)}},{key:"unObserve",value:function(t){var e=this.getDatasetKey(t);this._elToMeta[e]&&this._observer&&(delete this._elToMeta[e],this._observer.unobserve(t))}}]),t}();Wn.DATASET_KEY="__exposure_key",Wn.EXPOSURE_SUCCESS_CLASS="__isExposed";var qn;!function(t){t.SUCCESS="v-lazyload-success",t.ERROR="v-lazyload-error"}(qn||(qn={}));var zn=function(){function t(e){return Object(s.a)(this,t),this._observer=null,this._elToMeta={},this._suffix="",this._index=0,t.instance?t.instance:(this._observer=null,this._opts=e,this.createIntersectionObserver(),t.instance=this)}return Object(c.a)(t,[{key:"generateUniqueKey",value:function(){return"exposure_".concat(this._index++,"_").concat(this._suffix)}},{key:"getDatasetKey",value:function(e){return e.dataset[t.DATASET_KEY]||""}},{key:"createIntersectionObserver",value:function(){var t=this;"IntersectionObserver"in window&&(this._observer=new IntersectionObserver((function(e){e.forEach((function(e){var n=e.target,i=e.intersectionRatio,o=t._elToMeta[t.getDatasetKey(n)];if(o&&i>0){var r=n,a=new Image;a.src=o.value,a.onload=function(){r.src=o.value,r.classList.remove(qn.ERROR),r.classList.add(qn.SUCCESS),t.unObserve(n)},a.onerror=function(){r.classList.add(qn.ERROR)}}}))}),this._opts))}},{key:"observe",value:function(e,n){if("img"!==e.tagName.toLowerCase())throw new Error("".concat(n.name," \u5fc5\u987b\u5728 img \u6807\u7b7e\u4e0a\u4f7f\u7528"));var i=e;if(i.src||(i.src=t.DEFAULT_SRC),!n.value||"string"!==typeof n.value)throw new Error("".concat(n.value," \u5fc5\u987b\u662f\u5b57\u7b26\u4e32\u4e14\u4e0d\u80fd\u4e3a\u7a7a"));var o=this.generateUniqueKey();e.dataset[t.DATASET_KEY]=o,this._elToMeta[o]=n,this._observer&&this._observer.observe(e)}},{key:"unObserve",value:function(t){var e=this.getDatasetKey(t);this._elToMeta[e]&&this._observer&&(delete this._elToMeta[e],this._observer.unobserve(t))}}]),t}();zn.DATASET_KEY="__lazyload_key",zn.DEFAULT_SRC="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAMAAAACAQMAAACnuvRZAAAAA1BMVEUAAACnej3aAAAAAXRSTlMAQObYZgAAAApJREFUCNdjAAIAAAQAASDSLW8AAAAASUVORK5CYII=";var Hn=n(9);n(122);n(127);n(111);n(41).default;var Qn;Qn=n(188).default,j.a.mountApi("wapApis",{fetch:Qn});j.a.fetch;var Vn=["//localhost","//10.222",["t","e","s","t",".","s","i","n","a"].join(""),["t","y","t","e","s","t"].join(""),["wap","_","f","r","o","n","t",".","d","e","v"].join("")];var Kn=function(){function t(){Object(s.a)(this,t)}return Object(c.a)(t,[{key:"get",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=this.getUrlByEnv(t),i=n,o=e.params,r=void 0===o?{}:o;if(Object.keys(r).length>0){var a=n.includes("?")?"&":"?";i=n+a+Mn(r,!1)}return this.sncFetch(i,"GET",{},e)}},{key:"post",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=this.getUrlByEnv(t);return this.sncFetch(i,"POST",e,n)}},{key:"getUrlByEnv",value:function(t){return"string"===typeof t?t:["test","dev"].includes(function(){var t=Vn.some((function(t){return window.location.origin.includes(t)}))?"dev":"online";return Dn(window.location.href,"appEnv")||t}())?t.test:t.online}},{key:"sncFetch",value:function(){var t=an(on().mark((function t(e,n,i,o){var r,a,s,c,u,l,d,f,h,p,g,m,v,w,_,y,b,x,C,S,k;return on().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r=o.gatewayName,a=void 0===r?"":r,s=o.needGatewayAuth,c=void 0!==s&&s,u=o.needAuth,l=void 0!==u&&u,d=o.needGeneralParam,f=void 0!==d&&d,h=o.referer,p=void 0===h?"http://newsapp.sina.cn":h,g=o.dataType,m=void 0===g?"jsonp":g,v=o.timeout,w=void 0===v?0:v,_=o.headers,y=void 0===_?{}:_,b=o.moreConf,x=void 0===b?{}:b,C=o.format,S={url:e,method:n,data:i,gatewayName:a,needGatewayAuth:c,needAuth:l,needGeneralParam:f,referer:p,dataType:m,headers:y,moreConf:x,timeout:w},console.log("[snc-fetch] \u8bf7\u6c42\u53c2\u6570",S),k=j.a.fetch(S),"function"!==typeof C){t.next=12;break}return t.t1=C,t.next=8,k;case 8:t.t2=t.sent,t.t0=(0,t.t1)(t.t2),t.next=13;break;case 12:t.t0=k;case 13:return t.abrupt("return",t.t0);case 14:case"end":return t.stop()}}),t)})));return function(e,n,i,o){return t.apply(this,arguments)}}()}]),t}(),Gn=new Kn;new(function(){function t(){Object(s.a)(this,t),this.requestPool=[],this.gongBuInstance=null,this.requestParams=null,this.initWebGongBu()}return Object(c.a)(t,[{key:"loadGk",value:function(t){var e=this;return new Promise((function(n,i){return e.request(t,"loadGK",n,i)}))}},{key:"loadQE",value:function(t){var e=this;return new Promise((function(n,i){return e.request(t,"loadQE",n,i)}))}},{key:"updateParams",value:function(t){Object.assign(this.requestParams,t),this.callRequestPool()}},{key:"initParams",value:function(t){this.requestParams=t,this.callRequestPool()}},{key:"callRequestPool",value:function(){var t=this;0!==this.requestPool.length&&(this.requestPool.forEach((function(e){var n=e.method,i=$(e.params,2),o=i[0],r=i[1];null!==o&&void 0!==o&&o.length&&t.gongBuInstance[n](o,t.requestParams,r)})),this.requestPool.length=0)}},{key:"request",value:function(t,e,n,i){this.requestPool.push({method:e,params:[this.parseArgs(t),function(t,e){return t?i(t):n(e)}]}),null!==this.requestParams&&this.callRequestPool()}},{key:"parseArgs",value:function(t){return Array.isArray(t)?t:"number"===typeof t?[t]:($n("GongBu parseArgs()","\u53c2\u6570\u53ea\u80fd\u662f\u6570\u7ec4\u6216\u6570\u5b57"),[])}},{key:"initNativeGongBu",value:function(){var t=this;this.gongBuInstance=new Hn.a({jsb:j.a,id_prefix:"r",closeCache:!1,gkurl:["test","dev"].includes(j.a.app.env)?"http://gk.sina.cn/v1/gkmatch":"https://gk.sina.cn/v1/gkmatch"}),j.a.getSystemInfo({success:function(e){t.initParams({deviceId:(null===e||void 0===e?void 0:e.deviceId)||"",appEnv:j.a.app.env,ua:navigator.userAgent})}})}},{key:"initWebGongBu",value:function(){var t,e,n,i;this.gongBuInstance=new Hn.a({id_prefix:"r",closeCache:!1}),this.initParams({ua:navigator.userAgent,sinaglobal:null===(t=window)||void 0===t?void 0:t.getCookie("SINAGLOBAL"),ustat:null===(e=window)||void 0===e?void 0:e.getCookie("ustat"),ref:window.location.href,href:window.location.href,channel:(null===(n=window)||void 0===n||null===(i=n.sudaLogConfig)||void 0===i?void 0:i.channel)||"",useragent:navigator.userAgent,referrer:document.referrer})}}]),t}());n(27);var Jn=function(){this.__data__=[],this.size=0};var Xn=function(t,e){return t===e||t!==t&&e!==e};var Yn=function(t,e){for(var n=t.length;n--;)if(Xn(t[n][0],e))return n;return-1},Zn=Array.prototype.splice;var ti=function(t){var e=this.__data__,n=Yn(e,t);return!(n<0)&&(n==e.length-1?e.pop():Zn.call(e,n,1),--this.size,!0)};var ei=function(t){var e=this.__data__,n=Yn(e,t);return n<0?void 0:e[n][1]};var ni=function(t){return Yn(this.__data__,t)>-1};var ii=function(t,e){var n=this.__data__,i=Yn(n,t);return i<0?(++this.size,n.push([t,e])):n[i][1]=e,this};function oi(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e-1&&t%1==0&&t<=9007199254740991};var To=function(t){return null!=t&&jo(t.length)&&!xi(t)};var Lo=function(t){return xo(t)&&To(t)},Po=n(57),Ro=Function.prototype,Uo=Object.prototype,No=Ro.toString,Do=Uo.hasOwnProperty,Mo=No.call(Object);var Bo=function(t){if(!xo(t)||"[object Object]"!=yi(t))return!1;var e=wo(t);if(null===e)return!0;var n=Do.call(e,"constructor")&&e.constructor;return"function"==typeof n&&n instanceof n&&No.call(n)==Mo},$o={};$o["[object Float32Array]"]=$o["[object Float64Array]"]=$o["[object Int8Array]"]=$o["[object Int16Array]"]=$o["[object Int32Array]"]=$o["[object Uint8Array]"]=$o["[object Uint8ClampedArray]"]=$o["[object Uint16Array]"]=$o["[object Uint32Array]"]=!0,$o["[object Arguments]"]=$o["[object Array]"]=$o["[object ArrayBuffer]"]=$o["[object Boolean]"]=$o["[object DataView]"]=$o["[object Date]"]=$o["[object Error]"]=$o["[object Function]"]=$o["[object Map]"]=$o["[object Number]"]=$o["[object Object]"]=$o["[object RegExp]"]=$o["[object Set]"]=$o["[object String]"]=$o["[object WeakMap]"]=!1;var Fo=function(t){return xo(t)&&jo(t.length)&&!!$o[yi(t)]};var Wo=function(t){return function(e){return t(e)}},qo=n(88),zo=qo.a&&qo.a.isTypedArray,Ho=zo?Wo(zo):Fo;var Qo=function(t,e){if(("constructor"!==e||"function"!==typeof t[e])&&"__proto__"!=e)return t[e]},Vo=Object.prototype.hasOwnProperty;var Ko=function(t,e,n){var i=t[e];Vo.call(t,e)&&Xn(i,n)&&(void 0!==n||e in t)||so(t,e,n)};var Go=function(t,e,n,i){var o=!n;n||(n={});for(var r=-1,a=e.length;++r-1&&t%1==0&&t0){if(++e>=800)return arguments[0]}else e=0;return t.apply(void 0,arguments)}},mr=gr(hr);var vr=function(t,e){return mr(dr(t,e,cr),t+"")};var wr=function(t,e,n){if(!bi(n))return!1;var i=typeof e;return!!("number"==i?To(n)&&Yo(e,n.length):"string"==i&&e in n)&&Xn(n[e],t)};_r=function(t,e,n,i){sr(t,e,n,i)},vr((function(t,e){var n=-1,i=e.length,o=i>1?e[i-1]:void 0,r=i>2?e[2]:void 0;for(o=_r.length>3&&"function"==typeof o?(i--,o):void 0,r&&wr(e[0],e[1],r)&&(o=i<3?void 0:o,i=1),t=Object(t);++n0&&void 0!==arguments[0]?arguments[0]:{};return Object(r.a)(Object(r.a)({},this.baseConfig||{}),t)}},{key:"mergeURL",value:function(t,e,n){var i=yr(t),o=yr(n?this.baseURL:"");function r(t){return e?t.replace(/^(\w*:?)\/\//,"https://"):t}return{test:r(o.test+i.test),online:r(o.online+i.online)}}},{key:"isIncorrectUrl",value:function(t){var e=t.includes("?")?t.split("?")[0]:t;return["test.","tytest.","dev."].some((function(t){return e.includes(t)}))}},{key:"mergeRetryConfig",value:function(t){var e=0,n=100;if(t){var i,o,r,a="boolean"===typeof t?{}:t;e=null!==(i=null!==(o=a.times)&&void 0!==o?o:this.retryTimes)&&void 0!==i?i:2,n=null!==(r=a.delay)&&void 0!==r?r:100}return{times:e,delay:n}}},{key:"retry",value:function(t,e,n){return function(){for(var i=arguments.length,o=new Array(i),r=0;r0?setTimeout(s,n):r(t)}))}()}))}}},{key:"request",value:function(t){var e,n=t.retry,i=t.method,o=t.url,r=t.option,a=t.useHttps,s=void 0!==a&&a,c=t.useBaseURL,u=void 0===c||c,l=t.autoSendError,d=void 0===l||l,f=this.mergeURL(o,s,u),h=this.mergeOptions(r),p=this.mergeRetryConfig(n),g=p.times,m=p.delay;if(this.isIncorrectUrl(f.online)){var v="[ServiceModel] \u7ebf\u4e0a\u5730\u5740\u9519\u8bef\u7684\u4f7f\u7528\u4e86\u6d4b\u8bd5\u63a5\u53e3 url: ".concat(f.online);d?j.a.sendError({error:v}):console.error(v)}var w=[];return"GET"===i?(e=Gn.get,w=[f,h]):(e=Gn.post,w=[f,t.data,h]),this.retry(e,g,m).apply(Gn,w).catch((function(t){if(d){var e=t instanceof Error?t.stack||"".concat(t.name,":").concat(t.message):t;j.a.sendError({error:"[ServiceModel] url: ".concat(f.online," ;method: ").concat(i,";options: ").concat(JSON.stringify(h)," ;retryConfig: {time:").concat(g,",delay:").concat(m,"};error: ").concat(e)})}throw t}))}},{key:"get",value:function(t){return this.request(Object(r.a)(Object(r.a)({},t),{},{method:"GET"}))}},{key:"post",value:function(t){return this.request(Object(r.a)(Object(r.a)({},t),{},{method:"POST"}))}}],[{key:"filterInstances",value:function(e){return t.instances.filter((function(t){for(var n=0;n1&&void 0!==arguments[1]?arguments[1]:500,n=null;return function(){n&&(clearTimeout(n),n=null),n=setTimeout((function(){t()}),e)}}((function(){t.$appSNC.app.env;var e,n={title:Ln,url:Un,pic:Pn,introduction:Rn,posterBtn:!0},i=(e={highCount:t.highCount,middleCount:t.middleCount,lowCount:t.lowCount,highList:t.highList,middleList:t.middleList,lowList:t.lowList,renewTime:t.renewTime},function(t){var e=t.updateTimeStr,n=t.scanTitle,i=t.scanTopic,o=t.cityName,r=t.subtitle,a=t.highList,s=t.middleList,c=t.lowList,u=t.renewTime,l=t.highCount,d=t.middleCount,f=t.lowCount,h=t.pageTitle,p=void 0===h?"\u6d77\u62a5\u5206\u4eab":h,g=t.pageLink,m=void 0===g?"https://www.sina.cn":g,v=t.shareInfo,w=void 0===v?{}:v,_=t.logConfig;return{vueTpl:'\n
\n
\n \n\n \n\n \n
\n
\n\n',vueData:{updateTimeStr:e,scanTitle:n,scanTopic:i,cityName:o,subtitle:r,highList:a,middleList:s,lowList:c,renewTime:u,highCount:l,middleCount:d,lowCount:f,pageLink:m},cssStr:"\nhtml,\nbody {\n height: 100%;\n}\n.page_main {\n height: 100%;\n position: relative;\n display: flex;\n flex-direction: column;\n}\n.poster_wrap {\n margin: 0 auto;\n width: 7.5rem;\n padding: 0 !important;\n background: #3977F1;\n position: relative;\n z-index: 1;\n}\n\n.top_wrap {\n /* position: absolute;\n left: 0;\n top: 0;\n width: 100%;\n height: 2.4rem;\n z-index: -1; */\n position: relative;\n}\n\n.top_bg {\n /* position: absolute;\n left: 0;\n top: 0;\n width: 100%;\n height: 2.4rem;\n z-index: -1; */\n}\n\n.top_text {\n margin: 0.6rem auto 0;\n width: 7.16rem;\n height: 0.92rem;\n display: block;\n}\n\n.update_time_poster {\n position: absolute;\n bottom:.54rem;\n font-size: 0.24rem;\n color: #ffffff;\n text-align: left;\n padding-left:.45rem;\n margin: 0;\n}\n\n.info_wrap {\n margin: -0.3rem 0 0;\n border-radius: 0 !important;\n background: #f8f8f8;\n padding: 0.4rem 0 0 0;\n z-index: 1;\n position: relative;\n}\n.scan_tips_wrap {\n position: absolute;\n bottom: 0;\n left: 0;\n right: 0;\n padding: 1.5rem 0 0.6rem;\n background-image: linear-gradient(\n to bottom,\n rgba(255, 255, 255, 0) 0%,\n rgba(255, 255, 255, 1) 65%\n );\n align-items: center;\n justify-content: center;\n}\n\n.scan_tips {\n margin-right: 0.55rem;\n display: inline-block;\n position: relative;\n font-size: 0.24rem;\n color: #666666;\n}\n\n.scan_tips::after {\n width: 0.34rem;\n height: 0.34rem;\n display: block;\n content: ' ';\n background: url(http://mjs.sinaimg.cn/umd/bazaar/2020-6-16/arrow_bottom.png) center/100% 100%;\n position: absolute;\n right: -0.1rem;\n top: 50%;\n transform: translate(100%, -50%);\n}\n\n.testPic {\n display: block;\n width: 100%;\n margin-bottom: 0.5rem;\n}\n\n.sina_logo {\n width: 2.38rem;\n height: 0.62rem;\n background: url('http://mjs.sinaimg.cn/umd/bazaar/2020-6-16/sina_logo.png') center/100% 100%;\n}\n.qrCodeBox {\n margin: 0.5rem 0.3rem;\n box-sizing: border-box;\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n align-items: center;\n}\n.qrCodeBox .qrCode_wrap {\n flex: 1;\n display: flex;\n flex-direction: row;\n justify-content: flex-start;\n align-content: center;\n}\n\n.qrCodeBox .qrDiv {\n display: block;\n width: 1.3rem;\n height: 1.3rem;\n box-sizing: border-box;\n margin-right: 0.3rem;\n}\n\n.qrCodeBox .qrText_wrap {\n flex: 1;\n display: flex;\n flex-direction: column;\n margin-left: 0.02rem;\n text-align: left;\n font-size: 0.28rem;\n justify-content: center;\n font-size: 0.2rem;\n color: #ffffff;\n}\n\n/* 2021/10/26 */\n.lv_card {\n margin: 0 0.3rem 0.3rem;\n background: #ffffff;\n box-shadow: 0 1px 0.12rem 0 rgba(0, 0, 0, 0.05);\n border-radius: 0.16rem;\n overflow: hidden;\n max-height:5.34rem;\n}\n.lv_card_title {\n height: 0.85rem;\n flex-direction: row;\n align-items: center;\n font-size: 0.32rem;\n color: #4a77f2;\n font-weight: 500;\n margin-bottom: 0.1rem;\n display: flex;\n}\n.lv_card_title::before {\n content: '';\n height: 0.28rem;\n width: 0.08rem;\n background: #4d79f2;\n border-radius: 0.04rem;\n margin-right: 0.15rem;\n}\n\n.overview_data {\n display: flex;\n flex-direction: row;\n margin-bottom: 0.3rem;\n}\n.overview_data_flex {\n flex: 1;\n align-items: center;\n font-size: 0.26rem;\n color: #111;\n display: flex;\n flex-direction: column;\n}\n.overview_data_flex span {\n font-size: 0.26rem;\n color: #444444;\n}\n.overview_data_flex span {\n flex-direction: row;\n align-items: baseline;\n}\n.overview_data_flex strong {\n font-size: 0.42rem;\n margin-right: 0.08rem;\n font-weight: 600;\n}\n.epidemic_overview_tips {\n font-size: 0.2rem;\n color: #888888;\n margin: 0 0.2rem 0.3rem;\n text-align: left;\n}\n\n.fc_lv_2 {\n color: #ffab05;\n}\n.fc_lv_1 {\n color: #fe350e;\n}\n.fc_lv_4 {\n color: #8EA0DE;\n}\n.epidemic_list {\n margin: 0 0.3rem;\n display: flex;\n flex-direction: column;\n text-align: left;\n}\n.epidemic_list_lv1 {\n font-size: 0.3rem;\n color: #111111;\n font-weight: 600;\n}\n.epidemic_list_lv2 {\n min-height: 0.8rem;\n flex-direction: row;\n align-items: center;\n font-size: 0.3rem;\n color: #000000;\n display: flex;\n}\n.epidemic_list_txt {\n flex: 1;\n margin-right: 0.2rem;\n}\n.epidemic_list_lv2 + .epidemic_list_lv2 {\n border-top: 1px solid #e4e4e4;\n}\n\n",pageTitle:p,shareInfo:w,tplName:"general",logConfig:void 0===_?{}:_}}(Object(r.a)(Object(r.a)({},Nn),e)));t.$appSNC.openShare(Object(r.a)(Object(r.a)({},n),{},{ext:i}))}))),Cr()}}]),n}(Object(me.mixins)(An)))||xr,kr=T(Sr,(function(){var t=this,e=t.$createElement;return(t._self._c||e)("MainView",{attrs:{highList:t.highList,middleList:t.middleList,lowList:t.lowList,renewTime:t.renewTime,highCount:t.highCount,middleCount:t.middleCount,lowCount:t.lowCount,totalCount:t.totalCount}})}),[],!1,null,null,null).exports;j.a.mountApi("wapApis",{hideLoading:function(){this.hideLoading=function(t){var e=t.success;return new Promise((function(t,n){e&&e(),t()}))}}});j.a.hideLoading;j.a.mountApi("wapApis",{disableSlidingClose:function(){this.disableSlidingClose=function(t){var e=t.success;return new Promise((function(t,n){e&&e(),t()}))}}});j.a.disableSlidingClose;j.a.mountApi("wapApis",{pageError:function(){this.pageError=function(t){var e=t.success;return new Promise((function(t,n){e&&e(),t()}))}}});j.a.pageError;j.a.mountApi("wapApis",{closeWindow:function(){this.closeWindow=function(t){var e=t.success;return new Promise((function(t,n){e&&e(),t()}))}}});j.a.closeWindow;var Or=n(243).default;j.a.mountApi("wapApis",{getUserInfo:Or});j.a.getUserInfo;j.a.mountApi("wapApis",{getSystemInfo:function(){this.getSystemInfo=function(t){var e=t.success;return new Promise((function(t,n){e&&e(),t()}))}}});j.a.getSystemInfo;j.a.mountApi("wapApis",{navigateBack:function(){this.navigateBack=function(t){var e=t.success;return new Promise((function(t,n){e&&e(),t()}))}}});j.a.navigateBack;j.a.mountApi("wapApis",{firstAjaxCallbackData:function(){this.firstAjaxCallbackData=function(t){var e=t.success;return new Promise((function(t,n){e&&e(),t()}))}}});j.a.firstAjaxCallbackData;j.a.mountApi("wapApis",{setStatusBarMode:function(){this.setStatusBarMode=function(t){var e=t.success;return new Promise((function(t,n){e&&e(),t()}))}}});j.a.setStatusBarMode;j.a.mountApi("wapApis",{setTitleBarTransformHeight:function(){this.setTitleBarTransformHeight=function(t){var e=t.success;return new Promise((function(t,n){e&&e(),t()}))}}});j.a.setTitleBarTransformHeight;var Ir=n(250).default;j.a.mountApi("wapApis",{openShare:Ir});j.a.openShare;j.a.mountApi("wapApis",{getStorage:function(){this.getStorage=function(t){var e=t.key,n=t.success,i=t.error;return new Promise((function(t,o){var r="";try{r=localStorage.getItem(e)}catch(a){return i&&i(),o()}try{r=JSON.parse(r)}catch(a){}n&&n(r),t(r)}))}}});j.a.getStorage;j.a.mountApi("wapApis",{setStorage:function(){this.setStorage=function(t){var e=t.key,n=t.value,i=t.success,o=t.error;return new Promise((function(t,r){try{localStorage.setItem(e,n)}catch(a){return o&&o(),r()}i&&i(),t()}))}}});j.a.setStorage;j.a.mountApi("wapApis",{clearStorage:function(){this.clearStorage=function(t){var e=t.success;return new Promise((function(t,n){localStorage.clear(),e&&e(),t()}))}}});j.a.clearStorage;j.a.mountApi("wapApis",{getPermissionInfo:function(){this.getPermissionInfo=function(t){var e=t.success;return new Promise((function(t,n){e&&e(),t()}))}}});j.a.getPermissionInfo;j.a.mountApi("wapApis",{openPermission:function(){this.openPermission=function(t){var e=t.success;return new Promise((function(t,n){e&&e(),t()}))}}});j.a.openPermission;j.a.mountApi("wapApis",{triggerViewEvent:function(){this.triggerViewEvent=function(t){var e=t.success;return new Promise((function(t,n){e&&e(),t()}))}}});j.a.triggerViewEvent;function Er(t,e){R.default.simaBizLog({ek:t,method:"CLICK",attribute:e})}var Ar=window;function jr(t){var e=this;t=t||{},this.un=!1,this.debug=t.debug,this.status={0:"initing",1:"completed"},this.events={},this.handles={},this.comps=[],this.advanceComps=[],this.isEndReported=!1;window.addEventListener("unload",(function(){e.isEndReported||Er("PAGE_INIT_QUIT",{pagename:e.pagename,newsid:e.newsId,ua:navigator.userAgent,time:Ar.sncMonitorStartTime?Date.now()-Ar.sncMonitorStartTime:0})}))}Ar.sncMonitorStartTime=Date.now(),jr.prototype={constructor:jr,ready:function(t){var e=this;if(0===this.events[t])for(var n in this.events[t]=1,this.log("".concat(this.pagename,"-event-").concat(t," ---- ready")),Er("PAGE_INIT_END",{pagename:"".concat(this.pagename,"-event-").concat(t),newsid:this.newsId,ua:navigator.userAgent}),this.handles)if(this.handles.hasOwnProperty(n))for(var i=n.split(";"),o=0;o0?o.find("img").attr("src",t.portrait):o.html(''))}if(n.length>0){var r="http://passport.sina.cn/sso/logout?entry=wapsso&vt=4&r="+encodeURIComponent(window.location.href);n.html("\u9000\u51fa").attr("href",r)}}catch(a){console.log(a.message)}}return!1}}window.WapLogin=i;var o=i,r=document,a=window,s={UA:navigator.appVersion.toLowerCase(),uaIDs:{weibo:"weibo",sinanews:"sinanews",qqBrowser:"mqqbrowser/",ucBrowser:"ucbrowser/",baidu:"baidu",weixin:"micromessenger",qq:"qq",iphone:"iphone",ipod:"ipod",safari:/(Safari)\/(.*?)(?:\s{1}|$)/i,other:["crios/","sogou","browser","opera"]},systems:{ios:"ios",android:"android"},personURL:"https://my.sina.cn/?vt=4",sudaLog:function(t){if(SIMA){var e={type:"",name:t,title:"",index:0};"function"==typeof a.suds_count||a.suds_count?a.suds_count&&a.suds_count(obj):SIMA.suda_count&&SIMA.suda_count(e)}},insertDOM:function(t,e){t.append(e)},includeStr:function(t,e){return-1!=t.indexOf(e)},showEle:function(t,e,n){var i=$(t);if(void 0!=typeof isDelay){var o=parseInt(n)>0?parseInt(n):3e3;return e&&i.show(o),void(!e&&i.hide("fast"))}e&&i.show(),!e&&i.hide()},ajaxByJsonp:function(t){var e=r.getElementsByTagName("head")[0],n=r.createElement("script");n.src=t,n.charset="utf-8",e.appendChild(n)},getEvent:function(){if(r.all)return a.event;for(var t=this.getEvent.caller;null!=t;){var e=t.arguments[0];if(e&&(e.constructor===Event||e.constructor===MouseEvent||"object"===typeof e&&e.preventDefault&&e.stopPropagation))return e;t=t.caller}return null},preventEvent:function(t){return t&&t.preventDefault?t.preventDefault():a.event.returnValue=!1,!1},tokenListner:function(){var t=this;$(".re_cancel").each((function(){$(this).on("click",(function(){t.showToken()}))})),$(".re_ok").each((function(){$(this).on("click",(function(){t.showToken(),a.location.href=$(this).data("url")}))}))},insertToken:function(){var t=[];$(".re_box").length<1&&(t.push("
"),t.push('
'),t.push('
\u6536\u85cf\u5931\u8d25!
'),t.push('
'),t.push("
"),t.push("

\u60a8\u5df2\u6536\u85cf\uff0c\u8bf7\u5230\u4e2a\u4eba\u4e2d\u5fc3\u67e5\u770b

"),t.push("
"),t.push('\u77e5\u9053\u4e86'),t.push('\u53bb\u770b\u770b'),t.push("
"),t.push("
"),t.push("
"),this.insertDOM($("body"),t.join("")),this.tokenListner())},showToken:function(t,e){var n=$(".re_box"),i="",o="";n.length<=0&&this.insertToken(),n=$(".re_box"),i=$(".resault_f").eq(0),o=$(".resault_f").eq(1),this.tokenTimer&&clearTimeout(this.tokenTimer),i.hasClass("showFadeAnimate")&&i.html("").hide().removeClass("showFadeAnimate"),o.hasClass("showAnimate")&&(o.find("p").html(""),o.hide().removeClass("showAnimate")),"undefined"!=typeof e&&(e?(i.show().html(t).addClass("showFadeAnimate"),this.tokenTimer=setTimeout((function(){i.html("").hide().removeClass("showFadeAnimate")}),5e3)):e||o.show().addClass("showAnimate").find("p").html(t))},getShowNum:function(t){return t>0?t>1e4?parseInt(t/1e4)+"\u4e07":t:0},checkApp:function(t){return!!this.includeStr(this.UA,t)},isWeiboApp:function(){return this.checkApp(this.uaIDs.weibo)},isSinanews:function(){return this.checkApp(this.uaIDs.sinanews)},isQQBrowser:function(){return this.checkApp(this.uaIDs.qqBrowser)},isSafari:function(){var t=this,e=t.isBaiduBrowser()||t.isQQBrowser()||t.isUCBrowser()||t.isSinanews()||t.isWeiboApp()||t.isWeixinApp(),n=!1;for(var i in t.uaIDs.other){var o=t.uaIDs.other[i];!n&&(n=t.checkApp(o))}return!t.isAndroid()&&t.UA.match(t.uaIDs.safari)&&!e&&!n},isUCBrowser:function(){return this.checkApp(this.uaIDs.ucBrowser)},isBaiduBrowser:function(){return this.checkApp(this.uaIDs.baidu)},isWeixinApp:function(){return this.checkApp(this.uaIDs.weixin)},isQQApp:function(){return this.checkApp(this.uaIDs.qq)&&this.checkApp("nettype")},isAndroid:function(){return this.getPlatform()==this.systems.android},isIOS:function(){return this.getPlatform()==this.systems.ios},getSystem:function(){return this.systems},getPlatform:function(){var t=this.includeStr(this.UA,this.uaIDs.iphone),e=this.includeStr(this.UA,this.uaIDs.ipod);return t||e?this.systems.ios:this.systems.android},getBrowserVersion:function(){var t=this.isUCBrowser(),e=this.isQQBrowser(),n=this.UA,i=0;function o(t){var e=t.split(".");return parseFloat(e[0]+"."+parseInt(e[1]))}return t?i=o(n.split(this.uaIDs.ucBrowser)[1]):e&&(i=o(n.split(this.uaIDs.qqBrowser)[1])),i},getAllPlatformsInfo:function(){return{isWeiboApp:this.isWeiboApp(),isSinanews:this.isSinanews(),isBaiduBrowser:this.isBaiduBrowser(),isWeixinApp:this.isWeixinApp(),isQQApp:this.isQQApp()&&!this.isWeixinApp(),isQQBrowser:this.isQQBrowser()&&!this.isQQApp()&&!this.isWeixinApp(),isUCBrowser:this.isUCBrowser(),isSafari:this.isSafari(),system:this.getPlatform(),version:this.getBrowserVersion()}},getScreenInfo:function(){var t=a.innerWidth,e=a.innerHeight,n=r.documentElement,i=r.body;return{width:t||Math.min(n.clientHeight,i.clientHeight)||320,height:e||Math.min(n.clientHeight,i.clientHeight)||480,scrollTop:i.scrollTop||n.scrollTop||0,scrollLeft:i.scrollLeft||n.scrollLeft||0}},setCookieByDay:function(t,e,n,i,o,r){var a=new Date,s=864e5*n-1e3*(3600*a.getHours()+60*a.getMinutes()+a.getSeconds());return this.setCookie(t,e,s,i,o,r)},setCookie:function(t,e,n,i,o,a){var s=[];if(s.push(t+"="+escape(e)),n){var c=new Date;c.setTime(Date.now()+n),s.push("expires="+c.toGMTString())}i&&s.push("path="+i),o&&s.push("domain="+o),a&&s.push(a),r.cookie=s.join(";")},getCookie:function(t){if(!t)return console.log("missing key, get cookie abort!"),"";t=t.replace(/([\.\[\]\$])/g,"\\$1");var e=new RegExp(t+"=([^;]*)?;","i");return(r.cookie+";").match(e)?RegExp.$1:""},getQueryString:function(t){var e=new RegExp("(^|&)"+t+"=([^&]*)(&|$)","i"),n=window.location.search.substr(1).match(e);return null!==n?unescape(n[2]):null}},c={contentRows:[4,6],contentMax:88,userInfoUrl:window.location.protocol+"//interface.sina.cn/wap_api/wap_get_user_info.d.api?jsoncallback=",animate:["platformShow","sinaShow"],headimgsrc:window.location.protocol+"//n.sinaimg.cn/dae7ff0c/20151008/headimg.png",shareimgsrc:window.location.protocol+"//mjs.sinaimg.cn/wap/online/public/images/addToHome/sina_114x114_v1.png"},u={lower:window.location.protocol+"//3gimg.qq.com/html5/js/qb.js",higher:window.location.protocol+"//jsapi.qq.com/get?api=app.share"},l={shareBase:window.location.protocol+"//mjs.sinaimg.cn/wap/module/share_2.0/201509291635/",personal:window.location.protocol+"//my.sina.cn/?vt=4"},d=window.location.protocol===["h","ttp:"].join(""),f={platformsTo:{sweibo:["SinaWeibo","\u65b0\u6d6a\u5fae\u535a"],friend:["WechatFriends","\u5fae\u4fe1\u597d\u53cb"],fsircle:["WechatTimeline","\u5fae\u4fe1\u670b\u53cb\u5708"]},platformsFrom:{qqfriend:"qqfriend",qqweichat:"qqweichat",ucfriend:"ucfriend",ucweichat:"ucweichat"},ucPlatName:{iweibo:"kSinaWeibo",ifriend:"kWeixin",ifcircle:"kWeixinFriend",asweibo:"SinaWeibo",afriend:"WechatFriends",afcircle:"WechatTimeline"},browserStatus:{forbid:0,lower:1,higher:2},element:{CLASS:{wxShareIco:"j_share_bg",shareBg:"shareBg",shareIcon:"j_share_platform",shareContentZone:"j_icontent",shareBtn:"j_shareBtn",platforms_big:"j_platforms_big",sinaShareContent:"j_sinaShareContent",submitBtn:"j_isunbmit",addFavor:"j_iadd_btn",sinaInfo:"sinaInfo",forbid:"forbid",weiboFollowIcon:"j_wbfollow_btn",weiboFollow:"j_wbfollow"},ID:{sharefloat:"j_sharebox",floatCross:"j_sharecross",shareContentid:"j_ishare_content",sharetitle:"j_shareTitle",sharecnum:"j_ishare_num",spicid:"j_ishare_pic",userInfo:"j_sinaInfo",userName:"j_user_name",userImg:"j_user_img",shareImg:"j_ishare_img",insertDom:["j_com_pics_op","j_com_art_op"]}},shareWeiboContent:c,qqAPISrc:u,paths:l,defaultURL:{share:d?"//o.share.sina.cn/ajshare?vt=4":"//share.sina.cn/aj/ajshare?vt=4",target:d?"//o.share.sina.cn/ajpoint?vt=4":"//share.sina.cn/aj/ajpoint"},floatStatus:{login:0,platlist:1,share:2,fade:3}},h=function(){var t={ios:5.4,android:5.3,lower:5.4},e={ios:10.2,android:9.7},n=f.browserStatus,i={UC:n.forbid,QQ:n.forbid},o=s.getAllPlatformsInfo(),r=s.systems;return function(){var a=o,s=r,c=a.isQQBrowser,u=a.isUCBrowser,l=a.version,d=a.system,f=t,h=e,p=n,g=l>=h.android&&d===s.android,m=l>=h.ios&&d===s.ios,v=l>=f.android&&d===s.android,w=l>=f.lower&&d===s.android,_=l>=f.ios&&d===s.ios;u&&(g||m)?i.UC=p.higher:c&&(w||_)?i.QQ=p.higher:c&&v&&!w&&(i.QQ=p.lower);var y=function(){var t={},e=o,r=i.UC>n.forbid,a=i.QQ>n.forbid,s=e.isWeixinApp,c=e.isWeiboApp,u=e.isQQApp;return t.SinaWeibo=!0,t.WechatFriends=t.WechatTimeline=r||a||s||c||u,t}();for(var b in y)i[b]=y[b];return i}()},p=window;p.sinaCnShare||(p.sinaCnShare={},p.sinaCnShare.myUtility=s,p.sinaCnShare.getBrowserInfo=new h),p.sinaCnShare&&!p.sinaCnShare.wapLogin&&(p.sinaCnShare.wapLogin=new o);var g=n(4),m={shareFromUC:function(t,e){var n={getTop:function(t){var e=t.offsetTop;return null!=t.offsetParent&&(e+=n.getTop(t.offsetParent)),e},getLeft:function(t){var e=t.offsetLeft;return null!=t.offsetParent&&(e+=n.getLeft(t.offsetParent)),e},getCss3offsetTop:function(t){var e=getComputedStyle(t,null).webkitTransform;if("none"===e);else parseInt(e.split(",")[5].replace(")",""));return"BODY"!=t.parentNode.tagName&&(css3offsetTop+=n.getCss3offsetTop(t.parentNode)),css3offsetTop},getCss3offsetLeft:function(t){var e=getComputedStyle(t,null).webkitTransform;if("none"===e);else parseInt(e.split(",")[4]);return"BODY"!=t.parentNode.tagName&&(css3offsetLeft+=n.getCss3offsetLeft(t.parentNode)),css3offsetLeft},getNodeInfoById:function(t){var e=document.getElementById(t);return e?[n.getLeft(e)+n.getCss3offsetLeft(e),n.getTop(e)+n.getCss3offsetTop(e),e.offsetWidth,e.offsetHeight]:""}},i=f.platformsTo,o=f.ucPlatName,r=t.currentURL.indexOf("?")>=0?"&":"?",a=f.platformsFrom,s=t.platform,c=t.url;e&&e(t),"undefined"!=typeof ucweb?setTimeout((function(){ucweb.startRequest("shell.page_share",[t.title,t.content,t.url,t.platform,"","\u6211\u4eec\u6b63\u5728\u770b\u3010"+t.title+"\u3011\uff0c\u4e00\u8d77\u6765\u770b\u5427",n.getNodeInfoById(t.imgID)])}),500):"undefined"!=typeof ucbrowser&&(s===i.sweibo[0]?s=o.iweibo:s===i.friend[0]?(s=o.ifriend,c+=r+"from="+a.ucfriend):s===i.fsircle[0]&&(s=o.ifcircle,c+=r+"from="+a.ucweichat),setTimeout((function(){ucbrowser.web_share(t.title,t.content,c,s,"","",t.imgID)}),500))}},v=h(),w={shareFromQQ:function(t,e){var n=f.platformsTo,i=t.currentURL.indexOf("?")>=0?"&":"?",o=f.platformsFrom,r=t.platform,a=t.url;e&&e(t),r===n.friend[0]?(r=1,a+=i+"from="+o.qqfriend):r===n.fsircle[0]?(r=8,a+=i+"from="+o.qqweichat):r="";var s={title:t.title,description:t.content,url:a,img_url:t.imgSrc,to_app:r};"undefined"!=typeof browser&&"undefined"!=typeof browser.app&&v.QQ===f.browserStatus.higher?browser.app.share(s):"undefined"!=typeof window.qb&&v.QQ===f.browserStatus.lower&&window.qb.share(s)}},_={finishRelate:function(t){return'
\n ')},weiboLayer:function(t){var e=f.element,n=[],i="undefinded"!=typeof userInfo&&userInfo||{},o={uFace:i.userface||f.shareWeiboContent.headimgsrc,uname:i.uname||"\u65b0\u6d6a\u7528\u6237"};return n.push(f.shareWeiboContent.contentMax-t.content.length<0?"notice":""),n.push(f.shareWeiboContent.contentMax-t.content.length),'
\n
\n
\n
\n
\u5206\u4eab\u81f3\u5fae\u535a
\n
\n
\n
    \n
  • \n \n

    ').concat(f.platformsTo.sweibo[1],'

    \n
  • \n
  • \n \n

    ').concat(f.platformsTo.friend[1],'

    \n
  • \n
  • \n \n

    ').concat(f.platformsTo.fsircle[1],'

    \n
  • \n
\n
\n
\n
\n \n \n \n ').concat(o.uname,'\n
\n
\n \n \n \n \n ').concat(n[1],'\u5b57\n
\n\n \n
\n
\n
\n
\n
')},wxTips:function(){var t="//n.sinaimg.cn/default/dae7ff0c/20161228/sharetofriend.png",e=100,n=navigator.userAgent.match(/ios/gi);return window.shareTipsPic&&window.shareTipsPic.android&&window.shareTipsPic.ios&&(t=n?window.shareTipsPic.ios:window.shareTipsPic.android,e="100%"),'
\n\t\t\t\n\t\t\t\n\t\t\t\n\t\t\t\n\t\t\t\n\t\t\t\n\t\t\t
')}},y={docConfig:"undefined"!==typeof __docConfig&&__docConfig||{},shareCallBack:null,element:f.element,weiboFollowKey:"sinaShareFollowRecord",removeWeiboFollow:function(){var t=this.element;$("."+t.CLASS.weiboFollow).remove()},sendShare:function(t){var e=t.type,n=t.shareContent,i=t.ajaxCBName,o=t.sendCB,r="",a=this.docConfig.__tj_ch?this.docConfig.__tj_ch:"news",c=f.platformsTo,u=e||c.sweibo[0],l=this,d=!parseInt(s.getCookie(l.weiboFollowKey)||"0")&&l.weiboFollowState?"1":"0",h=s.isSinanews()?"1":"0",p=i||"shareCallback",g=parseInt((new Date).getTime()/1e3),m=g+"85e47ac07ac9d6416"+userInfo.uid,v=hex_md5(m),w=encodeURIComponent(function(t,e){var n=arguments.length;-1===t.indexOf("?")?(t+="?",n>1&&(t+=e)):n>1&&(t+="&"+e);return t}(n.shareURL,"wm=3049_all&from=qudao")),_="&csrftime=".concat(g,"&csrfcode=").concat(v,"&title=").concat(encodeURIComponent(n.title),"&content=").concat(encodeURIComponent(n.content),"&pic=").concat(encodeURIComponent(n.imgSrc),"&url=").concat(w,"&isdoc=").concat(n.isdoc||1,"&tj_ch=").concat(a);switch(u){case c.friend[0]:r=n.staticURL+"?load=weixinsingle&jsoncallback=cb0987";break;case c.fsircle[0]:r=n.staticURL+"?load=weixingroup&jsoncallback=cb0987";break;case c.sweibo[0]:parseInt(d)&&(l.setCookieByDay(l.weiboFollowKey,"1",1,"/",".sina.cn"),l.removeWeiboFollow()),r=(n.targetURL||this.shareConfig.targetURL)+"&load=weibo&jsoncallback="+p+"&weibofollow="+d+"&isapp="+h}r+=_,s.ajaxByJsonp(r),n.shareCallBack&&(this.shareCallBack=n.shareCallBack),o&&o(),window.shareCallback=l.shareFinishCallBack.bind(l),window.cb0987=function(t){}},shareFinishCallBack:function(t){var e="",n={};switch(t.code){case-3:e="\u5206\u4eab\u5931\u8d25!";break;case-2:e="\u672a\u767b\u5f55!";break;case-1:e="\u8bf7\u6c42\u975e\u6cd5\uff01";break;case 1:e="\u5206\u4eab\u6210\u529f\uff01";break;default:e="\u672a\u77e5\u72b6\u6001\u7801 "+t.code}"function"===typeof this.shareCallBack?this.shareCallBack():!((n=sinaCnShare.shareWeiboFinish||{})&&n.finishCB&&n.finishCB())&&s.showToken(e,!0),s.sudaLog("public_sinashare_success")}},b=y,x=window;window.ishare=!0;var C=x.sinaCnShare,S=window.location.protocol,k=f.defaultURL.share,O=f.defaultURL.target,I=function(t){this.config=t||{},this.curLink=window.location.href,this.docConfig=x.__docConfig||{},this.shareConfig={imgID:this.config.imgid||"j_ishare_pic",imgClass:this.config.imgClass||"j_cshare_pic",imgSrc:this.config.imgURL||this.docConfig.__mainPic||"",title:this.config.title||this.docConfig.__title||"",content:this.config.content||this.docConfig.__content||"",staticURL:this.config.staticURL||S+O,targetURL:this.config.targetURL||S+k,shareURL:this.config.shareURL||this.docConfig.__shareUrl||this.docConfig.__docUrl||this.curLink,isdoc:this.config.isdoc||this.docConfig.__isdoc||this.docConfig.__gspsId&&1||0},this.shareCallBack="",this.closeShareCallback="",this.paths=f.paths,this.element=f.element,this.qqAPISrc=f.qqAPISrc,this.ucPlatName=f.ucPlatName,this.floatStatus=f.floatStatus,this.platformsTo=f.platformsTo,this.platformsFrom=f.platformsFrom,this.browserStatus=f.browserStatus,this.shareWeiboContent=f.shareWeiboContent,this.curShareStatus={UC:this.browserStatus.forbid,QQ:this.browserStatus.forbid},this.allPlatformInfo={},this.myLogin=C.wapLogin,this.myUtility=C.myUtility,this.getBrowserInfo=C.getBrowserInfo,this.systems=this.myUtility.getSystem()};I.prototype=C.myUtility,I.prototype={tokenTimer:null,weiboFollowState:!0,getScreenInfo:function(){return this.myUtility.getScreenInfo()},showEle:function(t,e,n){this.myUtility.showEle(t,e,n)},openLogin:function(t,e){this.myLogin.login(!1)},shareHandle:function(t){this.layerStatus(this.floatStatus.fade),this.sendShare(t.platform)},shareFromUC:function(t,e){var n=this.shareConfig.shareURL||t.url;t.currentURL=n,m.shareFromUC(t,e)},shareFromQQ:function(t,e){var n=this.shareConfig.shareURL||t.url;t.currentURL=n,w.shareFromQQ(t,e)},shareFromWeinxin:function(t){var e=Object(g.$)("."+this.element.CLASS.wxShareIco),n=this;this.layerStatus(this.floatStatus.fade),e.length>0?e.show():(n.insertWeiXinTips(),setTimeout((function(){Object(g.$)("."+n.element.CLASS.wxShareIco).show()}),300)),window._wxShareConfig={title:t.title||"",desc:t.content||"",link:t.shareURL||"",imgUrl:t.content||"",type:"",dataUrl:""},window.initWxInfo(this.shareCallBack)},shareFromWeibo:function(t){this.layerStatus(this.floatStatus.fade);try{WeiboJSBridge.invoke("openMenu",{},(function(t,e,n){}))}catch(e){console.log(e.message)}},sendShare:function(t,e,n){var i=this,o=e||this.shareConfig;o.title=o.title||this.shareConfig.title,o.content=o.content||this.shareConfig.content,o.imgSrc=o.imgSrc||this.shareConfig.imgSrc,o.shareURL=o.shareURL||this.shareConfig.shareURL,this.shareCallBack&&(o.callback=this.shareCallBack.bind(this)),b.sendShare({type:t,ajaxCBName:n,shareContent:o,sendCB:function(){i.layerStatus(i.floatStatus.fade)}})},callWeiboFloat:function(){var t=this.shareWeiboContent,e=this.shareConfig,n=t.contentMax-e.content.length,i=this.element;Object(g.$)("#"+i.ID.shareContentid).text(e.content),Object(g.$)("#"+i.ID.sharecnum).html(n),n<0?(Object(g.$)("#"+i.ID.sharecnum).addClass("notice"),Object(g.$)("."+i.CLASS.submitBtn).addClass(i.CLASS.forbid)):(Object(g.$)("#"+i.ID.sharecnum).removeClass("notice"),Object(g.$)("."+i.CLASS.submitBtn).removeClass(i.CLASS.forbid)),Object(g.$)("#"+i.ID.shareImg).attr("src",e.imgSrc),this.layerStatus(this.floatStatus.share)},getUserInfo:function(t){function e(){return t.apply(this,arguments)}return e.toString=function(){return t.toString()},e}((function(){window.checkLogin()&&getUserInfo((function(t){userInfo.islogin=1,userInfo.userface=t.userface,userInfo.uname=t.uname,userInfo.uid=t.uid}))})),hideWeixinTimer:new Date,insertWeiXinTips:function(){var t=Object(g.$)("."+this.element.CLASS.wxShareIco),e=this;if(t.length<=0){var n=_.wxTips();this.myUtility.insertDOM(Object(g.$)("body"),n)}(t=Object(g.$)("."+this.element.CLASS.wxShareIco)).unbind("touchend",(function(){Object(g.$)(this).hide()})),t.bind("touchend",(function(t){t.preventDefault(),e.hideWeixinTimer=new Date,Object(g.$)(this).hide(),e.closeShareCallback&&e.closeShareCallback()}))},updateShareContent:function(t){var e=this.shareConfig,n=Object(g.$)("title"),i={findById:Object(g.$)("#"+e.imgID).length>0&&Object(g.$)("#"+e.imgID).attr("src"),findByClass:Object(g.$)("."+e.imgClass).length>0&&Object(g.$)("."+e.imgID).eq(0).attr("src")},o={imgID:e.imgID,title:e.title||n.html(),content:e.content||n.html(),imgSrc:e.imgSrc||this.docConfig.__mainPic||i.findById||i.findByClass||e.imgSrc||this.shareWeiboContent.shareimgsrc,url:e.shareURL,shareURL:e.shareURL,platform:t?t.data("platform")||t.parents("."+this.element.CLASS.shareIcon).data("platform"):""};return e.title=o.title,e.content=o.content,e.imgSrc=o.imgSrc,o},resetShareConfig:function(t){var e=t,n=this.shareConfig,i=this.element.ID;this.shareConfig.imgID=e.imgid||n.imgID,this.shareConfig.imgClass=e.imgClass||n.imgClass,this.shareConfig.imgSrc=e.imgSrc||n.imgSrc,this.shareConfig.title=e.title||n.title,this.shareConfig.content=e.content||n.content,this.shareConfig.staticURL=e.staticURL||n.staticURL,this.shareConfig.targetURL=e.targetURL||n.targetURL,this.shareConfig.shareURL=e.shareURL||n.shareURL,this.shareConfig.isdoc=e.isdoc||n.isdoc,Object(g.$)("title").html(this.shareConfig.title),Object(g.$)("#"+i.shareContentid).html(this.shareConfig.content),Object(g.$)("#"+i.shareImg).attr("src",this.shareConfig.imgSrc)},switchSharePlatform:function(t){var e=this.allPlatformInfo;e.isUCBrowser?this.shareFromUC(t,this.shareHandle.bind(this)):e.isSafari&&"undefined"!==typeof C.safari?(this.layerStatus(this.floatStatus.fade),this.sendShare(t.platform),C.safari.goSafariShare()):e.isQQBrowser?this.shareFromQQ(t):e.isWeixinApp||e.isQQApp?this.shareFromWeinxin(t):e.isWeiboApp&&this.shareFromWeibo(t)},showToken:function(t,e){this.myUtility.showToken(t,e)},insertShareFloat:function(){var t=_.weiboLayer(this.shareConfig);Object(g.$)("body").append(t),this.initFloatListner()},curTop:0,floatZoneStatus:function(t,e,n){var i=Object(g.$)(t),o=n===this.floatStatus.platlist?i.find("li"):i,r=e?1:0,a=this.shareWeiboContent,s=e?a.animate[0]:"",c=e?"block":"none";e?(i.css({opacity:0}),setTimeout((function(){i.css({opacity:r})}),250),o.css({"-webkit-animation-name":s,opacity:r,display:c}),o!==i&&i.css({display:c})):(o.css({"-webkit-animation-name":s,opacity:r,display:c}),i.css({opacity:r,display:c}))},updateUserInfo:function(){Object(g.$)("#"+this.element.ID.userImg).find("img").attr("src",userInfo.userface),Object(g.$)("#"+this.element.ID.userName).html(userInfo.uname)},hideBody:function(t){for(var e=Object(g.$)(document.body),n=e.children(),i=0;i1&&(this.shareCallBack=e),arguments.length>2&&(this.closeShareCallback=n),t&&(s=this.updateShareContent()),Object(g.$)("."+i.CLASS.shareBg).length<=0&&this.insertShareFloat(),this.showToken(),o.isWeixinApp||o.isWeiboApp?this.switchSharePlatform(s):a.QQ===r.forbid&&a.UC===r.forbid&&!o.isSafari||o.isWeixinApp?this.layerStatus(this.floatStatus.share):this.layerStatus(this.floatStatus.platlist)},wantShareToWB:function(t,e){var n=this,i=t||null;this.updateShareContent(),window.sendToWBCB=function(t){e&&e(t)};var o=function(){n.sendShare("",i,e&&"sendToWBCB")};window.userInfo?o():this.openLogin(o)},floatFocusListner:function(){Object(g.$)("."+this.element.CLASS.weiboFollow).on("click",(function(){}))},floatPlatformListner:function(){Object(g.$)("."+this.element.CLASS.shareIcon).on("click",(function(){}))},floatCloseListner:function(){var t=this;Object(g.$)("#"+this.element.ID.floatCross).on("click ",(function(){t.layerStatus(t.floatStatus.fade),t.closeShareCallback&&t.closeShareCallback()}))},floatContentListner:function(t){var e=this.element,n=Object(g.$)("."+e.CLASS.sinaShareContent),i=Object(g.$)("."+e.CLASS.shareContentZone),o=Object(g.$)("#"+e.ID.shareContentid),r=Object(g.$)("#"+e.ID.sharecnum),a=Object(g.$)("."+e.CLASS.submitBtn),s=this.shareWeiboContent,c=this.shareConfig,u=this.myUtility.getScreenInfo().height,l=this,d=function(){if("block"===n.css("display")){var t=document.getElementById(e.ID.shareContentid).value,i=s.contentMax-t.length;r.html(i),i<0||i===s.contentMax?(r.addClass("notice"),a.addClass(e.CLASS.forbid)):(r.removeClass("notice"),a.removeClass(e.CLASS.forbid)),c.content=t}};t?(Object(g.$)("#"+e.ID.shareContentid).on("click tap",(function(){o.html();l.showToken(),o.focus()})).on("keyup",d).focus((function(){i.css({height:"85px"}),Object(g.$)(this).attr("rows",s.contentRows[0]),Object(g.$)(".sharebox").css({"margin-top":"40px"}),Object(g.$)(".shareBg").css("height",u+50+"px")})).blur((function(){Object(g.$)(this).attr("rows",s.contentRows[1]),Object(g.$)(".sharebox").css({"margin-top":"10px"}),Object(g.$)(".shareBg").css("height",u+10+"px")})),document.addEventListener("touchend",d,!1)):(i.css({height:"140px"}),o.attr("rows",s.contentRows[1]))},floatSubmitListner:function(){var t=this,e=this.element;Object(g.$)("."+e.CLASS.submitBtn).each((function(){Object(g.$)(this).on("click",(function(){t.showToken(),Object(g.$)(this).hasClass(e.CLASS.forbid)||t.sendShare(t.platformsTo.sweibo[0])}))}))},initFloatListner:function(){var t=this.myUtility.getScreenInfo().height;this.floatPlatformListner(),this.floatCloseListner(),this.floatContentListner(!0),this.floatSubmitListner(),this.floatFocusListner(),Object(g.$)("."+this.element.CLASS.shareBg).css("height",t+50+"px")},toggleWeiboFollow:function(){var t=this,e=t.element,n=Object(g.$)("."+e.CLASS.weiboFollowIcon);n.length>0&&(n.hasClass("on")?(n.removeClass("on"),t.weiboFollowState=!1):(n.addClass("on"),t.weiboFollowState=!0))},shareListner:function(){var t=this;Object(g.$)("."+t.element.CLASS.shareBtn).on("click tap",(function(){})),window.addEventListener("click",(function(e){var n=e.target||t.myUtility.getEvent().target,i=Object(g.$)(n),o="#j_comment_nav",r=t.element,a=t.platformsTo,s=t.allPlatformInfo.isUCBrowser,c=(new Date).getTime()-t.hideWeixinTimer.getTime()>500,u=i.parents("."+r.CLASS.shareIcon),l=u.length>0?t.updateShareContent(u):t.updateShareContent(i);(i.hasClass(r.CLASS.weiboFollow)||i.parent("."+r.CLASS.weiboFollow).length>0)&&t.toggleWeiboFollow(),i.hasClass(r.CLASS.shareBtn)||i.parents("."+r.CLASS.shareBtn).length>0||i.hasClass("j_share_btn")||i.parents(".j_share_btn").length>0?(t.myUtility.preventEvent(e),t.wantShare()):c&&(i.hasClass(r.CLASS.shareIcon)||u.length>0)&&(Object(g.$)("."+r.CLASS.shareBg).length<=0&&t.insertShareFloat(),t.showToken(),l.platform===a.sweibo[0]?t.callWeiboFloat():s?(t.showEle(o,!1),t.shareFromUC(l),setTimeout((function(){t.showEle(o,!0)}),600)):t.switchSharePlatform(l));var d=Object(g.$)("#ST_outLogin_mask"),f=Object(g.$)("#j_sharebox"),h="#j_sharecross";d.length>0&&f.length>0&&"none"!==f.css("display")&&("none"!==d.css("display")?t.showEle(h,!1):"none"===d.css("display")&&t.showEle(h,!0))}))},initUtility:function(){this.getUserInfo(),this.shareListner()},initBrowserVersion:function(){this.curShareStatus=this.getBrowserInfo},loadQQAPI:function(){var t=this.allPlatformInfo.isQQBrowser,e=this;if(t){var n=this.qqAPISrc,i=this.curShareStatus.QQ\n ').concat(n[i].title,"\n ");if(t)return e.listStr=t,_.finishRelate(e)}function D(t){var e=document.querySelector(".M_share_rebox.j_shareFinish"),n=document.body,i=document.querySelector("html");window.iscrollToTop=window.iscrollToTop||0,t?(window.iscrollToTop=window.scrollY,s.sudaLog(E),e&&e.classList.remove("hide"),n.style.overflow="hidden",n.style.marginTop="-".concat(window.iscrollToTop,"px"),i.style.position="fixed",i.style.height="100%",i.style.width="100%",i.style.overflow="hidden"):(e&&e.classList.add("hide"),n.style.overflow="auto",n.style.marginTop="0",i.style.position="relative",i.style.overflow="auto",window.iscrollToTop&&window.scrollTo(0,window.iscrollToTop))}function M(){var t=N();if(!t)return!1;var e=function(t,e){if(t&&"object"===typeof e){var n=R.createElement(t);for(var i in e)"innerHTML"!==i?n.setAttribute(i,e[i]):n[i]=e[i];return n}}("section",{class:"M_share_rebox j_shareFinish",innerHTML:t});return R.body.appendChild(e),D(!0),document.addEventListener("click",(function(t){var e=t.target;if(e.classList.contains("popup_share_clo")&&(D(!1),s.sudaLog(L)),e.classList.contains("j_share_unshow")){D(!1),s.sudaLog(T);var n=7,i=s.getQueryString("testLeftTime");i&&(n=parseInt(i)/1440),s.setCookieByDay(U,"1",n,"/",".sina.cn")}if(e.parentElement.classList.contains("popup_share_feed_txt")||e.classList.contains("popup_share_feed_txt")){var o=e.parentElement.classList.contains("popup_share_feed_txt")&&e.parentElement||e.classList.contains("popup_share_feed_txt")&&e;if(!o)return;var r=o.getAttribute("data-href");D(!1),window.location.href=r}})),window._sinaCallEvent&&window._sinaCallEvent.trigger("sina_bind_target"),!0}var B={finishCB:function(){var t=R.querySelector(".j_shareFinish.M_share_rebox"),e=!1;if(!s.getCookie(U))return $("."+f.element.CLASS.wxShareIco).hide(),t?(D(!0),e=!0):e=M(),e}};P.sinaCnShare&&(P.sinaCnShare.shareWeiboFinish=B);var F={_type:function(t){var e=typeof t;return"object"===e?Object.prototype.toString.call(t).match(/\[object (.*)\]/)?RegExp.$1.toLowerCase():"other":e},_extend:function(t,e,n){for(var i in n=n||!1,e)(e.hasOwnProperty(i)&&!t.hasOwnProperty(i)||!n)&&(t[i]=e[i])},generateUid:function(t){var e=["A","z","C","E","d","H","j","v","k","L"],n=(new Date).getTime();return(t=t||"")+function(){var t=""+parseInt(1e4*Math.random());return[].map.call(t,(function(t){return e[t]})).join("")}()+n},setCookie:function(t,e,n,i,o,r){var a=[];if(a.push(t+"="+escape(e)),n){var s=new Date;s.setTime(Date.now()+n),a.push("expires="+s.toGMTString())}i&&a.push("path="+i),o&&a.push("domain="+o),r&&a.push(r),doc.cookie=a.join(";")},getCookie:function(t){if(!t)return console.log("missing key, get cookie abort!"),"";t=t.replace(/([\.\[\]\$])/g,"\\$1");var e=new RegExp(t+"=([^;]*)?;","i");return(doc.cookie+";").match(e)?unescape(RegExp.$1):""}},W=function(){var t={};function e(t){return{listener:[],isLive:t||!1,liveEvents:[]}}return{on:function(t,n,i){this.eventMap||(this.eventMap={});var o=this.eventMap,r={},a=null;i=i||!1;if(o.hasOwnProperty(t)||(o[t]=e(i)),a=o[t],r=function(t,e){var n=t.listener,i={};return!n.every((function(t){return t.func!==e||(i=t,!1)}))||(i={func:e,liveIndex:0},n.push(i)),i}(o[t],n),i&&a.liveEvents.length>0&&r.liveIndex-1&&(window.jsBridge={process:function(t){console.log(t)}});var q=window,z=document,H={get cnf(){return!this._cnf&&(this._cnf={actionMap:["unknow","comment","share","initShareInfo","open_comment","collection","login","newLogin","subscription","mpSubscription","constellation","skip","font-change","switch-daynight","update-constellation","car","scheme","appoint_match","appoint_query","reserved","search-keywords","forbidShowShare","confirmLogin","pageTimeout","get_deviceinfo","getDeviceStatus","activity-info","setAPPSearchKeywords","changeSearchKeyStatus","reloadPage","wdReadContinue","closePage","callPhone","searchGifInfo","jumpSysPushSetting","getSysPushSetting","getAppPushSetting","setAppPushSetting","onPageLifeCycle","refreshFeed","openApp","getAppCommonInfos","URLNavigateTo"],methods:["comment","share","initShareInfo","open_comment","collection","login","newLogin","subscription","mpSubscription","constellation","skip","car","scheme","appoint_match","appoint_query","reserved","searchKeywords","forbidShowShare","confirmLogin","pageTimeout","getDeviceInfo","getDeviceStatus","activityInfo","setAPPSearchKeywords","changeSearchKeyStatus","reloadPage","wdReadContinue","closePage","callPhone","searchGifInfo","jumpSysPushSetting","getSysPushSetting","getAppPushSetting","setAppPushSetting","refreshFeed","openApp","getAppCommonInfos","URLNavigateTo"],clientEventMap:["font-change","switch-daynight","update-constellation","search-keywords","get_deviceinfo","activity-info","searchGifInfo","onPageLifeCycle"],iframeProtocol:"jsBridge://",whiteCB:["share","initShareInfo","appoint_match","appoint_query","reserved","getDeviceStatus","login","newLogin","confirmLogin","changeSearchKeyStatus","searchGifInfo","jumpSysPushSetting","getSysPushSetting","getAppPushSetting","setAppPushSetting","onPageLifeCycle","refreshFeed","openApp","getAppCommonInfos","URLNavigateTo"]}),this._cnf},set cnf(t){return"object"===F._type(t)&&(!this._cnf&&this.cnf,Object.keys(t).forEach((function(e){this._cnf[e]=t[e]}))),t},init:function(t){navigator.userAgent.match(/sinanews/gi)&&(t&&(this.cnf=t),this.checkDepend()&&this.initListen())},initListen:function(){var t=this.cnf,e=this;t.clientEventMap.forEach((function(t){if(t){var n={method:"addEventListener",event:t,callback:"try{newsAppBridge.trigger('"+t+"',[data]);}catch(e){}"};e.on(t,e._proxy.bind(H,t)),e._request(n)}})),t.methods.forEach((function(t){e.on("call_"+t,e._proxy.bind(H,t))}))},checkDepend:function(){var t=this.cnf;return t.protolType="unknow",q.jsBridge&&"function"===F._type(q.jsBridge.process)?(t.protolType="jsBridge",this.enable=!0):!!navigator.userAgent.toLowerCase().match(/iphone|ipod|ipad/)&&(t.protolType="iframe",this.enable=!0)},_request:function(t,e,n){if(this.enable){var i=this.cnf;n=n||3e3;var o=F.generateUid(),r=null,a=null;if("function"===F._type(e)&&(q[a="h5appCallback"+o]=function(t){delete q[a],e(t)}.bind(window),F._extend(t,{callback:"try{window['"+a+"']([data])}catch(err){console.log(err)}"})),t=JSON.stringify(t),"jsBridge"===i.protolType)q.jsBridge.process(t);else{var s="jsBridge"+o;q[s]=t,(r=z.createElement("iframe")).src=i.iframeProtocol+s,r.style.display="none",i.iframeProtocol&&s&&z.body.appendChild(r),setTimeout((function(){document.body.removeChild(r)}),3e3)}}},_proxy:function(t,e,n){var i=this.cnf;if(i.actionMap&&-1!==i.actionMap.indexOf(t)){var o={data:{action:t},callback:"",method:"requestCallback"},r="undefined"!==typeof e&&e||{};switch(t){case"onPageLifeCycle":this.trigger("call_setPageLifeCycle",r);break;case"font-change":this.trigger("call_setFontSize",r);break;case"switch-daynight":this.trigger("call_dayNight",r);break;case"update-constellation":this.trigger("call_upConstellation",r);break;case"search-keywords":this.trigger("call_searchKeywords",r);break;case"activity-info":this.trigger("call_activityInfo",r);break;case"get_deviceinfo":this.trigger("call_getDeviceInfo",r);break;case"share":case"initShareInfo":F._extend(o.data,{url:r.url||location.href,title:r.title||z.title,pic:r.pic||"http://mjs.sinaimg.cn/wap/online/public/images/addToHome/mil_114x114_v1.png",intro:r.intro||z.title});break;case"comment":F._extend(o.data,{url:r.url||location.href,newsid:r.cmntid||"fxqaffy3538394",channel:r.ch||z.title,mid:""});break;case"open_comment":F._extend(o.data,{url:location.href,newsid:"fxqaffy3538394",channel:z.title,title:"test"});break;case"setAPPSearchKeywords":F._extend(o.data,{newKeyWords:r});break;case"changeSearchKeyStatus":F._extend(o.data,{keyWords:r.keyWords,code:r.code});break;case"subscription":F._extend(o.data,{url:r.url,channelId:r.channelId});break;case"searchGifInfo":F._extend(o.data,{gifType:r.gifType,gifLink:r.gifLink,gifId:r.gifId,gifSearchKey:r.gifSearchKey});break;case"skip":F._extend(o.data,{url:r.url});break;case"URLNavigateTo":case"getAppCommonInfos":case"openApp":case"refreshFeed":case"collection":case"wdReadContinue":case"closePage":case"callPhone":case"scheme":case"appoint_match":case"appoint_query":case"reserved":F._extend(o.data,r);break;case"jumpSysPushSetting":case"getSysPushSetting":case"getAppPushSetting":case"setAppPushSetting":case"reloadPage":case"pageTimeout":case"confirmLogin":case"login":case"newLogin":case"constellation":case"car":case"getDeviceStatus":case"forbidShowShare":case"mpSubscription":break;default:return}this.cnf.whiteCB.indexOf(t)>-1?this._request(o,n||function(e){console.log(t+" event CB : "+JSON.stringify(e))}):this._request(o)}}};F._extend(H,W()),H.init(),q.newsAppBridge=H;var Q=H,V=function(t){try{var e,n=nt(t);if(e=G(t,n))return e;if(e=Y(t,n))return e;if(e=Z(t,n))return e;if(e=et(t,n))return e;if(e=K(t,n))return e}catch(i){}return!1},K=function(t,e){if("kandian"!=e&&"k"!=e&&"i.k.nodejs-pre"!=e)return!1;var n=t.match("/article_([0-9a-zA-Z]+)_([0-9a-zA-Z]+).html");if(n&&n[1]&&n[2]){var i=n[2].substring(0,1);return"p"==i?n[1]+"-"+n[2]+"-hdpic-mp":"m"==i?n[1]+"-"+n[2]+"-video-mp":n[1]+"-"+n[2]+"-cms-mp"}return!1},G=function(t,e){var n=t.match("-i([a-z]{7}[0-9]{7})"),i=n?n[1]:"";if(i&&e){var o=J(t,i,e);return o||((o=X(t,i,e))?o:("v"==e&&(e="video"),i+"-comos-"+e+"-cms"))}},J=function(t,e,n){return"yd"==n&&e+"-"+(it(t,"mid")||0)+"-comos-original"},X=function(t,e,n){return"top"==n&&e+"-comos-consice"},Y=function(t,e){var n=!1;if("cj"==e){var i=t.match("/article/detail/([0-9a-zA-Z]+)/([0-9a-zA-Z]+)"),o=t.match("/articles/view/([0-9a-zA-Z]+)/([0-9a-zA-Z]+)");if(i&&i[1]&&i[2]&&(n=i[1]+"-"+i[2]+"-cj-cjtop"),o&&o[1]&&o[2]){var r=o[2].split("")[0];switch(n=o[1]+"-"+o[2]+"-cj-",r){case"p":n+="hdpic-mp";break;case"m":n+="video-mp";break;default:n+="cms-mp"}}}else if("t.cj"==e){var a=t.match("/articles/view/([0-9a-zA-Z]+)/([0-9a-zA-Z]+)");if(a&&a[1]&&a[2]){var s=a[2].split("")[0];switch(n=a[1]+"-"+a[2]+"-tcj-",s){case"p":n+="hdpic-mp";break;case"m":n+="video-mp";break;default:n+="cms-mp"}}}return n},Z=function(t,e){var n=tt(t,e);return!!n&&n+"-blog"},tt=function(t,e){if("blog"!=e)return!1;var n=t.match("dpool/blog/s/blog_(.*?).html");return!(!n||!n[1])&&n[1]},et=function(t,e){if("photo"!=e&&"i.photo.nodejs-pre"!=e)return!1;var n=t.match("album_([0-9_]*).htm");return!(!n||!n[1])&&n[1].replace(/\_/g,"-")+"-hdpic"},nt=function(t){var e=t.indexOf(".com.cn")>-1?t.match("://([a-zA-Z0-9-.]{0,61}).sina.com.cn"):t.match("://([a-zA-Z0-9-.]{0,61}).sina.cn");return e?e[1]:""},it=function(t,e){if(-1==t.indexOf(e))return"";for(var n=t.split("?")[1].split("&"),i=0;i"+t;else{var n=document.createElement("div");n.style="position:fixed;z-index:9999;bottom:0;height:150px;background:rgba(0,0,0,0.7);padding:10px;font-size:18px;color:#FFF;",n.innerHTML=t,n.id="logShow",document.body.appendChild(n)}var i=document.body;i.innerHTML=t+"
"+i.innerHTML}var lt={_cnf:{typeMap:{news:"news",live:"live",subject:"subject",bigEvent:"bigEvent",hdPhoto:"photo",h5:"h5",YZB:"YZB"},_parentClass:"j_appHandle"},_isLock:!1,_lockTime:150,_callTimeout:2e3,_getInfo:function(t){if(t){var e=t.dataset,n=e.calltype,i=this._cnf.typeMap,o={},r=!0;if(n){switch(n){case i.news:e.id&&(r=!1),o.newsid=e.id;break;case i.live:e.id&&(r=!1),o.id=e.id,o.matchid=e.matchid||"";break;case i.subject:case i.bigEvent:case i.hdPhoto:case i.YZB:e.id&&(r=!1),o.id=e.id;break;case i.h5:e.url&&(r=!1),o.url=e.url}o.type=e.exttype||"",r||this._isLock||this._goNative(o,e.url)}}},_goNative:function(t,e){this._isLock=!0,newsAppBridge.trigger("call_scheme",t),this._clearLock()},_callFail:function(t){rt._isCallFailTimer=setTimeout(t,this._callTimeout),rt.onblur=function(){st&&ut("blur"),clearTimeout(rt._isCallFailTimer)},rt.onfocus=function(){st&&ut("focus")}},_clearLock:function(){var t=this;setTimeout((function(){t._isLock=!1}),t._lockTime)},_findParent:function(t,e,n){if(t){for(var i=n||8,o=t;o&&i&&"HTML"!=o.tagName;){if(o.classList.contains(e))return o;o=o.parentElement,i--}return null}},_addEvent:function(){var t=this;rt.addEventListener("click",(function(e){var n=e.target,i=t._findParent(n,t._cnf._parentClass);i&&t._getInfo(i)}))},_checkhref:function(){if(ct){var t=at.querySelectorAll("a."+this._cnf._parentClass);t.length>0&&Array.prototype.slice.call(t).forEach((function(t){var e=t.href,n=ot(e);e.match(/javascript\:/gi)||(n?(t.setAttribute("data-calltype","news"),t.setAttribute("data-id",n)):(t.setAttribute("data-calltype","h5"),t.setAttribute("data-url",e)),t.href="javascript:;")}))}},_init:function(){this._addEvent(),this._checkhref()}};lt._init();var dt=lt;Q.jumpToAppEvt=dt._init.bind(dt);var ft=navigator.userAgent.toLocaleLowerCase().match(/iphone/gi);window.SNC={openApp:function(t){var e=t.params,n=t.success;try{Q.trigger("call_openApp",[e||{},n])}catch(i){console.log("Sinanews JSSDK openApp API ERR : ",i.message)}},login:function(t){var e=t.success;try{var n=ft?"call_login":"call_newLogin";Q.trigger(n,[{},e])}catch(i){console.log("Sinanews JSSDK login API ERR : ",i.message)}},forbidShowShare:function(){try{Q.trigger("call_forbidShowShare",[{}])}catch(t){console.log("Sinanews JSSDK forbidShowShare API ERR : ",t.message)}},initShareInfo:function(t){var e=t.params;try{var n={url:e.url||window.location.href,title:e.title||document.title,pic:e.pic||"",intro:e.intro||"",isSendActivityCommonApi:0};Q.trigger("call_initShareInfo",[n]),console.log("Sinanews JSSDK initShareInfo success!")}catch(i){console.log("Sinanews JSSDK initShareInfo API ERR : ",i.message)}},goShare:function(t){var e=t.params,n=t.success;try{var i={url:e.url||window.location.href,title:e.title||document.title,pic:e.pic||"",intro:e.intro||"",isSendActivityCommonApi:0};Q.trigger("call_share",[i,n]),console.log("Sinanews JSSDK goShare success!")}catch(o){console.log("Sinanews JSSDK goShare API ERR : ",o.message)}},onPageLifeCycle:function(t){var e=t.success;try{Q.on("call_setPageLifeCycle",e,!0),console.log("Sinanews JSSDK onPageLifeCycle success!")}catch(n){console.log("Sinanews JSSDK onPageLifeCycle API ERR : ",n.message)}},getAppCommonInfos:function(t){var e=t.params,n=t.success;try{Q.trigger("call_getAppCommonInfos",[e,n]),console.log("Sinanews JSSDK getAppCommonInfos success!")}catch(i){console.log("Sinanews JSSDK getAppCommonInfos API ERR : ",i.message)}},URLNavigateTo:function(t){var e=t.params;try{Q.trigger("call_URLNavigateTo",[e]),console.log("Sinanews JSSDK URLNavigateTo success!")}catch(n){console.log("Sinanews JSSDK URLNavigateTo API ERR : ",n.message)}}};var ht=window,pt=ht.sinaCnShare.myUtility,gt=ht.sinaCnShare.main;ht.setShareInfo=function(t){if(pt.isSinanews()){"sinanews";try{newsAppBridge.trigger("call_initShareInfo",[t])}catch(e){console.log(e.message)}}else pt.isWeixinApp()&&("wx",ht._wxShareConfig=t,ht.initWxInfo());gt.resetShareConfig({title:t.title,imgSrc:t.imgUrl,content:t.desc,shareURL:t.link})},ht.goShare=function(t,e,n){if(pt.isSinanews()){"sinanews";try{newsAppBridge.trigger("call_share",[t])}catch(i){console.log(i.message)}}else gt.resetShareConfig(t),gt.wantShare(!0,e,n)};var mt={setInfo:setShareInfo,goShare:goShare};e.default=function(){this.openShare=function(t){var e=t.title,n=t.url,i=t.introduction,o=t.pic,r=t.success,a=t.error;t.complete;return new Promise((function(t,s){try{var c={title:e,desc:i,link:n,imgUrl:o};mt.setInfo(c);var u={title:e,content:i,imgSrc:o,shareURL:n};mt.goShare(u,(function(){r(),t()}))}catch(l){a&&a(l),s(l)}}))}}}]);