!function(e){var i={};function n(t){if(i[t])return i[t].exports;var a=i[t]={i:t,l:!1,exports:{}};return e[t].call(a.exports,a,a.exports,n),a.l=!0,a.exports}n.m=e,n.c=i,n.d=function(e,i,t){n.o(e,i)||Object.defineProperty(e,i,{enumerable:!0,get:t})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,i){if(1&i&&(e=n(e)),8&i)return e;if(4&i&&"object"==typeof e&&e&&e.__esModule)return e;var t=Object.create(null);if(n.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:e}),2&i&&"string"!=typeof e)for(var a in e)n.d(t,a,function(i){return e[i]}.bind(null,a));return t},n.n=function(e){var i=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(i,"a",i),i},n.o=function(e,i){return Object.prototype.hasOwnProperty.call(e,i)},n.p="",n(n.s=16)}([function(e,i){var n=window,t=document;String.prototype.MD5=function(e){function i(e,i){return e<>>32-i}function n(e,i){var n,t,a,o,r;return a=2147483648&e,o=2147483648&i,r=(1073741823&e)+(1073741823&i),(n=1073741824&e)&(t=1073741824&i)?2147483648^r^a^o:n|t?1073741824&r?3221225472^r^a^o:1073741824^r^a^o:r^a^o}function t(e,t,a,o,r,s,c){return e=n(e,n(n(function(e,i,n){return e&i|~e&n}(t,a,o),r),c)),n(i(e,s),t)}function a(e,t,a,o,r,s,c){return e=n(e,n(n(function(e,i,n){return e&n|i&~n}(t,a,o),r),c)),n(i(e,s),t)}function o(e,t,a,o,r,s,c){return e=n(e,n(n(function(e,i,n){return e^i^n}(t,a,o),r),c)),n(i(e,s),t)}function r(e,t,a,o,r,s,c){return e=n(e,n(n(function(e,i,n){return i^(e|~n)}(t,a,o),r),c)),n(i(e,s),t)}function s(e){var i,n="",t="";for(i=0;i<=3;i++)n+=(t="0"+(e>>>8*i&255).toString(16)).substr(t.length-2,2);return n}var c,l,u,p,d,h,f,m,y,g=Array();for(g=function(e){for(var i,n=e.length,t=n+8,a=16*((t-t%64)/64+1),o=Array(a-1),r=0,s=0;s>>29,o}(this),h=1732584193,f=4023233417,m=2562383102,y=271733878,c=0;c0?"&":"?";e.data?c(e.url+m+function(e){var i,t=[],a=/%20/g;for(var o in e)i=e[o].toString(),t.push(n.encodeURIComponent(o).replace(a,"+")+"="+n.encodeURIComponent(i).replace(a,"+"));return t.join("&")}(e.data)+"&"+h,e.charset):c(e.url+m+h,e.charset)},p.jsonpCustom=function(e){var i=Object.prototype.toString;function a(e){return"[object Function]"===i.call(e)}var o=t.getElementsByTagName("head")[0]||t.documentElement,r=o.getElementsByTagName("base")[0],s=/^(?:loaded|complete|undefined)/;function c(e,i){var n=t.createElement("script");return n.src=e,i&&(n.charset=i),n.async=!0,function(e,i){e.onload=e.onreadystatechange=function(){s.test(e.readyState)&&(e.onload=e.onreadystatechange=null,o.removeChild(e),e=null)}}(n),r?o.insertBefore(n,r):o.appendChild(n),n}var l,u,p=e.callbackName||"callback",d=(l="",u=(new Date).getTime()+Math.floor(1e5*Math.random()),l?l+""+u:u),h=e.timeout||2e3,f="_t="+d,m=window.setTimeout((function(){a(e.ontimeout)&&e.ontimeout()}),h);window[p]=function(i){window.clearTimeout(m),a(e.onsuccess)&&e.onsuccess(i)};var y=e.url.indexOf("?")>0?"&":"?";e.data?c(e.url+y+function(e){var i,t=[],a=/%20/g;for(var o in e)i=e[o].toString(),t.push(n.encodeURIComponent(o).replace(a,"+")+"="+n.encodeURIComponent(i).replace(a,"+"));return t.join("&")}(e.data)+"&"+f,e.charset):c(e.url+y+f,e.charset)},p.ajax=function(e){(e=e||{}).type=(e.type||"GET").toUpperCase(),e.dataType=e.dataType||"json";var i=function(e){var i=[];for(var n in e)i.push(encodeURIComponent(n)+"="+encodeURIComponent(e[n]));return i.push(("v="+Math.random()).replace(".","")),i.join("&")}(e.data);if(window.XMLHttpRequest)var n=new XMLHttpRequest;else n=new ActiveXObject("Microsoft.XMLHTTP");n.onreadystatechange=function(){if(4==n.readyState){var i=n.status;i>=200&&i<300?e.success&&e.success(n.responseText,n.responseXML):e.fail&&e.fail(i)}},"GET"==e.type?(n.open("GET",e.url+"?"+i,!0),n.send(null)):"POST"==e.type&&(n.open("POST",e.url,!0),n.setRequestHeader("Content-Type","application/x-www-form-urlencoded"),n.send(i))},p.getMarketSchema=function(e,i){var n="",t=navigator.userAgent.toLowerCase(),a={xiaomi:{reg:/\(.*android.*(mi|redmi).*\)/,scheme:"mimarket://details?id=cn.com.sina.finance"},samsung:{reg:/\(.*android.*(samsung|sm-).*\)/,scheme:"samsungapps://ProductDetail/cn.com.sina.finance"},huawei:{reg:/\(.*android.*(huawei|honor|harmonyos).*\)/i,scheme:"hiapplink://com.huawei.appmarket?appId=C68367&package=cn.com.sina.finance&channelId="+e+"&referrer="+i+"&detailType=0&callType=AGDLINK"},oppo:{reg:/\(.*android.*oppo.*\)/,scheme:"oppomarket://details?packagename=cn.com.sina.finance",downloadFirst:!0}};for(var o in a){var r=a[o];r&&r.reg&&r.reg.test(t)&&(n=r.scheme)}return n},p.goDownLoadApk=function(e){var i=navigator.userAgent.toLowerCase(),n=e.wmcode||"",t=e.eventid||"",a=e.position||"",o=e.onsuccess,r=e.onApkurlerror,s=e.onerror,c=(this.getMarketSchema(t,a),this.checkUA.isBaidu()),l=this.checkUA.isVivo(),u=this.checkUA.isOppo(),d=(this.checkUA.isHonor(),this.checkUA.isHarmony()),h=(this.checkUA.isSamsung(),this.checkUA.isEdga()),f=this.checkUA.isQuark(),m=this.checkUA.isNewsArticle(),y="chrome"==this.checkUA.getCallupBrowserName();if(/\(.*android.*(huawei|honor|harmonyos).*\)/i.test(i)&&!c)i.indexOf("honor")>-1?o&&o("honormarket://details?id=cn.com.sina.finance"):o&&o("hiapplink://com.huawei.appmarket?appId=C68367&package=cn.com.sina.finance&channelId="+t+"&referrer="+a+"&detailType=0&callType=AGDLINK");else if(d)o&&o("store://appgallery.huawei.com/app/detail?id=com.sina.finance.hm");else if(c||l||u||h||y||f||m)""!=n&&p.jsonp({url:"//statistic.cj.sina.com.cn/api/version/apk_url",data:{channel:n},dataType:"jsonp",onsuccess:function(e){e.result.data.apk_url&&""!=e.result.data.apk_url?o&&o(e.result.data.apk_url):r&&r()},error:function(){s&&s()}});else try{/\(.*android.*(mi|redmi).*\)/.test(i)?o&&o("market://details/detailmini?id=cn.com.sina.finance"):o&&o("market://details?id=cn.com.sina.finance")}catch(e){""!=n&&p.jsonp({url:"//statistic.cj.sina.com.cn/api/version/apk_url",data:{channel:n},dataType:"jsonp",onsuccess:function(e){e.result.data.apk_url&&""!=e.result.data.apk_url?o&&o(e.result.data.apk_url):r&&r()},error:function(){s&&s()}})}},p.pageVisibility=(s=function(e,i){return""!==e?e+i.slice(0,1).toUpperCase()+i.slice(1):i},r=!1,"number"==typeof window.screenX&&["webkit","moz","ms","o",""].forEach((function(e){0==r&&null!=document[s(e,"hidden")]&&(o=e,r=!0)})),c=r,u=function(){if(c)return document[s(o,"visibilityState")]},{hidden:(l=function(){if(c)return document[s(o,"hidden")]})(),visibilityState:u(),isSupport:c,visibilitychange:function(e,i){if(c&&"function"==typeof e)return document.addEventListener(o+"visibilitychange",function(i){this.hidden=l(),this.visibilityState=u(),e.call(this,i)}.bind(this),!1)}}),p.checkUA={_UA:navigator.userAgent.toLowerCase(),UAIdentify:{weibo:"weibo",qq:"qq/",qqmobile:"mqqbrowser",uc:"ucbrowser/",weixin:"micromessenger",chrome:"chrome",iosChrome:"crios",sinanews:"sinanews",sinafinance:"sinafinance",aliPay:"alipayclient",ios9:"iphone os 9_",ios10:"iphone os 10_",ios360:"qhbrowser",ios1002:"iphone os 10_0_2",huawei:"huawei",oppoOld:"oppobrowser",oppo:"heytapbrowser",xiaomi:"xiaomi",meizu:"mzbrowser",searchcraft:"searchcraft",quark:"quark",sogou:"sogoumobilebrowser",safari:/^((?!chrome|android).)*safari/i,samsung:"samsungbrowser",baidu:"baidu",vivo:"vivobrowser",ctrip:"ctripwireless",weibointl:"weibointl",harmony:"openharmony",newsarticle:"newsarticle",bytedance:"bytedance",doubao:"doubao",yuanbao:"yuanbao",chatglm:"chatglm",metaso:"metasoai",tongyi:"tongyi",honor:"honor",huawei1128_64:"huawei_1128_64",edga:"edga",firefox:"firefox"},browserIdentifyReg:{weibo:"weibo",qq:"qq/",qqmobile:"mqqbrowser",uc:"ucbrowser/",weixin:"micromessenger",chrome:"chrome",sinanews:"sinanews",sinafinance:"sinafinance",iphone:"iphone",ipad:"ipad",ios360:"qhbrowser",huawei:"huawei",oppo:"heytapbrowser",xiaomi:"miuibrowser",meizu:"mzbrowser",ctrip:"ctripwireless",weibointl:"weibointl",searchcraft:"searchcraft",newsarticle:"newsarticle",bytedance:"bytedance",doubao:"doubao",yuanbao:"yuanbao",chatglm:"chatglm",metaso:"metasoai",tongyi:"tongyi",honor:"honor"},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|sogou|heytapbrowser|vivo|samsung|bdhonorbrowser/,forbidden:/ucbrowser|mzbrowser/,isHuaweiP30:/huaweiele|huaweivog/,isHuawei912315:/huaweibrowser\/9\.1\.2\.315|huaweibrowser\/9\.1\.1\.303/,isQQBrowswer95:/mqqbrowser\/9\.5/},RegExpTest:function(e,i){return e.test(i)},isHuawei912315:function(){var e=this.OpenTypeIdentify;return!!this.RegExpTest(e.isHuawei912315,this._UA)},isHuawei_1128_64:function(){var e=this.UAIdentify;return!!this.isInclude(this._UA,e.huawei1128_64)},getBrowserType:function(){var e=this.browserIdentifyReg,i="other";for(var n in this.browserIdentifyReg,e){var t=e[n];this._UA.indexOf(t)>-1&&(i=n)}return i},getQQBrowswerVersion:function(){return(navigator.appVersion.toLowerCase().match(/mqqbrowser\/(\d+)\.(\d+)/)||"0.0")[0].replace("mqqbrowser/","")},isQQBrowswer95:function(){var e=this.OpenTypeIdentify;return!!this.RegExpTest(e.isQQBrowswer95,this._UA)},forceYYBcallup:function(e,i){var n=!1;return this._UA,this.isYYBCallup()&&(n=i.indexOf(e)>-1),n},forbiddenCallup:function(){var e=this._UA,i=this.OpenTypeIdentify;return this.RegExpTest(i.forbidden,e)||"ios"==this._system()&&this.isQQBrowswer()||"android"==this._system()&&e.indexOf("baidu")>-1||this.isNewsArticle()||this.isByteDance()},notSupportGetAjax:function(){var e=!1;return this.isQQBrowswer()&&(e=!0),e},isYYBCallup:function(){var e=!1;return this._UA,(this.isQQ()||this.isWeixin()||this.isHuawei912315())&&(e=!0),e},browserReg:{},getBrowserVersion:function(){},canOpenByIntent:function(){var e=this._UA,i=this.OpenTypeIdentify,n=this._system(),t=(this.RegExpTest(i.hasIntent,e),this.RegExpTest(i.noIntent,e),this.RegExpTest(i.speciallIntent,e),this.RegExpTest(i.isOriginalChrome,e));return this.isSamsung(),(t||this.isFirefox())&&"android"==n&&!this.isWeibo()&&!this.isSinaNews()&&!this.isCtrip()&&!this.isWeiboIntl()&&!this.isDoubao()&&!this.isHonor()&&!this.isHarmony()&&!this.is360browser()},isPCDevice:function(){var e=!1;return"MacIntel"!=navigator.platform&&"Win32"!=navigator.platform||"maxTouchPoints"in navigator&&navigator.maxTouchPoints<=1&&(e=!0),e},notSupportIntentCallbackUrl:function(){var e=this.OpenTypeIdentify,i=this._UA;return this.RegExpTest(e.notIntentCallbackUrl,i)||this.isPCDevice()||this.isHuawei_1128_64()&&this.isByteDance()||this.isEdga()},getOpentype:function(){var e="",i=this._UA,n=this.OpenTypeIdentify,t=this.isWeixin(),a=(this.isChrome(),this.isIOS9());!t&&this.isQQ(),this.isWeibo(),this.isIos360(),this._system(),this.RegExpTest(n.hasIntent,i),this.RegExpTest(n.noIntent,i),this.RegExpTest(n.speciallIntent,i);return isOriChrome=this.RegExpTest(n.isOriginalChrome,i),isOriChrome,a?e=this.isQQBrowswer()?"op005":"op001":(e=this.canOpenByIntent()?"op004":"op002",(this.isQQ()||this.isWeixin())&&(e="op005")),this.isWeibo()&&(e="op002"),this.forbiddenCallup()&&(e="op006"),e},getWeiboVersion:function(){var e=this._UA,i=this.UAIdentify,n=e.split("__"+i.weibo+"__"),t=(n.length>1?n[1]:"0.0.0__").split("__");return t.length>1?t[0]:"0.0.0"},getSinaFinanceVersion:function(){var e=this._UA,i=this.UAIdentify,n=e.split(i.sinafinance+"__"),t=(n.length>1?n[1]:"0.0.0__").split("__").length>1?t[0]:"0.0.0";return t},getVersion:function(e){var i=e.split(".");return parseFloat(i[0]+"."+parseInt(i[1]))},getAndroidVersion:function(){var e=this._UA.match(/android\s?[\d.]+/gi);return e?e[0].split(" ")[1]:0},getIosVersion:function(){var e="",i=this._UA.match(/os (\d+)_(\d+)_?(\d+)?/),n=i?i[0].split(" ")[1]:0;return""!=n&&(e=n.split("_")[0]),e},isInclude:function(e,i){return e.indexOf(i)>-1},isIos1002:function(){var e=this.UAIdentify;return!!this.isInclude(this._UA,e.ios1002)},isIos360:function(){var e=this.UAIdentify;return!!this.isInclude(this._UA,e.ios360)},isUC:function(){var e=this.UAIdentify;return!!this.isInclude(this._UA,e.uc)},isHuawei:function(){var e=this.UAIdentify;return!!this.isInclude(this._UA,e.huawei)},isOppo:function(){var e=this.UAIdentify;return!(!this.isInclude(this._UA,e.oppo)||this.isInclude(this._UA,e.oppoOld))},isSinaNews:function(){var e=this.UAIdentify;return!!this.isInclude(this._UA,e.sinanews)},isSinaFinance:function(){var e=this.UAIdentify;return!!this.isInclude(this._UA,e.sinafinance)},isWeibo:function(){var e=this.UAIdentify,i=this.isInclude(this._UA,e.weibo);return _isWeiboIntl=this.isInclude(this._UA,e.weibointl),!(!i||_isWeiboIntl)},isWeiboIntl:function(){var e=this.UAIdentify;return this.isInclude(this._UA,e.weibo),_isWeiboIntl=this.isInclude(this._UA,e.weibointl),!!_isWeiboIntl},isQQ:function(){var e=this.UAIdentify;return!!this.isInclude(this._UA,e.qq)},isWeixin:function(){var e=this.UAIdentify;return!!this.isInclude(this._UA,e.weixin)},isChrome:function(){var e=this.UAIdentify;return!!this.isInclude(this._UA,e.chrome)},isQQBrowswer:function(){var e=this.UAIdentify;return!(!this.isInclude(this._UA,e.qqmobile)||this.isInclude(this._UA,e.weixin))},isAliPay:function(){var e=this.UAIdentify;return!!this.isInclude(this._UA,e.aliPay)},isIOS9:function(){return this.getIosVersion()-0>8},isIOS10:function(){var e=this.UAIdentify;return!!this.isInclude(this._UA,e.ios10)},isSearchCraft:function(){var e=this.UAIdentify;return!!this.isInclude(this._UA,e.searchcraft)},isQuark:function(){var e=this.UAIdentify;return!!this.isInclude(this._UA,e.quark)},isSogou:function(){var e=this.UAIdentify;return!!this.isInclude(this._UA,e.sogou)},isSafari:function(){return this.UAIdentify.safari.test(this._UA)},isXiaomi:function(){var e=this.UAIdentify;return!!this.isInclude(this._UA,e.xiaomi)},isSamsung:function(){var e=this.UAIdentify;return!!this.isInclude(this._UA,e.samsung)},isIosChrome:function(){var e=this.UAIdentify;return!!this.isInclude(this._UA,e.iosChrome)},isBaidu:function(){var e=this.UAIdentify;return!!this.isInclude(this._UA,e.baidu)},isVivo:function(){var e=this.UAIdentify;return!!this.isInclude(this._UA,e.vivo)},isMeizu:function(){var e=this.UAIdentify;return!!this.isInclude(this._UA,e.meizu)},isCtrip:function(){var e=this.UAIdentify;return!!this.isInclude(this._UA,e.ctrip)},isNewsArticle:function(){var e=this.UAIdentify;return!!this.isInclude(this._UA,e.newsarticle)},isByteDance:function(){var e=this.UAIdentify,i=this.isInclude(this._UA,e.bytedance),n=this.isInclude(this._UA,e.newsarticle);return!(!i||n)},isDoubao:function(){var e=this.UAIdentify;return!!this.isInclude(this._UA,e.doubao)},isYuanbao:function(){var e=this.UAIdentify;return!!this.isInclude(this._UA,e.yuanbao)},isChatglm:function(){var e=this.UAIdentify;return!!this.isInclude(this._UA,e.chatglm)},isMetaso:function(){var e=this.UAIdentify;return!!this.isInclude(this._UA,e.metaso)},isTongyi:function(){var e=this.UAIdentify;return!!this.isInclude(this._UA,e.tongyi)},isHonor:function(){var e=this.UAIdentify;return!!this.isInclude(this._UA,e.honor)},isHarmony:function(){var e=this.UAIdentify;return!!this.isInclude(this._UA,e.harmony)},isEdga:function(){var e=this.UAIdentify;return!!this.isInclude(this._UA,e.edga)},isFirefox:function(){var e=this.UAIdentify;return!!this.isInclude(this._UA,e.firefox)},isBot:function(){return this._UA.indexOf("bot")>-1||this._UA.indexOf("spider")>-1},is360browser:function(){return this._UA.indexOf("build")>-1&&this._UA.indexOf("; wv")>-1&&this._UA.indexOf("baidu")<0&&/safari\/\d+.\d+$/.test(this._UA)},_system:function(){var e=this._UA;return e.match(/iphone|ipod|ipad/gi)?"ios":e.match(/android/gi)?"android":"other"},getPhoneModel:function(){var e="",i=this._UA,n=new RegExp(/\((.*?)\)/),t=i.match(n);try{if(t&&t.length>1){var a,o=t[1];if("android"==this._system()){if((a=o.split("build"))&&a.length>0){var r,s=(r=a[0]).split(";");if(s&&s.length>0){for(var c="";s[s.length-1].indexOf("mscore")>-1;)s.pop();if((c=s[s.length-1])&&""!=c&&("wv"==(e=c.replace(/^\s+|\s+$/gm,""))||""==e))try{e=s[s.length-2].replace(/^\s+|\s+$/gm,"")}catch(e){}}}}else(a=o.split(";"))&&a.length>0&&(r=a[0])&&""!=r&&(e=r.replace(/^\s+|\s+$/gm,""))}}catch(e){}return e},getCallupBrowserName:function(){var e="",i=(this._UA,this.isWeixin()),n=!i&&this.isQQ(),t=this.isWeibo(),a=this.isSinaFinance(),o=this.isChrome(),r=this.isUC(),s=(this.isIos360(),this.isQQBrowswer()),c=this.isQuark(),l=this.isSogou(),u=this.isSinaNews(),p=this.isBaidu(),d="ios"==this._system()&&this.isSafari(),h="ios"==this._system()&&!this.isSafari(),f="android"==this._system()&&this.isXiaomi(),m="android"==this._system()&&this.isSamsung(),y="ios"==this._system()&&this.isIosChrome(),g=("android"==this._system()&&this.isHuawei(),"android"==this._system()&&this.isVivo()),w="android"==this._system()&&this.isMeizu(),b="android"==this._system()&&this.isOppo(),k=this.isNewsArticle(),_=this.isCtrip(),v=this.isByteDance(),U=this.isDoubao(),C=this.isYuanbao(),A=this.isChatglm(),x=this.isMetaso(),S=this.isTongyi(),I=this.isHonor(),T=this.isEdga(),O=this.isFirefox(),N=this.is360browser();return isHarmony=this.isHarmony(),i?e="weixin":n?e="QQ":s?e="QQbrowser":r?e="UCbrowser":c?e="quark":t?e="weibo":l?e="sogou":p?e="baidu":a?e="sinafinance":u?e="sinanews":k?e="newsarticle":_?e="ctrip":v?e="bytedance":U?e="doubao":C?e="yuanbao":A?e="chatglm":x?e="metaso":S?e="tongyi":O?e="firefox":T?e="edge":N?e="360browser":"ios"==this._system()?d?e="safari":y?e="chrome":h&&(e="safariOther"):"android"==this._system()||isHarmony?f?e="xiaomi":b?e="oppo":m?e="samsung":this.isHuawei()?e="huawei":g?e="vivo":w?e="meizu":I?e="honor":o&&(e="chrome"):e="other",e},getBrowserName:function(){this._UA;var e=this.isWeixin(),i=!e&&this.isQQ(),n=this.isWeibo(),t=this.isSinaFinance();return this.isUC(),this.isIos360(),this.isQQBrowswer(),isSinaNews=this.isSinaNews(),e?"weixin":i?"QQ":n?"weibo":t?"sinafinance":isSinaNews?"sinanews":"browser"},getFullNumber:function(e){!e&&(e=1);var i=e.toString().length;return(i<3||3==i)&&(e=("000"+e).substr(-3,3)),e}},p.getCookie=function(e){e=e.replace(/([\.\[\]\$])/g,"\\$1");var i=new RegExp(e+"=([^;]*)?;","i"),n=(document.cookie+";").match(i);return n&&unescape(n[1])||""},p.getReferrerType=function(e){var i="",n=e||document.referrer,t={baidu:"baidu.com",sogou:"sogou.com",360:"so.com",google:"google",shenma:"sm.cn",toutiao:"so.toutiao.com"};if(""==n)i="";else for(var a in t)null!=n.match(t[a])&&(i=a);return i},p.getReferrerUrl=function(){var e="",i=document.referrer;try{e=""==i?"":i}catch(e){}return e},p.getParentPageUrl=function(){},p.getDocIdByPageConfig=function(){var e="";if(window.SINA_TEXT_PAGE_INFO&&window.SINA_TEXT_PAGE_INFO.newsid)try{e=window.SINA_TEXT_PAGE_INFO.newsid.split("-")[1]}catch(e){}if(window.PAGE_CONFIG&&window.PAGE_CONFIG.cmsId)try{e=window.PAGE_CONFIG.cmsId}catch(e){}return e},p.getDocIdByUrl=function(e){var i="",n=new RegExp(/-i(\w{7}\d{7})\./g),t=e.match(n);return t&&(i=t[0].replace("-i","").replace(".","")),i},p.getTargetPageInfo=function(e){var i={};try{if(e){var n=e.callpagetype||"";switch(n){case"2":i.targetname=this.formatCNName("\u884c\u60c5"),i.symbol=e.symbol||"",i.market=e.stocktype||"";break;case"17":i.targetname=this.formatCNName("\u6b63\u6587");break;case"20":i.targetname=this.formatCNName("H5");break;case"10":i.targetname=this.formatCNName("\u81ea\u9009\u80a1");break;case"22":i.targetname=this.formatCNName("\u9f99\u864e\u699c");break;case"23":i.targetname=this.formatCNName("\u884c\u60c5tab");break;case"29":i.targetname=this.formatCNName("7x24\u5feb\u8baffeed");break;case"30":i.targetname=this.formatCNName("\u89c6\u9891\u8be6\u60c5");break;case"31":i.targetname=this.formatCNName("\u81ea\u5a92\u4f53\u6587\u7ae0\u4e2a\u4eba\u8be6\u60c5\u9875");break;case"32":i.targetname=this.formatCNName("\u5173\u952e\u5b57\u641c\u7d22");break;case"33":i.targetname=this.formatCNName("\u699c\u5355\u5217\u8868"),i.symbol=e.symbol||"",i.market=e.stocktype||"";break;case"35":i.targetname=this.formatCNName("\u7f8e\u80a1\u5168\u90e8\u8d22\u52a1\u6570\u636e"),i.symbol=e.symbol||"";break;case"36":i.targetname=this.formatCNName("\u8d22\u7ecf\u65e5\u5386"),i.datetime=e.datetime||"";break;case"40":i.targetname=this.formatCNName("level2\u8d2d\u4e70"),i.market=e.stocktype||"";break;case"42":var t=e.subtype||"1";"1"==t||"0"==t?i.targetname=this.formatCNName("weex\u4e13\u9898"):"2"==t?(i.targetname=this.formatCNName("\u8def\u6f14\u76f4\u64ad"),i.roadshowid=e.cid||""):"3"==t&&(i.targetname=this.formatCNName("etf\u7b5b\u9009\u5668"));break;case"43":i.targetname=this.formatCNName("\u8d44\u91d1\u9875");break;default:i.targetname=n}var a=e.newSchemaParams||{};a.symbol&&a.market&&(i.targetname=this.formatCNName("\u884c\u60c5"),i.symbol=a.symbol||"",i.market=a.market||"")}}catch(e){}return i},p.formatUrlInSchema=function(e){var i="";return"ios"==this.checkUA._system()?i=decodeURIComponent(e):"android"==this.checkUA._system()&&(i=encodeURIComponent(encodeURIComponent(decodeURIComponent(e)))),i},p.formatLongUrl=function(e){var i="";return"ios"==this.checkUA._system()?i=e:"android"==this.checkUA._system()&&(i=encodeURIComponent(encodeURIComponent(e))),i},p.encodeUnicode=function(e){for(var i=[],n=0;n'),r.push(""),r.push(""),r.push(''),r.push(""),r.push('"),o.innerHTML=r.join(""),t.body.appendChild(o),(a=t.querySelector(".j_callupTips_bg")).onclick=function(){"none"!=a.style.display&&(a.style.display="none",p.callEvent&&p.callEvent.trigger("sina_clear_lock"))}}},p.extend=function(e,i,n){e=e||{};var t,a=typeof i,o=1;for("undefined"!==a&&"boolean"!==a||(n="boolean"===a&&i,i=e,e=this),"object"!=typeof i&&"[object Function]"!==Object.prototype.toString.call(i)&&(i={});o<=2;){if(null!==(t=1===o?e:i))for(var r in t){var s=e[r],c=t[r];e!==c&&(n&&c&&"object"==typeof c&&!c.nodeType?e[r]=this.extend(s||(null!==c.length?[]:{}),c,n):void 0!==c&&(e[r]=c))}o++}return e},p.getNewPortal=function(){return parseInt(10*Math.random()),"f6e834d92018d17cf"},p.Clz=function(e){var i=function(){this.init.apply(this,arguments)};if(e){var n=function(){};n.prototype=e.prototype,i.prototype=new n}return i.prototype.init=function(){},i.prototype.set=function(e,i){this.___ytreporp___||(this.___ytreporp___={});for(var n,t=0,a=this.___ytreporp___,o=e.split("."),r=o.length,s=r-1;t-1||n.uaTrackExt.indexOf("?")>-1||n.uaTrackExt.indexOf("#")>-1)&&(n.uaTrackExt=encodeURIComponent(n.uaTrackExt)),n},forIosChannel:function(e){var i={},n=""==e.eventid?e.uatrackKey:e.eventid,t=e.position||"",a=(e.subname,e.opensource||"");return _testname=r.testName||"",i.channel=n+"+"+t+"+"+_testname,"sinafinance"==a?"":"ios_channel="+encodeURIComponent(JSON.stringify(i))},forCallUpNum:function(e,i){var n,t,a,s={},c=""==e.eventid?e.uatrackKey:e.eventid,l=e.position||"",u=e.subname||"",p=e.opensource||"",d=e.h5url?e.h5url:"",h=e.original||"",f=e.posname||"",m=e.editor||"",y=e.weiboUid||"",g=o.checkUA.getPhoneModel()||"",w=o.getTargetPageInfo(e);w=JSON.stringify(w).replace("{","{{").replace("}","}}");var b=(new Date).getTime().toString(),k=o.formatLongUrl(window.navigator.userAgent.toLowerCase()),_="";_=e.referrerlink&&""!=e.referrerlink?e.referrerlink:o.getReferrerUrl(),_=o.formatLongUrl(_);var v="";v=e.viewpagelink&&""!=e.viewpagelink?e.viewpagelink:window.location.href;var U,C="";if(""!=e.viewpagedocid)C=e.viewpagedocid;else{var A=o.getDocIdByPageConfig(),x=o.getDocIdByUrl(v);C=""!=A?A:""!=x?x:""}U=o.getDocIdByUrl(d);var S="";s.uatrackKey=e.uatrackKey,s.eventid=c;try{d.indexOf("url=")>-1&&(d=d.split("url=")[1],decodeURIComponent(d).indexOf("?")<0&&(d=d.replace("&","?")))}catch(e){}a=o.formatUrlInSchema(d),o.formatUrlInSchema(h),v=o.formatLongUrl(v),_.indexOf("iosToH5.shtml")>-1&&_.indexOf("statistic")>-1&&(_=v);try{""==(S=o.getCookie("SINAGLOBAL"))&&(S=y)}catch(e){}var I="";"ios"==o.checkUA._system()?I="3045_0100":"android"==o.checkUA._system()&&(I=e.wmcode);var T=o.getReferrerType()||"",O=o.checkUA.getCallupBrowserName();if(e.isFromPc&&(O="pc"),s.params={position:l},t={eventid:c,position:l,url:a,viewpagelink:v,referrerlink:_,ua:k,callupbrowser:O,browserinfo:o.checkUA._system()+"_"+o.checkUA.getBrowserType(),opensource:p,model:g,viewpagedocid:C,targetpagedocid:U,targetpageinfo:w,fromsearch:T,sinaglobal:S,uid:y,clicktime:b,wmcode:I,subname:u,posname:f,editor:m},1==r[c]?s.sima_eventid="call_up_external":s.sima_eventid="call_up_internal",s.sima_params=t,n="sinafinance"==p?"":"statistic="+encodeURIComponent(JSON.stringify(s)),i&&1==i){var N={};(N=s.sima_params).uatrackKey=e.uatrackKey,n=N}return n},h5:function(e){var i="",n=e.calluptype||"",t=(e.spCode,e.sourceCode||""),a=e.sourceDocId||"";switch(n){case"SF_0108":i=t+"*"+a+"*"+e.targetid+"*video";break;case"SF_0110":i=t+"*"+a+"*"+e.h5url+"*picture";break;case"SF_0111":i=t+"*"+a+"*"+e.h5url+"*pictureSingle";break;case"SF_0123":i=t+"*"+a+"*"+t+"*comment";break;case"SF_0124":i=t+"*"+a+"*"+e.targetid+"*news";break;case"SF_0125":i=t+"*"+a+"*"+e.symbol+"*stockHq"}return"scheme_call=sinawap*fin*"+i}},t);e.exports=s},function(e,i){e.exports=SinaFinanceCallUp},function(e,i,n){var t,a,o=window,r=(document,n(0)),s=n(10).SUDA,c=n(3);t=c||{},window.jQuery||window.Zepto,(a=t=t||{}).Track={trackUrl:{},getUATrackValue:function(e){var i=r.checkUA._system(),n=r.checkUA.isWeixin(),t=!n&&r.checkUA.isQQ(),a=r.checkUA.isWeibo();return i+"_"+(n?"weixin":a?"weibo":t?"QQ":"browser")+"_"+e},getUATrackFailValue:function(){return"callfail_"+r.checkUA._system()},setClickTrackUrl:function(e){a.Track.trackUrl.click=e},setDownloadTrackUrl:function(e){a.Track.trackUrl.download=e},goTrack:function(e){e&&r.jsonp({url:e})},sendUATrack:function(e,i){try{s&&s.uaTrack&&""!==e&&""!==i&&s.uaTrack(e,i)}catch(e){}},sendSudaLog:function(e){var i={name:e,type:"",title:"",index:"",href:""};("function"==typeof o.suds_count||o.suds_count)&&o.suds_count&&o.suds_count(i)},sendClickTrack:function(e){a.Track.goTrack(a.Track.trackUrl.click),a.Track.sendSudaLog("click_"+e)},sendDownloadTrack:function(e){a.Track.goTrack(a.Track.trackUrl.download),a.Track.sendSudaLog("callfail_"+e)},sendSudaExt:function(e){var i=e.uaTrackKey||"",n=e.uaTrackValue||"",t=e.uaTrackExt||"";try{s.uaTrack(i,n,"",{ext:t})}catch(e){}}},c=t;e.exports=c.Track},function(e,i,n){var t=n(0),a=n(2),o=n(1).finance,r=function(e,i){var n="",r=e.callpagetype||"1";r=r.toString();var s,c,l,u,p,d,h,f,m,y,g,w,b,k,_="",v=t.checkUA._system(),U=e.newSchemaParams||{};if(U&&"{}"!=JSON.stringify(U))try{var C=[];for(var A in U)if("client_path"==A)C.push(A+"="+encodeURIComponent(decodeURIComponent(U[A])));else{var x=U[A];"tabname"==A&&"diagonse"==x&&(x="diagnose_type"),"url"==A&&(x=encodeURIComponent(x)),C.push(A+"="+x)}n=C.join("&")}catch(e){}else switch(r){case"1":n="type="+r;break;case"2":switch(s=e.stocktype||"",c=e.symbol||"",l=e.name||"",d=(d=e.subtype||"0").toString(),w=e.tabname||"",d){case"0":"ios"==t.checkUA._system()&&(/^GN|gn\d{7}$/.test(c)||/^HY|hy\d{7}$/.test(c)||/^DY|dy\d{7}$/.test(c))&&(s="plate_cn"),n=""!=w?"type="+r+"&stocktype="+s+"&symbol="+c+"&name="+l+"&tabname="+w:"type="+r+"&stocktype="+s+"&symbol="+c+"&name="+l;break;case"1":n="type="+r+"&stocktype="+s+"&symbol="+c+"&name="+l+"&subType="+d,"android"==v&&(n="type=20&subType="+d+"&symbol="+c);break;case"2":case"3":case"4":n="type="+r+"&stocktype="+s+"&symbol="+c+"&subType="+d;break;case"kd":case"kw":case"km":case"bs":case"k5":case"k15":case"k30":case"k60":n="type="+r+"&stocktype="+s+"&symbol="+c+"&name="+l+"&subType="+d}break;case"3":n="type="+r+"&foundtype="+(s=e.stocktype||"")+"&symbol="+(c=e.symbol||"")+"&name="+(l=e.name||"");break;case"4":n="type="+r+"&hash="+(u=e.h5url||"");break;case"5":n="type="+r+"&stocktype="+(s=e.stocktype||"")+"&symbol="+(c=e.symbol||"")+"&pid="+(f=e.cid||"");break;case"6":n="type="+r+"&foundtype="+(s=e.stocktype||"")+"&symbol="+(c=e.symbol||"")+"&pid="+(f=e.cid||"");break;case"7":n="type="+r+"&stocktype="+(s=e.stocktype||"")+"&symbol="+(c=e.symbol||"")+"&rptid="+(f=e.cid||"");break;case"10":switch(d=(d=e.subtype||"0").toString()){case"1":n="type="+r+"&subType="+d;break;default:n="type="+r}break;case"17":u=e.h5url||"",m=e.mid||"",""==(b=e.id||"")&&(b=m),y=e.news_type||"",u.indexOf("//cj.sina.cn/article/norm")>-1&&(u=t.moveUrlParamToFront(u)),""!=y?n="type="+r+"&mid="+m+"&id="+b+"&news_type="+y:("android"==v&&u.indexOf("url="),n="android"==v?"type="+r+"&url="+u+"&pull=toutiao":(u.indexOf("cj.sina.cn/articles/view/"),"type="+r+"&url="+encodeURIComponent(u)),!0);break;case"18":u=e.h5url||"",p=e.commentId||"","ios"==v&&(u=encodeURIComponent(u)),n="type="+r+"&hash="+u+"&commentId="+p+"&pull=comment",!0;break;case"19":u=e.h5url||"",p=e.commentId||"","ios"==v&&(u=encodeURIComponent(u)),n="type="+r+"&url="+u+"&commentId="+p+"&pull=comment",!0;break;case"20":switch(-1==(u=e.h5url.replace("?from=timeline&isappinstalled=0","").replace("?from=timeline&isappinstalled=1","").replace("?from=singlemessage&isappinstalled=1","").replace("?from=singlemessage&isappinstalled=0","")||"").indexOf("?")&&u.indexOf("&")>-1&&(u=u.replace("&","?")),d=(d=e.subtype||"0").toString(),c=e.symbol||"",d){case"0":"ios"==v&&(u=encodeURIComponent(u)),n="type="+r+"&url="+u;break;case"1":n="type="+r+"&subType="+d+"&symbol="+c}!0;break;case"21":n="type="+r+"&blogger_liveid="+(e.blogger_liveid||"");break;case"22":switch(d=(d=e.subtype||"0").toString(),c=e.symbol||"",l=e.name||"",h=e.officeid||"",d){case"0":case"3":n="type="+r+"&subType="+d;break;case"1":case"2":case"4":n="type="+r+"&subType="+d+"&symbol="+c+"&name="+l;break;case"5":n="type="+r+"&subType="+d+"&id="+h+"&title="+l}break;case"23":switch(d=(d=e.subtype||"0").toString(),s=e.stocktype||"",d){case"0":case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"9":case"10":case"11":case"12":case"13":case"14":case"15":n="type="+r+"&subType="+d;break;case"8":n="type="+r+"&subType="+d+"&market="+s;break;default:n="type="+r+"&subType="+d}break;case"25":n="type="+r+"&program_type="+(d=(d=e.subtype||"0").toString())+"&bid="+(e.blogger_liveid||"")+"&cid="+(f=e.cid||"");break;case"26":n="type="+r+"&ptp="+(e.ptp||"")+"&zidfu="+(e.zidfu||"");break;case"27":n="type="+r+"&bid="+(e.blogger_liveid||"")+"&name="+(l=e.name||"");break;case"28":n="type="+r+"&subType="+(d=(d=e.subtype||"0").toString());break;case"29":d=(d=e.subtype||"0").toString(),n="type="+r;break;case"30":d=(d=e.subtype||"0").toString(),n="type="+r+"&url="+(u=e.h5url||"")+"&pf="+(e.pf||"0"),!0;break;case"31":n="type="+r+"&uid="+(e.blogger_liveid||""),!0;break;case"32":c=e.symbol||"",n="type="+r+"&searchkey="+encodeURIComponent(c);break;case"33":c=e.symbol||"",s=e.stocktype||"",l=e.name||"",n="type="+r+"&subType="+(d=(d=e.subtype||"0").toString())+"&stocktype="+s+"&symbol="+c+"&name="+l;break;case"35":c=e.symbol||"",d=(d=e.subtype||"0").toString(),n="type="+r+"&symbol="+c;break;case"36":d=(d=e.subtype||"0").toString(),m=e.mid||"",y=e.news_type||"",l=e.name||"",n=""==(g=e.datetime||"")?"type="+r+"&subType="+d+"&category="+y+"&title="+l+"&id="+m:"type="+r+"&subType="+d+"&time="+g;break;case"37":d=(d=e.subtype||"0").toString(),n="type="+r;break;case"39":d=(d=e.subtype||"0").toString(),n="type="+r+"&bid="+(e.blogger_liveid||"");break;case"40":d=(d=e.subtype||"0").toString(),n="type="+r+"&stocktype="+(s=e.stocktype||"")+"&subType="+d;break;case"42":d=(d=e.subtype||"1").toString(),u=e.h5url||"",f=e.cid||"";var S=""==(k=e.tab||"")?"":"&tab="+k;_="ios"==v?"4.10.0":"4.9.9.9",1==d?n="type="+r+"&weexType="+d+S+"&url="+encodeURIComponent(u):2==d?n="type="+r+"&weexType="+d+S+"&roadshow_id="+f+"&basever="+_:3==d&&(n="type="+r+"&weexType="+d+S+"&basever="+_);break;case"43":n=""==(d=(d=e.subtype||"").toString())?"type="+r:"type="+r+"&subType="+d;break;case"44":n="type=44";break;case"45":n="type=45&columnType="+(d=(d=e.subtype||"").toString());break;case"46":n="type=46";break;case"47":n="type="+r+"&mid="+(m=e.mid||"");break;case"48":n="type=48";break;case"49":n="type=49";break;case"50":n="type=50";break;case"51":n="type=51";break;case"52":n="type=52";break;case"53":n="type=53";break;case"54":n="type=54";break;case"55":n="type=55";break;case"56":n="type=56";break;case"57":n="type=57";break;case"58":n="type="+r+"&subType="+(d=(d=e.subtype||"").toString());break;case"59":n="type=59";break;case"60":n="type="+r+"&id="+(b=e.id||"")+"&name="+(l={live_meeting:"\u4f1a\u8bae\u8bba\u575b",live_qiyejia:"\u4f01\u4e1a\u5bb6\u8bb2\u5ea7",live_gkk:"\u91d1\u878d\u516c\u5f00\u8bfe",live_xpfb:"\u65b0\u54c1\u53d1\u5e03",live_stock:"\u80a1\u5e02\u5927\u8bb2\u5802",live_company:"\u516c\u53f8\u8def\u6f14",live_fund:"\u57fa\u91d1\u5927\u5496\u79c0",live_bimen:"\u95ed\u95e8\u79c1\u4eab\u4f1a",live_gffb:"\u5b98\u65b9\u53d1\u5e03",live_tech:"\u79d1\u5b66\u5927\u5bb6\u8c08"}[b]||"");break;case"61":n="type="+r+"&subType="+(d=(d=e.subtype||"").toString());break;case"62":n="type=62";break;case"63":n="type=63"+r+"&productid="+(b=e.id||"");break;case"100":n="type=100";break;case"101":n="type=101";break;case"618":n="type="+r+"&basever=4.9.0";break;default:n="type="+r}if("no"==(i||"yes"));else{e.original=n;var I=a.SinaFinance.forCallUpNum(e),T=(a.SinaFinance.forIosChannel(e),"&callfailUrl="+encodeURIComponent(e.callfailUrl));"ios"==v&&0==e.isDownload&&""!=e.callfailUrl&&(n+=T),n="ios"==v?o.testName?""==I?encodeURIComponent(n):encodeURIComponent(n)+"&"+I:""==I?n:I+"&"+n:t.checkUA.isHarmony()?""==I?n:n+"&"+I:""==I?encodeURIComponent(n):I+"&"+encodeURIComponent(n)}return t.checkUA.isWeibo()&&(n="ios"==v?n+"&web_source=weibo&btn_name="+encodeURIComponent("\u8fd4\u56de\u5fae\u535a")+"&backurl=sinaweibo%3A%2F%2Fbrowser%2Fclose":n+"&web_source=weibo&btn_name="+encodeURIComponent("\u8fd4\u56de\u5fae\u535a")+"&backurl=sinaweibo%3A%2F%2Fbrowser"),t.checkUA.isOppo()&&(n=n+"&web_source=oppo&btn_name="+encodeURIComponent("\u8fd4\u56de\u6d4f\u89c8\u5668")+"&back_url=oppobrowser%3A%2F%2Fresume%3Ffrom%3Dcn.com.sina.finance"),t.checkUA.isSinaNews()&&(n=n+"&web_source=sinanews&btn_name="+encodeURIComponent("\u8fd4\u56de\u65b0\u6d6a\u65b0\u95fb")+"&backurl=sinanews%3A%2F%2Fsina.cn%2Fmain%2Fsplash.pg%3Fcallback%3D1%26adId%3Dcjappback"),t.checkUA.isEdga()&&(n="sinafinance/&"+n),n};SinaFinanceCallUp.financeAppScheme=r,e.exports=r},function(e,i,n){var t=n(0),a=n(1),o=n(7),r={_getDataInfo:function(e){var i,n,a;if(i=new o({screen_resolution:!0,canvas:!0}).get(),"android"==(a=t.checkUA._system())){var r=t.checkUA.getAndroidVersion();n=window.screen.width+"x"+r}else n=window.screen.width+"x"+window.screen.height;return{fpId:i,resolution:n,platform:a,url:e.iosNativeUrl||e.androidNativeUrl,title:document.title}},copyText:function(e){var i=document.createElement("textarea"),n="rtl"==document.documentElement.getAttribute("dir");i.style.fontSize="12pt",i.style.border="0",i.style.padding="0",i.style.margin="0",i.style.position="absolute",i.style[n?"right":"left"]="-9999px";var t=window.pageYOffset||document.documentElement.scrollTop;i.style.top=t+"px",i.setAttribute("readonly",""),i.value=e,document.body.appendChild(i),i.select(),i.setSelectionRange(0,i.value.length);var a=document.execCommand("copy");return document.body.removeChild(i),a},send:function(e,i,n){var o;if(o=JSON.stringify(this._getDataInfo(e)),e&&e.isDownload&&!t.checkUA.notSupportGetAjax()){t.ajax({url:a.finance.apis.deferrerLinkOld,type:"POST",data:{data:o},dataType:"json",success:function(e){},fail:function(e){}});try{t.ajax({url:a.finance.apis.deferrerLink,type:"POST",data:{data:o},dataType:"json",success:function(e){},fail:function(e){}})}catch(e){}i&&i()}else i&&i()}};e.exports=r},function(e,i,n){var t,a,o;o=function(){"use strict";var e=function(e){var i,n;i=Array.prototype.forEach,n=Array.prototype.map,this.each=function(e,n,t){if(null!==e)if(i&&e.forEach===i)e.forEach(n,t);else if(e.length===+e.length){for(var a=0,o=e.length;a>>16)*r&65535)<<16)&4294967295)<<15|c>>>17))*s+(((c>>>16)*s&65535)<<16)&4294967295)<<13|a>>>19))+((5*(a>>>16)&65535)<<16)&4294967295))+((58964+(o>>>16)&65535)<<16);switch(c=0,n){case 3:c^=(255&e.charCodeAt(l+2))<<16;case 2:c^=(255&e.charCodeAt(l+1))<<8;case 1:a^=c=(65535&(c=(c=(65535&(c^=255&e.charCodeAt(l)))*r+(((c>>>16)*r&65535)<<16)&4294967295)<<15|c>>>17))*s+(((c>>>16)*s&65535)<<16)&4294967295}return a^=e.length,a=2246822507*(65535&(a^=a>>>16))+((2246822507*(a>>>16)&65535)<<16)&4294967295,a=3266489909*(65535&(a^=a>>>13))+((3266489909*(a>>>16)&65535)<<16)&4294967295,(a^=a>>>16)>>>0},hasLocalStorage:function(){try{return!!window.localStorage}catch(e){return!0}},hasSessionStorage:function(){try{return!!window.sessionStorage}catch(e){return!0}},hasIndexDb:function(){try{return!!window.indexedDB}catch(e){return!0}},isCanvasSupported:function(){var e=document.createElement("canvas");return!(!e.getContext||!e.getContext("2d"))},isIE:function(){return"Microsoft Internet Explorer"===navigator.appName||!("Netscape"!==navigator.appName||!/Trident/.test(navigator.userAgent))},getPluginsString:function(){return this.isIE()&&this.ie_activex?this.getIEPluginsString():this.getRegularPluginsString()},getRegularPluginsString:function(){return this.map(navigator.plugins,(function(e){var i=this.map(e,(function(e){return[e.type,e.suffixes].join("~")})).join(",");return[e.name,e.description,i].join("::")}),this).join(";")},getIEPluginsString:function(){return window.ActiveXObject?this.map(["ShockwaveFlash.ShockwaveFlash","AcroPDF.PDF","PDF.PdfCtrl","QuickTime.QuickTime","rmocx.RealPlayer G2 Control","rmocx.RealPlayer G2 Control.1","RealPlayer.RealPlayer(tm) ActiveX Control (32-bit)","RealVideo.RealVideo(tm) ActiveX Control (32-bit)","RealPlayer","SWCtl.SWCtl","WMPlayer.OCX","AgControl.AgControl","Skype.Detection"],(function(e){try{return new ActiveXObject(e),e}catch(e){return null}})).join(";"):""},getScreenResolution:function(){return this.screen_orientation?screen.height>screen.width?[screen.height,screen.width]:[screen.width,screen.height]:[screen.height,screen.width]},getCanvasFingerprint:function(){var e=document.createElement("canvas"),i=e.getContext("2d"),n="http://valve.github.io";return i.textBaseline="top",i.font="14px 'Arial'",i.textBaseline="alphabetic",i.fillStyle="#f60",i.fillRect(125,1,62,20),i.fillStyle="#069",i.fillText(n,2,15),i.fillStyle="rgba(102, 204, 0, 0.7)",i.fillText(n,4,17),e.toDataURL()}},e},e.exports?e.exports=o():void 0===(a="function"==typeof(t=o)?t.call(i,n,i,e):t)||(e.exports=a)},function(e,i,n){var t,a,o=n(0),r=n(9),s=n(2),c=n(1).finance,l=(window,document,n(3));t=l||{},window.jQuery||window.Zepto,(a=t=t||{}).openApp=r,a.RedirectToNative={openTimer:null,init:function(e){var i=o.checkUA.isSinaFinance(),n=o.checkUA.isWeixin(),t=(o.checkUA.isChrome(),o.checkUA.isIOS9()),l=!n&&o.checkUA.isQQ(),u=o.checkUA.isWeibo(),p=o.checkUA.isSinaNews(),d=o.checkUA.isCtrip(),h=o.checkUA.isWeiboIntl(),f=o.checkUA.isQuark(),m=o.checkUA.isHarmony(),y=e||{};o.checkUA.isIos1002(),o.checkUA.isQQBrowswer(),this.platform=o.checkUA._system(),this.openByWeixin=y.openByWeixin||"",this.isNotScheme=!!y.isNotScheme,this._position=y.position||"001001",this.position=(y.calluptype||"")+this._position,"undefined"!=e.setOpenTrackUrl&&a.Track.setClickTrackUrl(e.setOpenTrackUrl),"undefined"!=e.setDownloadTrackUrl&&a.Track.setDownloadTrackUrl(e.setDownloadTrackUrl);var g=1==y.needOpenSource?a.Track.getUATrackValue(this.position):this.position,w=1==y.needOpenSource?a.Track.getUATrackFailValue():"";try{var b=e.newSudaExt;b.userActionType="click";var k=s.SinaFinance.newUserPath(b);a.Track.sendSudaExt(k)}catch(e){}if(a.Track.sendSudaExt({uaTrackKey:e.uatrackKey,uaTrackValue:g,uaTrackExt:JSON.stringify(e.newSudaExt)}),this.platform)if(""==y.golink){if(i){var _="";return _="ios"==this.platform?y.iosNativeUrl:y.androidNativeUrl,void(window.location.href=_)}if(m)return k=s.SinaFinance.newUserPath({userActionType:"tryCallup",schema:e.originalSchema,downloadUrl:"HuaweiAppStore",eventid:e.eventid||"",position:e.position||"",callupType:"universalLinks"}),a.Track.sendSudaExt(k),void(window.location.href=y.harmonyUrl);if(t&&y.ios9Url&&!u&&!h&&!p&&!d&&!f)return k=s.SinaFinance.newUserPath({userActionType:"tryCallup",schema:e.originalSchema,downloadUrl:"AppleAppStore",eventid:e.eventid||"",position:e.position||"",callupType:"universalLinks"}),a.Track.sendSudaExt(k),void(window.location.href=y.ios9Url);"ios"==this.platform?(this.installUrl=y.iosInstallUrl||"",this.nativeUrl=y.iosNativeUrl||"",this.installUrl.match(/(\S*)(d\.php\?k\=)(\S*)/),this.openTime=y.iosOpenTime||3e3,u&&this.installUrl,n&&this.installUrl&&(this.installUrl=y.openByWeixin)):(this.installUrl=y.androidInstallUrl||"",this.nativeUrl=y.androidNativeUrl||"",this.openTime=y.androidOpenTime||3e3);var v=o.checkUA.isHuawei912315();if((l||n||v)&&!this.isNotScheme){k=s.SinaFinance.newUserPath({userActionType:"tryCallup",schema:e.originalSchema,downloadUrl:c.yybChannel[y.eventid]||c.yybChannel.other_callup,eventid:e.eventid||"",position:e.position||"",callupType:"YYBLink"}),a.Track.sendSudaExt(k);var U=""==e.weixinCK?"":"&ckey="+e.weixinCK;if(!y.openBrowser&&n){this.nativeUrl.split(":")[0];var C=this.nativeUrl;o.checkUA.isHarmony()?o.showWeiXinTips():window.location.href=e.wxUrl+encodeURIComponent(C)+U}else window.location.href=e.wxUrl+encodeURIComponent(this.nativeUrl)+U}else l||u||h||n||this.isNotScheme,r.start({callupConfig:e,scheme:this.nativeUrl,url:this.installUrl,opentime:this.openTime,isDownload:y.isDownload,callfailUrl:y.callfailUrl,downloadCallback:function(){a.Track.sendUATrack(e.uatrackKey,w),y.downloadCallback&&y.downloadCallback()},callback:function(){a.Track.sendUATrack(e.uatrackKey,w),y.callback&&y.callback()}})}else window.location.href=y.golink}},l=t},function(e,i,n){var t,a,o=n(0),r=n(4),s=n(2),c=navigator.userAgent.toLowerCase(),l=o.checkUA.OpenTypeIdentify.noIntent.test(c),u=(o.checkUA.OpenTypeIdentify.hasIntent.test(c),o.checkUA.OpenTypeIdentify.speciallIntent.test(c),/android|adr/.test(c)&&/windows phone/.test(c),navigator.userAgent.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/)),p=o.checkUA.canOpenByIntent(),d=!1;if(window.WeiboJSBridge)WeiboJSBridge.on("visibilityChange",(function(e){clearTimeout(a)}));else document.addEventListener("WeiboJSBridgeReady",(function(){clearTimeout(a)}));var h=!1;c.indexOf("m353")>-1&&!l&&(p=!1);var f={callupConfig:{},scheme:"sinaweibo://gotohome",url:"http://m.weibo.cn/feature/download/index",isDownload:!0,h5pos:null,opentime:1500,callback:null,downloadCallback:null,callfailUrl:""},m=function(e){var i=Date.now();if(!t||i-t="9.6.2"||"9"==u&&p-"6">0||"9"==u&&"6"==p&&d-"2">0||u-"9">0)&&(f.opentime=100,f.url="",window.WeiboJSBridge?window.WeiboJSBridge.invoke("schemeDownloadApk",{appId:"138578",pyid:"1638782947",app_wm:y},(function(e,i,n){if(i){h=!0;var t=s.SinaFinance.newUserPath({userActionType:"tryDownload",schema:f.callupConfig.originalSchema,downloadUrl:y,eventid:f.callupConfig.eventid||"",position:f.callupConfig.position||"",callupType:"weiboSilenceDownload"});r.sendSudaExt(t)}})):document.addEventListener("WeiboJSBridgeReady",(function(){window.WeiboJSBridge.invoke("schemeDownloadApk",{appId:"138578",pyid:"1638782947",app_wm:y},(function(e,i,n){if(i){h=!0;var t=s.SinaFinance.newUserPath({userActionType:"tryDownload",schema:f.callupConfig.originalSchema,downloadUrl:y,eventid:f.callupConfig.eventid||"",position:f.callupConfig.position||"",callupType:"weiboSilenceDownload"});r.sendSudaExt(t)}}))})))}else if(c)o.goDownLoadApk({eventid:f.callupConfig.eventid,position:f.callupConfig.position,wmcode:f.callupConfig.wmcode,onsuccess:function(i){var n=s.SinaFinance.newUserPath({userActionType:"tryDownload",schema:f.callupConfig.originalSchema,downloadUrl:f.url,eventid:f.callupConfig.eventid||"",position:f.callupConfig.position||"",callupType:e});r.sendSudaExt(n),h=!0,o.checkUA.isWeiboIntl()?g(i):window.location.href=i}});else if(l)o.goDownLoadApk({eventid:f.callupConfig.eventid,position:f.callupConfig.position,wmcode:f.callupConfig.wmcode,onsuccess:function(i){var n=s.SinaFinance.newUserPath({userActionType:"tryDownload",schema:f.callupConfig.originalSchema,downloadUrl:f.url,eventid:f.callupConfig.eventid||"",position:f.callupConfig.position||"",callupType:e});r.sendSudaExt(n),h=!0;var t=window.open(i,"","toolbar=no,location=no,directories=no,menubar=no,scrollbars=no,resizable=yes,alwaysTaised=no,status=no,z-look=no,width='1px',height='1px'");setTimeout((function(){t.close()}),1e3)}});else if(""!=f.url){var b=s.SinaFinance.newUserPath({userActionType:"tryDownload",schema:f.callupConfig.originalSchema,downloadUrl:f.url,eventid:f.callupConfig.eventid||"",position:f.callupConfig.position||"",callupType:e});r.sendSudaExt(b),h=!0,window.location.href=f.url}}}else if(f.callback&&(f.callback(),""!=f.callfailUrl)){b=s.SinaFinance.newUserPath({userActionType:"callfailtoUrl",schema:f.callupConfig.originalSchema,downloadUrl:f.callfailUrl,eventid:f.callupConfig.eventid||"",position:f.callupConfig.position||"",callupType:e});r.sendSudaExt(b),window.location.href=f.callfailUrl}},y=function(e){var i=document.getElementById("openIntentLink");i||((i=document.createElement("a")).id="openIntentLink",i.style.display="none",document.body.appendChild(i)),i.href=e,i.click()},g=function(e){var i=document.createElement("iframe");i.src=e,i.style.display="none",document.body.appendChild(i)};e.exports={start:function(e){e&&o.extend(f,e),function(){if(!d){if(d=!0,t=Date.now(),p){function e(e){var i,n=e,t="sinaweibo";f.scheme&&(t=f.scheme.substring(0,f.scheme.indexOf("://"))),i=f.isDownload?o.checkUA.notSupportIntentCallbackUrl()?f.scheme.replace(t,"intent")+"#Intent;scheme="+t+";package=cn.com.sina.finance;end":f.scheme.replace(t,"intent")+"#Intent;scheme="+t+";package=cn.com.sina.finance;S.browser_fallback_url="+encodeURIComponent(n)+";end":o.checkUA.notSupportIntentCallbackUrl()?f.scheme.replace(t,"intent")+"#Intent;scheme="+t+";package=cn.com.sina.finance;end":f.scheme.replace(t,"intent")+"#Intent;scheme="+t+";package=cn.com.sina.finance;S.browser_fallback_url="+encodeURIComponent(f.callfailUrl)+";end";var c=s.SinaFinance.newUserPath({userActionType:"tryCallup",schema:f.callupConfig.originalSchema,downloadUrl:n,eventid:f.callupConfig.eventid||"",position:f.callupConfig.position||"",callupType:"intent"});r.sendSudaExt(c),y(i),n&&o.checkUA.notSupportIntentCallbackUrl()&&(a=setTimeout((function(){m("intent")}),f.opentime),o.pageVisibility.isSupport?o.pageVisibility.visibilitychange((function(){clearTimeout(a)})):window.onblur=function(){clearTimeout(a)})}f.isDownload&&""!=f.callupConfig.wmcode?o.goDownLoadApk({eventid:f.callupConfig.eventid,position:f.callupConfig.position,wmcode:f.callupConfig.wmcode,onsuccess:function(i){e(i)}}):e(f.url)}else{var i=c.match(/os (\d+)_\d[_\d]* like Mac OS X/i);if(c.indexOf("qq/")>-1||u&&c.indexOf("qhbrowser")>-1||u&&!o.checkUA.isQuark()||c.indexOf("safari")>-1&&i&&i[1]>=9&&!c.indexOf("weibo")>-1&&!c.indexOf("sinanews")>-1&&!o.checkUA.isQQBrowswer()&&!o.checkUA.isCtrip()&&!o.checkUA.isWeiboIntl()&&!o.checkUA.isHarmony()){var n=s.SinaFinance.newUserPath({userActionType:"tryCallup",schema:f.callupConfig.originalSchema,downloadUrl:f.url,eventid:f.callupConfig.eventid||"",position:f.callupConfig.position||"",callupType:"intent"});r.sendSudaExt(n),y(f.scheme)}else{n=s.SinaFinance.newUserPath({userActionType:"tryCallup",schema:f.callupConfig.originalSchema,downloadUrl:f.url,eventid:f.callupConfig.eventid||"",position:f.callupConfig.position||"",callupType:"iframe"});r.sendSudaExt(n),g(f.scheme)}a=setTimeout((function(){var e=o.checkUA.isQQBrowswer()&&("erkeside"==f.callupConfig.position||"erkeside1"==f.callupConfig.position||"erkeside2"==f.callupConfig.position)&&"erke_app_callup"==f.callupConfig.eventid;(0==document.hidden||0==document.webkitHidden||"visible"==o.pageVisibility.visibilityState||e)&&m("iframe")}),f.opentime),o.pageVisibility.isSupport?o.pageVisibility.visibilitychange((function(){c.indexOf("weibo")>-1&&c.indexOf("xiaomi")<0&&(window.location.href.indexOf("cj.sina.cn/article")>-1&&0==h&&y("sinaweibo://browser/close"),(window.location.href.indexOf("finance.sina.cn/app/QRtoSFA.shtml")>-1||window.location.href.indexOf("call_client/qrtosfa")>-1)&&y("sinaweibo://browser/close")),clearTimeout(a)})):window.onblur=function(){clearTimeout(a)}}setTimeout((function(){d=!1}),f.opentime+1e3)}}()},getUnilink:function(e,i){if(!e)return"";var n=e,t="http://weibo.cn/appurl?scheme=",a=i?"h5pos:"+i:"",o=n.match(/^.+(?:[&?]extparam=)(.*?)(?:&|$)/);return o&&o[1]&&(a=a?a+"|"+o[1]:"h5pos:"+o[1]),t+=a?encodeURIComponent(n+"&extparam="+encodeURIComponent(a)):encodeURIComponent(n)},startInMethord:function(e,i){e&&o.extend(f,e),function(e){if(!d){switch(d=!0,t=Date.now(),e||"ope002"){case"op002":g(f.scheme),f.url&&(a=setTimeout((function(){m()}),f.opentime),o.pageVisibility.isSupport?o.pageVisibility.visibilitychange((function(){clearTimeout(a)})):window.onblur=function(){clearTimeout(a)});break;case"op003":y(f.scheme),f.url&&(a=setTimeout((function(){m()}),f.opentime),o.pageVisibility.isSupport?o.pageVisibility.visibilitychange((function(){clearTimeout(a)})):window.onblur=function(){clearTimeout(a)});break;case"op004":f.isDownload?intentUrl=f.scheme.replace("sinafinance","intent")+"#Intent;scheme=sinafinance;package=cn.com.sina.finance;S.browser_fallback_url="+encodeURIComponent(f.url)+";end":intentUrl=f.scheme.replace("sinafinance","intent")+"#Intent;scheme=sinafinance;package=cn.com.sina.finance;end",window.location.href=intentUrl}setTimeout((function(){d=!1}),f.opentime+1e3)}}(i)}}},function(e,i){var n=[],t=window,a=document,o=navigator,r=o.userAgent,s=t.screen,c=t.location.href,l="https:"==t.location.protocol?"https://s":"http://",u="beacon.sina.com.cn",p=l+u+"/a.gif?",d=l+u+"/e.gif?",h=a.referrer.toLowerCase(),f="SINAGLOBAL",m="FSINAGLOBAL",y="Apache",g="ULV",w="UOR",b="_s_acc",k=!1,_="sina.com.cn"==document.domain,v="",U=16777215,C=0,A="",x="",S="",I=[],T=[],O=[],N=0,D=!1;function P(e,i){var n=a.getElementsByName(e),t=i>0?i:0;return n.length>t?n[t].content:""}function E(e,i,n,t){if(""==e)return"";i+=t=""==t?"=":t;var a=e.indexOf(i);if(a<0)return"";a+=i.length;var o=e.indexOf(n,a);return o15)return q(f,ls_gid,3650),k=!0,ls_gid;i&&i.length>15&&(q(f,i,3650),!0);var t=0,a=setInterval((function(){var e=Q(f);D&&(e=i),(t+=1)>3&&clearInterval(a),e.length>15&&(clearInterval(a),function(e,i){try{document.getElementById("sudaDataFrame").contentWindow.storage.set(e,i)}catch(e){return!1}}(f,e))}),500);return D?i:Q(f)}function B(e){if("string"!=typeof e)throw"trim need a string as parameter";for(var i=e.length,n=0,t=/(\u3000|\s|\t|\u00A0)/;nn&&t.test(e.charAt(i-1));)i-=1;return e.slice(n,i)}function R(e){var i=new RegExp("^http(?:s)?://([^/]+)","im");return e.match(i)?e.match(i)[1].toString():""}var F=function(){return!0&U?s.width+"x"+s.height:""},L=function(){return!0&U?s.colorDepth:""},W=function(){return!0&U?o.appCodeName:""},Y=function(){return!0&U?o.appName.indexOf("Microsoft Internet Explorer")>-1?"MSIE":o.appName:""},H=function(){return!0&U?o.cpuClass||o.oscpu:""},z=function(){return!0&U?o.platform:""},K=function(){if(!1&U)return"";var e,i,n,t=1,a=o.appName.indexOf("Microsoft Internet Explorer")>-1?"MSIE":o.appName,r=o.appVersion;return"MSIE"==a?(i="MSIE",(e=r.indexOf(i))>=0&&3<=(n=window.parseInt(r.substring(e+5)))&&(t=1.1,4<=n&&(t=1.3))):"Netscape"!=a&&"Opera"!=a&&"Mozilla"!=a||(t=1.3,i="Netscape6",(e=r.indexOf(i))>=0&&(t=1.5)),t},M=function(){if(!1&U)return"";var e="";e=o.connection&&o.connection.type?o.connection.type:e;try{a.body.addBehavior("#default#clientCaps"),e=a.body.connectionType}catch(i){e="unkown"}return e},V=function(){return!0&U?o.systemLanguage||o.language:""},X=function(){return!0&U?(new Date).getTimezoneOffset()/60:""},G=function(){if(!1&U)return"";var e,i,n,t=o.plugins;if(t&&t.length){for(var a in t)if(null!=(i=t[a]).description){if(null!=e)break;-1==(n=i.description.toLowerCase()).indexOf("flash")||(e=i.version?parseInt(i.version):n.match(/\d+/))}}else if(window.ActiveXObject)for(var s=10;s>=2;s--)try{if(new ActiveXObject("ShockwaveFlash.ShockwaveFlash."+s)){e=s;break}}catch(e){}else-1!=r.indexOf("webtv/2.5")?e=3:-1!=r.indexOf("webtv")&&(e=2);return e},J=function(){if(!1&U)return"";var e,i=o.plugins,n=o.javaEnabled();if(1==n)return 1;if(i&&i.length){for(var t in i)if(null!=(e=i[t]).description){if(null!=n)break;-1==e.description.toLowerCase().indexOf("java plug-in")||(n=parseInt(e.version))}}else window.ActiveXObject&&(n=null!=new ActiveXObject("JavaWebStart.IsInstalled"));return n?1:0},Z=function(e){var i=e||A,n="-9999-0-0-1";if(null==i||""==i){try{var t=P("publishid");if(""!=t){var a=t.split(",");a.length>0&&(a.length>=3&&(n="-9999-0-"+a[1]+"-"+a[2]),i=a[0])}else i="0"}catch(e){i="0"}i+=n}return i},$=function(){var e=Q("_s_upa");return""==e&&(e=0),e},ee=function(){return n.sudaCount},ie=function(){if(!1&U)return"";if(""==h||h.match(/^[^\?&#]*.swf([\?#])?/)){var e=E(c,"ref","&","");if(""!=e)return escape(e)}return escape(h)},ne=function(){if(!1&U)return"";var e="";try{a.body.addBehavior("#default#homePage"),e=a.body.isHomePage(c)?"Y":"N"}catch(i){e="unkown"}return e},te=function(){return!0&U?P("stencil"):""},ae=function(){if(!1&U)return"";var e=P("subjectid");return e.replace(",","."),e.replace(";",","),escape(e)},oe=function(){return!0&U?P("mediaid"):""},re=function(){return!0&U?a.getElementsByTagName("*").length:""},se=function(){return!0&U?a.getElementsByTagName("iframe").length:""},ce=function(){var e=Q(f);return e.length>15&&0==N?e:void 0},le=function(e){if(!e)return e=Q(m);q(m,e,3650)},ue=function(){var e=Q(y);if(""==e){var i=new Date;e=1e13*Math.random()+"."+i.getTime()}return e},pe=function(){var e,i=Q(y),n=Q(g).split(":"),t="";if(n.length>=6)if(i!=n[4]){e=new Date;var a=new Date(window.parseInt(n[0]));n[1]=window.parseInt(n[1])+1,e.getMonth()!=a.getMonth()?n[2]=1:n[2]=window.parseInt(n[2])+1,(e.getTime()-a.getTime())/864e5>=7||e.getDay()=2?e[0]:""},fe=function(){return!0&U?Q(b):""},me=function(){var e=Q(w),i="",n="",t="",o="",r=c.toLowerCase(),s=a.referrer.toLowerCase(),l=/[&|?]c=spr(_[A-Za-z0-9]{1,}){3,}/,u=new Date;if(r.match(l)?t=r.match(l)[0]:s.match(l)&&(t=s.match(l)[0]),""!=t&&(t=t.substr(3)+":"+u.getTime()),""==e)""==Q(g)&&(i=R(s),n=R(r)),q(w,i+","+n+","+t,365);else{var p=0,d=e.split(",");if(d.length>=1&&(i=d[0]),d.length>=2&&(n=d[1]),d.length>=3&&(o=d[2]),""!=t)p=1;else{var h=o.split(":");if(h.length>=2)new Date(window.parseInt(h[1])).getTime()>4,a=(15&o)<<4|(r=s(d,e[h++]))>>2,l=(3&r)<<6|(u=s(d,e[h++])),c.push(t),64!=r&&-1!=r&&c.push(a),64!=u&&-1!=u&&c.push(l),t=a=l="",o=r=u=""}while(h=320&&a.body.clientWidth)}catch(e){return!0}})(),me();ue();n.sudaCount=n.sudaCount||0,n.log=function(){Ie.apply(null,arguments)},n.acTrack=function(){Te.apply(null,arguments)},n.uaTrack=function(){Oe.apply(null,arguments)},e.exports={SUDA:n}},function(e,i){setTimeout((function(){try{var e="sinafinancepagecallup",i=window.location.href,n=SinaFinanceCallUp.util,t=document.referrer||"";function a(e){var i="",t="",a="0",o=!1,r=/quotes\.sina\.cn\/hs\/company\/quotes\/view\/s[h,z][0-9]{6}/,s=/quotes\.sina\.cn\/hk\/company\/quotes\/view\/[0-9]{5}/,c=/gu\.sina\.cn\/us\/hq\/quotes\.php/,l=/gu\.sina\.cn\/ft\/hq\/nf\.php\?symbol\=\w+/,u=/gu\.sina\.cn\/ft\/hq\/hf\.php\?symbol\=\w+/,p=/gu\.sina\.cn\/tm\/hq\/quotes\.php\?code\=sb[0-9]{6}/;e.indexOf("quotes.sina.cn/hs")>-1&&(i="cn",(d=e.match(new RegExp(r)))&&d.length>0&&(t=d[0].replace("quotes.sina.cn/hs/company/quotes/view/",""),o=!0));if(e.indexOf("gu.sina.cn/us")>-1){i="us";(d=e.match(new RegExp(c)))&&d.length>0&&(t=n.getQueryString("code"),/^(CELS|CHXN|DJI|INX|IXCO|IXIC|IXTC|NBI|NDX|NDXT|NDXX|NQASIAN|NQBRICN|NQGS|QIV|QMI|QNET|SOX)$/.test(t.toUpperCase())&&(t="."+t),o=!0)}e.indexOf("quotes.sina.cn/hk")>-1&&(i="hk",(d=e.match(new RegExp(s)))&&d.length>0&&(t=d[0].replace("quotes.sina.cn/hk/company/quotes/view/",""),o=!0));if(e.indexOf("gu.sina.cn/ft/hq/nf.php")>-1){var d;(d=e.match(new RegExp(l)))&&d.length>0&&(t=n.getQueryString("symbol").toUpperCase(),i=-1!==["NF_IF0","NF_IC0","NF_IH0","NF_T0","NF_TF0"].indexOf(t)?"CFF":"commodity",t="nf_"+t,o=!0,a="2")}if(e.indexOf("gu.sina.cn/ft/hq/hf.php")>-1&&((d=e.match(new RegExp(u)))&&d.length>0)){t=n.getQueryString("symbol").toUpperCase();i=-1==["BP","SF","CD","JY","DXF","EC"].indexOf(t)?"global":"fox",t="hf_"+t,o=!0}if(e.indexOf("gu.sina.cn/fx")>-1){i="forgein",stocktype="forgein";var h=(t=n.getQueryString("code")).toLowerCase().indexOf("btcbtc")>-1||"btcbitstamp"===t.toLowerCase()||"btcdogeusdt"===t.toLowerCase()||"btcethusd"===t.toLowerCase(),f="diniw"===t.toLowerCase();t=h?"btc_"+t.toLowerCase():f?"DINIW":"fx_s"+t.toLowerCase(),o=!0,a="2"}e.indexOf("gu.sina.cn/tm")>-1&&(i="sb",(d=e.match(new RegExp(p)))&&d.length>0&&(t=n.getQueryString("code"),o=!0));return{market:i,symbol:t,isMatch:o,subtype:a}}var o=("baidu"==n.getReferrerType()||"sogou"==n.getReferrerType()||"google"==n.getReferrerType()||"shenma"==n.getReferrerType()||"toutiao"==n.getReferrerType()||"360"==n.getReferrerType())&&"ios"==n.checkUA._system(),r="ios"==n.checkUA._system()&&navigator.userAgent.toLowerCase().indexOf("baidu")>-1&&navigator.userAgent.toLowerCase().indexOf("newapp")>-1;if(0==n.checkUA.isSinaFinance()&&-1==t.indexOf("finance.sina.cn/finance_zt/financeapp/iosToH5.shtml")&&"no"!=n.getQueryString("autocallup")&&-1==t.indexOf("172.16.115.68")&&1!=o&&1!=n.checkUA.isBot()&&0==r){var s=n.getQueryString(e),c="";window.pageConfig&&window.pageConfig.pc_url&&""!=window.pageConfig.pc_url&&(c=window.pageConfig.pc_url);var l={stock_paper:{isCallup:function(){return 0==n.checkUA.isYYBCallup()&&0==n.checkUA.forbiddenCallup()&&i.indexOf("stock.finance.sina.com.cn/stock/view/paper.php")>-1},callupParams:{callpagetype:"17",position:"wm_stock_paper",url:c,isDownload:!1,iostoh5:n.removeQueryString(e)}},page_esg:{isCallup:function(){return 0==n.checkUA.isYYBCallup()&&0==n.checkUA.forbiddenCallup()&&i.indexOf("//finance.sina.cn/esg")>-1&&i.indexOf("esg_conference_green_expo_2025")<0},callupParams:{position:"wm_esg",newSchemaParams:{client_path:"/app/home",tab:"news",subTab:"news_esg"},iostoh5:n.removeQueryString(e),isDownload:!1}},weibo_hqcenter:{isCallup:function(){return i.indexOf("//gu.sina.cn/m/#/index")>-1&&n.checkUA.isWeibo()},callupParams:{callpagetype:"23",subtype:"5",position:"wm_weibo_hqcenter",isDownload:!1}},weibo_dahao_stocks:{isCallup:function(){return 1==a(n.removeQueryString(e)).isMatch&&n.hasQueryString(e)&&"4"==s&&n.checkUA.isWeibo()},callupParams:{callpagetype:"2",position:"wm_hq_detail_dahao",symbol:a(n.removeQueryString(e)).symbol,stocktype:a(n.removeQueryString(e)).market,subtype:a(n.removeQueryString(e)).subtype,isDownload:!0}},zaobao:{isCallup:function(){return n.checkUA.isWeibo()&&i.indexOf("finance.sina.cn/zaobao/app.d.html")>-1},needWeiboLogin:function(){return n.checkUA.isWeibo()&&i.indexOf("finance.sina.cn/zaobao/app.d.html")>-1},callupParams:{callpagetype:"20",position:"wm_zaobao",url:n.removeQueryString(e),isDownload:!1,iostoh5:n.removeQueryString(e)}},licaidaxue:{isCallup:function(){return 0==n.checkUA.isYYBCallup()&&0==n.checkUA.forbiddenCallup()&&i.indexOf("www.sinadaxue.cn/")>-1&&(i.indexOf("sina/brief/")>-1||i.indexOf("sinacourse")>-1)},callupParams:{callpagetype:"20",position:"wm_lcdx",url:n.removeQueryString(e),isDownload:!1,iostoh5:n.removeQueryString(e)}},cj_manual_query_3:{isCallup:function(){return 0==n.checkUA.isYYBCallup()&&0==n.checkUA.forbiddenCallup()&&i.indexOf("finance.sina.cn/zt_d")>-1&&n.hasQueryString(e)&&"3"==s},callupParams:{callpagetype:"42",position:"wapcaishou",url:n.removeQueryString(e)},callupInitConfig:{eventid:"callup_pageload",uatrackKey:"callup_pageload",needOpenSource:!1,isDownload:!0,androidInstallUrl:"http://file.finance.sina.com.cn/finapp/apks/sinafinance_cjttqita.apk"}},cj_manual_query_3_2:{isCallup:function(){return 0==n.checkUA.isYYBCallup()&&0==n.checkUA.forbiddenCallup()&&i.indexOf("cj.sina.cn/article")>-1&&n.hasQueryString(e)&&"3"==s},callupParams:{callpagetype:"17",position:"wapcaishou",url:n.removeQueryString(e)},callupInitConfig:{eventid:"callup_pageload",uatrackKey:"callup_pageload",needOpenSource:!1,isDownload:!0,androidInstallUrl:"http://file.finance.sina.com.cn/finapp/apks/sinafinance_cjttqita.apk"}},cj_normal:{isCallup:function(){return 0==n.checkUA.isYYBCallup()&&0==n.checkUA.forbiddenCallup()&&i.indexOf("cj.sina.cn/article")>-1&&!n.checkUA.isWeibo()&&!n.checkUA.isWeiboIntl()},callupParams:{callpagetype:"17",position:"wm_cj_normal",url:n.removeQueryString(e),isDownload:!1,iostoh5:n.removeQueryString(e)}},cj_manual_query_1:{isCallup:function(){return 0==n.checkUA.isYYBCallup()&&0==n.checkUA.forbiddenCallup()&&i.indexOf("cj.sina.cn/article")>-1&&n.hasQueryString(e)&&"1"==s},callupParams:{callpagetype:"17",position:"wm_manual",url:n.removeQueryString(e),isDownload:!1,iostoh5:n.removeQueryString(e)}},cj_manual_query_2:{isCallup:function(){return 0==n.checkUA.isYYBCallup()&&0==n.checkUA.forbiddenCallup()&&i.indexOf("finance.sina.cn/zt_d")>-1&&n.hasQueryString(e)&&"2"==s},callupParams:{callpagetype:"42",position:"wm_manual",url:n.removeQueryString(e),isDownload:!1,iostoh5:n.removeQueryString(e)}},hqdetail_wap_sh000001:{isCallup:function(){return 0==n.checkUA.isYYBCallup()&&0==n.checkUA.forbiddenCallup()&&i.indexOf("quotes.sina.cn/hs/company/quotes/view/sh000001")>-1},callupParams:{callpagetype:"2",position:"wm_hq_detail",symbol:"sh000001",stocktype:"cn",isDownload:!1,iostoh5:n.removeQueryString(e)}},hqdetail_wap_sz399001:{isCallup:function(){return 0==n.checkUA.isYYBCallup()&&0==n.checkUA.forbiddenCallup()&&i.indexOf("quotes.sina.cn/hs/company/quotes/view/sz399001")>-1},callupParams:{callpagetype:"2",position:"wm_hq_detail",symbol:"sz399001",stocktype:"cn",isDownload:!1,iostoh5:n.removeQueryString(e)}},hqdetail_wap_sz399006:{isCallup:function(){return 0==n.checkUA.isYYBCallup()&&0==n.checkUA.forbiddenCallup()&&i.indexOf("quotes.sina.cn/hs/company/quotes/view/sz399006")>-1},callupParams:{callpagetype:"2",position:"wm_hq_detail",symbol:"sz399006",stocktype:"cn",isDownload:!1,iostoh5:n.removeQueryString(e)}},hqdetail_wap_dji:{isCallup:function(){return 0==n.checkUA.isYYBCallup()&&0==n.checkUA.forbiddenCallup()&&i.indexOf("gu.sina.cn/us/hq/quotes.php")>-1&&i.toLowerCase().indexOf("code=dji")>-1},callupParams:{callpagetype:"2",position:"wm_hq_detail",symbol:".dji",stocktype:"us",isDownload:!1,iostoh5:n.removeQueryString(e)}},hqdetail_wap_ixic:{isCallup:function(){return 0==n.checkUA.isYYBCallup()&&0==n.checkUA.forbiddenCallup()&&i.indexOf("gu.sina.cn/us/hq/quotes.php")>-1&&i.toLowerCase().indexOf("code=ixic")>-1},callupParams:{callpagetype:"2",position:"wm_hq_detail",symbol:".ixic",stocktype:"us",isDownload:!1,iostoh5:n.removeQueryString(e)}},hqdetail_wap_inx:{isCallup:function(){return 0==n.checkUA.isYYBCallup()&&0==n.checkUA.forbiddenCallup()&&i.indexOf("gu.sina.cn/us/hq/quotes.php")>-1&&i.toLowerCase().indexOf("code=inx")>-1},callupParams:{callpagetype:"2",position:"wm_hq_detail",symbol:".inx",stocktype:"us",isDownload:!1,iostoh5:n.removeQueryString(e)}},hqdetail_wap_HSI:{isCallup:function(){return 0==n.checkUA.isYYBCallup()&&0==n.checkUA.forbiddenCallup()&&i.indexOf("quotes.sina.cn/hk/company/quotes/view/HSI")>-1},callupParams:{callpagetype:"2",position:"wm_hq_detail",symbol:"HSI",stocktype:"hk",isDownload:!1,iostoh5:n.removeQueryString(e)}},hqdetail_wap_HSCEI:{isCallup:function(){return 0==n.checkUA.isYYBCallup()&&0==n.checkUA.forbiddenCallup()&&i.indexOf("quotes.sina.cn/hk/company/quotes/view/HSCEI")>-1},callupParams:{callpagetype:"2",position:"wm_hq_detail",symbol:"HSCEI",stocktype:"hk",isDownload:!1,iostoh5:n.removeQueryString(e)}},hqdetail_wap_HSCCI:{isCallup:function(){return 0==n.checkUA.isYYBCallup()&&0==n.checkUA.forbiddenCallup()&&i.indexOf("quotes.sina.cn/hk/company/quotes/view/HSCCI")>-1},callupParams:{callpagetype:"2",position:"wm_hq_detail",symbol:"HSCCI",stocktype:"hk",isDownload:!1,iostoh5:n.removeQueryString(e)}},hqdetail_wap_stocks:{isCallup:function(){var i=a(n.removeQueryString(e)),o=i.isMatch,r=!1;return 0==n.checkUA.isYYBCallup()&&0==n.checkUA.forbiddenCallup()&&1==o&&-1==t.indexOf("cj.sina.cn")&&-1==t.indexOf("finance.sina.cn")&&(r=!(t.indexOf("so.douyin.com")>-1&&"ios"==n.checkUA._system()&&1==n.checkUA.isSafari()&&"forgein"==i.market)),r},callupParams:{callpagetype:"2",position:"wm_hq_detail",symbol:a(n.removeQueryString(e)).symbol,stocktype:a(n.removeQueryString(e)).market,subtype:a(n.removeQueryString(e)).subtype,isDownload:!1,iostoh5:n.removeQueryString(e)}},hqdetail_wap_stocks_fromCJ:{isCallup:function(){var i=a(n.removeQueryString(e)).isMatch;return 0==n.checkUA.forbiddenCallup()&&1==i&&(t.indexOf("cj.sina.cn")>-1||t.indexOf("finance.sina.cn")>-1)},callupParams:{callpagetype:"2",position:"wm_hq_detail",subtype:a(n.removeQueryString(e)).subtype,symbol:a(n.removeQueryString(e)).symbol,stocktype:a(n.removeQueryString(e)).market}},hqdetail_wap_YM:{isCallup:function(){return 0==n.checkUA.isYYBCallup()&&0==n.checkUA.forbiddenCallup()&&i.indexOf("gu.sina.cn/ft/hq/hf.php")>-1&&i.indexOf("symbol=YM")>-1},callupParams:{callpagetype:"2",position:"wm_hq_detail_YM",symbol:"hf_YM",stocktype:"global",isDownload:!1,subtype:"2",iostoh5:n.removeQueryString(e)}},hqdetail_wap_NQ:{isCallup:function(){return 0==n.checkUA.isYYBCallup()&&0==n.checkUA.forbiddenCallup()&&i.indexOf("gu.sina.cn/ft/hq/hf.php")>-1&&i.indexOf("symbol=NQ")>-1},callupParams:{callpagetype:"2",position:"wm_hq_detail_NQ",symbol:"hf_NQ",stocktype:"global",isDownload:!1,subtype:"2",iostoh5:n.removeQueryString(e)}},hqdetail_wap_ES:{isCallup:function(){return 0==n.checkUA.isYYBCallup()&&0==n.checkUA.forbiddenCallup()&&i.indexOf("gu.sina.cn/ft/hq/hf.php")>-1&&i.indexOf("symbol=ES")>-1},callupParams:{callpagetype:"2",position:"wm_hq_detail_ES",symbol:"hf_ES",stocktype:"global",isDownload:!1,subtype:"2",iostoh5:n.removeQueryString(e)}},hqdetail_wap_CHA50CFD:{isCallup:function(){return 0==n.checkUA.isYYBCallup()&&0==n.checkUA.forbiddenCallup()&&i.indexOf("gu.sina.cn/ft/hq/hf.php")>-1&&i.toLowerCase().indexOf("symbol=cha50cfd")>-1},callupParams:{callpagetype:"2",position:"wm_hq_detail_CHA50CFD",symbol:"hf_CHA50CFD",stocktype:"global",isDownload:!1,subtype:"2",iostoh5:n.removeQueryString(e)}},yaoyiyao_weibo_dav:{isCallup:function(){return 0==n.checkUA.isYYBCallup()&&0==n.checkUA.forbiddenCallup()&&i.indexOf("yaoyiyao/tg_h5_outside.d.html")>-1&&"wbnewsdav"==n.getQueryString("position")&&n.checkUA.isWeibo()},callupParams:{callpagetype:"20",position:"yaoyiyao_wap_wbnewsdav_callup",url:n.removeQueryString(e)}},yaoyiyao_weibo_wbcj:{isCallup:function(){return 0==n.checkUA.isYYBCallup()&&0==n.checkUA.forbiddenCallup()&&i.indexOf("yaoyiyao/tg_h5_outside.d.html")>-1&&"wbothers"==n.getQueryString("position")&&n.checkUA.isWeibo()},callupParams:{callpagetype:"20",position:"yaoyiyao_wap_wbothers_callup",url:n.removeQueryString(e)}},yaoyiyao_weibo_wbhbf:{isCallup:function(){return 0==n.checkUA.isYYBCallup()&&0==n.checkUA.forbiddenCallup()&&i.indexOf("yaoyiyao/tg_h5_outside.d.html")>-1&&"wbhbf"==n.getQueryString("position")&&n.checkUA.isWeibo()},callupParams:{callpagetype:"20",position:"yaoyiyao_wap_wbhbf_callup",url:n.removeQueryString(e)}},ssgs_wb:{isCallup:function(){return 0==n.checkUA.isYYBCallup()&&0==n.checkUA.forbiddenCallup()&&i.indexOf("finance.sina.cn/ir/list.d.html")>-1&&n.checkUA.isWeibo()},callupParams:{callpagetype:"20",position:"ssgs_wb",url:n.removeQueryString(e),isDownload:!1,iostoh5:n.removeQueryString(e)}},cj_in_weibo:{isCallup:function(){return 0==n.checkUA.isYYBCallup()&&0==n.checkUA.forbiddenCallup()&&i.indexOf("cj.sina.cn/article")>-1&&(n.checkUA.isWeibo()||n.checkUA.isWeiboIntl())},callupParams:{callpagetype:"17",position:"cj_autocall",url:n.removeQueryString(e),isDownload:!1,iostoh5:n.removeQueryString(e)},callupInitConfig:{eventid:"callup_finance_app",uatrackKey:"callup_finance_app",needOpenSource:!1,isDownload:!1}}};function u(e,i){var n=i||{eventid:"callup_pageload",uatrackKey:"callup_pageload",needOpenSource:!1};new SinaFinanceCallUp.CallUpSinaFinance(n).tryDirectCall(e)}for(var p in l)if(1==l[p].isCallup()){if(void 0===l[p].needWeiboLogin||1!=l[p].needWeiboLogin())return void u(l[p].callupParams,l[p].callupInitConfig);!function(e){function i(){WeiboJSBridge.invoke("getUserInfo",{},(function(i,n,t){u(e.callupParams,e.callupInitConfig)}))}window.WeiboJSBridge?i():document.addEventListener("WeiboJSBridgeReady",(function(){i()}))}(l[p])}}}catch(e){}}),200)},function(e,i,n){var t,a,o=n(0),r=n(1),s=n(5),c=n(2),l=n(6),u=r.finance,p=document,d=(window,n(3));t=d||{},window.jQuery||window.Zepto,(a=t=t||{}).CallUpSinaFinance=new o.Clz,a.CallUpSinaFinance.include({init:function(e){this.setOpt(e),this.initEvent()},setOpt:function(e){this.set("opt",o.extend({callUpClass:"j_call_native",uatrackKey:"",eventid:"",sourceCode:"",docId:"",head:u.head,ios9Https:u.ios9Https,harmonyAppLink:u.harmonyAppLink,iosInstallUrl:u.iosInstallUrl,androidInstallUrl:u.androidInstallUrl+"?source=callupposition",wxUrl:u.wxUrl,weiboSlience:u.weiboSlience,weiboSlience_96:u.weiboSlience_96,androidOpenTime:u.androidOpenTime,iosOpenTime:u.iosOpenTime,callback:u.callback,downloadCallback:u.downloadCallback,openBrowser:u.openBrowser,isDownload:u.isDownload,golink:u.golink,subname:"",debug:!1,needOpenSource:!0,weixinCK:"",wmcode:""},e,!0))},clickInternal:3e3,callLocked:!1,curCallUpPosition:{},totalCallUpPosition:0,clearAllLocked:function(){this.callLocked=!1},getAndroidInstallUrl:function(e,i,n){var t=this.get("opt"),a=i||t.weiboSlience,r=o.checkUA.isWeibo(),s=o.checkUA.getWeiboVersion(),c="android"==o.checkUA._system();return e.match(/apks\/sina(f|F)inance[/\S/\s]*.apk/g)&&r&&c&&s>="6"?(n.androidOpenTime=800,s>="9.6.2"?void 0:a):o.checkUA.isSearchCraft()?u.searchCraftDownload:e},initPosition:function(){this.get("opt")},findDom:function(e){for(var i={},n=0;n<10;n++){if(i.info=this.getDomInfo(e),i.info.isCallNative){i.dom=e;break}e=e.parentElement}return i},findTargetInfo:function(e){this.getPosition(e);var i=this.findDom(e);return i&&i.info||null},getDomInfo:function(e){var i=this.get("opt"),n=e.className,t={},a=e.dataset;return t.isCallNative=n.indexOf(i.callUpClass)>-1,t.isCallNative&&(t.docid=a.docid,t.targetid=a.targetid,t.isDownload=void 0===a.isdownload?i.isDownload:a.isdownload,t.calluptype=a.calluptype||"",t.position=a.position,t.locked=!!parseInt(a.locked)||!1,t.callpagetype=a.callpagetype||1,t.h5url=a.url||"",t.commentId=a.commentid||"",t.blogger_liveid=a.blogger_liveid||"",t.stocktype=a.stocktype||"cn",t.symbol=a.symbol||"",t.name=a.name||"",t.openBrowser=a.openbrowser||i.openBrowser,t.callback=i.callback,t.downloadCallback=i.downloadCallback,t.golink=a.golink||i.golink,t.subname=a.subname||i.subname,t.subtype=a.subtype||"0",t.officeid=a.officeid||"",t.program_type=a.program_type||"",t.cid=a.cid||"",t.ptp=a.ptp||"",t.zidfu=a.zidfu||"",t.callfailUrl=a.callfailurl||"",t.iostoh5=a.iostoh5||"",t.mid=a.mid||"",t.news_type=a.news_type||"",t.pf=a.pf||"0",t.iosCopyText=a.ioscopytext||"",t.datetime=a.datetime||"",t.needopensource=void 0===t.needopensource||"true"==t.needopensource,t.wmcode=a.wmcode||i.wmcode,t.tabname=a.tabname||"",t.id=a.id||"",t.weixinCK=a.weixinCK||i.weixinCK,t.tab=a.tab||""),t},addLock:function(e){var i=this;i.callLocked=!0,setTimeout((function(){i.clearAllLocked()}),i.clickInternal)},refreshPosition:function(){for(var e=this.get("opt"),i=p.body.querySelectorAll("."+e.callUpClass),n=0;i&&n-1||document.referrer.indexOf("sina.com.cn")>-1)&&(a="yes"),-1==t.iostoh5.indexOf("autocallup")&&""!=t.iostoh5)try{t.iostoh5=o._addParams(t.iostoh5,"autocallup=no"),t.iostoh5=o._addParams(t.iostoh5,"isfromsina="+a)}catch(e){}if(-1==t.callfailUrl.indexOf("autocallup")&&""!=t.callfailUrl)try{t.callfailUrl=o._addParams(t.callfailUrl,"autocallup=no"),t.callfailUrl=o._addParams(t.callfailUrl,"isfromsina="+a)}catch(e){}if(t.mid=e.mid||"",t.news_type=e.news_type||"",t.pf=e.pf||"0",t.needopensource=void 0===e.needopensource||1==e.needopensource,t.iosCopyText=e.ioscopytext||"",t.datetime=e.datetime||"",t.wmcode=e.wmcode||n.wmcode,t.tabname=e.tabname||"",t.id=e.id||"",t.weixinCK=e.weixinCK||n.weixinCK,t.newSchemaParams=e.newSchemaParams||{},t.isFromPc=e.isFromPc||!1,t.viewpagedocid=e.viewpagedocid||"",t.viewpagelink=e.viewpagelink||"",t.referrerlink=e.referrerlink||"",t.posname=e.posname||"",t.editor=e.editor||"",t.tab=e.tab||"",i.addLock(),o.checkUA.isWeibo()&&window.WeiboJSBridge)try{o.getWeiboUid((function(e){e&&e.uid&&(t.weiboUid=e.uid),i.open_or_download_app(t)}))}catch(e){i.open_or_download_app(t)}else i.open_or_download_app(t)},tryCallUp:function(e){this.refreshPosition();var i=e.target||e,n=this.findTargetInfo(i),t=(new Date).getTime(),a=this.callLocked||!1;n.isCallNative&&!a&&(loading=t,this.addLock(i),this.open_or_download_app(n,i)),o.stopDefault(e)},bindTarget:function(e){var i=this;o.checkUA._system(),o.bindEventForApp(e,"click",(function(e){i.tryCallUp(e)}))},setClipText:function(e){var i=this.get("opt"),n=e,t=this.findTargetInfo(n),a=this.callLocked||!1,o="",r="";t.isCallNative&&!a&&(o=s(t),r=i.head+"://"+o,n.setAttribute("data-clipboard-text",r))},getScheme:function(){this.get("opt")},open_or_download_app:function(e,i){var n,t=this.get("opt"),r=e||__callUpConfig,p={},d="",h="",f="",m="";if(r.uatrackKey=t.uatrackKey,r.eventid=t.eventid,""==r.eventid&&""!=r.uatrackKey&&(r.eventid=r.uatrackKey),""!=r.eventid&&""==r.uatrackKey&&(r.uatrackKey=r.eventid),r.sourceCode=t.sourceCode,r.sourceDocId=t.docId,r.opensource=o.checkUA.getBrowserName(),r.androidInstallUrl=this.getAndroidInstallUrl(t.androidInstallUrl,t.weiboSlience,r),o.checkUA.isWeibo()){t.androidOpenTime=300,(""==r.wmcode||u.weiboWmcode&&void 0===u.weiboWmcode[r.wmcode])&&(r.wmcode="33000_0070");var y=o.getQueryString("source")||"",g=o.getQueryString("sendweibouid")||"";g&&""!=g&&(u.weiboUid[g]?r.wmcode=u.weiboUid[g]:r.wmcode=u.weiboUid.default),y&&""!=y&&u.weiboFrom[y]&&(r.wmcode=u.weiboFrom[y]),"yaoyiyao_wap_wbsx_callup"!=r.position&&"yaoyiyao_wap_wbothers_callup"!=r.position||(r.wmcode="33000_0151"),r.eventid=r.eventid+"_weibo_"+r.wmcode}var w={"sinafinance_waprecommend.apk":"33000_0103","sinafinance_waphqzg.apk":"33000_0098","sinafinance_pchq.apk":"33000_0097","sinafinance_ften.apk":"33000_0102","sinafinance_toujiao.apk":"33000_0101","sinafinance_jiangu.apk":"33000_0100","sinafinance_gupiao.apk ":"33000_0099","sinafinance_sousuo.apk":"33000_0096","sinafinance_ttpinglun.apk":"33000_0093","sinafinance_cjttyuyin.apk":"33000_0092","sinafinance_cjttqita.apk":"33000_0139","sinafinance_slhqbanner.apk":"33000_0090","sinafinance_huodong.apk":"33000_0083","sinafinance_waphangqing.apk":"33000_0081","sinaFinance_pcrementuijian.apk":"33000_0078","sinafinance_yyzx.apk":"33000_0070","sinafinance_cjttvideo.apk":"33000_0075","sinafinance_wapcj.apk":"33000_0006","sinaFinance_tt.apk":"33000_0069","sinafinance_cjtttop.apk":"33000_0072","sinafinance_mjjd.apk":"33000_0105","sinafinance_h5chart.apk":"33000_0107","sinafinance_zixuangu.apk":"33000_0108","sinafinance_openall.apk":"33000_0109","sinafinance_eventvideo.apk":"33000_0110","sinafinance_hotbt.apk":"33000_0112","sinafinance_zwvideo.apk":"33000_0113","sinafinance_kuaixun.apk":"33000_0114","sinafinance_wenda.apk":"33000_0115","sinafinance_time.apk":"33000_0116","sinafinance_youjian.apk":"33000_0117","sinafinance_wenzilian.apk":"33000_0118","sinafinance_huodongwap.apk":"33010_0181","sinafinance_whwenzilian.apk":"33000_0121","sinafinance_slgsdb.apk":"33000_0122","sinafinance_ctjdssdl.apk":"33000_0123","sinafinance_qklwzl.apk":"33000_0124","sinafinance_ttyblm.apk":"33000_0125","sinafinance_ctcszxwz.apk":"33000_0126","sinafinance_huodongpc.apk":"33000_0137","sinafinance_2019shida.apk":"33000_0136","sinafinance_ctcssjzb.apk":"33000_0128","sinafinance_lcdx.apk":"33000_0129","ctssldbanner.apk":"33000_0130","wapssldbanner.apk":"33000_0131","sinafinance_bankzt.apk":"33000_0134","sinafinance_weibocj.apk":"33000_0135","sinafinance_pcnoweixin.apk":"33000_0138","sinaFinance.apk":"33800_0002","2019cdz.apk":"33000_0140",callupposition:"33000_0165"};if(void 0!==r.androidInstallUrl&&""==r.wmcode)for(var b in w)r.androidInstallUrl.indexOf(b)>-1&&(r.wmcode=w[b],r.wmcode=w[b]);var k,_=c.SinaFinance.forCallUpNum(r,!0);if(h=s(r),n=s(r,"no"),d=t.head+"://"+h,!(o.checkUA.isWeibo()||o.checkUA.isCtrip()||o.checkUA.isDoubao()||o.checkUA.isWeiboIntl()||o.checkUA.isHarmony())&&(o.checkUA.isWeixin()&&"ios"!=o.checkUA._system()||o.checkUA.isHuawei()||o.checkUA.isQQ()&&"ios"!=o.checkUA._system())){var v=o.getNewPortal();d=d.replace(/sinafinance:\/\//gi,v+"://")}if(r.iosCopyText&&""!=r.iosCopyText?(k=l.copyText(r.iosCopyText),_.copyRes=1==k?"yes":"no"):(k=l.copyText(d),_.copyRes=1==k?"yes":"no"),""!=t.weixinCK?r.weixinCK=t.weixinCK:""!=r.weixinCK?t.weixinCK=r.weixinCK:r.weixinCK=u.yybChannel[r.eventid]||u.yybChannel.other_callup,""!=r.wmcode&&u.wmCodeToYYB[r.wmcode]&&(r.weixinCK=u.wmCodeToYYB[r.wmcode]),r.wxUrl=t.wxUrl,t.ios9Https&&(f=navigator.userAgent.toLowerCase().indexOf("baidu")>-1&&navigator.userAgent.toLowerCase().indexOf("newapp")>-1?t.ios9Https+"/sfcPage.php?"+h.replace(/\?/g,"&"):t.ios9Https+"?"+h.replace(/\?/g,"&")),t.harmonyAppLink&&(m=t.harmonyAppLink+"?"+h.replace(/\?/g,"&")),""!=r.iostoh5&&(f+="&iosToH5="+encodeURIComponent(r.iostoh5)),p={originalSchema:n,iosNativeUrl:d,androidNativeUrl:d,isDownload:r.isDownload,iosInstallUrl:r.iosInstallUrl||t.iosInstallUrl,androidInstallUrl:r.androidInstallUrl,ios9Url:f,harmonyUrl:m,ios9Weixin:t.ios9Weixin,weiboSlience:t.weiboSlience,openByWeixin:t.weixn,calluptype:r.calluptype,position:r.position,sourceCode:r.sourceCode,uatrackKey:r.uatrackKey,eventid:r.eventid,sourceDocId:r.sourceDocId,androidOpenTime:t.androidOpenTime||3e3,iosOpenTime:t.iosOpenTime||800,callback:r.callback,downloadCallback:r.downloadCallback,openBrowser:r.openBrowser,golink:r.golink,subname:r.subname,opensource:r.opensource,subtype:r.subtype,officeid:r.officeid,callfailUrl:r.callfailUrl,needOpenSource:!1,debug:t.debug,mid:r.mid,news_type:r.news_type,wxUrl:r.wxUrl,wmcode:r.wmcode,weixinCK:r.weixinCK,isFromPc:r.isFromPc,newSudaExt:_,copyRes:k,editor:r.editor},o.checkUA.forbiddenCallup())if(p.callfailUrl&&""!=p.callfailUrl)p.golink=p.callfailUrl,a.RedirectToNative.init(p);else if("ios"==o.checkUA._system())o.checkUA.isQQBrowswer()?p.golink=p.ios9Url:p.golink=p.iosInstallUrl,a.RedirectToNative.init(p);else{var U=""==p.wmcode||"33000_0165"==p.wmcode?"33000_0164":p.wmcode;o.goDownLoadApk({eventid:p.eventid,position:p.position,wmcode:U,onsuccess:function(e){p.golink=e,a.RedirectToNative.init(p)},onApkurlerror:function(){o.goDownLoadApk({eventid:p.eventid,position:p.position,wmcode:"33000_0164",onsuccess:function(e){p.golink=e,a.RedirectToNative.init(p)}})}})}else o.checkUA.isIOS9()||o.checkUA.isHarmony()?a.RedirectToNative.init(p):(o.checkUA.isSinaNews()&&(p.wmcode="33000_0141"),l.send(p,(function(){a.RedirectToNative.init(p)}),(function(){a.RedirectToNative.init(p)})))},getPosition:function(e){this.get("opt");var i=e.getAttribute("data-calluptype"),n=e.getAttribute("bind-target"),t=e.getAttribute("data-position");if(!n){void 0!==this.curCallUpPosition[i]?this.curCallUpPosition[i]++:this.curCallUpPosition[i]=1,this.totalCallUpPosition++;var a=o.checkUA.getFullNumber(this.curCallUpPosition[i])+o.checkUA.getFullNumber(this.totalCallUpPosition);t||e.setAttribute("data-position",a),e.setAttribute("bind-target","binded")}},bindCallUp:function(){for(var e=this.get("opt"),i=p.body.querySelectorAll("."+e.callUpClass),n=0;i&&n