!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.TraceSdk=t():e.TraceSdk=t()}(this,(function(){return 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,t,n){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=2)}([function(e,t,n){"use strict";(function(e){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},r(e)}n.d(t,"a",(function(){return c}));var o=4096,i=/^\s*at .*? ?\(((?:file|https?|blob|chrome-extension|native|eval|<anonymous>).*?)(?::\d+)?(?::\d+)?\)?\s*$/i,u=/^\s*.*?(?:\(.*?\))?(?:^|@)((?:file|https?|blob|chrome|resource|\[native).*?)(?::\d+)?(?::\d+)?\s*$/i,a=/^\s*at (?:(?:\[object object\])?.+ )?\(?((?:file|ms-appx|https?|blob):.*?):\d+(?::\d+)?\)?\s*$/i;function c(e){for(var t=(e&&e.stack||"").split("\n"),n=["","",""],r={},c=0;c<t.length;c++){var f=i,l=(t[c]||"").match(f);if(null===l&&(f=u,l=(t[c]||"").match(f)),null===l&&(f=a,l=(t[c]||"").match(f)),null!==l){var s=l[1],d=r[s];void 0===d&&(r[s]="#"+c+"#",d=r[s]),t[c]=t[c].replace(s,d)}}if(t.length>0){t.shift();var p="";for(c=0;p.length+(t[c]||"").length<o&&c<t.length;)p+=t[c]+"\n",c++;n[1]=p;for(var y="";y.length+(t[c]||"").length<o&&c<t.length;)y+=t[c]+"\n",c++;n[2]=y}var m="";for(s in r)r.hasOwnProperty(s)&&(m+=s+"@"+r[s]+";");return m=m.replace(/;$/,""),n[0]=m,n}void 0===e||r(e)}).call(this,n(1))},function(e,t){var n,r,o=e.exports={};function i(){throw new Error("setTimeout has not been defined")}function u(){throw new Error("clearTimeout has not been defined")}function a(e){if(n===setTimeout)return setTimeout(e,0);if((n===i||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(t){return n.call(this,e,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:i}catch(e){n=i}try{r="function"==typeof clearTimeout?clearTimeout:u}catch(e){r=u}}();var c,f=[],l=!1,s=-1;function d(){l&&c&&(l=!1,c.length?f=c.concat(f):s=-1,f.length&&p())}function p(){if(!l){var e=a(d);l=!0;for(var t=f.length;t;){for(c=f,f=[];++s<t;)c&&c[s].run();s=-1,t=f.length}c=null,l=!1,function(e){if(r===clearTimeout)return clearTimeout(e);if((r===u||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(e);try{return r(e)}catch(t){try{return r.call(null,e)}catch(t){return r.call(this,e)}}}(e)}}function y(e,t){this.fun=e,this.array=t}function m(){}o.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 y(e,t)),1!==f.length||l||a(p)},y.prototype.run=function(){this.fun.apply(null,this.array)},o.title="browser",o.browser=!0,o.env={},o.argv=[],o.version="",o.versions={},o.on=m,o.addListener=m,o.once=m,o.off=m,o.removeListener=m,o.removeAllListeners=m,o.emit=m,o.prependListener=m,o.prependOnceListener=m,o.listeners=function(e){return[]},o.binding=function(e){throw new Error("process.binding is not supported")},o.cwd=function(){return"/"},o.chdir=function(e){throw new Error("process.chdir is not supported")},o.umask=function(){return 0}},function(e,t,n){"use strict";n.r(t),n.d(t,"shadowMerge",(function(){return p})),n.d(t,"getRandomNum",(function(){return y})),n.d(t,"uuid",(function(){return m})),n.d(t,"ignoreFirstSpecialChara",(function(){return g})),n.d(t,"checkWin",(function(){return h})),n.d(t,"getUrl",(function(){return v})),n.d(t,"getOriginUrl",(function(){return b})),n.d(t,"getUrlHash",(function(){return w})),n.d(t,"getUrlQuery",(function(){return S})),n.d(t,"getSpmAB",(function(){return x})),n.d(t,"toQueryParams",(function(){return j})),n.d(t,"queryToObj",(function(){return E})),n.d(t,"on",(function(){return O})),n.d(t,"bindEvent",(function(){return k})),n.d(t,"getSendInfo",(function(){return P})),n.d(t,"getXPath",(function(){return A})),n.d(t,"getWin",(function(){return _})),n.d(t,"getPageMetaConfig",(function(){return M})),n.d(t,"genRandomIp",(function(){return C})),n.d(t,"genTraceId",(function(){return L})),n.d(t,"checkSample",(function(){return U})),n.d(t,"processError",(function(){return R})),n.d(t,"getCommonInfo",(function(){return N}));var r="s-gm.mmstat.com",o="/arms.1.1",i="/arms.1.2",u=("https://s-gm.mmstat.com".concat(o),"https://s-gm.mmstat.com".concat(i),n(0));function a(e){return 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},a(e)}function c(e){var t=e.message.match(/Uncaught (\w+):/);return t&&t[1]?t[1]:e.error_type?e.error_type:e.name?e.name:""}function f(e){var t=e.message,n=void 0===t?"":t,r=e.lineno,o=e.colno,i=e.stack,a=e.error,f=Object(u.a)(a&&a.stack||i)||["","",""];return{msg:n||e.msg||"",lineno:r,colno:o,file:e.filename||e.file||"",stack:a&&a.stack||i,stack1:f[0],stack2:f[1],stack3:f[2],errType:e.errType||c(e)||"",errCode:e.errCode||e.error_code}}function l(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){var r,o,i,u,a=[],c=!0,f=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=i.call(n)).done)&&(a.push(r.value),a.length!==t);c=!0);}catch(e){f=!0,o=e}finally{try{if(!c&&null!=n.return&&(u=n.return(),Object(u)!==u))return}finally{if(f)throw o}}return a}}(e,t)||function(e,t){if(e){if("string"==typeof e)return s(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?s(e,t):void 0}}(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 s(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}function d(e){return d="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},d(e)}var p=function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);return e};function y(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:16,n=[],r=0;r<e;r++){var o=Math.floor(Math.random()*t);n[r]=o.toString(t)}return n.join("")}function m(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(function(e){var t=16*Math.random()|0;return("x"==e?t:3&t|8).toString(16)}))}var g=function(e){return"string"==typeof e?e.replace(/^\?|#/,""):""},h=function(){return!("object"!==("undefined"==typeof window?"undefined":d(window))||!window.document)},v=function(){return h()?window.location.href.split("?")[0]:""},b=function(){return h()?window.location.href:""},w=function(){return h()?g(window.location.hash):""},S=function(){return h()?g(window.location.search):""},x=function(){if(!h())return{a:"",b:""};var e=window.goldlog,t=(null==e?void 0:e.spm_ab)||(null==e?void 0:e.spmAb)||[];return{a:t[0]||"",b:t[1]||""}},j=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=[];for(var r in e){var o=e[r],i="".concat(encodeURIComponent(r),"=").concat(encodeURIComponent(t?encodeURIComponent(o):String(o).slice(0,512)));n.push(i)}return n.join("&")},E=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"&",n={};return e.split(t).forEach((function(e){var t=e.split("="),r=t[0];n[r]=t[1]})),n};function O(e,t,n,r,o){return e.addEventListener?(o=o||!1,e.addEventListener(t,(function i(u){r&&e.removeEventListener(t,i,o),n.call(this,u)}),o)):e.attachEvent&&e.attachEvent("on"+t,(function o(i){r&&e.detachEvent("on"+t,o),n.call(this,i)})),this}function k(e,t,n,r,o){if(e.addEventListener){var i=function i(u){r&&e.removeEventListener(t,i,o),n.call(this,u)};return o=o||!1,e.addEventListener(t,i,o),function(){e.removeEventListener(t,i,o)}}if(e.attachEvent){var u=function o(i){r&&e.detachEvent("on"+t,o),n.call(this,i)};return e.attachEvent("on"+t,u),function(){e.detachEvent("on"+t,u)}}}function P(e,t){var n="perf"===e?i:o;return{APLUS_LOGKEY:n,APLUS_URL:"https://".concat(t&&"string"==typeof t?t:r).concat(n)}}var T,A=function e(t,n){var r=t.id?"#"+t.id:"",o=t.className&&t.className.split?"."+t.className.split(" ").join("."):"",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},_=function(){return"object"===("undefined"==typeof window?"undefined":d(window))&&window.document?window:void 0},M=function(){var e=h();try{if(e){var t=window.document.querySelector('meta[name="page-tag"]');if(t){var n=t.getAttribute("content")||"";return E(n,",")}}return{}}catch(e){return{}}},C=function(){for(var e=[],t=0;t<4;t++){var n=Math.floor(256*Math.random());e[t]=(n>15?"":"0")+n.toString(16)}return e.join("")},L=(T=1e3,function(){var e=C(),t=Date.now(),n=T,r=y(1),o=y(4);return T=T+1>1e4?1e3:T+1,e+t+n+r+o}),U=function(e){return e>Math.random()},R=function(e){var t={};return t="undefined"!=typeof PromiseRejectionEvent&&e instanceof PromiseRejectionEvent?function(e){if(e)try{var t="",n=0,r=0,o="",i="";"string"==typeof e?t=e:"object"===a(e.reason)?t=e.reason.message:"string"==typeof e.message&&(t=e.message);var u=e.reason;if("object"===a(u)){if("number"==typeof u.column?(r=u.column,n=u.line):u.stack&&(c=u.stack.match(/at\s+.+:(\d+):(\d+)/))&&(n=c[1],r=c[2]),u.sourceURL)o=u.sourceURL;else if(u.stack){var c;(c=u.stack.match(/at\s+(.+):\d+:\d+/))&&(o=c[1])}u.stack&&(i=u.stack)}return f({message:t,filename:o,lineno:n,colno:r,stack:i,error_type:e.constructor.name})}catch(e){}}(e)||{}:function(e,t,n,r,o){try{return f("string"==typeof e?{message:e,filename:t,lineno:n,colno:r,error:o}:e)}catch(e){}}(e)||{},t};function I(e){return"[object Array]"==={}.toString.call(e)}var F=function(e,t){if(!e)return"";if(!(null==t?void 0:t.length))return e;var n=l(e.split("?"),2),r=n[0],o=n[1],i="?";return-1===(null==e?void 0:e.indexOf("?"))&&-1!==(null==e?void 0:e.indexOf("http"))?e:(-1===(null==e?void 0:e.indexOf("?"))&&(r="",o=e,i=""),"".concat(r).concat(i).concat(function(e,t){if(!e)return"";t=t||[];var n=[];for(var r in e)e.hasOwnProperty(r)&&n.push(r);var o=[];n=n.sort();for(var i=0;i<n.length;++i){for(var u=e[r=n[i]],a=!1,c=0;c<t.length;++c)if(t[c]===r){a=!0;break}a||(u?o.push(r+"="+String(u).slice(0,512)):o.push(r))}return o.join("&")}(function(e){var t={};if("string"!=typeof e)return t;if(!(e=e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"").replace(/^(\?|#|&)/,"")))return t;for(var n=e.split("&"),r=0;r<n.length;++r){var o=n[r].replace(/\+/g," ").split("="),i=o.shift()||"",u=o.length>0?o.join("="):"";t[i]?I(t[i])?t[i].push(u):t[i]=[t[i],u]:t[i]=u}return t}(o),t)))},N=function(e,t){var n=_(),r={};if(n&&"onload"in n){var o=(n.navigator||{}).connection||{};r.url="function"==typeof t.getUrl?t.getUrl():F(v(),e),r.origin_url=F(b(),e),r.referrer=F(document.referrer,e),r.title=document.title,r.hash=w(),r.query=F(S(),e),r.dpr=n.devicePixelRatio||1,r.sr="object"===("undefined"==typeof screen?"undefined":d(screen))&&screen.width+"x"+screen.height||"",r.net_type=o.effectiveType||o.type||""}return r};t.default={shadowMerge:p,getRandomNum:y,uuid:m,ignoreFirstSpecialChara:g,checkWin:h,getUrl:v,getOriginUrl:b,getUrlHash:w,getUrlQuery:S,getSpmAB:x,toQueryParams:j,queryToObj:E,on:O,bindEvent:k,getSendInfo:P,getXPath:A,getWin:_,getPageMetaConfig:M,genRandomIp:C,genTraceId:L,checkSample:U,processError:R,getCommonInfo:N}}]).default},function(e,t,n){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,t,n){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=2)}([function(e,t,n){"use strict";(function(e){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},r(e)}n.d(t,"a",(function(){return c}));var o=4096,i=/^\s*at .*? ?\(((?:file|https?|blob|chrome-extension|native|eval|<anonymous>).*?)(?::\d+)?(?::\d+)?\)?\s*$/i,u=/^\s*.*?(?:\(.*?\))?(?:^|@)((?:file|https?|blob|chrome|resource|\[native).*?)(?::\d+)?(?::\d+)?\s*$/i,a=/^\s*at (?:(?:\[object object\])?.+ )?\(?((?:file|ms-appx|https?|blob):.*?):\d+(?::\d+)?\)?\s*$/i;function c(e){for(var t=(e&&e.stack||"").split("\n"),n=["","",""],r={},c=0;c<t.length;c++){var f=i,l=(t[c]||"").match(f);if(null===l&&(f=u,l=(t[c]||"").match(f)),null===l&&(f=a,l=(t[c]||"").match(f)),null!==l){var s=l[1],d=r[s];void 0===d&&(r[s]="#"+c+"#",d=r[s]),t[c]=t[c].replace(s,d)}}if(t.length>0){t.shift();var p="";for(c=0;p.length+(t[c]||"").length<o&&c<t.length;)p+=t[c]+"\n",c++;n[1]=p;for(var y="";y.length+(t[c]||"").length<o&&c<t.length;)y+=t[c]+"\n",c++;n[2]=y}var m="";for(s in r)r.hasOwnProperty(s)&&(m+=s+"@"+r[s]+";");return m=m.replace(/;$/,""),n[0]=m,n}void 0===e||r(e)}).call(this,n(1))},function(e,t){var n,r,o=e.exports={};function i(){throw new Error("setTimeout has not been defined")}function u(){throw new Error("clearTimeout has not been defined")}function a(e){if(n===setTimeout)return setTimeout(e,0);if((n===i||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(t){return n.call(this,e,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:i}catch(e){n=i}try{r="function"==typeof clearTimeout?clearTimeout:u}catch(e){r=u}}();var c,f=[],l=!1,s=-1;function d(){l&&c&&(l=!1,c.length?f=c.concat(f):s=-1,f.length&&p())}function p(){if(!l){var e=a(d);l=!0;for(var t=f.length;t;){for(c=f,f=[];++s<t;)c&&c[s].run();s=-1,t=f.length}c=null,l=!1,function(e){if(r===clearTimeout)return clearTimeout(e);if((r===u||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(e);try{return r(e)}catch(t){try{return r.call(null,e)}catch(t){return r.call(this,e)}}}(e)}}function y(e,t){this.fun=e,this.array=t}function m(){}o.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 y(e,t)),1!==f.length||l||a(p)},y.prototype.run=function(){this.fun.apply(null,this.array)},o.title="browser",o.browser=!0,o.env={},o.argv=[],o.version="",o.versions={},o.on=m,o.addListener=m,o.once=m,o.off=m,o.removeListener=m,o.removeAllListeners=m,o.emit=m,o.prependListener=m,o.prependOnceListener=m,o.listeners=function(e){return[]},o.binding=function(e){throw new Error("process.binding is not supported")},o.cwd=function(){return"/"},o.chdir=function(e){throw new Error("process.chdir is not supported")},o.umask=function(){return 0}},function(e,t,n){"use strict";n.r(t),n.d(t,"shadowMerge",(function(){return p})),n.d(t,"getRandomNum",(function(){return y})),n.d(t,"uuid",(function(){return m})),n.d(t,"ignoreFirstSpecialChara",(function(){return g})),n.d(t,"checkWin",(function(){return h})),n.d(t,"getUrl",(function(){return v})),n.d(t,"getOriginUrl",(function(){return b})),n.d(t,"getUrlHash",(function(){return w})),n.d(t,"getUrlQuery",(function(){return S})),n.d(t,"getSpmAB",(function(){return x})),n.d(t,"toQueryParams",(function(){return j})),n.d(t,"queryToObj",(function(){return E})),n.d(t,"on",(function(){return O})),n.d(t,"bindEvent",(function(){return k})),n.d(t,"getSendInfo",(function(){return P})),n.d(t,"getXPath",(function(){return A})),n.d(t,"getWin",(function(){return _})),n.d(t,"getPageMetaConfig",(function(){return M})),n.d(t,"genRandomIp",(function(){return C})),n.d(t,"genTraceId",(function(){return L})),n.d(t,"checkSample",(function(){return U})),n.d(t,"processError",(function(){return R})),n.d(t,"getCommonInfo",(function(){return N}));var r="s-gm.mmstat.com",o="/arms.1.1",i="/arms.1.2",u=("https://s-gm.mmstat.com".concat(o),"https://s-gm.mmstat.com".concat(i),n(0));function a(e){return 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},a(e)}function c(e){var t=e.message.match(/Uncaught (\w+):/);return t&&t[1]?t[1]:e.error_type?e.error_type:e.name?e.name:""}function f(e){var t=e.message,n=void 0===t?"":t,r=e.lineno,o=e.colno,i=e.stack,a=e.error,f=Object(u.a)(a&&a.stack||i)||["","",""];return{msg:n||e.msg||"",lineno:r,colno:o,file:e.filename||e.file||"",stack:a&&a.stack||i,stack1:f[0],stack2:f[1],stack3:f[2],errType:e.errType||c(e)||"",errCode:e.errCode||e.error_code}}function l(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){var r,o,i,u,a=[],c=!0,f=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=i.call(n)).done)&&(a.push(r.value),a.length!==t);c=!0);}catch(e){f=!0,o=e}finally{try{if(!c&&null!=n.return&&(u=n.return(),Object(u)!==u))return}finally{if(f)throw o}}return a}}(e,t)||function(e,t){if(e){if("string"==typeof e)return s(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?s(e,t):void 0}}(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 s(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}function d(e){return d="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},d(e)}var p=function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);return e};function y(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:16,n=[],r=0;r<e;r++){var o=Math.floor(Math.random()*t);n[r]=o.toString(t)}return n.join("")}function m(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(function(e){var t=16*Math.random()|0;return("x"==e?t:3&t|8).toString(16)}))}var g=function(e){return"string"==typeof e?e.replace(/^\?|#/,""):""},h=function(){return!("object"!==("undefined"==typeof window?"undefined":d(window))||!window.document)},v=function(){return h()?window.location.href.split("?")[0]:""},b=function(){return h()?window.location.href:""},w=function(){return h()?g(window.location.hash):""},S=function(){return h()?g(window.location.search):""},x=function(){if(!h())return{a:"",b:""};var e=window.goldlog,t=(null==e?void 0:e.spm_ab)||(null==e?void 0:e.spmAb)||[];return{a:t[0]||"",b:t[1]||""}},j=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=[];for(var r in e){var o=e[r],i="".concat(encodeURIComponent(r),"=").concat(encodeURIComponent(t?encodeURIComponent(o):String(o).slice(0,512)));n.push(i)}return n.join("&")},E=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"&",n={};return e.split(t).forEach((function(e){var t=e.split("="),r=t[0];n[r]=t[1]})),n};function O(e,t,n,r,o){return e.addEventListener?(o=o||!1,e.addEventListener(t,(function i(u){r&&e.removeEventListener(t,i,o),n.call(this,u)}),o)):e.attachEvent&&e.attachEvent("on"+t,(function o(i){r&&e.detachEvent("on"+t,o),n.call(this,i)})),this}function k(e,t,n,r,o){if(e.addEventListener){var i=function i(u){r&&e.removeEventListener(t,i,o),n.call(this,u)};return o=o||!1,e.addEventListener(t,i,o),function(){e.removeEventListener(t,i,o)}}if(e.attachEvent){var u=function o(i){r&&e.detachEvent("on"+t,o),n.call(this,i)};return e.attachEvent("on"+t,u),function(){e.detachEvent("on"+t,u)}}}function P(e,t){var n="perf"===e?i:o;return{APLUS_LOGKEY:n,APLUS_URL:"https://".concat(t&&"string"==typeof t?t:r).concat(n)}}var T,A=function e(t,n){var r=t.id?"#"+t.id:"",o=t.className&&t.className.split?"."+t.className.split(" ").join("."):"",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},_=function(){return"object"===("undefined"==typeof window?"undefined":d(window))&&window.document?window:void 0},M=function(){var e=h();try{if(e){var t=window.document.querySelector('meta[name="page-tag"]');if(t){var n=t.getAttribute("content")||"";return E(n,",")}}return{}}catch(e){return{}}},C=function(){for(var e=[],t=0;t<4;t++){var n=Math.floor(256*Math.random());e[t]=(n>15?"":"0")+n.toString(16)}return e.join("")},L=(T=1e3,function(){var e=C(),t=Date.now(),n=T,r=y(1),o=y(4);return T=T+1>1e4?1e3:T+1,e+t+n+r+o}),U=function(e){return e>Math.random()},R=function(e){var t={};return t="undefined"!=typeof PromiseRejectionEvent&&e instanceof PromiseRejectionEvent?function(e){if(e)try{var t="",n=0,r=0,o="",i="";"string"==typeof e?t=e:"object"===a(e.reason)?t=e.reason.message:"string"==typeof e.message&&(t=e.message);var u=e.reason;if("object"===a(u)){if("number"==typeof u.column?(r=u.column,n=u.line):u.stack&&(c=u.stack.match(/at\s+.+:(\d+):(\d+)/))&&(n=c[1],r=c[2]),u.sourceURL)o=u.sourceURL;else if(u.stack){var c;(c=u.stack.match(/at\s+(.+):\d+:\d+/))&&(o=c[1])}u.stack&&(i=u.stack)}return f({message:t,filename:o,lineno:n,colno:r,stack:i,error_type:e.constructor.name})}catch(e){}}(e)||{}:function(e,t,n,r,o){try{return f("string"==typeof e?{message:e,filename:t,lineno:n,colno:r,error:o}:e)}catch(e){}}(e)||{},t};function I(e){return"[object Array]"==={}.toString.call(e)}var F=function(e,t){if(!e)return"";if(!(null==t?void 0:t.length))return e;var n=l(e.split("?"),2),r=n[0],o=n[1],i="?";return-1===(null==e?void 0:e.indexOf("?"))&&-1!==(null==e?void 0:e.indexOf("http"))?e:(-1===(null==e?void 0:e.indexOf("?"))&&(r="",o=e,i=""),"".concat(r).concat(i).concat(function(e,t){if(!e)return"";t=t||[];var n=[];for(var r in e)e.hasOwnProperty(r)&&n.push(r);var o=[];n=n.sort();for(var i=0;i<n.length;++i){for(var u=e[r=n[i]],a=!1,c=0;c<t.length;++c)if(t[c]===r){a=!0;break}a||(u?o.push(r+"="+String(u).slice(0,512)):o.push(r))}return o.join("&")}(function(e){var t={};if("string"!=typeof e)return t;if(!(e=e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"").replace(/^(\?|#|&)/,"")))return t;for(var n=e.split("&"),r=0;r<n.length;++r){var o=n[r].replace(/\+/g," ").split("="),i=o.shift()||"",u=o.length>0?o.join("="):"";t[i]?I(t[i])?t[i].push(u):t[i]=[t[i],u]:t[i]=u}return t}(o),t)))},N=function(e,t){var n=_(),r={};if(n&&"onload"in n){var o=(n.navigator||{}).connection||{};r.url="function"==typeof t.getUrl?t.getUrl():F(v(),e),r.origin_url=F(b(),e),r.referrer=F(document.referrer,e),r.title=document.title,r.hash=w(),r.query=F(S(),e),r.dpr=n.devicePixelRatio||1,r.sr="object"===("undefined"==typeof screen?"undefined":d(screen))&&screen.width+"x"+screen.height||"",r.net_type=o.effectiveType||o.type||""}return r};t.default={shadowMerge:p,getRandomNum:y,uuid:m,ignoreFirstSpecialChara:g,checkWin:h,getUrl:v,getOriginUrl:b,getUrlHash:w,getUrlQuery:S,getSpmAB:x,toQueryParams:j,queryToObj:E,on:O,bindEvent:k,getSendInfo:P,getXPath:A,getWin:_,getPageMetaConfig:M,genRandomIp:C,genTraceId:L,checkSample:U,processError:R,getCommonInfo:N}}]).default},function(e,t,n){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=0)}([function(e,t,n){"use strict";n.r(t),n.d(t,"logMap",(function(){return r}));var r={perf:{fp:"p1",fcp:"p2",lcp:"p3",startTime:"p4",unloadEventStart:"p5",unloadEventEnd:"p6",redirectStart:"p7",redirectEnd:"p8",fetchStart:"p9",domainLookupStart:"p10",domainLookupEnd:"p11",connectStart:"p12",secureConnectionStart:"p13",connectEnd:"p14",requestStart:"p15",responseStart:"p16",responseEnd:"p17",domInteractive:"p18",domContentLoadedEventStart:"p19",domContentLoadedEventEnd:"p20",domComplete:"p21",loadEventStart:"p22",loadEventEnd:"p23"},error:{file:"p1",lineno:"p2",colno:"p3",stack:"p4",errType:"p5",errCode:"p6",stack1:"p7",stack2:"p8",stack3:"p9"},api:{api:"p1",success:"p2",httpCode:"p3",code:"p4",time:"p5",traceId:"p6",params:"p7",response:"p8",header:"p9",requestType:"p10",method:"p11"},event:{id:"p1",eventType:"p2",xpath:"p3",success:"p4",time:"p5"},form:{formKey:"p1",feature:"p2",errors:"p3",status:"p4",fieldId:"p5",fieldLabel:"p6",url:"p7",submitCount:"p8",totalTime:"p9",pureTime:"p10",leaveTime:"p11",leaveCount:"p12",idleTime:"p13",idleCount:"p14",uuid:"p15",comps:"p16"},speed:{t1:"p1",t2:"p2",t3:"p3",t4:"p4",t5:"p5",t6:"p6",t7:"p7",t8:"p8",t9:"p9",t10:"p10"},calc:{method:"p1",key:"p2",value:"p3"},action:{action:"p3",actionType:"p4",result:"p5",actionCode:"p6",description:"p7",duration:"p8"}};t.default=r}]).default},function(e,t,n){
/**
 * @preserve
 * JS Implementation of incremental MurmurHash3 (r150) (as of May 10, 2013)
 *
 * @author <a href="mailto:jensyt@gmail.com">Jens Taylor</a>
 * @see http://github.com/homebrewing/brauhaus-diff
 * @author <a href="mailto:gary.court@gmail.com">Gary Court</a>
 * @see http://github.com/garycourt/murmurhash-js
 * @author <a href="mailto:aappleby@gmail.com">Austin Appleby</a>
 * @see http://sites.google.com/site/murmurhash/
 */
!function(){var t;function n(e,r){var o=this instanceof n?this:t;if(o.reset(r),"string"==typeof e&&e.length>0&&o.hash(e),o!==this)return o}n.prototype.hash=function(e){var t,n,r,o,i;switch(i=e.length,this.len+=i,n=this.k1,r=0,this.rem){case 0:n^=i>r?65535&e.charCodeAt(r++):0;case 1:n^=i>r?(65535&e.charCodeAt(r++))<<8:0;case 2:n^=i>r?(65535&e.charCodeAt(r++))<<16:0;case 3:n^=i>r?(255&e.charCodeAt(r))<<24:0,n^=i>r?(65280&e.charCodeAt(r++))>>8:0}if(this.rem=i+this.rem&3,(i-=this.rem)>0){for(t=this.h1;t=5*(t=(t^=n=13715*(n=(n=11601*n+3432906752*(65535&n)&4294967295)<<15|n>>>17)+461832192*(65535&n)&4294967295)<<13|t>>>19)+3864292196&4294967295,!(r>=i);)n=65535&e.charCodeAt(r++)^(65535&e.charCodeAt(r++))<<8^(65535&e.charCodeAt(r++))<<16,n^=(255&(o=e.charCodeAt(r++)))<<24^(65280&o)>>8;switch(n=0,this.rem){case 3:n^=(65535&e.charCodeAt(r+2))<<16;case 2:n^=(65535&e.charCodeAt(r+1))<<8;case 1:n^=65535&e.charCodeAt(r)}this.h1=t}return this.k1=n,this},n.prototype.result=function(){var e,t;return e=this.k1,t=this.h1,e>0&&(t^=e=13715*(e=(e=11601*e+3432906752*(65535&e)&4294967295)<<15|e>>>17)+461832192*(65535&e)&4294967295),t^=this.len,t=51819*(t^=t>>>16)+2246770688*(65535&t)&4294967295,t=44597*(t^=t>>>13)+3266445312*(65535&t)&4294967295,(t^=t>>>16)>>>0},n.prototype.reset=function(e){return this.h1="number"==typeof e?e:0,this.rem=this.k1=this.len=0,this},t=new n,e.exports=n}()},function(e,t,n){"use strict";n.r(t),n.d(t,"default",(function(){return h}));var r=n(0),o=n(1),i=n.n(o),u=n(2),a=n.n(u);function c(e){return function(e){if(Array.isArray(e))return s(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||l(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function f(){return f=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},f.apply(this,arguments)}function l(e,t){if(e){if("string"==typeof e)return s(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?s(e,t):void 0}}function s(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}function d(e){return d="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},d(e)}function p(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,(o=void 0,o=function(e,t){if("object"!==d(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==d(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(r.key,"string"),"symbol"===d(o)?o:String(o)),r)}var o}function y(e,t,n){return t&&p(e.prototype,t),n&&p(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}var m=["wrapperHooksFunc","addPlugin","executeHooks","install"],g=(new Date).getTime(),h=y((function e(t,n){var o=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.queue=[],this.pipe=[],this.requiredFieldQueue=[],this.pluginsToUninstall=[],this.setConfig=function(e){o.config=r.shadowMerge(o.config,e),o.sendRequiredFields(e)},this.getConfig=function(e){if("string"==typeof e)return o.config[e];if("object"===d(e)){var t,n={},r=function(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=l(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,u=!0,a=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return u=e.done,e},e:function(e){a=!0,i=e},f:function(){try{u||null==n.return||n.return()}finally{if(a)throw i}}}}(e);try{for(r.s();!(t=r.n()).done;){var i=t.value;n[i]=o.config[i]}}catch(e){r.e(e)}finally{r.f()}return n}return o.config},this.generateRandomId=function(){return a()(r.getUrl()+r.uuid()+(new Date).getTime()).result()},this.generatePvId=function(){var e=o.generateRandomId();return o.setConfig({pvId:e}),e},this.generateSid=function(){var e=o.generateRandomId();return o.setConfig({sid:e}),e},this.generateUid=function(){var e=o.getUidFromCookie()||"";return o.setConfig({uid:e}),e},this.getUidFromCookie=function(){return""},this.before=function(e,t){var n="function"==typeof e?e:o[e];"function"==typeof n?Array.isArray(n.prototype.beforeHooks)?n.prototype.beforeHooks.push(t):n.prototype.beforeHooks=[t]:console.warn("currentFunc不是Core的方法")},this.after=function(e,t){var n="function"==typeof e?e:o[e];"function"==typeof n?Array.isArray(n.prototype.afterHooks)?n.prototype.afterHooks.push(t):n.prototype.afterHooks=[t]:console.warn("currentFunc不是Core的方法")},this.processSendData=function(e){var t={},n=r.getSpmAB(),i=o.config,u=i.pvId,a=i.uid,c=i.env,l=void 0===c?"prod":c,s=i.sid,p=i.version,y=i.grey,m=i.ignoredQueries,h=void 0===m?[]:m;u||(u=o.generatePvId()),s||(s=o.generateSid()),a||(a=o.generateUid()),t.pid=o.config.pid,t.ua="object"===("undefined"==typeof navigator?"undefined":d(navigator))&&navigator?navigator.userAgent:"",t.uid=a,t.username=o.config.username||"",t.spm_a=n.a,t.spm_b=n.b,t.pv_id=u,t.sid=s,t.env=l,t.version=p,t.grey=y,t.delay=parseFloat((((new Date).getTime()-g)/1e3).toFixed(2));var v=r.getCommonInfo(h,o.config),b=o.getExtInfo(h,o.config);for(var w in f(v,b),o.config)if(/^c[1-9]0?$/.test(w)){var S=w;t[S]=o.config[S]}t=f(v,t);var x=r.shadowMerge(t,e);for(var j in x)void 0===x[j]&&(x[j]="");return x},this.getExtInfo=function(){return{}},this.checkRequiredFields=function(e){var t;return null===(t=o.config.requiredFields)||void 0===t?void 0:t.every((function(t){return void 0!==e[t]}))},this.filterRequiredFields=function(e){var t=o.config.requiredFields,n={};return null==t||t.forEach((function(t){Object.hasOwnProperty.call(e,t)&&(n[t]=e[t])})),n},this.sendRequiredFields=function(e){for(var t=o.requiredFieldQueue,n=t.length;n>0;){var i=t[--n];if(e){var u=o.filterRequiredFields(e),a=r.shadowMerge(i,u);if(o.checkRequiredFields(a)){t.splice(n,1);var c=o.processSendData(a);o.send(c)}}else{t.splice(n,1);var f=o.processSendData(i);o.send(f)}}},this.sendAll=function(){for(var e=o.queue,t=e.length;t>0;){var n=e[--t],i=o.processSendData(n),u=o.filterRequiredFields(o.config),a=r.shadowMerge(n,u),c=o.checkRequiredFields(a);e.splice(t,1),c?o.send(i):o.requiredFieldQueue.push(a)}},this.send=function(e){console.warn("[ARMS WARN]没有对应的发送方法")},this.log=function(e){var t=o.config,n=t.sampling,r=void 0===n?1:n,i=t.enableSend,u=void 0===i||i;if(r=+r||1,"object"!==d(e))return console.warn("data类型需要object");if(!1!==u){var a="number"==typeof e.sampling?e.sampling:r;Math.random()>a||(e.sampling=a,e.times=a<1&&a>0?Math.floor(1/a):1,o.queue.push(e),o.sendAll())}},this.transformLogParam=function(e,t){var n=t;n.type=e;var r=i.a[e];for(var o in r){var u=r[o];n[u]=n[o],u!==o&&delete n[o]}return n},this.logError=function(e,t){try{var n=r.processError(e)||{},i=n;"object"===d(t)&&(n=f(n,t));var u=o.transformLogParam("error",i);u.sampling=1,o.log(u)}catch(e){}},this.logPerf=function(e){try{var t=o.transformLogParam("perf",e);o.log(t)}catch(e){}},this.logPv=function(e){try{e?(!1!==e.changePage&&o.generatePvId(),delete e.changePage):e||o.generatePvId();var t=o.transformLogParam("pv",e||{});o.log(t)}catch(e){}},this.logApi=function(e){try{!e.api&&e.url&&(e.api=e.url);var t=o.transformLogParam("api",e);void 0===t.p2&&(t.p2=e.success),void 0===t.p10&&(t.p10="xhr"),!1===t.p2&&(t.sampling=1,t.times=1),o.log(t)}catch(e){}},this.logEvent=function(e){try{var t=o.transformLogParam("event",e);o.log(t)}catch(e){}},this.logSpeed=function(e){try{var t=o.transformLogParam("speed",e);o.log(t)}catch(e){}},this.logCalc=function(e){try{var t=o.transformLogParam("calc",e);o.log(t)}catch(e){}},this.logForm=function(e){try{var t=o.transformLogParam("form",e);o.log(t)}catch(e){}},this.logCustom=function(e){try{o.log(f({type:"custom"},e))}catch(e){}},this.logBlankScreen=function(e){try{var t=o.transformLogParam("blankScreen",e||{});t.sampling=1,o.log(t)}catch(e){}},this.addPlugin=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return e.apply(o,[o,t])},this.executeHooks=function(e){if(0!==e.length){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return e.reduce((function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=(arguments.length>1?arguments[1]:void 0).apply(void 0,c(e));return void 0!==t&&e.push(t),e}),n)}},this.wrapperHooksFunc=function(e){var t=function t(){for(var n=t.prototype.beforeHooks||[],r=t.prototype.afterHooks||[],i=arguments.length,u=new Array(i),a=0;a<i;a++)u[a]=arguments[a];var c=o.executeHooks.apply(o,[n].concat(u)),f=e.apply(void 0,u.concat([c]));return o.executeHooks.apply(o,[r].concat(u,[f])),f};return t.prototype.beforeHooks=[],t.prototype.afterHooks=[],t},this.sendPipe=function(){var e=o.pipe;if(Array.isArray(e))try{if("string"==typeof e[0]){var t=e.shift(),n=t&&o[t];"function"==typeof n&&n.apply(o,e)}else for(;e.length;){var r=e.shift(),i=r.shift(),u=i&&o[i];"function"==typeof u&&u.apply(o,r)}}catch(e){console.warn("[ARMS WARN]sendPipe错误：",e)}},this.install=function(){for(var e in o){var t=o[e];"function"==typeof t&&-1===m.indexOf(e)&&(o[e]=o.wrapperHooksFunc(t))}o.pluginsToUninstall=[];for(var n=o.config.plugins||[],r=0;r<n.length;r++){var i=n[r];o.pluginsToUninstall.push(o.addPlugin(i[0],i[1]))}Array.isArray(o.pipe)&&o.pipe.length&&o.sendPipe()},this.uninstall=function(){!function e(t){t.forEach((function(t){try{t&&"function"==typeof t&&t.apply(o,[o]),t&&Array.isArray(t)&&e(t)}catch(e){console.warn("[ARMS WARN]SDK卸载错误",e)}}))}(o.pluginsToUninstall),o.pluginsToUninstall=[]};var u=r.getPageMetaConfig(),s=r.shadowMerge({requiredFields:[],sampling:1},u);this.config=r.shadowMerge(s,t),n&&(this.pipe=n);var p=this.config.silentThreshold||5;setTimeout((function(){o.sendRequiredFields()}),1e3*p)}))}]).default},function(e,t,n){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=0)}([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},r(e)}var o=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),u=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&o(t,e,n);return i(t,e),t};Object.defineProperty(t,"__esModule",{value:!0});var a=n(1),c=u(n(2)).bindEvent,f=function(e,t){if(e&&"object"===("undefined"==typeof window?"undefined":r(window))&&window){var n=t||{},o=n.ignoreErrors,i=n.enableAllRejection,u=void 0!==i&&i,f=function(t){if("object"===r(t)&&t&&(!Array.isArray(o)||!(0,a.ignoreByRule)((0,a.resolveMessage)(t),t,o)&&!(0,a.ignoreByRule)((0,a.decode)((0,a.resolveMessage)(t)),t,o))){var n=t.type;if("error"===n){var i=t.target||t.srcElement;if(i&&i.tagName&&!t.message&&!t.filename&&!t.lineno&&!t.colno)return;e.logError(t)}else if("unhandledrejection"===n){if(u)return t.message=t.message||t.reason||"",void e.logError(t);(0,a.isType)(t.reason,"Error")&&(0,a.checkAutoError)(t.reason)&&e.logError(t)}}},l=[];return l.push(c(window,"error",f)),l.push(c(window,"unhandledrejection",f)),l}};"object"===("undefined"==typeof window?"undefined":r(window))&&window&&(window.TraceJSErrorPlugin=f),t.default=f},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},r(e)}function o(e,t){var n=Object.prototype.toString.call(e).substring(8).replace("]","");return t?n===t:n}function i(e,t,n){if("function"!=typeof e)return n;try{return e.apply(this,t)}catch(e){return n}}Object.defineProperty(t,"__esModule",{value:!0}),t.resolveMessage=t.safetyCall=t.decode=t.ignoreByRule=t.checkAutoError=t.isType=t.on=t.win=void 0,t.win="object"===("undefined"==typeof window?"undefined":r(window))&&window.document?window:void 0,t.on=function(e,t,n,r,o){return e.addEventListener?(o=o||!1,e.addEventListener(t,(function i(u){r&&e.removeEventListener(t,i,o),n.call(this,u)}),o)):e.attachEvent&&e.attachEvent("on"+t,(function o(i){r&&e.detachEvent("on"+t,o),n.call(this,i)})),this},t.isType=o,t.checkAutoError=function(e){return!(!e||!e.message||/failed[\w\s]+fetch/i.test(e.message))},t.ignoreByRule=function(e,t,n){if(!e||!n)return!1;if(("String"===o(n)||n.source||"Function"===o(n))&&(n=[n]),"Array"!==o(n))return console.warn("[arms] invalid rules of ignore config, (list of) String/RegExp/Funcitons are available"),!1;for(var r,u=[],a=0,c=n.length;a<c;a++)if("String"===o(r=n[a]))u.push(r.replace(/([.*+?^=!:${}()|\[\]\/\\])/g,"\\$1"));else if(r&&r.source)u.push(r.source);else if(r&&"Function"===o(r)&&!0===i(r,[e,t],!1))return!0;var f=new RegExp(u.join("|"),"i");return!!(u.length&&f.test&&f.test(e))},t.decode=function(e){try{e=decodeURIComponent(e)}catch(e){}return e},t.safetyCall=i,t.resolveMessage=function(e){return e?"string"==typeof e.message?e.message:"string"==typeof e.reason?e.reason:"object"===r(e.reason)&&e.reason.message||"":""}},function(e,t,n){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=2)}([function(e,t,n){"use strict";(function(e){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},r(e)}n.d(t,"a",(function(){return c}));var o=4096,i=/^\s*at .*? ?\(((?:file|https?|blob|chrome-extension|native|eval|<anonymous>).*?)(?::\d+)?(?::\d+)?\)?\s*$/i,u=/^\s*.*?(?:\(.*?\))?(?:^|@)((?:file|https?|blob|chrome|resource|\[native).*?)(?::\d+)?(?::\d+)?\s*$/i,a=/^\s*at (?:(?:\[object object\])?.+ )?\(?((?:file|ms-appx|https?|blob):.*?):\d+(?::\d+)?\)?\s*$/i;function c(e){for(var t=(e&&e.stack||"").split("\n"),n=["","",""],r={},c=0;c<t.length;c++){var f=i,l=(t[c]||"").match(f);if(null===l&&(f=u,l=(t[c]||"").match(f)),null===l&&(f=a,l=(t[c]||"").match(f)),null!==l){var s=l[1],d=r[s];void 0===d&&(r[s]="#"+c+"#",d=r[s]),t[c]=t[c].replace(s,d)}}if(t.length>0){t.shift();var p="";for(c=0;p.length+(t[c]||"").length<o&&c<t.length;)p+=t[c]+"\n",c++;n[1]=p;for(var y="";y.length+(t[c]||"").length<o&&c<t.length;)y+=t[c]+"\n",c++;n[2]=y}var m="";for(s in r)r.hasOwnProperty(s)&&(m+=s+"@"+r[s]+";");return m=m.replace(/;$/,""),n[0]=m,n}void 0===e||r(e)}).call(this,n(1))},function(e,t){var n,r,o=e.exports={};function i(){throw new Error("setTimeout has not been defined")}function u(){throw new Error("clearTimeout has not been defined")}function a(e){if(n===setTimeout)return setTimeout(e,0);if((n===i||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(t){return n.call(this,e,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:i}catch(e){n=i}try{r="function"==typeof clearTimeout?clearTimeout:u}catch(e){r=u}}();var c,f=[],l=!1,s=-1;function d(){l&&c&&(l=!1,c.length?f=c.concat(f):s=-1,f.length&&p())}function p(){if(!l){var e=a(d);l=!0;for(var t=f.length;t;){for(c=f,f=[];++s<t;)c&&c[s].run();s=-1,t=f.length}c=null,l=!1,function(e){if(r===clearTimeout)return clearTimeout(e);if((r===u||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(e);try{return r(e)}catch(t){try{return r.call(null,e)}catch(t){return r.call(this,e)}}}(e)}}function y(e,t){this.fun=e,this.array=t}function m(){}o.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 y(e,t)),1!==f.length||l||a(p)},y.prototype.run=function(){this.fun.apply(null,this.array)},o.title="browser",o.browser=!0,o.env={},o.argv=[],o.version="",o.versions={},o.on=m,o.addListener=m,o.once=m,o.off=m,o.removeListener=m,o.removeAllListeners=m,o.emit=m,o.prependListener=m,o.prependOnceListener=m,o.listeners=function(e){return[]},o.binding=function(e){throw new Error("process.binding is not supported")},o.cwd=function(){return"/"},o.chdir=function(e){throw new Error("process.chdir is not supported")},o.umask=function(){return 0}},function(e,t,n){"use strict";n.r(t),n.d(t,"shadowMerge",(function(){return p})),n.d(t,"getRandomNum",(function(){return y})),n.d(t,"uuid",(function(){return m})),n.d(t,"ignoreFirstSpecialChara",(function(){return g})),n.d(t,"checkWin",(function(){return h})),n.d(t,"getUrl",(function(){return v})),n.d(t,"getOriginUrl",(function(){return b})),n.d(t,"getUrlHash",(function(){return w})),n.d(t,"getUrlQuery",(function(){return S})),n.d(t,"getSpmAB",(function(){return x})),n.d(t,"toQueryParams",(function(){return j})),n.d(t,"queryToObj",(function(){return E})),n.d(t,"on",(function(){return O})),n.d(t,"bindEvent",(function(){return k})),n.d(t,"getSendInfo",(function(){return P})),n.d(t,"getXPath",(function(){return A})),n.d(t,"getWin",(function(){return _})),n.d(t,"getPageMetaConfig",(function(){return M})),n.d(t,"genRandomIp",(function(){return C})),n.d(t,"genTraceId",(function(){return L})),n.d(t,"checkSample",(function(){return U})),n.d(t,"processError",(function(){return R})),n.d(t,"getCommonInfo",(function(){return N}));var r="s-gm.mmstat.com",o="/arms.1.1",i="/arms.1.2",u=("https://s-gm.mmstat.com".concat(o),"https://s-gm.mmstat.com".concat(i),n(0));function a(e){return 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},a(e)}function c(e){var t=e.message.match(/Uncaught (\w+):/);return t&&t[1]?t[1]:e.error_type?e.error_type:e.name?e.name:""}function f(e){var t=e.message,n=void 0===t?"":t,r=e.lineno,o=e.colno,i=e.stack,a=e.error,f=Object(u.a)(a&&a.stack||i)||["","",""];return{msg:n||e.msg||"",lineno:r,colno:o,file:e.filename||e.file||"",stack:a&&a.stack||i,stack1:f[0],stack2:f[1],stack3:f[2],errType:e.errType||c(e)||"",errCode:e.errCode||e.error_code}}function l(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){var r,o,i,u,a=[],c=!0,f=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=i.call(n)).done)&&(a.push(r.value),a.length!==t);c=!0);}catch(e){f=!0,o=e}finally{try{if(!c&&null!=n.return&&(u=n.return(),Object(u)!==u))return}finally{if(f)throw o}}return a}}(e,t)||function(e,t){if(e){if("string"==typeof e)return s(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?s(e,t):void 0}}(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 s(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}function d(e){return d="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},d(e)}var p=function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);return e};function y(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:16,n=[],r=0;r<e;r++){var o=Math.floor(Math.random()*t);n[r]=o.toString(t)}return n.join("")}function m(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(function(e){var t=16*Math.random()|0;return("x"==e?t:3&t|8).toString(16)}))}var g=function(e){return"string"==typeof e?e.replace(/^\?|#/,""):""},h=function(){return!("object"!==("undefined"==typeof window?"undefined":d(window))||!window.document)},v=function(){return h()?window.location.href.split("?")[0]:""},b=function(){return h()?window.location.href:""},w=function(){return h()?g(window.location.hash):""},S=function(){return h()?g(window.location.search):""},x=function(){if(!h())return{a:"",b:""};var e=window.goldlog,t=(null==e?void 0:e.spm_ab)||(null==e?void 0:e.spmAb)||[];return{a:t[0]||"",b:t[1]||""}},j=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=[];for(var r in e){var o=e[r],i="".concat(encodeURIComponent(r),"=").concat(encodeURIComponent(t?encodeURIComponent(o):String(o).slice(0,512)));n.push(i)}return n.join("&")},E=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"&",n={};return e.split(t).forEach((function(e){var t=e.split("="),r=t[0];n[r]=t[1]})),n};function O(e,t,n,r,o){return e.addEventListener?(o=o||!1,e.addEventListener(t,(function i(u){r&&e.removeEventListener(t,i,o),n.call(this,u)}),o)):e.attachEvent&&e.attachEvent("on"+t,(function o(i){r&&e.detachEvent("on"+t,o),n.call(this,i)})),this}function k(e,t,n,r,o){if(e.addEventListener){var i=function i(u){r&&e.removeEventListener(t,i,o),n.call(this,u)};return o=o||!1,e.addEventListener(t,i,o),function(){e.removeEventListener(t,i,o)}}if(e.attachEvent){var u=function o(i){r&&e.detachEvent("on"+t,o),n.call(this,i)};return e.attachEvent("on"+t,u),function(){e.detachEvent("on"+t,u)}}}function P(e,t){var n="perf"===e?i:o;return{APLUS_LOGKEY:n,APLUS_URL:"https://".concat(t&&"string"==typeof t?t:r).concat(n)}}var T,A=function e(t,n){var r=t.id?"#"+t.id:"",o=t.className&&t.className.split?"."+t.className.split(" ").join("."):"",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},_=function(){return"object"===("undefined"==typeof window?"undefined":d(window))&&window.document?window:void 0},M=function(){var e=h();try{if(e){var t=window.document.querySelector('meta[name="page-tag"]');if(t){var n=t.getAttribute("content")||"";return E(n,",")}}return{}}catch(e){return{}}},C=function(){for(var e=[],t=0;t<4;t++){var n=Math.floor(256*Math.random());e[t]=(n>15?"":"0")+n.toString(16)}return e.join("")},L=(T=1e3,function(){var e=C(),t=Date.now(),n=T,r=y(1),o=y(4);return T=T+1>1e4?1e3:T+1,e+t+n+r+o}),U=function(e){return e>Math.random()},R=function(e){var t={};return t="undefined"!=typeof PromiseRejectionEvent&&e instanceof PromiseRejectionEvent?function(e){if(e)try{var t="",n=0,r=0,o="",i="";"string"==typeof e?t=e:"object"===a(e.reason)?t=e.reason.message:"string"==typeof e.message&&(t=e.message);var u=e.reason;if("object"===a(u)){if("number"==typeof u.column?(r=u.column,n=u.line):u.stack&&(c=u.stack.match(/at\s+.+:(\d+):(\d+)/))&&(n=c[1],r=c[2]),u.sourceURL)o=u.sourceURL;else if(u.stack){var c;(c=u.stack.match(/at\s+(.+):\d+:\d+/))&&(o=c[1])}u.stack&&(i=u.stack)}return f({message:t,filename:o,lineno:n,colno:r,stack:i,error_type:e.constructor.name})}catch(e){}}(e)||{}:function(e,t,n,r,o){try{return f("string"==typeof e?{message:e,filename:t,lineno:n,colno:r,error:o}:e)}catch(e){}}(e)||{},t};function I(e){return"[object Array]"==={}.toString.call(e)}var F=function(e,t){if(!e)return"";if(!(null==t?void 0:t.length))return e;var n=l(e.split("?"),2),r=n[0],o=n[1],i="?";return-1===(null==e?void 0:e.indexOf("?"))&&-1!==(null==e?void 0:e.indexOf("http"))?e:(-1===(null==e?void 0:e.indexOf("?"))&&(r="",o=e,i=""),"".concat(r).concat(i).concat(function(e,t){if(!e)return"";t=t||[];var n=[];for(var r in e)e.hasOwnProperty(r)&&n.push(r);var o=[];n=n.sort();for(var i=0;i<n.length;++i){for(var u=e[r=n[i]],a=!1,c=0;c<t.length;++c)if(t[c]===r){a=!0;break}a||(u?o.push(r+"="+String(u).slice(0,512)):o.push(r))}return o.join("&")}(function(e){var t={};if("string"!=typeof e)return t;if(!(e=e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"").replace(/^(\?|#|&)/,"")))return t;for(var n=e.split("&"),r=0;r<n.length;++r){var o=n[r].replace(/\+/g," ").split("="),i=o.shift()||"",u=o.length>0?o.join("="):"";t[i]?I(t[i])?t[i].push(u):t[i]=[t[i],u]:t[i]=u}return t}(o),t)))},N=function(e,t){var n=_(),r={};if(n&&"onload"in n){var o=(n.navigator||{}).connection||{};r.url="function"==typeof t.getUrl?t.getUrl():F(v(),e),r.origin_url=F(b(),e),r.referrer=F(document.referrer,e),r.title=document.title,r.hash=w(),r.query=F(S(),e),r.dpr=n.devicePixelRatio||1,r.sr="object"===("undefined"==typeof screen?"undefined":d(screen))&&screen.width+"x"+screen.height||"",r.net_type=o.effectiveType||o.type||""}return r};t.default={shadowMerge:p,getRandomNum:y,uuid:m,ignoreFirstSpecialChara:g,checkWin:h,getUrl:v,getOriginUrl:b,getUrlHash:w,getUrlQuery:S,getSpmAB:x,toQueryParams:j,queryToObj:E,on:O,bindEvent:k,getSendInfo:P,getXPath:A,getWin:_,getPageMetaConfig:M,genRandomIp:C,genTraceId:L,checkSample:U,processError:R,getCommonInfo:N}}]).default}]).default},function(e,t,n){"use strict";n.r(t);var r=n(1),o=n.n(r),i=n(0),u=("https://s-gm.mmstat.com".concat("/arms.1.1"),"arms_uid");function a(e){return 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},a(e)}function c(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(function(e){var t=16*Math.random()|0;return("x"==e?t:3&t|8).toString(16)}))}var f,l=function(){var e;if("object"===("undefined"==typeof document?"undefined":a(document)))try{if(e=new RegExp(u+"=([^;]+)").exec(document.cookie))return e[1]||"";var t=c();return document.cookie="".concat(u,"=").concat(t,"; max-age=").concat(15552e3),t}catch(e){return""}return""},s=function(){var e,t="object"===("undefined"==typeof wx?"undefined":a(wx))&&wx||"object"===("undefined"==typeof my?"undefined":a(my))&&my||"object"===("undefined"==typeof dd?"undefined":a(dd))&&dd;if(t&&"function"==typeof t.getStorageSync)try{var n="object"===("undefined"==typeof wx?"undefined":a(wx))?t.getStorageSync(u):null===(e=t.getStorageSync({key:u}))||void 0===e?void 0:e.data;if(n&&"string"==typeof n)return n;if("function"==typeof t.setStorageSync)return n=c(),"object"===("undefined"==typeof wx?"undefined":a(wx))?t.setStorageSync(u,n):t.setStorageSync({key:u,data:n}),n}catch(e){return""}return""},d=n(2),p=n.n(d);function y(e){return y="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},y(e)}var m="1.3.22";t.default=function(e,t){var n=i.shadowMerge({useSendBeacon:!0,errorEnable:!0,ignoreErrors:[],enableAllRejection:!1,singleton:!0},e),r=n.plugins||[],u=n.singleton;if(!0===n.errorEnable&&r.push([p.a,{ignoreErrors:n.ignoreErrors,enableAllRejection:n.enableAllRejection}]),n.plugins=r,u&&f)return f;var a=new o.a(n,t);u&&(f=a);var c="object"===("undefined"==typeof wx?"undefined":y(wx))&&wx||"object"===("undefined"==typeof my?"undefined":y(my))&&my||"object"===("undefined"==typeof dd?"undefined":y(dd))&&dd;return c&&"function"==typeof c.request&&function(e){try{var t=Function.prototype.toString.call(e),n=/\{(.*)\}/.exec(t);return""!==(n?n[1]:"")}catch(e){return!1}}(c.request)?(a.getUidFromCookie=s,a.send=function(t){t.sdk_version=m;var n=i.getSendInfo(t.type,e.aplusUrl).APLUS_URL,r=i.toQueryParams(t,!0);c.request({url:n,data:JSON.stringify({gmkey:"OTHER",gokey:r,logtype:"2"}),method:"post",dataType:"base64",header:{"content-type":"application/json"},success:function(e){}})}):n.useSendBeacon&&"object"===("undefined"==typeof navigator?"undefined":y(navigator))&&"function"==typeof navigator.sendBeacon?(a.getUidFromCookie=l,a.send=function(t){t.sdk_version=m;var n=i.getSendInfo(t.type,e.aplusUrl).APLUS_URL,r=i.toQueryParams(t,!0);navigator.sendBeacon(n,JSON.stringify({gmkey:"OTHER",gokey:r,logtype:"2"}))}):"object"===("undefined"==typeof window?"undefined":y(window))&&window&&"object"===("undefined"==typeof document?"undefined":y(document))&&document&&(a.getUidFromCookie=l,a.send=function(t){t.sdk_version=m;var n=i.getSendInfo(t.type,e.aplusUrl).APLUS_URL,r=i.toQueryParams(t,!1);(new Image).src=n+"?"+r}),a}}]).default}));!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.TraceResourceErrorPlugin=e():t.TraceResourceErrorPlugin=e()}(this,(function(){return function(t){var e={};function n(r){if(e[r])return e[r].exports;var o=e[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)n.d(r,o,function(e){return t[e]}.bind(null,o));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=1)}([function(t,e,n){t.exports=function(t){var e={};function n(r){if(e[r])return e[r].exports;var o=e[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)n.d(r,o,function(e){return t[e]}.bind(null,o));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=2)}([function(t,e,n){"use strict";(function(t){function r(t){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},r(t)}n.d(e,"a",(function(){return a}));var o=4096,i=/^\s*at .*? ?\(((?:file|https?|blob|chrome-extension|native|eval|<anonymous>).*?)(?::\d+)?(?::\d+)?\)?\s*$/i,u=/^\s*.*?(?:\(.*?\))?(?:^|@)((?:file|https?|blob|chrome|resource|\[native).*?)(?::\d+)?(?::\d+)?\s*$/i,c=/^\s*at (?:(?:\[object object\])?.+ )?\(?((?:file|ms-appx|https?|blob):.*?):\d+(?::\d+)?\)?\s*$/i;function a(t){for(var e=(t&&t.stack||"").split("\n"),n=["","",""],r={},a=0;a<e.length;a++){var f=i,l=(e[a]||"").match(f);if(null===l&&(f=u,l=(e[a]||"").match(f)),null===l&&(f=c,l=(e[a]||"").match(f)),null!==l){var s=l[1],d=r[s];void 0===d&&(r[s]="#"+a+"#",d=r[s]),e[a]=e[a].replace(s,d)}}if(e.length>0){e.shift();var p="";for(a=0;p.length+(e[a]||"").length<o&&a<e.length;)p+=e[a]+"\n",a++;n[1]=p;for(var m="";m.length+(e[a]||"").length<o&&a<e.length;)m+=e[a]+"\n",a++;n[2]=m}var y="";for(s in r)r.hasOwnProperty(s)&&(y+=s+"@"+r[s]+";");return y=y.replace(/;$/,""),n[0]=y,n}void 0===t||r(t)}).call(this,n(1))},function(t,e){var n,r,o=t.exports={};function i(){throw new Error("setTimeout has not been defined")}function u(){throw new Error("clearTimeout has not been defined")}function c(t){if(n===setTimeout)return setTimeout(t,0);if((n===i||!n)&&setTimeout)return n=setTimeout,setTimeout(t,0);try{return n(t,0)}catch(e){try{return n.call(null,t,0)}catch(e){return n.call(this,t,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:i}catch(t){n=i}try{r="function"==typeof clearTimeout?clearTimeout:u}catch(t){r=u}}();var a,f=[],l=!1,s=-1;function d(){l&&a&&(l=!1,a.length?f=a.concat(f):s=-1,f.length&&p())}function p(){if(!l){var t=c(d);l=!0;for(var e=f.length;e;){for(a=f,f=[];++s<e;)a&&a[s].run();s=-1,e=f.length}a=null,l=!1,function(t){if(r===clearTimeout)return clearTimeout(t);if((r===u||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(t);try{return r(t)}catch(e){try{return r.call(null,t)}catch(e){return r.call(this,t)}}}(t)}}function m(t,e){this.fun=t,this.array=e}function y(){}o.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)e[n-1]=arguments[n];f.push(new m(t,e)),1!==f.length||l||c(p)},m.prototype.run=function(){this.fun.apply(null,this.array)},o.title="browser",o.browser=!0,o.env={},o.argv=[],o.version="",o.versions={},o.on=y,o.addListener=y,o.once=y,o.off=y,o.removeListener=y,o.removeAllListeners=y,o.emit=y,o.prependListener=y,o.prependOnceListener=y,o.listeners=function(t){return[]},o.binding=function(t){throw new Error("process.binding is not supported")},o.cwd=function(){return"/"},o.chdir=function(t){throw new Error("process.chdir is not supported")},o.umask=function(){return 0}},function(t,e,n){"use strict";n.r(e),n.d(e,"shadowMerge",(function(){return p})),n.d(e,"getRandomNum",(function(){return m})),n.d(e,"uuid",(function(){return y})),n.d(e,"ignoreFirstSpecialChara",(function(){return g})),n.d(e,"checkWin",(function(){return v})),n.d(e,"getUrl",(function(){return h})),n.d(e,"getOriginUrl",(function(){return b})),n.d(e,"getUrlHash",(function(){return w})),n.d(e,"getUrlQuery",(function(){return x})),n.d(e,"getSpmAB",(function(){return S})),n.d(e,"toQueryParams",(function(){return j})),n.d(e,"queryToObj",(function(){return O})),n.d(e,"on",(function(){return T})),n.d(e,"bindEvent",(function(){return E})),n.d(e,"getSendInfo",(function(){return A})),n.d(e,"getXPath",(function(){return L})),n.d(e,"getWin",(function(){return M})),n.d(e,"getPageMetaConfig",(function(){return k})),n.d(e,"genRandomIp",(function(){return _})),n.d(e,"genTraceId",(function(){return U})),n.d(e,"checkSample",(function(){return R})),n.d(e,"processError",(function(){return C})),n.d(e,"getCommonInfo",(function(){return F}));var r="s-gm.mmstat.com",o="/arms.1.1",i="/arms.1.2",u=("https://s-gm.mmstat.com".concat(o),"https://s-gm.mmstat.com".concat(i),n(0));function c(t){return c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},c(t)}function a(t){var e=t.message.match(/Uncaught (\w+):/);return e&&e[1]?e[1]:t.error_type?t.error_type:t.name?t.name:""}function f(t){var e=t.message,n=void 0===e?"":e,r=t.lineno,o=t.colno,i=t.stack,c=t.error,f=Object(u.a)(c&&c.stack||i)||["","",""];return{msg:n||t.msg||"",lineno:r,colno:o,file:t.filename||t.file||"",stack:c&&c.stack||i,stack1:f[0],stack2:f[1],stack3:f[2],errType:t.errType||a(t)||"",errCode:t.errCode||t.error_code}}function l(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var r,o,i,u,c=[],a=!0,f=!1;try{if(i=(n=n.call(t)).next,0===e){if(Object(n)!==n)return;a=!1}else for(;!(a=(r=i.call(n)).done)&&(c.push(r.value),c.length!==e);a=!0);}catch(t){f=!0,o=t}finally{try{if(!a&&null!=n.return&&(u=n.return(),Object(u)!==u))return}finally{if(f)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return s(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?s(t,e):void 0}}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function s(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function d(t){return d="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},d(t)}var p=function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);return t};function m(){for(var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:16,n=[],r=0;r<t;r++){var o=Math.floor(Math.random()*e);n[r]=o.toString(e)}return n.join("")}function y(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(function(t){var e=16*Math.random()|0;return("x"==t?e:3&e|8).toString(16)}))}var g=function(t){return"string"==typeof t?t.replace(/^\?|#/,""):""},v=function(){return!("object"!==("undefined"==typeof window?"undefined":d(window))||!window.document)},h=function(){return v()?window.location.href.split("?")[0]:""},b=function(){return v()?window.location.href:""},w=function(){return v()?g(window.location.hash):""},x=function(){return v()?g(window.location.search):""},S=function(){if(!v())return{a:"",b:""};var t=window.goldlog,e=(null==t?void 0:t.spm_ab)||(null==t?void 0:t.spmAb)||[];return{a:e[0]||"",b:e[1]||""}},j=function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=[];for(var r in t){var o=t[r],i="".concat(encodeURIComponent(r),"=").concat(encodeURIComponent(e?encodeURIComponent(o):String(o).slice(0,512)));n.push(i)}return n.join("&")},O=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"&",n={};return t.split(e).forEach((function(t){var e=t.split("="),r=e[0];n[r]=e[1]})),n};function T(t,e,n,r,o){return t.addEventListener?(o=o||!1,t.addEventListener(e,(function i(u){r&&t.removeEventListener(e,i,o),n.call(this,u)}),o)):t.attachEvent&&t.attachEvent("on"+e,(function o(i){r&&t.detachEvent("on"+e,o),n.call(this,i)})),this}function E(t,e,n,r,o){if(t.addEventListener){var i=function i(u){r&&t.removeEventListener(e,i,o),n.call(this,u)};return o=o||!1,t.addEventListener(e,i,o),function(){t.removeEventListener(e,i,o)}}if(t.attachEvent){var u=function o(i){r&&t.detachEvent("on"+e,o),n.call(this,i)};return t.attachEvent("on"+e,u),function(){t.detachEvent("on"+e,u)}}}function A(t,e){var n="perf"===t?i:o;return{APLUS_LOGKEY:n,APLUS_URL:"https://".concat(e&&"string"==typeof e?e:r).concat(n)}}var P,L=function t(e,n){var r=e.id?"#"+e.id:"",o=e.className&&e.className.split?"."+e.className.split(" ").join("."):"",i=e.tagName.toLowerCase();return e.parentNode&&e.parentNode.tagName&&n-1!=0?t(e.parentNode,n-1)+" > "+i.toLowerCase()+r+o:i+r+o},M=function(){return"object"===("undefined"==typeof window?"undefined":d(window))&&window.document?window:void 0},k=function(){var t=v();try{if(t){var e=window.document.querySelector('meta[name="page-tag"]');if(e){var n=e.getAttribute("content")||"";return O(n,",")}}return{}}catch(t){return{}}},_=function(){for(var t=[],e=0;e<4;e++){var n=Math.floor(256*Math.random());t[e]=(n>15?"":"0")+n.toString(16)}return t.join("")},U=(P=1e3,function(){var t=_(),e=Date.now(),n=P,r=m(1),o=m(4);return P=P+1>1e4?1e3:P+1,t+e+n+r+o}),R=function(t){return t>Math.random()},C=function(t){var e={};return e="undefined"!=typeof PromiseRejectionEvent&&t instanceof PromiseRejectionEvent?function(t){if(t)try{var e="",n=0,r=0,o="",i="";"string"==typeof t?e=t:"object"===c(t.reason)?e=t.reason.message:"string"==typeof t.message&&(e=t.message);var u=t.reason;if("object"===c(u)){if("number"==typeof u.column?(r=u.column,n=u.line):u.stack&&(a=u.stack.match(/at\s+.+:(\d+):(\d+)/))&&(n=a[1],r=a[2]),u.sourceURL)o=u.sourceURL;else if(u.stack){var a;(a=u.stack.match(/at\s+(.+):\d+:\d+/))&&(o=a[1])}u.stack&&(i=u.stack)}return f({message:e,filename:o,lineno:n,colno:r,stack:i,error_type:t.constructor.name})}catch(t){}}(t)||{}:function(t,e,n,r,o){try{return f("string"==typeof t?{message:t,filename:e,lineno:n,colno:r,error:o}:t)}catch(t){}}(t)||{},e};function I(t){return"[object Array]"==={}.toString.call(t)}var N=function(t,e){if(!t)return"";if(!(null==e?void 0:e.length))return t;var n=l(t.split("?"),2),r=n[0],o=n[1],i="?";return-1===(null==t?void 0:t.indexOf("?"))&&-1!==(null==t?void 0:t.indexOf("http"))?t:(-1===(null==t?void 0:t.indexOf("?"))&&(r="",o=t,i=""),"".concat(r).concat(i).concat(function(t,e){if(!t)return"";e=e||[];var n=[];for(var r in t)t.hasOwnProperty(r)&&n.push(r);var o=[];n=n.sort();for(var i=0;i<n.length;++i){for(var u=t[r=n[i]],c=!1,a=0;a<e.length;++a)if(e[a]===r){c=!0;break}c||(u?o.push(r+"="+String(u).slice(0,512)):o.push(r))}return o.join("&")}(function(t){var e={};if("string"!=typeof t)return e;if(!(t=t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"").replace(/^(\?|#|&)/,"")))return e;for(var n=t.split("&"),r=0;r<n.length;++r){var o=n[r].replace(/\+/g," ").split("="),i=o.shift()||"",u=o.length>0?o.join("="):"";e[i]?I(e[i])?e[i].push(u):e[i]=[e[i],u]:e[i]=u}return e}(o),e)))},F=function(t,e){var n=M(),r={};if(n&&"onload"in n){var o=(n.navigator||{}).connection||{};r.url="function"==typeof e.getUrl?e.getUrl():N(h(),t),r.origin_url=N(b(),t),r.referrer=N(document.referrer,t),r.title=document.title,r.hash=w(),r.query=N(x(),t),r.dpr=n.devicePixelRatio||1,r.sr="object"===("undefined"==typeof screen?"undefined":d(screen))&&screen.width+"x"+screen.height||"",r.net_type=o.effectiveType||o.type||""}return r};e.default={shadowMerge:p,getRandomNum:m,uuid:y,ignoreFirstSpecialChara:g,checkWin:v,getUrl:h,getOriginUrl:b,getUrlHash:w,getUrlQuery:x,getSpmAB:S,toQueryParams:j,queryToObj:O,on:T,bindEvent:E,getSendInfo:A,getXPath:L,getWin:M,getPageMetaConfig:k,genRandomIp:_,genTraceId:U,checkSample:R,processError:C,getCommonInfo:F}}]).default},function(t,e,n){"use strict";n.r(e);var r=n(0);function o(t){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},o(t)}function i(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var r,o,i,u,c=[],a=!0,f=!1;try{if(i=(n=n.call(t)).next,0===e){if(Object(n)!==n)return;a=!1}else for(;!(a=(r=i.call(n)).done)&&(c.push(r.value),c.length!==e);a=!0);}catch(t){f=!0,o=t}finally{try{if(!a&&null!=n.return&&(u=n.return(),Object(u)!==u))return}finally{if(f)throw o}}return c}}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return u(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return u(t,e)}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function u(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}var c=function(t,e){var n=e||{},u=n.ignore,c=void 0===u?[]:u,a=n.ignoreQueries,f=void 0!==a&&a,l=r.bindEvent(window,"error",(function(e){if(!(!e.target.tagName||e.message||e.filename||e.lineno||e.colno)){var n=e.target,u=function(t,e){var n,r,o=t.src||t.href,u="";if(o&&!t.getAttribute("src")&&!t.getAttribute("href"))return[o=t.outerHTML,u];if(e&&o)try{var c=i([-1!==(r=(n=o).indexOf("?"))?n.substring(0,r):n,-1!==r?n.substring(r+1):""],2);o=c[0],u=c[1]}catch(t){}if(void 0===o){var a="object"===t.tagName.toLowerCase(),f="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"===t.getAttribute("classid")||"application/x-shockwave-flash"===t.getAttribute("type");a&&f&&(o=t.getAttribute("data")||t.getAttribute("codebase")),void 0===o&&(o=t.outerHTML||t.innerHTML)}return[o,u]}(e.target,f),a=i(u,2),l=a[0],s=a[1];if(!function(t,e,n){return"function"==typeof n?n(t,e):"function"==typeof n.some&&n.some((function(e){return"string"==typeof e?-1!==(null==t?void 0:t.indexOf(e)):"object"===o(e)&&"function"==typeof e.test&&e.test(t)}))}(l,e,c)){var d=n.tagName.toLowerCase();t.log({type:"resource_error",msg:"".concat(l," 资源报错"),sampling:1,p1:d,p2:r.getXPath(n,5),p3:l,p4:s})}}}),!1,!0);return function(){try{l&&"function"==typeof l&&l()}catch(t){console.warn("[ARMS WARN]资源错误插件卸载错误",t)}}};window.TraceResourceErrorPlugin=c;e.default=c}]).default}));!function(e,n){"object"==typeof exports&&"object"==typeof module?module.exports=n():"function"==typeof define&&define.amd?define([],n):"object"==typeof exports?exports.TracePerfPlugin=n():e.TracePerfPlugin=n()}(this,(function(){return function(e){var n={};function t(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,t),o.l=!0,o.exports}return t.m=e,t.c=n,t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{enumerable:!0,get:r})},t.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.t=function(e,n){if(1&n&&(e=t(e)),8&n)return e;if(4&n&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(t.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&n&&"string"!=typeof e)for(var o in e)t.d(r,o,function(n){return e[n]}.bind(null,o));return r},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},t.p="",t(t.s=0)}([function(e,n,t){"use strict";function r(){return r=Object.assign?Object.assign.bind():function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])}return e},r.apply(this,arguments)}function o(e){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o(e)}var i=this&&this.__createBinding||(Object.create?function(e,n,t,r){void 0===r&&(r=t);var o=Object.getOwnPropertyDescriptor(n,t);o&&!("get"in o?!n.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return n[t]}}),Object.defineProperty(e,r,o)}:function(e,n,t,r){void 0===r&&(r=t),e[r]=n[t]}),u=this&&this.__setModuleDefault||(Object.create?function(e,n){Object.defineProperty(e,"default",{enumerable:!0,value:n})}:function(e,n){e.default=n}),c=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var n={};if(null!=e)for(var t in e)"default"!==t&&Object.prototype.hasOwnProperty.call(e,t)&&i(n,e,t);return u(n,e),n};Object.defineProperty(n,"__esModule",{value:!0});var a=c(t(1)),f=t(2),l=function(e){var n;function t(){n=setTimeout(e)}return"complete"===document.readyState?n=setTimeout(e):window.addEventListener("load",t),function(){n&&clearTimeout(n),window.removeEventListener("load",t)}},s=function(e,n){var t=e.enableLCP,i=e.force,u=void 0!==i&&i,c=this;this.getNavigationTiming=function(){var e,n,t;if((null===window||void 0===window?void 0:window.PerformanceNavigationTiming)&&(null===(e=null===window||void 0===window?void 0:window.performance)||void 0===e?void 0:e.getEntriesByType)){var r=performance.getEntriesByType("navigation");Array.isArray(r)&&(t=r[0])}"object"===o(t)&&t||!(null===(n=null===window||void 0===window?void 0:window.performance)||void 0===n?void 0:n.timing)||(t=window.performance.timing);var i={};return"object"===o(t)&&t&&f.perfKeys.forEach((function(e){i[e]="startTime"===e?"number"==typeof t[e]?t[e]:t.navigationStart:t[e]})),i},this.getPaintTiming=function(){var e;try{if(window.PerformanceNavigationTiming&&(null===(e=null===window||void 0===window?void 0:window.performance)||void 0===e?void 0:e.getEntriesByType)){var n=performance.getEntriesByType("paint")||[],t=n.filter((function(e){return"first-paint"===e.name}))[0],r=t&&t.startTime||0,o=n.filter((function(e){return"first-contentful-paint"===e.name}))[0];return{fp:r,fcp:o&&o.startTime||0}}}catch(e){return c.logError&&c.logError(e,{pid:"arms-debug",c1:c.core.getConfig("pid"),c2:"fcp采集"}),{fp:0,fcp:0}}},this.getConnection=function(){var e,n={},t=null===(e=null===window||void 0===window?void 0:window.navigator)||void 0===e?void 0:e.connection;return"object"===o(t)&&t&&(n={net_type:t.effectiveType||t.type||"",downlink:t.downlink||t.downlinkMax||t.bandwidth||""}),n},this.getCommonTiming=function(){var e,n,t=c.config.ignoredQueries,o=void 0===t?[]:t,i=c.config,u=i.pvId,f=i.uid,l=i.sid,s=a.getCommonInfo(o,c.config),d=a.getSpmAB();return u||(u=null===(e=c.core)||void 0===e?void 0:e.generatePvId()),l||(l=null===(n=c.core)||void 0===n?void 0:n.generateSid()),f||(f=c.core.generateUid()),s.pid=c.config.pid,s.uid=f,s.spm_a=d.a,s.spm_b=d.b,r(s,c.getNavigationTiming(),c.getPaintTiming(),c.getConnection())},this.observeLCP=function(){try{var e;new PerformanceObserver((function(n){var t=n.getEntries(),r=t[t.length-1];e=r.renderTime||r.loadTime,c.lcpTime=e})).observe({type:"largest-contentful-paint",buffered:!0});var n=function n(){var t;if(e&&document.hidden)return c.sendTiming(),void removeEventListener("visibilitychange",n,!0);null===(t=c.core)||void 0===t||t.logCustom({pid:"arms-debug",p1:"perf-plugin-log",c1:c.core.getConfig("pid"),c2:"触发上报但没有获取到lcp"})};return addEventListener("beforeunload",(function e(){c.sendTiming(c.force),removeEventListener("beforeunload",e)})),addEventListener("visibilitychange",n,!0),function(){removeEventListener("visibilitychange",n,!0)}}catch(e){return c.logError&&c.logError(e,{pid:"arms-debug",c1:c.core.getConfig("pid"),c2:"lcp采集"}),l((function(){c.sendTiming(!0)}))}},this.sendTiming=function(e){if(void 0===e&&(e=!1),!0!==c.enableLCP&&!1===c.hasSendPerf&&c.commonTimes)return c.logPerf(c.commonTimes),void(c.hasSendPerf=!0);if("object"===o(c.commonTimes)&&!1===c.hasSendPerf&&("number"==typeof c.lcpTime||e)){var n=r({},c.commonTimes,{lcp:c.lcpTime});c.logPerf(n),c.hasSendPerf=!0,e&&c.lcpTime&&c.core.logCustom({pid:"arms-debug",p1:"perf-plugin-log",c1:c.core.getConfig("pid"),c2:"强制上报",c3:"".concat(c.lcpTime)})}},this.init=function(){c.uninstallHooks=[],c.uninstallHooks.push(l((function(){var e=c.getCommonTiming();c.commonTimes=e,!0!==c.enableLCP&&c.sendTiming()}))),!0===c.enableLCP&&c.uninstallHooks.push(c.observeLCP())},this.hasSendPerf=!1,this.enableLCP=t,this.force=u,this.logPerf=n.logPerf,this.commonTimes=null,this.lcpTime=null,this.logError=n.logError,this.uninstallHooks=[],this.config=n.config,this.core=n},d=function(e,n){if(void 0===n&&(n={}),e&&window&&"function"==typeof e.logPerf)try{var t=new s({enableLCP:n.enableLCP,force:n.force},e);return t.init(),t.uninstallHooks}catch(n){console.warn(n),e.logError&&e.logError(n,{pid:"arms-debug",c1:e.core.getConfig("pid"),c2:"pref-plugin初始化"})}};window.TracePerfPlugin=d,n.default=d},function(e,n,t){e.exports=function(e){var n={};function t(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,t),o.l=!0,o.exports}return t.m=e,t.c=n,t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{enumerable:!0,get:r})},t.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.t=function(e,n){if(1&n&&(e=t(e)),8&n)return e;if(4&n&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(t.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&n&&"string"!=typeof e)for(var o in e)t.d(r,o,function(n){return e[n]}.bind(null,o));return r},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},t.p="",t(t.s=2)}([function(e,n,t){"use strict";(function(e){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},r(e)}t.d(n,"a",(function(){return a}));var o=4096,i=/^\s*at .*? ?\(((?:file|https?|blob|chrome-extension|native|eval|<anonymous>).*?)(?::\d+)?(?::\d+)?\)?\s*$/i,u=/^\s*.*?(?:\(.*?\))?(?:^|@)((?:file|https?|blob|chrome|resource|\[native).*?)(?::\d+)?(?::\d+)?\s*$/i,c=/^\s*at (?:(?:\[object object\])?.+ )?\(?((?:file|ms-appx|https?|blob):.*?):\d+(?::\d+)?\)?\s*$/i;function a(e){for(var n=(e&&e.stack||"").split("\n"),t=["","",""],r={},a=0;a<n.length;a++){var f=i,l=(n[a]||"").match(f);if(null===l&&(f=u,l=(n[a]||"").match(f)),null===l&&(f=c,l=(n[a]||"").match(f)),null!==l){var s=l[1],d=r[s];void 0===d&&(r[s]="#"+a+"#",d=r[s]),n[a]=n[a].replace(s,d)}}if(n.length>0){n.shift();var p="";for(a=0;p.length+(n[a]||"").length<o&&a<n.length;)p+=n[a]+"\n",a++;t[1]=p;for(var m="";m.length+(n[a]||"").length<o&&a<n.length;)m+=n[a]+"\n",a++;t[2]=m}var g="";for(s in r)r.hasOwnProperty(s)&&(g+=s+"@"+r[s]+";");return g=g.replace(/;$/,""),t[0]=g,t}void 0===e||r(e)}).call(this,t(1))},function(e,n){var t,r,o=e.exports={};function i(){throw new Error("setTimeout has not been defined")}function u(){throw new Error("clearTimeout has not been defined")}function c(e){if(t===setTimeout)return setTimeout(e,0);if((t===i||!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:i}catch(e){t=i}try{r="function"==typeof clearTimeout?clearTimeout:u}catch(e){r=u}}();var a,f=[],l=!1,s=-1;function d(){l&&a&&(l=!1,a.length?f=a.concat(f):s=-1,f.length&&p())}function p(){if(!l){var e=c(d);l=!0;for(var n=f.length;n;){for(a=f,f=[];++s<n;)a&&a[s].run();s=-1,n=f.length}a=null,l=!1,function(e){if(r===clearTimeout)return clearTimeout(e);if((r===u||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(e);try{return r(e)}catch(n){try{return r.call(null,e)}catch(n){return r.call(this,e)}}}(e)}}function m(e,n){this.fun=e,this.array=n}function g(){}o.nextTick=function(e){var n=new Array(arguments.length-1);if(arguments.length>1)for(var t=1;t<arguments.length;t++)n[t-1]=arguments[t];f.push(new m(e,n)),1!==f.length||l||c(p)},m.prototype.run=function(){this.fun.apply(null,this.array)},o.title="browser",o.browser=!0,o.env={},o.argv=[],o.version="",o.versions={},o.on=g,o.addListener=g,o.once=g,o.off=g,o.removeListener=g,o.removeAllListeners=g,o.emit=g,o.prependListener=g,o.prependOnceListener=g,o.listeners=function(e){return[]},o.binding=function(e){throw new Error("process.binding is not supported")},o.cwd=function(){return"/"},o.chdir=function(e){throw new Error("process.chdir is not supported")},o.umask=function(){return 0}},function(e,n,t){"use strict";t.r(n),t.d(n,"shadowMerge",(function(){return p})),t.d(n,"getRandomNum",(function(){return m})),t.d(n,"uuid",(function(){return g})),t.d(n,"ignoreFirstSpecialChara",(function(){return v})),t.d(n,"checkWin",(function(){return y})),t.d(n,"getUrl",(function(){return h})),t.d(n,"getOriginUrl",(function(){return b})),t.d(n,"getUrlHash",(function(){return w})),t.d(n,"getUrlQuery",(function(){return S})),t.d(n,"getSpmAB",(function(){return T})),t.d(n,"toQueryParams",(function(){return E})),t.d(n,"queryToObj",(function(){return P})),t.d(n,"on",(function(){return x})),t.d(n,"bindEvent",(function(){return j})),t.d(n,"getSendInfo",(function(){return O})),t.d(n,"getXPath",(function(){return C})),t.d(n,"getWin",(function(){return _})),t.d(n,"getPageMetaConfig",(function(){return k})),t.d(n,"genRandomIp",(function(){return M})),t.d(n,"genTraceId",(function(){return U})),t.d(n,"checkSample",(function(){return A})),t.d(n,"processError",(function(){return I})),t.d(n,"getCommonInfo",(function(){return B}));var r="s-gm.mmstat.com",o="/arms.1.1",i="/arms.1.2",u=("https://s-gm.mmstat.com".concat(o),"https://s-gm.mmstat.com".concat(i),t(0));function c(e){return c="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},c(e)}function a(e){var n=e.message.match(/Uncaught (\w+):/);return n&&n[1]?n[1]:e.error_type?e.error_type:e.name?e.name:""}function f(e){var n=e.message,t=void 0===n?"":n,r=e.lineno,o=e.colno,i=e.stack,c=e.error,f=Object(u.a)(c&&c.stack||i)||["","",""];return{msg:t||e.msg||"",lineno:r,colno:o,file:e.filename||e.file||"",stack:c&&c.stack||i,stack1:f[0],stack2:f[1],stack3:f[2],errType:e.errType||a(e)||"",errCode:e.errCode||e.error_code}}function l(e,n){return function(e){if(Array.isArray(e))return e}(e)||function(e,n){var t=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var r,o,i,u,c=[],a=!0,f=!1;try{if(i=(t=t.call(e)).next,0===n){if(Object(t)!==t)return;a=!1}else for(;!(a=(r=i.call(t)).done)&&(c.push(r.value),c.length!==n);a=!0);}catch(e){f=!0,o=e}finally{try{if(!a&&null!=t.return&&(u=t.return(),Object(u)!==u))return}finally{if(f)throw o}}return c}}(e,n)||function(e,n){if(e){if("string"==typeof e)return s(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?s(e,n):void 0}}(e,n)||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 s(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=new Array(n);t<n;t++)r[t]=e[t];return r}function d(e){return d="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},d(e)}var p=function(e,n){for(var t in n)n.hasOwnProperty(t)&&(e[t]=n[t]);return e};function m(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:16,t=[],r=0;r<e;r++){var o=Math.floor(Math.random()*n);t[r]=o.toString(n)}return t.join("")}function g(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(function(e){var n=16*Math.random()|0;return("x"==e?n:3&n|8).toString(16)}))}var v=function(e){return"string"==typeof e?e.replace(/^\?|#/,""):""},y=function(){return!("object"!==("undefined"==typeof window?"undefined":d(window))||!window.document)},h=function(){return y()?window.location.href.split("?")[0]:""},b=function(){return y()?window.location.href:""},w=function(){return y()?v(window.location.hash):""},S=function(){return y()?v(window.location.search):""},T=function(){if(!y())return{a:"",b:""};var e=window.goldlog,n=(null==e?void 0:e.spm_ab)||(null==e?void 0:e.spmAb)||[];return{a:n[0]||"",b:n[1]||""}},E=function(e){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],t=[];for(var r in e){var o=e[r],i="".concat(encodeURIComponent(r),"=").concat(encodeURIComponent(n?encodeURIComponent(o):String(o).slice(0,512)));t.push(i)}return t.join("&")},P=function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"&",t={};return e.split(n).forEach((function(e){var n=e.split("="),r=n[0];t[r]=n[1]})),t};function x(e,n,t,r,o){return e.addEventListener?(o=o||!1,e.addEventListener(n,(function i(u){r&&e.removeEventListener(n,i,o),t.call(this,u)}),o)):e.attachEvent&&e.attachEvent("on"+n,(function o(i){r&&e.detachEvent("on"+n,o),t.call(this,i)})),this}function j(e,n,t,r,o){if(e.addEventListener){var i=function i(u){r&&e.removeEventListener(n,i,o),t.call(this,u)};return o=o||!1,e.addEventListener(n,i,o),function(){e.removeEventListener(n,i,o)}}if(e.attachEvent){var u=function o(i){r&&e.detachEvent("on"+n,o),t.call(this,i)};return e.attachEvent("on"+n,u),function(){e.detachEvent("on"+n,u)}}}function O(e,n){var t="perf"===e?i:o;return{APLUS_LOGKEY:t,APLUS_URL:"https://".concat(n&&"string"==typeof n?n:r).concat(t)}}var L,C=function e(n,t){var r=n.id?"#"+n.id:"",o=n.className&&n.className.split?"."+n.className.split(" ").join("."):"",i=n.tagName.toLowerCase();return n.parentNode&&n.parentNode.tagName&&t-1!=0?e(n.parentNode,t-1)+" > "+i.toLowerCase()+r+o:i+r+o},_=function(){return"object"===("undefined"==typeof window?"undefined":d(window))&&window.document?window:void 0},k=function(){var e=y();try{if(e){var n=window.document.querySelector('meta[name="page-tag"]');if(n){var t=n.getAttribute("content")||"";return P(t,",")}}return{}}catch(e){return{}}},M=function(){for(var e=[],n=0;n<4;n++){var t=Math.floor(256*Math.random());e[n]=(t>15?"":"0")+t.toString(16)}return e.join("")},U=(L=1e3,function(){var e=M(),n=Date.now(),t=L,r=m(1),o=m(4);return L=L+1>1e4?1e3:L+1,e+n+t+r+o}),A=function(e){return e>Math.random()},I=function(e){var n={};return n="undefined"!=typeof PromiseRejectionEvent&&e instanceof PromiseRejectionEvent?function(e){if(e)try{var n="",t=0,r=0,o="",i="";"string"==typeof e?n=e:"object"===c(e.reason)?n=e.reason.message:"string"==typeof e.message&&(n=e.message);var u=e.reason;if("object"===c(u)){if("number"==typeof u.column?(r=u.column,t=u.line):u.stack&&(a=u.stack.match(/at\s+.+:(\d+):(\d+)/))&&(t=a[1],r=a[2]),u.sourceURL)o=u.sourceURL;else if(u.stack){var a;(a=u.stack.match(/at\s+(.+):\d+:\d+/))&&(o=a[1])}u.stack&&(i=u.stack)}return f({message:n,filename:o,lineno:t,colno:r,stack:i,error_type:e.constructor.name})}catch(e){}}(e)||{}:function(e,n,t,r,o){try{return f("string"==typeof e?{message:e,filename:n,lineno:t,colno:r,error:o}:e)}catch(e){}}(e)||{},n};function N(e){return"[object Array]"==={}.toString.call(e)}var R=function(e,n){if(!e)return"";if(!(null==n?void 0:n.length))return e;var t=l(e.split("?"),2),r=t[0],o=t[1],i="?";return-1===(null==e?void 0:e.indexOf("?"))&&-1!==(null==e?void 0:e.indexOf("http"))?e:(-1===(null==e?void 0:e.indexOf("?"))&&(r="",o=e,i=""),"".concat(r).concat(i).concat(function(e,n){if(!e)return"";n=n||[];var t=[];for(var r in e)e.hasOwnProperty(r)&&t.push(r);var o=[];t=t.sort();for(var i=0;i<t.length;++i){for(var u=e[r=t[i]],c=!1,a=0;a<n.length;++a)if(n[a]===r){c=!0;break}c||(u?o.push(r+"="+String(u).slice(0,512)):o.push(r))}return o.join("&")}(function(e){var n={};if("string"!=typeof e)return n;if(!(e=e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"").replace(/^(\?|#|&)/,"")))return n;for(var t=e.split("&"),r=0;r<t.length;++r){var o=t[r].replace(/\+/g," ").split("="),i=o.shift()||"",u=o.length>0?o.join("="):"";n[i]?N(n[i])?n[i].push(u):n[i]=[n[i],u]:n[i]=u}return n}(o),n)))},B=function(e,n){var t=_(),r={};if(t&&"onload"in t){var o=(t.navigator||{}).connection||{};r.url="function"==typeof n.getUrl?n.getUrl():R(h(),e),r.origin_url=R(b(),e),r.referrer=R(document.referrer,e),r.title=document.title,r.hash=w(),r.query=R(S(),e),r.dpr=t.devicePixelRatio||1,r.sr="object"===("undefined"==typeof screen?"undefined":d(screen))&&screen.width+"x"+screen.height||"",r.net_type=o.effectiveType||o.type||""}return r};n.default={shadowMerge:p,getRandomNum:m,uuid:g,ignoreFirstSpecialChara:v,checkWin:y,getUrl:h,getOriginUrl:b,getUrlHash:w,getUrlQuery:S,getSpmAB:T,toQueryParams:E,queryToObj:P,on:x,bindEvent:j,getSendInfo:O,getXPath:C,getWin:_,getPageMetaConfig:k,genRandomIp:M,genTraceId:U,checkSample:A,processError:I,getCommonInfo:B}}]).default},function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.perfKeys=void 0,n.perfKeys=["startTime","unloadEventStart","unloadEventEnd","redirectStart","responseEnd","fetchStart","domainLookupStart","domainLookupEnd","connectStart","secureConnectionStart","connectEnd","requestStart","responseStart","redirectEnd","domInteractive","domContentLoadedEventStart","domContentLoadedEventEnd","domComplete","loadEventStart","loadEventEnd"]}]).default}));