(window.webpackJsonp=window.webpackJsonp||[]).push([[0],Array(231).concat([function(e,t,n){e.exports=n(470)},function(e,t,n){"use strict";var r=n(2),o=n(393);r({target:"Object",stat:!0,arity:2,forced:Object.assign!==o},{assign:o})},function(e,t,n){"use strict";var r=n(2),o=n(104).map;r({target:"Array",proto:!0,forced:!n(112)("map")},{map:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},function(e,t,n){"use strict";var r=n(51),o=n(6),i=n(3),a=n(94),s=n(9),c=n(24),u=n(167),f=n(26),l=n(158),d=n(125),p=n(81),h=n(12),g=n(28),v=n(34),m=n(95),y=n(92),w=n(93),b=n(1),_=w.UNSUPPORTED_Y,x=Math.min,A=[].push,L=i(/./.exec),C=i(A),S=i("".slice);a("split",(function(e,t,n){var i;return i="c"==="abbc".split(/(b)*/)[1]||4!=="test".split(/(?:)/,-1).length||2!=="ab".split(/(?:ab)*/).length||4!==".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(e,n){var i=h(f(this)),a=void 0===n?4294967295:n>>>0;if(0===a)return[];if(void 0===e)return[i];if(!u(e))return o(t,i,e,a);for(var s,c,l,d=[],p=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),g=0,m=new RegExp(e.source,p+"g");(s=o(y,m,i))&&!((c=m.lastIndex)>g&&(C(d,S(i,g,s.index)),s.length>1&&s.index<i.length&&r(A,d,v(s,1)),l=s[0].length,g=c,d.length>=a));)m.lastIndex===s.index&&m.lastIndex++;return g===i.length?!l&&L(m,"")||C(d,""):C(d,S(i,g)),d.length>a?v(d,0,a):d}:"0".split(void 0,0).length?function(e,n){return void 0===e&&0===n?[]:o(t,this,e,n)}:t,[function(t,n){var r=f(this),a=c(t)?void 0:g(t,e);return a?o(a,t,r,n):o(i,h(r),t,n)},function(e,r){var o=s(this),a=h(e),c=n(i,o,a,r,i!==t);if(c.done)return c.value;var u=l(o,RegExp),f=o.unicode,g=(o.ignoreCase?"i":"")+(o.multiline?"m":"")+(o.unicode?"u":"")+(_?"g":"y"),v=new u(_?"^(?:"+o.source+")":o,g),y=void 0===r?4294967295:r>>>0;if(0===y)return[];if(0===a.length)return null===m(v,a)?[a]:[];for(var w=0,b=0,A=[];b<a.length;){v.lastIndex=_?0:b;var L,E=m(v,_?S(a,b):a);if(null===E||(L=x(p(v.lastIndex+(_?b:0)),a.length))===w)b=d(a,b,f);else{if(C(A,S(a,w,b)),A.length===y)return A;for(var P=1;P<=E.length-1;P++)if(C(A,E[P]),A.length===y)return A;b=w=L}}return C(A,S(a,w)),A}]}),!!b((function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var n="ab".split(e);return 2!==n.length||"a"!==n[0]||"b"!==n[1]})),_)},function(e,t,n){"use strict";n(102);var r,o,i=n(2),a=n(6),s=n(4),c=n(9),u=n(12),f=(r=!1,(o=/[ac]/).exec=function(){return r=!0,/./.exec.apply(this,arguments)},!0===o.test("abc")&&r),l=/./.test;i({target:"RegExp",proto:!0,forced:!f},{test:function(e){var t=c(this),n=u(e),r=t.exec;if(!s(r))return a(l,t,n);var o=a(r,t,n);return null!==o&&(c(o),!0)}})},function(e,t,n){"use strict";var r,o,i,a=n(357),s=n(7),c=n(0),u=n(4),f=n(10),l=n(8),d=n(52),p=n(38),h=n(23),g=n(13),v=n(35),m=n(25),y=n(84),w=n(54),b=n(5),_=n(86),x=n(20),A=x.enforce,L=x.get,C=c.Int8Array,S=C&&C.prototype,E=c.Uint8ClampedArray,P=E&&E.prototype,O=C&&y(C),k=S&&y(S),I=Object.prototype,T=c.TypeError,R=b("toStringTag"),U=_("TYPED_ARRAY_TAG"),D=a&&!!w&&"Opera"!==d(c.opera),N=!1,j={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},F={BigInt64Array:8,BigUint64Array:8},B=function(e){var t=y(e);if(f(t)){var n=L(t);return n&&l(n,"TypedArrayConstructor")?n.TypedArrayConstructor:B(t)}},M=function(e){if(!f(e))return!1;var t=d(e);return l(j,t)||l(F,t)};for(r in j)(i=(o=c[r])&&o.prototype)?A(i).TypedArrayConstructor=o:D=!1;for(r in F)(i=(o=c[r])&&o.prototype)&&(A(i).TypedArrayConstructor=o);if((!D||!u(O)||O===Function.prototype)&&(O=function(){throw new T("Incorrect invocation")},D))for(r in j)c[r]&&w(c[r],O);if((!D||!k||k===I)&&(k=O.prototype,D))for(r in j)c[r]&&w(c[r].prototype,k);if(D&&y(P)!==k&&w(P,k),s&&!l(k,R))for(r in N=!0,v(k,R,{configurable:!0,get:function(){return f(this)?this[U]:void 0}}),j)c[r]&&h(c[r],U,r);e.exports={NATIVE_ARRAY_BUFFER_VIEWS:D,TYPED_ARRAY_TAG:N&&U,aTypedArray:function(e){if(M(e))return e;throw new T("Target is not a typed array")},aTypedArrayConstructor:function(e){if(u(e)&&(!w||m(O,e)))return e;throw new T(p(e)+" is not a typed array constructor")},exportTypedArrayMethod:function(e,t,n,r){if(s){if(n)for(var o in j){var i=c[o];if(i&&l(i.prototype,e))try{delete i.prototype[e]}catch(n){try{i.prototype[e]=t}catch(e){}}}k[e]&&!n||g(k,e,n?t:D&&S[e]||t,r)}},exportTypedArrayStaticMethod:function(e,t,n){var r,o;if(s){if(w){if(n)for(r in j)if((o=c[r])&&l(o,e))try{delete o[e]}catch(e){}if(O[e]&&!n)return;try{return g(O,e,n?t:D&&O[e]||t)}catch(e){}}for(r in j)!(o=c[r])||o[e]&&!n||g(o,e,t)}},getTypedArrayConstructor:B,isView:function(e){if(!f(e))return!1;var t=d(e);return"DataView"===t||l(j,t)||l(F,t)},isTypedArray:M,TypedArray:O,TypedArrayPrototype:k}},,function(e,t,n){"use strict";var r=n(2),o=n(104).filter;r({target:"Array",proto:!0,forced:!n(112)("filter")},{filter:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},,function(e,t,n){"use strict";var r=n(2),o=n(19),i=n(106),a=n(50),s=n(33),c=n(492),u=n(177),f=n(123),l=n(111),d=n(355),p=n(112)("splice"),h=Math.max,g=Math.min;r({target:"Array",proto:!0,forced:!p},{splice:function(e,t){var n,r,p,v,m,y,w=o(this),b=s(w),_=i(e,b),x=arguments.length;for(0===x?n=r=0:1===x?(n=0,r=b-_):(n=x-2,r=g(h(a(t),0),b-_)),u(b+n-r),p=f(w,r),v=0;v<r;v++)(m=_+v)in w&&l(p,v,w[m]);if(p.length=r,n<r){for(v=_;v<b-r;v++)y=v+n,(m=v+r)in w?w[y]=w[m]:d(w,y);for(v=b;v>b-r+n;v--)d(w,v-1)}else if(n>r)for(v=b-r;v>_;v--)y=v+n-1,(m=v+r-1)in w?w[y]=w[m]:d(w,y);for(v=0;v<n;v++)w[v+_]=arguments[v+2];return c(w,b-r+n),p}})},function(e,t,n){"use strict";n(67),n(47),n(102),n(235),n(155),n(154),n(148),n(153),n(234),n(242),Object.defineProperty(t,"__esModule",{value:!0}),t.getAppType=p,t.isUC=h,t.isTaobao=g,t.isAlipay=v,t.isWechat=m,t.isQQ=y,t.isWeibo=w,t.isQuark=b,t.isScanking=_,t.isYouku=x,t.isDingtalk=A,t.isEleme=function(){return i===s.APP_TYPE.ELEME},t.isKoubei=L,t.isXiami=C,t.isTaopiaopiao=S,t.isShuqi=E,t.isJiuYou=function(){return i===s.APP_TYPE.JIUYOU},t.isDouyin=P,t.isKuaishou=O,t.isBaidu=k,t.isZhihu=I,t.isBilibili=T,t.__cleanUIDCache=function(){R=null,l.localStore.removeItem("UC_TOOLKIT_SESSION_ID")},t.getUID=U,t.getUCVersion=N,t.getQuarkVersion=j,t.isLatestVersion=F,t.isPC=B,t.isIOS=q,t.isIPad=H,t.isAndroid=W,t.getPlatformType=K,t.__updateUserAgent=V,Object.defineProperty(t,"APP_TYPE",{enumerable:!0,get:function(){return s.APP_TYPE}}),Object.defineProperty(t,"PLATFORM_TYPE",{enumerable:!0,get:function(){return s.PLATFORM_TYPE}}),t.default=void 0;var r,o,i,a,s=n(477),c=d(n(330)),u=d(n(319)),f=n(360),l=n(490);function d(e){return e&&e.__esModule?e:{default:e}}function p(){var e=D("pr");return"UCBrowser"===e||"UCMobile"===e?s.APP_TYPE.UC:"ucpro"===e?s.APP_TYPE.QUARK:"scanking"===e?s.APP_TYPE.SCANKING:"undefined"!=typeof window&&window.QK_WEBVIEW_UUID?s.APP_TYPE.QUARK:r.indexOf("aliapp(shuqi")>=0?s.APP_TYPE.SHUQI:r.indexOf("aliapp(xm/")>=0?s.APP_TYPE.XIAMI:r.indexOf("aliapp(dy/")>=0?s.APP_TYPE.TAOPIAOPIAO:r.indexOf("aliapp(tb/")>=0?s.APP_TYPE.TAOBAO:r.indexOf("aliapp(ap/")>=0?s.APP_TYPE.ALIPAY:r.indexOf("dingtalk/")>=0?s.APP_TYPE.DINGTALK:r.indexOf("quark/")>=0?s.APP_TYPE.QUARK:r.indexOf("scanking")>=0?s.APP_TYPE.SCANKING:r.indexOf("youku/")>=0?s.APP_TYPE.YOUKU:r.indexOf("eleme/")>=0?s.APP_TYPE.ELEME:r.indexOf("koubeiclient/")>=0?s.APP_TYPE.KOUBEI:r.indexOf("ninegameclient")>=0?s.APP_TYPE.JIUYOU:r.indexOf("ucbrowser")>=0?s.APP_TYPE.UC:r.indexOf("micromessenger")>=0?s.APP_TYPE.WECHAT:new RegExp("qq/\\d+\\.\\d+\\.\\d+\\.\\d+","i").test(r)?s.APP_TYPE.QQ:new RegExp("weibo__\\d+\\.\\d+\\.\\d+","i").test(r)||new RegExp("WeiboIntl","i").test(r)?s.APP_TYPE.WEIBO:r.indexOf("azprefix/")>=0?s.APP_TYPE.KUAISHOU:r.indexOf("bytedancewebview/")>=0?s.APP_TYPE.DOUYIN:r.indexOf("baidu")>=0?s.APP_TYPE.BAIDU:r.indexOf("zhihu")>=0?s.APP_TYPE.ZHIHU:r.indexOf("biliapp/")>=0?s.APP_TYPE.BILIBILI:s.APP_TYPE.OTHERS}function h(){return i===s.APP_TYPE.UC}function g(){return i===s.APP_TYPE.TAOBAO}function v(){return i===s.APP_TYPE.ALIPAY}function m(){return i===s.APP_TYPE.WECHAT}function y(){return i===s.APP_TYPE.QQ}function w(){return i===s.APP_TYPE.WEIBO}function b(){return i===s.APP_TYPE.QUARK}function _(){return i===s.APP_TYPE.SCANKING}function x(){return i===s.APP_TYPE.YOUKU}function A(){return i===s.APP_TYPE.DINGTALK}function L(){return i===s.APP_TYPE.KOUBEI}function C(){return i===s.APP_TYPE.XIAMI}function S(){return i===s.APP_TYPE.TAOPIAOPIAO}function E(){return i===s.APP_TYPE.SHUQI}function P(){return i===s.APP_TYPE.DOUYIN}function O(){return i===s.APP_TYPE.KUAISHOU}function k(){return i===s.APP_TYPE.BAIDU}function I(){return i===s.APP_TYPE.ZHIHU}function T(){return i===s.APP_TYPE.BILIBILI}var R;function U(){return!(0,f.getUnitTestConfig)("uidNotFromMMCacha")&&R||!(0,f.getUnitTestConfig)("uidNotFromHDCacha")&&(R=l.localStore.getItem("UC_TOOLKIT_SESSION_ID"))||(R=(0,u.default)(),l.localStore.setItem("UC_TOOLKIT_SESSION_ID",R)),R}function D(e){if(window.__UC_PARAMS__){var t=window.__UC_PARAMS__;if(t[e])return t[e]}var n=new RegExp("&".concat(e,"=([^&]*)")).exec((0,f.getUnitTestConfig)("search")||window.location.search);return n&&n[1]?decodeURIComponent(n[1]):""}function N(){if(!h())return"";var e=D("ve");if(e)return e;var t=/ucbrowser\/([^\s]*)/.exec(r);return t&&t[1]?t[1]:""}function j(){if(!b())return"";var e=D("ve");if(e)return e;var t=/quark\/([^\s]*)/.exec(r);return t&&t[1]?t[1]:""}function F(e,t){(0,c.default)(e,"\u5f53\u524d\u7248\u672c\u53f7\u4e0d\u80fd\u4e3a\u7a7a"),(0,c.default)(t,"\u6700\u65b0\u7248\u672c\u53f7\u4e0d\u80fd\u4e3a\u7a7a");var n=e.split("."),r=t.split(".");(0,c.default)(n.length>=r.length,"\u5f53\u524d\u7248\u672c\u53f7\u4f4d\u6570\u5fc5\u987b\u957f\u4e8e\u6bd4\u8f83\u7684\u7248\u672c\u53f7");for(var o=0;o<r.length;){if(parseInt(n[o],10)<parseInt(r[o],10))return!1;if(parseInt(n[o],10)>parseInt(r[o],10))return!0;++o}return!0}function B(){for(var e=["Android","iPhone","SymbianOS","Windows Phone","iPad","iPod"],t=0;t<e.length;++t)if(r.indexOf(e[t].toLowerCase())>0)return!1;return!0}function M(){return-1!==location.href.indexOf("debug=")}function q(){if(h()||b()){var e=D("fr");if("android"===e)return!1;if("iphone"===e)return!0}return!M()&&o?!!H()||/iPad|iPhone|iPod/i.test(o):/\(i[^;]+;( U;)? CPU.+Mac OS X/i.test(r)}function H(){return b()?"quarkhdios"===D("pr"):!(M()||!o||!/iPad/i.test(o))||/Mac/i.test(o)&&!!(a&&a>2)}function W(){return!q()}function K(){return"undefined"!=typeof window&&window.QK_WEBVIEW_UUID?s.PLATFORM_TYPE.IOS:B()?s.PLATFORM_TYPE.PC:q()?s.PLATFORM_TYPE.IOS:W()?s.PLATFORM_TYPE.ANDROID:void 0}function V(e,t){r=(e||window.navigator.userAgent).toLowerCase(),o=t||window.navigator.platform,i=p(),a=window.navigator.maxTouchPoints}V();var z={isUC:h,isTaobao:g,isAlipay:v,isAndroid:W,isIOS:q,isIPad:H,isLatestVersion:F,isPC:B,isQQ:y,isQuark:b,isScanking:_,isWechat:m,isWeibo:w,isYouku:x,isDingtalk:A,isKoubei:L,isXiami:C,isTaopiaopiao:S,isShuqi:E,isDouyin:P,isKuaishou:O,isBaidu:k,isZhihu:I,isBilibili:T,getAppType:p,getUID:U,getUCVersion:N,getQuarkVersion:j,getPlatformType:K};t.default=z},function(e,t,n){"use strict";var r=n(2),o=n(476);r({global:!0,forced:parseInt!==o},{parseInt:o})},function(e,t,n){"use strict";var r=n(2),o=n(314).trim;r({target:"String",proto:!0,forced:n(397)("trim")},{trim:function(){return o(this)}})},,function(e,t,n){"use strict";n(232),n(146),n(47),n(66),n(32),n(243),n(45),n(46),n(150),n(102),n(234);var r=n(231),o=n(471),i=n.n(o);var a=n(474),s=["className","style","onFirstAppear","onAppear"];function c(){return(c=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var u=n.n(a).a;function f(e){var t=u.__cache||(u.__cache={}),n=function e(){var t=[],n=arguments[0],r=Object.prototype.toString.call(n).slice(8,-1).toLowerCase();if("string"===r)(n=n.trim())&&t.push(n);else if("array"===r)n.forEach((function(n){(n=e(n).trim())&&t.push(n)}));else if("object"===r)for(var o in n)(o=o.trim())&&n.hasOwnProperty(o)&&n[o]&&t.push(o);return t.join(" ").trim()}(e),r=n.split(/\s+/),o=t[n];return o||(o={},1===r.length?o=u[r[0].trim()]:r.forEach((function(e){"object"==typeof u[e.trim()]&&(o=Object.assign(o,u[e.trim()]))})),t[n]=o),o}var l=Object(r.forwardRef)((function(e,t){var n=Object(r.useRef)(null),o=e.className,a=e.style,u=e.onFirstAppear,l=e.onAppear,d=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,s),p=l;return u&&(p=function(e){l&&l(e),n.current&&n.current.triggeredAppear||(u&&u(e),n.current={triggeredAppear:!0})}),Object(r.createElement)("div",c({},d,{onAppear:p,ref:t,className:i()("rax-view-v2",o),style:Object.assign({},f(i()("rax-view-v2",o)),a)}))}));t.a=function(e){return e.displayName="View",e}(l)},function(e,t,n){"use strict";var r=n(2),o=n(88),i=n(1),a=n(331),s=n(9),c=n(106),u=n(81),f=n(158),l=a.ArrayBuffer,d=a.DataView,p=d.prototype,h=o(l.prototype.slice),g=o(p.getUint8),v=o(p.setUint8);r({target:"ArrayBuffer",proto:!0,unsafe:!0,forced:i((function(){return!new l(2).slice(1,void 0).byteLength}))},{slice:function(e,t){if(h&&void 0===t)return h(s(this),e);for(var n=s(this).byteLength,r=c(e,n),o=c(void 0===t?n:t,n),i=new(f(this,l))(u(o-r)),a=new d(this),p=new d(i),m=0;r<o;)v(p,m++,g(a,r++));return i}})},,,function(e,t,n){"use strict";var r=n(2),o=n(3),i=n(22),a=n(19),s=n(33),c=n(355),u=n(12),f=n(1),l=n(356),d=n(83),p=n(394),h=n(395),g=n(55),v=n(396),m=[],y=o(m.sort),w=o(m.push),b=f((function(){m.sort(void 0)})),_=f((function(){m.sort(null)})),x=d("sort"),A=!f((function(){if(g)return g<70;if(!(p&&p>3)){if(h)return!0;if(v)return v<603;var e,t,n,r,o="";for(e=65;e<76;e++){switch(t=String.fromCharCode(e),e){case 66:case 69:case 70:case 72:n=3;break;case 68:case 71:n=4;break;default:n=2}for(r=0;r<47;r++)m.push({k:t+r,v:n})}for(m.sort((function(e,t){return t.v-e.v})),r=0;r<m.length;r++)t=m[r].k.charAt(0),o.charAt(o.length-1)!==t&&(o+=t);return"DGBEFHACIJK"!==o}}));r({target:"Array",proto:!0,forced:b||!_||!x||!A},{sort:function(e){void 0!==e&&i(e);var t=a(this);if(A)return void 0===e?y(t):y(t,e);var n,r,o=[],f=s(t);for(r=0;r<f;r++)r in t&&w(o,t[r]);for(l(o,function(e){return function(t,n){return void 0===n?-1:void 0===t?1:void 0!==e?+e(t,n)||0:u(t)>u(n)?1:-1}}(e)),n=s(o),r=0;r<n;)t[r]=o[r++];for(;r<f;)c(t,r++);return t}})},function(e,t,n){"use strict";var r=n(3),o=n(236),i=r(n(487)),a=o.aTypedArray;(0,o.exportTypedArrayMethod)("copyWithin",(function(e,t){return i(a(this),e,t,arguments.length>2?arguments[2]:void 0)}))},function(e,t,n){"use strict";var r=n(236),o=n(104).every,i=r.aTypedArray;(0,r.exportTypedArrayMethod)("every",(function(e){return o(i(this),e,arguments.length>1?arguments[1]:void 0)}))},function(e,t,n){"use strict";var r=n(236),o=n(358),i=n(402),a=n(52),s=n(6),c=n(3),u=n(1),f=r.aTypedArray,l=r.exportTypedArrayMethod,d=c("".slice);l("fill",(function(e){var t=arguments.length;f(this);var n="Big"===d(a(this),0,3)?i(e):+e;return s(o,this,n,t>1?arguments[1]:void 0,t>2?arguments[2]:void 0)}),u((function(){var e=0;return new Int8Array(2).fill({valueOf:function(){return e++}}),1!==e})))},function(e,t,n){"use strict";var r=n(236),o=n(104).filter,i=n(488),a=r.aTypedArray;(0,r.exportTypedArrayMethod)("filter",(function(e){var t=o(a(this),e,arguments.length>1?arguments[1]:void 0);return i(this,t)}))},function(e,t,n){"use strict";var r=n(236),o=n(104).find,i=r.aTypedArray;(0,r.exportTypedArrayMethod)("find",(function(e){return o(i(this),e,arguments.length>1?arguments[1]:void 0)}))},function(e,t,n){"use strict";var r=n(236),o=n(104).findIndex,i=r.aTypedArray;(0,r.exportTypedArrayMethod)("findIndex",(function(e){return o(i(this),e,arguments.length>1?arguments[1]:void 0)}))},function(e,t,n){"use strict";var r=n(236),o=n(104).forEach,i=r.aTypedArray;(0,r.exportTypedArrayMethod)("forEach",(function(e){o(i(this),e,arguments.length>1?arguments[1]:void 0)}))},function(e,t,n){"use strict";var r=n(236),o=n(109).includes,i=r.aTypedArray;(0,r.exportTypedArrayMethod)("includes",(function(e){return o(i(this),e,arguments.length>1?arguments[1]:void 0)}))},function(e,t,n){"use strict";var r=n(236),o=n(109).indexOf,i=r.aTypedArray;(0,r.exportTypedArrayMethod)("indexOf",(function(e){return o(i(this),e,arguments.length>1?arguments[1]:void 0)}))},function(e,t,n){"use strict";var r=n(0),o=n(1),i=n(3),a=n(236),s=n(48),c=n(5)("iterator"),u=r.Uint8Array,f=i(s.values),l=i(s.keys),d=i(s.entries),p=a.aTypedArray,h=a.exportTypedArrayMethod,g=u&&u.prototype,v=!o((function(){g[c].call([1])})),m=!!g&&g.values&&g[c]===g.values&&"values"===g.values.name,y=function(){return f(p(this))};h("entries",(function(){return d(p(this))}),v),h("keys",(function(){return l(p(this))}),v),h("values",y,v||!m,{name:"values"}),h(c,y,v||!m,{name:"values"})},function(e,t,n){"use strict";var r=n(236),o=n(3),i=r.aTypedArray,a=r.exportTypedArrayMethod,s=o([].join);a("join",(function(e){return s(i(this),e)}))},function(e,t,n){"use strict";var r=n(236),o=n(51),i=n(404),a=r.aTypedArray;(0,r.exportTypedArrayMethod)("lastIndexOf",(function(e){var t=arguments.length;return o(i,a(this),t>1?[e,arguments[1]]:[e])}))},function(e,t,n){"use strict";var r=n(236),o=n(104).map,i=n(332),a=r.aTypedArray;(0,r.exportTypedArrayMethod)("map",(function(e){return o(a(this),e,arguments.length>1?arguments[1]:void 0,(function(e,t){return new(i(e))(t)}))}))},function(e,t,n){"use strict";var r=n(236),o=n(359).left,i=r.aTypedArray;(0,r.exportTypedArrayMethod)("reduce",(function(e){var t=arguments.length;return o(i(this),e,t,t>1?arguments[1]:void 0)}))},function(e,t,n){"use strict";var r=n(236),o=n(359).right,i=r.aTypedArray;(0,r.exportTypedArrayMethod)("reduceRight",(function(e){var t=arguments.length;return o(i(this),e,t,t>1?arguments[1]:void 0)}))},function(e,t,n){"use strict";var r=n(236),o=r.aTypedArray,i=r.exportTypedArrayMethod,a=Math.floor;i("reverse",(function(){for(var e,t=o(this).length,n=a(t/2),r=0;r<n;)e=this[r],this[r++]=this[--t],this[t]=e;return this}))},function(e,t,n){"use strict";var r=n(0),o=n(6),i=n(236),a=n(33),s=n(401),c=n(19),u=n(1),f=r.RangeError,l=r.Int8Array,d=l&&l.prototype,p=d&&d.set,h=i.aTypedArray,g=i.exportTypedArrayMethod,v=!u((function(){var e=new Uint8ClampedArray(2);return o(p,e,{length:1,0:3},1),3!==e[1]})),m=v&&i.NATIVE_ARRAY_BUFFER_VIEWS&&u((function(){var e=new l(2);return e.set(1),e.set("2",1),0!==e[0]||2!==e[1]}));g("set",(function(e){h(this);var t=s(arguments.length>1?arguments[1]:void 0,1),n=c(e);if(v)return o(p,this,n,t);var r=this.length,i=a(n),u=0;if(i+t>r)throw new f("Wrong length");for(;u<i;)this[t+u]=n[u++]}),!v||m)},function(e,t,n){"use strict";var r=n(236),o=n(332),i=n(1),a=n(34),s=r.aTypedArray;(0,r.exportTypedArrayMethod)("slice",(function(e,t){for(var n=a(s(this),e,t),r=o(this),i=0,c=n.length,u=new r(c);c>i;)u[i]=n[i++];return u}),i((function(){new Int8Array(1).slice()})))},function(e,t,n){"use strict";var r=n(236),o=n(104).some,i=r.aTypedArray;(0,r.exportTypedArrayMethod)("some",(function(e){return o(i(this),e,arguments.length>1?arguments[1]:void 0)}))},function(e,t,n){"use strict";var r=n(0),o=n(88),i=n(1),a=n(22),s=n(356),c=n(236),u=n(394),f=n(395),l=n(55),d=n(396),p=c.aTypedArray,h=c.exportTypedArrayMethod,g=r.Uint16Array,v=g&&o(g.prototype.sort),m=!(!v||i((function(){v(new g(2),null)}))&&i((function(){v(new g(2),{})}))),y=!!v&&!i((function(){if(l)return l<74;if(u)return u<67;if(f)return!0;if(d)return d<602;var e,t,n=new g(516),r=Array(516);for(e=0;e<516;e++)t=e%4,n[e]=515-e,r[e]=e-2*t+3;for(v(n,(function(e,t){return(e/4|0)-(t/4|0)})),e=0;e<516;e++)if(n[e]!==r[e])return!0}));h("sort",(function(e){return void 0!==e&&a(e),y?v(this,e):s(p(this),function(e){return function(t,n){return void 0!==e?+e(t,n)||0:n!=n?-1:t!=t?1:0===t&&0===n?1/t>0&&1/n<0?1:-1:t>n}}(e))}),!y||m)},function(e,t,n){"use strict";var r=n(236),o=n(81),i=n(106),a=n(332),s=r.aTypedArray;(0,r.exportTypedArrayMethod)("subarray",(function(e,t){var n=s(this),r=n.length,c=i(e,r);return new(a(n))(n.buffer,n.byteOffset+c*n.BYTES_PER_ELEMENT,o((void 0===t?r:i(t,r))-c))}))},function(e,t,n){"use strict";var r=n(0),o=n(51),i=n(236),a=n(1),s=n(34),c=r.Int8Array,u=i.aTypedArray,f=i.exportTypedArrayMethod,l=[].toLocaleString,d=!!c&&a((function(){l.call(new c(1))}));f("toLocaleString",(function(){return o(l,d?s(u(this)):u(this),s(arguments))}),a((function(){return[1,2].toLocaleString()!==new c([1,2]).toLocaleString()}))||!a((function(){c.prototype.toLocaleString.call([1,2])})))},function(e,t,n){"use strict";var r=n(236).exportTypedArrayMethod,o=n(1),i=n(0),a=n(3),s=i.Uint8Array,c=s&&s.prototype||{},u=[].toString,f=a([].join);o((function(){u.call({})}))&&(u=function(){return f(this)});var l=c.toString!==u;r("toString",u,l)},,function(e,t,n){"use strict";n(32),n(284),n(246),n(334),n(48),n(69),n(70),n(304),n(102),n(149);var r=n(413),o=n(501),i=Object.prototype.toString;function a(e){return"[object Array]"===i.call(e)}function s(e){return null!==e&&"object"==typeof e}function c(e){return"[object Function]"===i.call(e)}function u(e,t){if(null!=e)if("object"!=typeof e&&(e=[e]),a(e))for(var n=0,r=e.length;n<r;n++)t.call(null,e[n],n,e);else for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.call(null,e[o],o,e)}e.exports={isArray:a,isArrayBuffer:function(e){return"[object ArrayBuffer]"===i.call(e)},isBuffer:o,isFormData:function(e){return"undefined"!=typeof FormData&&e instanceof FormData},isArrayBufferView:function(e){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&e.buffer instanceof ArrayBuffer},isString:function(e){return"string"==typeof e},isNumber:function(e){return"number"==typeof e},isObject:s,isUndefined:function(e){return void 0===e},isDate:function(e){return"[object Date]"===i.call(e)},isFile:function(e){return"[object File]"===i.call(e)},isBlob:function(e){return"[object Blob]"===i.call(e)},isFunction:c,isStream:function(e){return s(e)&&c(e.pipe)},isURLSearchParams:function(e){return"undefined"!=typeof URLSearchParams&&e instanceof URLSearchParams},isStandardBrowserEnv:function(){return("undefined"==typeof navigator||"ReactNative"!==navigator.product)&&("undefined"!=typeof window&&"undefined"!=typeof document)},forEach:u,merge:function e(){var t={};function n(n,r){"object"==typeof t[r]&&"object"==typeof n?t[r]=e(t[r],n):t[r]=n}for(var r=0,o=arguments.length;r<o;r++)u(arguments[r],n);return t},extend:function(e,t,n){return u(t,(function(t,o){e[o]=n&&"function"==typeof t?r(t,n):t})),e},trim:function(e){return e.replace(/^\s*/,"").replace(/\s*$/,"")}}},function(e,t,n){"use strict";var r=n(2),o=n(404);r({target:"Array",proto:!0,forced:o!==[].lastIndexOf},{lastIndexOf:o})},function(e,t,n){"use strict";var r=n(2),o=n(1),i=n(16),a=n(82).f,s=n(7);r({target:"Object",stat:!0,forced:!s||o((function(){a(1)})),sham:!s},{getOwnPropertyDescriptor:function(e,t){return a(i(e),t)}})},,,,,,function(e,t,n){"use strict";var r=n(2),o=n(0),i=n(6),a=n(7),s=n(482),c=n(236),u=n(331),f=n(157),l=n(36),d=n(23),p=n(400),h=n(81),g=n(398),v=n(401),m=n(484),y=n(61),w=n(8),b=n(52),_=n(10),x=n(57),A=n(27),L=n(25),C=n(54),S=n(56).f,E=n(485),P=n(104).forEach,O=n(107),k=n(35),I=n(11),T=n(82),R=n(403),U=n(20),D=n(159),N=U.get,j=U.set,F=U.enforce,B=I.f,M=T.f,q=o.RangeError,H=u.ArrayBuffer,W=H.prototype,K=u.DataView,V=c.NATIVE_ARRAY_BUFFER_VIEWS,z=c.TYPED_ARRAY_TAG,J=c.TypedArray,Y=c.TypedArrayPrototype,G=c.isTypedArray,Q=function(e,t){k(e,t,{configurable:!0,get:function(){return N(this)[t]}})},X=function(e){var t;return L(W,e)||"ArrayBuffer"===(t=b(e))||"SharedArrayBuffer"===t},Z=function(e,t){return G(e)&&!x(t)&&t in e&&p(+t)&&t>=0},$=function(e,t){return t=y(t),Z(e,t)?l(2,e[t]):M(e,t)},ee=function(e,t,n){return t=y(t),!(Z(e,t)&&_(n)&&w(n,"value"))||w(n,"get")||w(n,"set")||n.configurable||w(n,"writable")&&!n.writable||w(n,"enumerable")&&!n.enumerable?B(e,t,n):(e[t]=n.value,e)};a?(V||(T.f=$,I.f=ee,Q(Y,"buffer"),Q(Y,"byteOffset"),Q(Y,"byteLength"),Q(Y,"length")),r({target:"Object",stat:!0,forced:!V},{getOwnPropertyDescriptor:$,defineProperty:ee}),e.exports=function(e,t,n){var a=e.match(/\d+/)[0]/8,c=e+(n?"Clamped":"")+"Array",u="get"+e,l="set"+e,p=o[c],y=p,w=y&&y.prototype,b={},x=function(e,t){B(e,t,{get:function(){return function(e,t){var n=N(e);return n.view[u](t*a+n.byteOffset,!0)}(this,t)},set:function(e){return function(e,t,r){var o=N(e);o.view[l](t*a+o.byteOffset,n?m(r):r,!0)}(this,t,e)},enumerable:!0})};V?s&&(y=t((function(e,t,n,r){return f(e,w),D(_(t)?X(t)?void 0!==r?new p(t,v(n,a),r):void 0!==n?new p(t,v(n,a)):new p(t):G(t)?R(y,t):i(E,y,t):new p(g(t)),e,y)})),C&&C(y,J),P(S(p),(function(e){e in y||d(y,e,p[e])})),y.prototype=w):(y=t((function(e,t,n,r){f(e,w);var o,s,c,u=0,l=0;if(_(t)){if(!X(t))return G(t)?R(y,t):i(E,y,t);o=t,l=v(n,a);var d=t.byteLength;if(void 0===r){if(d%a)throw new q("Wrong length");if((s=d-l)<0)throw new q("Wrong length")}else if((s=h(r)*a)+l>d)throw new q("Wrong length");c=s/a}else c=g(t),o=new H(s=c*a);for(j(e,{buffer:o,byteOffset:l,byteLength:s,length:c,view:new K(o)});u<c;)x(e,u++)})),C&&C(y,J),w=y.prototype=A(Y)),w.constructor!==y&&d(w,"constructor",y),F(w).TypedArrayConstructor=y,z&&d(w,z,c);var L=y!==p;b[c]=y,r({global:!0,constructor:!0,forced:L,sham:!V},b),"BYTES_PER_ELEMENT"in y||d(y,"BYTES_PER_ELEMENT",a),"BYTES_PER_ELEMENT"in w||d(w,"BYTES_PER_ELEMENT",a),O(c)}):e.exports=function(){}},function(e,t,n){"use strict";var r=n(2),o=n(359).left,i=n(83),a=n(55);r({target:"Array",proto:!0,forced:!n(63)&&a>79&&a<83||!i("reduce")},{reduce:function(e){var t=arguments.length;return o(this,e,t,t>1?arguments[1]:void 0)}})},function(e,t,n){"use strict";var r=n(2),o=n(0),i=n(331),a=n(107),s=i.ArrayBuffer;r({global:!0,constructor:!0,forced:o.ArrayBuffer!==s},{ArrayBuffer:s}),a("ArrayBuffer")},function(e,t,n){"use strict";var r=n(2),o=n(410);r({target:"Array",stat:!0,forced:!n(163)((function(e){Array.from(e)}))},{from:o})},,function(e,t,n){"use strict";var r=n(2),o=n(7),i=n(119).f;r({target:"Object",stat:!0,forced:Object.defineProperties!==i,sham:!o},{defineProperties:i})},,function(e,t,n){"use strict";var r=n(2),o=n(536);r({global:!0,forced:parseFloat!==o},{parseFloat:o})},,,function(e,t,n){"use strict";var r=n(2),o=n(109).includes,i=n(1),a=n(161);r({target:"Array",proto:!0,forced:i((function(){return!Array(1).includes()}))},{includes:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),a("includes")},function(e,t,n){"use strict";n(282)("Uint8",(function(e){return function(t,n,r){return e(this,t,n,r)}}))},,function(e,t,n){"use strict";var r=n(2),o=n(3),i=n(472),a=n(26),s=n(12),c=n(473),u=o("".indexOf);r({target:"String",proto:!0,forced:!c("includes")},{includes:function(e){return!!~u(s(a(this)),s(i(e)),arguments.length>1?arguments[1]:void 0)}})},,,,,,,,,function(e,t,n){"use strict";n(407)},function(e,t,n){"use strict";var r=n(2),o=n(1),i=n(166).f;r({target:"Object",stat:!0,forced:o((function(){return!Object.getOwnPropertyNames(1)}))},{getOwnPropertyNames:i})},,,,,,,,,function(e,t,n){"use strict";var r=n(3),o=n(26),i=n(12),a=n(328),s=r("".replace),c=RegExp("^["+a+"]+"),u=RegExp("(^|[^"+a+"])["+a+"]+$"),f=function(e){return function(t){var n=i(o(t));return 1&e&&(n=s(n,c,"")),2&e&&(n=s(n,u,"$1")),n}};e.exports={start:f(1),end:f(2),trim:f(3)}},,,,,function(e,t,n){var r,o,i=n(478),a=n(489),s=0,c=0;e.exports=function(e,t,n){var u=t&&n||0,f=t||[],l=(e=e||{}).node||r,d=void 0!==e.clockseq?e.clockseq:o;if(null==l||null==d){var p=i();null==l&&(l=r=[1|p[0],p[1],p[2],p[3],p[4],p[5]]),null==d&&(d=o=16383&(p[6]<<8|p[7]))}var h=void 0!==e.msecs?e.msecs:(new Date).getTime(),g=void 0!==e.nsecs?e.nsecs:c+1,v=h-s+(g-c)/1e4;if(v<0&&void 0===e.clockseq&&(d=d+1&16383),(v<0||h>s)&&void 0===e.nsecs&&(g=0),g>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");s=h,c=g,o=d;var m=(1e4*(268435455&(h+=122192928e5))+g)%4294967296;f[u++]=m>>>24&255,f[u++]=m>>>16&255,f[u++]=m>>>8&255,f[u++]=255&m;var y=h/4294967296*1e4&268435455;f[u++]=y>>>8&255,f[u++]=255&y,f[u++]=y>>>24&15|16,f[u++]=y>>>16&255,f[u++]=d>>>8|128,f[u++]=255&d;for(var w=0;w<6;++w)f[u+w]=l[w];return t||a(f)}},function(e,t,n){"use strict";var r=n(13);e.exports=function(e,t,n){for(var o in t)r(e,o,t[o],n);return e}},,function(e,t,n){"use strict";var r=n(2),o=n(3),i=n(62),a=n(10),s=n(8),c=n(11).f,u=n(56),f=n(166),l=n(495),d=n(86),p=n(364),h=!1,g=d("meta"),v=0,m=function(e){c(e,g,{value:{objectID:"O"+v++,weakData:{}}})},y=e.exports={enable:function(){y.enable=function(){},h=!0;var e=u.f,t=o([].splice),n={};n[g]=1,e(n).length&&(u.f=function(n){for(var r=e(n),o=0,i=r.length;o<i;o++)if(r[o]===g){t(r,o,1);break}return r},r({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:f.f}))},fastKey:function(e,t){if(!a(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!s(e,g)){if(!l(e))return"F";if(!t)return"E";m(e)}return e[g].objectID},getWeakData:function(e,t){if(!s(e,g)){if(!l(e))return!0;if(!t)return!1;m(e)}return e[g].weakData},onFreeze:function(e){return p&&h&&l(e)&&!s(e,g)&&m(e),e}};i[g]=!0},,,,,,function(e,t,n){"use strict";e.exports="\t\n\v\f\r \xa0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029\ufeff"},,function(e,t,n){"use strict";n(67),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default=function(e,t){if(!e)throw new Error(t)}},function(e,t,n){"use strict";var r=n(0),o=n(3),i=n(7),a=n(357),s=n(58),c=n(23),u=n(35),f=n(320),l=n(1),d=n(157),p=n(50),h=n(81),g=n(398),v=n(479),m=n(481),y=n(84),w=n(54),b=n(358),_=n(34),x=n(159),A=n(113),L=n(21),C=n(20),S=s.PROPER,E=s.CONFIGURABLE,P=C.getterFor("ArrayBuffer"),O=C.getterFor("DataView"),k=C.set,I=r.ArrayBuffer,T=I,R=T&&T.prototype,U=r.DataView,D=U&&U.prototype,N=Object.prototype,j=r.Array,F=r.RangeError,B=o(b),M=o([].reverse),q=m.pack,H=m.unpack,W=function(e){return[255&e]},K=function(e){return[255&e,e>>8&255]},V=function(e){return[255&e,e>>8&255,e>>16&255,e>>24&255]},z=function(e){return e[3]<<24|e[2]<<16|e[1]<<8|e[0]},J=function(e){return q(v(e),23,4)},Y=function(e){return q(e,52,8)},G=function(e,t,n){u(e.prototype,t,{configurable:!0,get:function(){return n(this)[t]}})},Q=function(e,t,n,r){var o=O(e),i=g(n),a=!!r;if(i+t>o.byteLength)throw new F("Wrong index");var s=o.bytes,c=i+o.byteOffset,u=_(s,c,c+t);return a?u:M(u)},X=function(e,t,n,r,o,i){var a=O(e),s=g(n),c=r(+o),u=!!i;if(s+t>a.byteLength)throw new F("Wrong index");for(var f=a.bytes,l=s+a.byteOffset,d=0;d<t;d++)f[l+d]=c[u?d:t-d-1]};if(a){var Z=S&&"ArrayBuffer"!==I.name;l((function(){I(1)}))&&l((function(){new I(-1)}))&&!l((function(){return new I,new I(1.5),new I(NaN),1!==I.length||Z&&!E}))?Z&&E&&c(I,"name","ArrayBuffer"):((T=function(e){return d(this,R),x(new I(g(e)),this,T)}).prototype=R,R.constructor=T,A(T,I)),w&&y(D)!==N&&w(D,N);var $=new U(new T(2)),ee=o(D.setInt8);$.setInt8(0,2147483648),$.setInt8(1,2147483649),!$.getInt8(0)&&$.getInt8(1)||f(D,{setInt8:function(e,t){ee(this,e,t<<24>>24)},setUint8:function(e,t){ee(this,e,t<<24>>24)}},{unsafe:!0})}else R=(T=function(e){d(this,R);var t=g(e);k(this,{type:"ArrayBuffer",bytes:B(j(t),0),byteLength:t}),i||(this.byteLength=t,this.detached=!1)}).prototype,D=(U=function(e,t,n){d(this,D),d(e,R);var r=P(e),o=r.byteLength,a=p(t);if(a<0||a>o)throw new F("Wrong offset");if(a+(n=void 0===n?o-a:h(n))>o)throw new F("Wrong length");k(this,{type:"DataView",buffer:e,byteLength:n,byteOffset:a,bytes:r.bytes}),i||(this.buffer=e,this.byteLength=n,this.byteOffset=a)}).prototype,i&&(G(T,"byteLength",P),G(U,"buffer",O),G(U,"byteLength",O),G(U,"byteOffset",O)),f(D,{getInt8:function(e){return Q(this,1,e)[0]<<24>>24},getUint8:function(e){return Q(this,1,e)[0]},getInt16:function(e){var t=Q(this,2,e,arguments.length>1&&arguments[1]);return(t[1]<<8|t[0])<<16>>16},getUint16:function(e){var t=Q(this,2,e,arguments.length>1&&arguments[1]);return t[1]<<8|t[0]},getInt32:function(e){return z(Q(this,4,e,arguments.length>1&&arguments[1]))},getUint32:function(e){return z(Q(this,4,e,arguments.length>1&&arguments[1]))>>>0},getFloat32:function(e){return H(Q(this,4,e,arguments.length>1&&arguments[1]),23)},getFloat64:function(e){return H(Q(this,8,e,arguments.length>1&&arguments[1]),52)},setInt8:function(e,t){X(this,1,e,W,t)},setUint8:function(e,t){X(this,1,e,W,t)},setInt16:function(e,t){X(this,2,e,K,t,arguments.length>2&&arguments[2])},setUint16:function(e,t){X(this,2,e,K,t,arguments.length>2&&arguments[2])},setInt32:function(e,t){X(this,4,e,V,t,arguments.length>2&&arguments[2])},setUint32:function(e,t){X(this,4,e,V,t,arguments.length>2&&arguments[2])},setFloat32:function(e,t){X(this,4,e,J,t,arguments.length>2&&arguments[2])},setFloat64:function(e,t){X(this,8,e,Y,t,arguments.length>2&&arguments[2])}});L(T,"ArrayBuffer"),L(U,"DataView"),e.exports={ArrayBuffer:T,DataView:U}},function(e,t,n){"use strict";var r=n(236),o=n(158),i=r.aTypedArrayConstructor,a=r.getTypedArrayConstructor;e.exports=function(e){return i(o(e,a(e)))}},function(e,t,n){n(151),n(147);var r,o,i=e.exports={};function a(){throw new Error("setTimeout has not been defined")}function s(){throw new Error("clearTimeout has not been defined")}function c(e){if(r===setTimeout)return setTimeout(e,0);if((r===a||!r)&&setTimeout)return r=setTimeout,setTimeout(e,0);try{return r(e,0)}catch(t){try{return r.call(null,e,0)}catch(t){return r.call(this,e,0)}}}!function(){try{r="function"==typeof setTimeout?setTimeout:a}catch(e){r=a}try{o="function"==typeof clearTimeout?clearTimeout:s}catch(e){o=s}}();var u,f=[],l=!1,d=-1;function p(){l&&u&&(l=!1,u.length?f=u.concat(f):d=-1,f.length&&h())}function h(){if(!l){var e=c(p);l=!0;for(var t=f.length;t;){for(u=f,f=[];++d<t;)u&&u[d].run();d=-1,t=f.length}u=null,l=!1,function(e){if(o===clearTimeout)return clearTimeout(e);if((o===s||!o)&&clearTimeout)return o=clearTimeout,clearTimeout(e);try{o(e)}catch(t){try{return o.call(null,e)}catch(t){return o.call(this,e)}}}(e)}}function g(e,t){this.fun=e,this.array=t}function v(){}i.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];f.push(new g(e,t)),1!==f.length||l||c(h)},g.prototype.run=function(){this.fun.apply(null,this.array)},i.title="browser",i.browser=!0,i.env={},i.argv=[],i.version="",i.versions={},i.on=v,i.addListener=v,i.once=v,i.off=v,i.removeListener=v,i.removeAllListeners=v,i.emit=v,i.prependListener=v,i.prependOnceListener=v,i.listeners=function(){return[]},i.binding=function(){throw new Error("process.binding is not supported")},i.cwd=function(){return"/"},i.chdir=function(){throw new Error("process.chdir is not supported")},i.umask=function(){return 0}},function(e,t,n){"use strict";var r=n(2),o=n(236);r({target:"ArrayBuffer",stat:!0,forced:!o.NATIVE_ARRAY_BUFFER_VIEWS},{isView:o.isView})},function(e,t,n){"use strict";var r=n(2),o=n(104).every;r({target:"Array",proto:!0,forced:!n(83)("every")},{every:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},function(e,t,n){"use strict";n(67),n(146),n(71),n(238),n(32),n(276),n(45),n(46),n(337),n(287),n(66),n(68),n(285),n(69),n(102),n(235),n(73),n(74),n(48),n(70),n(234),n(47),n(147),n(103),n(49),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,o=(r=n(411))&&r.__esModule?r:{default:r};function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function a(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?i(Object(n),!0).forEach((function(t){s(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function s(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function c(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,o,i=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){s=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw o}}return i}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return u(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return u(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function u(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}n(499);var f=(0,o.default)("jssdk"),l=["fail","false",!1,"0",0],d=["OK","ACCESS_DENY","INVALID_METHOD","INVALID_PARAMS","UNKNOWN_ERROR"];function p(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return function(n){var r=window.ucapi,o=c(e.split("."),2),i=o[0],s=o[1];return f.log("ucapi.".concat(t?"invoke('".concat(e,"')"):e,", parameters: ").concat(JSON.stringify(n))),r&&r.invoke?t||r[i]&&r[i][s]?new Promise((function(o,c){var u=a(a({},n),{},{success:function(e){e&&l.indexOf(e.result)>-1?c(e):o(e)},fail:function(e){var t=e&&e.errCode?a({errMsg:d[e.errCode]||d[4]},e):e;c(t)}});t?r.invoke(e,u):r[i][s](u)})):h("ucapi.".concat(e," not exist, please import fullversion jssdk")):h("should be call in UCBrowser")}}function h(e){return Promise.reject({result:"fail",errMsg:e})}var g={invoke:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.split(".").pop();return 0===n.indexOf("on")?p(e)(t):p(e,!0)(t)}};t.default=g},function(e,t,n){"use strict";var r=n(2),o=n(7),i=n(170),a=n(16),s=n(82),c=n(111);r({target:"Object",stat:!0,sham:!o},{getOwnPropertyDescriptors:function(e){for(var t,n,r=a(e),o=s.f,u=i(r),f={},l=0;u.length>l;)void 0!==(n=o(r,t=u[l++]))&&c(f,t,n);return f}})},function(e,t,n){"use strict";n(67),Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.plus=t.MODE=void 0;var r=f(n(412)),o=f(n(419)),i=f(n(526)),a=f(n(528)),s=n(422),c=f(n(427)),u=f(n(423));function f(e){return e&&e.__esModule?e:{default:e}}(0,a.default)(r.default),(0,o.default)(r.default),(0,i.default)(r.default),c.default.use(u.default),r.default.plus=c.default;var l=s.MODE;t.MODE=l;var d=c.default;t.plus=d;var p=r.default;t.default=p},function(e,t,n){"use strict";var r=n(2),o=n(507);r({target:"Date",proto:!0,forced:Date.prototype.toISOString!==o},{toISOString:o})},function(e,t,n){"use strict";n(520)},function(e,t,n){"use strict";var r=n(2),o=n(0),i=n(3),a=n(87),s=n(13),c=n(322),u=n(108),f=n(157),l=n(4),d=n(24),p=n(10),h=n(1),g=n(163),v=n(21),m=n(159);e.exports=function(e,t,n){var y=-1!==e.indexOf("Map"),w=-1!==e.indexOf("Weak"),b=y?"set":"add",_=o[e],x=_&&_.prototype,A=_,L={},C=function(e){var t=i(x[e]);s(x,e,"add"===e?function(e){return t(this,0===e?0:e),this}:"delete"===e?function(e){return!(w&&!p(e))&&t(this,0===e?0:e)}:"get"===e?function(e){return w&&!p(e)?void 0:t(this,0===e?0:e)}:"has"===e?function(e){return!(w&&!p(e))&&t(this,0===e?0:e)}:function(e,n){return t(this,0===e?0:e,n),this})};if(a(e,!l(_)||!(w||x.forEach&&!h((function(){(new _).entries().next()})))))A=n.getConstructor(t,e,y,b),c.enable();else if(a(e,!0)){var S=new A,E=S[b](w?{}:-0,1)!==S,P=h((function(){S.has(1)})),O=g((function(e){new _(e)})),k=!w&&h((function(){for(var e=new _,t=5;t--;)e[b](t,t);return!e.has(-0)}));O||((A=t((function(e,t){f(e,x);var n=m(new _,e,A);return d(t)||u(t,n[b],{that:n,AS_ENTRIES:y}),n}))).prototype=x,x.constructor=A),(P||k)&&(C("delete"),C("has"),y&&C("get")),(k||E)&&C(b),w&&x.clear&&delete x.clear}return L[e]=A,r({global:!0,constructor:!0,forced:A!==_},L),v(A,e),w||n.setStrong(A,e,y),A}},,,function(e,t,n){"use strict";var r=n(2),o=n(104).some;r({target:"Array",proto:!0,forced:!n(83)("some")},{some:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},function(e,t){function n(){return e.exports=n=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},e.exports.__esModule=!0,e.exports.default=e.exports,n.apply(this,arguments)}e.exports=n,e.exports.__esModule=!0,e.exports.default=e.exports},,,,,,,,,function(e,t,n){"use strict";var r={};n.r(r),n.d(r,"setTagNamePrefix",(function(){return O})),n.d(r,"createBody",(function(){return k})),n.d(r,"createEmpty",(function(){return I})),n.d(r,"createText",(function(){return T})),n.d(r,"updateText",(function(){return R})),n.d(r,"createElement",(function(){return D})),n.d(r,"appendChild",(function(){return N})),n.d(r,"removeChild",(function(){return j})),n.d(r,"replaceChild",(function(){return F})),n.d(r,"insertAfter",(function(){return B})),n.d(r,"insertBefore",(function(){return M})),n.d(r,"addEventListener",(function(){return q})),n.d(r,"removeEventListener",(function(){return H})),n.d(r,"removeAttribute",(function(){return W})),n.d(r,"setAttribute",(function(){return K})),n.d(r,"setStyle",(function(){return V})),n.d(r,"beforeRender",(function(){return z})),n.d(r,"afterRender",(function(){return J})),n.d(r,"removeChildren",(function(){return Y})),n.d(r,"setViewportWidth",(function(){return v})),n.d(r,"setUnitPrecision",(function(){return m}));var o,i,a=n(345),s=n.n(a),c=(n(102),n(149),n(235),n(68),n(146),n(66),n(289),/"[^"]+"|'[^']+'|url\([^\)]+\)|(\d*\.?\d+)rpx/g),u="web",f=4,l=function(e,t){return t?parseFloat(e)*h()+"px":e},d=function(e,t){return t?(n=parseFloat(e)/(g()/100),r=f,o=Math.pow(10,r+1),i=Math.floor(n*o),10*Math.round(i/10)/o+"vw"):e;var n,r,o,i};void 0===h()&&(o=1),void 0===g()&&v(750);var p=function(){function e(){this.__store={}}var t=e.prototype;return t.set=function(e,t){this.__store[e+"_"+typeof e]=t},t.get=function(e){return this.__store[e+"_"+typeof e]},t.has=function(e){return Object.prototype.hasOwnProperty.call(this.__store,e+"_"+typeof e)},e}();function h(){return o}function g(){return i}function v(e){i=e}function m(e){f=e}function y(e){var t=new p;return function(){var n=arguments.length<=0?void 0:arguments[0];return t.has(n)||t.set(n,e.apply(void 0,arguments)),t.get(n)}}var w=y((function(e,t,n){return n&&function(e){u=e}(n),"string"==typeof(r=e)&&c.test(r)?function(e){return"web"===u||"node"===u?e.replace(c,d):"weex"===u?e.replace(c,l):e}(e):e;var r}));n(233),n(234),n(150);var b=/opa|ntw|ne[ch]|ex(?:s|g|n|p|$)|^ord|zoo|grid|orp|ows|mnc|^columns$|bs|erim|onit/i,_=/^on[A-Z]/,x="http://www.w3.org/2000/svg",A="",L=!1,C=!1,S=y((function(e){return e.replace(/-([a-z])/gi,(function(e,t){return t.toUpperCase()}))})),E=y((function(e){return!b.test(e)})),P=y((function(e){return _.test(e)}));function O(e){A=e}function k(){return document.body}function I(e){var t,n=e._parent;if(C){var r=U(n);if(r){if(8===r.nodeType)return r;F(t=document.createComment(""),r,n)}else(t=document.createComment("")).__a=!0}else t=document.createComment("");return t}function T(e,t){var n,r=t._parent;if(C){var o=U(r);if(o){if(3===o.nodeType)return e!==o.textContent&&(o.textContent=e),o;F(n=document.createTextNode(e),o,r)}else(n=document.createTextNode(e)).__a=!0}else n=document.createTextNode(e);return n}function R(e,t){e.textContent=t}function U(e){var t=e.childNodes;null==e.__i&&(e.__i=0);var n=t[e.__i++];return n&&8===n.nodeType&&"|"===n.data?t[e.__i++]:n}function D(e,t,n,r){var o,i=n._parent;L="svg"===e||i&&i.namespaceURI===x;var a=null;function s(){if(L)o=document.createElementNS(x,e);else if(A){var t="function"==typeof t?t(e):t;o=document.createElement(t+e)}else o=document.createElement(e)}if(C)if(a=U(i))if(e===a.nodeName.toLowerCase()){for(var c=a.attributes,u=c.length;u--;){var f=c[u].name,l=t[f];if("class"===f&&null==t.className&&null==l||"style"===f&&(null==l||0===Object.keys(l).length)||"class"!==f&&"style"!==f&&null==l)a.removeAttribute(f);else if("style"===f)for(var d=a.style.length;0<d;d--){var p=a.style[d-1];if(p){var h=S(p);null==l[h]&&(a.style[h]="")}}}o=a}else s(),F(o,a,i);else s(),o.__a=!0;else s();for(var g in t){var v=t[g];"children"!==g&&(null!=v&&("style"===g?V(o,v,r):P(g)?q(o,g.slice(2).toLowerCase(),v):K(o,g,v,L)))}return o}function N(e,t){if(!C||e.__a)return t.appendChild(e)}function j(e,t){(t=t||e.parentNode)&&t.removeChild(e)}function F(e,t,n){(n=n||t.parentNode).replaceChild(e,t)}function B(e,t,n){n=n||t.parentNode;var r=t.nextSibling;r?r!==e&&M(e,r,n):N(e,n)}function M(e,t,n){(n=n||t.parentNode).insertBefore(e,t)}function q(e,t,n){return e.addEventListener(t,n)}function H(e,t,n){return e.removeEventListener(t,n)}function W(e,t){if("dangerouslySetInnerHTML"===t)return e.innerHTML=null;if("className"===t&&(t="class"),t in e)try{e[t]=null}catch(e){}e.removeAttribute(t)}function K(e,t,n,r){if("dangerouslySetInnerHTML"===t)return e.innerHTML!==n.__html&&(e.innerHTML=n.__html),void(e.__h=!0);if("className"===t&&(t="class"),!r&&t in e)try{e[t]=n}catch(r){e.setAttribute(t,n)}else e.setAttribute(t,n)}function V(e,t,n){for(var r in t){var o=t[r],i=void 0;i="number"==typeof o&&E(r)?n?w(i=o+"rpx"):o+"px":w(o),"-"===r[0]&&"-"===r[1]?e.style.setProperty(r,i):e.style[r]=i}}function z(e){var t=e.hydrate;if(C&&!t)throw new Error("Nested render found.");C=t}function J(e){var t=e.container;C&&(!function e(t){if(!t.__h){var n=t.childNodes.length,r=t.__i||0;if(n-r>0)for(var o=n-1;o>=r;o--)t.removeChild(t.childNodes[o]);for(var i=t.childNodes.length-1;i>=0;i--)e(t.childNodes[i])}}(t),C=!1)}function Y(e){e.textContent=""}t.a=s()({},r,{createElement:function(e,t,n){return D(e,t,n,!0)},setStyle:function(e,t){return V(e,t,!0)}})},function(e,t,n){"use strict";var r=n(38),o=TypeError;e.exports=function(e,t){if(!delete e[t])throw new o("Cannot delete property "+r(t)+" of "+r(e))}},function(e,t,n){"use strict";var r=n(34),o=Math.floor,i=function(e,t){var n=e.length;if(n<8)for(var a,s,c=1;c<n;){for(s=c,a=e[c];s&&t(e[s-1],a)>0;)e[s]=e[--s];s!==c++&&(e[s]=a)}else for(var u=o(n/2),f=i(r(e,0,u),t),l=i(r(e,u),t),d=f.length,p=l.length,h=0,g=0;h<d||g<p;)e[h+g]=h<d&&g<p?t(f[h],l[g])<=0?f[h++]:l[g++]:h<d?f[h++]:l[g++];return e};e.exports=i},function(e,t,n){"use strict";e.exports="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof DataView},function(e,t,n){"use strict";var r=n(19),o=n(106),i=n(33);e.exports=function(e){for(var t=r(this),n=i(t),a=arguments.length,s=o(a>1?arguments[1]:void 0,n),c=a>2?arguments[2]:void 0,u=void 0===c?n:o(c,n);u>s;)t[s++]=e;return t}},function(e,t,n){"use strict";var r=n(22),o=n(19),i=n(85),a=n(33),s=TypeError,c=function(e){return function(t,n,c,u){var f=o(t),l=i(f),d=a(f);r(n);var p=e?d-1:0,h=e?-1:1;if(c<2)for(;;){if(p in l){u=l[p],p+=h;break}if(p+=h,e?p<0:d<=p)throw new s("Reduce of empty array with no initial value")}for(;e?p>=0:d>p;p+=h)p in l&&(u=n(u,l[p],p,f));return u}};e.exports={left:c(!1),right:c(!0)}},function(e,t,n){"use strict";n(67),n(102),n(152),Object.defineProperty(t,"__esModule",{value:!0}),t.isUnitTestEnv=function(){return"unitTest"===window.__unitTestConfig__.env},t.getUnitTestConfig=function(e){return window.__unitTestConfig__[e]},t.setUnitTestConfig=function(e,t){window.__unitTestConfig__[e]=t},t.noop=function(){},t.getDomainFromUrl=function(e){try{return e.match(/\/\/([^\/]+)\//)[1]}catch(e){return""}},t.deprecate=function(e){console.warn(e," has been deprecated.");for(var t=1;t<arguments.length;t++)console.log(arguments[t])},window.__unitTestConfig__={}},function(e,t,n){(function(t,r){var o;n(491),n(102),n(149),n(103),n(235),n(234),n(150),n(66),n(71),n(73),n(32),n(74),n(48),n(69),n(70),n(67),n(232),n(72),n(47),n(155),n(154),n(148),n(151),n(45),n(46),n(146),n(152),n(240),n(153),n(283),n(233),n(243),n(242),n(147),n(246),n(362),n(250),n(251),n(252),n(253),n(254),n(255),n(256),n(257),n(258),n(259),n(260),n(261),n(262),n(263),n(264),n(265),n(266),n(267),n(268),n(269),n(270),n(271),n(272),n(49),n(493),n(304),n(284),n(409),n(334),n(305),n(293),n(75),n(363),n(285),n(335),o=function(){"use strict";var e="undefined"!=typeof window?window:void 0!==t?t:"undefined"!=typeof self?self:{};function n(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function o(e,t){return e(t={exports:{}},t.exports),t.exports}var i=o((function(e,t){var n;n=function(){function e(){for(var e=0,t={};e<arguments.length;e++){var n=arguments[e];for(var r in n)t[r]=n[r]}return t}function t(e){return e.replace(/(%[0-9A-Z]{2})+/g,decodeURIComponent)}return function n(r){function o(){}function i(t,n,i){if("undefined"!=typeof document){"number"==typeof(i=e({path:"/"},o.defaults,i)).expires&&(i.expires=new Date(1*new Date+864e5*i.expires)),i.expires=i.expires?i.expires.toUTCString():"";try{var a=JSON.stringify(n);/^[\{\[]/.test(a)&&(n=a)}catch(e){}n=r.write?r.write(n,t):encodeURIComponent(String(n)).replace(/%(23|24|26|2B|3A|3C|3E|3D|2F|3F|40|5B|5D|5E|60|7B|7D|7C)/g,decodeURIComponent),t=encodeURIComponent(String(t)).replace(/%(23|24|26|2B|5E|60|7C)/g,decodeURIComponent).replace(/[\(\)]/g,escape);var s="";for(var c in i)i[c]&&(s+="; "+c,!0!==i[c]&&(s+="="+i[c].split(";")[0]));return document.cookie=t+"="+n+s}}function a(e,n){if("undefined"!=typeof document){for(var o={},i=document.cookie?document.cookie.split("; "):[],a=0;a<i.length;a++){var s=i[a].split("="),c=s.slice(1).join("=");n||'"'!==c.charAt(0)||(c=c.slice(1,-1));try{var u=t(s[0]);if(c=(r.read||r)(c,u)||t(c),n)try{c=JSON.parse(c)}catch(e){}if(o[u]=c,e===u)break}catch(e){}}return e?o[e]:o}}return o.set=i,o.get=function(e){return a(e,!1)},o.getJSON=function(e){return a(e,!0)},o.remove=function(t,n){i(t,"",e(n,{expires:-1}))},o.defaults={},o.withConverter=n,o}((function(){}))},e.exports=n()})),a="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},s=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},c=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),u=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e},f=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},l=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)},d=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n},p=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t},h=function(){function e(t){s(this,e),this.native=null,this.values={};try{if(this.native=window[t],!this.native||!this.native.getItem)throw new TypeError("Invalid Runtime")}catch(e){this.native=null}}return c(e,[{key:"setItem",value:function(e,t){if(this.native)return this.native.setItem(e,t);this.values[e]=""+t}},{key:"getItem",value:function(e){return this.native?this.native.getItem(e):this.values[e]||null}},{key:"removeItem",value:function(e){if(this.native)return this.native.removeItem(e);delete this.values[e]}}]),e}(),g=new h("localStorage"),v=new h("sessionStorage"),m=window;function y(){try{return"undefined"!=typeof window&&void 0!==window.sessionStorage}catch(e){return!0}}var w=new RegExp("^(?:[\\w-*]+:)*(?:(?:https?|ftp)://)(?:\\S+(?::\\S*)?@)?(?:(?!(?:10|127)(?:\\.\\d{1,3}){3})(?!(?:169\\.254|192\\.168)(?:\\.\\d{1,3}){2})(?!172\\.(?:1[6-9]|2\\d|3[0-1])(?:\\.\\d{1,3}){2})(?:[1-9]\\d?|1\\d\\d|2[01]\\d|22[0-3])(?:\\.(?:1?\\d{1,2}|2[0-4]\\d|25[0-5])){2}(?:\\.(?:[1-9]\\d?|1\\d\\d|2[0-4]\\d|25[0-4]))|(?:(?:[a-z\\u00a1-\\uffff0-9]-*)*[a-z\\u00a1-\\uffff0-9]+)(?:\\.(?:[a-z\\u00a1-\\uffff0-9]-*)*[a-z\\u00a1-\\uffff0-9]+)*(?:\\.(?:[a-z\\u00a1-\\uffff]{2,}))\\.?)(?::\\d{2,5})?(?:[/?#]\\S*)?$","i"),b={inBrowser:function(){return y()},getCacheJSLog:function(){var e=JSON.parse(g.getItem("jslog_data")||"{}");return e.sid&&Date.now()<e.expired?e:{sid:"",domain:"",expired:0}},setCacheJSLog:function(e){g.setItem("jslog_data",JSON.stringify(e||{}))},getJsSid:function(){var e=b.getCacheJSLog();return b.getUrlParam("noah_qr_session_code")||e.sid},getDomain:function(){var e=b.getCacheJSLog();return b.getUrlParam("jslog_domain")||e.domain},isNuaEnv:function(){var e=b.getCacheJSLog(),t=b.getUrlParam("noah_qr_session_code")||e.sid,n=b.getUrlParam("jslog_domain")||e.domain,r=b.getUrlParam("jslog_expired")||e.expired;return!!(t&&n&&Date.now()<r)&&(b.setCacheJSLog({sid:t,domain:n,expired:r}),!0)},getUUid:function(){function e(){return(65536*(1+Math.random())|0).toString(16).substring(1)}return e()+e()+"-"+e()+"-"+e()+"-"+e()+"-"+e()+e()+e()},getSessionId:function(){if(y()){var e=v.getItem("__factstat_sid__");return e||(e=b.getUUid(),v.setItem("__factstat_sid__",e)),e}},uuid:function(){function e(){return(65536*(1+Math.random())|0).toString(16).substring(1)}var t=i.get("b-user-id");return t||(t=e()+e()+"-"+e()+"-"+e()+"-"+e()+"-"+e()+e()+e(),i.set("b-user-id",t,{expires:365})),t},throttle:function(e,t){var n=null;return function(){var r=this,o=arguments;clearTimeout(n),n=setTimeout((function(){e.apply(r,o)}),t)}},formatParams:function(e){var t=[];for(var n in e)({}).hasOwnProperty.call(e,n)&&t.push(encodeURIComponent(n)+"="+encodeURIComponent(e[n]));return t.join("&")},type:function(e){var t=Object.prototype.toString,n=void 0;return null===e?n=String(null):(n=t.call(e).toLowerCase(),n=n.substring(8,n.length-1)),n},generateAFP:function(e){var t=[];return e.queries.forEach((function(e){var n=b.getUrlParam(e);n&&t.push(e+"="+n)})),""+window.location.origin+window.location.pathname+"?"+t.join("&")+window.location.hash},addSearchQueries:function(e,t){var n=new RegExp("\\?([^#]*)").exec(e),r=[];n&&n[1].split("&").forEach((function(e){var t=e.split("=");t[0]&&t[1]&&r.push(t[0]+"="+t[1])})),Object.keys(t).forEach((function(e){var n=encodeURIComponent(e)+"="+encodeURIComponent(t[e]),o=-1;r.forEach((function(t,n){t.match(encodeURIComponent(e))&&(o=n)})),o>0?r.splice(o,1,n):r.push(n)}));var o="?"+r.join("&").replace(/%20/g,"+");return n?e.replace(/\?([^#]*)/,o):e+o},getUrlParam:function(e){var t=new RegExp("(^|&)"+e+"=([^&]*)(&|$)"),n=window.location.search.substr(1).match(t);return null!==n?window.decodeURIComponent(n[2]):null},isUrl:function(e){return"string"==typeof e&&(!!new RegExp(/^ext:ps.*https?:\/\//g).test(e)||w.test(e))},formatStatParams:function(e){if(!e)return"";e.time=+new Date;var t=Object.keys(e),n=[];return t.forEach((function(t){n.push(encodeURIComponent(t)+"="+encodeURIComponent(e[t]))})),n.join("&").replace(/%20/g,"+")},getUrlFactExtraParams:function(){var e=b.getUrlParam("fact_extra");return e&&(m.factExtra=decodeURIComponent(e).split(";").reduce((function(e,t){var n=t.split(":");return f({},e,u({},n[0],n[1]))}),{})),{}},isNotUseDomLog:function(e,t){return""===e.getAttribute(t)||"true"===e.getAttribute(t)},hasStatD:function(e){return e.hasAttribute("data-d")||e.hasAttribute("data-fact-click")||e.hasAttribute("data-fact-spmD")},getStatDValue:function(e){return e.getAttribute("data-d")||e.getAttribute("data-fact-click")||e.getAttribute("data-fact-spmD")},hasStatC:function(e){return e.hasAttribute("data-c")||e.hasAttribute("data-fact")||e.hasAttribute("data-fact-spmC")},getStatCValue:function(e){return e.getAttribute("data-c")||e.getAttribute("data-fact")||e.getAttribute("data-fact-spmC")},getClickLogKeyValue:function(e){return e.getAttribute("data-click-arg1")||e.getAttribute("data-fact-logkey")},getExposureLogKeyValue:function(e){return e.getAttribute("data-exposure-arg1")||e.getAttribute("data-fact-exposure-logkey")},getClickExtraParams:function(e){return e.getAttribute("data-click-extra")||e.getAttribute("data-fact-click-extra")||e.getAttribute("data-fact-click-utextra")},getExposureExtraParams:function(e){return e.getAttribute("data-exposure-extra")||e.getAttribute("data-fact-exposure-extra")||e.getAttribute("data-fact-exposure-utextra")},setStatD:function(e,t){e.setAttribute("data-d",t),e.setAttribute("data-fact-click",t),e.setAttribute("data-fact-spmD",t)},queryStatDList:function(e){var t=e.querySelectorAll("data-d"),n=e.querySelectorAll("data-fact-click"),r=e.querySelectorAll("data-fact-spmD");return t.length>0?t:n.length>0?n:r.length>0?r:[]},queryNotExposureD:function(){var e=document.querySelectorAll("[data-d]:not([data-fact-exposed='true'])"),t=document.querySelectorAll("[data-fact-click]:not([data-fact-exposed='true'])"),n=document.querySelectorAll("[data-fact-spmD]:not([data-fact-exposed='true'])");return e.length>0?e:t.length>0?t:n.length>0?n:[]},makeCacheNum:function(){return Math.floor(268435456*Math.random()).toString(16)},getParamFromURL:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"spm",n=e.split("?")[1]||"",r="";return n.split("&").forEach((function(e){0===e.indexOf(t+"=")&&(r=e.substr(t.length+1))})),r}},_="UC",x="TAOBAO",A="ALIPAY",L="WECHAT",C="QQ",S="WEIBO",E="QUARK",P="YOUKU",O="DINGTALK",k="ELEME",I="KOUBEI",T="XIAMI",R="TAOPIAOPIAO",U="SHUQI",D="OTHERS",N=void 0,j=void 0;function F(){var e=function(e){if(window.__UC_PARAMS__){var t=window.__UC_PARAMS__;if(t[e])return t[e]}var n=new RegExp("&"+e+"=([^&]*)").exec(window.location.search);return n&&n[1]?decodeURIComponent(n[1]):""}("pr");return"UCBrowser"===e||"UCMobile"===e?_:"ucpro"===e?E:N.indexOf("aliapp(shuqi")>=0?U:N.indexOf("aliapp(xm/")>=0?T:N.indexOf("aliapp(dy/")>=0?R:N.indexOf("aliapp(tb/")>=0?x:N.indexOf("aliapp(ap/")>=0?A:N.indexOf("dingtalk/")>=0?O:N.indexOf("quark/")>=0?E:N.indexOf("youku/")>=0?P:N.indexOf("eleme/")>=0?k:N.indexOf("koubeiclient/")>=0?I:N.indexOf("ucbrowser")>=0?_:N.indexOf("micromessenger")>=0?L:new RegExp("qq/\\d+\\.\\d+\\.\\d+\\.\\d+","i").test(N)?C:new RegExp("weibo__\\d+\\.\\d+\\.\\d+","i").test(N)?S:D}!function(e,t){N=(e||window.navigator.userAgent).toLowerCase(),j=F()}();var B=navigator.userAgent,M=new(function(){function e(){s(this,e)}return c(e,[{key:"compareVersion",value:function(e,t){t=t||"0",e=(e=e||"0").trim().split(".").map((function(e){return parseInt(e)})),t=t.trim().split(".").map((function(e){return parseInt(e)}));for(var n=e.length>t.length?e.length:t.length,r=e.length;r<n;r++)e[r]=0;for(var o=t.length;o<n;o++)t[o]=0;for(var i=0,a=0;a<n&&0==(i=e[a]-t[a]);a++);return i}},{key:"isUC",get:function(){return j===_}},{key:"platform",get:function(){return window.ucweb?"android":B.match(/ios/i)||B.match(/ipad/i)||B.match(/iphone/i)?"iphone":B.match(/android/i)||B.match(/apad/i)?"android":window.ucbrowser?"iphone":"unknown"}},{key:"ucVersion",get:function(){this.isUC;var e="",t=B.match(/(UCNewsApp\/(\d+(\.\d+)*))|(UCBrowser\/(\d+(\.\d+)*))|(Quark\/(\d+(\.\d+)*))/i);return t&&(e=t[2]||t[5]||t[8]),e}},{key:"isUCBrowser",get:function(){return/ucbrowser/i.test(B)}},{key:"isQuark",get:function(){return j===E}},{key:"isUCNewsApp",get:function(){return/UCNewsApp/i.test(B)}},{key:"isWechat",get:function(){return j===L}},{key:"isSafari",get:function(){return!!B.match(/Safari/i)}}]),e}()),q=o((function(t){!function(e){function n(e,t){var n=(65535&e)+(65535&t);return(e>>16)+(t>>16)+(n>>16)<<16|65535&n}function r(e,t,r,o,i,a){return n((s=n(n(t,e),n(o,a)))<<(c=i)|s>>>32-c,r);var s,c}function o(e,t,n,o,i,a,s){return r(t&n|~t&o,e,t,i,a,s)}function i(e,t,n,o,i,a,s){return r(t&o|n&~o,e,t,i,a,s)}function a(e,t,n,o,i,a,s){return r(t^n^o,e,t,i,a,s)}function s(e,t,n,o,i,a,s){return r(n^(t|~o),e,t,i,a,s)}function c(e,t){var r,c,u,f,l;e[t>>5]|=128<<t%32,e[14+(t+64>>>9<<4)]=t;var d=1732584193,p=-271733879,h=-1732584194,g=271733878;for(r=0;r<e.length;r+=16)c=d,u=p,f=h,l=g,d=o(d,p,h,g,e[r],7,-680876936),g=o(g,d,p,h,e[r+1],12,-389564586),h=o(h,g,d,p,e[r+2],17,606105819),p=o(p,h,g,d,e[r+3],22,-1044525330),d=o(d,p,h,g,e[r+4],7,-176418897),g=o(g,d,p,h,e[r+5],12,1200080426),h=o(h,g,d,p,e[r+6],17,-1473231341),p=o(p,h,g,d,e[r+7],22,-45705983),d=o(d,p,h,g,e[r+8],7,1770035416),g=o(g,d,p,h,e[r+9],12,-1958414417),h=o(h,g,d,p,e[r+10],17,-42063),p=o(p,h,g,d,e[r+11],22,-1990404162),d=o(d,p,h,g,e[r+12],7,1804603682),g=o(g,d,p,h,e[r+13],12,-40341101),h=o(h,g,d,p,e[r+14],17,-1502002290),d=i(d,p=o(p,h,g,d,e[r+15],22,1236535329),h,g,e[r+1],5,-165796510),g=i(g,d,p,h,e[r+6],9,-1069501632),h=i(h,g,d,p,e[r+11],14,643717713),p=i(p,h,g,d,e[r],20,-373897302),d=i(d,p,h,g,e[r+5],5,-701558691),g=i(g,d,p,h,e[r+10],9,38016083),h=i(h,g,d,p,e[r+15],14,-660478335),p=i(p,h,g,d,e[r+4],20,-405537848),d=i(d,p,h,g,e[r+9],5,568446438),g=i(g,d,p,h,e[r+14],9,-1019803690),h=i(h,g,d,p,e[r+3],14,-187363961),p=i(p,h,g,d,e[r+8],20,1163531501),d=i(d,p,h,g,e[r+13],5,-1444681467),g=i(g,d,p,h,e[r+2],9,-51403784),h=i(h,g,d,p,e[r+7],14,1735328473),d=a(d,p=i(p,h,g,d,e[r+12],20,-1926607734),h,g,e[r+5],4,-378558),g=a(g,d,p,h,e[r+8],11,-2022574463),h=a(h,g,d,p,e[r+11],16,1839030562),p=a(p,h,g,d,e[r+14],23,-35309556),d=a(d,p,h,g,e[r+1],4,-1530992060),g=a(g,d,p,h,e[r+4],11,1272893353),h=a(h,g,d,p,e[r+7],16,-155497632),p=a(p,h,g,d,e[r+10],23,-1094730640),d=a(d,p,h,g,e[r+13],4,681279174),g=a(g,d,p,h,e[r],11,-358537222),h=a(h,g,d,p,e[r+3],16,-722521979),p=a(p,h,g,d,e[r+6],23,76029189),d=a(d,p,h,g,e[r+9],4,-640364487),g=a(g,d,p,h,e[r+12],11,-421815835),h=a(h,g,d,p,e[r+15],16,530742520),d=s(d,p=a(p,h,g,d,e[r+2],23,-995338651),h,g,e[r],6,-198630844),g=s(g,d,p,h,e[r+7],10,1126891415),h=s(h,g,d,p,e[r+14],15,-1416354905),p=s(p,h,g,d,e[r+5],21,-57434055),d=s(d,p,h,g,e[r+12],6,1700485571),g=s(g,d,p,h,e[r+3],10,-1894986606),h=s(h,g,d,p,e[r+10],15,-1051523),p=s(p,h,g,d,e[r+1],21,-2054922799),d=s(d,p,h,g,e[r+8],6,1873313359),g=s(g,d,p,h,e[r+15],10,-30611744),h=s(h,g,d,p,e[r+6],15,-1560198380),p=s(p,h,g,d,e[r+13],21,1309151649),d=s(d,p,h,g,e[r+4],6,-145523070),g=s(g,d,p,h,e[r+11],10,-1120210379),h=s(h,g,d,p,e[r+2],15,718787259),p=s(p,h,g,d,e[r+9],21,-343485551),d=n(d,c),p=n(p,u),h=n(h,f),g=n(g,l);return[d,p,h,g]}function u(e){var t,n="",r=32*e.length;for(t=0;t<r;t+=8)n+=String.fromCharCode(e[t>>5]>>>t%32&255);return n}function f(e){var t,n=[];for(n[(e.length>>2)-1]=void 0,t=0;t<n.length;t+=1)n[t]=0;var r=8*e.length;for(t=0;t<r;t+=8)n[t>>5]|=(255&e.charCodeAt(t/8))<<t%32;return n}function l(e){var t,n,r="";for(n=0;n<e.length;n+=1)t=e.charCodeAt(n),r+="0123456789abcdef".charAt(t>>>4&15)+"0123456789abcdef".charAt(15&t);return r}function d(e){return unescape(encodeURIComponent(e))}function p(e){return function(e){return u(c(f(e),8*e.length))}(d(e))}function h(e,t){return function(e,t){var n,r,o=f(e),i=[],a=[];for(i[15]=a[15]=void 0,o.length>16&&(o=c(o,8*e.length)),n=0;n<16;n+=1)i[n]=909522486^o[n],a[n]=1549556828^o[n];return r=c(i.concat(f(t)),512+8*t.length),u(c(a.concat(r),640))}(d(e),d(t))}function g(e,t,n){return t?n?h(t,e):l(h(t,e)):n?p(e):l(p(e))}t.exports?t.exports=g:e.md5=g}(e)}));o((function(t,n){
/*!
     * @overview es6-promise - a tiny implementation of Promises/A+.
     * @copyright Copyright (c) 2014 Yehuda Katz, Tom Dale, Stefan Penner and contributors (Conversion to ES6 API by Jake Archibald)
     * @license   Licensed under MIT license
     *            See https://raw.githubusercontent.com/stefanpenner/es6-promise/master/LICENSE
     * @version   v4.2.8+1e68dce6
     */
t.exports=function(){function t(e){return"function"==typeof e}var n=Array.isArray?Array.isArray:function(e){return"[object Array]"===Object.prototype.toString.call(e)},o=0,i=void 0,a=void 0,s=function(e,t){h[o]=e,h[o+1]=t,2===(o+=2)&&(a?a(g):b())},c="undefined"!=typeof window?window:void 0,u=c||{},f=u.MutationObserver||u.WebKitMutationObserver,l="undefined"==typeof self&&void 0!==r&&"[object process]"==={}.toString.call(r),d="undefined"!=typeof Uint8ClampedArray&&"undefined"!=typeof importScripts&&"undefined"!=typeof MessageChannel;function p(){var e=setTimeout;return function(){return e(g,1)}}var h=new Array(1e3);function g(){for(var e=0;e<o;e+=2)(0,h[e])(h[e+1]),h[e]=void 0,h[e+1]=void 0;o=0}var v,m,y,w,b=void 0;function _(e,t){var n=this,r=new this.constructor(L);void 0===r[A]&&U(r);var o=n._state;if(o){var i=arguments[o-1];s((function(){return T(o,r,i,n._result)}))}else k(n,r,e,t);return r}function x(e){if(e&&"object"==typeof e&&e.constructor===this)return e;var t=new this(L);return S(t,e),t}l?b=function(){return r.nextTick(g)}:f?(m=0,y=new f(g),w=document.createTextNode(""),y.observe(w,{characterData:!0}),b=function(){w.data=m=++m%2}):d?((v=new MessageChannel).port1.onmessage=g,b=function(){return v.port2.postMessage(0)}):b=void 0===c?function(){try{var e=Function("return this")().require("vertx");return void 0!==(i=e.runOnLoop||e.runOnContext)?function(){i(g)}:p()}catch(e){return p()}}():p();var A=Math.random().toString(36).substring(2);function L(){}function C(e,n,r){n.constructor===e.constructor&&r===_&&n.constructor.resolve===x?function(e,t){1===t._state?P(e,t._result):2===t._state?O(e,t._result):k(t,void 0,(function(t){return S(e,t)}),(function(t){return O(e,t)}))}(e,n):void 0===r?P(e,n):t(r)?function(e,t,n){s((function(e){var r=!1,o=function(e,t,n,r){try{e.call(t,n,r)}catch(e){return e}}(n,t,(function(n){r||(r=!0,t!==n?S(e,n):P(e,n))}),(function(t){r||(r=!0,O(e,t))}),e._label);!r&&o&&(r=!0,O(e,o))}),e)}(e,n,r):P(e,n)}function S(e,t){if(e===t)O(e,new TypeError("You cannot resolve a promise with itself"));else if(o=typeof(r=t),null===r||"object"!==o&&"function"!==o)P(e,t);else{var n=void 0;try{n=t.then}catch(t){return void O(e,t)}C(e,t,n)}var r,o}function E(e){e._onerror&&e._onerror(e._result),I(e)}function P(e,t){void 0===e._state&&(e._result=t,e._state=1,0!==e._subscribers.length&&s(I,e))}function O(e,t){void 0===e._state&&(e._state=2,e._result=t,s(E,e))}function k(e,t,n,r){var o=e._subscribers,i=o.length;e._onerror=null,o[i]=t,o[i+1]=n,o[i+2]=r,0===i&&e._state&&s(I,e)}function I(e){var t=e._subscribers,n=e._state;if(0!==t.length){for(var r=void 0,o=void 0,i=e._result,a=0;a<t.length;a+=3)r=t[a],o=t[a+n],r?T(n,r,o,i):o(i);e._subscribers.length=0}}function T(e,n,r,o){var i=t(r),a=void 0,s=void 0,c=!0;if(i){try{a=r(o)}catch(e){c=!1,s=e}if(n===a)return void O(n,new TypeError("A promises callback cannot return that same promise."))}else a=o;void 0!==n._state||(i&&c?S(n,a):!1===c?O(n,s):1===e?P(n,a):2===e&&O(n,a))}var R=0;function U(e){e[A]=R++,e._state=void 0,e._result=void 0,e._subscribers=[]}var D=function(){function e(e,t){this._instanceConstructor=e,this.promise=new e(L),this.promise[A]||U(this.promise),n(t)?(this.length=t.length,this._remaining=t.length,this._result=new Array(this.length),0===this.length?P(this.promise,this._result):(this.length=this.length||0,this._enumerate(t),0===this._remaining&&P(this.promise,this._result))):O(this.promise,new Error("Array Methods must be provided an Array"))}return e.prototype._enumerate=function(e){for(var t=0;void 0===this._state&&t<e.length;t++)this._eachEntry(e[t],t)},e.prototype._eachEntry=function(e,t){var n=this._instanceConstructor,r=n.resolve;if(r===x){var o=void 0,i=void 0,a=!1;try{o=e.then}catch(e){a=!0,i=e}if(o===_&&void 0!==e._state)this._settledAt(e._state,t,e._result);else if("function"!=typeof o)this._remaining--,this._result[t]=e;else if(n===N){var s=new n(L);a?O(s,i):C(s,e,o),this._willSettleAt(s,t)}else this._willSettleAt(new n((function(t){return t(e)})),t)}else this._willSettleAt(r(e),t)},e.prototype._settledAt=function(e,t,n){var r=this.promise;void 0===r._state&&(this._remaining--,2===e?O(r,n):this._result[t]=n),0===this._remaining&&P(r,this._result)},e.prototype._willSettleAt=function(e,t){var n=this;k(e,void 0,(function(e){return n._settledAt(1,t,e)}),(function(e){return n._settledAt(2,t,e)}))},e}(),N=function(){function e(t){this[A]=R++,this._result=this._state=void 0,this._subscribers=[],L!==t&&("function"!=typeof t&&function(){throw new TypeError("You must pass a resolver function as the first argument to the promise constructor")}(),this instanceof e?function(e,t){try{t((function(t){S(e,t)}),(function(t){O(e,t)}))}catch(t){O(e,t)}}(this,t):function(){throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.")}())}return e.prototype.catch=function(e){return this.then(null,e)},e.prototype.finally=function(e){var n=this.constructor;return t(e)?this.then((function(t){return n.resolve(e()).then((function(){return t}))}),(function(t){return n.resolve(e()).then((function(){throw t}))})):this.then(e,e)},e}();return N.prototype.then=_,N.all=function(e){return new D(this,e).promise},N.race=function(e){var t=this;return n(e)?new t((function(n,r){for(var o=e.length,i=0;i<o;i++)t.resolve(e[i]).then(n,r)})):new t((function(e,t){return t(new TypeError("You must pass an array to race."))}))},N.resolve=x,N.reject=function(e){var t=new this(L);return O(t,e),t},N._setScheduler=function(e){a=e},N._setAsap=function(e){s=e},N._asap=s,N.polyfill=function(){var t=void 0;if(void 0!==e)t=e;else if("undefined"!=typeof self)t=self;else try{t=Function("return this")()}catch(e){throw new Error("polyfill failed because global object is unavailable in this environment")}var n=t.Promise;if(n){var r=null;try{r=Object.prototype.toString.call(n.resolve())}catch(e){}if("[object Promise]"===r&&!n.cast)return}t.Promise=N},N.Promise=N,N}()})),function(e){if(!e.fetch){var t="URLSearchParams"in e,n="Symbol"in e&&"iterator"in Symbol,r="FileReader"in e&&"Blob"in e&&function(){try{return new Blob,!0}catch(e){return!1}}(),o="FormData"in e,i="ArrayBuffer"in e;if(i)var a=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],s=function(e){return e&&DataView.prototype.isPrototypeOf(e)},c=ArrayBuffer.isView||function(e){return e&&a.indexOf(Object.prototype.toString.call(e))>-1};h.prototype.append=function(e,t){e=l(e),t=d(t);var n=this.map[e];this.map[e]=n?n+","+t:t},h.prototype.delete=function(e){delete this.map[l(e)]},h.prototype.get=function(e){return e=l(e),this.has(e)?this.map[e]:null},h.prototype.has=function(e){return this.map.hasOwnProperty(l(e))},h.prototype.set=function(e,t){this.map[l(e)]=d(t)},h.prototype.forEach=function(e,t){for(var n in this.map)this.map.hasOwnProperty(n)&&e.call(t,this.map[n],n,this)},h.prototype.keys=function(){var e=[];return this.forEach((function(t,n){e.push(n)})),p(e)},h.prototype.values=function(){var e=[];return this.forEach((function(t){e.push(t)})),p(e)},h.prototype.entries=function(){var e=[];return this.forEach((function(t,n){e.push([n,t])})),p(e)},n&&(h.prototype[Symbol.iterator]=h.prototype.entries);var u=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];b.prototype.clone=function(){return new b(this,{body:this._bodyInit})},w.call(b.prototype),w.call(x.prototype),x.prototype.clone=function(){return new x(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new h(this.headers),url:this.url})},x.error=function(){var e=new x(null,{status:0,statusText:""});return e.type="error",e};var f=[301,302,303,307,308];x.redirect=function(e,t){if(-1===f.indexOf(t))throw new RangeError("Invalid status code");return new x(null,{status:t,headers:{location:e}})},e.Headers=h,e.Request=b,e.Response=x,e.fetch=function(e,t){return new Promise((function(n,o){var i=new b(e,t),a=new XMLHttpRequest;a.onload=function(){var e,t,r={status:a.status,statusText:a.statusText,headers:(e=a.getAllResponseHeaders()||"",t=new h,e.replace(/\r?\n[\t ]+/g," ").split(/\r?\n/).forEach((function(e){var n=e.split(":"),r=n.shift().trim();if(r){var o=n.join(":").trim();t.append(r,o)}})),t)};r.url="responseURL"in a?a.responseURL:r.headers.get("X-Request-URL");var o="response"in a?a.response:a.responseText;n(new x(o,r))},a.onerror=function(){o(new TypeError("Network request failed"))},a.ontimeout=function(){o(new TypeError("Network request failed"))},a.open(i.method,i.url,!0),"include"===i.credentials?a.withCredentials=!0:"omit"===i.credentials&&(a.withCredentials=!1),"responseType"in a&&r&&(a.responseType="blob"),i.headers.forEach((function(e,t){a.setRequestHeader(t,e)})),a.send(void 0===i._bodyInit?null:i._bodyInit)}))},e.fetch.polyfill=!0}function l(e){if("string"!=typeof e&&(e=String(e)),/[^a-z0-9\-#$%&'*+.\^_`|~]/i.test(e))throw new TypeError("Invalid character in header field name");return e.toLowerCase()}function d(e){return"string"!=typeof e&&(e=String(e)),e}function p(e){var t={next:function(){var t=e.shift();return{done:void 0===t,value:t}}};return n&&(t[Symbol.iterator]=function(){return t}),t}function h(e){this.map={},e instanceof h?e.forEach((function(e,t){this.append(t,e)}),this):Array.isArray(e)?e.forEach((function(e){this.append(e[0],e[1])}),this):e&&Object.getOwnPropertyNames(e).forEach((function(t){this.append(t,e[t])}),this)}function g(e){if(e.bodyUsed)return Promise.reject(new TypeError("Already read"));e.bodyUsed=!0}function v(e){return new Promise((function(t,n){e.onload=function(){t(e.result)},e.onerror=function(){n(e.error)}}))}function m(e){var t=new FileReader,n=v(t);return t.readAsArrayBuffer(e),n}function y(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function w(){return this.bodyUsed=!1,this._initBody=function(e){if(this._bodyInit=e,e)if("string"==typeof e)this._bodyText=e;else if(r&&Blob.prototype.isPrototypeOf(e))this._bodyBlob=e;else if(o&&FormData.prototype.isPrototypeOf(e))this._bodyFormData=e;else if(t&&URLSearchParams.prototype.isPrototypeOf(e))this._bodyText=e.toString();else if(i&&r&&s(e))this._bodyArrayBuffer=y(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer]);else{if(!i||!ArrayBuffer.prototype.isPrototypeOf(e)&&!c(e))throw new Error("unsupported BodyInit type");this._bodyArrayBuffer=y(e)}else this._bodyText="";this.headers.get("content-type")||("string"==typeof e?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):t&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},r&&(this.blob=function(){var e=g(this);if(e)return e;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?g(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(m)}),this.text=function(){var e,t,n,r=g(this);if(r)return r;if(this._bodyBlob)return e=this._bodyBlob,t=new FileReader,n=v(t),t.readAsText(e),n;if(this._bodyArrayBuffer)return Promise.resolve(function(e){for(var t=new Uint8Array(e),n=new Array(t.length),r=0;r<t.length;r++)n[r]=String.fromCharCode(t[r]);return n.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},o&&(this.formData=function(){return this.text().then(_)}),this.json=function(){return this.text().then(JSON.parse)},this}function b(e,t){var n,r,o=(t=t||{}).body;if(e instanceof b){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new h(e.headers)),this.method=e.method,this.mode=e.mode,o||null==e._bodyInit||(o=e._bodyInit,e.bodyUsed=!0)}else this.url=String(e);if(this.credentials=t.credentials||this.credentials||"omit",!t.headers&&this.headers||(this.headers=new h(t.headers)),this.method=(n=t.method||this.method||"GET",r=n.toUpperCase(),u.indexOf(r)>-1?r:n),this.mode=t.mode||this.mode||null,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&o)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(o)}function _(e){var t=new FormData;return e.trim().split("&").forEach((function(e){if(e){var n=e.split("="),r=n.shift().replace(/\+/g," "),o=n.join("=").replace(/\+/g," ");t.append(decodeURIComponent(r),decodeURIComponent(o))}})),t}function x(e,t){t||(t={}),this.type="default",this.status=void 0===t.status?200:t.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in t?t.statusText:"OK",this.headers=new h(t.headers),this.url=t.url||"",this._initBody(e)}}("undefined"!=typeof self?self:window);var H={PV:"2001",CLK:"2101",OTHER:"19999",EXP:"2201",SLD:"19999"},W=window.navigator.userAgent,K=function(){function e(t){var n=this;s(this,e),this.options=t,this.app="",this.comStat={},this.factExtra=t.factExtra||{},this.setWaUrl(t.cluster,t.https,null),this.time=+new Date,this.customStatParams={},this._time=Date.now(),this._cost_time=Date.now(),this.maxIdleTime=t.maxIdleTime||3e5;var r="",o=b.uuid(),i=b.getSessionId();if(window.ucweb||window.ucapi||/ucbrowser/i.test(W)||/UCNewsApp/i.test(W)||/Quark/i.test(W))this.comStat=f({},this.comStat,{uid:o,sid:i,appid:this.app});else{if(g){if(!(r=g.getItem("uc-stat-dn"))){r=b.uuid();try{g.setItem("uc-stat-dn",r)}catch(e){console.error(e)}}}else r=b.uuid();this.comStat=f({},this.comStat,{uid:o,sid:i,appid:this.app,dn:r,ut:r,ds:r,fr:M.platform})}window.addEventListener("visibilitychange",(function(){document.hidden||(n._time=Date.now(),n._cost_time=Date.now())}))}return c(e,[{key:"setMaxIdleTime",value:function(e){this.maxIdleTime=e}},{key:"setWaUrl",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};this.app="29351a4155a4";var r="track.uc.cn/collect",o="applog.uc.cn/collect";switch(e){case"china":M.isQuark&&(r="track.lc.quark.cn/collect",o="applog.lc.quark.cn/collect"),t?(this.waUrl="https://"+r,this.appLogUrl="https://"+o):(this.waUrl="http://"+r,this.appLogUrl="http://"+o);break;case"uc":t?(this.waUrl="https://"+r,this.appLogUrl="https://"+o):(this.waUrl="http://"+r,this.appLogUrl="http://"+o);break;case"quark":r="track.lc.quark.cn/collect",o="applog.lc.quark.cn/collect",t?(this.waUrl="https://"+r,this.appLogUrl="https://"+o):(this.waUrl="http://"+r,this.appLogUrl="http://"+o);break;case"gjtrack":t?(this.waUrl="https://gjtrack.ucweb.com/collect",this.appLogUrl="https://gjtrack.ucweb.com/collect"):(this.waUrl="http://gjtrack.ucweb.com/collect",this.appLogUrl="http://gjtrack.ucweb.com/collect");break;default:n.waUrl&&(this.waUrl=n.waUrl||""),n.appLogUrl&&(this.appLogUrl=n.appLogUrl||"")}this.waUrl+="?uc_param_str=dndsfrpfbibdosvessbtbmnilauputogpintnwmtsvcppcprsnnnchmicckpua";for(var i=b.getUrlParam("uc_param_str")||"",a=[],s=0,c=i.length;s<c;s+=2)a.push(i.slice(s,s+2));var u=window.location.search,f=u.split("&").reduce((function(e,t){var n=t.split("=");return e[n[0]]=n[1],e}),{}),l=[];a.forEach((function(e){f[e]&&l.push(e+"="+f[e])}));var d=l.join("&");d&&(this.waUrl+="&"+d)}},{key:"setCommonStatParams",value:function(e){this.customStatParams=f({},this.comStat,this.customStatParams||{},e)}},{key:"overWriteCommonStatParams",value:function(e){this.customStatParams=f({},this.comStat,e)}},{key:"recordCurrentTime",value:function(){this.time=+new Date}},{key:"getPageTime",value:function(){var e=+new Date-this.time;return e>this.maxIdleTime&&(e=this.maxIdleTime),e}},{key:"pvStat",value:function(e){e||(e={}),e.lt=this.options.ltMap.pageview||"pageview",e.c_lt="pageview",e.event_id=H.PV,e["spm-cnt"]=[e.stat_a,e.stat_b||"0"].join(".")+".0.0",this.options.onlinetimeOn&&(e.page_time=this.getPageTime(),e.oto="true",this.recordCurrentTime()),this.customStat(e)}},{key:"onlinetimeStat",value:function(e){(e=e||{}).lt=this.options.ltMap.onlinetime||"onlinetime",e.c_lt="onlinetime",e.page_time=this.getPageTime(),e.page_time<500||(this.recordCurrentTime(),this.customStat(e))}},{key:"eventStat",value:function(e){e||(e={}),e.lt=this.options.ltMap.event||"event",e.c_lt="event",e.cost_time=this._recordCostTime(),e.event_id=e.event_id||H.OTHER,this.customStat(e)}},{key:"clickStat",value:function(e){e||(e={}),e.lt="event",e.c_lt="event",e.event_id=H.CLK,this.customStat(e)}},{key:"exposureStat",value:function(e){e||(e={}),e.lt="exposure",e.c_lt="exposure",e.event_id=H.EXP,this.customStat(e)}},{key:"shareStat",value:function(e){e||(e={}),e.lt="share",e.c_lt="share",e.event_id=H.OTHER,this.customStat(e)}},{key:"_recordCostTime",value:function(){var e=Date.now()-this._cost_time;return e>this.maxIdleTime&&(e=this.maxIdleTime),this._cost_time=Date.now(),e}},{key:"customStat",value:function(e){if((e=e||{}).c_lt||(e.c_lt=e.lt||"event"),e.event_id||(e.event_id=H.OTHER),e.spm=""+[e.stat_a,e.stat_b||"0",e.stat_c||"0",e.stat_d||"0"].join("."),e.logKey){var t=(/^\//g.test(e.logKey)?e.logKey:"/"+e.logKey).replace("/","");e.arg1=t,e.arg1_h5=t}var n,r,o=b.formatStatParams(f({},this.customStatParams||this.comStat,this.factExtra,e,{ref_url:document&&document.referrer||""}));n=this.waUrl+"&"+o,r=new Image,window.navigator.platform.toLocaleLowerCase().indexOf("win")>-1||window.navigator.platform.toLocaleLowerCase().indexOf("mac")>-1?navigator.sendBeacon?navigator.sendBeacon(n,""):r.src=n:M.isUC?"android"===M.platform?M.compareVersion(M.ucVersion,"10.10.0")>0&&navigator.sendBeacon?(n+="&is_beacon=1",navigator.sendBeacon(n,"")):r.src=n:M.compareVersion(M.ucVersion,"10.9.16.801")>0&&window.ucapi&&window.ucapi.base&&window.ucapi.base.sendBeacon?window.ucapi.base.sendBeacon({url:n,data:{is_beacon:1}}):r.src=n:navigator.sendBeacon?navigator.sendBeacon(n,""):r.src=n}},{key:"appLog",value:function(e){var t=b.uuid(),n=+new Date,r=q(this.app+t+n+"AppChk#2014").substr(-8,8),o=this,i=o.comStat.appid;o.customStatParams&&o.customStatParams.appid&&(i=o.customStatParams.appid),o.appLogUrl?fetch(o.appLogUrl+"?"+b.formatParams(f({app:i,uuid:t,vno:n,chk:r,uc_param_str:"dnfrcpveutds"},o.ua,o.factExtra)),{method:"POST",headers:{"Content-Type":"text/plain"},mode:"no-cors",body:e}).catch((function(e){console.error(e),o.eventStat({op:"applogerr"})})):console.warn("appLogUrl empty")}}]),e}(),V={remoteDomain:["http://fact.test.uae.uc.cn","http://fact.dev.uae.uc.cn","http://fact.act.uae.uc.cn","http://fact.sz.uae.uc.cn","http://100.84.245.39:3000","http://100.84.245.39:8065","http://100.84.250.216:8065","http://100.84.199.90:9090","http://100.84.199.72:9090","http://fact.local.uc.cn","http://fact.local.uc.cn:9090","http://fact.local.uc.cn:8080","http://fact.uc.cn"]},z=window.navigator.userAgent,J=-1!==window.location.href.indexOf("aplusDebug"),Y=function(){return window.ucweb||window.ucapi||/ucbrowser/i.test(z)||/UCNewsApp/i.test(z)||/Quark/i.test(z)},G=function(){function e(t){s(this,e),this.chksum="H1476877875",this.options=t||{},this.baseParams={}}return c(e,[{key:"getAplusBasePrams",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"0",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"0",n={};return n["spm-cnt"]=[e,t].join(".")+".0.0",n["spm-url"]=b.getParamFromURL(window.location.href),n["spm-pre"]="",n.cache=b.makeCacheNum(),n.cna="",n}},{key:"sendPV",value:function(e){var t=f({},this.options,e,this.baseParams,this.getAplusBasePrams(e.stat_a,e.stat_b)),n="//log.mmstat.com/m.gif?"+b.formatStatParams(f({},t,{event_id:"2001"}));this._sendImg(n),Y()&&this.sendUt(f({},this.baseParams,t,{sdk:"fact-stat",gmkey:"PV"}))}},{key:"sendUt",value:function(e){e._ish5="1",e.url=window.location.href,e.funcId=e.event_id||H[e.gmkey],e._toUT=2,e._bridgeName="UCBridge",e.ref_url=document&&document.referrer||"",e.spm&&(e.spm=[e.stat_a||"0",e.stat_b||"0"].concat(e.spm).join(".")),Object.keys(e).forEach((function(t){"gokey"===t&&(e[t]=encodeURIComponent(e[t]))})),function(e){var t={};for(var n in e)e.hasOwnProperty(n)&&"functype"!==n&&(t[n]=e[n]);Y()&&(t.success=function(e){J&&window.alert(JSON.stringify(e))},t.fail=function(e){J&&window.alert(JSON.stringify(e))},window.ucapi&&(window.ucapi.ut&&window.ucapi.ut.toUT2?window.ucapi.ut.toUT2(t):window.ucapi.invoke&&window.ucapi.invoke("ut.toUT2",f({},t,{success:function(){},fail:function(e){console.warn("ucapi.ut.toUT2 invoke fail: ",e)}}))))}(e)}},{key:"_postData",value:function(e,t){return Object.keys(t).forEach((function(e){"gokey"===e&&(t[e]=encodeURIComponent(t[e]))})),navigator.sendBeacon(e,JSON.stringify(t))}},{key:"_sendImg",value:function(e){}},{key:"_send",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(e){var r=n;e=/^\//g.test(e)?e:"/"+e,r=X(f({},r,{event_id:n.event_id||H[t],arg1_h5:e.replace("/",""),spm:[n.stat_a||"0",n.stat_b||"0"].concat(n.spm||["0","0"]).join(".")}));var o=f({logtype:2,gmkey:t,logkey:e,gokey:r,event_id:n.event_id||H[t]},this.getAplusBasePrams(n.stat_a,n.stat_b));Y()&&this.sendUt(f({},this.options,{sdk:"fact-stat"},o))}else console.error("logkey is empty, please check...")}},{key:"setBasePrams",value:function(e){this.baseParams=f({},this.baseParams,e||{})}},{key:"overWriteBasePrams",value:function(e){this.baseParams=e}},{key:"clickFn",value:function(e,t){t.event_id&&t.event_id!==H.CLK&&console.warn("Click\u65e5\u5fd7\u4e0d\u652f\u6301\u8bbe\u7f6e\u81ea\u5b9a\u4e49event_id"),this._send(e,"CLK",Q({},this.baseParams,t))}},{key:"scrollFn",value:function(e,t){t.event_id&&t.event_id!==H.SLD&&console.warn("SLD\u65e5\u5fd7\u4e0d\u652f\u6301\u8bbe\u7f6e\u81ea\u5b9a\u4e49event_id"),this._send(e,"SLD",Q({},this.baseParams,t))}},{key:"expFn",value:function(e,t){t.event_id&&t.event_id!==H.EXP&&console.warn("Exposure\u65e5\u5fd7\u4e0d\u652f\u6301\u8bbe\u7f6e\u81ea\u5b9a\u4e49event_id"),this._send(e,"EXP",Q({},this.baseParams,t))}},{key:"otherFn",value:function(e,t){this._send(e,"OTHER",Q({},this.baseParams,t))}}]),e}();function Q(){for(var e=[].slice.call(arguments),t=e[0]||{},n=1;n<e.length;n++){var r=e[n];if(r)for(var o in r)r.hasOwnProperty(o)&&(t[o]=r[o])}return t}function X(e){var t=[];for(var n in e=e||{})e.hasOwnProperty(n)&&t.push(n+"="+e[n]);return t.length?t.join("&"):""}var Z=window.innerHeight,$=window.innerWidth;function ee(e){var t=[];[].slice.call(b.queryNotExposureD()).forEach((function(e){if(function(e){var t=e.getBoundingClientRect(),n=e.clientWidth,r=e.clientHeight,o=t.left,i=t.right,a=t.top,s=t.bottom;if(window&&window.getComputedStyle&&"fixed"===window.getComputedStyle(e,null).position)return!0;if(0===o&&0===i&&0===a&&0===s)return!1;if(n>100&&r>100){var c=!1,u=!1,f=!1,l=!1;return a>=0&&s-Z<r/2&&(u=!0),a<0&&s>r/2&&(c=!0),o>=0&&i-$<n/2&&(f=!0),o<0&&i>n/2&&(l=!0),!(!u||!f&&!l)||!(!c||!f&&!l)}if(n>100&&r<=100){var d=!1,p=!1;return o>=0&&i-$<n/2&&(d=!0),o<0&&i>n/2&&(p=!0),!!(a>=0&&s<Z&&(d||p))}if(r>100&&n<=100){var h=!1,g=!1;return a>=0&&s-Z<r/2&&(g=!0),a<0&&s>r/2&&(h=!0),!!(o>=0&&i<$&&(h||g))}return o>=0&&i<$&&a>=0&&s<Z}(e)){var n="",r="",o={},i=!1;if(e.setAttribute("data-fact-exposed","true"),b.hasStatC(e)){if((n=b.getStatCValue(e))||console.error("[exposure] statC is not assign"),r=b.getStatDValue(e)||"default",i=b.isNotUseDomLog(e,"data-fact-notuseexposure"),o=b.getExposureExtraParams(e))try{o=JSON.parse(o)}catch(e){console.error("data-fact-exposure-extra is not an object")}}else{for(var a=e.parentNode;a&&a!==document.body&&!b.hasStatC(a);)a=a.parentNode;if(n=b.getStatCValue(a),a!==document.body&&""!==n.trim()||console.error("[exposure] statC is not assign"),r=b.getStatDValue(e),i=b.isNotUseDomLog(e,"data-fact-notuseexposure"),o=b.getExposureExtraParams(e))try{o=JSON.parse(o)}catch(e){console.error("data-fact-exposure-extra is not an object")}if(!r){var s=b.queryStatDList(a);[].slice.call(s).forEach((function(e,t){b.getStatDValue(e)||b.setStatD(e,""+t)}))}r=b.getStatDValue(e)}if(n&&r&&!i){var c=f({stat_c:n,stat_d:r,time:+new Date,logKey:b.getExposureLogKeyValue(e)},o);t.push(c)}}})),e(t)}function te(){this.listeners={}}te.prototype.on=function(e,t){return t?(this.interactive=!0,this.listeners[e]=this.listeners[e]||[],this.listeners[e].push(t),this):this},te.prototype.off=function(e,t){if(!this.listeners[e])return this;var n=this.listeners[e]||[],r=n.length;if(r>0)if(t)for(;r--;)n[r]===t&&n.splice(r,1);else n.length=0;return this},te.prototype.once=function(e,t){if(!t)return this;var n=this;return this.on(e,(function r(o){t&&t(o),n.off(e,r)})),this},te.prototype.emit=function(e){if(this.listeners[e]){for(var t=this.listeners[e]||[],n=t.slice(0),r=[],o=1;o<arguments.length;o++)r.push(arguments[o]);var i=void 0;for(i=0;i<n.length;i++)n[i].apply(this,r)}},new te;var ne=function(e){function t(){s(this,t);var e,n=p(this,(t.__proto__||Object.getPrototypeOf(t)).call(this));return n.statA="",n.statB="",n.exposureStatOn=!1,n.needUT=!0,n.needWa=!0,n.onlinetimeOn=!1,n.isSinglePage=!0,n.factWindow=null,n.clusterName="china",n.ltMap={},n.shareOn=!1,n.refer="",n.factExtra=b.getUrlFactExtraParams(),n._parseMeta(),(n.onlineTimeChance?100*Math.random()<n.onlineTimeChance:100*Math.random()<30)||(n.onlinetimeOn=!1),n._init(),n._excuteQueueActions(),n._queueActions(),e=function(e,t,r,o,i){if(n.statA&&n.statB&&!r){var a=n.wa.customStatParams||n.wa.comStat,s=f({},e,{stat_all:n.statA+"."+n.statB+"."+e.stat_c+"."+e.stat_d,stat_a:n.statA,stat_b:n.statB,refer:n.refer},a);if(n.needWa&&n.wa.clickStat(s),n.needUT){var c=f({},s,e.extra,{spm:[e.stat_c,e.stat_d],_g_encode:"utf-8"});n.ut.clickFn(e.logKey,c)}}n.needWa&&n.onlinetimeOn&&n.statA&&n.statB&&n.onlinetimeStat(),t&&b.isUrl(t)&&e.stat_c&&e.stat_d&&!r&&(o.preventDefault(),setTimeout((function(){n.statA&&n.statB&&(t=b.addSearchQueries(t,{spm:n.statA+"."+n.statB})),"_blank"===i.getAttribute("target")?window.open(t):window.location.href=t}),200))},window.addEventListener("click",(function(t){var n=t.target,r="";"A"===n.nodeName&&(r=n.getAttribute("href"));for(var o=n;n.hasAttribute&&n.parentNode&&n!==document.body&&!b.hasStatD(n);)n=n.parentNode;for(;o.hasAttribute&&o.parentNode&&o!==document.body&&!r;)"A"===(o=o.parentNode).nodeName&&(r=o.getAttribute("href"));var i="",a="",s={},c=!1;if(n.hasAttribute&&b.hasStatD(n)){if(b.hasStatC(n)){if((i=b.getStatCValue(n))||console.error("[addClickStat] statC is not assign"),a=b.getStatDValue(n),c=b.isNotUseDomLog(n,"data-fact-notuseclick"),s=b.getClickExtraParams(n))try{s=JSON.parse(s)}catch(e){console.error("data-fact-click-extra is not an object")}a||(b.setStatD(n,"default"),a="default")}else{for(var u=n.parentNode;u&&u!==document.body&&!b.hasStatC(u);)u=u.parentNode;if(i=b.getStatCValue(u),u!==document.body&&""!==i.trim()||console.error("[addClickStat] statC is not assign"),a=b.getStatDValue(n),c=b.isNotUseDomLog(n,"data-fact-notuseclick"),s=b.getClickExtraParams(n))try{s=JSON.parse(s)}catch(e){console.error("data-fact-click-extra is not an object")}if(!a){var l=b.queryStatDList(u);[].slice.call(l).forEach((function(e,t){b.getStatDValue(e)||b.setStatD(e,""+t)}))}a=b.getStatDValue(n)}var d=f({stat_c:i,stat_d:a,logKey:b.getClickLogKeyValue(n),type:"click"},s);e(d,r,c,t,o)}}),!0),n._addScrollEvent(),n._touchMoveEvent(),n.exposureStatOn&&n._startAutoExposure(),n._addSdkLoadEvent(),n}return l(t,e),c(t,[{key:"_noDocument",value:function(){return!document||!document.querySelector}},{key:"_startAutoExposure",value:function(){var e=this;this._noDocument()||(this._addMutationObserver(),window.addEventListener("resize",(function(){Z=window.innerHeight,$=window.innerWidth,ee((function(t){e._sendAutoExposureLog(t)}))}),!1),setTimeout((function(){ee((function(t){e._sendAutoExposureLog(t)}))}),1e3))}},{key:"updateConfig",value:function(e){var t=this,n=e.exposureStatOn,r=e.clusterName;!this.exposureStatOn&&n&&this._startAutoExposure(),r&&this.clusterName!==r&&this.wa.setWaUrl(r,"https:"===location.protocol,{waUrl:e.waUrl,appLogUrl:e.appLogUrl}),Object.keys(e).forEach((function(n){t[n]=e[n]}))}},{key:"_sendAutoExposureLog",value:function(e){var t=this;0!==e.length&&e.map((function(e){return f({lt:t.ltMap.exposure||"exposure",c_lt:"exposure",stat_all:t.statA+"."+t.statB+"."+e.stat_c+"."+e.stat_d,stat_a:t.statA,stat_b:t.statB,arg1:e.logKey,arg_h5:e.logKey,event_id:"2201"},e)})).forEach((function(e){t.emit("auto_exposure",e),t.needWa&&t.wa.exposureStat(f({},e)),t.needUT&&e.logKey&&(delete e.lt,delete e.c_lt,delete e.stat_all,t.ut.expFn(e.logKey,f({stat_a:t.statA,stat_b:t.statB,spm:[e.stat_c,e.stat_d],_g_encode:"utf-8"},e)))}))}},{key:"_addSdkLoadEvent",value:function(){var e=this;window.addEventListener("message",(function(t){if(-1!==V.remoteDomain.indexOf(t.origin)){e.factWindow=t;var n=t.data;"object"!==b.type(n)&&console.error("[addSdkLoadEvent] message must be an object,like"+JSON.stringify({Action:"loadAnalyzeSDK",sdk:"xxx-url"})),"loadAnalyzeSDK"===n.Action&&e._loadAnalyzeSDK(n.sdk,t)}}))}},{key:"_addScrollEvent",value:function(){var e=this;window.addEventListener("scroll",b.throttle((function(){e.exposureStatOn&&e.statA&&e.statB&&ee((function(t){e._sendAutoExposureLog(t)})),e.onlinetimeOn&&e.statA&&e.statB&&e.onlinetimeStat()}),300),!0)}},{key:"_touchMoveEvent",value:function(){var e=this;window.addEventListener("touchmove",b.throttle((function(){e.exposureStatOn&&e.statA&&e.statB&&ee((function(t){e._sendAutoExposureLog(t)})),e.onlinetimeOn&&e.statA&&e.statB&&e.onlinetimeStat()}),300),!0)}},{key:"_excuteQueueActions",value:function(){var e=this;window.fact_stat_queue&&window.fact_stat_queue.length>0&&window.fact_stat_queue.forEach((function(t){t.action?e[t.action]?e[t.action].apply(e,t.arguments):console.error("[excuteQueueActions] action "+t.action+" is not exist in FactStat"):console.error("[excuteQueueActions] action can not be empty")}))}},{key:"_parseMeta",value:function(){var e=this;if(!this._noDocument()){var t=document.querySelector('meta[name="data-fact"]')||document.querySelector('meta[name="spm-id"]')||document.querySelector('meta[name="data-spm"]');this.statA=t&&t.getAttribute("content")||"",this.statB=document.body.getAttribute("data-fact")||document.body.getAttribute("data-spm"),[].slice.call(document.getElementsByTagName("meta")).forEach((function(t){if("exposure-on"===t.getAttribute("name")&&(e.exposureStatOn=!0),"ut-on"===t.getAttribute("name")&&(e.needUT=!0),"onlinetime-on"===t.getAttribute("name")&&(e.onlinetimeOn=!0,e.onlineTimeChance=t.getAttribute("chance"),e.onlineTimeChance&&(e.onlineTimeChance=parseInt(e.onlineTimeChance,10))),"cluster"===t.getAttribute("name")&&(e.clusterName=t.getAttribute("content")),"multiple-page"!==t.getAttribute("name")&&"single-page"!==t.getAttribute("name")||(e.isSinglePage=!0),"ltmap"===t.getAttribute("name")){var n=t.getAttribute("content");if(n)try{e.ltMap=JSON.parse(n)}catch(e){console.error("ltmap is not an obj")}}}))}}},{key:"_init",value:function(){var e=this;this.statA||this.isSinglePage||console.error("[init] statA must specify first"),this.wa=new K({https:"https:"===location.protocol,cluster:this.clusterName,onlinetimeOn:this.onlinetimeOn,ltMap:this.ltMap,factExtra:this.factExtra}),this.needUT&&(this.ut=new G(this.factExtra)),this.linkNode=this.parseLinkNode(),this.isSinglePage||(this.wa.pvStat({stat_a:this.statA,stat_b:this.statB,refer:this.linkNode}),this.needUT&&this.sendUtPvStat()),window.onclose=function(){e.cleanLinkNodeBefore(),e.cleanLinkNode()}}},{key:"_addMutationObserver",value:function(){var e=this,t=window.MutationObserver||window.WebKitMutationObserver||window.MozMutationObserver,n=window.document.querySelector("body");if(n)if(t){var r=b.throttle((function(){ee((function(t){e._sendAutoExposureLog(t)}))}),1e3);new t((function(){r()})).observe(n,{attributes:!0,childList:!0,subtree:!0})}else this.eventStat({op:"not support mutation"}),console.log("mutation observer not support")}},{key:"_loadAnalyzeSDK",value:function(e,t){var n=document.createElement("script");n.src=e,document.head.appendChild(n),n.addEventListener("load",(function(){t.source.postMessage({msg:"render sdk onload"},t.origin)}))}},{key:"setStatA",value:function(e){this.statA=e}},{key:"setStatB",value:function(e){this.statB=e}},{key:"getstatAB",value:function(){return{statA:this.statA,statB:this.statB}}},{key:"sendPV",value:function(e){if(this.checkStatAB()){var t="",n=this.getLinkNode();if(n)if(n!==this.statB)t=n;else{for(var r=this.getLinkNodeBefore(),o=r.length-1;r[o]===this.statB;)o-=1;t=r[o]}this.refer=t,this.wa.pvStat(f({stat_a:this.statA,stat_b:this.statB,refer:t},e||{})),this.setLinkNodeBefore(this.statB),n?n!==this.statB&&this.setLinkNode(this.statB):this.setLinkNode(this.statB)}}},{key:"eventStat",value:function(e){this.statA?(this.wa.eventStat(f({stat_a:this.statA,stat_b:this.statB},e)),this.onlinetimeOn&&this.wa.onlinetimeStat({stat_a:this.statA,stat_b:this.statB,refer:this.refer})):console.error("A \u4f4d\u7f6e\u5fc5\u9700\u5148\u8bbe\u7f6e")}},{key:"clickStat",value:function(e){this.checkStatAB()&&(this.wa.clickStat(f({stat_a:this.statA,stat_b:this.statB},e)),this.onlinetimeOn&&this.wa.onlinetimeStat({stat_a:this.statA,stat_b:this.statB,refer:this.refer}))}},{key:"exposureStat",value:function(e){this.checkStatAB()&&this.wa.exposureStat(f({stat_a:this.statA,stat_b:this.statB},e))}},{key:"customStat",value:function(e){this.checkStatAB()&&this.wa.customStat(f({stat_a:this.statA,stat_b:this.statB},e))}},{key:"onlinetimeStat",value:function(){this.wa.onlinetimeStat({stat_a:this.statA,stat_b:this.statB,refer:this.refer})}},{key:"setLinkNode",value:function(e){v.setItem("referPage",e),this.linkNode=e}},{key:"setLinkNodeBefore",value:function(e){var t=this.getLinkNodeBefore();t.push(e),v.setItem("referPageBefore",JSON.stringify(t))}},{key:"getLinkNodeBefore",value:function(){try{return v.getItem("referPageBefore")?JSON.parse(v.getItem("referPageBefore")):[]}catch(e){return[]}}},{key:"cleanLinkNodeBefore",value:function(){v.removeItem("referPageBefore")}},{key:"cleanLinkNode",value:function(){this.linkNode="",v.removeItem("referPage")}},{key:"getLinkNode",value:function(){return v.getItem("referPage")||this.linkNode}},{key:"parseLinkNode",value:function(){var e=b.getUrlParam("factspm");if(e){var t=e.split(".");if(t[0]===this.statA&&t[1])return t[1]}return""}},{key:"setUtParams",value:function(e){this.needUT&&this.ut.setBasePrams(e)}},{key:"setOverWriteUtParams",value:function(e){this.needUT&&this.ut.overWriteBasePrams(e)}},{key:"setWaParams",value:function(e){this.wa.setCommonStatParams(e)}},{key:"setCommonStatParams",value:function(e){this.wa.setCommonStatParams(e)}},{key:"overWriteCommonStatParams",value:function(e){this.wa.overWriteCommonStatParams(e)}},{key:"setSPM",value:function(e,t){this.statA=e,this.statB=t}},{key:"_queueActions",value:function(){window.fact_stat_queueAction&&window.fact_stat_queueAction.length>0&&window.fact_stat_queueAction.forEach((function(e){e.action&&e.action.apply(e.arguments)}))}},{key:"checkStatAB",value:function(){return!(!this.statA||!this.statB)||(console.error("AB \u4f4d\u7f6e\u5fc5\u9700\u5148\u8bbe\u7f6e"),!1)}},{key:"sendUtPvStat",value:function(e){if(this.checkStatAB()){var t=f({is_auto:!1,logtype:1},e,{stat_a:this.statA,stat_b:this.statB});this.needUT&&this.ut.sendPV(t)}}},{key:"sendEventLog",value:function(e,t){this.statA?this.needUT&&this.ut.otherFn(t,f({stat_a:this.statA,stat_b:this.statB,spm:[e.c||"0",e.d||"0"]},e,{_g_encode:"utf-8"})):console.error("A \u4f4d\u7f6e\u5fc5\u9700\u5148\u8bbe\u7f6e")}},{key:"sendClickLog",value:function(e,t){this.checkStatAB()&&this.needUT&&this.commonFn(f({stat_a:this.statA,stat_b:this.statB},e),t,"click")}},{key:"sendExposureLog",value:function(e,t){this.checkStatAB()&&this.commonFn(f({stat_a:this.statA,stat_b:this.statB},e),t,"exposure")}},{key:"commonFn",value:function(e,t,n){if(this.checkStatAB()&&this.needUT){var r=e.c||e.stat_c,o=e.d||e.stat_d||"0";if(r&&o){var i=f({stat_a:this.statA,stat_b:this.statB},e,{spm:[r,o],_g_encode:"utf-8"});t&&("click"===n?this.ut.clickFn(t,i):this.ut.expFn(t,i))}else console.error(n+" "+t+" \u7f3a\u5c11c\u3001d\u4f4d\u4fe1\u606f\uff0c\u8bf7\u8865\u5145c\u3001d\u5b57\u6bb5\u4fe1\u606f")}}},{key:"utParams",get:function(){return this.ut.baseParams}}]),t}(te),re=o((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.useColors=r,t.getColor=function(e){var t=encodeURIComponent(e).charCodeAt(0)%n.length;return n[t]};var n=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"];function r(){return!("undefined"==typeof location||!location.href.indexOf("color=true"))}t.isUseColors=r()})),oe=n(re),ie=re.useColors,ae=re.getColor,se=re.isUseColors,ce=Object.freeze({__proto__:null,default:oe,__moduleExports:re,useColors:ie,getColor:ae,isUseColors:se}),ue=ce&&oe||ce,fe=n(o((function(e,t){function n(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return{log:o("log",e,t),warn:o("warn",e,t),err:o("err",e,t)}};var r={log:function(){var e;(e=console).log.apply(e,arguments)},warn:function(){var e;(e=console).warn.apply(e,arguments)},err:function(){var e;(e=console).error.apply(e,arguments)},noop:function(){}};function o(e,t){var o=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(!a(e,t,o))return r.noop;if(ue.isUseColors&&"log"===e){var i=(0,ue.getColor)(t);t=["%c["+t+"]","color:"+i+";font-size:1.3em;font-weight:bold;"]}else t=["["+t+"]"];return function(){for(var o=arguments.length,i=Array(o),a=0;a<o;a++)i[a]=arguments[a];r[e].apply(r,n(t).concat(i))}}var i=function(){if("undefined"!=typeof window){var e=window.location.href.toLowerCase().match(/debug=([\*\d\w,:]+)/);return e&&e[1].split(",")||""}return""}();function a(e,t,n){return!!n||"err"===e||i.indexOf("*")>=0||!(i||[]).every((function(e){return t.toLowerCase().indexOf(e)<0}))}})))("fact-stat"),le={needUT:!0,needWa:!0,onlinetimeOn:!1,onlineTimeChance:30,exposureStatOn:!0,isSinglePage:!0,clusterName:"china",waUrl:"",appLogUrl:""};return new(function(e){function t(){return s(this,t),p(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return l(t,e),c(t,[{key:"setMaxIdleTime",value:function(e){this.wa.setMaxIdleTime(e)}},{key:"setup",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.config,n=e.a,r=e.b,o=d(e,["config","a","b"]);n&&this.setStatA(n),r&&this.setStatB(r),this.baseParam(o),this.setWaParams(o),t&&this.updateConfig(f({},le,t)),b.isNuaEnv()&&(this.baseParam({noah_qr_session_code:b.getJsSid(),lt_web:"ut"}),this.updateConfig({clusterName:"other",waUrl:"https://"+b.getDomain()+"/collect"}))}},{key:"baseParam",value:function(e,t){var n="object"===(void 0===e?"undefined":a(e))?e:u({},e,t);this.needUT&&this.setUtParams(n),this.needWa&&this.setCommonStatParams(n)}},{key:"pageview",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.b,r=d(t,["b"]);if(!e)throw new TypeError("[ut] pageview \u7f3a\u5c11 page \u53c2\u6570");if(!n)throw new TypeError("[ut] pageview \u7f3a\u5c11 b \u4f4d");this.setup({b:n});var o={page:e,page_h5:e};this.baseParam(o),this.needUT&&this.sendUtPvStat(r),this.needWa&&this.sendPV(r)}},{key:"event",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!e)throw new TypeError("event \u7f3a\u5c11 arg1 \u53c2\u6570");var n=t,r=n.c,o=n.d;t=f({stat_c:r||"0",stat_d:o||"0"},t),this.needUT&&this.sendEventLog(t,e),this.needWa&&this.eventStat(f({},t,{type:"event",arg1:e,arg1_h5:e})),fe.log("event",f({arg1:e},t))}},{key:"exposure",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!e)throw new TypeError("exposure \u7f3a\u5c11 arg1 \u53c2\u6570");t=this._parse(t),this.needUT&&this.sendExposureLog(t,e),this.needWa&&this.exposureStat(f({},t,{type:"exposure",arg1:e,arg1_h5:e})),fe.log("exposure",f({arg1:e},t))}},{key:"click",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!e)throw new TypeError("click \u7f3a\u5c11 arg1 \u53c2\u6570");t=this._parse(t),this.needUT&&this.sendClickLog(t,e),this.needWa&&this.clickStat(f({},t,{type:"click",arg1:e,arg1_h5:e})),fe.log("click",f({arg1:e},t))}},{key:"_parse",value:function(e){var t=e.c,n=e.d,r=void 0===n?"0":n,o=d(e,["c","d"]);if(!t)throw new TypeError("[ut] \u7f3a\u5c11 c \u4f4d\u53c2\u6570");return f({stat_c:t,stat_d:r},o)}}]),t}(ne))},e.exports=o()}).call(this,n(156),n(333))},function(e,t,n){"use strict";n(282)("Uint8",(function(e){return function(t,n,r){return e(this,t,n,r)}}),!0)},function(e,t,n){"use strict";var r=n(2),o=n(364),i=n(1),a=n(10),s=n(322).onFreeze,c=Object.freeze;r({target:"Object",stat:!0,forced:i((function(){c(1)})),sham:!o},{freeze:function(e){return c&&a(e)?c(s(e)):e}})},function(e,t,n){"use strict";var r=n(1);e.exports=!r((function(){return Object.isExtensible(Object.preventExtensions({}))}))},function(e,t,n){"use strict";(function(t){n(32),n(148),n(103),n(45),n(46);var r=n(274),o=n(503),i={"Content-Type":"application/x-www-form-urlencoded"};function a(e,t){!r.isUndefined(e)&&r.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}var s,c={adapter:(("undefined"!=typeof XMLHttpRequest||void 0!==t)&&(s=n(414)),s),transformRequest:[function(e,t){return o(t,"Content-Type"),r.isFormData(e)||r.isArrayBuffer(e)||r.isBuffer(e)||r.isStream(e)||r.isFile(e)||r.isBlob(e)?e:r.isArrayBufferView(e)?e.buffer:r.isURLSearchParams(e)?(a(t,"application/x-www-form-urlencoded;charset=utf-8"),e.toString()):r.isObject(e)?(a(t,"application/json;charset=utf-8"),JSON.stringify(e)):e}],transformResponse:[function(e){if("string"==typeof e)try{e=JSON.parse(e)}catch(e){}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,validateStatus:function(e){return e>=200&&e<300}};c.headers={common:{Accept:"application/json, text/plain, */*"}},r.forEach(["delete","get","head"],(function(e){c.headers[e]={}})),r.forEach(["post","put","patch"],(function(e){c.headers[e]=r.merge(i)})),e.exports=c}).call(this,n(333))},function(module,exports,__webpack_require__){var require;__webpack_require__(66),__webpack_require__(275),__webpack_require__(150),__webpack_require__(32),__webpack_require__(242),__webpack_require__(102),__webpack_require__(149),__webpack_require__(234),__webpack_require__(152),__webpack_require__(103),__webpack_require__(67),function(context){var require,define,e,m,b;e={},m=[],b={},require=function(t){if(!e[t])throw"module "+t+" not found";if(t in b)throw"Cycle in require graph: "+m.slice(b[t]).join("->")+"->"+t;if(e[t].factory)try{return b[t]=m.length,m.push(t),function(e){var t=e.factory;return e.exports={},delete e.factory,t((function(t){var n=t;return"."===t.charAt(0)&&(n=e.id.slice(0,e.id.lastIndexOf("."))+"."+t.slice(2)),require(n)}),e.exports,e),e.exports}(e[t])}finally{delete b[t],m.pop()}return e[t].exports},(define=function(t,n){if(e[t])throw"module "+t+" already defined";e[t]={id:t,factory:n}}).remove=function(t){delete e[t]},define.moduleMap=e,define("util",(function(e,t){var n=e("constant"),r=Object.prototype.toString,o={getTop:function(e){var t=e.offsetTop;return null!=e.offsetParent&&(t+=o.getTop(e.offsetParent)),t},getLeft:function(e){var t=e.offsetLeft;return null!=e.offsetParent&&(t+=o.getLeft(e.offsetParent)),t},getCss3offsetTop:function(e){var t="none"==(t=getComputedStyle(e,null).webkitTransform)?0:parseInt(t.split(",")[5].replace(")",""));return"BODY"!=e.parentNode.tagName&&(t+=o.getCss3offsetTop(e.parentNode)),t},getCss3offsetLeft:function(e){var t="none"==(t=getComputedStyle(e,null).webkitTransform)?0:parseInt(t.split(",")[4]);return"BODY"!=e.parentNode.tagName&&(t+=o.getCss3offsetLeft(e.parentNode)),t},getNodePosById:function(e){return(e=document.getElementById(e))?[o.getLeft(e)+o.getCss3offsetLeft(e),o.getTop(e)+o.getCss3offsetTop(e),e.offsetWidth,e.offsetHeight]:""}};t.getPlatform=function(){return window.UCShellJava?n.platform.ANDROID:window.__BrowserJSBridgeObj?n.platform.IPHONE:n.platform.OTHERS},t.isString=function(e){return"[object String]"===r.call(e)},t.isFunction=function(e){return"[object Function]"===r.call(e)},t.isArray=function(e){return"[object Array]"===r.call(e)},t.isEmptyObj=function(e){for(var t in e)if(e.hasOwnProperty(t))return!1;return!0},t.clone=function e(t){var n,r,o=t;if(t&&((r=t instanceof Array)||t instanceof Object))for(n in o=r?[]:{},t)t.hasOwnProperty(n)&&(o[n]=e(t[n]));return o},t.getNodePosById=o.getNodePosById,t.debugLog=function(e){if(ucapi&&ucapi.debug){console.log(e);var t=navigator.userAgent;(t.match(/(Android)\s+([\d.]+)/)||t.match(/(iPhone\sOS)\s([\d_]+)/))&&alert(e)}},t.log=function(){encodeURIComponent(location.href)}})),define("constant",(function(e,t){t.platform={ALL:"all",ANDROID:"android",IPHONE:"iphone",OTHERS:"others"},t.debug=!1,t.callbackStatus={OK:0,ACCESS_DENY:1,INVALID_METHOD:2,INVALID_PARAM:3,UNKNOWN_ERROR:4},t.callbackStatusMessage=["OK","ACCESS_DENY","INVALID_METHOD","INVALID_PARAMS","UNKNOWN_ERROR"]})),define("bridge",(function(g,e,m){function b(e){return e=e.replace("+","%20"),decodeURIComponent(e)}function h(e){if(ucapi.invoke)return!0;e&&e.fail&&e.fail.call(this,{errCode:a.callbackStatus.INVALID_METHOD,errMsg:"ucapi.invoke not exsit, should load in UCBrowser !"})}function c(e,t,n){e&&e.call(this,{errCode:t,errMsg:n})}var f=g("util"),a=g("constant"),n={};e.exec=function(e,t,n){if(f.log(e,"invoke"),h(t)){var r=f.getPlatform();if(n!==a.platform.ALL&&r!==n)t&&t.fail&&c(t.fail,a.callbackStatus.INVALID_METHOD,"this api not supported this platform");else{if(t&&t.fail){var o=t.fail;t.fail=function(t){f.log(e,"fail"),t.errMsg=a.callbackStatusMessage[t.errCode],o.call(this,t),"function"==typeof ucapi.onFail&&ucapi.onFail(e,t)}}else"function"==typeof ucapi.onFail&&((t=t||{}).fail=function(t){ucapi.onFail(e,t)});ucapi.invoke(e,t)}}},e.subscribeEvent=function(e,t){h(t)&&e&&t.success&&ucapi.on(e,t.success)},e.onEvent=function(e,t,r){f.log(e,"invoke"),t&&(f.getPlatform()!=a.platform.ANDROID||"biz.onShare"!=e||!t.screenshotHtmlNodeId||""==t.screenshotHtmlNodeId||t.screenshotRect&&""!=t.screenshotRect||(""!=(r=f.getNodePosById(t.screenshotHtmlNodeId))&&(r=r.join(",")),t.screenshotRect=r),n[e]=t)},e.offEvent=function(e){n[e]=void 0},e.triggerEvent=function(e){if(e&&e.method)if(n[e.method]){var t=n[e.method];if(f.getPlatform()==a.platform.ANDROID){if(e.channel&&"invokeJs"==e.channel){var r="";t.trigger&&(r=t.trigger(e.data)),null==r?((e=f.clone(t)).success&&delete e.success,e.fail&&delete e.fail,e.trigger&&delete e.trigger):e=r}else(r={}).method=e.method,e.callbackId&&(r.callbackId=e.callbackId),r.args=t,ucapi.base.triggerEventCallback(r),e=void 0;return e}((r=t.trigger&&t.trigger(e.data))&&"object"==typeof r||e.callbackId)&&ucapi.base.triggerEventCallback({method:e.method,callbackId:e.callbackId,args:t,trigger_result:r})}else f.getPlatform()!==a.platform.ANDROID&&e.callbackId&&e.method&&"biz.onShare"!=e.method&&ucapi.base.triggerEventCallback({method:e.method,callbackId:e.callbackId})},e.invokeJs=function(a){if(a.js&&a.callbackId){var c=b(a.js);if(a={result:"",callbackId:a.callbackId},eval(c),null!=ucapi.base.injectInvokeJs)try{f.log("base.injectInvokeJs","inject");var d=ucapi.base.injectInvokeJs();d||(d=""),a.result=d}catch(e){f.log("base.injectInvokeJs","error")}ucapi.base.invokeJsCallback(a)}}})),define("apidef",(function(e,t){var n=e("constant").platform,r=e("apiCompatibleImpl"),o=e("bridge"),i=e("util");t.ucapi={exec:function(e,t){r.exec(e,t,n.ALL)},onEvent:function(e,t){i.isFunction(t.trigger)?o.onEvent(e,t):i.isFunction(t.success)?o.subscribeEvent(e,t):o.onEvent(e,t)},offEvent:function(e){o.offEvent(e)},base:{checkAPI:function(e){o.exec("base.checkAPI",e,n.ALL)},getVersion:function(e){o.exec("base.getVersion",e,n.ALL)},displayMode:function(e){o.exec("base.displayMode",e,n.ALL)},setDisplayMode:function(e){o.exec("base.setDisplayMode",e,n.ALL)},imageMode:function(e){o.exec("base.imageMode",e,n.ALL)},onDisplayModeChange:function(e){o.subscribeEvent("base.onDisplayModeChange",e,n.ANDROID)},onImageModeChange:function(e){o.subscribeEvent("base.onImageModeChange",e,n.ANDROID)},triggerEvent:function(e){return o.triggerEvent(e)},triggerEventCallback:function(e){o.exec("base.triggerEventCallback",e,n.ALL)},invokeJs:function(e){o.invokeJs(e)},invokeJsCallback:function(e){o.exec("base.invokeJsCallback",e,n.ANDROID)},setImageReader:function(e){o.exec("base.setImageReader",e,n.IPHONE)},sendBeacon:function(e){o.exec("base.sendBeacon",e,n.IPHONE)},copyToClipboard:function(e){o.exec("base.copyToClipboard",e,n.ALL)},addBookmark:function(e){o.exec("base.addBookmark",e,n.ALL)},checkBookmarkIsExist:function(e){o.exec("base.checkBookmarkIsExist",e,n.ALL)},addFavorite:function(e){o.exec("base.addFavorite",e,n.ALL)},addHomeBookMark:function(e){o.exec("base.addHomeBookMark",e,n.ALL)},checkHomeBookMarkIsExist:function(e){o.exec("base.checkHomeBookMarkIsExist",e,n.ALL)},ulog:function(e){o.exec("base.ulog",e,n.ALL)}},device:{batteryLevel:function(e){o.exec("device.batteryLevel",e,n.ALL)},setScreenSleepTime:function(e){o.exec("device.setScreenSleepTime",e,n.ANDROID)},setScreenBrightness:function(e){o.exec("device.setScreenBrightness",e,n.ANDROID)},getScreenBrightness:function(e){o.exec("device.getScreenBrightness",e,n.ANDROID)},getNetworkStatus:function(e){o.exec("device.getNetworkStatus",e,n.ALL)},getDeviceInfo:function(e){o.exec("device.getDeviceInfo",e,n.ANDROID)},getSoundInfo:function(e){o.exec("device.getSoundInfo",e,n.ALL)},vibrate:function(e){o.exec("device.vibrate",e,n.IPHONE)}},biz:{gestureDisabled:function(e){o.exec("biz.gestureDisabled",e,n.ALL)},queryApp:function(e){o.exec("biz.queryApp",e,n.ALL)},startApp:function(e){o.exec("biz.startApp",e,n.ALL)},quickDownload:function(e){o.exec("biz.quickDownload",e,n.ANDROID)},queryAppIsDl:function(e){o.exec("biz.queryAppIsDl",e,n.ANDROID)},installApp:function(e){o.exec("biz.installApp",e,n.ANDROID)},checkUpdate:function(e){o.exec("biz.checkUpdate",e,n.ANDROID)},copyPlainTextToClipboard:function(e){o.exec("biz.copyPlainTextToClipboard",e,n.IPHONE)},saveImageToPhotoAlbum:function(e){o.exec("biz.saveImageToPhotoAlbum",e,n.IPHONE)},openWindow:function(e){o.exec("biz.openWindow",e,n.ALL)},customBar:function(e){o.exec("biz.customBar",e,n.ALL)},setStatusBarBgColor:function(e){o.exec("biz.setStatusBarBgColor",e,n.ALL)},share:function(e){r.exec("biz.share",e,n.ALL)},shareEx:function(e){o.exec("biz.shareEx",e,n.ALL)},onShare:function(e){o.onEvent("biz.onShare",e,n.ALL)},loadBizModeUrl:function(e){o.exec("biz.loadBizModeUrl",e,n.IPHONE)},customSiteNotify:function(e){o.exec("biz.customSiteNotify",e,n.ANDROID)},openVoice:function(e){o.exec("biz.openVoice",e,n.ALL)},createDestopShortcut:function(e){o.exec("biz.createDestopShortcut",e,n.ANDROID)},openInExternal:function(e){o.exec("biz.openInExternal",e,n.IPHONE)},openAppStore:function(e){o.exec("biz.openAppStore",e,n.IPHONE)},installIPA:function(e){o.exec("biz.installIPA",e,n.IPHONE)},setFullScreen:function(e){o.exec("biz.setFullScreen",e,n.ALL)},getFullScreenStatus:function(e){o.exec("biz.getFullScreenStatus",e,n.ALL)},gous:function(e){o.exec("biz.gous",e,n.IPHONE)},onBizItemClicked:function(e){o.onEvent("biz.onBizItemClicked",e,n.ALL)},imageDidFlip:function(e){o.exec("biz.imageDidFlip",e,n.ALL)},hiddenComponent:function(e){o.exec("biz.hiddenComponent",e,n.ALL)},closeWebPage:function(e){o.exec("biz.closeWebPage",e,n.ALL)},handlePageError:function(e){o.exec("biz.handlePageError",e,n.ANDROID)},getUserType:function(e){o.exec("biz.getUserType",e,n.ALL)},getNewbieType:function(e){o.exec("biz.getNewbieType",e,n.ALL)},ucparams:function(e){o.exec("biz.ucparams",e,n.ALL)},openPicViewer:function(e){o.exec("biz.openPicViewer",e,n.ALL)},pageDiversion:function(e){o.exec("biz.pageDiversion",e,n.IPHONE)},handleExt:function(e){o.exec("biz.handleExt",e,n.ANDROID)},needShowUcnewsBanner:function(e){o.exec("biz.needShowUcnewsBanner",e,n.ALL)},queryInstalledApps:function(e){o.exec("biz.queryInstalledApps",e,n.ANDROID)},onInstalledApp:function(e){o.onEvent("biz.onInstalledApp",e,n.ANDROID)},queryScheme:function(e){o.exec("biz.queryScheme",e,n.ANDROID)},queryStraightEntrance:function(e){o.exec("biz.queryStraightEntrance",e,n.ALL)},notifyElementInfo:function(e){o.exec("biz.notifyElementInfo",e,n.ALL)},enterSearchWord:function(e){o.exec("biz.enterSearchWord",e,n.ALL)},openTaobao:function(e){o.exec("biz.openTaobao",e,n.ALL)},notifyVoteStatus:function(e){o.exec("biz.notifyVoteStatus",e,n.ALL)},notifyLikeStatusChange:function(e){o.exec("biz.notifyLikeStatusChange",e,n.ALL)},getCMSResource:function(e){o.exec("biz.getCMSResource",e,n.ANDROID)},getCDParams:function(e){o.exec("biz.getCDParams",e,n.ALL)},postBroadcastMessage:function(e){o.exec("biz.postBroadcastMessage",e,n.ALL)},addBroadcastMessageListener:function(e){o.exec("biz.addBroadcastMessageListener",e,n.ALL)},onBroadcastMessage:function(e){o.onEvent("biz.onBroadcastMessage",e,n.ALL)},openAppInApp:function(e){o.exec("biz.openAppInApp",e,n.IPHONE)},preloadApp:function(e){o.exec("biz.preloadApp",e,n.IPHONE)},getStoreData:function(e){o.exec("biz.getStoreData",e,n.ALL)},deleteStoreData:function(e){o.exec("biz.deleteStoreData",e,n.ALL)},setStoreData:function(e){o.exec("biz.setStoreData",e,n.ALL)},openContentEditWindow:function(e){o.exec("biz.openContentEditWindow",e,n.ALL)},openWebSettingPanel:function(e){o.exec("biz.openWebSettingPanel",e,n.ALL)},gotoPushSetting:function(e){o.exec("biz.gotoPushSetting",e,n.ANDROID)},getPushState:function(e){o.exec("biz.getPushState",e,n.ANDROID)},getToolBarItemInfo:function(e){o.exec("biz.getToolBarItemInfo",e,n.ALL)},getABTestInfo:function(e){o.exec("biz.getABTestInfo",e,n.ALL)}},video:{getFollowedVideos:function(e){o.exec("video.getFollowedVideos",e,n.ALL)},play:function(e){o.exec("video.play",e,n.ALL)},onPlayEnd:function(e){o.onEvent("video.onPlayEnd",e,n.ALL)},getPlayList:function(e){o.exec("video.getPlayList",e,n.ALL)},openTagWindow:function(e){o.exec("video.openTagWindow",e,n.ALL)},setVideoCloudEnable:function(e){o.exec("video.setVideoCloudEnable",e,n.IPHONE)}},theme:{setEnableSwipeGesture:function(e){o.exec("theme.setEnableSwipeGesture",e,n.ANDROID)},applySkin:function(e){o.exec("theme.applySkin",e,n.ANDROID)},onlineSkinPreview:function(e){o.exec("theme.onlineSkinPreview",e,n.ANDROID)},getThemeList:function(e){o.exec("theme.getThemeList",e,n.ANDROID)}},infoflow:{notifyFlushWebItemInfo:function(e){o.exec("infoflow.notifyFlushWebItemInfo",e,n.ALL)},openInfoFlowImageGallery:function(e){o.exec("infoflow.openInfoFlowImageGallery",e,n.ALL)},notifyContentPosState:function(e){o.exec("infoflow.notifyContentPosState",e,n.ALL)},getNewsData:function(e){o.exec("infoflow.getNewsData",e,n.ALL)},priseFinishNotify:function(e){o.exec("infoflow.priseFinishNotify",e,n.ALL)},queryPageInfo:function(e){o.exec("infoflow.queryPageInfo",e,n.IPHONE)},backToList:function(e){o.exec("infoflow.backToList",e,n.ANDROID)},openChannelWindow:function(e){o.exec("infoflow.openChannelWindow",e,n.ALL)},onUserClick:function(e){o.exec("infoflow.onUserClick",e,n.IPHONE)},statsUserClick:function(e){o.exec("infoflow.statsUserClick",e,n.ANDROID)},userDidScroll:function(e){o.exec("infoflow.userDidScroll",e,n.ALL)},notifyFollowInfo:function(e){o.exec("infoflow.notifyFollowInfo",e,n.ALL)},flushWeMediaInfo:function(e){o.exec("infoflow.flushWeMediaInfo",e,n.ALL)},switchSearch:function(e){o.exec("infoflow.switchSearch",e,n.ALL)},statEvent:function(e){o.exec("infoflow.statEvent",e,n.ALL)},interceptUrl:function(e){o.exec("infoflow.interceptUrl",e,n.ANDROID)},setArticleRect:function(e){o.exec("infoflow.setArticleRect",e,n.ANDROID)},jumpPage:function(e){o.exec("infoflow.jumpPage",e,n.ALL)},openArticleItemWithInfo:function(e){o.exec("infoflow.openArticleItemWithInfo",e,n.ALL)},tagInteraction:function(e){o.exec("infoflow.tagInteraction",e,n.ALL)},notifyImgZoom:function(e){o.exec("infoflow.notifyImgZoom",e,n.ALL)},getMainDocInfo:function(e){o.exec("infoflow.getMainDocInfo",e,n.ALL)},getWindowNewsData:function(e){o.exec("infoflow.getWindowNewsData",e,n.ALL)},exchangeUtStatInfos:function(e){o.exec("infoflow.exchangeUtStatInfos",e,n.ALL)},operateFavo:function(e){o.exec("infoflow.operateFavo",e,n.ALL)},actionShouldOpenUrl:function(e){o.onEvent("infoflow.actionShouldOpenUrl",e,n.ALL)},openPopWindow:function(e){o.exec("infoflow.openPopWindow",e,n.ALL)}},promotion:{getContent:function(e){o.exec("promotion.getContent",e,n.IPHONE)},actionNotify:function(e){o.exec("promotion.actionNotify",e,n.IPHONE)},getHcAd:function(e){o.exec("promotion.getHcAd",e,n.ANDROID)},getPageInfo:function(e){o.exec("promotion.getPageInfo",e,n.ALL)},handleJSAdCommand:function(e){o.exec("promotion.handleJSAdCommand",e,n.IPHONE)},getUMaxAnimationParam:function(e){o.exec("promotion.getUMaxAnimationParam",e,n.ALL)},getUMaxVideoParam:function(e){o.exec("promotion.getUMaxVideoParam",e,n.ALL)}},comment:{configInput:function(e){o.exec("comment.configInput",e,n.ALL)},onSendComment:function(){},onSendComment3rd:function(){},notifySendResult:function(e){o.exec("comment.notifySendResult",e,n.ALL)},openCommentWebview:function(e){o.exec("comment.openCommentWebview",e,n.IPHONE)},notifyCommentServiceInfo:function(e){o.exec("comment.notifyCommentServiceInfo",e,n.ALL)},notifyCommentCount:function(e){o.exec("comment.notifyCommentCount",e,n.ALL)},setSendCommentPlaceHolder:function(e){o.exec("comment.setSendCommentPlaceHolder",e,n.ALL)},showCommentsPanel:function(e){o.exec("comment.showCommentsPanel",e,n.ALL)},notifyCommentLikeInfo:function(e){o.exec("comment.notifyCommentLikeInfo",e,n.ALL)}},account:{openLoginWindow:function(e){o.exec("account.openLoginWindow",e,n.ALL)},getUserInfo:function(e){o.exec("account.getUserInfo",e,n.ALL)},getSignedUserInfo:function(e){o.exec("account.getSignedUserInfo",e,n.ALL)},onAccountStateChange:function(e){o.onEvent("account.onAccountStateChange",e,n.ALL)},thirdpartGetUserInfo:function(e){o.exec("account.thirdpartGetUserInfo",e,n.IPHONE)},getUserVipInfo:function(e){o.exec("account.getUserVipInfo",e,n.ALL)},refreshUserVipStatus:function(e){o.exec("account.refreshUserVipStatus",e,n.ALL)},openAssetMergePrompt:function(e){o.exec("account.openAssetMergePrompt",e,n.ALL)},getNewUserInfo:function(e){o.exec("account.getNewUserInfo",e,n.ALL)},openIdentificationWindow:function(e){o.exec("account.openIdentificationWindow",e,n.ALL)},quickLogin:function(e){o.exec("account.quickLogin",e,n.ALL)},getBindUserInfo:function(e){o.exec("account.getBindUserInfo",e,n.ALL)},bindThirdPartyAccount:function(e){o.exec("account.bindThirdPartyAccount",e,n.ALL)},unbindThirdPartyAccount:function(e){o.exec("account.unbindThirdPartyAccount",e,n.ALL)},getThirdPartyToken:function(e){o.exec("account.getThirdPartyToken",e,n.ALL)}},ucmap:{launchUCMap:function(e){o.exec("ucmap.launchUCMap",e,n.ALL)},config:function(e){o.exec("ucmap.config",e,n.ALL)}},novel:{setNovelH5Bookshelf:function(e){o.exec("novel.setNovelH5Bookshelf",e,n.ANDROID)},pushLogger:function(e){o.exec("novel.pushLogger",e,n.ANDROID)},getUserInfo:function(e){o.exec("novel.getUserInfo",e,n.ALL)},openRechargePanel:function(e){o.exec("novel.openRechargePanel",e,n.ALL)},openBatchBuyPanel:function(e){o.exec("novel.openBatchBuyPanel",e,n.ANDROID)},updateProgressData:function(e){o.exec("novel.updateProgressData",e,n.ALL)},addToBookshelf:function(e){o.exec("novel.addToBookshelf",e,n.ALL)},getBookStatus:function(e){o.exec("novel.getBookStatus",e,n.ALL)},getReadingConfig:function(e){o.exec("novel.getReadingConfig",e,n.ALL)},setReadingConfig:function(e){o.exec("novel.setReadingConfig",e,n.ALL)},stat:function(e){o.exec("novel.stat",e,n.ALL)},notifySignProgress:function(e){o.exec("novel.notifySignProgress",e,n.ALL)},notifyException:function(e){o.exec("novel.notifyException",e,n.ALL)},downloadProgress:function(e){o.exec("novel.downloadProgress",e,n.ALL)},getVoiceBookStatus:function(e){o.exec("novel.getVoiceBookStatus",e,n.ALL)},updateVoiceBookDownloadProgress:function(e){o.exec("novel.updateVoiceBookDownloadProgress",e,n.ALL)},addVoiceBookToBookshelf:function(e){o.exec("novel.addVoiceBookToBookshelf",e,n.ALL)},openDownloadManager:function(e){o.exec("novel.openDownloadManager",e,n.ALL)},operateVoiceBookTrackDownload:function(e){o.exec("novel.operateVoiceBookTrackDownload",e,n.ALL)},getAudioDownloadInfo:function(e){o.exec("novel.getAudioDownloadInfo",e,n.ALL)},openAudioDownloadWindow:function(e){o.exec("novel.openAudioDownloadWindow",e,n.ALL)},notifyDataLoadFinish:function(e){o.exec("novel.notifyDataLoadFinish",e,n.ALL)},openVoiceBookPlayer:function(e){o.exec("novel.openVoiceBookPlayer",e,n.ALL)},getNewGuidePackageInfo:function(e){o.exec("novel.getNewGuidePackageInfo",e,n.ALL)},getReadTimeInfo:function(e){o.exec("novel.getReadTimeInfo",e,n.ALL)},rechargeDirectly:function(e){o.exec("novel.rechargeDirectly",e,n.ALL)},openWebWindow:function(e){o.exec("novel.openWebWindow",e,n.ALL)},handleWindowTitle:function(e){o.exec("novel.handleWindowTitle",e,n.ALL)},openReadTimeConvertWindow:function(e){o.exec("novel.openReadTimeConvertWindow",e,n.ALL)},openVipPurchaseWindow:function(e){o.exec("novel.openVipPurchaseWindow",e,n.ALL)},notifyWebResult:function(e){o.exec("novel.notifyWebResult",e,n.ALL)},notifyCurrentReadNovelInfo:function(e){o.exec("novel.notifyCurrentReadNovelInfo",e,n.ALL)},getLatestReadBookInfo:function(e){o.exec("novel.getLatestReadBookInfo",e,n.ALL)},openRewardVideoActivity:function(e){o.exec("novel.openRewardVideoActivity",e,n.ALL)},onNovelToolBarItemClick:function(e){o.onEvent("novel.onNovelToolBarItemClick",e,n.ALL)},onGetVideoRewardComplete:function(e){o.onEvent("novel.onGetVideoRewardComplete",e,n.ALL)}},feedback:{getScreenshot:function(e){o.exec("feedback.getScreenshot",e,n.ANDROID)},getUserlogurl:function(e){o.exec("feedback.getUserlogurl",e,n.ALL)}},mall:{missionDetail:function(e){o.exec("mall.missionDetail",e,n.IPHONE)},doMission:function(e){o.exec("mall.doMission",e,n.IPHONE)}},pay:{doPay:function(e){o.exec("pay.doPay",e,n.ALL)},openOrderCenter:function(e){o.exec("pay.openOrderCenter",e,n.ALL)},onPaymentStateChange:function(e){o.onEvent("pay.onPaymentStateChange",e,n.ALL)},notifyChargeResult:function(e){o.exec("pay.notifyChargeResult",e,n.ALL)},ucPay:function(e){o.exec("pay.ucpay",e,n.IPHONE)}},cms:{executeAction:function(e){o.exec("cms.executeAction",e,n.ALL)}},settings:{switchInputMethod:function(e){o.exec("settings.switchInputMethod",e,n.ANDROID)}},smspring:{interactiveEvent:function(e){o.exec("smspring.interactiveEvent",e,n.IPHONE)}},wemedia:{openHomePage:function(e){o.exec("wemedia.openHomePage",e,n.ALL)},onFollow:function(e){o.onEvent("wemedia.onFollow",e,n.ALL)},followWemedia:function(e){o.exec("wemedia.followWemedia",e,n.ALL)},switchToGuide:function(e){o.exec("wemedia.switchToGuide",e,n.ALL)},releaseStrategy:function(e){o.exec("wemedia.releaseStrategy",e,n.ALL)},playVideo:function(e){o.exec("wemedia.playVideo",e,n.ALL)},playVideoList:function(e){o.exec("wemedia.playVideoList",e,n.ALL)},onPlayNextVideo:function(e){o.onEvent("wemedia.onPlayNextVideo",e,n.ALL)},onPlayingVideoItem:function(e){o.onEvent("wemedia.onPlayingVideoItem",e,n.ALL)},notifyFollowStatus:function(e){o.exec("wemedia.notifyFollowStatus",e,n.ALL)},openWeMediaSearch:function(e){o.exec("wemedia.openWeMediaSearch",e,n.ALL)}},smlbs:{locationEvent:function(e){o.exec("smlbs.locationEvent",e,n.IPHONE)}},pp:{setNoBlock:function(e){o.exec("pp.setNoBlock",e,n.ANDROID)},setNoBlockDUrl:function(e){o.exec("pp.setNoBlockDUrl",e,n.ANDROID)}},notification:{getMsgBoxInfo:function(e){o.exec("notification.getMsgBoxInfo",e,n.ANDROID)}},spam:{getActivityToken:function(e){o.exec("spam.getActivityToken",e,n.ALL)},encrypt:function(e){o.exec("spam.encrypt",e,n.ALL)},sign:function(e){o.exec("spam.sign",e,n.ALL)}},activity:{playGameNotify:function(e){o.exec("activity.playGameNotify",e,n.ALL)},onPlayGameCallback:function(e){o.onEvent("activity.onPlayGameCallback",e,n.ALL)},getVerifyInfo:function(e){o.exec("activity.getVerifyInfo",e,n.ALL)},takeJob:function(e){o.exec("activity.takeJob",e,n.ALL)}},download:{downSilent:function(e){o.exec("download.downSilent",e,n.ANDROID)},onDownloadStateChange:function(e){o.onEvent("download.onDownloadStateChange",e,n.ANDROID)},checkDownloadState:function(e){o.exec("download.checkDownloadState",e,n.ANDROID)},continuePausedDownload:function(e){o.exec("download.continuePausedDownload",e,n.ANDROID)},installAppForDownload:function(e){o.exec("download.installAppForDownload",e,n.ANDROID)},disableAppExchangeRecommend:function(e){o.exec("download.disableAppExchangeRecommend",e,n.ANDROID)}},picviewer:{open:function(e){o.exec("picviewer.open",e,n.ALL)},onPageChange:function(e){o.onEvent("picviewer.onPageChange",e,n.ALL)},notifyEvent:function(e){o.exec("picviewer.notifyEvent",e,n.ALL)},onNotifyPosition:function(e){o.onEvent("picviewer.onNotifyPosition",e,n.ALL)}},cartoon:{openReader:function(e){o.exec("cartoon.openReader",e,n.ALL)},exitReader:function(e){o.exec("cartoon.exitReader",e,n.ALL)},getReadRecord:function(e){o.exec("cartoon.getReadRecord",e,n.ALL)},checkDownload:function(e){o.exec("cartoon.checkDownload",e,n.ALL)},downLoad:function(e){o.exec("cartoon.downLoad",e,n.ALL)},addFavorite:function(e){o.exec("cartoon.addFavorite",e,n.ALL)},getFavorite:function(e){o.exec("cartoon.getFavorite",e,n.ALL)},setReadingConfig:function(e){o.exec("cartoon.setReadingConfig",e,n.ALL)},getReadingConfig:function(e){o.exec("cartoon.getReadingConfig",e,n.ALL)},updateProgressData:function(e){o.exec("cartoon.updateProgressData",e,n.ALL)},onPageIndexChange:function(e){o.onEvent("cartoon.onPageIndexChange",e,n.ALL)},onChapterChange:function(e){o.onEvent("cartoon.onChapterChange",e,n.ALL)},showToolbar:function(e){o.exec("cartoon.showToolbar",e,n.ALL)},readerLoaded:function(e){o.exec("cartoon.readerLoaded",e,n.ALL)},getChapterList:function(e){o.exec("cartoon.getChapterList",e,n.ALL)},readerOverFlow:function(e){o.exec("cartoon.readerOverFlow",e,n.ALL)},readerUrlJump:function(e){o.exec("cartoon.readerUrlJump",e,n.ALL)},removeLoading:function(e){o.exec("cartoon.removeLoading",e,n.ALL)},getCacheInfo:function(e){o.exec("cartoon.getCacheInfo",e,n.ALL)},clearCache:function(e){o.exec("cartoon.clearCache",e,n.ALL)},openSearchWindow:function(e){o.exec("cartoon.openSearchWindow",e,n.ALL)},readerPayAlert:function(e){o.exec("cartoon.readerPayAlert",e,n.ALL)},finishPurchase:function(e){o.exec("cartoon.finishPurchase",e,n.ALL)},onConfirmPurchase:function(e){o.onEvent("cartoon.onConfirmPurchase",e,n.ALL)},onConfigChange:function(e){o.onEvent("cartoon.onConfigChange",e,n.ALL)},notifyCheckInFinish:function(e){o.exec("cartoon.notifyCheckInFinish",e,n.ALL)},getDownloadInfo:function(e){o.exec("cartoon.getDownloadInfo",e,n.ALL)},jumpToDownloadWindow:function(e){o.exec("cartoon.jumpToDownloadWindow",e,n.ALL)}},window:{getWindowNumber:function(e){o.exec("window.getWindowNumber",e,n.ALL)},openMultiWindowMenu:function(e){o.exec("window.openMultiWindowMenu",e,n.ALL)},setConfig:function(e){o.exec("window.setConfig",e,n.ALL)}},freeflow:{retriveUserInfo:function(e){o.exec("freeflow.retriveUserInfo",e,n.ALL)},recordVerifyinfo:function(e){o.exec("freeflow.recordVerifyinfo",e,n.ALL)},activePackage:function(e){o.exec("freeflow.activePackage",e,n.ALL)},getCarrierToken:function(e){o.exec("freeflow.getCarrierToken",e,n.ALL)},setCarrierToken:function(e){o.exec("freeflow.setCarrierToken",e,n.ALL)},getSwitch:function(e){o.exec("freeflow.getSwitch",e,n.ALL)},setSwitch:function(e){o.exec("freeflow.setSwitch",e,n.ALL)},refreshOrder:function(e){o.exec("freeflow.refreshOrder",e,n.ALL)},setPendingOrder:function(e){o.exec("freeflow.setPendingOrder",e,n.ALL)}},gameCenter:{openNaviWindow:function(e){o.exec("gameCenter.openNaviWindow",e,n.IPHONE)},backToLastNaviWindow:function(e){o.exec("gameCenter.backToLastNaviWindow",e,n.IPHONE)},onNaviWindowActive:function(e){o.onEvent("gameCenter.onNaviWindowActive",e,n.IPHONE)}},webview:{notifyPageStatus:function(e){o.exec("webview.notifyPageStatus",e,n.IPHONE)},preloadResources:function(e){o.exec("webview.preloadResources",e,n.ALL)},cleanClientCache:function(e){o.exec("webview.cleanClientCache",e,n.ALL)},enableMediaAutoPlay:function(e){o.exec("webview.enableMediaAutoPlay",e,n.IPHONE)},playVideo:function(e){o.exec("webview.playVideo",e,n.ALL)}},usercenter:{doScoreRefresh:function(e){o.exec("usercenter.doScoreRefresh",e,n.ALL)},goScoreTask:function(e){o.exec("usercenter.goScoreTask",e,n.ALL)},openDuibaUrl:function(e){o.exec("usercenter.openDuibaUrl",e,n.ALL)},switchGoldHunterMode:function(e){o.exec("usercenter.switchGoldHunterMode",e,n.ALL)}},poplayer:{display:function(e){o.exec("poplayer.display",e,n.ALL)},close:function(e){o.exec("poplayer.close",e,n.ALL)},getInfo:function(e){o.exec("poplayer.getInfo",e,n.ALL)},setModalThreshold:function(e){o.exec("poplayer.setModalThreshold",e,n.ALL)},increaseReadTimes:function(e){o.exec("poplayer.increaseReadTimes",e,n.ALL)},setAlphaMode:function(e){o.exec("poplayer.setAlphaMode",e,n.ALL)},navToUrl:function(e){o.exec("poplayer.navToUrl",e,n.ALL)},selectAndOperate:function(e){o.exec("poplayer.selectAndOperate",e,n.ALL)},operateTrackingView:function(e){o.exec("poplayer.operateTrackingView",e,n.ALL)},enableMock:function(e){o.exec("poplayer.enableMock",e,n.ALL)},triggerShow:function(e){o.exec("poplayer.triggerShow",e,n.ALL)}},iap:{pay:function(e){o.exec("iap.pay",e,n.IPHONE)},onPaymentStateChange:function(e){o.onEvent("iap.onPaymentStateChange",e,n.IPHONE)}},ar:{loadModelData:function(e){o.exec("ar.loadModelData",e,n.ALL)},startSession:function(e){o.exec("ar.startSession",e,n.ALL)},stopSession:function(e){o.exec("ar.stopSession",e,n.ALL)},startRecognition:function(e){o.exec("ar.startRecognition",e,n.ALL)},stopRecognition:function(e){o.exec("ar.stopRecognition",e,n.ALL)},openPage:function(e){o.exec("ar.openPage",e,n.ALL)},onRecognize:function(e){o.onEvent("ar.onRecognize",e,n.ALL)}},operate:{addEntrancePriority:function(e){o.exec("operate.addEntrancePriority",e,n.ALL)}},weex:{emitWeexEvent:function(e){o.exec("weex.emitWeexEvent",e,n.ALL)}},ut:{toUT2:function(e){o.exec("ut.toUT2",e,n.ALL)},getTicketId:function(e){o.exec("ut.getTicketId",e,n.ALL)},addNextPageProperties:function(e){o.exec("ut.addNextPageProperties",e,n.ALL)}},qa:{notifyMetaInfo:function(e){o.exec("qa.notifyMetaInfo",e,n.ALL)}},millionwinner:{tryOpenFloat:function(e){o.exec("millionwinner.tryOpenFloat",e,n.ALL)},tryCloseFloat:function(e){o.exec("millionwinner.tryCloseFloat",e,n.ALL)},isFloatOpen:function(e){o.exec("millionwinner.isFloatOpen",e,n.ALL)},openFloatPermission:function(e){o.exec("millionwinner.openFloatPermission",e,n.ALL)},onFloatChanged:function(e){o.onEvent("millionwinner.onFloatChanged",e,n.ALL)}},security:{captchaVerify:function(e){o.exec("security.captchaVerify",e,n.ALL)},encrypt:function(e){o.exec("security.encrypt",e,n.ALL)}},sport:{notifyMatchFollow:function(e){o.exec("sport.notifyMatchFollow",e,n.ALL)}},vturbo:{start:function(e){o.exec("vturbo.start",e,n.ALL)}},wa:{toWa:function(e){o.exec("wa.toWa",e,n.ALL)}},clouddrive:{notifyMemberInfoChange:function(e){o.exec("clouddrive.notifyMemberInfoChange",e,n.ALL)},onBackupStateChange:function(e){o.subscribeEvent("clouddrive.onBackupStateChange",e,n.ALL)},onDownloadStateChange:function(e){o.subscribeEvent("clouddrive.onDownloadStateChange",e,n.ALL)},onDownloadSessionStateChange:function(e){o.subscribeEvent("clouddrive.onDownloadSessionStateChange",e,n.ALL)},onUploadStateChange:function(e){o.subscribeEvent("clouddrive.onUploadStateChange",e,n.ALL)},onUploadSessionStateChange:function(e){o.subscribeEvent("clouddrive.onUploadSessionStateChange",e,n.ALL)}},message:{getMessage:function(e){o.exec("message.getMessage",e,n.ALL)},markMessageRead:function(e){o.exec("message.markMessageRead",e,n.ALL)}},mission:{getProgress:function(e){o.exec("mission.getProgress",e,n.ALL)},getAllProgress:function(e){o.exec("mission.getAllProgress",e,n.ALL)},confirm:function(e){o.exec("mission.confirm",e,n.ALL)},batchConfirm:function(e){o.exec("mission.batchConfirm",e,n.ALL)},trigger:function(e){o.exec("mission.trigger",e,n.ALL)},resetTask:function(e){o.exec("mission.resetTask",e,n.ALL)},onStateChange:function(e){o.onEvent("mission.onStateChange",e,n.ALL)}}}})),define("apiCompatibleImpl",(function(e,t){function n(e,t){for(var n="",r=e.split(","),o=0;o<r.length;o++){var i=r[o],a=t[r[o]];a&&(i=a),n=""!==n?n+","+i:i}return n}function r(e,t,n){e&&e.call(this,{errCode:t,errMsg:n})}var o=e("constant"),i=e("util"),a=e("bridge"),s={QRcode:"QRcodeGenerator"},c={SinaWeibo:"kSinaWeibo",WechatFriends:"kWeixin",WechatTimeline:"kWeixinFriend",QQ:"kQQ",Qzone:"KQZone",QRcodeGenerator:"QRcodeGenerator",DingDing:"DingDing",ClipBoard:"ClipBoard"};t.exec=function(e,t,u){var f;i.log(e,"apiCompatibleImpl exec"),ucapi.invoke?f=!0:(r(t.fail,o.callbackStatus.INVALID_METHOD,"ucapi.invoke not exsit, should load in UCBrowser !"),f=!1),f?(f=i.getPlatform(),u!==o.platform.ALL&&f!==u?t&&t.fail&&r(t.fail,o.callbackStatus.INVALID_METHOD,"this api not supported this platform"):("biz.share"===e?(i.getPlatform()==o.platform.ANDROID?(t.sourceUrl&&(t.url=t.sourceUrl,delete t.sourceUrl),t.imageUrl&&(t.image_url=t.imageUrl,delete t.imageUrl),t.screenshotHtmlNodeId&&(""!=t.screenshotHtmlNodeId&&(""!=(f=i.getNodePosById(t.screenshotHtmlNodeId))&&(f=f.join(",")),t.share_rect=f),delete t.screenshotHtmlNodeId),t.target&&(t.target=n(t.target,s)),t.disableTarget&&(t.invisible_platforms=n(t.disableTarget,s),delete t.disableTarget),window.ucweb.startRequest("shell.share",[JSON.stringify(t)])):(t.screenshotHtmlNodeId&&(t.htmlNode=t.screenshotHtmlNodeId,delete t.screenshotHtmlNodeId),t.target&&(t.target=n(t.target,c)),t.disableTarget&&(t.disableTarget=n(t.disableTarget,c)),t.type&&(t.shareStyle="img"===t.type?"shareImage":t.type,delete t.type),t.triggerFn&&(t.jsCallBackFun=t.triggerFn,delete t.triggerFn),ucbrowser.web_shareEX(JSON.stringify(t))),f=!0):f=!1,f||a.exec(e,t,u))):i.log(e,"should load in UCBrowser")}}));var apiDef=require("apidef"),util=require("util");function extenducapi(){var e,t=apiDef.ucapi;for(e in t)window.ucapi[e]=t[e]}window.ucapi&&window.ucapi.debug&&window.addEventListener("error",(function(e){util.debugLog("onerror:"+e)})),window.ucapi?extenducapi():window.ucapi=apiDef.ucapi,Object.defineProperty(ucapi,"buildDate",{value:"2019-09-03 17:45:26",writable:!1}),Object.defineProperty(ucapi,"version",{value:"2.8.60",writable:!1})}(window)},,,,,,,,,,,,function(e,t,n){n(67),n(71),n(73),n(32),n(76),n(77),n(78),n(47),n(102),n(153),n(148),n(103),n(149),n(151),n(147),n(234),n(150),n(68),n(235),n(289),n(66),n(242),n(243),n(45),n(46),n(305),n(49),n(48),n(69),n(70),n(379),n(304),n(446),n(275),n(155),n(154),e.exports=function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},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,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=3)}([function(e){e.exports={sdk:{BID:"wpkreporter",CID:"jssdk",WID_KEY:"__wpkreporterwid_"},env:{BROWSER:"browser",NODEJS:"nodejs",WEEX:"weex"},px:{signKey:"Uvn#08uefVdwe&c4",addr:{cn:"http://px.effirst.com/api/v1/jssdk/upload",cn_https:"https://px.effirst.com/api/v1/jssdk/upload",quark:"http://px.wpk.quark.cn/api/v1/jssdk/upload",quark_https:"https://px.wpk.quark.cn/api/v1/jssdk/upload",intl:"http://px-intl.ucweb.com/api/v1/jssdk/upload",intl_https:"https://px-intl.ucweb.com/api/v1/jssdk/upload",qg:"http://px-itrace.xuexi.cn/api/v1/jssdk/upload",qg_https:"https://px-itrace.xuexi.cn/api/v1/jssdk/upload"},confAddr:{cn:"http://px.effirst.com/api/v1/jconfig",cn_https:"https://px.effirst.com/api/v1/jconfig",intl:"http://px-intl.ucweb.com/api/v1/jconfig",intl_https:"https://px-intl.ucweb.com/api/v1/jconfig",qg:"http://px-itrace.xuexi.cn/api/v1/jconfig",qg_https:"https://px-itrace.xuexi.cn/api/v1/jconfig",quark:"http://px.wpk.quark.cn/api/v1/jconfig",quark_https:"https://px.wpk.quark.cn/api/v1/jconfig"}},http:{methods:{GET:"GET",PUT:"PUT",POST:"POST",HEAD:"HEAD",DELETE:"DELETE",OPTIONS:"OPTIONS",CONNECT:"OPTIONS",TRACE:"OPTIONS",PATCH:"OPTIONS"},protocols:{HTTP:"http:",HTTPS:"https:"}},category:{JSERR:1,API:2,JSFSPERF:3,RESLOADFAIL:4,FLOW:5,BKPG:6,HARLOG:7,PERFNEXT:1e3,MAINDOC:1e5,RESTIMING:100001},navConn:{types:{BLUETOOTH:"bluetooth",CELLULAR:"cellular",ETHERNET:"ethernet",MIXED:"mixed",NONE:"none",OTHER:"other",UNKNOWN:"unknown",WIFI:"wifi",WIMAX:"wimax"},effectiveTypes:{"2G":"2g","3G":"3g","4G":"4g",SLOW2G:"slow-2g"}}}},function(e,t,n){var r=n(6),o=n(0),i=o.px,a=o.category;function s(e){if(!(this instanceof s))return new s(e);e=e||{},this._init=!1,this.toolKit=r(e),this.logger=this.toolKit.logger,this.debug=e.debug||!1,!0===e.debug&&this.logger.warn("[wpk] now in debug mode, you can see log details"),this._plugins=e.plugins||[],this.bid=e.bid,this.utdid=e.utdid,this.cid=e.cid,this.uid=e.uid,this.rel=e.rel,this.spa=e.spa||!1,this.delay=!1!==e.delay,this.sampleRate=e.sampleRate,this.ignoreScriptError=!1!==e.ignoreScriptError,this.onlyCustom=e.onlyCustomInUCCore||e.onlyCustom||!1,this.ignoreU4HA=!0===e.ignoreU4HA,this.beforeSend=e.beforeSend||null,this.checkHidden=!1!==e.checkHidden,this.enableMtop=e.enableMtop||!1,this.prerender=!0===e.prerender,this.supportBeaconBody=!1!==e.supportBeaconBody,this.blockAlipayMiniAppWebview=e.blockAlipayMiniAppWebview||!1,this.maxSessDuration=e.maxSessDuration||288e5,this._waitingQueue=[],this.useNativeCH=!1!==e.useNativeCH,!e.cluster&&this.toolKit.isQuark()?this.cluster="quark":this.cluster=e.cluster||"cn"}function c(e){if(e.toolKit.inAlipayMiniAppWebview()&&!0===e.blockAlipayMiniAppWebview)e.logger.warn("current runtime is alipay miniapp webview, this request will be blocked.");else{var t=i.confAddr[e.cluster+(e.isHttps?"_https":"")],n=i.signKey;e._startTime=Date.now(),e._dying=!0,e.toolKit.dynamicConf(e.bid,e.VERSION,t,n,(function(t){e._dying=!1,e._dyConf=t,e.logger.warn("jconfig come back")}))}}s.prototype={VERSION:"1.2.7",initialize:function(e){this.env=e.env,e.root.location&&-1!==e.root.location.search.indexOf("wpkReporterDebug=true")&&(this.debug=!0),this.send=e.send,this.getWid=e.getWid,this.isHttps=e.isHttps,e.bindUnloadEvent(this)},ready:function(){return this._init},setConfig:function(e){return this.toolKit.isObject(e)&&this.toolKit.extend(this,e),this},report:function(e){"string"==typeof e&&(e={category:a.JSERR,msg:e});var t=e.sampleRate||this.sampleRate;if(t||0===t||(t=1),this.toolKit.canReport(t)){if(this._cleanData(e),this.ready()){var n;if("function"==typeof this.beforeSend){try{n=this.beforeSend(e)}catch(e){this.logger.error("exec beforeSend failed for:",e)}if(!1===n)return void this.logger.warn("beforeSend func return false");"object"==typeof n&&(e=n)}var r=this.toolKit.getMetas(),o=e.bid||this.bid||r.wpkBid,s=e.cid||this.cid||r.wpkCid,u=e.rel||this.rel||r.wpkRel;this.toolKit.isFunction(u)&&(u=u());var f=e.uid||this.uid;if(this.toolKit.isFunction(f)&&(f=f()),f||(f=this.getWid()),Date.now()-this._begin>=this.maxSessDuration&&(this._begin=Date.now(),this._sid=this.toolKit.getSessionId()),this.toolKit.extend(e,{w_bid:o,w_cid:s,w_rel:u,w_spa:this.spa,w_tm:this.toolKit.timestamp(),w_cnt:1,uid:f,utdid:this.utdid,type:this.toolKit.categoryToType(e.category),sdk_ver:this.VERSION,log_src:"jssdk",uc_param:this.uc_param||"",wid:this.wid}),this._dyConf&&Date.now()<this._dyConf.expireAt){var l=void 0!==this._dyConf[e.type+"@"+e.category]?this._dyConf[e.type+"@"+e.category]:this._dyConf[e.type];if(void 0!==(l=void 0!==l?l:this._dyConf.all)&&!this.toolKit.canReport(l))return void this.logger.warn("\u7531\u4e8e\u300c\u52a8\u6001\u914d\u7f6e\u300d\u91c7\u6837\u7387\u63a7\u5236\uff0c\u672c\u6761\u65e5\u5fd7\u6700\u7ec8\u672a\u4e0a\u62a5\uff0c\u7c7b\u578b: ",e.type,e.category," \u91c7\u6837\u7387: ",l)}else!this._dying&&Date.now()-this._startTime>=18e5&&(this.logger.warn("syncing dynamic config"),c(this));var d={app:o,cp:"none",de:4,seq:this.toolKit.generateSeq(),tm:this.toolKit.timestamp(!0),ud:encodeURIComponent(e.uid),ver:e.w_rel,type:e.type,sver:e.sdk_ver,sign:"9bf8a190ef82c5049df7b199c599c45b"},p=i.addr[this.cluster+(this.isHttps?"_https":"")],h=this.toolKit.objToQueryString(d);this.toolKit.cutStr(e,["c1","c2","c3","c4","c5"],128),this.send(p,h,e)}else this._waitingQueue.push(e),this.logger.warn("sdk\u672a\u5b8c\u6210\u521d\u59cb\u5316\uff0c\u6570\u636e\u5df2\u7f13\u5b58");return this}this.logger.warn("\u7531\u4e8e\u91c7\u6837\u7387\u63a7\u5236\uff0c\u672c\u6761\u65e5\u5fd7\u6700\u7ec8\u672a\u4e0a\u62a5\uff0c\u91c7\u6837\u7387: ",t)},_cleanData:function(e){for(var t,n=1;n<=10;n++)t="bl"+n,e.hasOwnProperty(t)&&(e["w_"+t]=e[t],delete e[t]);t=null},reportFlow:function(e){return e=e||{},this.report(this.toolKit.extend(e||{},{category:a.FLOW,sampleRate:1})),this},reportError:function(e,t){return this.toolKit.isError(e)?((t=t||{}).category=a.JSERR,t.w_msg=e.toString(),t.stack=this.toolKit.parseErrorStack(e),t.w_file=e.filename||"",t.w_line=e.lineno||"",t.w_col=e.colno||"",this.report(t),this):this.report(e,t)},reportApi:function(e,t){this.reportApiError(e,t)},reportApiError:function(e,t){return e&&(this.toolKit.isObject(e.queryString)&&(e.queryString=this.toolKit.objToQueryString(e.queryString)),this.report(this.toolKit.extend(t||{},{msg:e.msg||"",w_res:e.url,w_method:e.method,w_param:e.queryString,w_body:JSON.stringify(e.body),w_resp:e.response,w_rc:e.status,w_rt:e.spent||0,c1:e.c1,c2:e.c2,c3:e.c3,c4:e.c4,c5:e.c5},{category:a.API,w_type:16}))),this},reportBlankPage:function(e){return(e=e||{}).hasOwnProperty("w_fp")||this.toolKit.extend(e,{w_fp:999}),this.report(this.toolKit.extend(e||{},{category:a.BKPG})),this},diagnose:function(){this.ready()?this.bid?(this.sampleRate||this.logger.warn("\u6ca1\u6709\u8bbe\u7f6e\u91c7\u6837\u7387\u53c2\u6570sampleRate\uff0c\u5c06\u4f7f\u7528\u9ed8\u8ba4\u91c7\u6837\u7387"),this.report({_diagnose:!0})):this.logger.warn("\u7f3a\u5c11bid\u53c2\u6570,\u8bf7\u786e\u8ba4\u662f\u5426\u5df2\u6b63\u786e\u8bbe\u7f6e"):this.logger.warn("wpkReporter\u5c1a\u672a\u521d\u59cb\u5316\uff0c\u8bf7\u786e\u4fdd\u5df2\u8c03\u7528 install \u65b9\u6cd5")},addPlugin:function(e,t){return this._plugins.push([e,t]),"function"==typeof e&&this._init&&e.apply(this,[this,t]),this},install:function(){var e;c(this),this.toolKit.isCompassPrerender()&&((e=this).toolKit.onListen(document,"prerendercommit",(function(){e.prerenderCommit()}),!0),e.toolKit.onListen(document,"touchstart",(function(){e.prerenderCommit()}),!0),this.prerender=!0);for(var t=n(2),r=this._plugins.length,o=!1,i=0;i<r;i++){var a=this._plugins[i],s=a[0],u=a[1];s.prototype.pluginId===t.prototype.pluginId&&(o=!0),s.apply(this,[this,u])}return this.wid=this.getWid(),this._begin=Date.now(),this._sid=this.toolKit.getSessionId(),this._init=!0,0!==r&&o||(this.toolKit.logger.info("\u6ca1\u6709\u8bbe\u7f6eFlow\uff0c\u5185\u7f6e\u5f00\u542f"),this.addPlugin(t)),this.prerender&&this.toolKit.logger.warn("\u9884\u6e32\u67d3\u73af\u5883, \u767d\u5c4f\u3001\u6027\u80fd\u5c06\u5728\u4e0a\u5c4f\u540e\u5f00\u59cb\u68c0\u6d4b"),this},installAll:function(){var e=[[n(8),{resErr:!0}],[n(9)],[n(10)],[n(2)],[n(11),{params:"prveosfrnwutsv"}]],t=this._plugins.length;if(0===t)this._plugins=e;else{for(var r=[],o=e.length,i=0;i<o;i++){for(var a=e[i],s=0;s<t;s++)if(a[0].prototype.pluginId===this._plugins[s][0].prototype.pluginId){a=this._plugins[s];break}r.push(a)}this._plugins=r}return this.install()},uninstall:function(){return this._plugins=[],this._init=!1,this},prerenderCommit:function(){if(this.__isPrerenderCommited)this.logger.warn("prerenderCommit can only call once.");else{this.__isPrerenderCommited=!0,this.logger.info("prerender commit event");var e=new Event("wpkpageforeground");window.dispatchEvent(e)}}},e.exports=s},function(e,t,n){var r=n(0).env,o=function(e){var t;return(e&&(t=e.replace(/^#\/?/,""))&&"string"==typeof t?t.replace(/^(https?:)?\/\//,"").replace(/\?.*$/,""):"")||"[index]"},i=function(e,t){if(t=t||{},e.env===r.BROWSER&&window)if(e.toolKit.extend({enable:!0},t).enable){e.logger.info("wpkflowPlugin\u5df2\u5f00\u542f");var i,a,s=function(){e.reportFlow()};e.toolKit.isPageReady(e.prerender)?setTimeout(s,0):e.toolKit.onPageReady(s,!0,e.prerender),e.spa&&(n(7)(),i=function(){o(location.hash)&&(e._begin=Date.now(),e._sid=e.toolKit.getSessionId(),e.reportFlow())},a=function(t){o(t.detail)&&(e._begin=Date.now(),e._sid=e.toolKit.getSessionId(),e.reportFlow())},e.toolKit.onListen(window,"hashchange",i),e.toolKit.onListen(window,"historystatechange",a)),e.toolKit.onListen(window,"beforeunload",(function(){e.toolKit.offListen(window,"load"),e.toolKit.offListen(window,"hashchange"),e.toolKit.offListen(window,"historystatechange"),s=i=a=null}))}else e.logger.info("wpkflowPlugin\u5df2\u5173\u95ed")};i.prototype.pluginId="flow",e.exports=i},function(e,t,n){(function(t){var r="function"==typeof callNative||"function"==typeof nativeLog;e.exports=n(r?5:"object"==typeof t&&t+""=="[object process]"?13:16)}).call(this,n(4))},function(e){var t,n,r=e.exports={};function o(){throw new Error("setTimeout has not been defined")}function i(){throw new Error("clearTimeout has not been defined")}function a(e){if(t===setTimeout)return setTimeout(e,0);if((t===o||!t)&&setTimeout)return t=setTimeout,setTimeout(e,0);try{return t(e,0)}catch(n){try{return t.call(null,e,0)}catch(n){return t.call(this,e,0)}}}!function(){try{t="function"==typeof setTimeout?setTimeout:o}catch(e){t=o}try{n="function"==typeof clearTimeout?clearTimeout:i}catch(e){n=i}}();var s,c=[],u=!1,f=-1;function l(){u&&s&&(u=!1,s.length?c=s.concat(c):f=-1,c.length&&d())}function d(){if(!u){var e=a(l);u=!0;for(var t=c.length;t;){for(s=c,c=[];++f<t;)s&&s[f].run();f=-1,t=c.length}s=null,u=!1,function(e){if(n===clearTimeout)return clearTimeout(e);if((n===i||!n)&&clearTimeout)return n=clearTimeout,clearTimeout(e);try{n(e)}catch(t){try{return n.call(null,e)}catch(t){return n.call(this,e)}}}(e)}}function p(e,t){this.fun=e,this.array=t}function h(){}r.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];c.push(new p(e,t)),1!==c.length||u||a(d)},p.prototype.run=function(){this.fun.apply(null,this.array)},r.title="browser",r.browser=!0,r.env={},r.argv=[],r.version="",r.versions={},r.on=h,r.addListener=h,r.once=h,r.off=h,r.removeListener=h,r.removeAllListeners=h,r.emit=h,r.prependListener=h,r.prependOnceListener=h,r.listeners=function(e){return[]},r.binding=function(e){throw new Error("process.binding is not supported")},r.cwd=function(){return"/"},r.chdir=function(e){throw new Error("process.chdir is not supported")},r.umask=function(){return 0}},function(e,t,n){var r=n(1),o=n(12);e.exports=function(e){var t=new r(e);return t.initialize(o),t}},function(e,t){var n=function(e){return e||""},r=function(e){var t=Date.now();"undefined"!=typeof window&&window.performance&&"function"==typeof window.performance.now&&(t+=performance.now());var n="xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(function(e){var n=(t+16*Math.random())%16|0;return t=Math.floor(t/16),("x"===e?n:11&n).toString(16)}));return!1===e?n.replace(/-/g,""):n},o=function(e){return"object"==typeof e},i=function(e){var t={}.toString.call(e);return o(e)&&("[object Error]"===t||"[object Exception]"===t||t instanceof Error)},a=function(e){return"[object Array]"==={}.toString.call(e)},s=function(e){return"function"==typeof e},c=function(e){return"string"==typeof e},u=function(e){var t=+new Date;return!0===e&&(t=Math.floor(t/1e3)),t},f=function(e){if(e.stack){var t=e.stack.split("\n");return t.shift(),t.join("\n")}return""},l=function(e){var t;switch(e){case 1:t="jserr";break;case 2:t="api";break;case 3:t="jsfsperf";break;case 4:t="resloadfail";break;case 5:t="flow";break;case 6:t="bkpg";break;case 7:t="harlog";break;default:t="jssdkidx"}return t},d=function(){return u()+Math.floor(10*Math.random())},p=function(e){var t=[];for(var n in e)t.push(n+"="+e[n]);return t.join("&")},h=function(e){return JSON?JSON.stringify(e):e.toString()},g=function(){if("undefined"!=typeof document&&document.getElementsByTagName)for(var e,t,n,r,o=document.getElementsByTagName("meta"),i=o.length,a=0;a<i;a++)"wpk-bid"===(r=o[a]).name?e=r.content:"wpk-cid"===r.name?t=r.content:"wpk-rel"===r.name&&(n=r.content);return{wpkBid:e||null,wpkCid:t||null,wpkRel:n||null}},v=function(e){return e&&F()?o(window)&&window.prerenderCommitEvent&&o(window.prerenderCommitEvent)&&"prerendercommit"===window.prerenderCommitEvent.type:"complete"===document.readyState},m=function(e,t,n){y(window,n?"wpkpageforeground":"load",(function(r){n&&"complete"!==document.readyState?y(window,"load",e,t):e.call(this,r)}),t)},y=function(e,t,n,r){return e.addEventListener?e.addEventListener(t,(function o(i){r&&e.removeEventListener(t,o,!1),n.call(this,i)}),!1):e.attachEvent&&e.attachEvent("on"+t,(function o(i){r&&e.detachEvent("on"+t,o),n.call(this,i)})),this},w=function(e,t,n){return n?(e.removeEventListener?e.removeEventListener(t,n):e.detachEvent&&e.detachEvent(t,n),this):this},b=function(e){return!!e&&0!==e&&(e>=1||"100%"===e||(/^\d+(\.\d+)?%$/.test(e)?Math.random()<parseFloat(e)/100:e>0&&e<1&&Math.random()<e))},_="wpk-reporter",x=function(e,t){var n=[].slice.call(t);e.apply(this,[_].concat(n))},A=function(e){var t="";switch(e.category){case 1:t=[e.category,e.uid,e.w_url,e.w_ref,e.w_msg||"",e.w_line||"",e.w_col||""].join("");break;case 2:t=[e.category,e.uid,e.w_res,e.w_method,e.w_rc].join("");break;case 4:t=[e.category,e.uid,e.w_url,e.w_ref,e.w_res,e.w_type].join("")}return t},L=function(e,t){e=e||!1;try{if("undefined"!=typeof window&&window.ucweb&&window.ucweb.window||t){for(var n=(t||navigator.userAgent).split(" "),r=n.length,o=!1,i=!1,a=0;a<r;a++)if(-1!==n[a].indexOf("UWS/")){var s=n[a].split("/");i=C(s[1],"2.13.2.37")}else-1!==n[a].indexOf("AliApp(DingTalk/")&&(o=!0);return o?i:e}}catch(e){}return!1},C=function(e,t){try{for(var n,r,o=e.split("."),i=t.split("."),a=o.length,s=0;s<a;s++)if((n=parseInt(o[s]))!==(r=parseInt(i[s])))return n>r;return!0}catch(e){}return!1},S=function(e){try{var t="__wpktestingls__";return e().setItem(t,t),e().removeItem(t),!0}catch(e){return!1}};function E(){return localStorage}var P={get:function(e){if(S(E)){var t=E().getItem(e);if(t){if(t=JSON.parse(t),Date.now()<t.expireAt)return t;this.rm(e)}}return null},set:function(e,t){S(E)&&e&&t&&(t.expireAt=Date.now()+18e5,E().setItem(e,JSON.stringify(t)))},rm:function(e){S(E)&&E().removeItem(e)}};function O(){return sessionStorage}var k=function(){var e=r();return S(O)&&O().setItem("wpkreporter:frmid",e),e},I=function(e,t){if(t){if(1===t.length)return e===t[0];if(2===t.length){var n=t[0],r=t[1];return n&&!r?o(e,n):n&&r?o(e,n)&&o(r,e):o(r,e)}return!1}return!0;function o(e,t){var n=e.split("."),r=t.split(".");return!(parseInt(n[0])<parseInt(r[0]))&&(parseInt(n[0])>parseInt(r[0])||!(parseInt(n[1])<parseInt(r[1]))&&(parseInt(n[1])>parseInt(r[1])||parseInt(n[2])>=parseInt(r[2])))}},T=function(e,t,n,o,i){var a="wpkreporter:dynamicConf:"+e,c=P.get(a);if(c)s(i)&&i(c);else{var f={app:e,tm:u(!0),ud:r(),sver:t,sign:"c41e43c828c16c16a6eb1c9c1e68e8ce"},l=p(f);!function(e,t){if("undefined"==typeof XMLHttpRequest)t();else{var n=new XMLHttpRequest;n.onreadystatechange=function(){if(4===n.readyState){var e;if(200===n.status&&n.response)try{var r=JSON.parse(n.response);0===r.code&&(e=r.config||[])}catch(e){}t(e)}};try{n.open("GET",e,!0),n.timeout=3e3,n.send()}catch(e){}}}(n+"?wpk-header="+encodeURIComponent(l),(function(e){if(c={},void 0!==e){for(var n=e.length,r=0;r<n;r++){var o=e[r],u=o.sdkver;if(I(t,u)){if(o.common&&void 0!==o.common.sampleRate&&(c.all=o.common.sampleRate),o.config)for(var f,l=o.config.length,d=0;d<l;d++)if((f=o.config[d]).type){if(f.category_rate)for(var p in f.category_rate)c[f.type+"@"+p]=f.category_rate[p];f.sampleRate&&(c[f.type]=f.sampleRate)}break}}P.set(a,c)}s(i)&&i(c)}))}},R=function(e,t,n){for(var r,o=t.length,i=0;i<o;i++)"string"==typeof(r=e[t[i]])?e[t[i]]=r.substring(0,n):"object"==typeof r&&(e[t[i]]=String(r))},U="undefined"!=typeof navigator?(navigator.userAgent||"").toLowerCase():"",D=function(){return U.indexOf("ucbrowser/")>-1},N=function(){return U.indexOf("quark/")>-1},j=function(){var e=!1;try{if("undefined"!=typeof navigator){var t=-1!==navigator.userAgent.indexOf("Alipay"),n=-1!==navigator.userAgent.indexOf("MiniProgram"),r=-1!==navigator.userAgent.indexOf("APXWebView");e=t&&(n||r)}}catch(e){}return e},F=function(){if("undefined"!=typeof window&&null!==window){if(window.ucweb&&window.ucweb.window&&window.ucweb.window.performance&&3===window.ucweb.window.performance.pt)return!0;if(window.compass&&window.compass.env&&o(window.compass.env))return window.compass.env.isPrerender}return!1};e.exports=function(e){return{noop:n,uuid:r,isError:i,isArray:a,isObject:o,isFunction:s,isString:c,getSessionId:k,logger:"undefined"!=typeof console&&o(console)&&e.debug?{trace:function(){x(console.trace,arguments)},debug:function(){x(console.debug,arguments)},log:function(){x(console.log,arguments)},info:function(){x(console.info,arguments)},warn:function(){x(console.warn,arguments)},error:function(){x(console.error,arguments)}}:{trace:n,debug:n,log:n,info:n,warn:n,error:n},extend:function(e){for(var t=1,n=arguments.length;t<n;t++){var r=arguments[t];for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(e[o]=r[o])}return e},some:function(e,t){if(!this.isArray(e)||!this.isFunction(t))return!1;for(var n,r=e.length,o=0;o<r;o++)if(n=e[o],t.call(this,n))return!0;return!1},filter:function(e,t){var n=[];try{for(var r=0,o=e.length;r<o;r++)t.call(this,e[r],r,e)&&n.push(e[r]);return n}catch(e){}return e},forEach:function(e,t){if(this.isArray(e)&&this.isFunction(t))for(var n,r=e.length,o=0;o<r;o++)n=e[o],t.call(this,n,o,e)},trim:function(e){if(this.isString(e))return e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")},canReport:b,onListen:y,offListen:w,getMetas:g,timestamp:u,generateSeq:d,categoryToType:l,parseErrorStack:f,objToJsonString:h,objToQueryString:p,genContentHash:A,isU4HA:L,isUC:D,isQuark:N,cutStr:R,dynamicConf:T,inAlipayMiniAppWebview:j,isCompassPrerender:F,isPageReady:v,onPageReady:m}}},function(e,t){var n=window.history||{},r=window.document,o=function(e,t){var n;window.CustomEvent?n=new CustomEvent(e,{detail:t}):((n=r.createEvent("HTMLEvents")).initEvent(e,!1,!0),n.detail=t),window.dispatchEvent(n)},i=function(e){return e&&"string"==typeof e?e.replace(/^(https?:)?\/\//,"").replace(/\?.*$/,""):""},a=function(e){var t=n[e];"function"==typeof t&&(n[e]=function(e,r,a){var s=location.href,c=t.call(n,e,r,a);if(!a||"string"!=typeof a)return c;if(a===s)return c;try{var u=s.split("#"),f=a.split("#"),l=i(u[0]),d=i(f[0]),p=u[1]&&u[1].replace(/^\/?(.*)/,"$1"),h=f[1]&&f[1].replace(/^\/?(.*)/,"$1");l!==d?o("historystatechange",d):p!==h&&o("historystatechange",h)}catch(e){}return c},n[e].toString=e+"() { [native code] }")};e.exports=function(){a("pushState"),a("replaceState")}},function(e,t,n){var r,o,i=n(0),a=i.env,s=i.category,c=function(e){return"function"==typeof e},u={},f=function(e,t,n,r){e.addEventListener?e.addEventListener(t,n,r||!1):(u["on"+t]=function(){return n.call(e,window.event)},e.attachEvent("on"+t,u["on"+t]))},l=function e(t,n){var r=t.id?"#"+t.id:"",o="";t.className&&"string"==typeof t.className&&(o="."+t.className.split(" ").join("."));var i=t.tagName.toLowerCase();return t.parentNode&&t.parentNode.tagName&&n-1!=0?e(t.parentNode,n-1)+" > "+i.toLowerCase()+r+o:i+r+o},d=function(e,t,n,i,a,u){if(r)try{r.call(this,t,n,i,a,u)}catch(u){}if("script error."===(t||"").toLowerCase()){if(e.ignoreScriptError||o.ignoreScriptError)return void e.logger.warn("\u914d\u7f6e\u4e86ignoreScriptError\uff0c\u672c\u6b21\u5f02\u5e38\u5c06\u4e0d\u4e0a\u62a5");t="Script error",u=u||{}}if(!c(o.jsErrFilter)||o.jsErrFilter.call(this,event)){if(null!=u){var f=(u.stack||"").split("\n");f.shift();var l={w_msg:t,w_file:n||"",w_line:i||"",w_col:a||"",stack:f.join("\n"),category:s.JSERR,sampleRate:o.jsErrSampleRate};e.report(l)}}else e.logger.warn("jserrFilter \u8fd4\u56defalse\uff0c\u672c\u6b21\u65e5\u5fd7\u5c06\u4e0d\u4e0a\u62a5, event: ",event)},p=function(e,t){var n=window;n&&e.env===a.BROWSER?(e.logger.info("wpkglobalerrorPlugin\u5df2\u5f00\u542f"),!1!==(o=e.toolKit.extend({jsErrSampleRate:1,resErrSampleRate:1},t)).jsErr?(r=n.onerror,n.onerror=function(t,n,r,o,i){d(e,t,n,r,o,i)},f(n,"unhandledrejection",(function(t){var n=t.type;"string"==typeof t.reason?n=t.reason:t.reason&&"object"==typeof t.reason&&t.reason.message&&(n=t.reason.message),d(e,n,null,null,null,t.reason||t.type)}))):e.logger.warn("js\u5f02\u5e38\u76d1\u63a7\u5df2\u5173\u95ed"),o.resErr?f(n,"error",(function(t){!function(e,t){if(!t.target.tagName||t.message||t.filename||t.lineno||t.colno)e.logger.warn("\u975e\u8d44\u6e90\u83b7\u53d6\u95ee\u9898\uff0c\u8df3\u51fa\u5904\u7406, event: ",t);else if(!c(o.resErrFilter)||o.resErrFilter.call(this,t)){var n=t.target.src||t.target.href;n===window.location.href&&(n="EMPTY_SRC");var r,i=function(e){var t=-1;switch(e.tagName.toLowerCase()){case"img":t=1;break;case"link":e.rel&&"stylesheet"===e.rel.toLowerCase()&&(t=2);break;case"script":t=3;break;case"video":t=11}return t}(t.target);11===i&&t.target.error&&(r=t.target.error.code),e.report({category:s.RESLOADFAIL,sampleRate:o.resErrSampleRate,msg:n+" \u52a0\u8f7d\u5931\u8d25",w_res:n,w_type:i,w_err:r,w_xpath:l(t.target,5)})}else e.logger.warn("reserrFilter \u8fd4\u56defalse\uff0c\u672c\u6b21\u65e5\u5fd7\u5c06\u4e0d\u4e0a\u62a5, event: ",t)}(e,t)}),!0):e.logger.warn("\u8d44\u6e90\u52a0\u8f7d\u5f02\u5e38\u76d1\u63a7\u5df2\u5173\u95ed")):e.logger.warn("\u5168\u5c40\u9519\u8bef\u76d1\u63a7\u63d2\u4ef6\u4e0d\u652f\u6301\u975e\u6d4f\u89c8\u5668\u73af\u5883")};p.prototype.pluginId="gerror",e.exports=p},function(e,t,n){var r=n(0),o=r.sdk,i=r.http.methods,a=r.category,s=function(e){return e>=200&&e<=299},c=function(e){return-1===e.indexOf("//arms-retcode")&&-1===e.indexOf("//retcode.taobao.com")&&-1===e.indexOf("aliyuncs.com/r.png")&&-1===e.indexOf("//mdap.alipay.com/loggw")&&-1===e.indexOf("//wpk-gateway")&&-1===e.indexOf("//px.wpk.quark.cn")&&-1===e.indexOf("//px.ucweb.com")&&-1===e.indexOf("//px.effirst.com")&&-1===e.indexOf("//px-intl.ucweb.com")&&-1===e.indexOf("//gm.mmstat.com/arms.1.1")&&-1===e.indexOf("//gm.mmstat.com/arms.1.2")&&-1===e.indexOf("//g.alicdn.com/alilog")&&-1===e.indexOf("//log.m.sm.cn/0.gif")},u=function(e,t){if(e.hasOwnProperty(t))return e[t]},f=function(e,t,n){e.toolKit.isObject(n)&&e.toolKit.extend(t,{c1:u(n,"c1"),c2:u(n,"c2"),c3:u(n,"c3"),c4:u(n,"c4"),c5:u(n,"c5"),bl1:u(n,"bl1"),bl2:u(n,"bl2"),bl3:u(n,"bl3"),bl4:u(n,"bl4"),bl5:u(n,"bl5")}),e.report(t)},l=location.origin,d=function(e){return!e||0===e.indexOf(l)||!/^(\/\/|http:|https:).*/.test(e)};function p(e,t){var n=null;try{var r,o,i,a=e.toolKit.trim(t||"").split(/[\r\n]+/);a.length>0&&(n={},e.toolKit.forEach(a,(function(e){r=e.split(": "),o=r.shift(),i=r.join(": "),n[o]=i})))}catch(e){}return n}function h(e){try{if(!e)return{};var t={};return e.forEach((function(e,n){t[n]=e})),t}catch(e){return{}}}var g=function(e,t){if(e.env===r.env.BROWSER&&window){var n={enable:!0,sampleRate:1,enableTrace:!1,enableCorsTrace:function(e){return!1},requestHeaders:{"x-wpk-reqid":function(){return e.toolKit.uuid(!1)},"x-wpk-bid":function(){return e.bid}},responseHeaders:["x-eagleeye-id","x-wpk-serverid"]},u=e.toolKit.extend(n,t);u.enable?(e.logger.info("wpkinterfacePlugin\u5df2\u5f00\u542f"),"XMLHttpRequest"in window&&function(e,t){var n=window.XMLHttpRequest.prototype,r=n.open;n.open=function(n,o){this.__reqCtx__={method:n,url:o||"",start:Date.now()};var i=[].slice.call(arguments);r.apply(this,i);var a=this;t.enableTrace&&(d(o)||t.enableCorsTrace(o))&&e.toolKit.forEach(Object.getOwnPropertyNames(t.requestHeaders),(function(e){var n=t.requestHeaders[e]();a.setRequestHeader(e,n)}))};var u=n.setRequestHeader;n.setRequestHeader=function(e,t){var n=[].slice.call(arguments);u.apply(this,n),this.__reqCtx__&&(this.__reqCtx__.headers||(this.__reqCtx__.headers={}),this.__reqCtx__.headers[e]=t)};var l=n.send;n.send=function(n){var r=this;function u(){if(r.__reqCtx__&&4===r.readyState)try{var u=Date.now(),l=(r.responseURL||r.__reqCtx__.url).split("?"),d=l[0],h=l[1]||"",g="",v=r.__reqCtx__.headers||{};r.__reqCtx__.method.toUpperCase()!==i.GET&&n&&(g=JSON.stringify(n));var m=p(e,r.getAllResponseHeaders()),y=String(r.response),w=!0,b={};"function"==typeof t.errorFilter&&(w=!!(b=t.errorFilter.call(this,{url:d,status:r.status,response:y,body:g,queryString:h,reqHeaders:v,resHeaders:m})),e.logger.warn("api errorFilter\u6267\u884c\u7ed3\u679c\uff1a",b)),y.length>2048&&(y="[response content too large]");var _=u-r.__reqCtx__.start;if(w&&_<121e3&&c(d)){var x=b.bizCode||r.status,A=b.reqHeaders||v,L=b.resHeaders||m,C={category:a.API,sampleRate:t.sampleRate,w_res:d,w_param:h,w_body:s(x)||!t.withBody?"":g,w_method:r.__reqCtx__.method,w_rc:x,w_rt:_,w_resp:s(x)||!t.withResp?"":b.resp||y,w_hd:JSON.stringify(A),w_trace_reqid:A&&A["x-wpk-reqid"]||void 0,w_rshd:JSON.stringify(L),w_trace_serverid:L&&L["x-wpk-serverid"]||void 0,msg:b.msg||"",w_type:16};f(e,C,b)}}catch(t){e.reportError(t,{bid:o.BID,cid:o.CID,category:a.JSERR,sampleRate:1})}}if("onreadystatechange"in r&&"function"==typeof r.onreadystatechange){var d=r.onreadystatechange;r.onreadystatechange=function(){var e=[].slice.call(arguments);u.apply(this,e),d.apply(this,e)}}else r.onreadystatechange=u;var h=[].slice.call(arguments);return l.apply(this,h)}}(e,u),"fetch"in window&&function(e,t){var n=function(e){var t=(e||"").split("?");return{apiAddr:t[0],queryString:t.length>1&&t[1]||""}},r=function(n,r,o,i,c,u,f,l,d,p,h){var g=e.toolKit.isObject(l)?l:{},v=g.reqHeaders||u,m=g.resHeaders||f;return{w_res:n,w_param:r,w_method:o,w_rc:c,w_rt:i,w_hd:JSON.stringify(v),w_trace_reqid:v&&v["x-wpk-reqid"]||void 0,w_rshd:JSON.stringify(m),w_trace_serverid:m&&m["x-wpk-serverid"]||void 0,msg:g.msg||d||"",w_body:s(c)||!t.withBody?"":p,w_resp:s(c)||!t.withResp?"":g.resp||h||"",category:a.API,sampleRate:t.sampleRate,w_type:17}},u=function(n,r,o,i,a,s,c){var u={};return"function"==typeof t.errorFilter&&(u=t.errorFilter.call(this,{url:n,queryString:r,status:o,body:i,response:a,reqHeaders:s,resHeaders:c}),e.logger.warn("api errorFilter\u6267\u884c\u7ed3\u679c\uff1a",u)),u},l=window.fetch;window.fetch=function(){var s=[].slice.call(arguments),p=i.GET;s[1]&&s[1].method&&(p=s[1].method.toUpperCase());var g,v=s[0];g="string"==typeof v?v:v instanceof URL?v.toString():v.url||"",t.enableTrace&&(d(g)||t.enableCorsTrace(g))&&(s[1]?void 0===s[1].headers&&(s[1].headers={}):s[1]={headers:{}},e.toolKit.forEach(Object.getOwnPropertyNames(t.requestHeaders),(function(e){s[1].headers[e]=t.requestHeaders[e]()})));var m=Date.now(),y="",w=null;return s[1]&&(w=s[1].headers),p!==i.GET&&s[1]&&s[1].body&&(y=JSON.stringify(s[1].body)),l.apply(this,s).then((function(t){try{var i=Date.now(),l=n(t.url||s[0]),d=l.apiAddr,g=l.queryString,v=t.clone(),b=h(v.headers);v.text().then((function(n){n=n||"";var o=u.call(this,d,g,t.status,y,n,w,b),a=!!o;n=n.length>2048?"[response content too large]":n;var s=i-m;if(a&&s<121e3&&c(d)){var l=o.bizCode||t.status,h=r(d,g,p,s,l,w,b,o,void 0,y,n);f(e,h,o)}}))}catch(t){e.reportError(t,{bid:o.BID,cid:o.CID,category:a.JSERR,sampleRate:1})}return t})).catch((function(t){var o=n(s[0]),i=o.apiAddr,a=o.queryString,l=u.call(this,i,a,-1,y,"",w,{}),d=!!l,h=Date.now()-m;if(d&&h<121e3&&c(i)){var g=l.bizCode||-1,v=r(i,a,p,h,g,w,{},l,t.message,y,void 0);f(e,v,l)}throw t}))}}(e,u),(e.enableMtop||u.enableMtop)&&(e.logger.info("use mtop"),function(e,t){window&&window.lib.mtop&&window.lib.mtop.middlewares&&window.lib.mtop.middlewares.push((function(n){var r=this.params,i=this.options,u=Date.now();return n().then((function(){try{if(i.H5Request&&(i.getJSON||i.postJSON))return void e.logger.debug("\u8bc6\u522b\u5230\u8bf7\u6c42\u4e3axhr, api\u76d1\u63a7\u4ea4\u7531xhr\u7684\u65b9\u5f0f\u5904\u7406");var n,l=i.retJson||{},d=Date.now()-u,p=l.code||200,h=r.type,g=r.api,v=e.toolKit.objToQueryString(i.querystring),m=i.postdata&&i.postdata.data?e.toolKit.objToJsonString(i.postdata.data):null,y=e.toolKit.objToJsonString(l.data||{}),w=l.ret;w instanceof Array&&(w=w.join(",")),-1===w.indexOf("SUCCESS")&&(n=w);var b=!0,_={};if("function"==typeof t.errorFilter&&(b=!!(_=t.errorFilter.call(this,{url:g,status:p,response:y,body:m,queryString:v,msg:n})),e.logger.warn("api errorFilter\u6267\u884c\u7ed3\u679c\uff1a",_)),b&&d<121e3&&c(g)){var x=_.bizCode||p,A={category:a.API,sampleRate:t.sampleRate,w_res:g,w_param:v,w_body:s(x)||!t.withBody?"":m,w_method:h,w_rc:x,w_rt:d,w_resp:s(x)||!t.withResp?"":_.resp||y,msg:_.msg||n||"",w_type:100};f(e,A,_)}}catch(t){e.reportError(t,{bid:o.BID,cid:o.CID,category:a.JSERR,sampleRate:1})}}))}))}(e,u))):e.logger.info("wpkinterfacePlugin\u5df2\u5173\u95ed")}};g.prototype.pluginId="api",e.exports=g},function(e,t,n){var r,o=n(0).env,i=n(0).category,a=["navigationStart","unloadEventStart","unloadEventEnd","redirectStart","redirectEnd","fetchStart","domainLookupStart","domainLookupEnd","connectStart","secureConnectionStart","connectEnd","requestStart","responseStart","responseEnd","domLoading","domInteractive","domContentLoadedEventStart","domContentLoadedEventEnd","domComplete","loadEventStart","loadEventEnd","msFirstPaint"],s=["navigate","reload","back_forward"],c=function(e){var t,n;if(r&&r.getEntriesByType)try{for(var o=r.getEntriesByType("paint"),i=0;i<o.length;i++){var s=o[i];"first-paint"===s.name?t=parseFloat(s.startTime.toFixed(2)):"first-contentful-paint"===s.name&&(n=parseFloat(s.startTime.toFixed(2)))}}catch(e){console.error(e)}var c=e[a[13]]-e[a[5]];return{w_n_rve:c?parseFloat(c.toFixed(2)):c,fpt:t,fcp:n}},u=function(e,t){var n,r,o,i={},s=e._ver||1;for(var c in t)o=0,n=e[a[t[c][0]]],r=e[a[t[c][1]]],(2===s?n>=0:n>0)&&r>0&&(o=parseFloat((r-n).toFixed(2))),i[c]=o;return i},f=function(e,t){var n=window;if(r=n.performance||n.webkitPerformance||n.msPerformance||n.mozPerformance,e.env===o.BROWSER&&r&&r.timing){t=t||{};var a=e.toolKit.extend({enable:!0,sampleRate:1,collectResTiming:!1,minLoadTiming:3e3,maxLoadTiming:8e3,minLoadSpr:.05,maxLoadSpr:1},t);if(a.enable){e.logger.info("wpkperformancePlugin\u5df2\u5f00\u542f");var f=r.timing||{},l=1;if("function"==typeof n.PerformanceNavigationTiming)try{var d=r.getEntriesByType("navigation")[0];d&&(f=d,l=2)}catch(e){}f._ver=l;var p=function(){/loaded|complete/.test(document.readyState)&&setTimeout((function(){var t=e.toolKit.extend(function(e){return u(e,{w_unload:[1,2],w_redirect:[3,4],w_appcache:[5,6],w_dns:[6,7],w_tcp:[8,10],w_ssl:[9,10],w_ttfb:[11,12],w_contentdownload:[12,13],w_domparsing:[13,15],w_res:[17,19]})}(f),function(e){var t=u(e,{w_firstbyte:[5,12],w_tti:[5,15],w_domready:[5,17],w_load:[5,19],w_total:[5,20]}),n=c(e);return t.w_n_rve=n.w_n_rve,t.wl_fcp=n.fcp,t.wl_fp=n.fpt,t}(f));for(var n in t)if(t[n]<0||t[n]>6e4)return void e.logger.warn("\u6027\u80fd\u6570\u636e\u5f02\u5e38\uff1a",n,t[n]);var o=e.toolKit.extend(t,function(e){var t,n=r.navigation||{},o=-1,i=-1,a=-1;return 1===e._ver?t=s[n.type]||"other":2===e._ver&&(o=e.encodedBodySize,i=e.decodedBodySize,a=e.transferSize,t=e.type),{w_enbdsize:o,w_debdsize:i,w_transize:a,w_navtype:t}}(f),a,{category:i.JSFSPERF});if(e.report(o),(a.collectResTiming||e.toolKit.isQuark()||e.toolKit.isUC())&&!e._hasCollectResTiming){e.logger.info("\u5df2\u5f00\u542f\u6162\u6027\u80fdresource\u91c7\u96c6\u80fd\u529b");var l=0;t.w_load>=a.minLoadTiming&&t.w_load<=a.maxLoadTiming?l=a.minLoadSpr:t.w_load>a.maxLoadTiming&&(l=a.maxLoadSpr),l&&r&&"function"==typeof r.getEntriesByType&&(e.report({category:i.RESTIMING,sampleRate:l,bl1:JSON.stringify(r.getEntriesByType("resource")),bl2:r.timeOrigin||r.timing.fetchStart,_forcePost:!0}),e._hasCollectResTiming=!0)}}))};e.toolKit.isPageReady(e.prerender)?p():e.toolKit.onPageReady(p,!0,e.prerender)}else e.logger.info("wpkperformancePlugin\u5df2\u5173\u95ed")}else e.logger.warn("\u57fa\u7840\u6027\u80fd\u63d2\u4ef6\u4ec5\u652f\u6301\u6d4f\u89c8\u5668\u73af\u5883")};f.prototype.pluginId="perf",e.exports=f},function(e,t,n){var r=n(0).env,o=function(e,t){if(t=t||{},-1!==[r.BROWSER,r.WEEX].indexOf(e.env)&&t.params&&"string"==typeof t.params){e.logger.info("wpkucparamPlugin\u5df2\u5f00\u542f");for(var n=t.params,o=["pr","ve","os","fr","nw","ut","sv"],i=0;i<5;i++){var a=o[i];-1===n.indexOf(a)&&(n+=a)}try{"undefined"!=typeof ucapi&&"function"==typeof ucapi.invoke&&(e.uc_param_str=n,ucapi.invoke("biz.ucparams",{params:n,success:function(t){e.uc_param=t||"",e.uc_param_str=""},fail:function(t){e.logger.error("get uc_param_str error: ",t)}}))}catch(t){e.logger.error("get uc_param_str error: ",t),e.uc_param_str=n}}};o.prototype.pluginId="ucparam",e.exports=o},function(e,t,n){var r=n(0),o="undefined"!=typeof weex?weex:{};e.exports={env:r.env.WEEX,root:o,isHttps:!1,send:function(e,t,n){var r=this.toolKit.extend(function(){var e={wx_pf:WXEnvironment.platform,wx_ver:WXEnvironment.weexVersion,wx_app:WXEnvironment.appName,wx_app_ver:WXEnvironment.appVersion,wx_os:WXEnvironment.osName,wx_os_ver:WXEnvironment.osVersion,wx_dev_md:WXEnvironment.deviceModel,dsp_w:WXEnvironment.deviceWidth,dsp_h:WXEnvironment.deviceHeight};if(void 0!==weex.config.uc)try{var t=JSON.parse(weex.config.uc.ucParams);e.net=t.nw,e.wx_app=t.pr,e.wx_app_ver=t.ve}catch(e){}return"undefined"!=typeof weex&&weex.config&&weex.config.bundleType&&"Vue"!==weex.config.bundleType&&"vue"!==weex.config.bundleType?("undefined"!=typeof location?e.wx_bdl_url=location.href:e.wx_bdl_url="undefined"!=typeof weex&&weex.config?weex.config.bundleUrl:"unknow",e.wx_bdl_type="Rax"):(e.wx_bdl_url=weex.config.bundleUrl,e.wx_bdl_type="Vue"),e.wx_bdl_name=function(e){try{var t=e.substring(e.lastIndexOf("/")+1);return-1===t.lastIndexOf(".")?t:t.substring(0,t.lastIndexOf("."))}catch(e){return""}}(e.wx_bdl_url),e}(),n,{w_frmid:this._sid});r.fr=r.wx_os,r.rom=r.wx_os_ver,r.brand=r.wx_dev_md,r.model=r.wx_dev_md,r.browser=r.wx_app,r.bver=r.wx_app_ver,r.w_url=r.wx_bdl_name,r.w_send_mode="weexfetch";var o=encodeURIComponent(t),i=encodeURIComponent(this.toolKit.objToJsonString(r));weex.requireModule("stream").fetch({url:e,method:"POST",headers:{"wpk-header":o},body:i},(function(e,t){}))},getWid:function(){return this.toolKit.uuid()},bindUnloadEvent:function(){}}},function(e,t,n){var r=n(1),o=n(14);e.exports=function(e){var t=new r(e);return t.initialize(o),t}},function(e,t,n){(function(t){var r=n(0),o=t;e.exports={env:r.env.NODEJS,root:o,send:function(e,t,n){}}}).call(this,n(15))},function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t,n){var r=n(1),o=n(17);e.exports=function(e){var t=new r(e);return t.initialize(o),t}},function(e,t,n){var r=n(0),o="undefined"!=typeof window?window:"undefined"!=typeof self?self:{},i=o.document,a=o.navigator,s=o.location,c=void 0!==o.devicePixelRatio?o.devicePixelRatio:1,u={},f=null,l=null,d=function(e,t,n,r,o){if(void 0===t){var a,s;if(!u[e]){a=new RegExp(e+"=([^;]+)");try{s=a.exec(i.cookie)}catch(e){return null}s&&(u[e]=s[1])}return u[e]}var c=e+"="+t;r&&(c+="; domain="+r),o&&(c+="; path="+o),n&&(c+="; max-age="+n);try{return i.cookie=c,!!i.cookie}catch(e){return!1}},p=function(e,t){!function(e,t,n,r){void 0!==window.ucapi&&"function"==typeof window.ucapi.invoke?(t&&(t.success=n,t.fail=r),window.ucapi.invoke("webMonitor.reportWpkLog",t)):r&&r("ucapi is not exist")}(0,e,(function(e){t.logger.warn("log reported success by jsapi",e)}),(function(e){t.logger.warn("log report failed by jsapi",e)}))},h=function(e){var t=window,n="wpkimgreporter_"+ +new Date+".r"+Math.floor(1e3*Math.random()),r=t[n]=new Image;r.onload=r.onerror=function(){t[n]=null},r.src=e},g=null,v=function(e){clearTimeout(g),g=null,function(e){var t,n=e._waitingQueue;if(e.checkHidden&&i&&i.hidden)return e.logger.warn("\u5f53\u524d\u9875\u9762\u4e0d\u53ef\u89c1\uff0c\u65e5\u5fd7\u6570\u636e\u5c06\u4e22\u5f03: ",n),void(e._waitingQueue=[]);null===f&&(t=(navigator?navigator.userAgent:"").toLowerCase(),f=t.indexOf("windvane")>-1&&/(iphone|ipad|ipod|ios)/i.test(t)),null===l&&(l=e.useNativeCH&&function(e){try{return"undefined"!=typeof window&&void 0!==window.nativeWpkReport&&1===(window.nativeWpkReport||{}).enablePerformanceReport}catch(e){return!1}}());var r=a&&a.sendBeacon&&o.Blob,s=e.supportBeaconBody&&!f;if(l){for(var c=0;c<n.length;c++)try{var u=n[c];u.w_send_mode="jsapi",u._servAddr=void 0,u._hash=void 0,p({type:u.type,immediate:"jsfsperf"===u.type?0:1,args:u},e)}catch(e){}e._waitingQueue=[]}else if(r&&s){var d,g,v=function(e){for(var t,n,r=[],o=[],i=e.length,a=0;a<i;a++)n=e[a].category,-1===o.indexOf(n)&&o.push(n);t=o.length;for(var s=0;s<t;s++){n=o[s];for(var c=[],u=0;u<i;u++){var f=e[u];f.category===n&&c.push(f)}r[s]=c}return r}(n),m=v.length;try{for(var y,w=0;w<m;w++){y=(d=v[w])[0]._servAddr,g=d.length;for(var b=0;b<g;b++)d[b].w_send_mode="sendbeacon",d[b]._servAddr=void 0,d[b]._hash=void 0,d[b]=e.toolKit.objToJsonString(d[b]);a.sendBeacon(y,encodeURIComponent(d.join("\n")))}e._waitingQueue=[]}catch(e){}}else{for(var _,x,A,L=0;L<n.length;L++){x=(_=n[L])._servAddr,A=_._forcePost,_.w_send_mode=A?"fetch":r?"sendbeacon":"imgsrc",_._servAddr=void 0,_._hash=void 0,_._forcePost=void 0,_=encodeURIComponent(e.toolKit.objToJsonString(_));try{!0===A&&"function"==typeof fetch?fetch(x,{method:"POST",body:_}).then((function(){})).catch((function(){})):r?a.sendBeacon(x+"&data="+_):h(x+"&data="+_)}catch(e){}}e._waitingQueue=[]}}(e)},m=function(e){v(e)};e.exports={env:r.env.BROWSER,root:o,isHttps:s.protocol===r.http.protocols.HTTPS,send:function(e,t,n){var u=this;if(!u.ignoreU4HA&&u.toolKit.isU4HA(u.onlyCustom)&&n.category<100&&(2!==n.category||100!==n.w_type))u.logger.warn("\u5728u4\u5185\u6838\u73af\u5883\uff0c\u5c4f\u853d\u975e\u81ea\u5b9a\u4e49\u7684\u6240\u6709\u81ea\u52a8\u6253\u70b9");else if(u.toolKit.inAlipayMiniAppWebview()&&!0===u.blockAlipayMiniAppWebview)u.logger.warn("current runtime is alipay miniapp webview, this request will be blocked.");else{var f=u.toolKit.extend(function(e){if(!i)return{};var t,n=i.referrer;return n&&-1!==n.indexOf('"')&&(n=encodeURIComponent(i.referrer)),{w_url:s.origin+s.pathname,w_query:s.search,w_ref:s.hash.substring(1),w_title:i.title,ua:a.userAgent,referrer:n,dsp_dpi:c||1,dsp_w:o.screen.width,dsp_h:o.screen.height,net:(t=a.connection,t&&t.type?t.type===r.navConn.types.NONE?"disconnected":t.type===r.navConn.types.CELLULAR?t.effectiveType===r.navConn.effectiveTypes.SLOW2G?"2g":t.effectiveType:t.type:"")}}(u.spa),n,{w_frmid:u._sid});if(u.logger.warn("logData to send: ",e,f),e+="?wpk-header="+encodeURIComponent(t),u.uc_param_str&&(e+="&uc_param_str="+u.uc_param_str),!0===n._diagnose)return f=encodeURIComponent(u.toolKit.objToJsonString(f)),void window.open(e+"&data="+f);f._servAddr=e,f._hash=u.toolKit.genContentHash(f);var l,d,p=u.delay&&-1!==[1,2,4].indexOf(f.category);!function(e,t){var n=e._waitingQueue,r=n.length,o=t.reduplication||e.reduplication||!0,i=!0;if(1===t.category&&o&&0!==r){for(var a,s=0;s<r;s++)if((a=n[s])._hash===t._hash){a.w_cnt++,i=!1;break}i&&n.push(t)}else n.push(t);return i}(u,f)&&p?u.logger.warn("logData\u88ab\u5408\u5e76: ",f):(l=function(){v(u)},g=-1==(d=p?3e3:-1)?(l(),null):setTimeout(l,d||0))}},getWid:function(){var e=d(r.sdk.WID_KEY);return e||(e=this.toolKit.uuid(),d(r.sdk.WID_KEY,e,15552e3)),e},bindUnloadEvent:function(e){window&&(window.addEventListener?window.addEventListener("beforeunload",(function(t){m(e)}),!1):window.attachEvent&&window.attachEvent("onbeforeunload",(function(t){m(e)})))}}}])},function(e,t,n){"use strict";n(573)},function(e,t,n){n(67),n(71),n(73),n(32),n(76),n(77),n(78),n(68),n(289),n(446),n(102),n(235),n(151),n(103),e.exports=function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},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,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=10)}({0:function(e){e.exports={sdk:{BID:"wpkreporter",CID:"jssdk",WID_KEY:"__wpkreporterwid_"},env:{BROWSER:"browser",NODEJS:"nodejs",WEEX:"weex"},px:{signKey:"Uvn#08uefVdwe&c4",addr:{cn:"http://px.effirst.com/api/v1/jssdk/upload",cn_https:"https://px.effirst.com/api/v1/jssdk/upload",quark:"http://px.wpk.quark.cn/api/v1/jssdk/upload",quark_https:"https://px.wpk.quark.cn/api/v1/jssdk/upload",intl:"http://px-intl.ucweb.com/api/v1/jssdk/upload",intl_https:"https://px-intl.ucweb.com/api/v1/jssdk/upload",qg:"http://px-itrace.xuexi.cn/api/v1/jssdk/upload",qg_https:"https://px-itrace.xuexi.cn/api/v1/jssdk/upload"},confAddr:{cn:"http://px.effirst.com/api/v1/jconfig",cn_https:"https://px.effirst.com/api/v1/jconfig",intl:"http://px-intl.ucweb.com/api/v1/jconfig",intl_https:"https://px-intl.ucweb.com/api/v1/jconfig",qg:"http://px-itrace.xuexi.cn/api/v1/jconfig",qg_https:"https://px-itrace.xuexi.cn/api/v1/jconfig",quark:"http://px.wpk.quark.cn/api/v1/jconfig",quark_https:"https://px.wpk.quark.cn/api/v1/jconfig"}},http:{methods:{GET:"GET",PUT:"PUT",POST:"POST",HEAD:"HEAD",DELETE:"DELETE",OPTIONS:"OPTIONS",CONNECT:"OPTIONS",TRACE:"OPTIONS",PATCH:"OPTIONS"},protocols:{HTTP:"http:",HTTPS:"https:"}},category:{JSERR:1,API:2,JSFSPERF:3,RESLOADFAIL:4,FLOW:5,BKPG:6,HARLOG:7,PERFNEXT:1e3,MAINDOC:1e5,RESTIMING:100001},navConn:{types:{BLUETOOTH:"bluetooth",CELLULAR:"cellular",ETHERNET:"ethernet",MIXED:"mixed",NONE:"none",OTHER:"other",UNKNOWN:"unknown",WIFI:"wifi",WIMAX:"wimax"},effectiveTypes:{"2G":"2g","3G":"3g","4G":"4g",SLOW2G:"slow-2g"}}}},10:function(e,t,n){var r,o=n(0).env,i=n(0).category,a=["navigationStart","unloadEventStart","unloadEventEnd","redirectStart","redirectEnd","fetchStart","domainLookupStart","domainLookupEnd","connectStart","secureConnectionStart","connectEnd","requestStart","responseStart","responseEnd","domLoading","domInteractive","domContentLoadedEventStart","domContentLoadedEventEnd","domComplete","loadEventStart","loadEventEnd","msFirstPaint"],s=["navigate","reload","back_forward"],c=function(e){var t,n;if(r&&r.getEntriesByType)try{for(var o=r.getEntriesByType("paint"),i=0;i<o.length;i++){var s=o[i];"first-paint"===s.name?t=parseFloat(s.startTime.toFixed(2)):"first-contentful-paint"===s.name&&(n=parseFloat(s.startTime.toFixed(2)))}}catch(e){console.error(e)}var c=e[a[13]]-e[a[5]];return{w_n_rve:c?parseFloat(c.toFixed(2)):c,fpt:t,fcp:n}},u=function(e,t){var n,r,o,i={},s=e._ver||1;for(var c in t)o=0,n=e[a[t[c][0]]],r=e[a[t[c][1]]],(2===s?n>=0:n>0)&&r>0&&(o=parseFloat((r-n).toFixed(2))),i[c]=o;return i},f=function(e,t){var n=window;if(r=n.performance||n.webkitPerformance||n.msPerformance||n.mozPerformance,e.env===o.BROWSER&&r&&r.timing){t=t||{};var a=e.toolKit.extend({enable:!0,sampleRate:1,collectResTiming:!1,minLoadTiming:3e3,maxLoadTiming:8e3,minLoadSpr:.05,maxLoadSpr:1},t);if(a.enable){e.logger.info("wpkperformancePlugin\u5df2\u5f00\u542f");var f=r.timing||{},l=1;if("function"==typeof n.PerformanceNavigationTiming)try{var d=r.getEntriesByType("navigation")[0];d&&(f=d,l=2)}catch(e){}f._ver=l;var p=function(){/loaded|complete/.test(document.readyState)&&setTimeout((function(){var t=e.toolKit.extend(function(e){return u(e,{w_unload:[1,2],w_redirect:[3,4],w_appcache:[5,6],w_dns:[6,7],w_tcp:[8,10],w_ssl:[9,10],w_ttfb:[11,12],w_contentdownload:[12,13],w_domparsing:[13,15],w_res:[17,19]})}(f),function(e){var t=u(e,{w_firstbyte:[5,12],w_tti:[5,15],w_domready:[5,17],w_load:[5,19],w_total:[5,20]}),n=c(e);return t.w_n_rve=n.w_n_rve,t.wl_fcp=n.fcp,t.wl_fp=n.fpt,t}(f));for(var n in t)if(t[n]<0||t[n]>6e4)return void e.logger.warn("\u6027\u80fd\u6570\u636e\u5f02\u5e38\uff1a",n,t[n]);var o=e.toolKit.extend(t,function(e){var t,n=r.navigation||{},o=-1,i=-1,a=-1;return 1===e._ver?t=s[n.type]||"other":2===e._ver&&(o=e.encodedBodySize,i=e.decodedBodySize,a=e.transferSize,t=e.type),{w_enbdsize:o,w_debdsize:i,w_transize:a,w_navtype:t}}(f),a,{category:i.JSFSPERF});if(e.report(o),(a.collectResTiming||e.toolKit.isQuark()||e.toolKit.isUC())&&!e._hasCollectResTiming){e.logger.info("\u5df2\u5f00\u542f\u6162\u6027\u80fdresource\u91c7\u96c6\u80fd\u529b");var l=0;t.w_load>=a.minLoadTiming&&t.w_load<=a.maxLoadTiming?l=a.minLoadSpr:t.w_load>a.maxLoadTiming&&(l=a.maxLoadSpr),l&&r&&"function"==typeof r.getEntriesByType&&(e.report({category:i.RESTIMING,sampleRate:l,bl1:JSON.stringify(r.getEntriesByType("resource")),bl2:r.timeOrigin||r.timing.fetchStart,_forcePost:!0}),e._hasCollectResTiming=!0)}}))};e.toolKit.isPageReady(e.prerender)?p():e.toolKit.onPageReady(p,!0,e.prerender)}else e.logger.info("wpkperformancePlugin\u5df2\u5173\u95ed")}else e.logger.warn("\u57fa\u7840\u6027\u80fd\u63d2\u4ef6\u4ec5\u652f\u6301\u6d4f\u89c8\u5668\u73af\u5883")};f.prototype.pluginId="perf",e.exports=f}})},function(e,t,n){n(67),n(71),n(73),n(32),n(76),n(77),n(78),n(150),n(102),n(234),e.exports=function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},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,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=5)}({0:function(e){e.exports={sdk:{BID:"wpkreporter",CID:"jssdk",WID_KEY:"__wpkreporterwid_"},env:{BROWSER:"browser",NODEJS:"nodejs",WEEX:"weex"},px:{signKey:"Uvn#08uefVdwe&c4",addr:{cn:"http://px.effirst.com/api/v1/jssdk/upload",cn_https:"https://px.effirst.com/api/v1/jssdk/upload",quark:"http://px.wpk.quark.cn/api/v1/jssdk/upload",quark_https:"https://px.wpk.quark.cn/api/v1/jssdk/upload",intl:"http://px-intl.ucweb.com/api/v1/jssdk/upload",intl_https:"https://px-intl.ucweb.com/api/v1/jssdk/upload",qg:"http://px-itrace.xuexi.cn/api/v1/jssdk/upload",qg_https:"https://px-itrace.xuexi.cn/api/v1/jssdk/upload"},confAddr:{cn:"http://px.effirst.com/api/v1/jconfig",cn_https:"https://px.effirst.com/api/v1/jconfig",intl:"http://px-intl.ucweb.com/api/v1/jconfig",intl_https:"https://px-intl.ucweb.com/api/v1/jconfig",qg:"http://px-itrace.xuexi.cn/api/v1/jconfig",qg_https:"https://px-itrace.xuexi.cn/api/v1/jconfig",quark:"http://px.wpk.quark.cn/api/v1/jconfig",quark_https:"https://px.wpk.quark.cn/api/v1/jconfig"}},http:{methods:{GET:"GET",PUT:"PUT",POST:"POST",HEAD:"HEAD",DELETE:"DELETE",OPTIONS:"OPTIONS",CONNECT:"OPTIONS",TRACE:"OPTIONS",PATCH:"OPTIONS"},protocols:{HTTP:"http:",HTTPS:"https:"}},category:{JSERR:1,API:2,JSFSPERF:3,RESLOADFAIL:4,FLOW:5,BKPG:6,HARLOG:7,PERFNEXT:1e3,MAINDOC:1e5,RESTIMING:100001},navConn:{types:{BLUETOOTH:"bluetooth",CELLULAR:"cellular",ETHERNET:"ethernet",MIXED:"mixed",NONE:"none",OTHER:"other",UNKNOWN:"unknown",WIFI:"wifi",WIMAX:"wimax"},effectiveTypes:{"2G":"2g","3G":"3g","4G":"4g",SLOW2G:"slow-2g"}}}},5:function(e,t,n){var r,o,i=n(0),a=i.env,s=i.category,c=function(e){return"function"==typeof e},u={},f=function(e,t,n,r){e.addEventListener?e.addEventListener(t,n,r||!1):(u["on"+t]=function(){return n.call(e,window.event)},e.attachEvent("on"+t,u["on"+t]))},l=function(e,t){var n=e.id?"#"+e.id:"",r="";e.className&&"string"==typeof e.className&&(r="."+e.className.split(" ").join("."));var o=e.tagName.toLowerCase();return e.parentNode&&e.parentNode.tagName&&t-1!=0?l(e.parentNode,t-1)+" > "+o.toLowerCase()+n+r:o+n+r},d=function(e,t,n,i,a,u){if(r)try{r.call(this,t,n,i,a,u)}catch(u){}if("script error."===(t||"").toLowerCase()){if(e.ignoreScriptError||o.ignoreScriptError)return void e.logger.warn("\u914d\u7f6e\u4e86ignoreScriptError\uff0c\u672c\u6b21\u5f02\u5e38\u5c06\u4e0d\u4e0a\u62a5");t="Script error",u=u||{}}if(!c(o.jsErrFilter)||o.jsErrFilter.call(this,event)){if(null!=u){var f=(u.stack||"").split("\n");f.shift();var l={w_msg:t,w_file:n||"",w_line:i||"",w_col:a||"",stack:f.join("\n"),category:s.JSERR,sampleRate:o.jsErrSampleRate};e.report(l)}}else e.logger.warn("jserrFilter \u8fd4\u56defalse\uff0c\u672c\u6b21\u65e5\u5fd7\u5c06\u4e0d\u4e0a\u62a5, event: ",event)},p=function(e,t){var n=window;n&&e.env===a.BROWSER?(e.logger.info("wpkglobalerrorPlugin\u5df2\u5f00\u542f"),!1!==(o=e.toolKit.extend({jsErrSampleRate:1,resErrSampleRate:1},t)).jsErr?(r=n.onerror,n.onerror=function(t,n,r,o,i){d(e,t,n,r,o,i)},f(n,"unhandledrejection",(function(t){var n=t.type;"string"==typeof t.reason?n=t.reason:t.reason&&"object"==typeof t.reason&&t.reason.message&&(n=t.reason.message),d(e,n,null,null,null,t.reason||t.type)}))):e.logger.warn("js\u5f02\u5e38\u76d1\u63a7\u5df2\u5173\u95ed"),o.resErr?f(n,"error",(function(t){!function(e,t){if(!t.target.tagName||t.message||t.filename||t.lineno||t.colno)e.logger.warn("\u975e\u8d44\u6e90\u83b7\u53d6\u95ee\u9898\uff0c\u8df3\u51fa\u5904\u7406, event: ",t);else if(!c(o.resErrFilter)||o.resErrFilter.call(this,t)){var n=t.target.src||t.target.href;n===window.location.href&&(n="EMPTY_SRC");var r,i=function(e){var t=-1;switch(e.tagName.toLowerCase()){case"img":t=1;break;case"link":e.rel&&"stylesheet"===e.rel.toLowerCase()&&(t=2);break;case"script":t=3;break;case"video":t=11}return t}(t.target);11===i&&t.target.error&&(r=t.target.error.code),e.report({category:s.RESLOADFAIL,sampleRate:o.resErrSampleRate,msg:n+" \u52a0\u8f7d\u5931\u8d25",w_res:n,w_type:i,w_err:r,w_xpath:l(t.target,5)})}else e.logger.warn("reserrFilter \u8fd4\u56defalse\uff0c\u672c\u6b21\u65e5\u5fd7\u5c06\u4e0d\u4e0a\u62a5, event: ",t)}(e,t)}),!0):e.logger.warn("\u8d44\u6e90\u52a0\u8f7d\u5f02\u5e38\u76d1\u63a7\u5df2\u5173\u95ed")):e.logger.warn("\u5168\u5c40\u9519\u8bef\u76d1\u63a7\u63d2\u4ef6\u4e0d\u652f\u6301\u975e\u6d4f\u89c8\u5668\u73af\u5883")};p.prototype.pluginId="gerror",e.exports=p}})},function(e,t,n){n(67),n(71),n(73),n(32),n(76),n(77),n(78),n(47),n(102),n(235),n(234),n(243),n(45),n(46),n(150),n(66),n(305),n(103),n(49),n(48),n(69),n(70),n(379),n(304),n(148),e.exports=function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},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,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=6)}({0:function(e){e.exports={sdk:{BID:"wpkreporter",CID:"jssdk",WID_KEY:"__wpkreporterwid_"},env:{BROWSER:"browser",NODEJS:"nodejs",WEEX:"weex"},px:{signKey:"Uvn#08uefVdwe&c4",addr:{cn:"http://px.effirst.com/api/v1/jssdk/upload",cn_https:"https://px.effirst.com/api/v1/jssdk/upload",quark:"http://px.wpk.quark.cn/api/v1/jssdk/upload",quark_https:"https://px.wpk.quark.cn/api/v1/jssdk/upload",intl:"http://px-intl.ucweb.com/api/v1/jssdk/upload",intl_https:"https://px-intl.ucweb.com/api/v1/jssdk/upload",qg:"http://px-itrace.xuexi.cn/api/v1/jssdk/upload",qg_https:"https://px-itrace.xuexi.cn/api/v1/jssdk/upload"},confAddr:{cn:"http://px.effirst.com/api/v1/jconfig",cn_https:"https://px.effirst.com/api/v1/jconfig",intl:"http://px-intl.ucweb.com/api/v1/jconfig",intl_https:"https://px-intl.ucweb.com/api/v1/jconfig",qg:"http://px-itrace.xuexi.cn/api/v1/jconfig",qg_https:"https://px-itrace.xuexi.cn/api/v1/jconfig",quark:"http://px.wpk.quark.cn/api/v1/jconfig",quark_https:"https://px.wpk.quark.cn/api/v1/jconfig"}},http:{methods:{GET:"GET",PUT:"PUT",POST:"POST",HEAD:"HEAD",DELETE:"DELETE",OPTIONS:"OPTIONS",CONNECT:"OPTIONS",TRACE:"OPTIONS",PATCH:"OPTIONS"},protocols:{HTTP:"http:",HTTPS:"https:"}},category:{JSERR:1,API:2,JSFSPERF:3,RESLOADFAIL:4,FLOW:5,BKPG:6,HARLOG:7,PERFNEXT:1e3,MAINDOC:1e5,RESTIMING:100001},navConn:{types:{BLUETOOTH:"bluetooth",CELLULAR:"cellular",ETHERNET:"ethernet",MIXED:"mixed",NONE:"none",OTHER:"other",UNKNOWN:"unknown",WIFI:"wifi",WIMAX:"wimax"},effectiveTypes:{"2G":"2g","3G":"3g","4G":"4g",SLOW2G:"slow-2g"}}}},6:function(e,t,n){var r=n(0),o=r.sdk,i=r.http.methods,a=r.category,s=function(e){return e>=200&&e<=299},c=function(e){return-1===e.indexOf("//arms-retcode")&&-1===e.indexOf("//retcode.taobao.com")&&-1===e.indexOf("aliyuncs.com/r.png")&&-1===e.indexOf("//mdap.alipay.com/loggw")&&-1===e.indexOf("//wpk-gateway")&&-1===e.indexOf("//px.wpk.quark.cn")&&-1===e.indexOf("//px.ucweb.com")&&-1===e.indexOf("//px.effirst.com")&&-1===e.indexOf("//px-intl.ucweb.com")&&-1===e.indexOf("//gm.mmstat.com/arms.1.1")&&-1===e.indexOf("//gm.mmstat.com/arms.1.2")&&-1===e.indexOf("//g.alicdn.com/alilog")&&-1===e.indexOf("//log.m.sm.cn/0.gif")},u=function(e,t){if(e.hasOwnProperty(t))return e[t]},f=function(e,t,n){e.toolKit.isObject(n)&&e.toolKit.extend(t,{c1:u(n,"c1"),c2:u(n,"c2"),c3:u(n,"c3"),c4:u(n,"c4"),c5:u(n,"c5"),bl1:u(n,"bl1"),bl2:u(n,"bl2"),bl3:u(n,"bl3"),bl4:u(n,"bl4"),bl5:u(n,"bl5")}),e.report(t)},l=location.origin,d=function(e){return!e||0===e.indexOf(l)||!/^(\/\/|http:|https:).*/.test(e)};function p(e,t){var n=null;try{var r,o,i,a=e.toolKit.trim(t||"").split(/[\r\n]+/);a.length>0&&(n={},e.toolKit.forEach(a,(function(e){r=e.split(": "),o=r.shift(),i=r.join(": "),n[o]=i})))}catch(e){}return n}function h(e){try{if(!e)return{};var t={};return e.forEach((function(e,n){t[n]=e})),t}catch(e){return{}}}var g=function(e,t){if(e.env===r.env.BROWSER&&window){var n={enable:!0,sampleRate:1,enableTrace:!1,enableCorsTrace:function(){return!1},requestHeaders:{"x-wpk-reqid":function(){return e.toolKit.uuid(!1)},"x-wpk-bid":function(){return e.bid}},responseHeaders:["x-eagleeye-id","x-wpk-serverid"]},u=e.toolKit.extend(n,t);u.enable?(e.logger.info("wpkinterfacePlugin\u5df2\u5f00\u542f"),"XMLHttpRequest"in window&&function(e,t){var n=window.XMLHttpRequest.prototype,r=n.open;n.open=function(n,o){this.__reqCtx__={method:n,url:o||"",start:Date.now()};var i=[].slice.call(arguments);r.apply(this,i);var a=this;t.enableTrace&&(d(o)||t.enableCorsTrace(o))&&e.toolKit.forEach(Object.getOwnPropertyNames(t.requestHeaders),(function(e){var n=t.requestHeaders[e]();a.setRequestHeader(e,n)}))};var u=n.setRequestHeader;n.setRequestHeader=function(e,t){var n=[].slice.call(arguments);u.apply(this,n),this.__reqCtx__&&(this.__reqCtx__.headers||(this.__reqCtx__.headers={}),this.__reqCtx__.headers[e]=t)};var l=n.send;n.send=function(n){var r=this;function u(){if(r.__reqCtx__&&4===r.readyState)try{var u=Date.now(),l=(r.responseURL||r.__reqCtx__.url).split("?"),d=l[0],h=l[1]||"",g="",v=r.__reqCtx__.headers||{};r.__reqCtx__.method.toUpperCase()!==i.GET&&n&&(g=JSON.stringify(n));var m=p(e,r.getAllResponseHeaders()),y=String(r.response),w=!0,b={};"function"==typeof t.errorFilter&&(w=!!(b=t.errorFilter.call(this,{url:d,status:r.status,response:y,body:g,queryString:h,reqHeaders:v,resHeaders:m})),e.logger.warn("api errorFilter\u6267\u884c\u7ed3\u679c\uff1a",b)),y.length>2048&&(y="[response content too large]");var _=u-r.__reqCtx__.start;if(w&&_<121e3&&c(d)){var x=b.bizCode||r.status,A=b.reqHeaders||v,L=b.resHeaders||m,C={category:a.API,sampleRate:t.sampleRate,w_res:d,w_param:h,w_body:s(x)||!t.withBody?"":g,w_method:r.__reqCtx__.method,w_rc:x,w_rt:_,w_resp:s(x)||!t.withResp?"":b.resp||y,w_hd:JSON.stringify(A),w_trace_reqid:A&&A["x-wpk-reqid"]||void 0,w_rshd:JSON.stringify(L),w_trace_serverid:L&&L["x-wpk-serverid"]||void 0,msg:b.msg||"",w_type:16};f(e,C,b)}}catch(t){e.reportError(t,{bid:o.BID,cid:o.CID,category:a.JSERR,sampleRate:1})}}if("onreadystatechange"in r&&"function"==typeof r.onreadystatechange){var d=r.onreadystatechange;r.onreadystatechange=function(){var e=[].slice.call(arguments);u.apply(this,e),d.apply(this,e)}}else r.onreadystatechange=u;var h=[].slice.call(arguments);return l.apply(this,h)}}(e,u),"fetch"in window&&function(e,t){var n=function(e){var t=(e||"").split("?");return{apiAddr:t[0],queryString:t.length>1&&t[1]||""}},r=function(n,r,o,i,c,u,f,l,d,p,h){var g=e.toolKit.isObject(l)?l:{},v=g.reqHeaders||u,m=g.resHeaders||f;return{w_res:n,w_param:r,w_method:o,w_rc:c,w_rt:i,w_hd:JSON.stringify(v),w_trace_reqid:v&&v["x-wpk-reqid"]||void 0,w_rshd:JSON.stringify(m),w_trace_serverid:m&&m["x-wpk-serverid"]||void 0,msg:g.msg||d||"",w_body:s(c)||!t.withBody?"":p,w_resp:s(c)||!t.withResp?"":g.resp||h||"",category:a.API,sampleRate:t.sampleRate,w_type:17}},u=function(n,r,o,i,a,s,c){var u={};return"function"==typeof t.errorFilter&&(u=t.errorFilter.call(this,{url:n,queryString:r,status:o,body:i,response:a,reqHeaders:s,resHeaders:c}),e.logger.warn("api errorFilter\u6267\u884c\u7ed3\u679c\uff1a",u)),u},l=window.fetch;window.fetch=function(){var s=[].slice.call(arguments),p=i.GET;s[1]&&s[1].method&&(p=s[1].method.toUpperCase());var g,v=s[0];g="string"==typeof v?v:v instanceof URL?v.toString():v.url||"",t.enableTrace&&(d(g)||t.enableCorsTrace(g))&&(s[1]?void 0===s[1].headers&&(s[1].headers={}):s[1]={headers:{}},e.toolKit.forEach(Object.getOwnPropertyNames(t.requestHeaders),(function(e){s[1].headers[e]=t.requestHeaders[e]()})));var m=Date.now(),y="",w=null;return s[1]&&(w=s[1].headers),p!==i.GET&&s[1]&&s[1].body&&(y=JSON.stringify(s[1].body)),l.apply(this,s).then((function(t){try{var i=Date.now(),l=n(t.url||s[0]),d=l.apiAddr,g=l.queryString,v=t.clone(),b=h(v.headers);v.text().then((function(n){n=n||"";var o=u.call(this,d,g,t.status,y,n,w,b);n=n.length>2048?"[response content too large]":n;var a=i-m;if(o&&a<121e3&&c(d)){var s=o.bizCode||t.status,l=r(d,g,p,a,s,w,b,o,void 0,y,n);f(e,l,o)}}))}catch(t){e.reportError(t,{bid:o.BID,cid:o.CID,category:a.JSERR,sampleRate:1})}return t})).catch((function(t){var o=n(s[0]),i=o.apiAddr,a=o.queryString,l=u.call(this,i,a,-1,y,"",w,{}),d=Date.now()-m;if(l&&d<121e3&&c(i)){var h=l.bizCode||-1,g=r(i,a,p,d,h,w,{},l,t.message,y,void 0);f(e,g,l)}throw t}))}}(e,u),(e.enableMtop||u.enableMtop)&&(e.logger.info("use mtop"),function(e,t){window&&window.lib.mtop&&window.lib.mtop.middlewares&&window.lib.mtop.middlewares.push((function(n){var r=this.params,i=this.options,u=Date.now();return n().then((function(){try{if(i.H5Request&&(i.getJSON||i.postJSON))return void e.logger.debug("\u8bc6\u522b\u5230\u8bf7\u6c42\u4e3axhr, api\u76d1\u63a7\u4ea4\u7531xhr\u7684\u65b9\u5f0f\u5904\u7406");var n,l=i.retJson||{},d=Date.now()-u,p=l.code||200,h=r.type,g=r.api,v=e.toolKit.objToQueryString(i.querystring),m=i.postdata&&i.postdata.data?e.toolKit.objToJsonString(i.postdata.data):null,y=e.toolKit.objToJsonString(l.data||{}),w=l.ret;w instanceof Array&&(w=w.join(",")),-1===w.indexOf("SUCCESS")&&(n=w);var b=!0,_={};if("function"==typeof t.errorFilter&&(b=!!(_=t.errorFilter.call(this,{url:g,status:p,response:y,body:m,queryString:v,msg:n})),e.logger.warn("api errorFilter\u6267\u884c\u7ed3\u679c\uff1a",_)),b&&d<121e3&&c(g)){var x=_.bizCode||p,A={category:a.API,sampleRate:t.sampleRate,w_res:g,w_param:v,w_body:s(x)||!t.withBody?"":m,w_method:h,w_rc:x,w_rt:d,w_resp:s(x)||!t.withResp?"":_.resp||y,msg:_.msg||n||"",w_type:100};f(e,A,_)}}catch(t){e.reportError(t,{bid:o.BID,cid:o.CID,category:a.JSERR,sampleRate:1})}}))}))}(e,u))):e.logger.info("wpkinterfacePlugin\u5df2\u5173\u95ed")}};g.prototype.pluginId="api",e.exports=g}})},,,,,,,,,,,function(e,t,n){"use strict";var r=n(7),o=n(3),i=n(6),a=n(1),s=n(90),c=n(89),u=n(117),f=n(19),l=n(85),d=Object.assign,p=Object.defineProperty,h=o([].concat);e.exports=!d||a((function(){if(r&&1!==d({b:1},d(p({},"a",{enumerable:!0,get:function(){p(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},n=Symbol("assign detection");return e[n]=7,"abcdefghijklmnopqrst".split("").forEach((function(e){t[e]=e})),7!==d({},e)[n]||"abcdefghijklmnopqrst"!==s(d({},t)).join("")}))?function(e,t){for(var n=f(e),o=arguments.length,a=1,d=c.f,p=u.f;o>a;)for(var g,v=l(arguments[a++]),m=d?h(s(v),d(v)):s(v),y=m.length,w=0;y>w;)g=m[w++],r&&!i(p,v,g)||(n[g]=v[g]);return n}:d},function(e,t,n){"use strict";var r=n(37).match(/firefox\/(\d+)/i);e.exports=!!r&&+r[1]},function(e,t,n){"use strict";var r=n(37);e.exports=/MSIE|Trident/.test(r)},function(e,t,n){"use strict";var r=n(37).match(/AppleWebKit\/(\d+)\./);e.exports=!!r&&+r[1]},function(e,t,n){"use strict";var r=n(58).PROPER,o=n(1),i=n(328);e.exports=function(e){return o((function(){return!!i[e]()||"\u200b\x85\u180e"!=="\u200b\x85\u180e"[e]()||r&&i[e].name!==e}))}},function(e,t,n){"use strict";var r=n(50),o=n(81),i=RangeError;e.exports=function(e){if(void 0===e)return 0;var t=r(e),n=o(t);if(t!==n)throw new i("Wrong length or index");return n}},function(e,t,n){"use strict";e.exports=Math.sign||function(e){var t=+e;return 0===t||t!=t?t:t<0?-1:1}},function(e,t,n){"use strict";var r=n(10),o=Math.floor;e.exports=Number.isInteger||function(e){return!r(e)&&isFinite(e)&&o(e)===e}},function(e,t,n){"use strict";var r=n(483),o=RangeError;e.exports=function(e,t){var n=r(e);if(n%t)throw new o("Wrong offset");return n}},function(e,t,n){"use strict";var r=n(160),o=TypeError;e.exports=function(e){var t=r(e,"number");if("number"==typeof t)throw new o("Can't convert number to bigint");return BigInt(t)}},function(e,t,n){"use strict";var r=n(33);e.exports=function(e,t,n){for(var o=0,i=arguments.length>2?n:r(t),a=new e(i);i>o;)a[o]=t[o++];return a}},function(e,t,n){"use strict";var r=n(51),o=n(16),i=n(50),a=n(33),s=n(83),c=Math.min,u=[].lastIndexOf,f=!!u&&1/[1].lastIndexOf(1,-0)<0,l=s("lastIndexOf"),d=f||!l;e.exports=d?function(e){if(f)return r(u,this,arguments)||0;var t=o(this),n=a(t),s=n-1;for(arguments.length>1&&(s=c(s,i(arguments[1]))),s<0&&(s=n+s);s>=0;s--)if(s in t&&t[s]===e)return s||0;return-1}:u},,,function(e,t,n){"use strict";n(48);var r=n(2),o=n(0),i=n(172),a=n(6),s=n(3),c=n(7),u=n(408),f=n(13),l=n(35),d=n(320),p=n(21),h=n(171),g=n(20),v=n(157),m=n(4),y=n(8),w=n(53),b=n(52),_=n(9),x=n(10),A=n(12),L=n(27),C=n(36),S=n(162),E=n(110),P=n(115),O=n(114),k=n(5),I=n(356),T=k("iterator"),R=g.set,U=g.getterFor("URLSearchParams"),D=g.getterFor("URLSearchParamsIterator"),N=i("fetch"),j=i("Request"),F=i("Headers"),B=j&&j.prototype,M=F&&F.prototype,q=o.RegExp,H=o.TypeError,W=o.decodeURIComponent,K=o.encodeURIComponent,V=s("".charAt),z=s([].join),J=s([].push),Y=s("".replace),G=s([].shift),Q=s([].splice),X=s("".split),Z=s("".slice),$=/\+/g,ee=Array(4),te=function(e){return ee[e-1]||(ee[e-1]=q("((?:%[\\da-f]{2}){"+e+"})","gi"))},ne=function(e){try{return W(e)}catch(t){return e}},re=function(e){var t=Y(e,$," "),n=4;try{return W(t)}catch(e){for(;n;)t=Y(t,te(n--),ne);return t}},oe=/[!'()~]|%20/g,ie={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},ae=function(e){return ie[e]},se=function(e){return Y(K(e),oe,ae)},ce=h((function(e,t){R(this,{type:"URLSearchParamsIterator",target:U(e).entries,index:0,kind:t})}),"URLSearchParams",(function(){var e=D(this),t=e.target,n=e.index++;if(!t||n>=t.length)return e.target=void 0,P(void 0,!0);var r=t[n];switch(e.kind){case"keys":return P(r.key,!1);case"values":return P(r.value,!1)}return P([r.key,r.value],!1)}),!0),ue=function(e){this.entries=[],this.url=null,void 0!==e&&(x(e)?this.parseObject(e):this.parseQuery("string"==typeof e?"?"===V(e,0)?Z(e,1):e:A(e)))};ue.prototype={type:"URLSearchParams",bindURL:function(e){this.url=e,this.update()},parseObject:function(e){var t,n,r,o,i,s,c,u=this.entries,f=E(e);if(f)for(n=(t=S(e,f)).next;!(r=a(n,t)).done;){if(i=(o=S(_(r.value))).next,(s=a(i,o)).done||(c=a(i,o)).done||!a(i,o).done)throw new H("Expected sequence with length 2");J(u,{key:A(s.value),value:A(c.value)})}else for(var l in e)y(e,l)&&J(u,{key:l,value:A(e[l])})},parseQuery:function(e){if(e)for(var t,n,r=this.entries,o=X(e,"&"),i=0;i<o.length;)(t=o[i++]).length&&(n=X(t,"="),J(r,{key:re(G(n)),value:re(z(n,"="))}))},serialize:function(){for(var e,t=this.entries,n=[],r=0;r<t.length;)e=t[r++],J(n,se(e.key)+"="+se(e.value));return z(n,"&")},update:function(){this.entries.length=0,this.parseQuery(this.url.query)},updateURL:function(){this.url&&this.url.update()}};var fe=function(){v(this,le);var e=arguments.length>0?arguments[0]:void 0,t=R(this,new ue(e));c||(this.size=t.entries.length)},le=fe.prototype;if(d(le,{append:function(e,t){var n=U(this);O(arguments.length,2),J(n.entries,{key:A(e),value:A(t)}),c||this.length++,n.updateURL()},delete:function(e){for(var t=U(this),n=O(arguments.length,1),r=t.entries,o=A(e),i=n<2?void 0:arguments[1],a=void 0===i?i:A(i),s=0;s<r.length;){var u=r[s];if(u.key!==o||void 0!==a&&u.value!==a)s++;else if(Q(r,s,1),void 0!==a)break}c||(this.size=r.length),t.updateURL()},get:function(e){var t=U(this).entries;O(arguments.length,1);for(var n=A(e),r=0;r<t.length;r++)if(t[r].key===n)return t[r].value;return null},getAll:function(e){var t=U(this).entries;O(arguments.length,1);for(var n=A(e),r=[],o=0;o<t.length;o++)t[o].key===n&&J(r,t[o].value);return r},has:function(e){for(var t=U(this).entries,n=O(arguments.length,1),r=A(e),o=n<2?void 0:arguments[1],i=void 0===o?o:A(o),a=0;a<t.length;){var s=t[a++];if(s.key===r&&(void 0===i||s.value===i))return!0}return!1},set:function(e,t){var n=U(this);O(arguments.length,1);for(var r,o=n.entries,i=!1,a=A(e),s=A(t),u=0;u<o.length;u++)(r=o[u]).key===a&&(i?Q(o,u--,1):(i=!0,r.value=s));i||J(o,{key:a,value:s}),c||(this.size=o.length),n.updateURL()},sort:function(){var e=U(this);I(e.entries,(function(e,t){return e.key>t.key?1:-1})),e.updateURL()},forEach:function(e){for(var t,n=U(this).entries,r=w(e,arguments.length>1?arguments[1]:void 0),o=0;o<n.length;)r((t=n[o++]).value,t.key,this)},keys:function(){return new ce(this,"keys")},values:function(){return new ce(this,"values")},entries:function(){return new ce(this,"entries")}},{enumerable:!0}),f(le,T,le.entries,{name:"entries"}),f(le,"toString",(function(){return U(this).serialize()}),{enumerable:!0}),c&&l(le,"size",{get:function(){return U(this).entries.length},configurable:!0,enumerable:!0}),p(fe,"URLSearchParams"),r({global:!0,constructor:!0,forced:!u},{URLSearchParams:fe}),!u&&m(F)){var de=s(M.has),pe=s(M.set),he=function(e){if(x(e)){var t,n=e.body;if("URLSearchParams"===b(n))return t=e.headers?new F(e.headers):new F,de(t,"content-type")||pe(t,"content-type","application/x-www-form-urlencoded;charset=UTF-8"),L(e,{body:C(0,A(n)),headers:C(0,t)})}return e};if(m(N)&&r({global:!0,enumerable:!0,dontCallGetSet:!0,forced:!0},{fetch:function(e){return N(e,arguments.length>1?he(arguments[1]):{})}}),m(j)){var ge=function(e){return v(this,B),new j(e,arguments.length>1?he(arguments[1]):{})};B.constructor=ge,ge.prototype=B,r({global:!0,constructor:!0,dontCallGetSet:!0,forced:!0},{Request:ge})}}e.exports={URLSearchParams:fe,getState:U}},function(e,t,n){"use strict";var r=n(1),o=n(5),i=n(7),a=n(17),s=o("iterator");e.exports=!r((function(){var e=new URL("b?a=1&b=2&c=3","http://a"),t=e.searchParams,n=new URLSearchParams("a=1&a=2&b=3"),r="";return e.pathname="c%20d",t.forEach((function(e,n){t.delete("b"),r+=n+e})),n.delete("a",2),n.delete("b",void 0),a&&(!e.toJSON||!n.has("a",1)||n.has("a",2)||!n.has("a",void 0)||n.has("b"))||!t.size&&(a||!i)||!t.sort||"http://a/c%20d?a=1&c=3"!==e.href||"3"!==t.get("c")||"a=1"!==String(new URLSearchParams("?a=1"))||!t[s]||"a"!==new URL("https://a@b").username||"b"!==new URLSearchParams(new URLSearchParams("a=b")).get("a")||"xn--e1aybc"!==new URL("http://\u0442\u0435\u0441\u0442").host||"#%D0%B1"!==new URL("http://a#\u0431").hash||"a1c3"!==r||"x"!==new URL("http://x",void 0).host}))},function(e,t,n){"use strict";n(494)},function(e,t,n){"use strict";var r=n(53),o=n(6),i=n(19),a=n(497),s=n(165),c=n(91),u=n(33),f=n(111),l=n(162),d=n(110),p=Array;e.exports=function(e){var t=i(e),n=c(this),h=arguments.length,g=h>1?arguments[1]:void 0,v=void 0!==g;v&&(g=r(g,h>2?arguments[2]:void 0));var m,y,w,b,_,x,A=d(t),L=0;if(!A||this===p&&s(A))for(m=u(t),y=n?new this(m):p(m);m>L;L++)x=v?g(t[L],L):t[L],f(y,L,x);else for(_=(b=l(t,A)).next,y=n?new this:[];!(w=o(_,b)).done;L++)x=v?a(b,g,[w.value,L],!0):w.value,f(y,L,x);return y.length=L,y}},function(e,t,n){"use strict";n(67),n(285),n(69),n(147),n(102),n(152),n(234),n(47),n(335),n(32),Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return{log:a("log",e,t),warn:a("warn",e,t),err:a("err",e,t)}};var r=n(498);function o(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}var i={log:function(){var e;(e=console).log.apply(e,arguments)},warn:function(){var e;(e=console).warn.apply(e,arguments)},err:function(){var e;(e=console).error.apply(e,arguments)},noop:function(){}};function a(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(!c(e,t,n))return i.noop;if(r.isUseColors&&"log"===e){var a=(0,r.getColor)(t);t=["%c["+t+"]","color:"+a+";font-size:1.3em;font-weight:bold;"]}else t=["["+t+"]"];return function(){for(var n=arguments.length,r=Array(n),a=0;a<n;a++)r[a]=arguments[a];i[e].apply(i,o(t).concat(r))}}var s=function(){if("undefined"!=typeof window){var e=window.location.href.toLowerCase().match(/debug=([\*\d\w,:]+)/);return e&&e[1].split(",")||""}return""}();function c(e,t,n){return!!n||("err"===e||s.indexOf("*")>=0||!(s||[]).every((function(e){return t.toLowerCase().indexOf(e)<0})))}},function(e,t,n){e.exports=n(500)},function(e,t,n){"use strict";e.exports=function(e,t){return function(){for(var n=new Array(arguments.length),r=0;r<n.length;r++)n[r]=arguments[r];return e.apply(t,n)}}},function(e,t,n){"use strict";n(32),n(49),n(47),n(45),n(46);var r=n(274),o=n(504),i=n(506),a=n(509),s=n(510),c=n(415),u="undefined"!=typeof window&&window.btoa&&window.btoa.bind(window)||n(511);e.exports=function(e){return new Promise((function(t,f){var l=e.data,d=e.headers;r.isFormData(l)&&delete d["Content-Type"];var p=new XMLHttpRequest,h="onreadystatechange",g=!1;if("undefined"==typeof window||!window.XDomainRequest||"withCredentials"in p||s(e.url)||(p=new window.XDomainRequest,h="onload",g=!0,p.onprogress=function(){},p.ontimeout=function(){}),e.auth){var v=e.auth.username||"",m=e.auth.password||"";d.Authorization="Basic "+u(v+":"+m)}if(p.open(e.method.toUpperCase(),i(e.url,e.params,e.paramsSerializer),!0),p.timeout=e.timeout,p[h]=function(){if(p&&(4===p.readyState||g)&&(0!==p.status||p.responseURL&&0===p.responseURL.indexOf("file:"))){var n="getAllResponseHeaders"in p?a(p.getAllResponseHeaders()):null,r={data:e.responseType&&"text"!==e.responseType?p.response:p.responseText,status:1223===p.status?204:p.status,statusText:1223===p.status?"No Content":p.statusText,headers:n,config:e,request:p};o(t,f,r),p=null}},p.onerror=function(){f(c("Network Error",e,null,p)),p=null},p.ontimeout=function(){f(c("timeout of "+e.timeout+"ms exceeded",e,"ECONNABORTED",p)),p=null},r.isStandardBrowserEnv()){var y=n(512),w=(e.withCredentials||s(e.url))&&e.xsrfCookieName?y.read(e.xsrfCookieName):void 0;w&&(d[e.xsrfHeaderName]=w)}if("setRequestHeader"in p&&r.forEach(d,(function(e,t){void 0===l&&"content-type"===t.toLowerCase()?delete d[t]:p.setRequestHeader(t,e)})),e.withCredentials&&(p.withCredentials=!0),e.responseType)try{p.responseType=e.responseType}catch(t){if("json"!==e.responseType)throw t}"function"==typeof e.onDownloadProgress&&p.addEventListener("progress",e.onDownloadProgress),"function"==typeof e.onUploadProgress&&p.upload&&p.upload.addEventListener("progress",e.onUploadProgress),e.cancelToken&&e.cancelToken.promise.then((function(e){p&&(p.abort(),f(e),p=null)})),void 0===l&&(l=null),p.send(l)}))}},function(e,t,n){"use strict";var r=n(505);e.exports=function(e,t,n,o,i){var a=new Error(e);return r(a,t,n,o,i)}},function(e,t,n){"use strict";var r=n(50),o=n(12),i=n(26),a=RangeError;e.exports=function(e){var t=o(i(this)),n="",s=r(e);if(s<0||s===1/0)throw new a("Wrong number of repetitions");for(;s>0;(s>>>=1)&&(t+=t))1&s&&(n+=t);return n}},function(e,t,n){"use strict";e.exports=function(e){return!(!e||!e.__CANCEL__)}},function(e,t,n){"use strict";function r(e){this.message=e}n(32),n(148),r.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},r.prototype.__CANCEL__=!0,e.exports=r},function(e,t,n){"use strict";function r(e){return(r="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})(e)}n(71),n(73),n(32),n(74),n(48),n(69),n(70),n(67),n(340),n(276),n(147),n(49),n(45),n(46),Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){h(e,f),h(e,l)};var o=c(n(521)),i=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==r(e)&&"function"!=typeof e)return{default:e};var n=s(t);if(n&&n.has(e))return n.get(e);var o={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var c=i?Object.getOwnPropertyDescriptor(e,a):null;c&&(c.get||c.set)?Object.defineProperty(o,a,c):o[a]=e[a]}o.default=e,n&&n.set(e,o);return o}(n(422)),a=c(n(522));function s(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(s=function(e){return e?n:t})(e)}function c(e){return e&&e.__esModule?e:{default:e}}function u(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var f="request",l="response";var d=function(e){return Promise.reject(e)};function p(e,t,n,r){var s,c;return function(e,t,n){return e[function(e,t){return e+t.defaults.mode||""}(t,n)]||e[t]}((u(s={},f,[e,a.default]),u(s,l,[o.default,e]),u(s,l+i.MODE.coral,[o.default,i.default,e]),s),r,n).forEach((function(o,i){if(o){var a=function(e,t){return"__".concat(e,"_").concat(t,"__")}(r,i);o!==e&&n[a]>=0&&n.interceptors[r].eject(n[a]),n[a]=t.call(n.interceptors[r],o.fulfilled,o.rejected||d),o===e&&(c=n[a])}})),c}function h(e,t){var n=e.interceptors[t].use;p(null,n,e,t),e.interceptors[t].use=function(r,o){return p({rejected:o,fulfilled:r},n,e,t)}}},function(e,t,n){"use strict";var r=n(3),o=n(320),i=n(322).getWeakData,a=n(157),s=n(9),c=n(24),u=n(10),f=n(108),l=n(104),d=n(8),p=n(20),h=p.set,g=p.getterFor,v=l.find,m=l.findIndex,y=r([].splice),w=0,b=function(e){return e.frozen||(e.frozen=new _)},_=function(){this.entries=[]},x=function(e,t){return v(e.entries,(function(e){return e[0]===t}))};_.prototype={get:function(e){var t=x(this,e);if(t)return t[1]},has:function(e){return!!x(this,e)},set:function(e,t){var n=x(this,e);n?n[1]=t:this.entries.push([e,t])},delete:function(e){var t=m(this.entries,(function(t){return t[0]===e}));return~t&&y(this.entries,t,1),!!~t}},e.exports={getConstructor:function(e,t,n,r){var l=e((function(e,o){a(e,p),h(e,{type:t,id:w++,frozen:void 0}),c(o)||f(o,e[r],{that:e,AS_ENTRIES:n})})),p=l.prototype,v=g(t),m=function(e,t,n){var r=v(e),o=i(s(t),!0);return!0===o?b(r).set(t,n):o[r.id]=n,e};return o(p,{delete:function(e){var t=v(this);if(!u(e))return!1;var n=i(e);return!0===n?b(t).delete(e):n&&d(n,t.id)&&delete n[t.id]},has:function(e){var t=v(this);if(!u(e))return!1;var n=i(e);return!0===n?b(t).has(e):n&&d(n,t.id)}}),o(p,n?{get:function(e){var t=v(this);if(u(e)){var n=i(e);return!0===n?b(t).get(e):n?n[t.id]:void 0}},set:function(e,t){return m(this,e,t)}}:{add:function(e){return m(this,e,!0)}}),l}}},function(e,t,n){"use strict";n(67),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={};var o={get:function(e){return r[e]},set:function(e,t){r[e]=t}};t.default=o},function(e,t,n){"use strict";n(67),n(32),n(49),n(232),Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.MODE=void 0;function r(e,t,n){return e.response=t,e.config=n,e}t.MODE={coral:"coral"};var o={fulfilled:function(e){var t=e.status,n=e.data,o=void 0===n?"":n,i=o.data;if(200===t&&"OK"===o.code)return i;var a=o.msg;return Promise.reject(r(Object.assign({code:"BUS_ERROR",msg:a,message:a},o),e,e.config))},rejected:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.response,n=e.message,o=void 0===n?"":n,i="";return t&&(i=t.status||""),Promise.reject(r({code:"NET_ERROR",msg:o,message:o,status:i},e.response,e.config))}};t.default=o},function(e,t,n){"use strict";n(67),n(102),n(153),Object.defineProperty(t,"__esModule",{value:!0}),t.getParam=i,t.default=function(e){e.qs=o.default,e.qs.get=i};var r,o=(r=n(424))&&r.__esModule?r:{default:r};function i(e,t){var n=window.location.search||t;return o.default.parse(n,{ignoreQueryPrefix:!0})[e]||""}},function(e,t,n){"use strict";var r=n(524),o=n(525),i=n(426);e.exports={formats:i,parse:o,stringify:r}},function(e,t,n){"use strict";n(32),n(148),n(147),n(45),n(46),n(283),n(146),n(102),n(149),n(47);var r=Object.prototype.hasOwnProperty,o=function(){for(var e=[],t=0;t<256;++t)e.push("%"+((t<16?"0":"")+t.toString(16)).toUpperCase());return e}(),i=function(e,t){for(var n=t&&t.plainObjects?Object.create(null):{},r=0;r<e.length;++r)void 0!==e[r]&&(n[r]=e[r]);return n};e.exports={arrayToObject:i,assign:function(e,t){return Object.keys(t).reduce((function(e,n){return e[n]=t[n],e}),e)},compact:function(e){for(var t=[{obj:{o:e},prop:"o"}],n=[],r=0;r<t.length;++r)for(var o=t[r],i=o.obj[o.prop],a=Object.keys(i),s=0;s<a.length;++s){var c=a[s],u=i[c];"object"==typeof u&&null!==u&&-1===n.indexOf(u)&&(t.push({obj:i,prop:c}),n.push(u))}return function(e){for(var t;e.length;){var n=e.pop();if(t=n.obj[n.prop],Array.isArray(t)){for(var r=[],o=0;o<t.length;++o)void 0!==t[o]&&r.push(t[o]);n.obj[n.prop]=r}}return t}(t)},decode:function(e){try{return decodeURIComponent(e.replace(/\+/g," "))}catch(t){return e}},encode:function(e){if(0===e.length)return e;for(var t="string"==typeof e?e:String(e),n="",r=0;r<t.length;++r){var i=t.charCodeAt(r);45===i||46===i||95===i||126===i||i>=48&&i<=57||i>=65&&i<=90||i>=97&&i<=122?n+=t.charAt(r):i<128?n+=o[i]:i<2048?n+=o[192|i>>6]+o[128|63&i]:i<55296||i>=57344?n+=o[224|i>>12]+o[128|i>>6&63]+o[128|63&i]:(r+=1,i=65536+((1023&i)<<10|1023&t.charCodeAt(r)),n+=o[240|i>>18]+o[128|i>>12&63]+o[128|i>>6&63]+o[128|63&i])}return n},isBuffer:function(e){return null!=e&&!!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e))},isRegExp:function(e){return"[object RegExp]"===Object.prototype.toString.call(e)},merge:function e(t,n,o){if(!n)return t;if("object"!=typeof n){if(Array.isArray(t))t.push(n);else{if("object"!=typeof t)return[t,n];(o.plainObjects||o.allowPrototypes||!r.call(Object.prototype,n))&&(t[n]=!0)}return t}if("object"!=typeof t)return[t].concat(n);var a=t;return Array.isArray(t)&&!Array.isArray(n)&&(a=i(t,o)),Array.isArray(t)&&Array.isArray(n)?(n.forEach((function(n,i){r.call(t,i)?t[i]&&"object"==typeof t[i]?t[i]=e(t[i],n,o):t.push(n):t[i]=n})),t):Object.keys(n).reduce((function(t,i){var a=n[i];return r.call(t,i)?t[i]=e(t[i],a,o):t[i]=a,t}),a)}}},function(e,t,n){"use strict";n(102),n(149);var r=String.prototype.replace,o=/%20/g;e.exports={default:"RFC3986",formatters:{RFC1738:function(e){return r.call(e,o,"+")},RFC3986:function(e){return e}},RFC1738:"RFC1738",RFC3986:"RFC3986"}},function(e,t,n){"use strict";n(67),n(45),n(32),Object.defineProperty(t,"__esModule",{value:!0}),t.use=c,t.executeAll=u,t.default=void 0;var r=i(n(412)),o=i(n(330));function i(e){return e&&e.__esModule?e:{default:e}}var a=[],s={};function c(e){(0,o.default)(e,"\u65e0\u6548\u7684plugin"),a.push(e),e(r.default)}function u(e){a.forEach((function(t){t(e)}))}s.use=c,s.executeAll=u;var f=s;t.default=f},function(e,t,n){"use strict";var r=n(3);e.exports=r(1..valueOf)},,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";var r=n(2),o=n(3),i=n(50),a=n(428),s=n(416),c=n(1),u=RangeError,f=String,l=Math.floor,d=o(s),p=o("".slice),h=o(1..toFixed),g=function(e,t,n){return 0===t?n:t%2==1?g(e,t-1,n*e):g(e*e,t/2,n)},v=function(e,t,n){for(var r=-1,o=n;++r<6;)o+=t*e[r],e[r]=o%1e7,o=l(o/1e7)},m=function(e,t){for(var n=6,r=0;--n>=0;)r+=e[n],e[n]=l(r/t),r=r%t*1e7},y=function(e){for(var t=6,n="";--t>=0;)if(""!==n||0===t||0!==e[t]){var r=f(e[t]);n=""===n?r:n+d("0",7-r.length)+r}return n};r({target:"Number",proto:!0,forced:c((function(){return"0.000"!==h(8e-5,3)||"1"!==h(.9,0)||"1.25"!==h(1.255,2)||"1000000000000000128"!==h(0xde0b6b3a7640080,0)}))||!c((function(){h({})}))},{toFixed:function(e){var t,n,r,o,s=a(this),c=i(e),l=[0,0,0,0,0,0],h="",w="0";if(c<0||c>20)throw new u("Incorrect fraction digits");if(s!=s)return"NaN";if(s<=-1e21||s>=1e21)return f(s);if(s<0&&(h="-",s=-s),s>1e-21)if(n=(t=function(e){for(var t=0,n=e;n>=4096;)t+=12,n/=4096;for(;n>=2;)t+=1,n/=2;return t}(s*g(2,69,1))-69)<0?s*g(2,-t,1):s/g(2,t,1),n*=4503599627370496,(t=52-t)>0){for(v(l,0,n),r=c;r>=7;)v(l,1e7,0),r-=7;for(v(l,g(10,r,1),0),r=t-1;r>=23;)m(l,1<<23),r-=23;m(l,1<<r),v(l,1,1),m(l,2),w=y(l)}else v(l,0,n),v(l,1<<-t,0),w=y(l)+d("0",c);return w=c>0?h+((o=w.length)<=c?"0."+d("0",c-o)+w:p(w,0,o-c)+"."+p(w,o-c)):h+w}})},,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){n(32),n(148),n(151),n(146),n(72),n(68),n(232),n(102),n(235),n(66),n(249),n(238),n(47),n(147),n(233);var r={t:1,i:!1,driver:null,rootComponents:{},rootInstances:{},owner:null};function o(e,t,n,r,o){return{type:e,key:t,ref:n,props:r,_owner:o}}function i(e){return null===e}function a(e){return"function"==typeof e}function s(e){return"object"==typeof e}function c(e){return"[object Object]"===h.toString.call(e)}function u(e){return Array.isArray(e)}function f(e){return"string"==typeof e}function l(e){return"number"==typeof e}function d(e){return!e}var p=function(){},h={};function g(e){if(null==e)return e;var t=[];return function e(t,n){if(u(t))for(var r=0,o=t.length;r<o;r++)e(t[r],n);else n.push(t)}(e,t),t.length-1?t:t[0]}var v=[],m=[],y=[],w=setTimeout;function b(e){for(var t;t=e.shift();)t()}function _(e){0===v.length&&w(x),v.push(e)}function x(){b(v)}function A(e){0===m.length&&w(L),m.push(e)}function L(){b(m)}function C(e){y.push(e)}function S(e,t,n){var o,i=void 0===n?"":" got: "+function(e){return c(e)?Object.keys(e):e}(n);return Error(e+": #"+t+", "+((o=r.owner)?"check <"+o.u()+">":"no owner")+"."+i)}function E(e,t){throw S("Error",e,t)}function P(e,t){var n=S("Warn",e,t);w((function(){throw n}),0)}var O={key:!0,ref:!0};function k(e,t,n){var i,a={},s=null,c=null;if(null!=t)for(i in c=void 0===t.ref?null:t.ref,s=void 0===t.key?null:""+t.key,t)O[i]||(a[i]=t[i]);var f=arguments.length-2;if(f>0)if(1!==f||u(n)){var l=n;if(f>1){l=Array(f);for(var d=0;d<f;d++)l[d]=arguments[d+2]}a.children=g(l)}else a.children=n;if(e&&e.defaultProps){var h=e.defaultProps;for(i in h)void 0===a[i]&&(a[i]=h[i])}return null==e&&(e=p,P(0)),new o(e,s,c,a,r.owner)}function I(e,t,n){for(var r=0,o=e&&e.length;r<o;r++)e[r].call(t,n)}var T=h.hasOwnProperty;function R(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}function U(e,t){if(R(e,t))return!0;if(!s(e)||i(e)||!s(t)||i(t))return!1;var n=Object.keys(e);if(n.length!==Object.keys(t).length)return!1;for(var r=0;r<n.length;r++)if(!T.call(t,n[r])||!R(e[n[r]],t[n[r]]))return!1;return!0}var D="_internal",N="_instance",j="_nativeNode",F="_renderedComponent";function B(){return r.owner&&r.owner[N]}function M(){var e=B();if(e)return e;E(1)}function q(e,t){if(i(t)||e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(!R(e[n],t[n]))return!1;return!0}function H(e){var t=M(),n=t.getHookID(),o=t.getHooks();o[n]||(a(e)&&(e=e()),o[n]=[e,function(e){r.i||L();var i=o[n],s=i[2];a(e)&&(e=e(s)),R(e,s)||(i[2]=e,B()===t?t.o=!0:t.h())},e]);var i=o[n];return R(i[0],i[2])||(i[0]=i[2],t.v=!0),i}function W(e,t){K(e,t)}function K(e,t,n){var r=M(),o=r.getHookID(),i=r.getHooks();if(t=void 0===t?null:t,i[o]){var a=i[o],s=a.l,c=a.p;a.p=t,a._=c,s.current=e}else{var u=function e(t){if(!t&&n)return A((function(){return e(!0)}));var r=e.current;r&&(f.current=r(),e.current=null)},f=function e(t){if(!t&&n)return A((function(){return e(!0)}));var r=e.current;r&&(r(),e.current=null)};u.current=e,i[o]={l:u,j:f,_:t,p:t},r.didMount.push(u),r.willUnmount.push((function(){return f(!0)})),r.didUpdate.push((function(){var e=i[o],t=e.p,n=e.l;null!=t&&q(t,e._)||(f(),n())}))}}function V(e,t){var n=M(),r=n.getHookID(),o=n.getHooks();if(t=void 0===t?null:t,o[r]){var a=o[r][1];!i(t)&&q(t,a)||(o[r]=[e(),t])}else o[r]=[e(),t];return o[r][0]}function z(e){return u(e)?e:[e]}function J(e,t){for(var n;e&&e[D];){if(t(e)){n=e;break}e=e[D].m}return n}var Y=0;function G(e){var t;return c(e)&&null!==e&&e.type?t=f(e.type)?new r.O(e):new r.g(e):f(e)||l(e)?t=new r.k(e+""):u(e)?t=new r.I(e):(void 0===e||i(e)||!1===e||!0===e||P(2,e),t=new r.C(e)),t}function Q(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,X(e,t)}function X(e,t){return(X=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}var Z=function(){function e(e,t){this.props=e,this.context=t,this.refs={}}var t=e.prototype;return t.setState=function(e,t){this.updater.setState(this,e,t)},t.forceUpdate=function(e){this.updater.forceUpdate(this,e)},e}(),$=function(e){function t(t,n){var r;return(r=e.call(this,t,n)||this).A=!0,r}return Q(t,e),t}(Z),ee=1,te=function(e){function t(){var t;return(t=e.call(this)||this).P=[],t.D=ee++,t}Q(t,e);var n=t.prototype;return n.N=function(){return this.S().N()},n.S=function(){return this[D][F]},n.h=function(e){this.P=e,this.forceUpdate()},n.render=function(){return this.P},t}(Z),ne={set:function(e,t){e._r||(e._r=t,t.D&&(r.rootInstances[t.D]=t,r.rootComponents[t.D]=t[D]))},get:function(e){return e._r},remove:function(e){var t=this.get(e);t&&(e._r=null,t.D&&(delete r.rootComponents[t.D],delete r.rootInstances[t.D]))},mount:function(e,t,n){var o=n.parent,i=n.hydrate,a=r.driver;null==t&&(t=a.createBody());var s,c={element:e,container:t,hydrate:i};if(a.beforeRender&&a.beforeRender(c),o){var u=o[D];s=u.U(u._context)}var f=this.get(t);if(f&&f.D)return s&&(f[D].H=s),f.h(e),a.afterRender&&a.afterRender(c),f;var l=G(k(te)).R(t,o,s||{});return this.set(t,l),l.h(e),a.afterRender&&a.afterRender(c),l}};function re(e,t,n){var r=e?e.ref:null,o=t?t.ref:null;r!==o&&(r&&ie(e._owner,r,n),o&&oe(t._owner,o,n))}function oe(e,t,n){if(e){var r=n.N();a(t)?t(r):s(t)?t.current=r:e[N].refs[t]=r}else P(3)}function ie(e,t,n){if(a(t))t(null);else{var r=n.N();s(t)&&t.current===r?t.current=null:e[N].refs[t]===r&&delete e[N].refs[t]}}function ae(e,t){var n=d(e),r=d(t);return n||r?n===r:!(!u(e)||!u(t))||(f(e)||l(e)?f(t)||l(t):s(e)&&s(t)&&e.type===t.type&&e.key===t.key)}function se(e,t,n){var r=t?t.key:void 0,o="."+n.toString(36);if(f(r)){var i="$"+r;return void 0===e[i]?i:o}return o}function ce(e){for(var t=e;t=e.m&&e.m[D];)if(t instanceof r.g)e=t;else{for(var n=Object.keys(t.T),o=e.V-1;o>=0;o--){var i=t.T[n[o]].W();if(!u(i))return i;if(i.length>0)return i[i.length-1]}if(!(t instanceof r.I))return null;e=t}}var ue=function(){function e(e){this.Z=e}var t=e.prototype;return t.$=function(e,t,n){this._parent=e,this.m=t,this._context=n,this._mountID=r.t++},t.q=function(){this.Z=this[j]=this._parent=this.m=this._context=null,this[N]&&(this[N]=this[N][D]=null)},t.R=function(e,t,n,r){this.$(e,t,n),this.B(r);var o={};return o[D]=this,o},t.unmountComponent=function(e){this[j]&&!e&&r.driver.removeChild(this[j],this._parent),this.q()},t.u=function(){var e=this.Z,t=e&&e.type;return t&&t.displayName||t&&t.name||t||e},t.B=function(e){var t=this.W(),n=this._parent;e?e(t,n):r.driver.appendChild(t,n)},t.W=function(){return null==this[j]?this[j]=this.F():this[j]},t.N=function(){return this.W()},e}(),fe=Object.assign,le="style",de="children",pe=/^on[A-Z]/,he=function(e){function t(){return e.apply(this,arguments)||this}Q(t,e);var n=t.prototype;return n.R=function(e,t,n,r){this.$(e,t,n);var o=this.Z,i=o.props,a=o.type,s=i[de],c=i.append||"tree";this.G=fe({},i[le]);var u={type:a,props:i};return u[D]=this,this[N]=u,"tree"===c?(this.J(s,n),this.B(r)):(this.B(r),this.J(s,n)),o&&o.ref&&oe(o._owner,o.ref,this),u},n.J=function(e,t){if(null==e)return e;var n=this.W();return this.K(n,z(e),t)},n.K=function(e,t,n,r){for(var o=this.T={},i=[],a=0,s=t.length;a<s;a++){var c=t[a],u=G(c);o[se(o,c,a)]=u,u.V=a;var f=u.R(e,this[N],n,r);i.push(f)}return i},n.L=function(e){var t=this.T;if(t){for(var n in t)t[n].unmountComponent(e);this.T=null}},n.unmountComponent=function(e){if(this[j]){var t=this.Z.ref;t&&ie(this.Z._owner,t,this),ne.remove(this[j]),e||r.driver.removeChild(this[j],this._parent)}this.L(!0),this.G=null,this.q()},n.M=function(e,t,n,r){this.Z=t,re(e,t,this);var o=e.props,i=t.props;this.X(o,i),null==o[de]||u(o[de])&&0===o[de].length?this.J(i[de],r):this.Y(i[de],r)},n.X=function(e,t){var n,o,i,s=r.driver,c=this.W();for(n in e)if(n!==de&&null!=e[n]&&!t.hasOwnProperty(n))if(n===le){var u=this.G;for(o in u)(i=i||{})[o]="";this.G=null}else if(pe.test(n)){var f=e[n];a(f)&&s.removeEventListener(c,n.slice(2).toLowerCase(),f)}else s.removeAttribute(c,n,e[n]);for(n in t){var l=t[n],d=n===le?this.G:null!=e?e[n]:void 0;if(n!==de&&d!==l&&(null!=l||null!=d))if(n===le)if(l?l=this.G=fe({},l):this.G=null,null!=d){for(o in d)l&&(l[o]||0===l[o])||((i=i||{})[o]="");for(o in l)d[o]!==l[o]&&((i=i||{})[o]=l[o])}else i=l;else if(pe.test(n)){var p=n.slice(2).toLowerCase();a(d)&&s.removeEventListener(c,p,d,t),a(l)&&s.addEventListener(c,p,l,t)}else null!=l?s.setAttribute(c,n,l):s.removeAttribute(c,n,e[n])}i&&s.setStyle(c,i)},n.Y=function(e,t){var n=this.T,o=r.driver;if(null!=e||null!=n){var a={};if(null!=e)for(var s=0,c=(e=z(e)).length;s<c;s++){var f=e[s],l=se(a,f,s),d=n&&n[l],p=d&&d.Z,h=d&&d._context;null!=d&&ae(p,f)?(p===f&&h===t||d.M(p,f,t,t),a[l]=d):(d&&(d.nn=!0),a[l]=G(f))}var g=this.W(),v=u(g),m=null,y=null,w=!1,b=!1,_=null,x=!(!o.removeChildren||!(i(e)||e&&!e.length)||v);if(null!=n){for(var A in n){var L=n[A],C=L.nn||!a[A];m?C&&L.unmountComponent(x):(b=C,u(y=(m=L).W())&&(w=0===y.length,y=y[0]))}(v&&0===g.length||w)&&(_=ce(this))}var S=function(e,t){for(var n=0,r=(e=z(e)).length;n<r;n++)_?o.insertAfter(e[r-1-n],_):y?o.insertBefore(e[n],y):t&&o.appendChild(e[n],t)},E=0;for(var P in a){var O=a[P],k=n&&n[P];if(k===O){var I=k.W();k.V!==E&&S(I)}else v&&(g=this._parent),O.R(g,this[N],t,S);O.V=E++,u(_=O.W())&&(_=_[_.length-1])}b&&m.unmountComponent(x),x&&o.removeChildren(this[j]),this.T=a}},n.F=function(){var e=this[N],t=r.driver.createElement(e.type,e.props,this);return ne.set(t,e),t},t}(ue),ge=function(e){function t(t,n){var r;(r=e.call(this)||this).tn=!0,r.rn=t,r.un=0,r.fn=0,r.on={},r.o=!1,r.v=!1,r.en=null,r.sn={},r.didMount=[],r.didUpdate=[],r.willUnmount=[],r.state=h,t._forwardRef&&(r.cn=r._forwardRef=n);var o=t.hn;return o&&(r.shouldComponentUpdate=function(e){for(var t=!0,n=o.length-1;n>-1&&!(t=o[n](r.props,e));n--);return!t||r.cn!==r._forwardRef}),r}Q(t,e);var n=t.prototype;return n.getHooks=function(){return this.on},n.getHookID=function(){return++this.un},n.useContext=function(e){var t=this,n=e._contextID,r=this.sn[n];if(!r){var o=e.an(this);if(r=this.sn[n]={vn:o},o){var i=function(e){r.ln!==e&&(t.v=!0,t.h())};o.pn(i),this.willUnmount.push((function(){return o.dn(i)}))}}return r.ln=r.vn?r.vn.getValue():e._defaultValue},n.componentWillMount=function(){this.v=!0},n.componentDidMount=function(){I(this.didMount)},n.componentWillReceiveProps=function(){this.v=!0},n.componentDidUpdate=function(){I(this.didUpdate)},n.componentWillUnmount=function(){I(this.willUnmount)},n.h=function(){this.setState(h)},n.render=function(){this.un=0,this.fn=0,this.o=!1;for(var e=this.rn(this.props,this._forwardRef?this._forwardRef:this.context);this.o;)this.fn++,this.fn>24&&E(4),this.un=0,this.o=!1,e=this.rn(this.props,this._forwardRef?this._forwardRef:this.context);return this.v&&(this.en=e,this.v=!1),this.en},t}(Z),ve=[];function me(e){return e._n}function ye(e){var t=e[D];if(t){r.i=!0;var n=t.Z,o=t._context,i=t.H||o;t.H=void 0,(me(t)||t.xn)&&(t.M(n,n,o,i),b(y)),r.i=!1}}function we(e,t){return t[D]._mountID-e[D]._mountID}function be(){if(r.i)return _(be);var e,t=ve;if(t.length>0)for(L(),ve=[],t.length>1&&(t=t.filter((function(e){return!!e[D]})).sort(we));e=t.pop();)ye(e)}function _e(e,t){if(ve.indexOf(e)<0&&ve.push(e),t){if(ve.length>1)return;_(be)}else be()}function xe(e,t,n){var r=e[D];if(r){n&&function(e,t){(function(e){return e.wn}(e)||function(e){return e.wn=[]}(e)).push(t)}(r,n);var o=r[F];t?(e.tn&&(r.xn=!0),function(e,t){(me(e)||function(e){return e._n=[]}(e)).push(t)}(r,t),!r.bn&&o&&_e(e,!0)):(r.xn=!0,o&&_e(e))}}var Ae={setState:function(e,t,n){r.i||L(),xe(e,t,n)},forceUpdate:function(e,t){xe(e,null,t)}};function Le(e,t,n){try{return e()}catch(e){n?n(e):function(e,t){var n=J(e,(function(e){return e.componentDidCatch||e.constructor&&e.constructor.getDerivedStateFromError}));n?C((function(){var e=n[D];e&&Le((function(){if(n.componentDidCatch&&n.componentDidCatch(t),n.constructor&&n.constructor.getDerivedStateFromError){var e=n.constructor.getDerivedStateFromError(t);n.setState(e)}}),e.m)})):w((function(){throw t}),0)}(t,e)}}function Ce(e,t){C((function(){Le(e,t)}))}function Se(e,t){e&&Ce((function(){I(e,t)}),t)}var Ee=function(e){function t(){return e.apply(this,arguments)||this}Q(t,e);var n=t.prototype;return n.R=function(e,t,n,o){this.$(e,t,n);var i,s,c=this.Z,u=c.type,f=c.ref,l=c.props,d=u.prototype,p=this.yn(n);if(Le((function(){d&&d.render?i=new u(l,p):a(u)?i=new ge(u,f):E(6,u)}),t),i){i.props=l,i.context=p,i.refs={},i.updater=Ae,i[D]=this,this[N]=i;var h=i.state;void 0===h&&(i.state=h=null),i.componentWillMount&&Le((function(){i.componentWillMount()}),i),r.owner=this,i.state=this.jn(l,p);var g=this.wn;return this.wn=null,Le((function(){s=i.render()}),i),r.owner=null,this[F]=G(s),this[F].R(this._parent,i,this.U(n),o),!c.type._forwardRef&&f&&oe(c._owner,f,this),i.componentDidMount&&Ce((function(){i.componentDidMount()}),i),Se(g,i),i}},n.unmountComponent=function(e){var t=this[N];if(t&&t.componentWillUnmount&&Le((function(){t.componentWillUnmount()}),t),null!=this[F]){var n=this.Z,r=n.ref;!n.type._forwardRef&&r&&ie(n._owner,r,this),this[F].unmountComponent(e),this[F]=null}this._n=null,this.xn=!1,this.q()},n.yn=function(e){var t={},n=this.Z.type.contextTypes;if(n)for(var r in n)t[r]=e[r];return t},n.U=function(e){var t=this[N],n=t.getChildContext&&t.getChildContext();return n?fe({},e,n):e},n.jn=function(e,t){var n=this[N],r=this._n;if(!r)return n.state;this._n=null;for(var o=fe({},n.state),i=0;i<r.length;i++){var s=r[i];fe(o,a(s)?s.call(n,o,e,t):s)}return o},n.M=function(e,t,n,r){var o=this,i=this[N];i&&Le((function(){var n,a,s;o._context===r?a=i.context:(a=o.yn(r),n=!0),s=t.props,e!==t&&(n=!0),n&&i.componentWillReceiveProps&&(o.bn=!0,i.componentWillReceiveProps(s,a),o.bn=!1),o.Z.type._forwardRef?(i.cn=e.ref,i._forwardRef=t.ref):re(e,t,o);var c=!0,u=i.props,f=i.state,l=o.jn(s,a),d=o.wn;if(o.wn=null,o.xn||(i.shouldComponentUpdate?c=i.shouldComponentUpdate(s,l,a):i.A&&(c=!U(u,s)||!U(f,l))),c){o.xn=!1;var p=i.context;i.componentWillUpdate&&i.componentWillUpdate(s,l,a),o.Z=t,o._context=r,i.props=s,i.state=l,i.context=a,o.mn(r),i.componentDidUpdate&&Ce((function(){i.componentDidUpdate(u,f,p)}),i)}else o.Z=t,o._context=r,i.props=s,i.state=l,i.context=a;Se(d,i)}),i)},n.mn=function(e){var t,n=this[F],o=n.Z,i=this[N];if(r.owner=this,t=i.render(),r.owner=null,ae(o,t)){var a=n._context,s=this.U(e);o===t&&a===s||n.M(o,t,a,s)}else{var c=null,f=n.W();u(f)&&0===f.length&&null==i.D&&(c=ce(n)),n.unmountComponent(!0),this[F]=G(t),this[F].R(this._parent,i,this.U(e),(function(e,t){var n=r.driver;f=z(f),e=z(e);for(var o=0;o<e.length;o++){var i=e[o];f[o]?n.replaceChild(i,f[o]):c?n.insertAfter(i,c):n.appendChild(i,t),c=i}for(var a=e.length;a<f.length;a++)n.removeChild(f[a])}))}},n.W=function(){var e=this[F];if(e)return e.W()},n.N=function(){var e=this[N];return e.tn?null:e},t}(ue),Pe=function(e){function t(){return e.apply(this,arguments)||this}Q(t,e);var n=t.prototype;return n.M=function(e,t){e!==(t=""+t)&&(this.Z=t,r.driver.updateText(this.W(),t))},n.F=function(){return r.driver.createText(this.Z,this)},t}(ue),Oe=function(e){function t(){return e.apply(this,arguments)||this}Q(t,e);var n=t.prototype;return n.R=function(e,t,n,o){this.$(e,t,n);var i=this[N]={};i[D]=this;var a=[];if(this.K(this._parent,this.Z,n,(function(e){e=z(e);for(var t=0;t<e.length;t++)a.push(e[t])})),o)o(a,e);else for(var s=0;s<a.length;s++)r.driver.appendChild(a[s],e);return i},n.unmountComponent=function(e){if(!e)for(var t=this.W(),n=0,o=t.length;n<o;n++)r.driver.removeChild(t[n]);this.L(!0),this.q()},n.M=function(e,t,n,r){this.Z=t,this.Y(this.Z,r)},n.W=function(){var e=this.T||{};return[].concat.apply([],Object.keys(e).map((function(t){return e[t].W()})))},t}(he),ke=function(e){function t(){return e.apply(this,arguments)||this}Q(t,e);var n=t.prototype;return n.F=function(){return r.driver.createEmpty(this)},n.M=function(){},t}(ue);r.C=ke,r.O=he,r.k=Pe,r.I=Oe,r.g=Ee;var Ie={Host:r,Instance:ne,Element:o,flattenChildren:g};t.Component=Z,t.Fragment=function(e){return e.children},t.PureComponent=$,t.createContext=function(e){var t="_c"+Y++;function n(e){return J(e,(function(e){return e.On===t}))}return{Provider:function(){function n(){this.On=t,this.gn=[]}var r=n.prototype;return r.pn=function(e){this.gn.push(e)},r.dn=function(e){this.gn=this.gn.filter((function(t){return t!==e}))},r._getChildContext=function(){var e;return(e={})[t]=this,e},r.getValue=function(){return void 0!==this.props.value?this.props.value:e},r.componentDidUpdate=function(e){this.props.value!==e.value&&I(this.gn,null,this.getValue())},r.render=function(){return this.props.children},n}(),Consumer:function(r,o){var i=this,s=H((function(){return o[t]||n(i)}))[0],c=s?s.getValue():e,u=H(c),f=u[1];if(c===u[0]){W((function(){if(s)return s.pn(f),function(){s.dn(f)}}),[]);var l=z(r.children)[0];return a(l)?l(c):void 0}f(c)},_contextID:t,_defaultValue:e,an:n}},t.createElement=k,t.createRef=function(){return{current:null}},t.forwardRef=function(e){return e._forwardRef=!0,e},t.memo=function(e,t){return t=t||U,e.hn?e.hn.push(t):e.hn=[t],e},t.render=function(e,t,n,o){a(n)&&(o=n,n=null),(r.driver=(n=n||h).driver||r.driver)||E(5);var i=ne.mount(e,t,n).N();return o&&o.call(i),i},t.shared=Ie,t.useCallback=function(e,t){return V((function(){return e}),t)},t.useContext=function(e){return M().useContext(e)},t.useEffect=function(e,t){K(e,t,!0)},t.useImperativeHandle=function(e,t,n){W((function(){return a(e)?(e(t()),function(){return e(null)}):null!=e?(e.current=t(),function(){e.current=null}):void 0}),u(n)?n.concat([e]):null)},t.useLayoutEffect=W,t.useMemo=V,t.useReducer=function(e,t,n){var o=M(),i=o.getHookID(),s=o.getHooks(),c=s[i];if(!c){var u=a(n)?n(t):t;return s[i]=[u,function(e){r.i||L();var t=s[i][2];if(B()===o)t.kn.push(e),o.o=!0;else{var n=t.In,a=(0,t.Cn)(n,e);if(R(a,n))return;t.In=a,t.kn.push(e),o.h()}},{kn:[],Cn:e,In:u}]}var f=c[2],l=c[0];if(o.fn>0)for(var d=0;d<f.kn.length;d++)l=e(l,f.kn[d]);else l=f.In;return R(l,c[0])||(c[0]=l,o.v=!0),f.Cn=e,f.In=l,f.kn.length=0,s[i]},t.useRef=function(e){var t=M(),n=t.getHookID(),r=t.getHooks();return r[n]||(r[n]={current:e}),r[n]},t.useState=H,t.version="1.2.3"},function(e,t,n){var r;n(32),n(148),n(292),n(295),n(102),n(234),n(150),
/*!
	Copyright (c) 2018 Jed Watson.
	Licensed under the MIT License (MIT), see
	http://jedwatson.github.io/classnames
*/
function(){"use strict";var n=function(){function e(){}function t(e,t){for(var n=t.length,r=0;r<n;++r)o(e,t[r])}e.prototype=Object.create(null);var n={}.hasOwnProperty;var r=/\s+/;function o(e,o){if(o){var i=typeof o;"string"===i?function(e,t){for(var n=t.split(r),o=n.length,i=0;i<o;++i)e[n[i]]=!0}(e,o):Array.isArray(o)?t(e,o):"object"===i?function(e,t){if(t.toString===Object.prototype.toString||t.toString.toString().includes("[native code]"))for(var r in t)n.call(t,r)&&(e[r]=!!t[r]);else e[t.toString()]=!0}(e,o):"number"===i&&function(e,t){e[t]=!0}(e,o)}}return function(){for(var n=arguments.length,r=Array(n),o=0;o<n;o++)r[o]=arguments[o];var i=new e;t(i,r);var a=[];for(var s in i)i[s]&&a.push(s);return a.join(" ")}}();e.exports?(n.default=n,e.exports=n):void 0===(r=function(){return n}.apply(t,[]))||(e.exports=r)}()},function(e,t,n){"use strict";var r=n(167),o=TypeError;e.exports=function(e){if(r(e))throw new o("The method doesn't accept regular expressions");return e}},function(e,t,n){"use strict";var r=n(5)("match");e.exports=function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[r]=!1,"/./"[e](t)}catch(e){}}return!1}},function(e,t,n){},,function(e,t,n){"use strict";var r=n(0),o=n(1),i=n(3),a=n(12),s=n(314).trim,c=n(328),u=r.parseInt,f=r.Symbol,l=f&&f.iterator,d=/^[+-]?0x/i,p=i(d.exec),h=8!==u(c+"08")||22!==u(c+"0x16")||l&&!o((function(){u(Object(l))}));e.exports=h?function(e,t){var n=s(a(e));return u(n,t>>>0||(p(d,n)?16:10))}:u},function(e,t,n){"use strict";n(67),Object.defineProperty(t,"__esModule",{value:!0}),t.PLATFORM_TYPE=t.APP_TYPE=void 0;t.APP_TYPE={UC:"UC",TAOBAO:"TAOBAO",ALIPAY:"ALIPAY",WECHAT:"WECHAT",SCANKING:"SCANKING",QQ:"QQ",WEIBO:"WEIBO",QUARK:"QUARK",YOUKU:"YOUKU",DINGTALK:"DINGTALK",ELEME:"ELEME",KOUBEI:"KOUBEI",XIAMI:"XIAMI",TAOPIAOPIAO:"TAOPIAOPIAO",SHUQI:"SHUQI",JIUYOU:"JIUYOU",DOUYIN:"DOUYIN",KUAISHOU:"KUAISHOU",ZHIHU:"ZHIHU",BAIDU:"BAIDU",BILIBILI:"BILIBILI",OTHERS:"OTHERS"};t.PLATFORM_TYPE={PC:"PC",IOS:"IOS",ANDROID:"ANDROID"}},function(e,t,n){n(48),n(246),n(32),n(293),n(250),n(251),n(252),n(253),n(254),n(255),n(256),n(257),n(258),n(259),n(260),n(261),n(262),n(263),n(264),n(265),n(266),n(267),n(268),n(269),n(270),n(271),n(272);var r="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof window.msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto);if(r){var o=new Uint8Array(16);e.exports=function(){return r(o),o}}else{var i=new Array(16);e.exports=function(){for(var e,t=0;t<16;t++)0==(3&t)&&(e=4294967296*Math.random()),i[t]=e>>>((3&t)<<3)&255;return i}}},function(e,t,n){"use strict";var r=n(480);e.exports=Math.fround||function(e){return r(e,1.1920928955078125e-7,34028234663852886e22,11754943508222875e-54)}},function(e,t,n){"use strict";var r=n(399),o=Math.abs;e.exports=function(e,t,n,i){var a=+e,s=o(a),c=r(a);if(s<i)return c*function(e){return e+4503599627370496-4503599627370496}(s/i/t)*i*t;var u=(1+t/2220446049250313e-31)*s,f=u-(u-s);return f>n||f!=f?c*(1/0):c*f}},function(e,t,n){"use strict";var r=Array,o=Math.abs,i=Math.pow,a=Math.floor,s=Math.log,c=Math.LN2;e.exports={pack:function(e,t,n){var u,f,l,d=r(n),p=8*n-t-1,h=(1<<p)-1,g=h>>1,v=23===t?i(2,-24)-i(2,-77):0,m=e<0||0===e&&1/e<0?1:0,y=0;for((e=o(e))!=e||e===1/0?(f=e!=e?1:0,u=h):(u=a(s(e)/c),e*(l=i(2,-u))<1&&(u--,l*=2),(e+=u+g>=1?v/l:v*i(2,1-g))*l>=2&&(u++,l/=2),u+g>=h?(f=0,u=h):u+g>=1?(f=(e*l-1)*i(2,t),u+=g):(f=e*i(2,g-1)*i(2,t),u=0));t>=8;)d[y++]=255&f,f/=256,t-=8;for(u=u<<t|f,p+=t;p>0;)d[y++]=255&u,u/=256,p-=8;return d[--y]|=128*m,d},unpack:function(e,t){var n,r=e.length,o=8*r-t-1,a=(1<<o)-1,s=a>>1,c=o-7,u=r-1,f=e[u--],l=127&f;for(f>>=7;c>0;)l=256*l+e[u--],c-=8;for(n=l&(1<<-c)-1,l>>=-c,c+=t;c>0;)n=256*n+e[u--],c-=8;if(0===l)l=1-s;else{if(l===a)return n?NaN:f?-1/0:1/0;n+=i(2,t),l-=s}return(f?-1:1)*n*i(2,l-t)}}},function(e,t,n){"use strict";var r=n(0),o=n(1),i=n(163),a=n(236).NATIVE_ARRAY_BUFFER_VIEWS,s=r.ArrayBuffer,c=r.Int8Array;e.exports=!a||!o((function(){c(1)}))||!o((function(){new c(-1)}))||!i((function(e){new c,new c(null),new c(1.5),new c(e)}),!0)||o((function(){return 1!==new c(new s(2),1,void 0).length}))},function(e,t,n){"use strict";var r=n(50),o=RangeError;e.exports=function(e){var t=r(e);if(t<0)throw new o("The argument can't be less than 0");return t}},function(e,t,n){"use strict";var r=Math.round;e.exports=function(e){var t=r(e);return t<0?0:t>255?255:255&t}},function(e,t,n){"use strict";var r=n(53),o=n(6),i=n(164),a=n(19),s=n(33),c=n(162),u=n(110),f=n(165),l=n(486),d=n(236).aTypedArrayConstructor,p=n(402);e.exports=function(e){var t,n,h,g,v,m,y,w,b=i(this),_=a(e),x=arguments.length,A=x>1?arguments[1]:void 0,L=void 0!==A,C=u(_);if(C&&!f(C))for(w=(y=c(_,C)).next,_=[];!(m=o(w,y)).done;)_.push(m.value);for(L&&x>2&&(A=r(A,arguments[2])),n=s(_),h=new(d(b))(n),g=l(h),t=0;n>t;t++)v=L?A(_[t],t):_[t],h[t]=g?p(v):+v;return h}},function(e,t,n){"use strict";var r=n(52);e.exports=function(e){var t=r(e);return"BigInt64Array"===t||"BigUint64Array"===t}},function(e,t,n){"use strict";var r=n(19),o=n(106),i=n(33),a=n(355),s=Math.min;e.exports=[].copyWithin||function(e,t){var n=r(this),c=i(n),u=o(e,c),f=o(t,c),l=arguments.length>2?arguments[2]:void 0,d=s((void 0===l?c:o(l,c))-f,c-u),p=1;for(f<u&&u<f+d&&(p=-1,f+=d-1,u+=d-1);d-- >0;)f in n?n[u]=n[f]:a(n,u),u+=p,f+=p;return n}},function(e,t,n){"use strict";var r=n(403),o=n(332);e.exports=function(e,t){return r(o(e),t)}},function(e,t,n){n(32),n(148),n(150);for(var r=[],o=0;o<256;++o)r[o]=(o+256).toString(16).substr(1);e.exports=function(e,t){var n=t||0,o=r;return[o[e[n++]],o[e[n++]],o[e[n++]],o[e[n++]],"-",o[e[n++]],o[e[n++]],"-",o[e[n++]],o[e[n++]],"-",o[e[n++]],o[e[n++]],"-",o[e[n++]],o[e[n++]],o[e[n++]],o[e[n++]],o[e[n++]],o[e[n++]]].join("")}},function(e,t,n){"use strict";function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}n(67),n(48),n(32),n(70),Object.defineProperty(t,"__esModule",{value:!0}),t.localStore=void 0;var o=new(function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.native=null,this.values={};try{if(this.native=window[t],!this.native||!this.native.getItem)throw new TypeError("Invalid Runtime")}catch(e){this.native=null}}var t,n,o;return t=e,(n=[{key:"getItem",value:function(e){return this.native?this.native.getItem(e):this.values[e]||null}},{key:"setItem",value:function(e,t){if(this.native)return this.native.setItem(e,t);this.values[e]="".concat(t)}},{key:"removeItem",value:function(e){if(this.native)return this.native.removeItem(e);delete this.values[e]}}])&&r(t.prototype,n),o&&r(t,o),e}())("localStorage");t.localStore=o},function(e,t,n){"use strict";var r=n(2),o=n(0);r({global:!0,forced:o.globalThis!==o},{globalThis:o})},function(e,t,n){"use strict";var r=n(7),o=n(40),i=TypeError,a=Object.getOwnPropertyDescriptor,s=r&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(e){return e instanceof TypeError}}();e.exports=s?function(e,t){if(o(e)&&!a(e,"length").writable)throw new i("Cannot set read only .length");return e.length=t}:function(e,t){return e.length=t}},function(e,t,n){"use strict";var r=n(2),o=n(17),i=n(39),a=n(1),s=n(14),c=n(4),u=n(158),f=n(174),l=n(13),d=i&&i.prototype;if(r({target:"Promise",proto:!0,real:!0,forced:!!i&&a((function(){d.finally.call({then:function(){}},(function(){}))}))},{finally:function(e){var t=u(this,s("Promise")),n=c(e);return this.then(n?function(n){return f(t,e()).then((function(){return n}))}:e,n?function(n){return f(t,e()).then((function(){throw n}))}:e)}}),!o&&c(i)){var p=s("Promise").prototype.finally;d.finally!==p&&l(d,"finally",p,{unsafe:!0})}},function(e,t,n){"use strict";var r=n(2),o=n(331);r({global:!0,constructor:!0,forced:!n(357)},{DataView:o.DataView})},function(e,t,n){"use strict";var r=n(1),o=n(10),i=n(15),a=n(496),s=Object.isExtensible,c=r((function(){s(1)}));e.exports=c||a?function(e){return!!o(e)&&((!a||"ArrayBuffer"!==i(e))&&(!s||s(e)))}:s},function(e,t,n){"use strict";var r=n(1);e.exports=r((function(){if("function"==typeof ArrayBuffer){var e=new ArrayBuffer(8);Object.isExtensible(e)&&Object.defineProperty(e,"a",{value:8})}}))},function(e,t,n){"use strict";var r=n(9),o=n(173);e.exports=function(e,t,n,i){try{return i?t(r(n)[0],n[1]):t(n)}catch(t){o(e,"throw",t)}}},function(e,t,n){"use strict";n(67),n(47),Object.defineProperty(t,"__esModule",{value:!0}),t.useColors=o,t.getColor=function(e){var t=encodeURIComponent(e).charCodeAt(0)%r.length;return r[t]};var r=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"];function o(){return!("undefined"==typeof location||!location.href.indexOf("color=true"))}t.isUseColors=o()},function(e,t,n){"use strict";n(151),n(68),n(32),n(103),!window.UCShellJava||window.ucapi&&window.ucapi.invoke&&window.UCShellJava.sdkCallback||function(e){function t(e){ucapi&&ucapi.debug&&alert("BridgeLog:"+e)}function n(e,t,n){t={errCode:t,ext:n},e.fail&&e.fail.call(this,t)}function r(){return d===f.POLLING}function o(e,o,i,c){if(c)try{try{c=JSON.parse(decodeURIComponent(c))}catch(e){c=JSON.parse(c)}}catch(e){c="",t("nativeCallback: JSON parse err:"+e)}var f=(e=r()?a:s)[o];void 0!==f?(i===u.OK?f.success&&f.success.call(this,c):n(f,i,c),delete e[o]):t("no callback:"+o)}function i(){var n=(new Date).valueOf();if(0!==p&&n-p>6e4)a={},p=0,t("polling stop");else{e:{for(var r in n=a)if(n.hasOwnProperty(r)){r=!1;break e}r=!0}if(!r){r="",t("pollOnce:"+(r=l?ucweb.startRequest("shell.jsdk.bridge",["__polling_result__","","",f.POLLING]):e.UCShellJava.sdkInvoke("__polling_result__","","",f.POLLING)));e:if("empty"!==r){try{r=JSON.parse(r)}catch(e){break e}if("[object Array]"===g.call(r))for(var s in r){if(r.hasOwnProperty(s))if(void 0!==(u=r[s]).callbackId&&void 0!==u.status&&void 0!==u.result){n=u.callbackId;var c=u.status,u=decodeURIComponent(u.result);o(f.POLLING,n,c,u)}}}setTimeout(i,50)}}}var a={},s={},c=Math.floor(1e4*Math.random()),u={OK:0,ACCESS_DENY:1,INVALID_METHOD:2,INVALID_PARAM:3,UNKNOWN_ERROR:4},f={LOAD_URL:0,POLLING:1},l=!0;window.ucweb&&window.ucweb.startRequest||(l=!1);var d=f.LOAD_URL;self!=top||"uc_smartreader_iframe"==window.name?d=f.POLLING:l=!1;var p=0;e.ucapi=e.ucapi||{};var h,g=Object.prototype.toString;if(h=!(!e.UCShellJava||"[object Function]"!==g.call(e.UCShellJava.sdkInvoke)))if(!l&&r())n(args,u.UNKNOWN_ERROR,"Not support iframe");else{e.ucapi.invoke=function(o,d){if(o){var h=o+c++,v={};d&&d.success&&(v.success=d.success,delete d.success),d&&d.fail&&(v.fail=d.fail,delete d.fail),(r()?a:s)[h]=v,t("invokeNative: "+o+":"+h+":"+(v=d=d&&"[object String]"!==g.call(d)?JSON.stringify(d):"")),l?r()?(ucweb.startRequest("shell.jsdk.bridge",[o,v,h,f.POLLING]),p=(new Date).valueOf(),i()):ucweb.startRequest("shell.jsdk.bridge",[o,v,h,f.LOAD_URL]):e.UCShellJava.sdkInvoke(o,v,h,f.LOAD_URL)}else n(d,u.INVALID_PARAM,"method is null")},e.UCShellJava.sdkCallback=function(e,n,r){t("nativeCallback:"+e+":"+n+":"+r),o(f.LOAD_URL,e,n,r)},(h=function(){this.listener={}}).prototype={constructor:this,addEvent:function(e,t){return"string"==typeof e&&"function"==typeof t&&(void 0===this.listener[e]?this.listener[e]=[t]:void 0!==this.listener[e][t]&&this.listener[e].push(t)),this},fireEvent:function(e,t){if(e&&this.listener[e]){var n,r=this.listener[e];for(n in r)r.hasOwnProperty(n)&&r[n].call(this,t)}return this},removeEvent:function(e){return e&&this.listener[e]&&delete this.listener[e],this}};var v=new h;e.ucapi.on=function(e,t){v.addEvent(e,t)},e.UCShellJava.sdkEventFire=function(e,n){if(t("nativeEventFire:"+e+":"+n),n)try{n=JSON.parse(n)}catch(e){}v.fireEvent(e,n)}}else t("UCShellJava.sdkInvoke not exsit")}(window)},function(e,t,n){"use strict";n(48),n(32),n(49),n(69),n(70);var r=n(274),o=n(413),i=n(502),a=n(365);function s(e){var t=new i(e),n=o(i.prototype.request,t);return r.extend(n,i.prototype,t),r.extend(n,t),n}var c=s(a);c.Axios=i,c.create=function(e){return s(r.merge(a,e))},c.Cancel=n(418),c.CancelToken=n(518),c.isCancel=n(417),c.all=function(e){return Promise.all(e)},c.spread=n(519),e.exports=c,e.exports.default=c},function(e,t,n){function r(e){return!!e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}n(66),
/*!
 * Determine if an object is a Buffer
 *
 * @author   Feross Aboukhadijeh <https://feross.org>
 * @license  MIT
 */
e.exports=function(e){return null!=e&&(r(e)||function(e){return"function"==typeof e.readFloatLE&&"function"==typeof e.slice&&r(e.slice(0,0))}(e)||!!e._isBuffer)}},function(e,t,n){"use strict";n(32),n(49),n(45),n(46);var r=n(365),o=n(274),i=n(513),a=n(514);function s(e){this.defaults=e,this.interceptors={request:new i,response:new i}}s.prototype.request=function(e){"string"==typeof e&&(e=o.merge({url:arguments[0]},arguments[1])),(e=o.merge(r,{method:"get"},this.defaults,e)).method=e.method.toLowerCase();var t=[a,void 0],n=Promise.resolve(e);for(this.interceptors.request.forEach((function(e){t.unshift(e.fulfilled,e.rejected)})),this.interceptors.response.forEach((function(e){t.push(e.fulfilled,e.rejected)}));t.length;)n=n.then(t.shift(),t.shift());return n},o.forEach(["delete","get","head","options"],(function(e){s.prototype[e]=function(t,n){return this.request(o.merge(n||{},{method:e,url:t}))}})),o.forEach(["post","put","patch"],(function(e){s.prototype[e]=function(t,n,r){return this.request(o.merge(r||{},{method:e,url:t,data:n}))}})),e.exports=s},function(e,t,n){"use strict";n(45),n(32),n(46);var r=n(274);e.exports=function(e,t){r.forEach(e,(function(n,r){r!==t&&r.toUpperCase()===t.toUpperCase()&&(e[t]=n,delete e[r])}))}},function(e,t,n){"use strict";var r=n(415);e.exports=function(e,t,n){var o=n.config.validateStatus;n.status&&o&&!o(n.status)?t(r("Request failed with status code "+n.status,n.config,null,n.request,n)):e(n)}},function(e,t,n){"use strict";e.exports=function(e,t,n,r,o){return e.config=t,n&&(e.code=n),e.request=r,e.response=o,e}},function(e,t,n){"use strict";n(102),n(149),n(32),n(148),n(45),n(46),n(339),n(103),n(150),n(47);var r=n(274);function o(e){return encodeURIComponent(e).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}e.exports=function(e,t,n){if(!t)return e;var i;if(n)i=n(t);else if(r.isURLSearchParams(t))i=t.toString();else{var a=[];r.forEach(t,(function(e,t){null!=e&&(r.isArray(e)?t+="[]":e=[e],r.forEach(e,(function(e){r.isDate(e)?e=e.toISOString():r.isObject(e)&&(e=JSON.stringify(e)),a.push(o(t)+"="+o(e))})))})),i=a.join("&")}return i&&(e+=(-1===e.indexOf("?")?"?":"&")+i),e}},function(e,t,n){"use strict";var r=n(3),o=n(1),i=n(508).start,a=RangeError,s=isFinite,c=Math.abs,u=Date.prototype,f=u.toISOString,l=r(u.getTime),d=r(u.getUTCDate),p=r(u.getUTCFullYear),h=r(u.getUTCHours),g=r(u.getUTCMilliseconds),v=r(u.getUTCMinutes),m=r(u.getUTCMonth),y=r(u.getUTCSeconds);e.exports=o((function(){return"0385-07-25T07:06:39.999Z"!==f.call(new Date(-50000000000001))}))||!o((function(){f.call(new Date(NaN))}))?function(){if(!s(l(this)))throw new a("Invalid time value");var e=p(this),t=g(this),n=e<0?"-":e>9999?"+":"";return n+i(c(e),n?6:4,0)+"-"+i(m(this)+1,2,0)+"-"+i(d(this),2,0)+"T"+i(h(this),2,0)+":"+i(v(this),2,0)+":"+i(y(this),2,0)+"."+i(t,3,0)+"Z"}:f},function(e,t,n){"use strict";var r=n(3),o=n(81),i=n(12),a=n(416),s=n(26),c=r(a),u=r("".slice),f=Math.ceil,l=function(e){return function(t,n,r){var a,l,d=i(s(t)),p=o(n),h=d.length,g=void 0===r?" ":i(r);return p<=h||""===g?d:((l=c(g,f((a=p-h)/g.length))).length>a&&(l=u(l,0,a)),e?d+l:l+d)}};e.exports={start:l(!1),end:l(!0)}},function(e,t,n){"use strict";n(45),n(32),n(46),n(102),n(234),n(47),n(243),n(147);var r=n(274),o=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];e.exports=function(e){var t,n,i,a={};return e?(r.forEach(e.split("\n"),(function(e){if(i=e.indexOf(":"),t=r.trim(e.substr(0,i)).toLowerCase(),n=r.trim(e.substr(i+1)),t){if(a[t]&&o.indexOf(t)>=0)return;a[t]="set-cookie"===t?(a[t]?a[t]:[]).concat([n]):a[t]?a[t]+", "+n:n}})),a):a}},function(e,t,n){"use strict";n(102),n(235),n(149),n(153);var r=n(274);e.exports=r.isStandardBrowserEnv()?function(){var e,t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");function o(e){var r=e;return t&&(n.setAttribute("href",r),r=n.href),n.setAttribute("href",r),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:"/"===n.pathname.charAt(0)?n.pathname:"/"+n.pathname}}return e=o(window.location.href),function(t){var n=r.isString(t)?o(t):t;return n.protocol===e.protocol&&n.host===e.host}}():function(){return!0}},function(e,t,n){"use strict";n(68);function r(){this.message="String contains an invalid character"}r.prototype=new Error,r.prototype.code=5,r.prototype.name="InvalidCharacterError",e.exports=function(e){for(var t,n,o=String(e),i="",a=0,s="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";o.charAt(0|a)||(s="=",a%1);i+=s.charAt(63&t>>8-a%1*8)){if((n=o.charCodeAt(a+=3/4))>255)throw new r;t=t<<8|n}return i}},function(e,t,n){"use strict";n(150),n(102),n(152),n(155),n(154),n(148);var r=n(274);e.exports=r.isStandardBrowserEnv()?{write:function(e,t,n,o,i,a){var s=[];s.push(e+"="+encodeURIComponent(t)),r.isNumber(n)&&s.push("expires="+new Date(n).toGMTString()),r.isString(o)&&s.push("path="+o),r.isString(i)&&s.push("domain="+i),!0===a&&s.push("secure"),document.cookie=s.join("; ")},read:function(e){var t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}}},function(e,t,n){"use strict";n(45),n(32),n(46);var r=n(274);function o(){this.handlers=[]}o.prototype.use=function(e,t){return this.handlers.push({fulfilled:e,rejected:t}),this.handlers.length-1},o.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},o.prototype.forEach=function(e){r.forEach(this.handlers,(function(t){null!==t&&e(t)}))},e.exports=o},function(e,t,n){"use strict";n(45),n(32),n(46),n(49);var r=n(274),o=n(515),i=n(417),a=n(365),s=n(516),c=n(517);function u(e){e.cancelToken&&e.cancelToken.throwIfRequested()}e.exports=function(e){return u(e),e.baseURL&&!s(e.url)&&(e.url=c(e.baseURL,e.url)),e.headers=e.headers||{},e.data=o(e.data,e.headers,e.transformRequest),e.headers=r.merge(e.headers.common||{},e.headers[e.method]||{},e.headers||{}),r.forEach(["delete","get","head","post","put","patch","common"],(function(t){delete e.headers[t]})),(e.adapter||a.adapter)(e).then((function(t){return u(e),t.data=o(t.data,t.headers,e.transformResponse),t}),(function(t){return i(t)||(u(e),t&&t.response&&(t.response.data=o(t.response.data,t.response.headers,e.transformResponse))),Promise.reject(t)}))}},function(e,t,n){"use strict";n(45),n(32),n(46);var r=n(274);e.exports=function(e,t,n){return r.forEach(n,(function(n){e=n(e,t)})),e}},function(e,t,n){"use strict";n(102),n(235),e.exports=function(e){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(e)}},function(e,t,n){"use strict";n(102),n(149),e.exports=function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}},function(e,t,n){"use strict";n(32),n(49);var r=n(418);function o(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");var t;this.promise=new Promise((function(e){t=e}));var n=this;e((function(e){n.reason||(n.reason=new r(e),t(n.reason))}))}o.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},o.source=function(){var e;return{token:new o((function(t){e=t})),cancel:e}},e.exports=o},function(e,t,n){"use strict";e.exports=function(e){return function(t){return e.apply(null,t)}}},function(e,t,n){"use strict";var r,o=n(364),i=n(0),a=n(3),s=n(320),c=n(322),u=n(341),f=n(420),l=n(10),d=n(20).enforce,p=n(1),h=n(169),g=Object,v=Array.isArray,m=g.isExtensible,y=g.isFrozen,w=g.isSealed,b=g.freeze,_=g.seal,x=!i.ActiveXObject&&"ActiveXObject"in i,A=function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}},L=u("WeakMap",A,f),C=L.prototype,S=a(C.set);if(h)if(x){r=f.getConstructor(A,"WeakMap",!0),c.enable();var E=a(C.delete),P=a(C.has),O=a(C.get);s(C,{delete:function(e){if(l(e)&&!m(e)){var t=d(this);return t.frozen||(t.frozen=new r),E(this,e)||t.frozen.delete(e)}return E(this,e)},has:function(e){if(l(e)&&!m(e)){var t=d(this);return t.frozen||(t.frozen=new r),P(this,e)||t.frozen.has(e)}return P(this,e)},get:function(e){if(l(e)&&!m(e)){var t=d(this);return t.frozen||(t.frozen=new r),P(this,e)?O(this,e):t.frozen.get(e)}return O(this,e)},set:function(e,t){if(l(e)&&!m(e)){var n=d(this);n.frozen||(n.frozen=new r),P(this,e)?S(this,e,t):n.frozen.set(e,t)}else S(this,e,t);return this}})}else o&&p((function(){var e=b([]);return S(new L,e,1),!y(e)}))&&s(C,{set:function(e,t){var n;return v(e)&&(y(e)?n=b:w(e)&&(n=_)),S(this,e,t),n&&n(e),this}})},function(e,t,n){"use strict";n(67),n(32),n(49),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,o=(r=n(421))&&r.__esModule?r:{default:r};var i={fulfilled:function(e){return o.default.set(e.config.__reqId__,e),e},rejected:function(e){return Promise.reject(e)}};t.default=i},function(e,t,n){"use strict";n(67),n(45),n(32),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,o=(r=n(330))&&r.__esModule?r:{default:r},i=n(241),a=n(523),s=n(360),c=n(423);function u(e){e.__dt=(0,a.getCurrentPageTime)(),e.__t=Date.now()}function f(e){var t=(0,s.getUnitTestConfig)("search");if((0,i.isUC)()||(0,i.isQuark)()){e.uc_param_str=e.uc_param_str||(0,c.getParam)("uc_param_str",t)||"dsdnfrpfbivessbtbmnilauputogpintnwmtsvcppcprsnnnchmicgxs",function(e,t,n){(0,o.default)(e%2!=0,"\u5f02\u5e38\u7684 ucParamStr \u53c2\u6570\u503c ".concat(e));for(var r=0;r<e.length;){var i=e.substr(r,2),a=(0,c.getParam)(i,n);a&&(t[i]=a),r+=2}}(e.uc_param_str,e,t)}}function l(e){["entry","origin","forcela"].forEach((function(t){var n=(0,c.getParam)(t);"[object Array]"===Object.prototype.toString.call(n)&&(n=n[0]),n&&(e[t]=n)}))}var d={fulfilled:function(){try{var e=arguments[0].config||arguments[0];e.params=e.params||{},f(e.params),u(e.params),l(e.params)}catch(e){console.error(e)}return arguments[0]}};t.default=d},function(e,t,n){"use strict";n(67),Object.defineProperty(t,"__esModule",{value:!0}),t.getCurrentPageTime=function(){if(window.performance&&window.performance.timing)return Date.now()-window.performance.timing.navigationStart;return 0}},function(e,t,n){"use strict";n(339),n(146),n(249),n(147),n(238),n(32),n(150);var r=n(425),o=n(426),i={brackets:function(e){return e+"[]"},indices:function(e,t){return e+"["+t+"]"},repeat:function(e){return e}},a=Date.prototype.toISOString,s={delimiter:"&",encode:!0,encoder:r.encode,encodeValuesOnly:!1,serializeDate:function(e){return a.call(e)},skipNulls:!1,strictNullHandling:!1},c=function e(t,n,o,i,a,c,u,f,l,d,p,h){var g=t;if("function"==typeof u)g=u(n,g);else if(g instanceof Date)g=d(g);else if(null===g){if(i)return c&&!h?c(n,s.encoder):n;g=""}if("string"==typeof g||"number"==typeof g||"boolean"==typeof g||r.isBuffer(g))return c?[p(h?n:c(n,s.encoder))+"="+p(c(g,s.encoder))]:[p(n)+"="+p(String(g))];var v,m=[];if(void 0===g)return m;if(Array.isArray(u))v=u;else{var y=Object.keys(g);v=f?y.sort(f):y}for(var w=0;w<v.length;++w){var b=v[w];a&&null===g[b]||(m=Array.isArray(g)?m.concat(e(g[b],o(n,b),o,i,a,c,u,f,l,d,p,h)):m.concat(e(g[b],n+(l?"."+b:"["+b+"]"),o,i,a,c,u,f,l,d,p,h)))}return m};e.exports=function(e,t){var n=e,a=t?r.assign({},t):{};if(null!==a.encoder&&void 0!==a.encoder&&"function"!=typeof a.encoder)throw new TypeError("Encoder has to be a function.");var u=void 0===a.delimiter?s.delimiter:a.delimiter,f="boolean"==typeof a.strictNullHandling?a.strictNullHandling:s.strictNullHandling,l="boolean"==typeof a.skipNulls?a.skipNulls:s.skipNulls,d="boolean"==typeof a.encode?a.encode:s.encode,p="function"==typeof a.encoder?a.encoder:s.encoder,h="function"==typeof a.sort?a.sort:null,g=void 0!==a.allowDots&&a.allowDots,v="function"==typeof a.serializeDate?a.serializeDate:s.serializeDate,m="boolean"==typeof a.encodeValuesOnly?a.encodeValuesOnly:s.encodeValuesOnly;if(void 0===a.format)a.format=o.default;else if(!Object.prototype.hasOwnProperty.call(o.formatters,a.format))throw new TypeError("Unknown format option provided.");var y,w,b=o.formatters[a.format];"function"==typeof a.filter?n=(w=a.filter)("",n):Array.isArray(a.filter)&&(y=w=a.filter);var _,x=[];if("object"!=typeof n||null===n)return"";_=a.arrayFormat in i?a.arrayFormat:"indices"in a?a.indices?"indices":"repeat":"indices";var A=i[_];y||(y=Object.keys(n)),h&&y.sort(h);for(var L=0;L<y.length;++L){var C=y[L];l&&null===n[C]||(x=x.concat(c(n[C],C,A,f,l,d?p:null,w,h,g,v,b,m)))}var S=x.join(u),E=!0===a.addQueryPrefix?"?":"";return S.length>0?E+S:""}},function(e,t,n){"use strict";n(102),n(149),n(234),n(47),n(66),n(147),n(242),n(146);var r=n(425),o=Object.prototype.hasOwnProperty,i={allowDots:!1,allowPrototypes:!1,arrayLimit:20,decoder:r.decode,delimiter:"&",depth:5,parameterLimit:1e3,plainObjects:!1,strictNullHandling:!1},a=function(e,t,n){if(e){var r=n.allowDots?e.replace(/\.([^.[]+)/g,"[$1]"):e,i=/(\[[^[\]]*])/g,a=/(\[[^[\]]*])/.exec(r),s=a?r.slice(0,a.index):r,c=[];if(s){if(!n.plainObjects&&o.call(Object.prototype,s)&&!n.allowPrototypes)return;c.push(s)}for(var u=0;null!==(a=i.exec(r))&&u<n.depth;){if(u+=1,!n.plainObjects&&o.call(Object.prototype,a[1].slice(1,-1))&&!n.allowPrototypes)return;c.push(a[1])}return a&&c.push("["+r.slice(a.index)+"]"),function(e,t,n){for(var r=t,o=e.length-1;o>=0;--o){var i,a=e[o];if("[]"===a)i=(i=[]).concat(r);else{i=n.plainObjects?Object.create(null):{};var s="["===a.charAt(0)&&"]"===a.charAt(a.length-1)?a.slice(1,-1):a,c=parseInt(s,10);!isNaN(c)&&a!==s&&String(c)===s&&c>=0&&n.parseArrays&&c<=n.arrayLimit?(i=[])[c]=r:i[s]=r}r=i}return r}(c,t,n)}};e.exports=function(e,t){var n=t?r.assign({},t):{};if(null!==n.decoder&&void 0!==n.decoder&&"function"!=typeof n.decoder)throw new TypeError("Decoder has to be a function.");if(n.ignoreQueryPrefix=!0===n.ignoreQueryPrefix,n.delimiter="string"==typeof n.delimiter||r.isRegExp(n.delimiter)?n.delimiter:i.delimiter,n.depth="number"==typeof n.depth?n.depth:i.depth,n.arrayLimit="number"==typeof n.arrayLimit?n.arrayLimit:i.arrayLimit,n.parseArrays=!1!==n.parseArrays,n.decoder="function"==typeof n.decoder?n.decoder:i.decoder,n.allowDots="boolean"==typeof n.allowDots?n.allowDots:i.allowDots,n.plainObjects="boolean"==typeof n.plainObjects?n.plainObjects:i.plainObjects,n.allowPrototypes="boolean"==typeof n.allowPrototypes?n.allowPrototypes:i.allowPrototypes,n.parameterLimit="number"==typeof n.parameterLimit?n.parameterLimit:i.parameterLimit,n.strictNullHandling="boolean"==typeof n.strictNullHandling?n.strictNullHandling:i.strictNullHandling,""===e||null==e)return n.plainObjects?Object.create(null):{};for(var s="string"==typeof e?function(e,t){for(var n={},r=t.ignoreQueryPrefix?e.replace(/^\?/,""):e,a=t.parameterLimit===1/0?void 0:t.parameterLimit,s=r.split(t.delimiter,a),c=0;c<s.length;++c){var u,f,l=s[c],d=l.indexOf("]="),p=-1===d?l.indexOf("="):d+1;-1===p?(u=t.decoder(l,i.decoder),f=t.strictNullHandling?null:""):(u=t.decoder(l.slice(0,p),i.decoder),f=t.decoder(l.slice(p+1),i.decoder)),o.call(n,u)?n[u]=[].concat(n[u]).concat(f):n[u]=f}return n}(e,n):e,c=n.plainObjects?Object.create(null):{},u=Object.keys(s),f=0;f<u.length;++f){var l=u[f],d=a(l,s[l],n);c=r.merge(c,d,n)}return r.compact(c)}},function(e,t,n){"use strict";n(67),n(232),n(103),n(32),n(49),Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.Axios.prototype.request;e.Axios.prototype.request=function(e){var n=function(e){return Object.assign({__reqId__:(0,o.default)()},e)}(e),a=Date.now();return t.call(this,n).then((function(e){var t=i.default.get(n.__reqId__),o=t?t.status:"";return(0,r.uploadResultToRetcode)(n,a,o,!0,"success"),e}),(function(e){var t="";return e&&e.response&&e.response.status&&(t=e.response.status),(0,r.uploadResultToRetcode)(n,a,t,!1,JSON.stringify({code:e.code,message:e.message||e.msg})),Promise.reject(e)}))}};var r=n(527),o=a(n(319)),i=a(n(421));function a(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";n(67),n(102),n(234),Object.defineProperty(t,"__esModule",{value:!0}),t.uploadResultToRetcode=function(e,t,n,r,o){try{var i;if(e&&e.apiName)i=e.apiName;else{var a=/(https?:)?\/\/[^\/]+(\/[^?#]*)/.exec(e.url);i=a&&a[2]?a[2]:e.url.split("?")[0]}var s=Date.now()-t;!function(e,t,n,r,o,i){(function(e,t){if(window.__WPO){var n=(window.__WPO.config=window.__WPO.config||window.__BROCCOLI_LOG.config,window.__WPO.config);if(n&&n.spmId)return n.retCode=n.retCode||{},n.retCode[e]=t||10,!0}})(e,i)&&window.__WPO.retCode(e,t,n,r,o)}(i,r,s,n,o,e.retCodeGamble)}catch(e){console.log(e)}}},function(e,t,n){"use strict";n(67),Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.create;e.create=function(n){var i=t.call(e,n);return(0,r.default)(i),o.default.executeAll(i),i.plus=o.default,i}};var r=i(n(419)),o=i(n(427));function i(e){return e&&e.__esModule?e:{default:e}}},,,,,,,,function(e,t,n){"use strict";var r=n(0),o=n(1),i=n(3),a=n(12),s=n(314).trim,c=n(328),u=i("".charAt),f=r.parseFloat,l=r.Symbol,d=l&&l.iterator,p=1/f(c+"-0")!=-1/0||d&&!o((function(){f(Object(d))}));e.exports=p?function(e){var t=s(a(e)),n=f(t);return 0===n&&"-"===u(t,0)?-0:n}:f},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";n(69);var r,o=n(2),i=n(7),a=n(408),s=n(0),c=n(53),u=n(3),f=n(13),l=n(35),d=n(157),p=n(8),h=n(393),g=n(410),v=n(34),m=n(122).codeAt,y=n(574),w=n(12),b=n(21),_=n(114),x=n(407),A=n(20),L=A.set,C=A.getterFor("URL"),S=x.URLSearchParams,E=x.getState,P=s.URL,O=s.TypeError,k=s.parseInt,I=Math.floor,T=Math.pow,R=u("".charAt),U=u(/./.exec),D=u([].join),N=u(1..toString),j=u([].pop),F=u([].push),B=u("".replace),M=u([].shift),q=u("".split),H=u("".slice),W=u("".toLowerCase),K=u([].unshift),V=/[a-z]/i,z=/[\d+-.a-z]/i,J=/\d/,Y=/^0x/i,G=/^[0-7]+$/,Q=/^\d+$/,X=/^[\da-f]+$/i,Z=/[\0\t\n\r #%/:<>?@[\\\]^|]/,$=/[\0\t\n\r #/:<>?@[\\\]^|]/,ee=/^[\u0000-\u0020]+/,te=/(^|[^\u0000-\u0020])[\u0000-\u0020]+$/,ne=/[\t\n\r]/g,re=function(e){var t,n,r,o;if("number"==typeof e){for(t=[],n=0;n<4;n++)K(t,e%256),e=I(e/256);return D(t,".")}if("object"==typeof e){for(t="",r=function(e){for(var t=null,n=1,r=null,o=0,i=0;i<8;i++)0!==e[i]?(o>n&&(t=r,n=o),r=null,o=0):(null===r&&(r=i),++o);return o>n&&(t=r,n=o),t}(e),n=0;n<8;n++)o&&0===e[n]||(o&&(o=!1),r===n?(t+=n?":":"::",o=!0):(t+=N(e[n],16),n<7&&(t+=":")));return"["+t+"]"}return e},oe={},ie=h({},oe,{" ":1,'"':1,"<":1,">":1,"`":1}),ae=h({},ie,{"#":1,"?":1,"{":1,"}":1}),se=h({},ae,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),ce=function(e,t){var n=m(e,0);return n>32&&n<127&&!p(t,e)?e:encodeURIComponent(e)},ue={ftp:21,file:null,http:80,https:443,ws:80,wss:443},fe=function(e,t){var n;return 2===e.length&&U(V,R(e,0))&&(":"===(n=R(e,1))||!t&&"|"===n)},le=function(e){var t;return e.length>1&&fe(H(e,0,2))&&(2===e.length||"/"===(t=R(e,2))||"\\"===t||"?"===t||"#"===t)},de=function(e){return"."===e||"%2e"===W(e)},pe={},he={},ge={},ve={},me={},ye={},we={},be={},_e={},xe={},Ae={},Le={},Ce={},Se={},Ee={},Pe={},Oe={},ke={},Ie={},Te={},Re={},Ue=function(e,t,n){var r,o,i,a=w(e);if(t){if(o=this.parse(a))throw new O(o);this.searchParams=null}else{if(void 0!==n&&(r=new Ue(n,!0)),o=this.parse(a,null,r))throw new O(o);(i=E(new S)).bindURL(this),this.searchParams=i}};Ue.prototype={type:"URL",parse:function(e,t,n){var o,i,a,s,c,u=this,f=t||pe,l=0,d="",h=!1,m=!1,y=!1;for(e=w(e),t||(u.scheme="",u.username="",u.password="",u.host=null,u.port=null,u.path=[],u.query=null,u.fragment=null,u.cannotBeABaseURL=!1,e=B(e,ee,""),e=B(e,te,"$1")),e=B(e,ne,""),o=g(e);l<=o.length;){switch(i=o[l],f){case pe:if(!i||!U(V,i)){if(t)return"Invalid scheme";f=ge;continue}d+=W(i),f=he;break;case he:if(i&&(U(z,i)||"+"===i||"-"===i||"."===i))d+=W(i);else{if(":"!==i){if(t)return"Invalid scheme";d="",f=ge,l=0;continue}if(t&&(u.isSpecial()!==p(ue,d)||"file"===d&&(u.includesCredentials()||null!==u.port)||"file"===u.scheme&&!u.host))return;if(u.scheme=d,t)return void(u.isSpecial()&&ue[u.scheme]===u.port&&(u.port=null));d="","file"===u.scheme?f=Se:u.isSpecial()&&n&&n.scheme===u.scheme?f=ve:u.isSpecial()?f=be:"/"===o[l+1]?(f=me,l++):(u.cannotBeABaseURL=!0,F(u.path,""),f=Ie)}break;case ge:if(!n||n.cannotBeABaseURL&&"#"!==i)return"Invalid scheme";if(n.cannotBeABaseURL&&"#"===i){u.scheme=n.scheme,u.path=v(n.path),u.query=n.query,u.fragment="",u.cannotBeABaseURL=!0,f=Re;break}f="file"===n.scheme?Se:ye;continue;case ve:if("/"!==i||"/"!==o[l+1]){f=ye;continue}f=_e,l++;break;case me:if("/"===i){f=xe;break}f=ke;continue;case ye:if(u.scheme=n.scheme,i===r)u.username=n.username,u.password=n.password,u.host=n.host,u.port=n.port,u.path=v(n.path),u.query=n.query;else if("/"===i||"\\"===i&&u.isSpecial())f=we;else if("?"===i)u.username=n.username,u.password=n.password,u.host=n.host,u.port=n.port,u.path=v(n.path),u.query="",f=Te;else{if("#"!==i){u.username=n.username,u.password=n.password,u.host=n.host,u.port=n.port,u.path=v(n.path),u.path.length--,f=ke;continue}u.username=n.username,u.password=n.password,u.host=n.host,u.port=n.port,u.path=v(n.path),u.query=n.query,u.fragment="",f=Re}break;case we:if(!u.isSpecial()||"/"!==i&&"\\"!==i){if("/"!==i){u.username=n.username,u.password=n.password,u.host=n.host,u.port=n.port,f=ke;continue}f=xe}else f=_e;break;case be:if(f=_e,"/"!==i||"/"!==R(d,l+1))continue;l++;break;case _e:if("/"!==i&&"\\"!==i){f=xe;continue}break;case xe:if("@"===i){h&&(d="%40"+d),h=!0,a=g(d);for(var b=0;b<a.length;b++){var _=a[b];if(":"!==_||y){var x=ce(_,se);y?u.password+=x:u.username+=x}else y=!0}d=""}else if(i===r||"/"===i||"?"===i||"#"===i||"\\"===i&&u.isSpecial()){if(h&&""===d)return"Invalid authority";l-=g(d).length+1,d="",f=Ae}else d+=i;break;case Ae:case Le:if(t&&"file"===u.scheme){f=Pe;continue}if(":"!==i||m){if(i===r||"/"===i||"?"===i||"#"===i||"\\"===i&&u.isSpecial()){if(u.isSpecial()&&""===d)return"Invalid host";if(t&&""===d&&(u.includesCredentials()||null!==u.port))return;if(s=u.parseHost(d))return s;if(d="",f=Oe,t)return;continue}"["===i?m=!0:"]"===i&&(m=!1),d+=i}else{if(""===d)return"Invalid host";if(s=u.parseHost(d))return s;if(d="",f=Ce,t===Le)return}break;case Ce:if(!U(J,i)){if(i===r||"/"===i||"?"===i||"#"===i||"\\"===i&&u.isSpecial()||t){if(""!==d){var A=k(d,10);if(A>65535)return"Invalid port";u.port=u.isSpecial()&&A===ue[u.scheme]?null:A,d=""}if(t)return;f=Oe;continue}return"Invalid port"}d+=i;break;case Se:if(u.scheme="file","/"===i||"\\"===i)f=Ee;else{if(!n||"file"!==n.scheme){f=ke;continue}switch(i){case r:u.host=n.host,u.path=v(n.path),u.query=n.query;break;case"?":u.host=n.host,u.path=v(n.path),u.query="",f=Te;break;case"#":u.host=n.host,u.path=v(n.path),u.query=n.query,u.fragment="",f=Re;break;default:le(D(v(o,l),""))||(u.host=n.host,u.path=v(n.path),u.shortenPath()),f=ke;continue}}break;case Ee:if("/"===i||"\\"===i){f=Pe;break}n&&"file"===n.scheme&&!le(D(v(o,l),""))&&(fe(n.path[0],!0)?F(u.path,n.path[0]):u.host=n.host),f=ke;continue;case Pe:if(i===r||"/"===i||"\\"===i||"?"===i||"#"===i){if(!t&&fe(d))f=ke;else if(""===d){if(u.host="",t)return;f=Oe}else{if(s=u.parseHost(d))return s;if("localhost"===u.host&&(u.host=""),t)return;d="",f=Oe}continue}d+=i;break;case Oe:if(u.isSpecial()){if(f=ke,"/"!==i&&"\\"!==i)continue}else if(t||"?"!==i)if(t||"#"!==i){if(i!==r&&(f=ke,"/"!==i))continue}else u.fragment="",f=Re;else u.query="",f=Te;break;case ke:if(i===r||"/"===i||"\\"===i&&u.isSpecial()||!t&&("?"===i||"#"===i)){if(".."===(c=W(c=d))||"%2e."===c||".%2e"===c||"%2e%2e"===c?(u.shortenPath(),"/"===i||"\\"===i&&u.isSpecial()||F(u.path,"")):de(d)?"/"===i||"\\"===i&&u.isSpecial()||F(u.path,""):("file"===u.scheme&&!u.path.length&&fe(d)&&(u.host&&(u.host=""),d=R(d,0)+":"),F(u.path,d)),d="","file"===u.scheme&&(i===r||"?"===i||"#"===i))for(;u.path.length>1&&""===u.path[0];)M(u.path);"?"===i?(u.query="",f=Te):"#"===i&&(u.fragment="",f=Re)}else d+=ce(i,ae);break;case Ie:"?"===i?(u.query="",f=Te):"#"===i?(u.fragment="",f=Re):i!==r&&(u.path[0]+=ce(i,oe));break;case Te:t||"#"!==i?i!==r&&("'"===i&&u.isSpecial()?u.query+="%27":u.query+="#"===i?"%23":ce(i,oe)):(u.fragment="",f=Re);break;case Re:i!==r&&(u.fragment+=ce(i,ie))}l++}},parseHost:function(e){var t,n,r;if("["===R(e,0)){if("]"!==R(e,e.length-1))return"Invalid host";if(!(t=function(e){var t,n,r,o,i,a,s,c=[0,0,0,0,0,0,0,0],u=0,f=null,l=0,d=function(){return R(e,l)};if(":"===d()){if(":"!==R(e,1))return;l+=2,f=++u}for(;d();){if(8===u)return;if(":"!==d()){for(t=n=0;n<4&&U(X,d());)t=16*t+k(d(),16),l++,n++;if("."===d()){if(0===n)return;if(l-=n,u>6)return;for(r=0;d();){if(o=null,r>0){if(!("."===d()&&r<4))return;l++}if(!U(J,d()))return;for(;U(J,d());){if(i=k(d(),10),null===o)o=i;else{if(0===o)return;o=10*o+i}if(o>255)return;l++}c[u]=256*c[u]+o,2!==++r&&4!==r||u++}if(4!==r)return;break}if(":"===d()){if(l++,!d())return}else if(d())return;c[u++]=t}else{if(null!==f)return;l++,f=++u}}if(null!==f)for(a=u-f,u=7;0!==u&&a>0;)s=c[u],c[u--]=c[f+a-1],c[f+--a]=s;else if(8!==u)return;return c}(H(e,1,-1))))return"Invalid host";this.host=t}else if(this.isSpecial()){if(e=y(e),U(Z,e))return"Invalid host";if(null===(t=function(e){var t,n,r,o,i,a,s,c=q(e,".");if(c.length&&""===c[c.length-1]&&c.length--,(t=c.length)>4)return e;for(n=[],r=0;r<t;r++){if(""===(o=c[r]))return e;if(i=10,o.length>1&&"0"===R(o,0)&&(i=U(Y,o)?16:8,o=H(o,8===i?1:2)),""===o)a=0;else{if(!U(10===i?Q:8===i?G:X,o))return e;a=k(o,i)}F(n,a)}for(r=0;r<t;r++)if(a=n[r],r===t-1){if(a>=T(256,5-t))return null}else if(a>255)return null;for(s=j(n),r=0;r<n.length;r++)s+=n[r]*T(256,3-r);return s}(e)))return"Invalid host";this.host=t}else{if(U($,e))return"Invalid host";for(t="",n=g(e),r=0;r<n.length;r++)t+=ce(n[r],oe);this.host=t}},cannotHaveUsernamePasswordPort:function(){return!this.host||this.cannotBeABaseURL||"file"===this.scheme},includesCredentials:function(){return""!==this.username||""!==this.password},isSpecial:function(){return p(ue,this.scheme)},shortenPath:function(){var e=this.path,t=e.length;!t||"file"===this.scheme&&1===t&&fe(e[0],!0)||e.length--},serialize:function(){var e=this,t=e.scheme,n=e.username,r=e.password,o=e.host,i=e.port,a=e.path,s=e.query,c=e.fragment,u=t+":";return null!==o?(u+="//",e.includesCredentials()&&(u+=n+(r?":"+r:"")+"@"),u+=re(o),null!==i&&(u+=":"+i)):"file"===t&&(u+="//"),u+=e.cannotBeABaseURL?a[0]:a.length?"/"+D(a,"/"):"",null!==s&&(u+="?"+s),null!==c&&(u+="#"+c),u},setHref:function(e){var t=this.parse(e);if(t)throw new O(t);this.searchParams.update()},getOrigin:function(){var e=this.scheme,t=this.port;if("blob"===e)try{return new De(e.path[0]).origin}catch(e){return"null"}return"file"!==e&&this.isSpecial()?e+"://"+re(this.host)+(null!==t?":"+t:""):"null"},getProtocol:function(){return this.scheme+":"},setProtocol:function(e){this.parse(w(e)+":",pe)},getUsername:function(){return this.username},setUsername:function(e){var t=g(w(e));if(!this.cannotHaveUsernamePasswordPort()){this.username="";for(var n=0;n<t.length;n++)this.username+=ce(t[n],se)}},getPassword:function(){return this.password},setPassword:function(e){var t=g(w(e));if(!this.cannotHaveUsernamePasswordPort()){this.password="";for(var n=0;n<t.length;n++)this.password+=ce(t[n],se)}},getHost:function(){var e=this.host,t=this.port;return null===e?"":null===t?re(e):re(e)+":"+t},setHost:function(e){this.cannotBeABaseURL||this.parse(e,Ae)},getHostname:function(){var e=this.host;return null===e?"":re(e)},setHostname:function(e){this.cannotBeABaseURL||this.parse(e,Le)},getPort:function(){var e=this.port;return null===e?"":w(e)},setPort:function(e){this.cannotHaveUsernamePasswordPort()||(""===(e=w(e))?this.port=null:this.parse(e,Ce))},getPathname:function(){var e=this.path;return this.cannotBeABaseURL?e[0]:e.length?"/"+D(e,"/"):""},setPathname:function(e){this.cannotBeABaseURL||(this.path=[],this.parse(e,Oe))},getSearch:function(){var e=this.query;return e?"?"+e:""},setSearch:function(e){""===(e=w(e))?this.query=null:("?"===R(e,0)&&(e=H(e,1)),this.query="",this.parse(e,Te)),this.searchParams.update()},getSearchParams:function(){return this.searchParams.facade},getHash:function(){var e=this.fragment;return e?"#"+e:""},setHash:function(e){""!==(e=w(e))?("#"===R(e,0)&&(e=H(e,1)),this.fragment="",this.parse(e,Re)):this.fragment=null},update:function(){this.query=this.searchParams.serialize()||null}};var De=function(e){var t=d(this,Ne),n=_(arguments.length,1)>1?arguments[1]:void 0,r=L(t,new Ue(e,!1,n));i||(t.href=r.serialize(),t.origin=r.getOrigin(),t.protocol=r.getProtocol(),t.username=r.getUsername(),t.password=r.getPassword(),t.host=r.getHost(),t.hostname=r.getHostname(),t.port=r.getPort(),t.pathname=r.getPathname(),t.search=r.getSearch(),t.searchParams=r.getSearchParams(),t.hash=r.getHash())},Ne=De.prototype,je=function(e,t){return{get:function(){return C(this)[e]()},set:t&&function(e){return C(this)[t](e)},configurable:!0,enumerable:!0}};if(i&&(l(Ne,"href",je("serialize","setHref")),l(Ne,"origin",je("getOrigin")),l(Ne,"protocol",je("getProtocol","setProtocol")),l(Ne,"username",je("getUsername","setUsername")),l(Ne,"password",je("getPassword","setPassword")),l(Ne,"host",je("getHost","setHost")),l(Ne,"hostname",je("getHostname","setHostname")),l(Ne,"port",je("getPort","setPort")),l(Ne,"pathname",je("getPathname","setPathname")),l(Ne,"search",je("getSearch","setSearch")),l(Ne,"searchParams",je("getSearchParams")),l(Ne,"hash",je("getHash","setHash"))),f(Ne,"toJSON",(function(){return C(this).serialize()}),{enumerable:!0}),f(Ne,"toString",(function(){return C(this).serialize()}),{enumerable:!0}),P){var Fe=P.createObjectURL,Be=P.revokeObjectURL;Fe&&f(De,"createObjectURL",c(Fe,P)),Be&&f(De,"revokeObjectURL",c(Be,P))}b(De,"URL"),o({global:!0,constructor:!0,forced:!a,sham:!i},{URL:De})},function(e,t,n){"use strict";var r=n(3),o=/[^\0-\u007E]/,i=/[.\u3002\uFF0E\uFF61]/g,a="Overflow: input needs wider integers to process",s=RangeError,c=r(i.exec),u=Math.floor,f=String.fromCharCode,l=r("".charCodeAt),d=r([].join),p=r([].push),h=r("".replace),g=r("".split),v=r("".toLowerCase),m=function(e){return e+22+75*(e<26)},y=function(e,t,n){var r=0;for(e=n?u(e/700):e>>1,e+=u(e/t);e>455;)e=u(e/35),r+=36;return u(r+36*e/(e+38))},w=function(e){var t,n,r=[],o=(e=function(e){for(var t=[],n=0,r=e.length;n<r;){var o=l(e,n++);if(o>=55296&&o<=56319&&n<r){var i=l(e,n++);56320==(64512&i)?p(t,((1023&o)<<10)+(1023&i)+65536):(p(t,o),n--)}else p(t,o)}return t}(e)).length,i=128,c=0,h=72;for(t=0;t<e.length;t++)(n=e[t])<128&&p(r,f(n));var g=r.length,v=g;for(g&&p(r,"-");v<o;){var w=2147483647;for(t=0;t<e.length;t++)(n=e[t])>=i&&n<w&&(w=n);var b=v+1;if(w-i>u((2147483647-c)/b))throw new s(a);for(c+=(w-i)*b,i=w,t=0;t<e.length;t++){if((n=e[t])<i&&++c>2147483647)throw new s(a);if(n===i){for(var _=c,x=36;;){var A=x<=h?1:x>=h+26?26:x-h;if(_<A)break;var L=_-A,C=36-A;p(r,f(m(A+L%C))),_=u(L/C),x+=36}p(r,f(m(_))),h=y(c,b,v===g),c=0,v++}}c++,i++}return d(r,"")};e.exports=function(e){var t,n,r=[],a=g(h(v(e),i,"."),".");for(t=0;t<a.length;t++)n=a[t],p(r,c(o,n)?"xn--"+w(n):n);return d(r,".")}}])]);