Commit 23f8330d authored by shaochangbin's avatar shaochangbin

拓扑图修改与服务名称修改

parent 38ea9954
package com.yingxin.prms.config;
import com.yingxin.prms.domain.ServiceNameUpdate;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
/**
* 拓扑图服务名称修改对照表
* Created by shao on 2021/7/17.
*/
@Configuration
public class ServiceNameConfig {
@Bean
public List<ServiceNameUpdate> getServiceNameList(){
List<ServiceNameUpdate> snus = new ArrayList<>();
snus.add(new ServiceNameUpdate("公安网用户","公安网用户"));
snus.add(new ServiceNameUpdate("公安网vpn用户","公安网vpn用户"));
snus.add(new ServiceNameUpdate("token核验服务","token核验服务"));
snus.add(new ServiceNameUpdate("token方式接入服务","token方式接入服务"));
snus.add(new ServiceNameUpdate("签名验签接入服务","签名验签接入服务"));
snus.add(new ServiceNameUpdate("签名服务器","签名服务器"));
snus.add(new ServiceNameUpdate("VPN方式接入服务","VPN方式接入服务"));
snus.add(new ServiceNameUpdate("权限核验服务facl","权限核验facl"));
snus.add(new ServiceNameUpdate("mysql","mysql组件"));
snus.add(new ServiceNameUpdate("redis","redis组件"));
snus.add(new ServiceNameUpdate("平台业务权限配置管理服务","业务权限配置"));
snus.add(new ServiceNameUpdate("账户应用管理服务","账户管理服务"));
snus.add(new ServiceNameUpdate("平台业务实时统计服务","业务统计服务"));
snus.add(new ServiceNameUpdate("平台运营管理","平台运营管理"));
snus.add(new ServiceNameUpdate("核心调度服务","核心调度服务"));
snus.add(new ServiceNameUpdate("核心业务区","核心业务区"));
snus.add(new ServiceNameUpdate("身份核查(两张图片)","照片比对(1对1)"));
snus.add(new ServiceNameUpdate("身份核查(身份证号+人脸)","身份核查(人证)"));
snus.add(new ServiceNameUpdate("以图查人(基础库)","实时人员身份识别"));
snus.add(new ServiceNameUpdate("M:N","聚档人员实名化"));
snus.add(new ServiceNameUpdate("以图查人(特殊人员库)","以图查人-专题库"));
snus.add(new ServiceNameUpdate("算法区","算法区"));
snus.add(new ServiceNameUpdate("算法融合调度","算法融合调度"));
snus.add(new ServiceNameUpdate("1比1比对(特征+特征)","人脸识别引擎1"));
snus.add(new ServiceNameUpdate("1比1比对(图片+图片)","人脸识别引擎2"));
snus.add(new ServiceNameUpdate("1比N比对(图片)","人脸识别引擎3"));
snus.add(new ServiceNameUpdate("图片生成特征值","图像质量评估引擎"));
snus.add(new ServiceNameUpdate("1比1比对(图片+特征)","指纹识别引擎"));
snus.add(new ServiceNameUpdate("M比N","虹膜识别引擎"));
snus.add(new ServiceNameUpdate("1比N比对(特征)","OCR识别引擎"));
snus.add(new ServiceNameUpdate("消息队列","算法融合调度"));
snus.add(new ServiceNameUpdate("日志采集服务","日志汇聚服务"));
return snus;
}
@Bean
public Map<String,String> getServiceName(){
Map<String,String> serviceName = new HashMap<>();
serviceName.put("公安网用户","公安网用户");
serviceName.put("公安网vpn用户","公安网vpn用户");
serviceName.put("token核验服务","token核验服务");
serviceName.put("token方式接入服务","token方式接入服务");
serviceName.put("签名验签接入服务","签名验签接入服务");
serviceName.put("签名服务器","签名服务器");
serviceName.put("VPN方式接入服务","VPN方式接入服务");
serviceName.put("权限核验服务facl","权限核验facl");
serviceName.put("mysql","mysql组件");
serviceName.put("redis","redis组件");
serviceName.put("平台业务权限配置管理服务","业务权限配置");
serviceName.put("账户应用管理服务","账户管理服务");
serviceName.put("平台业务实时统计服务","业务统计服务");
serviceName.put("平台运营管理","平台运营管理");
serviceName.put("核心调度服务","核心调度服务");
serviceName.put("核心业务区","核心业务区");
serviceName.put("身份核查(两张图片)","照片比对(1对1)");
serviceName.put("身份核查(身份证号+人脸)","身份核查(人证)");
serviceName.put("以图查人(基础库)","实时人员身份识别");
serviceName.put("M:N","聚档人员实名化");
serviceName.put("以图查人(特殊人员库)","以图查人-专题库");
serviceName.put("算法区","算法区");
serviceName.put("算法融合调度","算法融合调度");
serviceName.put("1比1比对(特征+特征)","人脸识别引擎1");
serviceName.put("1比1比对(图片+图片)","人脸识别引擎2");
serviceName.put("1比N比对(图片)","人脸识别引擎3");
serviceName.put("图片生成特征值","图像质量评估引擎");
serviceName.put("1比1比对(图片+特征)","指纹识别引擎");
serviceName.put("M比N","虹膜识别引擎");
serviceName.put("1比N比对(特征)","OCR识别引擎");
serviceName.put("消息队列","算法融合调度");
serviceName.put("日志采集服务","日志汇聚服务");
//TODO 备份保存
// serviceName.put("公安网用户","公安网用户");
// serviceName.put("公安网vpn用户","公安网vpn用户");
// serviceName.put("token核验服务","token核验服务");
// serviceName.put("token方式接入服务","token方式接入服务");
// serviceName.put("签名验签接入服务","签名验签接入服务");
// serviceName.put("签名服务器","签名服务器");
// serviceName.put("VPN方式接入服务","VPN方式接入服务");
// serviceName.put("权限核验服务facl","权限核验facl");
// serviceName.put("mysql","mysql组件");
// serviceName.put("redis","redis组件");
// serviceName.put("平台业务权限配置管理服务","业务权限配置");
// serviceName.put("账户应用管理服务","账户管理服务");
// serviceName.put("平台业务实时统计服务","业务统计服务");
// serviceName.put("平台运营管理","平台运营管理");
// serviceName.put("核心调度服务","核心调度服务");
// serviceName.put("核心业务区","核心业务区");
// serviceName.put("身份核查(两张图片)","照片比对(1对1)");
// serviceName.put("身份核查(身份证号+人脸)","身份核查(人证)");
// serviceName.put("以图查人(基础库)","实时人员身份识别");
// serviceName.put("M:N","聚档人员实名化");
// serviceName.put("以图查人(特殊人员库)","以图查人-专题库");
// serviceName.put("算法区","算法区");
// serviceName.put("算法融合调度","算法融合调度");
// serviceName.put("1比1比对(特征+特征)","人脸识别引擎1");
// serviceName.put("1比1比对(图片+图片)","人脸识别引擎2");
// serviceName.put("1比N比对(图片)","人脸识别引擎3");
// serviceName.put("图片生成特征值","图像质量评估引擎");
// serviceName.put("1比1比对(图片+特征)","指纹识别引擎");
// serviceName.put("M比N","虹膜识别引擎");
// serviceName.put("1比N比对(特征)","OCR识别引擎");
// serviceName.put("消息队列","算法融合调度");
// serviceName.put("日志采集服务","日志汇聚服务");
return serviceName;
}
}
package com.yingxin.prms.domain;
/**
* Created by shao on 2021/7/18.
*/
public class ServiceNameUpdate {
private String oldServiceName;
private String serviceName;
public ServiceNameUpdate(String oldServiceName, String serviceName) {
this.oldServiceName = oldServiceName;
this.serviceName = serviceName;
}
public String getOldServiceName() {
return oldServiceName;
}
public void setOldServiceName(String oldServiceName) {
this.oldServiceName = oldServiceName;
}
public String getServiceName() {
return serviceName;
}
public void setServiceName(String serviceName) {
this.serviceName = serviceName;
}
@Override
public String toString() {
return "ServiceNameUpdate{" +
"oldServiceName='" + oldServiceName + '\'' +
", serviceName='" + serviceName + '\'' +
'}';
}
}
package com.yingxin.prms.service.business;
import com.yingxin.prms.config.ServiceNameConfig;
import com.yingxin.prms.config.filter.TokenInterceptor;
import com.yingxin.prms.domain.*;
import com.yingxin.prms.dto.*;
......@@ -30,6 +31,9 @@ import java.util.stream.Collectors;
@Service
public class Manager {
@Autowired
ServiceNameConfig serviceNameConfig;
@Value("${ascynTaskThreadPool.clusterStatusPoolSize}")
private int THREADPOOLSIZE;
......@@ -427,12 +431,30 @@ public class Manager {
public Map selectTopology(){
Map count = getErrorCountCluster();
Map total = (Map) count.get("total");
Map error = (Map) count.get("error");
Map<String,String> total = (Map) count.get("total");
Map<String,String> error = (Map) count.get("error");
//修改total集合中服务名称:key的名字参照ServiceNameConfig文件
List<ServiceNameUpdate> lists = serviceNameConfig.getServiceNameList();
for (ServiceNameUpdate snu: lists){
if (total.containsKey(snu.getOldServiceName())){
total.put(snu.getServiceName(),total.remove(snu.getOldServiceName()));
}
}
//修改error集合中服务名称:key的名字参照ServiceNameConfig文件
for (ServiceNameUpdate snu: serviceNameConfig.getServiceNameList()){
if (error.containsKey(snu.getOldServiceName())){
error.put(snu.getServiceName(),error.remove(snu.getOldServiceName()));
}
if (error.containsKey(snu.getOldServiceName()+"msg")){
error.put(snu.getServiceName()+"msg",error.remove(snu.getOldServiceName()+"msg"));
}
}
Map result = new HashMap();
List<FlowNode> flowNodes = flowDao.findNodeAll();
List<FlowLine> flowLines = flowDao.findLineAll();
List<Server_Host_Info> hostInfos = cassandraDao.getClusterBeMonitoredList();
List<TcpFlowLineDto> lineDtos = new ArrayList<>();
List<TcpFlowNodeDto> nodeDtos = new ArrayList<>();
for(FlowNode node : flowNodes){
......@@ -501,6 +523,26 @@ public class Manager {
lineDtos.add(lineDto);
}
result.put("class", "GraphLinksModel");
//修改托普通点的服务名称
// for (int i = 0 ; i < nodeDtos.size() ; i++){
// if (serviceNameConfig.getServiceName().containsKey(nodeDtos.get(i).getServerName())){
// nodeDtos.get(i).setServerName(serviceNameConfig.getServiceName().get(nodeDtos.get(i).getServerName()));
// nodeDtos.get(i).setKey(serviceNameConfig.getServiceName().get(nodeDtos.get(i).getKey()));
// nodeDtos.get(i).setText(serviceNameConfig.getServiceName().get(nodeDtos.get(i).getText()));
// }
// }
//修改拓扑图线的服务名称
// for (int j = 0 ; j < lineDtos.size() ; j++){
// if (serviceNameConfig.getServiceName().containsKey(lineDtos.get(j).getFrom())){
// lineDtos.get(j).setFrom(serviceNameConfig.getServiceName().get(lineDtos.get(j).getFrom()));
// }
// if (serviceNameConfig.getServiceName().containsKey(lineDtos.get(j).getTo())){
// lineDtos.get(j).setTo(serviceNameConfig.getServiceName().get(lineDtos.get(j).getTo()));
// }
// }
result.put("nodeDataArray", nodeDtos);
result.put("linkDataArray", lineDtos);
......@@ -761,16 +803,40 @@ public class Manager {
}
public static void main(String[] args) {
List<String> m = new ArrayList<>();
m.add("a");
m.add("b");
m.add("c");
m.add("d");
m.add("e");
m.add("f");
m = m.subList(1,4);
System.out.println(m);
//测试修改map的key值
Map<String,String> total = new HashMap<>();
Map<String,String> error = new HashMap<>();
total.put("a","1");
total.put("b","2");
total.put("c","3");
error.put("a"+"msg","1");
error.put("b"+"msg","2");
error.put("c"+"msg","3");
System.out.println("############################");
for (String key : total.keySet()) {
System.out.println("Key = " + key);
}
System.out.println("############################");
System.out.println(total.toString());
System.out.println(error.toString());
total.put("d",total.remove("a"));
error.put("d"+"msg",error.remove("a"+"msg"));
System.out.println(total.toString());
System.out.println(error.toString());
//之前的测试内容
// List<String> m = new ArrayList<>();
// m.add("a");
// m.add("b");
// m.add("c");
// m.add("d");
// m.add("e");
// m.add("f");
// m = m.subList(1,4);
// System.out.println(m);
//之前的测试内容
// cassandraDaoStatic.insertServerHostInfo();
// System.out.println("@@@@@@@@@@@@@@@@@@@@");
......
<!DOCTYPE html><html><head><meta charset=utf-8><meta name=viewport content="width=device-width,initial-scale=1"><title>可靠性监控</title><link href=/css/app.1d31a1c7035100f65c74274a164e5af7.css rel=stylesheet></head><body><div id=app></div><script type=text/javascript src=/js/manifest.1766e3c7586055624ca0.js></script><script type=text/javascript src=/js/vendor.26cf44d5f3ca6bde9d6b.js></script><script type=text/javascript src=/js/app.c8744ae46b2551d53ddd.js></script></body></html>
\ No newline at end of file
<!DOCTYPE html><html><head><meta charset=utf-8><meta name=viewport content="width=device-width,initial-scale=1"><title>可靠性监控</title><link href=/css/app.3ffe9405db7dd47eeefe18c6235b5ecd.css rel=stylesheet></head><body><div id=app></div><script type=text/javascript src=/js/manifest.1766e3c7586055624ca0.js></script><script type=text/javascript src=/js/vendor.26cf44d5f3ca6bde9d6b.js></script><script type=text/javascript src=/js/app.2ac41b26cc785b732842.js></script></body></html>
\ No newline at end of file
This diff is collapsed.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
{"version":3,"sources":["webpack:///webpack/bootstrap 5ca137fb5ebcc4efa2b1"],"names":["parentJsonpFunction","window","chunkIds","moreModules","executeModules","moduleId","chunkId","result","i","resolves","length","installedChunks","push","Object","prototype","hasOwnProperty","call","modules","shift","__webpack_require__","s","installedModules","2","exports","module","l","m","c","d","name","getter","o","defineProperty","configurable","enumerable","get","n","__esModule","object","property","p","oe","err","console","error"],"mappings":"aACA,IAAAA,EAAAC,OAAA,aACAA,OAAA,sBAAAC,EAAAC,EAAAC,GAIA,IADA,IAAAC,EAAAC,EAAAC,EAAAC,EAAA,EAAAC,KACQD,EAAAN,EAAAQ,OAAoBF,IAC5BF,EAAAJ,EAAAM,GACAG,EAAAL,IACAG,EAAAG,KAAAD,EAAAL,GAAA,IAEAK,EAAAL,GAAA,EAEA,IAAAD,KAAAF,EACAU,OAAAC,UAAAC,eAAAC,KAAAb,EAAAE,KACAY,EAAAZ,GAAAF,EAAAE,IAIA,IADAL,KAAAE,EAAAC,EAAAC,GACAK,EAAAC,QACAD,EAAAS,OAAAT,GAEA,GAAAL,EACA,IAAAI,EAAA,EAAYA,EAAAJ,EAAAM,OAA2BF,IACvCD,EAAAY,IAAAC,EAAAhB,EAAAI,IAGA,OAAAD,GAIA,IAAAc,KAGAV,GACAW,EAAA,GAIA,SAAAH,EAAAd,GAGA,GAAAgB,EAAAhB,GACA,OAAAgB,EAAAhB,GAAAkB,QAGA,IAAAC,EAAAH,EAAAhB,IACAG,EAAAH,EACAoB,GAAA,EACAF,YAUA,OANAN,EAAAZ,GAAAW,KAAAQ,EAAAD,QAAAC,IAAAD,QAAAJ,GAGAK,EAAAC,GAAA,EAGAD,EAAAD,QAKAJ,EAAAO,EAAAT,EAGAE,EAAAQ,EAAAN,EAGAF,EAAAS,EAAA,SAAAL,EAAAM,EAAAC,GACAX,EAAAY,EAAAR,EAAAM,IACAhB,OAAAmB,eAAAT,EAAAM,GACAI,cAAA,EACAC,YAAA,EACAC,IAAAL,KAMAX,EAAAiB,EAAA,SAAAZ,GACA,IAAAM,EAAAN,KAAAa,WACA,WAA2B,OAAAb,EAAA,SAC3B,WAAiC,OAAAA,GAEjC,OADAL,EAAAS,EAAAE,EAAA,IAAAA,GACAA,GAIAX,EAAAY,EAAA,SAAAO,EAAAC,GAAsD,OAAA1B,OAAAC,UAAAC,eAAAC,KAAAsB,EAAAC,IAGtDpB,EAAAqB,EAAA,IAGArB,EAAAsB,GAAA,SAAAC,GAA8D,MAApBC,QAAAC,MAAAF,GAAoBA","file":"js/manifest.1766e3c7586055624ca0.js","sourcesContent":[" \t// install a JSONP callback for chunk loading\n \tvar parentJsonpFunction = window[\"webpackJsonp\"];\n \twindow[\"webpackJsonp\"] = function webpackJsonpCallback(chunkIds, moreModules, executeModules) {\n \t\t// add \"moreModules\" to the modules object,\n \t\t// then flag all \"chunkIds\" as loaded and fire callback\n \t\tvar moduleId, chunkId, i = 0, resolves = [], result;\n \t\tfor(;i < chunkIds.length; i++) {\n \t\t\tchunkId = chunkIds[i];\n \t\t\tif(installedChunks[chunkId]) {\n \t\t\t\tresolves.push(installedChunks[chunkId][0]);\n \t\t\t}\n \t\t\tinstalledChunks[chunkId] = 0;\n \t\t}\n \t\tfor(moduleId in moreModules) {\n \t\t\tif(Object.prototype.hasOwnProperty.call(moreModules, moduleId)) {\n \t\t\t\tmodules[moduleId] = moreModules[moduleId];\n \t\t\t}\n \t\t}\n \t\tif(parentJsonpFunction) parentJsonpFunction(chunkIds, moreModules, executeModules);\n \t\twhile(resolves.length) {\n \t\t\tresolves.shift()();\n \t\t}\n \t\tif(executeModules) {\n \t\t\tfor(i=0; i < executeModules.length; i++) {\n \t\t\t\tresult = __webpack_require__(__webpack_require__.s = executeModules[i]);\n \t\t\t}\n \t\t}\n \t\treturn result;\n \t};\n\n \t// The module cache\n \tvar installedModules = {};\n\n \t// objects to store loaded and loading chunks\n \tvar installedChunks = {\n \t\t2: 0\n \t};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, {\n \t\t\t\tconfigurable: false,\n \t\t\t\tenumerable: true,\n \t\t\t\tget: getter\n \t\t\t});\n \t\t}\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"/\";\n\n \t// on error function for async loading\n \t__webpack_require__.oe = function(err) { console.error(err); throw err; };\n\n\n\n// WEBPACK FOOTER //\n// webpack/bootstrap 5ca137fb5ebcc4efa2b1"],"sourceRoot":""}
\ No newline at end of file
{"version":3,"sources":["webpack:///webpack/bootstrap bf435c2949ed64949674"],"names":["parentJsonpFunction","window","chunkIds","moreModules","executeModules","moduleId","chunkId","result","i","resolves","length","installedChunks","push","Object","prototype","hasOwnProperty","call","modules","shift","__webpack_require__","s","installedModules","2","exports","module","l","m","c","d","name","getter","o","defineProperty","configurable","enumerable","get","n","__esModule","object","property","p","oe","err","console","error"],"mappings":"aACA,IAAAA,EAAAC,OAAA,aACAA,OAAA,sBAAAC,EAAAC,EAAAC,GAIA,IADA,IAAAC,EAAAC,EAAAC,EAAAC,EAAA,EAAAC,KACQD,EAAAN,EAAAQ,OAAoBF,IAC5BF,EAAAJ,EAAAM,GACAG,EAAAL,IACAG,EAAAG,KAAAD,EAAAL,GAAA,IAEAK,EAAAL,GAAA,EAEA,IAAAD,KAAAF,EACAU,OAAAC,UAAAC,eAAAC,KAAAb,EAAAE,KACAY,EAAAZ,GAAAF,EAAAE,IAIA,IADAL,KAAAE,EAAAC,EAAAC,GACAK,EAAAC,QACAD,EAAAS,OAAAT,GAEA,GAAAL,EACA,IAAAI,EAAA,EAAYA,EAAAJ,EAAAM,OAA2BF,IACvCD,EAAAY,IAAAC,EAAAhB,EAAAI,IAGA,OAAAD,GAIA,IAAAc,KAGAV,GACAW,EAAA,GAIA,SAAAH,EAAAd,GAGA,GAAAgB,EAAAhB,GACA,OAAAgB,EAAAhB,GAAAkB,QAGA,IAAAC,EAAAH,EAAAhB,IACAG,EAAAH,EACAoB,GAAA,EACAF,YAUA,OANAN,EAAAZ,GAAAW,KAAAQ,EAAAD,QAAAC,IAAAD,QAAAJ,GAGAK,EAAAC,GAAA,EAGAD,EAAAD,QAKAJ,EAAAO,EAAAT,EAGAE,EAAAQ,EAAAN,EAGAF,EAAAS,EAAA,SAAAL,EAAAM,EAAAC,GACAX,EAAAY,EAAAR,EAAAM,IACAhB,OAAAmB,eAAAT,EAAAM,GACAI,cAAA,EACAC,YAAA,EACAC,IAAAL,KAMAX,EAAAiB,EAAA,SAAAZ,GACA,IAAAM,EAAAN,KAAAa,WACA,WAA2B,OAAAb,EAAA,SAC3B,WAAiC,OAAAA,GAEjC,OADAL,EAAAS,EAAAE,EAAA,IAAAA,GACAA,GAIAX,EAAAY,EAAA,SAAAO,EAAAC,GAAsD,OAAA1B,OAAAC,UAAAC,eAAAC,KAAAsB,EAAAC,IAGtDpB,EAAAqB,EAAA,IAGArB,EAAAsB,GAAA,SAAAC,GAA8D,MAApBC,QAAAC,MAAAF,GAAoBA","file":"js/manifest.1766e3c7586055624ca0.js","sourcesContent":[" \t// install a JSONP callback for chunk loading\n \tvar parentJsonpFunction = window[\"webpackJsonp\"];\n \twindow[\"webpackJsonp\"] = function webpackJsonpCallback(chunkIds, moreModules, executeModules) {\n \t\t// add \"moreModules\" to the modules object,\n \t\t// then flag all \"chunkIds\" as loaded and fire callback\n \t\tvar moduleId, chunkId, i = 0, resolves = [], result;\n \t\tfor(;i < chunkIds.length; i++) {\n \t\t\tchunkId = chunkIds[i];\n \t\t\tif(installedChunks[chunkId]) {\n \t\t\t\tresolves.push(installedChunks[chunkId][0]);\n \t\t\t}\n \t\t\tinstalledChunks[chunkId] = 0;\n \t\t}\n \t\tfor(moduleId in moreModules) {\n \t\t\tif(Object.prototype.hasOwnProperty.call(moreModules, moduleId)) {\n \t\t\t\tmodules[moduleId] = moreModules[moduleId];\n \t\t\t}\n \t\t}\n \t\tif(parentJsonpFunction) parentJsonpFunction(chunkIds, moreModules, executeModules);\n \t\twhile(resolves.length) {\n \t\t\tresolves.shift()();\n \t\t}\n \t\tif(executeModules) {\n \t\t\tfor(i=0; i < executeModules.length; i++) {\n \t\t\t\tresult = __webpack_require__(__webpack_require__.s = executeModules[i]);\n \t\t\t}\n \t\t}\n \t\treturn result;\n \t};\n\n \t// The module cache\n \tvar installedModules = {};\n\n \t// objects to store loaded and loading chunks\n \tvar installedChunks = {\n \t\t2: 0\n \t};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, {\n \t\t\t\tconfigurable: false,\n \t\t\t\tenumerable: true,\n \t\t\t\tget: getter\n \t\t\t});\n \t\t}\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"/\";\n\n \t// on error function for async loading\n \t__webpack_require__.oe = function(err) { console.error(err); throw err; };\n\n\n\n// WEBPACK FOOTER //\n// webpack/bootstrap bf435c2949ed64949674"],"sourceRoot":""}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment