!function(e){var t={};function i(o){if(t[o])return t[o].exports;var r=t[o]={i:o,l:!1,exports:{__esModule: undefined}};return e[o].call(r.exports,r,r.exports,i),r.l=!0,r.exports}i.m=e,i.c=t,i.d=function(e,t,o){i.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},i.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.t=function(e,t){if(1&t&&(e=i(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(i.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)i.d(o,r,function(t){return e[t]}.bind(null,r));return o},i.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return i.d(t,"a",t),t},i.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},i.p="",i(i.s=61)}([,function(e,t,i){"use strict";var o=this&&this.__values||function(e){var t="function"==typeof Symbol&&Symbol.iterator,i=t&&e[t],o=0;if(i)return i.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&o>=e.length&&(e=void 0),{value:e&&e[o++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{"default":e}};t.__esModule=!0,t.loadExternalCSS=t.isLowIE=t.isIos=t.getIEVersion=t.getLatestPrehandleSpeed=t.hashCode=t.debounce=t.getPerformance=t.getLogCommonParams=t.getDeviceInfo=t.getTokenID=void 0;var n=r(i(12));function a(){var e=function(e){var t,i=document.cookie,o=encodeURIComponent(e),r=i.indexOf(o),n=null;if(r>-1){var a=i.indexOf(";",r);-1===a&&(a=i.length),n=decodeURIComponent(i.substring(r+o.length+1,a))}try{window.localStorage&&(t=localStorage.getItem(e)),window.sessionStorage&&(t=t||sessionStorage.getItem(e))}catch(c){}return t||n}("TDC_itoken");return e?e.split(":")[0]:undefined}function c(){var e=new n["default"](navigator.userAgent);return{platform:e.getOS().name,client:e.getBrowser().name}}t.getTokenID=a,t.getDeviceInfo=c,t.getLogCommonParams=function(){try{var e=document.referrer||"unknown",t=location.href||document.URL,i=navigator.userAgent;e=e.length>512?e.substr(0,512):e,t=t.length>1024?t.substr(0,1024):t;var o=c(),r=o.client,n=o.platform;return["referer=".concat(encodeURIComponent(e)),"href=".concat(encodeURIComponent(t)),"token_id=".concat(a()),"ua=".concat(i),"client=".concat(r),"platform=".concat(n)]}catch(s){return t=(t=s.message).length>1024?t.substr(0,1024):t,["href=".concat(encodeURIComponent(t))]}};t.getPerformance=function(e){var t,i;if(window.performance&&"function"==typeof window.performance.getEntriesByType){var r=[],n={},a=window.performance.getEntriesByType("resource"),c=["xmlhttprequest","script","iframe","img","link"];try{for(var s=o(a),u=s.next();!u.done;u=s.next()){var l=u.value;if(-1!==c.indexOf(l.initiatorType)){var p="";try{p=l.name.split("://")[1].split("?")[0]}catch(f){}/cap_monitor/.test(l.name)||e.test(l.name)&&(n[p]={name:p,duration:Math.floor(l.duration)})}}}catch(_){t={error:_}}finally{try{u&&!u.done&&(i=s["return"])&&i.call(s)}finally{if(t)throw t.error}}for(var d in n)Object.prototype.hasOwnProperty.call(n,d)&&r.push(n[d]);return r}return[]};t.debounce=function(e,t){var i;return function(){for(var o=this,r=[],n=0;n=0;t--){var i=e[t];if(i.name.match(/cap_union_prehandle/))return i}return null};t.getIEVersion=function(){var e=navigator.userAgent,t=e.indexOf("compatible")>-1&&e.indexOf("MSIE")>-1,i=e.indexOf("Trident")>-1&&e.indexOf("rv:11.0")>-1;if(t){new RegExp("MSIE (\\d+\\.\\d+);").test(e);var o=parseFloat(RegExp.$1);return 7===o?7:8===o?8:9===o?9:10===o?10:6}return i?11:-1};t.isIos=function(){return!!/iphone|ipad|ipod/gi.test(navigator.userAgent)};t.isLowIE=function(e){var t,i,o=e||8,r=navigator.userAgent.toLowerCase();if(r.indexOf("msie")>-1){if(t=parseInt(r.match(/msie ([\d.]+)/)[1],10),i=document.documentMode,t&&t<=o)return!0;if(i&&i<9)return!0}return!1};t.loadExternalCSS=function(e,i){void 0===i&&(i=0);var o=e.src,r=e.fallbackSrc,n=e.onError,a=e.onSuccess,c=e.attempts,s=void 0===c?3:c,u=document.createElement("link"),l=document.head||document.getElementsByTagName("head")[0];if(i>0){if(!r)return;u.href=r}else u.href=o;u.type="text/css",u.rel="stylesheet";var p=null;u.onerror=function(){clearTimeout(p),function(){try{l&&u&&l.removeChild(u)}catch(e){}}(),i>=s?n():(0,t.loadExternalCSS)(e,i+1)},u.onload=function(){clearTimeout(p),a()},p=setTimeout(function(){u.onerror()},15e3),l.appendChild(u)}},,function(e,t,i){"use strict";t.__esModule=!0,t.convertUrlParamsToJson=t.addUrlParam=t.getQueryParam=t.getQueryMap=t.getQuery=t.cutUrl=t.getEntryUrl=t.getReferrer=t.getHref=void 0;t.getHref=function(){var e=location.href||document.URL||"";return e.length>256?"".concat(e.substr(0,255),"*"):e};t.getReferrer=function(){var e=document.referrer||"";return e.length>256?"".concat(e.substr(0,255),"*"):e};t.getEntryUrl=function(){var e=(0,t.getHref)();try{if(e.indexOf("xui.ptlogin2.qq.com")>-1){var i=e.match(/s_url=(.*?)&/);i&&(e=decodeURIComponent(i[1]))}}catch(o){}return e};t.cutUrl=function(e){if(e){var t=e.indexOf("?");if(t>0)return e.substring(0,t)}return e};t.getQuery=function(e){var t=e?1:0;try{return location.search.substr(t)}catch(r){try{var i=document.URL,o=i.indexOf("?");if(o>=0)return i.substr(o+t)}catch(r){}}return""};t.getQueryMap=function(){for(var e={},i=(0,t.getQuery)(!0).split("&"),o=0;o=i?null===c||void 0===c||c():o({src:r,successCheck:n,success:a,error:c},t+1))}function h(){try{l&&d&&l.removeChild(d)}catch(c){}}d.type="text/javascript",d.async=!0,d.src=r,u&&(d.id=u),s&&d.setAttribute("crossorigin",s),"onload"in d?d.onload=f:d.onreadystatechange=f,d.onerror=_,null===l||void 0===l||l.appendChild(d)},t.getScriptUrl=function(){try{throw new Error("check own domain")}catch(i){var e=null===i||void 0===i?void 0:i.stack;if(!e)return;var t="".concat(e).match(/(https?:\/\/.*\.js)/);return{url:null===t||void 0===t?void 0:t[1],stack:e}}}},function(e,t,i){"use strict";t.__esModule=!0,t.cloudJQPath=t.rceRioDomain=t.intlFormalCdn=t.intlFormalDomain=t.chinaFormalCdn=t.chinaFormalDomain=t.isMobile=t.isWindows=t.isWxDevtools=t.isDev=void 0,t.isDev=!1,t.isWxDevtools=navigator.userAgent&&/wechatdevtools/.test(navigator.userAgent),t.isWindows=/windows/i.test(navigator.userAgent),t.isMobile=!t.isWindows&&("ontouchstart"in window||"ontouchstart"in document.createElement("div")||t.isWxDevtools),t.chinaFormalDomain="https://turing.captcha.qcloud.com",t.chinaFormalCdn="https://turing.captcha.gtimg.com/1",t.intlFormalDomain="https://ca.turing.captcha.qcloud.com",t.intlFormalCdn="https://global.turing.captcha.gtimg.com",t.rceRioDomain="https://rce.tencentrio.com",t.cloudJQPath="https://cloudcache.tencentcs.com/qcloud/main/scripts/release/common/vendors/jquery-3.2.1.min.js"},,function(e,t){(function(t){e.exports=t}).call(this,{})},function(e,t,i){"use strict";var o=Object.prototype.hasOwnProperty,r=Object.prototype.toString,n=Object.defineProperty,a=Object.getOwnPropertyDescriptor,c=function(e){return"function"==typeof Array.isArray?Array.isArray(e):"[object Array]"===r.call(e)},s=function(e){if(!e||"[object Object]"!==r.call(e))return!1;var t,i=o.call(e,"constructor"),n=e.constructor&&e.constructor.prototype&&o.call(e.constructor.prototype,"isPrototypeOf");if(e.constructor&&!i&&!n)return!1;for(t in e);return void 0===t||o.call(e,t)},u=function(e,t){n&&"__proto__"===t.name?n(e,t.name,{enumerable:!0,configurable:!0,value:t.newValue,writable:!0}):e[t.name]=t.newValue},l=function(e,t){if("__proto__"===t){if(!o.call(e,t))return;if(a)return a(e,t).value}return e[t]};e.exports=function p(){var e,t,i,o,r,n,a=arguments[0],d=1,f=arguments.length,_=!1;for("boolean"==typeof a&&(_=a,a=arguments[1]||{},d=2),(null==a||"object"!=typeof a&&"function"!=typeof a)&&(a={});d0?2===n.length?"function"==typeof n[1]?this[n[0]]=n[1].call(this,c):this[n[0]]=n[1]:3===n.length?"function"!=typeof n[1]||n[1].exec&&n[1].test?this[n[0]]=c?c.replace(n[1],n[2]):void 0:this[n[0]]=c?n[1].call(this,c,n[2]):void 0:4===n.length&&(this[n[0]]=c?n[3].call(this,c.replace(n[1],n[2])):void 0):this[n]=c||void 0;s+=2}},g=function(e,t){for(var i in t)if("object"==typeof t[i]&&t[i].length>0){for(var o=0;o2&&(e.model="iPad",e.type=d),e},this.getEngine=function(){var e={name:void 0,version:void 0};return w.call(e,o,a.engine),e},this.getOS=function(){var e={name:void 0,version:void 0};return w.call(e,o,a.os),c&&!e.name&&n&&n.platform&&"Unknown"!=n.platform&&(e.name=n.platform.replace(/chrome os/i,"Chromium OS").replace(/macos/i,"Mac OS")),e},this.getResult=function(){return{ua:this.getUA(),browser:this.getBrowser(),engine:this.getEngine(),os:this.getOS(),device:this.getDevice(),cpu:this.getCPU()}},this.getUA=function(){return o},this.setUA=function(e){return o="string"==typeof e&&e.length>500?m(e,500):e,this},this.setUA(o),this};E.VERSION="1.0.40",E.BROWSER=_([c,l,"major"]),E.CPU=_(["architecture"]),E.DEVICE=_([a,u,s,"console",p,f,d,"wearable","embedded"]),E.ENGINE=E.OS=_([c,l]),void 0!==t?(void 0!==e&&e.exports&&(t=e.exports=E),t.UAParser=E):i(8)?void 0===(o=function(){return E}.call(t,i,t,e))||(e.exports=o):void 0!==r&&(r.UAParser=E);var y=void 0!==r&&(r.jQuery||r.Zepto);if(y&&!y.ua){var O=new E;y.ua=O.getResult(),y.ua.get=function(){return O.getUA()},y.ua.set=function(e){O.setUA(e);var t=O.getResult();for(var i in t)y.ua[i]=t[i]}}}("object"==typeof window?window:this)},,,,,,function(e,t,i){"use strict";var o=this&&this.__read||function(e,t){var i="function"==typeof Symbol&&e[Symbol.iterator];if(!i)return e;var o,r,n=i.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(o=n.next()).done;)a.push(o.value)}catch(c){r={error:c}}finally{try{o&&!o.done&&(i=n["return"])&&i.call(n)}finally{if(r)throw r.error}}return a},r=this&&this.__spreadArray||function(e,t,i){if(i||2===arguments.length)for(var o,r=0,n=t.length;r1024&&i.substr(0,1024),e=s[e];var o=["type=".concat(e),"appid=".concat(t),"reason=".concat(encodeURIComponent(i))];(new Image).src="".concat(window.AqSCodeCapDomain||"","/cap_monitor?").concat((0,c.getLogCommonParams)().join("&"),"&").concat(o.join("&"))}catch(r){}}t["default"]={type:s,send:p,perfectStack:function(e){var t="";e&&e.stack&&(t=e.stack.replace(/\n/gi,"").split(/\bat\b/).join("\n").replace(/\?[^:]+/gi,""));try{var i=e.toString();t.indexOf(i)<0&&(t="".concat(i,"@").concat(t))}catch(o){}return t},setGlobalStatus:function(e){(n=e)||l.forEach(function(e){return p.apply(void 0,r([],o(e),!1))})}}},function(e,t){function i(e,t){Array.prototype[e]||(Array.prototype[e]=t)}i("indexOf",function(e){var t=this.length,i=Number(arguments[1])||0;for(i<0&&(i+=t);i-1&&9===r,!0===window.__TencentCaptchaExists__&&!t.isIE9)throw new Error("\u8bf7\u52ff\u591a\u6b21\u5f15\u7528\u817e\u8baf\u9a8c\u8bc1\u7801\u7684\u63a5\u5165js");window.__TencentCaptchaExists__=!0},function(module,exports,__webpack_require__){"use strict";var _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};"object"!==("undefined"==typeof JSON?"undefined":_typeof(JSON))&&(JSON={}),function(){var rx_one=/^[\],:{}\s]*$/,rx_two=/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,rx_three=/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,rx_four=/(?:^|:|,)(?:\s*\[)+/g,rx_escapable=/[\\"\u0000-\u001f\u007f-\u009f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,rx_dangerous=/[\u0000\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,gap,indent,meta,rep;function f(e){return e<10?"0"+e:e}function this_value(){return this.valueOf()}function quote(e){return rx_escapable.lastIndex=0,rx_escapable.test(e)?'"'+e.replace(rx_escapable,function(e){var t=meta[e];return"string"==typeof t?t:"\\u"+("0000"+e.charCodeAt(0).toString(16)).slice(-4)})+'"':'"'+e+'"'}function str(e,t){var i,o,r,n,a,c=gap,s=t[e];switch(s&&"object"===(void 0===s?"undefined":_typeof(s))&&"function"==typeof s.toJSON&&(s=s.toJSON(e)),"function"==typeof rep&&(s=rep.call(t,e,s)),void 0===s?"undefined":_typeof(s)){case"string":return quote(s);case"number":return isFinite(s)?String(s):"null";case"boolean":case"null":return String(s);case"object":if(!s)return"null";if(gap+=indent,a=[],"[object Array]"===Object.prototype.toString.apply(s)){for(n=s.length,i=0;i0&&(this.isDone=!1);try{(r=e(function(e){o||(o=!0,window.setTimeout(function(){n.doneCheck(t,e)},0))}))&&(o=!0,window.setTimeout(function(){n.doneCheck(t,r)},0))}catch(a){}(i=i||this.timeout||0)>0&&window.setTimeout(function(){o||(o=!0,n.doneCheck(t,""))},i)},e}();t["default"]=o},function(e,t,i){"use strict";e.exports={add:function(e,t,i){e&&(e.addEventListener?e.addEventListener(t,i,!1):e.attachEvent?e.attachEvent("on"+t,i):e["on"+t]=i)},remove:function(e,t,i){e&&(e.removeEventListener?e.removeEventListener(t,i,!1):e.detachEvent?e.detachEvent("on"+t,i):e["on"+t]=null)}}},function(e,t,i){"use strict";t.__esModule=!0;t["default"]=function(e){var t=document.createElement("b");return t.innerHTML="\x3c!--[if IE ".concat(e,"]>1?e.charCodeAt(1):0)<<8|(e.length>2?e.charCodeAt(2):0);return[o.charAt(i>>>18),o.charAt(i>>>12&63),t>=2?"=":o.charAt(i>>>6&63),t>=1?"=":o.charAt(63&i)].join("")};t["default"]=function(e){return e.replace(/[\s\S]{1,3}/g,r)}},,,,,,,,,,,,,,function(e,t,i){"use strict";t.__esModule=!0;var o=2,r=15e3;t["default"]=function n(e,t,i,a,c,s,u,l){void 0===u&&(u=0),void 0===l&&(l="");var p=!1,d=document.createElement("script");function f(e){p||(e&&"load"===e.type||/^(loaded|complete)$/.test(this.readyState))&&(a()?(p=!0,c&&c()):_())}d.type="text/javascript",d.async=!0,l&&(d.id=l),d.src=(u>0?i:t)+e,"onload"in d?d.onload=f:d.onreadystatechange=f;var _=function(r){if(!p){p=!0;var l=document.getElementsByTagName("head");l&&l.item&&l.item(0).removeChild(d),u>=o?s&&s(r):n(e,t,i,a,c,s,u+1)}};d.onerror=_;var h=document.getElementsByTagName("head"),b=document.getElementById(l);try{b&&h.item&&h.item(0).removeChild(b)}catch(s){}h&&h.item&&h.item(0).appendChild(d),setTimeout(function(){_(!0)},r)}},,,,,,,,,,,,function(module,exports,__webpack_require__){"use strict";var __importDefault=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{"default":e}};exports.__esModule=!0,__webpack_require__(27),__webpack_require__(19);var domready_1=__importDefault(__webpack_require__(29)),extend_1=__importDefault(__webpack_require__(9)),error_handler_1=__webpack_require__(10),executor_1=__importDefault(__webpack_require__(30)),script_1=__webpack_require__(5),url_1=__webpack_require__(3),env_1=__webpack_require__(6),load_scripts_1=__importDefault(__webpack_require__(49)),event_listener_1=__importDefault(__webpack_require__(31)),ie_version_1=__importDefault(__webpack_require__(32)),is_element_1=__importDefault(__webpack_require__(33)),script_query_1=__importDefault(__webpack_require__(34)),regex_1=__webpack_require__(11),cap_error_1=__importDefault(__webpack_require__(18)),btoa_1=__importDefault(__webpack_require__(35)),other_1=__webpack_require__(1),btoa=window.btoa||btoa_1["default"],extend=Object.assign||extend_1["default"],scriptDomain=(0,script_query_1["default"])()||"",capDomain=env_1.isDev?"":env_1.chinaFormalDomain;capDomain||env_1.isDev||(capDomain=scriptDomain),window.TCaptchaGlobal=false;var cdnDomain=window.TCaptchaGlobal?env_1.intlFormalCdn:env_1.chinaFormalCdn;window.AqSCodeCapDomain=capDomain,window.AqSCodeCdnDomain=cdnDomain,window.TCaptchaPreload=!1;var tCaptchaFrameJs=env_1.isDev?"/tcaptcha-frame.js":"/tcaptcha-frame.c055d939.js",capObj,initQueue=[],initQueueCount=0,loadErrorTimeout=!1,defaultOpt={type:"popup",pos:(0,ie_version_1["default"])(6)?"absolute":"fixed",lang:2052,showHeader:env_1.isMobile,needFeedBack:true,themeColor:"",tcaptchaFlag:!0,gettype:"cap_union_prehandle",domain:capDomain,htdoc_path:capDomain,global:window.TCaptchaGlobal},noop=function(){},callbackWrap=function(e,t){return function(i){"object"==typeof i&&(i=extend({bizState:e.options.bizState,appid:e.options.appid},i)),t&&t(i)}},executor=new executor_1["default"](function(){initQueue.length>0&&(initQueue.forEach(function(e){e.instance.show()}),initQueue.length=0)},0),showTimeout=null,TCaptcha=function(){function TCaptcha(e,t,i,o){this.initOpts=defaultOpt,this.options=defaultOpt,this.initParam(e,t,i,o)}return TCaptcha.prototype.initParam=function($btn,appid,_tcallback_,opts){var bizState;if((0,is_element_1["default"])($btn))if(appid&&"object"==typeof appid)opts=appid,appid="",_tcallback_=undefined;else{if(appid=appid||$btn.getAttribute("data-appid"),!_tcallback_){var callbackName=$btn.getAttribute("data-cbfn");try{_tcallback_=eval("window.".concat(callbackName))}catch(e){throw new Error("Lost `callback`")}}bizState=$btn.getAttribute("data-biz-state")}else{if("string"!=typeof $btn||"function"!=typeof appid)throw new Error("The parameter of the constructor of the Captcha is passed incorrectly, please refer to the documentation to see the specification of passing parameters");opts=_tcallback_,_tcallback_=appid,appid=$btn,$btn=null}opts=opts||{},opts.callback=_tcallback_||opts.callback,opts.start=opts.start||noop,opts.end=opts.end||noop;var readyCallback="function"==typeof opts.ready?opts.ready:noop;if(opts.ready=function(e){readyCallback.call(this,e)},opts.appid=appid||opts.appid,opts.bizState=bizState||opts.bizState,opts.fwidth=parseFloat(opts.fwidth)||0,opts.sdkOpts=opts.sdkOpts||null,opts.ele=$btn,this.options=opts,"function"!=typeof opts.callback)throw new Error("Lost `callback`");if(this.initOpts=extend({},defaultOpt,opts),this.langFun(),$btn){$btn.eventHandler&&event_listener_1["default"].remove($btn,"click",$btn.eventHandler);var _this_1=this;$btn.eventHandler=function(){_this_1.show()},event_listener_1["default"].add($btn,"click",$btn.eventHandler)}this.checkInOwnDomain(appid),cap_error_1["default"].setGlobalStatus(!0===opts.global)},TCaptcha.prototype.destroy=function(){capObj&&capObj.destroy&&capObj.destroy()},TCaptcha.prototype.refresh=function(){capObj&&capObj.refresh&&capObj.refresh()},TCaptcha.prototype.getTicket=function(){if(capObj&&capObj.getTicket){var e=null;return callbackWrap(this,function(t){e=t})(capObj.getTicket()),e}return null},TCaptcha.prototype.langFun=function(){if(this.initOpts.forceLang){var e={"zh-cn":"2052","zh-hk":"1028",en:"1033"},t=this.initOpts.forceLang;e[t]?(this.initOpts.lang=e[t],this.initOpts.forceLang=e[t],this.initOpts.forcestyle=1):this.initOpts.forceLang=""}},TCaptcha.prototype.checkInOwnDomain=function(e){try{var t=(0,script_1.getScriptUrl)();if(!t)return;regex_1.monitorErrorRegexList.some(function(e){return t.stack.match(e)})||cap_error_1["default"].send("OTHER_DOMAIN_MONITOR",e,"href:".concat((0,url_1.getHref)(),";stack:").concat(t.stack))}catch(i){}},TCaptcha.prototype.show=function(){var e=this;if(executor.isDone)this.__show__(),null!==showTimeout&&(clearTimeout(showTimeout),showTimeout=null);else{if(initQueue.some(function(t){return t.instance===e}))return;var t=initQueueCount+=1;initQueue.push({instance:this,index:t}),null===showTimeout&&(showTimeout=setTimeout(function(){showTimeout=null;for(var i=0;i