GET /MONITOR/ims/common/bs-table/css/bootstrap-table.css HTTP/1.1
Host: 172.16.210.84:31600
Connection: keep-alive
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.97 Safari/537.36
Accept: text/css,*/*;q=0.1
Referer: http://172.16.210.84:31600/MONITOR/ims/app/monitor/state_monitor/jsp/state_monitor.jsp
Accept-Encoding: gzip, deflate
Accept-Language: zh-CN,zh;q=0.9,en;q=0.8
Cookie: JSESSIONID=ST-150-cegxGboobdGRs0hbIW71-sgcc.isc.com

HTTP/1.1 200 
X-Application-Context: front-gateway:8001
P3P: CP=CAO PSA OUR
Accept-Ranges: bytes
ETag: W/"7739-1568253466000"
Last-Modified: Thu, 12 Sep 2019 01:57:46 GMT
Date: Tue, 12 Nov 2019 08:37:06 GMT
Content-Type: text/css
Transfer-Encoding: chunked

1e3b
/**
 * @author zhixin wen <wenzhixin2010@gmail.com>
 * version: 1.10.1
 * https://github.com/wenzhixin/bootstrap-table/
 */
.table tbody tr:nth-child(odd){
    background-color: rgba(206, 219, 239, 0.3);
}
.table tbody tr:nth-child(even){
    background-color: #ffffff;
}
.bootstrap-table .table {
    margin-bottom: 0 !important;
   /*  border-bottom: 1px solid #dddddd; */
    border-collapse: collapse !important;
    border-radius: 1px;
	font-size:12px;
	table-layout:fixed; 
	/* border: 1px solid transparent; */
	border:0px;
    background-color: #f8f8f8;
    border-color: #e7e7e7;
}
/*table-layout*/
.bootstrap-table .table:not(.table-condensed),
.bootstrap-table .table:not(.table-condensed) > tbody > tr > th,
.bootstrap-table .table:not(.table-condensed) > tfoot > tr > th,
.bootstrap-table .table:not(.table-condensed) > thead > tr > td,
.bootstrap-table .table:not(.table-condensed) > tbody > tr > td,
.bootstrap-table .table:not(.table-condensed) > tfoot > tr > td {
    padding: 8px 0;
	white-space:nowrap;
    overflow:hidden; 
}

.bootstrap-table .table.table-no-bordered > thead > tr > th,
.bootstrap-table .table.table-no-bordered > tbody > tr > td {
    border-right: 2px solid transparent;
}

.fixed-table-container {
    position: relative;
    clear: both;
    border: #dddddd;
    border-radius: 4px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
}

.fixed-table-container.table-no-bordered {
    border: 1px solid transparent;
}

.fixed-table-footer,
.fixed-table-header {
	background-color:#dfdfdf;
    overflow: hidden;
}

.fixed-table-footer {
    border-top: 1px solid #dddddd;
}

.fixed-table-body {
    overflow-x: auto;
    overflow-y: auto;
    height: 100%; 
}

.fixed-table-container table {
    width: 100%;
}

.fixed-table-container thead th {
    height: 0;
    padding: 0;
    margin: 0;
    border-left: 1px solid #dddddd;
}

.fixed-table-container thead th:focus {
    outline: 0 solid transparent;
}

.fixed-table-container thead th:first-child {
    border-left: none;
    border-top-left-radius: 4px;
    -webkit-border-top-left-radius: 4px;
    -moz-border-radius-topleft: 4px;
}

.fixed-table-container thead th .th-inner,
.fixed-table-container tbody td .th-inner {
    padding: 8px;
    line-height: 19px;
    vertical-align: top;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.fixed-table-container thead th .sortable {
    cursor: pointer;
    background-position: right;
    background-repeat: no-repeat;
    padding-right: 0px;
}

.fixed-table-container thead th .both {
    background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABMAAAATCAQAAADYWf5HAAAAkElEQVQoz7X QMQ5AQBCF4dWQSJxC5wwax1Cq1e7BAdxD5SL+Tq/QCM1oNiJidwox0355mXnG/DrEtIQ6azioNZQxI0ykPhTQIwhCR+BmBYtlK7kLJYwWCcJA9M4qdrZrd8pPjZWPtOqdRQy320YSV17OatFC4euts6z39GYMKRPCTKY9UnPQ6P+GtMRfGtPnBCiqhAeJPmkqAAAAAElFTkSuQmCC');
}

.fixed-table-container thead th .asc {
    background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABMAAAATCAYAAAByUDbMAAAAZ0lEQVQ4y2NgGLKgquEuFxBPAGI2ahhWCsS/gDibUoO0gPgxEP8H4ttArEyuQYxAPBdqEAxPBImTY5gjEL9DM+wTENuQahAvEO9DMwiGdwAxOymGJQLxTyD+jgWDxCMZRsEoGAVoAADeemwtPcZI2wAAAABJRU5ErkJggg==');
}

.fixed-table-container thead th .desc {
    background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABMAAAATCAYAAAByUDbMAAAAZUlEQVQ4y2NgGAWjYBSggaqGu5FA/BOIv2PBIPFEUgxjB+IdQPwfC94HxLykus4GiD+hGfQOiB3J8SojEE9EM2wuSJzcsFMG4ttQgx4DsRalkZENxL+AuJQaMcsGxBOAmGvopk8AVz1sLZgg0bsAAAAASUVORK5CYII= ');
}

.fixed-table-container th.detail {
    width: 30px;
}

.fixed-table-container tbody td {
    border-left: 1px solid #dddddd;
}

.fixed-table-container tbody tr:first-child td {
    border-top: none;
}

.fixed-table-container tbody td:first-child {
    border-left: none;
}

/* the same color with .active */
.fixed-table-container tbody .selected td {
    background-color: #f5f5f5;
}

.fixed-table-container .bs-checkbox {
    text-align: center;
}

.fixed-table-container .bs-checkbox .th-inner {
    padding: 8px 0;
}

.fixed-table-container input[type="radio"],
.fixed-table-container input[type="checkbox"] {
    margin: 0 auto !important;
}

.fixed-table-container .no-records-found {
    text-align: center;
}

.fixed-table-pagination div.pagination,
.fixed-table-pagination .pagination-detail {
    margin-top: 10px;
    margin-bottom: 10px;
}

.fixed-table-pagination div.pagination .pagination {
    margin: 0;
}

.fixed-table-pagination .pagination a {
    padding: 6px 12px;
    line-height: 1.428571429;
}

.fixed-table-pagination .pagination-info {
    line-height: 34px;
    margin-right: 5px;
    font-size: 14px;
}

.fixed-table-pagination .btn-group {
    position: relative;
    display: inline-block;
    vertical-align: middle;
}

.fixed-table-pagination .dropup .dropdown-menu {
    margin-bottom: 0;
}

.fixed-table-pagination .page-list {
    display: inline-block;
    font-size: 14px;
}

.fixed-table-toolbar .columns-left {
    margin-right: 5px;
}

.fixed-table-toolbar .columns-right {
    margin-left: 5px;
}

.fixed-table-toolbar .columns label {
    display: block;
    padding: 3px 20px;
    clear: both;
    font-weight: normal;
    line-height: 1.428571429;
}

.fixed-table-toolbar .bars,
.fixed-table-toolbar .search,
.fixed-table-toolbar .columns {
    position: relative;
    margin-top: 10px;
    margin-bottom: 10px;
    line-height: 34px;
}

.fixed-table-pagination li.disabled a {
    pointer-events: none;
    cursor: default;
}

.fixed-table-loading {
    display: none;
    position: absolute;
    top: 42px;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 99;
    background-color: #fff;
    text-align: center;
}

.fixed-table-body .card-view .title {
    font-weight: bold;
    display: inline-block;
    min-width: 30%;
    text-align: left !important;
}

/* support bootstrap 2 */
.fixed-table-body thead th .th-inner {
    box-sizing: border-box;
}

.table th, .table td {
    vertical-align: middle;
    box-sizing: border-box;
}

.fixed-table-toolbar .dropdown-menu {
    text-align: left;
    max-height: 300px;
    overflow: auto;
}

.fixed-table-toolbar .btn-group > .btn-group {
    display: inline-block;
    margin-left: -1px !important;
}

.fixed-table-toolbar .btn-group > .btn-group > .btn {
    border-radius: 0;
}

.fixed-table-toolbar .btn-group > .btn-group:first-child > .btn {
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
}

.fixed-table-toolbar .btn-group > .btn-group:last-child > .btn {
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
}

.bootstrap-table .table > thead > tr > th {
    vertical-align: bottom;
    border-bottom: 1px solid #ddd;
}

.bootstrap-table .table > thead > tr > th:first-child{
    border-right: 1px solid #ddd;
}

/* support bootstrap 3 */
.bootstrap-table .table thead > tr > th {
    padding: 0;
    margin: 0;
    text-align: center;
}

.bootstrap-table .fixed-table-footer tbody > tr > td {
    padding: 0 !important;
}

.bootstrap-table .fixed-table-footer .table {
    border-bottom: none;
    border-radius: 0;
    padding: 0 !important;
}

.pull-right .dropdown-menu {
    right: 0;
    left: auto;
}

/* calculate scrollbar width */
p.fixed-table-scroll-inner {
    width: 100%;
    height: 200px;
}

div.fixed-table-scroll-outer {
    top: 0;
    left: 0;
    visibility: hidden;
    width: 200px;
    height: 150px;
    overflow: hidden;
}
0

GET /MONITOR/ims/app/main/css/menuPlugin.css HTTP/1.1
Host: 172.16.210.84:31600
Connection: keep-alive
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.97 Safari/537.36
Accept: text/css,*/*;q=0.1
Referer: http://172.16.210.84:31600/MONITOR/ims/app/monitor/state_monitor/jsp/state_monitor.jsp
Accept-Encoding: gzip, deflate
Accept-Language: zh-CN,zh;q=0.9,en;q=0.8
Cookie: JSESSIONID=ST-150-cegxGboobdGRs0hbIW71-sgcc.isc.com

HTTP/1.1 200 
X-Application-Context: front-gateway:8001
P3P: CP=CAO PSA OUR
Accept-Ranges: bytes
ETag: W/"4676-1568253362000"
Last-Modified: Thu, 12 Sep 2019 01:56:02 GMT
Date: Tue, 12 Nov 2019 08:37:06 GMT
Content-Type: text/css
Transfer-Encoding: chunked

1244
html,body,ul{
    margin: 0;
    padding: 0;
    list-style: none;
	font-family:Microsoft YaHei;
}
#main_body_right{
	font-family:Microsoft YaHei;
}
.iconfont{
	margin-top: 12px;
    display: inline-block;
    font-size: 24px;
    color: #cacaca;
}
#menu{
    width: 72px;
    min-height: 620px;
    height: 100%;
    /*padding-top: 15px;*/
    background-color: #1A2B39;
}
#menu-ul{
    position: relative;
}
#menu-ul #slider{
    position: absolute;
    width: 72px;
    height: 73px;
    background-color: #62baff;
}
#menu-ul>li{
    width: 100%;
    height: 73px;
    position: relative;
    background: url("../image/division.png") no-repeat bottom;
}
#menu-ul>li>a{
    display: inline-block;
    width: 100%;
    height: 73px;
    text-align: center;
    text-decoration: none;
}
#menu-ul>li>a:focus{
	outline:none;
}
.menu-p{
    margin: 12px 0 7px 0;
    font-size: 12px;
    color: #ffffff;
}
.menu-icon{
    font-size: 16px;
    transform:scale(0.7);
    -o-transform:scale(0.7);
    -webkit-transform:scale(0.7);
    color: #999;
    float: right;
    margin-top: 0;
    display:inline-block;
}
.all-ul{
    top: 0;
    width: 200px;
    position: absolute;
    padding-left: 20px;
    display: none;
    background-color: #b9d4ec;
    box-shadow: 1px 1px 3px rgba(0,0,0,0.3);
}
.all-ul>li{
    text-indent: 5px;
    line-height: 30px;
    position: relative;
    background-color: #ffffff;
}
.all-ul>li>a{
    width: 100%;
    height: 100%;
    display: block;
    font-size: 12px;
    color: #333333;
    text-decoration: none;
}
.all-ul>li>a:hover{
    background-color: #91C8F6;
    color:#ffffff;
}
.menu-ul-1{
    left: 72px;
}
.menu-ul-2{
    left: 180px;
}
/*��ǰλ�ò˵���ʽ��ʼ*/
#current,#current>li{
	text-indent: 0;
    display: inline-block;
}
.arrow{
    width: 0;
    height: 0;
    top: -6px;
    z-index: 2;
    position: absolute;
    display: none;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-bottom: 5px solid #52b0f8;
}
#current>li>a{
    line-height: 30px;
    display: inline-block;
    color: #555555;
    font-size: 12px;
    text-decoration: underline;
}
#current>li>a:focus{
	outline:none;
}
#current>li:last-child>a{
    text-decoration: none;
}
#current2{
    position: relative;
}
.current-ul:first-child{
    position: relative;
}
.current-ul{
    left: 180px;
}
/*��ǰλ�ò˵���ʽ����*/


/*�����ǳ�С���޸���ʽ*/
#ci-table,#ci-table-two,#process-table,#account-table,#account-cancel-table,#process_table,#ci-cancel-table,#knowledge-table{
	width: 100%;
    display: inline-block;
}
#ci-table .form-inline, #ci-cancel-table .form-inline{
	margin-left:-35px;
}
#ci-table .pagination-detail{
	text-indent: 1em;
}
.tab-content{
	margin-top: 10px;
}
/* #takeBackButId{
	margin-right: 8px;
} */
/*#dict_right .bootstrap-table{*/
    /*padding: 10px;*/
/*}*/
/*
#dict_right #dict_queryTable{
    border: 1px solid #D4CFCF;
    display: inline-block;
    padding: 0;
    border-radius: 4px;
}*/
#dict_right .row{
    margin-top: 20px;
}
#dict_right .row label{
    width:188px;
    float: left;
    margin-top: 5px;
    text-align: right;
}
.input-sm{
    border: 1px solid #D1DADC;
    background: none;
    border-radius: 3px;
    float: left;
    margin-left:18px;
    width:300px;
    height: 36px;
}
.input-sm[disabled]{
	cursor:not-allowed;
}

#dict_right #dictDesc{
    float: left;
    margin-left: 18px;
    width: 300px;
    height: 100px;
    resize: none;
    color: #999999;
    border-radius: 3px;
    background: none;
    border: 1px solid #D1DADC;
}
#dict_right #di_save{
    width: 80px;
    margin-left: 410px;
}
#dict_right #dictDesc:enabled,#dict_right .input-sm:enabled{
    color: #000;
    cursor:auto;
}
textarea:focus,input:focus{
    outline: none;
    animation:flash 0s forwards;
}
@keyframes flash {
    0%{
        border: 1px solid #D1DADC;
        box-shadow: 0 0 0 #5BBFDD;
    }
    100%{
        border:1px solid #5BBFDD;
        box-shadow: 0 0 6px rgba(91, 191, 221, 0.6);
    }
}
.pull-left{
    margin-left: 5px;
}
.pull-right{
    padding-right: 5px;
}
#closeButId_processOpDialog{
    display: none;
}
.sidebar>i,.sidebarS>i{
    color: #FFFFFF;
}
/*
.nomodal .fixed-table-body{
    padding: 5px;
}
.nomodal #user_role_table{
    border: 1px solid #CECECE;
    width: 100%;
    display: inline-block;
    border-radius: 4px;
    padding: 0;
}*/

0

GET /MONITOR/ims/app/monitor/plugin_define/css/kpi_plugin_define.css HTTP/1.1
Host: 172.16.210.84:31600
Connection: keep-alive
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.97 Safari/537.36
Accept: text/css,*/*;q=0.1
Referer: http://172.16.210.84:31600/MONITOR/ims/app/monitor/state_monitor/jsp/state_monitor.jsp
Accept-Encoding: gzip, deflate
Accept-Language: zh-CN,zh;q=0.9,en;q=0.8
Cookie: JSESSIONID=ST-150-cegxGboobdGRs0hbIW71-sgcc.isc.com

HTTP/1.1 200 
X-Application-Context: front-gateway:8001
P3P: CP=CAO PSA OUR
Accept-Ranges: bytes
ETag: W/"1546-1568253446000"
Last-Modified: Thu, 12 Sep 2019 01:57:26 GMT
Date: Tue, 12 Nov 2019 08:37:06 GMT
Content-Type: text/css
Transfer-Encoding: chunked

60a
body{
	background-color:#ffffff;
}
.mt10{
	margin-top: 10px;
}
.mb10{
	margin-bottom: 10px;
}
#quotaDetailHTML_DIV{
	min-height: 300px;
}
.quota-content-title{
	position: relative;
    top: 7px;
    left: 20px;
    padding: 2px;
    border-radius: 2px;
    background: white;
}
.basic-content{
	border: solid 1px #cccccc;
    height: 100px;
    border-radius: 4px;
}
.dynamic-content{
	border: solid 1px #cccccc;
    border-radius: 4px;
    min-height: 100px;
    padding-bottom: 10px;
}
.clearfloat{clear:both;height:0;font-size: 1px;line-height: 0px;margin-top: 10px;} 
.quotaSel{width:200px;}
.quotaInpt{width:200px;}
/* .savePluginParameter{font-size: 16px;} */
/* .savePluginParameter{ */
/* 	position: relative; */
/*     top: -40px; */
/*     left: 80%; */
/*     font-size: 25px; */
/* } */
/* .savePluginParameter:hover, .savePluginParameter:focus{text-decoration: none;} */

.savePluginParameter{
    padding: 2px;
    position: relative;
    top: 10px;
    left: 10px;
}
.table-draw {
	/* border-right:1px solid ; */
	border-bottom:1px solid #eeeeee;
	} 
.table-draw  td{
	border-left:1px solid #eeeeee;
	border-top:1px solid #eeeeee;
	text-align:center;
	height:28px;
	} 
.table-draw td:first-child{
	border-left:0;
}
#drawCircle{
	overflow:hidden;
	background-color:#ffffff;
	border:1px solid #eeeeee;
}
.uploadImgBtn{
    outline: none;
    border:0;
    box-shadow:none;
    padding:0;
    padding-top:4px;
}
#thisIsFileNameForm{
	display: inline-block;
}
0

GET /MONITOR/ims/common/jquery/jquery.min.js HTTP/1.1
Host: 172.16.210.84:31600
Connection: keep-alive
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.97 Safari/537.36
Accept: */*
Referer: http://172.16.210.84:31600/MONITOR/ims/app/monitor/state_monitor/jsp/state_monitor.jsp
Accept-Encoding: gzip, deflate
Accept-Language: zh-CN,zh;q=0.9,en;q=0.8
Cookie: JSESSIONID=ST-150-cegxGboobdGRs0hbIW71-sgcc.isc.com

HTTP/1.1 200 
X-Application-Context: front-gateway:8001
P3P: CP=CAO PSA OUR
Accept-Ranges: bytes
ETag: W/"84355-1568253548000"
Last-Modified: Thu, 12 Sep 2019 01:59:08 GMT
Date: Tue, 12 Nov 2019 08:37:06 GMT
Content-Type: application/javascript
Transfer-Encoding: chunked

2000
/*! jQuery v2.1.3 | (c) 2005, 2014 jQuery Foundation, Inc. | jquery.org/license */
!function(a,b){"object"==typeof module&&"object"==typeof module.exports?module.exports=a.document?b(a,!0):function(a){if(!a.document)throw new Error("jQuery requires a window with a document");return b(a)}:b(a)}("undefined"!=typeof window?window:this,function(a,b){var c=[],d=c.slice,e=c.concat,f=c.push,g=c.indexOf,h={},i=h.toString,j=h.hasOwnProperty,k={},l=a.document,m="2.1.3",n=function(a,b){return new n.fn.init(a,b)},o=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,p=/^-ms-/,q=/-([\da-z])/gi,r=function(a,b){return b.toUpperCase()};n.fn=n.prototype={jquery:m,constructor:n,selector:"",length:0,toArray:function(){return d.call(this)},get:function(a){return null!=a?0>a?this[a+this.length]:this[a]:d.call(this)},pushStack:function(a){var b=n.merge(this.constructor(),a);return b.prevObject=this,b.context=this.context,b},each:function(a,b){return n.each(this,a,b)},map:function(a){return this.pushStack(n.map(this,function(b,c){return a.call(b,c,b)}))},slice:function(){return this.pushStack(d.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(a){var b=this.length,c=+a+(0>a?b:0);return this.pushStack(c>=0&&b>c?[this[c]]:[])},end:function(){return this.prevObject||this.constructor(null)},push:f,sort:c.sort,splice:c.splice},n.extend=n.fn.extend=function(){var a,b,c,d,e,f,g=arguments[0]||{},h=1,i=arguments.length,j=!1;for("boolean"==typeof g&&(j=g,g=arguments[h]||{},h++),"object"==typeof g||n.isFunction(g)||(g={}),h===i&&(g=this,h--);i>h;h++)if(null!=(a=arguments[h]))for(b in a)c=g[b],d=a[b],g!==d&&(j&&d&&(n.isPlainObject(d)||(e=n.isArray(d)))?(e?(e=!1,f=c&&n.isArray(c)?c:[]):f=c&&n.isPlainObject(c)?c:{},g[b]=n.extend(j,f,d)):void 0!==d&&(g[b]=d));return g},n.extend({expando:"jQuery"+(m+Math.random()).replace(/\D/g,""),isReady:!0,error:function(a){throw new Error(a)},noop:function(){},isFunction:function(a){return"function"===n.type(a)},isArray:Array.isArray,isWindow:function(a){return null!=a&&a===a.window},isNumeric:function(a){return!n.isArray(a)&&a-parseFloat(a)+1>=0},isPlainObject:function(a){return"object"!==n.type(a)||a.nodeType||n.isWindow(a)?!1:a.constructor&&!j.call(a.constructor.prototype,"isPrototypeOf")?!1:!0},isEmptyObject:function(a){var b;for(b in a)return!1;return!0},type:function(a){return null==a?a+"":"object"==typeof a||"function"==typeof a?h[i.call(a)]||"object":typeof a},globalEval:function(a){var b,c=eval;a=n.trim(a),a&&(1===a.indexOf("use strict")?(b=l.createElement("script"),b.text=a,l.head.appendChild(b).parentNode.removeChild(b)):c(a))},camelCase:function(a){return a.replace(p,"ms-").replace(q,r)},nodeName:function(a,b){return a.nodeName&&a.nodeName.toLowerCase()===b.toLowerCase()},each:function(a,b,c){var d,e=0,f=a.length,g=s(a);if(c){if(g){for(;f>e;e++)if(d=b.apply(a[e],c),d===!1)break}else for(e in a)if(d=b.apply(a[e],c),d===!1)break}else if(g){for(;f>e;e++)if(d=b.call(a[e],e,a[e]),d===!1)break}else for(e in a)if(d=b.call(a[e],e,a[e]),d===!1)break;return a},trim:function(a){return null==a?"":(a+"").replace(o,"")},makeArray:function(a,b){var c=b||[];return null!=a&&(s(Object(a))?n.merge(c,"string"==typeof a?[a]:a):f.call(c,a)),c},inArray:function(a,b,c){return null==b?-1:g.call(b,a,c)},merge:function(a,b){for(var c=+b.length,d=0,e=a.length;c>d;d++)a[e++]=b[d];return a.length=e,a},grep:function(a,b,c){for(var d,e=[],f=0,g=a.length,h=!c;g>f;f++)d=!b(a[f],f),d!==h&&e.push(a[f]);return e},map:function(a,b,c){var d,f=0,g=a.length,h=s(a),i=[];if(h)for(;g>f;f++)d=b(a[f],f,c),null!=d&&i.push(d);else for(f in a)d=b(a[f],f,c),null!=d&&i.push(d);return e.apply([],i)},guid:1,proxy:function(a,b){var c,e,f;return"string"==typeof b&&(c=a[b],b=a,a=c),n.isFunction(a)?(e=d.call(arguments,2),f=function(){return a.apply(b||this,e.concat(d.call(arguments)))},f.guid=a.guid=a.guid||n.guid++,f):void 0},now:Date.now,support:k}),n.each("Boolean Number String Function Array Date RegExp Object Error".split(" "),function(a,b){h["[object "+b+"]"]=b.toLowerCase()});function s(a){var b=a.length,c=n.type(a);return"function"===c||n.isWindow(a)?!1:1===a.nodeType&&b?!0:"array"===c||0===b||"number"==typeof b&&b>0&&b-1 in a}var t=function(a){var b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u="sizzle"+1*new Date,v=a.document,w=0,x=0,y=hb(),z=hb(),A=hb(),B=function(a,b){return a===b&&(l=!0),0},C=1<<31,D={}.hasOwnProperty,E=[],F=E.pop,G=E.push,H=E.push,I=E.slice,J=function(a,b){for(var c=0,d=a.length;d>c;c++)if(a[c]===b)return c;return-1},K="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",L="[\\x20\\t\\r\\n\\f]",M="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",N=M.replace("w","w#"),O="\\["+L+"*("+M+")(?:"+L+"*([*^$|!~]?=)"+L+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+N+"))|)"+L+"*\\]",P=":("+M+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+O+")*)|.*)\\)|)",Q=new RegExp(L+"+","g"),R=new RegExp("^"+L+"+|((?:^|[^\\\\])(?:\\\\.)*)"+L+"+$","g"),S=new RegExp("^"+L+"*,"+L+"*"),T=new RegExp("^"+L+"*([>+~]|"+L+")"+L+"*"),U=new RegExp("="+L+"*([^\\]'\"]*?)"+L+"*\\]","g"),V=new RegExp(P),W=new RegExp("^"+N+"$"),X={ID:new RegExp("^#("+M+")"),CLASS:new RegExp("^\\.("+M+")"),TAG:new RegExp("^("+M.replace("w","w*")+")"),ATTR:new RegExp("^"+O),PSEUDO:new RegExp("^"+P),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+L+"*(even|odd|(([+-]|)(\\d*)n|)"+L+"*(?:([+-]|)"+L+"*(\\d+)|))"+L+"*\\)|)","i"),bool:new RegExp("^(?:"+K+")$","i"),needsContext:new RegExp("^"+L+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+L+"*((?:-\\d)?\\d*)"+L+"*\\)|)(?=[^-]|$)","i")},Y=/^(?:input|select|textarea|button)$/i,Z=/^h\d$/i,$=/^[^{]+\{\s*\[native \w/,_=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ab=/[+~]/,bb=/'|\\/g,cb=new RegExp("\\\\([\\da-f]{1,6}"+L+"?|("+L+")|.)","ig"),db=function(a,b,c){var d="0x"+b-65536;return d!==d||c?b:0>d?String.fromCharCode(d+65536):String.fromCharCode(d>>10|55296,1023&d|56320)},eb=function(){m()};try{H.apply(E=I.call(v.childNodes),v.childNodes),E[v.childNodes.length].nodeType}catch(fb){H={apply:E.length?function(a,b){G.apply(a,I.call(b))}:function(a,b){var c=a.length,d=0;while(a[c++]=b[d++]);a.length=c-1}}}function gb(a,b,d,e){var f,h,j,k,l,o,r,s,w,x;if((b?b.ownerDocument||b:v)!==n&&m(b),b=b||n,d=d||[],k=b.nodeType,"string"!=typeof a||!a||1!==k&&9!==k&&11!==k)return d;if(!e&&p){if(11!==k&&(f=_.exec(a)))if(j=f[1]){if(9===k){if(h=b.getElementById(j),!h||!h.parentNode)return d;if(h.id===j)return d.push(h),d}else if(b.ownerDocument&&(h=b.ownerDocument.getElementById(j))&&t(b,h)&&h.id===j)return d.push(h),d}else{if(f[2])return H.apply(d,b.getElementsByTagName(a)),d;if((j=f[3])&&c.getElementsByClassName)return H.apply(d,b.getElementsByClassName(j)),d}if(c.qsa&&(!q||!q.test(a))){if(s=r=u,w=b,x=1!==k&&a,1===k&&"object"!==b.nodeName.toLowerCase()){o=g(a),(r=b.getAttribute("id"))?s=r.replace(bb,"\\$&"):b.setAttribute("id",s),s="[id='"+s+"'] ",l=o.length;while(l--)o[l]=s+rb(o[l]);w=ab.test(a)&&pb(b.parentNode)||b,x=o.join(",")}if(x)try{return H.apply(d,w.querySelectorAll(x)),d}catch(y){}finally{r||b.removeAttribute("id")}}}return i(a.replace(R,"$1"),b,d,e)}function hb(){var a=[];function b(c,e){return a.push(c+" ")>d.cacheLength&&delete b[a.shift()],b[c+" "]=e}return b}function ib(a){return a[u]=!0,a}function jb(a){var b=n.createElement("div");try{return!!a(b)}catch(c){return!1}finally{b.parentNode&&b.parentNode.removeChild(b),b=null}}function kb(a,b){var c=a.split("|"),e=a.length;while(e--)d.attrHandle[c[e]]=b}function lb(a,b){var c=b&&a,d=c&&1===a.nodeType&&1===b.nodeType&&(~b.sourceIndex||C)-(~a.sourceIndex||C);if(d)return d;if(c)while(c=c.nextSibling)if(c===b)return-1;return a?1:-1}function mb(a){return function(b){var c=b.nodeName.toLowerCase();return"input"===c&&b.type===a}}function nb(a){return function(b){var c=b.nodeName.toLowerCase();return("input"===c||"button"===c)&&b.type===a}}function ob(a){return ib(function(b){return b=+b,ib(function(c,d){var e,f=a([],c.length,b),g=f.length;while(g--)c[e=f[g]]&&(c[e]=!(d[e]=c[e]))})})}function pb(a){return a&&"undefined"!=typeof a.getElementsByTagName&&a}c=gb.support={},f
2000
=gb.isXML=function(a){var b=a&&(a.ownerDocument||a).documentElement;return b?"HTML"!==b.nodeName:!1},m=gb.setDocument=function(a){var b,e,g=a?a.ownerDocument||a:v;return g!==n&&9===g.nodeType&&g.documentElement?(n=g,o=g.documentElement,e=g.defaultView,e&&e!==e.top&&(e.addEventListener?e.addEventListener("unload",eb,!1):e.attachEvent&&e.attachEvent("onunload",eb)),p=!f(g),c.attributes=jb(function(a){return a.className="i",!a.getAttribute("className")}),c.getElementsByTagName=jb(function(a){return a.appendChild(g.createComment("")),!a.getElementsByTagName("*").length}),c.getElementsByClassName=$.test(g.getElementsByClassName),c.getById=jb(function(a){return o.appendChild(a).id=u,!g.getElementsByName||!g.getElementsByName(u).length}),c.getById?(d.find.ID=function(a,b){if("undefined"!=typeof b.getElementById&&p){var c=b.getElementById(a);return c&&c.parentNode?[c]:[]}},d.filter.ID=function(a){var b=a.replace(cb,db);return function(a){return a.getAttribute("id")===b}}):(delete d.find.ID,d.filter.ID=function(a){var b=a.replace(cb,db);return function(a){var c="undefined"!=typeof a.getAttributeNode&&a.getAttributeNode("id");return c&&c.value===b}}),d.find.TAG=c.getElementsByTagName?function(a,b){return"undefined"!=typeof b.getElementsByTagName?b.getElementsByTagName(a):c.qsa?b.querySelectorAll(a):void 0}:function(a,b){var c,d=[],e=0,f=b.getElementsByTagName(a);if("*"===a){while(c=f[e++])1===c.nodeType&&d.push(c);return d}return f},d.find.CLASS=c.getElementsByClassName&&function(a,b){return p?b.getElementsByClassName(a):void 0},r=[],q=[],(c.qsa=$.test(g.querySelectorAll))&&(jb(function(a){o.appendChild(a).innerHTML="<a id='"+u+"'></a><select id='"+u+"-\f]' msallowcapture=''><option selected=''></option></select>",a.querySelectorAll("[msallowcapture^='']").length&&q.push("[*^$]="+L+"*(?:''|\"\")"),a.querySelectorAll("[selected]").length||q.push("\\["+L+"*(?:value|"+K+")"),a.querySelectorAll("[id~="+u+"-]").length||q.push("~="),a.querySelectorAll(":checked").length||q.push(":checked"),a.querySelectorAll("a#"+u+"+*").length||q.push(".#.+[+~]")}),jb(function(a){var b=g.createElement("input");b.setAttribute("type","hidden"),a.appendChild(b).setAttribute("name","D"),a.querySelectorAll("[name=d]").length&&q.push("name"+L+"*[*^$|!~]?="),a.querySelectorAll(":enabled").length||q.push(":enabled",":disabled"),a.querySelectorAll("*,:x"),q.push(",.*:")})),(c.matchesSelector=$.test(s=o.matches||o.webkitMatchesSelector||o.mozMatchesSelector||o.oMatchesSelector||o.msMatchesSelector))&&jb(function(a){c.disconnectedMatch=s.call(a,"div"),s.call(a,"[s!='']:x"),r.push("!=",P)}),q=q.length&&new RegExp(q.join("|")),r=r.length&&new RegExp(r.join("|")),b=$.test(o.compareDocumentPosition),t=b||$.test(o.contains)?function(a,b){var c=9===a.nodeType?a.documentElement:a,d=b&&b.parentNode;return a===d||!(!d||1!==d.nodeType||!(c.contains?c.contains(d):a.compareDocumentPosition&&16&a.compareDocumentPosition(d)))}:function(a,b){if(b)while(b=b.parentNode)if(b===a)return!0;return!1},B=b?function(a,b){if(a===b)return l=!0,0;var d=!a.compareDocumentPosition-!b.compareDocumentPosition;return d?d:(d=(a.ownerDocument||a)===(b.ownerDocument||b)?a.compareDocumentPosition(b):1,1&d||!c.sortDetached&&b.compareDocumentPosition(a)===d?a===g||a.ownerDocument===v&&t(v,a)?-1:b===g||b.ownerDocument===v&&t(v,b)?1:k?J(k,a)-J(k,b):0:4&d?-1:1)}:function(a,b){if(a===b)return l=!0,0;var c,d=0,e=a.parentNode,f=b.parentNode,h=[a],i=[b];if(!e||!f)return a===g?-1:b===g?1:e?-1:f?1:k?J(k,a)-J(k,b):0;if(e===f)return lb(a,b);c=a;while(c=c.parentNode)h.unshift(c);c=b;while(c=c.parentNode)i.unshift(c);while(h[d]===i[d])d++;return d?lb(h[d],i[d]):h[d]===v?-1:i[d]===v?1:0},g):n},gb.matches=function(a,b){return gb(a,null,null,b)},gb.matchesSelector=function(a,b){if((a.ownerDocument||a)!==n&&m(a),b=b.replace(U,"='$1']"),!(!c.matchesSelector||!p||r&&r.test(b)||q&&q.test(b)))try{var d=s.call(a,b);if(d||c.disconnectedMatch||a.document&&11!==a.document.nodeType)return d}catch(e){}return gb(b,n,null,[a]).length>0},gb.contains=function(a,b){return(a.ownerDocument||a)!==n&&m(a),t(a,b)},gb.attr=function(a,b){(a.ownerDocument||a)!==n&&m(a);var e=d.attrHandle[b.toLowerCase()],f=e&&D.call(d.attrHandle,b.toLowerCase())?e(a,b,!p):void 0;return void 0!==f?f:c.attributes||!p?a.getAttribute(b):(f=a.getAttributeNode(b))&&f.specified?f.value:null},gb.error=function(a){throw new Error("Syntax error, unrecognized expression: "+a)},gb.uniqueSort=function(a){var b,d=[],e=0,f=0;if(l=!c.detectDuplicates,k=!c.sortStable&&a.slice(0),a.sort(B),l){while(b=a[f++])b===a[f]&&(e=d.push(f));while(e--)a.splice(d[e],1)}return k=null,a},e=gb.getText=function(a){var b,c="",d=0,f=a.nodeType;if(f){if(1===f||9===f||11===f){if("string"==typeof a.textContent)return a.textContent;for(a=a.firstChild;a;a=a.nextSibling)c+=e(a)}else if(3===f||4===f)return a.nodeValue}else while(b=a[d++])c+=e(b);return c},d=gb.selectors={cacheLength:50,createPseudo:ib,match:X,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(a){return a[1]=a[1].replace(cb,db),a[3]=(a[3]||a[4]||a[5]||"").replace(cb,db),"~="===a[2]&&(a[3]=" "+a[3]+" "),a.slice(0,4)},CHILD:function(a){return a[1]=a[1].toLowerCase(),"nth"===a[1].slice(0,3)?(a[3]||gb.error(a[0]),a[4]=+(a[4]?a[5]+(a[6]||1):2*("even"===a[3]||"odd"===a[3])),a[5]=+(a[7]+a[8]||"odd"===a[3])):a[3]&&gb.error(a[0]),a},PSEUDO:function(a){var b,c=!a[6]&&a[2];return X.CHILD.test(a[0])?null:(a[3]?a[2]=a[4]||a[5]||"":c&&V.test(c)&&(b=g(c,!0))&&(b=c.indexOf(")",c.length-b)-c.length)&&(a[0]=a[0].slice(0,b),a[2]=c.slice(0,b)),a.slice(0,3))}},filter:{TAG:function(a){var b=a.replace(cb,db).toLowerCase();return"*"===a?function(){return!0}:function(a){return a.nodeName&&a.nodeName.toLowerCase()===b}},CLASS:function(a){var b=y[a+" "];return b||(b=new RegExp("(^|"+L+")"+a+"("+L+"|$)"))&&y(a,function(a){return b.test("string"==typeof a.className&&a.className||"undefined"!=typeof a.getAttribute&&a.getAttribute("class")||"")})},ATTR:function(a,b,c){return function(d){var e=gb.attr(d,a);return null==e?"!="===b:b?(e+="","="===b?e===c:"!="===b?e!==c:"^="===b?c&&0===e.indexOf(c):"*="===b?c&&e.indexOf(c)>-1:"$="===b?c&&e.slice(-c.length)===c:"~="===b?(" "+e.replace(Q," ")+" ").indexOf(c)>-1:"|="===b?e===c||e.slice(0,c.length+1)===c+"-":!1):!0}},CHILD:function(a,b,c,d,e){var f="nth"!==a.slice(0,3),g="last"!==a.slice(-4),h="of-type"===b;return 1===d&&0===e?function(a){return!!a.parentNode}:function(b,c,i){var j,k,l,m,n,o,p=f!==g?"nextSibling":"previousSibling",q=b.parentNode,r=h&&b.nodeName.toLowerCase(),s=!i&&!h;if(q){if(f){while(p){l=b;while(l=l[p])if(h?l.nodeName.toLowerCase()===r:1===l.nodeType)return!1;o=p="only"===a&&!o&&"nextSibling"}return!0}if(o=[g?q.firstChild:q.lastChild],g&&s){k=q[u]||(q[u]={}),j=k[a]||[],n=j[0]===w&&j[1],m=j[0]===w&&j[2],l=n&&q.childNodes[n];while(l=++n&&l&&l[p]||(m=n=0)||o.pop())if(1===l.nodeType&&++m&&l===b){k[a]=[w,n,m];break}}else if(s&&(j=(b[u]||(b[u]={}))[a])&&j[0]===w)m=j[1];else while(l=++n&&l&&l[p]||(m=n=0)||o.pop())if((h?l.nodeName.toLowerCase()===r:1===l.nodeType)&&++m&&(s&&((l[u]||(l[u]={}))[a]=[w,m]),l===b))break;return m-=e,m===d||m%d===0&&m/d>=0}}},PSEUDO:function(a,b){var c,e=d.pseudos[a]||d.setFilters[a.toLowerCase()]||gb.error("unsupported pseudo: "+a);return e[u]?e(b):e.length>1?(c=[a,a,"",b],d.setFilters.hasOwnProperty(a.toLowerCase())?ib(function(a,c){var d,f=e(a,b),g=f.length;while(g--)d=J(a,f[g]),a[d]=!(c[d]=f[g])}):function(a){return e(a,0,c)}):e}},pseudos:{not:ib(function(a){var b=[],c=[],d=h(a.replace(R,"$1"));return d[u]?ib(function(a,b,c,e){var f,g=d(a,null,e,[]),h=a.length;while(h--)(f=g[h])&&(a[h]=!(b[h]=f))}):function(a,e,f){return b[0]=a,d(b,null,f,c),b[0]=null,!c.pop()}}),has:ib(function(a){return function(b){return gb(a,b).length>0}}),contains:ib(function(a){return a=a.replace(cb,db),function(b){return(b.textContent||b.innerText||e(b)).indexOf(a)>-1}}),lang:ib(function(a){return W.test(a||"")||gb.error("unsupported lang: "+a),a=a.replace(cb,db).toLowerCase(),function(b){var c;do if(c=p?b.lang:b.getAttribute("xml:lang")||b.getAttribute("lang"))return c=c.toLowerCase(),c===a||0===
2000
c.indexOf(a+"-");while((b=b.parentNode)&&1===b.nodeType);return!1}}),target:function(b){var c=a.location&&a.location.hash;return c&&c.slice(1)===b.id},root:function(a){return a===o},focus:function(a){return a===n.activeElement&&(!n.hasFocus||n.hasFocus())&&!!(a.type||a.href||~a.tabIndex)},enabled:function(a){return a.disabled===!1},disabled:function(a){return a.disabled===!0},checked:function(a){var b=a.nodeName.toLowerCase();return"input"===b&&!!a.checked||"option"===b&&!!a.selected},selected:function(a){return a.parentNode&&a.parentNode.selectedIndex,a.selected===!0},empty:function(a){for(a=a.firstChild;a;a=a.nextSibling)if(a.nodeType<6)return!1;return!0},parent:function(a){return!d.pseudos.empty(a)},header:function(a){return Z.test(a.nodeName)},input:function(a){return Y.test(a.nodeName)},button:function(a){var b=a.nodeName.toLowerCase();return"input"===b&&"button"===a.type||"button"===b},text:function(a){var b;return"input"===a.nodeName.toLowerCase()&&"text"===a.type&&(null==(b=a.getAttribute("type"))||"text"===b.toLowerCase())},first:ob(function(){return[0]}),last:ob(function(a,b){return[b-1]}),eq:ob(function(a,b,c){return[0>c?c+b:c]}),even:ob(function(a,b){for(var c=0;b>c;c+=2)a.push(c);return a}),odd:ob(function(a,b){for(var c=1;b>c;c+=2)a.push(c);return a}),lt:ob(function(a,b,c){for(var d=0>c?c+b:c;--d>=0;)a.push(d);return a}),gt:ob(function(a,b,c){for(var d=0>c?c+b:c;++d<b;)a.push(d);return a})}},d.pseudos.nth=d.pseudos.eq;for(b in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})d.pseudos[b]=mb(b);for(b in{submit:!0,reset:!0})d.pseudos[b]=nb(b);function qb(){}qb.prototype=d.filters=d.pseudos,d.setFilters=new qb,g=gb.tokenize=function(a,b){var c,e,f,g,h,i,j,k=z[a+" "];if(k)return b?0:k.slice(0);h=a,i=[],j=d.preFilter;while(h){(!c||(e=S.exec(h)))&&(e&&(h=h.slice(e[0].length)||h),i.push(f=[])),c=!1,(e=T.exec(h))&&(c=e.shift(),f.push({value:c,type:e[0].replace(R," ")}),h=h.slice(c.length));for(g in d.filter)!(e=X[g].exec(h))||j[g]&&!(e=j[g](e))||(c=e.shift(),f.push({value:c,type:g,matches:e}),h=h.slice(c.length));if(!c)break}return b?h.length:h?gb.error(a):z(a,i).slice(0)};function rb(a){for(var b=0,c=a.length,d="";c>b;b++)d+=a[b].value;return d}function sb(a,b,c){var d=b.dir,e=c&&"parentNode"===d,f=x++;return b.first?function(b,c,f){while(b=b[d])if(1===b.nodeType||e)return a(b,c,f)}:function(b,c,g){var h,i,j=[w,f];if(g){while(b=b[d])if((1===b.nodeType||e)&&a(b,c,g))return!0}else while(b=b[d])if(1===b.nodeType||e){if(i=b[u]||(b[u]={}),(h=i[d])&&h[0]===w&&h[1]===f)return j[2]=h[2];if(i[d]=j,j[2]=a(b,c,g))return!0}}}function tb(a){return a.length>1?function(b,c,d){var e=a.length;while(e--)if(!a[e](b,c,d))return!1;return!0}:a[0]}function ub(a,b,c){for(var d=0,e=b.length;e>d;d++)gb(a,b[d],c);return c}function vb(a,b,c,d,e){for(var f,g=[],h=0,i=a.length,j=null!=b;i>h;h++)(f=a[h])&&(!c||c(f,d,e))&&(g.push(f),j&&b.push(h));return g}function wb(a,b,c,d,e,f){return d&&!d[u]&&(d=wb(d)),e&&!e[u]&&(e=wb(e,f)),ib(function(f,g,h,i){var j,k,l,m=[],n=[],o=g.length,p=f||ub(b||"*",h.nodeType?[h]:h,[]),q=!a||!f&&b?p:vb(p,m,a,h,i),r=c?e||(f?a:o||d)?[]:g:q;if(c&&c(q,r,h,i),d){j=vb(r,n),d(j,[],h,i),k=j.length;while(k--)(l=j[k])&&(r[n[k]]=!(q[n[k]]=l))}if(f){if(e||a){if(e){j=[],k=r.length;while(k--)(l=r[k])&&j.push(q[k]=l);e(null,r=[],j,i)}k=r.length;while(k--)(l=r[k])&&(j=e?J(f,l):m[k])>-1&&(f[j]=!(g[j]=l))}}else r=vb(r===g?r.splice(o,r.length):r),e?e(null,g,r,i):H.apply(g,r)})}function xb(a){for(var b,c,e,f=a.length,g=d.relative[a[0].type],h=g||d.relative[" "],i=g?1:0,k=sb(function(a){return a===b},h,!0),l=sb(function(a){return J(b,a)>-1},h,!0),m=[function(a,c,d){var e=!g&&(d||c!==j)||((b=c).nodeType?k(a,c,d):l(a,c,d));return b=null,e}];f>i;i++)if(c=d.relative[a[i].type])m=[sb(tb(m),c)];else{if(c=d.filter[a[i].type].apply(null,a[i].matches),c[u]){for(e=++i;f>e;e++)if(d.relative[a[e].type])break;return wb(i>1&&tb(m),i>1&&rb(a.slice(0,i-1).concat({value:" "===a[i-2].type?"*":""})).replace(R,"$1"),c,e>i&&xb(a.slice(i,e)),f>e&&xb(a=a.slice(e)),f>e&&rb(a))}m.push(c)}return tb(m)}function yb(a,b){var c=b.length>0,e=a.length>0,f=function(f,g,h,i,k){var l,m,o,p=0,q="0",r=f&&[],s=[],t=j,u=f||e&&d.find.TAG("*",k),v=w+=null==t?1:Math.random()||.1,x=u.length;for(k&&(j=g!==n&&g);q!==x&&null!=(l=u[q]);q++){if(e&&l){m=0;while(o=a[m++])if(o(l,g,h)){i.push(l);break}k&&(w=v)}c&&((l=!o&&l)&&p--,f&&r.push(l))}if(p+=q,c&&q!==p){m=0;while(o=b[m++])o(r,s,g,h);if(f){if(p>0)while(q--)r[q]||s[q]||(s[q]=F.call(i));s=vb(s)}H.apply(i,s),k&&!f&&s.length>0&&p+b.length>1&&gb.uniqueSort(i)}return k&&(w=v,j=t),r};return c?ib(f):f}return h=gb.compile=function(a,b){var c,d=[],e=[],f=A[a+" "];if(!f){b||(b=g(a)),c=b.length;while(c--)f=xb(b[c]),f[u]?d.push(f):e.push(f);f=A(a,yb(e,d)),f.selector=a}return f},i=gb.select=function(a,b,e,f){var i,j,k,l,m,n="function"==typeof a&&a,o=!f&&g(a=n.selector||a);if(e=e||[],1===o.length){if(j=o[0]=o[0].slice(0),j.length>2&&"ID"===(k=j[0]).type&&c.getById&&9===b.nodeType&&p&&d.relative[j[1].type]){if(b=(d.find.ID(k.matches[0].replace(cb,db),b)||[])[0],!b)return e;n&&(b=b.parentNode),a=a.slice(j.shift().value.length)}i=X.needsContext.test(a)?0:j.length;while(i--){if(k=j[i],d.relative[l=k.type])break;if((m=d.find[l])&&(f=m(k.matches[0].replace(cb,db),ab.test(j[0].type)&&pb(b.parentNode)||b))){if(j.splice(i,1),a=f.length&&rb(j),!a)return H.apply(e,f),e;break}}}return(n||h(a,o))(f,b,!p,e,ab.test(a)&&pb(b.parentNode)||b),e},c.sortStable=u.split("").sort(B).join("")===u,c.detectDuplicates=!!l,m(),c.sortDetached=jb(function(a){return 1&a.compareDocumentPosition(n.createElement("div"))}),jb(function(a){return a.innerHTML="<a href='#'></a>","#"===a.firstChild.getAttribute("href")})||kb("type|href|height|width",function(a,b,c){return c?void 0:a.getAttribute(b,"type"===b.toLowerCase()?1:2)}),c.attributes&&jb(function(a){return a.innerHTML="<input/>",a.firstChild.setAttribute("value",""),""===a.firstChild.getAttribute("value")})||kb("value",function(a,b,c){return c||"input"!==a.nodeName.toLowerCase()?void 0:a.defaultValue}),jb(function(a){return null==a.getAttribute("disabled")})||kb(K,function(a,b,c){var d;return c?void 0:a[b]===!0?b.toLowerCase():(d=a.getAttributeNode(b))&&d.specified?d.value:null}),gb}(a);n.find=t,n.expr=t.selectors,n.expr[":"]=n.expr.pseudos,n.unique=t.uniqueSort,n.text=t.getText,n.isXMLDoc=t.isXML,n.contains=t.contains;var u=n.expr.match.needsContext,v=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,w=/^.[^:#\[\.,]*$/;function x(a,b,c){if(n.isFunction(b))return n.grep(a,function(a,d){return!!b.call(a,d,a)!==c});if(b.nodeType)return n.grep(a,function(a){return a===b!==c});if("string"==typeof b){if(w.test(b))return n.filter(b,a,c);b=n.filter(b,a)}return n.grep(a,function(a){return g.call(b,a)>=0!==c})}n.filter=function(a,b,c){var d=b[0];return c&&(a=":not("+a+")"),1===b.length&&1===d.nodeType?n.find.matchesSelector(d,a)?[d]:[]:n.find.matches(a,n.grep(b,function(a){return 1===a.nodeType}))},n.fn.extend({find:function(a){var b,c=this.length,d=[],e=this;if("string"!=typeof a)return this.pushStack(n(a).filter(function(){for(b=0;c>b;b++)if(n.contains(e[b],this))return!0}));for(b=0;c>b;b++)n.find(a,e[b],d);return d=this.pushStack(c>1?n.unique(d):d),d.selector=this.selector?this.selector+" "+a:a,d},filter:function(a){return this.pushStack(x(this,a||[],!1))},not:function(a){return this.pushStack(x(this,a||[],!0))},is:function(a){return!!x(this,"string"==typeof a&&u.test(a)?n(a):a||[],!1).length}});var y,z=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/,A=n.fn.init=function(a,b){var c,d;if(!a)return this;if("string"==typeof a){if(c="<"===a[0]&&">"===a[a.length-1]&&a.length>=3?[null,a,null]:z.exec(a),!c||!c[1]&&b)return!b||b.jquery?(b||y).find(a):this.constructor(b).find(a);if(c[1]){if(b=b instanceof n?b[0]:b,n.merge(this,n.parseHTML(c[1],b&&b.nodeType?b.ownerDocument||b:l,!0)),v.test(c[1])&&n.isPlainObject(b))for(c in b)n.isFunction(this[c])?this[c](b[c]):this.attr(c,b[c]);return this}return d=l.getElementById(c[2]),d&&d.parentNode&&(this.length=1,this[0]=d),this.context=l,this.selector=a,this}return a.nodeType?(this.context=this[0]=a,this.length=1,this):n.isFunction(a)?"undefined"!=typeof y.ready?y.ready(a):a(n):(void 0!==a.selector&&(this.selector=a.selector,this.context=a.contex
2000
t),n.makeArray(a,this))};A.prototype=n.fn,y=n(l);var B=/^(?:parents|prev(?:Until|All))/,C={children:!0,contents:!0,next:!0,prev:!0};n.extend({dir:function(a,b,c){var d=[],e=void 0!==c;while((a=a[b])&&9!==a.nodeType)if(1===a.nodeType){if(e&&n(a).is(c))break;d.push(a)}return d},sibling:function(a,b){for(var c=[];a;a=a.nextSibling)1===a.nodeType&&a!==b&&c.push(a);return c}}),n.fn.extend({has:function(a){var b=n(a,this),c=b.length;return this.filter(function(){for(var a=0;c>a;a++)if(n.contains(this,b[a]))return!0})},closest:function(a,b){for(var c,d=0,e=this.length,f=[],g=u.test(a)||"string"!=typeof a?n(a,b||this.context):0;e>d;d++)for(c=this[d];c&&c!==b;c=c.parentNode)if(c.nodeType<11&&(g?g.index(c)>-1:1===c.nodeType&&n.find.matchesSelector(c,a))){f.push(c);break}return this.pushStack(f.length>1?n.unique(f):f)},index:function(a){return a?"string"==typeof a?g.call(n(a),this[0]):g.call(this,a.jquery?a[0]:a):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(a,b){return this.pushStack(n.unique(n.merge(this.get(),n(a,b))))},addBack:function(a){return this.add(null==a?this.prevObject:this.prevObject.filter(a))}});function D(a,b){while((a=a[b])&&1!==a.nodeType);return a}n.each({parent:function(a){var b=a.parentNode;return b&&11!==b.nodeType?b:null},parents:function(a){return n.dir(a,"parentNode")},parentsUntil:function(a,b,c){return n.dir(a,"parentNode",c)},next:function(a){return D(a,"nextSibling")},prev:function(a){return D(a,"previousSibling")},nextAll:function(a){return n.dir(a,"nextSibling")},prevAll:function(a){return n.dir(a,"previousSibling")},nextUntil:function(a,b,c){return n.dir(a,"nextSibling",c)},prevUntil:function(a,b,c){return n.dir(a,"previousSibling",c)},siblings:function(a){return n.sibling((a.parentNode||{}).firstChild,a)},children:function(a){return n.sibling(a.firstChild)},contents:function(a){return a.contentDocument||n.merge([],a.childNodes)}},function(a,b){n.fn[a]=function(c,d){var e=n.map(this,b,c);return"Until"!==a.slice(-5)&&(d=c),d&&"string"==typeof d&&(e=n.filter(d,e)),this.length>1&&(C[a]||n.unique(e),B.test(a)&&e.reverse()),this.pushStack(e)}});var E=/\S+/g,F={};function G(a){var b=F[a]={};return n.each(a.match(E)||[],function(a,c){b[c]=!0}),b}n.Callbacks=function(a){a="string"==typeof a?F[a]||G(a):n.extend({},a);var b,c,d,e,f,g,h=[],i=!a.once&&[],j=function(l){for(b=a.memory&&l,c=!0,g=e||0,e=0,f=h.length,d=!0;h&&f>g;g++)if(h[g].apply(l[0],l[1])===!1&&a.stopOnFalse){b=!1;break}d=!1,h&&(i?i.length&&j(i.shift()):b?h=[]:k.disable())},k={add:function(){if(h){var c=h.length;!function g(b){n.each(b,function(b,c){var d=n.type(c);"function"===d?a.unique&&k.has(c)||h.push(c):c&&c.length&&"string"!==d&&g(c)})}(arguments),d?f=h.length:b&&(e=c,j(b))}return this},remove:function(){return h&&n.each(arguments,function(a,b){var c;while((c=n.inArray(b,h,c))>-1)h.splice(c,1),d&&(f>=c&&f--,g>=c&&g--)}),this},has:function(a){return a?n.inArray(a,h)>-1:!(!h||!h.length)},empty:function(){return h=[],f=0,this},disable:function(){return h=i=b=void 0,this},disabled:function(){return!h},lock:function(){return i=void 0,b||k.disable(),this},locked:function(){return!i},fireWith:function(a,b){return!h||c&&!i||(b=b||[],b=[a,b.slice?b.slice():b],d?i.push(b):j(b)),this},fire:function(){return k.fireWith(this,arguments),this},fired:function(){return!!c}};return k},n.extend({Deferred:function(a){var b=[["resolve","done",n.Callbacks("once memory"),"resolved"],["reject","fail",n.Callbacks("once memory"),"rejected"],["notify","progress",n.Callbacks("memory")]],c="pending",d={state:function(){return c},always:function(){return e.done(arguments).fail(arguments),this},then:function(){var a=arguments;return n.Deferred(function(c){n.each(b,function(b,f){var g=n.isFunction(a[b])&&a[b];e[f[1]](function(){var a=g&&g.apply(this,arguments);a&&n.isFunction(a.promise)?a.promise().done(c.resolve).fail(c.reject).progress(c.notify):c[f[0]+"With"](this===d?c.promise():this,g?[a]:arguments)})}),a=null}).promise()},promise:function(a){return null!=a?n.extend(a,d):d}},e={};return d.pipe=d.then,n.each(b,function(a,f){var g=f[2],h=f[3];d[f[1]]=g.add,h&&g.add(function(){c=h},b[1^a][2].disable,b[2][2].lock),e[f[0]]=function(){return e[f[0]+"With"](this===e?d:this,arguments),this},e[f[0]+"With"]=g.fireWith}),d.promise(e),a&&a.call(e,e),e},when:function(a){var b=0,c=d.call(arguments),e=c.length,f=1!==e||a&&n.isFunction(a.promise)?e:0,g=1===f?a:n.Deferred(),h=function(a,b,c){return function(e){b[a]=this,c[a]=arguments.length>1?d.call(arguments):e,c===i?g.notifyWith(b,c):--f||g.resolveWith(b,c)}},i,j,k;if(e>1)for(i=new Array(e),j=new Array(e),k=new Array(e);e>b;b++)c[b]&&n.isFunction(c[b].promise)?c[b].promise().done(h(b,k,c)).fail(g.reject).progress(h(b,j,i)):--f;return f||g.resolveWith(k,c),g.promise()}});var H;n.fn.ready=function(a){return n.ready.promise().done(a),this},n.extend({isReady:!1,readyWait:1,holdReady:function(a){a?n.readyWait++:n.ready(!0)},ready:function(a){(a===!0?--n.readyWait:n.isReady)||(n.isReady=!0,a!==!0&&--n.readyWait>0||(H.resolveWith(l,[n]),n.fn.triggerHandler&&(n(l).triggerHandler("ready"),n(l).off("ready"))))}});function I(){l.removeEventListener("DOMContentLoaded",I,!1),a.removeEventListener("load",I,!1),n.ready()}n.ready.promise=function(b){return H||(H=n.Deferred(),"complete"===l.readyState?setTimeout(n.ready):(l.addEventListener("DOMContentLoaded",I,!1),a.addEventListener("load",I,!1))),H.promise(b)},n.ready.promise();var J=n.access=function(a,b,c,d,e,f,g){var h=0,i=a.length,j=null==c;if("object"===n.type(c)){e=!0;for(h in c)n.access(a,b,h,c[h],!0,f,g)}else if(void 0!==d&&(e=!0,n.isFunction(d)||(g=!0),j&&(g?(b.call(a,d),b=null):(j=b,b=function(a,b,c){return j.call(n(a),c)})),b))for(;i>h;h++)b(a[h],c,g?d:d.call(a[h],h,b(a[h],c)));return e?a:j?b.call(a):i?b(a[0],c):f};n.acceptData=function(a){return 1===a.nodeType||9===a.nodeType||!+a.nodeType};function K(){Object.defineProperty(this.cache={},0,{get:function(){return{}}}),this.expando=n.expando+K.uid++}K.uid=1,K.accepts=n.acceptData,K.prototype={key:function(a){if(!K.accepts(a))return 0;var b={},c=a[this.expando];if(!c){c=K.uid++;try{b[this.expando]={value:c},Object.defineProperties(a,b)}catch(d){b[this.expando]=c,n.extend(a,b)}}return this.cache[c]||(this.cache[c]={}),c},set:function(a,b,c){var d,e=this.key(a),f=this.cache[e];if("string"==typeof b)f[b]=c;else if(n.isEmptyObject(f))n.extend(this.cache[e],b);else for(d in b)f[d]=b[d];return f},get:function(a,b){var c=this.cache[this.key(a)];return void 0===b?c:c[b]},access:function(a,b,c){var d;return void 0===b||b&&"string"==typeof b&&void 0===c?(d=this.get(a,b),void 0!==d?d:this.get(a,n.camelCase(b))):(this.set(a,b,c),void 0!==c?c:b)},remove:function(a,b){var c,d,e,f=this.key(a),g=this.cache[f];if(void 0===b)this.cache[f]={};else{n.isArray(b)?d=b.concat(b.map(n.camelCase)):(e=n.camelCase(b),b in g?d=[b,e]:(d=e,d=d in g?[d]:d.match(E)||[])),c=d.length;while(c--)delete g[d[c]]}},hasData:function(a){return!n.isEmptyObject(this.cache[a[this.expando]]||{})},discard:function(a){a[this.expando]&&delete this.cache[a[this.expando]]}};var L=new K,M=new K,N=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,O=/([A-Z])/g;function P(a,b,c){var d;if(void 0===c&&1===a.nodeType)if(d="data-"+b.replace(O,"-$1").toLowerCase(),c=a.getAttribute(d),"string"==typeof c){try{c="true"===c?!0:"false"===c?!1:"null"===c?null:+c+""===c?+c:N.test(c)?n.parseJSON(c):c}catch(e){}M.set(a,b,c)}else c=void 0;return c}n.extend({hasData:function(a){return M.hasData(a)||L.hasData(a)},data:function(a,b,c){return M.access(a,b,c)
},removeData:function(a,b){M.remove(a,b)},_data:function(a,b,c){return L.access(a,b,c)},_removeData:function(a,b){L.remove(a,b)}}),n.fn.extend({data:function(a,b){var c,d,e,f=this[0],g=f&&f.attributes;if(void 0===a){if(this.length&&(e=M.get(f),1===f.nodeType&&!L.get(f,"hasDataAttrs"))){c=g.length;while(c--)g[c]&&(d=g[c].name,0===d.indexOf("data-")&&(d=n.camelCase(d.slice(5)),P(f,d,e[d])));L.set(f,"hasDataAttrs",!0)}return e}return"object"==typeof a?this.each(function(){M.set(this,a)}):J(this,function(b){var c,d=n.camelCase(a);if(f&&void 0===b){if(c=M.get(f,a),void 0!==c)return c;if(c=M.get(f,d),void 0!==c)return c;if(c=P(f,d,void 0),void 0!==c)return c}else t
2000
his.each(function(){var c=M.get(this,d);M.set(this,d,b),-1!==a.indexOf("-")&&void 0!==c&&M.set(this,a,b)})},null,b,arguments.length>1,null,!0)},removeData:function(a){return this.each(function(){M.remove(this,a)})}}),n.extend({queue:function(a,b,c){var d;return a?(b=(b||"fx")+"queue",d=L.get(a,b),c&&(!d||n.isArray(c)?d=L.access(a,b,n.makeArray(c)):d.push(c)),d||[]):void 0},dequeue:function(a,b){b=b||"fx";var c=n.queue(a,b),d=c.length,e=c.shift(),f=n._queueHooks(a,b),g=function(){n.dequeue(a,b)};"inprogress"===e&&(e=c.shift(),d--),e&&("fx"===b&&c.unshift("inprogress"),delete f.stop,e.call(a,g,f)),!d&&f&&f.empty.fire()},_queueHooks:function(a,b){var c=b+"queueHooks";return L.get(a,c)||L.access(a,c,{empty:n.Callbacks("once memory").add(function(){L.remove(a,[b+"queue",c])})})}}),n.fn.extend({queue:function(a,b){var c=2;return"string"!=typeof a&&(b=a,a="fx",c--),arguments.length<c?n.queue(this[0],a):void 0===b?this:this.each(function(){var c=n.queue(this,a,b);n._queueHooks(this,a),"fx"===a&&"inprogress"!==c[0]&&n.dequeue(this,a)})},dequeue:function(a){return this.each(function(){n.dequeue(this,a)})},clearQueue:function(a){return this.queue(a||"fx",[])},promise:function(a,b){var c,d=1,e=n.Deferred(),f=this,g=this.length,h=function(){--d||e.resolveWith(f,[f])};"string"!=typeof a&&(b=a,a=void 0),a=a||"fx";while(g--)c=L.get(f[g],a+"queueHooks"),c&&c.empty&&(d++,c.empty.add(h));return h(),e.promise(b)}});var Q=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,R=["Top","Right","Bottom","Left"],S=function(a,b){return a=b||a,"none"===n.css(a,"display")||!n.contains(a.ownerDocument,a)},T=/^(?:checkbox|radio)$/i;!function(){var a=l.createDocumentFragment(),b=a.appendChild(l.createElement("div")),c=l.createElement("input");c.setAttribute("type","radio"),c.setAttribute("checked","checked"),c.setAttribute("name","t"),b.appendChild(c),k.checkClone=b.cloneNode(!0).cloneNode(!0).lastChild.checked,b.innerHTML="<textarea>x</textarea>",k.noCloneChecked=!!b.cloneNode(!0).lastChild.defaultValue}();var U="undefined";k.focusinBubbles="onfocusin"in a;var V=/^key/,W=/^(?:mouse|pointer|contextmenu)|click/,X=/^(?:focusinfocus|focusoutblur)$/,Y=/^([^.]*)(?:\.(.+)|)$/;function Z(){return!0}function $(){return!1}function _(){try{return l.activeElement}catch(a){}}n.event={global:{},add:function(a,b,c,d,e){var f,g,h,i,j,k,l,m,o,p,q,r=L.get(a);if(r){c.handler&&(f=c,c=f.handler,e=f.selector),c.guid||(c.guid=n.guid++),(i=r.events)||(i=r.events={}),(g=r.handle)||(g=r.handle=function(b){return typeof n!==U&&n.event.triggered!==b.type?n.event.dispatch.apply(a,arguments):void 0}),b=(b||"").match(E)||[""],j=b.length;while(j--)h=Y.exec(b[j])||[],o=q=h[1],p=(h[2]||"").split(".").sort(),o&&(l=n.event.special[o]||{},o=(e?l.delegateType:l.bindType)||o,l=n.event.special[o]||{},k=n.extend({type:o,origType:q,data:d,handler:c,guid:c.guid,selector:e,needsContext:e&&n.expr.match.needsContext.test(e),namespace:p.join(".")},f),(m=i[o])||(m=i[o]=[],m.delegateCount=0,l.setup&&l.setup.call(a,d,p,g)!==!1||a.addEventListener&&a.addEventListener(o,g,!1)),l.add&&(l.add.call(a,k),k.handler.guid||(k.handler.guid=c.guid)),e?m.splice(m.delegateCount++,0,k):m.push(k),n.event.global[o]=!0)}},remove:function(a,b,c,d,e){var f,g,h,i,j,k,l,m,o,p,q,r=L.hasData(a)&&L.get(a);if(r&&(i=r.events)){b=(b||"").match(E)||[""],j=b.length;while(j--)if(h=Y.exec(b[j])||[],o=q=h[1],p=(h[2]||"").split(".").sort(),o){l=n.event.special[o]||{},o=(d?l.delegateType:l.bindType)||o,m=i[o]||[],h=h[2]&&new RegExp("(^|\\.)"+p.join("\\.(?:.*\\.|)")+"(\\.|$)"),g=f=m.length;while(f--)k=m[f],!e&&q!==k.origType||c&&c.guid!==k.guid||h&&!h.test(k.namespace)||d&&d!==k.selector&&("**"!==d||!k.selector)||(m.splice(f,1),k.selector&&m.delegateCount--,l.remove&&l.remove.call(a,k));g&&!m.length&&(l.teardown&&l.teardown.call(a,p,r.handle)!==!1||n.removeEvent(a,o,r.handle),delete i[o])}else for(o in i)n.event.remove(a,o+b[j],c,d,!0);n.isEmptyObject(i)&&(delete r.handle,L.remove(a,"events"))}},trigger:function(b,c,d,e){var f,g,h,i,k,m,o,p=[d||l],q=j.call(b,"type")?b.type:b,r=j.call(b,"namespace")?b.namespace.split("."):[];if(g=h=d=d||l,3!==d.nodeType&&8!==d.nodeType&&!X.test(q+n.event.triggered)&&(q.indexOf(".")>=0&&(r=q.split("."),q=r.shift(),r.sort()),k=q.indexOf(":")<0&&"on"+q,b=b[n.expando]?b:new n.Event(q,"object"==typeof b&&b),b.isTrigger=e?2:3,b.namespace=r.join("."),b.namespace_re=b.namespace?new RegExp("(^|\\.)"+r.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,b.result=void 0,b.target||(b.target=d),c=null==c?[b]:n.makeArray(c,[b]),o=n.event.special[q]||{},e||!o.trigger||o.trigger.apply(d,c)!==!1)){if(!e&&!o.noBubble&&!n.isWindow(d)){for(i=o.delegateType||q,X.test(i+q)||(g=g.parentNode);g;g=g.parentNode)p.push(g),h=g;h===(d.ownerDocument||l)&&p.push(h.defaultView||h.parentWindow||a)}f=0;while((g=p[f++])&&!b.isPropagationStopped())b.type=f>1?i:o.bindType||q,m=(L.get(g,"events")||{})[b.type]&&L.get(g,"handle"),m&&m.apply(g,c),m=k&&g[k],m&&m.apply&&n.acceptData(g)&&(b.result=m.apply(g,c),b.result===!1&&b.preventDefault());return b.type=q,e||b.isDefaultPrevented()||o._default&&o._default.apply(p.pop(),c)!==!1||!n.acceptData(d)||k&&n.isFunction(d[q])&&!n.isWindow(d)&&(h=d[k],h&&(d[k]=null),n.event.triggered=q,d[q](),n.event.triggered=void 0,h&&(d[k]=h)),b.result}},dispatch:function(a){a=n.event.fix(a);var b,c,e,f,g,h=[],i=d.call(arguments),j=(L.get(this,"events")||{})[a.type]||[],k=n.event.special[a.type]||{};if(i[0]=a,a.delegateTarget=this,!k.preDispatch||k.preDispatch.call(this,a)!==!1){h=n.event.handlers.call(this,a,j),b=0;while((f=h[b++])&&!a.isPropagationStopped()){a.currentTarget=f.elem,c=0;while((g=f.handlers[c++])&&!a.isImmediatePropagationStopped())(!a.namespace_re||a.namespace_re.test(g.namespace))&&(a.handleObj=g,a.data=g.data,e=((n.event.special[g.origType]||{}).handle||g.handler).apply(f.elem,i),void 0!==e&&(a.result=e)===!1&&(a.preventDefault(),a.stopPropagation()))}return k.postDispatch&&k.postDispatch.call(this,a),a.result}},handlers:function(a,b){var c,d,e,f,g=[],h=b.delegateCount,i=a.target;if(h&&i.nodeType&&(!a.button||"click"!==a.type))for(;i!==this;i=i.parentNode||this)if(i.disabled!==!0||"click"!==a.type){for(d=[],c=0;h>c;c++)f=b[c],e=f.selector+" ",void 0===d[e]&&(d[e]=f.needsContext?n(e,this).index(i)>=0:n.find(e,this,null,[i]).length),d[e]&&d.push(f);d.length&&g.push({elem:i,handlers:d})}return h<b.length&&g.push({elem:this,handlers:b.slice(h)}),g},props:"altKey bubbles cancelable ctrlKey currentTarget eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),fixHooks:{},keyHooks:{props:"char charCode key keyCode".split(" "),filter:function(a,b){return null==a.which&&(a.which=null!=b.charCode?b.charCode:b.keyCode),a}},mouseHooks:{props:"button buttons clientX clientY offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(a,b){var c,d,e,f=b.button;return null==a.pageX&&null!=b.clientX&&(c=a.target.ownerDocument||l,d=c.documentElement,e=c.body,a.pageX=b.clientX+(d&&d.scrollLeft||e&&e.scrollLeft||0)-(d&&d.clientLeft||e&&e.clientLeft||0),a.pageY=b.clientY+(d&&d.scrollTop||e&&e.scrollTop||0)-(d&&d.clientTop||e&&e.clientTop||0)),a.which||void 0===f||(a.which=1&f?1:2&f?3:4&f?2:0),a}},fix:function(a){if(a[n.expando])return a;var b,c,d,e=a.type,f=a,g=this.fixHooks[e];g||(this.fixHooks[e]=g=W.test(e)?this.mouseHooks:V.test(e)?this.keyHooks:{}),d=g.props?this.props.concat(g.props):this.props,a=new n.Event(f),b=d.length;while(b--)c=d[b],a[c]=f[c];return a.target||(a.target=l),3===a.target.nodeType&&(a.target=a.target.parentNode),g.filter?g.filter(a,f):a},special:{load:{noBubble:!0},focus:{trigger:function(){return this!==_()&&this.focus?(this.focus(),!1):void 0},delegateType:"focusin"},blur:{trigger:function(){return this===_()&&this.blur?(this.blur(),!1):void 0},delegateType:"focusout"},click:{trigger:function(){return"checkbox"===this.type&&this.click&&n.nodeName(this,"input")?(this.click(),!1):void 0},_default:function(a){return n.nodeName(a.target,"a")}},beforeunload:{postDispatch:function(a){void 0!==a.result&&a.originalEvent&&(a.originalEvent.returnValue=a.result)}}},simulate:function(a,b,c,d){var e=n.extend(new n.Event,c,{type:a,isSimulated:!0,originalEvent:{}});d?n.event.trigger(e,null,b):n.
2000
event.dispatch.call(b,e),e.isDefaultPrevented()&&c.preventDefault()}},n.removeEvent=function(a,b,c){a.removeEventListener&&a.removeEventListener(b,c,!1)},n.Event=function(a,b){return this instanceof n.Event?(a&&a.type?(this.originalEvent=a,this.type=a.type,this.isDefaultPrevented=a.defaultPrevented||void 0===a.defaultPrevented&&a.returnValue===!1?Z:$):this.type=a,b&&n.extend(this,b),this.timeStamp=a&&a.timeStamp||n.now(),void(this[n.expando]=!0)):new n.Event(a,b)},n.Event.prototype={isDefaultPrevented:$,isPropagationStopped:$,isImmediatePropagationStopped:$,preventDefault:function(){var a=this.originalEvent;this.isDefaultPrevented=Z,a&&a.preventDefault&&a.preventDefault()},stopPropagation:function(){var a=this.originalEvent;this.isPropagationStopped=Z,a&&a.stopPropagation&&a.stopPropagation()},stopImmediatePropagation:function(){var a=this.originalEvent;this.isImmediatePropagationStopped=Z,a&&a.stopImmediatePropagation&&a.stopImmediatePropagation(),this.stopPropagation()}},n.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(a,b){n.event.special[a]={delegateType:b,bindType:b,handle:function(a){var c,d=this,e=a.relatedTarget,f=a.handleObj;return(!e||e!==d&&!n.contains(d,e))&&(a.type=f.origType,c=f.handler.apply(this,arguments),a.type=b),c}}}),k.focusinBubbles||n.each({focus:"focusin",blur:"focusout"},function(a,b){var c=function(a){n.event.simulate(b,a.target,n.event.fix(a),!0)};n.event.special[b]={setup:function(){var d=this.ownerDocument||this,e=L.access(d,b);e||d.addEventListener(a,c,!0),L.access(d,b,(e||0)+1)},teardown:function(){var d=this.ownerDocument||this,e=L.access(d,b)-1;e?L.access(d,b,e):(d.removeEventListener(a,c,!0),L.remove(d,b))}}}),n.fn.extend({on:function(a,b,c,d,e){var f,g;if("object"==typeof a){"string"!=typeof b&&(c=c||b,b=void 0);for(g in a)this.on(g,b,c,a[g],e);return this}if(null==c&&null==d?(d=b,c=b=void 0):null==d&&("string"==typeof b?(d=c,c=void 0):(d=c,c=b,b=void 0)),d===!1)d=$;else if(!d)return this;return 1===e&&(f=d,d=function(a){return n().off(a),f.apply(this,arguments)},d.guid=f.guid||(f.guid=n.guid++)),this.each(function(){n.event.add(this,a,d,c,b)})},one:function(a,b,c,d){return this.on(a,b,c,d,1)},off:function(a,b,c){var d,e;if(a&&a.preventDefault&&a.handleObj)return d=a.handleObj,n(a.delegateTarget).off(d.namespace?d.origType+"."+d.namespace:d.origType,d.selector,d.handler),this;if("object"==typeof a){for(e in a)this.off(e,b,a[e]);return this}return(b===!1||"function"==typeof b)&&(c=b,b=void 0),c===!1&&(c=$),this.each(function(){n.event.remove(this,a,c,b)})},trigger:function(a,b){return this.each(function(){n.event.trigger(a,b,this)})},triggerHandler:function(a,b){var c=this[0];return c?n.event.trigger(a,b,c,!0):void 0}});var ab=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,bb=/<([\w:]+)/,cb=/<|&#?\w+;/,db=/<(?:script|style|link)/i,eb=/checked\s*(?:[^=]|=\s*.checked.)/i,fb=/^$|\/(?:java|ecma)script/i,gb=/^true\/(.*)/,hb=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g,ib={option:[1,"<select multiple='multiple'>","</select>"],thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};ib.optgroup=ib.option,ib.tbody=ib.tfoot=ib.colgroup=ib.caption=ib.thead,ib.th=ib.td;function jb(a,b){return n.nodeName(a,"table")&&n.nodeName(11!==b.nodeType?b:b.firstChild,"tr")?a.getElementsByTagName("tbody")[0]||a.appendChild(a.ownerDocument.createElement("tbody")):a}function kb(a){return a.type=(null!==a.getAttribute("type"))+"/"+a.type,a}function lb(a){var b=gb.exec(a.type);return b?a.type=b[1]:a.removeAttribute("type"),a}function mb(a,b){for(var c=0,d=a.length;d>c;c++)L.set(a[c],"globalEval",!b||L.get(b[c],"globalEval"))}function nb(a,b){var c,d,e,f,g,h,i,j;if(1===b.nodeType){if(L.hasData(a)&&(f=L.access(a),g=L.set(b,f),j=f.events)){delete g.handle,g.events={};for(e in j)for(c=0,d=j[e].length;d>c;c++)n.event.add(b,e,j[e][c])}M.hasData(a)&&(h=M.access(a),i=n.extend({},h),M.set(b,i))}}function ob(a,b){var c=a.getElementsByTagName?a.getElementsByTagName(b||"*"):a.querySelectorAll?a.querySelectorAll(b||"*"):[];return void 0===b||b&&n.nodeName(a,b)?n.merge([a],c):c}function pb(a,b){var c=b.nodeName.toLowerCase();"input"===c&&T.test(a.type)?b.checked=a.checked:("input"===c||"textarea"===c)&&(b.defaultValue=a.defaultValue)}n.extend({clone:function(a,b,c){var d,e,f,g,h=a.cloneNode(!0),i=n.contains(a.ownerDocument,a);if(!(k.noCloneChecked||1!==a.nodeType&&11!==a.nodeType||n.isXMLDoc(a)))for(g=ob(h),f=ob(a),d=0,e=f.length;e>d;d++)pb(f[d],g[d]);if(b)if(c)for(f=f||ob(a),g=g||ob(h),d=0,e=f.length;e>d;d++)nb(f[d],g[d]);else nb(a,h);return g=ob(h,"script"),g.length>0&&mb(g,!i&&ob(a,"script")),h},buildFragment:function(a,b,c,d){for(var e,f,g,h,i,j,k=b.createDocumentFragment(),l=[],m=0,o=a.length;o>m;m++)if(e=a[m],e||0===e)if("object"===n.type(e))n.merge(l,e.nodeType?[e]:e);else if(cb.test(e)){f=f||k.appendChild(b.createElement("div")),g=(bb.exec(e)||["",""])[1].toLowerCase(),h=ib[g]||ib._default,f.innerHTML=h[1]+e.replace(ab,"<$1></$2>")+h[2],j=h[0];while(j--)f=f.lastChild;n.merge(l,f.childNodes),f=k.firstChild,f.textContent=""}else l.push(b.createTextNode(e));k.textContent="",m=0;while(e=l[m++])if((!d||-1===n.inArray(e,d))&&(i=n.contains(e.ownerDocument,e),f=ob(k.appendChild(e),"script"),i&&mb(f),c)){j=0;while(e=f[j++])fb.test(e.type||"")&&c.push(e)}return k},cleanData:function(a){for(var b,c,d,e,f=n.event.special,g=0;void 0!==(c=a[g]);g++){if(n.acceptData(c)&&(e=c[L.expando],e&&(b=L.cache[e]))){if(b.events)for(d in b.events)f[d]?n.event.remove(c,d):n.removeEvent(c,d,b.handle);L.cache[e]&&delete L.cache[e]}delete M.cache[c[M.expando]]}}}),n.fn.extend({text:function(a){return J(this,function(a){return void 0===a?n.text(this):this.empty().each(function(){(1===this.nodeType||11===this.nodeType||9===this.nodeType)&&(this.textContent=a)})},null,a,arguments.length)},append:function(){return this.domManip(arguments,function(a){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var b=jb(this,a);b.appendChild(a)}})},prepend:function(){return this.domManip(arguments,function(a){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var b=jb(this,a);b.insertBefore(a,b.firstChild)}})},before:function(){return this.domManip(arguments,function(a){this.parentNode&&this.parentNode.insertBefore(a,this)})},after:function(){return this.domManip(arguments,function(a){this.parentNode&&this.parentNode.insertBefore(a,this.nextSibling)})},remove:function(a,b){for(var c,d=a?n.filter(a,this):this,e=0;null!=(c=d[e]);e++)b||1!==c.nodeType||n.cleanData(ob(c)),c.parentNode&&(b&&n.contains(c.ownerDocument,c)&&mb(ob(c,"script")),c.parentNode.removeChild(c));return this},empty:function(){for(var a,b=0;null!=(a=this[b]);b++)1===a.nodeType&&(n.cleanData(ob(a,!1)),a.textContent="");return this},clone:function(a,b){return a=null==a?!1:a,b=null==b?a:b,this.map(function(){return n.clone(this,a,b)})},html:function(a){return J(this,function(a){var b=this[0]||{},c=0,d=this.length;if(void 0===a&&1===b.nodeType)return b.innerHTML;if("string"==typeof a&&!db.test(a)&&!ib[(bb.exec(a)||["",""])[1].toLowerCase()]){a=a.replace(ab,"<$1></$2>");try{for(;d>c;c++)b=this[c]||{},1===b.nodeType&&(n.cleanData(ob(b,!1)),b.innerHTML=a);b=0}catch(e){}}b&&this.empty().append(a)},null,a,arguments.length)},replaceWith:function(){var a=arguments[0];return this.domManip(arguments,function(b){a=this.parentNode,n.cleanData(ob(this)),a&&a.replaceChild(b,this)}),a&&(a.length||a.nodeType)?this:this.remove()},detach:function(a){return this.remove(a,!0)},domManip:function(a,b){a=e.apply([],a);var c,d,f,g,h,i,j=0,l=this.length,m=this,o=l-1,p=a[0],q=n.isFunction(p);if(q||l>1&&"string"==typeof p&&!k.checkClone&&eb.test(p))return this.each(function(c){var d=m.eq(c);q&&(a[0]=p.call(this,c,d.html())),d.domManip(a,b)});if(l&&(c=n.buildFragment(a,this[0].ownerDocument,!1,this),d=c.firstChild,1===c.childNodes.length&&(c=d),d)){for(f=n.map(ob(c,"script"),kb),g=f.length;l>j;j++)h=c,j!==o&&(h=n.clone(h,!0,!0),g&&n.merge(f,ob(h,"script"))),b.call(this[j],h,j);if(g)for(i=f[f.length-1
2000
].ownerDocument,n.map(f,lb),j=0;g>j;j++)h=f[j],fb.test(h.type||"")&&!L.access(h,"globalEval")&&n.contains(i,h)&&(h.src?n._evalUrl&&n._evalUrl(h.src):n.globalEval(h.textContent.replace(hb,"")))}return this}}),n.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(a,b){n.fn[a]=function(a){for(var c,d=[],e=n(a),g=e.length-1,h=0;g>=h;h++)c=h===g?this:this.clone(!0),n(e[h])[b](c),f.apply(d,c.get());return this.pushStack(d)}});var qb,rb={};function sb(b,c){var d,e=n(c.createElement(b)).appendTo(c.body),f=a.getDefaultComputedStyle&&(d=a.getDefaultComputedStyle(e[0]))?d.display:n.css(e[0],"display");return e.detach(),f}function tb(a){var b=l,c=rb[a];return c||(c=sb(a,b),"none"!==c&&c||(qb=(qb||n("<iframe frameborder='0' width='0' height='0'/>")).appendTo(b.documentElement),b=qb[0].contentDocument,b.write(),b.close(),c=sb(a,b),qb.detach()),rb[a]=c),c}var ub=/^margin/,vb=new RegExp("^("+Q+")(?!px)[a-z%]+$","i"),wb=function(b){return b.ownerDocument.defaultView.opener?b.ownerDocument.defaultView.getComputedStyle(b,null):a.getComputedStyle(b,null)};function xb(a,b,c){var d,e,f,g,h=a.style;return c=c||wb(a),c&&(g=c.getPropertyValue(b)||c[b]),c&&(""!==g||n.contains(a.ownerDocument,a)||(g=n.style(a,b)),vb.test(g)&&ub.test(b)&&(d=h.width,e=h.minWidth,f=h.maxWidth,h.minWidth=h.maxWidth=h.width=g,g=c.width,h.width=d,h.minWidth=e,h.maxWidth=f)),void 0!==g?g+"":g}function yb(a,b){return{get:function(){return a()?void delete this.get:(this.get=b).apply(this,arguments)}}}!function(){var b,c,d=l.documentElement,e=l.createElement("div"),f=l.createElement("div");if(f.style){f.style.backgroundClip="content-box",f.cloneNode(!0).style.backgroundClip="",k.clearCloneStyle="content-box"===f.style.backgroundClip,e.style.cssText="border:0;width:0;height:0;top:0;left:-9999px;margin-top:1px;position:absolute",e.appendChild(f);function g(){f.style.cssText="-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;display:block;margin-top:1%;top:1%;border:1px;padding:1px;width:4px;position:absolute",f.innerHTML="",d.appendChild(e);var g=a.getComputedStyle(f,null);b="1%"!==g.top,c="4px"===g.width,d.removeChild(e)}a.getComputedStyle&&n.extend(k,{pixelPosition:function(){return g(),b},boxSizingReliable:function(){return null==c&&g(),c},reliableMarginRight:function(){var b,c=f.appendChild(l.createElement("div"));return c.style.cssText=f.style.cssText="-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;padding:0",c.style.marginRight=c.style.width="0",f.style.width="1px",d.appendChild(e),b=!parseFloat(a.getComputedStyle(c,null).marginRight),d.removeChild(e),f.removeChild(c),b}})}}(),n.swap=function(a,b,c,d){var e,f,g={};for(f in b)g[f]=a.style[f],a.style[f]=b[f];e=c.apply(a,d||[]);for(f in b)a.style[f]=g[f];return e};var zb=/^(none|table(?!-c[ea]).+)/,Ab=new RegExp("^("+Q+")(.*)$","i"),Bb=new RegExp("^([+-])=("+Q+")","i"),Cb={position:"absolute",visibility:"hidden",display:"block"},Db={letterSpacing:"0",fontWeight:"400"},Eb=["Webkit","O","Moz","ms"];function Fb(a,b){if(b in a)return b;var c=b[0].toUpperCase()+b.slice(1),d=b,e=Eb.length;while(e--)if(b=Eb[e]+c,b in a)return b;return d}function Gb(a,b,c){var d=Ab.exec(b);return d?Math.max(0,d[1]-(c||0))+(d[2]||"px"):b}function Hb(a,b,c,d,e){for(var f=c===(d?"border":"content")?4:"width"===b?1:0,g=0;4>f;f+=2)"margin"===c&&(g+=n.css(a,c+R[f],!0,e)),d?("content"===c&&(g-=n.css(a,"padding"+R[f],!0,e)),"margin"!==c&&(g-=n.css(a,"border"+R[f]+"Width",!0,e))):(g+=n.css(a,"padding"+R[f],!0,e),"padding"!==c&&(g+=n.css(a,"border"+R[f]+"Width",!0,e)));return g}function Ib(a,b,c){var d=!0,e="width"===b?a.offsetWidth:a.offsetHeight,f=wb(a),g="border-box"===n.css(a,"boxSizing",!1,f);if(0>=e||null==e){if(e=xb(a,b,f),(0>e||null==e)&&(e=a.style[b]),vb.test(e))return e;d=g&&(k.boxSizingReliable()||e===a.style[b]),e=parseFloat(e)||0}return e+Hb(a,b,c||(g?"border":"content"),d,f)+"px"}function Jb(a,b){for(var c,d,e,f=[],g=0,h=a.length;h>g;g++)d=a[g],d.style&&(f[g]=L.get(d,"olddisplay"),c=d.style.display,b?(f[g]||"none"!==c||(d.style.display=""),""===d.style.display&&S(d)&&(f[g]=L.access(d,"olddisplay",tb(d.nodeName)))):(e=S(d),"none"===c&&e||L.set(d,"olddisplay",e?c:n.css(d,"display"))));for(g=0;h>g;g++)d=a[g],d.style&&(b&&"none"!==d.style.display&&""!==d.style.display||(d.style.display=b?f[g]||"":"none"));return a}n.extend({cssHooks:{opacity:{get:function(a,b){if(b){var c=xb(a,"opacity");return""===c?"1":c}}}},cssNumber:{columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{"float":"cssFloat"},style:function(a,b,c,d){if(a&&3!==a.nodeType&&8!==a.nodeType&&a.style){var e,f,g,h=n.camelCase(b),i=a.style;return b=n.cssProps[h]||(n.cssProps[h]=Fb(i,h)),g=n.cssHooks[b]||n.cssHooks[h],void 0===c?g&&"get"in g&&void 0!==(e=g.get(a,!1,d))?e:i[b]:(f=typeof c,"string"===f&&(e=Bb.exec(c))&&(c=(e[1]+1)*e[2]+parseFloat(n.css(a,b)),f="number"),null!=c&&c===c&&("number"!==f||n.cssNumber[h]||(c+="px"),k.clearCloneStyle||""!==c||0!==b.indexOf("background")||(i[b]="inherit"),g&&"set"in g&&void 0===(c=g.set(a,c,d))||(i[b]=c)),void 0)}},css:function(a,b,c,d){var e,f,g,h=n.camelCase(b);return b=n.cssProps[h]||(n.cssProps[h]=Fb(a.style,h)),g=n.cssHooks[b]||n.cssHooks[h],g&&"get"in g&&(e=g.get(a,!0,c)),void 0===e&&(e=xb(a,b,d)),"normal"===e&&b in Db&&(e=Db[b]),""===c||c?(f=parseFloat(e),c===!0||n.isNumeric(f)?f||0:e):e}}),n.each(["height","width"],function(a,b){n.cssHooks[b]={get:function(a,c,d){return c?zb.test(n.css(a,"display"))&&0===a.offsetWidth?n.swap(a,Cb,function(){return Ib(a,b,d)}):Ib(a,b,d):void 0},set:function(a,c,d){var e=d&&wb(a);return Gb(a,c,d?Hb(a,b,d,"border-box"===n.css(a,"boxSizing",!1,e),e):0)}}}),n.cssHooks.marginRight=yb(k.reliableMarginRight,function(a,b){return b?n.swap(a,{display:"inline-block"},xb,[a,"marginRight"]):void 0}),n.each({margin:"",padding:"",border:"Width"},function(a,b){n.cssHooks[a+b]={expand:function(c){for(var d=0,e={},f="string"==typeof c?c.split(" "):[c];4>d;d++)e[a+R[d]+b]=f[d]||f[d-2]||f[0];return e}},ub.test(a)||(n.cssHooks[a+b].set=Gb)}),n.fn.extend({css:function(a,b){return J(this,function(a,b,c){var d,e,f={},g=0;if(n.isArray(b)){for(d=wb(a),e=b.length;e>g;g++)f[b[g]]=n.css(a,b[g],!1,d);return f}return void 0!==c?n.style(a,b,c):n.css(a,b)},a,b,arguments.length>1)},show:function(){return Jb(this,!0)},hide:function(){return Jb(this)},toggle:function(a){return"boolean"==typeof a?a?this.show():this.hide():this.each(function(){S(this)?n(this).show():n(this).hide()})}});function Kb(a,b,c,d,e){return new Kb.prototype.init(a,b,c,d,e)}n.Tween=Kb,Kb.prototype={constructor:Kb,init:function(a,b,c,d,e,f){this.elem=a,this.prop=c,this.easing=e||"swing",this.options=b,this.start=this.now=this.cur(),this.end=d,this.unit=f||(n.cssNumber[c]?"":"px")},cur:function(){var a=Kb.propHooks[this.prop];return a&&a.get?a.get(this):Kb.propHooks._default.get(this)},run:function(a){var b,c=Kb.propHooks[this.prop];return this.pos=b=this.options.duration?n.easing[this.easing](a,this.options.duration*a,0,1,this.options.duration):a,this.now=(this.end-this.start)*b+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),c&&c.set?c.set(this):Kb.propHooks._default.set(this),this}},Kb.prototype.init.prototype=Kb.prototype,Kb.propHooks={_default:{get:function(a){var b;return null==a.elem[a.prop]||a.elem.style&&null!=a.elem.style[a.prop]?(b=n.css(a.elem,a.prop,""),b&&"auto"!==b?b:0):a.elem[a.prop]},set:function(a){n.fx.step[a.prop]?n.fx.step[a.prop](a):a.elem.style&&(null!=a.elem.style[n.cssProps[a.prop]]||n.cssHooks[a.prop])?n.style(a.elem,a.prop,a.now+a.unit):a.elem[a.prop]=a.now}}},Kb.propHooks.scrollTop=Kb.propHooks.scrollLeft={set:function(a){a.elem.nodeType&&a.elem.parentNode&&(a.elem[a.prop]=a.now)}},n.easing={linear:function(a){return a},swing:function(a){return.5-Math.cos(a*Math.PI)/2}},n.fx=Kb.prototype.init,n.fx.step={};var Lb,Mb,Nb=/^(?:toggle|show|hide)$/,Ob=new RegExp("^(?:([+-])=|)("+Q+")([a-z%]*)$","i"),Pb=/queueHooks$/,Qb=[Vb],Rb={"*":[function(a,b){var c=this.createTween(a,b),d=c.
2000
cur(),e=Ob.exec(b),f=e&&e[3]||(n.cssNumber[a]?"":"px"),g=(n.cssNumber[a]||"px"!==f&&+d)&&Ob.exec(n.css(c.elem,a)),h=1,i=20;if(g&&g[3]!==f){f=f||g[3],e=e||[],g=+d||1;do h=h||".5",g/=h,n.style(c.elem,a,g+f);while(h!==(h=c.cur()/d)&&1!==h&&--i)}return e&&(g=c.start=+g||+d||0,c.unit=f,c.end=e[1]?g+(e[1]+1)*e[2]:+e[2]),c}]};function Sb(){return setTimeout(function(){Lb=void 0}),Lb=n.now()}function Tb(a,b){var c,d=0,e={height:a};for(b=b?1:0;4>d;d+=2-b)c=R[d],e["margin"+c]=e["padding"+c]=a;return b&&(e.opacity=e.width=a),e}function Ub(a,b,c){for(var d,e=(Rb[b]||[]).concat(Rb["*"]),f=0,g=e.length;g>f;f++)if(d=e[f].call(c,b,a))return d}function Vb(a,b,c){var d,e,f,g,h,i,j,k,l=this,m={},o=a.style,p=a.nodeType&&S(a),q=L.get(a,"fxshow");c.queue||(h=n._queueHooks(a,"fx"),null==h.unqueued&&(h.unqueued=0,i=h.empty.fire,h.empty.fire=function(){h.unqueued||i()}),h.unqueued++,l.always(function(){l.always(function(){h.unqueued--,n.queue(a,"fx").length||h.empty.fire()})})),1===a.nodeType&&("height"in b||"width"in b)&&(c.overflow=[o.overflow,o.overflowX,o.overflowY],j=n.css(a,"display"),k="none"===j?L.get(a,"olddisplay")||tb(a.nodeName):j,"inline"===k&&"none"===n.css(a,"float")&&(o.display="inline-block")),c.overflow&&(o.overflow="hidden",l.always(function(){o.overflow=c.overflow[0],o.overflowX=c.overflow[1],o.overflowY=c.overflow[2]}));for(d in b)if(e=b[d],Nb.exec(e)){if(delete b[d],f=f||"toggle"===e,e===(p?"hide":"show")){if("show"!==e||!q||void 0===q[d])continue;p=!0}m[d]=q&&q[d]||n.style(a,d)}else j=void 0;if(n.isEmptyObject(m))"inline"===("none"===j?tb(a.nodeName):j)&&(o.display=j);else{q?"hidden"in q&&(p=q.hidden):q=L.access(a,"fxshow",{}),f&&(q.hidden=!p),p?n(a).show():l.done(function(){n(a).hide()}),l.done(function(){var b;L.remove(a,"fxshow");for(b in m)n.style(a,b,m[b])});for(d in m)g=Ub(p?q[d]:0,d,l),d in q||(q[d]=g.start,p&&(g.end=g.start,g.start="width"===d||"height"===d?1:0))}}function Wb(a,b){var c,d,e,f,g;for(c in a)if(d=n.camelCase(c),e=b[d],f=a[c],n.isArray(f)&&(e=f[1],f=a[c]=f[0]),c!==d&&(a[d]=f,delete a[c]),g=n.cssHooks[d],g&&"expand"in g){f=g.expand(f),delete a[d];for(c in f)c in a||(a[c]=f[c],b[c]=e)}else b[d]=e}function Xb(a,b,c){var d,e,f=0,g=Qb.length,h=n.Deferred().always(function(){delete i.elem}),i=function(){if(e)return!1;for(var b=Lb||Sb(),c=Math.max(0,j.startTime+j.duration-b),d=c/j.duration||0,f=1-d,g=0,i=j.tweens.length;i>g;g++)j.tweens[g].run(f);return h.notifyWith(a,[j,f,c]),1>f&&i?c:(h.resolveWith(a,[j]),!1)},j=h.promise({elem:a,props:n.extend({},b),opts:n.extend(!0,{specialEasing:{}},c),originalProperties:b,originalOptions:c,startTime:Lb||Sb(),duration:c.duration,tweens:[],createTween:function(b,c){var d=n.Tween(a,j.opts,b,c,j.opts.specialEasing[b]||j.opts.easing);return j.tweens.push(d),d},stop:function(b){var c=0,d=b?j.tweens.length:0;if(e)return this;for(e=!0;d>c;c++)j.tweens[c].run(1);return b?h.resolveWith(a,[j,b]):h.rejectWith(a,[j,b]),this}}),k=j.props;for(Wb(k,j.opts.specialEasing);g>f;f++)if(d=Qb[f].call(j,a,k,j.opts))return d;return n.map(k,Ub,j),n.isFunction(j.opts.start)&&j.opts.start.call(a,j),n.fx.timer(n.extend(i,{elem:a,anim:j,queue:j.opts.queue})),j.progress(j.opts.progress).done(j.opts.done,j.opts.complete).fail(j.opts.fail).always(j.opts.always)}n.Animation=n.extend(Xb,{tweener:function(a,b){n.isFunction(a)?(b=a,a=["*"]):a=a.split(" ");for(var c,d=0,e=a.length;e>d;d++)c=a[d],Rb[c]=Rb[c]||[],Rb[c].unshift(b)},prefilter:function(a,b){b?Qb.unshift(a):Qb.push(a)}}),n.speed=function(a,b,c){var d=a&&"object"==typeof a?n.extend({},a):{complete:c||!c&&b||n.isFunction(a)&&a,duration:a,easing:c&&b||b&&!n.isFunction(b)&&b};return d.duration=n.fx.off?0:"number"==typeof d.duration?d.duration:d.duration in n.fx.speeds?n.fx.speeds[d.duration]:n.fx.speeds._default,(null==d.queue||d.queue===!0)&&(d.queue="fx"),d.old=d.complete,d.complete=function(){n.isFunction(d.old)&&d.old.call(this),d.queue&&n.dequeue(this,d.queue)},d},n.fn.extend({fadeTo:function(a,b,c,d){return this.filter(S).css("opacity",0).show().end().animate({opacity:b},a,c,d)},animate:function(a,b,c,d){var e=n.isEmptyObject(a),f=n.speed(b,c,d),g=function(){var b=Xb(this,n.extend({},a),f);(e||L.get(this,"finish"))&&b.stop(!0)};return g.finish=g,e||f.queue===!1?this.each(g):this.queue(f.queue,g)},stop:function(a,b,c){var d=function(a){var b=a.stop;delete a.stop,b(c)};return"string"!=typeof a&&(c=b,b=a,a=void 0),b&&a!==!1&&this.queue(a||"fx",[]),this.each(function(){var b=!0,e=null!=a&&a+"queueHooks",f=n.timers,g=L.get(this);if(e)g[e]&&g[e].stop&&d(g[e]);else for(e in g)g[e]&&g[e].stop&&Pb.test(e)&&d(g[e]);for(e=f.length;e--;)f[e].elem!==this||null!=a&&f[e].queue!==a||(f[e].anim.stop(c),b=!1,f.splice(e,1));(b||!c)&&n.dequeue(this,a)})},finish:function(a){return a!==!1&&(a=a||"fx"),this.each(function(){var b,c=L.get(this),d=c[a+"queue"],e=c[a+"queueHooks"],f=n.timers,g=d?d.length:0;for(c.finish=!0,n.queue(this,a,[]),e&&e.stop&&e.stop.call(this,!0),b=f.length;b--;)f[b].elem===this&&f[b].queue===a&&(f[b].anim.stop(!0),f.splice(b,1));for(b=0;g>b;b++)d[b]&&d[b].finish&&d[b].finish.call(this);delete c.finish})}}),n.each(["toggle","show","hide"],function(a,b){var c=n.fn[b];n.fn[b]=function(a,d,e){return null==a||"boolean"==typeof a?c.apply(this,arguments):this.animate(Tb(b,!0),a,d,e)}}),n.each({slideDown:Tb("show"),slideUp:Tb("hide"),slideToggle:Tb("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(a,b){n.fn[a]=function(a,c,d){return this.animate(b,a,c,d)}}),n.timers=[],n.fx.tick=function(){var a,b=0,c=n.timers;for(Lb=n.now();b<c.length;b++)a=c[b],a()||c[b]!==a||c.splice(b--,1);c.length||n.fx.stop(),Lb=void 0},n.fx.timer=function(a){n.timers.push(a),a()?n.fx.start():n.timers.pop()},n.fx.interval=13,n.fx.start=function(){Mb||(Mb=setInterval(n.fx.tick,n.fx.interval))},n.fx.stop=function(){clearInterval(Mb),Mb=null},n.fx.speeds={slow:600,fast:200,_default:400},n.fn.delay=function(a,b){return a=n.fx?n.fx.speeds[a]||a:a,b=b||"fx",this.queue(b,function(b,c){var d=setTimeout(b,a);c.stop=function(){clearTimeout(d)}})},function(){var a=l.createElement("input"),b=l.createElement("select"),c=b.appendChild(l.createElement("option"));a.type="checkbox",k.checkOn=""!==a.value,k.optSelected=c.selected,b.disabled=!0,k.optDisabled=!c.disabled,a=l.createElement("input"),a.value="t",a.type="radio",k.radioValue="t"===a.value}();var Yb,Zb,$b=n.expr.attrHandle;n.fn.extend({attr:function(a,b){return J(this,n.attr,a,b,arguments.length>1)},removeAttr:function(a){return this.each(function(){n.removeAttr(this,a)})}}),n.extend({attr:function(a,b,c){var d,e,f=a.nodeType;if(a&&3!==f&&8!==f&&2!==f)return typeof a.getAttribute===U?n.prop(a,b,c):(1===f&&n.isXMLDoc(a)||(b=b.toLowerCase(),d=n.attrHooks[b]||(n.expr.match.bool.test(b)?Zb:Yb)),void 0===c?d&&"get"in d&&null!==(e=d.get(a,b))?e:(e=n.find.attr(a,b),null==e?void 0:e):null!==c?d&&"set"in d&&void 0!==(e=d.set(a,c,b))?e:(a.setAttribute(b,c+""),c):void n.removeAttr(a,b))
},removeAttr:function(a,b){var c,d,e=0,f=b&&b.match(E);if(f&&1===a.nodeType)while(c=f[e++])d=n.propFix[c]||c,n.expr.match.bool.test(c)&&(a[d]=!1),a.removeAttribute(c)},attrHooks:{type:{set:function(a,b){if(!k.radioValue&&"radio"===b&&n.nodeName(a,"input")){var c=a.value;return a.setAttribute("type",b),c&&(a.value=c),b}}}}}),Zb={set:function(a,b,c){return b===!1?n.removeAttr(a,c):a.setAttribute(c,c),c}},n.each(n.expr.match.bool.source.match(/\w+/g),function(a,b){var c=$b[b]||n.find.attr;$b[b]=function(a,b,d){var e,f;return d||(f=$b[b],$b[b]=e,e=null!=c(a,b,d)?b.toLowerCase():null,$b[b]=f),e}});var _b=/^(?:input|select|textarea|button)$/i;n.fn.extend({prop:function(a,b){return J(this,n.prop,a,b,arguments.length>1)},removeProp:function(a){return this.each(function(){delete this[n.propFix[a]||a]})}}),n.extend({propFix:{"for":"htmlFor","class":"className"},prop:function(a,b,c){var d,e,f,g=a.nodeType;if(a&&3!==g&&8!==g&&2!==g)return f=1!==g||!n.isXMLDoc(a),f&&(b=n.propFix[b]||b,e=n.propHooks[b]),void 0!==c?e&&"set"in e&&void 0!==(d=e.set(a,c,b))?d:a[b]=c:e&&"get"in e&&null!==(d=e.get(a,b))?d:a[b]},propHooks:{tabIndex:{get:function(a){return a.hasAttribute("tabindex")||_b.test(a.nodeName)||a.href?a.tabIndex:-1}}}}),k.optSelected||(n.propHook
2000
s.selected={get:function(a){var b=a.parentNode;return b&&b.parentNode&&b.parentNode.selectedIndex,null}}),n.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){n.propFix[this.toLowerCase()]=this});var ac=/[\t\r\n\f]/g;n.fn.extend({addClass:function(a){var b,c,d,e,f,g,h="string"==typeof a&&a,i=0,j=this.length;if(n.isFunction(a))return this.each(function(b){n(this).addClass(a.call(this,b,this.className))});if(h)for(b=(a||"").match(E)||[];j>i;i++)if(c=this[i],d=1===c.nodeType&&(c.className?(" "+c.className+" ").replace(ac," "):" ")){f=0;while(e=b[f++])d.indexOf(" "+e+" ")<0&&(d+=e+" ");g=n.trim(d),c.className!==g&&(c.className=g)}return this},removeClass:function(a){var b,c,d,e,f,g,h=0===arguments.length||"string"==typeof a&&a,i=0,j=this.length;if(n.isFunction(a))return this.each(function(b){n(this).removeClass(a.call(this,b,this.className))});if(h)for(b=(a||"").match(E)||[];j>i;i++)if(c=this[i],d=1===c.nodeType&&(c.className?(" "+c.className+" ").replace(ac," "):"")){f=0;while(e=b[f++])while(d.indexOf(" "+e+" ")>=0)d=d.replace(" "+e+" "," ");g=a?n.trim(d):"",c.className!==g&&(c.className=g)}return this},toggleClass:function(a,b){var c=typeof a;return"boolean"==typeof b&&"string"===c?b?this.addClass(a):this.removeClass(a):this.each(n.isFunction(a)?function(c){n(this).toggleClass(a.call(this,c,this.className,b),b)}:function(){if("string"===c){var b,d=0,e=n(this),f=a.match(E)||[];while(b=f[d++])e.hasClass(b)?e.removeClass(b):e.addClass(b)}else(c===U||"boolean"===c)&&(this.className&&L.set(this,"__className__",this.className),this.className=this.className||a===!1?"":L.get(this,"__className__")||"")})},hasClass:function(a){for(var b=" "+a+" ",c=0,d=this.length;d>c;c++)if(1===this[c].nodeType&&(" "+this[c].className+" ").replace(ac," ").indexOf(b)>=0)return!0;return!1}});var bc=/\r/g;n.fn.extend({val:function(a){var b,c,d,e=this[0];{if(arguments.length)return d=n.isFunction(a),this.each(function(c){var e;1===this.nodeType&&(e=d?a.call(this,c,n(this).val()):a,null==e?e="":"number"==typeof e?e+="":n.isArray(e)&&(e=n.map(e,function(a){return null==a?"":a+""})),b=n.valHooks[this.type]||n.valHooks[this.nodeName.toLowerCase()],b&&"set"in b&&void 0!==b.set(this,e,"value")||(this.value=e))});if(e)return b=n.valHooks[e.type]||n.valHooks[e.nodeName.toLowerCase()],b&&"get"in b&&void 0!==(c=b.get(e,"value"))?c:(c=e.value,"string"==typeof c?c.replace(bc,""):null==c?"":c)}}}),n.extend({valHooks:{option:{get:function(a){var b=n.find.attr(a,"value");return null!=b?b:n.trim(n.text(a))}},select:{get:function(a){for(var b,c,d=a.options,e=a.selectedIndex,f="select-one"===a.type||0>e,g=f?null:[],h=f?e+1:d.length,i=0>e?h:f?e:0;h>i;i++)if(c=d[i],!(!c.selected&&i!==e||(k.optDisabled?c.disabled:null!==c.getAttribute("disabled"))||c.parentNode.disabled&&n.nodeName(c.parentNode,"optgroup"))){if(b=n(c).val(),f)return b;g.push(b)}return g},set:function(a,b){var c,d,e=a.options,f=n.makeArray(b),g=e.length;while(g--)d=e[g],(d.selected=n.inArray(d.value,f)>=0)&&(c=!0);return c||(a.selectedIndex=-1),f}}}}),n.each(["radio","checkbox"],function(){n.valHooks[this]={set:function(a,b){return n.isArray(b)?a.checked=n.inArray(n(a).val(),b)>=0:void 0}},k.checkOn||(n.valHooks[this].get=function(a){return null===a.getAttribute("value")?"on":a.value})}),n.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error contextmenu".split(" "),function(a,b){n.fn[b]=function(a,c){return arguments.length>0?this.on(b,null,a,c):this.trigger(b)}}),n.fn.extend({hover:function(a,b){return this.mouseenter(a).mouseleave(b||a)},bind:function(a,b,c){return this.on(a,null,b,c)},unbind:function(a,b){return this.off(a,null,b)},delegate:function(a,b,c,d){return this.on(b,a,c,d)},undelegate:function(a,b,c){return 1===arguments.length?this.off(a,"**"):this.off(b,a||"**",c)}});var cc=n.now(),dc=/\?/;n.parseJSON=function(a){return JSON.parse(a+"")},n.parseXML=function(a){var b,c;if(!a||"string"!=typeof a)return null;try{c=new DOMParser,b=c.parseFromString(a,"text/xml")}catch(d){b=void 0}return(!b||b.getElementsByTagName("parsererror").length)&&n.error("Invalid XML: "+a),b};var ec=/#.*$/,fc=/([?&])_=[^&]*/,gc=/^(.*?):[ \t]*([^\r\n]*)$/gm,hc=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,ic=/^(?:GET|HEAD)$/,jc=/^\/\//,kc=/^([\w.+-]+:)(?:\/\/(?:[^\/?#]*@|)([^\/?#:]*)(?::(\d+)|)|)/,lc={},mc={},nc="*/".concat("*"),oc=a.location.href,pc=kc.exec(oc.toLowerCase())||[];function qc(a){return function(b,c){"string"!=typeof b&&(c=b,b="*");var d,e=0,f=b.toLowerCase().match(E)||[];if(n.isFunction(c))while(d=f[e++])"+"===d[0]?(d=d.slice(1)||"*",(a[d]=a[d]||[]).unshift(c)):(a[d]=a[d]||[]).push(c)}}function rc(a,b,c,d){var e={},f=a===mc;function g(h){var i;return e[h]=!0,n.each(a[h]||[],function(a,h){var j=h(b,c,d);return"string"!=typeof j||f||e[j]?f?!(i=j):void 0:(b.dataTypes.unshift(j),g(j),!1)}),i}return g(b.dataTypes[0])||!e["*"]&&g("*")}function sc(a,b){var c,d,e=n.ajaxSettings.flatOptions||{};for(c in b)void 0!==b[c]&&((e[c]?a:d||(d={}))[c]=b[c]);return d&&n.extend(!0,a,d),a}function tc(a,b,c){var d,e,f,g,h=a.contents,i=a.dataTypes;while("*"===i[0])i.shift(),void 0===d&&(d=a.mimeType||b.getResponseHeader("Content-Type"));if(d)for(e in h)if(h[e]&&h[e].test(d)){i.unshift(e);break}if(i[0]in c)f=i[0];else{for(e in c){if(!i[0]||a.converters[e+" "+i[0]]){f=e;break}g||(g=e)}f=f||g}return f?(f!==i[0]&&i.unshift(f),c[f]):void 0}function uc(a,b,c,d){var e,f,g,h,i,j={},k=a.dataTypes.slice();if(k[1])for(g in a.converters)j[g.toLowerCase()]=a.converters[g];f=k.shift();while(f)if(a.responseFields[f]&&(c[a.responseFields[f]]=b),!i&&d&&a.dataFilter&&(b=a.dataFilter(b,a.dataType)),i=f,f=k.shift())if("*"===f)f=i;else if("*"!==i&&i!==f){if(g=j[i+" "+f]||j["* "+f],!g)for(e in j)if(h=e.split(" "),h[1]===f&&(g=j[i+" "+h[0]]||j["* "+h[0]])){g===!0?g=j[e]:j[e]!==!0&&(f=h[0],k.unshift(h[1]));break}if(g!==!0)if(g&&a["throws"])b=g(b);else try{b=g(b)}catch(l){return{state:"parsererror",error:g?l:"No conversion from "+i+" to "+f}}}return{state:"success",data:b}}n.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:oc,type:"GET",isLocal:hc.test(pc[1]),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":nc,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":n.parseJSON,"text xml":n.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(a,b){return b?sc(sc(a,n.ajaxSettings),b):sc(n.ajaxSettings,a)},ajaxPrefilter:qc(lc),ajaxTransport:qc(mc),ajax:function(a,b){"object"==typeof a&&(b=a,a=void 0),b=b||{};var c,d,e,f,g,h,i,j,k=n.ajaxSetup({},b),l=k.context||k,m=k.context&&(l.nodeType||l.jquery)?n(l):n.event,o=n.Deferred(),p=n.Callbacks("once memory"),q=k.statusCode||{},r={},s={},t=0,u="canceled",v={readyState:0,getResponseHeader:function(a){var b;if(2===t){if(!f){f={};while(b=gc.exec(e))f[b[1].toLowerCase()]=b[2]}b=f[a.toLowerCase()]}return null==b?null:b},getAllResponseHeaders:function(){return 2===t?e:null},setRequestHeader:function(a,b){var c=a.toLowerCase();return t||(a=s[c]=s[c]||a,r[a]=b),this},overrideMimeType:function(a){return t||(k.mimeType=a),this},statusCode:function(a){var b;if(a)if(2>t)for(b in a)q[b]=[q[b],a[b]];else v.always(a[v.status]);return this},abort:function(a){var b=a||u;return c&&c.abort(b),x(0,b),this}};if(o.promise(v).complete=p.add,v.success=v.done,v.error=v.fail,k.url=((a||k.url||oc)+"").replace(ec,"").replace(jc,pc[1]+"//"),k.type=b.method||b.type||k.method||k.type,k.dataTypes=n.trim(k.dataType||"*").toLowerCase().match(E)||[""],null==k.crossDomain&&(h=kc.exec(k.url.toLowerCase()),k.crossDomain=!(!h||h[1]===pc[1]&&h[2]===pc[2]&&(h[3]||("http:"===h[1]?"80":"443"))===(pc[3]||("http:"===pc[1]?"80":"443")))),k.data&&k.processData&&"string"!=typeof k.data&&(k.data=n.param(k.data,k.traditional)),rc(lc,k,b,
2000
v),2===t)return v;i=n.event&&k.global,i&&0===n.active++&&n.event.trigger("ajaxStart"),k.type=k.type.toUpperCase(),k.hasContent=!ic.test(k.type),d=k.url,k.hasContent||(k.data&&(d=k.url+=(dc.test(d)?"&":"?")+k.data,delete k.data),k.cache===!1&&(k.url=fc.test(d)?d.replace(fc,"$1_="+cc++):d+(dc.test(d)?"&":"?")+"_="+cc++)),k.ifModified&&(n.lastModified[d]&&v.setRequestHeader("If-Modified-Since",n.lastModified[d]),n.etag[d]&&v.setRequestHeader("If-None-Match",n.etag[d])),(k.data&&k.hasContent&&k.contentType!==!1||b.contentType)&&v.setRequestHeader("Content-Type",k.contentType),v.setRequestHeader("Accept",k.dataTypes[0]&&k.accepts[k.dataTypes[0]]?k.accepts[k.dataTypes[0]]+("*"!==k.dataTypes[0]?", "+nc+"; q=0.01":""):k.accepts["*"]);for(j in k.headers)v.setRequestHeader(j,k.headers[j]);if(k.beforeSend&&(k.beforeSend.call(l,v,k)===!1||2===t))return v.abort();u="abort";for(j in{success:1,error:1,complete:1})v[j](k[j]);if(c=rc(mc,k,b,v)){v.readyState=1,i&&m.trigger("ajaxSend",[v,k]),k.async&&k.timeout>0&&(g=setTimeout(function(){v.abort("timeout")},k.timeout));try{t=1,c.send(r,x)}catch(w){if(!(2>t))throw w;x(-1,w)}}else x(-1,"No Transport");function x(a,b,f,h){var j,r,s,u,w,x=b;2!==t&&(t=2,g&&clearTimeout(g),c=void 0,e=h||"",v.readyState=a>0?4:0,j=a>=200&&300>a||304===a,f&&(u=tc(k,v,f)),u=uc(k,u,v,j),j?(k.ifModified&&(w=v.getResponseHeader("Last-Modified"),w&&(n.lastModified[d]=w),w=v.getResponseHeader("etag"),w&&(n.etag[d]=w)),204===a||"HEAD"===k.type?x="nocontent":304===a?x="notmodified":(x=u.state,r=u.data,s=u.error,j=!s)):(s=x,(a||!x)&&(x="error",0>a&&(a=0))),v.status=a,v.statusText=(b||x)+"",j?o.resolveWith(l,[r,x,v]):o.rejectWith(l,[v,x,s]),v.statusCode(q),q=void 0,i&&m.trigger(j?"ajaxSuccess":"ajaxError",[v,k,j?r:s]),p.fireWith(l,[v,x]),i&&(m.trigger("ajaxComplete",[v,k]),--n.active||n.event.trigger("ajaxStop")))}return v},getJSON:function(a,b,c){return n.get(a,b,c,"json")},getScript:function(a,b){return n.get(a,void 0,b,"script")}}),n.each(["get","post"],function(a,b){n[b]=function(a,c,d,e){return n.isFunction(c)&&(e=e||d,d=c,c=void 0),n.ajax({url:a,type:b,dataType:e,data:c,success:d})}}),n._evalUrl=function(a){return n.ajax({url:a,type:"GET",dataType:"script",async:!1,global:!1,"throws":!0})},n.fn.extend({wrapAll:function(a){var b;return n.isFunction(a)?this.each(function(b){n(this).wrapAll(a.call(this,b))}):(this[0]&&(b=n(a,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&b.insertBefore(this[0]),b.map(function(){var a=this;while(a.firstElementChild)a=a.firstElementChild;return a}).append(this)),this)},wrapInner:function(a){return this.each(n.isFunction(a)?function(b){n(this).wrapInner(a.call(this,b))}:function(){var b=n(this),c=b.contents();c.length?c.wrapAll(a):b.append(a)})},wrap:function(a){var b=n.isFunction(a);return this.each(function(c){n(this).wrapAll(b?a.call(this,c):a)})},unwrap:function(){return this.parent().each(function(){n.nodeName(this,"body")||n(this).replaceWith(this.childNodes)}).end()}}),n.expr.filters.hidden=function(a){return a.offsetWidth<=0&&a.offsetHeight<=0},n.expr.filters.visible=function(a){return!n.expr.filters.hidden(a)};var vc=/%20/g,wc=/\[\]$/,xc=/\r?\n/g,yc=/^(?:submit|button|image|reset|file)$/i,zc=/^(?:input|select|textarea|keygen)/i;function Ac(a,b,c,d){var e;if(n.isArray(b))n.each(b,function(b,e){c||wc.test(a)?d(a,e):Ac(a+"["+("object"==typeof e?b:"")+"]",e,c,d)});else if(c||"object"!==n.type(b))d(a,b);else for(e in b)Ac(a+"["+e+"]",b[e],c,d)}n.param=function(a,b){var c,d=[],e=function(a,b){b=n.isFunction(b)?b():null==b?"":b,d[d.length]=encodeURIComponent(a)+"="+encodeURIComponent(b)};if(void 0===b&&(b=n.ajaxSettings&&n.ajaxSettings.traditional),n.isArray(a)||a.jquery&&!n.isPlainObject(a))n.each(a,function(){e(this.name,this.value)});else for(c in a)Ac(c,a[c],b,e);return d.join("&").replace(vc,"+")},n.fn.extend({serialize:function(){return n.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var a=n.prop(this,"elements");return a?n.makeArray(a):this}).filter(function(){var a=this.type;return this.name&&!n(this).is(":disabled")&&zc.test(this.nodeName)&&!yc.test(a)&&(this.checked||!T.test(a))}).map(function(a,b){var c=n(this).val();return null==c?null:n.isArray(c)?n.map(c,function(a){return{name:b.name,value:a.replace(xc,"\r\n")}}):{name:b.name,value:c.replace(xc,"\r\n")}}).get()}}),n.ajaxSettings.xhr=function(){try{return new XMLHttpRequest}catch(a){}};var Bc=0,Cc={},Dc={0:200,1223:204},Ec=n.ajaxSettings.xhr();a.attachEvent&&a.attachEvent("onunload",function(){for(var a in Cc)Cc[a]()}),k.cors=!!Ec&&"withCredentials"in Ec,k.ajax=Ec=!!Ec,n.ajaxTransport(function(a){var b;return k.cors||Ec&&!a.crossDomain?{send:function(c,d){var e,f=a.xhr(),g=++Bc;if(f.open(a.type,a.url,a.async,a.username,a.password),a.xhrFields)for(e in a.xhrFields)f[e]=a.xhrFields[e];a.mimeType&&f.overrideMimeType&&f.overrideMimeType(a.mimeType),a.crossDomain||c["X-Requested-With"]||(c["X-Requested-With"]="XMLHttpRequest");for(e in c)f.setRequestHeader(e,c[e]);b=function(a){return function(){b&&(delete Cc[g],b=f.onload=f.onerror=null,"abort"===a?f.abort():"error"===a?d(f.status,f.statusText):d(Dc[f.status]||f.status,f.statusText,"string"==typeof f.responseText?{text:f.responseText}:void 0,f.getAllResponseHeaders()))}},f.onload=b(),f.onerror=b("error"),b=Cc[g]=b("abort");try{f.send(a.hasContent&&a.data||null)}catch(h){if(b)throw h}},abort:function(){b&&b()}}:void 0}),n.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/(?:java|ecma)script/},converters:{"text script":function(a){return n.globalEval(a),a}}}),n.ajaxPrefilter("script",function(a){void 0===a.cache&&(a.cache=!1),a.crossDomain&&(a.type="GET")}),n.ajaxTransport("script",function(a){if(a.crossDomain){var b,c;return{send:function(d,e){b=n("<script>").prop({async:!0,charset:a.scriptCharset,src:a.url}).on("load error",c=function(a){b.remove(),c=null,a&&e("error"===a.type?404:200,a.type)}),l.head.appendChild(b[0])},abort:function(){c&&c()}}}});var Fc=[],Gc=/(=)\?(?=&|$)|\?\?/;n.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var a=Fc.pop()||n.expando+"_"+cc++;return this[a]=!0,a}}),n.ajaxPrefilter("json jsonp",function(b,c,d){var e,f,g,h=b.jsonp!==!1&&(Gc.test(b.url)?"url":"string"==typeof b.data&&!(b.contentType||"").indexOf("application/x-www-form-urlencoded")&&Gc.test(b.data)&&"data");return h||"jsonp"===b.dataTypes[0]?(e=b.jsonpCallback=n.isFunction(b.jsonpCallback)?b.jsonpCallback():b.jsonpCallback,h?b[h]=b[h].replace(Gc,"$1"+e):b.jsonp!==!1&&(b.url+=(dc.test(b.url)?"&":"?")+b.jsonp+"="+e),b.converters["script json"]=function(){return g||n.error(e+" was not called"),g[0]},b.dataTypes[0]="json",f=a[e],a[e]=function(){g=arguments},d.always(function(){a[e]=f,b[e]&&(b.jsonpCallback=c.jsonpCallback,Fc.push(e)),g&&n.isFunction(f)&&f(g[0]),g=f=void 0}),"script"):void 0}),n.parseHTML=function(a,b,c){if(!a||"string"!=typeof a)return null;"boolean"==typeof b&&(c=b,b=!1),b=b||l;var d=v.exec(a),e=!c&&[];return d?[b.createElement(d[1])]:(d=n.buildFragment([a],b,e),e&&e.length&&n(e).remove(),n.merge([],d.childNodes))};var Hc=n.fn.load;n.fn.load=function(a,b,c){if("string"!=typeof a&&Hc)return Hc.apply(this,arguments);var d,e,f,g=this,h=a.indexOf(" ");return h>=0&&(d=n.trim(a.slice(h)),a=a.slice(0,h)),n.isFunction(b)?(c=b,b=void 0):b&&"object"==typeof b&&(e="POST"),g.length>0&&n.ajax({url:a,type:e,dataType:"html",data:b}).done(function(a){f=arguments,g.html(d?n("<div>").append(n.parseHTML(a)).find(d):a)}).complete(c&&function(a,b){g.each(c,f||[a.responseText,b,a])}),this},n.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(a,b){n.fn[b]=function(a){return this.on(b,a)}}),n.expr.filters.animated=function(a){return n.grep(n.timers,function(b){return a===b.elem}).length};var Ic=a.document.documentElement;function Jc(a){return n.isWindow(a)?a:9===a.nodeType&&a.defaultView}n.offset={setOffset:function(a,b,c){var d,e,f,g,h,i,j,k=n.css(a,"position"),l=n(a),m={};"static"===k&&(a.style.position="relative"),h=l.offset(),f=n.css(a,"top"),i=n.css(a,"left"),j=("absolute"===k||"fixed"===k)&&(f+i).indexOf("auto")>-1,j?(d=l.position(),g=
983
d.top,e=d.left):(g=parseFloat(f)||0,e=parseFloat(i)||0),n.isFunction(b)&&(b=b.call(a,c,h)),null!=b.top&&(m.top=b.top-h.top+g),null!=b.left&&(m.left=b.left-h.left+e),"using"in b?b.using.call(a,m):l.css(m)}},n.fn.extend({offset:function(a){if(arguments.length)return void 0===a?this:this.each(function(b){n.offset.setOffset(this,a,b)});var b,c,d=this[0],e={top:0,left:0},f=d&&d.ownerDocument;if(f)return b=f.documentElement,n.contains(b,d)?(typeof d.getBoundingClientRect!==U&&(e=d.getBoundingClientRect()),c=Jc(f),{top:e.top+c.pageYOffset-b.clientTop,left:e.left+c.pageXOffset-b.clientLeft}):e},position:function(){if(this[0]){var a,b,c=this[0],d={top:0,left:0};return"fixed"===n.css(c,"position")?b=c.getBoundingClientRect():(a=this.offsetParent(),b=this.offset(),n.nodeName(a[0],"html")||(d=a.offset()),d.top+=n.css(a[0],"borderTopWidth",!0),d.left+=n.css(a[0],"borderLeftWidth",!0)),{top:b.top-d.top-n.css(c,"marginTop",!0),left:b.left-d.left-n.css(c,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){var a=this.offsetParent||Ic;while(a&&!n.nodeName(a,"html")&&"static"===n.css(a,"position"))a=a.offsetParent;return a||Ic})}}),n.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(b,c){var d="pageYOffset"===c;n.fn[b]=function(e){return J(this,function(b,e,f){var g=Jc(b);return void 0===f?g?g[c]:b[e]:void(g?g.scrollTo(d?a.pageXOffset:f,d?f:a.pageYOffset):b[e]=f)},b,e,arguments.length,null)}}),n.each(["top","left"],function(a,b){n.cssHooks[b]=yb(k.pixelPosition,function(a,c){return c?(c=xb(a,b),vb.test(c)?n(a).position()[b]+"px":c):void 0})}),n.each({Height:"height",Width:"width"},function(a,b){n.each({padding:"inner"+a,content:b,"":"outer"+a},function(c,d){n.fn[d]=function(d,e){var f=arguments.length&&(c||"boolean"!=typeof d),g=c||(d===!0||e===!0?"margin":"border");return J(this,function(b,c,d){var e;return n.isWindow(b)?b.document.documentElement["client"+a]:9===b.nodeType?(e=b.documentElement,Math.max(b.body["scroll"+a],e["scroll"+a],b.body["offset"+a],e["offset"+a],e["client"+a])):void 0===d?n.css(b,c,g):n.style(b,c,d,g)},b,f?d:void 0,f,null)}})}),n.fn.size=function(){return this.length},n.fn.andSelf=n.fn.addBack,"function"==typeof define&&define.amd&&define("jquery",[],function(){return n});var Kc=a.jQuery,Lc=a.$;return n.noConflict=function(b){return a.$===n&&(a.$=Lc),b&&a.jQuery===n&&(a.jQuery=Kc),n},typeof b===U&&(a.jQuery=a.$=n),n});
//# sourceMappingURL=jquery.min.map
0

GET /MONITOR/ims/common/bootstrap/bootstrap.js HTTP/1.1
Host: 172.16.210.84:31600
Connection: keep-alive
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.97 Safari/537.36
Accept: */*
Referer: http://172.16.210.84:31600/MONITOR/ims/app/monitor/state_monitor/jsp/state_monitor.jsp
Accept-Encoding: gzip, deflate
Accept-Language: zh-CN,zh;q=0.9,en;q=0.8
Cookie: JSESSIONID=ST-150-cegxGboobdGRs0hbIW71-sgcc.isc.com

[44448 bytes missing]
    var delta = this.getViewportAdjustedDelta(placement, offset, actualWidth, actualHeight)

    if (delta.left) offset.left += delta.left
    else offset.top += delta.top

    var isVertical          = /top|bottom/.test(placement)
    var arrowDelta          = isVertical ? delta.left * 2 - width + actualWidth : delta.top * 2 - height + actualHeight
    var arrowOffsetPosition = isVertical ? 'offsetWidth' : 'offsetHeight'

    $tip.offset(offset)
    this.replaceArrow(arrowDelta, $tip[0][arrowOffsetPosition], isVertical)
  }

  Tooltip.prototype.replaceArrow = function (delta, dimension, isVertical) {
    this.arrow()
      .css(isVertical ? 'left' : 'top', 50 * (1 - delta / dimension) + '%')
      .css(isVertical ? 'top' : 'left', '')
  }

  Tooltip.prototype.setContent = function () {
    var $tip  = this.tip()
    var title = this.getTitle()

    $tip.find('.tooltip-inner')[this.options.html ? 'html' : 'text'](title)
    $tip.removeClass('fade in top bottom left right')
  }

  Tooltip.prototype.hide = function (callback) {
    var that = this
    var $tip = $(this.$tip)
    var e    = $.Event('hide.bs.' + this.type)

    function complete() {
      if (that.hoverState != 'in') $tip.detach()
      that.$element
        .removeAttr('aria-describedby')
        .trigger('hidden.bs.' + that.type)
      callback && callback()
    }

    this.$element.trigger(e)

    if (e.isDefaultPrevented()) return

    $tip.removeClass('in')

    $.support.transition && $tip.hasClass('fade') ?
      $tip
        .one('bsTransitionEnd', complete)
        .emulateTransitionEnd(Tooltip.TRANSITION_DURATION) :
      complete()

    this.hoverState = null

    return this
  }

  Tooltip.prototype.fixTitle = function () {
    var $e = this.$element
    if ($e.attr('title') || typeof ($e.attr('data-original-title')) != 'string') {
      $e.attr('data-original-title', $e.attr('title') || '').attr('title', '')
    }
  }

  Tooltip.prototype.hasContent = function () {
    return this.getTitle()
  }

  Tooltip.prototype.getPosition = function ($element) {
    $element   = $element || this.$element

    var el     = $element[0]
    var isBody = el.tagName == 'BODY'

    var elRect    = el.getBoundingClientRect()
    if (elRect.width == null) {
      // width and height are missing in IE8, so compute them manually; see https://github.com/twbs/bootstrap/issues/14093
      elRect = $.extend({}, elRect, { width: elRect.right - elRect.left, height: elRect.bottom - elRect.top })
    }
    var elOffset  = isBody ? { top: 0, left: 0 } : $element.offset()
    var scroll    = { scroll: isBody ? document.documentElement.scrollTop || document.body.scrollTop : $element.scrollTop() }
    var outerDims = isBody ? { width: $(window).width(), height: $(window).height() } : null

    return $.extend({}, elRect, scroll, outerDims, elOffset)
  }

  Tooltip.prototype.getCalculatedOffset = function (placement, pos, actualWidth, actualHeight) {
    return placement == 'bottom' ? { top: pos.top + pos.height,   left: pos.left + pos.width / 2 - actualWidth / 2 } :
           placement == 'top'    ? { top: pos.top - actualHeight, left: pos.left + pos.width / 2 - actualWidth / 2 } :
           placement == 'left'   ? { top: pos.top + pos.height / 2 - actualHeight / 2, left: pos.left - actualWidth } :
        /* placement == 'right' */ { top: pos.top + pos.height / 2 - actualHeight / 2, left: pos.left + pos.width }

  }

  Tooltip.prototype.getViewportAdjustedDelta = function (placement, pos, actualWidth, actualHeight) {
    var delta = { top: 0, left: 0 }
    if (!this.$viewport) return delta

    var viewportPadding = this.options.viewport && this.options.viewport.padding || 0
    var viewportDimensions = this.getPosition(this.$viewport)

    if (/right|left/.test(placement)) {
      var topEdgeOffset    = pos.top - viewportPadding - viewportDimensions.scroll
      var bottomEdgeOffset = pos.top + viewportPadding - viewportDimensions.scroll + actualHeight
      if (topEdgeOffset < viewportDimensions.top) { // top overflow
        delta.top = viewportDimensions.top - topEdgeOffset
      } else if (bottomEdgeOffset > viewportDimensions.top + viewportDimensions.height) { // bottom overflow
        delta.top = viewportDimensions.top + viewportDimensions.height - bottomEdgeOffset
      }
    } else {
      var leftEdgeOffset  = pos.left - viewportPadding
      var rightEdgeOffset = pos.left + viewportPadding + actualWidth
      if (leftEdgeOffset < viewportDimensions.left) { // left overflow
        delta.left = viewportDimensions.left - leftEdgeOffset
      } else if (rightEdgeOffset > viewportDimensions.width) { // right overflow
        delta.left = viewportDimensions.left + viewportDimensions.width - rightEdgeOffset
      }
    }

    return delta
  }

  Tooltip.prototype.getTitle = function () {
    var title
    var $e = this.$element
    var o  = this.options

    title = $e.attr('data-original-title')
      || (typeof o.title == 'function' ? o.title.call($e[0]) :  o.title)

    return title

2000
  }

  Tooltip.prototype.getUID = function (prefix) {
    do prefix += ~~(Math.random() * 1000000)
    while (document.getElementById(prefix))
    return prefix
  }

  Tooltip.prototype.tip = function () {
    return (this.$tip = this.$tip || $(this.options.template))
  }

  Tooltip.prototype.arrow = function () {
    return (this.$arrow = this.$arrow || this.tip().find('.tooltip-arrow'))
  }

  Tooltip.prototype.enable = function () {
    this.enabled = true
  }

  Tooltip.prototype.disable = function () {
    this.enabled = false
  }

  Tooltip.prototype.toggleEnabled = function () {
    this.enabled = !this.enabled
  }

  Tooltip.prototype.toggle = function (e) {
    var self = this
    if (e) {
      self = $(e.currentTarget).data('bs.' + this.type)
      if (!self) {
        self = new this.constructor(e.currentTarget, this.getDelegateOptions())
        $(e.currentTarget).data('bs.' + this.type, self)
      }
    }

    self.tip().hasClass('in') ? self.leave(self) : self.enter(self)
  }

  Tooltip.prototype.destroy = function () {
    var that = this
    clearTimeout(this.timeout)
    this.hide(function () {
      that.$element.off('.' + that.type).removeData('bs.' + that.type)
    })
  }


  // TOOLTIP PLUGIN DEFINITION
  // =========================

  function Plugin(option) {
    return this.each(function () {
      var $this   = $(this)
      var data    = $this.data('bs.tooltip')
      var options = typeof option == 'object' && option

      if (!data && /destroy|hide/.test(option)) return
      if (!data) $this.data('bs.tooltip', (data = new Tooltip(this, options)))
      if (typeof option == 'string') data[option]()
    })
  }

  var old = $.fn.tooltip

  $.fn.tooltip             = Plugin
  $.fn.tooltip.Constructor = Tooltip


  // TOOLTIP NO CONFLICT
  // ===================

  $.fn.tooltip.noConflict = function () {
    $.fn.tooltip = old
    return this
  }

}(jQuery);

/* ========================================================================
 * Bootstrap: popover.js v3.3.4
 * http://getbootstrap.com/javascript/#popovers
 * ========================================================================
 * Copyright 2011-2015 Twitter, Inc.
 * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
 * ======================================================================== */


+function ($) {
  'use strict';

  // POPOVER PUBLIC CLASS DEFINITION
  // ===============================

  var Popover = function (element, options) {
    this.init('popover', element, options)
  }

  if (!$.fn.tooltip) throw new Error('Popover requires tooltip.js')

  Popover.VERSION  = '3.3.4'

  Popover.DEFAULTS = $.extend({}, $.fn.tooltip.Constructor.DEFAULTS, {
    placement: 'right',
    trigger: 'click',
    content: '',
    template: '<div class="popover" role="tooltip"><div class="arrow"></div><h3 class="popover-title"></h3><div class="popover-content"></div></div>'
  })


  // NOTE: POPOVER EXTENDS tooltip.js
  // ================================

  Popover.prototype = $.extend({}, $.fn.tooltip.Constructor.prototype)

  Popover.prototype.constructor = Popover

  Popover.prototype.getDefaults = function () {
    return Popover.DEFAULTS
  }

  Popover.prototype.setContent = function () {
    var $tip    = this.tip()
    var title   = this.getTitle()
    var content = this.getContent()

    $tip.find('.popover-title')[this.options.html ? 'html' : 'text'](title)
    $tip.find('.popover-content').children().detach().end()[ // we use append for html objects to maintain js events
      this.options.html ? (typeof content == 'string' ? 'html' : 'append') : 'text'
    ](content)

    $tip.removeClass('fade top bottom left right in')

    // IE8 doesn't accept hiding via the `:empty` pseudo selector, we have to do
    // this manually by checking the contents.
    if (!$tip.find('.popover-title').html()) $tip.find('.popover-title').hide()
  }

  Popover.prototype.hasContent = function () {
    return this.getTitle() || this.getContent()
  }

  Popover.prototype.getContent = function () {
    var $e = this.$element
    var o  = this.options

    return $e.attr('data-content')
      || (typeof o.content == 'function' ?
            o.content.call($e[0]) :
            o.content)
  }

  Popover.prototype.arrow = function () {
    return (this.$arrow = this.$arrow || this.tip().find('.arrow'))
  }


  // POPOVER PLUGIN DEFINITION
  // =========================

  function Plugin(option) {
    return this.each(function () {
      var $this   = $(this)
      var data    = $this.data('bs.popover')
      var options = typeof option == 'object' && option

      if (!data && /destroy|hide/.test(option)) return
      if (!data) $this.data('bs.popover', (data = new Popover(this, options)))
      if (typeof option == 'string') data[option]()
    })
  }

  var old = $.fn.popover

  $.fn.popover             = Plugin
  $.fn.popover.Constructor = Popover


  // POPOVER NO CONFLICT
  // ===================

  $.fn.popover.noConflict = function () {
    $.fn.popover = old
    return this
  }

}(jQuery);

/* ========================================================================
 * Bootstrap: scrollspy.js v3.3.4
 * http://getbootstrap.com/javascript/#scrollspy
 * ========================================================================
 * Copyright 2011-2015 Twitter, Inc.
 * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
 * ======================================================================== */


+function ($) {
  'use strict';

  // SCROLLSPY CLASS DEFINITION
  // ==========================

  function ScrollSpy(element, options) {
    this.$body          = $(document.body)
    this.$scrollElement = $(element).is(document.body) ? $(window) : $(element)
    this.options        = $.extend({}, ScrollSpy.DEFAULTS, options)
    this.selector       = (this.options.target || '') + ' .nav li > a'
    this.offsets        = []
    this.targets        = []
    this.activeTarget   = null
    this.scrollHeight   = 0

    this.$scrollElement.on('scroll.bs.scrollspy', $.proxy(this.process, this))
    this.refresh()
    this.process()
  }

  ScrollSpy.VERSION  = '3.3.4'

  ScrollSpy.DEFAULTS = {
    offset: 10
  }

  ScrollSpy.prototype.getScrollHeight = function () {
    return this.$scrollElement[0].scrollHeight || Math.max(this.$body[0].scrollHeight, document.documentElement.scrollHeight)
  }

  ScrollSpy.prototype.refresh = function () {
    var that          = this
    var offsetMethod  = 'offset'
    var offsetBase    = 0

    this.offsets      = []
    this.targets      = []
    this.scrollHeight = this.getScrollHeight()

    if (!$.isWindow(this.$scrollElement[0])) {
      offsetMethod = 'position'
      offsetBase   = this.$scrollElement.scrollTop()
    }

    this.$body
      .find(this.selector)
      .map(function () {
        var $el   = $(this)
        var href  = $el.data('target') || $el.attr('href')
        var $href = /^#./.test(href) && $(href)

        return ($href
          && $href.length
          && $href.is(':visible')
          && [[$href[offsetMethod]().top + offsetBase, href]]) || null
      })
      .sort(function (a, b) { return a[0] - b[0] })
      .each(function () {
        that.offsets.push(this[0])
        that.targets.push(this[1])
      })
  }

  ScrollSpy.prototype.process = function () {
    var scrollTop    = this.$scrollElement.scrollTop() + this.options.offset
    var scrollHeight = this.getScrollHeight()
    var maxScroll    = this.options.offset + scrollHeight - this.$scrollElement.height()
    var offsets      = this.offsets
    var targets      = this.targets
    var activeTarget = this.activeTarget
    var i

    if (this.scrollHeight != scrollHeight) {
      this.refresh()
    }

    if (scrollTop >= maxScroll) {
      return activeTarget != (i = targets[targets.length - 1]) && this.activate(i)
    }

    if (activeTarget && scrollTop < offsets[0]) {
      this.activeTarget = null
      return this.clear()
    }

    for (i = offsets.length; i--;) {
      activeTarget != targets[i]
        && scrol[8760 bytes missing]     var e         = $.Event(affixType + '.bs.affix')

      this.$element.trigger(e)

      if (e.isDefaultPrevented()) return

      this.affixed = affix
      this.unpin = affix == 'bottom' ? this.getPinnedOffset() : null

      this.$element
        .removeClass(Affix.RESET)
        .addClass(affixType)
        .trigger(affixType.replace('affix', 'affixed') + '.bs.affix')
    }

    if (affix == 'bottom') {
      this.$element.offset({
        top: scrollHeight - height - offsetBottom
      })
    }
  }


  // AFFIX PLUGIN DEFINITION
  // =======================

  function Plugin(option) {
    return this.each(function () {
      var $this   = $(this)
      var data    = $this.data('bs.affix')
      var options = typeof option == 'object' && option

      if (!data) $this.data('bs.affix', (data = new Affix(this, options)))
      if (typeof option == 'string') data[option]()
    })
  }

  var old = $.fn.affix

  $.fn.affix             = Plugin
  $.fn.affix.Constructor = Affix


  // AFFIX NO CONFLICT
  // =================

  $.fn.affix.noConflict = function () {
    $.fn.affix = old
    return this
  }


  // AFFIX DATA-API
  // ==============

  $(window).on('load', function () {
    $('[data-spy="affix"]').each(function () {
      var $spy = $(this)
      var data = $spy.data()

      data.offset = data.offset || {}

      if (data.offsetBottom != null) data.offset.bottom = data.offsetBottom
      if (data.offsetTop    != null) data.offset.top    = data.offsetTop

      Plugin.call($spy, data)
    })
  })

}(jQuery);

0

GET /MONITOR/ims/common/bs-tags/js/bootstrap-tags.js HTTP/1.1
Host: 172.16.210.84:31600
Connection: keep-alive
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.97 Safari/537.36
Accept: */*
Referer: http://172.16.210.84:31600/MONITOR/ims/app/monitor/state_monitor/jsp/state_monitor.jsp
Accept-Encoding: gzip, deflate
Accept-Language: zh-CN,zh;q=0.9,en;q=0.8
Cookie: JSESSIONID=ST-150-cegxGboobdGRs0hbIW71-sgcc.isc.com

HTTP/1.1 200 
X-Application-Context: front-gateway:8001
P3P: CP=CAO PSA OUR
Accept-Ranges: bytes
ETag: W/"29252-1568253548000"
Last-Modified: Thu, 12 Sep 2019 01:59:08 GMT
Date: Tue, 12 Nov 2019 08:37:06 GMT
Content-Type: application/javascript
Transfer-Encoding: chunked

2000
/*!
 * bootstrap-tags 1.1.5
 * https://github.com/maxwells/bootstrap-tags
 * Copyright 2013 Max Lahey; Licensed MIT
 */

(function($) {
    (function() {
    	window.Tags || (window.Tags = {});
        jQuery(function() {
            $.tags = function(element, options) {
                var key, tag, tagData, value, _i, _len, _ref, _this = this;
                if (options == null) {
                    options = {};
                }
                for (key in options) {
                    value = options[key];
                    this[key] = value;
                }
                this.bootstrapVersion || (this.bootstrapVersion = "3");
                this.readOnly || (this.readOnly = false);
                this.suggestOnClick || (this.suggestOnClick = false);
                this.suggestions || (this.suggestions = []);
                this.restrictTo = options.restrictTo != null ? options.restrictTo.concat(this.suggestions) : false;
                this.exclude || (this.exclude = false);
                this.displayPopovers = options.popovers != null ? true : options.popoverData != null;
                this.popoverTrigger || (this.popoverTrigger = "hover");
                this.tagClass || (this.tagClass = "btn-info");
                this.tagSize || (this.tagSize = "md");
                this.promptText || (this.promptText = "Enter tags...");
                this.caseInsensitive || (this.caseInsensitive = false);
                this.readOnlyEmptyMessage || (this.readOnlyEmptyMessage = "No tags to display...");
                this.maxNumTags || (this.maxNumTags = -1);
                this.beforeAddingTag || (this.beforeAddingTag = function(tag) {});
                this.afterAddingTag || (this.afterAddingTag = function(tag) {});
                this.beforeDeletingTag || (this.beforeDeletingTag = function(tag) {});
                this.afterDeletingTag || (this.afterDeletingTag = function(tag) {});
                this.definePopover || (this.definePopover = function(tag) {
                    return 'associated content for "' + tag + '"';
                });
                this.excludes || (this.excludes = function() {
                    return false;
                });
                this.tagRemoved || (this.tagRemoved = function(tag) {});
                this.pressedReturn || (this.pressedReturn = function(e) {});
                this.pressedDelete || (this.pressedDelete = function(e) {});
                this.pressedDown || (this.pressedDown = function(e) {});
                this.pressedUp || (this.pressedUp = function(e) {});
                this.$element = $(element);
                if (options.tagData != null) {
                    this.tagsArray = options.tagData;
                } else {
                    tagData = $(".tag-data", this.$element).html();
                    this.tagsArray = tagData != null ? tagData.split(",") : [];
                }
                if (options.popoverData) {
                    this.popoverArray = options.popoverData;
                } else {
                    this.popoverArray = [];
                    _ref = this.tagsArray;
                    for (_i = 0, _len = _ref.length; _i < _len; _i++) {
                        tag = _ref[_i];
                        this.popoverArray.push(null);
                    }
                }
                this.getTags = function() {
                    return _this.tagsArray;
                };
                this.getTagsContent = function() {
                    return _this.popoverArray;
                };
                this.getTagsWithContent = function() {
                    var combined, i, _j, _ref1;
                    combined = [];
                    for (i = _j = 0, _ref1 = _this.tagsArray.length - 1; 0 <= _ref1 ? _j <= _ref1 : _j >= _ref1; i = 0 <= _ref1 ? ++_j : --_j) {
                        combined.push({
                            tag: _this.tagsArray[i],
                            content: _this.popoverArray[i]
                        });
                    }
                    return combined;
                };
                this.getTag = function(tag) {
                    var index;
                    index = _this.tagsArray.indexOf(tag);
                    if (index > -1) {
                        return _this.tagsArray[index];
                    } else {
                        return null;
                    }
                };
                this.getTagWithContent = function(tag) {
                    var index;
                    index = _this.tagsArray.indexOf(tag);
                    return {
                        tag: _this.tagsArray[index],
                        content: _this.popoverArray[index]
                    };
                };
                this.hasTag = function(tag) {
                    return _this.tagsArray.indexOf(tag) > -1;
                };
                this.removeTagClicked = function(e) {
                    if (e.currentTarget.tagName === "A") {
                        _this.removeTag($("span", e.currentTarget.parentElement).html());
                        $(e.currentTarget.parentNode).remove();
                    }
                    return _this;
                };
                this.removeLastTag = function() {
                    if (_this.tagsArray.length > 0) {
                        _this.removeTag(_this.tagsArray[_this.tagsArray.length - 1]);
                        if (_this.canAddByMaxNum()) {
                            _this.enableInput();
                        }
                    }
                    return _this;
                };
                this.removeTag = function(tag) {
                    if (_this.tagsArray.indexOf(tag) > -1) {
                        if (_this.beforeDeletingTag(tag) === false) {
                            return;
                        }
                        _this.popoverArray.splice(_this.tagsArray.indexOf(tag), 1);
                        _this.tagsArray.splice(_this.tagsArray.indexOf(tag), 1);
                        _this.renderTags();
                        _this.afterDeletingTag(tag);
                        if (_this.canAddByMaxNum()) {
                            _this.enableInput();
                        }
                    }
                    return _this;
                };
                this.canAddByRestriction = function(tag) {
                    return this.restrictTo === false || this.restrictTo.indexOf(tag) !== -1;
                };
                this.canAddByExclusion = function(tag) {
                    return (this.exclude === false || this.exclude.indexOf(tag) === -1) && !this.excludes(tag);
                };
                this.canAddByMaxNum = function() {
                    return this.maxNumTags === -1 || this.tagsArray.length < this.maxNumTags;
                };
                this.addTag = function(tag) {
                    var associatedContent;
                    if (_this.canAddByRestriction(tag) && !_this.hasTag(tag) && tag.length > 0 && _this.canAddByExclusion(tag) && _this.canAddByMaxNum()) {
                        if (_this.beforeAddingTag(tag) === false) {
                            return;
                        }
                        associatedContent = _this.definePopover(tag);
                        _this.popoverArray.push(associatedContent || null);
                        _this.tagsArray.push(tag);
                        _this.afterAddingTag(tag);
                        _this.renderTags();
                        if (!_this.canAddByMaxNum()) {
                            _this.disableInput();
                        }
                    }
                    return _this;
                };
                this.addTagWithContent = function(tag, content) {
                    if (_this.canAddByRestriction(tag) && !_this.hasTag(tag) && tag.length > 0) {
                        if (_this.beforeAddingTag(tag) === false) {
                            return;
                        }
                        _this.tagsArray.push(tag);
                        _this.popoverArray.push(content);
                        _this.afterAddingTag(
2000
tag);
                        _this.renderTags();
                    }
                    return _this;
                };
                this.renameTag = function(name, newName) {
                    _this.tagsArray[_this.tagsArray.indexOf(name)] = newName;
                    _this.renderTags();
                    return _this;
                };
                this.setPopover = function(tag, popoverContent) {
                    _this.popoverArray[_this.tagsArray.indexOf(tag)] = popoverContent;
                    _this.renderTags();
                    return _this;
                };
                this.clickHandler = function(e) {
                    return _this.makeSuggestions(e, true);
                };
                this.keyDownHandler = function(e) {
                    var k, numSuggestions;
                    k = e.keyCode != null ? e.keyCode : e.which;
                    switch (k) {
                      case 13:
                        e.preventDefault();
                        _this.pressedReturn(e);
                        tag = e.target.value;
                        if (_this.suggestedIndex !== -1) {
                            tag = _this.suggestionList[_this.suggestedIndex];
                        }
                        _this.addTag(tag);
                        e.target.value = "";
                        _this.renderTags();
                        return _this.hideSuggestions();

                      case 46:
                      case 8:
                        _this.pressedDelete(e);
                        if (e.target.value === "") {
                            _this.removeLastTag();
                        }
                        if (e.target.value.length === 1) {
                            return _this.hideSuggestions();
                        }
                        break;

                      case 40:
                        _this.pressedDown(e);
                        if (_this.input.val() === "" && (_this.suggestedIndex === -1 || _this.suggestedIndex == null)) {
                            _this.makeSuggestions(e, true);
                        }
                        numSuggestions = _this.suggestionList.length;
                        _this.suggestedIndex = _this.suggestedIndex < numSuggestions - 1 ? _this.suggestedIndex + 1 : numSuggestions - 1;
                        _this.selectSuggested(_this.suggestedIndex);
                        if (_this.suggestedIndex >= 0) {
                            return _this.scrollSuggested(_this.suggestedIndex);
                        }
                        break;

                      case 38:
                        _this.pressedUp(e);
                        _this.suggestedIndex = _this.suggestedIndex > 0 ? _this.suggestedIndex - 1 : 0;
                        _this.selectSuggested(_this.suggestedIndex);
                        if (_this.suggestedIndex >= 0) {
                            return _this.scrollSuggested(_this.suggestedIndex);
                        }
                        break;

                      case 9:
                      case 27:
                        _this.hideSuggestions();
                        return _this.suggestedIndex = -1;
                    }
                };
                this.keyUpHandler = function(e) {
                    var k;
                    k = e.keyCode != null ? e.keyCode : e.which;
                    if (k !== 40 && k !== 38 && k !== 27) {
                        return _this.makeSuggestions(e, false);
                    }
                };
                this.getSuggestions = function(str, overrideLengthCheck) {
                    var _this = this;
                    this.suggestionList = [];
                    if (this.caseInsensitive) {
                        str = str.toLowerCase();
                    }
                    $.each(this.suggestions, function(i, suggestion) {
                        var suggestionVal;
                        suggestionVal = _this.caseInsensitive ? suggestion.substring(0, str.length).toLowerCase() : suggestion.substring(0, str.length);
                        if (_this.tagsArray.indexOf(suggestion) < 0 && suggestionVal === str && (str.length > 0 || overrideLengthCheck)) {
                            return _this.suggestionList.push(suggestion);
                        }
                    });
                    return this.suggestionList;
                };
                this.makeSuggestions = function(e, overrideLengthCheck, val) {
                    if (val == null) {
                        val = e.target.value != null ? e.target.value : e.target.textContent;
                    }
                    _this.suggestedIndex = -1;
                    _this.$suggestionList.html("");
                    $.each(_this.getSuggestions(val, overrideLengthCheck), function(i, suggestion) {
                        return _this.$suggestionList.append(_this.template("tags_suggestion", {
                            suggestion: suggestion
                        }));
                    });
                    _this.$(".tags-suggestion").mouseover(_this.selectSuggestedMouseOver);
                    _this.$(".tags-suggestion").click(_this.suggestedClicked);
                    if (_this.suggestionList.length > 0) {
                        return _this.showSuggestions();
                    } else {
                        return _this.hideSuggestions();
                    }
                };
                this.suggestedClicked = function(e) {
                    tag = e.target.textContent;
                    if (_this.suggestedIndex !== -1) {
                        tag = _this.suggestionList[_this.suggestedIndex];
                    }
                    _this.addTag(tag);
                    _this.input.val("");
                    _this.makeSuggestions(e, false, "");
                    _this.input.focus();
                    return _this.hideSuggestions();
                };
                this.hideSuggestions = function() {
                    return _this.$(".tags-suggestion-list").css({
                        display: "none"
                    });
                };
                this.showSuggestions = function() {
                    return _this.$(".tags-suggestion-list").css({
                        display: "block"
                    });
                };
                this.selectSuggestedMouseOver = function(e) {
                    $(".tags-suggestion").removeClass("tags-suggestion-highlighted");
                    $(e.target).addClass("tags-suggestion-highlighted");
                    $(e.target).mouseout(_this.selectSuggestedMousedOut);
                    return _this.suggestedIndex = _this.$(".tags-suggestion").index($(e.target));
                };
                this.selectSuggestedMousedOut = function(e) {
                    return $(e.target).removeClass("tags-suggestion-highlighted");
                };
                this.selectSuggested = function(i) {
                    var tagElement;
                    $(".tags-suggestion").removeClass("tags-suggestion-highlighted");
                    tagElement = _this.$(".tags-suggestion").eq(i);
                    return tagElement.addClass("tags-suggestion-highlighted");
                };
                this.scrollSuggested = function(i) {
                    var pos, tagElement, topElement, topPos;
                    tagElement = _this.$(".tags-suggestion").eq(i);
                    topElement = _this.$(".tags-suggestion").eq(0);
                    pos = tagElement.position();
                    topPos = topElement.position();
                    if (pos != null) {
                        return _this.$(".tags-suggestion-list").scrollTop(pos.top - topPos.top);
                    }
                };
                this.adjustInputPosition = function() {
                    var pBottom, pLeft, pTop, pWidth, tagElement, tagPosition;
                    tagElement = _this.$(".tag").last();
                    tagPosition = tagElement.position();
                    pLeft = tagPosition != null ? tagPosition.left + tagElement.outerWidth(true) : 
2000
0;
                    pTop = tagPosition != null ? tagPosition.top : 0;
                    pWidth = _this.$element.width() - pLeft;
                    $(".tags-input", _this.$element).css({
                        paddingLeft: Math.max(pLeft, 0),
                        paddingTop: Math.max(pTop, 0),
                        width: pWidth
                    });
                    pBottom = tagPosition != null ? tagPosition.top + tagElement.outerHeight(true) : 22;
                    return _this.$element.css({
                        paddingBottom: pBottom - _this.$element.height()
                    });
                };
                this.renderTags = function() {
                    var tagList;
                    tagList = _this.$(".tags");
                    tagList.html("");
                    _this.input.attr("placeholder", _this.tagsArray.length === 0 ? _this.promptText : "");
                    $.each(_this.tagsArray, function(i, tag) {
                        tag = $(_this.formatTag(i, tag));
                        $("a", tag).click(_this.removeTagClicked);
                        $("a", tag).mouseover(_this.toggleCloseColor);
                        $("a", tag).mouseout(_this.toggleCloseColor);
                        if (_this.displayPopovers) {
                            _this.initializePopoverFor(tag, _this.tagsArray[i], _this.popoverArray[i]);
                        }
                        return tagList.append(tag);
                    });
                    return _this.adjustInputPosition();
                };
                this.renderReadOnly = function() {
                    var tagList;
                    tagList = _this.$(".tags");
                    tagList.html(_this.tagsArray.length === 0 ? _this.readOnlyEmptyMessage : "");
                    return $.each(_this.tagsArray, function(i, tag) {
                        tag = $(_this.formatTag(i, tag, true));
                        if (_this.displayPopovers) {
                            _this.initializePopoverFor(tag, _this.tagsArray[i], _this.popoverArray[i]);
                        }
                        return tagList.append(tag);
                    });
                };
                this.disableInput = function() {
                    return this.$("input").prop("disabled", true);
                };
                this.enableInput = function() {
                    return this.$("input").prop("disabled", false);
                };
                this.initializePopoverFor = function(tag, title, content) {
                    options = {
                        title: title,
                        content: content,
                        placement: "bottom"
                    };
                    if (_this.popoverTrigger === "hoverShowClickHide") {
                        $(tag).mouseover(function() {
                            $(tag).popover("show");
                            return $(".tag").not(tag).popover("hide");
                        });
                        $(document).click(function() {
                            return $(tag).popover("hide");
                        });
                    } else {
                        options.trigger = _this.popoverTrigger;
                    }
                    return $(tag).popover(options);
                };
                this.toggleCloseColor = function(e) {
                    var opacity, tagAnchor;
                    tagAnchor = $(e.currentTarget);
                    opacity = tagAnchor.css("opacity");
                    opacity = opacity < .8 ? 1 : .6;
                    return tagAnchor.css({
                        opacity: opacity
                    });
                };
                this.formatTag = function(i, tag, isReadOnly) {
                    var escapedTag;
                    if (isReadOnly == null) {
                        isReadOnly = false;
                    }
                    escapedTag = tag.replace("<", "&lt;").replace(">", "&gt;");
                    return _this.template("tag", {
                        tag: escapedTag,
                        tagClass: _this.tagClass,
                        isPopover: _this.displayPopovers,
                        isReadOnly: isReadOnly,
                        tagSize: _this.tagSize
                    });
                };
                this.addDocumentListeners = function() {
                    return $(document).mouseup(function(e) {
                        var container;
                        container = _this.$(".tags-suggestion-list");
                        if (container.has(e.target).length === 0) {
                            return _this.hideSuggestions();
                        }
                    });
                };
                this.template = function(name, options) {
                    return Tags.Templates.Template(this.getBootstrapVersion(), name, options);
                };
                this.$ = function(selector) {
                    return $(selector, this.$element);
                };
                this.getBootstrapVersion = function() {
                    return Tags.bootstrapVersion || this.bootstrapVersion;
                };
                this.initializeDom = function() {
                    return this.$element.append(this.template("tags_container"));
                };
                this.init = function() {
                    this.$element.addClass("bootstrap-tags").addClass("bootstrap-" + this.getBootstrapVersion());
                    this.initializeDom();
                    if (this.readOnly) {
                        this.renderReadOnly();
                        this.removeTag = function() {};
                        this.removeTagClicked = function() {};
                        this.removeLastTag = function() {};
                        this.addTag = function() {};
                        this.addTagWithContent = function() {};
                        this.renameTag = function() {};
                        return this.setPopover = function() {};
                    } else {
                        this.input = $(this.template("input", {
                            tagSize: this.tagSize
                        }));
                        if (this.suggestOnClick) {
                            this.input.click(this.clickHandler);
                        }
                        this.input.keydown(this.keyDownHandler);
                        this.input.keyup(this.keyUpHandler);
                        this.$element.append(this.input);
                        this.$suggestionList = $(this.template("suggestion_list"));
                        this.$element.append(this.$suggestionList);
                        this.renderTags();
                        if (!this.canAddByMaxNum()) {
                            this.disableInput();
                        }
                        return this.addDocumentListeners();
                    }
                };
                this.init();
                return this;
            };
            return $.fn.tags = function(options) {
                var stopOn, tagsObject;
                tagsObject = {};
                stopOn = typeof options === "number" ? options : -1;
                this.each(function(i, el) {
                    var $el;
                    $el = $(el);
                    if ($el.data("tags") == null) {
                        $el.data("tags", new $.tags(this, options));
                    }
                    if (stopOn === i || i === 0) {
                        return tagsObject = $el.data("tags");
                    }
                });
                return tagsObject;
            };
        });
    }).call(this);
    
    (function() {
        window.Tags || (window.Tags = {});
        Tags.Helpers || (Tags.Helpers = {});
        Tags.Helpers.addPadding = function(string, amount, doPadding) {
            if (amount == null) {
                amount = 1;
            }
            if (doPadding == null) {
                doPadding = true;
            }
            if (!doPadding) {
                return string;
            }
            if (amou
1244
nt === 0) {
                return string;
            }
            return Tags.Helpers.addPadding("&nbsp" + string + "&nbsp", amount - 1);
        };
    }).call(this);
   
    (function() {
        var _base;
        window.Tags || (window.Tags = {});
        Tags.Templates || (Tags.Templates = {});
        (_base = Tags.Templates)["2"] || (_base["2"] = {});
        Tags.Templates["2"].input = function(options) {
            var tagSize;
            if (options == null) {
                options = {};
            }
            tagSize = function() {
                switch (options.tagSize) {
                  case "sm":
                    return "small";

                  case "md":
                    return "medium";

                  case "lg":
                    return "large";
                }
            }();
            return "<input type='text' class='tags-input input-" + tagSize + "' />";
        };
    }).call(this);
  
  
    (function() {
        var _base;
        window.Tags || (window.Tags = {});
        Tags.Templates || (Tags.Templates = {});
        (_base = Tags.Templates)["2"] || (_base["2"] = {});
        Tags.Templates["2"].tag = function(options) {
            if (options == null) {
                options = {};
            }
            return "<div class='tag label " + options.tagClass + " " + options.tagSize + "' " + (options.isPopover ? "rel='popover'" : "") + ">    <span>" + Tags.Helpers.addPadding(options.tag, 2, options.isReadOnly) + "</span>    " + (options.isReadOnly ? "" : "<a><i class='remove icon-remove-sign icon-white' /></a>") + "  </div>";
        };
    }).call(this);
    
    
    (function() {
        var _base;
        window.Tags || (window.Tags = {});
        Tags.Templates || (Tags.Templates = {});
        (_base = Tags.Templates)["3"] || (_base["3"] = {});
        Tags.Templates["3"].input = function(options) {
            if (options == null) {
                options = {};
            }
            return "<input type='text' class='form-control tags-input input-" + options.tagSize + "'  />";
        };
    }).call(this);
    
    (function() {
        var _base;
        window.Tags || (window.Tags = {});
        Tags.Templates || (Tags.Templates = {});
        (_base = Tags.Templates)["3"] || (_base["3"] = {});
        Tags.Templates["3"].tag = function(options) {
            if (options == null) {
                options = {};
            }
            return "<div class='tag label " + options.tagClass + " " + options.tagSize + "' " + (options.isPopover ? "rel='popover'" : "") + ">    <span>" + Tags.Helpers.addPadding(options.tag, 2, options.isReadOnly) + "</span>    " + (options.isReadOnly ? "" : "<a><i class='remove glyphicon glyphicon-remove-sign glyphicon-white' /></a>") + "  </div>";
        };
    }).call(this);
    
    
    (function() {
        var _base;
        window.Tags || (window.Tags = {});
        Tags.Templates || (Tags.Templates = {});
        (_base = Tags.Templates).shared || (_base.shared = {});
        Tags.Templates.shared.suggestion_list = function(options) {
            if (options == null) {
                options = {};
            }
            return '<ul class="tags-suggestion-list dropdown-menu"></ul>';
        };
    }).call(this);
    (function() {
        var _base;
        window.Tags || (window.Tags = {});
        Tags.Templates || (Tags.Templates = {});
        (_base = Tags.Templates).shared || (_base.shared = {});
        Tags.Templates.shared.tags_container = function(options) {
            if (options == null) {
                options = {};
            }
            return '<div class="tags"></div>';
        };
    }).call(this);
    (function() {
        var _base;
        window.Tags || (window.Tags = {});
        Tags.Templates || (Tags.Templates = {});
        (_base = Tags.Templates).shared || (_base.shared = {});
        Tags.Templates.shared.tags_suggestion = function(options) {
            if (options == null) {
                options = {};
            }
            return "<li class='tags-suggestion'>" + options.suggestion + "</li>";
        };
    }).call(this);
    (function() {
        window.Tags || (window.Tags = {});
        Tags.Templates || (Tags.Templates = {});
        Tags.Templates.Template = function(version, templateName, options) {
            if (Tags.Templates[version] != null) {
                if (Tags.Templates[version][templateName] != null) {
                    return Tags.Templates[version][templateName](options);
                }
            }
            return Tags.Templates.shared[templateName](options);
        };
    }).call(this);
})(window.jQuery);
0

GET /MONITOR/ims/app/business-common/query-table/jquery.query-table.js HTTP/1.1
Host: 172.16.210.84:31600
Connection: keep-alive
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.97 Safari/537.36
Accept: */*
Referer: http://172.16.210.84:31600/MONITOR/ims/app/monitor/state_monitor/jsp/state_monitor.jsp
Accept-Encoding: gzip, deflate
Accept-Language: zh-CN,zh;q=0.9,en;q=0.8
Cookie: JSESSIONID=ST-150-cegxGboobdGRs0hbIW71-sgcc.isc.com

HTTP/1.1 200 
X-Application-Context: front-gateway:8001
P3P: CP=CAO PSA OUR
Accept-Ranges: bytes
ETag: W/"16875-1568253356000"
Last-Modified: Thu, 12 Sep 2019 01:55:56 GMT
Date: Tue, 12 Nov 2019 08:37:06 GMT
Content-Type: application/javascript
Transfer-Encoding: chunked

2000
/**
 * 条件查询表格
 * @author wangbt
 */
;(function($){
	'use strict';
	
	var sprintf = function (str) {
        var args = arguments,
            flag = true,
            i = 1;

        str = str.replace(/%s/g, function () {
            var arg = args[i++];

            if (typeof arg === 'undefined') {
                flag = false;
                return '';
            }
            return arg;
        });
        return flag ? str : '';
    };
    
    var tableTitle = function(obj,eleTable,querytable){
    	var colum = {};
		colum["field"] = obj.field;
		colum["title"] = obj.title;
		colum["align"] = obj.align;
		colum["halign"] = obj.halign;
		colum["valign"] = obj.valign;
		colum["visible"] = obj.visible;
		colum["sortable"] = obj.sortable;
		colum["colspan"] = (obj.colspan == undefined ? 1 : obj.colspan);
		colum["rowspan"] = (obj.rowspan == undefined ? 1 : obj.rowspan);
		var linkType = obj.linkType;
		var queryTableId = querytable.tableid;
		var tableIdAttr = sprintf("tableid='%s'",queryTableId);
		if(!$.isEmptyObject(linkType)){
			colum["formatter"] = function(value,row,index){
				
				if(!$.isEmptyObject(linkType.params)){
					var str = "";
					$.each(linkType.params,function(e,el){
						if(value == el.key){
							str = el.value;
						}
					});
					return str;
				}else if($.isFunction(linkType.params)){
					var str = linkType.params(value,row,index);
					return str;
				}else{
					var clickCols = obj.clickCols;
					var elemClickCols = "";
					if(!$.isEmptyObject(clickCols)){
			        	elemClickCols = sprintf("clickCols='%s'",clickCols.key);
					}
					var _class = "like";
					if(eleTable.parentElement.id == "knowledge-tableParentDiv"){
						 _class = "knowledgeCla";
					}
					var str = ["<a class="+_class+" style='display: inline-block;overflow: hidden;text-overflow: ellipsis;white-space: nowrap;' href='javascript:void(0);' title="+value+" "+elemClickCols+ " " + tableIdAttr +">"+value+"</a>"].join('');
					
					querytable.colsParams.push(obj.clickCols);
					return str;
				}
			}
			if(linkType.isEvents && eleTable.parentElement.id != "knowledge-tableParentDiv"){
				colum["events"] = "queryTableEvents";
			}else{
				colum["events"] = "knowlegeView";
			}
		}
		colum["width"] = obj.width;
		if($.isFunction(obj)){
			colum["formatter"] = function(value, row, index){
				return obj.formatter(value, row, index);
			}
		}
		if (typeof obj.formatter == "function") {
			colum["formatter"] = obj.formatter;
		}
		//是否显示title提示
		colum["visibleTitle"] = ((obj.visibleTitle == undefined && obj.clickCols == undefined) ? true : obj.visibleTitle);
		return colum;
    };
    
	var criteriaFun = {
			resetCriteriaa: function(divId){
				var inputs_ = $("#"+divId).find(":text,textarea,input[type='text']");
				inputs_.val("");
				var checks_ = $("#"+divId).find("input[type='checkbox']");
				checks_.prop({"checked":false});
			},
			
			moreCriteria: function(divId, t,Q_B){
				if($("#"+divId+" #criteria_id").is(":hidden")){
					$("#"+divId+" #criteria_id").slideDown();
					$(t).children("span").removeClass("glyphicon glyphicon-plus").addClass("glyphicon glyphicon-minus");
					if(Q_B.$options.displayScrollbarHeight != undefined){
						var height = $("#"+divId+" #criteria_id")[0].scrollHeight;
						Q_B.$dr_table_area.height(Q_B.$options.displayScrollbarHeight - height);
					}
				}else{
					$("#"+divId+" #criteria_id").hide();
					$(t).children("span").removeClass("glyphicon glyphicon-minus").addClass("glyphicon glyphicon-plus");
					if(Q_B.$options.displayScrollbarHeight != undefined){
						var height = $("#"+divId+" #criteria_id")[0].scrollHeight;
						Q_B.$dr_table_area.height(Q_B.$options.displayScrollbarHeight);
					}
				}
				/*setTimeout(function () {
					var tableH = Q_B.$options.containerHeight - Q_B.$Nav_frame.height() - 10;
					$(Q_B.$table).bootstrapTable("resetView",{"height": tableH});
		        }, 200);*/
			}
	};
	
	var firstCondit = function(content,colNum){
		var $div = $("<div></div>");
		content.each(function(e){
			if(e < colNum){
				$(this).css("marginBottom","0px").appendTo($div);
			}
		});
		return $div;
	};
	
	// QueryTable BEGIN
	var QueryTable = function(element, options){
		this.$element = element;
		this.colsParams = [];
		this.tableid = "table-listing-"+this.$element.id;
		this.$queryContent = $(options["queryContent"]);
		this.$queryContent_ = this.$queryContent.clone();
		this.$options = options;
		var clss = $(this.$queryContent[0]).attr("class").split(" ")[0].split('-');
		this.col_num = Math.floor(10/clss[clss.length-1]);
		var isShowBtn = clss[clss.length-1] * this.$queryContent.length > 10 ? true : false;
		this.isShowMoreBtn = isShowBtn;
		this.init();
		if(this.$options.displayScrollbar){
			this.$dr_table_area.mCustomScrollbar({axis: "y",autoHideScrollbar: true,autoExpandScrollbar: true,theme:"dark"});
		}
	};
	
	QueryTable.DEFAULTS = {
			btnClass: "btn navbar-btn btn-info btn-sm",
			btnClearClass: "btn navbar-btn btn-sm btn-clear",
			btnImgOpen: "glyphicon glyphicon-plus",
			btnImgClose: "glyphicon glyphicon-minus",
			navStyle: "margin-bottom:10px",
			//tableSty: "height:500px;",
			//containerHeight: 520,
			queryContent: "",	//内容，HTML片段
			tableUrl: "",
			tableColumns: [],
			tableIsCheckBox: undefined,
			tablePagination: true,
			displayScrollbar:false,
			defaultTableParams: {},
			criteriaReset: function(){
				return false;
			},
			criteriaQuery: function(tableParam){
				return false;
			},
			getTable: function(){
				return false;
			},
			initFun: function(){
				return false;
			},
			onCheckEvents: function (row) {
	            return false;
	        },
	        onUncheckEvents: function (row) {
	            return false;
	        },
            //当用户选中所有行时触发 yzy 20171206
            onCheckAllEvents: function (rows) {
                return false;
            },
            responseHandlerEvents : function(rows){
            	return rows;
            },
            //当用户取消所有行时触发
            onUncheckAllEvents: function (rows) {
                return false;
            },
	        onLoadSuccess:function(data){
	            	
	        },
	        onPostBody:function(){
	        	
	        }
			
	};
	QueryTable.prototype.DEFAULTS_EVENT = function(){
		this.clickCols = null;
		return this;
	};
	
	QueryTable.prototype.init = function(){
		var $that = this;
		this.initBtnRow();
		this.intiCriteria();
		this.initCriteriaNav();
		
		this.initTableNav();
		this.initTable();
		
		this.intCriteriaTable();
		$that.$options.initFun();
	};
	
	QueryTable.prototype.intiCriteria = function(){
		this.$moreCondit = null;
		if(this.$queryContent_.length > this.col_num){
			this.$moreCondit = $("<div></div>");
			this.$moreCondit.attr("id","criteria_id");
			this.$moreCondit.addClass("row");
			this.$moreCondit.css({"marginLeft":"0px","marginRight":"0px","position":"relative","z-index":"1"});
			//条件排列
			var f = 0,m = 0,r = true;
			var con = this.$queryContent.length-this.col_num;
			var rowss = Math.ceil(con / this.col_num);;
			for(var i=0;i<rowss;i++){
				f += this.col_num;
				if(i == rowss-1){
					 m = 0;
				}else{
					m = f + this.col_num;
				}
				var $divRow = $("<div class='row'></div>");
				if(i > 0)
					$divRow.css({"marginTop":"6px"});
				$divRow.css({"marginRight":"0px","marginLeft":"0px"});
				this.$queryContent.each(function(e){
					if(e >= f && (e < m || m == 0)){
						$(this).appendTo($divRow);
					}
				});
				$divRow.appendTo(this.$moreCondit);
			}
		}
	};
	
	QueryTable.prototype.initBtnRow = function(){
		this.$btns = $([
						'<div class="row" style="margin-top: 5px;margin-right: 0px;margin-left: 0px;margin-bottom: 1px;vertical-align: middle;position:relative;z-index:2;">',
						'<div class="col-sm-2" style="float: right;margin-top: -5px;padding-right: -1px;">',
								'<div class="form-in
2000
line" style="float: right; min-width:210px;text-align:right;">',
								'<input type="button" title="查询" id="query-button" value="查询" class="'+this.$options.btnClass+'" style="margin-left:0.6em;">',
								'<input type="button" title="清空" value="清空" class="'+this.$options.btnClearClass+'" style="margin-left:0.6em;">',
						         this.isShowMoreBtn == true ? 
						         '<lable class="control-label">'+
						         	'<button type="button" class="'+this.$options.btnClearClass+'" title="更多条件" style="margin-bottom:8px;width:46px;height:30px;margin-left:0.6em;">'+
						         		'<span class="'+this.$options.btnImgOpen+'" aria-hidden="true" style="margin-bottom:5px;"></span>'+
						         	'</button>'+
						         '</lable>' : '',
						       '</div>',
						  '</div>',
						'</div>'].join(''));
		this.$btns.css({"marginRight":"0px"});
		this.$btns.find(".col-sm-2").before(firstCondit(this.$queryContent, this.col_num));
	};
	
	QueryTable.prototype.initCriteriaNav = function(){
		var $that = this;
		this.queryTableParam = {};
		var style = sprintf("style='%s'",this.$options.navStyle);
		this.$Nav_frame = $([
		                     '<nav id="criteriaNav" class="navbar navbar-default" role="navigation" '+style+'>',
		                     	'<div class="form-inline center-block" style="margin-left: 0px;" >',
		                     	'</div>',
		                     '</nav>'].join(''));
		this.$btns.appendTo(this.$Nav_frame.children());
		
		this.$btns.find("input[type='button'][title='清空']").off("click").on("click",function(){
			criteriaFun.resetCriteriaa($that.$element.id);
			$that.$options.criteriaReset();
		});
		this.$btns.find("input[type='button'][title='查询']").off("click").on("click",function(){
			$that.queryTableParam = $that.$options.criteriaQuery();
			if($that.queryTableParam != null && $that.queryTableParam != false){
				$that.$options.defaultTableParams = {};//情况默认参数
				$that.$table.bootstrapTable("refresh", $(this).attr('id'));
//				$("#"+$that.$element.id+" #criteria_id").hide();
//				$(this).next().children("button").children("span").removeClass("glyphicon glyphicon-minus").addClass("glyphicon glyphicon-plus");
			}
		});
		this.$btns.find("button[title='更多条件']").off("click").on("click",function(){
			criteriaFun.moreCriteria($that.$element.id, this,$that);
			
		});
		
		if(this.$moreCondit){
			this.$moreCondit.css({"display":"none"});
			this.$moreCondit.appendTo(this.$Nav_frame.children());
		}
	};
	
	QueryTable.prototype.initTableNav = function(){
		var tableId = "table-listing-"+this.$element.id;
		var styleNav = sprintf("style='%s'",this.$options.navStyle);
		this.$tableNav = $([
		                 '<nav id="tableNav" class="navbar navbar-default" role="navigation" '+styleNav+'>',
			                 	'<table id="'+tableId+'">',
			                 	'</table>',
		                 '</nav>'
		                 ].join(''));
		this.$dr_table_area  = $('<div  class="mCustomScrollbar"  data-mcs-theme="dark"  style="float:right; width: 100%;height:'+this.$options.displayScrollbarHeight+'px;"></div>');
		this.$dr_table_area.append(this.$tableNav);
		
	};
	
	QueryTable.prototype.initTable = function(){
		var $that = this;
		this.colums = new Array();
		if($that.$options.tableIsCheckBox != undefined){
			var hasCheckBoxColum = {};
			hasCheckBoxColum["field"] = "state";
			var inputType = $that.$options.tableIsCheckBox == true ? "checkbox" : "radio";
			hasCheckBoxColum[inputType] = true;
			hasCheckBoxColum["valign"] = "middle";
			$that.colums.push(hasCheckBoxColum);
		}
		var tableColumns = this.$options.tableColumns;
		//var $currentomodal = $that.$element.parents('.nomodal');
		$.each(tableColumns,function(k,v){
			if(v instanceof Array){
				var col = new Array();
				$.each(v, function(ky, vl){
					col.push(tableTitle(vl,$that.$element,$that));
				});
				$that.colums.push(col);
			}else{
				$that.colums.push(tableTitle(v,$that.$element,$that));
			}
			
		});
		this.$table = this.$tableNav.children("table");
		var sidePagination = this.$options.sidePagination;
		if(sidePagination == "client"){
			sidePagination = "client";
		}else{
			sidePagination = "server";
		}
		this.$table.bootstrapTable({
		    method: 'post',
		    height:this.$options.height,
		    url: this.$options.tableUrl,
		    sortName:this.$options.sortName,
		    sortOrder:this.$options.sortOrder,
		    cache: false,
		    striped: false,
		    pagination: this.$options.tablePagination,
		    pageSize: 10,
		    sidePagination:sidePagination,
		    pageList: [10, 25, 50, 100, 200],
		    search: false,
		    queryParams: function(params){
		    	if(!$.isEmptyObject($that.$options.defaultTableParams))
		    		$that.queryTableParam = $that.$options.defaultTableParams;
		    	$.extend(params,$that.queryTableParam);
				return JSON.stringify(params);
		    },
		    showColumns: false,
		    showRefresh: false,
		    clickToSelect: true,
		    columns: $that.colums,
	        onCheck: function (row) {
	        	$that.$options.onCheckEvents(row);
	            return false;
	        },
            //当用户选中所有行时触发
            onCheckAll: function (row) {
                $that.$options.onCheckAllEvents(row);
                return false;
            },
            //当用户取消选中所有行时触发
            onUncheckAll: function (row) {
                $that.$options.onUncheckAllEvents(row);
                return false;
            },

	        onUncheck: function (row) {
	        	$that.$options.onUncheckEvents(row);
	            return false;
	        },
	        responseHandler: function (res) {
	        	$that.$options.responseHandlerEvents(res);
	            return res;
	        },
	        onLoadSuccess:function(data){
	        	$that.$options.onLoadSuccess(data);
	        },
	        onPostBody:function(){
	        	$that.$options.onPostBody();
	        }
		});
		$that.$table.data("querytable",this);
	};
	QueryTable.prototype.intCriteriaTable = function(){
		this.$CTDIV_ = $("<div query-table='q-table'></div>");
		this.$Nav_frame.appendTo(this.$CTDIV_);
		this.$dr_table_area.appendTo(this.$CTDIV_);
		this.$CTDIV_.appendTo(this.$element);
		
	};
	
	QueryTable.prototype.getQueryCri = function(){
		return this.$Nav_frame.children("div");
	};
	
	QueryTable.prototype.getTable = function(){
		return this.$table;
	};
	
	QueryTable.prototype.refreshTable = function(params){
		this.$options.defaultTableParams = {};//清空默认参数
		if(params && params.query){
			this.queryTableParam = params.query;
		}
		if(params && params.url){
			this.$table.bootstrapTable("refresh",{"url":params.url});
		}else{
			this.$table.bootstrapTable("refresh");
		}
		
	};
	QueryTable.prototype.getSelections = function(){
		return this.$table.bootstrapTable("getSelections");
	};
	QueryTable.prototype.getData = function(){
		return this.$table.bootstrapTable("getData");
	};
	
	var allMethods = ['getTable','getQueryCri','refreshTable','getSelections','getData'];
	
	$.fn.queryTable = function(option,_query){
		var value;
		this.each(function(){
			var $this = $(this),
				data = $this.data("query.table"),
				options = $.extend({},QueryTable.DEFAULTS, $this.data(), typeof option == 'object' && option);
			
			if(typeof option == 'string'){
				if($.isArray(option, allMethods) < 0){
					throw new Error("Unknown method: "+ option);
				}
				
				if(!data) return;
				
				value = data[option](_query);
				if(option === 'destroy'){
					$this.removeData("query.table");
				}
			}
			
			if(!data){
				$this.data("query.table",(data = new QueryTable(this,options)));
			}
		});
		return typeof value === 'undefined' ? this : value;
	};
	$.fn.queryTable.Constructor = QueryTable;
	$.fn.queryTable.defaults = QueryTable.DEFAULTS;
	$.fn.queryTable.methods = allMethods;
	// QueryTable END
	
	
	window.queryTableEvents = {
		"click .like":function(e,value,row,index){
			va
1eb
r tableid = $(e.currentTarget).attr("tableid");
			var querytable = $("#" + tableid).data("querytable");
			var colsParams = querytable.colsParams;
			$.each(colsParams,function(k,v){
				if(v.key == $(e.currentTarget).attr("clickCols")){
					v.value(value,row,index);
					e.stopPropagation();//阻止冒泡传递事件，放置点击连接时触发行选中
					return false
				}
			});
		}
	};
	$(function(){
		$('[query-table="q-table"]').queryTable();
	});
})(jQuery);
0

GET /MONITOR/ims/app/monitor/list_query/js/kpipanel.js HTTP/1.1
Host: 172.16.210.84:31600
Connection: keep-alive
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.97 Safari/537.36
Accept: */*
Referer: http://172.16.210.84:31600/MONITOR/ims/app/monitor/state_monitor/jsp/state_monitor.jsp
Accept-Encoding: gzip, deflate
Accept-Language: zh-CN,zh;q=0.9,en;q=0.8
Cookie: JSESSIONID=ST-150-cegxGboobdGRs0hbIW71-sgcc.isc.com

HTTP/1.1 200 
X-Application-Context: front-gateway:8001
P3P: CP=CAO PSA OUR
Accept-Ranges: bytes
ETag: W/"15213-1568253418000"
Last-Modified: Thu, 12 Sep 2019 01:56:58 GMT
Date: Tue, 12 Nov 2019 08:37:06 GMT
Content-Type: application/javascript
Transfer-Encoding: chunked

2000
/**
 * 插件展示窗口
 */
;(function($){
	'use strict';
	
	var KpiPanel = function(element, options){
		this.$element = element;
		this.$options = options;
		this.init();
	};
	
	KpiPanel.prototype.init = function(){
		var $that = this;
		var $monitorKpi = this.$options.data;
		var $monitorKpiPluginId = $monitorKpi.monitorKpiPluginId;
		var panelHight = $($that.$element).height()*0.93 / 12;
		var $parentDiv = $(this.$element);
		//最外层Div
		var $panelDiv = $('<div></div>');
		//内层整体Div
		var $firstDiv = $('<div></div>');
		//标题Div
		var $panelHeading = $('<div></div>');
		var $panelTitle = $('<div></div>');
		//横线Div
		var $panelLineDiv = $('<div></div>');
		var $homepageshowPanelLine = $('<img class="homepageshow_panel_line" src="/MONITOR/ims/app/homepage/image/panel_line.png" alt="">');
		//展示图Div
		var $panelBody = $('<div></div>');
		var $titleH5 = $('<h5>工单信息</h5>');
		var $titleSpan = $('<span class="glyphicon glyphicon-refresh" title="刷新" style="cursor:pointer;"></span>');
		var $setUpSpan = $('<span class="glyphicon glyphicon-cog" title="设置" style="cursor:pointer;display:none;"></span>');
		$panelHeading.append($titleH5);
		$panelHeading.append($titleSpan);
		$panelHeading.append($setUpSpan);
		$panelLineDiv.append($homepageshowPanelLine);
		$firstDiv.append($panelHeading);
		$firstDiv.append($panelLineDiv);
		$firstDiv.append($panelBody);
		$panelDiv.append($firstDiv);
		$parentDiv.append($panelDiv);
		$panelDiv.addClass('col-sm-'+$monitorKpi.width+' panelViewShow');
		$firstDiv.addClass('homepageshow panel panel-default');
		$panelHeading.addClass('panel-heading');
		$panelTitle.addClass('panel-title');
		$panelLineDiv.addClass('homepageshow_panel_line_div');
		$panelBody.addClass('panel-body botton_set');
		$titleH5.addClass('set_total');
		$titleSpan.addClass('set_flaot');
		$setUpSpan.addClass('set_flaot');
		$panelBody.css({'color':'#000000','height':'81%'});
		$firstDiv.css({'height':panelHight*$monitorKpi.height+'px'});
		$setUpSpan.css({'margin-right':'2%'});
		$that.$panelBody = $panelBody;
		$that.$titleH5 = $titleH5;
		$that.$setUpSpan = $setUpSpan;
		var queryJson = {"monitorKpiPluginId":$monitorKpiPluginId};
		$that.pluginViewInit(queryJson,this.$options.monitorObjId);
		$titleSpan.off("click").on("click",function(){
			$that.pluginViewRefresh(queryJson,$that.$options.monitorObjId);
		});
		$setUpSpan.off("click").on("click",function(){
			$that.setUp($(this));
		});
		if($monitorKpi.refreshInternal!=null&&$monitorKpi.refreshInternal!=""&&$monitorKpi.refreshInternal>0){
			var intervalId = $monitorKpiPluginId + "time";
			intervalId = setInterval(function(){
				$that.pluginViewRefresh(queryJson,$that.$options.monitorObjId);
			}, $monitorKpi.refreshInternal*1000*60);
			golbalVar.clearIntervalArr.push(intervalId);
		}
	};
	
	KpiPanel.prototype.pluginViewInit = function(queryJson,monitorObjId){
		var $that = this;
		$that.submitByKpiPluginId(queryJson,function(data){
			$($that.$titleH5).html(data.pluginTitle);
			var pluginType = data.pluginType;
			var monitorPluginKpiJson = {
					monitorObjType: data.monitorObjType,
					pluginParameter: data.pluginParameter,
					pluginTitle: data.pluginTitle,
					pluginType: data.pluginType
			}
			var submitData = {"monitorObjId":monitorObjId,"monitorPluginKpiJson":JSON.stringify(monitorPluginKpiJson)};
			if(pluginType == "capacity"){
				$that.submitByKpiDataCapacity(submitData,function(data){
					$that.$panelBody[pluginType]({data: JSON.parse(data.resultObj)});
				},function(data){
					submitData = {"monitorObjId":"","monitorPluginKpiJson":JSON.stringify(monitorPluginKpiJson)};
					$that.submitByKpiDataCapacity(submitData,function(data1){
						$that.$panelBody[pluginType]({data: JSON.parse(data1.resultObj)});
					});
				});
			}else if(pluginType=="trend"){
				$that.$setUpSpan.show();
				var json = eval('(' + data.pluginParameter + ')');
				$that.submitByKpiData(submitData,function(data){
					$that.$panelBody[pluginType]({data: JSON.parse(data.resultObj),timecycle:json[0].timecycle});
				},function(data){
					submitData = {"monitorObjId":"","monitorPluginKpiJson":JSON.stringify(monitorPluginKpiJson)};
					$that.submitByKpiData(submitData,function(data1){
						$that.$panelBody[pluginType]({data: JSON.parse(data1.resultObj),timecycle:json[0].timecycle});
					});
				});
			}else{
				$that.submitByKpiData(submitData,function(data){
					$that.$panelBody[pluginType]({data: JSON.parse(data.resultObj)});
				},function(data){
					submitData = {"monitorObjId":"","monitorPluginKpiJson":JSON.stringify(monitorPluginKpiJson)};
					$that.submitByKpiData(submitData,function(data1){
						$that.$panelBody[pluginType]({data: JSON.parse(data1.resultObj)});
					});
				});
			}
		});
	};
	
	KpiPanel.prototype.pluginViewRefresh = function(queryJson,monitorObjId){
		var $that = this;
		$that.submitByKpiPluginId(queryJson,function(resultData){
			var dataList = JSON.parse(resultData.pluginParameter);
			var timecycleVal = $that.$timecycle
			if(dataList.length>0){
				$.each(dataList, function (index, item) {     
					if(timecycleVal=="today"||timecycleVal=="currentweek"||timecycleVal=="currentmonth"||timecycleVal=="lasthour"||timecycleVal=="last24hour"){
						item.timecycle = timecycleVal;
					}
			    });
			}
			resultData.pluginParameter = JSON.stringify(dataList);
			
			var pluginType = resultData.pluginType;
			var monitorPluginKpiJson = {
					monitorObjType: resultData.monitorObjType,
					pluginParameter: resultData.pluginParameter,
					pluginTitle: resultData.pluginTitle,
					pluginType: resultData.pluginType
			}
			var submitData = {"monitorObjId":monitorObjId,"monitorPluginKpiJson":JSON.stringify(monitorPluginKpiJson)}
//			$that.submitByKpiData(submitData,function(data){
//				$that.$panelBody[pluginType]('refresh',JSON.parse(data.resultObj));
//			});
			var pluginType = resultData.pluginType;
			if(pluginType == "capacity"){
				$that.submitByKpiDataCapacity(submitData,function(data){
					$that.$panelBody[pluginType]('refresh',JSON.parse(data.resultObj));
				});
			}else if(pluginType == "trend"){
				var json = eval('(' + resultData.pluginParameter + ')');
				
				$that.submitByKpiData(submitData,function(data){
					console.log(json[0].timecycle);
					$that.$panelBody[pluginType]('refresh',[JSON.parse(data.resultObj),json[0].timecycle]);
				});
			}else{
				$that.submitByKpiData(submitData,function(data){
					console.log(JSON.parse(data.resultObj));
					$that.$panelBody[pluginType]('refresh',JSON.parse(data.resultObj));
				});
			}
		});
	};
	KpiPanel.prototype.setUp = function(setIpThat){
		var $that = this;
		var _html = "";
        _html += '<div id="mb_box"></div><div id="mb_con"><span id="mb_tit">设置</span>';
        _html += '<a id="mb_ico">x</a>';
        _html += '<div id="mb_msg"><label>统计周期:&nbsp;&nbsp;&nbsp;&nbsp;</label>';
        _html += '<select id="mb_select_btn" style="width:100px;">';
        _html += '	<option value="lasthour">上一小时</option>';
        _html += '	<option value ="today">今天</option>';
        _html += '	<option value="last24hour">最近24小时</option>';
        _html += '	<option value ="currentweek">本周</option>';
        _html += '	<option value="currentmonth">本月</option>';
        _html += '	</select>';
        _html += '</div><div id="mb_btnbox">';
        _html += '<input id="mb_btn_ok" type="button" value="确定" />';
        _html += '</div></div>';
        //必须先将_html添加到body，再设置Css样式
        $("body").append(_html);
    	var timecycle = $(setIpThat).attr('data-result');
        if(timecycle != '' && timecycle != undefined)
        $("#mb_select_btn").val(timecycle);
    	$(setIpThat).attr('data-result','')
        $("#mb_btn_ok").click(function() {
        	$that.$timecycle = $("#mb_select_btn").val();
        	$(setIpThat).attr('data-result',$that.$timecycle)
        	var queryJson = {"monitorKpiPluginId":$tha
1b6d
t.$options.data.monitorKpiPluginId};
        	$that.pluginViewRefresh(queryJson,$that.$options.monitorObjId);
            $("#mb_box,#mb_con").remove();
        });
        $("#mb_ico").click(function() {
        	$("#mb_box,#mb_con").remove();
        });
        GenerateCss();
	};
	
	//生成Css
    var GenerateCss = function() {
        $("#mb_box").css({
            width: '100%',
            height: '100%',
            zIndex: '99999',
            position: 'fixed',
            filter: 'Alpha(opacity=60)',
            backgroundColor: 'black',
            top: '0',
            left: '0',
            opacity: '0.1'
        });
        $("#mb_con").css({
            zIndex: '999999',
            width: '400px',
            position: 'fixed',
            backgroundColor: 'White',
            borderRadius: '6px'
        });
        $("#mb_tit").css({
            display: 'block',
            fontSize: '14px',
            color: '#444',
            padding: '10px 15px',
            borderRadius: '15px 15px 0 0',
            borderBottom: '1px solid #e5e5e5',
            fontWeight: 'bold'
        });
        $("#mb_msg").css({
            padding: '20px',
            lineHeight: '20px',
            borderBottom: '1px dashed #DDD',
            fontSize: '13px'
        });
        $("#mb_ico").css({
            display: 'block',
            position: 'absolute',
            right: '10px',
            top: '9px',
            width: '18px',
            height: '18px',
            textAlign: 'center',
            lineHeight: '16px',
            cursor: 'pointer',
            borderRadius: '12px',
            fontSize: '18px',
            fontFamily: '微软雅黑'
        });
        $("#mb_btnbox").css({
            margin: '15px 0 10px 0',
            textAlign: 'center'
        });
        $("#mb_btn_ok,#mb_btn_no").css({
            width: '85px',
            height: '30px',
            color: 'white',
            border: 'none'
        });
        $("#mb_btn_ok").css({
            backgroundColor: '#168bbb'
        });
        $("#mb_btn_no").css({
            backgroundColor: 'gray',
            marginLeft: '20px'
        });
        var _widht = document.documentElement.clientWidth; //屏幕宽
        var _height = document.documentElement.clientHeight; //屏幕高
        var boxWidth = $("#mb_con").width();
        var boxHeight = $("#mb_con").height();
        //让提示框居中
        $("#mb_con").css({
            top: (_height - boxHeight) / 2 + "px",
            left: (_widht - boxWidth) / 2 + "px"
        });
    }
    
	KpiPanel.prototype.submitByKpiPluginId = function(data,successFun){
		$.ajax({
			async : true,
			url : golbalVar.contextPath + 'controller/monitorkpi/getKpiPluginByMonitorKpiPluginId',
			type : "POST",   
			dataType : "json", 
//			data : data,
			
			data : encodeURI(JSON.stringify(data)),
//			data : JSON.stringify(data),
            beforeSend : function(request) {
            	if (typeof this.url != "undefined" && this.url != null && this.url != "") {
            		var originalVal = encodeURI(golbalVar.httpPort+this.url)+encodeURI(JSON.stringify(data))+'itom';
//            		var originalVal = encodeURI(golbalVar.httpPort+this.url)+JSON.stringify(data)+'itom';
            		var md5z = hex_md5(originalVal).toString();
            		request.setRequestHeader("Content-Type", "application/json;charset=UTF-8");
            		request.setRequestHeader("dataVerifyCode", encrypt2(md5z));
            	}
			},
			
			success : function (json){
				if(json.resultObj!=null){
					successFun(json.resultObj);
				}
			},
			error:function(XMLHttpRequest){
				console.log(XMLHttpRequest);
			}
		});
	};
	
	KpiPanel.prototype.submitByKpiData = function(data,successFun,errorFun){
		$.ajax({
			async : true,
			url : golbalVar.contextPath + 'controller/monitorkpi/getMonitorKpiData',
			type : "POST",   
			dataType : "json", 
			
			//中文参数被拦截,改用url自带编码
			data : encodeURI(JSON.stringify(data)),
            beforeSend : function(request,conf) {
            	if (typeof this.url != "undefined" && this.url != null && this.url != "") {
            		//var originalVal = encodeURI(golbalVar.httpPort+this.url)+encodeURI(JSON.stringify(data))+'itom';
            		var originalVal = encodeURI(golbalVar.httpPort+this.url);
            		if(conf.data){
//            			originalVal += conf.data;
            			originalVal += encodeURI(JSON.stringify(data));
            		}
            		originalVal += 'itom';
            		var md5z = hex_md5(originalVal).toString();
            		request.setRequestHeader("Content-Type", "application/json;charset=UTF-8");
            		request.setRequestHeader("dataVerifyCode", encrypt2(md5z));
            	}
			},
			
			success : function (json){
				if(json.resultObj!=null&&json.resultObj!=""){
					successFun(json);
				}else{
					errorFun(json);
				}
			},
			error:function(XMLHttpRequest){
				console.log(XMLHttpRequest);
			}
		});
	};
	
	KpiPanel.prototype.submitByKpiDataCapacity = function(data,successFun){
		$.ajax({
			async : true,
			url : golbalVar.contextPath + 'controller/monitorkpi/getMonitorKpiDataByCapacity',
			type : "POST",   
			dataType : "json", 
//			data : data,
			
			//中文参数被拦截,改用url自带编码
			data : encodeURI(JSON.stringify(data)),
            beforeSend : function(request,conf) {
            	if (typeof this.url != "undefined" && this.url != null && this.url != "") {
            		//var originalVal = encodeURI(golbalVar.httpPort+this.url)+encodeURI(JSON.stringify(data))+'itom';
            		var originalVal = encodeURI(golbalVar.httpPort+this.url);
            		if(conf.data){
//            			originalVal += conf.data;
            			originalVal += encodeURI(JSON.stringify(data));
            		}
            		originalVal += 'itom';
            		var md5z = hex_md5(originalVal).toString();
            		request.setRequestHeader("Content-Type", "application/json;charset=UTF-8");
            		request.setRequestHeader("dataVerifyCode", encrypt2(md5z));
            	}
			},
			
			success : function (json){
				if(json.resultObj!=null&&json.resultObj!=""){
					successFun(json);
				}
			},
			error:function(XMLHttpRequest){
				console.log(XMLHttpRequest);
			}
		});
	};
	
	
	$.fn.kpiPanel = function(option,args){
		var value;
		this.each(function(){	
			var $this = $(this),
				data = $this.data("kpi.panel"),
				options = $.extend({}, $this.data(), typeof option == 'object' && option);
				if (!data) $this.data('dkpi.panel', (data = new KpiPanel(this, options)))
				if (typeof option == 'string') {
	                value = data[option](args)
	            }
		});
		return typeof value === 'undefined' ? this : value;
	};
	$.fn.kpiPanel.Constructor = KpiPanel;
})(jQuery);
0

GET /MONITOR/ims/app/monitor/list_query/js/kpiplugin.status.js HTTP/1.1
Host: 172.16.210.84:31600
Connection: keep-alive
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.97 Safari/537.36
Accept: */*
Referer: http://172.16.210.84:31600/MONITOR/ims/app/monitor/state_monitor/jsp/state_monitor.jsp
Accept-Encoding: gzip, deflate
Accept-Language: zh-CN,zh;q=0.9,en;q=0.8
Cookie: JSESSIONID=ST-150-cegxGboobdGRs0hbIW71-sgcc.isc.com

HTTP/1.1 200 
X-Application-Context: front-gateway:8001
P3P: CP=CAO PSA OUR
Accept-Ranges: bytes
ETag: W/"4156-1568253418000"
Last-Modified: Thu, 12 Sep 2019 01:56:58 GMT
Date: Tue, 12 Nov 2019 08:37:06 GMT
Content-Type: application/javascript
Transfer-Encoding: chunked

103c
/**
 * 硬件状态图插件
 */
;(function($){
	
	'use strict';
	// 初始化硬件状态图
	var Status = function(element, options){
		this.$element = element;
		this.$options = options;
		this.$dataList = options.data;
		this.init();
	};
	// 定义状态正常、异常样式
	Status.DomRendering = function(dom,index){
		var pList = dom.find("p"),
				statusText = pList[index].innerText.split(":")[1];
			if(statusText.toString() == "正常"){
				$(pList[index]).css("color","#0dc357");
				$(pList[index]).addClass("viewimgMsGBefGreen");
				$(pList[index]).removeClass("viewimgMsGBefRed");
			}else{
				$(pList[index]).css("color","#ff3300");
				$(pList[index]).addClass("viewimgMsGBefRed");
				$(pList[index]).removeClass("viewimgMsGBefGreen");
			};
	};
	// 定义硬件状态插件初始化方法
	Status.prototype.init = function(){
		var $that = this,
		dataList = $that.$dataList,
		$Div = $($that.$element);
		var flaotHtml = $('<div class="floatBoxWidth" style="height:100%;"></div>');
//		var flaotHtml = '<div class="floatBoxWidth"></div>';
		$Div.append(flaotHtml);
		var len = dataList.length;
		var	domWidthPercent = 1/len;
		var	$DivParentWidth = $Div.css("width");
		var $DivParentWidthNum = parseInt($DivParentWidth);
		var	domWidth = (domWidthPercent * $DivParentWidthNum);
		domWidth = domWidth-1;
		flaotHtml.css("width",$DivParentWidth+4);
		for(var i = 0; i < len; i ++){
			var defaultName = "";
			var showText;
			if(dataList[i].state == "ERROR"){
				showText = "状态:异常";
			}else{
				showText = "状态:正常";
			}
			if(dataList[i].defaultName!=null&&dataList[i].defaultName!=""){
				defaultName = dataList[i].defaultName;
			}
//			<div style="text-align:center">'+ dataList[i].showName +'</div>\
			var statusCpuHtml = '<div class="viewBox" style="width:'+ domWidth +'px;">\
									<div style="background:url(../../list_query/image/'+ dataList[i].img[0].path +') no-repeat center center"></div>\
									<label style="font-size:12px;text-align:center;display:inherit;color:#808080;margin-bottom:0;">'+ defaultName +'</label>\
									<p class="viewimgMsG" style="font-size:12px;">'+ showText +'</p>\
								</div>';
			var htmlStr = '<div>1</div>';
			flaotHtml.append(statusCpuHtml);
			$(".viewBox").find("div").css({"background-size":"cover","width":"90px","height":"90px","margin":"0 auto"})
			Status.DomRendering($Div,i);
		};
		if(parseInt(domWidth) < 150){
			domWidth = "150px";
		}
		var childWidthTotal = parseInt(domWidth) * len;
		if(parseInt($DivParentWidth) > childWidthTotal){
			$Div.css("overflow-x:","scroll");
		}
		if($($that.$element).height()-$(".viewBox").height()>40){
			var marginTopNum = ($($that.$element).height()-$(".viewBox").height())/2-6;
			$(".floatBoxWidth").css("margin-top",marginTopNum+"px");
		}else{
			$(".floatBoxWidth").css("margin-top","5px");
		}
	};
	// 定义硬件状态插件刷新方法
	Status.prototype.refresh = function(refreshData){
		var dataList = refreshData,
			$thatElement = $(this.$element),
			$elementChildred = $thatElement.children().find("div");
		for(var j = 0; j < $elementChildred.length; j ++){
			$($elementChildred[j]).find("img").attr("src","../../list_query/image/"+ dataList[j].img[0].path);
			var showText;
			if(dataList[j].state == "ERROR"){
				showText = "状态:异常";
			}else{
				showText = "状态:正常";
			}
			$($elementChildred[j]).find("p").text(showText);
			Status.DomRendering($thatElement,j);
		};
	};
	// 定义html调用插件方法
	$.fn.status = function(option,args){
		var value;
		this.each(function(){
			var $this = $(this),
				data = $this.data("hardwareStatus"),//定义一个名叫“hardwareStatus”的数据
				options = $.extend({}, $this.data(), typeof option == 'object' && option);
				if (!data) {
					$this.data("hardwareStatus", (data = new Status(this, options)));
				};
				if (typeof option == 'string') {
					value = data[option](args);
				};
		});
		return typeof value === 'undefined' ? this : value;
	};
	$.fn.status.Constructor = Status;
})(jQuery);
0

GET /MONITOR/ims/app/monitor/list_query/js/kpiplugin.datalist.js HTTP/1.1
Host: 172.16.210.84:31600
Connection: keep-alive
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.97 Safari/537.36
Accept: */*
Referer: http://172.16.210.84:31600/MONITOR/ims/app/monitor/state_monitor/jsp/state_monitor.jsp
Accept-Encoding: gzip, deflate
Accept-Language: zh-CN,zh;q=0.9,en;q=0.8
Cookie: JSESSIONID=ST-150-cegxGboobdGRs0hbIW71-sgcc.isc.com

HTTP/1.1 200 
X-Application-Context: front-gateway:8001
P3P: CP=CAO PSA OUR
Accept-Ranges: bytes
ETag: W/"2007-1568253418000"
Last-Modified: Thu, 12 Sep 2019 01:56:58 GMT
Date: Tue, 12 Nov 2019 08:37:06 GMT
Content-Type: application/javascript
Transfer-Encoding: chunked

7d7
/**
 * 列表
 */
;(function($){
	'use strict';
	
	var DataList = function(element, options){
		this.$element = element;
		this.$options = options;
		this.data = this.$options.data;
		this.init();
	};
	
	DataList.prototype.init = function(){
		var $that = this;
		var $columnConfigArray = $that.$options.data.columnConfigArray;
		var $queryConfigObjArray = $that.$options.data.queryConfigObjArray;
//		$that.tableInit($columnConfigArray,$queryConfigObjArray);
		console.log($that.data);
//		console.log($columnConfigArray);
	};
	
	DataList.prototype.tableInit = function(columnConfigArray,queryConfigObjArray){
		var $that = this;
		$that.columns = [];
		$.each(columnConfigArray,function (i,ele) {
		   var column = {};
		   column["field"] = ele["field"];
		   column["title"] = ele["fieldCn"];
		   column["width"] = ele["width"];	
		   if (column["width"] == 780){
			   column["width"] = 200;
		   }
		   column["sortable"] = true; 
		   $that.columns.push(column);
	    });
		var $parentDiv = $(this.$element);
		$parentDiv.bootstrapTable({
			url: "",
			columns:$that.columns,
			method: 'post',
			sidePagination: 'server'
		});
		$parentDiv.bootstrapTable("append",queryConfigObjArray);
	};
	
	DataList.prototype.refresh = function(queryConfigObjArray){
		var $that = this;
		var $parentDiv = $(this.$element);
		$parentDiv.bootstrapTable("removeAll");
		$parentDiv.bootstrapTable("append",queryConfigObjArray);
	};
	
	$.fn.datalist = function(option,args){
		var value;
		this.each(function(){	
			var $this = $(this),
				data = $this.data("dkpi.datalist"),
				options = $.extend({}, $this.data(), typeof option == 'object' && option);
				if (!data) $this.data('dkpi.datalist', (data = new DataList(this, options)))
				if (typeof option == 'string') {
	                value = data[option](args)
	            }
		});
		return typeof value === 'undefined' ? this : value;
	};
	$.fn.datalist.Constructor = DataList;
})(jQuery);
0

GET /MONITOR/ims/app/monitor/state_monitor/image/export.png HTTP/1.1
Host: 172.16.210.84:31600
Connection: keep-alive
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.97 Safari/537.36
Accept: image/webp,image/apng,image/*,*/*;q=0.8
Referer: http://172.16.210.84:31600/MONITOR/ims/app/monitor/state_monitor/jsp/state_monitor.jsp
Accept-Encoding: gzip, deflate
Accept-Language: zh-CN,zh;q=0.9,en;q=0.8
Cookie: JSESSIONID=ST-150-cegxGboobdGRs0hbIW71-sgcc.isc.com

HTTP/1.1 404 
X-Application-Context: front-gateway:8001
P3P: CP=CAO PSA OUR
Date: Tue, 12 Nov 2019 08:37:07 GMT
Transfer-Encoding: chunked

0

GET /MONITOR/ims/app/monitor/plugin_define/js/kpiplugindefine.controller.js HTTP/1.1
Host: 172.16.210.84:31600
Connection: keep-alive
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.97 Safari/537.36
Accept: */*
Referer: http://172.16.210.84:31600/MONITOR/ims/app/monitor/state_monitor/jsp/state_monitor.jsp
Accept-Encoding: gzip, deflate
Accept-Language: zh-CN,zh;q=0.9,en;q=0.8
Cookie: JSESSIONID=ST-150-cegxGboobdGRs0hbIW71-sgcc.isc.com

HTTP/1.1 200 
X-Application-Context: front-gateway:8001
P3P: CP=CAO PSA OUR
Accept-Ranges: bytes
ETag: W/"6088-1568253446000"
Last-Modified: Thu, 12 Sep 2019 01:57:26 GMT
Date: Tue, 12 Nov 2019 08:37:07 GMT
Content-Type: application/javascript
Transfer-Encoding: chunked

17c8
	/**
	 * 与角色控制器后台进行交互的前台控制器层.
	 */
seajs.config({
	base: golbalVar.contextPath+"ims/app/",
	alias: {
		"util": "utils/util.js"
	}
});

define(function(require, exports, module) {

	var defaults = {
		LIST_KPI_PLUGIN_BY_MONITOR_OBJ_TYPE: golbalVar.contextPath + "controller/monitorkpi/listKpiPluginByMonitorObjType",//获取监控对象类型下的插件集合
		LIST_ALL_PLUGIN_TYPE: golbalVar.contextPath + "controller/monitorkpi/listAllPluginType",
		ADD_MONITOR_KPI_PLUGIN: golbalVar.contextPath + "controller/monitorkpi/addMonitorKpiPlugin",
		UPDATE_MONITOR_KPI_PLUGIN: golbalVar.contextPath + "controller/monitorkpi/updateMonitorKpiPlugin",
		BATCHDELETE_MONITOR_KPI_PLUGINS: golbalVar.contextPath + "controller/monitorkpi/batchDeleteMonitorKpiPlugins",
		MONITOR_OBJ_TYPE_TREE: golbalVar.contextPath + "controller/monitorkpi/listMonitorObjType",
		LIST_MONITOR_IMG: golbalVar.contextPath + "controller/monitorkpi/listMonitorImg",
		SAVE_MONITOR_VIEW_SETTING: golbalVar.contextPath + "controller/monitorkpi/saveMonitorViewSetting",
		QUERY_MONITOR_VIEW_SETTING: golbalVar.contextPath + "controller/monitorkpi/queryMonitorViewSetting",
		QUERY_MONITOR_VIEW_SETTING_CHECK: golbalVar.contextPath + "controller/monitorkpi/queryMonitorViewSettingCheck",
		QUERY_MONITOR_OBJ_TYPE_ALL: golbalVar.contextPath + "controller/monitorkpi/queryMonitorObjTypeAll",
		QUERY_MONITOR_STATUS_LIST_COLUMNS: golbalVar.contextPath + "controller/monitorkpi/queryMonitorStatusListColumns",
		QUERY_MONITOR_STATUS_LIST_TREE: golbalVar.contextPath + "controller/monitorkpi/queryMonitorStatusListTree",
		MONITOR_LIST_EXPORT: golbalVar.contextPath + "controller/monitorkpi/monitorListExport",
		LIST_MONITOR_OBJ_TYPE_CLS: golbalVar.contextPath + "controller/monitorkpi/listMonitorObjTypeCls",
		QUERY_EXPORT_METRIC: golbalVar.contextPath + "controller/monitorkpi/queryExportMetric"
	}
	function QuotaController(){
	}

	module.exports = QuotaController;
	
	//新增
	QuotaController.addMonitorKpiPlugin = function(jsonData,succFun){
		var commonUtil = require("util");
		var paramData = {"monitorObjTypeJson":jsonData};
		commonUtil.submitByAjaxForSync(defaults.ADD_MONITOR_KPI_PLUGIN,paramData,succFun);
	}                   
	//更新
	QuotaController.updateMonitorKpiPlugin = function(jsonData,succFun){
		var commonUtil = require("util");
		var paramData = {"monitorObjTypeJson":jsonData};
		commonUtil.submitByAjaxForSync(defaults.UPDATE_MONITOR_KPI_PLUGIN,paramData,succFun);
	}                  
	//批量删除多个监控指标
	QuotaController.batchDeleteMonitorKpiPlugins = function(monitorKpiIds,succFun){
		var commonUtil = require("util");
		commonUtil.submitByAjaxForSync(defaults.BATCHDELETE_MONITOR_KPI_PLUGINS,{"monitorKpiIds": monitorKpiIds},succFun);
	}
	
	QuotaController.listKpiPluginByMonitorObjType = function(monitorObjType,succFun){
		var commonUtil = require("util");
		commonUtil.submitByAjaxForSync(defaults.LIST_KPI_PLUGIN_BY_MONITOR_OBJ_TYPE,{"queryJson": monitorObjType},succFun);
	}
	QuotaController.findAllKpiTree = function(succFun){
		var commonUtil = require("util");
		commonUtil.submitByAjaxForSync(defaults.MONITOR_OBJ_TYPE_TREE,{},succFun);
	}

	QuotaController.listAllPluginType = function(succFun){
		var commonUtil = require("util");
		commonUtil.submitByAjaxForSync(defaults.LIST_ALL_PLUGIN_TYPE,{},succFun);
	}
	
	//获取Img数据源
	QuotaController.listMonitorImg = function(succFun){
		var commonUtil = require("util");
		commonUtil.submitByAjaxForSync(defaults.LIST_MONITOR_IMG,{},succFun);
	}
	
	//保存插件设计信息
	QuotaController.saveMonitorViewSetting = function(data,succFun){
		var commonUtil = require("util");
		commonUtil.submitByAjaxForSync(defaults.SAVE_MONITOR_VIEW_SETTING,data,succFun);
	}
	
	//获取监控视图插件选择的插件配置
	QuotaController.queryMonitorViewSetting = function(data,succFun){
		var commonUtil = require("util");
		commonUtil.submitByAjaxForSync(defaults.QUERY_MONITOR_VIEW_SETTING,data,succFun);
	}
	
	//获取监控视图插件选择的与未选择的插件
	QuotaController.queryMonitorViewSettingCheck = function(data,succFun){
		var commonUtil = require("util");
		commonUtil.submitByAjaxForSync(defaults.QUERY_MONITOR_VIEW_SETTING_CHECK,data,succFun);
	}
	
	//监控对象类型
	QuotaController.listAllObjType = function(monitorObjType,succFun){
		var commonUtil = require("util");
		commonUtil.submitByAjaxForSync(defaults.QUERY_MONITOR_OBJ_TYPE_ALL,{"monitorObjType": monitorObjType},succFun);
	}
	
	//监控对象类型
	QuotaController.queryExportMetric = function(monitorObjType,succFun){
		var commonUtil = require("util");
		commonUtil.submitByAjaxForSync(defaults.QUERY_EXPORT_METRIC,{"monitorObjType": monitorObjType},succFun);
	}
	
	// 监控列表表头数据动态查询
	QuotaController.queryListFiled = function(monitorObjType,succFun){
		var commonUtil = require("util");
		commonUtil.submitByAjaxForSync(defaults.QUERY_MONITOR_STATUS_LIST_COLUMNS,{"monitorObjType":monitorObjType},succFun);
	}
	// 监控状态指标列表左侧树
	QuotaController.queryMonitorStatusListTree = function(resourceClsCode,resourceId,succFun){
		var commonUtil = require("util");
		commonUtil.submitByAjaxForSync(defaults.QUERY_MONITOR_STATUS_LIST_TREE,{"resourceClsCode": resourceClsCode,"resourceId":resourceId},succFun);
	}
	
	// 监控状态指标列表左侧树
	QuotaController.monitorListExport = function(exportJson,monitorObjType,queryFliter,succFun){
		var commonUtil = require("util");
		commonUtil.submitByAjaxForSync(defaults.MONITOR_LIST_EXPORT,{"exportJson": exportJson,"monitorObjType":monitorObjType,"queryFliter":queryFliter},succFun);
	}
	// 获取监控对象类型,属性结构(是否包含子资源)
	QuotaController.listMonitorObjTypeCls = function(queryJson,succFun){
		var commonUtil = require("util");
		commonUtil.submitByAjaxForSync(defaults.LIST_MONITOR_OBJ_TYPE_CLS,{"queryJson": queryJson},succFun);
	}
	
});
0

GET /MONITOR/ims/app/monitor/sg/js/viewShow.main.js HTTP/1.1
Host: 172.16.210.84:31600
Connection: keep-alive
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.97 Safari/537.36
Accept: */*
Referer: http://172.16.210.84:31600/MONITOR/ims/app/monitor/state_monitor/jsp/state_monitor.jsp
Accept-Encoding: gzip, deflate
Accept-Language: zh-CN,zh;q=0.9,en;q=0.8
Cookie: JSESSIONID=ST-150-cegxGboobdGRs0hbIW71-sgcc.isc.com

HTTP/1.1 200 
X-Application-Context: front-gateway:8001
P3P: CP=CAO PSA OUR
Accept-Ranges: bytes
ETag: W/"44310-1573091924000"
Last-Modified: Thu, 07 Nov 2019 01:58:44 GMT
Date: Tue, 12 Nov 2019 08:37:08 GMT
Content-Type: application/javascript
Transfer-Encoding: chunked

2000
seajs.config({
    base: golbalVar.contextPath + "ims/app/",
    alias: {
    	"processController": "monitor/state_monitor/js/common/monitorList.controller.js",
		"util": "utils/util.js",
		"MonitorDetailHtml": "monitor/state_monitor/js/common/monitor_detail.html.js",
		"MonitorDetailViewHtml": "monitor/state_monitor/js/common/monitor_detail_view.html.js",
		"kpiplugindefineController": "monitor/plugin_define/js/kpiplugindefine.controller.js",
		"noModal": "business-common/nomodal/js/nomodal.js",
		"quotaController": "monitor/plugin_define/js/kpiplugindefine.controller.js",
		"monitorListCommon": "monitor/state_monitor/js/common/monitorList_common.js"
    }
});
define(function (require, exports, module) {
	var ViewShow = function(){
	};
	var monitorKpiData=[],monitorKpiMap={},monitorObjTypeAll = "";
	ViewShow.prototype.init = function (resourceId,resourceClsCode,monitorObjType) {
		ViewShow.criteriaQueryNewDetail(resourceId,resourceClsCode,monitorObjType);
	};
	var viewIndicatorResourceId = "";
	//生成详情页面的指标列表页   criteriaQuery + NewDetail;
	ViewShow.criteriaQueryNewDetail = function (resourceId,resourceClsCode,monitorObjType) {
		viewIndicatorResourceClsCode = resourceClsCode;
		monitorObjTypeAll = resourceClsCode;
		viewIndicatorResourceId = resourceId;
		var viewShowResourceId = resourceId;
		if(resourceClsCode == "HSERVER"){
			resourceId = resourceId.substring(0,resourceId.length-4);
		}
		var height = $(window).height() - 100;
		$("#process-tableParentDiv-newView").height(height);
		$("#process-tableParentDiv-newTable").html("")
		var jstreeStr = '<div class="list-group" style="float: left;width: 18%;margin-bottom: 0px;">\
							<div class="panel panel-info" id="quotaPanel" style="width: 100%;height: 100%;margin-bottom: 0px;border-color:#cccccc;">\
							    <div class="mCustomScrollbar panel-body" id="quotaTree" data-mcs-theme="dark" style="width:100%;height:95%;">\
							        <div id="quota_container"></div>\
							        <input type="hidden" id="monitorObjType">\
							    </div>\
							</div>\
						</div>\
						<div id="rightList" style="float:right;width:82%;padding-left:0px;"></div>';
		$("#process-tableParentDiv-newTable").append(jstreeStr);
		this.groupTree(resourceId,resourceClsCode);
		var fHeight = $(window).height() - 169
		$(".list-group").css("max-height",fHeight + "px");
	    var MonitorDetailHtml = require("MonitorDetailHtml");
	    var queryHTML = MonitorDetailHtml.criQueryHTML();
	    var tableColumn = MonitorDetailHtml.tableCol(ViewShow.viewIndicatorTrendMap);
	    var resourcePath = resourceClsCode + "@" + resourceId;
	    var h = ($(window).height() - 150)*0.97;
	    //此处需要添加判断，判断当前详情的页签是否为“指标列表”或者“资源视图”
	    $("#rightList").queryTable({
	            queryContent: queryHTML,
	            tableUrl: golbalVar.contextPath + 'controller/monitorkpi/listMonitorKpiByMonitorObjId',
	            tableColumns: tableColumn,
	            sidePagination:"client",
	            tablePagination: false,
	            height:h,
	            defaultTableParams:{
	            	"monitorObjType" : monitorObjType,
	            	"monitorObjId" : resourceId,
	            	"resourcePath" : resourcePath
	            },
	            onLoadSuccess:function(data){
	            	monitorKpiData = data;
	            	$.each(data,function(kpiIndex,kpiValue){
	            		monitorKpiMap[kpiValue.id]=kpiValue.valueType;
	            	});
	            	$.each($(".leftOrRight"),function(index,item){
	        	    	var isRight = $(this).attr("isright");
	        	    	if(isRight == "false"){
	        	    		$(this).parent().css("text-align","left");
	        	    	}else{
	        	    		$(this).parent().css("text-align","right");
	        	    	}
	        	    });
	            },
	            onPostBody:function(){
	            	$.each($(".leftOrRight"),function(index,item){
	        	    	var isRight = $(this).attr("isright");
	        	    	if(isRight == "false"){
	        	    		$(this).parent().css("text-align","left");
	        	    	}else{
	        	    		$(this).parent().css("text-align","right");
	        	    	}
	        	    });
	            }
	        });
	    
	//详情页签点击事件触发
	    ViewShow.newDetailBtn(viewShowResourceId,resourceClsCode,monitorObjType);
		$("#rightList").find("#criteriaNav").hide();
	};
	
	ViewShow.systemKpiTable = function(monitorObjType,resourceId,resourcePath,tableId,isRun){
		monitorObjTypeAll = monitorObjType;
		viewIndicatorResourceId = resourceId;
		var MonitorDetailHtml = require("MonitorDetailHtml");
	    var queryHTML = MonitorDetailHtml.criQueryHTML();
	    var tableColumn = MonitorDetailHtml.tableCol(ViewShow.viewIndicatorTrendMap);
//	    var resourcePath = resourceClsCode + "@" + resourceId;
	    //此处需要添加判断，判断当前详情的页签是否为“指标列表”或者“资源视图”
	    $("#"+tableId).queryTable({
            queryContent: queryHTML,
            tableUrl: golbalVar.contextPath + 'controller/monitorkpi/queryProvAPPAllKpi',
            tableColumns: tableColumn,
            sidePagination:"client",
            tablePagination: false,
            defaultTableParams:{
            	"monitorObjType" : monitorObjType,
            	"monitorObjId" : resourceId,
            	"resourcePath" : resourcePath,
            	"isRunMertic" : isRun
            },
            onLoadSuccess:function(data){
            	monitorKpiData = data;
            	$.each(data,function(kpiIndex,kpiValue){
            		monitorKpiMap[kpiValue.id]=kpiValue.valueType;
            	});
            	$.each($(".leftOrRight"),function(index,item){
        	    	var isRight = $(this).attr("isright");
        	    	if(isRight == "false"){
        	    		$(this).parent().css("text-align","left");
        	    	}else{
        	    		$(this).parent().css("text-align","right");
        	    	}
        	    });
            },
            onPostBody:function(){
            	$.each($(".leftOrRight"),function(index,item){
        	    	var isRight = $(this).attr("isright");
        	    	if(isRight == "false"){
        	    		$(this).parent().css("text-align","left");
        	    	}else{
        	    		$(this).parent().css("text-align","right");
        	    	}
        	    });
            }
        });
	    $("#"+tableId).find("#criteriaNav").hide();
	}
	//详情页签点击事件
	ViewShow.newDetailBtn = function(resourceId,resourceClsCode,monitorObjType){
		$("#panel_ci_topo_newDetail_"+resourceId+"_view").off("click").on("click",function(){
			if(monitorObjType == "HOST"){
				if(resourceId.indexOf("_ser")>-1){
					resourceClsCode = "HSERVER";
				}else{
					var getData = $("#process-tableParentDiv").queryTable("getData");
					$.each(getData,function(dataIndex,dataValue){
						if(resourceId == dataValue.id){
							resourceClsCode = dataValue.resourceClsCode.split(",")[0];
						}
					});
				}
			}
	    	$(".tab-content").hide();//主列表隐藏
	        $(".tab-content-newTable").show();
	        $(".ul-tab").find("a").removeAttr("style");
	        $(this).attr("style","background-color:#dbeeff;border:1px solid #dbeeff;");
	        $("#process-tableParentDiv-newTable").css("display","none");
			$("#process-tableParentDiv-newView").css("display","block");
			$("#newTable-detail-ziyuanshitu").css({"border-bottom":"4px solid #0077e5"});
			$("#newTable-detail-zhibiaoliebiao").css({"border-bottom":"4px solid #eeeeee"});
			ViewShow.pluginInit(resourceClsCode,resourceId);
	        //重新生成详情页面-----点击页签重新绘制详情列表；
	        ViewShow.criteriaQueryNewDetail(resourceId,resourceClsCode,monitorObjType);
	        $("#newTable-detail-ziyuanshitu").off("click").on("click",function(){
				$("#process-tableParentDiv-newTable").css("display","none");
				$("#process-tableParentDiv-newView").css("display","block");
				$("#newTable-detail-ziyuanshitu").css({"border-bottom":"4px solid #0077e5"});
	
2000
			$("#newTable-detail-zhibiaoliebiao").css({"border-bottom":"4px solid #eeeeee"});
				ViewShow.pluginInit(resourceClsCode,resourceId);
			});
			$("#newTable-detail-zhibiaoliebiao").off("click").on("click",function(){
				$("#process-tableParentDiv-newView").css("display","none");
				$("#process-tableParentDiv-newTable").css("display","block");
				$("#newTable-detail-zhibiaoliebiao").css({"border-bottom":"4px solid #0077e5"});
				$("#newTable-detail-ziyuanshitu").css({"border-bottom":"4px solid #eeeeee"});
				ViewShow.criteriaQueryNewDetail(resourceId,resourceClsCode,monitorObjType);
			});
	    });
	};
	
	
	ViewShow.pluginInit = function (monitorObjType,monitorObjId) {
		if(monitorObjType == "HSERVER"){
			monitorObjId = monitorObjId.substring(0,monitorObjId.length-4);
		}
		var kpiplugindefineController = require("kpiplugindefineController");
		var MonitorViewSetting = {"monitorObjType":monitorObjType,"isRun":true};
		kpiplugindefineController.queryMonitorViewSetting(MonitorViewSetting,function(data){
			if(data.length>0){
				ViewShow.clearIntervals();
				$("div").remove(".panelViewShow");
				$.each(data, function (index, item) {
					$("#process-tableParentDiv-newView")["kpiPanel"]({data: item,monitorObjId:monitorObjId});
				});
			}else{
				ViewShow.clearIntervals();
				$("div").remove(".panelViewShow");
			}
		});
	};
	//指标列表增加趋势图列：查看数值型指标趋势图   chanw
	ViewShow.viewIndicatorTrendMap = function(value,row,index,methods){
		console.log(monitorObjTypeAll);
		var that = this;
		var name = row.name;
		var id = row.id;
		var ofNomodel = true;
		var type = row.valueType;
		var pluginParameter = [{"label":row.name,"timecycle":"today","data":[{"id":row.id,"name":row.name,"path":viewIndicatorResourceClsCode,"type":row.valueType}]}];
		var monitorPluginKpiJson = {
				monitorObjType: monitorObjTypeAll,
				pluginParameter: JSON.stringify(pluginParameter),
				pluginTitle: row.name,
				pluginType: "trend"
		}
		if(ofNomodel){
			var nomodel = require("noModal");
			var singleButtons = [];
			var title = '指标历史数据';
			var udHTML = '<div class=".homepageshow" style="height:570px;">'+
							 '<div style="width:100%;min-height:50px;padding-top:13px;margin-bottom:20px;" id="nomodalTitleDiv">'+
							 	'<div style="float:left;"><label style="font-size:14px;">指标名称</label>&nbsp;&nbsp;<select id="trendViewCloum"></select>&nbsp;&nbsp;&nbsp;&nbsp;'+
							 	'<label style="font-size:14px;">时间范围</label>&nbsp;&nbsp;<div style="display:inline-block;" id="timeDivLabel"><input type="hidden" id="trendViewTime"/><label value ="today" class="timeLable1 timeLableActive">今天</label> <label class="timeLable2" value ="currentweek">本周</label> <label class="timeLable3" value ="customTime">自定义</label></div>&nbsp;&nbsp;&nbsp;&nbsp;'+
							 	'</div>'+
							 	'<div style="width:450px;display:inline-block;" id="allViewTime">'+
								 	'<div style="display:inline-block;">'+
									 	'<div style="width:45%;float:left;margin-right:20px;" class="input-group date viewStartTime"><input class="form-control" id="viewStartTime0"  type="text" value="" readonly style="width:100%"><span class="input-group-addon"><span class="glyphicon glyphicon-calendar" id="viewStartTimeCalendar0"></span></span></div>'+
									 	'<div style="width:45%;" class="input-group date viewEndTime"><input class="form-control" id="viewEndTime0"  type="text" value="" readonly style="width:100%"><span class="input-group-addon"><span class="glyphicon glyphicon-calendar" id="viewEndTimeCalendar0"></span></span></div>'+
								 	'</div>'+
								'</div>'+
							 	'<img src="../../sg/image/timeAddPng.png" style="position:absolute;margin-left:-2%;z-index:99999;cursor:pointer;" id="addTimeDiv">'+
							 	'<button style="float:right;margin-right:10%;border:1px solid #0077e5;color:#0077e5;background-color:#ffffff;padding:6px 12px;" class="btn btn-sm" id="resetKpiView">重置</button>'+
							 	'<button style="float:right;margin-right:10px;padding:6px 12px;" class="btn btn-info btn-sm" id="monitorKpiTrendQuery">查询</button>'+
							 '</div>'+
							 '<div>'+
							 '<div id="kpiTableTrend" style="position:absolute;margin-left:89%;z-index:99999;display:none"><label value ="today" class="tableLineLabel1 timeLableActive">折线</label><label class="tableLineLabel2" value ="customTime">表格</label></div>'+
							 '<div id="tableParentDiv-newView" class="panel-body botton_set" style="height:510px;"></div></div>'+
							 '<div id="kpiTableDiv" style="height:470px;display:none;overflow-x:auto;margin-top:50px;"><table id="tableParentDiv-table" style="text-align:center;"></table></div>'+
						 '</div>';
			var showPar = {
					zIndex: 10000,
					width: 1200,
					height: 660,
					title: title,
					content: udHTML,
					buttonGroups: [],
					singleButtons:singleButtons,
					isButtonGroupsAfter: true,
					operatePosition: "bottom",
					isDragable: true,
					isHideBut:false
			}
			nomodel('viewIndicatorNoModal',"show",showPar);
			$("#trendViewCloum").html('');
			$.each(monitorKpiData,function(index,valueKpi){
				if(id == valueKpi.id){
					$("#trendViewCloum").append('<option value="'+valueKpi.id+'" selected>'+valueKpi.name+'</option>');
				}else{
					if("NUMBER" == valueKpi.valueType){
						$("#trendViewCloum").append('<option title="'+valueKpi.name+'" value="'+valueKpi.id+'">'+valueKpi.name+'</option>');
					}
				}
			});
			$("#trendViewCloum").multiselect({
				buttonWidth : "135px",
				maxHeight : "180"
			});
			var beginEnd = ViewShow.getTimeVal("today");
			if(beginEnd!=null&&beginEnd!=""&&beginEnd.indexOf(",")>-1){
				$("#viewStartTime0").val(beginEnd.split(",")[0]);
				$("#viewEndTime0").val(beginEnd.split(",")[1]);
			}
			$('#viewEndTime0').parent().css("pointer-events","none");
			$('#viewStartTime0').parent().css("pointer-events","none");
			$("#timeDivLabel").find("label").off("click").on("click",function(){
				var monitorKpiTimeLong = $(this).attr("value");
				var beginEnd = ViewShow.getTimeVal(monitorKpiTimeLong);
				if(beginEnd!=null&&beginEnd!=""&&beginEnd.indexOf(",")>-1){
					$("#viewStartTime0").val(beginEnd.split(",")[0]);
					$("#viewEndTime0").val(beginEnd.split(",")[1]);
				}
				$(this).parent().find("label").removeClass("timeLableActive");
				$(this).addClass("timeLableActive");
				$("#trendViewTime").val(monitorKpiTimeLong);
				if("customTime" == monitorKpiTimeLong){
					if($(".viewEndTime").length>0){
						$('#viewStartTime0').parent().css("pointer-events","auto");
						for(var k=0;k<$(".viewEndTime").length;k++){
							$('#viewEndTime'+k).parent().css("pointer-events","auto");
						}
					}
//					$("#addTimeDiv").off("click").on("click",function(){
//						ViewShow.addTimeDivClick();
//					});
//					$("#allViewTime").css("pointer-events","auto");
				}else{
//					$("#addTimeDiv").off("click");
//					$("#allViewTime").css("pointer-events","none");
					$('#viewStartTime0').parent().css("pointer-events","none");
					$('#viewEndTime0').parent().css("pointer-events","none");
					if($(".viewEndTime").length>1){
						var commonUtil = require("util");
						var timeD_Value = ViewShow.GetDateDiff($("#viewStartTime0").val(),$("#viewEndTime0").val(),"minute");
						timeD_Value = 0 - timeD_Value;
						for(var i=1;i<$(".viewEndTime").length;i++){
							$('#viewEndTime'+i).parent().css("pointer-events","none");
							var  value = $("#viewEndTime"+i).val();
						    if(commonUtil.isNotNull(value)){
						    	value = value.substring(0,value.lastIndexOf(":")) + ":00";
						    	var startTimeShow = ViewShow.CountTime(value,timeD_Value);
						    	$("#viewStartTime"+i).val(startTimeShow);
						    }
						}
					}
				}
			});
			$("#addTimeDiv").off("click").on("click",function(){
				ViewShow.addTimeDivClick();
			});
			$("#allViewTime").css("pointer-events","auto");
			var xDateTimeList1 = [];
			var yDateTimeList1 = [];
			var viewStartTime0 = "";
			var viewEndTime0 = "";
			if(type == 'NUMB
2000
ER'){
				var commonUtil = require("util");
				if(commonUtil.isNotNull(row.hasChildCorp)){
					$("#kpiTableTrend").css("display","none");
					if("false" == row.hasChildCorp){
						ViewShow.initializationDateTimePicker(0);
						var submitData = {"monitorObjId":viewIndicatorResourceId,"monitorPluginKpiJson":JSON.stringify(monitorPluginKpiJson)};
						ViewShow.submitByKpiData(submitData,function(data){
							$("#kpiTableTrend").show();
							var resultObject = JSON.parse(data.resultObj);
							var xdataList = resultObject.xdata.split(",");
							var ydataList = resultObject.series[0].data.split(",");
							viewStartTime0 = xdataList[0];
							viewEndTime0 = xdataList[xdataList.length-1];
							xDateTimeList1.push(xdataList);
							yDateTimeList1.push(ydataList);
							ViewShow.creatTableKpi("tableParentDiv-table",xDateTimeList1,yDateTimeList1,resultObject.label);
							$("#tableParentDiv-newView").html('');
							$("#tableParentDiv-newView")["trend"]({data: resultObject,timecycle:"today"});
						});
					}else{
						$("#nomodalTitleDiv").hide();
						var submitData = {"resourceClsCode":"APP","resourceId":row.systemResourceId,"metricList":row.id};
						ViewShow.submitQueryAPPKpiAllCity(submitData,function(data){
							console.log(data.resultObj);
							var optionsData = {
								xData:data.resultObj.xData,
								yData:data.resultObj.yData,
								title:row.name
							}
							$("#tableParentDiv-newView")["barChart"]({data:optionsData});
						});
					}
				}else{
					ViewShow.initializationDateTimePicker(0);
					var submitData = {"monitorObjId":viewIndicatorResourceId,"monitorPluginKpiJson":JSON.stringify(monitorPluginKpiJson)};
					ViewShow.submitByKpiData(submitData,function(data){
						$("#kpiTableTrend").show();
						var resultObject = JSON.parse(data.resultObj);
						var xdataList = resultObject.xdata.split(",");
						var ydataList = resultObject.series[0].data.split(",");
						viewStartTime0 = xdataList[0];
						viewEndTime0 = xdataList[xdataList.length-1];
						xDateTimeList1.push(xdataList);
						yDateTimeList1.push(ydataList);
						ViewShow.creatTableKpi("tableParentDiv-table",xDateTimeList1,yDateTimeList1,resultObject.label);
						$("#tableParentDiv-newView").html('');
						$("#tableParentDiv-newView")["trend"]({data: resultObject,timecycle:"today"});
					});
				}
			}
			if(type != 'NUMBER'){
				ViewShow.initializationDateTimePicker(0);
				var submitData = {"monitorObjId":viewIndicatorResourceId,"monitorPluginKpiJson":JSON.stringify(monitorPluginKpiJson)};
				ViewShow.submitByKpiData(submitData,function(data){
					var resultObject = JSON.parse(data.resultObj);
					var xdataList = resultObject.xdata.split(",");
					var ydataList = resultObject.series[0].data.split(",");
					xDateTimeList1.push(xdataList);
					yDateTimeList1.push(ydataList);
					viewStartTime0 = xdataList[0];
					viewEndTime0 = xdataList[xdataList.length-1];
					$("#kpiTableTrend").hide();
					$("#tableParentDiv-newView").hide();
					$("#kpiTableDiv").show();
					ViewShow.creatTableKpi("tableParentDiv-table",xDateTimeList1,yDateTimeList1,"");
				});
//				sweetAlert.caution("【"+name+"】为非数值型指标", "", "关闭", 3000);
//				return;
			}
//			$("#allViewTime").css("pointer-events","none");
			$("#monitorKpiTrendQuery").off("click").on("click",function(){
				var monitorKpiValueId = $("#trendViewCloum").val();
				var monitorKpiValue = $("#trendViewCloum option:selected").text();
				var monitorKpiValueType = monitorKpiMap[monitorKpiValueId];
				var monitorKpiTimeLong = $("#trendViewTime").val();
				var pluginParameterView = [];
				var xDateTimeList = [];
				var yDateTimeList = [];
//				if("customTime" == monitorKpiTimeLong){
					var startTimeList = $("#allViewTime .viewStartTime").find("input");
					var endTimeList = $("#allViewTime .viewEndTime").find("input");
					var startTimeValue = "";
					var endTimeValue = "";
					var returnListObj = "";
					var legendData="";	
					for(var i=0;i<startTimeList.length;i++){
						startTimeValue = $(startTimeList[i]).val();
						endTimeValue = $(endTimeList[i]).val();
						pluginParameterView = [{"label":monitorKpiValue,"timecycle":monitorKpiTimeLong,"startTime":startTimeValue,"endTime":endTimeValue,"data":[{"id":monitorKpiValueId,"name":monitorKpiValue,"path":viewIndicatorResourceClsCode,"type":monitorKpiValueType}]}];
						var monitorPluginKpiJsonView = {
								monitorObjType: monitorObjTypeAll,
								pluginParameter: JSON.stringify(pluginParameterView),
								pluginTitle: monitorKpiValue,
								pluginType: "trend"
						}
						var submitData = {"monitorObjId":viewIndicatorResourceId,"monitorPluginKpiJson":JSON.stringify(monitorPluginKpiJsonView)};
//						if(type == 'NUMBER'){
						var labelUnit = "";
						ViewShow.submitByKpiData(submitData,function(data){
							var resultObject = JSON.parse(data.resultObj);
							var xdataList = resultObject.xdata.split(",");
							var ydataList = resultObject.series[0].data.split(",");
							labelUnit = resultObject.label;
							xDateTimeList.push(xdataList);
							yDateTimeList.push(ydataList);
							if(i==0){
								legendData = monitorKpiValue;
								returnListObj = resultObject;
							}else{
								legendData = legendData + ","+monitorKpiValue+i;
								$.each(resultObject.series,function(index,value){
									value.name = monitorKpiValue+i;
									var seriesList = returnListObj.series;
									seriesList.push(value);
									returnListObj.series = seriesList;
								});
								returnListObj.legendData = legendData;
							}
//								ViewShow.creatTableKpi("tableParentDiv-table",xdataList,ydataList);
//								$("#tableParentDiv-newView")["trend"]('refresh',[JSON.parse(data.resultObj),monitorKpiTimeLong]);
						});
//						}else{
//							ViewShow.submitByKpiData(submitData,function(data){
//								var resultObject = JSON.parse(data.resultObj);
//								var xdataList = resultObject.xdata.split(",");
//								var ydataList = resultObject.series[0].data.split(",");
//								$("#kpiTableTrend").hide();
//								$("#tableParentDiv-newView").hide();
//								$("#kpiTableDiv").show();
//								ViewShow.creatTableKpi("tableParentDiv-table",xdataList,ydataList);
//							});
//						}
					}
					if(monitorKpiValueType == 'NUMBER'){
						$("#tableParentDiv-newView").show();
						$("#kpiTableTrend").show();
						$("#kpiTableDiv").hide();
						ViewShow.creatTableKpi("tableParentDiv-table",xDateTimeList,yDateTimeList,labelUnit);
						$("#tableParentDiv-newView")["trend"]('refresh',[returnListObj,monitorKpiTimeLong]);
					}else{
						$("#kpiTableTrend").hide();
						$("#tableParentDiv-newView").hide();
						$("#kpiTableDiv").show();
						ViewShow.creatTableKpi("tableParentDiv-table",xDateTimeList,yDateTimeList,"");
					}
//				}else{
//					pluginParameterView = [{"label":monitorKpiValue,"timecycle":monitorKpiTimeLong,"data":[{"id":monitorKpiValueId,"name":monitorKpiValue,"path":viewIndicatorResourceClsCode,"type":monitorKpiValueType}]}];
//					var monitorPluginKpiJsonView = {
//							monitorObjType: monitorObjTypeAll,
//							pluginParameter: JSON.stringify(pluginParameterView),
//							pluginTitle: monitorKpiValue,
//							pluginType: "trend"
//					}
//					var submitData = {"monitorObjId":viewIndicatorResourceId,"monitorPluginKpiJson":JSON.stringify(monitorPluginKpiJsonView)};
//					if(monitorKpiValueType == 'NUMBER'){
//						ViewShow.submitByKpiData(submitData,function(data){
//							$("#kpiTableTrend").show();
//							var resultObject = JSON.parse(data.resultObj);
//							var xdataList = resultObject.xdata.split(",");
//							var ydataList = resultObject.series[0].data.split(",");
//							xDateTimeList.push(xdataList);
//							yDateTimeList.push(ydataList);
//							$("#tableParentDiv-newView").show();
//							$("#kpiTableTrend").show();
//							$("#kpiTableDiv").hide();
//							ViewShow.creatTableKpi("tableParentDiv-table",xDateTimeList,yDateTimeList,resultObject.label);
/
2000
/							$("#tableParentDiv-newView")["trend"]('refresh',[JSON.parse(data.resultObj),monitorKpiTimeLong]);
//						});
//					}else{
//						ViewShow.submitByKpiData(submitData,function(data){
//							var resultObject = JSON.parse(data.resultObj);
//							var xdataList = resultObject.xdata.split(",");
//							var ydataList = resultObject.series[0].data.split(",");
//							xDateTimeList.push(xdataList);
//							yDateTimeList.push(ydataList);
//							$("#kpiTableTrend").hide();
//							$("#tableParentDiv-newView").hide();
//							$("#kpiTableDiv").show();
//							ViewShow.creatTableKpi("tableParentDiv-table",xDateTimeList,yDateTimeList,"");
//						});
//					}
//				}
			});
			
			$("#resetKpiView").off("click").on("click",function(){
				if($("#allViewTime").find(".timeDelete").length>0){
					$("#allViewTime").find(".timeDelete").click();
				}
				$(".timeLable1").click();
				$("#trendViewCloum").multiselect("select",id);
			})
			$("#kpiTableTrend").find("label").off("click").on("click",function(){
				$(this).parent().find("label").removeClass("timeLableActive");
				$(this).addClass("timeLableActive");
				$("#tableParentDiv-newView").toggle();
				$("#kpiTableDiv").toggle();
			});
		}else{
			sweetAlert.caution("请配置指标【"+name+"】趋势图", "", "关闭", 3000);
			return;
		}
	}
	ViewShow.addTimeDivClick = function(){
		var timeDivLength = $("#allViewTime .viewStartTime").length;
		if(timeDivLength>=3){
			return;
		}
		var timeHtml = '<div style="display:inline-block;margin-top:10px;">'+
						 	'<div style="width:45%;float:left;margin-right:20px;" class="input-group date viewStartTime"><input class="form-control" id="viewStartTime'+timeDivLength+'"  type="text" value="" readonly style="width:100%"><span class="input-group-addon"><span class="glyphicon glyphicon-calendar" id="viewStartTimeCalendar'+timeDivLength+'"></span></span></div>'+
						 	'<div style="width:45%;" class="input-group date viewEndTime"><input class="form-control"  id="viewEndTime'+timeDivLength+'" type="text" value="" readonly style="width:100%"><span class="input-group-addon"><span class="glyphicon glyphicon-calendar" id="viewEndTimeCalendar'+timeDivLength+'"></span></span></div>'+
						 	'<span class="timeDelete"></span>'+
					   '</div>';
		$("#allViewTime").append(timeHtml);
		$(".timeDelete").off("click").on("click",function(){
			$(this).parent().remove();
		});
		ViewShow.initializationDateTimePicker(timeDivLength);
	}
	ViewShow.initializationDateTimePicker = function(number){
		var commonUtil = require("util");
		layui.use('laydate', function(){
			var laydate = layui.laydate;
			//执行一个laydate实例
			laydate.render({
				elem: '#viewStartTime'+number, //指定元素
				eventElem: '#viewStartTimeCalendar'+number,
				trigger: 'click',
				type:"datetime",
				done:function(value, date){
					if(number>0){
						var timeD_Value = ViewShow.GetDateDiff($("#viewStartTime0").val(),$("#viewEndTime0").val(),"minute")
						value = value.substring(0,value.lastIndexOf(":")) + ":00";
						var endTimeShow = ViewShow.CountTime(value,timeD_Value);
						endTimeShow = endTimeShow.substring(0,value.lastIndexOf(":")) + ":59";
						$("#viewEndTime"+number).val(endTimeShow);
					}
				}
			});
//			if(number == 0){
			laydate.render({
				elem: '#viewEndTime'+number, //指定元素
				eventElem: '#viewEndTimeCalendar'+number,
				trigger: 'click',
				type:"datetime"
			});
			$('#viewEndTime'+number).parent().css("pointer-events","none");
//			}
		});
	}
	ViewShow.submitByKpiData = function(data,successFun){
		$.ajax({
			async : false,
			url : golbalVar.contextPath + 'controller/monitorkpi/getMonitorKpiData',
			type : "POST",   
			dataType : "json", 
			
			//中文参数被拦截,改用url自带编码
			data : encodeURI(JSON.stringify(data)),
            beforeSend : function(request,conf) {
            	if (typeof this.url != "undefined" && this.url != null && this.url != "") {
            		//var originalVal = encodeURI(golbalVar.httpPort+this.url)+encodeURI(JSON.stringify(data))+'itom';
            		var originalVal = encodeURI(golbalVar.httpPort+this.url);
            		if(conf.data){
//            			originalVal += conf.data;
            			originalVal += encodeURI(JSON.stringify(data));
            		}
            		originalVal += 'itom';
            		var md5z = hex_md5(originalVal).toString();
            		request.setRequestHeader("Content-Type", "application/json;charset=UTF-8");
            		request.setRequestHeader("dataVerifyCode", encrypt2(md5z));
            	}
			},
			
			success : function (json){
				if(json.resultObj!=null&&json.resultObj!=""){
					successFun(json);
				}
			},
			error:function(XMLHttpRequest){
				console.log(XMLHttpRequest);
			}
		});
	};
	
	ViewShow.submitQueryAPPKpiAllCity = function(data,successFun){
		$.ajax({
			async : false,
			url : golbalVar.contextPath + 'controller/monitorkpi/queryAPPKpiAllCity',
			type : "POST",   
			dataType : "json", 
			
			//中文参数被拦截,改用url自带编码
			data : encodeURI(JSON.stringify(data)),
            beforeSend : function(request,conf) {
            	if (typeof this.url != "undefined" && this.url != null && this.url != "") {
            		//var originalVal = encodeURI(golbalVar.httpPort+this.url)+encodeURI(JSON.stringify(data))+'itom';
            		var originalVal = encodeURI(golbalVar.httpPort+this.url);
            		if(conf.data){
//            			originalVal += conf.data;
            			originalVal += encodeURI(JSON.stringify(data));
            		}
            		originalVal += 'itom';
            		var md5z = hex_md5(originalVal).toString();
            		request.setRequestHeader("Content-Type", "application/json;charset=UTF-8");
            		request.setRequestHeader("dataVerifyCode", encrypt2(md5z));
            	}
			},
			
			success : function (json){
				if(json.resultObj!=null&&json.resultObj!=""){
					successFun(json);
				}
			},
			error:function(XMLHttpRequest){
				console.log(XMLHttpRequest);
			}
		});
	};
	
	ViewShow.creatTableKpi = function(id,xdata,ydata,labelUnit){
		$("#"+id).empty(); 
		var tableColumn = [];
		if(xdata.length == ydata.length){
			var _thead = $('<thead></thead>');
			var _tr = $('<tr style="background-color:#dfdfdf;height:35px;font-size:14px;"></tr>');
			var widthNum = 100 / ydata.length / 2;
			for(var i=0;i<ydata.length;i++){
				var _thTime = $('<th style="text-align:center;width:'+widthNum+'%">时间'+(i+1)+'</th>');
				var _thVal = $('<th style="text-align:center;width:'+widthNum+'%">指标值'+(i+1)+'</th>');
				_tr.append(_thTime).append(_thVal);
			}
			_thead.append(_tr);
			$("#"+id).append(_thead);
		}
		if(xdata[0].length == ydata[0].length){
			var _tbody = $('<tbody></tbody>');
			for(var x=0;x<xdata[0].length;x++){
				var isEven = (x%2 ==0) ?true:false;
				var _bodyTr =  $('<tr style="background-color:#fff;text-align:center;height:53px;font-size:14px;"></tr>');
				if(isEven){
					_bodyTr.css("background-color","#f4f4f4");
				}
				var _data = {};
				for(var y=0;y<xdata.length;y++){
					var time = xdata[y][x];
					var data = ydata[y][x]=="null"?"": ydata[y][x] + labelUnit;
					var _bodyTdTime =  $('<td>'+time+'</td>');
					var _bodyTdVal =  $('<td>'+data+'</td>');
					_bodyTr.append(_bodyTdTime).append(_bodyTdVal);
				}
				_tbody.append(_bodyTr);
			}
			$("#"+id).append(_tbody);
		}
	}
	ViewShow.clearIntervals = function () {
		var array = golbalVar.clearIntervalArr;
		if(array.length>0){
	        for (var i = array.length - 1; i >= 0; i--) {
	            clearInterval(array[i]);
	        };
			golbalVar.clearIntervalArr = [];
		}
	};
	
	ViewShow.groupTree = function (resourceId,resourceClsCode) {
		var height = $(window).height() - 30;
		$("#quotaPanel").parent().css("height",height+"px");
	    var quotaController = require("quotaController");
		quotaController.queryMonitorStatusListTree(resourceClsCode,resourceId,function (data) {
	    	if(data!=null
2000
&&data.length>0){
	    		$("#monitorObjType").val(data[0].type);
	    	}
	    	if(data!=null){
	    		ViewShow.groupTreeData("quota_container", data,resourceClsCode,resourceId);
	    	}else{
	    		$("#rightList").css("width","99%");
	    		$("#quotaPanel").parent().css("width","0%");
	    		$("#quotaPanel").parent().hide();
	    	}
	    });
	};
	
	/**
	 * 指标树数据初始化
	 */
	ViewShow.groupTreeData = function (id, data,resourceClsCode,resourceId) {
	    $("#" + id)
	    .off("changed.jstree")
	    .on("changed.jstree", function (e, data) {
	    	if(data.node!=null&&data.node!=""){
	    		ViewShow.onCheckTree(data.node.original);
	    		$("#innerode").val(data.node.original.innerCode);
	    		if(data.node.original.resourcePath.indexOf("/")>-1){
	    			viewIndicatorResourceClsCode = "";
	    			var resourcePathArr = data.node.original.resourcePath.split("/");
	    			if(resourcePathArr.length>0){
	    				for(var i=0;i<resourcePathArr.length;i++){
	    					if(resourcePathArr[i].indexOf("@")>-1){
	    						if(viewIndicatorResourceClsCode == ""){
	    							viewIndicatorResourceClsCode = resourcePathArr[i].split("@")[0];
	    						}else if(i ==(resourcePathArr.length-1)){
	    							viewIndicatorResourceClsCode = viewIndicatorResourceClsCode+ "/"+resourcePathArr[i];	
	    						}else{
	    							viewIndicatorResourceClsCode = viewIndicatorResourceClsCode+ "/"+resourcePathArr[i].split("@")[0];
	    						}
	    					}
	    				}
	    			}
//	    			viewIndicatorResourceClsCode = viewIndicatorResourceClsCode +"/" +data.node.original.id;
	    		}else{
	    			if(data.node.original.resourcePath.indexOf("@")>-1){
	    				viewIndicatorResourceClsCode = data.node.original.resourcePath.split("@")[0];
					}
	    			
	    		}
	    		$("#rightList").queryTable("refreshTable", {
	                query: {
	                	"monitorObjType": data.node.id,
	                	"resourcePath":data.node.original.resourcePath
	                }
	            });
	    	}
	    }).jstree({
	        'core': {
	            "animation": 0,
	            "check_callback": true,
	            multiple: false,
	            data: ViewShow.groupRecursion(data,resourceClsCode,resourceId),
	            'themes': {
	                "theme": "default",
	                "dots": false,
	                "icons":false
	            }
	        },
	        "plugins": [ "wholerow" ]
	    });
	    $('#quotaTree').mCustomScrollbar({
	        axis: "yx",
	        autoHideScrollbar: true,
	        autoExpandScrollbar: true
	    });
	    $("#" + id).on("loaded.jstree", function (event, data) {
            // 展开所有节点
	    	$("#" + id).jstree('open_all');
        });
	};   
	
	
	/*
	 * 树选择事件
	 */
	ViewShow.onCheckTree = function (data) {
		$("#monitorObjType").val(data.id);
		monitorObjType = data;
	};
	
	/**
	 * 递归处理树数据格式
	 */
	ViewShow.groupRecursion = function (data,resourceClsCode,resourceId) {
	    var commonUtil = require("util");
	    var groupData = [];
	    var groupJson = {};
	    groupJson["id"] = data.resourceId;
	    groupJson["text"] = data.resourceName;
	    var resourcePath = resourceClsCode + "@" + resourceId;
	    groupJson["resourcePath"] = resourcePath;
	    if (commonUtil.isNotNull(data.subResourceType)) {
	        groupJson["children"] = this.groupRecursionTree(data.subResourceType,null,resourcePath);
	    }else if(commonUtil.isNotNull(data.resource)){
	    	groupJson["children"] = this.groupRecursionTree(null,data.resource,resourcePath);
	    }else{
	    	$("#rightList").width("100%");
	    	$("#quotaPanel").parent().width("0px");
	    	groupJson["icon"] = true;
	    }
	    groupData.push(groupJson);
	    return groupData;
	};
	
	/**
	 * 递归处理树数据格式
	 */
	ViewShow.groupRecursionTree = function (subResourceType,resource,resourcePath) {
	    var commonUtil = require("util");
	    var groupData = [];
	    var $that = this;
	    if(commonUtil.isNotNull(subResourceType)){
	    	$.each(subResourceType, function (k, v) {
	            var groupJson = {};
	            groupJson["id"] = v.resourceTypeCode;
	            groupJson["text"] = v.resourceTypeName;
	            groupJson["state"] =  { disabled:true };
	            var resourcePathChild = resourcePath + "/" + v.resourceTypeCode + "@";
	            if (commonUtil.isNotNull(v.resource)) {
	                groupJson["children"] = $that.groupRecursionTree(null,v.resource,resourcePathChild);
	            }else{
	            	groupJson["icon"] = true;
	            }
	            groupData.push(groupJson);
	        });
	    }else if(commonUtil.isNotNull(resource)){
	    	$.each(resource, function (k, v) {
	            var groupJson = {};
	            var saveFesourcePath = resourcePath + v.resourceId;
	            groupJson["id"] = v.resourceId;
	            groupJson["text"] = v.resourceName;
	            groupJson["resourcePath"] = saveFesourcePath;
	            if (commonUtil.isNotNull(v.subResourceType)) {
	                groupJson["children"] = $that.groupRecursionTree(v.subResourceType,null,resourcePath);
	            }else{
	            	groupJson["icon"] = true;
	            }
	            groupData.push(groupJson);
	        });
	    }
	    return groupData;
	};
	
	ViewShow.GetDateDiff = function (startTime,endTime,diffType) {
		//将xxxx-xx-xx的时间格式，转换为 xxxx/xx/xx的格式 
	    startTime = startTime.replace(/\-/g, "/");
	    endTime = endTime.replace(/\-/g, "/");
	    //将计算间隔类性字符转换为小写
	    diffType = diffType.toLowerCase();
	    var sTime =new Date(startTime); //开始时间
	    var eTime =new Date(endTime); //结束时间
	    //作为除数的数字
	    var timeType =1;
	    switch (diffType) {
	        case"second":
	            timeType =1000;
	        break;
	        case"minute":
	            timeType =1000*60;
	        break;
	        case"hour":
	            timeType =1000*3600;
	        break;
	        case"day":
	            timeType =1000*3600*24;
	        break;
	        default:
	        break;
	    }
	    return parseInt((eTime.getTime() - sTime.getTime()) / parseInt(timeType));
	}
	
	ViewShow.CountTime = function (t,b) {
		var time = new Date(t.replace("-","/"));
	    time.setMinutes(time.getMinutes() + b, time.getSeconds(), 0);
	    var d = new Date(time);
	    var y = d.getFullYear();
	    var m = d.getMonth() + 1;
	    m = m < 10 ? ('0' + m) : m;
	    var da = d.getDate();
	    da = da < 10 ? ('0' + da) : da;
	    var h = d.getHours();
	    h = h < 10 ? ('0' + h) : h;
	    var minute = d.getMinutes();
	    minute = minute < 10 ? ('0' + minute) : minute;
	    var seconds = d.getSeconds();
	    seconds = seconds < 10 ? ('0' + seconds) : seconds;
	    var resDate=y + '-' + m + '-' + da + ' ' + h + ':' + minute+ ':' + seconds;
	    return resDate;
	}
	
	var viewIndicatorResourceClsCode='',viewIndicatorResourceId='';
	/**
	 * 点击监控对象名称 打开新标签页
	 */
	ViewShow.expandCiView = function(resourceId,resourceClsCode,tabIdPart,monitorObjType){
	    $(".tab-content").hide();
	    $(".tab-content-newTable").show();
	    $(".ul-tab").children("li").removeClass("active");
	    var newTabHtml = '<li class="active" >\
								<a contenteditable="false" data-toggle="tab" href="javascritp:#" style="background-color:#dbeeff;border:1px solid #dbeeff;" id="panel_ci_topo_newDetail_'+resourceId+'_view">'+tabIdPart+'\
									<span style="width:8px;height:8px;position: absolute; margin-left: 10px; right: 7px; top: 8px; color: #666666; cursor: pointer;" class="glyphicon glyphicon-remove closetab"></span>\
								</a>\
							</li>';
	    $(".ul-tab").append(newTabHtml);
	    //声称tab页
	    $(".tab-content-newTable").html("");
	    var height = $(window).height() - 100;
		var detailListStr = '<div class="tab-box">\
							<ul class="newTable-detail">\
								<li>\
									<a id="newTable-detail-ziyuanshitu" class="aActive">资源视图</a>\
								</li>\
				
d16
				<li>\
									<a id="newTable-detail-zhibiaoliebiao" >指标列表</a>\
								</li>\
							</ul>\
						</div>\
						<div class="view-or-list" style="height:'+height+'px;">\
							<div id="process-tableParentDiv-newTable" style="width:100%;padding:0 10px;"></div>\
							<div id="process-tableParentDiv-newView" style="width:100%;padding:0 10px;height:'+height+'px;overflow-x:auto;"></div>\
						</div>';
		$(".tab-content-newTable").append(detailListStr);
		ViewShow.pluginInit(resourceClsCode,resourceId);
		ViewShow.criteriaQueryNewDetail(resourceId,resourceClsCode,monitorObjType);
	    
	  //页签关闭
	    $(".closetab").off("click").on("click",function(){
	    	ViewShow.clearIntervals();
	    	$(this).parent("a").parent("li").remove();
	    	$(".closetab").parent("a").css({"background-color":"#ffffff"});
	    	$(".tab-content-newTable").hide();
	    	$(".tab-content").show();
	    	$("#panel_ci_topo_main_view").css({"background-color":"#dbeeff"});
	    });
	  //资源视图或者指标列表点击事件
	    $("#newTable-detail-ziyuanshitu").off("click").on("click",function(monitorObjTypeStr,resourceIdStr){
			$("#process-tableParentDiv-newTable").css("display","none");
			$("#process-tableParentDiv-newView").css("display","block");
			$("#newTable-detail-ziyuanshitu").css({"border-bottom":"4px solid #0077e5"});
			$("#newTable-detail-zhibiaoliebiao").css({"border-bottom":"4px solid #eeeeee"});
			ViewShow.pluginInit(resourceClsCode,resourceId);
		});
		$("#newTable-detail-zhibiaoliebiao").off("click").on("click",function(monitorObjTypeStr,resourceIdStr){
			$("#process-tableParentDiv-newView").css("display","none");
			$("#process-tableParentDiv-newTable").css("display","block");
			$("#newTable-detail-zhibiaoliebiao").css({"border-bottom":"4px solid #0077e5"});
			$("#newTable-detail-ziyuanshitu").css({"border-bottom":"4px solid #eeeeee"});
			ViewShow.criteriaQueryNewDetail(resourceId,resourceClsCode,monitorObjType);
		});
		$("#newTable-detail-ziyuanshitu").click();
	};
	
	ViewShow.getTimeVal = function(type){
		var that = this;
		var beginTime = "";
		var endTime = "";
		var  timeVal = "";
		var now = new Date(); //当前日期 
		var nowDayOfWeek = now.getDay()-1; //今天本周的第几天 
		var nowDay = now.getDate(); //当前日 
		var nowMonth = now.getMonth(); //当前月 
		var nowYear = now.getYear(); //当前年 
		nowYear += (nowYear < 2000) ? 1900 : 0; //
		if(type == "today"){
			timeVal = that.formatDate(now);
			beginTime = timeVal + " 00:00:00";
			endTime = timeVal + " 23:59:59";
			return beginTime +","+endTime;
		}else if(type == "currentweek"){
			var weekStartDate = new Date(nowYear, nowMonth, nowDay - nowDayOfWeek); 
			timeVal = that.formatDate(weekStartDate);
			beginTime = timeVal + " 00:00:00";
			timeVal = that.formatDate(now);
			endTime = timeVal + " 23:59:59";
			return beginTime +","+endTime;
		}
		return "";
	}
	
	ViewShow.formatDate = function(date){
		var myyear = date.getFullYear(); 
		var mymonth = date.getMonth()+1; 
		var myweekday = date.getDate(); 
		if(mymonth < 10){ 
			mymonth = "0" + mymonth; 
		} 
		if(myweekday < 10){ 
			myweekday = "0" + myweekday; 
		} 
		return (myyear+"-"+mymonth + "-" + myweekday);
	}
	
    module.exports = ViewShow;
	
});
0

GET /MONITOR/ims/app/utils/util.js HTTP/1.1
Host: 172.16.210.84:31600
Connection: keep-alive
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.97 Safari/537.36
Accept: */*
Referer: http://172.16.210.84:31600/MONITOR/ims/app/monitor/state_monitor/jsp/state_monitor.jsp
Accept-Encoding: gzip, deflate
Accept-Language: zh-CN,zh;q=0.9,en;q=0.8
Cookie: JSESSIONID=ST-150-cegxGboobdGRs0hbIW71-sgcc.isc.com

HTTP/1.1 200 
X-Application-Context: front-gateway:8001
P3P: CP=CAO PSA OUR
Accept-Ranges: bytes
ETag: W/"12826-1568253356000"
Last-Modified: Thu, 12 Sep 2019 01:55:56 GMT
Date: Tue, 12 Nov 2019 08:37:08 GMT
Content-Type: application/javascript
Transfer-Encoding: chunked

2000

seajs.config({
	base: golbalVar.contextPath+"ims/",
	alias: {
		"jquery": "common/jquery/jquery.min.js",
		"jsencrypt": "app/utils/jsencrypt.min.js",
		"md5": "app/utils/md5.js"
	}
});

define(function(require, exports, module) {
	
	function CommonUtil() {
	}
	module.exports = CommonUtil;
	

	CommonUtil.encrypt = function(str) {
		var jsencrypt = require('jsencrypt');
		var encrypt = new JSEncrypt();
		var public_key = 'MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAmWK0wBS6IeKvyzV1frDP9AdIUj2rQ6oD7cRblF25hHl3Iro7vhcXNFNXrNgBkw2EzEeps+Ks9fpA90uFwBV5PIsUOaUErkxt4sJPEIPbZuJu2qiO7YpNc+QbMZeAl1tL3g/VWOM63stI8NMQZluGoj41VHuBeluXRM4hC4QroIP9LH4NThprb7gLK1jN1xyAn6XKkLJLs/IuFWIzqCL0NA7yirEVrzLxOnrlOfchAqOBLVX9qC1bqVu+Dt6d+mF1lERv+E9qZ79Rgy7NPoTpVEbUTW8izltdm0SlUtsE2HJ+VCLWE+hV4PwpRd94sjluijZOHU7xGls27P44t4SjDQIDAQAB';
		encrypt.setPublicKey(public_key);
		return encrypt.encrypt(str);
	}
	

    encrypt2 = function(str) {
		var encrypt = new JSEncrypt();
		var public_key = 'MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAmWK0wBS6IeKvyzV1frDP9AdIUj2rQ6oD7cRblF25hHl3Iro7vhcXNFNXrNgBkw2EzEeps+Ks9fpA90uFwBV5PIsUOaUErkxt4sJPEIPbZuJu2qiO7YpNc+QbMZeAl1tL3g/VWOM63stI8NMQZluGoj41VHuBeluXRM4hC4QroIP9LH4NThprb7gLK1jN1xyAn6XKkLJLs/IuFWIzqCL0NA7yirEVrzLxOnrlOfchAqOBLVX9qC1bqVu+Dt6d+mF1lERv+E9qZ79Rgy7NPoTpVEbUTW8izltdm0SlUtsE2HJ+VCLWE+hV4PwpRd94sjluijZOHU7xGls27P44t4SjDQIDAQAB';
		encrypt.setPublicKey(public_key);
		return encrypt.encrypt(str);
	}


	// 111111aaaaaa111111ajax异步提交数据(提交地址，提交的数据，返回成功后处理方法，返回有错误后处理方法，返回有提示后处理方法)
	CommonUtil.submitByAjax = function(url,data,successFun,errorFun,promptMsg){
		var that = this;
		var constants = require('./constants');
		$.ajax({
			async : true,
			url : url,
			type : "POST",   
			dataType : "json", 
//			data : JSON.stringify(data),
			data : encodeURI(JSON.stringify(data)),
			timeout : constants.imsConstants.timeOut,
			beforeSend : function(request) {
				that.showLoading(url);
				var md5 = require('md5');
				var originalVal = encodeURI(golbalVar.httpPort+url)+encodeURI(JSON.stringify(data))+'itom';
//				var originalVal = encodeURI(golbalVar.httpPort+url)+JSON.stringify(data)+'itom';
				var md5z = hex_md5(originalVal).toString();
				request.setRequestHeader("Content-Type", "application/json");
				request.setRequestHeader("dataVerifyCode", CommonUtil.encrypt(md5z));
			},
			success : function (json){
				//解除遮罩层
//				$.unblockUI();
				that.hideLoading();
				if(that.isNotNull(json.errorMsg)){
					if(errorFun){
						errorFun(json.errorMsg);
					}else{
						sweetAlert.error("",json.errorMsg,"确定",null);
    					return false;
					}
				}else if(that.isNotNull(json.promptMsg)){
					if(promptMsg){
						promptMsg(json.promptMsg);
					}else{
						sweetAlert.caution("",json.promptMsg,"确定",null);
    					return false;
					}
				}else{
					if(json.hasOwnProperty('resultObj')){
						successFun(json.resultObj);
					}else{
						successFun(json);
					}
					
				}
			},
			error:function(XMLHttpRequest){
				//解除遮罩层
//				$.unblockUI();
				that.hideLoading();
				var sessionstatus = XMLHttpRequest.getResponseHeader("sessionstatus");
				if(sessionstatus=="timeOut"){
					top.window.location.reload();
//					window.location.replace(golbalVar.contextPath + "login.jsp");
				}
			},
			complete : function(XMLHttpRequest, textStatus){
				//解除遮罩层
//				$.unblockUI();
				that.hideLoading();
			}
		});
	}
	//ajax同步提交数据(提交地址，提交的数据，返回成功后处理方法，返回有错误后处理方法，返回有提示后处理方法)
	CommonUtil.submitByAjaxForSync = function(url,data,successFun,errorFun,promptMsg){
		var that = this;
		var constants = require('./constants');
		$.ajax({
			async : false,
			url : url,
			type : "POST",   
			dataType : "json", 
			data : encodeURI(JSON.stringify(data)),
			timeout :  constants.imsConstants.timeOut,
			beforeSend : function(request) { 
				that.showLoading(url);

				var md5 = require('md5');
//				var originalVal = encodeURI("http://172.16.30.106:38002"+url)+JSON.stringify(data)+'itom';
				var originalVal = encodeURI(golbalVar.httpPort+url)+encodeURI(JSON.stringify(data))+'itom';
				var md5z = hex_md5(originalVal).toString();
				request.setRequestHeader("Content-Type", "application/json");
				request.setRequestHeader("dataVerifyCode", CommonUtil.encrypt(md5z));
			},
			success : function (json){
				//解除遮罩层
//				$.unblockUI();
				that.hideLoading();
				if(that.isNotNull(json.errorMsg)){
					if(errorFun){
						errorFun(json.errorMsg);
					}else{
						sweetAlert.error("",json.errorMsg,"确定",null);
    					return false;
					}
				}else if(that.isNotNull(json.promptMsg)){
					if(promptMsg){
						promptMsg(json.promptMsg);
					}else{
						sweetAlert.caution("",json.promptMsg,"确定",null);
    					return false;
					}
				}else{
					if(json.hasOwnProperty('resultObj')){
						successFun(json.resultObj);
					}else{
						successFun(json);
					}
				}
			},
			error:function(XMLHttpRequest){
				//解除遮罩层
//				$.unblockUI();
				that.hideLoading();
				var sessionstatus = XMLHttpRequest.getResponseHeader("sessionstatus");
				if(sessionstatus=="timeOut"){
					top.window.location.reload();
//					window.location.replace(golbalVar.contextPath + "login.jsp");
				}
			},
			complete : function(XMLHttpRequest, textStatus){
				//解除遮罩层
//				$.unblockUI();
				that.hideLoading();
			}
		});
	}
	
	CommonUtil.isNotNull = function(data){//判断是否不为空
		if(data !=undefined && data!=null && data!="null" && data!="NULL" && data!="" && data!="[]" && data!={} && data!=[])
			return true;
		else
		    return false;
	}
	
	CommonUtil.isNull = function(data){//判断是否为空
		if(data ==undefined || data==null || data=="NULL" || data=="null" || data=="" || data=="[]" || data=={} || data==[])
			return true;
		else
		    return false;
	}
	
	CommonUtil.showLoading = function(url){
		//排除掉不需要加过渡的方法    gaos 2017-11-30
		var funName = url.substring(url.lastIndexOf("/") + 1, url.length);
		var functionArr = [ "getParamBySign","loginUser" ];//后面可拓展
		if($.inArray(funName, functionArr) != -1){
			return;
		}
		var loadDiv = [];
		//整体背景全透明防止按钮点击
		loadDiv.push('<div class="myLoadingModal" ');
			loadDiv.push('style="z-index:9999;top:0px;position:absolute;height:100%;width:100%;background-color:white;text-align:center;filter:alpha(Opacity=00);-moz-opacity:0.0;opacity: 0.0;">');
		loadDiv.push('</div>');
		//固定宽高的显示过渡效果的区域，透明度0.9
		loadDiv.push('<div class="myLoadingModal" style="width:220px;height:158px;left:45%;top:40%;background-color:white;position:fixed;z-index:9999;border-radius:4px;filter:alpha(Opacity=90);-moz-opacity:0.9;opacity: 0.9;">');
			loadDiv.push('<img class="myLoadingModal" style="display:block;margin:0 auto;margin-top:30px;" src="'+golbalVar.contextPath+'ims/app/homepage/image/loading.gif"/>')
			loadDiv.push('<div class="myLoadingModal" style="width:145px;display:block;margin:0 auto;margin-top:20px;font-size:14px;">页面处理中，请稍候...</div>');
		loadDiv.push('</div>');
		$("body").append(loadDiv.join(""));
	}
	
	CommonUtil.hideLoading = function(){
		var $loading = $(".myLoadingModal");
//		$loading.hide();
		$loading.remove();
	}
	//因为统一均加了过渡效果，所以注释掉之前单独为首页做的  gaos 2017-11-30
	/*//登录加载后的过渡动画效果
	CommonUtil.showHomePageLoading = function(){
		var loadDiv = [];
		loadDiv.push('<div class="myLoadingModal" ');
		loadDiv.push('style="top:0px;position:absolute;height:100%;width:100%;background-color:white;text-align:center;"');
		loadDiv.push('>')
		loadDiv.push('<img src="'+golbalVar.contextPath+'ims/app/homepage/image/loading.gif" style="left:45%;top:40%;position:fixed;"
121a
>')
		loadDiv.push('<div style="left: 42.5%;;top: 52%; position: fixed;font-size: 14px;color: darkgray;">页面加载中，请稍候...</div>');
		loadDiv.push('</div>');
		$("body").append(loadDiv.join(""));
	}*/
	CommonUtil.getYesterday = function(){
		var today=new Date();
        var yesterday_milliseconds=today.getTime()-1000*60*60*24;         
        var yesterday=new Date();      
        yesterday.setTime(yesterday_milliseconds);      
            
        var strYear=yesterday.getFullYear();   
        var strDay=yesterday.getDate();   
        var strMonth=yesterday.getMonth()+1;   
        if(strMonth<10){   
            strMonth="0"+strMonth;   
        }   
        if(strDay<10){   
        	strDay="0"+strDay;   
        } 
        var strYesterday=strYear+"-"+strMonth+"-"+strDay;
        return strYesterday;
	}
	
	//time 为时间毫秒数，format为格式
	CommonUtil.timeFormat = function(time,format){
		if(this.isNull(format)){
			format = 'yyyy-MM-dd HH:mm:ss.S';
		}
		if(CommonUtil.isNull(time)){
			return '';
		}
		var newtime = new Date(time);
	    var timeft = function(i){return (i < 10 ? '0' : '') + i};
	    return format.replace(/yyyy|MM|dd|HH|mm|ss|S/g, function(a){
	        switch(a){
	            case 'yyyy':
	                return timeft(newtime.getFullYear());
	                break;
	            case 'MM':
	                return timeft(newtime.getMonth() + 1);
	                break;
	            case 'mm':
	                return timeft(newtime.getMinutes());
	                break;
	            case 'dd':
	                return timeft(newtime.getDate());
	                break;
	            case 'HH':
	                return timeft(newtime.getHours());
	                break;
	            case 'ss':
	                return timeft(newtime.getSeconds());
	                break;
	            case 'S':
	            	var ms = newtime.getMilliseconds();
	            	if(ms < 10){
	            		ms = "00"+ms;
	            	}else if(ms > 10 && ms < 100){
	            		ms = "0"+ms;
	            	}
	            	return ms;
	            	break;
	        }
	    });
	}
	//fanl 根据两个字符查找字符中间的内容，返回数组JSON	2017-08-21
	CommonUtil.substringsBetween = function(str,open,close){
		if (CommonUtil.isNull(str) || CommonUtil.isNull(open) || CommonUtil.isNull(close)) {
			return null;
		}
		var strLen = str.length;
		if (strLen == 0) {
			return null;
		}
		var closeLen = close.length;
		var openLen = open.length;
		var list = [];
		var pos = 0;
		while (pos < (strLen - closeLen)) {
			var start = str.indexOf(open, pos);
			if (start < 0) {
				break;
			}
			start += openLen;
			var end = str.indexOf(close, start);
			if (end < 0) {
				break;
			}
			list.push(str.substring(start, end));
			pos = end + closeLen;
		}
		if (list.length <= 0) {
			return null;
		} 
		return JSON.stringify(list);
		
	}
	CommonUtil.GetDateDiff = function(startTime, endTime, diffType){
		//将xxxx-xx-xx的时间格式，转换为 xxxx/xx/xx的格式 
	    startTime = startTime.replace(/\-/g, "/");
	    endTime = endTime.replace(/\-/g, "/");
	    //将计算间隔类性字符转换为小写
	    diffType = diffType.toLowerCase();
	    var sTime =new Date(startTime); //开始时间
	    var eTime =new Date(endTime); //结束时间
	    //作为除数的数字
	    var timeType =1;
	    switch (diffType) {
	        case"second":
	            timeType =1000;
	        break;
	        case"minute":
	            timeType =1000*60;
	        break;
	        case"hour":
	            timeType =1000*3600;
	        break;
	        case"day":
	            timeType =1000*3600*24;
	        break;
	        default:
	        break;
	    }
	    return parseInt((eTime.getTime() - sTime.getTime()) / parseInt(timeType));
	}
	
	CommonUtil.setTimeNumber = function(t,b){
		var time = new Date(t.replace("-","/"));
	    time.setMinutes(time.getMinutes() + b, time.getSeconds(), 0);
	    var d = new Date(time);
	    var y = d.getFullYear();
	    var m = d.getMonth() + 1;
	    m = m < 10 ? ('0' + m) : m;
	    var da = d.getDate();
	    da = da < 10 ? ('0' + da) : da;
	    var h = d.getHours();
	    h = h < 10 ? ('0' + h) : h;
	    var minute = d.getMinutes();
	    minute = minute < 10 ? ('0' + minute) : minute;
	    var seconds = d.getSeconds();
	    seconds = seconds < 10 ? ('0' + seconds) : seconds;
	    var resDate=y + '-' + m + '-' + da + ' ' + h + ':' + minute+ ':' + seconds;
	    return resDate;
	}
});
0

GET /MONITOR/ims/app/business-common/nomodal/js/nomodal.js HTTP/1.1
Host: 172.16.210.84:31600
Connection: keep-alive
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.97 Safari/537.36
Accept: */*
Referer: http://172.16.210.84:31600/MONITOR/ims/app/monitor/state_monitor/jsp/state_monitor.jsp
Accept-Encoding: gzip, deflate
Accept-Language: zh-CN,zh;q=0.9,en;q=0.8
Cookie: JSESSIONID=ST-150-cegxGboobdGRs0hbIW71-sgcc.isc.com

HTTP/1.1 200 
X-Application-Context: front-gateway:8001
P3P: CP=CAO PSA OUR
Accept-Ranges: bytes
ETag: W/"23910-1568253356000"
Last-Modified: Thu, 12 Sep 2019 01:55:56 GMT
Date: Tue, 12 Nov 2019 08:37:08 GMT
Content-Type: application/javascript
Transfer-Encoding: chunked

2000
define(function(require, exports, module) {

	var NoModal = function(element, options) {
		this.options = options;
		this.$body = $(document.body);
		this.$element = $(element);
		this.isShown = null;
		this.zIndex = 1024;
		this.orginalWidth = null;
		this.originalHeight = null;
		this.dialogWidth = null;
		this.dialogHeight = null;
		this.defaultCloseFunc = null;
		this.buttonGroups = [];
		this.isButtonGroupsAfter = true;
		this.operatePosition = "bottom";
		this.isDragable = false;
		this.isHideBut = false;
		this.hasX = false;
		this.hasLayer = false;
		this.singleButtons = [{
			id: "closeButId",
			name: "关闭",
			callback: function($content,butObj) {
				return true
			}
		}, {
			id: "sureButId",
			name: "确认",
			callback: function($content,butObj) {
				return true
			}
		}];
        var that = this;   
		this.YNoneCallback = function($dialogBody){
			$dialogBody.css("padding-right","25px");
		};
		this.YCallback = function($dialogBody){
			$dialogBody.css("padding-right","0px");
		};
		this.init();
	}

	NoModal.DEFAULTS = {
		width: 550,
		height: 180
	}
	NoModal.prototype.init = function() {
		//fanl 2017-07-19 管理驾驶舱弹出列表，头部添加导出图标
		//nomodal-operation
		this.$element.addClass("nomodal");
		var noDialogHtml = ['<div class="nomodal-dialog" style="text-align:left">',
			'<div class="nomodal-content">',
			'<div class="nomodal-header">',
			'<img src="'+golbalVar.contextPath+'/ims/app/homepage/image/unload.png" style="width:11px;float: right;position: relative;left: -40px;display:none;margin-top: 5px; cursor: pointer;" class="dmp_table_upload_img" dataId="" title="导出"></img>',
			'<img src="'+golbalVar.contextPath+'/ims/app/process/image/help.png" style="width:15px;float: right;position: relative;left: -40px;display:none;margin-top: 3px;" class="help_img"></img>',
			'<button type="button" class="close">&times;</button>',
			'<h4 class="nomodal-title" style="font-family:微软雅黑;"><span class="nodraggable" style="font-family: 微软雅黑;">选择人员</<span></h4>',
			'</div>',
			'<div class="nomodal-operation ">',
			'<div class="nomodal-operation-left">',
			'</div>',
			'<div class="nomodal-operation-right">',
			'</div>',
			'</div>',
			'<div class="nomodal-body nodraggable">',
			'</div>',
			'<div class="nomodal-footer">',
			'<div class="nomodal-footer-left">',
			'</div>',
			'<div class="nomodal-footer-right">',
			'</div>',
			'</div>',
			'</div></div>'
		].join('');
		
		this.$dialog = $(noDialogHtml);
		this.$dialogBody = this.$dialog.find(".nomodal-body");
		this.$dialogBody.addClass("mCustomScrollbar").data("mcsTheme", "dark");
		this.$title = this.$dialog.find(".nomodal-title").children().first();
		this.$titleH4 = this.$dialog.find(".nomodal-title");
		this.$buttonSection = this.$dialog.find(".nomodal-footer");
		this.$header = this.$dialog.find(".nomodal-header");
		this.$element.append(this.$dialog);
		this.$body.append(this.$element);
	}

	NoModal.prototype.show = function(args) {
		if (this.isShown) return;
		showLoading();
		//fanl	2017-07-20 首页弹出列表时，给导出图标赋予当前数据id
		var cockportalId = args["cockportalId"];
		if (cockportalId != undefined && cockportalId != "undefined" && cockportalId != null && cockportalId != "") {
			var cockprotalNomodelId = args["cockprotalNomodelId"];
			$("#"+cockprotalNomodelId+" .dmp_table_upload_img").attr("dataId",cockportalId);
		}
		
		var content = args["content"];
		var width = args["width"];
		var height = args["height"];
		var title = args["title"];
		var processTimeout = args["processTimeout"];
		var processTimeoutInfo = args["processTimeoutInfo"];
		var hasbmHelp = args["hasbmHelp"];
		var beforeShowFunc = args["beforeShowFunc"];
		var afterShowFunc = args["afterShowFunc"];
		var zIndex = args["zIndex"];
		var buttonGroupsPar = args["buttonGroups"];
		var singleButtonsPar = args["singleButtons"];
		var defaultCloseFuncPar = args["defaultCloseFunc"];
		var isButtonGroupsAfterPar = args["isButtonGroupsAfter"];
		var operatePositionPar = args["operatePosition"];
		var isDragablePar = args["isDragable"];
		var isHideButPar = args["isHideBut"];
		var resizeCallFuncPar = args["resizeCallFunc"];
		var beforeHideFuncPar = args["beforeHideFunc"];
		var afterHideFuncPar = args["afterHideFunc"];
		var hasLayerPar = args["hasLayer"];
		this.hasLayer = typeof hasLayerPar == "undefined" ? false : hasLayerPar;
		var hasXPar = args["hasX"];
		if (hasXPar == "true" || hasXPar == true) {
			this.hasX = true;
		}
		if(hasbmHelp == "true"){
			//获取当前弹出窗的id准确定位每个弹出窗的帮助图标	fanl	2017-07-26
			var elementId = this.$element.prop("id");
			$("#"+elementId+" .help_img").attr("id",elementId+"_img")
			$("#"+elementId+" .help_img").show()
		}else{
			$("#"+elementId+" .help_img").hide()
		}
		if (typeof args["yNoneCallback"] == "function"){
			this.YNoneCallback =  args["yNoneCallback"];
		}
		if (typeof args["yCallback"] == "function"){
			this.YCallback =  args["yCallback"];
		}
		
		if (width) {
			this.dialogWidth = width;
		}
		if (height) {
			this.dialogHeight = height;
		}
		if (content) {
			if (typeof content == 'string') {
				this.$dialogBody.append($(content));
			} else if (typeof content == 'function') {
				this.$dialogBody.append(content());
			}
		}
		if (title) {
			this.$title.html(title);
		}
		if (processTimeout){
			var $span = $('<span class="label label-warning"></span>');
			$span.attr('data-toggle','tooltip');
			$span.attr('data-placement','bottom');
			$span.css({'border-radius':'3px','margin-left':'370px','cursor':'pointer'});
			$span.attr('title',processTimeoutInfo);
			$span.html(processTimeout);
			this.$titleH4.append($span);
		} 
		if (zIndex) {
			this.zIndex = zIndex;
		}
		if (singleButtonsPar) {
			this.singleButtons = singleButtonsPar;
		}
		if (defaultCloseFuncPar) {
			this.defaultCloseFunc = defaultCloseFuncPar;
		}
		if (operatePositionPar) {
			this.operatePosition = operatePositionPar;
		}
		if (this.operatePosition == "top") {
			this.$buttonSection = this.$dialog.find(".nomodal-operation");
			this.$buttonSection.show();
			this.$dialog.find(".nomodal-footer").hide();
		} else {
			this.$buttonSection.show();
			this.$dialog.find(".nomodal-operation").hide();
		}
		if (buttonGroupsPar) {
			this.buttonGroups = buttonGroupsPar;
		}
		this.isButtonGroupsAfter = typeof isButtonGroupsAfterPar == "undefined" ? true : isButtonGroupsAfterPar;
		this.isDragable = typeof isDragablePar == "undefined" ? false : isDragablePar;
		this.isHideBut = typeof isHideButPar == "undefined" ? false : isHideButPar;
		if (resizeCallFuncPar) {
			this.resizeCallFunc = resizeCallFuncPar;
		}
		if (afterHideFuncPar) {
			this.afterHideFunc = afterHideFuncPar;
		}
		if (beforeHideFuncPar) {
			this.beforeHideFunc = beforeHideFuncPar;
		}
		var that = this;
		this.singleButtons.sort(function(obj1, obj2) {
			var order1 = typeof obj1["order"] == "undefined" ? 0 : obj1["order"];
			var order2 = typeof obj2["order"] == "undefined" ? 0 : obj2["order"];
			if (order1 < order2) {
				return -1;
			}
			if (order1 > order2) {
				return 1;
			}
			return 0;
		});
		this.leftSingleButtonArray = [];
		this.rightSingleButtonArray = [];
		$.each(this.singleButtons, function(i, e) {
			var $but = $('<button type="button" class="btn  btn-info btn-sm"></button>');
			$but.attr("id", e["id"] + "_" + that.$element.attr("id"));
			$but.text(e["name"]);
			$but.click("click", function(butEle) {
				var isHide = true;
				if (e["callback"]) {
					isHide = e["callback"](that.$dialogBody,e);
				}
				if (isHide) {
					that.hide();
				}
			});
			$but.data("halign", e["halign"]);
			$but.data("order",e.order);
			if (e["halign"] == "left") {
				that.leftSingleButtonArray.push($but);
			} else {
				that.rightSingleButtonArray.push($but);
			}
		});

		this.leftButtonGroupsArray = [];
		this.rightButtonGroupsArray = [];

		if (this.
2000
buttonGroups.length > 0) {
			this.buttonGroups.sort(function(obj1, obj2) {
				var order1 = typeof obj1["order"] == "undefined" ? 0 : obj1["order"];
				var order2 = typeof obj2["order"] == "undefined" ? 0 : obj2["order"];
				if (order1 < order2) {
					return -1;
				}
				if (order1 > order2) {
					return 1;
				}
				return 0;
			});
			$.each(this.buttonGroups, function(i, e) {
				var buttonGroupHtml = ['<div class="btn-group  dropup" style="margin-left: 4px;margin-right: 3px;">',
					'<button type="button" class="btn  btn-info btn-sm moreSty" data-toggle="dropdown">更多操作</button>',
					'<button type="button" class="btn  btn-info btn-sm dropdown-toggle clickSty" data-toggle="dropdown">',
					'<span class="caret"></span>',
					'<span class="sr-only">切换下拉菜单</span>',
					'</button>',
					'<ul class="dropdown-menu dropdown-menu-right dropSty" role="menu">',
					'</ul>',
					'</div>'
				].join('');
				var $buttonGroup = $(buttonGroupHtml);
				var $ulGroup = $buttonGroup.find("ul");
				$buttonGroup.attr("id", e["id"] + "_" + that.$element.attr("id"));
				$buttonGroup.find("button").first().text(e["name"]);
				$buttonGroup.data("halign", e["halign"]);
				$buttonGroup.data("order", e["order"]);
				if (e["halign"] == "left") {
					that.leftButtonGroupsArray.push($buttonGroup);
					$ulGroup.removeClass("dropdown-menu-right");
				} else {
					that.rightButtonGroupsArray.push($buttonGroup);
					this.buttonGroups;
				}
				if (that.operatePosition == "top") {
					$buttonGroup.removeClass("dropup");
				}

				e.buttons.sort(function(obj1, obj2) {
					var order1 = typeof obj1["order"] == "undefined" ? 0 : obj1["order"];
					var order2 = typeof obj2["order"] == "undefined" ? 0 : obj2["order"];
					if (order1 < order2) {
						return -1;
					}
					if (order1 > order2) {
						return 1;
					}
					return 0;
				});

				$.each(e.buttons, function(i, buttonEle) {
					var dropDownButHtml = ['<li role="presentation">',
						'<a role="menuitem" tabindex="-1" href="javascript:void(0);"></a>',
						'</li>'
					].join('');
					var $dropDownBut = $(dropDownButHtml);
					$dropDownBut.find("a").attr("id", buttonEle["id"] + "_" + that.$element.attr("id")).text(buttonEle["name"]).click(function(drowDownButEle) {
						var isHide = true;
						if (buttonEle["callback"]) {
							isHide = buttonEle["callback"](that.$dialogBody,buttonEle);
						}
						if (isHide) {
							that.hide();
						}
					});
					$ulGroup.append($dropDownBut);
				});
			});
		}
	    this.nomodalArray = $("body").find("div[class='nomodal ui-draggable']");
		var maxIndex = this.zIndex ;
		if(this.nomodalArray.length!=0){
			//$.each(this.nomodalArray, function(i, ele) {
			for(var i=0;i<this.nomodalArray.length;i++){
			    var z_index = $(this.nomodalArray).css("z-index");
				if(maxIndex < z_index){
					maxIndex = z_index;
				}
			}
		}
		this.$element.css("z-index", maxIndex);
		var that =this;
		this.$element.on('click', function(event) {
			//关闭窗口事件处理
			
			//20180102设置失去焦点事件 滚动条滚动聚焦问题  yzy
			var target = $(event.target);
            var localName = event.target.localName;
            if(localName=="div"){
                $('input').blur();
                $('textarea').blur();
              var targetDiv=target.hasClass('note-placeholder');
                if(!targetDiv){
                    $('.note-editable').blur();
                }
            }
            //------------------------------------
			
			var classList = target.attr('class') ? target.attr('class').split(' ') : [];
			if (classList.indexOf('close') != -1) {
				var isClose = true;
				if (that.defaultCloseFunc) {
					isClose = that.defaultCloseFunc();
				}
				if (isClose) {
					that.hide();
				}
			}
			var type = event.target.tagName;
			//去除button，span等点击事件，避免触发两次，影响置顶  新加canvas 20171215 yzy 新加点击图片时  不置顶
			if(type == "BUTTON" || type == "SPAN" || type == "INPUT" || type == "A" || type == "TD" || type=="CANVAS" || type=="IMG"){
				return;
			}
			//点击弹出框实现置顶效果
			var array = $("body").find("div[class='nomodal ui-draggable']");          
			//$.each(array, function(i, ele) {
			for(var i=0;i<array.length;i++){
				var z_index = $(array[i]).css("z-index");
				if(maxIndex < z_index){
					maxIndex = z_index;
				}
			}
			var topNomodel = array[array.length-1];
			var topNomodelId = $(topNomodel).attr("id");
			var clickNomodelId = that.$element.attr("id");
			var topZ_index = that.$element.css("z-index");
			if(clickNomodelId != topNomodelId || topZ_index!= maxIndex){
				maxIndex++;
			   
			}
			 that.$element.css("z-index", maxIndex);					    
		});
		if (this.leftSingleButtonArray.length == 0 && this.leftButtonGroupsArray.length == 0 &&
			this.rightSingleButtonArray.length == 0 && this.rightButtonGroupsArray.length == 0 || this.isHideBut) {
			this.excludeHeight = 56;
		} else {
			this.excludeHeight = 112;
		}

		this.originalHeight = this.dialogHeight - this.excludeHeight;
		this.orginalWidth = this.dialogWidth;
		this.$dialogBody.css("width", this.orginalWidth + "px").css("height", this.originalHeight + "px");
		if (this.isDragable) {
			this.$element.draggable({cancel:"input,textarea,button,select,option,label,ul,table,p,span,.note-editor"});
		}
		if (beforeShowFunc) {
			beforeShowFunc(this.$dialogBody,this.$element.attr("id"));
		}
		this.$element.show();
		
		if (!this.hasX) {
			this.$dialogBody.mCustomScrollbar({
				axis: "y",
				autoHideScrollbar: true,
				autoExpandScrollbar: true,
				callbacks:{
	                 onOverflowYNone: function(){
//	                 	that.$dialogBody.css("padding-right","25px");
	                	if (typeof that.YNoneCallback == "function"){
	                		that.YNoneCallback(that.$dialogBody);
	                	}
	                 },
	                 onOverflowY:function() {
//	                 	that.$dialogBody.css("padding-right","0px");
	                	if (typeof that.YCallback == "function"){
	                		that.YCallback(that.$dialogBody);
	                	}
	                 }
	            }
			});	
		} else {
			this.$dialogBody.mCustomScrollbar({
				axis: "yx",
				autoHideScrollbar: true,
				autoExpandScrollbar: true,
				callbacks:{
					 onOverflowYNone: function(){
	                 	that.$dialogBody.css("padding-right","0px");
	                 },
	                 onOverflowY:function() {
	                 	 that.$dialogBody.css("padding-right","0px");
	                 },
	                 onOverflowXNone: function(){
	                 	that.$dialogBody.css("padding-right","0px");
	                 },
	                 onOverflowX:function() {
	                 	 that.$dialogBody.css("padding-right","25px");
	                 }
	            }
			});
		}
		if (afterShowFunc) {
			afterShowFunc(this.$dialogBody,this.$element.attr("id"));
		}
		this.isShown = true;
		this.adjustDialog({
			currentWidth: $(window).width(),
			currentHeight: $(window).height()
		});

		this.orderButton();
		this.adjustOperationBut();
		this.resizeCall();
	};
	

	NoModal.prototype.getModalPositionInfo = function(){
		
		var contentHeight  = {};
		var $mcsbContainer = this.$dialogBody.find(".mCSB_container");
		contentHeight.totalHeight = $mcsbContainer[0].scrollHeight;
		var mscbContainerTop = parseInt($mcsbContainer.css("top"));
		contentHeight.scrollTop = 0 - mscbContainerTop;
		var originalHeight = parseInt(this.$dialogBody.css("height"));
		originalHeight = originalHeight - 10;
		if (contentHeight.totalHeight <= originalHeight) {
			contentHeight.remainTop = 0;
		} else {
			contentHeight.remainTop = contentHeight.totalHeight - originalHeight - contentHeight.scrollTop;
		}
		
		contentHeight.footerTop = parseInt(this.$buttonSection.offset().top);
		contentHeight.headerTop =  parseInt(this.$header.offset().top) + parseInt(this.$head
1d66
er.css("height"));
		return contentHeight;
	};
	
	

	NoModal.prototype.resizeCall = function() {
		if (this.resizeCallFunc) {
			this.resizeCallFunc(parseInt(this.$dialogBody.css("width")));
		}
	};
	
	NoModal.prototype.orderButton = function() {
		this.leftButtonArray = [];
		var that = this;
		$.each(this.leftSingleButtonArray, function(i, e) {
			that.leftButtonArray.push(e);
		});
		$.each(this.leftButtonGroupsArray, function(i, e) {
			that.leftButtonArray.push(e);
		});
		this.rightButtonArray = [];
		$.each(this.rightSingleButtonArray, function(i, e) {
		    that.rightButtonArray.push(e);
		});

		$.each(this.rightButtonGroupsArray, function(i, e) {
			that.rightButtonArray.push(e);
		});
		
		this.leftButtonArray.sort(function(obj1, obj2) {
			var order1 = typeof obj1.data("order") == "undefined" ? 0 : obj1.data("order");
			var order2 = typeof obj2.data("order") == "undefined" ? 0 : obj2.data("order");
			if (order1 < order2) {
				return -1;
			}
			if (order1 > order2) {
				return 1;
			}
			return 0;
		});
		this.rightButtonArray.sort(function(obj1, obj2) {
			var order1 = typeof obj1.data("order") == "undefined" ? 0 : obj1.data("order");
			var order2 = typeof obj2.data("order") == "undefined" ? 0 : obj2.data("order");
			if (order1 < order2) {
				return -1;
			}
			if (order1 > order2) {
				return 1;
			}
			return 0;
		});
	};
	
	NoModal.prototype.adjustOperationBut = function() {

		var that = this;
		var currentWidth = parseInt(this.$element.css("width"));
		if (that.operatePosition == "top") {
			this.$leftButtonSection = this.$dialog.find(".nomodal-operation-left");
			this.$rightButtonSection = this.$dialog.find(".nomodal-operation-right");
		} else {
			this.$leftButtonSection = this.$dialog.find(".nomodal-footer-left");
			this.$rightButtonSection = this.$dialog.find(".nomodal-footer-right");
		}
		var hasLeftBut = false;
		var leftWidth = 0;
		$.each(this.leftButtonArray, function(i, e) {
			that.$leftButtonSection.append(e);
			leftWidth = leftWidth + parseInt(e.css("width")) + 5;
			hasLeftBut = true;
		});

        
		this.$rightButtonSection.css("left", (leftWidth -7) + "px");
		this.$rightButtonSection.css("width", (currentWidth - leftWidth - 15) + "px");

		var hasRightBut = false;
		$.each(this.rightButtonArray, function(i, e) {
			that.$rightButtonSection.append(e);
			hasRightBut = true;
		});

		if (!hasLeftBut) {
			this.$rightButtonSection.css("margin-top", "0px");
		}

		if (!hasLeftBut && !hasRightBut || this.isHideBut) {
			this.$element.find(".nomodal-operation").css("padding", "0px").remove();
			this.$element.find(".nomodal-footer").css("padding", "0px").remove();
		}
	}

	NoModal.prototype.hide = function() {
		hideLoading();
		if (!this.isShown) {
			return;
		}
		var id = this.$element.attr("id");
		this.isShown = false;
		this.$element.off("click");
		if (this.beforeHideFunc) {
			this.beforeHideFunc(id);
		}
		this.$element.hide();
		if (this.afterHideFunc) {
			this.afterHideFunc(id);
		}
		this.$body.find("#" + id).remove();
	}

	NoModal.prototype.adjustDialog = function(args) {
		var offsetHeight = args["currentHeight"];
		var offsetWidth = args["currentWidth"];
		var isAdjustCor = typeof args["isAdjustCor"] == "undefined" ? true : args["isAdjustCor"];
		var left = 0;
		var right = 0;
		if (offsetWidth > this.dialogWidth) {
			left = right = (offsetWidth - this.dialogWidth) / 2;
			this.$element.css("width", this.dialogWidth + "px");
			this.$dialogBody.css("width", this.dialogWidth + "px");
		} else {
			this.$element.css("width", offsetWidth + "px");
			this.$dialogBody.css("width", offsetWidth + "px");
		}
		if (isAdjustCor) {
			if(this.$element.prev().hasClass("nomodal") && this.hasLayer){
				var str = this.$element.prev().css("left");
				left = parseInt(str.substring(0,str.length-2))+12;
			}
			this.$element.css("left", left + "px").css("right", right + "px");
		}

		var top = 0;
		var bottom = 0;
		if (offsetHeight > this.dialogHeight) {
			top = bottom = (offsetHeight - this.dialogHeight) / 2;
			this.$element.css("height", this.dialogHeight + "px");
			this.$dialogBody.css("height", (this.dialogHeight - this.excludeHeight) + "px");
		} else {
			this.$element.css("height", offsetHeight + "px");
			this.$dialogBody.css("height", (offsetHeight - this.excludeHeight) + "px");
		}
		if (isAdjustCor) {
			if(this.$element.prev().hasClass("nomodal") && this.hasLayer){
				var str = this.$element.prev().css("top");
				top = parseInt(str.substring(0,str.length-2))+12;
			}
			this.$element.css("top", top + "px");
		}
	}

	//打开遮罩层
	function showLoading (){
		var loadDiv = [];
		//整体背景全透明防止按钮点击
		loadDiv.push('<div class="myLoadingModal" ');
			loadDiv.push('style="z-index:9999;top:0px;position:absolute;height:100%;width:100%;background-color:white;text-align:center;filter:alpha(Opacity=00);-moz-opacity:0.0;opacity: 0.0;">');
		loadDiv.push('</div>');
		//固定宽高的显示过渡效果的区域，透明度0.9
		loadDiv.push('<div class="myLoadingModal" style="width:220px;height:158px;left:45%;top:40%;background-color:white;position:fixed;z-index:9999;border-radius:4px;filter:alpha(Opacity=90);-moz-opacity:0.9;opacity: 0.9;">');
			loadDiv.push('<img class="myLoadingModal" style="display:block;margin:0 auto;margin-top:30px;" src="'+golbalVar.contextPath+'ims/app/image/loading.gif"/>')
			loadDiv.push('<div class="myLoadingModal" style="width:145px;display:block;margin:0 auto;margin-top:20px;font-size:14px;">页面处理中，请稍候...</div>');
		loadDiv.push('</div>');
		$("body").append(loadDiv.join(""));
	}

	//去掉遮罩层
	function hideLoading (){
		var $loading = $(".myLoadingModal");
		$loading.remove();
	}
	
	function Plugin(option, args) {
		var value;
		this.each(function() {
			var $this = $(this)
			var data = $this.data('custom.nomodal')
			var options = $.extend({}, NoModal.DEFAULTS, typeof option == 'object' && option)
			if (!data) $this.data('custom.nomodal', (data = new NoModal(this, options)))
			else{
				//若nomodal存在的话实现置顶
				    var array = $("body").find("div[class='nomodal ui-draggable']");
					var maxIndex = 0 ;
					if(array.length!=0){
						//$.each(array, function(i, ele) {
						for(var i=0;i<array.length;i++){
							var z_index = $(array[i]).css("z-index");
							if(maxIndex < z_index){
								maxIndex = z_index;
							}
						}
						data.$element.css("z-index",maxIndex);
					}	
			}
			if (typeof option == 'string') {
				value = data[option](args)
			} else if (options.show) {
				data.show(args)
			}
		})
		return value;
	}

	$.fn.nomodal = Plugin
	$.fn.nomodal.Constructor = NoModal

	function NoModalService(id, option, args) {
		id = id.replace(':','-');
		var $noModal = $(document.body).find("#" + id);
		if ($noModal.length <= 0) {
			$noModal = $("<div id=''></div>").attr('id', id);
		}
		return $noModal.nomodal(option, args);
	}
	
   module.exports = NoModalService;
//	$(window).resize(function() {
//		$(document.body).find(".nomodal").each(function(i, e) {
//			$(e).nomodal("adjustDialog", {
//				currentWidth: $(window).width(),
//				currentHeight: $(window).height(),
//				isAdjustCor: true
//			});
//			$(e).nomodal("adjustOperationBut");
//			$(e).nomodal("resizeCall");
//		});
//		
//	});

});
0

GET /MONITOR/ims/app/monitor/state_monitor/js/common/monitor_detail.html.js HTTP/1.1
Host: 172.16.210.84:31600
Connection: keep-alive
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.97 Safari/537.36
Accept: */*
Referer: http://172.16.210.84:31600/MONITOR/ims/app/monitor/state_monitor/jsp/state_monitor.jsp
Accept-Encoding: gzip, deflate
Accept-Language: zh-CN,zh;q=0.9,en;q=0.8
Cookie: JSESSIONID=ST-150-cegxGboobdGRs0hbIW71-sgcc.isc.com

HTTP/1.1 200 
X-Application-Context: front-gateway:8001
P3P: CP=CAO PSA OUR
Accept-Ranges: bytes
ETag: W/"5608-1568253440000"
Last-Modified: Thu, 12 Sep 2019 01:57:20 GMT
Date: Tue, 12 Nov 2019 08:37:08 GMT
Content-Type: application/javascript
Transfer-Encoding: chunked

15e8
seajs.config({
	base: golbalVar.contextPath+"ims/app/",
	alias: {
		"util": "utils/util.js"
	}
});

define(function(require, exports, module){
	
	var commonUtil = require("util");
	
	function MonitorDetailHtml(){
	}
	module.exports = MonitorDetailHtml;
	/**
	 * 查询条件HTML片段
	 */
	MonitorDetailHtml.criQueryHTML = function(){
		var queryHTML = '<div class="col-sm-5">'+
							'<div class="form-inline">'+
								'<label class="control-label" style="width:95px;padding-right:0;">监控对象名称</label>'+
								'<input type="text" id="temp_title" name="userName" class="form-control">'+
							'</div>'+
					   '</div>'+
					   '<div class="col-sm-5" style="display:none;">'+
					       '<div class="form-inline">'+
					       		'<label class="control-label" style="width:95px;padding-right:0;">状态</label>'+
					       		'<input type="text" id="status_title" name="userName" class="form-control">'+
						   '</div>'+
						'<input type="hidden" id="innerode" value="doc">'+
					   '</div>';
		return queryHTML;
	}
	/**
	 * TABLE列
	 */
	MonitorDetailHtml.tableCol = function(proDetail){
		var tableColumn = new Array();
		var t_describe = {
				field: 'name',
		        title: '指标中文名称',
		        align: 'left',
		        visible: true,
		        sortable: true,
		        width: "200"
		}
		var t_name = {
		        field: 'id',
		        title: '指标英文名称',
		        align: 'left',
		        visible: true,
		        sortable:true,
		        width:"200"
		};
		var t_state = {
		        field: 'state',
		        title: '状态',
		        align: 'center',
		        visible: true,
		        sortable:true,
		        visibleTitle:false,
		        linkType : {
		        	params: function(value,row){
		        		var iconStatus = row.state;
		        		if(iconStatus == "ERROR"){
		        			iconStatus = "ERROR";
		        		}else if(iconStatus == "WARN"){
		        			iconStatus = "WARNING";
		        		}else if(iconStatus == "UNKNOWN "){
		        			iconStatus = "UNKNOWN";
		        		}else{
		        			iconStatus = "NORMAL";
		        		}
		        		return "<i class='"+ iconStatus +"' title='" + iconStatus + "'></i>";
		        	}
		        },
		        width:"90"
		};
		var t_kpiStateDesc = {
				field: 'value',
		        title: '指标值',
		        align: 'center',
		        visible: true,
		        titleTooltip : false,
		        sortable: true,
		        visibleTitle:false,
		        linkType : {
		        	params: function(value,row){
//		        		if (isNaN(parseFloat(value))){
//		        			row['operation'] = '';
//		        		}else{
//		        			
//		        		}
		        		if("NUMBER"==row.valueType){
	        				row['operation'] = '查看';
	        			}else{
	        				row['operation'] = '';
	        			}
//		        		if("ATTR"==row.metricCls){
//		        			row['operation'] = '';
//		        		}else{
//		        			row['operation'] = '查看';
//		        		}
						if(row.value!=null && row.value!=""){
							if(row.value.indexOf("'")>-1){
								var re= new RegExp("'","g");
								row.value = row.value.replace(re,"\"")
							}
						}		        		
		        		var rowValue = row.value;
//		        		if(commonUtil.isNotNull(rowValue)){
//		        			if(strlen(rowValue)>20){
//		        				rowValue = rowValue.substring(0,10)+"...";
//		        			}
//		        		}
//		        		if(row.unit!=null&&row.unit!=""){
//		        			return "<label class='leftOrRight' isRight='true' title='"+row.value+"'>"+rowValue+"<label>";
//		        		}else{
//		        			return "<label class='leftOrRight' isRight='false' title='"+row.value+"'>"+rowValue+"<label>";
//		        		}
		        		if(row.valueType=="NUMBER"){
		        			return "<label style='display:block;overflow: hidden;text-overflow: ellipsis;white-space: nowrap;' class='leftOrRight' isRight='true' title='"+row.value+"'>"+rowValue+"<label>";
		        		}else{
		        			return "<label style='display:block;overflow: hidden;text-overflow: ellipsis;white-space: nowrap;' class='leftOrRight' isRight='false' title='"+row.value+"'>"+rowValue+"<label>";
		        		}
		        	}
		        },
		        width: "150"
		};
		var t_time = {
				field: 'unit',
		        title: '单位',
		        align: 'left',
		        visible: true,
		        sortable: true,
		        width: "90"
		};
		var t_kpiCollectMethod = {
				field: 'time',
		        title: '最新采集时间',
		        align: 'left',
		        visible: true,
		        sortable: false,
		        width: "200"
		};
		var t_operation = {//chenw
				field: 'operation',
		        title: '操作',
		        align: 'center',
		        visible: true,
		        sortable: false,
		        linkType: {params:[],isEvents:true},
		        clickCols: {"key":"ViewShow.viewIndicatorTrendMap","value":proDetail},
		        width: "60"
		};
		
		tableColumn.push(t_describe);
//		tableColumn.push(t_name);
		tableColumn.push(t_state);
		tableColumn.push(t_kpiStateDesc);
		tableColumn.push(t_time);
		tableColumn.push(t_kpiCollectMethod);
		tableColumn.push(t_operation);
		
		return tableColumn;
	}

	function strlen(str){
	    var len = 0;
	    for (var i=0; i<str.length; i++) { 
	     var c = str.charCodeAt(i); 
	    //单字节加1 
	     if ((c >= 0x0001 && c <= 0x007e) || (0xff60<=c && c<=0xff9f)) { 
	       len++; 
	     } 
	     else { 
	      len+=2; 
	     } 
	    } 
	    return len;
	}
});
0

GET /MONITOR/ims/app/utils/constants.js HTTP/1.1
Host: 172.16.210.84:31600
Connection: keep-alive
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.97 Safari/537.36
Accept: */*
Referer: http://172.16.210.84:31600/MONITOR/ims/app/monitor/state_monitor/jsp/state_monitor.jsp
Accept-Encoding: gzip, deflate
Accept-Language: zh-CN,zh;q=0.9,en;q=0.8
Cookie: JSESSIONID=ST-150-cegxGboobdGRs0hbIW71-sgcc.isc.com

HTTP/1.1 200 
X-Application-Context: front-gateway:8001
P3P: CP=CAO PSA OUR
Accept-Ranges: bytes
ETag: W/"333-1568253356000"
Last-Modified: Thu, 12 Sep 2019 01:55:56 GMT
Date: Tue, 12 Nov 2019 08:37:08 GMT
Content-Type: application/javascript
Transfer-Encoding: chunked

14d
define(function(require, exports, module) {
	function Constants() {
		
	}
	 module.exports = Constants;
	 
	Constants.imsConstants = {
		timeOut : 500000,//连接超时时长
		messageRefresh : 60000 //消息刷新时长
	};
	Constants.knowledge = {
	    bmModelName : "KNOWLEDGE" //知识库业务模型编码
	};

});
0

POST /MONITOR/controller/monitorkpi/queryMonitorStatusListColumns HTTP/1.1
Host: 172.16.210.84:31600
Connection: keep-alive
Content-Length: 37
Accept: application/json, text/javascript, */*; q=0.01
Origin: http://172.16.210.84:31600
X-Requested-With: XMLHttpRequest
dataVerifyCode: ShMPBPM4WN9kWNxrwhQdpCraJVofQNizP6lECrhfiCbfqBYTAErFINlWWcGDXAavqs8w4aRdAunH1ynXXW9n692YCpOYICD3AmFhtq0hIe+SBhU8Fad703THXKHE7Yrl6HiS9A+/F27PMYEG5XWzvx/8kDcKG/OeRTG/qugkZSt/fsfp/1tB26BkUvq9v4gaMftZCzKsk9KhDo178PwbEjG4dBzkVYsBi2XhepGqZNxtDsO0YjsRgAestWIssgiJbbow5PHIXRxtdaCFF+3ij43KR4JZRis3vJ13Qkh9Xw/L01qYvbM4GyYpkuowVJhNGeFD8FjmBElWPRj0SOewvg==
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.97 Safari/537.36
Content-Type: application/json
Referer: http://172.16.210.84:31600/MONITOR/ims/app/monitor/state_monitor/jsp/state_monitor.jsp
Accept-Encoding: gzip, deflate
Accept-Language: zh-CN,zh;q=0.9,en;q=0.8
Cookie: JSESSIONID=ST-150-cegxGboobdGRs0hbIW71-sgcc.isc.com

%7B%22monitorObjType%22:%22HOST%22%7DHTTP/1.1 200 
X-Application-Context: front-gateway:8001
P3P: CP=CAO PSA OUR
Cache-Control: no-store, no-cache, must-revalidate
Cache-Control: post-check=0, pre-check=0
Pragma: no-cache
Expires: Sat, 6 May 1995 12:00:00 GMT
Date: Tue, 12 Nov 2019 08:37:08 GMT
Content-Type: application/json;charset=UTF-8
Transfer-Encoding: chunked

77f
{"errorMsg":"","promptMsg":"","operation":null,"resultObj":[{"filed":"resourceClsName","name":"操作系统","type":"CONF","monitorType":"HOST","valueType":"STRING","width":"120","align":"left","queryFiled":"resourceClsName"},{"filed":"ResName","name":"设备名称","type":"ATTR","monitorType":"HOST","valueType":"String","width":"150","align":"left","queryFiled":"ResName"},{"filed":"equipmentType","name":"设备类型","type":"CONF","monitorType":"HOST","valueType":"String","width":"100","align":"left","queryFiled":"equipmentType"},{"filed":"SecZoneName","name":"所属网络","type":"ATTR","monitorType":"HOST","valueType":"String","width":"80","align":"left","queryFiled":"SecZoneName"},{"filed":"AlertStatus","name":"状态","type":"PERF","monitorType":"HOST","valueType":"String","width":"40","align":"center","queryFiled":"AlertStatus"},{"filed":"AppName","name":"业务系统","type":"ATTR","monitorType":"HOST","valueType":"String","width":"80","align":"left","queryFiled":"AppName"},{"filed":"BcName","name":"单位","type":"ATTR","monitorType":"HOST","valueType":"String","width":"140","align":"left","queryFiled":"BcName"},{"filed":"IPAddr","name":"IP地址","type":"ATTR","monitorType":"HOST","valueType":"String","width":"120","align":"left","queryFiled":"IPAddr"},{"filed":"IPV6Addr","name":"IPV6地址","type":"PERF","monitorType":"HOST","valueType":"String","width":"120","align":"left","queryFiled":"IPV6Addr"},{"filed":"RunningTime","name":"运行时长","type":"PERF","monitorType":"HOST","valueType":"NUMBER","width":"120","align":"center","queryFiled":"RunningTime"},{"filed":"CpuUsedRatio","name":"CPU使用率","type":"PERF","monitorType":"HOST","valueType":"NUMBER","width":"100","align":"right","queryFiled":"CpuUsedRatio"},{"filed":"MemUsedRatio","name":"内存使用率","type":"PERF","monitorType":"HOST","valueType":"NUMBER","width":"100","align":"right","queryFiled":"MemUsedRatio"}]}
0

POST /MONITOR/controller/monitorkpi/listMonitorObjInfo HTTP/1.1
Host: 172.16.210.84:31600
Connection: keep-alive
Content-Length: 158
Accept: application/json, text/javascript, */*; q=0.01
Origin: http://172.16.210.84:31600
X-Requested-With: XMLHttpRequest
dataVerifyCode: h8yPjeBJTOT/96TXlSKoR+cj39g5SlEp3LLbV2SUXeptBAncQso3afQbPVkIl5sahsecIs8OdoMojAXzt1jonWg1jjd7cGzKGDP+5dLVk3Wnoi8R4RBkBuyfMu6ra4cOrwCTxiovk8wbhIbTWjUH4ncvB8+ZFYmixwYx42HZvU6PwaukdPgdF/4a0XsiyCsM06xY6ZL+dZfjjxq/qV0njkTT7QODi7rvh1o1EtnHrpZqelP8yEFTFN2LS+1ILgwI/3DGnAyFvcWoPdNdhO6cdWR85gVotJFWSal+cwcyrGjJp0lwMN3kRUc6xBYn8J85AgmCRSVR/uKrgiA0YpeBKg==
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.97 Safari/537.36
Content-Type: application/json;charset=UTF-8
Referer: http://172.16.210.84:31600/MONITOR/ims/app/monitor/state_monitor/jsp/state_monitor.jsp
Accept-Encoding: gzip, deflate
Accept-Language: zh-CN,zh;q=0.9,en;q=0.8
Cookie: JSESSIONID=ST-150-cegxGboobdGRs0hbIW71-sgcc.isc.com

%22%7B%5C%22order%5C%22:%5C%22asc%5C%22,%5C%22limit%5C%22:10,%5C%22offset%5C%22:0,%5C%22monitorObjType%5C%22:%5C%22HOST%5C%22,%5C%22secZoneId%5C%22:null%7D%22HTTP/1.1 200 
X-Application-Context: front-gateway:8001
P3P: CP=CAO PSA OUR
Cache-Control: no-store, no-cache, must-revalidate
Cache-Control: post-check=0, pre-check=0
Pragma: no-cache
Expires: Sat, 6 May 1995 12:00:00 GMT
Accept-Charset: big5, big5-hkscs, cesu-8, euc-jp, euc-kr, gb18030, gb2312, gbk, ibm-thai, ibm00858, ibm01140, ibm01141, ibm01142, ibm01143, ibm01144, ibm01145, ibm01146, ibm01147, ibm01148, ibm01149, ibm037, ibm1026, ibm1047, ibm273, ibm277, ibm278, ibm280, ibm284, ibm285, ibm290, ibm297, ibm420, ibm424, ibm437, ibm500, ibm775, ibm850, ibm852, ibm855, ibm857, ibm860, ibm861, ibm862, ibm863, ibm864, ibm865, ibm866, ibm868, ibm869, ibm870, ibm871, ibm918, iso-2022-cn, iso-2022-jp, iso-2022-jp-2, iso-2022-kr, iso-8859-1, iso-8859-13, iso-8859-15, iso-8859-2, iso-8859-3, iso-8859-4, iso-8859-5, iso-8859-6, iso-8859-7, iso-8859-8, iso-8859-9, jis_x0201, jis_x0212-1990, koi8-r, koi8-u, shift_jis, tis-620, us-ascii, utf-16, utf-16be, utf-16le, utf-32, utf-32be, utf-32le, utf-8, windows-1250, windows-1251, windows-1252, windows-1253, windows-1254, windows-1255, windows-1256, windows-1257, windows-1258, windows-31j, x-big5-hkscs-2001, x-big5-solaris, x-compound_text, x-euc-jp-linux, x-euc-tw, x-eucjp-open, x-ibm1006, x-ibm1025, x-ibm1046, x-ibm1097, x-ibm1098, x-ibm1112, x-ibm1122, x-ibm1123, x-ibm1124, x-ibm1166, x-ibm1364, x-ibm1381, x-ibm1383, x-ibm300, x-ibm33722, x-ibm737, x-ibm833, x-ibm834, x-ibm856, x-ibm874, x-ibm875, x-ibm921, x-ibm922, x-ibm930, x-ibm933, x-ibm935, x-ibm937, x-ibm939, x-ibm942, x-ibm942c, x-ibm943, x-ibm943c, x-ibm948, x-ibm949, x-ibm949c, x-ibm950, x-ibm964, x-ibm970, x-iscii91, x-iso-2022-cn-cns, x-iso-2022-cn-gb, x-iso-8859-11, x-jis0208, x-jisautodetect, x-johab, x-macarabic, x-maccentraleurope, x-maccroatian, x-maccyrillic, x-macdingbat, x-macgreek, x-machebrew, x-maciceland, x-macroman, x-macromania, x-macsymbol, x-macthai, x-macturkish, x-macukraine, x-ms932_0213, x-ms950-hkscs, x-ms950-hkscs-xp, x-mswin-936, x-pck, x-sjis_0213, x-utf-16le-bom, x-utf-32be-bom, x-utf-32le-bom, x-windows-50220, x-windows-50221, x-windows-874, x-windows-949, x-windows-950, x-windows-iso2022jp
Date: Tue, 12 Nov 2019 08:37:10 GMT
Content-Type: application/json;charset=UTF-8
Transfer-Encoding: chunked

d9a
{"total":13,"rows":[{"MemUsedRatio":"14.73%","IPAddr":"172.16.50.138","resourceClsName":"虚拟机,","resourceClsCode":"VSERVER,","cellStatus":null,"equipmentType":"-","CpuUsedRatio":"0.68%","AppName":"-","SecZoneName":"-","AlertStatus":"-","IPV6Addr":"240e:e8:f383:a5b1:21f3:51d6:c3ea:a8c2","ResName":"-","id":"6ECD1C71-2D7D-4E74-8B13-6CDD35AAF5D4","BcName":"国网江苏省电力公司","RunningTime":"1天7小时9分钟"},{"MemUsedRatio":"-","IPAddr":"172.16.50.226","resourceClsName":"虚拟机,","resourceClsCode":"VSERVER,","cellStatus":null,"equipmentType":"-","CpuUsedRatio":"-","AppName":"-","SecZoneName":"-","AlertStatus":"-","IPV6Addr":"-","ResName":"-","id":"0CF651BC-91E3-40E8-A63F-E86E33B0A4A1","BcName":"江苏省电力公司本部","RunningTime":"-"},{"MemUsedRatio":"-","IPAddr":"172.16.50.14","resourceClsName":"虚拟机,","resourceClsCode":"VSERVER,","cellStatus":null,"equipmentType":"-","CpuUsedRatio":"-","AppName":"-","SecZoneName":"-","AlertStatus":"-","IPV6Addr":"-","ResName":"-","id":"6E4EF115-B019-48F6-9590-69B9D240F469","BcName":"江苏省电力公司本部","RunningTime":"-"},{"MemUsedRatio":"-","IPAddr":"192.168.0.93","resourceClsName":"Linux,虚拟机","resourceClsCode":"LINUX,VSERVER","cellStatus":null,"equipmentType":"-","CpuUsedRatio":"-","AppName":"-","SecZoneName":"-","AlertStatus":"-","IPV6Addr":"-","ResName":"-","id":"0A7A11CE-B34B-4B5F-AF79-801CFD259C89","BcName":"国网江苏省电力公司","RunningTime":"-"},{"MemUsedRatio":"-","IPAddr":"172.16.50.133","resourceClsName":"虚拟机,","resourceClsCode":"VSERVER,","cellStatus":null,"equipmentType":"-","CpuUsedRatio":"-","AppName":"-","SecZoneName":"-","AlertStatus":"-","IPV6Addr":"-","ResName":"-","id":"4CEE34A6-039D-41CB-8A35-7FF17AA7EF55","BcName":"江苏省电力公司本部","RunningTime":"-"},{"MemUsedRatio":"-","IPAddr":"192.168.0.228","resourceClsName":"虚拟机,","resourceClsCode":"VSERVER,","cellStatus":null,"equipmentType":"-","CpuUsedRatio":"-","AppName":"-","SecZoneName":"-","AlertStatus":"-","IPV6Addr":"-","ResName":"192.168.0.228","id":"4A749C81-A35A-4D0E-A25C-162719A02B38","BcName":"国网江苏省电力公司","RunningTime":"-"},{"MemUsedRatio":"33.04%","IPAddr":"172.16.210.87","resourceClsName":"Linux,虚拟机","resourceClsCode":"LINUX,VSERVER","cellStatus":null,"equipmentType":"-","CpuUsedRatio":"0.66%","AppName":"-","SecZoneName":"信息内网","AlertStatus":"-","IPV6Addr":"-","ResName":"Agent采集","id":"A89AAAA0-0868-4E1F-89ED-0F31A6C72C5E","BcName":"国网江苏省电力公司","RunningTime":"19天4小时58分钟"},{"MemUsedRatio":"-","IPAddr":"-","resourceClsName":"操作系统,","resourceClsCode":"OS,","cellStatus":null,"equipmentType":"-","CpuUsedRatio":"-","AppName":"-","SecZoneName":"-","AlertStatus":"WARNING","IPV6Addr":"-","ResName":"-","id":"2735FCFE-0C30-4A03-BE6B-90C3FE2B5338","BcName":"-","RunningTime":"-"},{"MemUsedRatio":"-","IPAddr":"-","resourceClsName":"AIX,","resourceClsCode":"AIX,","cellStatus":null,"equipmentType":"-","CpuUsedRatio":"-","AppName":"-","SecZoneName":"-","AlertStatus":"WARNING","IPV6Addr":"-","ResName":"-","id":"48054321-F9AA-4FD2-AB6C-D6DDC8474425","BcName":"-","RunningTime":"-"},{"MemUsedRatio":"-","IPAddr":"-","resourceClsName":"操作系统,","resourceClsCode":"OS,","cellStatus":null,"equipmentType":"-","CpuUsedRatio":"-","AppName":"-","SecZoneName":"-","AlertStatus":"WARNING","IPV6Addr":"-","ResName":"-","id":"34C8BB4B-25A8-45DD-A6A0-3929F8D7785E","BcName":"-","RunningTime":"-"}]}
0

POST /MONITOR/controller/monitorkpi/queryMonitorViewSetting HTTP/1.1
Host: 172.16.210.84:31600
Connection: keep-alive
Content-Length: 57
Accept: application/json, text/javascript, */*; q=0.01
Origin: http://172.16.210.84:31600
X-Requested-With: XMLHttpRequest
dataVerifyCode: iJhnhGgzT7ZcsVrlkQbY48rrGGLwSVhKLLdaZVI0sdAb235gf2xQGTpsK97OYDWUH4TccPKBzd3HJbJYypJt52Y5vrHgRI2xjGpzeGMBznNifNuMsUVdK6tMcSh9CU4BDxoN626DCc/ZgjZl8+NQrwnIe3cmdluc4UmJq6+7LZ37ZPElJ3UIzlWh2w6HPni6phAaLD9MCUFAMhuZeRj6SRbBtewpYTS/t8s+PLarkM+6QpD5nn2Fty3cza3ndE/MJ9N7z/uG4Cr9iYtXmHMK/oBAYGAzOqy9K/cl+yaJhRAZ7ucTTn2Cr1v7G+SCCRYLB5xwkZcBIgspxXMUThRITw==
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.97 Safari/537.36
Content-Type: application/json
Referer: http://172.16.210.84:31600/MONITOR/ims/app/monitor/state_monitor/jsp/state_monitor.jsp
Accept-Encoding: gzip, deflate
Accept-Language: zh-CN,zh;q=0.9,en;q=0.8
Cookie: JSESSIONID=ST-150-cegxGboobdGRs0hbIW71-sgcc.isc.com

%7B%22monitorObjType%22:%22VSERVER%22,%22isRun%22:true%7DHTTP/1.1 200 
X-Application-Context: front-gateway:8001
P3P: CP=CAO PSA OUR
Cache-Control: no-store, no-cache, must-revalidate
Cache-Control: post-check=0, pre-check=0
Pragma: no-cache
Expires: Sat, 6 May 1995 12:00:00 GMT
Date: Tue, 12 Nov 2019 08:37:12 GMT
Content-Type: application/json;charset=UTF-8
Transfer-Encoding: chunked

47e
{"errorMsg":"","promptMsg":"","operation":null,"resultObj":[{"id":"8d4ac9cc-13b1-4900-ad93-5ebda206dde7","monitorObjType":"VSERVER","monitorKpiPluginInfo":"{\"monitorObjType\":\"VSERVER\",\"pluginParameter\":[{\"data\":[{\"id\":\"CpuUsedRatio\",\"name\":\"Cpu使用率\",\"path\":\"VSERVER\",\"type\":\"NUMBER\"}],\"label\":\"44\"}],\"pluginTitle\":\"33\",\"pluginType\":\"dashboard\"}","monitorKpiPluginId":"872b88ad-4502-4000-b9e4-93346de85e66","width":6,"height":4,"order":0,"refreshInternal":5,"parentId":null,"orgId":"FD39CAB4-AB92-D681-F2DA-A0DBB7B48B75"},{"id":"7a439906-de0d-4b06-a5f1-1007f5992b44","monitorObjType":"VSERVER","monitorKpiPluginInfo":"{\"monitorObjType\":\"VSERVER\",\"pluginParameter\":[{\"data\":[{\"id\":\"IPv4Addr\",\"name\":\"IPv4地址\",\"path\":\"VSERVER/PORT\",\"type\":\"STRING \"},{\"id\":\"IPv6Addr\",\"name\":\"IPv6地址\",\"path\":\"VSERVER/PORT\",\"type\":\"STRING \"}]}],\"pluginTitle\":\"基本信息\",\"pluginType\":\"kpilists\"}","monitorKpiPluginId":"97622289-9998-4bfa-bacf-fefb2eacefe8","width":6,"height":4,"order":1,"refreshInternal":5,"parentId":null,"orgId":"FD39CAB4-AB92-D681-F2DA-A0DBB7B48B75"}]}
0

POST /MONITOR/controller/monitorkpi/getKpiPluginByMonitorKpiPluginId HTTP/1.1
Host: 172.16.210.84:31600
Connection: keep-alive
Content-Length: 73
Accept: application/json, text/javascript, */*; q=0.01
Origin: http://172.16.210.84:31600
X-Requested-With: XMLHttpRequest
dataVerifyCode: dQP6N2xJO4NmsFobmB5sbD5yJVjhrYlTq/Eq4W9ntPYwiJaZH2HVR9QOICQzXkaiWmO8bSkb5p8AIynAaTDQXWomYd0UTaD7EVYvms096c06Lowj0V+f+1vBXIQLKEjWUzXHRt3QMtDjT7/wzyDl8l0oS6HGBKr6LpPa4MWecTF0u1Eg6rTZohqNFE5eBmSf3RXUYjCTqCTAP84cf0cK9f+Z0teD8RmtSMzk+9RR8Yu3VP9F/m6ahWOQSIh1yNTIAmRVCQwm6YzQ//nHBtEJEOFncVjGgZoCIXIlsHHRkkR0y321Fbi+wZT0B+IZtt1+GATuDP8VkO2P4CT9qs+yZQ==
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.97 Safari/537.36
Content-Type: application/json;charset=UTF-8
Referer: http://172.16.210.84:31600/MONITOR/ims/app/monitor/state_monitor/jsp/state_monitor.jsp
Accept-Encoding: gzip, deflate
Accept-Language: zh-CN,zh;q=0.9,en;q=0.8
Cookie: JSESSIONID=ST-150-cegxGboobdGRs0hbIW71-sgcc.isc.com

%7B%22monitorKpiPluginId%22:%22872b88ad-4502-4000-b9e4-93346de85e66%22%7DHTTP/1.1 200 
X-Application-Context: front-gateway:8001
P3P: CP=CAO PSA OUR
Cache-Control: no-store, no-cache, must-revalidate
Cache-Control: post-check=0, pre-check=0
Pragma: no-cache
Expires: Sat, 6 May 1995 12:00:00 GMT
Date: Tue, 12 Nov 2019 08:37:12 GMT
Content-Type: application/json;charset=UTF-8
Transfer-Encoding: chunked

1d0
{"errorMsg":"","promptMsg":"","operation":null,"resultObj":{"id":"872b88ad-4502-4000-b9e4-93346de85e66","pluginTitle":"33","pluginType":"dashboard","pluginTypeCn":null,"monitorObjType":"VSERVER","pluginParameter":"[{\"label\":\"44\",\"data\":[{\"id\":\"CpuUsedRatio\",\"name\":\"Cpu使用率\",\"path\":\"VSERVER\",\"type\":\"NUMBER\"}]}]","createUser":"8a10e5a44c30b5c6014c36e614140fda","createTime":1567065987000,"lastModifiedUser":null,"lastModifiedTime":null}}
0

POST /MONITOR/controller/monitorkpi/getKpiPluginByMonitorKpiPluginId HTTP/1.1
Host: 172.16.210.84:31600
Connection: keep-alive
Content-Length: 73
Accept: application/json, text/javascript, */*; q=0.01
Origin: http://172.16.210.84:31600
X-Requested-With: XMLHttpRequest
dataVerifyCode: Fw6/tFnadj0APdHD22eG1BwOe6oxtwl2iX1TU8BHe8FkS5pKKagts1+g5CJpRZY8IWBlsc4+ZBUj/myEZzLoL7s9HFT0CcQjPcZlJrSjlwAbDPP2tSUv19vvKqZsmP5WDmzwfHjM/+HCQJU0zFeMZE813wislO/pE82A7bRaSu007Ft2RU7Uc2L2B8JvT14y6qSQC6RiVYLVQheQOEJYagjfbXPmFyTgbHVxz3aLnRGTwj8UB85++QpwqJayizyYReYPGETlzDXPX48GOCyj4A3v+uLwKJfBfImMYLrk4/fb/Uq/A4/82f8WfqIESpEb4CLPqez1OlaoVTdTkbH5xQ==
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.97 Safari/537.36
Content-Type: application/json;charset=UTF-8
Referer: http://172.16.210.84:31600/MONITOR/ims/app/monitor/state_monitor/jsp/state_monitor.jsp
Accept-Encoding: gzip, deflate
Accept-Language: zh-CN,zh;q=0.9,en;q=0.8
Cookie: JSESSIONID=ST-150-cegxGboobdGRs0hbIW71-sgcc.isc.com

%7B%22monitorKpiPluginId%22:%2297622289-9998-4bfa-bacf-fefb2eacefe8%22%7DHTTP/1.1 200 
X-Application-Context: front-gateway:8001
P3P: CP=CAO PSA OUR
Cache-Control: no-store, no-cache, must-revalidate
Cache-Control: post-check=0, pre-check=0
Pragma: no-cache
Expires: Sat, 6 May 1995 12:00:00 GMT
Date: Tue, 12 Nov 2019 08:37:13 GMT
Content-Type: application/json;charset=UTF-8
Transfer-Encoding: chunked

225
{"errorMsg":"","promptMsg":"","operation":null,"resultObj":{"id":"97622289-9998-4bfa-bacf-fefb2eacefe8","pluginTitle":"基本信息","pluginType":"kpilists","pluginTypeCn":null,"monitorObjType":"VSERVER","pluginParameter":"[{\"data\":[{\"id\":\"IPv4Addr\",\"name\":\"IPv4地址\",\"path\":\"VSERVER/PORT\",\"type\":\"STRING \"},{\"id\":\"IPv6Addr\",\"name\":\"IPv6地址\",\"path\":\"VSERVER/PORT\",\"type\":\"STRING \"}]}]","createUser":"8a10e5a44c30b5c6014c36e614140fe0","createTime":1573112061000,"lastModifiedUser":null,"lastModifiedTime":null}}
0

GET /MONITOR/ims/app/homepage/image/panel_line.png HTTP/1.1
Host: 172.16.210.84:31600
Connection: keep-alive
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.97 Safari/537.36
Accept: image/webp,image/apng,image/*,*/*;q=0.8
Referer: http://172.16.210.84:31600/MONITOR/ims/app/monitor/state_monitor/jsp/state_monitor.jsp
Accept-Encoding: gzip, deflate
Accept-Language: zh-CN,zh;q=0.9,en;q=0.8
Cookie: JSESSIONID=ST-150-cegxGboobdGRs0hbIW71-sgcc.isc.com

HTTP/1.1 200 
X-Application-Context: front-gateway:8001
P3P: CP=CAO PSA OUR
Accept-Ranges: bytes
ETag: W/"942-1568253368000"
Last-Modified: Thu, 12 Sep 2019 01:56:08 GMT
Date: Tue, 12 Nov 2019 08:37:13 GMT
Content-Type: image/png
Transfer-Encoding: chunked

3ae
PNG

   
IHDR  G      [   tEXtSoftware Adobe ImageReadyqe<  (iTXtXML:com.adobe.xmp     <?xpacket begin="﻿" id="W5M0MpCehiHzreSzNTczkc9d"?> <x:xmpmeta xmlns:x="adobe:ns:meta/" x:xmptk="Adobe XMP Core 5.6-c138 79.159824, 2016/09/14-01:09:01        "> <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"> <rdf:Description rdf:about="" xmlns:xmp="http://ns.adobe.com/xap/1.0/" xmlns:xmpMM="http://ns.adobe.com/xap/1.0/mm/" xmlns:stRef="http://ns.adobe.com/xap/1.0/sType/ResourceRef#" xmp:CreatorTool="Adobe Photoshop CC 2017 (Macintosh)" xmpMM:InstanceID="xmp.iid:7D529B715FC411E78ACEA4F85BC80742" xmpMM:DocumentID="xmp.did:7D529B725FC411E78ACEA4F85BC80742"> <xmpMM:DerivedFrom stRef:instanceID="xmp.iid:7D529B6F5FC411E78ACEA4F85BC80742" stRef:documentID="xmp.did:7D529B705FC411E78ACEA4F85BC80742"/> </rdf:Description> </rdf:RDF> </x:xmpmeta> <?xpacket end="r"?>   IDATxb|%(`Q0, @     IENDB`
0

POST /MONITOR/controller/monitorkpi/getMonitorKpiData HTTP/1.1
Host: 172.16.210.84:31600
Connection: keep-alive
Content-Length: 899
Accept: application/json, text/javascript, */*; q=0.01
Origin: http://172.16.210.84:31600
X-Requested-With: XMLHttpRequest
dataVerifyCode: kNxApo1KTC4Rmx9FELXCOMI1sxF3ScIQqxGZ8DugbNyQ4ZyaAzehW/TTxbu7bM8Yv1qKeTQHw5NDMdK4irgsJznC3AD6h+DvB7YCUu809wHbjW3sMrojlhITjDAdS41d/FTqm4F9uC81uMQY3kFSjPswX54ge9JNYhhWWQkETXHuJPvvtfPtI/OIKz3C5aHP4tGb/QlZ5aRoRX/kIR2FTlLpgwdCLWGLpwnchGbfD7/RJqqKZfHy4NXN/q+7DABCnEwCmkGTV5K/esU2Qs2gVcdpFrCtVXq99NHS8yfwOtyL7owxpL7DmUeTQjr9gT11M0JrheJS2dQC0aOtBGQiPQ==
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.97 Safari/537.36
Content-Type: application/json;charset=UTF-8
Referer: http://172.16.210.84:31600/MONITOR/ims/app/monitor/state_monitor/jsp/state_monitor.jsp
Accept-Encoding: gzip, deflate
Accept-Language: zh-CN,zh;q=0.9,en;q=0.8
Cookie: JSESSIONID=ST-150-cegxGboobdGRs0hbIW71-sgcc.isc.com

%7B%22monitorObjId%22:%226ECD1C71-2D7D-4E74-8B13-6CDD35AAF5D4%22,%22monitorPluginKpiJson%22:%22%7B%5C%22monitorObjType%5C%22:%5C%22VSERVER%5C%22,%5C%22pluginParameter%5C%22:%5C%22%5B%7B%5C%5C%5C%22data%5C%5C%5C%22:%5B%7B%5C%5C%5C%22id%5C%5C%5C%22:%5C%5C%5C%22IPv4Addr%5C%5C%5C%22,%5C%5C%5C%22name%5C%5C%5C%22:%5C%5C%5C%22IPv4%E5%9C%B0%E5%9D%80%5C%5C%5C%22,%5C%5C%5C%22path%5C%5C%5C%22:%5C%5C%5C%22VSERVER/PORT%5C%5C%5C%22,%5C%5C%5C%22type%5C%5C%5C%22:%5C%5C%5C%22STRING%20%5C%5C%5C%22%7D,%7B%5C%5C%5C%22id%5C%5C%5C%22:%5C%5C%5C%22IPv6Addr%5C%5C%5C%22,%5C%5C%5C%22name%5C%5C%5C%22:%5C%5C%5C%22IPv6%E5%9C%B0%E5%9D%80%5C%5C%5C%22,%5C%5C%5C%22path%5C%5C%5C%22:%5C%5C%5C%22VSERVER/PORT%5C%5C%5C%22,%5C%5C%5C%22type%5C%5C%5C%22:%5C%5C%5C%22STRING%20%5C%5C%5C%22%7D%5D%7D%5D%5C%22,%5C%22pluginTitle%5C%22:%5C%22%E5%9F%BA%E6%9C%AC%E4%BF%A1%E6%81%AF%5C%22,%5C%22pluginType%5C%22:%5C%22kpilists%5C%22%7D%22%7DHTTP/1.1 200 
X-Application-Context: front-gateway:8001
P3P: CP=CAO PSA OUR
Cache-Control: no-store, no-cache, must-revalidate
Cache-Control: post-check=0, pre-check=0
Pragma: no-cache
Expires: Sat, 6 May 1995 12:00:00 GMT
Date: Tue, 12 Nov 2019 08:37:17 GMT
Content-Type: application/json;charset=UTF-8
Transfer-Encoding: chunked

b7
{"errorMsg":"","promptMsg":"","operation":null,"resultObj":"[{\"name\":\"IPv4地址\",\"value\":\"172.16.50.138\"},{\"name\":\"IPv6地址\",\"value\":\"fe80::f8ae:3be2:9902:1d4b\"}]"}
0

