!function(e){function t(t){for(var o,s,i=t[0],u=t[1],c=t[2],g=0,v=[];g<i.length;g++)s=i[g],Object.prototype.hasOwnProperty.call(n,s)&&n[s]&&v.push(n[s][0]),n[s]=0;for(o in u)Object.prototype.hasOwnProperty.call(u,o)&&(e[o]=u[o]);for(l&&l(t);v.length;)v.shift()();return a.push.apply(a,c||[]),r()}function r(){for(var e,t=0;t<a.length;t++){for(var r=a[t],o=!0,i=1;i<r.length;i++){var u=r[i];0!==n[u]&&(o=!1)}o&&(a.splice(t--,1),e=s(s.s=r[0]))}return e}var o={},n={26:0},a=[];function s(t){if(o[t])return o[t].exports;var r=o[t]={i:t,l:!1,exports:{}};return e[t].call(r.exports,r,r.exports,s),r.l=!0,r.exports}s.m=e,s.c=o,s.d=function(e,t,r){s.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},s.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},s.t=function(e,t){if(1&t&&(e=s(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(s.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)s.d(r,o,function(t){return e[t]}.bind(null,o));return r},s.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return s.d(t,"a",t),t},s.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},s.p="./";var i=window.webpackJsonp=window.webpackJsonp||[],u=i.push.bind(i);i.push=t,i=i.slice();for(var c=0;c<i.length;c++)t(i[c]);var l=u;a.push([1249,0]),r()}({100:function(e,t){},101:function(e,t){},102:function(e,t){},1208:function(e,t,r){},1249:function(e,t,r){"use strict";r.r(t);var o=r(6),n=r.n(o),a=r(10),s=r.n(a),i=r(11),u=r.n(i),c=r(12),l=r.n(c),g=r(13),v=r.n(g),d=r(5),f=r.n(d),p=r(14),y=r.n(p),m=(r(1208),r(0)),h=r.n(m),C=r(24),b=r.n(C),w=r(86),T=r(7),L=r(8),S=r(9);function E(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,o)}return r}var P=function(e){function t(e){var r;return s()(this,t),(r=l()(this,v()(t).call(this,e))).initState={name:"",email:"",emailCode:"",password:""},r.state=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?E(r,!0).forEach((function(t){n()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):E(r).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({registerType:0,emailCodeLoading:!1,timeCount:0},r.initState),r.sendAble=!0,r.resetAble=!0,r.resetPwd=r.resetPwd.bind(f()(r)),r}return y()(t,e),u()(t,[{key:"componentDidMount",value:function(){var e=S.a.parseQs().type;this.setState({registerType:1*e})}},{key:"render",value:function(){var e=this,t=this.state,r=t.email,o=t.emailCode,n=t.password,a=t.timeCount,s=t.registerType;return h.a.createElement("div",{className:"resetPwd-container"},h.a.createElement("header",null,h.a.createElement("span",{className:"home-icon",onClick:function(){window.location.href="./home.html"}},h.a.createElement("img",{style:{width:"100%"},src:"/webfunny/logos/logo.png"}))),h.a.createElement("section",{className:"signup-content"},h.a.createElement("h1",null,"重置密码"),h.a.createElement("div",{className:"register account tab-pane fade in active",id:"signupByPhone"},h.a.createElement("div",{className:"input-set phone"},h.a.createElement("span",{className:"input-title"},"邮箱（登录名）"),h.a.createElement("input",{type:"email",placeholder:"请输入邮箱","data-growing-track":"true",maxLength:50,value:r,onChange:function(t){e.setState({email:t.target.value})}}),h.a.createElement("span",{id:"emessage-mobile",className:"emessage"})),1===s?null:h.a.createElement("div",{className:"input-set phone-verif"},h.a.createElement("span",{className:"input-title"},"邮箱验证码"),h.a.createElement("input",{name:"verifyCode",placeholder:"请输入邮箱验证码",style:{width:165},value:o,onChange:function(t){e.setState({emailCode:t.target.value})}}),h.a.createElement("button",{id:"captcha","data-button-clicked":"true",className:a>0?"captcha captcha-phone captcha-disable":"captcha captcha-phone",type:"button",onClick:this.getEmailCode.bind(this)},a>0?"重新发送(".concat(a,"s)"):"获取验证码"),h.a.createElement("span",{id:"emessage-verifyCode",className:"emessage"})),h.a.createElement("div",{className:"input-set phone"},h.a.createElement("span",{className:"input-title"},"新的登录密码"),h.a.createElement("input",{placeholder:"请输入新密码","data-growing-track":"true",maxLength:30,value:n,onChange:function(t){e.setState({password:t.target.value})}}),h.a.createElement("span",{id:"emessage-pwd",className:"emessage"})),h.a.createElement("button",{className:"active login-btn",onClick:this.resetPwd},"重置密码"))))}},{key:"getEmailCode",value:function(){var e=this,t=this.state.email;if(/^[a-zA-Z0-9._-]+@[a-zA-Z0-9_-]+(\.[a-zA-Z0-9_-]+)+$/.test(t)){if(this.sendAble){this.sendAble=!1;var r,o,n=120,a=setInterval((function(){0===n&&(clearInterval(a),e.sendAble=!0),e.setState({timeCount:n}),n--}),1e3);r={email:t},o=function(){w.a.success("验证码已经发送，请注意查收"),e.setState({emailCodeLoading:!1})},T.a.postWithoutToken(L.a.sendRegisterEmail,r).then((function(e){o(e.data)})).catch((function(e){console.error(e)}))}}else w.a.error("请输入正确的邮箱地址！")}},{key:"resetPwd",value:function(){var e=this;if(this.resetAble){var t=this.state,r=t.email,o=t.emailCode,n=t.password;if(/^[a-zA-Z0-9._-]+@[a-zA-Z0-9_-]+(\.[a-zA-Z0-9_-]+)+$/.test(r))if(o)if(n){this.resetAble=!1;var a,s,i,u=S.a.b64EncodeUnicode(n.split("").reverse().join(""));a={email:r,emailCode:o,password:u},s=function(t){0===t.data?(w.a.success("密码重置成功，即将跳转到登录页。",3),setTimeout((function(){window.location.href="./login.html?userEmail="+r+"&password="+n}),5e3)):(w.a.error(h.a.createElement("span",null,t.msg),5),e.resetAble=!0)},i=function(){e.resetAble=!0},T.a.getWithoutToken(L.a.resetPwd,a).then((function(e){s(e)})).catch((function(e){i(),console.error(e)}))}else w.a.error("请输入新密码！");else w.a.error("请输入邮箱验证码！");else w.a.error("请输入正确的邮箱地址！")}}},{key:"registerForAdmin",value:function(){var e=this;if(this.resetAble){var t=this.state,r=t.email,o=t.emailCode,n=t.password;/^[a-zA-Z0-9._-]+@[a-zA-Z0-9_-]+(\.[a-zA-Z0-9_-]+)+$/.test(r)?n?(this.resetAble=!1,(void 0)({name:"管理员",email:r,emailCode:o,password:n,userType:"admin"},(function(t){0===t.data?(w.a.success("管理员账号设置成功。即将跳转到登录页",3),setTimeout((function(){window.location.href="./login.html?userEmail="+r+"&password="+n}),3e3)):(w.a.error(t.msg),e.resetAble=!0)}))):w.a.error("请输入密码！"):w.a.error("请输入正确的邮箱地址！")}}},{key:"goLogin",value:function(){fetch("http://localhost:3000/api/v1/user/list",(function(){}))}}]),t}(m.Component);b.a.render(h.a.createElement(P,null),document.getElementById("app"))},25:function(e,t){var r={apiServerUrl:"default_api_server_url"};e.exports={getApiHost:function(){return r.apiServerUrl}}},57:function(e,t){if(String.prototype.format||(String.prototype.format=function(){var e=this,t=Array.prototype.slice.call(arguments);return e.replace(/(\{(\d+)\})/g,(function(e,r,o){return void 0===t[o]?e:t[o]}))}),!String.prototype.trim){var r=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;String.prototype.trim=function(){return this.replace(r,"")}}Date.prototype.Format||(Date.prototype.Format=function(e){var t=e,r={"M+":this.getMonth()+1,"d+":this.getDate(),"h+":this.getHours(),"m+":this.getMinutes(),"s+":this.getSeconds(),"q+":Math.floor((this.getMonth()+3)/3),S:this.getMilliseconds()};for(var o in/(y+)/.test(t)&&(t=t.replace(RegExp.$1,(this.getFullYear()+"").substr(4-RegExp.$1.length))),r)new RegExp("("+o+")").test(t)&&(t=t.replace(RegExp.$1,1===RegExp.$1.length?r[o]:("00"+r[o]).substr((""+r[o]).length)));return t}),Number.prototype.toFixed=function(e){var t=Math.pow(10,e),r=this*t+.5;return(r=parseInt(r,10)/t)+""}},7:function(e,t,r){"use strict";(function(e){r.d(t,"a",(function(){return v}));var o=r(6),n=r.n(o),a=r(10),s=r.n(a),i=r(11),u=r.n(i),c=r(86),l=r(9);r(87),r(57);function g(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,o)}return r}var v=function(){function t(){s()(this,t)}return u()(t,null,[{key:"get",value:function(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{isHandleResult:!0,isShowLoading:!0},n="GET";r.webMonitorId||(r.webMonitorId=window.localStorage.chooseWebMonitorId);var a=e+l.a.qs(r),s=Object.assign({},{method:n},this.getHeaders());return t.handleFetchData(a,s,o)}},{key:"getWithoutToken",value:function(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{isHandleResult:!0,isShowLoading:!0},n="GET";r.webMonitorId||(r.webMonitorId=window.localStorage.chooseWebMonitorId);var a=e+l.a.qs(r),s=Object.assign({},{method:n});return t.handleFetchData(a,s,o)}},{key:"post",value:function(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{isHandleResult:!0,isShowLoading:!0},n="POST";r.webMonitorId||(r.webMonitorId=window.localStorage.chooseWebMonitorId);var a=JSON.stringify(r),s=Object.assign({},{method:n,body:a},this.getHeaders());return t.handleFetchData(e,s,o)}},{key:"postWithoutToken",value:function(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{isHandleResult:!0,isShowLoading:!0},n="POST";r.webMonitorId||(r.webMonitorId=window.localStorage.chooseWebMonitorId);var a=JSON.stringify(r),s=Object.assign({},{method:n,body:a});return t.handleFetchData(e,s,o)}},{key:"put",value:function(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{isHandleResult:!0,isShowLoading:!0},n="PUT";r.webMonitorId=window.localStorage.chooseWebMonitorId;var a=JSON.stringify(r),s=Object.assign({},{method:n,body:a},this.getHeaders());return t.handleFetchData(e,s,o)}},{key:"handleFetchData",value:function(e,r,o){var a=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?g(r,!0).forEach((function(t){n()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):g(r).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({},r);a.body&&a.body.length>1024&&(a.body=a.body.substr(0,1024)+"...");var s=o.isShowLoading;if(s&&t.showLoading(),o.isFetched=!1,o.isAbort=!1,o.hasOwnProperty("customHead")){var i=o.customHead;r.headers=Object.assign({},r.headers,i)}var u=new Promise((function(n,a){fetch(e,r).then((function(e){o.isAbort||(s&&t.hideLoading(),o.isFetched=!0,e.json().then((function(r){if(401!==r.code)if(e.ok)n(t.handleResult(r,o));else{var s=r.msg;404===e.status&&(s="您访问的内容走丢了…"),c.a.error(s),a(t.handleResult({fetchStatus:"error",netStatus:e.status},o))}else{var i=window.location.href;window.location.href="./login.html?target="+encodeURIComponent(i)}})).catch((function(r){var n=r.name+" "+r.message;a(t.handleResult({fetchStatus:"error",error:n,netStatus:e.status},o))})))})).catch((function(e){var r=e.name+" "+e.message;o.isAbort||(s&&t.hideLoading(),o.isFetched=!0,!0===o.isHandleResult&&console.error("网络开小差了，稍后再试吧",2),a(t.handleResult({fetchStatus:"error",error:r},o)))}))}));return Promise.race([u,t.fetchTimeout(o)])}},{key:"handleResult",value:function(e,t){if(e.status&&!0===t.isHandleResult){var r=e.msg||e.message||"服务器开小差了，稍后再试吧";console.error("".concat(r,"（").concat(e.status,"）"),2)}return e}},{key:"fetchTimeout",value:function(e){var r=e.isShowLoading;return new Promise((function(o,n){setTimeout((function(){e.isFetched||(e.isAbort=!0,r&&t.hideLoading(),console.error("网络开小差了，稍后再试吧",2),n({fetchStatus:"timeout"}))}),e.timeout||3e5)}))}},{key:"getHeaders",value:function(){var e={"access-token":localStorage.webfunny_authorization||"","webfunny-secret-code":localStorage.webfunnySecretCode||""};return Object.assign({},{},{headers:e})}},{key:"showLoading",value:function(){}},{key:"hideLoading",value:function(){}},{key:"wsGet",value:function(e,t,r,o,n,a){if(window.WebSocket=window.WebSocket||window.MozWebSocket,window.WebSocket){var s=new WebSocket(e);s.onmessage=function(e){r&&r(e)},s.onopen=function(r){console.log(e+" 连接成功"),o&&o(r),t&&t(s)},s.onclose=function(t){n&&n(t),s.close(),s=null,console.log(e+" 断开连接")},s.onerror=function(e){console.log(e),a&&a(e)}}else console.error("错误: 浏览器不支持websocket")}},{key:"ajax",value:function(t,r,o,n,a){var s={url:r,type:t,data:JSON.stringify(o),Accept:"*/*",contentType:"application/json;charset=utf-8",dataType:"json",traditional:!0,timeout:1e4,success:function(e,t,r){if(e.code){var o=e.msg||"服务器开小差了，稍后再试吧";return a&&"function"==typeof a&&a(o),void console.error(o)}try{n(e,r)}catch(e){console.error(e)}},error:function(e,t){var r,o="服务繁忙，稍后再试吧";switch(e.status){case 404:o="您访问的内容走丢了…";break;default:switch(t){case"timeout":o="网络开小差了，稍后再试吧";break;case"abort":o="服务繁忙，休息一下再说吧";break;case"error":o="当前服务繁忙，请稍后再试";break;default:o=(r=e.responseText?JSON.parse(e.responseText):{}).msg||(r.error||{}).message||"服务繁忙，稍后再试吧"}}a&&"function"==typeof a&&a(o),console.error(o)}};e.ajax(s)}},{key:"getApiDataFromCache",value:function(e){return"caches"in window?(console.log(window.caches),caches.match(e).then((function(e){return console.log(3,e),e?e.json():null}))):Promise.resolve()}},{key:"getCurrentInfo",value:function(){var e=r(88).verify;localStorage.webfunnySecretCode="webfunny_secret_code";var t=localStorage.webfunny_authorization||"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOiIyNGU0OTgyMC05ZTA4LTExZWItYWI5Ny02NzcwYzZhZjJiMjUiLCJ1c2VyVHlwZSI6InN1cGVyQWRtaW4iLCJlbWFpbE5hbWUiOiJqaWFuZzExMjU3MTJAMTYzLmNvbSIsImlhdCI6MTY0NjgwMTg5NCwiZXhwIjo0NDk4MDAxODk0fQ.BMjBtZUmGxA6FjbEMoxJr5Bi4LYwnkmn29lGT7FMR3s";return e(t,"webfunny-access",(function(e,r){return e&&(console.error("token解析失败：",t),console.error(e)),r}))}},{key:"updateQueryStringParameter",value:function(e,t,r){if(!r&&0!==r)return e;var o=new RegExp("([?&])"+t+"=.*?(&|$)","i"),n=-1!==e.indexOf("?")?"&":"?";return e.match(o)?e.replace(o,"$1"+t+"="+r+"$2"):e+n+t+"="+r}}]),t}()}).call(this,r(16))},8:function(e,t,r){"use strict";var o=r(6),n=r.n(o),a=r(25);function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,o)}return r}var i=r.n(a).a.getApiHost(),u={fixData:i+"/server/fixData",login:i+"/server/login",refreshValidateCode:i+"/server/refreshValidateCode",getValidateCode:i+"/server/getValidateCode",getUserList:i+"/server/getUserList",getUserInfo:i+"/server/getUserInfo",getAllUserInfoForSimple:i+"/server/getAllUserInfoForSimple",getUserListByAdmin:i+"/server/getUserListByAdmin",activeRegisterMember:i+"/server/activeRegisterMember",deleteRegisterMember:i+"/server/deleteRegisterMember",forGetPwd:i+"/server/forGetPwd",pushInfo:i+"/server/pushInfo",updateInfo:i+"/server/updateInfo",jsList:"//www.webfunny.cn/webfunny/manifest.json",sendRegisterEmail:i+"/server/sendRegisterEmail",getRegisterEmailForSupperAdmin:i+"/server/getRegisterEmailForSupperAdmin",register:i+"/server/register",resetPwd:i+"/server/resetPwd",registerCheck:i+"/server/registerCheck",registerForAdmin:i+"/server/registerForAdmin",userList:i+"/server/user/list",projectList:i+"/server/project/list",projectDetail:i+"/server/project/detail",getProjectSimpleDetail:i+"/server/project/simpleDetail",updateStartList:i+"/server/project/updateStartList",updateMonitorCode:i+"/server/project/updateMonitorCode",allProjectList:i+"/server/project/list/all",getProjectDetailList:i+"/server/project/detailList",getProjectInfoInRealTime:i+"/server/project/getProjectInfoInRealTime",getProjectInfoListInRealTime:i+"/server/project/getProjectInfoListInRealTime",openProject:i+"/server/openProject",getTodayFlowDataByTenMin:i+"/server/getTodayFlowDataByTenMin",getTodayFlowData:i+"/server/getTodayFlowData",getErrorInfo:i+"/server/getErrorInfo",getWarningMsg:i+"/server/getWarningMsg",getWarningList:i+"/server/getWarningList",getJsErrorCountByDay:i+"/server/getJavascriptErrorInfoListByDay",getConsoleErrorCountByDay:i+"/server/getConsoleErrorInfoListByDay",getJavascriptErrorCountListByHour:i+"/server/getJavascriptErrorCountListByHour",getJsErrorCountByHour:i+"/server/getJsErrorCountByHour",getJsConsoleErrorCountByHour:i+"/server/getJavascriptConsoleErrorInfoListByHour",getJavascriptErrorSort:i+"/server/getJavascriptErrorSort",getJsErrorSort:i+"/server/getJsErrorSort",getJavascriptErrorSortInfo:i+"/server/getJavascriptErrorSortInfo",getJsErrorSortInfo:i+"/server/getJsErrorSortInfo",getConsoleErrorSort:i+"/server/getConsoleErrorSort",getJavascriptErrorCountByOs:i+"/server/getJavascriptErrorCountByOs",getJavascriptErrorCountByType:i+"/server/getJavascriptErrorCountByType",getJavascriptErrorListByMsg:i+"/server/getJavascriptErrorListByMsg",getJavascriptErrorAboutInfo:i+"/server/getJavascriptErrorAboutInfo",getJsErrorAboutInfo:i+"/server/getJsErrorAboutInfo",getJavascriptErrorStackCode:i+"/server/getJavascriptErrorStackCode",getJavascriptErrorStackCodeForSource:i+"/server/getJavascriptErrorStackCodeForSource",startAnalysisSourceCode:i+"/server/startAnalysisSourceCode",getJavascriptErrorStackCodeForUrl:i+"/server/getJavascriptErrorStackCodeForUrl",getJavascriptErrorListByPage:i+"/server/getJavascriptErrorListByPage",getJsErrorCountByVersion:i+"/server/getJsErrorCountByVersion",getJsErrorVersionSortInfo:i+"/server/getJsErrorVersionSortInfo",createJsErrorHandleList:i+"/server/createJsErrorHandleList",resolveJsErrorInHandleList:i+"/server/resolveJsErrorInHandleList",setIgnoreJavascriptError:i+"/server/ignoreError",ignoreErrorByApplication:i+"/server/ignoreErrorByApplication",searchUserBehaviors:i+"/server/searchCustomerBehaviors",searchCustomerInfo:i+"/server/searchCustomerInfo",getScreenShotInfoListByPage:i+"/server/getScreenShotInfoListByPage",getCustomerCountByTime:i+"/server/getCustomerCountByTime",getPageLoadTimeByDate:i+"/server/getPageLoadTimeByDate",getResourceLoadInfoListByDay:i+"/server/getResourceLoadInfoListByDay",getResourceErrorCountByDay:i+"/server/getResourceErrorCountByDay",getResourceErrorCountByHour:i+"/server/getResourceErrorCountByHour",getHttpErrorCountByHour:i+"/server/getHttpErrorCountByHour",getPageLoadTimeForAll:i+"/server/getPageLoadTimeForAll",getAvgLoadTimeForAllByHour:i+"/server/getAvgLoadTimeForAllByHour",getPageLoadTimeByType:i+"/server/getPageLoadTimeByType",getPageLoadTimeListByUrl:i+"/server/getPageLoadTimeListByUrl",getPageLoadTimePercent:i+"/server/getPageLoadTimePercent",getHttpLoadTimeForAll:i+"/server/getHttpLoadTimeForAll",getHttpLoadTimePercent:i+"/server/getHttpLoadTimePercent",getHttpLoadTimeListByUrl:i+"/server/getHttpLoadTimeListByUrl",getHttpErrorCountByDay:i+"/server/getHttpErrorCountByDay",getHttpErrorListByDay:i+"/server/getHttpErrorListByDay",getHttpErrorListByUrl:i+"/server/getHttpErrorListByUrl",getHttpCountForLoadTimeGroupByDay:i+"/server/getHttpCountForLoadTimeGroupByDay",getHttpUrlCountListByHour:i+"/server/getHttpUrlCountListByHour",getHttpUrlCountForHourByMinutes:i+"/server/getHttpUrlCountForHourByMinutes",getPageCountForLoadTimeGroupByDay:i+"/server/getPageCountForLoadTimeGroupByDay",getPageCountForLoadTimeByDay:i+"/server/getPageCountForLoadTimeByDay",getHttpUrlListForLoadTime:i+"/server/getHttpUrlListForLoadTime",getPageUrlListForLoadTime:i+"/server/getPageUrlListForLoadTime",getHttpUrlUserCount:i+"/server/getHttpUrlUserCount",getDifferentKindAvgLoadTimeListByHour:i+"/server/getDifferentKindAvgLoadTimeListByHour",getDifferentKindAvgLoadTimeByHourForPageUrl:i+"/server/getDifferentKindAvgLoadTimeByHourForPageUrl",getPageUrlUserCount:i+"/server/getPageUrlUserCount",getPagesByHttpUrl:i+"/server/getPagesByHttpUrl",getPageUrlCountListByHour:i+"/server/getPageUrlCountListByHour",getPageUrlCountForHourByMinutes:i+"/server/getPageUrlCountForHourByMinutes",getPvCountByHour:i+"/server/getPvCountByHour",getNewCustomerCountByHour:i+"/server/getNewCustomerCountByHour",getCusLeavePercentByHour:i+"/server/getCusLeavePercentByHour",getInstallCountByHour:i+"/server/getInstallCountByHour",uvCountForMonth:i+"/server/uvCountForMonth",getUvCountByHour:i+"/server/getUvCountByHour",getAliveCusInRealTime:i+"/server/getAliveCusInRealTime",getConcurrencyByMinuteInHour:i+"/server/getConcurrencyByMinuteInHour",getUserCountByHour:i+"/server/getUserCountByHour",getVersionCountOrderByCount:i+"/server/getVersionCountOrderByCount",getCityCountOrderByCount:i+"/server/getCityCountOrderByCount",getCityCountOrderByCountTop20:i+"/server/getCityCountOrderByCountTop20",getDeviceCountOrderByCount:i+"/server/getDeviceCountOrderByCount",getDeviceSizeCountOrderByCount:i+"/server/getDeviceSizeCountOrderByCount",getOsCountOrderByCount:i+"/server/getOsCountOrderByCount",getBrowserNameCountOrderByCount:i+"/server/getBrowserNameCountOrderByCount",getReferrerCountOrderByCount:i+"/server/getReferrerCountOrderByCount",getSimpleUrlCountOrderByCount:i+"/server/getSimpleUrlCountOrderByCount",getProvinceCountBySeconds:i+"/server/getProvinceCountBySeconds",getLocationDataForMap:i+"/server/getLocationDataForMap",getTagsPercent:i+"/server/getTagsPercent",getPvCountBySecond:i+"/server/getPvUvCountBySecond",getPvCountByMinute:i+"/server/getPvCountByMinute",getHttpCountByMinute:i+"/server/getHttpCountByMinute",getJavascriptErrorCountByMinute:i+"/server/getJavascriptErrorCountByMinute",getPvListByPage:i+"/server/getPvListByPage",getPvListTotalCountByTime:i+"/server/getPvListTotalCountByTime",getSevenDaysLeftCount:i+"/server/getSevenDaysLeftCount",getYesterdayLeftPercent:i+"/server/getYesterdayLeftPercent",getStayTimeForEveryDay:i+"/server/getStayTimeForEveryDay",getVideosEvent:i+"/server/getVideosEvent",createConfig:i+"/server/createConfig",changeLogServerStatus:i+"/server/changeLogServerStatus",changeMonitorStatus:i+"/server/changeMonitorStatus",changeLogServerStatusByWebMonitorId:i+"/server/changeLogServerStatusByWebMonitorId",changeWaitCounts:i+"/server/changeWaitCounts",changeSaveDays:i+"/server/changeSaveDays",saveMysqlConfigs:i+"/server/saveMysqlConfigsForNew",getLogServerStatus:i+"/server/getLogServerStatusForNew",getStopWebMonitorIdList:i+"/server/getStopWebMonitorIdList",getTeamList:i+"/server/getTeamList",addTeamMember:i+"/server/addTeamMember",getAllTeamList:i+"/server/getAllTeamList",getTeamMembersByWebMonitorId:i+"/server/getTeamMembersByWebMonitorId",createNewTeam:i+"/server/createNewTeam",deleteTeam:i+"/server/deleteTeam",moveProToTeam:i+"/server/moveProToTeam",updateTeamProjects:i+"/server/updateTeamProjects",setAdmin:i+"/server/setAdmin",resetSuperAdmin:i+"/server/resetSuperAdmin",createNewProject:i+"/server/createNewProject",checkProjectCount:i+"/server/checkProjectCount",getUserTags:i+"/server/getUserTags",saveUserTags:i+"/server/saveUserTags",getProjectConfig:i+"/server/getProjectConfig",saveProjectConfig:i+"/server/saveProjectConfig",deleteProject:i+"/server/deleteProject",sendEmailCode:"//www.webfunny.cn/server/sendEmailCode",getPurchaseCodeDetail:"//www.webfunny.cn/server/getPurchaseCodeDetail",connectUser:i+"/server/connectUser",disconnectUser:i+"/server/disconnectUser",connectUserRecord:i+"/server/connectUserRecord",getDebugInfos:i+"/server/getDebugInfos",getHistoryDebugInfos:i+"/server/getHistoryDebugInfos",getDebugInfosForPage:i+"/server/getDebugInfosForPage",getDebugInfoForLocalInfo:i+"/server/getDebugInfoForLocalInfo",clearLocalInfo:i+"/server/clearLocalInfo",getDebugInfoForVideo:i+"/server/getDebugInfoForVideo",createLocationPointGroup:i+"/server/createLocationPointGroup",getGroupNameList:i+"/server/getGroupNameList",getLocationPointGroupList:i+"/server/getLocationPointGroupList",deleteLocationPointGroup:i+"/server/deleteLocationPointGroup",createLocationPointType:i+"/server/createLocationPointType",getLocationPointTypeList:i+"/server/getLocationPointTypeList",deleteLocationPointType:i+"/server/deleteLocationPointType",locationPointCountForMonth:i+"/server/locationPointCountForMonth",createFunnelType:i+"/server/createFunnelType",getFunnelList:i+"/server/getFunnelList",deleteFunnel:i+"/server/deleteFunnel",getLocationPointForDay:i+"/server/getLocationPointForDay",getFunnelLeftCountForDay:i+"/server/getFunnelLeftCountForDay",getCheckTime:i+"/server/getCheckTime",changeCheckTime:i+"/server/changeCheckTime",getJsErrorConfig:i+"/server/getJsErrorConfig",changeJsErrorConfig:i+"/server/changeJsErrorConfig",getConsoleErrorConfig:i+"/server/getConsoleErrorConfig",changeConsoleErrorConfig:i+"/server/changeConsoleErrorConfig",getHttpErrorConfig:i+"/server/getHttpErrorConfig",changeHttpErrorConfig:i+"/server/changeHttpErrorConfig",getResourceErrorConfig:i+"/server/getResourceErrorConfig",changeResourceErrorConfig:i+"/server/changeResourceErrorConfig",createNewAlarmRule:i+"/server/createNewAlarmRule",getAllAlarmRule:i+"/server/getAllAlarmRule",saveAlarmInfo:i+"/server/saveAlarmInfo",setWebHook:i+"/server/setWebHook",deleteAlarmRule:i+"/server/deleteAlarmRule",getPvUvInRealTimeByMinute:i+"/server/getPvUvInRealTimeByMinute",getHttpInfoInRealTimeByMinute:i+"/server/getHttpInfoInRealTimeByMinute",getErrorInfoInRealTimeByMinute:i+"/server/getErrorInfoInRealTimeByMinute",getInitErrorInfoInRealTimeByTimeSize:i+"/server/getInitErrorInfoInRealTimeByTimeSize",mysqlStatus:i+"/server/mysqlStatus",getSysInfo:i+"/server/getSysInfo",getAllTableList:i+"/server/getAllTableList",createPurchaseCode:i+"/server/createPurchaseCode",checkTableCreateCommand:i+"/server/checkTableCreateCommand",testBehaviors:i+"/server/testBehaviors",upLog:i+"/server/upLog",getMessageByType:i+"/server/getMessageByType",readMessage:i+"/server/readMessage",readAll:i+"/server/readAll",upgradeSystem:i+"/server/upgradeSystem",getTableList:i+"/server/getTableList",dropTable:i+"/server/dropTable",createLogTable:i+"/server/createLogTable",updateTableBySql:i+"/server/updateTableBySql"};t.a=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?s(r,!0).forEach((function(t){n()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):s(r).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({},u)},89:function(e,t){},9:function(e,t,r){"use strict";r.d(t,"a",(function(){return g}));var o=r(35),n=r.n(o),a=r(10),s=r.n(a),i=r(11),u=r.n(i),c=r(6),l=r.n(c),g=function(){function e(){s()(this,e)}return u()(e,null,[{key:"isArray",value:function(e){return"[object Array]"===Object.prototype.toString.call(e)}},{key:"isObject",value:function(e){return"[object Object]"===Object.prototype.toString.call(e)}},{key:"randomNumber",value:function(e,t){return Math.floor(Math.random()*(t-e+1)+e)}},{key:"b64EncodeUnicode",value:function(e){var t=encodeURIComponent(e);return btoa(encodeURIComponent(t).replace(/%([0-9A-F]{2})/g,(function(e,t){return String.fromCharCode("0x"+t)})))}},{key:"b64DecodeUnicodeForHttpLog",value:function(e){try{return decodeURIComponent(decodeURIComponent(atob(e).split("").map((function(e){return"%"+("00"+e.charCodeAt(0).toString(16)).slice(-2)})).join("")))}catch(t){return e}}},{key:"b64DecodeUnicode",value:function(e){try{return decodeURIComponent(decodeURIComponent(atob(e).split("").map((function(e){return"%"+("00"+e.charCodeAt(0).toString(16)).slice(-2)})).join("")))}catch(t){return e}}},{key:"b64DecodeUnicodeWithSpace",value:function(e){if(!e)return"";var t="";try{return t=e.replace(/ /g,"+"),decodeURIComponent(decodeURIComponent(atob(t).split("").map((function(e){return"%"+("00"+e.charCodeAt(0).toString(16)).slice(-2)})).join("")))}catch(e){return t}}},{key:"b64DecodeUnicodeBehavior",value:function(e){if(!e)return"";var t=e.replace(/ /g,"+");try{return decodeURIComponent(decodeURIComponent(atob(t).split("").map((function(e){return"%"+("00"+e.charCodeAt(0).toString(16)).slice(-2)})).join("")))}catch(t){return e}}},{key:"qs",value:function(t,r){var o=[];return function t(r,a){var s=function(n){if(!r.hasOwnProperty(n))return{v:void 0};var s=r[n];e.isArray(s)?s.forEach((function(e){o.push(encodeURIComponent((a?a+".":"")+n+"[]")+"="+encodeURIComponent(e||""))})):e.isObject(s)?t(s,a?a+"."+n:n):o.push(encodeURIComponent((a?a+".":"")+n)+"="+encodeURIComponent(s||""))};for(var i in r){var u=s(i);if("object"===n()(u))return u.v}}(t,""),r&&!t._&&o.push("_="+encodeURIComponent(BUILD_NO)),o.length?"?"+o.join("&"):""}},{key:"parseQs",value:function(){var e=window.location.search,t=e.indexOf("?"),r={};return-1===t||e.substr(t+1).split("&").forEach((function(e){var t=e.split("="),o=decodeURIComponent(t[0]),n=decodeURIComponent(t[1]||""),a=0,s=o.split("."),i=s.length;o=s[i-1];var u=r;if(i>1)for(;a<i-1;a++)u[s[a]]&&CommonTool.isObject(u[s[a]])||(u[s[a]]={}),u=u[s[a]];"[]"!==o.substr(-2)?u[o]=n:u[o=o.substr(0,o.length-2)]?u[o].push(n):u[o]=[n]})),r}},{key:"quickSort",value:function(t){if(t.length<=1)return t;for(var r=Math.floor(t.length/2),o=t.splice(r,1)[0],n=[],a=[],s=0;s<t.length;s++)t[s]<=o?n.push(t[s]):a.push(t[s]);return e.quickSort(n).concat([o],e.quickSort(a))}},{key:"showLoading",value:function(){}},{key:"get24HoursArray",value:function(){for(var e=(new Date).getTime(),t=[],r=0;r<24;r++){var o=new Date(e-60*r*60*1e3).Format("MM-dd hh");t.push(o)}return t}},{key:"getHoursArrayByTimeSize",value:function(t){if(0===t){for(var r=(new Date).getTime()-t*e.DAY_TIME,o=[],n=0;n<=24;n++){var a=r-n*e.HOUR_TIME,s=new Date(a).Format("MM-dd hh");o.push(s)}return o}for(var i=(new Date).getTime()-t*e.DAY_TIME,u=new Date(i).Format("MM-dd"),c=[],l=0;l<24;l++){var g=u+" "+(l<10?"0"+l:l);c.push(g)}return c.reverse()}},{key:"getSevenDaysAgoHoursArrayByTimeSize",value:function(t){if(0===t){for(var r=(new Date).getTime()-(7+t)*e.DAY_TIME,o=[],n=0;n<=24;n++){var a=r-n*e.HOUR_TIME,s=new Date(a).Format("MM-dd hh");o.push(s)}return o}for(var i=(new Date).getTime()-(7+t)*e.DAY_TIME,u=new Date(i).Format("MM-dd"),c=[],l=0;l<24;l++){var g=u+" "+(l<10?"0"+l:l);c.push(g)}return c.reverse()}},{key:"getSevenDaysAgo24HoursArray",value:function(){for(var e=(new Date).getTime()-6048e5,t=[],r=0;r<24;r++){var o=new Date(e-60*r*60*1e3).Format("MM-dd hh");t.push(o)}return t}},{key:"analysisInfoData",value:function(e,t){for(var r=[],o=[],n=0,a=0;a<t.length-1;a++){for(var s=!1,i=0;i<e.length;i++)if(e[i].hour===t[a]){var u=t[a],c=e[i].count;r.push(u),o.push(c),n+=parseInt(e[i].count,10),s=!0;break}!1===s&&(r.push(t[a]),o.push(0))}return{infoTotalCount:n,dateArray:r,infoArray:o,usefulArray:e.filter((function(e){return e.count>0}))}}},{key:"loadJs",value:function(e,t){var r=document.createElement("script");r.async=1,r.onload="function"==typeof t?t:function(){},r.src=e;var o=document.getElementsByTagName("script")[0];o.parentNode.insertBefore(r,o)}},{key:"deepCopy",value:function(e){if(e instanceof Array){for(var t=[],r=0;r<e.length;++r)t[r]=this.deepCopy(e[r]);return t}if(e instanceof Object){var o={};for(var n in e)o[n]=this.deepCopy(e[n]);return o}return e}},{key:"addDays",value:function(e){var t="",r=new Date,o=new Date(r.getTime()+24*e*60*60*1e3),n=o.getFullYear(),a=o.getMonth()+1,s=o.getDate();return t=n+"-",t=a>=10?t+a+"-":t+"0"+a+"-",s>=10?t+=s:t=t+"0"+s,t}},{key:"addMomentDate",value:function(e){var t=new Date,r=new Date(t.getTime()+24*e*60*60*1e3);return[r.getFullYear(),r.getMonth(),r.getDate()]}},{key:"toFixed",value:function(e,t){var r=e,o=Math.pow(10,t);if(r<0)return r=Math.abs(r),-(parseInt(r*o+.5,10)/o);var n=parseInt(r*o+.5,10)/o,a=n,s=n+"";if(-1!==s.indexOf(".")){var i=s.split(".")[0],u=s.split(".")[1];u.length>t&&(u=u.substring(0,2)),a=i+"."+u}return 1*a}},{key:"getCookie",value:function(e){var t,r=new RegExp("(^| )"+e+"=([^;]*)(;|$)");return document.cookie.match(r)?(t=document.cookie.match(r),unescape(t[2])):""}},{key:"setCookie",value:function(e,t,r){var o=new Date;o.setTime(o.getTime()+r);var n=window.location.hostname;document.cookie=e+"="+t+";Path=/;domain="+n+";expires="+o.toGMTString()}},{key:"removeDuplicateForString",value:function(e){var t=e.split(""),r=new Set(t);return Array.from(r).join("")}},{key:"quickSortForObject",value:function(t,r,o,n){if(!(o>n)){for(var a=t[o][r],s=t[o],i=o,u=n;i!==u;){for(;t[u][r]>=a&&u>i;)u--;for(;t[i][r]<=a&&u>i;)i++;if(u>i){var c=t[i];t[i]=t[u],t[u]=c}}t[o]=t[i],t[i]=s,e.quickSortForObject(t,r,o,i-1),e.quickSortForObject(t,r,i+1,n)}}},{key:"handleTimeScope",value:function(e){return Math.floor(((new Date).getTime()-new Date(e+" 00:00:00").getTime())/864e5)}},{key:"calcTimeForZh",value:function(e){var t=(new Date).getTime()-e;return t<6e4?"刚刚":t<36e5?"".concat(Math.floor(t/6e4),"分钟前"):"".concat(t<864e5?Math.floor(t/36e5):Math.floor(t/864e5),"小时前")}},{key:"ajax",value:function(e,t,r,o,n){try{var a=window.XMLHttpRequest?new XMLHttpRequest:new ActiveXObject("Microsoft.XMLHTTP");a.open(e,t,!0),a.setRequestHeader("Content-Type","application/x-www-form-urlencoded"),a.onreadystatechange=function(){if(4===a.readyState){var e={};try{e=a.responseText?JSON.parse(a.responseText):{}}catch(t){console.error(a.responseText),e={}}"function"==typeof o&&o(e)}else"function"==typeof n&&n()},a.onerror=function(){"function"==typeof n&&n()};var s=JSON.stringify(r||{});a.send("data="+s)}catch(e){console.warn(e)}}},{key:"handleTreeData",value:function(t){var r=[];for(var o in t){var a={};if(a.title=o,a.key=o,"object"===n()(t[o]))a.children=e.handleTreeData(t[o]);else if("string"==typeof t[o])a.children=[{title:'"'.concat(t[o],'"'),key:'"'.concat(t[o],'"')}];else if("number"==typeof t[o])a.children=[{title:t[o],key:t[o]}];else if("boolean"==typeof t[o]){var s={};switch(t[o]){case!0:s.title="true",s.key="true";break;case!1:s.title="false",s.key="false"}a.children=[s]}r.push(a)}return r}},{key:"encodeURIFunc",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window.location.href,t={},r=e.indexOf("?"),o=e.substr(r+1);if(-1!==r){var n=o.split("&"),a=!0,s=!1,i=void 0;try{for(var u,c=n[Symbol.iterator]();!(a=(u=c.next()).done);a=!0){var l=u.value,g=l.split("=");t[g[0]]=g[1]}}catch(e){s=!0,i=e}finally{try{a||null==c.return||c.return()}finally{if(s)throw i}}}return t}},{key:"formatTime",value:function(e,t){var r=new Date(e),o=function(e){return(e<10?"0":"")+e};return t.replace(/yyyy|MM|M|dd|d|HH|mm|ss/g,(function(e){switch(e){case"yyyy":return o(r.getFullYear());case"MM":return o(r.getMonth()+1);case"M":return r.getMonth()+1;case"mm":return o(r.getMinutes());case"dd":return o(r.getDate());case"d":return r.getDate();case"HH":return o(r.getHours());case"ss":return o(r.getSeconds());default:return""}}))}},{key:"updateQueryStringParameter",value:function(e,t,r){var o=new RegExp("([?&])"+t+"=.*?(&|$)","i"),n=-1!==e.indexOf("?")?"&":"?";return e.match(o)?e.replace(o,"$1"+t+"="+r+"$2"):e+n+t+"="+r}},{key:"copyContent",value:function(e){var t=document.createElement("input");document.body.appendChild(t),t.setAttribute("value",e),t.select(),document.execCommand("copy")&&document.execCommand("copy"),document.body.removeChild(t)}}]),e}();l()(g,"DAY_TIME",864e5),l()(g,"HOUR_TIME",36e5),l()(g,"handleTime",(function(e,t){var r=1*e,o="";return r<=0?{value:r,unit:""}:("time"===t?(o=r<1e3?"ms":"s",r=r>1e3?g.toFixed(r/1e3,2):g.toFixed(r,2)):"count"===t?r>1e4?(o="万",r=g.toFixed(r/1e4,2)):r>1e3&&(o="千",r=g.toFixed(r/1e3,2)):"percent"===t&&(o="%"),{value:r,unit:o})}))},90:function(e,t){},91:function(e,t){},92:function(e,t){},93:function(e,t){},94:function(e,t){},95:function(e,t){},96:function(e,t){},97:function(e,t){},98:function(e,t){},99:function(e,t){}});