diff --git a/client/dist/static/logview/Logview_files/blue/cloudjs.css b/client/dist/static/logview/Logview_files/blue/cloudjs.css index fce1aa18..d2672a0e 100644 --- a/client/dist/static/logview/Logview_files/blue/cloudjs.css +++ b/client/dist/static/logview/Logview_files/blue/cloudjs.css @@ -1,1902 +1 @@ -/*public*/ -.cloudjs_icon { - background-image: url(../../images/icons_new.png); -} -.cloudjs_btn { - -moz-border-radius: 3px; - -webkit-border-radius: 3px; - border-radius: 3px; - padding: 3px 7px; - display: inline-block; - font-family: Microsoft Yahei; - font-size: 12px; - white-space: nowrap; - cursor: pointer; - zoom: 1; - *width: 40px; - *height: 24px; - *line-height: 1; - border: 1px solid #258cd6; - color: #ffffff; - background-color: #199fff; -} -a.cloudjs_btn { - text-decoration: none; -} -.cloudjs_btn_white { - -moz-border-radius: 3px; - -webkit-border-radius: 3px; - border-radius: 3px; - padding: 3px 7px; - display: inline-block; - font-family: Microsoft Yahei; - font-size: 12px; - white-space: nowrap; - cursor: pointer; - zoom: 1; - *width: 40px; - *height: 24px; - *line-height: 1; - border: 1px solid #999999; - color: #000000; - background-color: #ffffff; -} -.cloudjs_icon:hover { - opacity: 0.8; - filter: alpha(opacity=80); -} -.cloudjs_btn:hover { - opacity: 0.8; - filter: alpha(opacity=80); -} -.cloudjs_btn_white:hover { - border-color: #666666; -} -.cloudjs_btn_white_disable, -.cloudjs_btn_white:disabled { - color: #aaaaaa; - border-color: #cfcfcf; - cursor: default; -} -.cloudjs_btn_disable, -.cloudjs_btn_disable:hover, -.cloudjs_btn:disabled { - color: #aaaaaa; - border-color: #cfcfcf; - cursor: default; - background: #ffffff; -} -.border { - border: 1px solid #c6c6c6; - box-shadow: inset 1px 2px 1px #f0f0f0; -} -.cloudjs_input { - height: 25px; - line-height: 25px; - padding: 0; - text-indent: 5px; - outline: none; - border: 1px solid #c6c6c6; - box-shadow: inset 1px 2px 1px #f0f0f0; -} -.cloudjs_input:focus { - border: solid 1px #aaa; -} -/*wsd系统公共样式*/ -.tabFix { - table-layout: fixed; -} -.tabFix td { - word-wrap: break-word; - word-break: break-all; -} -.fl { - float: left; -} -.fr { - float: right; -} -.blank0, -.blank10, -.blank20 { - width: 100%; - clear: both; - font-size: 0; -} -.blank0 { - height: 0; -} -.blank10 { - height: 10px; -} -.blank20 { - height: 20px; -} -/*老分页css*/ -.paging_table .sort { - cursor: pointer; -} -.paging_table .js_up { - background: #f0f1f6 url(http://3gimg.qq.com/mig_op/cloudJs/images/arrow_up.png) no-repeat right center; -} -.paging_table .js_down { - background: #f0f1f6 url(http://3gimg.qq.com/mig_op/cloudJs/images/arrow_down.png) no-repeat right center; -} -/*条件表格css*/ -.condition_table { - width: 100%; - border-collapse: collapse; - word-wrap: break-word; - background: #fff; -} -.condition_table caption, -.paging_table caption { - font: bold 14px/20px microsoft yahei; - padding: 10px 15px; - text-align: left; - background: #dbdfeb; - border: 1px solid #c8c8c8; - border-bottom: 0; -} -.condition_table td { - line-height: 20px; - padding: 5px 9px; - border: 1px solid #c8c8c8; -} -.condition_table td.tit { - background: #eee; - text-align: right; -} -/********************************************************************/ -/*calendar*/ -.calendar_warpper { - width: 260px; - z-index: 9998; - position: absolute; - font-family: "microsoft yahei"; -} -.calendar_panel { - width: 100%; - background-color: #ffffff; - border: solid 1px #ccc; - position: relative; - top: 0; - z-index: 2; - box-shadow: 0 5px 15px -5px rgba(0, 0, 0, 0.5); - overflow: hidden; - zoom: 1; -} -.calendar_form { - text-align: center; - float: left; -} -.calendar_title { - padding: 0; - margin: 0; - background-color: #ffffff; - text-align: center; - font-size: 13px; - height: 30px; - line-height: 30px; -} -.calendar_panel .calendar_week { - padding: 0; - margin: 0; -} -.calendar_panel span { - display: inline-block; - vertical-align: middle; - text-decoration: none; - line-height: 30px; - width: 14.27%; - height: 30px; -} -.calendar_form span { - cursor: default; - color: #555; - font-size: 12px; -} -.calendar_title .curr_year, -.calendar_title .curr_mon { - font: normal bold 14px/1 'microsoft yahei'; -} -.calendar_panel .calendar_pre_mon, -.calendar_panel .calendar_next_mon { - width: 30px; - height: 16px; - position: absolute; - cursor: pointer; - opacity: .6; - filter: alpha(opacity=60); - text-align: center; - zoom: 1; - display: block; - padding: 7px 0; - line-height: 1; - top: 0; -} -.calendar_panel i.cloudjs_icon { - width: 16px; - height: 16px; - display: inline-block; - vertical-align: middle; -} -.calendar_panel .calendar_pre_mon:hover, -.calendar_panel .calendar_next_mon:hover { - opacity: 1; - filter: alpha(opacity=100); -} -.calendar_panel .calendar_pre_mon { - left: 0; -} -.calendar_panel .calendar_pre_mon .cloudjs_icon { - background-position: 0 0; -} -.calendar_panel .calendar_next_mon { - right: 10px; -} -.calendar_panel .calendar_next_mon .cloudjs_icon { - background-position: -16px 0; -} -.calendar_panel .calendar_days { - padding: 0 5px; - overflow: hidden; - padding-bottom: 5px; -} -.calendar_panel .calendar_days .calendar_day { - background-color: #eee; - float: left; - width: 14.2857%; - height: 23px; - text-decoration: none; - color: #666666; - font-size: 12px; - line-height: 23px; - cursor: default; -} -.calendar_panel .calendar_days .calendar_disabled, -.calendar_panel .calendar_months .calendar_disabled { - background-color: #ffffff; - color: #aaa; -} -.calendar_panel .calendar_days .calendar_today, -.calendar_panel .currMonth { - color: #199fff; - font-weight: bold; -} -.calendar_panel .calendar_days .calendar_range { - background-color: #d9efff; -} -.calendar_panel .calendar_days .calendar_day:hover, -.calendar_panel .calendar_days .calendar_current, -.calendar_panel .calendar_months .calendar_mon:hover, -.calendar_months .calendar_current { - background-color: #199fff; - color: #ffffff; - border-radius: 3px; - font-weight: normal; -} -.calendar_panel .calendar_days .calendar_disabled:hover, -.calendar_panel .calendar_months .calendar_disabled:hover { - background-color: #ffffff; - color: #aaa; -} -.calendar_panel .calendar_months { - padding: 0 5px; - padding-bottom: 5px; - overflow: hidden; -} -.calendar_mon { - background-color: #eee; - float: left; - width: 25%; - height: 40px; - text-decoration: none; - color: #666666; - font-size: 12px; - line-height: 40px; - cursor: default; -} -.calendar_panel .calendar_months .calendar_range { - background-color: #d9efff; -} -.calendar_panel .calendar_time_box { - background: #f3f3f3; - padding: 5px 3px 5px 5px; - overflow: hidden; - clear: both; - border-top: solid 1px #dedede; - font-size: 14px; - white-space: nowrap; -} -.calendar_panel .calendar_time_box .date_input, -.calendar_panel .calendar_time_box .multi_input { - width: 40px; - height: 20px; - margin-right: 2px; - box-shadow: inset 0 2px 1px #f0f0f0; - border: solid 1px #ccc; - line-height: 20px; -} -.calendar_panel .calendar_time_box .multi_input { - width: 80px; -} -.calendar_panel .calendar_time_box .cloudjs_btn_white { - float: right; - margin-right: 10px; - width: 40px; -} -.calendar_panel .calendar_time_box .cloudjs_btn { - float: right; - width: 40px; -} -.calendar_panel .calendar_time_box b { - font-weight: normal; - font-size: 12px; - line-height: 18px; - padding-right: 5px; -} -.calendar_inputs_wrap { - display: inline-block; - position: relative; - vertical-align: middle; -} -.calendar_icon { - position: absolute; - right: 5px; - top: 6px; - width: 16px; - height: 16px; - background-position: -32px 0; -} -/*combobox*/ -.combo_container { - display: inline-block; - position: relative; - border: 1px solid #C6C6C6; - box-shadow: inset 1px 2px 1px #F0F0F0; -} -.combo_container .combo_text { - border: 0; - outline: 0; - height: 25px; - line-height: 25px; - padding: 0 5px; - box-shadow: inset 1px 2px 1px #F0F0F0; -} -.combo_container .combo_arrow { - display: inline-block; - width: 16px; - text-align: center; - background-image: none; -} -.combo_container .combo_arrow span { - display: inline-block; - width: 0; - height: 0; - margin-top: 3px; - border: 5px solid #878787; - background: none; - border-color: #878787 transparent transparent; - vertical-align: middle; -} -.combo_container .combo_panel { - display: none; - position: absolute; - border: 1px solid #C6C6C6; - background: #ffffff; - overflow: auto; -} -.combo_container .combo_panel .combo_item { - cursor: default; - padding: 0 5px; - line-height: 25px; -} -.combo_container .combo_item input[type="checkbox"] { - margin-right: 3px; -} -.combo_container .combo_head { - padding: 5px 3px; - background: #FFFFFF; - border-bottom: 1px solid #C3C3C3; -} -.combo_container .combo_close_btn { - background-repeat: no-repeat; - cursor: pointer; - display: block; - height: 20px; - width: 20px; - float: right; - background-position: -110px 2px; -} -.combo_container .combo_panel .combo_item_selected { - background-color: #199fff; - color: #ffffff; -} -.combo_container .combo_panel .combo_item_hover { - background: #d9efff; - color: #000000; -} -.combo_container .combo_panel .combo_item_disabled, -.combo_disabled { - color: #aaaaaa; - background-color: #eeeeee; - border-color: #cccccc; - cursor: not-allowed; - box-shadow: 0px 0px 0px #dddddd; -} -.combo_disabled .combo_text { - cursor: not-allowed; - background: #ffffff; - color: #999999; -} -.combo_disabled .combo_arrow span { - border-top-color: #CCCCCC; -} -/*dialog*/ -div.dialog_div { - word-wrap: break-word; - word-break: break-all; - opacity: 1; - filter: alpha(opacity=100); - min-height: 106px; - position: absolute; - border: 1px solid #c6c6c6; - background-color: #ffffff; - -moz-box-shadow: 0px 0px 10px #c6c6c6; - -webkit-box-shadow: 0px 0px 10px #c6c6c6; - box-shadow: 0px 0px 10px #c6c6c6; - -moz-border-radius: 3px; - -webkit-border-radius: 3px; - border-radius: 3px; -} -.dialog_div .dialog_div_head { - border-bottom: 1px solid #efefef; - height: 32px; - background-color: #f9f9f9; -} -.dialog_div .dialog_div_head .dialog_div_head_title { - color: #000000; - font-weight: normal; - display: block; - float: left; - height: 32px; - line-height: 32px; - width: 70%; - margin-left: 10px; - text-overflow: ellipsis; - overflow: hidden; - white-space: nowrap; - zoom: 1; - max-width: 85%; -} -.dialog_div .dialog_div_head .dialog_div_head_btn { - margin-top: 10px; - background-repeat: no-repeat; - cursor: pointer; - display: block; - height: 12px; - line-height: 12px; - width: 12px; - text-align: right; - float: right; -} -.dialog_div .dialog_div_head .dialog_div_head_fullscreen_btn { - margin-right: 10px; - background-position: -98px -2px; - display: none; -} -.dialog_div .dialog_div_head .dialog_div_head_fullscreen_btn:hover { - background-position: -98px -2px; -} -.dialog_div .dialog_div_head .dialog_div_head_close_btn { - margin-right: 9px; - background-position: -115px -2px; -} -.dialog_div .dialog_div_head .dialog_div_head_close_btn:hover { - background-position: -115px -2px; -} -.dialog_div .dialog_div_head .dialog_div_head_backscreen_btn { - margin-right: 10px; - background-position: -82px -2px; - display: none; -} -.dialog_div .dialog_div_head .dialog_div_head_backscreen_btn:hover { - background-position: -82px -2px; -} -.dialog_div .dialog_div_head .dialog_div_head_btn:hover { - opacity: 0.6; - filter: alpha(opacity=60); -} -.dialog_div .dialog_div_body { - background-color: #ffffff; - padding-top: 8px; - padding-left: 10px; - padding-right: 10px; - padding-bottom: 8px; - line-height: 1.5em; - overflow: auto; - min-height: 22px; - *min-height: 22px; -} -.dialog_div .dialog_div_foot { - background-color: #ffffff; - border-top: 1px solid #efefef; - text-align: right; - position: relative; - padding-bottom: 4px; - padding-left: 10px; - min-height: 26px; - *min-height: 26px; -} -.dialog_div .dialog_div_foot .dialog_div_foot_button { - margin-top: 4px; - margin-right: 10px; -} -.dialog_div_layer { - width: 100%; - height: 100%; - position: fixed; - background-color: #ddd; - opacity: 0.6; - filter: alpha(opacity=60); - top: 0px; - left: 0px; -} -.dialog_div .dialog_div_body .dialog_div_body_textarea { - font-family: microsoft yahei; - *margin-left: -8px !important; - *padding: 0px !important; - background-color: #ffffff; - overflow: auto; - padding: 2px 2px; - margin: 0px; - outline: none; - border: 1px solid #dcdcdc; - resize: none; - word-break: break-all; - height: 60px; -} -.dialog_div .dialog_div_body .dialog_div_body_textarea_empty { - border: 1px solid red; -} -.dialog_div .dialog_div_body .dialog_div_body_empty { - color: #ff0000; -} -.dialog_div .dialog_arrow, -.dialog_div .dialog_arrow i { - position: absolute; - width: 0; - height: 0; - font-size: 0; - border-top-color: transparent; - border-bottom-color: transparent; - border-right-color: transparent; - border-left-color: transparent; - border-style: solid; -} -.dialog_div .dialog_arrow { - border-width: 8px; -} -.dialog_div .dialog_arrow i { - border-width: 6px; -} -.dialog_div .dialog_arrow_up { - bottom: -16px; - left: 50%; - margin-left: -8px; - border-top-color: #c6c6c6; -} -.dialog_div .dialog_arrow_down { - top: -16px; - left: 50%; - margin-left: -8px; - border-bottom-color: #c6c6c6; -} -.dialog_div .dialog_arrow_left { - top: 50%; - right: -16px; - margin-top: -8px; - border-left-color: #c6c6c6; -} -.dialog_div .dialog_arrow_right { - top: 50%; - left: -16px; - margin-top: -8px; - border-right-color: #c6c6c6; -} -.dialog_div .dialog_arrow_up_left { - bottom: -16px; - right: 7px; - border-top-color: #c6c6c6; -} -.dialog_div .dialog_arrow_up_right { - bottom: -16px; - left: 9px; - border-top-color: #c6c6c6; -} -.dialog_div .dialog_arrow_down_left { - top: -16px; - right: 7px; - border-bottom-color: #c6c6c6; -} -.dialog_div .dialog_arrow_down_right { - top: -16px; - left: 9px; - border-bottom-color: #c6c6c6; -} -.dialog_div .dialog_arrow_up i, -.dialog_div .dialog_arrow_up_left i, -.dialog_div .dialog_arrow_up_right i { - top: -8px; - left: -6px; - border-top-color: #ffffff; -} -.dialog_div .dialog_arrow_down i, -.dialog_div .dialog_arrow_down_left i, -.dialog_div .dialog_arrow_down_right i { - top: -4px; - left: -6px; - border-bottom-color: #f9f9f9; -} -.dialog_div .dialog_arrow_right i { - top: -6px; - left: -4px; - border-right-color: #ffffff; -} -.dialog_div .dialog_arrow_left i { - top: -6px; - left: -8px; - border-left-color: #ffffff; -} -/*mask*/ -.mask_modal { - height: 100%; - width: 100%; - position: fixed; - top: 0; - left: 0; - z-index: 10000; - background: #000000; - opacity: 0.5; - filter: alpha(opacity=50); -} -.mask_con { - position: fixed; - top: 50%; - z-index: 11000; - left: 50%; - margin-top: -54px; - margin-left: -47px; - text-align: center; - display: inline-block; -} -/*menu*/ -.menu_data_ul .cloudjs_icon, -.menu_fixed_div .cloudjs_icon, -.menu_simple_div .cloudjs_icon { - width: 14px; - height: 14px; - margin: 6px 6px 0 0; - float: right; - background-position: -65px 0px; -} -.menu_fixed_div .hover .cloudjs_icon { - background-position: -9999px; -} -.menu_simple_div .hover .cloudjs_icon { - background-position: -50px 0px; -} -.menu_tree_ul { - width: 200px; - background: #eaeaea; - list-style: none; - padding: 10px 0; -} -.menu_tree_ul li { - line-height: 30px; -} -.menu_tree_ul a { - display: block; - color: #000000; - padding-left: 1em; - border-left: 2px solid #eaeaea; -} -.menu_tree_ul ul a { - padding-left: 3em; -} -.menu_tree_ul ul ul a { - padding-left: 4em; -} -.menu_tree_ul a:hover, -.menu_tree_ul a.selected { - background: #ffffff; - color: #000000; - border-left: 2px solid #199fff; -} -.menu_tree_ul ul { - padding: 0; - display: none; -} -.menu_tree_ul li.hover ul { - display: block; -} -.menu_data_ul { - padding: 0; - background: #eaeaea; - list-style: none; - border: 1px solid #c6c6c6; - box-shadow: inset 1px 2px 1px #f0f0f0; -} -.menu_data_ul a { - cursor: pointer; - color: #000000; -} -.menu_data_ul li.hover { - background: #ffffff; -} -.menu_data_ul li { - position: relative; - height: 30px; - line-height: 30px; - padding-left: 10px; -} -.menu_data_ul ul { - padding: 0; - position: absolute; - width: 150px; - list-style: none; - border: 1px solid #c6c6c6; - box-shadow: inset 1px 2px 1px #f0f0f0; - background: #ffffff; -} -.menu_data_ul ul li { - height: 29px; - line-height: 29px; - border-bottom: 1px solid #e0e0e0; -} -.menu_data_ul ul li.hover { - background: #eeeeee; -} -.menu_data_ul ul a { - float: left; -} -.menu_data_horizontal_ul { - height: 40px; -} -.menu_data_horizontal_ul .li_level0 { - float: left; - display: inline; - border-right: 1px solid #c6c6c6; - padding: 5px 30px; -} -.menu_data_vertical_ul { - width: 100px; -} -.menu_data_vertical_ul .li_level0 { - height: 29px; - border-bottom: 1px solid #e0e0e0; -} -.menu_fixed_div { - width: 180px; - position: relative; - height: 260px; -} -.menu_fixed_title { - width: 179px; - padding: 1px 0 1px 1px; - position: absolute; - top: 0; - left: 0; - font-size: 14px; - background: #eaeaea; - margin: 0; - z-index: 11; - list-style: none; -} -.menu_fixed_title li { - padding-left: 10px; - height: 30px; - line-height: 30px; -} -.menu_fixed_title li.hover { - background: #ffffff; -} -.menu_fixed_title li.hover a { - color: #000000; -} -.menu_fixed_title li a { - float: left; - color: #000000; -} -.menu_fixed_title li span { - float: right; - font-size: 10px; -} -.menu_fixed_hide { - display: none; - position: absolute; - border: 1px solid #eaeaea; - z-index: 10; - background: #ffffff; -} -.menu_simple_div { - float: left; - width: 100px; - position: relative; -} -.menu_simple_title { - display: block; - background: #eaeaea; - color: #000000; - height: 30px; - line-height: 30px; -} -.menu_simple_hide { - display: none; - background: #ffffff; - position: absolute; - border: 1px solid #c6c6c6; - border-top: 0; -} -/*paging and table*/ -.paging_div { - height: 30px; - clear: both; -} -.paging_div ul { - padding: 0; - margin: 0; - float: left; -} -.paging_div li { - display: inline; - float: left; -} -.paging_div li.ellipsis { - margin: 0 10px 0 5px; -} -.paging_div li a { - float: left; - position: relative; - line-height: 20px; - margin-right: 5px; - min-width: 12px; - text-align: center; - padding: 3px 7px; - display: inline-block; - font-family: Microsoft Yahei; - font-size: 12px; - white-space: nowrap; - cursor: pointer; - zoom: 1; - *width: 40px; - *height: 24px; - *line-height: 1; - border: 1px solid #999999; - color: #000000; - background-color: #ffffff; -} -.paging_div li a:hover, -.paging_div li a:focus { - border: 1px solid #258cd6; - color: #ffffff; - background-color: #199fff; -} -.paging_div .ellipsis { - line-height: 28px; -} -.paging_div .paging_active a, -.paging_div .paging_active a:hover, -.paging_div .paging_active a:focus { - border: 1px solid #258cd6; - color: #ffffff; - background-color: #199fff; - cursor: default; -} -.paging_div .paging_disabled a, -.paging_div .paging_disabled a:hover, -.paging_div .paging_disabled a:focus { - color: #aaaaaa; - background-color: #eeeeee; - border-color: #cccccc; - cursor: not-allowed; - box-shadow: 0px 0px 0px #dddddd; -} -.paging_div .paging_disabled i { - opacity: 0.3; - filter: alpha(opacity=30); -} -.paging_div .paging_icons { - position: relative; - height: 20px; -} -.paging_div .paging_icons i { - position: absolute; - height: 16px; - width: 14px; - top: 5px; - left: 6px; -} -.paging_div .prev .cloudjs_icon { - background-position: 0 0; -} -.paging_div .next .cloudjs_icon { - background-position: -17px 0; -} -.paging_div .first .cloudjs_icon { - background-position: 0 0; -} -.paging_div .last .cloudjs_icon { - background-position: -17px 0; -} -.paging_div .paging_div_right { - float: left; -} -.paging_div input[type=text] { - width: 40px; - text-align: center; - text-indent: 0; -} -.paging_mask { - height: 100%; - width: 100%; - position: fixed; - top: 0; - left: 0; - z-index: 10000; - background: #000000; - opacity: 0.5; - filter: alpha(opacity=50); -} -.paging_loading { - position: fixed; - z-index: 990001; - top: 50%; - left: 50%; - margin-top: -54px; - margin-left: -47px; -} -.paging_table { - width: 100%; - border-collapse: collapse; - word-wrap: break-word; - white-space: normal; - word-break: break-all; - background: #fff; -} -.paging_table th { - background: #f0f1f6; - text-align: left; -} -.paging_table th.sort_string, -.paging_table th.sort_number { - cursor: pointer; -} -.paging_table td, -.paging_table th { - padding: 7px 15px; - border: 1px solid #c8c8c8; - vertical-align: top; - font: normal 14px/20px microsoft yahei; -} -.paging_table .center { - text-align: center; -} -.paging_table .integer, -.paging_table .percent, -.paging_table .right { - text-align: right; -} -.paging_table tbody .cursor, -.paging_table tbody a { - cursor: pointer; - color: #199fff; -} -.paging_table tbody .cursor:hover, -.paging_table tbody a:hover { - opacity: 0.8; - filter: alpha(opacity=80); -} -.paging_table tbody tr:nth-child(2n) td { - background: #f0f1f6; -} -.paging_table tbody tr:hover td { - background: #d9d9ef; -} -.paging_table .paging_div { - float: right; -} -.paging_table .th_div { - position: relative; -} -.paging_table .sort_icon { - position: absolute; - right: -12px; - top: 0; - width: 12px; -} -.paging_table .sort_icon i { - float: left; - width: 12px; - height: 10px; - cursor: pointer; -} -.paging_table .sort_icon .down { - background-position: -49px -4px; -} -.paging_table .sort_icon .up { - background-position: -66px -34px; -} -.paging_table .sort_icon .thissort { - opacity: 0.3; - filter: alpha(opacity=30); - cursor: default; -} -.paging_table th .htips, -.cloudjs_tips { - padding-right: 20px; - background-image: url(../../images/icons_new.png); - background-position: right bottom; -} -/*tips*/ -.tips_div { - position: absolute; - border: 1px solid #258cd6; - -moz-box-shadow: 0px 0px 6px #258cd6; - -webkit-box-shadow: 0px 0px 6px #258cd6; - box-shadow: 0px 0px 6px #258cd6; - background: #ffffff; - color: #000000; -} -.tips_div, -.tips_div .tips_content { - -moz-border-radius: 3px; - -webkit-border-radius: 3px; - border-radius: 3px; - zoom: 1; - display: inline-block; - *display: inline; -} -.tips_div .tips_content { - overflow: auto; - word-wrap: break-word; - padding: 4px 8px; -} -.tips_div .tips_arrow, -.tips_div .tips_arrow i { - position: absolute; - width: 0; - height: 0; - font-size: 0; - border-width: 8px; - border-top-color: transparent; - border-bottom-color: transparent; - border-right-color: transparent; - border-left-color: transparent; - border-style: solid; -} -.tips_div .tips_arrow i { - border-width: 8px; -} -.tips_div .tips_arrow_up { - bottom: -16px; - left: 50%; - margin-left: -8px; - border-top-color: #258cd6; -} -.tips_div .tips_arrow_down { - top: -16px; - left: 50%; - margin-left: -8px; - border-bottom-color: #258cd6; -} -.tips_div .tips_arrow_left { - top: 50%; - right: -16px; - margin-top: -8px; - border-left-color: #258cd6; -} -.tips_div .tips_arrow_right { - top: 50%; - left: -16px; - margin-top: -8px; - border-right-color: #258cd6; -} -.tips_div .tips_arrow_down_left { - top: -16px; - right: 8px; - border-bottom-color: #258cd6; -} -.tips_div .tips_arrow_down_right { - top: -16px; - left: 8px; - border-bottom-color: #258cd6; -} -.tips_div .tips_arrow_up_left { - bottom: -16px; - right: 8px; - border-top-color: #258cd6; -} -.tips_div .tips_arrow_up_right { - bottom: -16px; - left: 8px; - border-top-color: #258cd6; -} -.tips_div .tips_arrow_up i, -.tips_div .tips_arrow_up_left i, -.tips_div .tips_arrow_up_right i { - top: -10px; - left: -8px; - border-top-color: #ffffff; -} -.tips_div .tips_arrow_down i, -.tips_div .tips_arrow_down_left i, -.tips_div .tips_arrow_down_right i { - top: -6px; - left: -8px; - border-bottom-color: #ffffff; -} -.tips_div .tips_arrow_right i { - top: -8px; - left: -6px; - border-right-color: #ffffff; -} -.tips_div .tips_arrow_left i { - top: -8px; - left: -10px; - border-left-color: #ffffff; -} -/*validate*/ -.validate_div { - position: absolute; - border: 1px solid #d33330; - background: #f2dede; - -moz-border-radius: 3px; - -webkit-border-radius: 3px; - border-radius: 3px; - -moz-box-shadow: 1px 1px 2px #aaaaaa; - -webkit-box-shadow: 1px 1px 2px #aaaaaa; - box-shadow: 1px 1px 2px #aaaaaa; - color: #a94442; -} -.validate_div, -.validate_div .validate_content { - zoom: 1; - display: inline-block; - *display: inline; -} -.validate_div .validate_content { - word-wrap: break-word; - max-width: 300px; - *max-width: 300px; - font-size: 13px; - padding: 4px 8px; -} -.validate_div .validate_arrow, -.validate_div .validate_arrow i { - position: absolute; - width: 0; - height: 0; - font-size: 0; - border-top-color: transparent; - border-bottom-color: transparent; - border-right-color: transparent; - border-left-color: transparent; - border-style: solid; -} -.validate_div .validate_arrow { - border-width: 7px; -} -.validate_div .validate_arrow i { - border-width: 6px; -} -.validate_div .validate_arrow_down { - top: -14px; - left: 50%; - margin-left: -8px; - border-bottom-color: #b2211f; -} -.validate_div .validate_arrow_up { - bottom: -14px; - left: 50%; - margin-left: -8px; - border-top-color: #b2211f; -} -.validate_div .validate_arrow_right { - top: 50%; - left: -14px; - margin-top: -8px; - border-right-color: #b2211f; -} -.validate_div .validate_arrow_left { - top: 50%; - right: -14px; - margin-top: -8px; - border-left-color: #b2211f; -} -.validate_div .validate_arrow_down i { - top: -5px; - left: -6px; - border-bottom-color: #f2dede; -} -.validate_div .validate_arrow_up i { - top: -7px; - left: -6px; - border-top-color: #f2dede; -} -.validate_div .validate_arrow_right i { - top: -6px; - left: -5px; - border-right-color: #f2dede; -} -.validate_div .validate_arrow_left i { - top: -6px; - left: -7px; - border-left-color: #f2dede; -} -.validate_div .validate_content .validate_icon, -.validate_span .validate_icon { - display: inline-block; - *display: inline; - height: 20px; - width: 20px; - background-image: url(../../images/icons_new.png); - background-position: -48px -14px; - background-repeat: no-repeat; - vertical-align: -4px; -} -.validate_span { - color: #a94442; - font-size: 13px; - margin-left: 10px; -} -/*progressbar*/ -.progressbar_div { - background-color: #f0f0f0; - border: 0; - position: relative; - text-align: center; - margin-top: 4px; -} -.progressbar_div .progressbar_progress { - height: 100%; - width: 0%; - position: absolute; - background-color: #199fff; -} -.progressbar_div .progressbar_value { - position: absolute; - z-index: 1; - left: 0; - right: 0; - margin-left: auto; - margin-right: auto; - font-weight: normal; - top: 0; - bottom: 0; - margin-top: auto; - margin-bottom: auto; - height: 20px; -} -/*resizable*/ -.ui-resizable-handle { - position: absolute; - font-size: 0.1px; - display: block; -} -.ui-resizable-disabled .ui-resizable-handle, -.ui-resizable-autohide .ui-resizable-handle { - display: none; -} -.ui-resizable-n { - cursor: n-resize; - height: 7px; - width: 100%; - top: -5px; - left: 0; -} -.ui-resizable-s { - cursor: s-resize; - height: 7px; - width: 100%; - bottom: -5px; - left: 0; -} -.ui-resizable-e { - cursor: e-resize; - width: 7px; - right: -5px; - top: 0; - height: 100%; -} -.ui-resizable-w { - cursor: w-resize; - width: 7px; - left: -5px; - top: 0; - height: 100%; -} -.ui-resizable-se { - cursor: se-resize; - width: 12px; - height: 12px; - right: 1px; - bottom: 1px; -} -.ui-resizable-sw { - cursor: sw-resize; - width: 9px; - height: 9px; - left: -5px; - bottom: -5px; -} -.ui-resizable-nw { - cursor: nw-resize; - width: 9px; - height: 9px; - left: -5px; - top: -5px; -} -.ui-resizable-ne { - cursor: ne-resize; - width: 9px; - height: 9px; - right: -5px; - top: -5px; -} -/*ctab*/ -.ctab_div { - margin: 0px; - padding: 0px; - font-size: 14px; - display: block; -} -.ctab_div .ctab_wrap { - height: 32px; - position: relative; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; - background-color: #efefef; - border-bottom: 1px solid #CCCCCC; -} -.ctab_div .ctab_head { - overflow: hidden; - margin: 0; - margin-right: 3px; - padding: 0; - position: relative; -} -.ctab_div .ctab_wrap_with_icon ul.ctab_head { - margin-right: 29px; -} -.ctab_div .ctab_tab { - height: 30px; - float: left; - margin: 2px 0px 0px 5px; - list-style: none; - position: relative; - display: inline-block; - background-color: #eaeaea; -} -.ctab_div .ctab_selected { - background-color: #ffffff; - border-top: 4px solid #199fff; - height: 29px; - line-height: 29px; - margin-top: 0; -} -.ctab_div .ctab_tab_inner { - border-left: 1px solid #CCCCCC; - border-right: 1px solid #CCCCCC; - border-top: 1px solid #CCCCCC; - padding: 0px 20px; - height: 100%; -} -.ctab_div .ctab_selected .ctab_tab_inner { - border-top: none; -} -.ctab_div .ctab_refresh_icon, -.ctab_div .ctab_tab .ctab_close_icon, -.ctab_div .ctab_close_other_icon { - position: absolute; - top: 0px; - cursor: pointer; - height: 16px; - width: 16px; -} -.ctab_div .ctab_tab .ctab_refresh_icon { - left: 3px; - top: 7px; - display: none; - background-position: -111px -17px; -} -.ctab_div .ctab_tab .ctab_close_icon { - right: 2px; - top: 9px; - background-position: -114px -1px; - opacity: 0.7; - filter: alpha(opacity=70); -} -.ctab_div .ctab_tab .ctab_close_icon:hover { - opacity: 1; - filter: alpha(opacity=100); -} -.ctab_div .ctab_selected .ctab_close_icon { - top: 7px; -} -.ctab_div .ctab_title { - margin: 0; - text-align: center; - display: block; - overflow: hidden; - text-overflow: ellipsis; - white-space: nowrap; - line-height: 30px; - cursor: default; - color: #000; - text-decoration: none; -} -.ctab_div .ctab_selected .ctab_title { - line-height: 27px; -} -.ctab_div .ctab_selected .ctab_refresh_icon { - display: block; -} -.ctab_div .ctab_close_other_icon { - right: 0px; - top: 0px; - width: 32px; - height: 100%; - background-color: #eaeaea; -} -.ctab_div .ctab_close_other_icon span.ctab_icon_span { - display: block; - width: 16px; - height: 16px; - margin: 6px auto; - background-position: -111px 3px; -} -.ctab_div .ctab_body { - margin: 0px; - overflow: hidden; - border: 1px solid #CCCCCC; - border-top: none; -} -.ctab_div .ctab_body .ctab_panel { - overflow: auto; -} -/*message*/ -.message_div { - z-index: 1000; - overflow: hidden; - padding-bottom: 10px; - text-align: center; - margin: 0; - padding: 6px 28px 6px 35px; - opacity: 0; - filter: alpha(opacity=0); - border: solid 1px; - -moz-border-radius: 3px; - -webkit-border-radius: 3px; - border-radius: 3px; -} -.message_div.message_no_left_icon { - padding-left: 10px; -} -.message_div.message_no_right_icon { - padding-right: 10px; -} -.message_div .message_icon { - position: absolute; - top: 7px; - left: 6px; - width: 16px; - height: 16px; - background-repeat: no-repeat; - margin: 0; -} -.message_div .message_close { - position: absolute; - top: 7px; - right: 5px; - width: 15px; - height: 15px; - font-size: 18px; - margin: 0; - padding: 0; - font-weight: bold; - color: #ffffff; - cursor: pointer; -} -.message_div .message_close:hover { - color: inherit; -} -.message_div.message_normal { - background: #eef8ff; - border-color: #258cd6; - color: #258cd6; - -moz-box-shadow: 0px 0px 1px #258cd6; - -webkit-box-shadow: 0px 0px 1px #258cd6; - box-shadow: 0px 0px 1px #258cd6; -} -.message_div.message_success { - background: #dff0d8; - border-color: #558e26; - color: #558e26; - -moz-box-shadow: 0px 0px 1px #558e26; - -webkit-box-shadow: 0px 0px 1px #558e26; - box-shadow: 0px 0px 1px #558e26; -} -.message_div.message_warn { - background: #fcf8e3; - border-color: #d79b0d; - color: #d79b0d; - -moz-box-shadow: 0px 0px 1px #d79b0d; - -webkit-box-shadow: 0px 0px 1px #d79b0d; - box-shadow: 0px 0px 1px #d79b0d; -} -.message_div.message_error { - background: #f2dede; - border-color: #d33330; - color: #d33330; - -moz-box-shadow: 0px 0px 1px #d33330; - -webkit-box-shadow: 0px 0px 1px #d33330; - box-shadow: 0px 0px 1px #d33330; -} -.message_div.message_normal .message_icon { - background-position: 1px -16px; -} -.message_div.message_normal .message_close { - background-position: -1px -32px; -} -.message_div.message_success .message_icon { - background-position: -15px -16px; -} -.message_div.message_success .message_close { - background-position: -17px -32px; -} -.message_div.message_warn .message_icon { - background-position: -31px -16px; -} -.message_div.message_warn .message_close { - background-position: -33px -32px; -} -.message_div.message_error .message_icon { - background-position: -48px -16px; -} -.message_div.message_error .message_close { - background-position: -49px -32px; -} -/*slide*/ -.slide_div { - position: relative; - overflow: hidden; -} -.slide_div .slide_content { - overflow: hidden; -} -.slide_div.slide_x .slide_item { - float: left; - position: relative; - display: block; -} -.slide_div .slide_arrow { - display: none; - position: absolute; - top: 0px; - left: 0px; - z-index: 1000; - background: #000000; - opacity: 0.8; - cursor: pointer; - filter: alpha(opacity=80); - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; -} -.slide_div.slide_x .slide_arrow { - padding: 10px 5px; -} -.slide_div.slide_y .slide_arrow { - padding: 5px 10px; -} -.slide_div.slide_x .slide_arrow_icon { - width: 13px; - height: 24px; -} -.slide_div.slide_y .slide_arrow_icon { - width: 24px; - height: 13px; -} -.slide_div.slide_x .slide_arrow_prev .slide_arrow_icon { - background-position: -147px 0px; -} -.slide_div.slide_x .slide_arrow_next .slide_arrow_icon { - background-position: -129px 0px; -} -.slide_div.slide_y .slide_arrow_prev .slide_arrow_icon { - background-position: -260px -33px; -} -.slide_div.slide_y .slide_arrow_next .slide_arrow_icon { - background-position: -292px -33px; -} -.slide_div .slide_nav { - position: absolute; - z-index: 1000; -} -.slide_div.slide_x .slide_anchor_box { - padding: 10px 0px; -} -.slide_div.slide_y .slide_anchor_box { - padding: 0px 10px; -} -.slide_div.slide_x .slide_anchor_box .slide_anchor { - float: left; - margin: 0px 3px; -} -.slide_div.slide_y .slide_anchor_box .slide_anchor { - margin: 3px 0px; -} -.slide_div .slide_anchor_box .slide_anchor { - width: 10px; - height: 10px; - cursor: pointer; - background: #FFF; - border-radius: 5px; - opacity: 0.5; - filter: alpha(opacity=50); -} -.slide_div .slide_anchor_box .slide_anchor_active { - opacity: 1; - filter: alpha(opacity=100); -} -/*tab*/ -.tab_div, -.tab_div .tab_wap, -.tab_div .tab_head, -.tab_div .tab_tab { - margin: 0px; - padding: 0px; -} -.tab_div { - margin: 0px; - padding: 0px; - font-size: 13px; - overflow: hidden; -} -.tab_div .tab_head { - display: block; -} -.tab_div.tab_div_x .tab_head { - height: 35px; - border-bottom: 1px solid #CCCCCC; -} -.tab_div.tab_div_y .tab_head { - width: 150px; - float: left; - border-right: 1px solid #CCCCCC; -} -.tab_div .tab_tab { - list-style: none; - text-align: center; - font-size: 14px; - color: #000000; - padding: 0px 1em; - cursor: default; - height: 36px; - line-height: 35px; - border: 1px solid #CCC; - cursor: pointer; -} -.tab_div.tab_div_x .tab_tab { - display: inline-block; - float: left; - height: 35px; - border-bottom: 0; - margin-right: 5px; -} -.tab_div.tab_div_y .tab_tab { - display: block; - border-left: 1px solid #CCC; - border-right: 1px solid #CCC; - border-top: 1px solid #CCC; - width: 150px; - padding: 0; - border-right: 0; - margin-bottom: 5px; -} -.tab_div.tab_div_x .tab_panel { - border: 1px solid #CCC; - border-top: 0; -} -.tab_div.tab_div_y .tab_panel { - margin-left: 151px; - border: 1px solid #CCC; - border-left: 0; -} -.tab_div .tab_selected { - color: #ffffff; - background-color: #199fff; -} -.tab_div.tab_div_x .tab_selected { - border: 1px solid #199fff; - border-bottom: 0; - height: 35px; -} -.tab_div.tab_div_y .tab_selected { - border: 1px solid #199fff; - border-right: 0; - width: 150px; -} -.completeBox { - position: absolute; - z-index: 999; - background: #fff; - border: solid 1px #e0e0e2; - box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.1); - color: #1f1f1f; - font-family: 'Microsoft Yahei'; - font-size: 14px; -} -.completeBox table { - min-width: 220px; - border-collapse: collapse; -} -.completeBox tr { - cursor: pointer; -} -.completeBox tr:hover, -.completeBox .active { - background: #d9efff; -} -.completeBox td { - padding: 3px 2px 3px 5px; -} -.completeBox .avatar { - width: 30px; - height: 30px; - border-radius: 30px; - overflow: hidden; - display: block; - border: solid 1px #e0e0e2; -} -.completeBox .avatar img { - width: 30px; - height: 30px; -} -.completeBox .colum0 { - width: 30px; -} -.completeBox table strong { - color: #0da1bf; -} -.completeBox .type50, -.completeBox .type60, -.completeBox .type70 { - display: block; - width: 30px; - height: 20px; - line-height: 20px; - color: #fff; - text-align: center; - font-size: 12px; -} -.completeBox .type50 { - background: #df8226; -} -.completeBox .type60 { - background: #61629b; -} -.completeBox .type70 { - background: #1cb9dc; -} -/*resizable*/ -.ui-resizable-handle { - position: absolute; - font-size: 0.1px; - display: block; -} -.ui-resizable-disabled .ui-resizable-handle, -.ui-resizable-autohide .ui-resizable-handle { - display: none; -} -.ui-resizable-n { - cursor: n-resize; - height: 7px; - width: 100%; - top: -5px; - left: 0; -} -.ui-resizable-s { - cursor: s-resize; - height: 7px; - width: 100%; - bottom: -5px; - left: 0; -} -.ui-resizable-e { - cursor: e-resize; - width: 7px; - right: -5px; - top: 0; - height: 100%; -} -.ui-resizable-w { - cursor: w-resize; - width: 7px; - left: -5px; - top: 0; - height: 100%; -} -.ui-resizable-se { - cursor: se-resize; - width: 12px; - height: 12px; - right: 1px; - bottom: 1px; -} -.ui-resizable-sw { - cursor: sw-resize; - width: 9px; - height: 9px; - left: -5px; - bottom: -5px; -} -.ui-resizable-nw { - cursor: nw-resize; - width: 9px; - height: 9px; - left: -5px; - top: -5px; -} -.ui-resizable-ne { - cursor: ne-resize; - width: 9px; - height: 9px; - right: -5px; - top: -5px; -} -/*uploader*/ -.uploader_table { - background: #FFF; - border: 1px solid #c8c8c8; - border-bottom: 0; - border-spacing: 0; - width: 100%; - text-align: left; - font-size: 14px; -} -.uploader_table .uploader_thead .uploader_th { - background: #e8e8e8; - border-bottom: 1px solid #c8c8c8; -} -.uploader_table .uploader_progressbar_wrap .uploader_td { - position: relative; - border-bottom: 1px solid #c8c8c8; -} -.uploader_table .uploader_thead .uploader_th, -.uploader_table .uploader_wrap .uploader_td { - white-space: nowrap; - font-weight: normal; - padding: 5px 8px; -} -.uploader_table .uploader_processbar { - height: 2px; - width: 0%; - background: #53AD53; - position: absolute; - bottom: -1px; -} -.uploader_table .uploader_center { - text-align: center; -} -.uploader_table a.uploader_del_btn { - display: inline-block; - width: 16px; - height: 18px; - background-position: -98px -13px; -} +.cloudjs_icon{background-image:url(../../images/icons_new.png)}.cloudjs_btn{-moz-border-radius:3px;-webkit-border-radius:3px;border-radius:3px;padding:3px 7px;display:inline-block;font-family:Microsoft Yahei;font-size:12px;white-space:nowrap;cursor:pointer;zoom:1;*width:40px;*height:24px;*line-height:1;border:1px solid #258cd6;color:#fff;background-color:#199fff}a.cloudjs_btn{text-decoration:none}.cloudjs_btn_white{-moz-border-radius:3px;-webkit-border-radius:3px;border-radius:3px;padding:3px 7px;display:inline-block;font-family:Microsoft Yahei;font-size:12px;white-space:nowrap;cursor:pointer;zoom:1;*width:40px;*height:24px;*line-height:1;border:1px solid #999;color:#000;background-color:#fff}.cloudjs_btn:hover,.cloudjs_icon:hover{opacity:.8;filter:alpha(opacity=80)}.cloudjs_btn_white:hover{border-color:#666}.cloudjs_btn_white:disabled,.cloudjs_btn_white_disable{color:#aaa;border-color:#cfcfcf;cursor:default}.cloudjs_btn:disabled,.cloudjs_btn_disable,.cloudjs_btn_disable:hover{color:#aaa;border-color:#cfcfcf;cursor:default;background:#fff}.border,.cloudjs_input{border:1px solid #c6c6c6;box-shadow:inset 1px 2px 1px #f0f0f0}.cloudjs_input{height:25px;line-height:25px;padding:0;text-indent:5px;outline:none}.cloudjs_input:focus{border:1px solid #aaa}.tabFix{table-layout:fixed}.tabFix td{word-wrap:break-word;word-break:break-all}.fl{float:left}.fr{float:right}.blank0,.blank10,.blank20{width:100%;clear:both;font-size:0}.blank0{height:0}.blank10{height:10px}.blank20{height:20px}.paging_table .sort{cursor:pointer}.paging_table .js_up{background:#f0f1f6 url(http://3gimg.qq.com/mig_op/cloudJs/images/arrow_up.png) no-repeat 100%}.paging_table .js_down{background:#f0f1f6 url(http://3gimg.qq.com/mig_op/cloudJs/images/arrow_down.png) no-repeat 100%}.condition_table{width:100%;border-collapse:collapse;word-wrap:break-word;background:#fff}.condition_table caption,.paging_table caption{font:700 14px/20px microsoft yahei;padding:10px 15px;text-align:left;background:#dbdfeb;border:1px solid #c8c8c8;border-bottom:0}.condition_table td{line-height:20px;padding:5px 9px;border:1px solid #c8c8c8}.condition_table td.tit{background:#eee;text-align:right}.calendar_warpper{width:260px;z-index:9998;position:absolute;font-family:microsoft yahei}.calendar_panel{width:100%;background-color:#fff;border:1px solid #ccc;position:relative;top:0;z-index:2;box-shadow:0 5px 15px -5px rgba(0,0,0,.5);overflow:hidden;zoom:1}.calendar_form{text-align:center;float:left}.calendar_title{background-color:#fff;text-align:center;font-size:13px;height:30px;line-height:30px}.calendar_panel .calendar_week,.calendar_title{padding:0;margin:0}.calendar_panel span{display:inline-block;vertical-align:middle;text-decoration:none;line-height:30px;width:14.27%;height:30px}.calendar_form span{cursor:default;color:#555;font-size:12px}.calendar_title .curr_mon,.calendar_title .curr_year{font:normal 700 14px/1 microsoft yahei}.calendar_panel .calendar_next_mon,.calendar_panel .calendar_pre_mon{width:30px;height:16px;position:absolute;cursor:pointer;opacity:.6;filter:alpha(opacity=60);text-align:center;zoom:1;display:block;padding:7px 0;line-height:1;top:0}.calendar_panel i.cloudjs_icon{width:16px;height:16px;display:inline-block;vertical-align:middle}.calendar_panel .calendar_next_mon:hover,.calendar_panel .calendar_pre_mon:hover{opacity:1;filter:alpha(opacity=100)}.calendar_panel .calendar_pre_mon{left:0}.calendar_panel .calendar_pre_mon .cloudjs_icon{background-position:0 0}.calendar_panel .calendar_next_mon{right:10px}.calendar_panel .calendar_next_mon .cloudjs_icon{background-position:-16px 0}.calendar_panel .calendar_days{padding:0 5px;overflow:hidden;padding-bottom:5px}.calendar_panel .calendar_days .calendar_day{background-color:#eee;float:left;width:14.2857%;height:23px;text-decoration:none;color:#666;font-size:12px;line-height:23px;cursor:default}.calendar_panel .calendar_days .calendar_disabled,.calendar_panel .calendar_months .calendar_disabled{background-color:#fff;color:#aaa}.calendar_panel .calendar_days .calendar_today,.calendar_panel .currMonth{color:#199fff;font-weight:700}.calendar_panel .calendar_days .calendar_range{background-color:#d9efff}.calendar_months .calendar_current,.calendar_panel .calendar_days .calendar_current,.calendar_panel .calendar_days .calendar_day:hover,.calendar_panel .calendar_months .calendar_mon:hover{background-color:#199fff;color:#fff;border-radius:3px;font-weight:400}.calendar_panel .calendar_days .calendar_disabled:hover,.calendar_panel .calendar_months .calendar_disabled:hover{background-color:#fff;color:#aaa}.calendar_panel .calendar_months{padding:0 5px;padding-bottom:5px;overflow:hidden}.calendar_mon{background-color:#eee;float:left;width:25%;height:40px;text-decoration:none;color:#666;font-size:12px;line-height:40px;cursor:default}.calendar_panel .calendar_months .calendar_range{background-color:#d9efff}.calendar_panel .calendar_time_box{background:#f3f3f3;padding:5px 3px 5px 5px;overflow:hidden;clear:both;border-top:1px solid #dedede;font-size:14px;white-space:nowrap}.calendar_panel .calendar_time_box .date_input,.calendar_panel .calendar_time_box .multi_input{width:40px;height:20px;margin-right:2px;box-shadow:inset 0 2px 1px #f0f0f0;border:1px solid #ccc;line-height:20px}.calendar_panel .calendar_time_box .multi_input{width:80px}.calendar_panel .calendar_time_box .cloudjs_btn_white{float:right;margin-right:10px;width:40px}.calendar_panel .calendar_time_box .cloudjs_btn{float:right;width:40px}.calendar_panel .calendar_time_box b{font-weight:400;font-size:12px;line-height:18px;padding-right:5px}.calendar_inputs_wrap{display:inline-block;position:relative;vertical-align:middle}.calendar_icon{position:absolute;right:5px;top:6px;width:16px;height:16px;background-position:-32px 0}.combo_container{display:inline-block;position:relative;border:1px solid #c6c6c6;box-shadow:inset 1px 2px 1px #f0f0f0}.combo_container .combo_text{border:0;outline:0;height:25px;line-height:25px;padding:0 5px;box-shadow:inset 1px 2px 1px #f0f0f0}.combo_container .combo_arrow{display:inline-block;width:16px;text-align:center;background-image:none}.combo_container .combo_arrow span{display:inline-block;width:0;height:0;margin-top:3px;border:5px solid #878787;background:none;border-color:#878787 transparent transparent;vertical-align:middle}.combo_container .combo_panel{display:none;position:absolute;border:1px solid #c6c6c6;background:#fff;overflow:auto}.combo_container .combo_panel .combo_item{cursor:default;padding:0 5px;line-height:25px}.combo_container .combo_item input[type=checkbox]{margin-right:3px}.combo_container .combo_head{padding:5px 3px;background:#fff;border-bottom:1px solid #c3c3c3}.combo_container .combo_close_btn{background-repeat:no-repeat;cursor:pointer;display:block;height:20px;width:20px;float:right;background-position:-110px 2px}.combo_container .combo_panel .combo_item_selected{background-color:#199fff;color:#fff}.combo_container .combo_panel .combo_item_hover{background:#d9efff;color:#000}.combo_container .combo_panel .combo_item_disabled,.combo_disabled{color:#aaa;background-color:#eee;border-color:#ccc;cursor:not-allowed;box-shadow:0 0 0 #ddd}.combo_disabled .combo_text{cursor:not-allowed;background:#fff;color:#999}.combo_disabled .combo_arrow span{border-top-color:#ccc}div.dialog_div{word-wrap:break-word;word-break:break-all;opacity:1;filter:alpha(opacity=100);min-height:106px;position:absolute;border:1px solid #c6c6c6;background-color:#fff;-moz-box-shadow:0 0 10px #c6c6c6;-webkit-box-shadow:0 0 10px #c6c6c6;box-shadow:0 0 10px #c6c6c6;-moz-border-radius:3px;-webkit-border-radius:3px;border-radius:3px}.dialog_div .dialog_div_head{border-bottom:1px solid #efefef;height:32px;background-color:#f9f9f9}.dialog_div .dialog_div_head .dialog_div_head_title{color:#000;font-weight:400;display:block;float:left;height:32px;line-height:32px;width:70%;margin-left:10px;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;zoom:1;max-width:85%}.dialog_div .dialog_div_head .dialog_div_head_btn{margin-top:10px;background-repeat:no-repeat;cursor:pointer;display:block;height:12px;line-height:12px;width:12px;text-align:right;float:right}.dialog_div .dialog_div_head .dialog_div_head_fullscreen_btn{margin-right:10px;background-position:-98px -2px;display:none}.dialog_div .dialog_div_head .dialog_div_head_fullscreen_btn:hover{background-position:-98px -2px}.dialog_div .dialog_div_head .dialog_div_head_close_btn{margin-right:9px;background-position:-115px -2px}.dialog_div .dialog_div_head .dialog_div_head_close_btn:hover{background-position:-115px -2px}.dialog_div .dialog_div_head .dialog_div_head_backscreen_btn{margin-right:10px;background-position:-82px -2px;display:none}.dialog_div .dialog_div_head .dialog_div_head_backscreen_btn:hover{background-position:-82px -2px}.dialog_div .dialog_div_head .dialog_div_head_btn:hover{opacity:.6;filter:alpha(opacity=60)}.dialog_div .dialog_div_body{background-color:#fff;padding-top:8px;padding-left:10px;padding-right:10px;padding-bottom:8px;line-height:1.5em;overflow:auto;min-height:22px;*min-height:22px}.dialog_div .dialog_div_foot{background-color:#fff;border-top:1px solid #efefef;text-align:right;position:relative;padding-bottom:4px;padding-left:10px;min-height:26px;*min-height:26px}.dialog_div .dialog_div_foot .dialog_div_foot_button{margin-top:4px;margin-right:10px}.dialog_div_layer{width:100%;height:100%;position:fixed;background-color:#ddd;opacity:.6;filter:alpha(opacity=60);top:0;left:0}.dialog_div .dialog_div_body .dialog_div_body_textarea{font-family:microsoft yahei;*margin-left:-8px!important;*padding:0!important;background-color:#fff;overflow:auto;padding:2px 2px;margin:0;outline:none;border:1px solid #dcdcdc;resize:none;word-break:break-all;height:60px}.dialog_div .dialog_div_body .dialog_div_body_textarea_empty{border:1px solid red}.dialog_div .dialog_div_body .dialog_div_body_empty{color:red}.dialog_div .dialog_arrow,.dialog_div .dialog_arrow i{position:absolute;width:0;height:0;font-size:0;border-top-color:transparent;border-bottom-color:transparent;border-right-color:transparent;border-left-color:transparent;border-style:solid}.dialog_div .dialog_arrow{border-width:8px}.dialog_div .dialog_arrow i{border-width:6px}.dialog_div .dialog_arrow_up{bottom:-16px;left:50%;margin-left:-8px;border-top-color:#c6c6c6}.dialog_div .dialog_arrow_down{top:-16px;left:50%;margin-left:-8px;border-bottom-color:#c6c6c6}.dialog_div .dialog_arrow_left{top:50%;right:-16px;margin-top:-8px;border-left-color:#c6c6c6}.dialog_div .dialog_arrow_right{top:50%;left:-16px;margin-top:-8px;border-right-color:#c6c6c6}.dialog_div .dialog_arrow_up_left{bottom:-16px;right:7px;border-top-color:#c6c6c6}.dialog_div .dialog_arrow_up_right{bottom:-16px;left:9px;border-top-color:#c6c6c6}.dialog_div .dialog_arrow_down_left{top:-16px;right:7px;border-bottom-color:#c6c6c6}.dialog_div .dialog_arrow_down_right{top:-16px;left:9px;border-bottom-color:#c6c6c6}.dialog_div .dialog_arrow_up i,.dialog_div .dialog_arrow_up_left i,.dialog_div .dialog_arrow_up_right i{top:-8px;left:-6px;border-top-color:#fff}.dialog_div .dialog_arrow_down i,.dialog_div .dialog_arrow_down_left i,.dialog_div .dialog_arrow_down_right i{top:-4px;left:-6px;border-bottom-color:#f9f9f9}.dialog_div .dialog_arrow_right i{top:-6px;left:-4px;border-right-color:#fff}.dialog_div .dialog_arrow_left i{top:-6px;left:-8px;border-left-color:#fff}.mask_modal{height:100%;width:100%;position:fixed;top:0;left:0;z-index:10000;background:#000;opacity:.5;filter:alpha(opacity=50)}.mask_con{position:fixed;top:50%;z-index:11000;left:50%;margin-top:-54px;margin-left:-47px;text-align:center;display:inline-block}.menu_data_ul .cloudjs_icon,.menu_fixed_div .cloudjs_icon,.menu_simple_div .cloudjs_icon{width:14px;height:14px;margin:6px 6px 0 0;float:right;background-position:-65px 0}.menu_fixed_div .hover .cloudjs_icon{background-position:-9999px}.menu_simple_div .hover .cloudjs_icon{background-position:-50px 0}.menu_tree_ul{width:200px;background:#eaeaea;list-style:none;padding:10px 0}.menu_tree_ul li{line-height:30px}.menu_tree_ul a{display:block;color:#000;padding-left:1em;border-left:2px solid #eaeaea}.menu_tree_ul ul a{padding-left:3em}.menu_tree_ul ul ul a{padding-left:4em}.menu_tree_ul a.selected,.menu_tree_ul a:hover{background:#fff;color:#000;border-left:2px solid #199fff}.menu_tree_ul ul{padding:0;display:none}.menu_tree_ul li.hover ul{display:block}.menu_data_ul{padding:0;background:#eaeaea;list-style:none;border:1px solid #c6c6c6;box-shadow:inset 1px 2px 1px #f0f0f0}.menu_data_ul a{cursor:pointer;color:#000}.menu_data_ul li.hover{background:#fff}.menu_data_ul li{position:relative;height:30px;line-height:30px;padding-left:10px}.menu_data_ul ul{padding:0;position:absolute;width:150px;list-style:none;border:1px solid #c6c6c6;box-shadow:inset 1px 2px 1px #f0f0f0;background:#fff}.menu_data_ul ul li{height:29px;line-height:29px;border-bottom:1px solid #e0e0e0}.menu_data_ul ul li.hover{background:#eee}.menu_data_ul ul a{float:left}.menu_data_horizontal_ul{height:40px}.menu_data_horizontal_ul .li_level0{float:left;display:inline;border-right:1px solid #c6c6c6;padding:5px 30px}.menu_data_vertical_ul{width:100px}.menu_data_vertical_ul .li_level0{height:29px;border-bottom:1px solid #e0e0e0}.menu_fixed_div{width:180px;position:relative;height:260px}.menu_fixed_title{width:179px;padding:1px 0 1px 1px;position:absolute;top:0;left:0;font-size:14px;background:#eaeaea;margin:0;z-index:11;list-style:none}.menu_fixed_title li{padding-left:10px;height:30px;line-height:30px}.menu_fixed_title li.hover{background:#fff}.menu_fixed_title li.hover a{color:#000}.menu_fixed_title li a{float:left;color:#000}.menu_fixed_title li span{float:right;font-size:10px}.menu_fixed_hide{display:none;position:absolute;border:1px solid #eaeaea;z-index:10;background:#fff}.menu_simple_div{float:left;width:100px;position:relative}.menu_simple_title{display:block;background:#eaeaea;color:#000;height:30px;line-height:30px}.menu_simple_hide{display:none;background:#fff;position:absolute;border:1px solid #c6c6c6;border-top:0}.paging_div{height:30px;clear:both}.paging_div ul{padding:0;margin:0;float:left}.paging_div li{display:inline;float:left}.paging_div li.ellipsis{margin:0 10px 0 5px}.paging_div li a{float:left;position:relative;line-height:20px;margin-right:5px;min-width:12px;text-align:center;padding:3px 7px;display:inline-block;font-family:Microsoft Yahei;font-size:12px;white-space:nowrap;cursor:pointer;zoom:1;*width:40px;*height:24px;*line-height:1;border:1px solid #999;color:#000;background-color:#fff}.paging_div li a:focus,.paging_div li a:hover{border:1px solid #258cd6;color:#fff;background-color:#199fff}.paging_div .ellipsis{line-height:28px}.paging_div .paging_active a,.paging_div .paging_active a:focus,.paging_div .paging_active a:hover{border:1px solid #258cd6;color:#fff;background-color:#199fff;cursor:default}.paging_div .paging_disabled a,.paging_div .paging_disabled a:focus,.paging_div .paging_disabled a:hover{color:#aaa;background-color:#eee;border-color:#ccc;cursor:not-allowed;box-shadow:0 0 0 #ddd}.paging_div .paging_disabled i{opacity:.3;filter:alpha(opacity=30)}.paging_div .paging_icons{position:relative;height:20px}.paging_div .paging_icons i{position:absolute;height:16px;width:14px;top:5px;left:6px}.paging_div .prev .cloudjs_icon{background-position:0 0}.paging_div .next .cloudjs_icon{background-position:-17px 0}.paging_div .first .cloudjs_icon{background-position:0 0}.paging_div .last .cloudjs_icon{background-position:-17px 0}.paging_div .paging_div_right{float:left}.paging_div input[type=text]{width:40px;text-align:center;text-indent:0}.paging_mask{height:100%;width:100%;position:fixed;top:0;left:0;z-index:10000;background:#000;opacity:.5;filter:alpha(opacity=50)}.paging_loading{position:fixed;z-index:990001;top:50%;left:50%;margin-top:-54px;margin-left:-47px}.paging_table{width:100%;border-collapse:collapse;word-wrap:break-word;white-space:normal;word-break:break-all;background:#fff}.paging_table th{background:#f0f1f6;text-align:left}.paging_table th.sort_number,.paging_table th.sort_string{cursor:pointer}.paging_table td,.paging_table th{padding:7px 15px;border:1px solid #c8c8c8;vertical-align:top;font:normal 14px/20px microsoft yahei}.paging_table .center{text-align:center}.paging_table .integer,.paging_table .percent,.paging_table .right{text-align:right}.paging_table tbody .cursor,.paging_table tbody a{cursor:pointer;color:#199fff}.paging_table tbody .cursor:hover,.paging_table tbody a:hover{opacity:.8;filter:alpha(opacity=80)}.paging_table tbody tr:nth-child(2n) td{background:#f0f1f6}.paging_table tbody tr:hover td{background:#d9d9ef}.paging_table .paging_div{float:right}.paging_table .th_div{position:relative}.paging_table .sort_icon{position:absolute;right:-12px;top:0;width:12px}.paging_table .sort_icon i{float:left;width:12px;height:10px;cursor:pointer}.paging_table .sort_icon .down{background-position:-49px -4px}.paging_table .sort_icon .up{background-position:-66px -34px}.paging_table .sort_icon .thissort{opacity:.3;filter:alpha(opacity=30);cursor:default}.cloudjs_tips,.paging_table th .htips{padding-right:20px;background-image:url(../../images/icons_new.png);background-position:100% 100%}.tips_div{position:absolute;border:1px solid #258cd6;-moz-box-shadow:0 0 6px #258cd6;-webkit-box-shadow:0 0 6px #258cd6;box-shadow:0 0 6px #258cd6;background:#fff;color:#000}.tips_div,.tips_div .tips_content{-moz-border-radius:3px;-webkit-border-radius:3px;border-radius:3px;zoom:1;display:inline-block;*display:inline}.tips_div .tips_content{overflow:auto;word-wrap:break-word;padding:4px 8px}.tips_div .tips_arrow,.tips_div .tips_arrow i{position:absolute;width:0;height:0;font-size:0;border-width:8px;border-top-color:transparent;border-bottom-color:transparent;border-right-color:transparent;border-left-color:transparent;border-style:solid}.tips_div .tips_arrow i{border-width:8px}.tips_div .tips_arrow_up{bottom:-16px;left:50%;margin-left:-8px;border-top-color:#258cd6}.tips_div .tips_arrow_down{top:-16px;left:50%;margin-left:-8px;border-bottom-color:#258cd6}.tips_div .tips_arrow_left{top:50%;right:-16px;margin-top:-8px;border-left-color:#258cd6}.tips_div .tips_arrow_right{top:50%;left:-16px;margin-top:-8px;border-right-color:#258cd6}.tips_div .tips_arrow_down_left{top:-16px;right:8px;border-bottom-color:#258cd6}.tips_div .tips_arrow_down_right{top:-16px;left:8px;border-bottom-color:#258cd6}.tips_div .tips_arrow_up_left{bottom:-16px;right:8px;border-top-color:#258cd6}.tips_div .tips_arrow_up_right{bottom:-16px;left:8px;border-top-color:#258cd6}.tips_div .tips_arrow_up i,.tips_div .tips_arrow_up_left i,.tips_div .tips_arrow_up_right i{top:-10px;left:-8px;border-top-color:#fff}.tips_div .tips_arrow_down i,.tips_div .tips_arrow_down_left i,.tips_div .tips_arrow_down_right i{top:-6px;left:-8px;border-bottom-color:#fff}.tips_div .tips_arrow_right i{top:-8px;left:-6px;border-right-color:#fff}.tips_div .tips_arrow_left i{top:-8px;left:-10px;border-left-color:#fff}.validate_div{position:absolute;border:1px solid #d33330;background:#f2dede;-moz-border-radius:3px;-webkit-border-radius:3px;border-radius:3px;-moz-box-shadow:1px 1px 2px #aaa;-webkit-box-shadow:1px 1px 2px #aaa;box-shadow:1px 1px 2px #aaa;color:#a94442}.validate_div,.validate_div .validate_content{zoom:1;display:inline-block;*display:inline}.validate_div .validate_content{word-wrap:break-word;max-width:300px;*max-width:300px;font-size:13px;padding:4px 8px}.validate_div .validate_arrow,.validate_div .validate_arrow i{position:absolute;width:0;height:0;font-size:0;border-top-color:transparent;border-bottom-color:transparent;border-right-color:transparent;border-left-color:transparent;border-style:solid}.validate_div .validate_arrow{border-width:7px}.validate_div .validate_arrow i{border-width:6px}.validate_div .validate_arrow_down{top:-14px;left:50%;margin-left:-8px;border-bottom-color:#b2211f}.validate_div .validate_arrow_up{bottom:-14px;left:50%;margin-left:-8px;border-top-color:#b2211f}.validate_div .validate_arrow_right{top:50%;left:-14px;margin-top:-8px;border-right-color:#b2211f}.validate_div .validate_arrow_left{top:50%;right:-14px;margin-top:-8px;border-left-color:#b2211f}.validate_div .validate_arrow_down i{top:-5px;left:-6px;border-bottom-color:#f2dede}.validate_div .validate_arrow_up i{top:-7px;left:-6px;border-top-color:#f2dede}.validate_div .validate_arrow_right i{top:-6px;left:-5px;border-right-color:#f2dede}.validate_div .validate_arrow_left i{top:-6px;left:-7px;border-left-color:#f2dede}.validate_div .validate_content .validate_icon,.validate_span .validate_icon{display:inline-block;*display:inline;height:20px;width:20px;background-image:url(../../images/icons_new.png);background-position:-48px -14px;background-repeat:no-repeat;vertical-align:-4px}.validate_span{color:#a94442;font-size:13px;margin-left:10px}.progressbar_div{background-color:#f0f0f0;border:0;position:relative;text-align:center;margin-top:4px}.progressbar_div .progressbar_progress{height:100%;width:0;position:absolute;background-color:#199fff}.progressbar_div .progressbar_value{position:absolute;z-index:1;left:0;right:0;margin-left:auto;margin-right:auto;font-weight:400;top:0;bottom:0;margin-top:auto;margin-bottom:auto;height:20px}.ctab_div{margin:0;padding:0;font-size:14px;display:block}.ctab_div .ctab_wrap{height:32px;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;background-color:#efefef;border-bottom:1px solid #ccc}.ctab_div .ctab_head{overflow:hidden;margin:0;margin-right:3px;padding:0;position:relative}.ctab_div .ctab_wrap_with_icon ul.ctab_head{margin-right:29px}.ctab_div .ctab_tab{height:30px;float:left;margin:2px 0 0 5px;list-style:none;position:relative;display:inline-block;background-color:#eaeaea}.ctab_div .ctab_selected{background-color:#fff;border-top:4px solid #199fff;height:29px;line-height:29px;margin-top:0}.ctab_div .ctab_tab_inner{border-left:1px solid #ccc;border-right:1px solid #ccc;border-top:1px solid #ccc;padding:0 20px;height:100%}.ctab_div .ctab_selected .ctab_tab_inner{border-top:none}.ctab_div .ctab_close_other_icon,.ctab_div .ctab_refresh_icon,.ctab_div .ctab_tab .ctab_close_icon{position:absolute;top:0;cursor:pointer;height:16px;width:16px}.ctab_div .ctab_tab .ctab_refresh_icon{left:3px;top:7px;display:none;background-position:-111px -17px}.ctab_div .ctab_tab .ctab_close_icon{right:2px;top:9px;background-position:-114px -1px;opacity:.7;filter:alpha(opacity=70)}.ctab_div .ctab_tab .ctab_close_icon:hover{opacity:1;filter:alpha(opacity=100)}.ctab_div .ctab_selected .ctab_close_icon{top:7px}.ctab_div .ctab_title{margin:0;text-align:center;display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;line-height:30px;cursor:default;color:#000;text-decoration:none}.ctab_div .ctab_selected .ctab_title{line-height:27px}.ctab_div .ctab_selected .ctab_refresh_icon{display:block}.ctab_div .ctab_close_other_icon{right:0;top:0;width:32px;height:100%;background-color:#eaeaea}.ctab_div .ctab_close_other_icon span.ctab_icon_span{display:block;width:16px;height:16px;margin:6px auto;background-position:-111px 3px}.ctab_div .ctab_body{margin:0;overflow:hidden;border:1px solid #ccc;border-top:none}.ctab_div .ctab_body .ctab_panel{overflow:auto}.message_div{z-index:1000;overflow:hidden;padding-bottom:10px;text-align:center;margin:0;padding:6px 28px 6px 35px;opacity:0;filter:alpha(opacity=0);border:1px solid;-moz-border-radius:3px;-webkit-border-radius:3px;border-radius:3px}.message_div.message_no_left_icon{padding-left:10px}.message_div.message_no_right_icon{padding-right:10px}.message_div .message_icon{position:absolute;top:7px;left:6px;width:16px;height:16px;background-repeat:no-repeat;margin:0}.message_div .message_close{position:absolute;top:7px;right:5px;width:15px;height:15px;font-size:18px;margin:0;padding:0;font-weight:700;color:#fff;cursor:pointer}.message_div .message_close:hover{color:inherit}.message_div.message_normal{background:#eef8ff;border-color:#258cd6;color:#258cd6;-moz-box-shadow:0 0 1px #258cd6;-webkit-box-shadow:0 0 1px #258cd6;box-shadow:0 0 1px #258cd6}.message_div.message_success{background:#dff0d8;border-color:#558e26;color:#558e26;-moz-box-shadow:0 0 1px #558e26;-webkit-box-shadow:0 0 1px #558e26;box-shadow:0 0 1px #558e26}.message_div.message_warn{background:#fcf8e3;border-color:#d79b0d;color:#d79b0d;-moz-box-shadow:0 0 1px #d79b0d;-webkit-box-shadow:0 0 1px #d79b0d;box-shadow:0 0 1px #d79b0d}.message_div.message_error{background:#f2dede;border-color:#d33330;color:#d33330;-moz-box-shadow:0 0 1px #d33330;-webkit-box-shadow:0 0 1px #d33330;box-shadow:0 0 1px #d33330}.message_div.message_normal .message_icon{background-position:1px -16px}.message_div.message_normal .message_close{background-position:-1px -32px}.message_div.message_success .message_icon{background-position:-15px -16px}.message_div.message_success .message_close{background-position:-17px -32px}.message_div.message_warn .message_icon{background-position:-31px -16px}.message_div.message_warn .message_close{background-position:-33px -32px}.message_div.message_error .message_icon{background-position:-48px -16px}.message_div.message_error .message_close{background-position:-49px -32px}.slide_div{position:relative}.slide_div,.slide_div .slide_content{overflow:hidden}.slide_div.slide_x .slide_item{float:left;position:relative;display:block}.slide_div .slide_arrow{display:none;position:absolute;top:0;left:0;z-index:1000;background:#000;opacity:.8;cursor:pointer;filter:alpha(opacity=80);-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.slide_div.slide_x .slide_arrow{padding:10px 5px}.slide_div.slide_y .slide_arrow{padding:5px 10px}.slide_div.slide_x .slide_arrow_icon{width:13px;height:24px}.slide_div.slide_y .slide_arrow_icon{width:24px;height:13px}.slide_div.slide_x .slide_arrow_prev .slide_arrow_icon{background-position:-147px 0}.slide_div.slide_x .slide_arrow_next .slide_arrow_icon{background-position:-129px 0}.slide_div.slide_y .slide_arrow_prev .slide_arrow_icon{background-position:-260px -33px}.slide_div.slide_y .slide_arrow_next .slide_arrow_icon{background-position:-292px -33px}.slide_div .slide_nav{position:absolute;z-index:1000}.slide_div.slide_x .slide_anchor_box{padding:10px 0}.slide_div.slide_y .slide_anchor_box{padding:0 10px}.slide_div.slide_x .slide_anchor_box .slide_anchor{float:left;margin:0 3px}.slide_div.slide_y .slide_anchor_box .slide_anchor{margin:3px 0}.slide_div .slide_anchor_box .slide_anchor{width:10px;height:10px;cursor:pointer;background:#fff;border-radius:5px;opacity:.5;filter:alpha(opacity=50)}.slide_div .slide_anchor_box .slide_anchor_active{opacity:1;filter:alpha(opacity=100)}.tab_div,.tab_div .tab_head,.tab_div .tab_tab,.tab_div .tab_wap{margin:0;padding:0}.tab_div{font-size:13px;overflow:hidden}.tab_div .tab_head{display:block}.tab_div.tab_div_x .tab_head{height:35px;border-bottom:1px solid #ccc}.tab_div.tab_div_y .tab_head{width:150px;float:left;border-right:1px solid #ccc}.tab_div .tab_tab{list-style:none;text-align:center;font-size:14px;color:#000;padding:0 1em;cursor:default;height:36px;line-height:35px;border:1px solid #ccc;cursor:pointer}.tab_div.tab_div_x .tab_tab{display:inline-block;float:left;height:35px;border-bottom:0;margin-right:5px}.tab_div.tab_div_y .tab_tab{display:block;border-left:1px solid #ccc;border-right:1px solid #ccc;border-top:1px solid #ccc;width:150px;padding:0;border-right:0;margin-bottom:5px}.tab_div.tab_div_x .tab_panel{border:1px solid #ccc;border-top:0}.tab_div.tab_div_y .tab_panel{margin-left:151px;border:1px solid #ccc;border-left:0}.tab_div .tab_selected{color:#fff;background-color:#199fff}.tab_div.tab_div_x .tab_selected{border:1px solid #199fff;border-bottom:0;height:35px}.tab_div.tab_div_y .tab_selected{border:1px solid #199fff;border-right:0;width:150px}.completeBox{position:absolute;z-index:999;background:#fff;border:1px solid #e0e0e2;box-shadow:3px 3px 0 rgba(0,0,0,.1);color:#1f1f1f;font-family:Microsoft Yahei;font-size:14px}.completeBox table{min-width:220px;border-collapse:collapse}.completeBox tr{cursor:pointer}.completeBox .active,.completeBox tr:hover{background:#d9efff}.completeBox td{padding:3px 2px 3px 5px}.completeBox .avatar{border-radius:30px;overflow:hidden;display:block;border:1px solid #e0e0e2}.completeBox .avatar,.completeBox .avatar img{width:30px;height:30px}.completeBox .colum0{width:30px}.completeBox table strong{color:#0da1bf}.completeBox .type50,.completeBox .type60,.completeBox .type70{display:block;width:30px;height:20px;line-height:20px;color:#fff;text-align:center;font-size:12px}.completeBox .type50{background:#df8226}.completeBox .type60{background:#61629b}.completeBox .type70{background:#1cb9dc}.ui-resizable-handle{position:absolute;font-size:.1px;display:block}.ui-resizable-autohide .ui-resizable-handle,.ui-resizable-disabled .ui-resizable-handle{display:none}.ui-resizable-n{cursor:n-resize;height:7px;width:100%;top:-5px;left:0}.ui-resizable-s{cursor:s-resize;height:7px;width:100%;bottom:-5px;left:0}.ui-resizable-e{cursor:e-resize;width:7px;right:-5px;top:0;height:100%}.ui-resizable-w{cursor:w-resize;width:7px;left:-5px;top:0;height:100%}.ui-resizable-se{cursor:se-resize;width:12px;height:12px;right:1px;bottom:1px}.ui-resizable-sw{cursor:sw-resize;width:9px;height:9px;left:-5px;bottom:-5px}.ui-resizable-nw{cursor:nw-resize;width:9px;height:9px;left:-5px;top:-5px}.ui-resizable-ne{cursor:ne-resize;width:9px;height:9px;right:-5px;top:-5px}.uploader_table{background:#fff;border:1px solid #c8c8c8;border-bottom:0;border-spacing:0;width:100%;text-align:left;font-size:14px}.uploader_table .uploader_thead .uploader_th{background:#e8e8e8;border-bottom:1px solid #c8c8c8}.uploader_table .uploader_progressbar_wrap .uploader_td{position:relative;border-bottom:1px solid #c8c8c8}.uploader_table .uploader_thead .uploader_th,.uploader_table .uploader_wrap .uploader_td{white-space:nowrap;font-weight:400;padding:5px 8px}.uploader_table .uploader_processbar{height:2px;width:0;background:#53ad53;position:absolute;bottom:-1px}.uploader_table .uploader_center{text-align:center}.uploader_table a.uploader_del_btn{display:inline-block;width:16px;height:18px;background-position:-98px -13px} \ No newline at end of file diff --git a/client/dist/static/logview/Logview_files/cloudjs.css b/client/dist/static/logview/Logview_files/cloudjs.css index fce1aa18..d2672a0e 100644 --- a/client/dist/static/logview/Logview_files/cloudjs.css +++ b/client/dist/static/logview/Logview_files/cloudjs.css @@ -1,1902 +1 @@ -/*public*/ -.cloudjs_icon { - background-image: url(../../images/icons_new.png); -} -.cloudjs_btn { - -moz-border-radius: 3px; - -webkit-border-radius: 3px; - border-radius: 3px; - padding: 3px 7px; - display: inline-block; - font-family: Microsoft Yahei; - font-size: 12px; - white-space: nowrap; - cursor: pointer; - zoom: 1; - *width: 40px; - *height: 24px; - *line-height: 1; - border: 1px solid #258cd6; - color: #ffffff; - background-color: #199fff; -} -a.cloudjs_btn { - text-decoration: none; -} -.cloudjs_btn_white { - -moz-border-radius: 3px; - -webkit-border-radius: 3px; - border-radius: 3px; - padding: 3px 7px; - display: inline-block; - font-family: Microsoft Yahei; - font-size: 12px; - white-space: nowrap; - cursor: pointer; - zoom: 1; - *width: 40px; - *height: 24px; - *line-height: 1; - border: 1px solid #999999; - color: #000000; - background-color: #ffffff; -} -.cloudjs_icon:hover { - opacity: 0.8; - filter: alpha(opacity=80); -} -.cloudjs_btn:hover { - opacity: 0.8; - filter: alpha(opacity=80); -} -.cloudjs_btn_white:hover { - border-color: #666666; -} -.cloudjs_btn_white_disable, -.cloudjs_btn_white:disabled { - color: #aaaaaa; - border-color: #cfcfcf; - cursor: default; -} -.cloudjs_btn_disable, -.cloudjs_btn_disable:hover, -.cloudjs_btn:disabled { - color: #aaaaaa; - border-color: #cfcfcf; - cursor: default; - background: #ffffff; -} -.border { - border: 1px solid #c6c6c6; - box-shadow: inset 1px 2px 1px #f0f0f0; -} -.cloudjs_input { - height: 25px; - line-height: 25px; - padding: 0; - text-indent: 5px; - outline: none; - border: 1px solid #c6c6c6; - box-shadow: inset 1px 2px 1px #f0f0f0; -} -.cloudjs_input:focus { - border: solid 1px #aaa; -} -/*wsd系统公共样式*/ -.tabFix { - table-layout: fixed; -} -.tabFix td { - word-wrap: break-word; - word-break: break-all; -} -.fl { - float: left; -} -.fr { - float: right; -} -.blank0, -.blank10, -.blank20 { - width: 100%; - clear: both; - font-size: 0; -} -.blank0 { - height: 0; -} -.blank10 { - height: 10px; -} -.blank20 { - height: 20px; -} -/*老分页css*/ -.paging_table .sort { - cursor: pointer; -} -.paging_table .js_up { - background: #f0f1f6 url(http://3gimg.qq.com/mig_op/cloudJs/images/arrow_up.png) no-repeat right center; -} -.paging_table .js_down { - background: #f0f1f6 url(http://3gimg.qq.com/mig_op/cloudJs/images/arrow_down.png) no-repeat right center; -} -/*条件表格css*/ -.condition_table { - width: 100%; - border-collapse: collapse; - word-wrap: break-word; - background: #fff; -} -.condition_table caption, -.paging_table caption { - font: bold 14px/20px microsoft yahei; - padding: 10px 15px; - text-align: left; - background: #dbdfeb; - border: 1px solid #c8c8c8; - border-bottom: 0; -} -.condition_table td { - line-height: 20px; - padding: 5px 9px; - border: 1px solid #c8c8c8; -} -.condition_table td.tit { - background: #eee; - text-align: right; -} -/********************************************************************/ -/*calendar*/ -.calendar_warpper { - width: 260px; - z-index: 9998; - position: absolute; - font-family: "microsoft yahei"; -} -.calendar_panel { - width: 100%; - background-color: #ffffff; - border: solid 1px #ccc; - position: relative; - top: 0; - z-index: 2; - box-shadow: 0 5px 15px -5px rgba(0, 0, 0, 0.5); - overflow: hidden; - zoom: 1; -} -.calendar_form { - text-align: center; - float: left; -} -.calendar_title { - padding: 0; - margin: 0; - background-color: #ffffff; - text-align: center; - font-size: 13px; - height: 30px; - line-height: 30px; -} -.calendar_panel .calendar_week { - padding: 0; - margin: 0; -} -.calendar_panel span { - display: inline-block; - vertical-align: middle; - text-decoration: none; - line-height: 30px; - width: 14.27%; - height: 30px; -} -.calendar_form span { - cursor: default; - color: #555; - font-size: 12px; -} -.calendar_title .curr_year, -.calendar_title .curr_mon { - font: normal bold 14px/1 'microsoft yahei'; -} -.calendar_panel .calendar_pre_mon, -.calendar_panel .calendar_next_mon { - width: 30px; - height: 16px; - position: absolute; - cursor: pointer; - opacity: .6; - filter: alpha(opacity=60); - text-align: center; - zoom: 1; - display: block; - padding: 7px 0; - line-height: 1; - top: 0; -} -.calendar_panel i.cloudjs_icon { - width: 16px; - height: 16px; - display: inline-block; - vertical-align: middle; -} -.calendar_panel .calendar_pre_mon:hover, -.calendar_panel .calendar_next_mon:hover { - opacity: 1; - filter: alpha(opacity=100); -} -.calendar_panel .calendar_pre_mon { - left: 0; -} -.calendar_panel .calendar_pre_mon .cloudjs_icon { - background-position: 0 0; -} -.calendar_panel .calendar_next_mon { - right: 10px; -} -.calendar_panel .calendar_next_mon .cloudjs_icon { - background-position: -16px 0; -} -.calendar_panel .calendar_days { - padding: 0 5px; - overflow: hidden; - padding-bottom: 5px; -} -.calendar_panel .calendar_days .calendar_day { - background-color: #eee; - float: left; - width: 14.2857%; - height: 23px; - text-decoration: none; - color: #666666; - font-size: 12px; - line-height: 23px; - cursor: default; -} -.calendar_panel .calendar_days .calendar_disabled, -.calendar_panel .calendar_months .calendar_disabled { - background-color: #ffffff; - color: #aaa; -} -.calendar_panel .calendar_days .calendar_today, -.calendar_panel .currMonth { - color: #199fff; - font-weight: bold; -} -.calendar_panel .calendar_days .calendar_range { - background-color: #d9efff; -} -.calendar_panel .calendar_days .calendar_day:hover, -.calendar_panel .calendar_days .calendar_current, -.calendar_panel .calendar_months .calendar_mon:hover, -.calendar_months .calendar_current { - background-color: #199fff; - color: #ffffff; - border-radius: 3px; - font-weight: normal; -} -.calendar_panel .calendar_days .calendar_disabled:hover, -.calendar_panel .calendar_months .calendar_disabled:hover { - background-color: #ffffff; - color: #aaa; -} -.calendar_panel .calendar_months { - padding: 0 5px; - padding-bottom: 5px; - overflow: hidden; -} -.calendar_mon { - background-color: #eee; - float: left; - width: 25%; - height: 40px; - text-decoration: none; - color: #666666; - font-size: 12px; - line-height: 40px; - cursor: default; -} -.calendar_panel .calendar_months .calendar_range { - background-color: #d9efff; -} -.calendar_panel .calendar_time_box { - background: #f3f3f3; - padding: 5px 3px 5px 5px; - overflow: hidden; - clear: both; - border-top: solid 1px #dedede; - font-size: 14px; - white-space: nowrap; -} -.calendar_panel .calendar_time_box .date_input, -.calendar_panel .calendar_time_box .multi_input { - width: 40px; - height: 20px; - margin-right: 2px; - box-shadow: inset 0 2px 1px #f0f0f0; - border: solid 1px #ccc; - line-height: 20px; -} -.calendar_panel .calendar_time_box .multi_input { - width: 80px; -} -.calendar_panel .calendar_time_box .cloudjs_btn_white { - float: right; - margin-right: 10px; - width: 40px; -} -.calendar_panel .calendar_time_box .cloudjs_btn { - float: right; - width: 40px; -} -.calendar_panel .calendar_time_box b { - font-weight: normal; - font-size: 12px; - line-height: 18px; - padding-right: 5px; -} -.calendar_inputs_wrap { - display: inline-block; - position: relative; - vertical-align: middle; -} -.calendar_icon { - position: absolute; - right: 5px; - top: 6px; - width: 16px; - height: 16px; - background-position: -32px 0; -} -/*combobox*/ -.combo_container { - display: inline-block; - position: relative; - border: 1px solid #C6C6C6; - box-shadow: inset 1px 2px 1px #F0F0F0; -} -.combo_container .combo_text { - border: 0; - outline: 0; - height: 25px; - line-height: 25px; - padding: 0 5px; - box-shadow: inset 1px 2px 1px #F0F0F0; -} -.combo_container .combo_arrow { - display: inline-block; - width: 16px; - text-align: center; - background-image: none; -} -.combo_container .combo_arrow span { - display: inline-block; - width: 0; - height: 0; - margin-top: 3px; - border: 5px solid #878787; - background: none; - border-color: #878787 transparent transparent; - vertical-align: middle; -} -.combo_container .combo_panel { - display: none; - position: absolute; - border: 1px solid #C6C6C6; - background: #ffffff; - overflow: auto; -} -.combo_container .combo_panel .combo_item { - cursor: default; - padding: 0 5px; - line-height: 25px; -} -.combo_container .combo_item input[type="checkbox"] { - margin-right: 3px; -} -.combo_container .combo_head { - padding: 5px 3px; - background: #FFFFFF; - border-bottom: 1px solid #C3C3C3; -} -.combo_container .combo_close_btn { - background-repeat: no-repeat; - cursor: pointer; - display: block; - height: 20px; - width: 20px; - float: right; - background-position: -110px 2px; -} -.combo_container .combo_panel .combo_item_selected { - background-color: #199fff; - color: #ffffff; -} -.combo_container .combo_panel .combo_item_hover { - background: #d9efff; - color: #000000; -} -.combo_container .combo_panel .combo_item_disabled, -.combo_disabled { - color: #aaaaaa; - background-color: #eeeeee; - border-color: #cccccc; - cursor: not-allowed; - box-shadow: 0px 0px 0px #dddddd; -} -.combo_disabled .combo_text { - cursor: not-allowed; - background: #ffffff; - color: #999999; -} -.combo_disabled .combo_arrow span { - border-top-color: #CCCCCC; -} -/*dialog*/ -div.dialog_div { - word-wrap: break-word; - word-break: break-all; - opacity: 1; - filter: alpha(opacity=100); - min-height: 106px; - position: absolute; - border: 1px solid #c6c6c6; - background-color: #ffffff; - -moz-box-shadow: 0px 0px 10px #c6c6c6; - -webkit-box-shadow: 0px 0px 10px #c6c6c6; - box-shadow: 0px 0px 10px #c6c6c6; - -moz-border-radius: 3px; - -webkit-border-radius: 3px; - border-radius: 3px; -} -.dialog_div .dialog_div_head { - border-bottom: 1px solid #efefef; - height: 32px; - background-color: #f9f9f9; -} -.dialog_div .dialog_div_head .dialog_div_head_title { - color: #000000; - font-weight: normal; - display: block; - float: left; - height: 32px; - line-height: 32px; - width: 70%; - margin-left: 10px; - text-overflow: ellipsis; - overflow: hidden; - white-space: nowrap; - zoom: 1; - max-width: 85%; -} -.dialog_div .dialog_div_head .dialog_div_head_btn { - margin-top: 10px; - background-repeat: no-repeat; - cursor: pointer; - display: block; - height: 12px; - line-height: 12px; - width: 12px; - text-align: right; - float: right; -} -.dialog_div .dialog_div_head .dialog_div_head_fullscreen_btn { - margin-right: 10px; - background-position: -98px -2px; - display: none; -} -.dialog_div .dialog_div_head .dialog_div_head_fullscreen_btn:hover { - background-position: -98px -2px; -} -.dialog_div .dialog_div_head .dialog_div_head_close_btn { - margin-right: 9px; - background-position: -115px -2px; -} -.dialog_div .dialog_div_head .dialog_div_head_close_btn:hover { - background-position: -115px -2px; -} -.dialog_div .dialog_div_head .dialog_div_head_backscreen_btn { - margin-right: 10px; - background-position: -82px -2px; - display: none; -} -.dialog_div .dialog_div_head .dialog_div_head_backscreen_btn:hover { - background-position: -82px -2px; -} -.dialog_div .dialog_div_head .dialog_div_head_btn:hover { - opacity: 0.6; - filter: alpha(opacity=60); -} -.dialog_div .dialog_div_body { - background-color: #ffffff; - padding-top: 8px; - padding-left: 10px; - padding-right: 10px; - padding-bottom: 8px; - line-height: 1.5em; - overflow: auto; - min-height: 22px; - *min-height: 22px; -} -.dialog_div .dialog_div_foot { - background-color: #ffffff; - border-top: 1px solid #efefef; - text-align: right; - position: relative; - padding-bottom: 4px; - padding-left: 10px; - min-height: 26px; - *min-height: 26px; -} -.dialog_div .dialog_div_foot .dialog_div_foot_button { - margin-top: 4px; - margin-right: 10px; -} -.dialog_div_layer { - width: 100%; - height: 100%; - position: fixed; - background-color: #ddd; - opacity: 0.6; - filter: alpha(opacity=60); - top: 0px; - left: 0px; -} -.dialog_div .dialog_div_body .dialog_div_body_textarea { - font-family: microsoft yahei; - *margin-left: -8px !important; - *padding: 0px !important; - background-color: #ffffff; - overflow: auto; - padding: 2px 2px; - margin: 0px; - outline: none; - border: 1px solid #dcdcdc; - resize: none; - word-break: break-all; - height: 60px; -} -.dialog_div .dialog_div_body .dialog_div_body_textarea_empty { - border: 1px solid red; -} -.dialog_div .dialog_div_body .dialog_div_body_empty { - color: #ff0000; -} -.dialog_div .dialog_arrow, -.dialog_div .dialog_arrow i { - position: absolute; - width: 0; - height: 0; - font-size: 0; - border-top-color: transparent; - border-bottom-color: transparent; - border-right-color: transparent; - border-left-color: transparent; - border-style: solid; -} -.dialog_div .dialog_arrow { - border-width: 8px; -} -.dialog_div .dialog_arrow i { - border-width: 6px; -} -.dialog_div .dialog_arrow_up { - bottom: -16px; - left: 50%; - margin-left: -8px; - border-top-color: #c6c6c6; -} -.dialog_div .dialog_arrow_down { - top: -16px; - left: 50%; - margin-left: -8px; - border-bottom-color: #c6c6c6; -} -.dialog_div .dialog_arrow_left { - top: 50%; - right: -16px; - margin-top: -8px; - border-left-color: #c6c6c6; -} -.dialog_div .dialog_arrow_right { - top: 50%; - left: -16px; - margin-top: -8px; - border-right-color: #c6c6c6; -} -.dialog_div .dialog_arrow_up_left { - bottom: -16px; - right: 7px; - border-top-color: #c6c6c6; -} -.dialog_div .dialog_arrow_up_right { - bottom: -16px; - left: 9px; - border-top-color: #c6c6c6; -} -.dialog_div .dialog_arrow_down_left { - top: -16px; - right: 7px; - border-bottom-color: #c6c6c6; -} -.dialog_div .dialog_arrow_down_right { - top: -16px; - left: 9px; - border-bottom-color: #c6c6c6; -} -.dialog_div .dialog_arrow_up i, -.dialog_div .dialog_arrow_up_left i, -.dialog_div .dialog_arrow_up_right i { - top: -8px; - left: -6px; - border-top-color: #ffffff; -} -.dialog_div .dialog_arrow_down i, -.dialog_div .dialog_arrow_down_left i, -.dialog_div .dialog_arrow_down_right i { - top: -4px; - left: -6px; - border-bottom-color: #f9f9f9; -} -.dialog_div .dialog_arrow_right i { - top: -6px; - left: -4px; - border-right-color: #ffffff; -} -.dialog_div .dialog_arrow_left i { - top: -6px; - left: -8px; - border-left-color: #ffffff; -} -/*mask*/ -.mask_modal { - height: 100%; - width: 100%; - position: fixed; - top: 0; - left: 0; - z-index: 10000; - background: #000000; - opacity: 0.5; - filter: alpha(opacity=50); -} -.mask_con { - position: fixed; - top: 50%; - z-index: 11000; - left: 50%; - margin-top: -54px; - margin-left: -47px; - text-align: center; - display: inline-block; -} -/*menu*/ -.menu_data_ul .cloudjs_icon, -.menu_fixed_div .cloudjs_icon, -.menu_simple_div .cloudjs_icon { - width: 14px; - height: 14px; - margin: 6px 6px 0 0; - float: right; - background-position: -65px 0px; -} -.menu_fixed_div .hover .cloudjs_icon { - background-position: -9999px; -} -.menu_simple_div .hover .cloudjs_icon { - background-position: -50px 0px; -} -.menu_tree_ul { - width: 200px; - background: #eaeaea; - list-style: none; - padding: 10px 0; -} -.menu_tree_ul li { - line-height: 30px; -} -.menu_tree_ul a { - display: block; - color: #000000; - padding-left: 1em; - border-left: 2px solid #eaeaea; -} -.menu_tree_ul ul a { - padding-left: 3em; -} -.menu_tree_ul ul ul a { - padding-left: 4em; -} -.menu_tree_ul a:hover, -.menu_tree_ul a.selected { - background: #ffffff; - color: #000000; - border-left: 2px solid #199fff; -} -.menu_tree_ul ul { - padding: 0; - display: none; -} -.menu_tree_ul li.hover ul { - display: block; -} -.menu_data_ul { - padding: 0; - background: #eaeaea; - list-style: none; - border: 1px solid #c6c6c6; - box-shadow: inset 1px 2px 1px #f0f0f0; -} -.menu_data_ul a { - cursor: pointer; - color: #000000; -} -.menu_data_ul li.hover { - background: #ffffff; -} -.menu_data_ul li { - position: relative; - height: 30px; - line-height: 30px; - padding-left: 10px; -} -.menu_data_ul ul { - padding: 0; - position: absolute; - width: 150px; - list-style: none; - border: 1px solid #c6c6c6; - box-shadow: inset 1px 2px 1px #f0f0f0; - background: #ffffff; -} -.menu_data_ul ul li { - height: 29px; - line-height: 29px; - border-bottom: 1px solid #e0e0e0; -} -.menu_data_ul ul li.hover { - background: #eeeeee; -} -.menu_data_ul ul a { - float: left; -} -.menu_data_horizontal_ul { - height: 40px; -} -.menu_data_horizontal_ul .li_level0 { - float: left; - display: inline; - border-right: 1px solid #c6c6c6; - padding: 5px 30px; -} -.menu_data_vertical_ul { - width: 100px; -} -.menu_data_vertical_ul .li_level0 { - height: 29px; - border-bottom: 1px solid #e0e0e0; -} -.menu_fixed_div { - width: 180px; - position: relative; - height: 260px; -} -.menu_fixed_title { - width: 179px; - padding: 1px 0 1px 1px; - position: absolute; - top: 0; - left: 0; - font-size: 14px; - background: #eaeaea; - margin: 0; - z-index: 11; - list-style: none; -} -.menu_fixed_title li { - padding-left: 10px; - height: 30px; - line-height: 30px; -} -.menu_fixed_title li.hover { - background: #ffffff; -} -.menu_fixed_title li.hover a { - color: #000000; -} -.menu_fixed_title li a { - float: left; - color: #000000; -} -.menu_fixed_title li span { - float: right; - font-size: 10px; -} -.menu_fixed_hide { - display: none; - position: absolute; - border: 1px solid #eaeaea; - z-index: 10; - background: #ffffff; -} -.menu_simple_div { - float: left; - width: 100px; - position: relative; -} -.menu_simple_title { - display: block; - background: #eaeaea; - color: #000000; - height: 30px; - line-height: 30px; -} -.menu_simple_hide { - display: none; - background: #ffffff; - position: absolute; - border: 1px solid #c6c6c6; - border-top: 0; -} -/*paging and table*/ -.paging_div { - height: 30px; - clear: both; -} -.paging_div ul { - padding: 0; - margin: 0; - float: left; -} -.paging_div li { - display: inline; - float: left; -} -.paging_div li.ellipsis { - margin: 0 10px 0 5px; -} -.paging_div li a { - float: left; - position: relative; - line-height: 20px; - margin-right: 5px; - min-width: 12px; - text-align: center; - padding: 3px 7px; - display: inline-block; - font-family: Microsoft Yahei; - font-size: 12px; - white-space: nowrap; - cursor: pointer; - zoom: 1; - *width: 40px; - *height: 24px; - *line-height: 1; - border: 1px solid #999999; - color: #000000; - background-color: #ffffff; -} -.paging_div li a:hover, -.paging_div li a:focus { - border: 1px solid #258cd6; - color: #ffffff; - background-color: #199fff; -} -.paging_div .ellipsis { - line-height: 28px; -} -.paging_div .paging_active a, -.paging_div .paging_active a:hover, -.paging_div .paging_active a:focus { - border: 1px solid #258cd6; - color: #ffffff; - background-color: #199fff; - cursor: default; -} -.paging_div .paging_disabled a, -.paging_div .paging_disabled a:hover, -.paging_div .paging_disabled a:focus { - color: #aaaaaa; - background-color: #eeeeee; - border-color: #cccccc; - cursor: not-allowed; - box-shadow: 0px 0px 0px #dddddd; -} -.paging_div .paging_disabled i { - opacity: 0.3; - filter: alpha(opacity=30); -} -.paging_div .paging_icons { - position: relative; - height: 20px; -} -.paging_div .paging_icons i { - position: absolute; - height: 16px; - width: 14px; - top: 5px; - left: 6px; -} -.paging_div .prev .cloudjs_icon { - background-position: 0 0; -} -.paging_div .next .cloudjs_icon { - background-position: -17px 0; -} -.paging_div .first .cloudjs_icon { - background-position: 0 0; -} -.paging_div .last .cloudjs_icon { - background-position: -17px 0; -} -.paging_div .paging_div_right { - float: left; -} -.paging_div input[type=text] { - width: 40px; - text-align: center; - text-indent: 0; -} -.paging_mask { - height: 100%; - width: 100%; - position: fixed; - top: 0; - left: 0; - z-index: 10000; - background: #000000; - opacity: 0.5; - filter: alpha(opacity=50); -} -.paging_loading { - position: fixed; - z-index: 990001; - top: 50%; - left: 50%; - margin-top: -54px; - margin-left: -47px; -} -.paging_table { - width: 100%; - border-collapse: collapse; - word-wrap: break-word; - white-space: normal; - word-break: break-all; - background: #fff; -} -.paging_table th { - background: #f0f1f6; - text-align: left; -} -.paging_table th.sort_string, -.paging_table th.sort_number { - cursor: pointer; -} -.paging_table td, -.paging_table th { - padding: 7px 15px; - border: 1px solid #c8c8c8; - vertical-align: top; - font: normal 14px/20px microsoft yahei; -} -.paging_table .center { - text-align: center; -} -.paging_table .integer, -.paging_table .percent, -.paging_table .right { - text-align: right; -} -.paging_table tbody .cursor, -.paging_table tbody a { - cursor: pointer; - color: #199fff; -} -.paging_table tbody .cursor:hover, -.paging_table tbody a:hover { - opacity: 0.8; - filter: alpha(opacity=80); -} -.paging_table tbody tr:nth-child(2n) td { - background: #f0f1f6; -} -.paging_table tbody tr:hover td { - background: #d9d9ef; -} -.paging_table .paging_div { - float: right; -} -.paging_table .th_div { - position: relative; -} -.paging_table .sort_icon { - position: absolute; - right: -12px; - top: 0; - width: 12px; -} -.paging_table .sort_icon i { - float: left; - width: 12px; - height: 10px; - cursor: pointer; -} -.paging_table .sort_icon .down { - background-position: -49px -4px; -} -.paging_table .sort_icon .up { - background-position: -66px -34px; -} -.paging_table .sort_icon .thissort { - opacity: 0.3; - filter: alpha(opacity=30); - cursor: default; -} -.paging_table th .htips, -.cloudjs_tips { - padding-right: 20px; - background-image: url(../../images/icons_new.png); - background-position: right bottom; -} -/*tips*/ -.tips_div { - position: absolute; - border: 1px solid #258cd6; - -moz-box-shadow: 0px 0px 6px #258cd6; - -webkit-box-shadow: 0px 0px 6px #258cd6; - box-shadow: 0px 0px 6px #258cd6; - background: #ffffff; - color: #000000; -} -.tips_div, -.tips_div .tips_content { - -moz-border-radius: 3px; - -webkit-border-radius: 3px; - border-radius: 3px; - zoom: 1; - display: inline-block; - *display: inline; -} -.tips_div .tips_content { - overflow: auto; - word-wrap: break-word; - padding: 4px 8px; -} -.tips_div .tips_arrow, -.tips_div .tips_arrow i { - position: absolute; - width: 0; - height: 0; - font-size: 0; - border-width: 8px; - border-top-color: transparent; - border-bottom-color: transparent; - border-right-color: transparent; - border-left-color: transparent; - border-style: solid; -} -.tips_div .tips_arrow i { - border-width: 8px; -} -.tips_div .tips_arrow_up { - bottom: -16px; - left: 50%; - margin-left: -8px; - border-top-color: #258cd6; -} -.tips_div .tips_arrow_down { - top: -16px; - left: 50%; - margin-left: -8px; - border-bottom-color: #258cd6; -} -.tips_div .tips_arrow_left { - top: 50%; - right: -16px; - margin-top: -8px; - border-left-color: #258cd6; -} -.tips_div .tips_arrow_right { - top: 50%; - left: -16px; - margin-top: -8px; - border-right-color: #258cd6; -} -.tips_div .tips_arrow_down_left { - top: -16px; - right: 8px; - border-bottom-color: #258cd6; -} -.tips_div .tips_arrow_down_right { - top: -16px; - left: 8px; - border-bottom-color: #258cd6; -} -.tips_div .tips_arrow_up_left { - bottom: -16px; - right: 8px; - border-top-color: #258cd6; -} -.tips_div .tips_arrow_up_right { - bottom: -16px; - left: 8px; - border-top-color: #258cd6; -} -.tips_div .tips_arrow_up i, -.tips_div .tips_arrow_up_left i, -.tips_div .tips_arrow_up_right i { - top: -10px; - left: -8px; - border-top-color: #ffffff; -} -.tips_div .tips_arrow_down i, -.tips_div .tips_arrow_down_left i, -.tips_div .tips_arrow_down_right i { - top: -6px; - left: -8px; - border-bottom-color: #ffffff; -} -.tips_div .tips_arrow_right i { - top: -8px; - left: -6px; - border-right-color: #ffffff; -} -.tips_div .tips_arrow_left i { - top: -8px; - left: -10px; - border-left-color: #ffffff; -} -/*validate*/ -.validate_div { - position: absolute; - border: 1px solid #d33330; - background: #f2dede; - -moz-border-radius: 3px; - -webkit-border-radius: 3px; - border-radius: 3px; - -moz-box-shadow: 1px 1px 2px #aaaaaa; - -webkit-box-shadow: 1px 1px 2px #aaaaaa; - box-shadow: 1px 1px 2px #aaaaaa; - color: #a94442; -} -.validate_div, -.validate_div .validate_content { - zoom: 1; - display: inline-block; - *display: inline; -} -.validate_div .validate_content { - word-wrap: break-word; - max-width: 300px; - *max-width: 300px; - font-size: 13px; - padding: 4px 8px; -} -.validate_div .validate_arrow, -.validate_div .validate_arrow i { - position: absolute; - width: 0; - height: 0; - font-size: 0; - border-top-color: transparent; - border-bottom-color: transparent; - border-right-color: transparent; - border-left-color: transparent; - border-style: solid; -} -.validate_div .validate_arrow { - border-width: 7px; -} -.validate_div .validate_arrow i { - border-width: 6px; -} -.validate_div .validate_arrow_down { - top: -14px; - left: 50%; - margin-left: -8px; - border-bottom-color: #b2211f; -} -.validate_div .validate_arrow_up { - bottom: -14px; - left: 50%; - margin-left: -8px; - border-top-color: #b2211f; -} -.validate_div .validate_arrow_right { - top: 50%; - left: -14px; - margin-top: -8px; - border-right-color: #b2211f; -} -.validate_div .validate_arrow_left { - top: 50%; - right: -14px; - margin-top: -8px; - border-left-color: #b2211f; -} -.validate_div .validate_arrow_down i { - top: -5px; - left: -6px; - border-bottom-color: #f2dede; -} -.validate_div .validate_arrow_up i { - top: -7px; - left: -6px; - border-top-color: #f2dede; -} -.validate_div .validate_arrow_right i { - top: -6px; - left: -5px; - border-right-color: #f2dede; -} -.validate_div .validate_arrow_left i { - top: -6px; - left: -7px; - border-left-color: #f2dede; -} -.validate_div .validate_content .validate_icon, -.validate_span .validate_icon { - display: inline-block; - *display: inline; - height: 20px; - width: 20px; - background-image: url(../../images/icons_new.png); - background-position: -48px -14px; - background-repeat: no-repeat; - vertical-align: -4px; -} -.validate_span { - color: #a94442; - font-size: 13px; - margin-left: 10px; -} -/*progressbar*/ -.progressbar_div { - background-color: #f0f0f0; - border: 0; - position: relative; - text-align: center; - margin-top: 4px; -} -.progressbar_div .progressbar_progress { - height: 100%; - width: 0%; - position: absolute; - background-color: #199fff; -} -.progressbar_div .progressbar_value { - position: absolute; - z-index: 1; - left: 0; - right: 0; - margin-left: auto; - margin-right: auto; - font-weight: normal; - top: 0; - bottom: 0; - margin-top: auto; - margin-bottom: auto; - height: 20px; -} -/*resizable*/ -.ui-resizable-handle { - position: absolute; - font-size: 0.1px; - display: block; -} -.ui-resizable-disabled .ui-resizable-handle, -.ui-resizable-autohide .ui-resizable-handle { - display: none; -} -.ui-resizable-n { - cursor: n-resize; - height: 7px; - width: 100%; - top: -5px; - left: 0; -} -.ui-resizable-s { - cursor: s-resize; - height: 7px; - width: 100%; - bottom: -5px; - left: 0; -} -.ui-resizable-e { - cursor: e-resize; - width: 7px; - right: -5px; - top: 0; - height: 100%; -} -.ui-resizable-w { - cursor: w-resize; - width: 7px; - left: -5px; - top: 0; - height: 100%; -} -.ui-resizable-se { - cursor: se-resize; - width: 12px; - height: 12px; - right: 1px; - bottom: 1px; -} -.ui-resizable-sw { - cursor: sw-resize; - width: 9px; - height: 9px; - left: -5px; - bottom: -5px; -} -.ui-resizable-nw { - cursor: nw-resize; - width: 9px; - height: 9px; - left: -5px; - top: -5px; -} -.ui-resizable-ne { - cursor: ne-resize; - width: 9px; - height: 9px; - right: -5px; - top: -5px; -} -/*ctab*/ -.ctab_div { - margin: 0px; - padding: 0px; - font-size: 14px; - display: block; -} -.ctab_div .ctab_wrap { - height: 32px; - position: relative; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; - background-color: #efefef; - border-bottom: 1px solid #CCCCCC; -} -.ctab_div .ctab_head { - overflow: hidden; - margin: 0; - margin-right: 3px; - padding: 0; - position: relative; -} -.ctab_div .ctab_wrap_with_icon ul.ctab_head { - margin-right: 29px; -} -.ctab_div .ctab_tab { - height: 30px; - float: left; - margin: 2px 0px 0px 5px; - list-style: none; - position: relative; - display: inline-block; - background-color: #eaeaea; -} -.ctab_div .ctab_selected { - background-color: #ffffff; - border-top: 4px solid #199fff; - height: 29px; - line-height: 29px; - margin-top: 0; -} -.ctab_div .ctab_tab_inner { - border-left: 1px solid #CCCCCC; - border-right: 1px solid #CCCCCC; - border-top: 1px solid #CCCCCC; - padding: 0px 20px; - height: 100%; -} -.ctab_div .ctab_selected .ctab_tab_inner { - border-top: none; -} -.ctab_div .ctab_refresh_icon, -.ctab_div .ctab_tab .ctab_close_icon, -.ctab_div .ctab_close_other_icon { - position: absolute; - top: 0px; - cursor: pointer; - height: 16px; - width: 16px; -} -.ctab_div .ctab_tab .ctab_refresh_icon { - left: 3px; - top: 7px; - display: none; - background-position: -111px -17px; -} -.ctab_div .ctab_tab .ctab_close_icon { - right: 2px; - top: 9px; - background-position: -114px -1px; - opacity: 0.7; - filter: alpha(opacity=70); -} -.ctab_div .ctab_tab .ctab_close_icon:hover { - opacity: 1; - filter: alpha(opacity=100); -} -.ctab_div .ctab_selected .ctab_close_icon { - top: 7px; -} -.ctab_div .ctab_title { - margin: 0; - text-align: center; - display: block; - overflow: hidden; - text-overflow: ellipsis; - white-space: nowrap; - line-height: 30px; - cursor: default; - color: #000; - text-decoration: none; -} -.ctab_div .ctab_selected .ctab_title { - line-height: 27px; -} -.ctab_div .ctab_selected .ctab_refresh_icon { - display: block; -} -.ctab_div .ctab_close_other_icon { - right: 0px; - top: 0px; - width: 32px; - height: 100%; - background-color: #eaeaea; -} -.ctab_div .ctab_close_other_icon span.ctab_icon_span { - display: block; - width: 16px; - height: 16px; - margin: 6px auto; - background-position: -111px 3px; -} -.ctab_div .ctab_body { - margin: 0px; - overflow: hidden; - border: 1px solid #CCCCCC; - border-top: none; -} -.ctab_div .ctab_body .ctab_panel { - overflow: auto; -} -/*message*/ -.message_div { - z-index: 1000; - overflow: hidden; - padding-bottom: 10px; - text-align: center; - margin: 0; - padding: 6px 28px 6px 35px; - opacity: 0; - filter: alpha(opacity=0); - border: solid 1px; - -moz-border-radius: 3px; - -webkit-border-radius: 3px; - border-radius: 3px; -} -.message_div.message_no_left_icon { - padding-left: 10px; -} -.message_div.message_no_right_icon { - padding-right: 10px; -} -.message_div .message_icon { - position: absolute; - top: 7px; - left: 6px; - width: 16px; - height: 16px; - background-repeat: no-repeat; - margin: 0; -} -.message_div .message_close { - position: absolute; - top: 7px; - right: 5px; - width: 15px; - height: 15px; - font-size: 18px; - margin: 0; - padding: 0; - font-weight: bold; - color: #ffffff; - cursor: pointer; -} -.message_div .message_close:hover { - color: inherit; -} -.message_div.message_normal { - background: #eef8ff; - border-color: #258cd6; - color: #258cd6; - -moz-box-shadow: 0px 0px 1px #258cd6; - -webkit-box-shadow: 0px 0px 1px #258cd6; - box-shadow: 0px 0px 1px #258cd6; -} -.message_div.message_success { - background: #dff0d8; - border-color: #558e26; - color: #558e26; - -moz-box-shadow: 0px 0px 1px #558e26; - -webkit-box-shadow: 0px 0px 1px #558e26; - box-shadow: 0px 0px 1px #558e26; -} -.message_div.message_warn { - background: #fcf8e3; - border-color: #d79b0d; - color: #d79b0d; - -moz-box-shadow: 0px 0px 1px #d79b0d; - -webkit-box-shadow: 0px 0px 1px #d79b0d; - box-shadow: 0px 0px 1px #d79b0d; -} -.message_div.message_error { - background: #f2dede; - border-color: #d33330; - color: #d33330; - -moz-box-shadow: 0px 0px 1px #d33330; - -webkit-box-shadow: 0px 0px 1px #d33330; - box-shadow: 0px 0px 1px #d33330; -} -.message_div.message_normal .message_icon { - background-position: 1px -16px; -} -.message_div.message_normal .message_close { - background-position: -1px -32px; -} -.message_div.message_success .message_icon { - background-position: -15px -16px; -} -.message_div.message_success .message_close { - background-position: -17px -32px; -} -.message_div.message_warn .message_icon { - background-position: -31px -16px; -} -.message_div.message_warn .message_close { - background-position: -33px -32px; -} -.message_div.message_error .message_icon { - background-position: -48px -16px; -} -.message_div.message_error .message_close { - background-position: -49px -32px; -} -/*slide*/ -.slide_div { - position: relative; - overflow: hidden; -} -.slide_div .slide_content { - overflow: hidden; -} -.slide_div.slide_x .slide_item { - float: left; - position: relative; - display: block; -} -.slide_div .slide_arrow { - display: none; - position: absolute; - top: 0px; - left: 0px; - z-index: 1000; - background: #000000; - opacity: 0.8; - cursor: pointer; - filter: alpha(opacity=80); - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; -} -.slide_div.slide_x .slide_arrow { - padding: 10px 5px; -} -.slide_div.slide_y .slide_arrow { - padding: 5px 10px; -} -.slide_div.slide_x .slide_arrow_icon { - width: 13px; - height: 24px; -} -.slide_div.slide_y .slide_arrow_icon { - width: 24px; - height: 13px; -} -.slide_div.slide_x .slide_arrow_prev .slide_arrow_icon { - background-position: -147px 0px; -} -.slide_div.slide_x .slide_arrow_next .slide_arrow_icon { - background-position: -129px 0px; -} -.slide_div.slide_y .slide_arrow_prev .slide_arrow_icon { - background-position: -260px -33px; -} -.slide_div.slide_y .slide_arrow_next .slide_arrow_icon { - background-position: -292px -33px; -} -.slide_div .slide_nav { - position: absolute; - z-index: 1000; -} -.slide_div.slide_x .slide_anchor_box { - padding: 10px 0px; -} -.slide_div.slide_y .slide_anchor_box { - padding: 0px 10px; -} -.slide_div.slide_x .slide_anchor_box .slide_anchor { - float: left; - margin: 0px 3px; -} -.slide_div.slide_y .slide_anchor_box .slide_anchor { - margin: 3px 0px; -} -.slide_div .slide_anchor_box .slide_anchor { - width: 10px; - height: 10px; - cursor: pointer; - background: #FFF; - border-radius: 5px; - opacity: 0.5; - filter: alpha(opacity=50); -} -.slide_div .slide_anchor_box .slide_anchor_active { - opacity: 1; - filter: alpha(opacity=100); -} -/*tab*/ -.tab_div, -.tab_div .tab_wap, -.tab_div .tab_head, -.tab_div .tab_tab { - margin: 0px; - padding: 0px; -} -.tab_div { - margin: 0px; - padding: 0px; - font-size: 13px; - overflow: hidden; -} -.tab_div .tab_head { - display: block; -} -.tab_div.tab_div_x .tab_head { - height: 35px; - border-bottom: 1px solid #CCCCCC; -} -.tab_div.tab_div_y .tab_head { - width: 150px; - float: left; - border-right: 1px solid #CCCCCC; -} -.tab_div .tab_tab { - list-style: none; - text-align: center; - font-size: 14px; - color: #000000; - padding: 0px 1em; - cursor: default; - height: 36px; - line-height: 35px; - border: 1px solid #CCC; - cursor: pointer; -} -.tab_div.tab_div_x .tab_tab { - display: inline-block; - float: left; - height: 35px; - border-bottom: 0; - margin-right: 5px; -} -.tab_div.tab_div_y .tab_tab { - display: block; - border-left: 1px solid #CCC; - border-right: 1px solid #CCC; - border-top: 1px solid #CCC; - width: 150px; - padding: 0; - border-right: 0; - margin-bottom: 5px; -} -.tab_div.tab_div_x .tab_panel { - border: 1px solid #CCC; - border-top: 0; -} -.tab_div.tab_div_y .tab_panel { - margin-left: 151px; - border: 1px solid #CCC; - border-left: 0; -} -.tab_div .tab_selected { - color: #ffffff; - background-color: #199fff; -} -.tab_div.tab_div_x .tab_selected { - border: 1px solid #199fff; - border-bottom: 0; - height: 35px; -} -.tab_div.tab_div_y .tab_selected { - border: 1px solid #199fff; - border-right: 0; - width: 150px; -} -.completeBox { - position: absolute; - z-index: 999; - background: #fff; - border: solid 1px #e0e0e2; - box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.1); - color: #1f1f1f; - font-family: 'Microsoft Yahei'; - font-size: 14px; -} -.completeBox table { - min-width: 220px; - border-collapse: collapse; -} -.completeBox tr { - cursor: pointer; -} -.completeBox tr:hover, -.completeBox .active { - background: #d9efff; -} -.completeBox td { - padding: 3px 2px 3px 5px; -} -.completeBox .avatar { - width: 30px; - height: 30px; - border-radius: 30px; - overflow: hidden; - display: block; - border: solid 1px #e0e0e2; -} -.completeBox .avatar img { - width: 30px; - height: 30px; -} -.completeBox .colum0 { - width: 30px; -} -.completeBox table strong { - color: #0da1bf; -} -.completeBox .type50, -.completeBox .type60, -.completeBox .type70 { - display: block; - width: 30px; - height: 20px; - line-height: 20px; - color: #fff; - text-align: center; - font-size: 12px; -} -.completeBox .type50 { - background: #df8226; -} -.completeBox .type60 { - background: #61629b; -} -.completeBox .type70 { - background: #1cb9dc; -} -/*resizable*/ -.ui-resizable-handle { - position: absolute; - font-size: 0.1px; - display: block; -} -.ui-resizable-disabled .ui-resizable-handle, -.ui-resizable-autohide .ui-resizable-handle { - display: none; -} -.ui-resizable-n { - cursor: n-resize; - height: 7px; - width: 100%; - top: -5px; - left: 0; -} -.ui-resizable-s { - cursor: s-resize; - height: 7px; - width: 100%; - bottom: -5px; - left: 0; -} -.ui-resizable-e { - cursor: e-resize; - width: 7px; - right: -5px; - top: 0; - height: 100%; -} -.ui-resizable-w { - cursor: w-resize; - width: 7px; - left: -5px; - top: 0; - height: 100%; -} -.ui-resizable-se { - cursor: se-resize; - width: 12px; - height: 12px; - right: 1px; - bottom: 1px; -} -.ui-resizable-sw { - cursor: sw-resize; - width: 9px; - height: 9px; - left: -5px; - bottom: -5px; -} -.ui-resizable-nw { - cursor: nw-resize; - width: 9px; - height: 9px; - left: -5px; - top: -5px; -} -.ui-resizable-ne { - cursor: ne-resize; - width: 9px; - height: 9px; - right: -5px; - top: -5px; -} -/*uploader*/ -.uploader_table { - background: #FFF; - border: 1px solid #c8c8c8; - border-bottom: 0; - border-spacing: 0; - width: 100%; - text-align: left; - font-size: 14px; -} -.uploader_table .uploader_thead .uploader_th { - background: #e8e8e8; - border-bottom: 1px solid #c8c8c8; -} -.uploader_table .uploader_progressbar_wrap .uploader_td { - position: relative; - border-bottom: 1px solid #c8c8c8; -} -.uploader_table .uploader_thead .uploader_th, -.uploader_table .uploader_wrap .uploader_td { - white-space: nowrap; - font-weight: normal; - padding: 5px 8px; -} -.uploader_table .uploader_processbar { - height: 2px; - width: 0%; - background: #53AD53; - position: absolute; - bottom: -1px; -} -.uploader_table .uploader_center { - text-align: center; -} -.uploader_table a.uploader_del_btn { - display: inline-block; - width: 16px; - height: 18px; - background-position: -98px -13px; -} +.cloudjs_icon{background-image:url(../../images/icons_new.png)}.cloudjs_btn{-moz-border-radius:3px;-webkit-border-radius:3px;border-radius:3px;padding:3px 7px;display:inline-block;font-family:Microsoft Yahei;font-size:12px;white-space:nowrap;cursor:pointer;zoom:1;*width:40px;*height:24px;*line-height:1;border:1px solid #258cd6;color:#fff;background-color:#199fff}a.cloudjs_btn{text-decoration:none}.cloudjs_btn_white{-moz-border-radius:3px;-webkit-border-radius:3px;border-radius:3px;padding:3px 7px;display:inline-block;font-family:Microsoft Yahei;font-size:12px;white-space:nowrap;cursor:pointer;zoom:1;*width:40px;*height:24px;*line-height:1;border:1px solid #999;color:#000;background-color:#fff}.cloudjs_btn:hover,.cloudjs_icon:hover{opacity:.8;filter:alpha(opacity=80)}.cloudjs_btn_white:hover{border-color:#666}.cloudjs_btn_white:disabled,.cloudjs_btn_white_disable{color:#aaa;border-color:#cfcfcf;cursor:default}.cloudjs_btn:disabled,.cloudjs_btn_disable,.cloudjs_btn_disable:hover{color:#aaa;border-color:#cfcfcf;cursor:default;background:#fff}.border,.cloudjs_input{border:1px solid #c6c6c6;box-shadow:inset 1px 2px 1px #f0f0f0}.cloudjs_input{height:25px;line-height:25px;padding:0;text-indent:5px;outline:none}.cloudjs_input:focus{border:1px solid #aaa}.tabFix{table-layout:fixed}.tabFix td{word-wrap:break-word;word-break:break-all}.fl{float:left}.fr{float:right}.blank0,.blank10,.blank20{width:100%;clear:both;font-size:0}.blank0{height:0}.blank10{height:10px}.blank20{height:20px}.paging_table .sort{cursor:pointer}.paging_table .js_up{background:#f0f1f6 url(http://3gimg.qq.com/mig_op/cloudJs/images/arrow_up.png) no-repeat 100%}.paging_table .js_down{background:#f0f1f6 url(http://3gimg.qq.com/mig_op/cloudJs/images/arrow_down.png) no-repeat 100%}.condition_table{width:100%;border-collapse:collapse;word-wrap:break-word;background:#fff}.condition_table caption,.paging_table caption{font:700 14px/20px microsoft yahei;padding:10px 15px;text-align:left;background:#dbdfeb;border:1px solid #c8c8c8;border-bottom:0}.condition_table td{line-height:20px;padding:5px 9px;border:1px solid #c8c8c8}.condition_table td.tit{background:#eee;text-align:right}.calendar_warpper{width:260px;z-index:9998;position:absolute;font-family:microsoft yahei}.calendar_panel{width:100%;background-color:#fff;border:1px solid #ccc;position:relative;top:0;z-index:2;box-shadow:0 5px 15px -5px rgba(0,0,0,.5);overflow:hidden;zoom:1}.calendar_form{text-align:center;float:left}.calendar_title{background-color:#fff;text-align:center;font-size:13px;height:30px;line-height:30px}.calendar_panel .calendar_week,.calendar_title{padding:0;margin:0}.calendar_panel span{display:inline-block;vertical-align:middle;text-decoration:none;line-height:30px;width:14.27%;height:30px}.calendar_form span{cursor:default;color:#555;font-size:12px}.calendar_title .curr_mon,.calendar_title .curr_year{font:normal 700 14px/1 microsoft yahei}.calendar_panel .calendar_next_mon,.calendar_panel .calendar_pre_mon{width:30px;height:16px;position:absolute;cursor:pointer;opacity:.6;filter:alpha(opacity=60);text-align:center;zoom:1;display:block;padding:7px 0;line-height:1;top:0}.calendar_panel i.cloudjs_icon{width:16px;height:16px;display:inline-block;vertical-align:middle}.calendar_panel .calendar_next_mon:hover,.calendar_panel .calendar_pre_mon:hover{opacity:1;filter:alpha(opacity=100)}.calendar_panel .calendar_pre_mon{left:0}.calendar_panel .calendar_pre_mon .cloudjs_icon{background-position:0 0}.calendar_panel .calendar_next_mon{right:10px}.calendar_panel .calendar_next_mon .cloudjs_icon{background-position:-16px 0}.calendar_panel .calendar_days{padding:0 5px;overflow:hidden;padding-bottom:5px}.calendar_panel .calendar_days .calendar_day{background-color:#eee;float:left;width:14.2857%;height:23px;text-decoration:none;color:#666;font-size:12px;line-height:23px;cursor:default}.calendar_panel .calendar_days .calendar_disabled,.calendar_panel .calendar_months .calendar_disabled{background-color:#fff;color:#aaa}.calendar_panel .calendar_days .calendar_today,.calendar_panel .currMonth{color:#199fff;font-weight:700}.calendar_panel .calendar_days .calendar_range{background-color:#d9efff}.calendar_months .calendar_current,.calendar_panel .calendar_days .calendar_current,.calendar_panel .calendar_days .calendar_day:hover,.calendar_panel .calendar_months .calendar_mon:hover{background-color:#199fff;color:#fff;border-radius:3px;font-weight:400}.calendar_panel .calendar_days .calendar_disabled:hover,.calendar_panel .calendar_months .calendar_disabled:hover{background-color:#fff;color:#aaa}.calendar_panel .calendar_months{padding:0 5px;padding-bottom:5px;overflow:hidden}.calendar_mon{background-color:#eee;float:left;width:25%;height:40px;text-decoration:none;color:#666;font-size:12px;line-height:40px;cursor:default}.calendar_panel .calendar_months .calendar_range{background-color:#d9efff}.calendar_panel .calendar_time_box{background:#f3f3f3;padding:5px 3px 5px 5px;overflow:hidden;clear:both;border-top:1px solid #dedede;font-size:14px;white-space:nowrap}.calendar_panel .calendar_time_box .date_input,.calendar_panel .calendar_time_box .multi_input{width:40px;height:20px;margin-right:2px;box-shadow:inset 0 2px 1px #f0f0f0;border:1px solid #ccc;line-height:20px}.calendar_panel .calendar_time_box .multi_input{width:80px}.calendar_panel .calendar_time_box .cloudjs_btn_white{float:right;margin-right:10px;width:40px}.calendar_panel .calendar_time_box .cloudjs_btn{float:right;width:40px}.calendar_panel .calendar_time_box b{font-weight:400;font-size:12px;line-height:18px;padding-right:5px}.calendar_inputs_wrap{display:inline-block;position:relative;vertical-align:middle}.calendar_icon{position:absolute;right:5px;top:6px;width:16px;height:16px;background-position:-32px 0}.combo_container{display:inline-block;position:relative;border:1px solid #c6c6c6;box-shadow:inset 1px 2px 1px #f0f0f0}.combo_container .combo_text{border:0;outline:0;height:25px;line-height:25px;padding:0 5px;box-shadow:inset 1px 2px 1px #f0f0f0}.combo_container .combo_arrow{display:inline-block;width:16px;text-align:center;background-image:none}.combo_container .combo_arrow span{display:inline-block;width:0;height:0;margin-top:3px;border:5px solid #878787;background:none;border-color:#878787 transparent transparent;vertical-align:middle}.combo_container .combo_panel{display:none;position:absolute;border:1px solid #c6c6c6;background:#fff;overflow:auto}.combo_container .combo_panel .combo_item{cursor:default;padding:0 5px;line-height:25px}.combo_container .combo_item input[type=checkbox]{margin-right:3px}.combo_container .combo_head{padding:5px 3px;background:#fff;border-bottom:1px solid #c3c3c3}.combo_container .combo_close_btn{background-repeat:no-repeat;cursor:pointer;display:block;height:20px;width:20px;float:right;background-position:-110px 2px}.combo_container .combo_panel .combo_item_selected{background-color:#199fff;color:#fff}.combo_container .combo_panel .combo_item_hover{background:#d9efff;color:#000}.combo_container .combo_panel .combo_item_disabled,.combo_disabled{color:#aaa;background-color:#eee;border-color:#ccc;cursor:not-allowed;box-shadow:0 0 0 #ddd}.combo_disabled .combo_text{cursor:not-allowed;background:#fff;color:#999}.combo_disabled .combo_arrow span{border-top-color:#ccc}div.dialog_div{word-wrap:break-word;word-break:break-all;opacity:1;filter:alpha(opacity=100);min-height:106px;position:absolute;border:1px solid #c6c6c6;background-color:#fff;-moz-box-shadow:0 0 10px #c6c6c6;-webkit-box-shadow:0 0 10px #c6c6c6;box-shadow:0 0 10px #c6c6c6;-moz-border-radius:3px;-webkit-border-radius:3px;border-radius:3px}.dialog_div .dialog_div_head{border-bottom:1px solid #efefef;height:32px;background-color:#f9f9f9}.dialog_div .dialog_div_head .dialog_div_head_title{color:#000;font-weight:400;display:block;float:left;height:32px;line-height:32px;width:70%;margin-left:10px;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;zoom:1;max-width:85%}.dialog_div .dialog_div_head .dialog_div_head_btn{margin-top:10px;background-repeat:no-repeat;cursor:pointer;display:block;height:12px;line-height:12px;width:12px;text-align:right;float:right}.dialog_div .dialog_div_head .dialog_div_head_fullscreen_btn{margin-right:10px;background-position:-98px -2px;display:none}.dialog_div .dialog_div_head .dialog_div_head_fullscreen_btn:hover{background-position:-98px -2px}.dialog_div .dialog_div_head .dialog_div_head_close_btn{margin-right:9px;background-position:-115px -2px}.dialog_div .dialog_div_head .dialog_div_head_close_btn:hover{background-position:-115px -2px}.dialog_div .dialog_div_head .dialog_div_head_backscreen_btn{margin-right:10px;background-position:-82px -2px;display:none}.dialog_div .dialog_div_head .dialog_div_head_backscreen_btn:hover{background-position:-82px -2px}.dialog_div .dialog_div_head .dialog_div_head_btn:hover{opacity:.6;filter:alpha(opacity=60)}.dialog_div .dialog_div_body{background-color:#fff;padding-top:8px;padding-left:10px;padding-right:10px;padding-bottom:8px;line-height:1.5em;overflow:auto;min-height:22px;*min-height:22px}.dialog_div .dialog_div_foot{background-color:#fff;border-top:1px solid #efefef;text-align:right;position:relative;padding-bottom:4px;padding-left:10px;min-height:26px;*min-height:26px}.dialog_div .dialog_div_foot .dialog_div_foot_button{margin-top:4px;margin-right:10px}.dialog_div_layer{width:100%;height:100%;position:fixed;background-color:#ddd;opacity:.6;filter:alpha(opacity=60);top:0;left:0}.dialog_div .dialog_div_body .dialog_div_body_textarea{font-family:microsoft yahei;*margin-left:-8px!important;*padding:0!important;background-color:#fff;overflow:auto;padding:2px 2px;margin:0;outline:none;border:1px solid #dcdcdc;resize:none;word-break:break-all;height:60px}.dialog_div .dialog_div_body .dialog_div_body_textarea_empty{border:1px solid red}.dialog_div .dialog_div_body .dialog_div_body_empty{color:red}.dialog_div .dialog_arrow,.dialog_div .dialog_arrow i{position:absolute;width:0;height:0;font-size:0;border-top-color:transparent;border-bottom-color:transparent;border-right-color:transparent;border-left-color:transparent;border-style:solid}.dialog_div .dialog_arrow{border-width:8px}.dialog_div .dialog_arrow i{border-width:6px}.dialog_div .dialog_arrow_up{bottom:-16px;left:50%;margin-left:-8px;border-top-color:#c6c6c6}.dialog_div .dialog_arrow_down{top:-16px;left:50%;margin-left:-8px;border-bottom-color:#c6c6c6}.dialog_div .dialog_arrow_left{top:50%;right:-16px;margin-top:-8px;border-left-color:#c6c6c6}.dialog_div .dialog_arrow_right{top:50%;left:-16px;margin-top:-8px;border-right-color:#c6c6c6}.dialog_div .dialog_arrow_up_left{bottom:-16px;right:7px;border-top-color:#c6c6c6}.dialog_div .dialog_arrow_up_right{bottom:-16px;left:9px;border-top-color:#c6c6c6}.dialog_div .dialog_arrow_down_left{top:-16px;right:7px;border-bottom-color:#c6c6c6}.dialog_div .dialog_arrow_down_right{top:-16px;left:9px;border-bottom-color:#c6c6c6}.dialog_div .dialog_arrow_up i,.dialog_div .dialog_arrow_up_left i,.dialog_div .dialog_arrow_up_right i{top:-8px;left:-6px;border-top-color:#fff}.dialog_div .dialog_arrow_down i,.dialog_div .dialog_arrow_down_left i,.dialog_div .dialog_arrow_down_right i{top:-4px;left:-6px;border-bottom-color:#f9f9f9}.dialog_div .dialog_arrow_right i{top:-6px;left:-4px;border-right-color:#fff}.dialog_div .dialog_arrow_left i{top:-6px;left:-8px;border-left-color:#fff}.mask_modal{height:100%;width:100%;position:fixed;top:0;left:0;z-index:10000;background:#000;opacity:.5;filter:alpha(opacity=50)}.mask_con{position:fixed;top:50%;z-index:11000;left:50%;margin-top:-54px;margin-left:-47px;text-align:center;display:inline-block}.menu_data_ul .cloudjs_icon,.menu_fixed_div .cloudjs_icon,.menu_simple_div .cloudjs_icon{width:14px;height:14px;margin:6px 6px 0 0;float:right;background-position:-65px 0}.menu_fixed_div .hover .cloudjs_icon{background-position:-9999px}.menu_simple_div .hover .cloudjs_icon{background-position:-50px 0}.menu_tree_ul{width:200px;background:#eaeaea;list-style:none;padding:10px 0}.menu_tree_ul li{line-height:30px}.menu_tree_ul a{display:block;color:#000;padding-left:1em;border-left:2px solid #eaeaea}.menu_tree_ul ul a{padding-left:3em}.menu_tree_ul ul ul a{padding-left:4em}.menu_tree_ul a.selected,.menu_tree_ul a:hover{background:#fff;color:#000;border-left:2px solid #199fff}.menu_tree_ul ul{padding:0;display:none}.menu_tree_ul li.hover ul{display:block}.menu_data_ul{padding:0;background:#eaeaea;list-style:none;border:1px solid #c6c6c6;box-shadow:inset 1px 2px 1px #f0f0f0}.menu_data_ul a{cursor:pointer;color:#000}.menu_data_ul li.hover{background:#fff}.menu_data_ul li{position:relative;height:30px;line-height:30px;padding-left:10px}.menu_data_ul ul{padding:0;position:absolute;width:150px;list-style:none;border:1px solid #c6c6c6;box-shadow:inset 1px 2px 1px #f0f0f0;background:#fff}.menu_data_ul ul li{height:29px;line-height:29px;border-bottom:1px solid #e0e0e0}.menu_data_ul ul li.hover{background:#eee}.menu_data_ul ul a{float:left}.menu_data_horizontal_ul{height:40px}.menu_data_horizontal_ul .li_level0{float:left;display:inline;border-right:1px solid #c6c6c6;padding:5px 30px}.menu_data_vertical_ul{width:100px}.menu_data_vertical_ul .li_level0{height:29px;border-bottom:1px solid #e0e0e0}.menu_fixed_div{width:180px;position:relative;height:260px}.menu_fixed_title{width:179px;padding:1px 0 1px 1px;position:absolute;top:0;left:0;font-size:14px;background:#eaeaea;margin:0;z-index:11;list-style:none}.menu_fixed_title li{padding-left:10px;height:30px;line-height:30px}.menu_fixed_title li.hover{background:#fff}.menu_fixed_title li.hover a{color:#000}.menu_fixed_title li a{float:left;color:#000}.menu_fixed_title li span{float:right;font-size:10px}.menu_fixed_hide{display:none;position:absolute;border:1px solid #eaeaea;z-index:10;background:#fff}.menu_simple_div{float:left;width:100px;position:relative}.menu_simple_title{display:block;background:#eaeaea;color:#000;height:30px;line-height:30px}.menu_simple_hide{display:none;background:#fff;position:absolute;border:1px solid #c6c6c6;border-top:0}.paging_div{height:30px;clear:both}.paging_div ul{padding:0;margin:0;float:left}.paging_div li{display:inline;float:left}.paging_div li.ellipsis{margin:0 10px 0 5px}.paging_div li a{float:left;position:relative;line-height:20px;margin-right:5px;min-width:12px;text-align:center;padding:3px 7px;display:inline-block;font-family:Microsoft Yahei;font-size:12px;white-space:nowrap;cursor:pointer;zoom:1;*width:40px;*height:24px;*line-height:1;border:1px solid #999;color:#000;background-color:#fff}.paging_div li a:focus,.paging_div li a:hover{border:1px solid #258cd6;color:#fff;background-color:#199fff}.paging_div .ellipsis{line-height:28px}.paging_div .paging_active a,.paging_div .paging_active a:focus,.paging_div .paging_active a:hover{border:1px solid #258cd6;color:#fff;background-color:#199fff;cursor:default}.paging_div .paging_disabled a,.paging_div .paging_disabled a:focus,.paging_div .paging_disabled a:hover{color:#aaa;background-color:#eee;border-color:#ccc;cursor:not-allowed;box-shadow:0 0 0 #ddd}.paging_div .paging_disabled i{opacity:.3;filter:alpha(opacity=30)}.paging_div .paging_icons{position:relative;height:20px}.paging_div .paging_icons i{position:absolute;height:16px;width:14px;top:5px;left:6px}.paging_div .prev .cloudjs_icon{background-position:0 0}.paging_div .next .cloudjs_icon{background-position:-17px 0}.paging_div .first .cloudjs_icon{background-position:0 0}.paging_div .last .cloudjs_icon{background-position:-17px 0}.paging_div .paging_div_right{float:left}.paging_div input[type=text]{width:40px;text-align:center;text-indent:0}.paging_mask{height:100%;width:100%;position:fixed;top:0;left:0;z-index:10000;background:#000;opacity:.5;filter:alpha(opacity=50)}.paging_loading{position:fixed;z-index:990001;top:50%;left:50%;margin-top:-54px;margin-left:-47px}.paging_table{width:100%;border-collapse:collapse;word-wrap:break-word;white-space:normal;word-break:break-all;background:#fff}.paging_table th{background:#f0f1f6;text-align:left}.paging_table th.sort_number,.paging_table th.sort_string{cursor:pointer}.paging_table td,.paging_table th{padding:7px 15px;border:1px solid #c8c8c8;vertical-align:top;font:normal 14px/20px microsoft yahei}.paging_table .center{text-align:center}.paging_table .integer,.paging_table .percent,.paging_table .right{text-align:right}.paging_table tbody .cursor,.paging_table tbody a{cursor:pointer;color:#199fff}.paging_table tbody .cursor:hover,.paging_table tbody a:hover{opacity:.8;filter:alpha(opacity=80)}.paging_table tbody tr:nth-child(2n) td{background:#f0f1f6}.paging_table tbody tr:hover td{background:#d9d9ef}.paging_table .paging_div{float:right}.paging_table .th_div{position:relative}.paging_table .sort_icon{position:absolute;right:-12px;top:0;width:12px}.paging_table .sort_icon i{float:left;width:12px;height:10px;cursor:pointer}.paging_table .sort_icon .down{background-position:-49px -4px}.paging_table .sort_icon .up{background-position:-66px -34px}.paging_table .sort_icon .thissort{opacity:.3;filter:alpha(opacity=30);cursor:default}.cloudjs_tips,.paging_table th .htips{padding-right:20px;background-image:url(../../images/icons_new.png);background-position:100% 100%}.tips_div{position:absolute;border:1px solid #258cd6;-moz-box-shadow:0 0 6px #258cd6;-webkit-box-shadow:0 0 6px #258cd6;box-shadow:0 0 6px #258cd6;background:#fff;color:#000}.tips_div,.tips_div .tips_content{-moz-border-radius:3px;-webkit-border-radius:3px;border-radius:3px;zoom:1;display:inline-block;*display:inline}.tips_div .tips_content{overflow:auto;word-wrap:break-word;padding:4px 8px}.tips_div .tips_arrow,.tips_div .tips_arrow i{position:absolute;width:0;height:0;font-size:0;border-width:8px;border-top-color:transparent;border-bottom-color:transparent;border-right-color:transparent;border-left-color:transparent;border-style:solid}.tips_div .tips_arrow i{border-width:8px}.tips_div .tips_arrow_up{bottom:-16px;left:50%;margin-left:-8px;border-top-color:#258cd6}.tips_div .tips_arrow_down{top:-16px;left:50%;margin-left:-8px;border-bottom-color:#258cd6}.tips_div .tips_arrow_left{top:50%;right:-16px;margin-top:-8px;border-left-color:#258cd6}.tips_div .tips_arrow_right{top:50%;left:-16px;margin-top:-8px;border-right-color:#258cd6}.tips_div .tips_arrow_down_left{top:-16px;right:8px;border-bottom-color:#258cd6}.tips_div .tips_arrow_down_right{top:-16px;left:8px;border-bottom-color:#258cd6}.tips_div .tips_arrow_up_left{bottom:-16px;right:8px;border-top-color:#258cd6}.tips_div .tips_arrow_up_right{bottom:-16px;left:8px;border-top-color:#258cd6}.tips_div .tips_arrow_up i,.tips_div .tips_arrow_up_left i,.tips_div .tips_arrow_up_right i{top:-10px;left:-8px;border-top-color:#fff}.tips_div .tips_arrow_down i,.tips_div .tips_arrow_down_left i,.tips_div .tips_arrow_down_right i{top:-6px;left:-8px;border-bottom-color:#fff}.tips_div .tips_arrow_right i{top:-8px;left:-6px;border-right-color:#fff}.tips_div .tips_arrow_left i{top:-8px;left:-10px;border-left-color:#fff}.validate_div{position:absolute;border:1px solid #d33330;background:#f2dede;-moz-border-radius:3px;-webkit-border-radius:3px;border-radius:3px;-moz-box-shadow:1px 1px 2px #aaa;-webkit-box-shadow:1px 1px 2px #aaa;box-shadow:1px 1px 2px #aaa;color:#a94442}.validate_div,.validate_div .validate_content{zoom:1;display:inline-block;*display:inline}.validate_div .validate_content{word-wrap:break-word;max-width:300px;*max-width:300px;font-size:13px;padding:4px 8px}.validate_div .validate_arrow,.validate_div .validate_arrow i{position:absolute;width:0;height:0;font-size:0;border-top-color:transparent;border-bottom-color:transparent;border-right-color:transparent;border-left-color:transparent;border-style:solid}.validate_div .validate_arrow{border-width:7px}.validate_div .validate_arrow i{border-width:6px}.validate_div .validate_arrow_down{top:-14px;left:50%;margin-left:-8px;border-bottom-color:#b2211f}.validate_div .validate_arrow_up{bottom:-14px;left:50%;margin-left:-8px;border-top-color:#b2211f}.validate_div .validate_arrow_right{top:50%;left:-14px;margin-top:-8px;border-right-color:#b2211f}.validate_div .validate_arrow_left{top:50%;right:-14px;margin-top:-8px;border-left-color:#b2211f}.validate_div .validate_arrow_down i{top:-5px;left:-6px;border-bottom-color:#f2dede}.validate_div .validate_arrow_up i{top:-7px;left:-6px;border-top-color:#f2dede}.validate_div .validate_arrow_right i{top:-6px;left:-5px;border-right-color:#f2dede}.validate_div .validate_arrow_left i{top:-6px;left:-7px;border-left-color:#f2dede}.validate_div .validate_content .validate_icon,.validate_span .validate_icon{display:inline-block;*display:inline;height:20px;width:20px;background-image:url(../../images/icons_new.png);background-position:-48px -14px;background-repeat:no-repeat;vertical-align:-4px}.validate_span{color:#a94442;font-size:13px;margin-left:10px}.progressbar_div{background-color:#f0f0f0;border:0;position:relative;text-align:center;margin-top:4px}.progressbar_div .progressbar_progress{height:100%;width:0;position:absolute;background-color:#199fff}.progressbar_div .progressbar_value{position:absolute;z-index:1;left:0;right:0;margin-left:auto;margin-right:auto;font-weight:400;top:0;bottom:0;margin-top:auto;margin-bottom:auto;height:20px}.ctab_div{margin:0;padding:0;font-size:14px;display:block}.ctab_div .ctab_wrap{height:32px;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;background-color:#efefef;border-bottom:1px solid #ccc}.ctab_div .ctab_head{overflow:hidden;margin:0;margin-right:3px;padding:0;position:relative}.ctab_div .ctab_wrap_with_icon ul.ctab_head{margin-right:29px}.ctab_div .ctab_tab{height:30px;float:left;margin:2px 0 0 5px;list-style:none;position:relative;display:inline-block;background-color:#eaeaea}.ctab_div .ctab_selected{background-color:#fff;border-top:4px solid #199fff;height:29px;line-height:29px;margin-top:0}.ctab_div .ctab_tab_inner{border-left:1px solid #ccc;border-right:1px solid #ccc;border-top:1px solid #ccc;padding:0 20px;height:100%}.ctab_div .ctab_selected .ctab_tab_inner{border-top:none}.ctab_div .ctab_close_other_icon,.ctab_div .ctab_refresh_icon,.ctab_div .ctab_tab .ctab_close_icon{position:absolute;top:0;cursor:pointer;height:16px;width:16px}.ctab_div .ctab_tab .ctab_refresh_icon{left:3px;top:7px;display:none;background-position:-111px -17px}.ctab_div .ctab_tab .ctab_close_icon{right:2px;top:9px;background-position:-114px -1px;opacity:.7;filter:alpha(opacity=70)}.ctab_div .ctab_tab .ctab_close_icon:hover{opacity:1;filter:alpha(opacity=100)}.ctab_div .ctab_selected .ctab_close_icon{top:7px}.ctab_div .ctab_title{margin:0;text-align:center;display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;line-height:30px;cursor:default;color:#000;text-decoration:none}.ctab_div .ctab_selected .ctab_title{line-height:27px}.ctab_div .ctab_selected .ctab_refresh_icon{display:block}.ctab_div .ctab_close_other_icon{right:0;top:0;width:32px;height:100%;background-color:#eaeaea}.ctab_div .ctab_close_other_icon span.ctab_icon_span{display:block;width:16px;height:16px;margin:6px auto;background-position:-111px 3px}.ctab_div .ctab_body{margin:0;overflow:hidden;border:1px solid #ccc;border-top:none}.ctab_div .ctab_body .ctab_panel{overflow:auto}.message_div{z-index:1000;overflow:hidden;padding-bottom:10px;text-align:center;margin:0;padding:6px 28px 6px 35px;opacity:0;filter:alpha(opacity=0);border:1px solid;-moz-border-radius:3px;-webkit-border-radius:3px;border-radius:3px}.message_div.message_no_left_icon{padding-left:10px}.message_div.message_no_right_icon{padding-right:10px}.message_div .message_icon{position:absolute;top:7px;left:6px;width:16px;height:16px;background-repeat:no-repeat;margin:0}.message_div .message_close{position:absolute;top:7px;right:5px;width:15px;height:15px;font-size:18px;margin:0;padding:0;font-weight:700;color:#fff;cursor:pointer}.message_div .message_close:hover{color:inherit}.message_div.message_normal{background:#eef8ff;border-color:#258cd6;color:#258cd6;-moz-box-shadow:0 0 1px #258cd6;-webkit-box-shadow:0 0 1px #258cd6;box-shadow:0 0 1px #258cd6}.message_div.message_success{background:#dff0d8;border-color:#558e26;color:#558e26;-moz-box-shadow:0 0 1px #558e26;-webkit-box-shadow:0 0 1px #558e26;box-shadow:0 0 1px #558e26}.message_div.message_warn{background:#fcf8e3;border-color:#d79b0d;color:#d79b0d;-moz-box-shadow:0 0 1px #d79b0d;-webkit-box-shadow:0 0 1px #d79b0d;box-shadow:0 0 1px #d79b0d}.message_div.message_error{background:#f2dede;border-color:#d33330;color:#d33330;-moz-box-shadow:0 0 1px #d33330;-webkit-box-shadow:0 0 1px #d33330;box-shadow:0 0 1px #d33330}.message_div.message_normal .message_icon{background-position:1px -16px}.message_div.message_normal .message_close{background-position:-1px -32px}.message_div.message_success .message_icon{background-position:-15px -16px}.message_div.message_success .message_close{background-position:-17px -32px}.message_div.message_warn .message_icon{background-position:-31px -16px}.message_div.message_warn .message_close{background-position:-33px -32px}.message_div.message_error .message_icon{background-position:-48px -16px}.message_div.message_error .message_close{background-position:-49px -32px}.slide_div{position:relative}.slide_div,.slide_div .slide_content{overflow:hidden}.slide_div.slide_x .slide_item{float:left;position:relative;display:block}.slide_div .slide_arrow{display:none;position:absolute;top:0;left:0;z-index:1000;background:#000;opacity:.8;cursor:pointer;filter:alpha(opacity=80);-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.slide_div.slide_x .slide_arrow{padding:10px 5px}.slide_div.slide_y .slide_arrow{padding:5px 10px}.slide_div.slide_x .slide_arrow_icon{width:13px;height:24px}.slide_div.slide_y .slide_arrow_icon{width:24px;height:13px}.slide_div.slide_x .slide_arrow_prev .slide_arrow_icon{background-position:-147px 0}.slide_div.slide_x .slide_arrow_next .slide_arrow_icon{background-position:-129px 0}.slide_div.slide_y .slide_arrow_prev .slide_arrow_icon{background-position:-260px -33px}.slide_div.slide_y .slide_arrow_next .slide_arrow_icon{background-position:-292px -33px}.slide_div .slide_nav{position:absolute;z-index:1000}.slide_div.slide_x .slide_anchor_box{padding:10px 0}.slide_div.slide_y .slide_anchor_box{padding:0 10px}.slide_div.slide_x .slide_anchor_box .slide_anchor{float:left;margin:0 3px}.slide_div.slide_y .slide_anchor_box .slide_anchor{margin:3px 0}.slide_div .slide_anchor_box .slide_anchor{width:10px;height:10px;cursor:pointer;background:#fff;border-radius:5px;opacity:.5;filter:alpha(opacity=50)}.slide_div .slide_anchor_box .slide_anchor_active{opacity:1;filter:alpha(opacity=100)}.tab_div,.tab_div .tab_head,.tab_div .tab_tab,.tab_div .tab_wap{margin:0;padding:0}.tab_div{font-size:13px;overflow:hidden}.tab_div .tab_head{display:block}.tab_div.tab_div_x .tab_head{height:35px;border-bottom:1px solid #ccc}.tab_div.tab_div_y .tab_head{width:150px;float:left;border-right:1px solid #ccc}.tab_div .tab_tab{list-style:none;text-align:center;font-size:14px;color:#000;padding:0 1em;cursor:default;height:36px;line-height:35px;border:1px solid #ccc;cursor:pointer}.tab_div.tab_div_x .tab_tab{display:inline-block;float:left;height:35px;border-bottom:0;margin-right:5px}.tab_div.tab_div_y .tab_tab{display:block;border-left:1px solid #ccc;border-right:1px solid #ccc;border-top:1px solid #ccc;width:150px;padding:0;border-right:0;margin-bottom:5px}.tab_div.tab_div_x .tab_panel{border:1px solid #ccc;border-top:0}.tab_div.tab_div_y .tab_panel{margin-left:151px;border:1px solid #ccc;border-left:0}.tab_div .tab_selected{color:#fff;background-color:#199fff}.tab_div.tab_div_x .tab_selected{border:1px solid #199fff;border-bottom:0;height:35px}.tab_div.tab_div_y .tab_selected{border:1px solid #199fff;border-right:0;width:150px}.completeBox{position:absolute;z-index:999;background:#fff;border:1px solid #e0e0e2;box-shadow:3px 3px 0 rgba(0,0,0,.1);color:#1f1f1f;font-family:Microsoft Yahei;font-size:14px}.completeBox table{min-width:220px;border-collapse:collapse}.completeBox tr{cursor:pointer}.completeBox .active,.completeBox tr:hover{background:#d9efff}.completeBox td{padding:3px 2px 3px 5px}.completeBox .avatar{border-radius:30px;overflow:hidden;display:block;border:1px solid #e0e0e2}.completeBox .avatar,.completeBox .avatar img{width:30px;height:30px}.completeBox .colum0{width:30px}.completeBox table strong{color:#0da1bf}.completeBox .type50,.completeBox .type60,.completeBox .type70{display:block;width:30px;height:20px;line-height:20px;color:#fff;text-align:center;font-size:12px}.completeBox .type50{background:#df8226}.completeBox .type60{background:#61629b}.completeBox .type70{background:#1cb9dc}.ui-resizable-handle{position:absolute;font-size:.1px;display:block}.ui-resizable-autohide .ui-resizable-handle,.ui-resizable-disabled .ui-resizable-handle{display:none}.ui-resizable-n{cursor:n-resize;height:7px;width:100%;top:-5px;left:0}.ui-resizable-s{cursor:s-resize;height:7px;width:100%;bottom:-5px;left:0}.ui-resizable-e{cursor:e-resize;width:7px;right:-5px;top:0;height:100%}.ui-resizable-w{cursor:w-resize;width:7px;left:-5px;top:0;height:100%}.ui-resizable-se{cursor:se-resize;width:12px;height:12px;right:1px;bottom:1px}.ui-resizable-sw{cursor:sw-resize;width:9px;height:9px;left:-5px;bottom:-5px}.ui-resizable-nw{cursor:nw-resize;width:9px;height:9px;left:-5px;top:-5px}.ui-resizable-ne{cursor:ne-resize;width:9px;height:9px;right:-5px;top:-5px}.uploader_table{background:#fff;border:1px solid #c8c8c8;border-bottom:0;border-spacing:0;width:100%;text-align:left;font-size:14px}.uploader_table .uploader_thead .uploader_th{background:#e8e8e8;border-bottom:1px solid #c8c8c8}.uploader_table .uploader_progressbar_wrap .uploader_td{position:relative;border-bottom:1px solid #c8c8c8}.uploader_table .uploader_thead .uploader_th,.uploader_table .uploader_wrap .uploader_td{white-space:nowrap;font-weight:400;padding:5px 8px}.uploader_table .uploader_processbar{height:2px;width:0;background:#53ad53;position:absolute;bottom:-1px}.uploader_table .uploader_center{text-align:center}.uploader_table a.uploader_del_btn{display:inline-block;width:16px;height:18px;background-position:-98px -13px} \ No newline at end of file diff --git a/client/dist/static/logview/Logview_files/cloudjs.js b/client/dist/static/logview/Logview_files/cloudjs.js index 53697b62..14f72c4d 100644 --- a/client/dist/static/logview/Logview_files/cloudjs.js +++ b/client/dist/static/logview/Logview_files/cloudjs.js @@ -1,1474 +1 @@ -/** - * cloudjs - * author: generzhang@tencent.com - * date: 2015-07-01 - */ -(function(global, undefined) { - - var projectName = 'cloudjs', //default name - compVerFileName = './version.js', //if has version file - compsPath = './', //relative path of project - //compsCssPath = '../css/', //the path of comp css file - compsCssPath = './', //the path of comp css file - defaultThemes = 'blue', //the default themes of comp - defaultZIndex = 1000; - - if (global[projectName]) return; - - var project, charset, remove, force, env, themes, uniq, preload, resolve, - _projectSrc, _loadedComps, _keyword, _comps, _comps_default_version, _this, _preload, _noop, _inited, _state, _args, _init, _uri, _proxy, _doc, _html, _comRes, _debug, _srcs, _toString, _aliasMap, _compEnv, - _isFun, _isArr, _isObj, _isBoo, _isStr, _isNum, _isHop, _arrPro, _loadHandler, _cacheHandler, _taskArr, _funArr, _onTaskCount, _hasTask, - _state_ = '_state_', - _args_ = '_args_', - _project_ = '_' + projectName + '_', - prejectAttr = 'data-' + projectName, - _require_ = 'require', - PRELOAD = 0, - PRELOADING = 1, - PRELOADED = 2, - LOADING = 3, - LOADED = 4, - ABSOLUTE = /^\/\/.|:\//, - ROOT = /^.*?\/\/.*?\//, - DIR = /[^?#]*\//, - DOT = /\/\.\//g, - DOUBLE_DOT = /\/[^/]+\/\.\.\//, - MULTI_SLASH = /([^:/])\/+\//g; - - _doc = global.document; - _html = _tags('html')[0]; - _toString = {}.toString; - _debug = (location.href.indexOf(_project_) > 0); - - _srcs = {}; - _args = {}; - _state = {}; - _comRes = {}; - _compEnv = {}; - _aliasMap = {}; - _loadHandler = {}; - _cacheHandler = {}; - - _isFun = function(o) { return _toString.call(o) === '[object Function]'; }; - _isArr = function(o) { return _toString.call(o) === '[object Array]'; }; - _isObj = function(o) { return _toString.call(o) === '[object Object]'; }; - _isBoo = function(o) { return _toString.call(o) === '[object Boolean]'; }; - _isStr = function(o) { return _toString.call(o) === '[object String]'; }; - _isNum = function(o) { return _toString.call(o) === '[object Number]'; }; - _isHop = function(o, p) { return o.hasOwnProperty(p); }; - _arrPro = []; - _funArr = []; - _taskArr = []; - _loadedComps = []; - - _onTaskCount = 0; - - /** - * public components - */ - _comps = { - resizable: 'resizable.css', - draggable: '', - paging: 'paging.css', - table: 'paging.css', - wsdtable: '', - cascade: '', - menu: 'menu.css', - clip: '', - cookie: '', - calendar: 'calendar.css', - monthpicker: 'calendar.css', - tab: 'tab.css', - ctab: 'ctab.css', - slide: 'slide.css', - message: 'message.css', - dialog: 'dialog.css', - tips: 'tips.css', - validate: 'validate.css', - combobox: 'combobox.css', - totop: '', - mask: 'mask.css', - calculate: '', - string: '', - userChooser: '', - newUserChooser: '', - progressbar: 'progressbar.css', - uploader: '', - pinyinspell: '' - }; - - _comps_default_version = { - resizable: '201503241433', - draggable: '201503241433', - paging: '201503241433', - table: '201503241433', - cascade: '201503241433', - menu: '201503241433', - clip: '201503241433', - cookie: '201503241433', - calendar: '201503241433', - monthpicker: '201503241433', - tab: '201503241433', - ctab: '201503241433', - slide: '201503241433', - dialog: '20150324143344', - tips: '201503241433', - validate: '201503241433', - combobox: '201503241433', - message: '201503241433', - totop: '201503241433', - calculate: '201503241433', - string: '201503241433', - progressbar: '201503241433', - uploader: '201503241433', - pinyinspell: '201503241433', - css: '201509230001' //css - }; - /** - * define keyword, developer cant't use - */ - _keyword = ['charset', 'force', 'include', 'env', 'themes', 'uniq', 'get', 'define', 'callback']; - - /** - * constructor - */ - global[projectName] = global.$[projectName] = project = function() { - var args = arguments; - - if (args.length === 0) { - _this = undefined; - } else if (typeof args[0] === 'function') { - _addTask(args[0]); - _this = undefined; - } else if (typeof jQuery !== 'undefined') { // if use jquery - _this = jQuery.apply(global, args); - } else { - _this = args[0]; - } - - return project; - }; - - _noop = function() {}; - - function _addTask(fun) { - setTimeout(function() { - _funArr.push(fun); - }); - } - - function _extend(target, source, deep) { - - var i = 1, - options; - - target = target || {}; - if (typeof source === 'undefined' || _isBoo(source)) { - return target; - } - if (!_isObj(source) && !_isFun(source)) { - source = {}; - } - - while (i <= 2) { - options = i === 1 ? target : source; - if (options != null) { - for (var name in options) { - var src = target[name], - copy = options[name]; - if (target === copy) - continue; - if (deep && copy && typeof copy === 'object' && - !copy.nodeType) - target[name] = _extend(src || - (copy.length != null ? [] : {}), copy, deep); - else if (copy !== undefined) - target[name] = copy; - } - } - i++; - } - return target; - } - - function _tags(tag) { - return _doc.getElementsByTagName(tag); - } - - - project.zIndex = function(zIndex) { - if (zIndex) { - defaultZIndex = zIndex; - } else { - defaultZIndex++; - } - return defaultZIndex; - }; - - /** - * set root path - */ - project.env = function(_env) { - var _env_ = env; - if (_env) { - env = _env.replace(/(^\s*)|(\s*$)/g, ""); - if (!_endWith('/', env)) { - env += '/'; - } - } - return _env_; - }; - - /** - * set themes - */ - project.themes = function(_themes) { - var _themes_ = themes; - if (_themes) { - themes = _themes.replace(/(^\s*)|(\s*$)/g, ""); - _changeCompThemes(); - } - return _themes_; - }; - - /** - * change comp themes - */ - // function _changeCompThemes(){ - // var reloadCss = [], css; - // for(var i=0; i<_loadedComps.length; i++){ - // if(css=_comps[_loadedComps[i]]){ - // if(!_isArr(css)){ - // css = [css]; - // } - // for(var k=0; k 1) { - _arrPro.sort.call(args, function(a, b) { return _argsSeq(b) - _argsSeq(a); }); - } - - if (!_isStr(args[1])) { - _arrPro.splice.call(args, 1, 0, ''); - } - if (!_isBoo(args[2])) { - _arrPro.splice.call(args, 2, 0, false); - } - if (!_isNum(args[3])) { - _arrPro.splice.call(args, 3, 0, 0); - } else { - args[2] = true; - } - - path = args[0]; - alias = args[1]; - _preload = args[2]; - _delay = args[3]; - - if (_isStr(path)) { - path = _js(path); - comp = path.split('/').pop().split('.js')[0]; - comp = _aliasMap[comp] = alias || comp; - _compEnv[comp] = env; - _add(comp, path); - (function(_preload, _delay, comp) { - setTimeout(function() { - _preload && preload(comp); - }, _delay); - })(_preload, _delay, comp); - } else if (path) { - project.util.error('error: path is must be string type! ' + path); - } - - return comp || ''; - }; - - /** - * when_force is true. the resource will be added at the last of document - */ - force = project.force = function(obj, comp, _force, success, fail) { - var temp, arr, call, res, items, loadFun, args = arguments; - - _init._res(); - - if (args.length > 1) { - _arrPro.sort.call(args, function(a, b) { return _argsSeq(b) - _argsSeq(a); }); - } - - if (!_isStr(args[1])) { - _arrPro.splice.call(args, 1, 0, ''); - } - if (!_isBoo(args[2])) { - _arrPro.splice.call(args, 2, 0, false); - } - if (!_isFun(args[3])) { - _arrPro.splice.call(args, 3, 0, _noop); - } - if (!_isFun(args[4])) { - _arrPro.splice.call(args, 4, 0, _noop); - } - - obj = args[0]; - comp = args[1]; - _force = args[2]; - success = args[3]; - fail = args[4]; - - if (!obj || !obj.length) { - success(); - } - - items = _getItems(obj, comp); - - loadFun = ('async' in _doc.createElement("script") || "MozAppearance" in _doc.documentElement.style || global.opera) ? _loadAsync : _loadInIE; - - loadFun(items, _force, success, fail); - }; - - function _path(url) { - var index = url.indexOf('?'); - return (index === -1) ? url : (url.substring(0, index)); - } - - function _setState(item) { - if (_state[item.name] === undefined) { - _state[item.name] = [item]; - } else { - _state[item.name].push(item); - } - } - - function _getItems(obj, comp) { - var temp, items = [], - i, len; - if (typeof obj === 'string') { - items.push({ name: _path(obj), url: obj, comp: comp }); - _setState(items[0]); - } else if (_isArr(obj)) { - obj = obj.concat(); - for (i = 0, len = obj.length; i < len; i++) { - temp = obj[i]; - temp = { name: _path(temp), url: temp, comp: comp }; - items.push(temp); - _setState(temp); - - } - } - return items; - } - - function _loadAsync(items, _force, success, fail) { - _each(items, function(item) { - _loadRes(item, _force, function() { - for (var i = 0, len = items.length; i < len; i++) { - if (!(items[i].state) || (items[i].state !== LOADED)) return; - } - success(); - }, fail); - }); - } - - function _loadInIE(items, _force, success, fail) { - var l = function() { - var len = items.length, - ok = true; - if (len === 0) return; - (function(i) { - var args = arguments, - obj = items[i]; - _loadRes(obj, _force, function() { - if (ok && obj._err) { - ok = false; - } - if (i + 1 === len) { - ok && success(); - } else { - args.callee(i + 1); - } - }, fail); - })(0); - }; - _each(items, function(item, success) { - _preLoadCache(item, _force, function() { - for (var i = 0, len = items.length; i < len; i++) { - if (!(items[i].state) || items[i].state === PRELOADING) return; - } - l(); - }); - }); - } - - function _preLoadCache(obj, _force, success, fail) { - if (_cacheHandler[obj.name] !== undefined) { - if (_cacheHandler[obj.name].length) { - obj.state = PRELOADING; - _cacheHandler[obj.name].push(success); - } else { - obj.state = PRELOADED; - success(); - } - } else { - _cacheHandler[obj.name] = [success]; - obj.state = PRELOADING; - _load({ name: obj.name, url: obj.url, type: "cache" }, function(fn) { - _dealHandler(obj, PRELOADED, _cacheHandler); - }, fail); - } - } - - function _dealHandler(obj, state, handler) { - _flagState(obj.name, state); - if (handler[obj.name] !== undefined) { - var fn; - while (fn = handler[obj.name].shift()) { - _one(fn); - } - } - } - - function _flagState(name, state) { - var objs = _state[name]; - if (objs !== undefined) { - for (var i = 0, len = objs.length; i < len; i++) { - objs[i].state = state; - } - } - } - - function _loadRes(obj, _force, success, fail) { - var suffix = obj.name.substr(obj.name.lastIndexOf('.') + 1), - arr, call; - if (_loadHandler[obj.name] !== undefined) { - if (obj.comp) { - var res = _getRes(obj.name); - _addResAttr(res, obj.comp); - _comRes[obj.comp][obj.name] = res; - } - if (_force) { - if (suffix === 'css') { - _appendCss(obj.name); - _appr(); - } else if (suffix === 'js') { - arr = _loadHandler[obj.name]; - delete _loadHandler[obj.name]; - force(obj.url, obj.comp, _force, function() { - while (arr && (call = arr.shift())) { - call(); - } - success(); - }, fail); - return; - } - } - if (_loadHandler[obj.name].length) { - obj.state = LOADING; - _loadHandler[obj.name].push(success); - } else { - obj.state = LOADED; - success(); - } - return; - } else { - _loadHandler[obj.name] = [success]; - } - - function _appr() { - obj.state = LOADING; - var res = _load(obj, function(fn) { - _dealHandler(obj, LOADED, _loadHandler); - }, fail); - if (obj.comp) { - _comRes[obj.comp] = _comRes[obj.comp] || {}; - _comRes[obj.comp][obj.name] = res; - _addResAttr(res, obj.comp); - } - } - - _appr(); - } - - function _each(arr, callback) { - for (var i = 0, l = arr.length; i < l; i++) { - callback.call(arr, arr[i], i); - } - } - - function _one(fn) { - fn = fn || _noop; - if (fn._done) { - return; - } - fn._done = 1; - fn(); - } - - function _addResAttr(res, comp) { - var attr; - if (res && comp) { - attr = res.getAttribute(prejectAttr) || '_'; - if (attr.indexOf('_' + comp + '_') < 0) { - res.setAttribute(prejectAttr, attr + comp + '_'); - } - } - } - - function _getRes(url) { - var p, re, res; - for (p in _comRes) { - if (_isHop(_comRes, p)) { - re = _comRes[p]; - if (res = re[url]) { - break; - } - } - } - return res; - } - - /** - * provide a function for user to create uuid - */ - uniq = project.uniq = function() { - var o, random = Math.random(), - date = new Date(), - ms, fmt = 'yyyyMMddHHmmss', - k; - random = ('00000' + random).replace(/\./g, ''); - random = random.substr(random.length - 5); - - o = { - "M+": date.getMonth() + 1, - "d+": date.getDate(), - "H+": date.getHours(), - "m+": date.getMinutes(), - "s+": date.getSeconds(), - "q+": Math.floor((date.getMonth() + 3) / 3), - "S": date.getMilliseconds() - }; - - if (/(y+)/.test(fmt)) { - fmt = fmt.replace(RegExp.$1, (date.getFullYear() + "").substr(4 - RegExp.$1.length)); - } - for (k in o) { - if (new RegExp("(" + k + ")").test(fmt)) { - fmt = fmt.replace(RegExp.$1, (RegExp.$1.length == 1) ? (o[k]) : (("00" + o[k]).substr(("" + o[k]).length))); - } - } - - ms = "00" + date.getMilliseconds(); - ms = ms.substr(ms.length - 3); - return fmt + ms + random; - }; - - /** - *delete resource , such as css - */ - remove = project.remove = function(comp) { - var reses = _comRes[comp] || {}, - res, attr, p, url; - - for (p in reses) { - if (_isHop(reses, p)) { - res = reses[p]; - attr = res.getAttribute(prejectAttr); - if (attr) { - attr = attr.replace(comp + '_', ''); - if (attr === '_') { - url = res.href || res.src; - if (url) { - url = url.split('?')[0]; - delete _loadHandler[url]; - try { _html.removeChild(res); } catch (e) {} - } - } else { - res.setAttribute(prejectAttr, attr); - } - } - } - } - }; - - /*** - * append css to the last of document - */ - function _appendCss(src) { - var links = _tags('link'), - target, link, href, i, len; - - for (i = 0, len = links.length; i < len; i++) { - link = links[i]; - href = link.getAttribute('href'); - if (href && href.split('?')[0] === src) { - target = link; - break; - } - } - - if (target) { - _html.appendChild(target.cloneNode(true)); - target.parentNode.removeChild(target); - return true; - } else { - return false; - } - } - - function _js(path) { - - if (!_endWith('.css', path) && path.lastIndexOf('.css?') < 0 && !_endWith('.js', path) && path.lastIndexOf('.js?') < 0) { - if (path.lastIndexOf('?') > 0) { - path = path.split('?'); - path = path[0] + '.js?' + path[1]; - } else { - path = path + '.js'; - } - } - return path; - } - - /** - * add version for require resource - */ - function _reqs(rs, c) { - - var i, len, r, v = project._comps_version ? (project._comps_version[c] || '') : '', - env = project.env(_compEnv[c]); - for (i = 0, len = rs.length; i < len; i++) { - r = resolve(rs[i], _srcs[c]); - - if (v = v || '') { - rs[i] = r.split('?')[0] + '?' + v; - } else { - rs[i] = r; - } - } - - project.env(env); - return rs; - } - - /** - * load resource js and css - */ - function _load(obj, success, fail) { - - var res, type, url = obj.url, - script, scripts = _tags('script'), - sparent; - - script = scripts[0]; - sparent = script.parentNode; - - type = url.substr(url.lastIndexOf('.') + 1).split('?')[0]; - - if (type === 'js' || obj.type === 'cache') { - res = _doc.createElement('script'); - res.src = url; - if ((type = obj.type) === 'cache') { - res._del = true; - } else { - type = 'javascript'; - } - res.type = 'text/' + type; - res.del = true; - res.defer = false; - res.async = false; - if (charset) { - res.charset = charset; - } - } else if (type === 'css') { - res = _doc.createElement('link'); - res.href = url; - res.rel = 'stylesheet'; - res.type = "text/css"; - } else { - project.util.error('error: src type is invalidate! ' + url); - } - - if (res.readyState) { - res.onreadystatechange = function() { - if (res.readyState === 'loaded' || res.readyState === 'complete') { - res.onreadystatechange = null; - if (!res._del && res.readyState !== 'complete' && res.readyState !== 'loaded') { - obj._err = true; - fail(); - } - loaded(); - } - }; - } else { - res.onload = function() { - loaded(); - }; - res.onerror = function() { - if (type === 'css') { - loaded(); - } else { - fail(); - } - }; - } - - function loaded() { - success(); - if (res._del || res.del && !_debug) { - if (type !== 'css') { - sparent.removeChild(res); - } else { - _html.removeChild(res); - } - } - } - - if (type !== 'css') { - sparent.insertBefore(res, script); - } else { - _html.appendChild(res); - } - - return res; - } - - /** - * resolve path - */ - resolve = project.resolve = function(path, _uri, isDir) { - var ret, first, m; - - if (!isDir) { - path = _js(path); - } - - first = path.charAt(0); - - if (ABSOLUTE.test(path)) { - ret = path; - } else if (first === ".") { - ret = _realpath(_uri.match(DIR)[0] + path); - } else if (first === "/") { - m = _uri.match(ROOT); - ret = m ? m[0] + path.substring(1) : path; - } else { - ret = env + path; - } - - if (ret.indexOf("//") === 0) { - ret = location.protocol + ret; - } - - return ret; - }; - - function _endWith(end, str) { - return new RegExp(end + '$').test(str); - } - - function _realpath(path) { - path = path.replace(DOT, "/"); - path = path.replace(MULTI_SLASH, "$1/"); - while (path.match(DOUBLE_DOT)) { - path = path.replace(DOUBLE_DOT, "/"); - } - return path; - } - - function _filterRes(reqs, comps) { - var i, r; - for (i = reqs.length - 1; i >= 0; i--) { - r = reqs[i]; - if (!(_endWith('.js', r) || _endWith('.css', r) || r.indexOf('.js?') >= 0 || r.indexOf('.css?') >= 0)) { - comps.unshift(reqs.splice(i, 1).pop().split('?')[0]); - } - } - return reqs; - } - - function _reqsComps(comp, comps, callback) { - var env = project.env(_compEnv[comp]), - args = [], - i, len; - for (i = 0, len = comps.length; i < len; i++) { - args.push(project.include(comps[i])); - } - project.env(env); - - args.push(function() { - callback.call(undefined, this); - }); - - project.require.apply(project, args); - - } - - function _afterTask() { - var _task; - if (!_onTaskCount && !_hasTask) { - while (_task = _funArr.shift()) { - _task.call(this); - } - } - } - - /** - * provide a function for developer to create component or module - */ - project.define = function(obj) { - var p, _fun, fun, _require = project[_require_]; - - project[_require_] = function() { - return []; - }; - - for (p in obj) { - if (_isHop(obj, p)) { - if (!fun && (!_require || p !== _require_) && p.indexOf('_') < 0) { - (function(obj) { - fun = _isFun(obj) ? obj : function() { - return obj; - }; - })(obj[p]); - delete obj[p]; - p = _aliasMap[p] || p; - (function(fun) { - _fun = obj[p] = function() { - (function(args, _t, ret, callback, _callback, reqs, comps) { - var cssReqs = [], - jsReqs = [], - req; - _onTaskCount++; - reqs = _reqs(_filterRes(fun[_require_].apply(_t, args) || [], comps = []), _fun._comp); - - while (req = reqs.shift()) { - if (project.util.isEndWith('.css', req) || req.indexOf('.css?') > 0) { - cssReqs.push(req); - } else { - jsReqs.push(req); - } - } - - if (jsReqs.length) { - force(jsReqs, _fun._comp, _css); - } else { - _css(); - } - - function _css() { - if (cssReqs.length) { - force(cssReqs, _fun._comp, _do); - (function() { - var _args = arguments; - setTimeout(function() { - if (!_do.done) { - force(cssReqs, _fun._comp, true, _do); - _args.callee(); - } - }, 500); - })(); - } else { - _do(); - } - } - - function _do() { - if (_do.done) { - return; - } - _do.done = true; - _uri = _srcs[_fun._comp]; - if (comps.length) { - _reqsComps(_fun._comp, comps, _f); - } else { - _f(); - } - - function _f(obj) { - var _lastArg = _isFun(args[args.length - 1]) ? args[args.length - 1] : _noop; - _callback = project.callback; - callback = project.callback = function() { - _lastArg.apply(this, arguments); - _onTaskCount--; - setTimeout(_afterTask); - }; - if (obj) { - _t = (_t === global || _t === undefined) ? {} : _t; - _extend(_t, obj, true); - } - (ret = fun.apply(_t, args)) !== undefined && callback.call(ret); - project.callback = _callback; - _this = undefined; - } - - } - - return _t; - })(arguments, _this); - }; - _fun._comp = p; - })(fun); - } else if (p === _require_) { - if (_isArr(obj[_require_])) { - (function() { - var args = arguments; - project[_require_] = function() { - return Array.apply(null, args); - }; - }).apply(this, obj[_require_]); - - } else if (_isStr(obj[_require_])) { - (function(arr) { - project[_require_] = function() { - return arr; - }; - })([obj[_require_]]); - } else if (_isFun(obj[_require_])) { - project[_require_] = obj[_require_]; - } - delete obj[_require_]; - } else if (p.indexOf('_') < 0) { - project.util.error('error: there at most has one name for mod/comp!'); - } - p = ''; - } - - } - - if (!_fun) { - project.util.error('error: mod/comp must has one validate name!'); - return; - } - - _fun[_require_] = fun[_require_] = project[_require_]; - - project[_require_] = _require; - - _extend(project, obj, true); - }; - - /** - * preload resource - */ - preload = project.preload = function() { - var i, len, c, args = arguments, - callback, count = 0; - - if (!_isFun(args[args.length - 1])) { - callback = _noop; - } else { - callback = _arrPro.pop.call(args); - } - - args = _arrPro.slice.call(args); - - for (i = 0, len = args.length; i < len; i++) { - if (_isStr(c = args[i])) { - (function(c) { - count++; - if (_args[c + _state_] === LOADED) { - done(); - } else { - _preload = true; - project[c](function() { - _preload = false; - done(); - }); - _preload = false; - } - })(c); - } else if (_isArr(c)) { - c.push(callback); - preload.apply(project, c); - } - } - - function done() { - if (!--count) { - setTimeout(callback); - } - } - - return project; - }; - - function _add(comp, src) { - if (_keyword[comp] === undefined) { - if (!_isFun(project[comp]) && _args[comp + _state_] === undefined) { - _args[comp + _state_] = PRELOAD; - _args[comp + _args_] = []; - _srcs[comp] = resolve(src, _uri); - project[comp] = function() { - var args = arguments, - _t = _this; - _addToLoadedComps(comp); - _hasTask = true; - if (_taskArr) { - _taskArr.push((function(_t, _preload, comp, args) { - return function() { - if (_preload) { - project.preload(comp, args[0]); - } else { - _this = _t; - project[comp].apply(project, args); - } - }; - })(_t, _preload, comp, args)); - _this = _preload = undefined; - } else if (_args[comp + _state_] === PRELOAD) { - _arrPro.push.call(args, _this); - _this = undefined; - _arrPro.push.call(args, _preload); - _args[comp + _state_] = LOADING; - _args[comp + _args_].push(args); - project.util.log(projectName + ' load: ' + comp); - project.force(_srcs[comp], comp, function() { - var compArgs = _args[comp + _args_], - i, len, comps, reqs, req = function() { return []; }; - _args[comp + _state_] = LOADED; - _hasTask = false; - setTimeout(_afterTask); - for (i = 0, len = compArgs.length; i < len; i++) { - args = compArgs[i]; - _preload = _arrPro.pop.call(args); - _this = _arrPro.pop.call(args); - if (_preload) { - reqs = _reqs(_filterRes((project[comp][_require_] || req).apply(_this, args) || [], comps = []), comp); - - function _f() { - force(reqs, comp, function() { - args[0].apply(this, arguments); - }); - } - if (comps.length) { - _uri = _srcs[comp]; - for (var j = 0, length = comps.length; j < length; j++) { - comps[j] = project.include(comps[j]); - } - preload(comps, _f); - } else { - _f.call(); - } - } else { - project[comp].apply(_this, args); - } - } - _this = _preload = undefined; - }); - } else if (_args[comp + _state_] === LOADING) { - _arrPro.push.call(args, _this); - _arrPro.push.call(args, _preload); - _args[comp + _args_].push(args); - _this = _preload = undefined; - } else if (_args[comp + _state_] === LOADED) { - _loadHandler = {}; - _args[comp + _state_] = PRELOAD; - if (_proxy !== project[comp].toString()) { - project[comp].apply(_this, args); - } else { - project.util.error('error: file ' + comp + '.js occur error'); - } - _this = _preload = undefined; - } else { - project.util.error('error: load comp/mod ' + comp + ' fail!'); - } - - return _t; - }; - - _proxy = _proxy || project[comp].toString(); - } - } else { - project.util.error('error: can not use keyword ' + comp + ' as the name of comp/mod, it has already existed!!'); - } - - } - - function _setVersion(comp, version) { - _srcs[comp] = _srcs[comp] + '?' + version; - } - - /** - * realize require - **/ - project.define({ - require: function() { - var args = arguments, - k = 0, - i = 0, - len = arguments.length, - mod, callback = project.callback, - _this = (this === global) ? undefined : this, - obj = {}, - funs = [], - backs = [], - _mod, _fun; - for (; i < len; i++) { - mod = args[i]; - _mod = [_noop]; - if (_isArr(mod)) { - _mod = mod; - mod = _mod.shift(); - !_isFun(_mod[_mod.length - 1]) && _mod.push(_noop); - } - - if (_isStr(mod) && project[mod]) { - (function(mod, back) { - _fun = funs[i] = function() { - project(_this)[mod].apply(project, arguments); - }; - _fun._args = _mod; - backs[i] = function() { - back.call(obj[mod] = this); - if (++k === len) { - callback.call(obj); - } - }; - })(mod, _mod.pop()); - } else { - project.util.error('error: need include com/mod: ' + mod); - } - } - - (function() { - var fun, args = arguments; - if (fun = funs.shift()) { - fun._args.push(function() { - backs.shift().call(this); - args.callee(); - }); - fun.apply(project, fun._args); - } - })(); - - } - }); - - function init() { - _init = { - _res: function() { - var r, n, len, s, l, scripts, links; - - if (_inited) { - return; - } - - _inited = true; - - scripts = _tags('script'); - for (n = 0, len = scripts.length; n < len; n++) { - s = scripts[n]; - if (s.src) { - r = s.src.split('?')[0]; - _loadHandler[r] = []; - } - } - links = _tags('link'); - for (n = 0, len = links.length; n < len; n++) { - l = links[n]; - if (l.href) { - r = l.href.split('?')[0]; - _loadHandler[r] = []; - } - } - }, - _keyword: function() { - var i = 0, - len = _keyword.length; - while (i < len) { - _keyword[_keyword[i]] = true; - i++; - } - }, - _uri: function() { - _uri = (!location.href || location.href.indexOf('about:') === 0) ? '' : location.href.match(DIR)[0]; - project.env(location.href.split(location.pathname)[0]); //if has comps, this will be override - }, - _main: function() { - (function(uri) { - var script = _tags('script'), - flag = true, - rs, main, require, reqs = [], - comp, path; - script = script[script.length - 1]; - _projectSrc = script.src; - main = script.getAttribute('data-main'); - require = script.getAttribute('data-require'); - path = script.getAttribute('data-path'); - themes = script.getAttribute('data-themes'); - path = path || compsPath; - themes = themes || defaultThemes; - - function d() { - if (flag && main) { - project.util.log('main ...'); - flag = false; - main = main.replace(new RegExp(';', 'gm'), ',').split(','); - for (var i = 0, len = main.length; i < len; i++) { - _uri = uri; - (rs = main[i]) && f(rs, project.include(rs)); - } - } - } - - (function() { - setTimeout(function() { - if (require) { - project.util.log('require ...'); - require = require.replace(new RegExp(';', 'gm'), ',').split(','); - for (var i = 0, len = require.length; i < len; i++) { - if (rs = require[i]) { - reqs.push(resolve(rs, uri)); - } - } - force(reqs, m); - } else { - m(); - } - }); - })(); - - (function() { - project.env(resolve(path, _projectSrc, true)); - - function _run() { - - if (_run.done) { - return; - } - _run.done = true; - - project._comps_version = _comps_default_version; - project.env(resolve(path, _projectSrc, true)); - for (var p in _comps) { - if (_isHop(_comps, p)) { - _setVersion(p, (project._comps_version[p] || '')); - } - } - - var _temp = _taskArr.concat(); - - _taskArr = null; - - for (var i = 0, len = _temp.length; i < len; i++) { - _temp[i].call(); - } - - setTimeout(_afterTask); - - _changeCompThemes(); - } - - for (var p in _comps) { - if (_isHop(_comps, p)) { - project.include(p); - } - } - - if (false && compVerFileName) { - force(resolve(compVerFileName + '?r=' + uniq(), _projectSrc), function() { - _extend(_comps_default_version, project._comps_version, true); - _run(); - }, _run); - } else { - _run(); - } - })(); - - function m() { - if (_doc.readyState === "complete") { - setTimeout(d); - } else if (_doc.addEventListener) { - _doc.addEventListener("DOMContentLoaded", d, false); - global.addEventListener("load", d, false); - } else { - _doc.attachEvent("onreadystatechange", d); - global.attachEvent("onload", d); - } - } - - function f(path, comp) { - force(resolve(path || '', _uri), function() { - if (_proxy !== project[comp].toString()) { - project[comp](); - } - }); - } - })(_uri); - //setTimeout(_afterTask); - }, - _browser: function() { - var browser = { ie: 'ie', firefox: 'firefox', chrome: 'chrome', opera: 'opera', safari: 'safari', others: 'others', type: 'others', shell: '', ver: '0', version: '0' }, - sys = {}, - ua = navigator.userAgent.toLowerCase(), - s; - - (s = ua.match(/msie ([\d.]+)/)) ? sys.ie = s[1]: - (s = ua.match(/firefox\/([\d.]+)/)) ? sys.firefox = s[1] : - (s = ua.match(/chrome\/([\d.]+)/)) ? sys.chrome = s[1] : - (s = ua.match(/opera.([\d.]+)/)) ? sys.opera = s[1] : - (s = ua.match(/version\/([\d.]+).*safari/)) ? sys.safari = s[1] : 0; - - if (sys.ie) { - browser.type = 'ie'; - } else if (sys.firefox) { - browser.type = 'firefox'; - } else if (sys.chrome) { - browser.type = 'chrome'; - } else if (sys.opera) { - browser.type = 'opera'; - } else if (sys.safari) { - browser.type = 'safari'; - } - if (browser.type !== 'others') { - browser.ver = sys[browser.type].split('.')[0]; - browser.version = sys[browser.type]; - } else { - browser.ver = ''; - browser.version = ''; - } - - browser.mode = document.documentMode || browser.ver; - - browser.shell = - (ua.indexOf('360ee') > -1) ? '360ee' : - (ua.indexOf('360se') > -1) ? '360se' : - (ua.indexOf('se') > -1) ? 'sougou' : - (ua.indexOf('aoyou') > -1) ? 'aoyou' : - (ua.indexOf('theworld') > -1) ? 'theworld' : - (ua.indexOf('worldchrome') > -1) ? 'worldchrome' : - (ua.indexOf('greenbrowser') > -1) ? 'greenbrowser' : - (ua.indexOf('qqbrowser') > -1) ? 'qqbrowser' : - (ua.indexOf('baidu') > -1) ? 'baidu' : - (ua.indexOf('liebao') > -1) ? 'liebao' : - 'unknow'; - - project.browser = browser; - } - }; - - _init._keyword(); - _init._browser(); - _init._uri(); - _init._main(); - } - - init(); - -})(this); - -(function(global, undefined) { - - var util = cloudjs.util = {}; - - util.isEndWith = function(end, str) { - return new RegExp(end + '$').test(str); - }; - - util.isStartWith = function(start, str) { - return new RegExp('^' + start).test(str); - }; - - util.indexOf = function(obj, point, fromIndex) { - var i, len; - fromIndex = fromIndex || 0; - if (typeof obj === 'string') { - return obj.indexOf(point, fromIndex); - } else { - for (i = fromIndex, len = obj.length; i < len; i++) { - if (obj[i] === point) { - return i; - } - } - return -1; - } - }; - - util.log = function() { - var _console = global.console; - try { - if (_console && _console.log && _console.log.apply) { - [].unshift.call(arguments, '[cloudjs.util.log]'); - _console.log.apply(_console, arguments); - } - } catch (e) {} - }; - - util.error = function() { - var _console = global.console; - try { - if (_console && _console.error && _console.error.apply) { - [].unshift.call(arguments, '[cloudjs.util.error]'); - _console.error.apply(_console, arguments); - } - } catch (e) {} - }; - - util.trace = function() { - var _console = global.console; - try { - if (_console && _console.trace && _console.trace.apply) { - [].unshift.call(arguments, '[cloudjs.util.trace]'); - _console.trace.apply(_console, arguments); - } - } catch (e) {} - }; - -})(this); \ No newline at end of file +(function(e,t){var n="cloudjs",r="./",o="./",i="blue",a=1e3;if(!e[n]){var c,l,s,u,f,p,h,d,m,g,v,y,b,_,x,w,O,j,E,k,A,S,M,q,T,$,C,R,I,z,L,N,H,B,D,W,F,Q,P,U,Y,G,J,K="_state_",V="_args_",X="_"+n+"_",Z="data-"+n,ee="require",te=0,ne=1,re=2,oe=3,ie=4,ae=/^\/\/.|:\//,ce=/^.*?\/\/.*?\//,le=/[^?#]*\//,se=/\/\.\//g,ue=/\/[^/]+\/\.\.\//,fe=/([^:/])\/+\//g;S=e.document,M=de("html")[0],C={}.toString,T=location.href.indexOf(X)>0,$={},j={},O={},q={},I={},R={},Q={},P={},z=function(e){return"[object Function]"===C.call(e)},L=function(e){return"[object Array]"===C.call(e)},N=function(e){return"[object Object]"===C.call(e)},H=function(e){return"[object Boolean]"===C.call(e)},B=function(e){return"[object String]"===C.call(e)},D=function(e){return"[object Number]"===C.call(e)},W=function(e,t){return e.hasOwnProperty(t)},F=[],Y=[],U=[],m=[],G=0,v={resizable:"resizable.css",draggable:"",paging:"paging.css",table:"paging.css",wsdtable:"",cascade:"",menu:"menu.css",clip:"",cookie:"",calendar:"calendar.css",monthpicker:"calendar.css",tab:"tab.css",ctab:"ctab.css",slide:"slide.css",message:"message.css",dialog:"dialog.css",tips:"tips.css",validate:"validate.css",combobox:"combobox.css",totop:"",mask:"mask.css",calculate:"",string:"",userChooser:"",newUserChooser:"",progressbar:"progressbar.css",uploader:"",pinyinspell:""},y={resizable:"201503241433",draggable:"201503241433",paging:"201503241433",table:"201503241433",cascade:"201503241433",menu:"201503241433",clip:"201503241433",cookie:"201503241433",calendar:"201503241433",monthpicker:"201503241433",tab:"201503241433",ctab:"201503241433",slide:"201503241433",dialog:"20150324143344",tips:"201503241433",validate:"201503241433",combobox:"201503241433",message:"201503241433",totop:"201503241433",calculate:"201503241433",string:"201503241433",progressbar:"201503241433",uploader:"201503241433",pinyinspell:"201503241433",css:"201509230001"},g=["charset","force","include","env","themes","uniq","get","define","callback"],e[n]=e.$[n]=c=function(){var n=arguments;return 0===n.length?b=t:"function"===typeof n[0]?(pe(n[0]),b=t):b="undefined"!==typeof jQuery?jQuery.apply(e,n):n[0],c},x=function(){},c.zIndex=function(e){return e?a=e:a++,a},c.env=function(e){var t=u;return e&&(u=e.replace(/(^\s*)|(\s*$)/g,""),Ie("/",u)||(u+="/")),t},c.themes=function(e){var t=f;return e&&(f=e.replace(/(^\s*)|(\s*$)/g,""),me()),t},c.charset=function(e){var t=l;return l=(e||l).replace(/(^\s*)|(\s*$)/g,""),t},c.include=function(){var e,t,n,r,o,i=arguments;return i.length>1&&F.sort.call(i,(function(e,t){return ve(t)-ve(e)})),B(i[1])||F.splice.call(i,1,0,""),H(i[2])||F.splice.call(i,2,0,!1),D(i[3])?i[2]=!0:F.splice.call(i,3,0,0),t=i[0],n=i[1],r=i[2],o=i[3],B(t)?(t=$e(t),e=t.split("/").pop().split(".js")[0],e=R[e]=n||e,I[e]=u,Be(e,t),function(e,t,n){setTimeout((function(){e&&p(n)}),t)}(r,o,e)):t&&c.util.error("error: path is must be string type! "+t),e||""},s=c.force=function(t,n,r,o,i){var a,c,l=arguments;E._res(),l.length>1&&F.sort.call(l,(function(e,t){return ve(t)-ve(e)})),B(l[1])||F.splice.call(l,1,0,""),H(l[2])||F.splice.call(l,2,0,!1),z(l[3])||F.splice.call(l,3,0,x),z(l[4])||F.splice.call(l,4,0,x),t=l[0],n=l[1],r=l[2],o=l[3],i=l[4],t&&t.length||o(),a=_e(t,n),c="async"in S.createElement("script")||"MozAppearance"in S.documentElement.style||e.opera?xe:we,c(a,r,o,i)},c.uniq=function(){var e,t,n,r=Math.random(),o=new Date,i="yyyyMMddHHmmss";for(n in r=("00000"+r).replace(/\./g,""),r=r.substr(r.length-5),e={"M+":o.getMonth()+1,"d+":o.getDate(),"H+":o.getHours(),"m+":o.getMinutes(),"s+":o.getSeconds(),"q+":Math.floor((o.getMonth()+3)/3),S:o.getMilliseconds()},/(y+)/.test(i)&&(i=i.replace(RegExp.$1,(o.getFullYear()+"").substr(4-RegExp.$1.length))),e)new RegExp("("+n+")").test(i)&&(i=i.replace(RegExp.$1,1==RegExp.$1.length?e[n]:("00"+e[n]).substr((""+e[n]).length)));return t="00"+o.getMilliseconds(),t=t.substr(t.length-3),i+t+r},c.remove=function(e){var t,n,r,o,i=q[e]||{};for(r in i)if(W(i,r)&&(t=i[r],n=t.getAttribute(Z),n))if(n=n.replace(e+"_",""),"_"===n){if(o=t.href||t.src,o){o=o.split("?")[0],delete Q[o];try{M.removeChild(t)}catch(a){}}}else t.setAttribute(Z,n)},h=c.resolve=function(e,t,n){var r,o,i;return n||(e=$e(e)),o=e.charAt(0),ae.test(e)?r=e:"."===o?r=ze(t.match(le)[0]+e):"/"===o?(i=t.match(ce),r=i?i[0]+e.substring(1):e):r=u+e,0===r.indexOf("//")&&(r=location.protocol+r),r},c.define=function(n){var r,o,i,a=c[ee];for(r in c[ee]=function(){return[]},n)W(n,r)&&(i||a&&r===ee||!(r.indexOf("_")<0)?r===ee?(L(n[ee])?function(){var e=arguments;c[ee]=function(){return Array.apply(null,e)}}.apply(this,n[ee]):B(n[ee])?function(e){c[ee]=function(){return e}}([n[ee]]):z(n[ee])&&(c[ee]=n[ee]),delete n[ee]):r.indexOf("_")<0&&c.util.error("error: there at most has one name for mod/comp!"):(function(e){i=z(e)?e:function(){return e}}(n[r]),delete n[r],r=R[r]||r,function(i){o=n[r]=function(){(function(n,r,a,l,u,f,p){var h,d=[],m=[];G++,f=Ce(Le(i[ee].apply(r,n)||[],p=[]),o._comp);while(h=f.shift())c.util.isEndWith(".css",h)||h.indexOf(".css?")>0?d.push(h):m.push(h);function g(){d.length?(s(d,o._comp,v),function(){var e=arguments;setTimeout((function(){v.done||(s(d,o._comp,!0,v),e.callee())}),500)}()):v()}function v(){function s(o){var s=z(n[n.length-1])?n[n.length-1]:x;u=c.callback,l=c.callback=function(){s.apply(this,arguments),G--,setTimeout(He)},o&&(r=r===e||r===t?{}:r,he(r,o,!0)),(a=i.apply(r,n))!==t&&l.call(a),c.callback=u,b=t}v.done||(v.done=!0,k=$[o._comp],p.length?Ne(o._comp,p,s):s())}m.length?s(m,o._comp,g):g()})(arguments,b)},o._comp=r}(i)),r="");o?(o[ee]=i[ee]=c[ee],c[ee]=a,he(c,n,!0)):c.util.error("error: mod/comp must has one validate name!")},p=c.preload=function(){var e,t,n,r,o=arguments,i=0;for(r=z(o[o.length-1])?F.pop.call(o):x,o=F.slice.call(o),e=0,t=o.length;e0?(e=e.split("?"),e=e[0]+".js?"+e[1]):e+=".js"),e}function Ce(e,t){var n,r,o,i=c._comps_version&&c._comps_version[t]||"",a=c.env(I[t]);for(n=0,r=e.length;n=0;n--)r=e[n],Ie(".js",r)||Ie(".css",r)||r.indexOf(".js?")>=0||r.indexOf(".css?")>=0||t.unshift(e.splice(n,1).pop().split("?")[0]);return e}function Ne(e,n,r){var o,i,a=c.env(I[e]),l=[];for(o=0,i=n.length;o-1?"360ee":r.indexOf("360se")>-1?"360se":r.indexOf("se")>-1?"sougou":r.indexOf("aoyou")>-1?"aoyou":r.indexOf("theworld")>-1?"theworld":r.indexOf("worldchrome")>-1?"worldchrome":r.indexOf("greenbrowser")>-1?"greenbrowser":r.indexOf("qqbrowser")>-1?"qqbrowser":r.indexOf("baidu")>-1?"baidu":r.indexOf("liebao")>-1?"liebao":"unknow",c.browser=t}},E._keyword(),E._browser(),E._uri(),E._main()}})(this),function(e,t){var n=cloudjs.util={};n.isEndWith=function(e,t){return new RegExp(e+"$").test(t)},n.isStartWith=function(e,t){return new RegExp("^"+e).test(t)},n.indexOf=function(e,t,n){var r,o;if(n=n||0,"string"===typeof e)return e.indexOf(t,n);for(r=n,o=e.length;r'); - }else{ - self.wrap(''); - } - } - - if(self.is('select')){ - cfg.hasDefaultValue = true; - cfg.isSelectTag = true; - cfg.checkValue = options && typeof options.checkValue !== 'undefined' ? options.checkValue : true; - self.hide(); - self.parent().append(''); - cObj.showEle = self.siblings('.combo_text'); - cObj.showEle.css({ 'width': self.outerWidth() - 28 }); - if(cfg.isMulti){ - self.prop('multiple', true); - }else{ - cfg.isMulti = self.prop('multiple'); - } - - if(!cfg.data){ //如果没有设置data,才去取select下拉列表的数据 - if(cfg.isMulti){ - cfg.defaultValue = cfg.defaultValue || (self.val() ? self.val().join(cfg.separator) : ''); - }else{ - cfg.defaultValue = cfg.defaultValue && self.find('option[value="' + cfg.defaultValue + '"]').not('.not_data').length !== 0 ? cfg.defaultValue : self.val(); - } - - cfg.data = []; - optionEles = self.find('option').not('.not_data'); - for(var i = 0; i < optionEles.length; i++){ - if(!optionEles.eq(i).attr('value')){ - cfg.placeholder = cfg.placeholder || optionEles.eq(i).text(); - continue; - } - tempObj = {}; - tempObj[cfg.comValue] = optionEles.eq(i).attr('value'); - tempObj[cfg.comText] = optionEles.eq(i).text(); - tempObj.disabled = optionEles.eq(i).prop('disabled') ? 'true' : 'false'; - cfg.data.push(tempObj); - } - } - }else{ - !self.hasClass('combo_text') && self.addClass('combo_text'); - cObj.showEle = self; - } - cObj.showEle.attr('placeholder', cfg.placeholder); - cObj.comboEle = cObj.showEle.parent().css({ 'zIndex': cloudjs.zIndex() }); - - if(cfg.showIcon){ - self.parent().append(''); - }else{ - self.parent().append(''); - } - cObj.hideEle = self.siblings('.combo_value'); - - _setDefaultValue.call(this); //设置默认值 - _bindEvent.call(this); - cObj.create(); - } - - /** - * 设置默认值 - * @param {Array} data 数据 - */ - function _setDefaultValue(data){ - var self = $(this), - cObj = this._cloudjsComboObj, - cfg = cObj.cfg, - ajaxParams, - defValue = '', - defText = ''; - - if(data){ - cfg.data = data; - } - if(cfg.hasDefaultValue){ - if(cfg.data && typeof cfg.data === 'object'){ - if(cfg.isMulti){ - cfg.defaultText = _getMultiValue.call(this, cfg.data, cfg.defaultValue); - }else{ - if($.isArray(cfg.data)){ - for(var i = 0; i < cfg.data.length; i++){ - if(cfg.defaultValue === cfg.data[i][cfg.comValue]){ - defText = cfg.data[i][cfg.comText]; - defValue = cfg.data[i][cfg.comValue]; - } - } - cfg.defaultText = defText; - cfg.defaultValue = defValue; - }else if(typeof cfg.data === 'string'){ - cfg.url = cfg.data; - } - } - cfg.defaultValue = cfg.checkValue && cfg.defaultText === '' ? '' : cfg.defaultValue; - - cObj.showEle.val(cfg.defaultText); - cObj.hideEle.val(cfg.defaultValue); - if(cfg.isRefresh && cfg.defaultValue !== cfg.selectValue && cfg.defaultValue !== (cfg.selectValue + cfg.separator)){ - cObj.select(cfg.defaultValue, cfg.defaultText); - } - - return; - } - - if(cfg.url){ - ajaxParams = _getParams.call(this); - cObj.comboEle.addClass('combo_disabled'); - _getAjaxData.call(this, _setDefaultValue, false, ajaxParams); - } - }else{ - cObj.hideEle.val(''); - } - } - - /** - * 获取默认value对于的text [多选的时候] - * @param {Json} data 数据 - * @param {String} value value字符串 - * @return {String} 返回vakye对应的text字符串 - */ - function _getMultiValue(data, value){ - var self = $(this), - cObj = this._cloudjsComboObj, - cfg = cObj.cfg, - valueArr, - textStr = ''; - cfg.defaultValue = ''; - - if(value.lastIndexOf(cfg.separator) === value.length - 1){ - value = value.substring(0, value.length - 1); - } - valueArr = value.split(cfg.separator); - - if($.isArray(data)){ - for(var i = 0; i < data.length; i++){ - for(var j = 0; j < valueArr.length; j++){ - if((cfg.separator + cfg.defaultValue).indexOf(cfg.separator + valueArr[j] + cfg.separator) === -1 && valueArr[j] === data[i][cfg.comValue]){ - cfg.defaultValue += data[i][cfg.comValue] + cfg.separator; - textStr += data[i][cfg.comText] + cfg.separator; - } - } - } - } - return textStr; - } - - /** - * 通过ajax获取数据 - * @param {Function} callback 回调函数 - * @param {Boolen} isAsync 是否异步加载 - * @param {String/Object} ajaxParams ajax参数 - */ - function _getAjaxData(callback, isAsync, ajaxParams){ - var self = this, - cObj = this._cloudjsComboObj, - cfg = cObj.cfg, - isSearch, - json; - ajaxParams = ajaxParams || ''; - isSearch = ajaxParams === '' ? false : true; - cfg.ajaxIng = true; - - $.ajax({ - url: cfg.url, - type: 'post', - dataType: 'json', - data: ajaxParams, - async: isAsync, - success: function(data){ - cfg.ajaxIng = false; - cObj.comboEle.removeClass('combo_disabled'); - - json = cfg.onAjax(data) || data; - - if(!isSearch && data && $.isArray(data) && data.length !== 0){ - cfg.data = json; - } - - callback.call(self, json, isSearch); - } - }); - } - - /** - * 改变下拉列表的值 - * @param {Object} ele 当前操作的下拉元素 - * @param {String} targetName 当前操作元素名称 - * @param {Boolean} isChangeEvent 是否触发onSelect事件,全选/取消选择时,只触发一次 - */ - function _changeSelect(ele, targetName, isChangeEvent){ - var self = $(this), - cObj = this._cloudjsComboObj, - cfg = cObj.cfg, - lastValue = $.trim(cObj.hideEle.val()), - lastText = $.trim(cObj.showEle.val()), - curValue, - textArr = lastText.split(cfg.separator), - text; - isChangeEvent = typeof isChangeEvent === 'undefined' ? true : isChangeEvent; - ele = typeof ele !== 'undefined' ? $(ele) : cObj.panelEle.find('.combo_item_hover'); - targetName = targetName || ''; - - if(targetName !== 'input'){ - if(ele.hasClass('combo_item_disabled')){ - return; - } - if(ele.find('.combo_check').prop('checked')){ - ele.find('.combo_check').prop('checked', false); - }else{ - ele.find('.combo_check').prop('checked', true); - } - }else{ - ele = ele.parent(); - } - - curValue = ele.attr('combo-value'); - text = ele.text(); - - if(!cfg.isMulti){ - ele.addClass('combo_item_selected').siblings().removeClass('combo_item_selected'); - cObj.panelEle.hide(); - cObj.close(); - }else{ - for(var i = 0; i < textArr.length; i++){ - if((',' + cfg.strData).indexOf(',' + encodeURIComponent(textArr[i]) + '^') === -1){ - textArr.splice(i, 1); - } - } - lastText = textArr.join(';'); - if(lastText !== ''){ - lastText += cfg.separator; - } - - if(ele.find('.combo_check').prop('checked')){ - ele.addClass('combo_item_selected'); - if(cfg.params){ - cfg.selectValue += curValue + cfg.separator; - cfg.selectText += text + cfg.separator; - _checkInput.call(self[0], cfg.selectText, false); - return; - } - if((cfg.separator + lastValue).indexOf(cfg.separator + curValue + cfg.separator) === -1){ - curValue = lastValue + curValue + cfg.separator; - text = lastText + text + cfg.separator; - }else{ - curValue = lastValue; - text = lastText; - } - }else{ - ele.removeClass('combo_item_selected'); - if(cfg.params){ - cfg.selectValue = (cfg.separator + cfg.selectValue).replace(cfg.separator + curValue + cfg.separator, ''); - cfg.selectText = (cfg.separator + cfg.selectText).replace(cfg.separator + text + cfg.separator, ''); - _checkInput.call(self[0], cObj.showEle.val(), false); - return; - } - curValue = (cfg.separator + lastValue).replace(cfg.separator + curValue + cfg.separator, cfg.separator).replace(cfg.separator, ''); - text = (cfg.separator + lastText).replace(cfg.separator + text + cfg.separator, cfg.separator).replace(cfg.separator, ''); - } - } - - cObj.showEle.val(text); - cObj.hideEle.val(curValue); - if(isChangeEvent && lastValue !== curValue){ //value值真正改变才触发onSelect - cObj.select(curValue, text); - } - } - - /** - * 获取数据,并生成下拉html - * @param {Object} data 下拉数据 - * @param {Boolean} isSearch 是否是搜索 - * @return {String} 生成的html - */ - function _formatDataToHtml(data, isSearch){ - var self = $(this), - cObj = this._cloudjsComboObj, - cfg = cObj.cfg, - panelHtml = '', - value, - text, - disabledStr, - isDisabled = false, - isSelected = false, - dataLen = 0, - checkStr = ''; - - cfg.lastData = data; - cfg.selectValue = cfg.isFirst && typeof cfg.selectValue === 'undefined' ? cfg.defaultValue : cfg.selectValue; - cfg.selectText = cfg.isFirst && typeof cfg.selectText === 'undefined' ? cfg.defaultText : cfg.selectText; - - if(cfg.isMulti && !isSearch && cfg.showCheckAllText){ - panelHtml += '
' + (!cfg.isCheckAll ? cfg.checkAllText : cfg.unCheckAllText) + '
'; - } - if($.isArray(data)){ - for(var i = 0; i < data.length; i++){ - value = data[i][cfg.comValue]; - text = data[i][cfg.comText]; - disabledStr = (!data[i].disabled || data[i].disabled === 'false') ? false : true; - isDisabled = false; - - if(cfg.isFirst){ - cfg.strData += encodeURIComponent(text) + '^' + encodeURIComponent(disabledStr) + '#' + encodeURIComponent(value) + ','; - } - if(data[i].disabled && data[i].disabled === 'true'){ - isDisabled = true; - } - - if(!(!cfg.showAll && i >= cfg.recordLen)){ - if(cfg.isMulti){ - isSelected = ((cfg.selectValue === value && cObj.showEle.val() !== '') || (cfg.separator + cfg.selectValue).indexOf(cfg.separator + value + cfg.separator) !== -1) ? true : false; - checkStr = ''; - panelHtml += '
' + checkStr + text + '
'; - }else{ - isSelected = (cfg.selectValue === value && cObj.showEle.val() !== '') ? true : false; - panelHtml += '
' + text + '
'; - } - } - } - } - - return panelHtml; - } - - /** - * 初始化下拉面板 - * @param {Object} data 下拉面板数据 - * @param {String} isSearch 是否是搜索 - */ - function _initSearchPanel(data, isSearch){ - var self = this, - cObj = this._cloudjsComboObj, - cfg = cObj.cfg, - isHidden, - retStr, - comboLeft = parseInt(cObj.comboEle.css('border-left-width'), 10), - comboHeight = cObj.comboEle.outerHeight() - parseInt(cObj.comboEle.css('border-bottom-width'), 10) - parseInt(cObj.comboEle.css('border-top-width'), 10), - scrollTop = $(window).scrollTop(), - comboTop = cObj.comboEle.offset().top, - screenHeight = $(window).height(); - - cObj.comboEle.css({ 'zIndex': cloudjs.zIndex() }); - - data = data || cfg.data; - cfg.width = cfg.width || cObj.comboEle.innerWidth(); - - if(cObj.comboEle.hasClass('combo_disabled') || cObj.showEle.prop('disabled')){ - return; - } - - if(cfg.isFirst){ - cObj.panelEle && cObj.panelEle.remove(); - cObj.panelEle = $('
').addClass('combo_panel').css({ 'width': cfg.width, 'max-height': cfg.height, 'top': comboHeight, 'left': -comboLeft }); - if(cfg.isMulti){ - cObj.panelEle.css({ 'min-width': '105px' }); - } - cObj.comboEle.append(cObj.panelEle); - } - isHidden = cObj.panelEle.is(':hidden'); - - if(data && typeof data !== 'string'){ - if(!isSearch && !cfg.isFirst){ - if(typeof JSON !== 'undefined'){ - if(JSON.stringify(data) === '[]'){ - return; - } - if(JSON.stringify(cfg.lastData) !== JSON.stringify(data)){ - retStr = _formatDataToHtml.call(self, data, isSearch); - if(!retStr){ - return; - } - } - }else{ - retStr = _formatDataToHtml.call(self, data, isSearch); - if(!retStr){ - return; - } - } - }else{ - retStr = _formatDataToHtml.call(self, data, isSearch); - if(!retStr){ - cObj.panelEle.hide().find('.combo_item_hover').removeClass('combo_item_hover'); - return; - } - } - cObj.panelEle.html(retStr); - - if(comboTop - scrollTop > cObj.panelEle.outerHeight() && screenHeight + scrollTop < comboHeight + comboTop + cObj.panelEle.outerHeight()){ - cObj.panelEle.css({bottom: comboHeight, top: 'auto'}); - }else{ - cObj.panelEle.css({bottom: 'auto', top: comboHeight}); - } - - cObj.comboEle.css({ 'zIndex': cloudjs.zIndex() }); - cObj.panelEle.show().unbind('click').bind('click', function(e){ - var target = e.target, - curEle; - - cfg.isSelectBlur = true; - if($(target).hasClass('combo_item')){ - _changeSelect.call(self, target, target.tagName.toLowerCase()); - }else if(target.tagName.toLowerCase() === 'input'){ - if(cfg.isMulti){ - _changeSelect.call(self, target, target.tagName.toLowerCase()); - }else{ - _changeSelect.call(self, $(target).closest('.combo_item'), $(target).closest('.combo_item')[0].tagName.toLowerCase()); - } - }else if($(target).closest('.combo_item').length !== 0){ - _changeSelect.call(self, $(target).closest('.combo_item'), $(target).closest('.combo_item')[0].tagName.toLowerCase()); - } - - e.stopPropagation(); - }).find('.combo_head').bind('mouseenter', function(e) { - cObj.panelEle.find('.combo_item').removeClass('combo_item_hover'); - }).find('.combo_check_all').unbind().bind('click', function(e){ //全选、取消选择 - if($(this).hasClass('combo_uncheck_all')){ - $(this).removeClass('combo_uncheck_all').html(cfg.checkAllText); - cObj.unCheckAll(); - cfg.isCheckAll = false; - }else{ - $(this).addClass('combo_uncheck_all').html(cfg.unCheckAllText); - cObj.checkAll(); - cfg.isCheckAll = true; - } - cObj.panelEle.find('.combo_item').not('.combo_item_disabled').each(function(i){ - var isChangeEvent = false; - $(this).find('.combo_check').prop('checked', cfg.isCheckAll); - - if(i === cObj.panelEle.find('.combo_item').not('.combo_item_disabled').length - 1){ //防止多次触发onSelect - isChangeEvent = true; - } - _changeSelect.call(self, $(this).find('.combo_check'), 'input', isChangeEvent); - }); - - e.stopPropagation(); - }).end().find('.combo_close_btn').unbind().bind('click', function(e){ - cObj.panelEle.hide(); - cObj.close(); - - e.stopPropagation(); - }); - isHidden && cObj.open(); - if(cObj.panelEle.find('.combo_item_selected').length === 0){ - cObj.panelEle.find('.combo_item:eq(0)').addClass('combo_item_hover'); - } - - cObj.panelEle.find('.combo_item').unbind().bind('mouseenter', function(){ - $(this).addClass('combo_item_hover'); - }).bind('mouseleave', function(){ - $(this).removeClass('combo_item_hover'); - }); - - cfg.isFirst = false; - return; //如果有本地数据,则即使有url,也不会去请求 - } - - if(cfg.url && !cfg.ajaxIng){ - _getAjaxData.call(self, _initSearchPanel, true); - } - } - - /** - * 验证键盘操作 - * @param {String} str 当前输入框内容 - * @return {String} 用于搜索的内容 - */ - function _checkInput(str, isSearch){ - isSearch = typeof isSearch !== 'undefined' ? isSearch : true; - var self = this, - cObj = self._cloudjsComboObj, - cfg = cObj.cfg, - strArr = str.split(cfg.separator), - lastseparator, - valueArr = cfg.selectValue.split(cfg.separator), - textArr = cfg.selectText.split(cfg.separator), - newTextArr = [], - newValueArr = [], - searchStr = strArr[strArr.length - 1], - newText = '', - newValue = '', - showText = '', - isExist; - - if(cObj.showEle.val() === ''){ - cObj.panelEle.find('.combo_item').removeClass('combo_item_selected').find('.combo_check').prop('checked', false); - newValue = ''; - showText = ''; - searchStr = ''; - }else{ - for(var i = 0; i < valueArr.length; i++){ - isExist = false; - for(var j = 0; j < strArr.length; j++){ - if(textArr[i] !== '' && textArr[i] === strArr[j] && $.inArray(textArr[i], newTextArr) === -1){ - isExist = true; - newTextArr.push(textArr[i]); - newValueArr.push(valueArr[i]); - break; - } - } - if(!isExist){ - cObj.panelEle.find('.combo_item[combo-value="' + valueArr[i] + '"]').removeClass('combo_item_selected').find('.combo_check').prop('checked', false); - } - } - newValue = newValueArr.join(cfg.separator) ? newValueArr.join(cfg.separator) + cfg.separator : ''; - if(newTextArr.length === 0){ - newText = ''; - showText = newText + searchStr; - }else{ - newText = newTextArr.join(cfg.separator); - showText = newText; - if($.inArray(searchStr, newTextArr) === -1){ - showText = newText + cfg.separator; - if(isSearch){ - showText = showText + searchStr; - } - } - newText += cfg.separator; - } - } - - cObj.showEle.val(showText); - cObj.hideEle.val(newValue); - - if(newValue !== cfg.selectValue){ - cObj.select(newValue, newText); - } - - return searchStr; - } - - /** - * 获取ajax参数 - * @param {String} searchStr 需要替换的字符串 - * @return {String/Object} 替换后的ajax参数 - */ - function _getParams(searchStr){ - var self = this, - cfg = self._cloudjsComboObj.cfg, - ajaxParams = ''; - searchStr = searchStr || ''; - if(typeof cfg.params === 'string' && cfg.params.indexOf('{%s}') !== -1){ - ajaxParams = cfg.params.replace(/{%s}/g, searchStr); - }else if($.isPlainObject(cfg.params)){ - ajaxParams = {}; - for(var key in cfg.params){ - ajaxParams[key] = cfg.params[key]; - if(cfg.params[key].indexOf('{%s}') !== -1){ - ajaxParams[key] = ajaxParams[key].replace(/{%s}/g, searchStr); - } - } - } - return ajaxParams; - } - - /** - * 创建combobox对象和其操作方法 - * @return {Object} 返回创建好的对象 - */ - function _getComboObj(){ - var comboObj = { - cfg: {}, - create: function(){ - this.cfg.onCreate.apply(this, arguments); - }, - open: function(){ - this.cfg.onOpen.apply(this, arguments); - }, - close: function(){ - this.cfg.onClose.apply(this, arguments); - this.comboEle.find('.combo_item_hover').removeClass('combo_item_hover'); - }, - checkAll: function(){ - this.cfg.onCheckAll.apply(this, arguments); - }, - unCheckAll: function(){ - this.cfg.onUnCheckAll.apply(this, arguments); - }, - select: function(value, text){ - var valueArr, - data = {}; - data[this.cfg.comValue] = value; - data[this.cfg.comText] = text; - this.cfg.onSelect.call(this, data); - this.cfg.selectValue = value; - this.cfg.selectText = text; - - if(this.cfg.isSelectTag){ - if(this.cfg.isMulti){ - valueArr = value.split(this.cfg.separator); - this.self.prop('multiple', true).find('option').not('.not_data').each(function(){ - if(!this.disabled){ - $(this).prop('selected', $.inArray(this.value, valueArr) > -1); - } - }); - }else{ - this.self.prop('multiple', false).find('option[value="' + value + '"]').not('.not_data').prop('selected', true); - } - this.self.change(); - } - }, - getValue: function(){ - var data = {}; - data[this.cfg.comValue] = $.trim(this.hideEle.val()); - data[this.cfg.comText] = $.trim(this.showEle.val()); - return data; - }, - setValue: function(value, check){ - check = typeof check !== 'undefined' ? check : false; - if(typeof value === 'number'){ - value = value.toString(); - } - if(typeof value !== 'string'){ - cloudjs.util.error('设置的value值格式不正式。'); - return; - } - - var cfg = this.cfg, - jsonData = cfg.data, - valueArr = [], - valueArrLen, - text = '', - setvalueStr, - separator = cfg.separator; - - if(cfg.isMulti){ - valueArr = value.split(separator); - } - valueArrLen = valueArr.length; - if(value.lastIndexOf(separator) !== -1 && value.lastIndexOf(separator) === value.length - 1){ - valueArrLen = valueArrLen - 1; - } - - if($.isArray(jsonData)){ - for(var i = 0; i < jsonData.length; i++){ - if(cfg.isMulti){ - for(var j = 0; j < valueArrLen; j++){ - if(jsonData[i][cfg.comValue] == valueArr[j] && jsonData[i].disabled !== 'true'){ - setvalueStr = setvalueStr || ''; - text += jsonData[i][cfg.comText] + separator; - setvalueStr += valueArr[j] + separator; - } - } - }else{ - if(jsonData[i][cfg.comValue] == value && jsonData[i].disabled !== 'true'){ - setvalueStr = value; - text = jsonData[i][cfg.comText]; - } - } - } - } - - if(value === ''){ - setvalueStr = value; - } - - if(setvalueStr || setvalueStr === '' || check){ - this.cfg.isFirst = true; - this.showEle.val(text); - this.hideEle.val(setvalueStr); - if(setvalueStr !== this.cfg.selectValue){ - this.select(setvalueStr, text); - } - if(setvalueStr === '' && this.cfg.isSelectTag && this.self.find('option[value=""]').length === 0){ - this.self.prepend(''); - } - }else{ - cloudjs.util.error('设置的value值不在下拉列表中。'); - } - }, - addData: function(data){ - var cfg = this.cfg, - jsonData = cfg.data, - extraData = [], - newData = [], - isExist = false; - if($.isArray(jsonData) && $.isArray(data)){ - for(var j = 0; j < data.length; j++){ - for(var i = 0; i < jsonData.length; i++){ - if(jsonData[i][cfg.comValue] === data[j][cfg.comValue]){ - isExist = true; - break; - } - } - !isExist && extraData.push(data[j]); - } - }else{ - cloudjs.util.error('新增数据格式不正确。'); - return; - } - - if(extraData.length !== 0){ - newData = jsonData.concat(extraData); - this.refresh({data: newData}); - } - }, - delData: function(value){ - if(typeof value !== 'string'){ - cloudjs.util.error('删除的value值格式不正式。'); - return; - } - - var jsonData = this.cfg.data, - separator = this.cfg.separator, - valueArr = value.split(separator); - - if($.isArray(jsonData)){ - for(var i = 0; i < jsonData.length; i++){ - for(var j = 0; j < valueArr.length; j++){ - if(jsonData[i][this.cfg.comValue] === valueArr[j]){ - jsonData.splice(i, 1); - i--; - } - } - } - } - - this.refresh({data: jsonData}); - }, - refresh: function(obj){ - this.cfg.isRefresh = true; - this.cfg.isFirst = true; - this.cfg.strData = ''; - - var newCfg = {}, selValue = typeof this.cfg.selectValue !== 'undefined' ? this.cfg.selectValue : this.cfg.defaultValue; - - if(obj){ - newCfg = obj; - if(!$.isPlainObject(newCfg)){ - cloudjs.util.error('刷新的数据格式不正式。'); - return; - } - this.cfg.data = newCfg.data || this.cfg.data; - this.cfg.isMulti = typeof newCfg.isMulti !== 'undefined' ? newCfg.isMulti : this.cfg.isMulti; - }else{ - if(this.cfg.isSelectTag){ - this.cfg.data = null; - this.cfg.isMulti = newCfg.isMulti = this.self.prop('multiple'); - } - } - - if(typeof newCfg.defaultValue !== 'undefined'){ - this.cfg.defaultValue = newCfg.defaultValue; - }else{ - this.cfg.defaultValue = this.hideEle.val(); - } - $.extend(this.cfg, newCfg); - _init.call(this.self[0]); - }, - disable: function(){ - this.comboEle.addClass('combo_disabled'); - this.showEle.prop('disabled', true); - }, - enable: function(){ - this.comboEle.removeClass('combo_disabled'); - this.showEle.prop('disabled', false); - } - }; - $.extend(comboObj.cfg, defaults); - comboObj.cfg.isFirst = true; - comboObj.cfg.isSelectTag = false; - comboObj.cfg.defaultText = ''; - comboObj.cfg.strData = ''; - comboObj.cfg.ajaxIng = false; - comboObj.cfg.searchTimeout = null; - comboObj.cfg.comboObj = null; - comboObj.cfg.lastData = null; - comboObj.cfg.isContextMenu = false; - comboObj.cfg.isSelectBlur = false; - comboObj.cfg.url = typeof comboObj.cfg.data === 'string' ? comboObj.cfg.data : ''; - - return comboObj; - } - - - function _bindEvent(){ - var wSefl = this, - wComboObj = wSefl._cloudjsComboObj, - wCfg = wComboObj.cfg; - - wComboObj.comboEle.unbind('click').bind('click', function(e){ - var self = $(this).children().eq(0)[0], - cObj = self._cloudjsComboObj; - - cObj.showEle.focus(); - e.stopPropagation(); - }); - - wComboObj.showEle.unbind().bind('focus', function(e){ - var self = $(this).parent().children().eq(0)[0]; - _initSearchPanel.call(self); - }).bind('click', function(e){ - e.stopPropagation(); - }).bind('keyup', function(e){ - var self = $(this).parent().children().eq(0)[0], - cObj = self._cloudjsComboObj, - cfg = cObj.cfg, - text = $.trim($(this).val()), - exg, - macthData = null, - dataArr = [], - ajaxParams, - searchFun, - tempObj; - - if(e.keyCode === 37 || e.keyCode === 38 || e.keyCode === 39 || e.keyCode === 40 || e.keyCode === 46 || e.keyCode === 13){ - return; - } - - clearTimeout(cfg.searchTimeout); //防止输入太快 - searchFun = function(){ - text = $.trim(cObj.showEle.val()); - text = cfg.isMulti ? _checkInput.call(self, text) : text; - exg = 'var exg = /[^,]*' + encodeURIComponent(text) + '[^,]*#[^,]*/gi', - eval(exg); - - if(cfg.params){ - ajaxParams = _getParams.call(self, text); - - _getAjaxData.call(self, _initSearchPanel, true, ajaxParams); - return; - } - - if(decodeURIComponent(cfg.strData).toLowerCase().indexOf(text.toLowerCase()) === -1){ - macthData = []; - }else{ - macthData = cfg.strData.match(exg); - } - if(!macthData){ - macthData = []; - } - - for(var i = 0; i < macthData.length; i++){ - tempObj = {}; - tempObj[cfg.comValue] = decodeURIComponent(macthData[i].split('#')[1]); - tempObj[cfg.comText] = decodeURIComponent(macthData[i].split('#')[0]).split('^')[0]; - tempObj.disabled = decodeURIComponent(macthData[i].split('#')[0]).split('^')[1]; - - if(tempObj[cfg.comText].toLowerCase().indexOf(text.toLowerCase()) !== -1){ - dataArr.push(tempObj); - } - } - - _initSearchPanel.call(self, dataArr, text); - }; - - cfg.searchTimeout = setTimeout(searchFun, 300); - }).bind('keydown', function(e){ - var self = $(this).parent().children().eq(0)[0], - cObj = self._cloudjsComboObj, - cfg = cObj.cfg, - panelElement = cObj.panelEle, - text = $.trim($(this).val()), - itemLen = cObj.panelEle.children().length, - hoverEle = cObj.panelEle.find('.combo_item_hover'), - curEle, - hoverIndex = hoverEle.length === 0 ? -1 : hoverEle.index(); - - cfg.isSelectBlur = false; - if(e.keyCode === 13){ - if(hoverIndex === -1){ - cObj.showEle.blur(); - return false; - } - - _changeSelect.call(self); - if(!cfg.isMulti){ - cObj.showEle.blur(); - } - return; - }else if(e.keyCode === 38){ - if(hoverIndex === -1){ - hoverIndex = itemLen - 1; - }else{ - --hoverIndex; - } - if(panelElement.children().eq(hoverIndex).hasClass('combo_head')){ - --hoverIndex; - } - - panelElement.children().removeClass('combo_item_hover'); - if(hoverIndex !== -1){ - panelElement.children().eq(hoverIndex).addClass('combo_item_hover'); - }else{ - return; - } - - //滚动条 - if(panelElement.find('.combo_item_hover').position().top > panelElement.scrollTop()){ - panelElement.scrollTop(panelElement.find('.combo_item_hover').position().top); - }else if(panelElement.find('.combo_item_hover').position().top < 0){ - panelElement.scrollTop(panelElement.scrollTop() - panelElement.find('.combo_item_hover').outerHeight()); - } - }else if(e.keyCode === 40){ - if(hoverIndex < itemLen){ - ++hoverIndex; - }else{ - hoverIndex = 0; - } - if(panelElement.children().eq(hoverIndex).hasClass('combo_head')){ - ++hoverIndex; - } - - panelElement.children().removeClass('combo_item_hover'); - if(hoverIndex !== itemLen){ - panelElement.children().eq(hoverIndex).addClass('combo_item_hover'); - }else{ - return; - } - - //滚动条 - if(panelElement.find('.combo_item_hover').position().top >= panelElement.outerHeight() - panelElement.find('.combo_item_hover').outerHeight()){ - panelElement.scrollTop(panelElement.scrollTop() + panelElement.find('.combo_item_hover').outerHeight()); - }else if(panelElement.find('.combo_item_hover').position().top < 0){ - panelElement.scrollTop(0); - } - } - }).bind('blur', function(){ - var self = $(this).parent().children().eq(0)[0], - cObj = self._cloudjsComboObj, - cfg = cObj.cfg, - text = $.trim(cObj.showEle.val()), - textIndex, - lastValue = $.trim(cObj.hideEle.val()), - lastText = cfg.selectText, - curValue = '', - curText = $.trim(cObj.showEle.val()), - valueArr = [], - valueArrLen, - arrLen; - - if(cfg.isSelectBlur){ - cfg.isSelectBlur = false; - return; - } - - if(!cfg.checkValue && !cfg.isMulti){ - if(curText !== lastText){ - curValue = curText; - if(cfg.isSelectTag){ - $(self).prepend(''); - } - }else{ - return; - } - }else{ - if(!text){ - cObj.hideEle.val(''); - if(cfg.isSelectTag && $(self).find('option[value=""]').length === 0){ - $(self).prepend(''); - } - }else{ - if(cfg.isMulti){ - valueArr = lastValue.split(cfg.separator); - valueArrLen = valueArr.length; - if(lastValue.lastIndexOf(cfg.separator) !== -1 && lastValue.lastIndexOf(cfg.separator) === lastValue.length - 1){ - valueArrLen = valueArrLen - 1; - } - - if(cfg.params){ - _checkInput.call(self, text, false); - return; - } - text = ''; - - for(var i = 0; i < valueArrLen; i++){ - if((',' + cfg.strData).indexOf('#' + encodeURIComponent(valueArr[i]) + ',') !== -1){ - arrLen = cfg.strData.split('#' + encodeURIComponent(valueArr[i]) + ',')[0].split(',').length; - if((cfg.separator + curText + cfg.separator).indexOf(cfg.separator + decodeURIComponent(cfg.strData.split('#' + encodeURIComponent(valueArr[i]) + ',')[0].split(',')[arrLen - 1].split('^')[0]) + cfg.separator) !== -1){ - text += decodeURIComponent(cfg.strData.split('#' + encodeURIComponent(valueArr[i]) + ',')[0].split(',')[arrLen - 1].split('^')[0]) + cfg.separator; - curValue += valueArr[i] + cfg.separator; - }else{ - cObj.panelEle.find('.combo_item[combo-value="' + valueArr[i] + '"] .combo_check').removeAttr('checked'); - cObj.panelEle.find('.combo_item[combo-value="' + valueArr[i] + '"]').removeClass('combo_item_selected'); - } - }else{ - cObj.panelEle.find('.combo_item[combo-value="' + valueArr[i] + '"] .combo_check').removeAttr('checked'); - cObj.panelEle.find('.combo_item[combo-value="' + valueArr[i] + '"]').removeClass('combo_item_selected'); - } - } - }else{ - textIndex = (',' + cfg.strData).indexOf(',' + encodeURIComponent(text) + '^'); - if(textIndex !== -1){ - curValue = decodeURIComponent(cfg.strData.split(encodeURIComponent(text) + '^')[1].split(',')[0].split('#')[1]); - text = cObj.showEle.val(); - }else{ - curValue = ''; - text = ''; - } - } - cObj.showEle.val(text); - } - } - - if(curValue !== lastValue){ - cObj.hideEle.val(curValue); - cObj.select(curValue, text); - } - }).bind('input', function(){ - $(this).keyup(); - }).bind('contextmenu', function(){ - wCfg.isContextMenu = true; - }); - - if('onpropertychange' in this._cloudjsComboObj.showEle[0]){ - wComboObj.showEle[0].onpropertychange = function(){ - var self = $(this).parent().children().eq(0)[0], - cObj = self._cloudjsComboObj, - cfg = cObj.cfg; - - if(cfg.isContextMenu && !cfg.isFirst){ - cObj.showEle.keyup(); - cfg.isContextMenu = false; - } - }; - } - - $('html').bind('click', function(){ - $('.combo_panel:visible').each(function(){ - var self = $(this).parent().children().eq(0)[0]; - - self._cloudjsComboObj.panelEle.hide(); - self._cloudjsComboObj.close(); - }); - }); - } - - return this; - } -}); \ No newline at end of file +cloudjs.define({combobox:function(options){var defaults={isMulti:!1,width:null,height:200,placeholder:"",separator:";",defaultValue:"",checkValue:!1,showIcon:!0,showAll:!0,recordLen:10,name:"",data:null,comValue:"value",comText:"text",checkAllText:"全选",unCheckAllText:"取消选择",showCheckAllText:!0,showCheckbox:!0,params:"",onCreate:$.noop,onAjax:$.noop,onOpen:$.noop,onClose:$.noop,onSelect:$.noop,onCheckAll:$.noop,onUnCheckAll:$.noop},_args0=options,_args1=arguments[1],_self=this;if(0!==_self.length){if(!options||$.isPlainObject(options))options&&"undefined"!==typeof options.defaultValue&&(defaults.hasDefaultValue=!0),$.extend(defaults,options);else if("string"===typeof _args0)return void("getValue"===_args0?cloudjs.callback(_self[0]._cloudjsComboObj[_args0]()):_self[0]._cloudjsComboObj&&_self[0]._cloudjsComboObj[_args0](_args1));return _self.each((function(){var e=this;e._cloudjsComboObj=e._cloudjsComboObj?$.extend(e._cloudjsComboObj,_getComboObj()):_getComboObj(),_init.call(e)})),this}function _init(){var e,t,o=$(this),a=this._cloudjsComboObj,l=a.cfg;if(a.self=o,o.hasClass("combo_text")||o.parent().hasClass("combo_container")?o.siblings().remove():o.prop("disabled")?o.wrap(''):o.wrap(''),o.is("select")){if(l.hasDefaultValue=!0,l.isSelectTag=!0,l.checkValue=!options||"undefined"===typeof options.checkValue||options.checkValue,o.hide(),o.parent().append(''),a.showEle=o.siblings(".combo_text"),a.showEle.css({width:o.outerWidth()-28}),l.isMulti?o.prop("multiple",!0):l.isMulti=o.prop("multiple"),!l.data){l.isMulti?l.defaultValue=l.defaultValue||(o.val()?o.val().join(l.separator):""):l.defaultValue=l.defaultValue&&0!==o.find('option[value="'+l.defaultValue+'"]').not(".not_data").length?l.defaultValue:o.val(),l.data=[],e=o.find("option").not(".not_data");for(var s=0;s'):o.parent().append(''),a.hideEle=o.siblings(".combo_value"),_setDefaultValue.call(this),_bindEvent.call(this),a.create()}function _setDefaultValue(e){$(this);var t,o=this._cloudjsComboObj,a=o.cfg,l="",s="";if(e&&(a.data=e),a.hasDefaultValue){if(a.data&&"object"===typeof a.data){if(a.isMulti)a.defaultText=_getMultiValue.call(this,a.data,a.defaultValue);else if($.isArray(a.data)){for(var i=0;i'+(i.isCheckAll?i.unCheckAllText:i.checkAllText)+""),$.isArray(e))for(var h=0;h=i.recordLen||(i.isMulti?(r=i.selectValue===o&&""!==s.showEle.val()||-1!==(i.separator+i.selectValue).indexOf(i.separator+o+i.separator),d='",c+='
'+d+a+"
"):(r=i.selectValue===o&&""!==s.showEle.val(),c+='
'+a+"
"));return c}function _initSearchPanel(e,t){var o,a,l=this,s=this._cloudjsComboObj,i=s.cfg,c=parseInt(s.comboEle.css("border-left-width"),10),n=s.comboEle.outerHeight()-parseInt(s.comboEle.css("border-bottom-width"),10)-parseInt(s.comboEle.css("border-top-width"),10),r=$(window).scrollTop(),d=s.comboEle.offset().top,h=$(window).height();if(s.comboEle.css({zIndex:cloudjs.zIndex()}),e=e||i.data,i.width=i.width||s.comboEle.innerWidth(),!s.comboEle.hasClass("combo_disabled")&&!s.showEle.prop("disabled")){if(i.isFirst&&(s.panelEle&&s.panelEle.remove(),s.panelEle=$("
").addClass("combo_panel").css({width:i.width,"max-height":i.height,top:n,left:-c}),i.isMulti&&s.panelEle.css({"min-width":"105px"}),s.comboEle.append(s.panelEle)),o=s.panelEle.is(":hidden"),e&&"string"!==typeof e){if(t||i.isFirst){if(a=_formatDataToHtml.call(l,e,t),!a)return void s.panelEle.hide().find(".combo_item_hover").removeClass("combo_item_hover")}else if("undefined"!==typeof JSON){if("[]"===JSON.stringify(e))return;if(JSON.stringify(i.lastData)!==JSON.stringify(e)&&(a=_formatDataToHtml.call(l,e,t),!a))return}else if(a=_formatDataToHtml.call(l,e,t),!a)return;return s.panelEle.html(a),d-r>s.panelEle.outerHeight()&&h+r-1)}))):this.self.prop("multiple",!1).find('option[value="'+e+'"]').not(".not_data").prop("selected",!0),this.self.change())},getValue:function(){var e={};return e[this.cfg.comValue]=$.trim(this.hideEle.val()),e[this.cfg.comText]=$.trim(this.showEle.val()),e},setValue:function(e,t){if(t="undefined"!==typeof t&&t,"number"===typeof e&&(e=e.toString()),"string"===typeof e){var o,a,l=this.cfg,s=l.data,i=[],c="",n=l.separator;if(l.isMulti&&(i=e.split(n)),o=i.length,-1!==e.lastIndexOf(n)&&e.lastIndexOf(n)===e.length-1&&(o-=1),$.isArray(s))for(var r=0;r')):cloudjs.util.error("设置的value值不在下拉列表中。")}else cloudjs.util.error("设置的value值格式不正式。")},addData:function(e){var t=this.cfg,o=t.data,a=[],l=[],s=!1;if($.isArray(o)&&$.isArray(e)){for(var i=0;il.scrollTop()?l.scrollTop(l.find(".combo_item_hover").position().top):l.find(".combo_item_hover").position().top<0&&l.scrollTop(l.scrollTop()-l.find(".combo_item_hover").outerHeight())}else if(40===e.keyCode){if(c=l.outerHeight()-l.find(".combo_item_hover").outerHeight()?l.scrollTop(l.scrollTop()+l.find(".combo_item_hover").outerHeight()):l.find(".combo_item_hover").position().top<0&&l.scrollTop(0)}})).bind("blur",(function(){var e,t,o,a=$(this).parent().children().eq(0)[0],l=a._cloudjsComboObj,s=l.cfg,i=$.trim(l.showEle.val()),c=$.trim(l.hideEle.val()),n=s.selectText,r="",d=$.trim(l.showEle.val()),h=[];if(s.isSelectBlur)s.isSelectBlur=!1;else{if(s.checkValue||s.isMulti)if(i){if(s.isMulti){if(h=c.split(s.separator),t=h.length,-1!==c.lastIndexOf(s.separator)&&c.lastIndexOf(s.separator)===c.length-1&&(t-=1),s.params)return void _checkInput.call(a,i,!1);i="";for(var u=0;u');else{if(d===n)return;r=d,s.isSelectTag&&$(a).prepend('")}r!==c&&(l.hideEle.val(r),l.select(r,i))}})).bind("input",(function(){$(this).keyup()})).bind("contextmenu",(function(){wCfg.isContextMenu=!0})),"onpropertychange"in this._cloudjsComboObj.showEle[0]&&(wComboObj.showEle[0].onpropertychange=function(){var e=$(this).parent().children().eq(0)[0],t=e._cloudjsComboObj,o=t.cfg;o.isContextMenu&&!o.isFirst&&(t.showEle.keyup(),o.isContextMenu=!1)}),$("html").bind("click",(function(){$(".combo_panel:visible").each((function(){var e=$(this).parent().children().eq(0)[0];e._cloudjsComboObj.panelEle.hide(),e._cloudjsComboObj.close()}))}))}cloudjs.util.error("调用combobox下拉组件失败,"+_self.selector+" 找不到相应的元素!")}}); \ No newline at end of file diff --git a/client/dist/static/logview/Logview_files/font-awesome.min.css b/client/dist/static/logview/Logview_files/font-awesome.min.css index fe726689..12bd5ebf 100644 --- a/client/dist/static/logview/Logview_files/font-awesome.min.css +++ b/client/dist/static/logview/Logview_files/font-awesome.min.css @@ -1,408 +1 @@ -@font-face{font-family:'FontAwesome';src:url('../font/fontawesome-webfont.eot?v=3.2.1');src:url('../font/fontawesome-webfont.eot?#iefix&v=3.2.1') format('embedded-opentype'),url('../font/fontawesome-webfont.woff?v=3.2.1') format('woff'),url('../font/fontawesome-webfont.ttf?v=3.2.1') format('truetype'),url('../font/fontawesome-webfont.svg#fontawesomeregular?v=3.2.1') format('svg');font-weight:normal;font-style:normal;}[class^="icon-"],[class*=" icon-"]{font-family:FontAwesome !important;font-weight:normal;font-style:normal;text-decoration:inherit;-webkit-font-smoothing:antialiased;*margin-right:.3em;color:#2d2d2d;} -[class^="icon-"]:before,[class*=" icon-"]:before{text-decoration:inherit;display:inline-block;speak:none;} -.font-blue [class^="icon-"]{color:#199fff;} -.font-purple [class^="icon-"]{color:#8058a5;} -.font-green [class^="icon-"]{color:#5eb95e;} -.font-red [class^="icon-"]{color:#dd514c;} -.font-orange [class^="icon-"]{color:#f37b1d;} -.icon-large:before{vertical-align:-10%;font-size:1.3333333333333333em;} -a [class^="icon-"],a [class*=" icon-"]{display:inline;} -[class^="icon-"].icon-fixed-width,[class*=" icon-"].icon-fixed-width{display:inline-block;width:1.1428571428571428em;text-align:right;padding-right:0.2857142857142857em;}[class^="icon-"].icon-fixed-width.icon-large,[class*=" icon-"].icon-fixed-width.icon-large{width:1.4285714285714286em;} -.icons-ul{margin-left:2.142857142857143em;list-style-type:none;}.icons-ul>li{position:relative;} -.icons-ul .icon-li{position:absolute;left:-2.142857142857143em;width:2.142857142857143em;text-align:center;line-height:inherit;} -[class^="icon-"].hide,[class*=" icon-"].hide{display:none;} -.icon-muted{color:#eeeeee;} -.icon-light{color:#ffffff;} -.icon-dark{color:#333333;} -.icon-border{border:solid 1px #eeeeee;padding:.2em .25em .15em;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px;} -.icon-2x{font-size:2em;}.icon-2x.icon-border{border-width:2px;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;} -.icon-3x{font-size:3em;}.icon-3x.icon-border{border-width:3px;-webkit-border-radius:5px;-moz-border-radius:5px;border-radius:5px;} -.icon-4x{font-size:4em;}.icon-4x.icon-border{border-width:4px;-webkit-border-radius:6px;-moz-border-radius:6px;border-radius:6px;} -.icon-5x{font-size:5em;}.icon-5x.icon-border{border-width:5px;-webkit-border-radius:7px;-moz-border-radius:7px;border-radius:7px;} -.pull-right{float:right;} -.pull-left{float:left;} -[class^="icon-"].pull-left,[class*=" icon-"].pull-left{margin-right:.3em;} -[class^="icon-"].pull-right,[class*=" icon-"].pull-right{margin-left:.3em;} -[class^="icon-"],[class*=" icon-"]{display:inline;width:auto;height:auto;line-height:normal;vertical-align:baseline;background-image:none;background-position:0% 0%;background-repeat:repeat;margin-top:0;} -.icon-white,.nav-pills>.active>a>[class^="icon-"],.nav-pills>.active>a>[class*=" icon-"],.nav-list>.active>a>[class^="icon-"],.nav-list>.active>a>[class*=" icon-"],.navbar-inverse .nav>.active>a>[class^="icon-"],.navbar-inverse .nav>.active>a>[class*=" icon-"],.dropdown-menu>li>a:hover>[class^="icon-"],.dropdown-menu>li>a:hover>[class*=" icon-"],.dropdown-menu>.active>a>[class^="icon-"],.dropdown-menu>.active>a>[class*=" icon-"],.dropdown-submenu:hover>a>[class^="icon-"],.dropdown-submenu:hover>a>[class*=" icon-"]{background-image:none;} -.btn [class^="icon-"].icon-large,.nav [class^="icon-"].icon-large,.btn [class*=" icon-"].icon-large,.nav [class*=" icon-"].icon-large{line-height:.9em;} -.btn [class^="icon-"].icon-spin,.nav [class^="icon-"].icon-spin,.btn [class*=" icon-"].icon-spin,.nav [class*=" icon-"].icon-spin{display:inline-block;} -.nav-tabs [class^="icon-"],.nav-pills [class^="icon-"],.nav-tabs [class*=" icon-"],.nav-pills [class*=" icon-"],.nav-tabs [class^="icon-"].icon-large,.nav-pills [class^="icon-"].icon-large,.nav-tabs [class*=" icon-"].icon-large,.nav-pills [class*=" icon-"].icon-large{line-height:.9em;} -.btn [class^="icon-"].pull-left.icon-2x,.btn [class*=" icon-"].pull-left.icon-2x,.btn [class^="icon-"].pull-right.icon-2x,.btn [class*=" icon-"].pull-right.icon-2x{margin-top:.18em;} -.btn [class^="icon-"].icon-spin.icon-large,.btn [class*=" icon-"].icon-spin.icon-large{line-height:.8em;} -.btn.btn-small [class^="icon-"].pull-left.icon-2x,.btn.btn-small [class*=" icon-"].pull-left.icon-2x,.btn.btn-small [class^="icon-"].pull-right.icon-2x,.btn.btn-small [class*=" icon-"].pull-right.icon-2x{margin-top:.25em;} -.btn.btn-large [class^="icon-"],.btn.btn-large [class*=" icon-"]{margin-top:0;}.btn.btn-large [class^="icon-"].pull-left.icon-2x,.btn.btn-large [class*=" icon-"].pull-left.icon-2x,.btn.btn-large [class^="icon-"].pull-right.icon-2x,.btn.btn-large [class*=" icon-"].pull-right.icon-2x{margin-top:.05em;} -.btn.btn-large [class^="icon-"].pull-left.icon-2x,.btn.btn-large [class*=" icon-"].pull-left.icon-2x{margin-right:.2em;} -.btn.btn-large [class^="icon-"].pull-right.icon-2x,.btn.btn-large [class*=" icon-"].pull-right.icon-2x{margin-left:.2em;} -.nav-list [class^="icon-"],.nav-list [class*=" icon-"]{line-height:inherit;} -.icon-stack{position:relative;display:inline-block;width:2em;height:2em;line-height:2em;vertical-align:-35%;}.icon-stack [class^="icon-"],.icon-stack [class*=" icon-"]{display:block;text-align:center;position:absolute;width:100%;height:100%;font-size:1em;line-height:inherit;*line-height:2em;} -.icon-stack .icon-stack-base{font-size:2em;*line-height:1em;} -.icon-spin{display:inline-block;-moz-animation:spin 2s infinite linear;-o-animation:spin 2s infinite linear;-webkit-animation:spin 2s infinite linear;animation:spin 2s infinite linear;} -a .icon-stack,a .icon-spin{display:inline-block;text-decoration:none;} -@-moz-keyframes spin{0%{-moz-transform:rotate(0deg);} 100%{-moz-transform:rotate(359deg);}}@-webkit-keyframes spin{0%{-webkit-transform:rotate(0deg);} 100%{-webkit-transform:rotate(359deg);}}@-o-keyframes spin{0%{-o-transform:rotate(0deg);} 100%{-o-transform:rotate(359deg);}}@-ms-keyframes spin{0%{-ms-transform:rotate(0deg);} 100%{-ms-transform:rotate(359deg);}}@keyframes spin{0%{transform:rotate(0deg);} 100%{transform:rotate(359deg);}}.icon-rotate-90:before{-webkit-transform:rotate(90deg);-moz-transform:rotate(90deg);-ms-transform:rotate(90deg);-o-transform:rotate(90deg);transform:rotate(90deg);filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=1);} -.icon-rotate-180:before{-webkit-transform:rotate(180deg);-moz-transform:rotate(180deg);-ms-transform:rotate(180deg);-o-transform:rotate(180deg);transform:rotate(180deg);filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=2);} -.icon-rotate-270:before{-webkit-transform:rotate(270deg);-moz-transform:rotate(270deg);-ms-transform:rotate(270deg);-o-transform:rotate(270deg);transform:rotate(270deg);filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=3);} -.icon-flip-horizontal:before{-webkit-transform:scale(-1, 1);-moz-transform:scale(-1, 1);-ms-transform:scale(-1, 1);-o-transform:scale(-1, 1);transform:scale(-1, 1);} -.icon-flip-vertical:before{-webkit-transform:scale(1, -1);-moz-transform:scale(1, -1);-ms-transform:scale(1, -1);-o-transform:scale(1, -1);transform:scale(1, -1);} -a .icon-rotate-90:before,a .icon-rotate-180:before,a .icon-rotate-270:before,a .icon-flip-horizontal:before,a .icon-flip-vertical:before{display:inline-block;} -.icon-glass:before{content:"\f000";} -.icon-music:before{content:"\f001";} -.icon-search:before{content:"\f002";} -.icon-envelope-alt:before{content:"\f003";} -.icon-heart:before{content:"\f004";} -.icon-star:before{content:"\f005";} -.icon-star-empty:before{content:"\f006";} -.icon-user:before{content:"\f007";} -.icon-film:before{content:"\f008";} -.icon-th-large:before{content:"\f009";} -.icon-th:before{content:"\f00a";} -.icon-th-list:before{content:"\f00b";} -.icon-ok:before{content:"\f00c";} -.icon-remove:before{content:"\f00d";} -.icon-zoom-in:before{content:"\f00e";} -.icon-zoom-out:before{content:"\f010";} -.icon-power-off:before,.icon-off:before{content:"\f011";} -.icon-signal:before{content:"\f012";} -.icon-gear:before,.icon-cog:before{content:"\f013";} -.icon-trash:before{content:"\f014";} -.icon-home:before{content:"\f015";} -.icon-file-alt:before{content:"\f016";} -.icon-time:before{content:"\f017";} -.icon-road:before{content:"\f018";} -.icon-download-alt:before{content:"\f019";} -.icon-download:before{content:"\f01a";} -.icon-upload:before{content:"\f01b";} -.icon-inbox:before{content:"\f01c";} -.icon-play-circle:before{content:"\f01d";} -.icon-rotate-right:before,.icon-repeat:before{content:"\f01e";} -.icon-refresh:before{content:"\f021";} -.icon-list-alt:before{content:"\f022";} -.icon-lock:before{content:"\f023";} -.icon-flag:before{content:"\f024";} -.icon-headphones:before{content:"\f025";} -.icon-volume-off:before{content:"\f026";} -.icon-volume-down:before{content:"\f027";} -.icon-volume-up:before{content:"\f028";} -.icon-qrcode:before{content:"\f029";} -.icon-barcode:before{content:"\f02a";} -.icon-tag:before{content:"\f02b";} -.icon-tags:before{content:"\f02c";} -.icon-book:before{content:"\f02d";} -.icon-bookmark:before{content:"\f02e";} -.icon-print:before{content:"\f02f";} -.icon-camera:before{content:"\f030";} -.icon-font:before{content:"\f031";} -.icon-bold:before{content:"\f032";} -.icon-italic:before{content:"\f033";} -.icon-text-height:before{content:"\f034";} -.icon-text-width:before{content:"\f035";} -.icon-align-left:before{content:"\f036";} -.icon-align-center:before{content:"\f037";} -.icon-align-right:before{content:"\f038";} -.icon-align-justify:before{content:"\f039";} -.icon-list:before{content:"\f03a";} -.icon-indent-left:before{content:"\f03b";} -.icon-indent-right:before{content:"\f03c";} -.icon-facetime-video:before{content:"\f03d";} -.icon-picture:before{content:"\f03e";} -.icon-pencil:before{content:"\f040";} -.icon-map-marker:before{content:"\f041";} -.icon-adjust:before{content:"\f042";} -.icon-tint:before{content:"\f043";} -.icon-edit:before{content:"\f044";} -.icon-share:before{content:"\f045";} -.icon-check:before{content:"\f046";} -.icon-move:before{content:"\f047";} -.icon-step-backward:before{content:"\f048";} -.icon-fast-backward:before{content:"\f049";} -.icon-backward:before{content:"\f04a";} -.icon-play:before{content:"\f04b";} -.icon-pause:before{content:"\f04c";} -.icon-stop:before{content:"\f04d";} -.icon-forward:before{content:"\f04e";} -.icon-fast-forward:before{content:"\f050";} -.icon-step-forward:before{content:"\f051";} -.icon-eject:before{content:"\f052";} -.icon-chevron-left:before{content:"\f053";} -.icon-chevron-right:before{content:"\f054";} -.icon-plus-sign:before{content:"\f055";} -.icon-minus-sign:before{content:"\f056";} -.icon-remove-sign:before{content:"\f057";} -.icon-ok-sign:before{content:"\f058";} -.icon-question-sign:before{content:"\f059";} -.icon-info-sign:before{content:"\f05a";} -.icon-screenshot:before{content:"\f05b";} -.icon-remove-circle:before{content:"\f05c";} -.icon-ok-circle:before{content:"\f05d";} -.icon-ban-circle:before{content:"\f05e";} -.icon-arrow-left:before{content:"\f060";} -.icon-arrow-right:before{content:"\f061";} -.icon-arrow-up:before{content:"\f062";} -.icon-arrow-down:before{content:"\f063";} -.icon-mail-forward:before,.icon-share-alt:before{content:"\f064";} -.icon-resize-full:before{content:"\f065";} -.icon-resize-small:before{content:"\f066";} -.icon-plus:before{content:"\f067";} -.icon-minus:before{content:"\f068";} -.icon-asterisk:before{content:"\f069";} -.icon-exclamation-sign:before{content:"\f06a";} -.icon-gift:before{content:"\f06b";} -.icon-leaf:before{content:"\f06c";} -.icon-fire:before{content:"\f06d";} -.icon-eye-open:before{content:"\f06e";} -.icon-eye-close:before{content:"\f070";} -.icon-warning-sign:before{content:"\f071";} -.icon-plane:before{content:"\f072";} -.icon-calendar:before{content:"\f073";} -.icon-random:before{content:"\f074";} -.icon-comment:before{content:"\f075";} -.icon-magnet:before{content:"\f076";} -.icon-chevron-up:before{content:"\f077";} -.icon-chevron-down:before{content:"\f078";} -.icon-retweet:before{content:"\f079";} -.icon-shopping-cart:before{content:"\f07a";} -.icon-folder-close:before{content:"\f07b";} -.icon-folder-open:before{content:"\f07c";} -.icon-resize-vertical:before{content:"\f07d";} -.icon-resize-horizontal:before{content:"\f07e";} -.icon-bar-chart:before{content:"\f080";} -.icon-twitter-sign:before{content:"\f081";} -.icon-facebook-sign:before{content:"\f082";} -.icon-camera-retro:before{content:"\f083";} -.icon-key:before{content:"\f084";} -.icon-gears:before,.icon-cogs:before{content:"\f085";} -.icon-comments:before{content:"\f086";} -.icon-thumbs-up-alt:before{content:"\f087";} -.icon-thumbs-down-alt:before{content:"\f088";} -.icon-star-half:before{content:"\f089";} -.icon-heart-empty:before{content:"\f08a";} -.icon-signout:before{content:"\f08b";} -.icon-linkedin-sign:before{content:"\f08c";} -.icon-pushpin:before{content:"\f08d";} -.icon-external-link:before{content:"\f08e";} -.icon-signin:before{content:"\f090";} -.icon-trophy:before{content:"\f091";} -.icon-github-sign:before{content:"\f092";} -.icon-upload-alt:before{content:"\f093";} -.icon-lemon:before{content:"\f094";} -.icon-phone:before{content:"\f095";} -.icon-unchecked:before,.icon-check-empty:before{content:"\f096";} -.icon-bookmark-empty:before{content:"\f097";} -.icon-phone-sign:before{content:"\f098";} -.icon-twitter:before{content:"\f099";} -.icon-facebook:before{content:"\f09a";} -.icon-github:before{content:"\f09b";} -.icon-unlock:before{content:"\f09c";} -.icon-credit-card:before{content:"\f09d";} -.icon-rss:before{content:"\f09e";} -.icon-hdd:before{content:"\f0a0";} -.icon-bullhorn:before{content:"\f0a1";} -.icon-bell:before{content:"\f0a2";} -.icon-certificate:before{content:"\f0a3";} -.icon-hand-right:before{content:"\f0a4";} -.icon-hand-left:before{content:"\f0a5";} -.icon-hand-up:before{content:"\f0a6";} -.icon-hand-down:before{content:"\f0a7";} -.icon-circle-arrow-left:before{content:"\f0a8";} -.icon-circle-arrow-right:before{content:"\f0a9";} -.icon-circle-arrow-up:before{content:"\f0aa";} -.icon-circle-arrow-down:before{content:"\f0ab";} -.icon-globe:before{content:"\f0ac";} -.icon-wrench:before{content:"\f0ad";} -.icon-tasks:before{content:"\f0ae";} -.icon-filter:before{content:"\f0b0";} -.icon-briefcase:before{content:"\f0b1";} -.icon-fullscreen:before{content:"\f0b2";} -.icon-group:before{content:"\f0c0";} -.icon-link:before{content:"\f0c1";} -.icon-cloud:before{content:"\f0c2";} -.icon-beaker:before{content:"\f0c3";} -.icon-cut:before{content:"\f0c4";} -.icon-copy:before{content:"\f0c5";} -.icon-paperclip:before,.icon-paper-clip:before{content:"\f0c6";} -.icon-save:before{content:"\f0c7";} -.icon-sign-blank:before{content:"\f0c8";} -.icon-reorder:before{content:"\f0c9";} -.icon-list-ul:before{content:"\f0ca";} -.icon-list-ol:before{content:"\f0cb";} -.icon-strikethrough:before{content:"\f0cc";} -.icon-underline:before{content:"\f0cd";} -.icon-table:before{content:"\f0ce";} -.icon-magic:before{content:"\f0d0";} -.icon-truck:before{content:"\f0d1";} -.icon-pinterest:before{content:"\f0d2";} -.icon-pinterest-sign:before{content:"\f0d3";} -.icon-google-plus-sign:before{content:"\f0d4";} -.icon-google-plus:before{content:"\f0d5";} -.icon-money:before{content:"\f0d6";} -.icon-caret-down:before{content:"\f0d7";} -.icon-caret-up:before{content:"\f0d8";} -.icon-caret-left:before{content:"\f0d9";} -.icon-caret-right:before{content:"\f0da";} -.icon-columns:before{content:"\f0db";} -.icon-sort:before{content:"\f0dc";} -.icon-sort-down:before{content:"\f0dd";} -.icon-sort-up:before{content:"\f0de";} -.icon-envelope:before{content:"\f0e0";} -.icon-linkedin:before{content:"\f0e1";} -.icon-rotate-left:before,.icon-undo:before{content:"\f0e2";} -.icon-legal:before{content:"\f0e3";} -.icon-dashboard:before{content:"\f0e4";} -.icon-comment-alt:before{content:"\f0e5";} -.icon-comments-alt:before{content:"\f0e6";} -.icon-bolt:before{content:"\f0e7";} -.icon-sitemap:before{content:"\f0e8";} -.icon-umbrella:before{content:"\f0e9";} -.icon-paste:before{content:"\f0ea";} -.icon-lightbulb:before{content:"\f0eb";} -.icon-exchange:before{content:"\f0ec";} -.icon-cloud-download:before{content:"\f0ed";} -.icon-cloud-upload:before{content:"\f0ee";} -.icon-user-md:before{content:"\f0f0";} -.icon-stethoscope:before{content:"\f0f1";} -.icon-suitcase:before{content:"\f0f2";} -.icon-bell-alt:before{content:"\f0f3";} -.icon-coffee:before{content:"\f0f4";} -.icon-food:before{content:"\f0f5";} -.icon-file-text-alt:before{content:"\f0f6";} -.icon-building:before{content:"\f0f7";} -.icon-hospital:before{content:"\f0f8";} -.icon-ambulance:before{content:"\f0f9";} -.icon-medkit:before{content:"\f0fa";} -.icon-fighter-jet:before{content:"\f0fb";} -.icon-beer:before{content:"\f0fc";} -.icon-h-sign:before{content:"\f0fd";} -.icon-plus-sign-alt:before{content:"\f0fe";} -.icon-double-angle-left:before{content:"\f100";} -.icon-double-angle-right:before{content:"\f101";} -.icon-double-angle-up:before{content:"\f102";} -.icon-double-angle-down:before{content:"\f103";} -.icon-angle-left:before{content:"\f104";} -.icon-angle-right:before{content:"\f105";} -.icon-angle-up:before{content:"\f106";} -.icon-angle-down:before{content:"\f107";} -.icon-desktop:before{content:"\f108";} -.icon-laptop:before{content:"\f109";} -.icon-tablet:before{content:"\f10a";} -.icon-mobile-phone:before{content:"\f10b";} -.icon-circle-blank:before{content:"\f10c";} -.icon-quote-left:before{content:"\f10d";} -.icon-quote-right:before{content:"\f10e";} -.icon-spinner:before{content:"\f110";} -.icon-circle:before{content:"\f111";} -.icon-mail-reply:before,.icon-reply:before{content:"\f112";} -.icon-github-alt:before{content:"\f113";} -.icon-folder-close-alt:before{content:"\f114";} -.icon-folder-open-alt:before{content:"\f115";} -.icon-expand-alt:before{content:"\f116";} -.icon-collapse-alt:before{content:"\f117";} -.icon-smile:before{content:"\f118";} -.icon-frown:before{content:"\f119";} -.icon-meh:before{content:"\f11a";} -.icon-gamepad:before{content:"\f11b";} -.icon-keyboard:before{content:"\f11c";} -.icon-flag-alt:before{content:"\f11d";} -.icon-flag-checkered:before{content:"\f11e";} -.icon-terminal:before{content:"\f120";} -.icon-code:before{content:"\f121";} -.icon-reply-all:before{content:"\f122";} -.icon-mail-reply-all:before{content:"\f122";} -.icon-star-half-full:before,.icon-star-half-empty:before{content:"\f123";} -.icon-location-arrow:before{content:"\f124";} -.icon-crop:before{content:"\f125";} -.icon-code-fork:before{content:"\f126";} -.icon-unlink:before{content:"\f127";} -.icon-question:before{content:"\f128";} -.icon-info:before{content:"\f129";} -.icon-exclamation:before{content:"\f12a";} -.icon-superscript:before{content:"\f12b";} -.icon-subscript:before{content:"\f12c";} -.icon-eraser:before{content:"\f12d";} -.icon-puzzle-piece:before{content:"\f12e";} -.icon-microphone:before{content:"\f130";} -.icon-microphone-off:before{content:"\f131";} -.icon-shield:before{content:"\f132";} -.icon-calendar-empty:before{content:"\f133";} -.icon-fire-extinguisher:before{content:"\f134";} -.icon-rocket:before{content:"\f135";} -.icon-maxcdn:before{content:"\f136";} -.icon-chevron-sign-left:before{content:"\f137";} -.icon-chevron-sign-right:before{content:"\f138";} -.icon-chevron-sign-up:before{content:"\f139";} -.icon-chevron-sign-down:before{content:"\f13a";} -.icon-html5:before{content:"\f13b";} -.icon-css3:before{content:"\f13c";} -.icon-anchor:before{content:"\f13d";} -.icon-unlock-alt:before{content:"\f13e";} -.icon-bullseye:before{content:"\f140";} -.icon-ellipsis-horizontal:before{content:"\f141";} -.icon-ellipsis-vertical:before{content:"\f142";} -.icon-rss-sign:before{content:"\f143";} -.icon-play-sign:before{content:"\f144";} -.icon-ticket:before{content:"\f145";} -.icon-minus-sign-alt:before{content:"\f146";} -.icon-check-minus:before{content:"\f147";} -.icon-level-up:before{content:"\f148";} -.icon-level-down:before{content:"\f149";} -.icon-check-sign:before{content:"\f14a";} -.icon-edit-sign:before{content:"\f14b";} -.icon-external-link-sign:before{content:"\f14c";} -.icon-share-sign:before{content:"\f14d";} -.icon-compass:before{content:"\f14e";} -.icon-collapse:before{content:"\f150";} -.icon-collapse-top:before{content:"\f151";} -.icon-expand:before{content:"\f152";} -.icon-euro:before,.icon-eur:before{content:"\f153";} -.icon-gbp:before{content:"\f154";} -.icon-dollar:before,.icon-usd:before{content:"\f155";} -.icon-rupee:before,.icon-inr:before{content:"\f156";} -.icon-yen:before,.icon-jpy:before{content:"\f157";} -.icon-renminbi:before,.icon-cny:before{content:"\f158";} -.icon-won:before,.icon-krw:before{content:"\f159";} -.icon-bitcoin:before,.icon-btc:before{content:"\f15a";} -.icon-file:before{content:"\f15b";} -.icon-file-text:before{content:"\f15c";} -.icon-sort-by-alphabet:before{content:"\f15d";} -.icon-sort-by-alphabet-alt:before{content:"\f15e";} -.icon-sort-by-attributes:before{content:"\f160";} -.icon-sort-by-attributes-alt:before{content:"\f161";} -.icon-sort-by-order:before{content:"\f162";} -.icon-sort-by-order-alt:before{content:"\f163";} -.icon-thumbs-up:before{content:"\f164";} -.icon-thumbs-down:before{content:"\f165";} -.icon-youtube-sign:before{content:"\f166";} -.icon-youtube:before{content:"\f167";} -.icon-xing:before{content:"\f168";} -.icon-xing-sign:before{content:"\f169";} -.icon-youtube-play:before{content:"\f16a";} -.icon-dropbox:before{content:"\f16b";} -.icon-stackexchange:before{content:"\f16c";} -.icon-instagram:before{content:"\f16d";} -.icon-flickr:before{content:"\f16e";} -.icon-adn:before{content:"\f170";} -.icon-bitbucket:before{content:"\f171";} -.icon-bitbucket-sign:before{content:"\f172";} -.icon-tumblr:before{content:"\f173";} -.icon-tumblr-sign:before{content:"\f174";} -.icon-long-arrow-down:before{content:"\f175";} -.icon-long-arrow-up:before{content:"\f176";} -.icon-long-arrow-left:before{content:"\f177";} -.icon-long-arrow-right:before{content:"\f178";} -.icon-apple:before{content:"\f179";} -.icon-windows:before{content:"\f17a";} -.icon-android:before{content:"\f17b";} -.icon-linux:before{content:"\f17c";} -.icon-dribbble:before{content:"\f17d";} -.icon-skype:before{content:"\f17e";} -.icon-foursquare:before{content:"\f180";} -.icon-trello:before{content:"\f181";} -.icon-female:before{content:"\f182";} -.icon-male:before{content:"\f183";} -.icon-gittip:before{content:"\f184";} -.icon-sun:before{content:"\f185";} -.icon-moon:before{content:"\f186";} -.icon-archive:before{content:"\f187";} -.icon-bug:before{content:"\f188";} -.icon-vk:before{content:"\f189";} -.icon-weibo:before{content:"\f18a";} -.icon-renren:before{content:"\f18b";} +@font-face{font-family:FontAwesome;src:url(../font/fontawesome-webfont.eot?v=3.2.1);src:url(../font/fontawesome-webfont.eot?#iefix&v=3.2.1) format("embedded-opentype"),url(../font/fontawesome-webfont.woff?v=3.2.1) format("woff"),url(../font/fontawesome-webfont.ttf?v=3.2.1) format("truetype"),url(../font/fontawesome-webfont.svg#fontawesomeregular?v=3.2.1) format("svg");font-weight:400;font-style:normal}[class*=" icon-"],[class^=icon-]{font-family:FontAwesome!important;font-weight:400;font-style:normal;text-decoration:inherit;-webkit-font-smoothing:antialiased;*margin-right:.3em;color:#2d2d2d}[class*=" icon-"]:before,[class^=icon-]:before{text-decoration:inherit;display:inline-block;speak:none}.font-blue [class^=icon-]{color:#199fff}.font-purple [class^=icon-]{color:#8058a5}.font-green [class^=icon-]{color:#5eb95e}.font-red [class^=icon-]{color:#dd514c}.font-orange [class^=icon-]{color:#f37b1d}.icon-large:before{vertical-align:-10%;font-size:1.3333333333333333em}a [class*=" icon-"],a [class^=icon-]{display:inline}[class*=" icon-"].icon-fixed-width,[class^=icon-].icon-fixed-width{display:inline-block;width:1.1428571428571428em;text-align:right;padding-right:.2857142857142857em}[class*=" icon-"].icon-fixed-width.icon-large,[class^=icon-].icon-fixed-width.icon-large{width:1.4285714285714286em}.icons-ul{margin-left:2.142857142857143em;list-style-type:none}.icons-ul>li{position:relative}.icons-ul .icon-li{position:absolute;left:-2.142857142857143em;width:2.142857142857143em;text-align:center;line-height:inherit}[class*=" icon-"].hide,[class^=icon-].hide{display:none}.icon-muted{color:#eee}.icon-light{color:#fff}.icon-dark{color:#333}.icon-border{border:1px solid #eee;padding:.2em .25em .15em;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px}.icon-2x{font-size:2em}.icon-2x.icon-border{border-width:2px;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px}.icon-3x{font-size:3em}.icon-3x.icon-border{border-width:3px;-webkit-border-radius:5px;-moz-border-radius:5px;border-radius:5px}.icon-4x{font-size:4em}.icon-4x.icon-border{border-width:4px;-webkit-border-radius:6px;-moz-border-radius:6px;border-radius:6px}.icon-5x{font-size:5em}.icon-5x.icon-border{border-width:5px;-webkit-border-radius:7px;-moz-border-radius:7px;border-radius:7px}.pull-right{float:right}.pull-left{float:left}[class*=" icon-"].pull-left,[class^=icon-].pull-left{margin-right:.3em}[class*=" icon-"].pull-right,[class^=icon-].pull-right{margin-left:.3em}[class*=" icon-"],[class^=icon-]{display:inline;width:auto;height:auto;line-height:normal;vertical-align:baseline;background-image:none;background-position:0 0;background-repeat:repeat;margin-top:0}.dropdown-menu>.active>a>[class*=" icon-"],.dropdown-menu>.active>a>[class^=icon-],.dropdown-menu>li>a:hover>[class*=" icon-"],.dropdown-menu>li>a:hover>[class^=icon-],.dropdown-submenu:hover>a>[class*=" icon-"],.dropdown-submenu:hover>a>[class^=icon-],.icon-white,.nav-list>.active>a>[class*=" icon-"],.nav-list>.active>a>[class^=icon-],.nav-pills>.active>a>[class*=" icon-"],.nav-pills>.active>a>[class^=icon-],.navbar-inverse .nav>.active>a>[class*=" icon-"],.navbar-inverse .nav>.active>a>[class^=icon-]{background-image:none}.btn [class*=" icon-"].icon-large,.btn [class^=icon-].icon-large,.nav [class*=" icon-"].icon-large,.nav [class^=icon-].icon-large{line-height:.9em}.btn [class*=" icon-"].icon-spin,.btn [class^=icon-].icon-spin,.nav [class*=" icon-"].icon-spin,.nav [class^=icon-].icon-spin{display:inline-block}.nav-pills [class*=" icon-"],.nav-pills [class*=" icon-"].icon-large,.nav-pills [class^=icon-],.nav-pills [class^=icon-].icon-large,.nav-tabs [class*=" icon-"],.nav-tabs [class*=" icon-"].icon-large,.nav-tabs [class^=icon-],.nav-tabs [class^=icon-].icon-large{line-height:.9em}.btn [class*=" icon-"].pull-left.icon-2x,.btn [class*=" icon-"].pull-right.icon-2x,.btn [class^=icon-].pull-left.icon-2x,.btn [class^=icon-].pull-right.icon-2x{margin-top:.18em}.btn [class*=" icon-"].icon-spin.icon-large,.btn [class^=icon-].icon-spin.icon-large{line-height:.8em}.btn.btn-small [class*=" icon-"].pull-left.icon-2x,.btn.btn-small [class*=" icon-"].pull-right.icon-2x,.btn.btn-small [class^=icon-].pull-left.icon-2x,.btn.btn-small [class^=icon-].pull-right.icon-2x{margin-top:.25em}.btn.btn-large [class*=" icon-"],.btn.btn-large [class^=icon-]{margin-top:0}.btn.btn-large [class*=" icon-"].pull-left.icon-2x,.btn.btn-large [class*=" icon-"].pull-right.icon-2x,.btn.btn-large [class^=icon-].pull-left.icon-2x,.btn.btn-large [class^=icon-].pull-right.icon-2x{margin-top:.05em}.btn.btn-large [class*=" icon-"].pull-left.icon-2x,.btn.btn-large [class^=icon-].pull-left.icon-2x{margin-right:.2em}.btn.btn-large [class*=" icon-"].pull-right.icon-2x,.btn.btn-large [class^=icon-].pull-right.icon-2x{margin-left:.2em}.nav-list [class*=" icon-"],.nav-list [class^=icon-]{line-height:inherit}.icon-stack{position:relative;display:inline-block;width:2em;height:2em;line-height:2em;vertical-align:-35%}.icon-stack [class*=" icon-"],.icon-stack [class^=icon-]{display:block;text-align:center;position:absolute;width:100%;height:100%;font-size:1em;line-height:inherit;*line-height:2em}.icon-stack .icon-stack-base{font-size:2em;*line-height:1em}.icon-spin{display:inline-block;-moz-animation:spin 2s linear infinite;-o-animation:spin 2s linear infinite;-webkit-animation:spin 2s linear infinite;animation:spin 2s linear infinite}a .icon-spin,a .icon-stack{display:inline-block;text-decoration:none}@-moz-keyframes spin{0%{-moz-transform:rotate(0deg)}to{-moz-transform:rotate(359deg)}}@-webkit-keyframes spin{0%{-webkit-transform:rotate(0deg)}to{-webkit-transform:rotate(359deg)}}@-o-keyframes spin{0%{-o-transform:rotate(0deg)}to{-o-transform:rotate(359deg)}}@-ms-keyframes spin{0%{-ms-transform:rotate(0deg)}to{-ms-transform:rotate(359deg)}}@keyframes spin{0%{transform:rotate(0deg)}to{transform:rotate(359deg)}}.icon-rotate-90:before{-webkit-transform:rotate(90deg);-moz-transform:rotate(90deg);-ms-transform:rotate(90deg);-o-transform:rotate(90deg);transform:rotate(90deg);filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=1)}.icon-rotate-180:before{-webkit-transform:rotate(180deg);-moz-transform:rotate(180deg);-ms-transform:rotate(180deg);-o-transform:rotate(180deg);transform:rotate(180deg);filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=2)}.icon-rotate-270:before{-webkit-transform:rotate(270deg);-moz-transform:rotate(270deg);-ms-transform:rotate(270deg);-o-transform:rotate(270deg);transform:rotate(270deg);filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=3)}.icon-flip-horizontal:before{-webkit-transform:scaleX(-1);-moz-transform:scaleX(-1);-ms-transform:scaleX(-1);-o-transform:scaleX(-1);transform:scaleX(-1)}.icon-flip-vertical:before{-webkit-transform:scaleY(-1);-moz-transform:scaleY(-1);-ms-transform:scaleY(-1);-o-transform:scaleY(-1);transform:scaleY(-1)}a .icon-flip-horizontal:before,a .icon-flip-vertical:before,a .icon-rotate-180:before,a .icon-rotate-270:before,a .icon-rotate-90:before{display:inline-block}.icon-glass:before{content:"\f000"}.icon-music:before{content:"\f001"}.icon-search:before{content:"\f002"}.icon-envelope-alt:before{content:"\f003"}.icon-heart:before{content:"\f004"}.icon-star:before{content:"\f005"}.icon-star-empty:before{content:"\f006"}.icon-user:before{content:"\f007"}.icon-film:before{content:"\f008"}.icon-th-large:before{content:"\f009"}.icon-th:before{content:"\f00a"}.icon-th-list:before{content:"\f00b"}.icon-ok:before{content:"\f00c"}.icon-remove:before{content:"\f00d"}.icon-zoom-in:before{content:"\f00e"}.icon-zoom-out:before{content:"\f010"}.icon-off:before,.icon-power-off:before{content:"\f011"}.icon-signal:before{content:"\f012"}.icon-cog:before,.icon-gear:before{content:"\f013"}.icon-trash:before{content:"\f014"}.icon-home:before{content:"\f015"}.icon-file-alt:before{content:"\f016"}.icon-time:before{content:"\f017"}.icon-road:before{content:"\f018"}.icon-download-alt:before{content:"\f019"}.icon-download:before{content:"\f01a"}.icon-upload:before{content:"\f01b"}.icon-inbox:before{content:"\f01c"}.icon-play-circle:before{content:"\f01d"}.icon-repeat:before,.icon-rotate-right:before{content:"\f01e"}.icon-refresh:before{content:"\f021"}.icon-list-alt:before{content:"\f022"}.icon-lock:before{content:"\f023"}.icon-flag:before{content:"\f024"}.icon-headphones:before{content:"\f025"}.icon-volume-off:before{content:"\f026"}.icon-volume-down:before{content:"\f027"}.icon-volume-up:before{content:"\f028"}.icon-qrcode:before{content:"\f029"}.icon-barcode:before{content:"\f02a"}.icon-tag:before{content:"\f02b"}.icon-tags:before{content:"\f02c"}.icon-book:before{content:"\f02d"}.icon-bookmark:before{content:"\f02e"}.icon-print:before{content:"\f02f"}.icon-camera:before{content:"\f030"}.icon-font:before{content:"\f031"}.icon-bold:before{content:"\f032"}.icon-italic:before{content:"\f033"}.icon-text-height:before{content:"\f034"}.icon-text-width:before{content:"\f035"}.icon-align-left:before{content:"\f036"}.icon-align-center:before{content:"\f037"}.icon-align-right:before{content:"\f038"}.icon-align-justify:before{content:"\f039"}.icon-list:before{content:"\f03a"}.icon-indent-left:before{content:"\f03b"}.icon-indent-right:before{content:"\f03c"}.icon-facetime-video:before{content:"\f03d"}.icon-picture:before{content:"\f03e"}.icon-pencil:before{content:"\f040"}.icon-map-marker:before{content:"\f041"}.icon-adjust:before{content:"\f042"}.icon-tint:before{content:"\f043"}.icon-edit:before{content:"\f044"}.icon-share:before{content:"\f045"}.icon-check:before{content:"\f046"}.icon-move:before{content:"\f047"}.icon-step-backward:before{content:"\f048"}.icon-fast-backward:before{content:"\f049"}.icon-backward:before{content:"\f04a"}.icon-play:before{content:"\f04b"}.icon-pause:before{content:"\f04c"}.icon-stop:before{content:"\f04d"}.icon-forward:before{content:"\f04e"}.icon-fast-forward:before{content:"\f050"}.icon-step-forward:before{content:"\f051"}.icon-eject:before{content:"\f052"}.icon-chevron-left:before{content:"\f053"}.icon-chevron-right:before{content:"\f054"}.icon-plus-sign:before{content:"\f055"}.icon-minus-sign:before{content:"\f056"}.icon-remove-sign:before{content:"\f057"}.icon-ok-sign:before{content:"\f058"}.icon-question-sign:before{content:"\f059"}.icon-info-sign:before{content:"\f05a"}.icon-screenshot:before{content:"\f05b"}.icon-remove-circle:before{content:"\f05c"}.icon-ok-circle:before{content:"\f05d"}.icon-ban-circle:before{content:"\f05e"}.icon-arrow-left:before{content:"\f060"}.icon-arrow-right:before{content:"\f061"}.icon-arrow-up:before{content:"\f062"}.icon-arrow-down:before{content:"\f063"}.icon-mail-forward:before,.icon-share-alt:before{content:"\f064"}.icon-resize-full:before{content:"\f065"}.icon-resize-small:before{content:"\f066"}.icon-plus:before{content:"\f067"}.icon-minus:before{content:"\f068"}.icon-asterisk:before{content:"\f069"}.icon-exclamation-sign:before{content:"\f06a"}.icon-gift:before{content:"\f06b"}.icon-leaf:before{content:"\f06c"}.icon-fire:before{content:"\f06d"}.icon-eye-open:before{content:"\f06e"}.icon-eye-close:before{content:"\f070"}.icon-warning-sign:before{content:"\f071"}.icon-plane:before{content:"\f072"}.icon-calendar:before{content:"\f073"}.icon-random:before{content:"\f074"}.icon-comment:before{content:"\f075"}.icon-magnet:before{content:"\f076"}.icon-chevron-up:before{content:"\f077"}.icon-chevron-down:before{content:"\f078"}.icon-retweet:before{content:"\f079"}.icon-shopping-cart:before{content:"\f07a"}.icon-folder-close:before{content:"\f07b"}.icon-folder-open:before{content:"\f07c"}.icon-resize-vertical:before{content:"\f07d"}.icon-resize-horizontal:before{content:"\f07e"}.icon-bar-chart:before{content:"\f080"}.icon-twitter-sign:before{content:"\f081"}.icon-facebook-sign:before{content:"\f082"}.icon-camera-retro:before{content:"\f083"}.icon-key:before{content:"\f084"}.icon-cogs:before,.icon-gears:before{content:"\f085"}.icon-comments:before{content:"\f086"}.icon-thumbs-up-alt:before{content:"\f087"}.icon-thumbs-down-alt:before{content:"\f088"}.icon-star-half:before{content:"\f089"}.icon-heart-empty:before{content:"\f08a"}.icon-signout:before{content:"\f08b"}.icon-linkedin-sign:before{content:"\f08c"}.icon-pushpin:before{content:"\f08d"}.icon-external-link:before{content:"\f08e"}.icon-signin:before{content:"\f090"}.icon-trophy:before{content:"\f091"}.icon-github-sign:before{content:"\f092"}.icon-upload-alt:before{content:"\f093"}.icon-lemon:before{content:"\f094"}.icon-phone:before{content:"\f095"}.icon-check-empty:before,.icon-unchecked:before{content:"\f096"}.icon-bookmark-empty:before{content:"\f097"}.icon-phone-sign:before{content:"\f098"}.icon-twitter:before{content:"\f099"}.icon-facebook:before{content:"\f09a"}.icon-github:before{content:"\f09b"}.icon-unlock:before{content:"\f09c"}.icon-credit-card:before{content:"\f09d"}.icon-rss:before{content:"\f09e"}.icon-hdd:before{content:"\f0a0"}.icon-bullhorn:before{content:"\f0a1"}.icon-bell:before{content:"\f0a2"}.icon-certificate:before{content:"\f0a3"}.icon-hand-right:before{content:"\f0a4"}.icon-hand-left:before{content:"\f0a5"}.icon-hand-up:before{content:"\f0a6"}.icon-hand-down:before{content:"\f0a7"}.icon-circle-arrow-left:before{content:"\f0a8"}.icon-circle-arrow-right:before{content:"\f0a9"}.icon-circle-arrow-up:before{content:"\f0aa"}.icon-circle-arrow-down:before{content:"\f0ab"}.icon-globe:before{content:"\f0ac"}.icon-wrench:before{content:"\f0ad"}.icon-tasks:before{content:"\f0ae"}.icon-filter:before{content:"\f0b0"}.icon-briefcase:before{content:"\f0b1"}.icon-fullscreen:before{content:"\f0b2"}.icon-group:before{content:"\f0c0"}.icon-link:before{content:"\f0c1"}.icon-cloud:before{content:"\f0c2"}.icon-beaker:before{content:"\f0c3"}.icon-cut:before{content:"\f0c4"}.icon-copy:before{content:"\f0c5"}.icon-paper-clip:before,.icon-paperclip:before{content:"\f0c6"}.icon-save:before{content:"\f0c7"}.icon-sign-blank:before{content:"\f0c8"}.icon-reorder:before{content:"\f0c9"}.icon-list-ul:before{content:"\f0ca"}.icon-list-ol:before{content:"\f0cb"}.icon-strikethrough:before{content:"\f0cc"}.icon-underline:before{content:"\f0cd"}.icon-table:before{content:"\f0ce"}.icon-magic:before{content:"\f0d0"}.icon-truck:before{content:"\f0d1"}.icon-pinterest:before{content:"\f0d2"}.icon-pinterest-sign:before{content:"\f0d3"}.icon-google-plus-sign:before{content:"\f0d4"}.icon-google-plus:before{content:"\f0d5"}.icon-money:before{content:"\f0d6"}.icon-caret-down:before{content:"\f0d7"}.icon-caret-up:before{content:"\f0d8"}.icon-caret-left:before{content:"\f0d9"}.icon-caret-right:before{content:"\f0da"}.icon-columns:before{content:"\f0db"}.icon-sort:before{content:"\f0dc"}.icon-sort-down:before{content:"\f0dd"}.icon-sort-up:before{content:"\f0de"}.icon-envelope:before{content:"\f0e0"}.icon-linkedin:before{content:"\f0e1"}.icon-rotate-left:before,.icon-undo:before{content:"\f0e2"}.icon-legal:before{content:"\f0e3"}.icon-dashboard:before{content:"\f0e4"}.icon-comment-alt:before{content:"\f0e5"}.icon-comments-alt:before{content:"\f0e6"}.icon-bolt:before{content:"\f0e7"}.icon-sitemap:before{content:"\f0e8"}.icon-umbrella:before{content:"\f0e9"}.icon-paste:before{content:"\f0ea"}.icon-lightbulb:before{content:"\f0eb"}.icon-exchange:before{content:"\f0ec"}.icon-cloud-download:before{content:"\f0ed"}.icon-cloud-upload:before{content:"\f0ee"}.icon-user-md:before{content:"\f0f0"}.icon-stethoscope:before{content:"\f0f1"}.icon-suitcase:before{content:"\f0f2"}.icon-bell-alt:before{content:"\f0f3"}.icon-coffee:before{content:"\f0f4"}.icon-food:before{content:"\f0f5"}.icon-file-text-alt:before{content:"\f0f6"}.icon-building:before{content:"\f0f7"}.icon-hospital:before{content:"\f0f8"}.icon-ambulance:before{content:"\f0f9"}.icon-medkit:before{content:"\f0fa"}.icon-fighter-jet:before{content:"\f0fb"}.icon-beer:before{content:"\f0fc"}.icon-h-sign:before{content:"\f0fd"}.icon-plus-sign-alt:before{content:"\f0fe"}.icon-double-angle-left:before{content:"\f100"}.icon-double-angle-right:before{content:"\f101"}.icon-double-angle-up:before{content:"\f102"}.icon-double-angle-down:before{content:"\f103"}.icon-angle-left:before{content:"\f104"}.icon-angle-right:before{content:"\f105"}.icon-angle-up:before{content:"\f106"}.icon-angle-down:before{content:"\f107"}.icon-desktop:before{content:"\f108"}.icon-laptop:before{content:"\f109"}.icon-tablet:before{content:"\f10a"}.icon-mobile-phone:before{content:"\f10b"}.icon-circle-blank:before{content:"\f10c"}.icon-quote-left:before{content:"\f10d"}.icon-quote-right:before{content:"\f10e"}.icon-spinner:before{content:"\f110"}.icon-circle:before{content:"\f111"}.icon-mail-reply:before,.icon-reply:before{content:"\f112"}.icon-github-alt:before{content:"\f113"}.icon-folder-close-alt:before{content:"\f114"}.icon-folder-open-alt:before{content:"\f115"}.icon-expand-alt:before{content:"\f116"}.icon-collapse-alt:before{content:"\f117"}.icon-smile:before{content:"\f118"}.icon-frown:before{content:"\f119"}.icon-meh:before{content:"\f11a"}.icon-gamepad:before{content:"\f11b"}.icon-keyboard:before{content:"\f11c"}.icon-flag-alt:before{content:"\f11d"}.icon-flag-checkered:before{content:"\f11e"}.icon-terminal:before{content:"\f120"}.icon-code:before{content:"\f121"}.icon-mail-reply-all:before,.icon-reply-all:before{content:"\f122"}.icon-star-half-empty:before,.icon-star-half-full:before{content:"\f123"}.icon-location-arrow:before{content:"\f124"}.icon-crop:before{content:"\f125"}.icon-code-fork:before{content:"\f126"}.icon-unlink:before{content:"\f127"}.icon-question:before{content:"\f128"}.icon-info:before{content:"\f129"}.icon-exclamation:before{content:"\f12a"}.icon-superscript:before{content:"\f12b"}.icon-subscript:before{content:"\f12c"}.icon-eraser:before{content:"\f12d"}.icon-puzzle-piece:before{content:"\f12e"}.icon-microphone:before{content:"\f130"}.icon-microphone-off:before{content:"\f131"}.icon-shield:before{content:"\f132"}.icon-calendar-empty:before{content:"\f133"}.icon-fire-extinguisher:before{content:"\f134"}.icon-rocket:before{content:"\f135"}.icon-maxcdn:before{content:"\f136"}.icon-chevron-sign-left:before{content:"\f137"}.icon-chevron-sign-right:before{content:"\f138"}.icon-chevron-sign-up:before{content:"\f139"}.icon-chevron-sign-down:before{content:"\f13a"}.icon-html5:before{content:"\f13b"}.icon-css3:before{content:"\f13c"}.icon-anchor:before{content:"\f13d"}.icon-unlock-alt:before{content:"\f13e"}.icon-bullseye:before{content:"\f140"}.icon-ellipsis-horizontal:before{content:"\f141"}.icon-ellipsis-vertical:before{content:"\f142"}.icon-rss-sign:before{content:"\f143"}.icon-play-sign:before{content:"\f144"}.icon-ticket:before{content:"\f145"}.icon-minus-sign-alt:before{content:"\f146"}.icon-check-minus:before{content:"\f147"}.icon-level-up:before{content:"\f148"}.icon-level-down:before{content:"\f149"}.icon-check-sign:before{content:"\f14a"}.icon-edit-sign:before{content:"\f14b"}.icon-external-link-sign:before{content:"\f14c"}.icon-share-sign:before{content:"\f14d"}.icon-compass:before{content:"\f14e"}.icon-collapse:before{content:"\f150"}.icon-collapse-top:before{content:"\f151"}.icon-expand:before{content:"\f152"}.icon-eur:before,.icon-euro:before{content:"\f153"}.icon-gbp:before{content:"\f154"}.icon-dollar:before,.icon-usd:before{content:"\f155"}.icon-inr:before,.icon-rupee:before{content:"\f156"}.icon-jpy:before,.icon-yen:before{content:"\f157"}.icon-cny:before,.icon-renminbi:before{content:"\f158"}.icon-krw:before,.icon-won:before{content:"\f159"}.icon-bitcoin:before,.icon-btc:before{content:"\f15a"}.icon-file:before{content:"\f15b"}.icon-file-text:before{content:"\f15c"}.icon-sort-by-alphabet:before{content:"\f15d"}.icon-sort-by-alphabet-alt:before{content:"\f15e"}.icon-sort-by-attributes:before{content:"\f160"}.icon-sort-by-attributes-alt:before{content:"\f161"}.icon-sort-by-order:before{content:"\f162"}.icon-sort-by-order-alt:before{content:"\f163"}.icon-thumbs-up:before{content:"\f164"}.icon-thumbs-down:before{content:"\f165"}.icon-youtube-sign:before{content:"\f166"}.icon-youtube:before{content:"\f167"}.icon-xing:before{content:"\f168"}.icon-xing-sign:before{content:"\f169"}.icon-youtube-play:before{content:"\f16a"}.icon-dropbox:before{content:"\f16b"}.icon-stackexchange:before{content:"\f16c"}.icon-instagram:before{content:"\f16d"}.icon-flickr:before{content:"\f16e"}.icon-adn:before{content:"\f170"}.icon-bitbucket:before{content:"\f171"}.icon-bitbucket-sign:before{content:"\f172"}.icon-tumblr:before{content:"\f173"}.icon-tumblr-sign:before{content:"\f174"}.icon-long-arrow-down:before{content:"\f175"}.icon-long-arrow-up:before{content:"\f176"}.icon-long-arrow-left:before{content:"\f177"}.icon-long-arrow-right:before{content:"\f178"}.icon-apple:before{content:"\f179"}.icon-windows:before{content:"\f17a"}.icon-android:before{content:"\f17b"}.icon-linux:before{content:"\f17c"}.icon-dribbble:before{content:"\f17d"}.icon-skype:before{content:"\f17e"}.icon-foursquare:before{content:"\f180"}.icon-trello:before{content:"\f181"}.icon-female:before{content:"\f182"}.icon-male:before{content:"\f183"}.icon-gittip:before{content:"\f184"}.icon-sun:before{content:"\f185"}.icon-moon:before{content:"\f186"}.icon-archive:before{content:"\f187"}.icon-bug:before{content:"\f188"}.icon-vk:before{content:"\f189"}.icon-weibo:before{content:"\f18a"}.icon-renren:before{content:"\f18b"} \ No newline at end of file diff --git a/client/dist/static/logview/Logview_files/jquery.min.js b/client/dist/static/logview/Logview_files/jquery.min.js index b2ac1747..b90587e4 100644 --- a/client/dist/static/logview/Logview_files/jquery.min.js +++ b/client/dist/static/logview/Logview_files/jquery.min.js @@ -13,6 +13,4 @@ * * Date: Thu May 12 15:04:36 2011 -0400 */ -(function(a,b){function cy(a){return f.isWindow(a)?a:a.nodeType===9?a.defaultView||a.parentWindow:!1}function cv(a){if(!cj[a]){var b=f("<"+a+">").appendTo("body"),d=b.css("display");b.remove();if(d==="none"||d===""){ck||(ck=c.createElement("iframe"),ck.frameBorder=ck.width=ck.height=0),c.body.appendChild(ck);if(!cl||!ck.createElement)cl=(ck.contentWindow||ck.contentDocument).document,cl.write("");b=cl.createElement(a),cl.body.appendChild(b),d=f.css(b,"display"),c.body.removeChild(ck)}cj[a]=d}return cj[a]}function cu(a,b){var c={};f.each(cp.concat.apply([],cp.slice(0,b)),function(){c[this]=a});return c}function ct(){cq=b}function cs(){setTimeout(ct,0);return cq=f.now()}function ci(){try{return new a.ActiveXObject("Microsoft.XMLHTTP")}catch(b){}}function ch(){try{return new a.XMLHttpRequest}catch(b){}}function cb(a,c){a.dataFilter&&(c=a.dataFilter(c,a.dataType));var d=a.dataTypes,e={},g,h,i=d.length,j,k=d[0],l,m,n,o,p;for(g=1;g=0===c})}function W(a){return!a||!a.parentNode||a.parentNode.nodeType===11}function O(a,b){return(a&&a!=="*"?a+".":"")+b.replace(A,"`").replace(B,"&")}function N(a){var b,c,d,e,g,h,i,j,k,l,m,n,o,p=[],q=[],r=f._data(this,"events");if(!(a.liveFired===this||!r||!r.live||a.target.disabled||a.button&&a.type==="click")){a.namespace&&(n=new RegExp("(^|\\.)"+a.namespace.split(".").join("\\.(?:.*\\.)?")+"(\\.|$)")),a.liveFired=this;var s=r.live.slice(0);for(i=0;ic)break;a.currentTarget=e.elem,a.data=e.handleObj.data,a.handleObj=e.handleObj,o=e.handleObj.origHandler.apply(e.elem,arguments);if(o===!1||a.isPropagationStopped()){c=e.level,o===!1&&(b=!1);if(a.isImmediatePropagationStopped())break}}return b}}function L(a,c,d){var e=f.extend({},d[0]);e.type=a,e.originalEvent={},e.liveFired=b,f.event.handle.call(c,e),e.isDefaultPrevented()&&d[0].preventDefault()}function F(){return!0}function E(){return!1}function m(a,c,d){var e=c+"defer",g=c+"queue",h=c+"mark",i=f.data(a,e,b,!0);i&&(d==="queue"||!f.data(a,g,b,!0))&&(d==="mark"||!f.data(a,h,b,!0))&&setTimeout(function(){!f.data(a,g,b,!0)&&!f.data(a,h,b,!0)&&(f.removeData(a,e,!0),i.resolve())},0)}function l(a){for(var b in a)if(b!=="toJSON")return!1;return!0}function k(a,c,d){if(d===b&&a.nodeType===1){var e="data-"+c.replace(j,"$1-$2").toLowerCase();d=a.getAttribute(e);if(typeof d=="string"){try{d=d==="true"?!0:d==="false"?!1:d==="null"?null:f.isNaN(d)?i.test(d)?f.parseJSON(d):d:parseFloat(d)}catch(g){}f.data(a,c,d)}else d=b}return d}var c=a.document,d=a.navigator,e=a.location,f=function(){function H(){if(!e.isReady){try{c.documentElement.doScroll("left")}catch(a){setTimeout(H,1);return}e.ready()}}var e=function(a,b){return new e.fn.init(a,b,h)},f=a.jQuery,g=a.$,h,i=/^(?:[^<]*(<[\w\W]+>)[^>]*$|#([\w\-]*)$)/,j=/\S/,k=/^\s+/,l=/\s+$/,m=/\d/,n=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,o=/^[\],:{}\s]*$/,p=/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,q=/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,r=/(?:^|:|,)(?:\s*\[)+/g,s=/(webkit)[ \/]([\w.]+)/,t=/(opera)(?:.*version)?[ \/]([\w.]+)/,u=/(msie) ([\w.]+)/,v=/(mozilla)(?:.*? rv:([\w.]+))?/,w=d.userAgent,x,y,z,A=Object.prototype.toString,B=Object.prototype.hasOwnProperty,C=Array.prototype.push,D=Array.prototype.slice,E=String.prototype.trim,F=Array.prototype.indexOf,G={};e.fn=e.prototype={constructor:e,init:function(a,d,f){var g,h,j,k;if(!a)return this;if(a.nodeType){this.context=this[0]=a,this.length=1;return this}if(a==="body"&&!d&&c.body){this.context=c,this[0]=c.body,this.selector=a,this.length=1;return this}if(typeof a=="string"){a.charAt(0)!=="<"||a.charAt(a.length-1)!==">"||a.length<3?g=i.exec(a):g=[null,a,null];if(g&&(g[1]||!d)){if(g[1]){d=d instanceof e?d[0]:d,k=d?d.ownerDocument||d:c,j=n.exec(a),j?e.isPlainObject(d)?(a=[c.createElement(j[1])],e.fn.attr.call(a,d,!0)):a=[k.createElement(j[1])]:(j=e.buildFragment([g[1]],[k]),a=(j.cacheable?e.clone(j.fragment):j.fragment).childNodes);return e.merge(this,a)}h=c.getElementById(g[2]);if(h&&h.parentNode){if(h.id!==g[2])return f.find(a);this.length=1,this[0]=h}this.context=c,this.selector=a;return this}return!d||d.jquery?(d||f).find(a):this.constructor(d).find(a)}if(e.isFunction(a))return f.ready(a);a.selector!==b&&(this.selector=a.selector,this.context=a.context);return e.makeArray(a,this)},selector:"",jquery:"1.6.1",length:0,size:function(){return this.length},toArray:function(){return D.call(this,0)},get:function(a){return a==null?this.toArray():a<0?this[this.length+a]:this[a]},pushStack:function(a,b,c){var d=this.constructor();e.isArray(a)?C.apply(d,a):e.merge(d,a),d.prevObject=this,d.context=this.context,b==="find"?d.selector=this.selector+(this.selector?" ":"")+c:b&&(d.selector=this.selector+"."+b+"("+c+")");return d},each:function(a,b){return e.each(this,a,b)},ready:function(a){e.bindReady(),y.done(a);return this},eq:function(a){return a===-1?this.slice(a):this.slice(a,+a+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushStack(D.apply(this,arguments),"slice",D.call(arguments).join(","))},map:function(a){return this.pushStack(e.map(this,function(b,c){return a.call(b,c,b)}))},end:function(){return this.prevObject||this.constructor(null)},push:C,sort:[].sort,splice:[].splice},e.fn.init.prototype=e.fn,e.extend=e.fn.extend=function(){var a,c,d,f,g,h,i=arguments[0]||{},j=1,k=arguments.length,l=!1;typeof i=="boolean"&&(l=i,i=arguments[1]||{},j=2),typeof i!="object"&&!e.isFunction(i)&&(i={}),k===j&&(i=this,--j);for(;j0)return;y.resolveWith(c,[e]),e.fn.trigger&&e(c).trigger("ready").unbind("ready")}},bindReady:function(){if(!y){y=e._Deferred();if(c.readyState==="complete")return setTimeout(e.ready,1);if(c.addEventListener)c.addEventListener("DOMContentLoaded",z,!1),a.addEventListener("load",e.ready,!1);else if(c.attachEvent){c.attachEvent("onreadystatechange",z),a.attachEvent("onload",e.ready);var b=!1;try{b=a.frameElement==null}catch(d){}c.documentElement.doScroll&&b&&H()}}},isFunction:function(a){return e.type(a)==="function"},isArray:Array.isArray||function(a){return e.type(a)==="array"},isWindow:function(a){return a&&typeof a=="object"&&"setInterval"in a},isNaN:function(a){return a==null||!m.test(a)||isNaN(a)},type:function(a){return a==null?String(a):G[A.call(a)]||"object"},isPlainObject:function(a){if(!a||e.type(a)!=="object"||a.nodeType||e.isWindow(a))return!1;if(a.constructor&&!B.call(a,"constructor")&&!B.call(a.constructor.prototype,"isPrototypeOf"))return!1;var c;for(c in a);return c===b||B.call(a,c)},isEmptyObject:function(a){for(var b in a)return!1;return!0},error:function(a){throw a},parseJSON:function(b){if(typeof b!="string"||!b)return null;b=e.trim(b);if(a.JSON&&a.JSON.parse)return a.JSON.parse(b);if(o.test(b.replace(p,"@").replace(q,"]").replace(r,"")))return(new Function("return "+b))();e.error("Invalid JSON: "+b)},parseXML:function(b,c,d){a.DOMParser?(d=new DOMParser,c=d.parseFromString(b,"text/xml")):(c=new ActiveXObject("Microsoft.XMLDOM"),c.async="false",c.loadXML(b)),d=c.documentElement,(!d||!d.nodeName||d.nodeName==="parsererror")&&e.error("Invalid XML: "+b);return c},noop:function(){},globalEval:function(b){b&&j.test(b)&&(a.execScript||function(b){a.eval.call(a,b)})(b)},nodeName:function(a,b){return a.nodeName&&a.nodeName.toUpperCase()===b.toUpperCase()},each:function(a,c,d){var f,g=0,h=a.length,i=h===b||e.isFunction(a);if(d){if(i){for(f in a)if(c.apply(a[f],d)===!1)break}else for(;g0&&a[0]&&a[j-1]||j===0||e.isArray(a));if(k)for(;i1?h.call(arguments,0):c,--e||g.resolveWith(g,h.call(b,0))}}var b=arguments,c=0,d=b.length,e=d,g=d<=1&&a&&f.isFunction(a.promise)?a:f.Deferred();if(d>1){for(;c
a",d=a.getElementsByTagName("*"),e=a.getElementsByTagName("a")[0];if(!d||!d.length||!e)return{};f=c.createElement("select"),g=f.appendChild(c.createElement("option")),h=a.getElementsByTagName("input")[0],j={leadingWhitespace:a.firstChild.nodeType===3,tbody:!a.getElementsByTagName("tbody").length,htmlSerialize:!!a.getElementsByTagName("link").length,style:/top/.test(e.getAttribute("style")),hrefNormalized:e.getAttribute("href")==="/a",opacity:/^0.55$/.test(e.style.opacity),cssFloat:!!e.style.cssFloat,checkOn:h.value==="on",optSelected:g.selected,getSetAttribute:a.className!=="t",submitBubbles:!0,changeBubbles:!0,focusinBubbles:!1,deleteExpando:!0,noCloneEvent:!0,inlineBlockNeedsLayout:!1,shrinkWrapBlocks:!1,reliableMarginRight:!0},h.checked=!0,j.noCloneChecked=h.cloneNode(!0).checked,f.disabled=!0,j.optDisabled=!g.disabled;try{delete a.test}catch(s){j.deleteExpando=!1}!a.addEventListener&&a.attachEvent&&a.fireEvent&&(a.attachEvent("onclick",function b(){j.noCloneEvent=!1,a.detachEvent("onclick",b)}),a.cloneNode(!0).fireEvent("onclick")),h=c.createElement("input"),h.value="t",h.setAttribute("type","radio"),j.radioValue=h.value==="t",h.setAttribute("checked","checked"),a.appendChild(h),k=c.createDocumentFragment(),k.appendChild(a.firstChild),j.checkClone=k.cloneNode(!0).cloneNode(!0).lastChild.checked,a.innerHTML="",a.style.width=a.style.paddingLeft="1px",l=c.createElement("body"),m={visibility:"hidden",width:0,height:0,border:0,margin:0,background:"none"};for(q in m)l.style[q]=m[q];l.appendChild(a),b.insertBefore(l,b.firstChild),j.appendChecked=h.checked,j.boxModel=a.offsetWidth===2,"zoom"in a.style&&(a.style.display="inline",a.style.zoom=1,j.inlineBlockNeedsLayout=a.offsetWidth===2,a.style.display="",a.innerHTML="
",j.shrinkWrapBlocks=a.offsetWidth!==2),a.innerHTML="
t
",n=a.getElementsByTagName("td"),r=n[0].offsetHeight===0,n[0].style.display="",n[1].style.display="none",j.reliableHiddenOffsets=r&&n[0].offsetHeight===0,a.innerHTML="",c.defaultView&&c.defaultView.getComputedStyle&&(i=c.createElement("div"),i.style.width="0",i.style.marginRight="0",a.appendChild(i),j.reliableMarginRight=(parseInt((c.defaultView.getComputedStyle(i,null)||{marginRight:0}).marginRight,10)||0)===0),l.innerHTML="",b.removeChild(l);if(a.attachEvent)for(q in{submit:1,change:1,focusin:1})p="on"+q,r=p in a,r||(a.setAttribute(p,"return;"),r=typeof a[p]=="function"),j[q+"Bubbles"]=r;return j}(),f.boxModel=f.support.boxModel;var i=/^(?:\{.*\}|\[.*\])$/,j=/([a-z])([A-Z])/g;f.extend({cache:{},uuid:0,expando:"jQuery"+(f.fn.jquery+Math.random()).replace(/\D/g,""),noData:{embed:!0,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",applet:!0},hasData:function(a){a=a.nodeType?f.cache[a[f.expando]]:a[f.expando];return!!a&&!l(a)},data:function(a,c,d,e){if(!!f.acceptData(a)){var g=f.expando,h=typeof c=="string",i,j=a.nodeType,k=j?f.cache:a,l=j?a[f.expando]:a[f.expando]&&f.expando;if((!l||e&&l&&!k[l][g])&&h&&d===b)return;l||(j?a[f.expando]=l=++f.uuid:l=f.expando),k[l]||(k[l]={},j||(k[l].toJSON=f.noop));if(typeof c=="object"||typeof c=="function")e?k[l][g]=f.extend(k[l][g],c):k[l]=f.extend(k[l],c);i=k[l],e&&(i[g]||(i[g]={}),i=i[g]),d!==b&&(i[f.camelCase(c)]=d);if(c==="events"&&!i[c])return i[g]&&i[g].events;return h?i[f.camelCase(c)]:i}},removeData:function(b,c,d){if(!!f.acceptData(b)){var e=f.expando,g=b.nodeType,h=g?f.cache:b,i=g?b[f.expando]:f.expando;if(!h[i])return;if(c){var j=d?h[i][e]:h[i];if(j){delete j[c];if(!l(j))return}}if(d){delete h[i][e];if(!l(h[i]))return}var k=h[i][e];f.support.deleteExpando||h!=a?delete h[i]:h[i]=null,k?(h[i]={},g||(h[i].toJSON=f.noop),h[i][e]=k):g&&(f.support.deleteExpando?delete b[f.expando]:b.removeAttribute?b.removeAttribute(f.expando):b[f.expando]=null)}},_data:function(a,b,c){return f.data(a,b,c,!0)},acceptData:function(a){if(a.nodeName){var b=f.noData[a.nodeName.toLowerCase()];if(b)return b!==!0&&a.getAttribute("classid")===b}return!0}}),f.fn.extend({data:function(a,c){var d=null;if(typeof a=="undefined"){if(this.length){d=f.data(this[0]);if(this[0].nodeType===1){var e=this[0].attributes,g;for(var h=0,i=e.length;h-1)return!0;return!1},val:function(a){var c,d,e=this[0];if(!arguments.length){if(e){c=f.valHooks[e.nodeName.toLowerCase()]||f.valHooks[e.type];if(c&&"get"in c&&(d=c.get(e,"value"))!==b)return d;return(e.value||"").replace(p,"")}return b}var g=f.isFunction(a);return this.each(function(d){var e=f(this),h;if(this.nodeType===1){g?h=a.call(this,d,e.val()):h=a,h==null?h="":typeof h=="number"?h+="":f.isArray(h)&&(h=f.map(h,function(a){return a==null?"":a+""})),c=f.valHooks[this.nodeName.toLowerCase()]||f.valHooks[this.type];if(!c||!("set"in c)||c.set(this,h,"value")===b)this.value=h}})}}),f.extend({valHooks:{option:{get:function(a){var b=a.attributes.value;return!b||b.specified?a.value:a.text}},select:{get:function(a){var b,c=a.selectedIndex,d=[],e=a.options,g=a.type==="select-one";if(c<0)return null;for(var h=g?c:0,i=g?c+1:e.length;h=0}),c.length||(a.selectedIndex=-1);return c}}},attrFn:{val:!0,css:!0,html:!0,text:!0,data:!0,width:!0,height:!0,offset:!0},attrFix:{tabindex:"tabIndex"},attr:function(a,c,d,e){var g=a.nodeType;if(!a||g===3||g===8||g===2)return b;if(e&&c in f.attrFn)return f(a)[c](d);if(!("getAttribute"in a))return f.prop(a,c,d);var h,i,j=g!==1||!f.isXMLDoc(a);c=j&&f.attrFix[c]||c,i=f.attrHooks[c],i||(!t.test(c)||typeof d!="boolean"&&d!==b&&d.toLowerCase()!==c.toLowerCase()?v&&(f.nodeName(a,"form")||u.test(c))&&(i=v):i=w);if(d!==b){if(d===null){f.removeAttr(a,c);return b}if(i&&"set"in i&&j&&(h=i.set(a,d,c))!==b)return h;a.setAttribute(c,""+d);return d}if(i&&"get"in i&&j)return i.get(a,c);h=a.getAttribute(c);return h===null?b:h},removeAttr:function(a,b){var c;a.nodeType===1&&(b=f.attrFix[b]||b,f.support.getSetAttribute?a.removeAttribute(b):(f.attr(a,b,""),a.removeAttributeNode(a.getAttributeNode(b))),t.test(b)&&(c=f.propFix[b]||b)in a&&(a[c]=!1))},attrHooks:{type:{set:function(a,b){if(q.test(a.nodeName)&&a.parentNode)f.error("type property can't be changed");else if(!f.support.radioValue&&b==="radio"&&f.nodeName(a,"input")){var c=a.value;a.setAttribute("type",b),c&&(a.value=c);return b}}},tabIndex:{get:function(a){var c=a.getAttributeNode("tabIndex");return c&&c.specified?parseInt(c.value,10):r.test(a.nodeName)||s.test(a.nodeName)&&a.href?0:b}}},propFix:{tabindex:"tabIndex",readonly:"readOnly","for":"htmlFor","class":"className",maxlength:"maxLength",cellspacing:"cellSpacing",cellpadding:"cellPadding",rowspan:"rowSpan",colspan:"colSpan",usemap:"useMap",frameborder:"frameBorder",contenteditable:"contentEditable"},prop:function(a,c,d){var e=a.nodeType;if(!a||e===3||e===8||e===2)return b;var g,h,i=e!==1||!f.isXMLDoc(a);c=i&&f.propFix[c]||c,h=f.propHooks[c];return d!==b?h&&"set"in h&&(g=h.set(a,d,c))!==b?g:a[c]=d:h&&"get"in h&&(g=h.get(a,c))!==b?g:a[c]},propHooks:{}}),w={get:function(a,c){return a[f.propFix[c]||c]?c.toLowerCase():b},set:function(a,b,c){var d;b===!1?f.removeAttr(a,c):(d=f.propFix[c]||c,d in a&&(a[d]=b),a.setAttribute(c,c.toLowerCase()));return c}},f.attrHooks.value={get:function(a,b){if(v&&f.nodeName(a,"button"))return v.get(a,b);return a.value},set:function(a,b,c){if(v&&f.nodeName(a,"button"))return v.set(a,b,c);a.value=b}},f.support.getSetAttribute||(f.attrFix=f.propFix,v=f.attrHooks.name=f.valHooks.button={get:function(a,c){var d;d=a.getAttributeNode(c);return d&&d.nodeValue!==""?d.nodeValue:b},set:function(a,b,c){var d=a.getAttributeNode(c);if(d){d.nodeValue=b;return b}}},f.each(["width","height"],function(a,b){f.attrHooks[b]=f.extend(f.attrHooks[b],{set:function(a,c){if(c===""){a.setAttribute(b,"auto");return c}}})})),f.support.hrefNormalized||f.each(["href","src","width","height"],function(a,c){f.attrHooks[c]=f.extend(f.attrHooks[c],{get:function(a){var d=a.getAttribute(c,2);return d===null?b:d}})}),f.support.style||(f.attrHooks.style={get:function(a){return a.style.cssText.toLowerCase()||b},set:function(a,b){return a.style.cssText=""+b}}),f.support.optSelected||(f.propHooks.selected=f.extend(f.propHooks.selected,{get:function(a){var b=a.parentNode;b&&(b.selectedIndex,b.parentNode&&b.parentNode.selectedIndex)}})),f.support.checkOn||f.each(["radio","checkbox"],function(){f.valHooks[this]={get:function(a){return a.getAttribute("value")===null?"on":a.value}}}),f.each(["radio","checkbox"],function(){f.valHooks[this]=f.extend(f.valHooks[this],{set:function(a,b){if(f.isArray(b))return a.checked=f.inArray(f(a).val(),b)>=0}})});var x=Object.prototype.hasOwnProperty,y=/\.(.*)$/,z=/^(?:textarea|input|select)$/i,A=/\./g,B=/ /g,C=/[^\w\s.|`]/g,D=function(a){return a.replace(C,"\\$&")};f.event={add:function(a,c,d,e){if(a.nodeType!==3&&a.nodeType!==8){if(d===!1)d=E;else if(!d)return;var g,h;d.handler&&(g=d,d=g.handler),d.guid||(d.guid=f.guid++);var i=f._data(a);if(!i)return;var j=i.events,k=i.handle;j||(i.events=j={}),k||(i.handle=k=function(a){return typeof f!="undefined"&&(!a||f.event.triggered!==a.type)?f.event.handle.apply(k.elem,arguments):b}),k.elem=a,c=c.split(" ");var l,m=0,n;while(l=c[m++]){h=g?f.extend({},g):{handler:d,data:e},l.indexOf(".")>-1?(n=l.split("."),l=n.shift(),h.namespace=n.slice(0).sort().join(".")):(n=[],h.namespace=""),h.type=l,h.guid||(h.guid=d.guid);var o=j[l],p=f.event.special[l]||{};if(!o){o=j[l]=[];if(!p.setup||p.setup.call(a,e,n,k)===!1)a.addEventListener?a.addEventListener(l,k,!1):a.attachEvent&&a.attachEvent("on"+l,k)}p.add&&(p.add.call(a,h),h.handler.guid||(h.handler.guid=d.guid)),o.push(h),f.event.global[l]=!0}a=null}},global:{},remove:function(a,c,d,e){if(a.nodeType!==3&&a.nodeType!==8){d===!1&&(d=E);var g,h,i,j,k=0,l,m,n,o,p,q,r,s=f.hasData(a)&&f._data(a),t=s&&s.events;if(!s||!t)return;c&&c.type&&(d=c.handler,c=c.type);if(!c||typeof c=="string"&&c.charAt(0)==="."){c=c||"";for(h in t)f.event.remove(a,h+c);return}c=c.split(" ");while(h=c[k++]){r=h,q=null,l=h.indexOf(".")<0,m=[],l||(m=h.split("."),h=m.shift(),n=new RegExp("(^|\\.)"+f.map(m.slice(0).sort(),D).join("\\.(?:.*\\.)?")+"(\\.|$)")),p=t[h];if(!p)continue;if(!d){for(j=0;j=0&&(h=h.slice(0,-1),j=!0),h.indexOf(".")>=0&&(i=h.split("."),h=i.shift(),i.sort());if(!!e&&!f.event.customEvent[h]||!!f.event.global[h]){c=typeof c=="object"?c[f.expando]?c:new f.Event(h,c):new f.Event(h),c.type=h,c.exclusive=j,c.namespace=i.join("."),c.namespace_re=new RegExp("(^|\\.)"+i.join("\\.(?:.*\\.)?")+"(\\.|$)");if(g||!e)c.preventDefault(),c.stopPropagation();if(!e){f.each(f.cache,function(){var a=f.expando,b=this[a];b&&b.events&&b.events[h]&&f.event.trigger(c,d,b.handle.elem -)});return}if(e.nodeType===3||e.nodeType===8)return;c.result=b,c.target=e,d=d?f.makeArray(d):[],d.unshift(c);var k=e,l=h.indexOf(":")<0?"on"+h:"";do{var m=f._data(k,"handle");c.currentTarget=k,m&&m.apply(k,d),l&&f.acceptData(k)&&k[l]&&k[l].apply(k,d)===!1&&(c.result=!1,c.preventDefault()),k=k.parentNode||k.ownerDocument||k===c.target.ownerDocument&&a}while(k&&!c.isPropagationStopped());if(!c.isDefaultPrevented()){var n,o=f.event.special[h]||{};if((!o._default||o._default.call(e.ownerDocument,c)===!1)&&(h!=="click"||!f.nodeName(e,"a"))&&f.acceptData(e)){try{l&&e[h]&&(n=e[l],n&&(e[l]=null),f.event.triggered=h,e[h]())}catch(p){}n&&(e[l]=n),f.event.triggered=b}}return c.result}},handle:function(c){c=f.event.fix(c||a.event);var d=((f._data(this,"events")||{})[c.type]||[]).slice(0),e=!c.exclusive&&!c.namespace,g=Array.prototype.slice.call(arguments,0);g[0]=c,c.currentTarget=this;for(var h=0,i=d.length;h-1?f.map(a.options,function(a){return a.selected}).join("-"):"":f.nodeName(a,"select")&&(c=a.selectedIndex);return c},K=function(c){var d=c.target,e,g;if(!!z.test(d.nodeName)&&!d.readOnly){e=f._data(d,"_change_data"),g=J(d),(c.type!=="focusout"||d.type!=="radio")&&f._data(d,"_change_data",g);if(e===b||g===e)return;if(e!=null||g)c.type="change",c.liveFired=b,f.event.trigger(c,arguments[1],d)}};f.event.special.change={filters:{focusout:K,beforedeactivate:K,click:function(a){var b=a.target,c=f.nodeName(b,"input")?b.type:"";(c==="radio"||c==="checkbox"||f.nodeName(b,"select"))&&K.call(this,a)},keydown:function(a){var b=a.target,c=f.nodeName(b,"input")?b.type:"";(a.keyCode===13&&!f.nodeName(b,"textarea")||a.keyCode===32&&(c==="checkbox"||c==="radio")||c==="select-multiple")&&K.call(this,a)},beforeactivate:function(a){var b=a.target;f._data(b,"_change_data",J(b))}},setup:function(a,b){if(this.type==="file")return!1;for(var c in I)f.event.add(this,c+".specialChange",I[c]);return z.test(this.nodeName)},teardown:function(a){f.event.remove(this,".specialChange");return z.test(this.nodeName)}},I=f.event.special.change.filters,I.focus=I.beforeactivate}f.support.focusinBubbles||f.each({focus:"focusin",blur:"focusout"},function(a,b){function e(a){var c=f.event.fix(a);c.type=b,c.originalEvent={},f.event.trigger(c,null,c.target),c.isDefaultPrevented()&&a.preventDefault()}var d=0;f.event.special[b]={setup:function(){d++===0&&c.addEventListener(a,e,!0)},teardown:function(){--d===0&&c.removeEventListener(a,e,!0)}}}),f.each(["bind","one"],function(a,c){f.fn[c]=function(a,d,e){var g;if(typeof a=="object"){for(var h in a)this[c](h,d,a[h],e);return this}if(arguments.length===2||d===!1)e=d,d=b;c==="one"?(g=function(a){f(this).unbind(a,g);return e.apply(this,arguments)},g.guid=e.guid||f.guid++):g=e;if(a==="unload"&&c!=="one")this.one(a,d,e);else for(var i=0,j=this.length;i0?this.bind(b,a,c):this.trigger(b)},f.attrFn&&(f.attrFn[b]=!0)}),function(){function u(a,b,c,d,e,f){for(var g=0,h=d.length;g0){j=i;break}}i=i[a]}d[g]=j}}}function t(a,b,c,d,e,f){for(var g=0,h=d.length;g+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,d=0,e=Object.prototype.toString,g=!1,h=!0,i=/\\/g,j=/\W/;[0,0].sort(function(){h=!1;return 0});var k=function(b,d,f,g){f=f||[],d=d||c;var h=d;if(d.nodeType!==1&&d.nodeType!==9)return[];if(!b||typeof b!="string")return f;var i,j,n,o,q,r,s,t,u=!0,w=k.isXML(d),x=[],y=b;do{a.exec(""),i=a.exec(y);if(i){y=i[3],x.push(i[1]);if(i[2]){o=i[3];break}}}while(i);if(x.length>1&&m.exec(b))if(x.length===2&&l.relative[x[0]])j=v(x[0]+x[1],d);else{j=l.relative[x[0]]?[d]:k(x.shift(),d);while(x.length)b=x.shift(),l.relative[b]&&(b+=x.shift()),j=v(b,j)}else{!g&&x.length>1&&d.nodeType===9&&!w&&l.match.ID.test(x[0])&&!l.match.ID.test(x[x.length-1])&&(q=k.find(x.shift(),d,w),d=q.expr?k.filter(q.expr,q.set)[0]:q.set[0]);if(d){q=g?{expr:x.pop(),set:p(g)}:k.find(x.pop(),x.length===1&&(x[0]==="~"||x[0]==="+")&&d.parentNode?d.parentNode:d,w),j=q.expr?k.filter(q.expr,q.set):q.set,x.length>0?n=p(j):u=!1;while(x.length)r=x.pop(),s=r,l.relative[r]?s=x.pop():r="",s==null&&(s=d),l.relative[r](n,s,w)}else n=x=[]}n||(n=j),n||k.error(r||b);if(e.call(n)==="[object Array]")if(!u)f.push.apply(f,n);else if(d&&d.nodeType===1)for(t=0;n[t]!=null;t++)n[t]&&(n[t]===!0||n[t].nodeType===1&&k.contains(d,n[t]))&&f.push(j[t]);else for(t=0;n[t]!=null;t++)n[t]&&n[t].nodeType===1&&f.push(j[t]);else p(n,f);o&&(k(o,h,f,g),k.uniqueSort(f));return f};k.uniqueSort=function(a){if(r){g=h,a.sort(r);if(g)for(var b=1;b0},k.find=function(a,b,c){var d;if(!a)return[];for(var e=0,f=l.order.length;e":function(a,b){var c,d=typeof b=="string",e=0,f=a.length;if(d&&!j.test(b)){b=b.toLowerCase();for(;e=0)?c||d.push(h):c&&(b[g]=!1));return!1},ID:function(a){return a[1].replace(i,"")},TAG:function(a,b){return a[1].replace(i,"").toLowerCase()},CHILD:function(a){if(a[1]==="nth"){a[2]||k.error(a[0]),a[2]=a[2].replace(/^\+|\s*/g,"");var b=/(-?)(\d*)(?:n([+\-]?\d*))?/.exec(a[2]==="even"&&"2n"||a[2]==="odd"&&"2n+1"||!/\D/.test(a[2])&&"0n+"+a[2]||a[2]);a[2]=b[1]+(b[2]||1)-0,a[3]=b[3]-0}else a[2]&&k.error(a[0]);a[0]=d++;return a},ATTR:function(a,b,c,d,e,f){var g=a[1]=a[1].replace(i,"");!f&&l.attrMap[g]&&(a[1]=l.attrMap[g]),a[4]=(a[4]||a[5]||"").replace(i,""),a[2]==="~="&&(a[4]=" "+a[4]+" ");return a},PSEUDO:function(b,c,d,e,f){if(b[1]==="not")if((a.exec(b[3])||"").length>1||/^\w/.test(b[3]))b[3]=k(b[3],null,null,c);else{var g=k.filter(b[3],c,d,!0^f);d||e.push.apply(e,g);return!1}else if(l.match.POS.test(b[0])||l.match.CHILD.test(b[0]))return!0;return b},POS:function(a){a.unshift(!0);return a}},filters:{enabled:function(a){return a.disabled===!1&&a.type!=="hidden"},disabled:function(a){return a.disabled===!0},checked:function(a){return a.checked===!0},selected:function(a){a.parentNode&&a.parentNode.selectedIndex;return a.selected===!0},parent:function(a){return!!a.firstChild},empty:function(a){return!a.firstChild},has:function(a,b,c){return!!k(c[3],a).length},header:function(a){return/h\d/i.test(a.nodeName)},text:function(a){var b=a.getAttribute("type"),c=a.type;return a.nodeName.toLowerCase()==="input"&&"text"===c&&(b===c||b===null)},radio:function(a){return a.nodeName.toLowerCase()==="input"&&"radio"===a.type},checkbox:function(a){return a.nodeName.toLowerCase()==="input"&&"checkbox"===a.type},file:function(a){return a.nodeName.toLowerCase()==="input"&&"file"===a.type},password:function(a){return a.nodeName.toLowerCase()==="input"&&"password"===a.type},submit:function(a){var b=a.nodeName.toLowerCase();return(b==="input"||b==="button")&&"submit"===a.type},image:function(a){return a.nodeName.toLowerCase()==="input"&&"image"===a.type},reset:function(a){var b=a.nodeName.toLowerCase();return(b==="input"||b==="button")&&"reset"===a.type},button:function(a){var b=a.nodeName.toLowerCase();return b==="input"&&"button"===a.type||b==="button"},input:function(a){return/input|select|textarea|button/i.test(a.nodeName)},focus:function(a){return a===a.ownerDocument.activeElement}},setFilters:{first:function(a,b){return b===0},last:function(a,b,c,d){return b===d.length-1},even:function(a,b){return b%2===0},odd:function(a,b){return b%2===1},lt:function(a,b,c){return bc[3]-0},nth:function(a,b,c){return c[3]-0===b},eq:function(a,b,c){return c[3]-0===b}},filter:{PSEUDO:function(a,b,c,d){var e=b[1],f=l.filters[e];if(f)return f(a,c,b,d);if(e==="contains")return(a.textContent||a.innerText||k.getText([a])||"").indexOf(b[3])>=0;if(e==="not"){var g=b[3];for(var h=0,i=g.length;h=0}},ID:function(a,b){return a.nodeType===1&&a.getAttribute("id")===b},TAG:function(a,b){return b==="*"&&a.nodeType===1||a.nodeName.toLowerCase()===b},CLASS:function(a,b){return(" "+(a.className||a.getAttribute("class"))+" ").indexOf(b)>-1},ATTR:function(a,b){var c=b[1],d=l.attrHandle[c]?l.attrHandle[c](a):a[c]!=null?a[c]:a.getAttribute(c),e=d+"",f=b[2],g=b[4];return d==null?f==="!=":f==="="?e===g:f==="*="?e.indexOf(g)>=0:f==="~="?(" "+e+" ").indexOf(g)>=0:g?f==="!="?e!==g:f==="^="?e.indexOf(g)===0:f==="$="?e.substr(e.length-g.length)===g:f==="|="?e===g||e.substr(0,g.length+1)===g+"-":!1:e&&d!==!1},POS:function(a,b,c,d){var e=b[2],f=l.setFilters[e];if(f)return f(a,c,b,d)}}},m=l.match.POS,n=function(a,b){return"\\"+(b-0+1)};for(var o in l.match)l.match[o]=new RegExp(l.match[o].source+/(?![^\[]*\])(?![^\(]*\))/.source),l.leftMatch[o]=new RegExp(/(^(?:.|\r|\n)*?)/.source+l.match[o].source.replace(/\\(\d+)/g,n));var p=function(a,b){a=Array.prototype.slice.call(a,0);if(b){b.push.apply(b,a);return b}return a};try{Array.prototype.slice.call(c.documentElement.childNodes,0)[0].nodeType}catch(q){p=function(a,b){var c=0,d=b||[];if(e.call(a)==="[object Array]")Array.prototype.push.apply(d,a);else if(typeof a.length=="number")for(var f=a.length;c",e.insertBefore(a,e.firstChild),c.getElementById(d)&&(l.find.ID=function(a,c,d){if(typeof c.getElementById!="undefined"&&!d){var e=c.getElementById(a[1]);return e?e.id===a[1]||typeof e.getAttributeNode!="undefined"&&e.getAttributeNode("id").nodeValue===a[1]?[e]:b:[]}},l.filter.ID=function(a,b){var c=typeof a.getAttributeNode!="undefined"&&a.getAttributeNode("id");return a.nodeType===1&&c&&c.nodeValue===b}),e.removeChild(a),e=a=null}(),function(){var a=c.createElement("div");a.appendChild(c.createComment("")),a.getElementsByTagName("*").length>0&&(l.find.TAG=function(a,b){var c=b.getElementsByTagName(a[1]);if(a[1]==="*"){var d=[];for(var e=0;c[e];e++)c[e].nodeType===1&&d.push(c[e]);c=d}return c}),a.innerHTML="",a.firstChild&&typeof a.firstChild.getAttribute!="undefined"&&a.firstChild.getAttribute("href")!=="#"&&(l.attrHandle.href=function(a){return a.getAttribute("href",2)}),a=null}(),c.querySelectorAll&&function(){var a=k,b=c.createElement("div"),d="__sizzle__";b.innerHTML="

";if(!b.querySelectorAll||b.querySelectorAll(".TEST").length!==0){k=function(b,e,f,g){e=e||c;if(!g&&!k.isXML(e)){var h=/^(\w+$)|^\.([\w\-]+$)|^#([\w\-]+$)/.exec(b);if(h&&(e.nodeType===1||e.nodeType===9)){if(h[1])return p(e.getElementsByTagName(b),f);if(h[2]&&l.find.CLASS&&e.getElementsByClassName)return p(e.getElementsByClassName(h[2]),f)}if(e.nodeType===9){if(b==="body"&&e.body)return p([e.body],f);if(h&&h[3]){var i=e.getElementById(h[3]);if(!i||!i.parentNode)return p([],f);if(i.id===h[3])return p([i],f)}try{return p(e.querySelectorAll(b),f)}catch(j){}}else if(e.nodeType===1&&e.nodeName.toLowerCase()!=="object"){var m=e,n=e.getAttribute("id"),o=n||d,q=e.parentNode,r=/^\s*[+~]/.test(b);n?o=o.replace(/'/g,"\\$&"):e.setAttribute("id",o),r&&q&&(e=e.parentNode);try{if(!r||q)return p(e.querySelectorAll("[id='"+o+"'] "+b),f)}catch(s){}finally{n||m.removeAttribute("id")}}}return a(b,e,f,g)};for(var e in a)k[e]=a[e];b=null}}(),function(){var a=c.documentElement,b=a.matchesSelector||a.mozMatchesSelector||a.webkitMatchesSelector||a.msMatchesSelector;if(b){var d=!b.call(c.createElement("div"),"div"),e=!1;try{b.call(c.documentElement,"[test!='']:sizzle")}catch(f){e=!0}k.matchesSelector=function(a,c){c=c.replace(/\=\s*([^'"\]]*)\s*\]/g,"='$1']");if(!k.isXML(a))try{if(e||!l.match.PSEUDO.test(c)&&!/!=/.test(c)){var f=b.call(a,c);if(f||!d||a.document&&a.document.nodeType!==11)return f}}catch(g){}return k(c,null,null,[a]).length>0}}}(),function(){var a=c.createElement("div");a.innerHTML="
";if(!!a.getElementsByClassName&&a.getElementsByClassName("e").length!==0){a.lastChild.className="e";if(a.getElementsByClassName("e").length===1)return;l.order.splice(1,0,"CLASS"),l.find.CLASS=function(a,b,c){if(typeof b.getElementsByClassName!="undefined"&&!c)return b.getElementsByClassName(a[1])},a=null}}(),c.documentElement.contains?k.contains=function(a,b){return a!==b&&(a.contains?a.contains(b):!0)}:c.documentElement.compareDocumentPosition?k.contains=function(a,b){return!!(a.compareDocumentPosition(b)&16)}:k.contains=function(){return!1},k.isXML=function(a){var b=(a?a.ownerDocument||a:0).documentElement;return b?b.nodeName!=="HTML":!1};var v=function(a,b){var c,d=[],e="",f=b.nodeType?[b]:b;while(c=l.match.PSEUDO.exec(a))e+=c[0],a=a.replace(l.match.PSEUDO,"");a=l.relative[a]?a+"*":a;for(var g=0,h=f.length;g0)for(h=g;h0:this.filter(a).length>0)},closest:function(a,b){var c=[],d,e,g=this[0];if(f.isArray(a)){var h,i,j={},k=1;if(g&&a.length){for(d=0,e=a.length;d-1:f(g).is(h))&&c.push({selector:i,elem:g,level:k});g=g.parentNode,k++}}return c}var l=U.test(a)||typeof a!="string"?f(a,b||this.context):0;for(d=0,e=this.length;d-1:f.find.matchesSelector(g,a)){c.push(g);break}g=g.parentNode;if(!g||!g.ownerDocument||g===b||g.nodeType===11)break}}c=c.length>1?f.unique(c):c;return this.pushStack(c,"closest",a)},index:function(a){if(!a||typeof a=="string")return f.inArray(this[0],a?f(a):this.parent().children());return f.inArray(a.jquery?a[0]:a,this)},add:function(a,b){var c=typeof a=="string"?f(a,b):f.makeArray(a&&a.nodeType?[a]:a),d=f.merge(this.get(),c);return this.pushStack(W(c[0])||W(d[0])?d:f.unique(d))},andSelf:function(){return this.add(this.prevObject)}}),f.each({parent:function(a){var b=a.parentNode;return b&&b.nodeType!==11?b:null},parents:function(a){return f.dir(a,"parentNode")},parentsUntil:function(a,b,c){return f.dir(a,"parentNode",c)},next:function(a){return f.nth(a,2,"nextSibling")},prev:function(a){return f.nth(a,2,"previousSibling")},nextAll:function(a){return f.dir(a,"nextSibling")},prevAll:function(a){return f.dir(a,"previousSibling")},nextUntil:function(a,b,c){return f.dir(a,"nextSibling",c)},prevUntil:function(a,b,c){return f.dir(a,"previousSibling",c)},siblings:function(a){return f.sibling(a.parentNode.firstChild,a)},children:function(a){return f.sibling(a.firstChild)},contents:function(a){return f.nodeName(a,"iframe")?a.contentDocument||a.contentWindow.document:f.makeArray(a.childNodes)}},function(a,b){f.fn[a]=function(c,d){var e=f.map(this,b,c),g=T.call(arguments);P.test(a)||(d=c),d&&typeof d=="string"&&(e=f.filter(d,e)),e=this.length>1&&!V[a]?f.unique(e):e,(this.length>1||R.test(d))&&Q.test(a)&&(e=e.reverse());return this.pushStack(e,a,g.join(","))}}),f.extend({filter:function(a,b,c){c&&(a=":not("+a+")");return b.length===1?f.find.matchesSelector(b[0],a)?[b[0]]:[]:f.find.matches(a,b)},dir:function(a,c,d){var e=[],g=a[c];while(g&&g.nodeType!==9&&(d===b||g.nodeType!==1||!f(g).is(d)))g.nodeType===1&&e.push(g),g=g[c];return e},nth:function(a,b,c,d){b=b||1;var e=0;for(;a;a=a[c])if(a.nodeType===1&&++e===b)break;return a},sibling:function(a,b){var c=[];for(;a;a=a.nextSibling)a.nodeType===1&&a!==b&&c.push(a);return c}});var Y=/ jQuery\d+="(?:\d+|null)"/g,Z=/^\s+/,$=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/ig,_=/<([\w:]+)/,ba=/",""],legend:[1,"
","
"],thead:[1,"","
"],tr:[2,"","
"],td:[3,"","
"],col:[2,"","
"],area:[1,"",""],_default:[0,"",""]};bg.optgroup=bg.option,bg.tbody=bg.tfoot=bg.colgroup=bg.caption=bg.thead,bg.th=bg.td,f.support.htmlSerialize||(bg._default=[1,"div
","
"]),f.fn.extend({text:function(a){if(f.isFunction(a))return this.each(function(b){var c=f(this);c.text(a.call(this,b,c.text()))});if(typeof a!="object"&&a!==b)return this.empty().append((this[0]&&this[0].ownerDocument||c).createTextNode(a));return f.text(this)},wrapAll:function(a){if(f.isFunction(a))return this.each(function(b){f(this).wrapAll(a.call(this,b))});if(this[0]){var b=f(a,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&b.insertBefore(this[0]),b.map(function(){var a=this;while(a.firstChild&&a.firstChild.nodeType===1)a=a.firstChild;return a}).append(this)}return this},wrapInner:function(a){if(f.isFunction(a))return this.each(function(b){f(this).wrapInner(a.call(this,b))});return this.each(function(){var b=f(this),c=b.contents();c.length?c.wrapAll(a):b.append(a)})},wrap:function(a){return this.each(function(){f(this).wrapAll(a)})},unwrap:function(){return this.parent().each(function(){f.nodeName(this,"body")||f(this).replaceWith(this.childNodes)}).end()},append:function(){return this.domManip(arguments,!0,function(a){this.nodeType===1&&this.appendChild(a)})},prepend:function(){return this.domManip(arguments,!0,function(a){this.nodeType===1&&this.insertBefore(a,this.firstChild)})},before:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,!1,function(a){this.parentNode.insertBefore(a,this)});if(arguments.length){var a=f(arguments[0]);a.push.apply(a,this.toArray());return this.pushStack(a,"before",arguments)}},after:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,!1,function(a){this.parentNode.insertBefore(a,this.nextSibling)});if(arguments.length){var a=this.pushStack(this,"after",arguments);a.push.apply(a,f(arguments[0]).toArray());return a}},remove:function(a,b){for(var c=0,d;(d=this[c])!=null;c++)if(!a||f.filter(a,[d]).length)!b&&d.nodeType===1&&(f.cleanData(d.getElementsByTagName("*")),f.cleanData([d])),d.parentNode&&d.parentNode.removeChild(d);return this},empty:function(){for(var a=0,b;(b=this[a])!=null;a++){b.nodeType===1&&f.cleanData(b.getElementsByTagName("*"));while(b.firstChild)b.removeChild(b.firstChild)}return this},clone:function(a,b){a=a==null?!1:a,b=b==null?a:b;return this.map(function(){return f.clone(this,a,b)})},html:function(a){if(a===b)return this[0]&&this[0].nodeType===1?this[0].innerHTML.replace(Y,""):null;if(typeof a=="string"&&!bc.test(a)&&(f.support.leadingWhitespace||!Z.test(a))&&!bg[(_.exec(a)||["",""])[1].toLowerCase()]){a=a.replace($,"<$1>");try{for(var c=0,d=this.length;c1&&l0?this.clone(!0):this).get();f(e[h])[b](j),d=d.concat(j)}return this.pushStack(d,a,e.selector)}}),f.extend({clone:function(a,b,c){var d=a.cloneNode(!0),e,g,h;if((!f.support.noCloneEvent||!f.support.noCloneChecked)&&(a.nodeType===1||a.nodeType===11)&&!f.isXMLDoc(a)){bj(a,d),e=bk(a),g=bk(d);for(h=0;e[h];++h)bj(e[h],g[h])}if(b){bi(a,d);if(c){e=bk(a),g=bk(d);for(h=0;e[h];++h)bi(e[h],g[h])}}return d},clean:function(a,b,d,e){var g;b=b||c,typeof b.createElement=="undefined"&&(b=b.ownerDocument|| -b[0]&&b[0].ownerDocument||c);var h=[],i;for(var j=0,k;(k=a[j])!=null;j++){typeof k=="number"&&(k+="");if(!k)continue;if(typeof k=="string")if(!bb.test(k))k=b.createTextNode(k);else{k=k.replace($,"<$1>");var l=(_.exec(k)||["",""])[1].toLowerCase(),m=bg[l]||bg._default,n=m[0],o=b.createElement("div");o.innerHTML=m[1]+k+m[2];while(n--)o=o.lastChild;if(!f.support.tbody){var p=ba.test(k),q=l==="table"&&!p?o.firstChild&&o.firstChild.childNodes:m[1]===""&&!p?o.childNodes:[];for(i=q.length-1;i>=0;--i)f.nodeName(q[i],"tbody")&&!q[i].childNodes.length&&q[i].parentNode.removeChild(q[i])}!f.support.leadingWhitespace&&Z.test(k)&&o.insertBefore(b.createTextNode(Z.exec(k)[0]),o.firstChild),k=o.childNodes}var r;if(!f.support.appendChecked)if(k[0]&&typeof (r=k.length)=="number")for(i=0;i=0)return b+"px"}}}),f.support.opacity||(f.cssHooks.opacity={get:function(a,b){return bp.test((b&&a.currentStyle?a.currentStyle.filter:a.style.filter)||"")?parseFloat(RegExp.$1)/100+"":b?"1":""},set:function(a,b){var c=a.style,d=a.currentStyle;c.zoom=1;var e=f.isNaN(b)?"":"alpha(opacity="+b*100+")",g=d&&d.filter||c.filter||"";c.filter=bo.test(g)?g.replace(bo,e):g+" "+e}}),f(function(){f.support.reliableMarginRight||(f.cssHooks.marginRight={get:function(a,b){var c;f.swap(a,{display:"inline-block"},function(){b?c=bz(a,"margin-right","marginRight"):c=a.style.marginRight});return c}})}),c.defaultView&&c.defaultView.getComputedStyle&&(bA=function(a,c){var d,e,g;c=c.replace(br,"-$1").toLowerCase();if(!(e=a.ownerDocument.defaultView))return b;if(g=e.getComputedStyle(a,null))d=g.getPropertyValue(c),d===""&&!f.contains(a.ownerDocument.documentElement,a)&&(d=f.style(a,c));return d}),c.documentElement.currentStyle&&(bB=function(a,b){var c,d=a.currentStyle&&a.currentStyle[b],e=a.runtimeStyle&&a.runtimeStyle[b],f=a.style;!bs.test(d)&&bt.test(d)&&(c=f.left,e&&(a.runtimeStyle.left=a.currentStyle.left),f.left=b==="fontSize"?"1em":d||0,d=f.pixelLeft+"px",f.left=c,e&&(a.runtimeStyle.left=e));return d===""?"auto":d}),bz=bA||bB,f.expr&&f.expr.filters&&(f.expr.filters.hidden=function(a){var b=a.offsetWidth,c=a.offsetHeight;return b===0&&c===0||!f.support.reliableHiddenOffsets&&(a.style.display||f.css(a,"display"))==="none"},f.expr.filters.visible=function(a){return!f.expr.filters.hidden(a)});var bE=/%20/g,bF=/\[\]$/,bG=/\r?\n/g,bH=/#.*$/,bI=/^(.*?):[ \t]*([^\r\n]*)\r?$/mg,bJ=/^(?:color|date|datetime|email|hidden|month|number|password|range|search|tel|text|time|url|week)$/i,bK=/^(?:about|app|app\-storage|.+\-extension|file|widget):$/,bL=/^(?:GET|HEAD)$/,bM=/^\/\//,bN=/\?/,bO=/)<[^<]*)*<\/script>/gi,bP=/^(?:select|textarea)/i,bQ=/\s+/,bR=/([?&])_=[^&]*/,bS=/^([\w\+\.\-]+:)(?:\/\/([^\/?#:]*)(?::(\d+))?)?/,bT=f.fn.load,bU={},bV={},bW,bX;try{bW=e.href}catch(bY){bW=c.createElement("a"),bW.href="",bW=bW.href}bX=bS.exec(bW.toLowerCase())||[],f.fn.extend({load:function(a,c,d){if(typeof a!="string"&&bT)return bT.apply(this,arguments);if(!this.length)return this;var e=a.indexOf(" ");if(e>=0){var g=a.slice(e,a.length);a=a.slice(0,e)}var h="GET";c&&(f.isFunction(c)?(d=c,c=b):typeof c=="object"&&(c=f.param(c,f.ajaxSettings.traditional),h="POST"));var i=this;f.ajax({url:a,type:h,dataType:"html",data:c,complete:function(a,b,c){c=a.responseText,a.isResolved()&&(a.done(function(a){c=a}),i.html(g?f("
").append(c.replace(bO,"")).find(g):c)),d&&i.each(d,[c,b,a])}});return this},serialize:function(){return f.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?f.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||bP.test(this.nodeName)||bJ.test(this.type))}).map(function(a,b){var c=f(this).val();return c==null?null:f.isArray(c)?f.map(c,function(a,c){return{name:b.name,value:a.replace(bG,"\r\n")}}):{name:b.name,value:c.replace(bG,"\r\n")}}).get()}}),f.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(a,b){f.fn[b]=function(a){return this.bind(b,a)}}),f.each(["get","post"],function(a,c){f[c]=function(a,d,e,g){f.isFunction(d)&&(g=g||e,e=d,d=b);return f.ajax({type:c,url:a,data:d,success:e,dataType:g})}}),f.extend({getScript:function(a,c){return f.get(a,b,c,"script")},getJSON:function(a,b,c){return f.get(a,b,c,"json")},ajaxSetup:function(a,b){b?f.extend(!0,a,f.ajaxSettings,b):(b=a,a=f.extend(!0,f.ajaxSettings,b));for(var c in{context:1,url:1})c in b?a[c]=b[c]:c in f.ajaxSettings&&(a[c]=f.ajaxSettings[c]);return a},ajaxSettings:{url:bW,isLocal:bK.test(bX[1]),global:!0,type:"GET",contentType:"application/x-www-form-urlencoded",processData:!0,async:!0,accepts:{xml:"application/xml, text/xml",html:"text/html",text:"text/plain",json:"application/json, text/javascript","*":"*/*"},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText"},converters:{"* text":a.String,"text html":!0,"text json":f.parseJSON,"text xml":f.parseXML}},ajaxPrefilter:bZ(bU),ajaxTransport:bZ(bV),ajax:function(a,c){function w(a,c,l,m){if(s!==2){s=2,q&&clearTimeout(q),p=b,n=m||"",v.readyState=a?4:0;var o,r,u,w=l?ca(d,v,l):b,x,y;if(a>=200&&a<300||a===304){if(d.ifModified){if(x=v.getResponseHeader("Last-Modified"))f.lastModified[k]=x;if(y=v.getResponseHeader("Etag"))f.etag[k]=y}if(a===304)c="notmodified",o=!0;else try{r=cb(d,w),c="success",o=!0}catch(z){c="parsererror",u=z}}else{u=c;if(!c||a)c="error",a<0&&(a=0)}v.status=a,v.statusText=c,o?h.resolveWith(e,[r,c,v]):h.rejectWith(e,[v,c,u]),v.statusCode(j),j=b,t&&g.trigger("ajax"+(o?"Success":"Error"),[v,d,o?r:u]),i.resolveWith(e,[v,c]),t&&(g.trigger("ajaxComplete",[v,d]),--f.active||f.event.trigger("ajaxStop"))}}typeof a=="object"&&(c=a,a=b),c=c||{};var d=f.ajaxSetup({},c),e=d.context||d,g=e!==d&&(e.nodeType||e instanceof f)?f(e):f.event,h=f.Deferred(),i=f._Deferred(),j=d.statusCode||{},k,l={},m={},n,o,p,q,r,s=0,t,u,v={readyState:0,setRequestHeader:function(a,b){if(!s){var c=a.toLowerCase();a=m[c]=m[c]||a,l[a]=b}return this},getAllResponseHeaders:function(){return s===2?n:null},getResponseHeader:function(a){var c;if(s===2){if(!o){o={};while(c=bI.exec(n))o[c[1].toLowerCase()]=c[2]}c=o[a.toLowerCase()]}return c===b?null:c},overrideMimeType:function(a){s||(d.mimeType=a);return this},abort:function(a){a=a||"abort",p&&p.abort(a),w(0,a);return this}};h.promise(v),v.success=v.done,v.error=v.fail,v.complete=i.done,v.statusCode=function(a){if(a){var b;if(s<2)for(b in a)j[b]=[j[b],a[b]];else b=a[v.status],v.then(b,b)}return this},d.url=((a||d.url)+"").replace(bH,"").replace(bM,bX[1]+"//"),d.dataTypes=f.trim(d.dataType||"*").toLowerCase().split(bQ),d.crossDomain==null&&(r=bS.exec(d.url.toLowerCase()),d.crossDomain=!(!r||r[1]==bX[1]&&r[2]==bX[2]&&(r[3]||(r[1]==="http:"?80:443))==(bX[3]||(bX[1]==="http:"?80:443)))),d.data&&d.processData&&typeof d.data!="string"&&(d.data=f.param(d.data,d.traditional)),b$(bU,d,c,v);if(s===2)return!1;t=d.global,d.type=d.type.toUpperCase(),d.hasContent=!bL.test(d.type),t&&f.active++===0&&f.event.trigger("ajaxStart");if(!d.hasContent){d.data&&(d.url+=(bN.test(d.url)?"&":"?")+d.data),k=d.url;if(d.cache===!1){var x=f.now(),y=d.url.replace(bR,"$1_="+x);d.url=y+(y===d.url?(bN.test(d.url)?"&":"?")+"_="+x:"")}}(d.data&&d.hasContent&&d.contentType!==!1||c.contentType)&&v.setRequestHeader("Content-Type",d.contentType),d.ifModified&&(k=k||d.url,f.lastModified[k]&&v.setRequestHeader("If-Modified-Since",f.lastModified[k]),f.etag[k]&&v.setRequestHeader("If-None-Match",f.etag[k])),v.setRequestHeader("Accept",d.dataTypes[0]&&d.accepts[d.dataTypes[0]]?d.accepts[d.dataTypes[0]]+(d.dataTypes[0]!=="*"?", */*; q=0.01":""):d.accepts["*"]);for(u in d.headers)v.setRequestHeader(u,d.headers[u]);if(d.beforeSend&&(d.beforeSend.call(e,v,d)===!1||s===2)){v.abort();return!1}for(u in{success:1,error:1,complete:1})v[u](d[u]);p=b$(bV,d,c,v);if(!p)w(-1,"No Transport");else{v.readyState=1,t&&g.trigger("ajaxSend",[v,d]),d.async&&d.timeout>0&&(q=setTimeout(function(){v.abort("timeout")},d.timeout));try{s=1,p.send(l,w)}catch(z){status<2?w(-1,z):f.error(z)}}return v},param:function(a,c){var d=[],e=function(a,b){b=f.isFunction(b)?b():b,d[d.length]=encodeURIComponent(a)+"="+encodeURIComponent(b)};c===b&&(c=f.ajaxSettings.traditional);if(f.isArray(a)||a.jquery&&!f.isPlainObject(a))f.each(a,function(){e(this.name,this.value)});else for(var g in a)b_(g,a[g],c,e);return d.join("&").replace(bE,"+")}}),f.extend({active:0,lastModified:{},etag:{}});var cc=f.now(),cd=/(\=)\?(&|$)|\?\?/i;f.ajaxSetup({jsonp:"callback",jsonpCallback:function(){return f.expando+"_"+cc++}}),f.ajaxPrefilter("json jsonp",function(b,c,d){var e=b.contentType==="application/x-www-form-urlencoded"&&typeof b.data=="string";if(b.dataTypes[0]==="jsonp"||b.jsonp!==!1&&(cd.test(b.url)||e&&cd.test(b.data))){var g,h=b.jsonpCallback=f.isFunction(b.jsonpCallback)?b.jsonpCallback():b.jsonpCallback,i=a[h],j=b.url,k=b.data,l="$1"+h+"$2";b.jsonp!==!1&&(j=j.replace(cd,l),b.url===j&&(e&&(k=k.replace(cd,l)),b.data===k&&(j+=(/\?/.test(j)?"&":"?")+b.jsonp+"="+h))),b.url=j,b.data=k,a[h]=function(a){g=[a]},d.always(function(){a[h]=i,g&&f.isFunction(i)&&a[h](g[0])}),b.converters["script json"]=function(){g||f.error(h+" was not called");return g[0]},b.dataTypes[0]="json";return"script"}}),f.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/javascript|ecmascript/},converters:{"text script":function(a){f.globalEval(a);return a}}}),f.ajaxPrefilter("script",function(a){a.cache===b&&(a.cache=!1),a.crossDomain&&(a.type="GET",a.global=!1)}),f.ajaxTransport("script",function(a){if(a.crossDomain){var d,e=c.head||c.getElementsByTagName("head")[0]||c.documentElement;return{send:function(f,g){d=c.createElement("script"),d.async="async",a.scriptCharset&&(d.charset=a.scriptCharset),d.src=a.url,d.onload=d.onreadystatechange=function(a,c){if(c||!d.readyState||/loaded|complete/.test(d.readyState))d.onload=d.onreadystatechange=null,e&&d.parentNode&&e.removeChild(d),d=b,c||g(200,"success")},e.insertBefore(d,e.firstChild)},abort:function(){d&&d.onload(0,1)}}}});var ce=a.ActiveXObject?function(){for(var a in cg)cg[a](0,1)}:!1,cf=0,cg;f.ajaxSettings.xhr=a.ActiveXObject?function(){return!this.isLocal&&ch()||ci()}:ch,function(a){f.extend(f.support,{ajax:!!a,cors:!!a&&"withCredentials"in a})}(f.ajaxSettings.xhr()),f.support.ajax&&f.ajaxTransport(function(c){if(!c.crossDomain||f.support.cors){var d;return{send:function(e,g){var h=c.xhr(),i,j;c.username?h.open(c.type,c.url,c.async,c.username,c.password):h.open(c.type,c.url,c.async);if(c.xhrFields)for(j in c.xhrFields)h[j]=c.xhrFields[j];c.mimeType&&h.overrideMimeType&&h.overrideMimeType(c.mimeType),!c.crossDomain&&!e["X-Requested-With"]&&(e["X-Requested-With"]="XMLHttpRequest");try{for(j in e)h.setRequestHeader(j,e[j])}catch(k){}h.send(c.hasContent&&c.data||null),d=function(a,e){var j,k,l,m,n;try{if(d&&(e||h.readyState===4)){d=b,i&&(h.onreadystatechange=f.noop,ce&&delete cg[i]);if(e)h.readyState!==4&&h.abort();else{j=h.status,l=h.getAllResponseHeaders(),m={},n=h.responseXML,n&&n.documentElement&&(m.xml=n),m.text=h.responseText;try{k=h.statusText}catch(o){k=""}!j&&c.isLocal&&!c.crossDomain?j=m.text?200:404:j===1223&&(j=204)}}}catch(p){e||g(-1,p)}m&&g(j,k,m,l)},!c.async||h.readyState===4?d():(i=++cf,ce&&(cg||(cg={},f(a).unload(ce)),cg[i]=d),h.onreadystatechange=d)},abort:function(){d&&d(0,1)}}}});var cj={},ck,cl,cm=/^(?:toggle|show|hide)$/,cn=/^([+\-]=)?([\d+.\-]+)([a-z%]*)$/i,co,cp=[["height","marginTop","marginBottom","paddingTop","paddingBottom"],["width","marginLeft","marginRight","paddingLeft","paddingRight"],["opacity"]],cq,cr=a.webkitRequestAnimationFrame||a.mozRequestAnimationFrame||a.oRequestAnimationFrame;f.fn.extend({show:function(a,b,c){var d,e;if(a||a===0)return this.animate(cu("show",3),a,b,c);for(var g=0,h=this.length;g=e.duration+this.startTime){this.now=this.end,this.pos=this.state=1,this.update(),e.animatedProperties[this.prop]=!0;for(g in e.animatedProperties)e.animatedProperties[g]!==!0&&(c=!1);if(c){e.overflow!=null&&!f.support.shrinkWrapBlocks&&f.each(["","X","Y"],function(a,b){d.style["overflow"+b]=e.overflow[a]}),e.hide&&f(d).hide();if(e.hide||e.show)for(var i in e.animatedProperties)f.style(d,i,e.orig[i]);e.complete.call(d)}return!1}e.duration==Infinity?this.now=b:(h=b-this.startTime,this.state=h/e.duration,this.pos=f.easing[e.animatedProperties[this.prop]](this.state,h,0,1,e.duration),this.now=this.start+(this.end-this.start)*this.pos),this.update();return!0}},f.extend(f.fx,{tick:function(){for(var a=f.timers,b=0;b
";f.extend(b.style,{position:"absolute",top:0,left:0,margin:0,border:0,width:"1px",height:"1px",visibility:"hidden"}),b.innerHTML=j,a.insertBefore(b,a.firstChild),d=b.firstChild,e=d.firstChild,h=d.nextSibling.firstChild.firstChild,this.doesNotAddBorder=e.offsetTop!==5,this.doesAddBorderForTableAndCells=h.offsetTop===5,e.style.position="fixed",e.style.top="20px",this.supportsFixedPosition=e.offsetTop===20||e.offsetTop===15,e.style.position=e.style.top="",d.style.overflow="hidden",d.style.position="relative",this.subtractsBorderForOverflowNotVisible=e.offsetTop===-5,this.doesNotIncludeMarginInBodyOffset=a.offsetTop!==i,a.removeChild(b),f.offset.initialize=f.noop},bodyOffset:function(a){var b=a.offsetTop,c=a.offsetLeft;f.offset.initialize(),f.offset.doesNotIncludeMarginInBodyOffset&&(b+=parseFloat(f.css(a,"marginTop"))||0,c+=parseFloat(f.css(a,"marginLeft"))||0);return{top:b,left:c}},setOffset:function(a,b,c){var d=f.css(a,"position");d==="static"&&(a.style.position="relative");var e=f(a),g=e.offset(),h=f.css(a,"top"),i=f.css(a,"left"),j=(d==="absolute"||d==="fixed")&&f.inArray("auto",[h,i])>-1,k={},l={},m,n;j?(l=e.position(),m=l.top,n=l.left):(m=parseFloat(h)||0,n=parseFloat(i)||0),f.isFunction(b)&&(b=b.call(a,c,g)),b.top!=null&&(k.top=b.top-g.top+m),b.left!=null&&(k.left=b.left-g.left+n),"using"in b?b.using.call(a,k):e.css(k)}},f.fn.extend({position:function(){if(!this[0])return null;var a=this[0],b=this.offsetParent(),c=this.offset(),d=cx.test(b[0].nodeName)?{top:0,left:0}:b.offset();c.top-=parseFloat(f.css(a,"marginTop"))||0,c.left-=parseFloat(f.css(a,"marginLeft"))||0,d.top+=parseFloat(f.css(b[0],"borderTopWidth"))||0,d.left+=parseFloat(f.css(b[0],"borderLeftWidth"))||0;return{top:c.top-d.top,left:c.left-d.left}},offsetParent:function(){return this.map(function(){var a=this.offsetParent||c.body;while(a&&!cx.test(a.nodeName)&&f.css(a,"position")==="static")a=a.offsetParent;return a})}}),f.each(["Left","Top"],function(a,c){var d="scroll"+c;f.fn[d]=function(c){var e,g;if(c===b){e=this[0];if(!e)return null;g=cy(e);return g?"pageXOffset"in g?g[a?"pageYOffset":"pageXOffset"]:f.support.boxModel&&g.document.documentElement[d]||g.document.body[d]:e[d]}return this.each(function(){g=cy(this),g?g.scrollTo(a?f(g).scrollLeft():c,a?c:f(g).scrollTop()):this[d]=c})}}),f.each(["Height","Width"],function(a,c){var d=c.toLowerCase();f.fn["inner"+c]=function(){return this[0]?parseFloat(f.css(this[0],d,"padding")):null},f.fn["outer"+c]=function(a){return this[0]?parseFloat(f.css(this[0],d,a?"margin":"border")):null},f.fn[d]=function(a){var e=this[0];if(!e)return a==null?null:this;if(f.isFunction(a))return this.each(function(b){var c=f(this);c[d](a.call(this,b,c[d]()))});if(f.isWindow(e)){var g=e.document.documentElement["client"+c];return e.document.compatMode==="CSS1Compat"&&g||e.document.body["client"+c]||g}if(e.nodeType===9)return Math.max(e.documentElement["client"+c],e.body["scroll"+c],e.documentElement["scroll"+c],e.body["offset"+c],e.documentElement["offset"+c]);if(a===b){var h=f.css(e,d),i=parseFloat(h);return f.isNaN(i)?h:i}return this.css(d,typeof a=="string"?a:a+"px")}}),a.jQuery=a.$=f})(window); \ No newline at end of file +(function(e,t){function n(e){return H.isWindow(e)?e:9===e.nodeType&&(e.defaultView||e.parentWindow)}function r(e){if(!gt[e]){var t=H("<"+e+">").appendTo("body"),n=t.css("display");t.remove(),"none"!==n&&""!==n||(dt||(dt=L.createElement("iframe"),dt.frameBorder=dt.width=dt.height=0),L.body.appendChild(dt),pt&&dt.createElement||(pt=(dt.contentWindow||dt.contentDocument).document,pt.write("")),t=pt.createElement(e),pt.body.appendChild(t),n=H.css(t,"display"),L.body.removeChild(dt)),gt[e]=n}return gt[e]}function i(e,t){var n={};return H.each(bt.concat.apply([],bt.slice(0,t)),(function(){n[this]=e})),n}function o(){mt=t}function a(){return setTimeout(o,0),mt=H.now()}function s(){try{return new e.ActiveXObject("Microsoft.XMLHTTP")}catch(t){}}function l(){try{return new e.XMLHttpRequest}catch(t){}}function u(e,n){e.dataFilter&&(n=e.dataFilter(n,e.dataType));var r,i,o,a,s,l,u,c,f=e.dataTypes,d={},p=f.length,h=f[0];for(r=1;r=0===n}))}function N(e){return!e||!e.parentNode||11===e.parentNode.nodeType}function C(e,t){return(e&&"*"!==e?e+".":"")+t.replace(Q,"`").replace(Z,"&")}function E(e){var t,n,r,i,o,a,s,l,u,c,f,d,p=[],h=[],m=H._data(this,"events");if(e.liveFired!==this&&m&&m.live&&!e.target.disabled&&(!e.button||"click"!==e.type)){e.namespace&&(f=new RegExp("(^|\\.)"+e.namespace.split(".").join("\\.(?:.*\\.)?")+"(\\.|$)")),e.liveFired=this;var g=m.live.slice(0);for(s=0;sn)break;if(e.currentTarget=i.elem,e.data=i.handleObj.data,e.handleObj=i.handleObj,d=i.handleObj.origHandler.apply(i.elem,arguments),(!1===d||e.isPropagationStopped())&&(n=i.level,!1===d&&(t=!1),e.isImmediatePropagationStopped()))break}return t}}function S(e,n,r){var i=H.extend({},r[0]);i.type=e,i.originalEvent={},i.liveFired=t,H.event.handle.call(n,i),i.isDefaultPrevented()&&r[0].preventDefault()}function k(){return!0}function A(){return!1}function F(e,n,r){var i=n+"defer",o=n+"queue",a=n+"mark",s=H.data(e,i,t,!0);s&&("queue"===r||!H.data(e,o,t,!0))&&("mark"===r||!H.data(e,a,t,!0))&&setTimeout((function(){!H.data(e,o,t,!0)&&!H.data(e,a,t,!0)&&(H.removeData(e,i,!0),s.resolve())}),0)}function D(e){for(var t in e)if("toJSON"!==t)return!1;return!0}function j(e,n,r){if(r===t&&1===e.nodeType){var i="data-"+n.replace(I,"$1-$2").toLowerCase();if(r=e.getAttribute(i),"string"==typeof r){try{r="true"===r||"false"!==r&&("null"===r?null:H.isNaN(r)?q.test(r)?H.parseJSON(r):r:parseFloat(r))}catch(P){}H.data(e,n,r)}else r=t}return r}var L=e.document,M=e.navigator,O=e.location,H=function(){function n(){if(!s.isReady){try{L.documentElement.doScroll("left")}catch(e){return void setTimeout(n,1)}s.ready()}}var r,i,o,a,s=function(e,t){return new s.fn.init(e,t,r)},l=e.jQuery,u=e.$,c=/^(?:[^<]*(<[\w\W]+>)[^>]*$|#([\w\-]*)$)/,f=/\S/,d=/^\s+/,p=/\s+$/,h=/\d/,m=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,g=/^[\],:{}\s]*$/,y=/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,v=/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,b=/(?:^|:|,)(?:\s*\[)+/g,x=/(webkit)[ \/]([\w.]+)/,w=/(opera)(?:.*version)?[ \/]([\w.]+)/,T=/(msie) ([\w.]+)/,N=/(mozilla)(?:.*? rv:([\w.]+))?/,C=M.userAgent,E=Object.prototype.toString,S=Object.prototype.hasOwnProperty,k=Array.prototype.push,A=Array.prototype.slice,F=String.prototype.trim,D=Array.prototype.indexOf,j={};return s.fn=s.prototype={constructor:s,init:function(e,n,r){var i,o,a,l;if(!e)return this;if(e.nodeType)return this.context=this[0]=e,this.length=1,this;if("body"===e&&!n&&L.body)return this.context=L,this[0]=L.body,this.selector=e,this.length=1,this;if("string"==typeof e){if(i="<"!==e.charAt(0)||">"!==e.charAt(e.length-1)||e.length<3?c.exec(e):[null,e,null],i&&(i[1]||!n)){if(i[1])return n=n instanceof s?n[0]:n,l=n?n.ownerDocument||n:L,a=m.exec(e),a?s.isPlainObject(n)?(e=[L.createElement(a[1])],s.fn.attr.call(e,n,!0)):e=[l.createElement(a[1])]:(a=s.buildFragment([i[1]],[l]),e=(a.cacheable?s.clone(a.fragment):a.fragment).childNodes),s.merge(this,e);if(o=L.getElementById(i[2]),o&&o.parentNode){if(o.id!==i[2])return r.find(e);this.length=1,this[0]=o}return this.context=L,this.selector=e,this}return!n||n.jquery?(n||r).find(e):this.constructor(n).find(e)}return s.isFunction(e)?r.ready(e):(e.selector!==t&&(this.selector=e.selector,this.context=e.context),s.makeArray(e,this))},selector:"",jquery:"1.6.1",length:0,size:function(){return this.length},toArray:function(){return A.call(this,0)},get:function(e){return null==e?this.toArray():e<0?this[this.length+e]:this[e]},pushStack:function(e,t,n){var r=this.constructor();return s.isArray(e)?k.apply(r,e):s.merge(r,e),r.prevObject=this,r.context=this.context,"find"===t?r.selector=this.selector+(this.selector?" ":"")+n:t&&(r.selector=this.selector+"."+t+"("+n+")"),r},each:function(e,t){return s.each(this,e,t)},ready:function(e){return s.bindReady(),o.done(e),this},eq:function(e){return-1===e?this.slice(e):this.slice(e,+e+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushStack(A.apply(this,arguments),"slice",A.call(arguments).join(","))},map:function(e){return this.pushStack(s.map(this,(function(t,n){return e.call(t,n,t)})))},end:function(){return this.prevObject||this.constructor(null)},push:k,sort:[].sort,splice:[].splice},s.fn.init.prototype=s.fn,s.extend=s.fn.extend=function(){var e,n,r,i,o,a,l=arguments[0]||{},u=1,c=arguments.length,f=!1;for("boolean"==typeof l&&(f=l,l=arguments[1]||{},u=2),"object"!=typeof l&&!s.isFunction(l)&&(l={}),c===u&&(l=this,--u);u0)return;o.resolveWith(L,[s]),s.fn.trigger&&s(L).trigger("ready").unbind("ready")}},bindReady:function(){if(!o){if(o=s._Deferred(),"complete"===L.readyState)return setTimeout(s.ready,1);if(L.addEventListener)L.addEventListener("DOMContentLoaded",a,!1),e.addEventListener("load",s.ready,!1);else if(L.attachEvent){L.attachEvent("onreadystatechange",a),e.attachEvent("onload",s.ready);var t=!1;try{t=null==e.frameElement}catch(M){}L.documentElement.doScroll&&t&&n()}}},isFunction:function(e){return"function"===s.type(e)},isArray:Array.isArray||function(e){return"array"===s.type(e)},isWindow:function(e){return e&&"object"==typeof e&&"setInterval"in e},isNaN:function(e){return null==e||!h.test(e)||isNaN(e)},type:function(e){return null==e?String(e):j[E.call(e)]||"object"},isPlainObject:function(e){if(!e||"object"!==s.type(e)||e.nodeType||s.isWindow(e))return!1;if(e.constructor&&!S.call(e,"constructor")&&!S.call(e.constructor.prototype,"isPrototypeOf"))return!1;var n;for(n in e);return n===t||S.call(e,n)},isEmptyObject:function(e){for(var t in e)return!1;return!0},error:function(e){throw e},parseJSON:function(t){return"string"==typeof t&&t?(t=s.trim(t),e.JSON&&e.JSON.parse?e.JSON.parse(t):g.test(t.replace(y,"@").replace(v,"]").replace(b,""))?new Function("return "+t)():void s.error("Invalid JSON: "+t)):null},parseXML:function(t,n,r){return e.DOMParser?(r=new DOMParser,n=r.parseFromString(t,"text/xml")):(n=new ActiveXObject("Microsoft.XMLDOM"),n.async="false",n.loadXML(t)),r=n.documentElement,(!r||!r.nodeName||"parsererror"===r.nodeName)&&s.error("Invalid XML: "+t),n},noop:function(){},globalEval:function(t){t&&f.test(t)&&(e.execScript||function(t){e.eval.call(e,t)})(t)},nodeName:function(e,t){return e.nodeName&&e.nodeName.toUpperCase()===t.toUpperCase()},each:function(e,n,r){var i,o=0,a=e.length,l=a===t||s.isFunction(e);if(r){if(l){for(i in e)if(!1===n.apply(e[i],r))break}else for(;o0&&e[0]&&e[u-1]||0===u||s.isArray(e));if(c)for(;l1?B.call(arguments,0):t,--o||a.resolveWith(a,B.call(n,0))}}var n=arguments,r=0,i=n.length,o=i,a=i<=1&&e&&H.isFunction(e.promise)?e:H.Deferred();if(i>1){for(;r
a",e=h.getElementsByTagName("*"),t=h.getElementsByTagName("a")[0],!e||!e.length||!t)return{};n=L.createElement("select"),r=n.appendChild(L.createElement("option")),i=h.getElementsByTagName("input")[0],a={leadingWhitespace:3===h.firstChild.nodeType,tbody:!h.getElementsByTagName("tbody").length,htmlSerialize:!!h.getElementsByTagName("link").length,style:/top/.test(t.getAttribute("style")),hrefNormalized:"/a"===t.getAttribute("href"),opacity:/^0.55$/.test(t.style.opacity),cssFloat:!!t.style.cssFloat,checkOn:"on"===i.value,optSelected:r.selected,getSetAttribute:"t"!==h.className,submitBubbles:!0,changeBubbles:!0,focusinBubbles:!1,deleteExpando:!0,noCloneEvent:!0,inlineBlockNeedsLayout:!1,shrinkWrapBlocks:!1,reliableMarginRight:!0},i.checked=!0,a.noCloneChecked=i.cloneNode(!0).checked,n.disabled=!0,a.optDisabled=!r.disabled;try{delete h.test}catch(U){a.deleteExpando=!1}for(d in!h.addEventListener&&h.attachEvent&&h.fireEvent&&(h.attachEvent("onclick",(function e(){a.noCloneEvent=!1,h.detachEvent("onclick",e)})),h.cloneNode(!0).fireEvent("onclick")),i=L.createElement("input"),i.value="t",i.setAttribute("type","radio"),a.radioValue="t"===i.value,i.setAttribute("checked","checked"),h.appendChild(i),s=L.createDocumentFragment(),s.appendChild(h.firstChild),a.checkClone=s.cloneNode(!0).cloneNode(!0).lastChild.checked,h.innerHTML="",h.style.width=h.style.paddingLeft="1px",l=L.createElement("body"),u={visibility:"hidden",width:0,height:0,border:0,margin:0,background:"none"},u)l.style[d]=u[d];if(l.appendChild(h),m.insertBefore(l,m.firstChild),a.appendChecked=i.checked,a.boxModel=2===h.offsetWidth,"zoom"in h.style&&(h.style.display="inline",h.style.zoom=1,a.inlineBlockNeedsLayout=2===h.offsetWidth,h.style.display="",h.innerHTML="
",a.shrinkWrapBlocks=2!==h.offsetWidth),h.innerHTML="
t
",c=h.getElementsByTagName("td"),p=0===c[0].offsetHeight,c[0].style.display="",c[1].style.display="none",a.reliableHiddenOffsets=p&&0===c[0].offsetHeight,h.innerHTML="",L.defaultView&&L.defaultView.getComputedStyle&&(o=L.createElement("div"),o.style.width="0",o.style.marginRight="0",h.appendChild(o),a.reliableMarginRight=0===(parseInt((L.defaultView.getComputedStyle(o,null)||{marginRight:0}).marginRight,10)||0)),l.innerHTML="",m.removeChild(l),h.attachEvent)for(d in{submit:1,change:1,focusin:1})f="on"+d,p=f in h,p||(h.setAttribute(f,"return;"),p="function"==typeof h[f]),a[d+"Bubbles"]=p;return a}(),H.boxModel=H.support.boxModel;var q=/^(?:\{.*\}|\[.*\])$/,I=/([a-z])([A-Z])/g;H.extend({cache:{},uuid:0,expando:"jQuery"+(H.fn.jquery+Math.random()).replace(/\D/g,""),noData:{embed:!0,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",applet:!0},hasData:function(e){return e=e.nodeType?H.cache[e[H.expando]]:e[H.expando],!!e&&!D(e)},data:function(e,n,r,i){if(H.acceptData(e)){var o,a=H.expando,s="string"==typeof n,l=e.nodeType,u=l?H.cache:e,c=l?e[H.expando]:e[H.expando]&&H.expando;if((!c||i&&c&&!u[c][a])&&s&&r===t)return;return c||(l?e[H.expando]=c=++H.uuid:c=H.expando),u[c]||(u[c]={},l||(u[c].toJSON=H.noop)),"object"!=typeof n&&"function"!=typeof n||(i?u[c][a]=H.extend(u[c][a],n):u[c]=H.extend(u[c],n)),o=u[c],i&&(o[a]||(o[a]={}),o=o[a]),r!==t&&(o[H.camelCase(n)]=r),"events"!==n||o[n]?s?o[H.camelCase(n)]:o:o[a]&&o[a].events}},removeData:function(t,n,r){if(H.acceptData(t)){var i=H.expando,o=t.nodeType,a=o?H.cache:t,s=o?t[H.expando]:H.expando;if(!a[s])return;if(n){var l=r?a[s][i]:a[s];if(l&&(delete l[n],!D(l)))return}if(r&&(delete a[s][i],!D(a[s])))return;var u=a[s][i];H.support.deleteExpando||a!=e?delete a[s]:a[s]=null,u?(a[s]={},o||(a[s].toJSON=H.noop),a[s][i]=u):o&&(H.support.deleteExpando?delete t[H.expando]:t.removeAttribute?t.removeAttribute(H.expando):t[H.expando]=null)}},_data:function(e,t,n){return H.data(e,t,n,!0)},acceptData:function(e){if(e.nodeName){var t=H.noData[e.nodeName.toLowerCase()];if(t)return!0!==t&&e.getAttribute("classid")===t}return!0}}),H.fn.extend({data:function(e,n){var r=null;if("undefined"==typeof e){if(this.length&&(r=H.data(this[0]),1===this[0].nodeType))for(var i,o=this[0].attributes,a=0,s=o.length;a-1)return!0;return!1},val:function(e){var n,r,i=this[0];if(!arguments.length)return i?(n=H.valHooks[i.nodeName.toLowerCase()]||H.valHooks[i.type],n&&"get"in n&&(r=n.get(i,"value"))!==t?r:(i.value||"").replace(z,"")):t;var o=H.isFunction(e);return this.each((function(r){var i,a=H(this);1===this.nodeType&&(i=o?e.call(this,r,a.val()):e,null==i?i="":"number"==typeof i?i+="":H.isArray(i)&&(i=H.map(i,(function(e){return null==e?"":e+""}))),n=H.valHooks[this.nodeName.toLowerCase()]||H.valHooks[this.type],n&&"set"in n&&n.set(this,i,"value")!==t||(this.value=i))}))}}),H.extend({valHooks:{option:{get:function(e){var t=e.attributes.value;return!t||t.specified?e.value:e.text}},select:{get:function(e){var t,n=e.selectedIndex,r=[],i=e.options,o="select-one"===e.type;if(n<0)return null;for(var a=o?n:0,s=o?n+1:i.length;a=0})),n.length||(e.selectedIndex=-1),n}}},attrFn:{val:!0,css:!0,html:!0,text:!0,data:!0,width:!0,height:!0,offset:!0},attrFix:{tabindex:"tabIndex"},attr:function(e,n,r,i){var o=e.nodeType;if(!e||3===o||8===o||2===o)return t;if(i&&n in H.attrFn)return H(e)[n](r);if(!("getAttribute"in e))return H.prop(e,n,r);var a,s,l=1!==o||!H.isXMLDoc(e);return n=l&&H.attrFix[n]||n,s=H.attrHooks[n],s||(!J.test(n)||"boolean"!=typeof r&&r!==t&&r.toLowerCase()!==n.toLowerCase()?_&&(H.nodeName(e,"form")||Y.test(n))&&(s=_):s=R),r!==t?null===r?(H.removeAttr(e,n),t):s&&"set"in s&&l&&(a=s.set(e,r,n))!==t?a:(e.setAttribute(n,""+r),r):s&&"get"in s&&l?s.get(e,n):(a=e.getAttribute(n),null===a?t:a)},removeAttr:function(e,t){var n;1===e.nodeType&&(t=H.attrFix[t]||t,H.support.getSetAttribute?e.removeAttribute(t):(H.attr(e,t,""),e.removeAttributeNode(e.getAttributeNode(t))),J.test(t)&&(n=H.propFix[t]||t)in e&&(e[n]=!1))},attrHooks:{type:{set:function(e,t){if(X.test(e.nodeName)&&e.parentNode)H.error("type property can't be changed");else if(!H.support.radioValue&&"radio"===t&&H.nodeName(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}},tabIndex:{get:function(e){var n=e.getAttributeNode("tabIndex");return n&&n.specified?parseInt(n.value,10):V.test(e.nodeName)||U.test(e.nodeName)&&e.href?0:t}}},propFix:{tabindex:"tabIndex",readonly:"readOnly",for:"htmlFor",class:"className",maxlength:"maxLength",cellspacing:"cellSpacing",cellpadding:"cellPadding",rowspan:"rowSpan",colspan:"colSpan",usemap:"useMap",frameborder:"frameBorder",contenteditable:"contentEditable"},prop:function(e,n,r){var i=e.nodeType;if(!e||3===i||8===i||2===i)return t;var o,a,s=1!==i||!H.isXMLDoc(e);return n=s&&H.propFix[n]||n,a=H.propHooks[n],r!==t?a&&"set"in a&&(o=a.set(e,r,n))!==t?o:e[n]=r:a&&"get"in a&&(o=a.get(e,n))!==t?o:e[n]},propHooks:{}}),R={get:function(e,n){return e[H.propFix[n]||n]?n.toLowerCase():t},set:function(e,t,n){var r;return!1===t?H.removeAttr(e,n):(r=H.propFix[n]||n,r in e&&(e[r]=t),e.setAttribute(n,n.toLowerCase())),n}},H.attrHooks.value={get:function(e,t){return _&&H.nodeName(e,"button")?_.get(e,t):e.value},set:function(e,t,n){if(_&&H.nodeName(e,"button"))return _.set(e,t,n);e.value=t}},H.support.getSetAttribute||(H.attrFix=H.propFix,_=H.attrHooks.name=H.valHooks.button={get:function(e,n){var r;return r=e.getAttributeNode(n),r&&""!==r.nodeValue?r.nodeValue:t},set:function(e,t,n){var r=e.getAttributeNode(n);if(r)return r.nodeValue=t,t}},H.each(["width","height"],(function(e,t){H.attrHooks[t]=H.extend(H.attrHooks[t],{set:function(e,n){if(""===n)return e.setAttribute(t,"auto"),n}})}))),H.support.hrefNormalized||H.each(["href","src","width","height"],(function(e,n){H.attrHooks[n]=H.extend(H.attrHooks[n],{get:function(e){var r=e.getAttribute(n,2);return null===r?t:r}})})),H.support.style||(H.attrHooks.style={get:function(e){return e.style.cssText.toLowerCase()||t},set:function(e,t){return e.style.cssText=""+t}}),H.support.optSelected||(H.propHooks.selected=H.extend(H.propHooks.selected,{get:function(e){var t=e.parentNode;t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex)}})),H.support.checkOn||H.each(["radio","checkbox"],(function(){H.valHooks[this]={get:function(e){return null===e.getAttribute("value")?"on":e.value}}})),H.each(["radio","checkbox"],(function(){H.valHooks[this]=H.extend(H.valHooks[this],{set:function(e,t){if(H.isArray(t))return e.checked=H.inArray(H(e).val(),t)>=0}})}));Object.prototype.hasOwnProperty;var G=/\.(.*)$/,K=/^(?:textarea|input|select)$/i,Q=/\./g,Z=/ /g,ee=/[^\w\s.|`]/g,te=function(e){return e.replace(ee,"\\$&")};H.event={add:function(e,n,r,i){if(3!==e.nodeType&&8!==e.nodeType){if(!1===r)r=A;else if(!r)return;var o,a;r.handler&&(o=r,r=o.handler),r.guid||(r.guid=H.guid++);var s=H._data(e);if(!s)return;var l=s.events,u=s.handle;l||(s.events=l={}),u||(s.handle=u=function(e){return"undefined"==typeof H||e&&H.event.triggered===e.type?t:H.event.handle.apply(u.elem,arguments)}),u.elem=e,n=n.split(" ");var c,f,d=0;while(c=n[d++]){a=o?H.extend({},o):{handler:r,data:i},c.indexOf(".")>-1?(f=c.split("."),c=f.shift(),a.namespace=f.slice(0).sort().join(".")):(f=[],a.namespace=""),a.type=c,a.guid||(a.guid=r.guid);var p=l[c],h=H.event.special[c]||{};p||(p=l[c]=[],h.setup&&!1!==h.setup.call(e,i,f,u)||(e.addEventListener?e.addEventListener(c,u,!1):e.attachEvent&&e.attachEvent("on"+c,u))),h.add&&(h.add.call(e,a),a.handler.guid||(a.handler.guid=r.guid)),p.push(a),H.event.global[c]=!0}e=null}},global:{},remove:function(e,n,r,i){if(3!==e.nodeType&&8!==e.nodeType){!1===r&&(r=A);var o,a,s,l,u,c,f,d,p,h=0,m=H.hasData(e)&&H._data(e),g=m&&m.events;if(!m||!g)return;if(n&&n.type&&(r=n.handler,n=n.type),!n||"string"==typeof n&&"."===n.charAt(0)){for(o in n=n||"",g)H.event.remove(e,o+n);return}n=n.split(" ");while(o=n[h++])if(p=o,d=null,s=o.indexOf(".")<0,l=[],s||(l=o.split("."),o=l.shift(),u=new RegExp("(^|\\.)"+H.map(l.slice(0).sort(),te).join("\\.(?:.*\\.)?")+"(\\.|$)")),f=g[o],f)if(r){for(c=H.event.special[o]||{},a=i||0;a=0&&(s=s.slice(0,-1),a=!0),s.indexOf(".")>=0&&(l=s.split("."),s=l.shift(),l.sort()),i&&!H.event.customEvent[s]||H.event.global[s]){if(n="object"==typeof n?n[H.expando]?n:new H.Event(s,n):new H.Event(s),n.type=s,n.exclusive=a,n.namespace=l.join("."),n.namespace_re=new RegExp("(^|\\.)"+l.join("\\.(?:.*\\.)?")+"(\\.|$)"),!o&&i||(n.preventDefault(),n.stopPropagation()),!i)return void H.each(H.cache,(function(){var e=H.expando,t=this[e];t&&t.events&&t.events[s]&&H.event.trigger(n,r,t.handle.elem)}));if(3===i.nodeType||8===i.nodeType)return;n.result=t,n.target=i,r=r?H.makeArray(r):[],r.unshift(n);var u=i,c=s.indexOf(":")<0?"on"+s:"";do{var f=H._data(u,"handle");n.currentTarget=u,f&&f.apply(u,r),c&&H.acceptData(u)&&u[c]&&!1===u[c].apply(u,r)&&(n.result=!1,n.preventDefault()),u=u.parentNode||u.ownerDocument||u===n.target.ownerDocument&&e}while(u&&!n.isPropagationStopped());if(!n.isDefaultPrevented()){var d,p=H.event.special[s]||{};if((!p._default||!1===p._default.call(i.ownerDocument,n))&&("click"!==s||!H.nodeName(i,"a"))&&H.acceptData(i)){try{c&&i[s]&&(d=i[c],d&&(i[c]=null),H.event.triggered=s,i[s]())}catch(z){}d&&(i[c]=d),H.event.triggered=t}}return n.result}},handle:function(n){n=H.event.fix(n||e.event);var r=((H._data(this,"events")||{})[n.type]||[]).slice(0),i=!n.exclusive&&!n.namespace,o=Array.prototype.slice.call(arguments,0);o[0]=n,n.currentTarget=this;for(var a=0,s=r.length;a-1?H.map(e.options,(function(e){return e.selected})).join("-"):"":H.nodeName(e,"select")&&(n=e.selectedIndex),n},ae=function(e){var n,r,i=e.target;if(K.test(i.nodeName)&&!i.readOnly){if(n=H._data(i,"_change_data"),r=oe(i),("focusout"!==e.type||"radio"!==i.type)&&H._data(i,"_change_data",r),n===t||r===n)return;(null!=n||r)&&(e.type="change",e.liveFired=t,H.event.trigger(e,arguments[1],i))}};H.event.special.change={filters:{focusout:ae,beforedeactivate:ae,click:function(e){var t=e.target,n=H.nodeName(t,"input")?t.type:"";("radio"===n||"checkbox"===n||H.nodeName(t,"select"))&&ae.call(this,e)},keydown:function(e){var t=e.target,n=H.nodeName(t,"input")?t.type:"";(13===e.keyCode&&!H.nodeName(t,"textarea")||32===e.keyCode&&("checkbox"===n||"radio"===n)||"select-multiple"===n)&&ae.call(this,e)},beforeactivate:function(e){var t=e.target;H._data(t,"_change_data",oe(t))}},setup:function(e,t){if("file"===this.type)return!1;for(var n in ie)H.event.add(this,n+".specialChange",ie[n]);return K.test(this.nodeName)},teardown:function(e){return H.event.remove(this,".specialChange"),K.test(this.nodeName)}},ie=H.event.special.change.filters,ie.focus=ie.beforeactivate}H.support.focusinBubbles||H.each({focus:"focusin",blur:"focusout"},(function(e,t){function n(e){var n=H.event.fix(e);n.type=t,n.originalEvent={},H.event.trigger(n,null,n.target),n.isDefaultPrevented()&&e.preventDefault()}var r=0;H.event.special[t]={setup:function(){0===r++&&L.addEventListener(e,n,!0)},teardown:function(){0===--r&&L.removeEventListener(e,n,!0)}}})),H.each(["bind","one"],(function(e,n){H.fn[n]=function(e,r,i){var o;if("object"==typeof e){for(var a in e)this[n](a,r,e[a],i);return this}if(2!==arguments.length&&!1!==r||(i=r,r=t),"one"===n?(o=function(e){return H(this).unbind(e,o),i.apply(this,arguments)},o.guid=i.guid||H.guid++):o=i,"unload"===e&&"one"!==n)this.one(e,r,i);else for(var s=0,l=this.length;s0?this.bind(t,e,n):this.trigger(t)},H.attrFn&&(H.attrFn[t]=!0)})),function(){function e(e,t,n,r,i,o){for(var a=0,s=r.length;a0){u=l;break}l=l[e]}r[a]=u}}}function n(e,t,n,r,i,o){for(var a=0,s=r.length;a+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,i=0,o=Object.prototype.toString,a=!1,s=!0,l=/\\/g,u=/\W/;[0,0].sort((function(){return s=!1,0}));var c=function(e,t,n,i){n=n||[],t=t||L;var a=t;if(1!==t.nodeType&&9!==t.nodeType)return[];if(!e||"string"!=typeof e)return n;var s,l,u,p,h,m,g,b,x=!0,w=c.isXML(t),T=[],N=e;do{if(r.exec(""),s=r.exec(N),s&&(N=s[3],T.push(s[1]),s[2])){p=s[3];break}}while(s);if(T.length>1&&d.exec(e))if(2===T.length&&f.relative[T[0]])l=v(T[0]+T[1],t);else{l=f.relative[T[0]]?[t]:c(T.shift(),t);while(T.length)e=T.shift(),f.relative[e]&&(e+=T.shift()),l=v(e,l)}else if(!i&&T.length>1&&9===t.nodeType&&!w&&f.match.ID.test(T[0])&&!f.match.ID.test(T[T.length-1])&&(h=c.find(T.shift(),t,w),t=h.expr?c.filter(h.expr,h.set)[0]:h.set[0]),t){h=i?{expr:T.pop(),set:y(i)}:c.find(T.pop(),1!==T.length||"~"!==T[0]&&"+"!==T[0]||!t.parentNode?t:t.parentNode,w),l=h.expr?c.filter(h.expr,h.set):h.set,T.length>0?u=y(l):x=!1;while(T.length)m=T.pop(),g=m,f.relative[m]?g=T.pop():m="",null==g&&(g=t),f.relative[m](u,g,w)}else u=T=[];if(u||(u=l),u||c.error(m||e),"[object Array]"===o.call(u))if(x)if(t&&1===t.nodeType)for(b=0;null!=u[b];b++)u[b]&&(!0===u[b]||1===u[b].nodeType&&c.contains(t,u[b]))&&n.push(l[b]);else for(b=0;null!=u[b];b++)u[b]&&1===u[b].nodeType&&n.push(l[b]);else n.push.apply(n,u);else y(u,n);return p&&(c(p,a,n,i),c.uniqueSort(n)),n};c.uniqueSort=function(e){if(m&&(a=s,e.sort(m),a))for(var t=1;t0},c.find=function(e,t,n){var r;if(!e)return[];for(var i=0,o=f.order.length;i":function(e,t){var n,r="string"==typeof t,i=0,o=e.length;if(r&&!u.test(t)){for(t=t.toLowerCase();i=0)?n||r.push(a):n&&(t[s]=!1));return!1},ID:function(e){return e[1].replace(l,"")},TAG:function(e,t){return e[1].replace(l,"").toLowerCase()},CHILD:function(e){if("nth"===e[1]){e[2]||c.error(e[0]),e[2]=e[2].replace(/^\+|\s*/g,"");var t=/(-?)(\d*)(?:n([+\-]?\d*))?/.exec(("even"===e[2]?"2n":"odd"===e[2]&&"2n+1")||!/\D/.test(e[2])&&"0n+"+e[2]||e[2]);e[2]=t[1]+(t[2]||1)-0,e[3]=t[3]-0}else e[2]&&c.error(e[0]);return e[0]=i++,e},ATTR:function(e,t,n,r,i,o){var a=e[1]=e[1].replace(l,"");return!o&&f.attrMap[a]&&(e[1]=f.attrMap[a]),e[4]=(e[4]||e[5]||"").replace(l,""),"~="===e[2]&&(e[4]=" "+e[4]+" "),e},PSEUDO:function(e,t,n,i,o){if("not"===e[1]){if(!((r.exec(e[3])||"").length>1||/^\w/.test(e[3]))){var a=c.filter(e[3],t,n,!0^o);return n||i.push.apply(i,a),!1}e[3]=c(e[3],null,null,t)}else if(f.match.POS.test(e[0])||f.match.CHILD.test(e[0]))return!0;return e},POS:function(e){return e.unshift(!0),e}},filters:{enabled:function(e){return!1===e.disabled&&"hidden"!==e.type},disabled:function(e){return!0===e.disabled},checked:function(e){return!0===e.checked},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,!0===e.selected},parent:function(e){return!!e.firstChild},empty:function(e){return!e.firstChild},has:function(e,t,n){return!!c(n[3],e).length},header:function(e){return/h\d/i.test(e.nodeName)},text:function(e){var t=e.getAttribute("type"),n=e.type;return"input"===e.nodeName.toLowerCase()&&"text"===n&&(t===n||null===t)},radio:function(e){return"input"===e.nodeName.toLowerCase()&&"radio"===e.type},checkbox:function(e){return"input"===e.nodeName.toLowerCase()&&"checkbox"===e.type},file:function(e){return"input"===e.nodeName.toLowerCase()&&"file"===e.type},password:function(e){return"input"===e.nodeName.toLowerCase()&&"password"===e.type},submit:function(e){var t=e.nodeName.toLowerCase();return("input"===t||"button"===t)&&"submit"===e.type},image:function(e){return"input"===e.nodeName.toLowerCase()&&"image"===e.type},reset:function(e){var t=e.nodeName.toLowerCase();return("input"===t||"button"===t)&&"reset"===e.type},button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},input:function(e){return/input|select|textarea|button/i.test(e.nodeName)},focus:function(e){return e===e.ownerDocument.activeElement}},setFilters:{first:function(e,t){return 0===t},last:function(e,t,n,r){return t===r.length-1},even:function(e,t){return t%2===0},odd:function(e,t){return t%2===1},lt:function(e,t,n){return tn[3]-0},nth:function(e,t,n){return n[3]-0===t},eq:function(e,t,n){return n[3]-0===t}},filter:{PSEUDO:function(e,t,n,r){var i=t[1],o=f.filters[i];if(o)return o(e,n,t,r);if("contains"===i)return(e.textContent||e.innerText||c.getText([e])||"").indexOf(t[3])>=0;if("not"===i){for(var a=t[3],s=0,l=a.length;s=0}},ID:function(e,t){return 1===e.nodeType&&e.getAttribute("id")===t},TAG:function(e,t){return"*"===t&&1===e.nodeType||e.nodeName.toLowerCase()===t},CLASS:function(e,t){return(" "+(e.className||e.getAttribute("class"))+" ").indexOf(t)>-1},ATTR:function(e,t){var n=t[1],r=f.attrHandle[n]?f.attrHandle[n](e):null!=e[n]?e[n]:e.getAttribute(n),i=r+"",o=t[2],a=t[4];return null==r?"!="===o:"="===o?i===a:"*="===o?i.indexOf(a)>=0:"~="===o?(" "+i+" ").indexOf(a)>=0:a?"!="===o?i!==a:"^="===o?0===i.indexOf(a):"$="===o?i.substr(i.length-a.length)===a:"|="===o&&(i===a||i.substr(0,a.length+1)===a+"-"):i&&!1!==r},POS:function(e,t,n,r){var i=t[2],o=f.setFilters[i];if(o)return o(e,n,t,r)}}},d=f.match.POS,p=function(e,t){return"\\"+(t-0+1)};for(var h in f.match)f.match[h]=new RegExp(f.match[h].source+/(?![^\[]*\])(?![^\(]*\))/.source),f.leftMatch[h]=new RegExp(/(^(?:.|\r|\n)*?)/.source+f.match[h].source.replace(/\\(\d+)/g,p));var m,g,y=function(e,t){return e=Array.prototype.slice.call(e,0),t?(t.push.apply(t,e),t):e};try{Array.prototype.slice.call(L.documentElement.childNodes,0)[0].nodeType}catch(X){y=function(e,t){var n=0,r=t||[];if("[object Array]"===o.call(e))Array.prototype.push.apply(r,e);else if("number"==typeof e.length)for(var i=e.length;n",r.insertBefore(e,r.firstChild),L.getElementById(n)&&(f.find.ID=function(e,n,r){if("undefined"!=typeof n.getElementById&&!r){var i=n.getElementById(e[1]);return i?i.id===e[1]||"undefined"!=typeof i.getAttributeNode&&i.getAttributeNode("id").nodeValue===e[1]?[i]:t:[]}},f.filter.ID=function(e,t){var n="undefined"!=typeof e.getAttributeNode&&e.getAttributeNode("id");return 1===e.nodeType&&n&&n.nodeValue===t}),r.removeChild(e),r=e=null}(),function(){var e=L.createElement("div");e.appendChild(L.createComment("")),e.getElementsByTagName("*").length>0&&(f.find.TAG=function(e,t){var n=t.getElementsByTagName(e[1]);if("*"===e[1]){for(var r=[],i=0;n[i];i++)1===n[i].nodeType&&r.push(n[i]);n=r}return n}),e.innerHTML="",e.firstChild&&"undefined"!=typeof e.firstChild.getAttribute&&"#"!==e.firstChild.getAttribute("href")&&(f.attrHandle.href=function(e){return e.getAttribute("href",2)}),e=null}(),L.querySelectorAll&&function(){var e=c,t=L.createElement("div"),n="__sizzle__";if(t.innerHTML="

",!t.querySelectorAll||0!==t.querySelectorAll(".TEST").length){for(var r in c=function(t,r,i,o){if(r=r||L,!o&&!c.isXML(r)){var a=/^(\w+$)|^\.([\w\-]+$)|^#([\w\-]+$)/.exec(t);if(a&&(1===r.nodeType||9===r.nodeType)){if(a[1])return y(r.getElementsByTagName(t),i);if(a[2]&&f.find.CLASS&&r.getElementsByClassName)return y(r.getElementsByClassName(a[2]),i)}if(9===r.nodeType){if("body"===t&&r.body)return y([r.body],i);if(a&&a[3]){var s=r.getElementById(a[3]);if(!s||!s.parentNode)return y([],i);if(s.id===a[3])return y([s],i)}try{return y(r.querySelectorAll(t),i)}catch(u){}}else if(1===r.nodeType&&"object"!==r.nodeName.toLowerCase()){var l=r,d=r.getAttribute("id"),p=d||n,h=r.parentNode,m=/^\s*[+~]/.test(t);d?p=p.replace(/'/g,"\\$&"):r.setAttribute("id",p),m&&h&&(r=r.parentNode);try{if(!m||h)return y(r.querySelectorAll("[id='"+p+"'] "+t),i)}catch(g){}finally{d||l.removeAttribute("id")}}}return e(t,r,i,o)},e)c[r]=e[r];t=null}}(),function(){var e=L.documentElement,t=e.matchesSelector||e.mozMatchesSelector||e.webkitMatchesSelector||e.msMatchesSelector;if(t){var n=!t.call(L.createElement("div"),"div"),r=!1;try{t.call(L.documentElement,"[test!='']:sizzle")}catch(H){r=!0}c.matchesSelector=function(e,i){if(i=i.replace(/\=\s*([^'"\]]*)\s*\]/g,"='$1']"),!c.isXML(e))try{if(r||!f.match.PSEUDO.test(i)&&!/!=/.test(i)){var o=t.call(e,i);if(o||!n||e.document&&11!==e.document.nodeType)return o}}catch(a){}return c(i,null,null,[e]).length>0}}}(),function(){var e=L.createElement("div");if(e.innerHTML="
",e.getElementsByClassName&&0!==e.getElementsByClassName("e").length){if(e.lastChild.className="e",1===e.getElementsByClassName("e").length)return;f.order.splice(1,0,"CLASS"),f.find.CLASS=function(e,t,n){if("undefined"!=typeof t.getElementsByClassName&&!n)return t.getElementsByClassName(e[1])},e=null}}(),L.documentElement.contains?c.contains=function(e,t){return e!==t&&(!e.contains||e.contains(t))}:L.documentElement.compareDocumentPosition?c.contains=function(e,t){return!!(16&e.compareDocumentPosition(t))}:c.contains=function(){return!1},c.isXML=function(e){var t=(e?e.ownerDocument||e:0).documentElement;return!!t&&"HTML"!==t.nodeName};var v=function(e,t){var n,r=[],i="",o=t.nodeType?[t]:t;while(n=f.match.PSEUDO.exec(e))i+=n[0],e=e.replace(f.match.PSEUDO,"");e=f.relative[e]?e+"*":e;for(var a=0,s=o.length;a0)for(o=i;o0:this.filter(e).length>0)},closest:function(e,t){var n,r,i=[],o=this[0];if(H.isArray(e)){var a,s,l={},u=1;if(o&&e.length){for(n=0,r=e.length;n-1:H(o).is(a))&&i.push({selector:s,elem:o,level:u});o=o.parentNode,u++}}return i}var c=pe.test(e)||"string"!=typeof e?H(e,t||this.context):0;for(n=0,r=this.length;n-1:H.find.matchesSelector(o,e)){i.push(o);break}if(o=o.parentNode,!o||!o.ownerDocument||o===t||11===o.nodeType)break}}return i=i.length>1?H.unique(i):i,this.pushStack(i,"closest",e)},index:function(e){return e&&"string"!=typeof e?H.inArray(e.jquery?e[0]:e,this):H.inArray(this[0],e?H(e):this.parent().children())},add:function(e,t){var n="string"==typeof e?H(e,t):H.makeArray(e&&e.nodeType?[e]:e),r=H.merge(this.get(),n);return this.pushStack(N(n[0])||N(r[0])?r:H.unique(r))},andSelf:function(){return this.add(this.prevObject)}}),H.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return H.dir(e,"parentNode")},parentsUntil:function(e,t,n){return H.dir(e,"parentNode",n)},next:function(e){return H.nth(e,2,"nextSibling")},prev:function(e){return H.nth(e,2,"previousSibling")},nextAll:function(e){return H.dir(e,"nextSibling")},prevAll:function(e){return H.dir(e,"previousSibling")},nextUntil:function(e,t,n){return H.dir(e,"nextSibling",n)},prevUntil:function(e,t,n){return H.dir(e,"previousSibling",n)},siblings:function(e){return H.sibling(e.parentNode.firstChild,e)},children:function(e){return H.sibling(e.firstChild)},contents:function(e){return H.nodeName(e,"iframe")?e.contentDocument||e.contentWindow.document:H.makeArray(e.childNodes)}},(function(e,t){H.fn[e]=function(n,r){var i=H.map(this,t,n),o=de.call(arguments);return le.test(e)||(r=n),r&&"string"==typeof r&&(i=H.filter(r,i)),i=this.length>1&&!he[e]?H.unique(i):i,(this.length>1||ce.test(r))&&ue.test(e)&&(i=i.reverse()),this.pushStack(i,e,o.join(","))}})),H.extend({filter:function(e,t,n){return n&&(e=":not("+e+")"),1===t.length?H.find.matchesSelector(t[0],e)?[t[0]]:[]:H.find.matches(e,t)},dir:function(e,n,r){var i=[],o=e[n];while(o&&9!==o.nodeType&&(r===t||1!==o.nodeType||!H(o).is(r)))1===o.nodeType&&i.push(o),o=o[n];return i},nth:function(e,t,n,r){t=t||1;for(var i=0;e;e=e[n])if(1===e.nodeType&&++i===t)break;return e},sibling:function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n}});var me=/ jQuery\d+="(?:\d+|null)"/g,ge=/^\s+/,ye=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,ve=/<([\w:]+)/,be=/",""],legend:[1,"
","
"],thead:[1,"","
"],tr:[2,"","
"],td:[3,"","
"],col:[2,"","
"],area:[1,"",""],_default:[0,"",""]};Ee.optgroup=Ee.option,Ee.tbody=Ee.tfoot=Ee.colgroup=Ee.caption=Ee.thead,Ee.th=Ee.td,H.support.htmlSerialize||(Ee._default=[1,"div
","
"]),H.fn.extend({text:function(e){return H.isFunction(e)?this.each((function(t){var n=H(this);n.text(e.call(this,t,n.text()))})):"object"!=typeof e&&e!==t?this.empty().append((this[0]&&this[0].ownerDocument||L).createTextNode(e)):H.text(this)},wrapAll:function(e){if(H.isFunction(e))return this.each((function(t){H(this).wrapAll(e.call(this,t))}));if(this[0]){var t=H(e,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&t.insertBefore(this[0]),t.map((function(){var e=this;while(e.firstChild&&1===e.firstChild.nodeType)e=e.firstChild;return e})).append(this)}return this},wrapInner:function(e){return H.isFunction(e)?this.each((function(t){H(this).wrapInner(e.call(this,t))})):this.each((function(){var t=H(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)}))},wrap:function(e){return this.each((function(){H(this).wrapAll(e)}))},unwrap:function(){return this.parent().each((function(){H.nodeName(this,"body")||H(this).replaceWith(this.childNodes)})).end()},append:function(){return this.domManip(arguments,!0,(function(e){1===this.nodeType&&this.appendChild(e)}))},prepend:function(){return this.domManip(arguments,!0,(function(e){1===this.nodeType&&this.insertBefore(e,this.firstChild)}))},before:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,!1,(function(e){this.parentNode.insertBefore(e,this)}));if(arguments.length){var e=H(arguments[0]);return e.push.apply(e,this.toArray()),this.pushStack(e,"before",arguments)}},after:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,!1,(function(e){this.parentNode.insertBefore(e,this.nextSibling)}));if(arguments.length){var e=this.pushStack(this,"after",arguments);return e.push.apply(e,H(arguments[0]).toArray()),e}},remove:function(e,t){for(var n,r=0;null!=(n=this[r]);r++)e&&!H.filter(e,[n]).length||(!t&&1===n.nodeType&&(H.cleanData(n.getElementsByTagName("*")),H.cleanData([n])),n.parentNode&&n.parentNode.removeChild(n));return this},empty:function(){for(var e,t=0;null!=(e=this[t]);t++){1===e.nodeType&&H.cleanData(e.getElementsByTagName("*"));while(e.firstChild)e.removeChild(e.firstChild)}return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map((function(){return H.clone(this,e,t)}))},html:function(e){if(e===t)return this[0]&&1===this[0].nodeType?this[0].innerHTML.replace(me,""):null;if("string"!=typeof e||we.test(e)||!H.support.leadingWhitespace&&ge.test(e)||Ee[(ve.exec(e)||["",""])[1].toLowerCase()])H.isFunction(e)?this.each((function(t){var n=H(this);n.html(e.call(this,t,n.html()))})):this.empty().append(e);else{e=e.replace(ye,"<$1>");try{for(var n=0,r=this.length;n1&&c0?this.clone(!0):this).get();H(i[a])[t](l),r=r.concat(l)}return this.pushStack(r,e,i.selector)}})),H.extend({clone:function(e,t,n){var r,i,o,a=e.cloneNode(!0);if((!H.support.noCloneEvent||!H.support.noCloneChecked)&&(1===e.nodeType||11===e.nodeType)&&!H.isXMLDoc(e))for(b(e,a),r=v(e),i=v(a),o=0;r[o];++o)b(r[o],i[o]);if(t&&(x(e,a),n))for(r=v(e),i=v(a),o=0;r[o];++o)x(r[o],i[o]);return a},clean:function(e,t,n,r){var i;t=t||L,"undefined"==typeof t.createElement&&(t=t.ownerDocument||t[0]&&t[0].ownerDocument||L);for(var o,a,s=[],l=0;null!=(a=e[l]);l++)if("number"==typeof a&&(a+=""),a){if("string"==typeof a)if(xe.test(a)){a=a.replace(ye,"<$1>");var u=(ve.exec(a)||["",""])[1].toLowerCase(),c=Ee[u]||Ee._default,f=c[0],d=t.createElement("div");d.innerHTML=c[1]+a+c[2];while(f--)d=d.lastChild;if(!H.support.tbody){var p=be.test(a),h="table"!==u||p?""!==c[1]||p?[]:d.childNodes:d.firstChild&&d.firstChild.childNodes;for(o=h.length-1;o>=0;--o)H.nodeName(h[o],"tbody")&&!h[o].childNodes.length&&h[o].parentNode.removeChild(h[o])}!H.support.leadingWhitespace&&ge.test(a)&&d.insertBefore(t.createTextNode(ge.exec(a)[0]),d.firstChild),a=d.childNodes}else a=t.createTextNode(a);var m;if(!H.support.appendChecked)if(a[0]&&"number"==typeof(m=a.length))for(o=0;o=0?t+"px":void 0):t}}})),H.support.opacity||(H.cssHooks.opacity={get:function(e,t){return De.test((t&&e.currentStyle?e.currentStyle.filter:e.style.filter)||"")?parseFloat(RegExp.$1)/100+"":t?"1":""},set:function(e,t){var n=e.style,r=e.currentStyle;n.zoom=1;var i=H.isNaN(t)?"":"alpha(opacity="+100*t+")",o=r&&r.filter||n.filter||"";n.filter=Fe.test(o)?o.replace(Fe,i):o+" "+i}}),H((function(){H.support.reliableMarginRight||(H.cssHooks.marginRight={get:function(e,t){var n;return H.swap(e,{display:"inline-block"},(function(){n=t?Se(e,"margin-right","marginRight"):e.style.marginRight})),n}})})),L.defaultView&&L.defaultView.getComputedStyle&&(ke=function(e,n){var r,i,o;return n=n.replace(Le,"-$1").toLowerCase(),(i=e.ownerDocument.defaultView)?((o=i.getComputedStyle(e,null))&&(r=o.getPropertyValue(n),""===r&&!H.contains(e.ownerDocument.documentElement,e)&&(r=H.style(e,n))),r):t}),L.documentElement.currentStyle&&(Ae=function(e,t){var n,r=e.currentStyle&&e.currentStyle[t],i=e.runtimeStyle&&e.runtimeStyle[t],o=e.style;return!Me.test(r)&&Oe.test(r)&&(n=o.left,i&&(e.runtimeStyle.left=e.currentStyle.left),o.left="fontSize"===t?"1em":r||0,r=o.pixelLeft+"px",o.left=n,i&&(e.runtimeStyle.left=i)),""===r?"auto":r}),Se=ke||Ae,H.expr&&H.expr.filters&&(H.expr.filters.hidden=function(e){var t=e.offsetWidth,n=e.offsetHeight;return 0===t&&0===n||!H.support.reliableHiddenOffsets&&"none"===(e.style.display||H.css(e,"display"))},H.expr.filters.visible=function(e){return!H.expr.filters.hidden(e)});var Re,We,$e=/%20/g,ze=/\[\]$/,Xe=/\r?\n/g,Ve=/#.*$/,Ue=/^(.*?):[ \t]*([^\r\n]*)\r?$/gm,Je=/^(?:color|date|datetime|email|hidden|month|number|password|range|search|tel|text|time|url|week)$/i,Ye=/^(?:about|app|app\-storage|.+\-extension|file|widget):$/,Ge=/^(?:GET|HEAD)$/,Ke=/^\/\//,Qe=/\?/,Ze=/)<[^<]*)*<\/script>/gi,et=/^(?:select|textarea)/i,tt=/\s+/,nt=/([?&])_=[^&]*/,rt=/^([\w\+\.\-]+:)(?:\/\/([^\/?#:]*)(?::(\d+))?)?/,it=H.fn.load,ot={},at={};try{Re=O.href}catch(Nt){Re=L.createElement("a"),Re.href="",Re=Re.href}We=rt.exec(Re.toLowerCase())||[],H.fn.extend({load:function(e,n,r){if("string"!=typeof e&&it)return it.apply(this,arguments);if(!this.length)return this;var i=e.indexOf(" ");if(i>=0){var o=e.slice(i,e.length);e=e.slice(0,i)}var a="GET";n&&(H.isFunction(n)?(r=n,n=t):"object"==typeof n&&(n=H.param(n,H.ajaxSettings.traditional),a="POST"));var s=this;return H.ajax({url:e,type:a,dataType:"html",data:n,complete:function(e,t,n){n=e.responseText,e.isResolved()&&(e.done((function(e){n=e})),s.html(o?H("
").append(n.replace(Ze,"")).find(o):n)),r&&s.each(r,[n,t,e])}}),this},serialize:function(){return H.param(this.serializeArray())},serializeArray:function(){return this.map((function(){return this.elements?H.makeArray(this.elements):this})).filter((function(){return this.name&&!this.disabled&&(this.checked||et.test(this.nodeName)||Je.test(this.type))})).map((function(e,t){var n=H(this).val();return null==n?null:H.isArray(n)?H.map(n,(function(e,n){return{name:t.name,value:e.replace(Xe,"\r\n")}})):{name:t.name,value:n.replace(Xe,"\r\n")}})).get()}}),H.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),(function(e,t){H.fn[t]=function(e){return this.bind(t,e)}})),H.each(["get","post"],(function(e,n){H[n]=function(e,r,i,o){return H.isFunction(r)&&(o=o||i,i=r,r=t),H.ajax({type:n,url:e,data:r,success:i,dataType:o})}})),H.extend({getScript:function(e,n){return H.get(e,t,n,"script")},getJSON:function(e,t,n){return H.get(e,t,n,"json")},ajaxSetup:function(e,t){for(var n in t?H.extend(!0,e,H.ajaxSettings,t):(t=e,e=H.extend(!0,H.ajaxSettings,t)),{context:1,url:1})n in t?e[n]=t[n]:n in H.ajaxSettings&&(e[n]=H.ajaxSettings[n]);return e},ajaxSettings:{url:Re,isLocal:Ye.test(We[1]),global:!0,type:"GET",contentType:"application/x-www-form-urlencoded",processData:!0,async:!0,accepts:{xml:"application/xml, text/xml",html:"text/html",text:"text/plain",json:"application/json, text/javascript","*":"*/*"},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText"},converters:{"* text":e.String,"text html":!0,"text json":H.parseJSON,"text xml":H.parseXML}},ajaxPrefilter:p(ot),ajaxTransport:p(at),ajax:function(e,n){function r(e,n,r,a){if(2!==N){N=2,l&&clearTimeout(l),s=t,o=a||"",C.readyState=e?4:0;var f,d,h,w,T,E=r?c(m,C,r):t;if(e>=200&&e<300||304===e)if(m.ifModified&&((w=C.getResponseHeader("Last-Modified"))&&(H.lastModified[i]=w),(T=C.getResponseHeader("Etag"))&&(H.etag[i]=T)),304===e)n="notmodified",f=!0;else try{d=u(m,E),n="success",f=!0}catch(K){n="parsererror",h=K}else h=n,n&&!e||(n="error",e<0&&(e=0));C.status=e,C.statusText=n,f?v.resolveWith(g,[d,n,C]):v.rejectWith(g,[C,n,h]),C.statusCode(x),x=t,p&&y.trigger("ajax"+(f?"Success":"Error"),[C,m,f?d:h]),b.resolveWith(g,[C,n]),p&&(y.trigger("ajaxComplete",[C,m]),--H.active||H.event.trigger("ajaxStop"))}}"object"==typeof e&&(n=e,e=t),n=n||{};var i,o,a,s,l,f,p,h,m=H.ajaxSetup({},n),g=m.context||m,y=g!==m&&(g.nodeType||g instanceof H)?H(g):H.event,v=H.Deferred(),b=H._Deferred(),x=m.statusCode||{},w={},T={},N=0,C={readyState:0,setRequestHeader:function(e,t){if(!N){var n=e.toLowerCase();e=T[n]=T[n]||e,w[e]=t}return this},getAllResponseHeaders:function(){return 2===N?o:null},getResponseHeader:function(e){var n;if(2===N){if(!a){a={};while(n=Ue.exec(o))a[n[1].toLowerCase()]=n[2]}n=a[e.toLowerCase()]}return n===t?null:n},overrideMimeType:function(e){return N||(m.mimeType=e),this},abort:function(e){return e=e||"abort",s&&s.abort(e),r(0,e),this}};if(v.promise(C),C.success=C.done,C.error=C.fail,C.complete=b.done,C.statusCode=function(e){var t;if(e)if(N<2)for(t in e)x[t]=[x[t],e[t]];else t=e[C.status],C.then(t,t);return this},m.url=((e||m.url)+"").replace(Ve,"").replace(Ke,We[1]+"//"),m.dataTypes=H.trim(m.dataType||"*").toLowerCase().split(tt),null==m.crossDomain&&(f=rt.exec(m.url.toLowerCase()),m.crossDomain=!(!f||f[1]==We[1]&&f[2]==We[2]&&(f[3]||("http:"===f[1]?80:443))==(We[3]||("http:"===We[1]?80:443)))),m.data&&m.processData&&"string"!=typeof m.data&&(m.data=H.param(m.data,m.traditional)),d(ot,m,n,C),2===N)return!1;if(p=m.global,m.type=m.type.toUpperCase(),m.hasContent=!Ge.test(m.type),p&&0===H.active++&&H.event.trigger("ajaxStart"),!m.hasContent&&(m.data&&(m.url+=(Qe.test(m.url)?"&":"?")+m.data),i=m.url,!1===m.cache)){var E=H.now(),S=m.url.replace(nt,"$1_="+E);m.url=S+(S===m.url?(Qe.test(m.url)?"&":"?")+"_="+E:"")}for(h in(m.data&&m.hasContent&&!1!==m.contentType||n.contentType)&&C.setRequestHeader("Content-Type",m.contentType),m.ifModified&&(i=i||m.url,H.lastModified[i]&&C.setRequestHeader("If-Modified-Since",H.lastModified[i]),H.etag[i]&&C.setRequestHeader("If-None-Match",H.etag[i])),C.setRequestHeader("Accept",m.dataTypes[0]&&m.accepts[m.dataTypes[0]]?m.accepts[m.dataTypes[0]]+("*"!==m.dataTypes[0]?", */*; q=0.01":""):m.accepts["*"]),m.headers)C.setRequestHeader(h,m.headers[h]);if(m.beforeSend&&(!1===m.beforeSend.call(g,C,m)||2===N))return C.abort(),!1;for(h in{success:1,error:1,complete:1})C[h](m[h]);if(s=d(at,m,n,C),s){C.readyState=1,p&&y.trigger("ajaxSend",[C,m]),m.async&&m.timeout>0&&(l=setTimeout((function(){C.abort("timeout")}),m.timeout));try{N=1,s.send(w,r)}catch(K){status<2?r(-1,K):H.error(K)}}else r(-1,"No Transport");return C},param:function(e,n){var r=[],i=function(e,t){t=H.isFunction(t)?t():t,r[r.length]=encodeURIComponent(e)+"="+encodeURIComponent(t)};if(n===t&&(n=H.ajaxSettings.traditional),H.isArray(e)||e.jquery&&!H.isPlainObject(e))H.each(e,(function(){i(this.name,this.value)}));else for(var o in e)f(o,e[o],n,i);return r.join("&").replace($e,"+")}}),H.extend({active:0,lastModified:{},etag:{}});var st=H.now(),lt=/(\=)\?(&|$)|\?\?/i;H.ajaxSetup({jsonp:"callback",jsonpCallback:function(){return H.expando+"_"+st++}}),H.ajaxPrefilter("json jsonp",(function(t,n,r){var i="application/x-www-form-urlencoded"===t.contentType&&"string"==typeof t.data;if("jsonp"===t.dataTypes[0]||!1!==t.jsonp&&(lt.test(t.url)||i&<.test(t.data))){var o,a=t.jsonpCallback=H.isFunction(t.jsonpCallback)?t.jsonpCallback():t.jsonpCallback,s=e[a],l=t.url,u=t.data,c="$1"+a+"$2";return!1!==t.jsonp&&(l=l.replace(lt,c),t.url===l&&(i&&(u=u.replace(lt,c)),t.data===u&&(l+=(/\?/.test(l)?"&":"?")+t.jsonp+"="+a))),t.url=l,t.data=u,e[a]=function(e){o=[e]},r.always((function(){e[a]=s,o&&H.isFunction(s)&&e[a](o[0])})),t.converters["script json"]=function(){return o||H.error(a+" was not called"),o[0]},t.dataTypes[0]="json","script"}})),H.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/javascript|ecmascript/},converters:{"text script":function(e){return H.globalEval(e),e}}}),H.ajaxPrefilter("script",(function(e){e.cache===t&&(e.cache=!1),e.crossDomain&&(e.type="GET",e.global=!1)})),H.ajaxTransport("script",(function(e){if(e.crossDomain){var n,r=L.head||L.getElementsByTagName("head")[0]||L.documentElement;return{send:function(i,o){n=L.createElement("script"),n.async="async",e.scriptCharset&&(n.charset=e.scriptCharset),n.src=e.url,n.onload=n.onreadystatechange=function(e,i){(i||!n.readyState||/loaded|complete/.test(n.readyState))&&(n.onload=n.onreadystatechange=null,r&&n.parentNode&&r.removeChild(n),n=t,i||o(200,"success"))},r.insertBefore(n,r.firstChild)},abort:function(){n&&n.onload(0,1)}}}}));var ut,ct=!!e.ActiveXObject&&function(){for(var e in ut)ut[e](0,1)},ft=0;H.ajaxSettings.xhr=e.ActiveXObject?function(){return!this.isLocal&&l()||s()}:l,function(e){H.extend(H.support,{ajax:!!e,cors:!!e&&"withCredentials"in e})}(H.ajaxSettings.xhr()),H.support.ajax&&H.ajaxTransport((function(n){var r;if(!n.crossDomain||H.support.cors)return{send:function(i,o){var a,s,l=n.xhr();if(n.username?l.open(n.type,n.url,n.async,n.username,n.password):l.open(n.type,n.url,n.async),n.xhrFields)for(s in n.xhrFields)l[s]=n.xhrFields[s];n.mimeType&&l.overrideMimeType&&l.overrideMimeType(n.mimeType),!n.crossDomain&&!i["X-Requested-With"]&&(i["X-Requested-With"]="XMLHttpRequest");try{for(s in i)l.setRequestHeader(s,i[s])}catch(j){}l.send(n.hasContent&&n.data||null),r=function(e,i){var s,u,c,f,d;try{if(r&&(i||4===l.readyState))if(r=t,a&&(l.onreadystatechange=H.noop,ct&&delete ut[a]),i)4!==l.readyState&&l.abort();else{s=l.status,c=l.getAllResponseHeaders(),f={},d=l.responseXML,d&&d.documentElement&&(f.xml=d),f.text=l.responseText;try{u=l.statusText}catch($){u=""}s||!n.isLocal||n.crossDomain?1223===s&&(s=204):s=f.text?200:404}}catch(z){i||o(-1,z)}f&&o(s,u,f,c)},n.async&&4!==l.readyState?(a=++ft,ct&&(ut||(ut={},H(e).unload(ct)),ut[a]=r),l.onreadystatechange=r):r()},abort:function(){r&&r(0,1)}}}));var dt,pt,ht,mt,gt={},yt=/^(?:toggle|show|hide)$/,vt=/^([+\-]=)?([\d+.\-]+)([a-z%]*)$/i,bt=[["height","marginTop","marginBottom","paddingTop","paddingBottom"],["width","marginLeft","marginRight","paddingLeft","paddingRight"],["opacity"]],xt=e.webkitRequestAnimationFrame||e.mozRequestAnimationFrame||e.oRequestAnimationFrame;H.fn.extend({show:function(e,t,n){var o,a;if(e||0===e)return this.animate(i("show",3),e,t,n);for(var s=0,l=this.length;s=s.duration+this.startTime){for(t in this.now=this.end,this.pos=this.state=1,this.update(),s.animatedProperties[this.prop]=!0,s.animatedProperties)!0!==s.animatedProperties[t]&&(i=!1);if(i){if(null!=s.overflow&&!H.support.shrinkWrapBlocks&&H.each(["","X","Y"],(function(e,t){o.style["overflow"+t]=s.overflow[e]})),s.hide&&H(o).hide(),s.hide||s.show)for(var l in s.animatedProperties)H.style(o,l,s.orig[l]);s.complete.call(o)}return!1}return s.duration==1/0?this.now=r:(n=r-this.startTime,this.state=n/s.duration,this.pos=H.easing[s.animatedProperties[this.prop]](this.state,n,0,1,s.duration),this.now=this.start+(this.end-this.start)*this.pos),this.update(),!0}},H.extend(H.fx,{tick:function(){for(var e=H.timers,t=0;t
";H.extend(i.style,{position:"absolute",top:0,left:0,margin:0,border:0,width:"1px",height:"1px",visibility:"hidden"}),i.innerHTML=a,r.insertBefore(i,r.firstChild),e=i.firstChild,t=e.firstChild,n=e.nextSibling.firstChild.firstChild,this.doesNotAddBorder=5!==t.offsetTop,this.doesAddBorderForTableAndCells=5===n.offsetTop,t.style.position="fixed",t.style.top="20px",this.supportsFixedPosition=20===t.offsetTop||15===t.offsetTop,t.style.position=t.style.top="",e.style.overflow="hidden",e.style.position="relative",this.subtractsBorderForOverflowNotVisible=-5===t.offsetTop,this.doesNotIncludeMarginInBodyOffset=r.offsetTop!==o,r.removeChild(i),H.offset.initialize=H.noop},bodyOffset:function(e){var t=e.offsetTop,n=e.offsetLeft;return H.offset.initialize(),H.offset.doesNotIncludeMarginInBodyOffset&&(t+=parseFloat(H.css(e,"marginTop"))||0,n+=parseFloat(H.css(e,"marginLeft"))||0),{top:t,left:n}},setOffset:function(e,t,n){var r=H.css(e,"position");"static"===r&&(e.style.position="relative");var i,o,a=H(e),s=a.offset(),l=H.css(e,"top"),u=H.css(e,"left"),c=("absolute"===r||"fixed"===r)&&H.inArray("auto",[l,u])>-1,f={},d={};c?(d=a.position(),i=d.top,o=d.left):(i=parseFloat(l)||0,o=parseFloat(u)||0),H.isFunction(t)&&(t=t.call(e,n,s)),null!=t.top&&(f.top=t.top-s.top+i),null!=t.left&&(f.left=t.left-s.left+o),"using"in t?t.using.call(e,f):a.css(f)}},H.fn.extend({position:function(){if(!this[0])return null;var e=this[0],t=this.offsetParent(),n=this.offset(),r=Tt.test(t[0].nodeName)?{top:0,left:0}:t.offset();return n.top-=parseFloat(H.css(e,"marginTop"))||0,n.left-=parseFloat(H.css(e,"marginLeft"))||0,r.top+=parseFloat(H.css(t[0],"borderTopWidth"))||0,r.left+=parseFloat(H.css(t[0],"borderLeftWidth"))||0,{top:n.top-r.top,left:n.left-r.left}},offsetParent:function(){return this.map((function(){var e=this.offsetParent||L.body;while(e&&!Tt.test(e.nodeName)&&"static"===H.css(e,"position"))e=e.offsetParent;return e}))}}),H.each(["Left","Top"],(function(e,r){var i="scroll"+r;H.fn[i]=function(r){var o,a;return r===t?(o=this[0],o?(a=n(o),a?"pageXOffset"in a?a[e?"pageYOffset":"pageXOffset"]:H.support.boxModel&&a.document.documentElement[i]||a.document.body[i]:o[i]):null):this.each((function(){a=n(this),a?a.scrollTo(e?H(a).scrollLeft():r,e?r:H(a).scrollTop()):this[i]=r}))}})),H.each(["Height","Width"],(function(e,n){var r=n.toLowerCase();H.fn["inner"+n]=function(){return this[0]?parseFloat(H.css(this[0],r,"padding")):null},H.fn["outer"+n]=function(e){return this[0]?parseFloat(H.css(this[0],r,e?"margin":"border")):null},H.fn[r]=function(e){var i=this[0];if(!i)return null==e?null:this;if(H.isFunction(e))return this.each((function(t){var n=H(this);n[r](e.call(this,t,n[r]()))}));if(H.isWindow(i)){var o=i.document.documentElement["client"+n];return"CSS1Compat"===i.document.compatMode&&o||i.document.body["client"+n]||o}if(9===i.nodeType)return Math.max(i.documentElement["client"+n],i.body["scroll"+n],i.documentElement["scroll"+n],i.body["offset"+n],i.documentElement["offset"+n]);if(e===t){var a=H.css(i,r),s=parseFloat(a);return H.isNaN(s)?a:s}return this.css(r,"string"==typeof e?e:e+"px")}})),e.jQuery=e.$=H})(window); \ No newline at end of file diff --git a/client/dist/static/logview/Logview_files/json2.js b/client/dist/static/logview/Logview_files/json2.js index b4c02d3f..d72c3657 100644 --- a/client/dist/static/logview/Logview_files/json2.js +++ b/client/dist/static/logview/Logview_files/json2.js @@ -1,480 +1 @@ -/* - http://www.JSON.org/json2.js - 2011-02-23 - - Public Domain. - - NO WARRANTY EXPRESSED OR IMPLIED. USE AT YOUR OWN RISK. - - See http://www.JSON.org/js.html - - - This code should be minified before deployment. - See http://javascript.crockford.com/jsmin.html - - USE YOUR OWN COPY. IT IS EXTREMELY UNWISE TO LOAD CODE FROM SERVERS YOU DO - NOT CONTROL. - - - This file creates a global JSON object containing two methods: stringify - and parse. - - JSON.stringify(value, replacer, space) - value any JavaScript value, usually an object or array. - - replacer an optional parameter that determines how object - values are stringified for objects. It can be a - function or an array of strings. - - space an optional parameter that specifies the indentation - of nested structures. If it is omitted, the text will - be packed without extra whitespace. If it is a number, - it will specify the number of spaces to indent at each - level. If it is a string (such as '\t' or ' '), - it contains the characters used to indent at each level. - - This method produces a JSON text from a JavaScript value. - - When an object value is found, if the object contains a toJSON - method, its toJSON method will be called and the result will be - stringified. A toJSON method does not serialize: it returns the - value represented by the name/value pair that should be serialized, - or undefined if nothing should be serialized. The toJSON method - will be passed the key associated with the value, and this will be - bound to the value - - For example, this would serialize Dates as ISO strings. - - Date.prototype.toJSON = function (key) { - function f(n) { - // Format integers to have at least two digits. - return n < 10 ? '0' + n : n; - } - - return this.getUTCFullYear() + '-' + - f(this.getUTCMonth() + 1) + '-' + - f(this.getUTCDate()) + 'T' + - f(this.getUTCHours()) + ':' + - f(this.getUTCMinutes()) + ':' + - f(this.getUTCSeconds()) + 'Z'; - }; - - You can provide an optional replacer method. It will be passed the - key and value of each member, with this bound to the containing - object. The value that is returned from your method will be - serialized. If your method returns undefined, then the member will - be excluded from the serialization. - - If the replacer parameter is an array of strings, then it will be - used to select the members to be serialized. It filters the results - such that only members with keys listed in the replacer array are - stringified. - - Values that do not have JSON representations, such as undefined or - functions, will not be serialized. Such values in objects will be - dropped; in arrays they will be replaced with null. You can use - a replacer function to replace those with JSON values. - JSON.stringify(undefined) returns undefined. - - The optional space parameter produces a stringification of the - value that is filled with line breaks and indentation to make it - easier to read. - - If the space parameter is a non-empty string, then that string will - be used for indentation. If the space parameter is a number, then - the indentation will be that many spaces. - - Example: - - text = JSON.stringify(['e', {pluribus: 'unum'}]); - // text is '["e",{"pluribus":"unum"}]' - - - text = JSON.stringify(['e', {pluribus: 'unum'}], null, '\t'); - // text is '[\n\t"e",\n\t{\n\t\t"pluribus": "unum"\n\t}\n]' - - text = JSON.stringify([new Date()], function (key, value) { - return this[key] instanceof Date ? - 'Date(' + this[key] + ')' : value; - }); - // text is '["Date(---current time---)"]' - - - JSON.parse(text, reviver) - This method parses a JSON text to produce an object or array. - It can throw a SyntaxError exception. - - The optional reviver parameter is a function that can filter and - transform the results. It receives each of the keys and values, - and its return value is used instead of the original value. - If it returns what it received, then the structure is not modified. - If it returns undefined then the member is deleted. - - Example: - - // Parse the text. Values that look like ISO date strings will - // be converted to Date objects. - - myData = JSON.parse(text, function (key, value) { - var a; - if (typeof value === 'string') { - a = -/^(\d{4})-(\d{2})-(\d{2})T(\d{2}):(\d{2}):(\d{2}(?:\.\d*)?)Z$/.exec(value); - if (a) { - return new Date(Date.UTC(+a[1], +a[2] - 1, +a[3], +a[4], - +a[5], +a[6])); - } - } - return value; - }); - - myData = JSON.parse('["Date(09/09/2001)"]', function (key, value) { - var d; - if (typeof value === 'string' && - value.slice(0, 5) === 'Date(' && - value.slice(-1) === ')') { - d = new Date(value.slice(5, -1)); - if (d) { - return d; - } - } - return value; - }); - - - This is a reference implementation. You are free to copy, modify, or - redistribute. -*/ - -/*jslint evil: true, strict: false, regexp: false */ - -/*members "", "\b", "\t", "\n", "\f", "\r", "\"", JSON, "\\", apply, - call, charCodeAt, getUTCDate, getUTCFullYear, getUTCHours, - getUTCMinutes, getUTCMonth, getUTCSeconds, hasOwnProperty, join, - lastIndex, length, parse, prototype, push, replace, slice, stringify, - test, toJSON, toString, valueOf -*/ - - -// Create a JSON object only if one does not already exist. We create the -// methods in a closure to avoid creating global variables. - -var JSON; -if (!JSON) { - JSON = {}; -} - -(function () { - "use strict"; - - function f(n) { - // Format integers to have at least two digits. - return n < 10 ? '0' + n : n; - } - - if (typeof Date.prototype.toJSON !== 'function') { - - Date.prototype.toJSON = function (key) { - - return isFinite(this.valueOf()) ? - this.getUTCFullYear() + '-' + - f(this.getUTCMonth() + 1) + '-' + - f(this.getUTCDate()) + 'T' + - f(this.getUTCHours()) + ':' + - f(this.getUTCMinutes()) + ':' + - f(this.getUTCSeconds()) + 'Z' : null; - }; - - String.prototype.toJSON = - Number.prototype.toJSON = - Boolean.prototype.toJSON = function (key) { - return this.valueOf(); - }; - } - - var cx = /[\u0000\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g, - escapable = /[\\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g, - gap, - indent, - meta = { // table of character substitutions - '\b': '\\b', - '\t': '\\t', - '\n': '\\n', - '\f': '\\f', - '\r': '\\r', - '"' : '\\"', - '\\': '\\\\' - }, - rep; - - - function quote(string) { - -// If the string contains no control characters, no quote characters, and no -// backslash characters, then we can safely slap some quotes around it. -// Otherwise we must also replace the offending characters with safe escape -// sequences. - - escapable.lastIndex = 0; - return escapable.test(string) ? '"' + string.replace(escapable, function (a) { - var c = meta[a]; - return typeof c === 'string' ? c : - '\\u' + ('0000' + a.charCodeAt(0).toString(16)).slice(-4); - }) + '"' : '"' + string + '"'; - } - - - function str(key, holder) { - -// Produce a string from holder[key]. - - var i, // The loop counter. - k, // The member key. - v, // The member value. - length, - mind = gap, - partial, - value = holder[key]; - -// If the value has a toJSON method, call it to obtain a replacement value. - - if (value && typeof value === 'object' && - typeof value.toJSON === 'function') { - value = value.toJSON(key); - } - -// If we were called with a replacer function, then call the replacer to -// obtain a replacement value. - - if (typeof rep === 'function') { - value = rep.call(holder, key, value); - } - -// What happens next depends on the value's type. - - switch (typeof value) { - case 'string': - return quote(value); - - case 'number': - -// JSON numbers must be finite. Encode non-finite numbers as null. - - return isFinite(value) ? String(value) : 'null'; - - case 'boolean': - case 'null': - -// If the value is a boolean or null, convert it to a string. Note: -// typeof null does not produce 'null'. The case is included here in -// the remote chance that this gets fixed someday. - - return String(value); - -// If the type is 'object', we might be dealing with an object or an array or -// null. - - case 'object': - -// Due to a specification blunder in ECMAScript, typeof null is 'object', -// so watch out for that case. - - if (!value) { - return 'null'; - } - -// Make an array to hold the partial results of stringifying this object value. - - gap += indent; - partial = []; - -// Is the value an array? - - if (Object.prototype.toString.apply(value) === '[object Array]') { - -// The value is an array. Stringify every element. Use null as a placeholder -// for non-JSON values. - - length = value.length; - for (i = 0; i < length; i += 1) { - partial[i] = str(i, value) || 'null'; - } - -// Join all of the elements together, separated with commas, and wrap them in -// brackets. - - v = partial.length === 0 ? '[]' : gap ? - '[\n' + gap + partial.join(',\n' + gap) + '\n' + mind + ']' : - '[' + partial.join(',') + ']'; - gap = mind; - return v; - } - -// If the replacer is an array, use it to select the members to be stringified. - - if (rep && typeof rep === 'object') { - length = rep.length; - for (i = 0; i < length; i += 1) { - if (typeof rep[i] === 'string') { - k = rep[i]; - v = str(k, value); - if (v) { - partial.push(quote(k) + (gap ? ': ' : ':') + v); - } - } - } - } else { - -// Otherwise, iterate through all of the keys in the object. - - for (k in value) { - if (Object.prototype.hasOwnProperty.call(value, k)) { - v = str(k, value); - if (v) { - partial.push(quote(k) + (gap ? ': ' : ':') + v); - } - } - } - } - -// Join all of the member texts together, separated with commas, -// and wrap them in braces. - - v = partial.length === 0 ? '{}' : gap ? - '{\n' + gap + partial.join(',\n' + gap) + '\n' + mind + '}' : - '{' + partial.join(',') + '}'; - gap = mind; - return v; - } - } - -// If the JSON object does not yet have a stringify method, give it one. - - if (typeof JSON.stringify !== 'function') { - JSON.stringify = function (value, replacer, space) { - -// The stringify method takes a value and an optional replacer, and an optional -// space parameter, and returns a JSON text. The replacer can be a function -// that can replace values, or an array of strings that will select the keys. -// A default replacer method can be provided. Use of the space parameter can -// produce text that is more easily readable. - - var i; - gap = ''; - indent = ''; - -// If the space parameter is a number, make an indent string containing that -// many spaces. - - if (typeof space === 'number') { - for (i = 0; i < space; i += 1) { - indent += ' '; - } - -// If the space parameter is a string, it will be used as the indent string. - - } else if (typeof space === 'string') { - indent = space; - } - -// If there is a replacer, it must be a function or an array. -// Otherwise, throw an error. - - rep = replacer; - if (replacer && typeof replacer !== 'function' && - (typeof replacer !== 'object' || - typeof replacer.length !== 'number')) { - throw new Error('JSON.stringify'); - } - -// Make a fake root object containing our value under the key of ''. -// Return the result of stringifying the value. - - return str('', {'': value}); - }; - } - - -// If the JSON object does not yet have a parse method, give it one. - - if (typeof JSON.parse !== 'function') { - JSON.parse = function (text, reviver) { - -// The parse method takes a text and an optional reviver function, and returns -// a JavaScript value if the text is a valid JSON text. - - var j; - - function walk(holder, key) { - -// The walk method is used to recursively walk the resulting structure so -// that modifications can be made. - - var k, v, value = holder[key]; - if (value && typeof value === 'object') { - for (k in value) { - if (Object.prototype.hasOwnProperty.call(value, k)) { - v = walk(value, k); - if (v !== undefined) { - value[k] = v; - } else { - delete value[k]; - } - } - } - } - return reviver.call(holder, key, value); - } - - -// Parsing happens in four stages. In the first stage, we replace certain -// Unicode characters with escape sequences. JavaScript handles many characters -// incorrectly, either silently deleting them, or treating them as line endings. - - text = String(text); - cx.lastIndex = 0; - if (cx.test(text)) { - text = text.replace(cx, function (a) { - return '\\u' + - ('0000' + a.charCodeAt(0).toString(16)).slice(-4); - }); - } - -// In the second stage, we run the text against regular expressions that look -// for non-JSON patterns. We are especially concerned with '()' and 'new' -// because they can cause invocation, and '=' because it can cause mutation. -// But just to be safe, we want to reject all unexpected forms. - -// We split the second stage into 4 regexp operations in order to work around -// crippling inefficiencies in IE's and Safari's regexp engines. First we -// replace the JSON backslash pairs with '@' (a non-JSON character). Second, we -// replace all simple value tokens with ']' characters. Third, we delete all -// open brackets that follow a colon or comma or that begin the text. Finally, -// we look to see that the remaining characters are only whitespace or ']' or -// ',' or ':' or '{' or '}'. If that is so, then the text is safe for eval. - - if (/^[\],:{}\s]*$/ - .test(text.replace(/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g, '@') - .replace(/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g, ']') - .replace(/(?:^|:|,)(?:\s*\[)+/g, ''))) { - -// In the third stage we use the eval function to compile the text into a -// JavaScript structure. The '{' operator is subject to a syntactic ambiguity -// in JavaScript: it can begin a block or an object literal. We wrap the text -// in parens to eliminate the ambiguity. - - j = eval('(' + text + ')'); - -// In the optional fourth stage, we recursively walk the new structure, passing -// each name/value pair to a reviver function for possible transformation. - - return typeof reviver === 'function' ? - walk({'': j}, '') : j; - } - -// If the text is not JSON parseable, then a SyntaxError is thrown. - - throw new SyntaxError('JSON.parse'); - }; - } -}()); +var JSON;JSON||(JSON={}),function(){"use strict";function f(t){return t<10?"0"+t:t}"function"!==typeof Date.prototype.toJSON&&(Date.prototype.toJSON=function(t){return isFinite(this.valueOf())?this.getUTCFullYear()+"-"+f(this.getUTCMonth()+1)+"-"+f(this.getUTCDate())+"T"+f(this.getUTCHours())+":"+f(this.getUTCMinutes())+":"+f(this.getUTCSeconds())+"Z":null},String.prototype.toJSON=Number.prototype.toJSON=Boolean.prototype.toJSON=function(t){return this.valueOf()});var cx=/[\u0000\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,escapable=/[\\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,gap,indent,meta={"\b":"\\b","\t":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"},rep;function quote(t){return escapable.lastIndex=0,escapable.test(t)?'"'+t.replace(escapable,(function(t){var e=meta[t];return"string"===typeof e?e:"\\u"+("0000"+t.charCodeAt(0).toString(16)).slice(-4)}))+'"':'"'+t+'"'}function str(t,e){var r,n,o,f,u,i=gap,p=e[t];switch(p&&"object"===typeof p&&"function"===typeof p.toJSON&&(p=p.toJSON(t)),"function"===typeof rep&&(p=rep.call(e,t,p)),typeof p){case"string":return quote(p);case"number":return isFinite(p)?String(p):"null";case"boolean":case"null":return String(p);case"object":if(!p)return"null";if(gap+=indent,u=[],"[object Array]"===Object.prototype.toString.apply(p)){for(f=p.length,r=0;r", data) - var json = [], - html = ''; - for (var i = 0, len = data.length; i < len; i++) { - json.push({ text: data[i], value: data[i] }); - html += '
  • ' + data[i] + '
  • '; - } - var args = { data: json }; - if (data.length) { - args.defaultValue = data[0]; - } - cloudjs(fileListEle).combobox('refresh', args); - $('.file_list ul').html(html); - if (html) { - $('.file_list .empty_notice_p').hide(); - } else { - $('.file_list .empty_notice_p').show(); - } - bindListEvent(); - } - - function sortFileList(data) { - //alert("default:" + app + "." + server_name + ".log"); - // 自定义排序, 先展示 app.server.log, 然后按天日志按日期排序, 最后展示 app.serverx.log - - // 先简单处理, 只要 app.server.log 存在, 就强制在前面添加一个该元素 - var defaultLogName = app + "." + server_name + ".log"; - if (!Array.indexOf) { - Array.prototype.indexOf = function(obj) { - for (var i = 0; i < this.length; i++) { - if (this[i] == obj) { - return i; - } - } - return -1; - } - } - var index = data.indexOf(defaultLogName); - if (index >= 0) { - data.splice(index, 1); - data.unshift(defaultLogName); - } - return data; - } - - var tempDiv = $('
    ') - - function htmlEncode(str) { - tempDiv.text(str); - return tempDiv.html(); - } - - bindListEvent(); - - function bindListEvent() { - $('.file_list li').bind('click', function() { - var v = $(this).text(); - cloudjs(fileListEle).combobox('setValue', v); - }); - } - - - $('#search_btn').bind('click', function(e) { - var $this = $(this); - var args = { - //path: $('[name="path"]').val(), - view_direction: $('[name="view_direction"]:checked').val(), - file_name: $(fileListEle).parent().children('.combo_value').val(), - ignoreCase: $('[name="ignoreCase"]').prop('checked') ? 'Y' : 'N', - lines: $('[name="lines"]').val(), - keyword: $('[name="keyword"]').val(), - search_lines: $('[name="search_lines"]').val(), - search_sign: $('[name="search_sign"]').val(), - env_code: envCode - }; - /*temp 判定file_name是否为null,若是,不提交*/ - if (args.file_name === null) { - alert('日志文件不能为null'); - return; - } - $('#log_win_content').html('

    Loading....

    '); - $this.attr('disabled', 'disabled'); - $this.text('查询中...'); - $.ajax({ - url: '/pages/server/api/logview_data', - data: { - operator: userName, - interface_params: JSON.stringify(args), - application: app, - server_name: server_name, - node_name: node_name, - log_file: $(fileListEle).parent().children('.combo_value').val() - }, - dataType: 'json', - timeout: 60000, - success: function(data) { - data = JSON.parse(data.data) - if (data.iRet == 0) { - var cmd = data.cmd || ''; - cmd = getNowFormatDate() + "===>" + cmd; - $('#cmd_row').show().children('.cmd').html(htmlEncode(cmd)); - var html = ''; - var logOriginData = data.data; - - var logData = logOriginData.split("\n"); - var len = logData.length; - if (len > 0) { - for (var i = 0; i < len; i++) { - html += ''; - } - } else { - html += ''; - } - - html + '
    ' + htmlEncode(logData[i]) + '
    执行结果为空
    '; - $('#log_win_content').html(html); - } else { - $('#log_win_content').html('

    查询失败,错误信息:' + data.err_msg + '

    '); - } - $this.removeAttr('disabled'); - $this.text('提交查询'); - if ($('#auto_btn').prop('checked')) { - clearTimeout(refreshTimeout); - refreshTimeout = setTimeout(function() { - $('#search_btn').trigger('click'); - }, 6000); - } - }, - error: function() { - $('#log_win_content').html('

    查询失败。

    '); - $this.removeAttr('disabled'); - $this.text('提交查询'); - if ($('#auto_btn').prop('checked')) { - clearTimeout(refreshTimeout); - refreshTimeout = setTimeout(function() { - $('#search_btn').trigger('click'); - }, 6000); - } - } - }); - }); - - /*从url上获取参数 */ - function getUrlParams(key, url) { - if (!url || !key) return null; - //var href=url||decodeURI(window.location.href); - var href = url; - var index = href.indexOf('?'); - if (index === -1) return null; - var search = href.substring(index); - var start = search.indexOf('&' + key + '='); - if (start == -1) start = search.indexOf('?' + key + '='); - var value = ''; - if (start != -1) { - start += (key.length + 2); - var end = search.indexOf('&', start); - value = search.substring(start, end == -1 ? search.length : end); - } else { - return null; - } - //去掉#的干扰 - var cutPos = value.indexOf('#'); - if (cutPos !== -1) value = value.substring(0, cutPos); - return value; - } - - function getThisParams(key) { - var url = window.location.href; - return getUrlParams(key, url); - } - - function getNowFormatDate() { - var date = new Date(); - var seperator1 = "-"; - var seperator2 = ":"; - var month = date.getMonth() + 1; - var strDate = date.getDate(); - if (month >= 1 && month <= 9) { - month = "0" + month; - } - if (strDate >= 0 && strDate <= 9) { - strDate = "0" + strDate; - } - var currentdate = date.getFullYear() + seperator1 + month + seperator1 + strDate + - " " + getTwoWidthStr(date.getHours()) + seperator2 + getTwoWidthStr(date.getMinutes()) + - seperator2 + getTwoWidthStr(date.getSeconds()); - return currentdate; - } - - function getTwoWidthStr(str) { - while ((str + "").length < 2) { - str = "0" + str; - } - return str; - } - -}); \ No newline at end of file +$((function(){var e=$('select[name="lines"]'),t=$('select[name="file_name"]'),n=$('select[name="search_sign"]'),i=$(".log_left"),r=$("#log_win"),a=$('[name="user_name"]').val(),o=null,l=j("env_code",location.href)||"",s=$('[name="path"]').val(),c=s.split(":"),d=(c[0],c=(c[1]||"").split("/"),k("app")),u=k("server_name"),h=k("node_name");function f(){var e=$(window).height(),t=$("body").width();i.height(e).width(500),r.width(t-500),r.height(e).css({right:0,left:500})}cloudjs(e).combobox(),cloudjs(t).combobox(),cloudjs(n).combobox(),cloudjs(".ctip").tips({position:"down"}),f();var m=null,_=!1;$(window).resize((function(){m&&clearTimeout(m),_||(m=setTimeout((function(){f(),m=null}),150))}));cloudjs("#log_win").resizable({handles:"w",start:function(e,t){_=!0},stop:function(e,t){_=!1;var n=$("body").width()-t.size.width;i.width(n)}}),$("#auto_btn").bind("change",(function(){$(this).prop("checked")?(clearTimeout(o),o=setTimeout((function(){$("#search_btn").trigger("click")}),6e3)):clearTimeout(o)}));var p=!1;function v(){p=!0,$(".refresh_btn").removeClass("icon-refresh").addClass("icon-spinner icon-spin hover4");var e=s.split(":");e[0],e[1];$.ajax({url:"/pages/server/api/logview_list",data:{operator:a,application:d,server_name:u,node_name:h},dataType:"json",success:function(e){p=!1,$(".refresh_btn").removeClass("icon-spinner icon-spin hover4").addClass("icon-refresh");var t=JSON.parse(e.data);0==t.iRet?(cloudjs.message({content:"刷新日志文件列表成功",type:"success",relative:".log_left"}),g(t.data)):cloudjs.message({content:"刷新日志文件列表失败,失败原因:"+e.err_msg,type:"error",relative:".log_left"})},error:function(){p=!1,$(".refresh_btn").removeClass("icon-spinner icon-spin hover4").addClass("icon-refresh"),cloudjs.message({content:"刷新日志文件列表失败",type:"error",relative:".log_left"})}})}function g(e){e=b(e);for(var n=[],i="",r=0,a=e.length;r"+e[r]+"";var o={data:n};e.length&&(o.defaultValue=e[0]),cloudjs(t).combobox("refresh",o),$(".file_list ul").html(i),i?$(".file_list .empty_notice_p").hide():$(".file_list .empty_notice_p").show(),y()}function b(e){var t=d+"."+u+".log";Array.indexOf||(Array.prototype.indexOf=function(e){for(var t=0;t=0&&(e.splice(n,1),e.unshift(t)),e}$(".refresh_btn").bind("click",(function(){p||v()})),v();var w=$("
    ");function x(e){return w.text(e),w.html()}function y(){$(".file_list li").bind("click",(function(){var e=$(this).text();cloudjs(t).combobox("setValue",e)}))}function j(e,t){if(!t||!e)return null;var n=t,i=n.indexOf("?");if(-1===i)return null;var r=n.substring(i),a=r.indexOf("&"+e+"=");-1==a&&(a=r.indexOf("?"+e+"="));var o="";if(-1==a)return null;a+=e.length+2;var l=r.indexOf("&",a);o=r.substring(a,-1==l?r.length:l);var s=o.indexOf("#");return-1!==s&&(o=o.substring(0,s)),o}function k(e){var t=window.location.href;return j(e,t)}function O(){var e=new Date,t="-",n=":",i=e.getMonth()+1,r=e.getDate();i>=1&&i<=9&&(i="0"+i),r>=0&&r<=9&&(r="0"+r);var a=e.getFullYear()+t+i+t+r+" "+T(e.getHours())+n+T(e.getMinutes())+n+T(e.getSeconds());return a}function T(e){while((e+"").length<2)e="0"+e;return e}y(),$("#search_btn").bind("click",(function(e){var n=$(this),i={view_direction:$('[name="view_direction"]:checked').val(),file_name:$(t).parent().children(".combo_value").val(),ignoreCase:$('[name="ignoreCase"]').prop("checked")?"Y":"N",lines:$('[name="lines"]').val(),keyword:$('[name="keyword"]').val(),search_lines:$('[name="search_lines"]').val(),search_sign:$('[name="search_sign"]').val(),env_code:l};null!==i.file_name?($("#log_win_content").html('

    Loading....

    '),n.attr("disabled","disabled"),n.text("查询中..."),$.ajax({url:"/pages/server/api/logview_data",data:{operator:a,interface_params:JSON.stringify(i),application:d,server_name:u,node_name:h,log_file:$(t).parent().children(".combo_value").val()},dataType:"json",timeout:6e4,success:function(e){if(e=JSON.parse(e.data),0==e.iRet){var t=e.cmd||"";t=O()+"===>"+t,$("#cmd_row").show().children(".cmd").html(x(t));var i='',r=e.data,a=r.split("\n"),l=a.length;if(l>0)for(var s=0;s";else i+="";$("#log_win_content").html(i)}else $("#log_win_content").html('

    查询失败,错误信息:'+e.err_msg+"

    ");n.removeAttr("disabled"),n.text("提交查询"),$("#auto_btn").prop("checked")&&(clearTimeout(o),o=setTimeout((function(){$("#search_btn").trigger("click")}),6e3))},error:function(){$("#log_win_content").html('

    查询失败。

    '),n.removeAttr("disabled"),n.text("提交查询"),$("#auto_btn").prop("checked")&&(clearTimeout(o),o=setTimeout((function(){$("#search_btn").trigger("click")}),6e3))}})):alert("日志文件不能为null")}))})); \ No newline at end of file diff --git a/client/dist/static/logview/Logview_files/message.js b/client/dist/static/logview/Logview_files/message.js index 12e91c6e..c8f0a10f 100644 --- a/client/dist/static/logview/Logview_files/message.js +++ b/client/dist/static/logview/Logview_files/message.js @@ -1,236 +1 @@ -cloudjs.define({ - - message: function(options){ - - var defaults = { - type: 'normal', // 消息框的类型,可选'normal','success','warn','error' - content: '提示信息', // 消息框中的提示内容 - duration: 3000, // 消息框保留的时间 - showLeftIcon: false, //是否展示左边的小图标 - showCloseIcon: false, //是否显示关闭按钮 - relative: document, // 消息框所处的容器,默认为document - position: 'in_top',// 消息框相对于容器的位置,可选'in_top','left','right','up','down' - offsetLeft: 0, // 消息框相对于容器顶部中心的横向偏移值 - offsetTop: 0, // 消息框相对于容器顶部的纵向偏移值 - id: null, // 自定义消息框id - isTriggerClose: false, //是否点击页面其他元素自动关闭消息框 - zIndex: null - }; - - if(options && $.isPlainObject(options)){ - $.extend(defaults, options); - }else if(options === 'close'){ - if(arguments[1]){ - _hide(arguments[1]); - }else{ - _hide('all'); - } - return true; - } - - var _msgBox = null, - _msgClose = null, - _timeout = null, - _type = cloudjs.util.indexOf(['normal', 'success', 'warn', 'error'], defaults.type) === -1 ? 'normal' : defaults.type, - _content = defaults.content, - _duration = defaults.duration < 0 ? 5000 : defaults.duration, - _showLeftIcon = defaults.showLeftIcon, - _showCloseIcon = defaults.showCloseIcon, - _relative = defaults.relative, - _position = cloudjs.util.indexOf(['in_top', 'left', 'right', 'up', 'down'], defaults.position) === -1 ? 'in_top' : defaults.position, - _offsetLeft = defaults.offsetLeft, - _offsetTop = defaults.offsetTop, - _isFull = defaults.isFull || false, - _id = defaults.id ? ('mes_' + defaults.id + '_' + Math.random()) : null, - _isTriggerClose = defaults.isTriggerClose || false; - _zIndex = (defaults.zIndex !== undefined && defaults.zIndex !== null && (!isNaN(defaults.zIndex))) ? defaults.zIndex : (cloudjs.zIndex()); - _init(); - /** - * 初始化消息组件 - */ - function _init(){ - _addBox(); - _show(); - } - - /** - * 生成消息组件的html节点 - */ - function _addBox(){ - var html = ''; - _msgBox = $('
    ').addClass('message_div ' + 'message_' + _type).addClass(Math.random().toString()); - _id && _msgBox.attr('id', _id); - if(!_showLeftIcon){ - _msgBox.addClass('message_no_left_icon'); - }else{ - html += '

    ' - } - html += '' + _content + ''; - if(!_showCloseIcon){ - _msgBox.addClass('message_no_right_icon'); - }else{ - html += '

    '; - } - - html += '' - _msgBox.appendTo('body') - .html(html); - _msgClose = _msgBox.find('>.message_close'); - } - - /** - * 设置消息组件的位置和尺寸 - */ - function _setStyle(){ - var reElem = null, oTop = 0, oLeft = 0, oWidth = 0, oHeight = 0, style = {}, - msgWidth = 0, msgHeight = 0, spaceWidth = 0; - _msgBox.css({zIndex: _zIndex}); - if(_relative.nodeType === 9){ - reElem = $(document); - $(_msgBox).css({position: 'fixed'}); - style.top = _offsetTop; - msgWidth = $(_msgBox).outerWidth(); - oWidth = reElem.width(); - spaceWidth = msgWidth - $(_msgBox).width(); - if(_isFull) { - style.width = oWidth - spaceWidth; - style.left = 0; - }else{ - style.left = oWidth / 2 - msgWidth / 2 + _offsetLeft; - } - $(_msgBox).css(style); - }else{ - $(_msgBox).css({position: 'absolute'}); - reElem = $(_relative); - oTop = reElem.offset().top; - oLeft = reElem.offset().left; - oWidth = reElem.outerWidth(); - oHeight = reElem.outerHeight(); - msgWidth = $(_msgBox).outerWidth(); - spaceWidth = msgWidth - $(_msgBox).width(); - if(_isFull){ - style.width = oWidth - spaceWidth; - style.left = oLeft; - style.top = oTop + _offsetTop; - $(_msgBox).css(style); - }else if((/^in_/).exec(_position)){ - var outerWidth = Math.min(msgWidth, oWidth); - style.width = outerWidth - spaceWidth; - style.left = oLeft + (oWidth - outerWidth) / 2 + parseInt(_offsetLeft); - style.top = oTop + _offsetTop; - $(_msgBox).css(style); - }else{ - $(_msgBox).css({'width': msgWidth}); - msgWidth = $(_msgBox).outerWidth(); - msgHeight = $(_msgBox).outerHeight(); - switch(_position){ - case 'up': - style.top = oTop - msgHeight + _offsetTop; - style.left = oLeft + (oWidth - msgWidth) / 2 + parseInt(_offsetLeft); - break; - case 'down': - style.top = oTop + oHeight + _offsetTop; - style.left = oLeft + (oWidth - msgWidth) / 2 + parseInt(_offsetLeft); - break; - case 'left': - style.top = oTop + _offsetTop; - style.left = oLeft - msgWidth + _offsetLeft; - break; - case 'right': - style.top = oTop + _offsetTop; - style.left = oLeft + oWidth + _offsetLeft; - break; - default: - break; - } - $(_msgBox).css(style); - } - } - } - - - /** - * 展开消息组件,设置关闭消息组件的计时器,window发生resize时候自适应位置 - */ - function _show(){ - $('body').append(_msgBox); - _setStyle(); - _msgBox.stop().animate({opacity: 1}, 200); - if(_duration > 0 && _timeout == null){ - _timeout = setTimeout(function(){ - _hide(); - }, _duration); - } - _msgClose && _msgClose.bind('click', function(){ - _hide(); - }); - var randomEvent = 'message' + Math.random(); - if(_isTriggerClose){ - setTimeout(function(){ - $('html').bind('click.' + randomEvent, function(e){ - var target = $(e.target); - if(target.is(_msgBox)){ - return; - } - var jqObj = $(e.target).parents('.message_div'); - if(jqObj && jqObj.is(_msgBox)){ - return; - } - if(_msgBox && _msgBox.parent()[0]){ - _hide(); - $('html').unbind('click.' + randomEvent); - _msgBox = null; - } - }); - }, 10); - } - $(window).bind('resize.' + randomEvent, function(){ - if(_msgBox && _msgBox.parent()[0]){ - _setStyle(); - }else{ - $(window).unbind('resize.' + randomEvent); - } - }); - } - - /** - * 关闭消息组件 - * @param {string | Array} id 关闭的消息组件id,若不传id,则关闭当前,若id为‘all’,则关闭全部消息组件 - */ - function _hide(id){ - if(!id){ - _doHide(_msgBox); - clearTimeout(_timeout); - _timeout = null; - }else if(id === 'all'){ - _doHide($('.message_div')); - clearTimeout(_timeout); - _timeout = null; - }else{ - if(typeof id === 'string'){ - _doHide($('.message_div[id^="mes_' + id + '_"]')); - }else if($.isArray(id)){ - for(var i = 0, len = id.length; i").addClass("message_div message_"+o).addClass(Math.random().toString()),h&&s.attr("id",h),d?e+='

    ':s.addClass("message_no_left_icon"),e+=""+a+"",c?e+='

    ':s.addClass("message_no_right_icon"),e+="",s.appendTo("body").html(e),i=s.find(">.message_close")}function w(){var e=null,t=0,i=0,n=0,o=0,a={},l=0,d=0,c=0;if(s.css({zIndex:_zIndex}),9===r.nodeType)e=$(document),$(s).css({position:"fixed"}),a.top=p,l=$(s).outerWidth(),n=e.width(),c=l-$(s).width(),m?(a.width=n-c,a.left=0):a.left=n/2-l/2+u,$(s).css(a);else if($(s).css({position:"absolute"}),e=$(r),t=e.offset().top,i=e.offset().left,n=e.outerWidth(),o=e.outerHeight(),l=$(s).outerWidth(),c=l-$(s).width(),m)a.width=n-c,a.left=i,a.top=t+p,$(s).css(a);else if(/^in_/.exec(f)){var h=Math.min(l,n);a.width=h-c,a.left=i+(n-h)/2+parseInt(u),a.top=t+p,$(s).css(a)}else{switch($(s).css({width:l}),l=$(s).outerWidth(),d=$(s).outerHeight(),f){case"up":a.top=t-d+p,a.left=i+(n-l)/2+parseInt(u);break;case"down":a.top=t+o+p,a.left=i+(n-l)/2+parseInt(u);break;case"left":a.top=t+p,a.left=i-l+u;break;case"right":a.top=t+p,a.left=i+n+u;break;default:break}$(s).css(a)}}function I(){$("body").append(s),w(),s.stop().animate({opacity:1},200),l>0&&null==n&&(n=setTimeout((function(){b()}),l)),i&&i.bind("click",(function(){b()}));var e="message"+Math.random();_&&setTimeout((function(){$("html").bind("click."+e,(function(t){var i=$(t.target);if(!i.is(s)){var n=$(t.target).parents(".message_div");n&&n.is(s)||s&&s.parent()[0]&&(b(),$("html").unbind("click."+e),s=null)}}))}),10),$(window).bind("resize."+e,(function(){s&&s.parent()[0]?w():$(window).unbind("resize."+e)}))}function b(e){if(e){if("all"===e)x($(".message_div")),clearTimeout(n),n=null;else if("string"===typeof e)x($('.message_div[id^="mes_'+e+'_"]'));else if($.isArray(e))for(var t=0,i=e.length;t
    - value = parseInt( elem.css( "zIndex" ), 10 ); - if ( !isNaN( value ) && value !== 0 ) { - return value; - } - } - elem = elem.parent(); - } - } - - return 0; - }, - - uniqueId: function() { - return this.each(function() { - if ( !this.id ) { - this.id = "ui-id-" + (++uuid); - } - }); - }, - - removeUniqueId: function() { - return this.each(function() { - if ( runiqueId.test( this.id ) ) { - $( this ).removeAttr( "id" ); - } - }); - } -}); - -// selectors -function focusable( element, isTabIndexNotNaN ) { - var map, mapName, img, - nodeName = element.nodeName.toLowerCase(); - if ( "area" === nodeName ) { - map = element.parentNode; - mapName = map.name; - if ( !element.href || !mapName || map.nodeName.toLowerCase() !== "map" ) { - return false; - } - img = $( "img[usemap=#" + mapName + "]" )[0]; - return !!img && visible( img ); - } - return ( /input|select|textarea|button|object/.test( nodeName ) ? - !element.disabled : - "a" === nodeName ? - element.href || isTabIndexNotNaN : - isTabIndexNotNaN) && - // the element and all of its ancestors must be visible - visible( element ); -} - -function visible( element ) { - return $.expr.filters.visible( element ) && - !$( element ).parents().andSelf().filter(function() { - return $.css( this, "visibility" ) === "hidden"; - }).length; -} - -$.extend( $.expr[ ":" ], { - data: $.expr.createPseudo ? - $.expr.createPseudo(function( dataName ) { - return function( elem ) { - return !!$.data( elem, dataName ); - }; - }) : - // support: jQuery <1.8 - function( elem, i, match ) { - return !!$.data( elem, match[ 3 ] ); - }, - - focusable: function( element ) { - return focusable( element, !isNaN( $.attr( element, "tabindex" ) ) ); - }, - - tabbable: function( element ) { - var tabIndex = $.attr( element, "tabindex" ), - isTabIndexNaN = isNaN( tabIndex ); - return ( isTabIndexNaN || tabIndex >= 0 ) && focusable( element, !isTabIndexNaN ); - } -}); - -// support -$(function() { - var body = document.body, - div = body.appendChild( div = document.createElement( "div" ) ); - - // access offsetHeight before setting the style to prevent a layout bug - // in IE 9 which causes the element to continue to take up space even - // after it is removed from the DOM (#8026) - div.offsetHeight; - - $.extend( div.style, { - minHeight: "100px", - height: "auto", - padding: 0, - borderWidth: 0 - }); - - $.support.minHeight = div.offsetHeight === 100; - $.support.selectstart = "onselectstart" in div; - - // set display to none to avoid a layout bug in IE - // http://dev.jquery.com/ticket/4014 - body.removeChild( div ).style.display = "none"; -}); - -// support: jQuery <1.8 -if ( !$( "" ).outerWidth( 1 ).jquery ) { - $.each( [ "Width", "Height" ], function( i, name ) { - var side = name === "Width" ? [ "Left", "Right" ] : [ "Top", "Bottom" ], - type = name.toLowerCase(), - orig = { - innerWidth: $.fn.innerWidth, - innerHeight: $.fn.innerHeight, - outerWidth: $.fn.outerWidth, - outerHeight: $.fn.outerHeight - }; - - function reduce( elem, size, border, margin ) { - $.each( side, function() { - size -= parseFloat( $.css( elem, "padding" + this ) ) || 0; - if ( border ) { - size -= parseFloat( $.css( elem, "border" + this + "Width" ) ) || 0; - } - if ( margin ) { - size -= parseFloat( $.css( elem, "margin" + this ) ) || 0; - } - }); - return size; - } - - $.fn[ "inner" + name ] = function( size ) { - if ( size === undefined ) { - return orig[ "inner" + name ].call( this ); - } - - return this.each(function() { - $( this ).css( type, reduce( this, size ) + "px" ); - }); - }; - - $.fn[ "outer" + name] = function( size, margin ) { - if ( typeof size !== "number" ) { - return orig[ "outer" + name ].call( this, size ); - } - - return this.each(function() { - $( this).css( type, reduce( this, size, true, margin ) + "px" ); - }); - }; - }); -} - -// support: jQuery 1.6.1, 1.6.2 (http://bugs.jquery.com/ticket/9413) -if ( $( "" ).data( "a-b", "a" ).removeData( "a-b" ).data( "a-b" ) ) { - $.fn.removeData = (function( removeData ) { - return function( key ) { - if ( arguments.length ) { - return removeData.call( this, $.camelCase( key ) ); - } else { - return removeData.call( this ); - } - }; - })( $.fn.removeData ); -} - - - - - -// deprecated - -(function() { - var uaMatch = /msie ([\w.]+)/.exec( navigator.userAgent.toLowerCase() ) || []; - $.ui.ie = uaMatch.length ? true : false; - $.ui.ie6 = parseFloat( uaMatch[ 1 ], 10 ) === 6; -})(); - -$.fn.extend({ - disableSelection: function() { - return this.bind( ( $.support.selectstart ? "selectstart" : "mousedown" ) + - ".ui-disableSelection", function( event ) { - event.preventDefault(); - }); - }, - - enableSelection: function() { - return this.unbind( ".ui-disableSelection" ); - } -}); - -$.extend( $.ui, { - // $.ui.plugin is deprecated. Use the proxy pattern instead. - plugin: { - add: function( module, option, set ) { - var i, - proto = $.ui[ module ].prototype; - for ( i in set ) { - proto.plugins[ i ] = proto.plugins[ i ] || []; - proto.plugins[ i ].push( [ option, set[ i ] ] ); - } - }, - call: function( instance, name, args ) { - var i, - set = instance.plugins[ name ]; - if ( !set || !instance.element[ 0 ].parentNode || instance.element[ 0 ].parentNode.nodeType === 11 ) { - return; - } - - for ( i = 0; i < set.length; i++ ) { - if ( instance.options[ set[ i ][ 0 ] ] ) { - set[ i ][ 1 ].apply( instance.element, args ); - } - } - } - }, - - contains: $.contains, - - // only used by resizable - hasScroll: function( el, a ) { - - //If overflow is hidden, the element might have extra content, but the user wants to hide it - if ( $( el ).css( "overflow" ) === "hidden") { - return false; - } - - var scroll = ( a && a === "left" ) ? "scrollLeft" : "scrollTop", - has = false; - - if ( el[ scroll ] > 0 ) { - return true; - } - - // TODO: determine which cases actually cause this to happen - // if the element doesn't have the scroll set, see if it's possible to - // set the scroll - el[ scroll ] = 1; - has = ( el[ scroll ] > 0 ); - el[ scroll ] = 0; - return has; - }, - - // these are odd functions, fix the API or move into individual plugins - isOverAxis: function( x, reference, size ) { - //Determines when x coordinate is over "b" element axis - return ( x > reference ) && ( x < ( reference + size ) ); - }, - isOver: function( y, x, top, left, height, width ) { - //Determines when x, y coordinates is over "b" element - return $.ui.isOverAxis( y, top, height ) && $.ui.isOverAxis( x, left, width ); - } -}); - -})( jQuery ); - - -(function( $, undefined ) { - -var uuid = 0, - slice = Array.prototype.slice, - _cleanData = $.cleanData; -$.cleanData = function( elems ) { - for ( var i = 0, elem; (elem = elems[i]) != null; i++ ) { - try { - $( elem ).triggerHandler( "remove" ); - // http://bugs.jquery.com/ticket/8235 - } catch( e ) {} - } - _cleanData( elems ); -}; - -$.widget = function( name, base, prototype ) { - var fullName, existingConstructor, constructor, basePrototype, - namespace = name.split( "." )[ 0 ]; - - name = name.split( "." )[ 1 ]; - fullName = namespace + "-" + name; - - if ( !prototype ) { - prototype = base; - base = $.Widget; - } - - // create selector for plugin - $.expr[ ":" ][ fullName.toLowerCase() ] = function( elem ) { - return !!$.data( elem, fullName ); - }; - - $[ namespace ] = $[ namespace ] || {}; - existingConstructor = $[ namespace ][ name ]; - constructor = $[ namespace ][ name ] = function( options, element ) { - // allow instantiation without "new" keyword - if ( !this._createWidget ) { - return new constructor( options, element ); - } - - // allow instantiation without initializing for simple inheritance - // must use "new" keyword (the code above always passes args) - if ( arguments.length ) { - this._createWidget( options, element ); - } - }; - // extend with the existing constructor to carry over any static properties - $.extend( constructor, existingConstructor, { - version: prototype.version, - // copy the object used to create the prototype in case we need to - // redefine the widget later - _proto: $.extend( {}, prototype ), - // track widgets that inherit from this widget in case this widget is - // redefined after a widget inherits from it - _childConstructors: [] - }); - - basePrototype = new base(); - // we need to make the options hash a property directly on the new instance - // otherwise we'll modify the options hash on the prototype that we're - // inheriting from - basePrototype.options = $.widget.extend( {}, basePrototype.options ); - $.each( prototype, function( prop, value ) { - if ( $.isFunction( value ) ) { - prototype[ prop ] = (function() { - var _super = function() { - return base.prototype[ prop ].apply( this, arguments ); - }, - _superApply = function( args ) { - return base.prototype[ prop ].apply( this, args ); - }; - return function() { - var __super = this._super, - __superApply = this._superApply, - returnValue; - - this._super = _super; - this._superApply = _superApply; - - returnValue = value.apply( this, arguments ); - - this._super = __super; - this._superApply = __superApply; - - return returnValue; - }; - })(); - } - }); - constructor.prototype = $.widget.extend( basePrototype, { - // TODO: remove support for widgetEventPrefix - // always use the name + a colon as the prefix, e.g., draggable:start - // don't prefix for widgets that aren't DOM-based - widgetEventPrefix: existingConstructor ? basePrototype.widgetEventPrefix : name - }, prototype, { - constructor: constructor, - namespace: namespace, - widgetName: name, - // TODO remove widgetBaseClass, see #8155 - widgetBaseClass: fullName, - widgetFullName: fullName - }); - - // If this widget is being redefined then we need to find all widgets that - // are inheriting from it and redefine all of them so that they inherit from - // the new version of this widget. We're essentially trying to replace one - // level in the prototype chain. - if ( existingConstructor ) { - $.each( existingConstructor._childConstructors, function( i, child ) { - var childPrototype = child.prototype; - - // redefine the child widget using the same prototype that was - // originally used, but inherit from the new version of the base - $.widget( childPrototype.namespace + "." + childPrototype.widgetName, constructor, child._proto ); - }); - // remove the list of existing child constructors from the old constructor - // so the old child constructors can be garbage collected - delete existingConstructor._childConstructors; - } else { - base._childConstructors.push( constructor ); - } - - $.widget.bridge( name, constructor ); -}; - -$.widget.extend = function( target ) { - var input = slice.call( arguments, 1 ), - inputIndex = 0, - inputLength = input.length, - key, - value; - for ( ; inputIndex < inputLength; inputIndex++ ) { - for ( key in input[ inputIndex ] ) { - value = input[ inputIndex ][ key ]; - if ( input[ inputIndex ].hasOwnProperty( key ) && value !== undefined ) { - // Clone objects - if ( $.isPlainObject( value ) ) { - target[ key ] = $.isPlainObject( target[ key ] ) ? - $.widget.extend( {}, target[ key ], value ) : - // Don't extend strings, arrays, etc. with objects - $.widget.extend( {}, value ); - // Copy everything else by reference - } else { - target[ key ] = value; - } - } - } - } - return target; -}; - -$.widget.bridge = function( name, object ) { - var fullName = object.prototype.widgetFullName || name; - $.fn[ name ] = function( options ) { - var isMethodCall = typeof options === "string", - args = slice.call( arguments, 1 ), - returnValue = this; - - // allow multiple hashes to be passed on init - options = !isMethodCall && args.length ? - $.widget.extend.apply( null, [ options ].concat(args) ) : - options; - - if ( isMethodCall ) { - this.each(function() { - var methodValue, - instance = $.data( this, fullName ); - if ( !instance ) { - return $.error( "cannot call methods on " + name + " prior to initialization; " + - "attempted to call method '" + options + "'" ); - } - if ( !$.isFunction( instance[options] ) || options.charAt( 0 ) === "_" ) { - return $.error( "no such method '" + options + "' for " + name + " widget instance" ); - } - methodValue = instance[ options ].apply( instance, args ); - if ( methodValue !== instance && methodValue !== undefined ) { - returnValue = methodValue && methodValue.jquery ? - returnValue.pushStack( methodValue.get() ) : - methodValue; - return false; - } - }); - } else { - this.each(function() { - var instance = $.data( this, fullName ); - if ( instance ) { - instance.option( options || {} )._init(); - } else { - $.data( this, fullName, new object( options, this ) ); - } - }); - } - - return returnValue; - }; -}; - -$.Widget = function( /* options, element */ ) {}; -$.Widget._childConstructors = []; - -$.Widget.prototype = { - widgetName: "widget", - widgetEventPrefix: "", - defaultElement: "
    ", - options: { - disabled: false, - - // callbacks - create: null - }, - _createWidget: function( options, element ) { - element = $( element || this.defaultElement || this )[ 0 ]; - this.element = $( element ); - this.uuid = uuid++; - this.eventNamespace = "." + this.widgetName + this.uuid; - this.options = $.widget.extend( {}, - this.options, - this._getCreateOptions(), - options ); - - this.bindings = $(); - this.hoverable = $(); - this.focusable = $(); - - if ( element !== this ) { - // 1.9 BC for #7810 - // TODO remove dual storage - $.data( element, this.widgetName, this ); - $.data( element, this.widgetFullName, this ); - this._on( true, this.element, { - remove: function( event ) { - if ( event.target === element ) { - this.destroy(); - } - } - }); - this.document = $( element.style ? - // element within the document - element.ownerDocument : - // element is window or document - element.document || element ); - this.window = $( this.document[0].defaultView || this.document[0].parentWindow ); - } - - this._create(); - this._trigger( "create", null, this._getCreateEventData() ); - this._init(); - }, - _getCreateOptions: $.noop, - _getCreateEventData: $.noop, - _create: $.noop, - _init: $.noop, - - destroy: function() { - this._destroy(); - // we can probably remove the unbind calls in 2.0 - // all event bindings should go through this._on() - this.element - .unbind( this.eventNamespace ) - // 1.9 BC for #7810 - // TODO remove dual storage - .removeData( this.widgetName ) - .removeData( this.widgetFullName ) - // support: jquery <1.6.3 - // http://bugs.jquery.com/ticket/9413 - .removeData( $.camelCase( this.widgetFullName ) ); - this.widget() - .unbind( this.eventNamespace ) - .removeAttr( "aria-disabled" ) - .removeClass( - this.widgetFullName + "-disabled " + - "ui-state-disabled" ); - - // clean up events and states - this.bindings.unbind( this.eventNamespace ); - this.hoverable.removeClass( "ui-state-hover" ); - this.focusable.removeClass( "ui-state-focus" ); - }, - _destroy: $.noop, - - widget: function() { - return this.element; - }, - - option: function( key, value ) { - var options = key, - parts, - curOption, - i; - - if ( arguments.length === 0 ) { - // don't return a reference to the internal hash - return $.widget.extend( {}, this.options ); - } - - if ( typeof key === "string" ) { - // handle nested keys, e.g., "foo.bar" => { foo: { bar: ___ } } - options = {}; - parts = key.split( "." ); - key = parts.shift(); - if ( parts.length ) { - curOption = options[ key ] = $.widget.extend( {}, this.options[ key ] ); - for ( i = 0; i < parts.length - 1; i++ ) { - curOption[ parts[ i ] ] = curOption[ parts[ i ] ] || {}; - curOption = curOption[ parts[ i ] ]; - } - key = parts.pop(); - if ( value === undefined ) { - return curOption[ key ] === undefined ? null : curOption[ key ]; - } - curOption[ key ] = value; - } else { - if ( value === undefined ) { - return this.options[ key ] === undefined ? null : this.options[ key ]; - } - options[ key ] = value; - } - } - - this._setOptions( options ); - - return this; - }, - _setOptions: function( options ) { - var key; - - for ( key in options ) { - this._setOption( key, options[ key ] ); - } - - return this; - }, - _setOption: function( key, value ) { - this.options[ key ] = value; - - if ( key === "disabled" ) { - this.widget() - .toggleClass( this.widgetFullName + "-disabled ui-state-disabled", !!value ) - .attr( "aria-disabled", value ); - this.hoverable.removeClass( "ui-state-hover" ); - this.focusable.removeClass( "ui-state-focus" ); - } - - return this; - }, - - enable: function() { - return this._setOption( "disabled", false ); - }, - disable: function() { - return this._setOption( "disabled", true ); - }, - - _on: function( suppressDisabledCheck, element, handlers ) { - var delegateElement, - instance = this; - - // no suppressDisabledCheck flag, shuffle arguments - if ( typeof suppressDisabledCheck !== "boolean" ) { - handlers = element; - element = suppressDisabledCheck; - suppressDisabledCheck = false; - } - - // no element argument, shuffle and use this.element - if ( !handlers ) { - handlers = element; - element = this.element; - delegateElement = this.widget(); - } else { - // accept selectors, DOM elements - element = delegateElement = $( element ); - this.bindings = this.bindings.add( element ); - } - - $.each( handlers, function( event, handler ) { - function handlerProxy() { - // allow widgets to customize the disabled handling - // - disabled as an array instead of boolean - // - disabled class as method for disabling individual parts - if ( !suppressDisabledCheck && - ( instance.options.disabled === true || - $( this ).hasClass( "ui-state-disabled" ) ) ) { - return; - } - return ( typeof handler === "string" ? instance[ handler ] : handler ) - .apply( instance, arguments ); - } - - // copy the guid so direct unbinding works - if ( typeof handler !== "string" ) { - handlerProxy.guid = handler.guid = - handler.guid || handlerProxy.guid || $.guid++; - } - - var match = event.match( /^(\w+)\s*(.*)$/ ), - eventName = match[1] + instance.eventNamespace, - selector = match[2]; - if ( selector ) { - delegateElement.delegate( selector, eventName, handlerProxy ); - } else { - element.bind( eventName, handlerProxy ); - } - }); - }, - - _off: function( element, eventName ) { - eventName = (eventName || "").split( " " ).join( this.eventNamespace + " " ) + this.eventNamespace; - element.unbind( eventName ).undelegate( eventName ); - }, - - _delay: function( handler, delay ) { - function handlerProxy() { - return ( typeof handler === "string" ? instance[ handler ] : handler ) - .apply( instance, arguments ); - } - var instance = this; - return setTimeout( handlerProxy, delay || 0 ); - }, - - _hoverable: function( element ) { - this.hoverable = this.hoverable.add( element ); - this._on( element, { - mouseenter: function( event ) { - $( event.currentTarget ).addClass( "ui-state-hover" ); - }, - mouseleave: function( event ) { - $( event.currentTarget ).removeClass( "ui-state-hover" ); - } - }); - }, - - _focusable: function( element ) { - this.focusable = this.focusable.add( element ); - this._on( element, { - focusin: function( event ) { - $( event.currentTarget ).addClass( "ui-state-focus" ); - }, - focusout: function( event ) { - $( event.currentTarget ).removeClass( "ui-state-focus" ); - } - }); - }, - - _trigger: function( type, event, data ) { - var prop, orig, - callback = this.options[ type ]; - - data = data || {}; - event = $.Event( event ); - event.type = ( type === this.widgetEventPrefix ? - type : - this.widgetEventPrefix + type ).toLowerCase(); - // the original event may come from any element - // so we need to reset the target on the new event - event.target = this.element[ 0 ]; - - // copy original event properties over to the new event - orig = event.originalEvent; - if ( orig ) { - for ( prop in orig ) { - if ( !( prop in event ) ) { - event[ prop ] = orig[ prop ]; - } - } - } - - this.element.trigger( event, data ); - return !( $.isFunction( callback ) && - callback.apply( this.element[0], [ event ].concat( data ) ) === false || - event.isDefaultPrevented() ); - } -}; - -$.each( { show: "fadeIn", hide: "fadeOut" }, function( method, defaultEffect ) { - $.Widget.prototype[ "_" + method ] = function( element, options, callback ) { - if ( typeof options === "string" ) { - options = { effect: options }; - } - var hasOptions, - effectName = !options ? - method : - options === true || typeof options === "number" ? - defaultEffect : - options.effect || defaultEffect; - options = options || {}; - if ( typeof options === "number" ) { - options = { duration: options }; - } - hasOptions = !$.isEmptyObject( options ); - options.complete = callback; - if ( options.delay ) { - element.delay( options.delay ); - } - if ( hasOptions && $.effects && ( $.effects.effect[ effectName ] || $.uiBackCompat !== false && $.effects[ effectName ] ) ) { - element[ method ]( options ); - } else if ( effectName !== method && element[ effectName ] ) { - element[ effectName ]( options.duration, options.easing, callback ); - } else { - element.queue(function( next ) { - $( this )[ method ](); - if ( callback ) { - callback.call( element[ 0 ] ); - } - next(); - }); - } - }; -}); - -// DEPRECATED -if ( $.uiBackCompat !== false ) { - $.Widget.prototype._getCreateOptions = function() { - return $.metadata && $.metadata.get( this.element[0] )[ this.widgetName ]; - }; -} - -})( jQuery ); - - -(function( $, undefined ) { - -var mouseHandled = false; -$( document ).mouseup( function( e ) { - mouseHandled = false; -}); - -$.widget("ui.mouse", { - version: "1.9.2", - options: { - cancel: 'input,textarea,button,select,option', - distance: 1, - delay: 0 - }, - _mouseInit: function() { - var that = this; - - this.element - .bind('mousedown.'+this.widgetName, function(event) { - return that._mouseDown(event); - }) - .bind('click.'+this.widgetName, function(event) { - if (true === $.data(event.target, that.widgetName + '.preventClickEvent')) { - $.removeData(event.target, that.widgetName + '.preventClickEvent'); - event.stopImmediatePropagation(); - return false; - } - }); - - this.started = false; - }, - - // TODO: make sure destroying one instance of mouse doesn't mess with - // other instances of mouse - _mouseDestroy: function() { - this.element.unbind('.'+this.widgetName); - if ( this._mouseMoveDelegate ) { - $(document) - .unbind('mousemove.'+this.widgetName, this._mouseMoveDelegate) - .unbind('mouseup.'+this.widgetName, this._mouseUpDelegate); - } - }, - - _mouseDown: function(event) { - // don't let more than one widget handle mouseStart - if( mouseHandled ) { return; } - - // we may have missed mouseup (out of window) - (this._mouseStarted && this._mouseUp(event)); - - this._mouseDownEvent = event; - - var that = this, - btnIsLeft = (event.which === 1), - // event.target.nodeName works around a bug in IE 8 with - // disabled inputs (#7620) - elIsCancel = (typeof this.options.cancel === "string" && event.target.nodeName ? $(event.target).closest(this.options.cancel).length : false); - if (!btnIsLeft || elIsCancel || !this._mouseCapture(event)) { - return true; - } - - this.mouseDelayMet = !this.options.delay; - if (!this.mouseDelayMet) { - this._mouseDelayTimer = setTimeout(function() { - that.mouseDelayMet = true; - }, this.options.delay); - } - - if (this._mouseDistanceMet(event) && this._mouseDelayMet(event)) { - this._mouseStarted = (this._mouseStart(event) !== false); - if (!this._mouseStarted) { - event.preventDefault(); - return true; - } - } - - // Click event may never have fired (Gecko & Opera) - if (true === $.data(event.target, this.widgetName + '.preventClickEvent')) { - $.removeData(event.target, this.widgetName + '.preventClickEvent'); - } - - // these delegates are required to keep context - this._mouseMoveDelegate = function(event) { - return that._mouseMove(event); - }; - this._mouseUpDelegate = function(event) { - return that._mouseUp(event); - }; - $(document) - .bind('mousemove.'+this.widgetName, this._mouseMoveDelegate) - .bind('mouseup.'+this.widgetName, this._mouseUpDelegate); - - event.preventDefault(); - - mouseHandled = true; - return true; - }, - - _mouseMove: function(event) { - // IE mouseup check - mouseup happened when mouse was out of window - if ($.ui.ie && !(document.documentMode >= 9) && !event.button) { - return this._mouseUp(event); - } - - if (this._mouseStarted) { - this._mouseDrag(event); - return event.preventDefault(); - } - - if (this._mouseDistanceMet(event) && this._mouseDelayMet(event)) { - this._mouseStarted = - (this._mouseStart(this._mouseDownEvent, event) !== false); - (this._mouseStarted ? this._mouseDrag(event) : this._mouseUp(event)); - } - - return !this._mouseStarted; - }, - - _mouseUp: function(event) { - $(document) - .unbind('mousemove.'+this.widgetName, this._mouseMoveDelegate) - .unbind('mouseup.'+this.widgetName, this._mouseUpDelegate); - - if (this._mouseStarted) { - this._mouseStarted = false; - - if (event.target === this._mouseDownEvent.target) { - $.data(event.target, this.widgetName + '.preventClickEvent', true); - } - - this._mouseStop(event); - } - - return false; - }, - - _mouseDistanceMet: function(event) { - return (Math.max( - Math.abs(this._mouseDownEvent.pageX - event.pageX), - Math.abs(this._mouseDownEvent.pageY - event.pageY) - ) >= this.options.distance - ); - }, - - _mouseDelayMet: function(event) { - return this.mouseDelayMet; - }, - - // These are placeholder methods, to be overriden by extending plugin - _mouseStart: function(event) {}, - _mouseDrag: function(event) {}, - _mouseStop: function(event) {}, - _mouseCapture: function(event) { return true; } -}); - -})(jQuery); - - -(function( $, undefined ) { - - if($.ui.resizable){ - return; - } - - $.widget("ui.resizable", $.ui.mouse, { - version: "1.9.2", - widgetEventPrefix: "resize", - options: { - alsoResize: false, - animate: false, - animateDuration: "slow", - animateEasing: "swing", - aspectRatio: false, - autoHide: false, - containment: false, - ghost: false, - grid: false, - handles: "e,s,se", - helper: false, - maxHeight: null, - maxWidth: null, - minHeight: 10, - minWidth: 10, - zIndex: 1000 - }, - _create: function() { - - var that = this, o = this.options; - this.element.addClass("ui-resizable"); - - $.extend(this, { - _aspectRatio: !!(o.aspectRatio), - aspectRatio: o.aspectRatio, - originalElement: this.element, - _proportionallyResizeElements: [], - _helper: o.helper || o.ghost || o.animate ? o.helper || 'ui-resizable-helper' : null - }); - - //Wrap the element if it cannot hold child nodes - if(this.element[0].nodeName.match(/canvas|textarea|input|select|button|img/i)) { - - //Create a wrapper element and set the wrapper to the new current internal element - this.element.wrap( - $('
    ').css({ - position: this.element.css('position'), - width: this.element.outerWidth(), - height: this.element.outerHeight(), - top: this.element.css('top'), - left: this.element.css('left') - }) - ); - - //Overwrite the original this.element - this.element = this.element.parent().data( - "resizable", this.element.data('resizable') - ); - - this.elementIsWrapper = true; - - //Move margins to the wrapper - this.element.css({ marginLeft: this.originalElement.css("marginLeft"), marginTop: this.originalElement.css("marginTop"), marginRight: this.originalElement.css("marginRight"), marginBottom: this.originalElement.css("marginBottom") }); - this.originalElement.css({ marginLeft: 0, marginTop: 0, marginRight: 0, marginBottom: 0}); - - //Prevent Safari textarea resize - this.originalResizeStyle = this.originalElement.css('resize'); - this.originalElement.css('resize', 'none'); - - //Push the actual element to our proportionallyResize internal array - this._proportionallyResizeElements.push(this.originalElement.css({ position: 'static', zoom: 1, display: 'block' })); - - // avoid IE jump (hard set the margin) - this.originalElement.css({ margin: this.originalElement.css('margin') }); - - // fix handlers offset - this._proportionallyResize(); - - } - - this.handles = o.handles || (!$('.ui-resizable-handle', this.element).length ? "e,s,se" : { n: '.ui-resizable-n', e: '.ui-resizable-e', s: '.ui-resizable-s', w: '.ui-resizable-w', se: '.ui-resizable-se', sw: '.ui-resizable-sw', ne: '.ui-resizable-ne', nw: '.ui-resizable-nw' }); - if(this.handles.constructor == String) { - - if(this.handles == 'all') this.handles = 'n,e,s,w,se,sw,ne,nw'; - var n = this.handles.split(","); this.handles = {}; - - for(var i = 0; i < n.length; i++) { - - var handle = $.trim(n[i]), hname = 'ui-resizable-'+handle; - var axis = $('
    '); - - // Apply zIndex to all handles - see #7960 - axis.css({ zIndex: o.zIndex }); - - //TODO : What's going on here? - if ('se' == handle) { - axis.addClass('ui-icon ui-icon-gripsmall-diagonal-se'); - }; - - //Insert into internal handles object and append to element - this.handles[handle] = '.ui-resizable-'+handle; - this.element.append(axis); - } - - } - - this._renderAxis = function(target) { - - target = target || this.element; - - for(var i in this.handles) { - - if(this.handles[i].constructor == String) - this.handles[i] = $(this.handles[i], this.element).show(); - - //Apply pad to wrapper element, needed to fix axis position (textarea, inputs, scrolls) - if (this.elementIsWrapper && this.originalElement[0].nodeName.match(/textarea|input|select|button/i)) { - - var axis = $(this.handles[i], this.element), padWrapper = 0; - - //Checking the correct pad and border - padWrapper = /sw|ne|nw|se|n|s/.test(i) ? axis.outerHeight() : axis.outerWidth(); - - //The padding type i have to apply... - var padPos = [ 'padding', - /ne|nw|n/.test(i) ? 'Top' : - /se|sw|s/.test(i) ? 'Bottom' : - /^e$/.test(i) ? 'Right' : 'Left' ].join(""); - - target.css(padPos, padWrapper); - - this._proportionallyResize(); - - } - - //TODO: What's that good for? There's not anything to be executed left - if(!$(this.handles[i]).length) - continue; - - } - }; - - //TODO: make renderAxis a prototype function - this._renderAxis(this.element); - - this._handles = $('.ui-resizable-handle', this.element) - .disableSelection(); - - //Matching axis name - this._handles.mouseover(function() { - if (!that.resizing) { - if (this.className) - var axis = this.className.match(/ui-resizable-(se|sw|ne|nw|n|e|s|w)/i); - //Axis, default = se - that.axis = axis && axis[1] ? axis[1] : 'se'; - } - }); - - //If we want to auto hide the elements - if (o.autoHide) { - this._handles.hide(); - $(this.element) - .addClass("ui-resizable-autohide") - .mouseenter(function() { - if (o.disabled) return; - $(this).removeClass("ui-resizable-autohide"); - that._handles.show(); - }) - .mouseleave(function(){ - if (o.disabled) return; - if (!that.resizing) { - $(this).addClass("ui-resizable-autohide"); - that._handles.hide(); - } - }); - } - - //Initialize the mouse interaction - this._mouseInit(); - - }, - - _destroy: function() { - - this._mouseDestroy(); - - var _destroy = function(exp) { - $(exp).removeClass("ui-resizable ui-resizable-disabled ui-resizable-resizing") - .removeData("resizable").removeData("ui-resizable").unbind(".resizable").find('.ui-resizable-handle').remove(); - }; - - //TODO: Unwrap at same DOM position - if (this.elementIsWrapper) { - _destroy(this.element); - var wrapper = this.element; - this.originalElement.css({ - position: wrapper.css('position'), - width: wrapper.outerWidth(), - height: wrapper.outerHeight(), - top: wrapper.css('top'), - left: wrapper.css('left') - }).insertAfter( wrapper ); - wrapper.remove(); - } - - this.originalElement.css('resize', this.originalResizeStyle); - _destroy(this.originalElement); - - return this; - }, - - _mouseCapture: function(event) { - var handle = false; - for (var i in this.handles) { - if ($(this.handles[i])[0] == event.target) { - handle = true; - } - } - - return !this.options.disabled && handle; - }, - - _mouseStart: function(event) { - - var o = this.options, iniPos = this.element.position(), el = this.element; - - this.resizing = true; - this.documentScroll = { top: $(document).scrollTop(), left: $(document).scrollLeft() }; - - // bugfix for http://dev.jquery.com/ticket/1749 - if (el.is('.ui-draggable') || (/absolute/).test(el.css('position'))) { - el.css({ position: 'absolute', top: iniPos.top, left: iniPos.left }); - } - - this._renderProxy(); - - var curleft = num(this.helper.css('left')), curtop = num(this.helper.css('top')); - - if (o.containment) { - curleft += $(o.containment).scrollLeft() || 0; - curtop += $(o.containment).scrollTop() || 0; - } - - //Store needed variables - this.offset = this.helper.offset(); - this.position = { left: curleft, top: curtop }; - this.size = this._helper ? { width: el.outerWidth(), height: el.outerHeight() } : { width: el.width(), height: el.height() }; - this.originalSize = this._helper ? { width: el.outerWidth(), height: el.outerHeight() } : { width: el.width(), height: el.height() }; - this.originalPosition = { left: curleft, top: curtop }; - this.sizeDiff = { width: el.outerWidth() - el.width(), height: el.outerHeight() - el.height() }; - this.originalMousePosition = { left: event.pageX, top: event.pageY }; - - //Aspect Ratio - this.aspectRatio = (typeof o.aspectRatio == 'number') ? o.aspectRatio : ((this.originalSize.width / this.originalSize.height) || 1); - - var cursor = $('.ui-resizable-' + this.axis).css('cursor'); - $('body').css('cursor', cursor == 'auto' ? this.axis + '-resize' : cursor); - - el.addClass("ui-resizable-resizing"); - this._propagate("start", event); - return true; - }, - - _mouseDrag: function(event) { - - //Increase performance, avoid regex - var el = this.helper, o = this.options, props = {}, - that = this, smp = this.originalMousePosition, a = this.axis; - - var dx = (event.pageX-smp.left)||0, dy = (event.pageY-smp.top)||0; - var trigger = this._change[a]; - if (!trigger) return false; - - // Calculate the attrs that will be change - var data = trigger.apply(this, [event, dx, dy]); - - // Put this in the mouseDrag handler since the user can start pressing shift while resizing - this._updateVirtualBoundaries(event.shiftKey); - if (this._aspectRatio || event.shiftKey) - data = this._updateRatio(data, event); - - data = this._respectSize(data, event); - - // plugins callbacks need to be called first - this._propagate("resize", event); - - el.css({ - top: this.position.top + "px", left: this.position.left + "px", - width: this.size.width + "px", height: this.size.height + "px" - }); - - if (!this._helper && this._proportionallyResizeElements.length) - this._proportionallyResize(); - - this._updateCache(data); - - // calling the user callback at the end - this._trigger('resize', event, this.ui()); - - return false; - }, - - _mouseStop: function(event) { - - this.resizing = false; - var o = this.options, that = this; - - if(this._helper) { - var pr = this._proportionallyResizeElements, ista = pr.length && (/textarea/i).test(pr[0].nodeName), - soffseth = ista && $.ui.hasScroll(pr[0], 'left') /* TODO - jump height */ ? 0 : that.sizeDiff.height, - soffsetw = ista ? 0 : that.sizeDiff.width; - - var s = { width: (that.helper.width() - soffsetw), height: (that.helper.height() - soffseth) }, - left = (parseInt(that.element.css('left'), 10) + (that.position.left - that.originalPosition.left)) || null, - top = (parseInt(that.element.css('top'), 10) + (that.position.top - that.originalPosition.top)) || null; - - if (!o.animate) - this.element.css($.extend(s, { top: top, left: left })); - - that.helper.height(that.size.height); - that.helper.width(that.size.width); - - if (this._helper && !o.animate) this._proportionallyResize(); - } - - $('body').css('cursor', 'auto'); - - this.element.removeClass("ui-resizable-resizing"); - - this._propagate("stop", event); - - if (this._helper) this.helper.remove(); - return false; - - }, - - _updateVirtualBoundaries: function(forceAspectRatio) { - var o = this.options, pMinWidth, pMaxWidth, pMinHeight, pMaxHeight, b; - - b = { - minWidth: isNumber(o.minWidth) ? o.minWidth : 0, - maxWidth: isNumber(o.maxWidth) ? o.maxWidth : Infinity, - minHeight: isNumber(o.minHeight) ? o.minHeight : 0, - maxHeight: isNumber(o.maxHeight) ? o.maxHeight : Infinity - }; - - if(this._aspectRatio || forceAspectRatio) { - // We want to create an enclosing box whose aspect ration is the requested one - // First, compute the "projected" size for each dimension based on the aspect ratio and other dimension - pMinWidth = b.minHeight * this.aspectRatio; - pMinHeight = b.minWidth / this.aspectRatio; - pMaxWidth = b.maxHeight * this.aspectRatio; - pMaxHeight = b.maxWidth / this.aspectRatio; - - if(pMinWidth > b.minWidth) b.minWidth = pMinWidth; - if(pMinHeight > b.minHeight) b.minHeight = pMinHeight; - if(pMaxWidth < b.maxWidth) b.maxWidth = pMaxWidth; - if(pMaxHeight < b.maxHeight) b.maxHeight = pMaxHeight; - } - this._vBoundaries = b; - }, - - _updateCache: function(data) { - var o = this.options; - this.offset = this.helper.offset(); - if (isNumber(data.left)) this.position.left = data.left; - if (isNumber(data.top)) this.position.top = data.top; - if (isNumber(data.height)) this.size.height = data.height; - if (isNumber(data.width)) this.size.width = data.width; - }, - - _updateRatio: function(data, event) { - - var o = this.options, cpos = this.position, csize = this.size, a = this.axis; - - if (isNumber(data.height)) data.width = (data.height * this.aspectRatio); - else if (isNumber(data.width)) data.height = (data.width / this.aspectRatio); - - if (a == 'sw') { - data.left = cpos.left + (csize.width - data.width); - data.top = null; - } - if (a == 'nw') { - data.top = cpos.top + (csize.height - data.height); - data.left = cpos.left + (csize.width - data.width); - } - - return data; - }, - - _respectSize: function(data, event) { - - var el = this.helper, o = this._vBoundaries, pRatio = this._aspectRatio || event.shiftKey, a = this.axis, - ismaxw = isNumber(data.width) && o.maxWidth && (o.maxWidth < data.width), ismaxh = isNumber(data.height) && o.maxHeight && (o.maxHeight < data.height), - isminw = isNumber(data.width) && o.minWidth && (o.minWidth > data.width), isminh = isNumber(data.height) && o.minHeight && (o.minHeight > data.height); - - if (isminw) data.width = o.minWidth; - if (isminh) data.height = o.minHeight; - if (ismaxw) data.width = o.maxWidth; - if (ismaxh) data.height = o.maxHeight; - - var dw = this.originalPosition.left + this.originalSize.width, dh = this.position.top + this.size.height; - var cw = /sw|nw|w/.test(a), ch = /nw|ne|n/.test(a); - - if (isminw && cw) data.left = dw - o.minWidth; - if (ismaxw && cw) data.left = dw - o.maxWidth; - if (isminh && ch) data.top = dh - o.minHeight; - if (ismaxh && ch) data.top = dh - o.maxHeight; - - // fixing jump error on top/left - bug #2330 - var isNotwh = !data.width && !data.height; - if (isNotwh && !data.left && data.top) data.top = null; - else if (isNotwh && !data.top && data.left) data.left = null; - - return data; - }, - - _proportionallyResize: function() { - - var o = this.options; - if (!this._proportionallyResizeElements.length) return; - var element = this.helper || this.element; - - for (var i=0; i < this._proportionallyResizeElements.length; i++) { - - var prel = this._proportionallyResizeElements[i]; - - if (!this.borderDif) { - var b = [prel.css('borderTopWidth'), prel.css('borderRightWidth'), prel.css('borderBottomWidth'), prel.css('borderLeftWidth')], - p = [prel.css('paddingTop'), prel.css('paddingRight'), prel.css('paddingBottom'), prel.css('paddingLeft')]; - - this.borderDif = $.map(b, function(v, i) { - var border = parseInt(v,10)||0, padding = parseInt(p[i],10)||0; - return border + padding; - }); - } - - prel.css({ - height: (element.height() - this.borderDif[0] - this.borderDif[2]) || 0, - width: (element.width() - this.borderDif[1] - this.borderDif[3]) || 0 - }); - - }; - - }, - - _renderProxy: function() { - - var el = this.element, o = this.options; - this.elementOffset = el.offset(); - - if(this._helper) { - - this.helper = this.helper || $('
    '); - - // fix ie6 offset TODO: This seems broken - var ie6offset = ($.ui.ie6 ? 1 : 0), - pxyoffset = ( $.ui.ie6 ? 2 : -1 ); - - this.helper.addClass(this._helper).css({ - width: this.element.outerWidth() + pxyoffset, - height: this.element.outerHeight() + pxyoffset, - position: 'absolute', - left: this.elementOffset.left - ie6offset +'px', - top: this.elementOffset.top - ie6offset +'px', - zIndex: ++o.zIndex //TODO: Don't modify option - }); - - this.helper - .appendTo("body") - .disableSelection(); - - } else { - this.helper = this.element; - } - - }, - - _change: { - e: function(event, dx, dy) { - return { width: this.originalSize.width + dx }; - }, - w: function(event, dx, dy) { - var o = this.options, cs = this.originalSize, sp = this.originalPosition; - return { left: sp.left + dx, width: cs.width - dx }; - }, - n: function(event, dx, dy) { - var o = this.options, cs = this.originalSize, sp = this.originalPosition; - return { top: sp.top + dy, height: cs.height - dy }; - }, - s: function(event, dx, dy) { - return { height: this.originalSize.height + dy }; - }, - se: function(event, dx, dy) { - return $.extend(this._change.s.apply(this, arguments), this._change.e.apply(this, [event, dx, dy])); - }, - sw: function(event, dx, dy) { - return $.extend(this._change.s.apply(this, arguments), this._change.w.apply(this, [event, dx, dy])); - }, - ne: function(event, dx, dy) { - return $.extend(this._change.n.apply(this, arguments), this._change.e.apply(this, [event, dx, dy])); - }, - nw: function(event, dx, dy) { - return $.extend(this._change.n.apply(this, arguments), this._change.w.apply(this, [event, dx, dy])); - } - }, - - _propagate: function(n, event) { - $.ui.plugin.call(this, n, [event, this.ui()]); - (n != "resize" && this._trigger(n, event, this.ui())); - }, - - plugins: {}, - - ui: function() { - return { - originalElement: this.originalElement, - element: this.element, - helper: this.helper, - position: this.position, - size: this.size, - originalSize: this.originalSize, - originalPosition: this.originalPosition - }; - } - - }); - - /* - * Resizable Extensions - */ - - $.ui.plugin.add("resizable", "alsoResize", { - - start: function (event, ui) { - var that = $(this).data("resizable"), o = that.options; - - var _store = function (exp) { - $(exp).each(function() { - var el = $(this); - el.data("resizable-alsoresize", { - width: parseInt(el.width(), 10), height: parseInt(el.height(), 10), - left: parseInt(el.css('left'), 10), top: parseInt(el.css('top'), 10) - }); - }); - }; - - if (typeof(o.alsoResize) == 'object' && !o.alsoResize.parentNode) { - if (o.alsoResize.length) { o.alsoResize = o.alsoResize[0]; _store(o.alsoResize); } - else { $.each(o.alsoResize, function (exp) { _store(exp); }); } - }else{ - _store(o.alsoResize); - } - }, - - resize: function (event, ui) { - var that = $(this).data("resizable"), o = that.options, os = that.originalSize, op = that.originalPosition; - - var delta = { - height: (that.size.height - os.height) || 0, width: (that.size.width - os.width) || 0, - top: (that.position.top - op.top) || 0, left: (that.position.left - op.left) || 0 - }, - - _alsoResize = function (exp, c) { - $(exp).each(function() { - var el = $(this), start = $(this).data("resizable-alsoresize"), style = {}, - css = c && c.length ? c : el.parents(ui.originalElement[0]).length ? ['width', 'height'] : ['width', 'height', 'top', 'left']; - - $.each(css, function (i, prop) { - var sum = (start[prop]||0) + (delta[prop]||0); - if (sum && sum >= 0) - style[prop] = sum || null; - }); - - el.css(style); - }); - }; - - if (typeof(o.alsoResize) == 'object' && !o.alsoResize.nodeType) { - $.each(o.alsoResize, function (exp, c) { _alsoResize(exp, c); }); - }else{ - _alsoResize(o.alsoResize); - } - }, - - stop: function (event, ui) { - $(this).removeData("resizable-alsoresize"); - } - }); - - $.ui.plugin.add("resizable", "animate", { - - stop: function(event, ui) { - var that = $(this).data("resizable"), o = that.options; - - var pr = that._proportionallyResizeElements, ista = pr.length && (/textarea/i).test(pr[0].nodeName), - soffseth = ista && $.ui.hasScroll(pr[0], 'left') /* TODO - jump height */ ? 0 : that.sizeDiff.height, - soffsetw = ista ? 0 : that.sizeDiff.width; - - var style = { width: (that.size.width - soffsetw), height: (that.size.height - soffseth) }, - left = (parseInt(that.element.css('left'), 10) + (that.position.left - that.originalPosition.left)) || null, - top = (parseInt(that.element.css('top'), 10) + (that.position.top - that.originalPosition.top)) || null; - - that.element.animate( - $.extend(style, top && left ? { top: top, left: left } : {}), { - duration: o.animateDuration, - easing: o.animateEasing, - step: function() { - - var data = { - width: parseInt(that.element.css('width'), 10), - height: parseInt(that.element.css('height'), 10), - top: parseInt(that.element.css('top'), 10), - left: parseInt(that.element.css('left'), 10) - }; - - if (pr && pr.length) $(pr[0]).css({ width: data.width, height: data.height }); - - // propagating resize, and updating values for each animation step - that._updateCache(data); - that._propagate("resize", event); - - } - } - ); - } - - }); - - $.ui.plugin.add("resizable", "containment", { - - start: function(event, ui) { - var that = $(this).data("resizable"), o = that.options, el = that.element; - var oc = o.containment, ce = (oc instanceof $) ? oc.get(0) : (/parent/.test(oc)) ? el.parent().get(0) : oc; - if (!ce) return; - - that.containerElement = $(ce); - - if (/document/.test(oc) || oc == document) { - that.containerOffset = { left: 0, top: 0 }; - that.containerPosition = { left: 0, top: 0 }; - - that.parentData = { - element: $(document), left: 0, top: 0, - width: $(document).width(), height: $(document).height() || document.body.parentNode.scrollHeight - }; - } - - // i'm a node, so compute top, left, right, bottom - else { - var element = $(ce), p = []; - $([ "Top", "Right", "Left", "Bottom" ]).each(function(i, name) { p[i] = num(element.css("padding" + name)); }); - - that.containerOffset = element.offset(); - that.containerPosition = element.position(); - that.containerSize = { height: (element.innerHeight() - p[3]), width: (element.innerWidth() - p[1]) }; - - var co = that.containerOffset, ch = that.containerSize.height, cw = that.containerSize.width, - width = ($.ui.hasScroll(ce, "left") ? ce.scrollWidth : cw ), height = ($.ui.hasScroll(ce) ? ce.scrollHeight : ch); - - that.parentData = { - element: ce, left: co.left, top: co.top, width: width, height: height - }; - } - }, - - resize: function(event, ui) { - var that = $(this).data("resizable"), o = that.options, - ps = that.containerSize, co = that.containerOffset, cs = that.size, cp = that.position, - pRatio = that._aspectRatio || event.shiftKey, cop = { top:0, left:0 }, ce = that.containerElement; - - if (ce[0] != document && (/static/).test(ce.css('position'))) cop = co; - - if (cp.left < (that._helper ? co.left : 0)) { - that.size.width = that.size.width + (that._helper ? (that.position.left - co.left) : (that.position.left - cop.left)); - if (pRatio) that.size.height = that.size.width / that.aspectRatio; - that.position.left = o.helper ? co.left : 0; - } - - if (cp.top < (that._helper ? co.top : 0)) { - that.size.height = that.size.height + (that._helper ? (that.position.top - co.top) : that.position.top); - if (pRatio) that.size.width = that.size.height * that.aspectRatio; - that.position.top = that._helper ? co.top : 0; - } - - that.offset.left = that.parentData.left+that.position.left; - that.offset.top = that.parentData.top+that.position.top; - - var woset = Math.abs( (that._helper ? that.offset.left - cop.left : (that.offset.left - cop.left)) + that.sizeDiff.width ), - hoset = Math.abs( (that._helper ? that.offset.top - cop.top : (that.offset.top - co.top)) + that.sizeDiff.height ); - - var isParent = that.containerElement.get(0) == that.element.parent().get(0), - isOffsetRelative = /relative|absolute/.test(that.containerElement.css('position')); - - if(isParent && isOffsetRelative) woset -= that.parentData.left; - - if (woset + that.size.width >= that.parentData.width) { - that.size.width = that.parentData.width - woset; - if (pRatio) that.size.height = that.size.width / that.aspectRatio; - } - - if (hoset + that.size.height >= that.parentData.height) { - that.size.height = that.parentData.height - hoset; - if (pRatio) that.size.width = that.size.height * that.aspectRatio; - } - }, - - stop: function(event, ui){ - var that = $(this).data("resizable"), o = that.options, cp = that.position, - co = that.containerOffset, cop = that.containerPosition, ce = that.containerElement; - - var helper = $(that.helper), ho = helper.offset(), w = helper.outerWidth() - that.sizeDiff.width, h = helper.outerHeight() - that.sizeDiff.height; - - if (that._helper && !o.animate && (/relative/).test(ce.css('position'))) - $(this).css({ left: ho.left - cop.left - co.left, width: w, height: h }); - - if (that._helper && !o.animate && (/static/).test(ce.css('position'))) - $(this).css({ left: ho.left - cop.left - co.left, width: w, height: h }); - - } - }); - - $.ui.plugin.add("resizable", "ghost", { - - start: function(event, ui) { - - var that = $(this).data("resizable"), o = that.options, cs = that.size; - - that.ghost = that.originalElement.clone(); - that.ghost - .css({ opacity: .25, display: 'block', position: 'relative', height: cs.height, width: cs.width, margin: 0, left: 0, top: 0 }) - .addClass('ui-resizable-ghost') - .addClass(typeof o.ghost == 'string' ? o.ghost : ''); - - that.ghost.appendTo(that.helper); - - }, - - resize: function(event, ui){ - var that = $(this).data("resizable"), o = that.options; - if (that.ghost) that.ghost.css({ position: 'relative', height: that.size.height, width: that.size.width }); - }, - - stop: function(event, ui){ - var that = $(this).data("resizable"), o = that.options; - if (that.ghost && that.helper) that.helper.get(0).removeChild(that.ghost.get(0)); - } - - }); - - $.ui.plugin.add("resizable", "grid", { - - resize: function(event, ui) { - var that = $(this).data("resizable"), o = that.options, cs = that.size, os = that.originalSize, op = that.originalPosition, a = that.axis, ratio = o._aspectRatio || event.shiftKey; - o.grid = typeof o.grid == "number" ? [o.grid, o.grid] : o.grid; - var ox = Math.round((cs.width - os.width) / (o.grid[0]||1)) * (o.grid[0]||1), oy = Math.round((cs.height - os.height) / (o.grid[1]||1)) * (o.grid[1]||1); - - if (/^(se|s|e)$/.test(a)) { - that.size.width = os.width + ox; - that.size.height = os.height + oy; - } - else if (/^(ne)$/.test(a)) { - that.size.width = os.width + ox; - that.size.height = os.height + oy; - that.position.top = op.top - oy; - } - else if (/^(sw)$/.test(a)) { - that.size.width = os.width + ox; - that.size.height = os.height + oy; - that.position.left = op.left - ox; - } - else { - that.size.width = os.width + ox; - that.size.height = os.height + oy; - that.position.top = op.top - oy; - that.position.left = op.left - ox; - } - } - - }); - - var num = function(v) { - return parseInt(v, 10) || 0; - }; - - var isNumber = function(value) { - return !isNaN(parseInt(value, 10)); - }; - -})(jQuery); - - -cloudjs.define({ - resizable: function(){ - if(this.css('position').toLowerCase() === 'static'){ - this.css({position:'relative'}); - } - - cloudjs.callback(this.resizable.apply(this, arguments)); - } -}); \ No newline at end of file +(function(t,e){var i=0,s=/^ui-id-\d+$/;function n(e,i){var s,n,a,h=e.nodeName.toLowerCase();return"area"===h?(s=e.parentNode,n=s.name,!(!e.href||!n||"map"!==s.nodeName.toLowerCase())&&(a=t("img[usemap=#"+n+"]")[0],!!a&&o(a))):(/input|select|textarea|button|object/.test(h)?!e.disabled:"a"===h&&e.href||i)&&o(e)}function o(e){return t.expr.filters.visible(e)&&!t(e).parents().andSelf().filter((function(){return"hidden"===t.css(this,"visibility")})).length}t.ui=t.ui||{},t.ui.version||(t.extend(t.ui,{version:"1.9.2",keyCode:{BACKSPACE:8,COMMA:188,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,LEFT:37,NUMPAD_ADD:107,NUMPAD_DECIMAL:110,NUMPAD_DIVIDE:111,NUMPAD_ENTER:108,NUMPAD_MULTIPLY:106,NUMPAD_SUBTRACT:109,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SPACE:32,TAB:9,UP:38}}),t.fn.extend({_focus:t.fn.focus,focus:function(e,i){return"number"===typeof e?this.each((function(){var s=this;setTimeout((function(){t(s).focus(),i&&i.call(s)}),e)})):this._focus.apply(this,arguments)},scrollParent:function(){var e;return e=t.ui.ie&&/(static|relative)/.test(this.css("position"))||/absolute/.test(this.css("position"))?this.parents().filter((function(){return/(relative|absolute|fixed)/.test(t.css(this,"position"))&&/(auto|scroll)/.test(t.css(this,"overflow")+t.css(this,"overflow-y")+t.css(this,"overflow-x"))})).eq(0):this.parents().filter((function(){return/(auto|scroll)/.test(t.css(this,"overflow")+t.css(this,"overflow-y")+t.css(this,"overflow-x"))})).eq(0),/fixed/.test(this.css("position"))||!e.length?t(document):e},zIndex:function(i){if(i!==e)return this.css("zIndex",i);if(this.length){var s,n,o=t(this[0]);while(o.length&&o[0]!==document){if(s=o.css("position"),("absolute"===s||"relative"===s||"fixed"===s)&&(n=parseInt(o.css("zIndex"),10),!isNaN(n)&&0!==n))return n;o=o.parent()}}return 0},uniqueId:function(){return this.each((function(){this.id||(this.id="ui-id-"+ ++i)}))},removeUniqueId:function(){return this.each((function(){s.test(this.id)&&t(this).removeAttr("id")}))}}),t.extend(t.expr[":"],{data:t.expr.createPseudo?t.expr.createPseudo((function(e){return function(i){return!!t.data(i,e)}})):function(e,i,s){return!!t.data(e,s[3])},focusable:function(e){return n(e,!isNaN(t.attr(e,"tabindex")))},tabbable:function(e){var i=t.attr(e,"tabindex"),s=isNaN(i);return(s||i>=0)&&n(e,!s)}}),t((function(){var e=document.body,i=e.appendChild(i=document.createElement("div"));i.offsetHeight,t.extend(i.style,{minHeight:"100px",height:"auto",padding:0,borderWidth:0}),t.support.minHeight=100===i.offsetHeight,t.support.selectstart="onselectstart"in i,e.removeChild(i).style.display="none"})),t("
    ").outerWidth(1).jquery||t.each(["Width","Height"],(function(i,s){var n="Width"===s?["Left","Right"]:["Top","Bottom"],o=s.toLowerCase(),a={innerWidth:t.fn.innerWidth,innerHeight:t.fn.innerHeight,outerWidth:t.fn.outerWidth,outerHeight:t.fn.outerHeight};function h(e,i,s,o){return t.each(n,(function(){i-=parseFloat(t.css(e,"padding"+this))||0,s&&(i-=parseFloat(t.css(e,"border"+this+"Width"))||0),o&&(i-=parseFloat(t.css(e,"margin"+this))||0)})),i}t.fn["inner"+s]=function(i){return i===e?a["inner"+s].call(this):this.each((function(){t(this).css(o,h(this,i)+"px")}))},t.fn["outer"+s]=function(e,i){return"number"!==typeof e?a["outer"+s].call(this,e):this.each((function(){t(this).css(o,h(this,e,!0,i)+"px")}))}})),t("").data("a-b","a").removeData("a-b").data("a-b")&&(t.fn.removeData=function(e){return function(i){return arguments.length?e.call(this,t.camelCase(i)):e.call(this)}}(t.fn.removeData)),function(){var e=/msie ([\w.]+)/.exec(navigator.userAgent.toLowerCase())||[];t.ui.ie=!!e.length,t.ui.ie6=6===parseFloat(e[1],10)}(),t.fn.extend({disableSelection:function(){return this.bind((t.support.selectstart?"selectstart":"mousedown")+".ui-disableSelection",(function(t){t.preventDefault()}))},enableSelection:function(){return this.unbind(".ui-disableSelection")}}),t.extend(t.ui,{plugin:{add:function(e,i,s){var n,o=t.ui[e].prototype;for(n in s)o.plugins[n]=o.plugins[n]||[],o.plugins[n].push([i,s[n]])},call:function(t,e,i){var s,n=t.plugins[e];if(n&&t.element[0].parentNode&&11!==t.element[0].parentNode.nodeType)for(s=0;s0||(e[s]=1,n=e[s]>0,e[s]=0,n)},isOverAxis:function(t,e,i){return t>e&&t",options:{disabled:!1,create:null},_createWidget:function(e,s){s=t(s||this.defaultElement||this)[0],this.element=t(s),this.uuid=i++,this.eventNamespace="."+this.widgetName+this.uuid,this.options=t.widget.extend({},this.options,this._getCreateOptions(),e),this.bindings=t(),this.hoverable=t(),this.focusable=t(),s!==this&&(t.data(s,this.widgetName,this),t.data(s,this.widgetFullName,this),this._on(!0,this.element,{remove:function(t){t.target===s&&this.destroy()}}),this.document=t(s.style?s.ownerDocument:s.document||s),this.window=t(this.document[0].defaultView||this.document[0].parentWindow)),this._create(),this._trigger("create",null,this._getCreateEventData()),this._init()},_getCreateOptions:t.noop,_getCreateEventData:t.noop,_create:t.noop,_init:t.noop,destroy:function(){this._destroy(),this.element.unbind(this.eventNamespace).removeData(this.widgetName).removeData(this.widgetFullName).removeData(t.camelCase(this.widgetFullName)),this.widget().unbind(this.eventNamespace).removeAttr("aria-disabled").removeClass(this.widgetFullName+"-disabled ui-state-disabled"),this.bindings.unbind(this.eventNamespace),this.hoverable.removeClass("ui-state-hover"),this.focusable.removeClass("ui-state-focus")},_destroy:t.noop,widget:function(){return this.element},option:function(i,s){var n,o,a,h=i;if(0===arguments.length)return t.widget.extend({},this.options);if("string"===typeof i)if(h={},n=i.split("."),i=n.shift(),n.length){for(o=h[i]=t.widget.extend({},this.options[i]),a=0;a=9||e.button?this._mouseStarted?(this._mouseDrag(e),e.preventDefault()):(this._mouseDistanceMet(e)&&this._mouseDelayMet(e)&&(this._mouseStarted=!1!==this._mouseStart(this._mouseDownEvent,e),this._mouseStarted?this._mouseDrag(e):this._mouseUp(e)),!this._mouseStarted):this._mouseUp(e)},_mouseUp:function(e){return t(document).unbind("mousemove."+this.widgetName,this._mouseMoveDelegate).unbind("mouseup."+this.widgetName,this._mouseUpDelegate),this._mouseStarted&&(this._mouseStarted=!1,e.target===this._mouseDownEvent.target&&t.data(e.target,this.widgetName+".preventClickEvent",!0),this._mouseStop(e)),!1},_mouseDistanceMet:function(t){return Math.max(Math.abs(this._mouseDownEvent.pageX-t.pageX),Math.abs(this._mouseDownEvent.pageY-t.pageY))>=this.options.distance},_mouseDelayMet:function(t){return this.mouseDelayMet},_mouseStart:function(t){},_mouseDrag:function(t){},_mouseStop:function(t){},_mouseCapture:function(t){return!0}})}(jQuery),function(t,e){if(!t.ui.resizable){t.widget("ui.resizable",t.ui.mouse,{version:"1.9.2",widgetEventPrefix:"resize",options:{alsoResize:!1,animate:!1,animateDuration:"slow",animateEasing:"swing",aspectRatio:!1,autoHide:!1,containment:!1,ghost:!1,grid:!1,handles:"e,s,se",helper:!1,maxHeight:null,maxWidth:null,minHeight:10,minWidth:10,zIndex:1e3},_create:function(){var e=this,i=this.options;if(this.element.addClass("ui-resizable"),t.extend(this,{_aspectRatio:!!i.aspectRatio,aspectRatio:i.aspectRatio,originalElement:this.element,_proportionallyResizeElements:[],_helper:i.helper||i.ghost||i.animate?i.helper||"ui-resizable-helper":null}),this.element[0].nodeName.match(/canvas|textarea|input|select|button|img/i)&&(this.element.wrap(t('
    ').css({position:this.element.css("position"),width:this.element.outerWidth(),height:this.element.outerHeight(),top:this.element.css("top"),left:this.element.css("left")})),this.element=this.element.parent().data("resizable",this.element.data("resizable")),this.elementIsWrapper=!0,this.element.css({marginLeft:this.originalElement.css("marginLeft"),marginTop:this.originalElement.css("marginTop"),marginRight:this.originalElement.css("marginRight"),marginBottom:this.originalElement.css("marginBottom")}),this.originalElement.css({marginLeft:0,marginTop:0,marginRight:0,marginBottom:0}),this.originalResizeStyle=this.originalElement.css("resize"),this.originalElement.css("resize","none"),this._proportionallyResizeElements.push(this.originalElement.css({position:"static",zoom:1,display:"block"})),this.originalElement.css({margin:this.originalElement.css("margin")}),this._proportionallyResize()),this.handles=i.handles||(t(".ui-resizable-handle",this.element).length?{n:".ui-resizable-n",e:".ui-resizable-e",s:".ui-resizable-s",w:".ui-resizable-w",se:".ui-resizable-se",sw:".ui-resizable-sw",ne:".ui-resizable-ne",nw:".ui-resizable-nw"}:"e,s,se"),this.handles.constructor==String){"all"==this.handles&&(this.handles="n,e,s,w,se,sw,ne,nw");var s=this.handles.split(",");this.handles={};for(var n=0;n
    ');h.css({zIndex:i.zIndex}),"se"==o&&h.addClass("ui-icon ui-icon-gripsmall-diagonal-se"),this.handles[o]=".ui-resizable-"+o,this.element.append(h)}}this._renderAxis=function(e){for(var i in e=e||this.element,this.handles){if(this.handles[i].constructor==String&&(this.handles[i]=t(this.handles[i],this.element).show()),this.elementIsWrapper&&this.originalElement[0].nodeName.match(/textarea|input|select|button/i)){var s=t(this.handles[i],this.element),n=0;n=/sw|ne|nw|se|n|s/.test(i)?s.outerHeight():s.outerWidth();var o=["padding",/ne|nw|n/.test(i)?"Top":/se|sw|s/.test(i)?"Bottom":/^e$/.test(i)?"Right":"Left"].join("");e.css(o,n),this._proportionallyResize()}t(this.handles[i]).length}},this._renderAxis(this.element),this._handles=t(".ui-resizable-handle",this.element).disableSelection(),this._handles.mouseover((function(){if(!e.resizing){if(this.className)var t=this.className.match(/ui-resizable-(se|sw|ne|nw|n|e|s|w)/i);e.axis=t&&t[1]?t[1]:"se"}})),i.autoHide&&(this._handles.hide(),t(this.element).addClass("ui-resizable-autohide").mouseenter((function(){i.disabled||(t(this).removeClass("ui-resizable-autohide"),e._handles.show())})).mouseleave((function(){i.disabled||e.resizing||(t(this).addClass("ui-resizable-autohide"),e._handles.hide())}))),this._mouseInit()},_destroy:function(){this._mouseDestroy();var e=function(e){t(e).removeClass("ui-resizable ui-resizable-disabled ui-resizable-resizing").removeData("resizable").removeData("ui-resizable").unbind(".resizable").find(".ui-resizable-handle").remove()};if(this.elementIsWrapper){e(this.element);var i=this.element;this.originalElement.css({position:i.css("position"),width:i.outerWidth(),height:i.outerHeight(),top:i.css("top"),left:i.css("left")}).insertAfter(i),i.remove()}return this.originalElement.css("resize",this.originalResizeStyle),e(this.originalElement),this},_mouseCapture:function(e){var i=!1;for(var s in this.handles)t(this.handles[s])[0]==e.target&&(i=!0);return!this.options.disabled&&i},_mouseStart:function(e){var s=this.options,n=this.element.position(),o=this.element;this.resizing=!0,this.documentScroll={top:t(document).scrollTop(),left:t(document).scrollLeft()},(o.is(".ui-draggable")||/absolute/.test(o.css("position")))&&o.css({position:"absolute",top:n.top,left:n.left}),this._renderProxy();var a=i(this.helper.css("left")),h=i(this.helper.css("top"));s.containment&&(a+=t(s.containment).scrollLeft()||0,h+=t(s.containment).scrollTop()||0),this.offset=this.helper.offset(),this.position={left:a,top:h},this.size=this._helper?{width:o.outerWidth(),height:o.outerHeight()}:{width:o.width(),height:o.height()},this.originalSize=this._helper?{width:o.outerWidth(),height:o.outerHeight()}:{width:o.width(),height:o.height()},this.originalPosition={left:a,top:h},this.sizeDiff={width:o.outerWidth()-o.width(),height:o.outerHeight()-o.height()},this.originalMousePosition={left:e.pageX,top:e.pageY},this.aspectRatio="number"==typeof s.aspectRatio?s.aspectRatio:this.originalSize.width/this.originalSize.height||1;var r=t(".ui-resizable-"+this.axis).css("cursor");return t("body").css("cursor","auto"==r?this.axis+"-resize":r),o.addClass("ui-resizable-resizing"),this._propagate("start",e),!0},_mouseDrag:function(t){var e=this.helper,i=(this.options,this.originalMousePosition),s=this.axis,n=t.pageX-i.left||0,o=t.pageY-i.top||0,a=this._change[s];if(!a)return!1;var h=a.apply(this,[t,n,o]);return this._updateVirtualBoundaries(t.shiftKey),(this._aspectRatio||t.shiftKey)&&(h=this._updateRatio(h,t)),h=this._respectSize(h,t),this._propagate("resize",t),e.css({top:this.position.top+"px",left:this.position.left+"px",width:this.size.width+"px",height:this.size.height+"px"}),!this._helper&&this._proportionallyResizeElements.length&&this._proportionallyResize(),this._updateCache(h),this._trigger("resize",t,this.ui()),!1},_mouseStop:function(e){this.resizing=!1;var i=this.options,s=this;if(this._helper){var n=this._proportionallyResizeElements,o=n.length&&/textarea/i.test(n[0].nodeName),a=o&&t.ui.hasScroll(n[0],"left")?0:s.sizeDiff.height,h=o?0:s.sizeDiff.width,r={width:s.helper.width()-h,height:s.helper.height()-a},l=parseInt(s.element.css("left"),10)+(s.position.left-s.originalPosition.left)||null,u=parseInt(s.element.css("top"),10)+(s.position.top-s.originalPosition.top)||null;i.animate||this.element.css(t.extend(r,{top:u,left:l})),s.helper.height(s.size.height),s.helper.width(s.size.width),this._helper&&!i.animate&&this._proportionallyResize()}return t("body").css("cursor","auto"),this.element.removeClass("ui-resizable-resizing"),this._propagate("stop",e),this._helper&&this.helper.remove(),!1},_updateVirtualBoundaries:function(t){var e,i,n,o,a,h=this.options;a={minWidth:s(h.minWidth)?h.minWidth:0,maxWidth:s(h.maxWidth)?h.maxWidth:1/0,minHeight:s(h.minHeight)?h.minHeight:0,maxHeight:s(h.maxHeight)?h.maxHeight:1/0},(this._aspectRatio||t)&&(e=a.minHeight*this.aspectRatio,n=a.minWidth/this.aspectRatio,i=a.maxHeight*this.aspectRatio,o=a.maxWidth/this.aspectRatio,e>a.minWidth&&(a.minWidth=e),n>a.minHeight&&(a.minHeight=n),it.width,r=s(t.height)&&i.minHeight&&i.minHeight>t.height;h&&(t.width=i.minWidth),r&&(t.height=i.minHeight),o&&(t.width=i.maxWidth),a&&(t.height=i.maxHeight);var l=this.originalPosition.left+this.originalSize.width,u=this.position.top+this.size.height,d=/sw|nw|w/.test(n),p=/nw|ne|n/.test(n);h&&d&&(t.left=l-i.minWidth),o&&d&&(t.left=l-i.maxWidth),r&&p&&(t.top=u-i.minHeight),a&&p&&(t.top=u-i.maxHeight);var c=!t.width&&!t.height;return c&&!t.left&&t.top?t.top=null:c&&!t.top&&t.left&&(t.left=null),t},_proportionallyResize:function(){this.options;if(this._proportionallyResizeElements.length)for(var e=this.helper||this.element,i=0;i');var s=t.ui.ie6?1:0,n=t.ui.ie6?2:-1;this.helper.addClass(this._helper).css({width:this.element.outerWidth()+n,height:this.element.outerHeight()+n,position:"absolute",left:this.elementOffset.left-s+"px",top:this.elementOffset.top-s+"px",zIndex:++i.zIndex}),this.helper.appendTo("body").disableSelection()}else this.helper=this.element},_change:{e:function(t,e,i){return{width:this.originalSize.width+e}},w:function(t,e,i){this.options;var s=this.originalSize,n=this.originalPosition;return{left:n.left+e,width:s.width-e}},n:function(t,e,i){this.options;var s=this.originalSize,n=this.originalPosition;return{top:n.top+i,height:s.height-i}},s:function(t,e,i){return{height:this.originalSize.height+i}},se:function(e,i,s){return t.extend(this._change.s.apply(this,arguments),this._change.e.apply(this,[e,i,s]))},sw:function(e,i,s){return t.extend(this._change.s.apply(this,arguments),this._change.w.apply(this,[e,i,s]))},ne:function(e,i,s){return t.extend(this._change.n.apply(this,arguments),this._change.e.apply(this,[e,i,s]))},nw:function(e,i,s){return t.extend(this._change.n.apply(this,arguments),this._change.w.apply(this,[e,i,s]))}},_propagate:function(e,i){t.ui.plugin.call(this,e,[i,this.ui()]),"resize"!=e&&this._trigger(e,i,this.ui())},plugins:{},ui:function(){return{originalElement:this.originalElement,element:this.element,helper:this.helper,position:this.position,size:this.size,originalSize:this.originalSize,originalPosition:this.originalPosition}}}),t.ui.plugin.add("resizable","alsoResize",{start:function(e,i){var s=t(this).data("resizable"),n=s.options,o=function(e){t(e).each((function(){var e=t(this);e.data("resizable-alsoresize",{width:parseInt(e.width(),10),height:parseInt(e.height(),10),left:parseInt(e.css("left"),10),top:parseInt(e.css("top"),10)})}))};"object"!=typeof n.alsoResize||n.alsoResize.parentNode?o(n.alsoResize):n.alsoResize.length?(n.alsoResize=n.alsoResize[0],o(n.alsoResize)):t.each(n.alsoResize,(function(t){o(t)}))},resize:function(e,i){var s=t(this).data("resizable"),n=s.options,o=s.originalSize,a=s.originalPosition,h={height:s.size.height-o.height||0,width:s.size.width-o.width||0,top:s.position.top-a.top||0,left:s.position.left-a.left||0},r=function(e,s){t(e).each((function(){var e=t(this),n=t(this).data("resizable-alsoresize"),o={},a=s&&s.length?s:e.parents(i.originalElement[0]).length?["width","height"]:["width","height","top","left"];t.each(a,(function(t,e){var i=(n[e]||0)+(h[e]||0);i&&i>=0&&(o[e]=i||null)})),e.css(o)}))};"object"!=typeof n.alsoResize||n.alsoResize.nodeType?r(n.alsoResize):t.each(n.alsoResize,(function(t,e){r(t,e)}))},stop:function(e,i){t(this).removeData("resizable-alsoresize")}}),t.ui.plugin.add("resizable","animate",{stop:function(e,i){var s=t(this).data("resizable"),n=s.options,o=s._proportionallyResizeElements,a=o.length&&/textarea/i.test(o[0].nodeName),h=a&&t.ui.hasScroll(o[0],"left")?0:s.sizeDiff.height,r=a?0:s.sizeDiff.width,l={width:s.size.width-r,height:s.size.height-h},u=parseInt(s.element.css("left"),10)+(s.position.left-s.originalPosition.left)||null,d=parseInt(s.element.css("top"),10)+(s.position.top-s.originalPosition.top)||null;s.element.animate(t.extend(l,d&&u?{top:d,left:u}:{}),{duration:n.animateDuration,easing:n.animateEasing,step:function(){var i={width:parseInt(s.element.css("width"),10),height:parseInt(s.element.css("height"),10),top:parseInt(s.element.css("top"),10),left:parseInt(s.element.css("left"),10)};o&&o.length&&t(o[0]).css({width:i.width,height:i.height}),s._updateCache(i),s._propagate("resize",e)}})}}),t.ui.plugin.add("resizable","containment",{start:function(e,s){var n=t(this).data("resizable"),o=n.options,a=n.element,h=o.containment,r=h instanceof t?h.get(0):/parent/.test(h)?a.parent().get(0):h;if(r)if(n.containerElement=t(r),/document/.test(h)||h==document)n.containerOffset={left:0,top:0},n.containerPosition={left:0,top:0},n.parentData={element:t(document),left:0,top:0,width:t(document).width(),height:t(document).height()||document.body.parentNode.scrollHeight};else{var l=t(r),u=[];t(["Top","Right","Left","Bottom"]).each((function(t,e){u[t]=i(l.css("padding"+e))})),n.containerOffset=l.offset(),n.containerPosition=l.position(),n.containerSize={height:l.innerHeight()-u[3],width:l.innerWidth()-u[1]};var d=n.containerOffset,p=n.containerSize.height,c=n.containerSize.width,f=t.ui.hasScroll(r,"left")?r.scrollWidth:c,g=t.ui.hasScroll(r)?r.scrollHeight:p;n.parentData={element:r,left:d.left,top:d.top,width:f,height:g}}},resize:function(e,i){var s=t(this).data("resizable"),n=s.options,o=(s.containerSize,s.containerOffset),a=(s.size,s.position),h=s._aspectRatio||e.shiftKey,r={top:0,left:0},l=s.containerElement;l[0]!=document&&/static/.test(l.css("position"))&&(r=o),a.left<(s._helper?o.left:0)&&(s.size.width=s.size.width+(s._helper?s.position.left-o.left:s.position.left-r.left),h&&(s.size.height=s.size.width/s.aspectRatio),s.position.left=n.helper?o.left:0),a.top<(s._helper?o.top:0)&&(s.size.height=s.size.height+(s._helper?s.position.top-o.top:s.position.top),h&&(s.size.width=s.size.height*s.aspectRatio),s.position.top=s._helper?o.top:0),s.offset.left=s.parentData.left+s.position.left,s.offset.top=s.parentData.top+s.position.top;var u=Math.abs((s._helper,s.offset.left-r.left+s.sizeDiff.width)),d=Math.abs((s._helper?s.offset.top-r.top:s.offset.top-o.top)+s.sizeDiff.height),p=s.containerElement.get(0)==s.element.parent().get(0),c=/relative|absolute/.test(s.containerElement.css("position"));p&&c&&(u-=s.parentData.left),u+s.size.width>=s.parentData.width&&(s.size.width=s.parentData.width-u,h&&(s.size.height=s.size.width/s.aspectRatio)),d+s.size.height>=s.parentData.height&&(s.size.height=s.parentData.height-d,h&&(s.size.width=s.size.height*s.aspectRatio))},stop:function(e,i){var s=t(this).data("resizable"),n=s.options,o=(s.position,s.containerOffset),a=s.containerPosition,h=s.containerElement,r=t(s.helper),l=r.offset(),u=r.outerWidth()-s.sizeDiff.width,d=r.outerHeight()-s.sizeDiff.height;s._helper&&!n.animate&&/relative/.test(h.css("position"))&&t(this).css({left:l.left-a.left-o.left,width:u,height:d}),s._helper&&!n.animate&&/static/.test(h.css("position"))&&t(this).css({left:l.left-a.left-o.left,width:u,height:d})}}),t.ui.plugin.add("resizable","ghost",{start:function(e,i){var s=t(this).data("resizable"),n=s.options,o=s.size;s.ghost=s.originalElement.clone(),s.ghost.css({opacity:.25,display:"block",position:"relative",height:o.height,width:o.width,margin:0,left:0,top:0}).addClass("ui-resizable-ghost").addClass("string"==typeof n.ghost?n.ghost:""),s.ghost.appendTo(s.helper)},resize:function(e,i){var s=t(this).data("resizable");s.options;s.ghost&&s.ghost.css({position:"relative",height:s.size.height,width:s.size.width})},stop:function(e,i){var s=t(this).data("resizable");s.options;s.ghost&&s.helper&&s.helper.get(0).removeChild(s.ghost.get(0))}}),t.ui.plugin.add("resizable","grid",{resize:function(e,i){var s=t(this).data("resizable"),n=s.options,o=s.size,a=s.originalSize,h=s.originalPosition,r=s.axis;n._aspectRatio||e.shiftKey;n.grid="number"==typeof n.grid?[n.grid,n.grid]:n.grid;var l=Math.round((o.width-a.width)/(n.grid[0]||1))*(n.grid[0]||1),u=Math.round((o.height-a.height)/(n.grid[1]||1))*(n.grid[1]||1);/^(se|s|e)$/.test(r)?(s.size.width=a.width+l,s.size.height=a.height+u):/^(ne)$/.test(r)?(s.size.width=a.width+l,s.size.height=a.height+u,s.position.top=h.top-u):/^(sw)$/.test(r)?(s.size.width=a.width+l,s.size.height=a.height+u,s.position.left=h.left-l):(s.size.width=a.width+l,s.size.height=a.height+u,s.position.top=h.top-u,s.position.left=h.left-l)}});var i=function(t){return parseInt(t,10)||0},s=function(t){return!isNaN(parseInt(t,10))}}}(jQuery),cloudjs.define({resizable:function(){"static"===this.css("position").toLowerCase()&&this.css({position:"relative"}),cloudjs.callback(this.resizable.apply(this,arguments))}}); \ No newline at end of file diff --git a/client/dist/static/logview/Logview_files/wsd.css b/client/dist/static/logview/Logview_files/wsd.css index b5920b0b..203a6416 100644 --- a/client/dist/static/logview/Logview_files/wsd.css +++ b/client/dist/static/logview/Logview_files/wsd.css @@ -1,173 +1 @@ -@charset "utf-8"; -/*公用*/ -html,body,div,p,span,a,b,img,table,thead,tbody,tfoot,tr,th,td,ul,ol,li,h1,h2,h3,h4,form,input[type="text"]{ padding:0; margin:0; } -body{ padding:10px 10px 10px 5px; background:#FFF; font-size:12px; font-family:Arial, '宋体';} -a{ color:#4E7CDA; text-decoration:none; } -img,a{border:0} -a:hover{ text-decoration:underline; } -ul,li,ol,dl,dd,dt{ list-style:none; } - -/*基础*/ -.f_l{ float:left; } -.f_r{ float:right; } -.d_n{ display:none; } -.blue{ color:#3071a4; } -.gray{ color:#999; } -.red{ color:#f00; } -.green{ color:#008000; } -.b{ font-weight:bold; } -.ta_c{ text-align:center; } -.ta_l{ text-align:left; } -.ta_r{ text-align:right; } -.redbd{ border:1px solid #FF0000; } -.h8{ height:8px; overflow:hidden; clear:both; } -.w120{ width:120px; } -.w100{ width:100px; } -.w80{ width:80px; } -.w30{ width:30px; } -.new_logo,.old_logo{font-size:22px;color:#2a5fcb;font-family:'微软雅黑';line-height:60px;text-indent:12px;} -.old_logo{color:#26659a;} - -/*数据表格*/ -.jq_table th,.base_table th{ text-align:center;font-weight:bold; } -.jq_table,.tab2,.base_table{ width:100%; border-collapse:collapse; word-wrap:break-word; background:#fff; } -.jq_table caption,.tab2 caption,.base_table caption,.search_table caption{ line-height:20px; font-size:13px; } -.jq_table td,.jq_table th,.tab2 td,.tab2 th,.search_table td,.search_table th,.accordion_tit,.base_table th,.base_table td{ height:22px; padding:2px 5px; border:1px solid #A6BDE5; } -.jq_table th,.tab2 th,.search_table th,.accordion_tit,.base_table th{ background:#EBF3FD url('../jquery-easyui/themes/default/images/panel_title.png') repeat-x; } -.jq_table tfoot td,.tab2 tfoot td,.search_table tfoot td,.base_table tfoot td{ background:#efefef; } -.jq_table tbody tr:hover td,.tab2 tbody tr:hover td{ background:#E5E7C5; } -.nowraptable tbody td{ white-space:nowrap; } -.nohovertab tbody tr:hover td{ background:#FFFFFF; } -/*数据表格分页*/ -.jq_table .odd td{ background:#F6F9FB; } -.jq_table .sort,.jq_table .page_size,.jq_table .page_num,img.edit,img.delete,img.modify,img.add,img.remove,img.refresh,.cursor{ cursor:pointer; } -.jq_table .js_up{ background:#EBF3FD url(images/arrow_up.png) no-repeat right center; } -.jq_table .js_down{ background:#EBF3FD url(images/arrow_down.png) no-repeat right center; } -.jq_table .page_size_box,.jq_table .page_num_box{ float:right; } -.jq_table .page_num_box{ margin-top:3px; margin-left:15px; } -.jq_table .page_size_box{ line-height:22px; margin-left:10px;} -.jq_table .line{ margin-left:4px; color:#ccc; } -.jq_table .page_size{ padding:0 5px; color:#333333; cursor:pointer; } -.jq_table .light_page_size{ background:#fff; border-bottom:2px solid #069; } -.jq_table .page_size:hover{ background:#fff; border-bottom:2px solid #F93; } -.jq_table .page_num_box span{ float:left; margin-right:5px; } -.jq_table .page_num{ float:left; line-height:16px; padding:0 5px; border:1px solid #999; background:#fff; cursor:pointer; } -.jq_table .page_num:hover{ border:1px solid #F93; } -.jq_table .light_page_num,.jq_table .light_page_num:hover{ color:#fff; border:1px solid #039; background:#2577BB; } -.tabFix td{ word-wrap:break-word;word-break:break-all; } -.tabFix{ table-layout:fixed; } -#tat_table{ z-index:10000; } /*人名控件表格*/ - -/*搜索表格*/ -.search_div{ padding:5px 10px; background:#D5E2F8; border:1px solid #A6BDE5; } -.search_table{ width:100%; border-collapse:collapse; background:#D5E2F8; word-wrap:break-word; border-top:1px solid #A6BDE5;border-right:1px solid #A6BDE5;} -.search_table td.bg{ background:#fff; } -.search_table td.text{ width:100px; padding:2px 0; text-align:right; border-right:0; } -.search_table td.inpt{ padding-left:0; border-left:0; } - -/*折叠*/ -.search_table th{ line-height:20px; } -.accordion_tit{ line-height:20px; cursor:pointer; } -.accordion_con{ border:1px solid #A6BDE5; border-top:0; } - -/*当前位置*/ -.current_location{ line-height:20px; padding:0 10px; background:#ECECEC; } - -/*tips*/ -p#vtip{ display:none; position:absolute; max-width:500px; word-wrap:break-word; padding:5px; left:5px; background-color:white; border:1px solid #a6c9e2; -moz-border-radius:5px; -webkit-border-radius:5px; z-index:9999; } -p#vtip #vtipArrow{position:absolute; top:-10px; left:5px;width:21px;height:11px;border:none;background:url(http://www.wsd.com/css/images/vtip_arrow.png);} - -/*树搜索*/ -#tree_ss_name{ float:left;width:90px;height:16px;margin-left:10px;margin-right:5px;line-height:16px;border:1px solid #4C79BD; } -#tree_ss_btn{ float:left;background:#3664AA;color:#fff;padding:2px;border:1px solid #264280;height:18px;line-height:14px; } -.layout-button-load,.layout-button-up,.layout-button-down{width:16px;height:16px; display:inline-block; margin-left:5px;} -.layout-button-load{background:url('../jquery-easyui/themes/default/images/pagination_load.png') no-repeat;} -.layout-button-up{background:url('../jquery-easyui/themes/default/images/layout_button_up.gif') no-repeat;} -.layout-button-down{background:url('../jquery-easyui/themes/default/images/layout_button_down.gif') no-repeat;} - - -/*多搜下拉框*/ -.search-panel{overflow:auto;border:1px solid #99BBE8; background:#FFFFFF; } -.search-item{padding:0 5px;line-height:20px; text-align:left; } -.search-item-hover{background-color:#CAEEFF;} - -/*flick Plugin*/ -.alphaBg{ width:100%; height:100%; background:#000; position:absolute; top:0; left:0; filter:alpha(opacity=50); -moz-opacity:0.5; -khtml-opacity:0.5; opacity:0.5; } -.flickBox{ border:1px solid #A6BDE5; position:absolute; top:100px; background:#D3E1F1; display:none; } -.flickBox .title{ height:17px; line-height:17px; padding:4px 10px; background:#EBF3FD url('../jquery-easyui/themes/default/images/panel_title.png') repeat-x; } -.flickBox .content{ padding:5px; margin:5px; border:1px solid #A6BDE5; background:#fff; overflow:auto; overflow-x:hidden; } -.flickBox .button{ text-align:center; } -.flickBox .button input{ margin-bottom:10px; } -.flickBox .content table{ width:100%; margin:0; } -.flickBox .content table td,.flickBox .content table th{ padding:0 10px; } - -/*多选框*/ -.allcombo{display:inline-block;white-space:nowrap;border:1px solid #A4BED4;} -.allcombo-text{border:0px;line-height:20px;height:20px;padding:0px;*height:18px;*line-height:18px;_height:18px;_line-height:18px;background:#fff;} -.allcombo-arrow{background:#E0ECF9 url('images/combo_arrow.gif') no-repeat 3px 4px;width:18px;height:20px;overflow:hidden;display:inline-block;vertical-align:top;cursor:pointer;} -.allcombo-panel{background:#FFF;border:1px solid #99BBE8;height:200px;overflow:auto;position:absolute;z-index:9000;width:169px;top:21px;left:0; display:none;} -.allcombobox-item{padding:1px 0 1px 20px;background:url(images/jsunchecked.gif) 2px 2px no-repeat;} -.allcombobox-item-hover{background-color:#CAEEFF;} -.allcombobox-item-selected{background-image:url(images/jschecked.gif);background-position:2px 2px;background-repeat:no-repeat;} - - -/*月插件*/ -.monthsbox{ width:200px; padding:10px; border:1px solid #A6BDE5; background:#FFF; } -.monthsbox .mb{ margin-top:15px; } -.monthsbox .mb span{ width:20px; cursor:pointer; line-height:20px; text-align:center; display:inline-block; margin-right:6px; margin-bottom:6px; background:#CFE9FF; } -.monthsbox .mb span.d{ cursor:default; background:#eee;} - -/*多选框*/ -.ui-dropdownchecklist { height: 18px;border:1px solid #7F9DB9;background: #FFF url(images/sdefault.gif) no-repeat center right;} -.ui-dropdownchecklist-hover, .ui-dropdownchecklist-active {background-image: url(images/shover.gif);} -.ui-dropdownchecklist-text {font-size: 12px;height: 18px;line-height: 18px;padding-left:3px;margin-right: 17px; } -.ui-dropdownchecklist-dropcontainer {background-color: #fff;border: 1px solid #7F9DB9;} -.ui-dropdownchecklist-item-hover {background-color: #39f;} -.ui-dropdownchecklist-item-disabled label {color: #ccc;} -.ui-dropdownchecklist-item-hover .ui-dropdownchecklist-text {color: #fff;} -.ui-dropdownchecklist-indent {padding-left: 18px;} - -/*时间插件*/ -.datepickerbox{ position:relative; z-index:996; } -.datepicker { width:180px; border-collapse:collapse; border:1px solid #ccc; position:absolute; right:0; top:20px; } -.datepicker tr.controls th { height:30px; font-size:12px; } -.datepicker select { font-size:12px; } -.datepicker tr.days th { height:18px; } -.datepicker td,.datepicker th{ padding:0 5px; } -.datepicker tfoot td { height:20px; text-align:center; text-transform:capitalize; } -.datepicker th, .datepicker tfoot td { background:#F6F9FB; font:12px/18px Verdana, Arial, Helvetica, sans-serif; } -.datepicker th span, .datepicker tfoot td span { font-weight:bold; } -.datepicker span{ cursor:pointer; } -.datepicker tbody td { width:24px; height:24px; border:1px solid #ccc; font:12px/22px Arial, Helvetica, sans-serif; text-align:center; background:#fff; } -.datepicker tbody td.date { cursor:pointer; } -.datepicker tbody td.select{ background:#FFFFCC; } -.datepicker tbody td.date.over { background-color:#99ffff; } -.datepicker tbody td.date.chosen { font-weight:bold; background-color:#ccffcc; } - -/*步骤*/ -.stepbox{ height:28px; line-height:28px; } -.stepbox>span{ float:left; padding:0 60px 0 30px; background:url(images/buzhou_02.png) right no-repeat #e7e6e6;} -.stepbox>span.selected{ background:url(images/buzhou_01.png) right no-repeat #66c3ea; color:#fff; } -.stepbox>span.prev{ background-image:url(images/buzhou_03.png); } -.stepbox>span.last{ background-image:none; } - -/*蒙版 */ -.ajax-mask{height: 100%; width: 100%; position: fixed; top: 0; left: 0; z-index: 10000; background: #000; opacity: 0.5; filter: alpha(opacity=50);} -.ajax-loading{position: fixed; z-index: 110000; top: 50%; left: 50%; margin-top: -54px; margin-left: -47px;} - -/*按钮*/ -.odfl_btn{margin:0px;display:inline-block;padding:4px 12px 5px 12px;font-size:14px;font-weight:700;text-align:center;vertical-align:middle;cursor:pointer;background-image:none;border:1px solid #ccc;border-radius:4px;color:#666;background-color:#EEE;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;} -.odfl_btn_small{padding:2px 8px;font-size:12px;line-height:16px;font-weight: normal;} -.odfl_btn:hover,.odfl_btn:active{color:#444;text-decoration:none;background-color:#e6e6e6;border-color:#adadad;background-image:none;} -.odfl_btn:focus{outline:none;} -.odfl_btn:active{background-image:none;outline:none;-webkit-box-shadow:inset 0 3px 5px rgba(0, 0, 0, .125);box-shadow:inset 0 3px 5px rgba(0, 0, 0, .125);} -.odfl_btn[disabled],.odfl_btn.disabled{cursor:default;filter:alpha(opacity=65);-webkit-box-shadow:none;box-shadow:none;opacity:.65;} -.odfl_btn[disabled],.odfl_btn[disabled]:hover,.odfl_btn[disabled]:active,.odfl_btn.disabled,.odfl_btn.disabled:hover,.odfl_btn.disabled:active{background-color:#DDD;border-color:#DDD;color:#FFF;} -.odfl_btn_blue{color:#fff;background-color:#428bca;border-color:#357ebd;} -.odfl_btn_blue:hover,.odfl_btn_blue:active{color:#fff;background-color:#3071a9;border-color:#285e8e;} -.odfl_btn_green {color:#fff;background-color:#5cb85c;border-color:#4cae4c;} -.odfl_btn_green:hover,.odfl_btn_green:active{color:#fff;background-color:#449d44;border-color:#398439;} -.odfl_btn_yellow{color:#fff;background-color:#f0ad4e;border-color:#eea236;} -.odfl_btn_yellow:hover,.odfl_btn_yellow:active{color:#fff;background-color:#ec971f;border-color:#d58512;} -.odfl_btn_red {color:#fff;background-color:#d9534f;border-color:#d43f3a;} -.odfl_btn_red:hover,.odfl_btn_red:active{color:#fff;background-color:#c9302c;border-color:#ac2925;} +@charset "utf-8";a,b,body,div,form,h1,h2,h3,h4,html,img,input[type=text],li,ol,p,span,table,tbody,td,tfoot,th,thead,tr,ul{padding:0;margin:0}body{padding:10px 10px 10px 5px;background:#fff;font-size:12px;font-family:Arial,宋体}a{color:#4e7cda;text-decoration:none}a,img{border:0}a:hover{text-decoration:underline}dd,dl,dt,li,ol,ul{list-style:none}.f_l{float:left}.f_r{float:right}.d_n{display:none}.blue{color:#3071a4}.gray{color:#999}.red{color:red}.green{color:green}.b{font-weight:700}.ta_c{text-align:center}.ta_l{text-align:left}.ta_r{text-align:right}.redbd{border:1px solid red}.h8{height:8px;overflow:hidden;clear:both}.w120{width:120px}.w100{width:100px}.w80{width:80px}.w30{width:30px}.new_logo,.old_logo{font-size:22px;color:#2a5fcb;font-family:微软雅黑;line-height:60px;text-indent:12px}.old_logo{color:#26659a}.base_table th,.jq_table th{text-align:center;font-weight:700}.base_table,.jq_table,.tab2{width:100%;border-collapse:collapse;word-wrap:break-word;background:#fff}.base_table caption,.jq_table caption,.search_table caption,.tab2 caption{line-height:20px;font-size:13px}.accordion_tit,.base_table td,.base_table th,.jq_table td,.jq_table th,.search_table td,.search_table th,.tab2 td,.tab2 th{height:22px;padding:2px 5px;border:1px solid #a6bde5}.accordion_tit,.base_table th,.jq_table th,.search_table th,.tab2 th{background:#ebf3fd url(../jquery-easyui/themes/default/images/panel_title.png) repeat-x}.base_table tfoot td,.jq_table tfoot td,.search_table tfoot td,.tab2 tfoot td{background:#efefef}.jq_table tbody tr:hover td,.tab2 tbody tr:hover td{background:#e5e7c5}.nowraptable tbody td{white-space:nowrap}.nohovertab tbody tr:hover td{background:#fff}.jq_table .odd td{background:#f6f9fb}.cursor,.jq_table .page_num,.jq_table .page_size,.jq_table .sort,img.add,img.delete,img.edit,img.modify,img.refresh,img.remove{cursor:pointer}.jq_table .js_up{background:#ebf3fd url(images/arrow_up.png) no-repeat 100%}.jq_table .js_down{background:#ebf3fd url(images/arrow_down.png) no-repeat 100%}.jq_table .page_num_box,.jq_table .page_size_box{float:right}.jq_table .page_num_box{margin-top:3px;margin-left:15px}.jq_table .page_size_box{line-height:22px;margin-left:10px}.jq_table .line{margin-left:4px;color:#ccc}.jq_table .page_size{padding:0 5px;color:#333;cursor:pointer}.jq_table .light_page_size{background:#fff;border-bottom:2px solid #069}.jq_table .page_size:hover{background:#fff;border-bottom:2px solid #f93}.jq_table .page_num_box span{float:left;margin-right:5px}.jq_table .page_num{float:left;line-height:16px;padding:0 5px;border:1px solid #999;background:#fff;cursor:pointer}.jq_table .page_num:hover{border:1px solid #f93}.jq_table .light_page_num,.jq_table .light_page_num:hover{color:#fff;border:1px solid #039;background:#2577bb}.tabFix td{word-wrap:break-word;word-break:break-all}.tabFix{table-layout:fixed}#tat_table{z-index:10000}.search_div{padding:5px 10px;background:#d5e2f8;border:1px solid #a6bde5}.search_table{width:100%;border-collapse:collapse;background:#d5e2f8;word-wrap:break-word;border-top:1px solid #a6bde5;border-right:1px solid #a6bde5}.search_table td.bg{background:#fff}.search_table td.text{width:100px;padding:2px 0;text-align:right;border-right:0}.search_table td.inpt{padding-left:0;border-left:0}.accordion_tit,.search_table th{line-height:20px}.accordion_tit{cursor:pointer}.accordion_con{border:1px solid #a6bde5;border-top:0}.current_location{line-height:20px;padding:0 10px;background:#ececec}p#vtip{display:none;max-width:500px;word-wrap:break-word;padding:5px;background-color:#fff;border:1px solid #a6c9e2;-moz-border-radius:5px;-webkit-border-radius:5px;z-index:9999}p#vtip,p#vtip #vtipArrow{position:absolute;left:5px}p#vtip #vtipArrow{top:-10px;width:21px;height:11px;border:none;background:url(http://www.wsd.com/css/images/vtip_arrow.png)}#tree_ss_name{float:left;width:90px;height:16px;margin-left:10px;margin-right:5px;line-height:16px;border:1px solid #4c79bd}#tree_ss_btn{float:left;background:#3664aa;color:#fff;padding:2px;border:1px solid #264280;height:18px;line-height:14px}.layout-button-down,.layout-button-load,.layout-button-up{width:16px;height:16px;display:inline-block;margin-left:5px}.layout-button-load{background:url(../jquery-easyui/themes/default/images/pagination_load.png) no-repeat}.layout-button-up{background:url(../jquery-easyui/themes/default/images/layout_button_up.gif) no-repeat}.layout-button-down{background:url(../jquery-easyui/themes/default/images/layout_button_down.gif) no-repeat}.search-panel{overflow:auto;border:1px solid #99bbe8;background:#fff}.search-item{padding:0 5px;line-height:20px;text-align:left}.search-item-hover{background-color:#caeeff}.alphaBg{width:100%;height:100%;background:#000;position:absolute;top:0;left:0;filter:alpha(opacity=50);-moz-opacity:.5;-khtml-opacity:.5;opacity:.5}.flickBox{border:1px solid #a6bde5;position:absolute;top:100px;background:#d3e1f1;display:none}.flickBox .title{height:17px;line-height:17px;padding:4px 10px;background:#ebf3fd url(../jquery-easyui/themes/default/images/panel_title.png) repeat-x}.flickBox .content{padding:5px;margin:5px;border:1px solid #a6bde5;background:#fff;overflow:auto;overflow-x:hidden}.flickBox .button{text-align:center}.flickBox .button input{margin-bottom:10px}.flickBox .content table{width:100%;margin:0}.flickBox .content table td,.flickBox .content table th{padding:0 10px}.allcombo{display:inline-block;white-space:nowrap;border:1px solid #a4bed4}.allcombo-text{border:0;line-height:20px;height:20px;padding:0;*height:18px;*line-height:18px;_height:18px;_line-height:18px;background:#fff}.allcombo-arrow{background:#e0ecf9 url(images/combo_arrow.gif) no-repeat 3px 4px;width:18px;height:20px;overflow:hidden;display:inline-block;vertical-align:top;cursor:pointer}.allcombo-panel{background:#fff;border:1px solid #99bbe8;height:200px;overflow:auto;position:absolute;z-index:9000;width:169px;top:21px;left:0;display:none}.allcombobox-item{padding:1px 0 1px 20px;background:url(images/jsunchecked.gif) 2px 2px no-repeat}.allcombobox-item-hover{background-color:#caeeff}.allcombobox-item-selected{background-image:url(images/jschecked.gif);background-position:2px 2px;background-repeat:no-repeat}.monthsbox{width:200px;padding:10px;border:1px solid #a6bde5;background:#fff}.monthsbox .mb{margin-top:15px}.monthsbox .mb span{width:20px;cursor:pointer;line-height:20px;text-align:center;display:inline-block;margin-right:6px;margin-bottom:6px;background:#cfe9ff}.monthsbox .mb span.d{cursor:default;background:#eee}.ui-dropdownchecklist{height:18px;border:1px solid #7f9db9;background:#fff url(images/sdefault.gif) no-repeat 100%}.ui-dropdownchecklist-active,.ui-dropdownchecklist-hover{background-image:url(images/shover.gif)}.ui-dropdownchecklist-text{font-size:12px;height:18px;line-height:18px;padding-left:3px;margin-right:17px}.ui-dropdownchecklist-dropcontainer{background-color:#fff;border:1px solid #7f9db9}.ui-dropdownchecklist-item-hover{background-color:#39f}.ui-dropdownchecklist-item-disabled label{color:#ccc}.ui-dropdownchecklist-item-hover .ui-dropdownchecklist-text{color:#fff}.ui-dropdownchecklist-indent{padding-left:18px}.datepickerbox{position:relative;z-index:996}.datepicker{width:180px;border-collapse:collapse;border:1px solid #ccc;position:absolute;right:0;top:20px}.datepicker tr.controls th{height:30px;font-size:12px}.datepicker select{font-size:12px}.datepicker tr.days th{height:18px}.datepicker td,.datepicker th{padding:0 5px}.datepicker tfoot td{height:20px;text-align:center;text-transform:capitalize}.datepicker tfoot td,.datepicker th{background:#f6f9fb;font:12px/18px Verdana,Arial,Helvetica,sans-serif}.datepicker tfoot td span,.datepicker th span{font-weight:700}.datepicker span{cursor:pointer}.datepicker tbody td{width:24px;height:24px;border:1px solid #ccc;font:12px/22px Arial,Helvetica,sans-serif;text-align:center;background:#fff}.datepicker tbody td.date{cursor:pointer}.datepicker tbody td.select{background:#ffc}.datepicker tbody td.date.over{background-color:#9ff}.datepicker tbody td.date.chosen{font-weight:700;background-color:#cfc}.stepbox{height:28px;line-height:28px}.stepbox>span{float:left;padding:0 60px 0 30px;background:url(images/buzhou_02.png) 100% no-repeat #e7e6e6}.stepbox>span.selected{background:url(images/buzhou_01.png) 100% no-repeat #66c3ea;color:#fff}.stepbox>span.prev{background-image:url(images/buzhou_03.png)}.stepbox>span.last{background-image:none}.ajax-mask{height:100%;width:100%;position:fixed;top:0;left:0;z-index:10000;background:#000;opacity:.5;filter:alpha(opacity=50)}.ajax-loading{position:fixed;z-index:110000;top:50%;left:50%;margin-top:-54px;margin-left:-47px}.odfl_btn{margin:0;display:inline-block;padding:4px 12px 5px 12px;font-size:14px;font-weight:700;text-align:center;vertical-align:middle;cursor:pointer;background-image:none;border:1px solid #ccc;border-radius:4px;color:#666;background-color:#eee;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none}.odfl_btn_small{padding:2px 8px;font-size:12px;line-height:16px;font-weight:400}.odfl_btn:active,.odfl_btn:hover{color:#444;text-decoration:none;background-color:#e6e6e6;border-color:#adadad;background-image:none}.odfl_btn:focus{outline:none}.odfl_btn:active{background-image:none;outline:none;-webkit-box-shadow:inset 0 3px 5px rgba(0,0,0,.125);box-shadow:inset 0 3px 5px rgba(0,0,0,.125)}.odfl_btn.disabled,.odfl_btn[disabled]{cursor:default;filter:alpha(opacity=65);-webkit-box-shadow:none;box-shadow:none;opacity:.65}.odfl_btn.disabled,.odfl_btn.disabled:active,.odfl_btn.disabled:hover,.odfl_btn[disabled],.odfl_btn[disabled]:active,.odfl_btn[disabled]:hover{background-color:#ddd;border-color:#ddd;color:#fff}.odfl_btn_blue{color:#fff;background-color:#428bca;border-color:#357ebd}.odfl_btn_blue:active,.odfl_btn_blue:hover{color:#fff;background-color:#3071a9;border-color:#285e8e}.odfl_btn_green{color:#fff;background-color:#5cb85c;border-color:#4cae4c}.odfl_btn_green:active,.odfl_btn_green:hover{color:#fff;background-color:#449d44;border-color:#398439}.odfl_btn_yellow{color:#fff;background-color:#f0ad4e;border-color:#eea236}.odfl_btn_yellow:active,.odfl_btn_yellow:hover{color:#fff;background-color:#ec971f;border-color:#d58512}.odfl_btn_red{color:#fff;background-color:#d9534f;border-color:#d43f3a}.odfl_btn_red:active,.odfl_btn_red:hover{color:#fff;background-color:#c9302c;border-color:#ac2925} \ No newline at end of file diff --git a/client/dist/static/logview/javascripts/bootstrap.min.js b/client/dist/static/logview/javascripts/bootstrap.min.js index 63866bcb..39635408 100644 --- a/client/dist/static/logview/javascripts/bootstrap.min.js +++ b/client/dist/static/logview/javascripts/bootstrap.min.js @@ -3,5 +3,4 @@ * Copyright 2011-2014 Twitter, Inc. * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) */ -if("undefined"==typeof jQuery)throw new Error("Bootstrap's JavaScript requires jQuery");+function(a){var b=a.fn.jquery.split(" ")[0].split(".");if(b[0]<2&&b[1]<9||1==b[0]&&9==b[1]&&b[2]<1)throw new Error("Bootstrap's JavaScript requires jQuery version 1.9.1 or higher")}(jQuery),+function(a){"use strict";function b(){var a=document.createElement("bootstrap"),b={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};for(var c in b)if(void 0!==a.style[c])return{end:b[c]};return!1}a.fn.emulateTransitionEnd=function(b){var c=!1,d=this;a(this).one("bsTransitionEnd",function(){c=!0});var e=function(){c||a(d).trigger(a.support.transition.end)};return setTimeout(e,b),this},a(function(){a.support.transition=b(),a.support.transition&&(a.event.special.bsTransitionEnd={bindType:a.support.transition.end,delegateType:a.support.transition.end,handle:function(b){return a(b.target).is(this)?b.handleObj.handler.apply(this,arguments):void 0}})})}(jQuery),+function(a){"use strict";function b(b){return this.each(function(){var c=a(this),e=c.data("bs.alert");e||c.data("bs.alert",e=new d(this)),"string"==typeof b&&e[b].call(c)})}var c='[data-dismiss="alert"]',d=function(b){a(b).on("click",c,this.close)};d.VERSION="3.3.0",d.TRANSITION_DURATION=150,d.prototype.close=function(b){function c(){g.detach().trigger("closed.bs.alert").remove()}var e=a(this),f=e.attr("data-target");f||(f=e.attr("href"),f=f&&f.replace(/.*(?=#[^\s]*$)/,""));var g=a(f);b&&b.preventDefault(),g.length||(g=e.closest(".alert")),g.trigger(b=a.Event("close.bs.alert")),b.isDefaultPrevented()||(g.removeClass("in"),a.support.transition&&g.hasClass("fade")?g.one("bsTransitionEnd",c).emulateTransitionEnd(d.TRANSITION_DURATION):c())};var e=a.fn.alert;a.fn.alert=b,a.fn.alert.Constructor=d,a.fn.alert.noConflict=function(){return a.fn.alert=e,this},a(document).on("click.bs.alert.data-api",c,d.prototype.close)}(jQuery),+function(a){"use strict";function b(b){return this.each(function(){var d=a(this),e=d.data("bs.button"),f="object"==typeof b&&b;e||d.data("bs.button",e=new c(this,f)),"toggle"==b?e.toggle():b&&e.setState(b)})}var c=function(b,d){this.$element=a(b),this.options=a.extend({},c.DEFAULTS,d),this.isLoading=!1};c.VERSION="3.3.0",c.DEFAULTS={loadingText:"loading..."},c.prototype.setState=function(b){var c="disabled",d=this.$element,e=d.is("input")?"val":"html",f=d.data();b+="Text",null==f.resetText&&d.data("resetText",d[e]()),setTimeout(a.proxy(function(){d[e](null==f[b]?this.options[b]:f[b]),"loadingText"==b?(this.isLoading=!0,d.addClass(c).attr(c,c)):this.isLoading&&(this.isLoading=!1,d.removeClass(c).removeAttr(c))},this),0)},c.prototype.toggle=function(){var a=!0,b=this.$element.closest('[data-toggle="buttons"]');if(b.length){var c=this.$element.find("input");"radio"==c.prop("type")&&(c.prop("checked")&&this.$element.hasClass("active")?a=!1:b.find(".active").removeClass("active")),a&&c.prop("checked",!this.$element.hasClass("active")).trigger("change")}else this.$element.attr("aria-pressed",!this.$element.hasClass("active"));a&&this.$element.toggleClass("active")};var d=a.fn.button;a.fn.button=b,a.fn.button.Constructor=c,a.fn.button.noConflict=function(){return a.fn.button=d,this},a(document).on("click.bs.button.data-api",'[data-toggle^="button"]',function(c){var d=a(c.target);d.hasClass("btn")||(d=d.closest(".btn")),b.call(d,"toggle"),c.preventDefault()}).on("focus.bs.button.data-api blur.bs.button.data-api",'[data-toggle^="button"]',function(b){a(b.target).closest(".btn").toggleClass("focus","focus"==b.type)})}(jQuery),+function(a){"use strict";function b(b){return this.each(function(){var d=a(this),e=d.data("bs.carousel"),f=a.extend({},c.DEFAULTS,d.data(),"object"==typeof b&&b),g="string"==typeof b?b:f.slide;e||d.data("bs.carousel",e=new c(this,f)),"number"==typeof b?e.to(b):g?e[g]():f.interval&&e.pause().cycle()})}var c=function(b,c){this.$element=a(b),this.$indicators=this.$element.find(".carousel-indicators"),this.options=c,this.paused=this.sliding=this.interval=this.$active=this.$items=null,this.options.keyboard&&this.$element.on("keydown.bs.carousel",a.proxy(this.keydown,this)),"hover"==this.options.pause&&!("ontouchstart"in document.documentElement)&&this.$element.on("mouseenter.bs.carousel",a.proxy(this.pause,this)).on("mouseleave.bs.carousel",a.proxy(this.cycle,this))};c.VERSION="3.3.0",c.TRANSITION_DURATION=600,c.DEFAULTS={interval:5e3,pause:"hover",wrap:!0,keyboard:!0},c.prototype.keydown=function(a){switch(a.which){case 37:this.prev();break;case 39:this.next();break;default:return}a.preventDefault()},c.prototype.cycle=function(b){return b||(this.paused=!1),this.interval&&clearInterval(this.interval),this.options.interval&&!this.paused&&(this.interval=setInterval(a.proxy(this.next,this),this.options.interval)),this},c.prototype.getItemIndex=function(a){return this.$items=a.parent().children(".item"),this.$items.index(a||this.$active)},c.prototype.getItemForDirection=function(a,b){var c="prev"==a?-1:1,d=this.getItemIndex(b),e=(d+c)%this.$items.length;return this.$items.eq(e)},c.prototype.to=function(a){var b=this,c=this.getItemIndex(this.$active=this.$element.find(".item.active"));return a>this.$items.length-1||0>a?void 0:this.sliding?this.$element.one("slid.bs.carousel",function(){b.to(a)}):c==a?this.pause().cycle():this.slide(a>c?"next":"prev",this.$items.eq(a))},c.prototype.pause=function(b){return b||(this.paused=!0),this.$element.find(".next, .prev").length&&a.support.transition&&(this.$element.trigger(a.support.transition.end),this.cycle(!0)),this.interval=clearInterval(this.interval),this},c.prototype.next=function(){return this.sliding?void 0:this.slide("next")},c.prototype.prev=function(){return this.sliding?void 0:this.slide("prev")},c.prototype.slide=function(b,d){var e=this.$element.find(".item.active"),f=d||this.getItemForDirection(b,e),g=this.interval,h="next"==b?"left":"right",i="next"==b?"first":"last",j=this;if(!f.length){if(!this.options.wrap)return;f=this.$element.find(".item")[i]()}if(f.hasClass("active"))return this.sliding=!1;var k=f[0],l=a.Event("slide.bs.carousel",{relatedTarget:k,direction:h});if(this.$element.trigger(l),!l.isDefaultPrevented()){if(this.sliding=!0,g&&this.pause(),this.$indicators.length){this.$indicators.find(".active").removeClass("active");var m=a(this.$indicators.children()[this.getItemIndex(f)]);m&&m.addClass("active")}var n=a.Event("slid.bs.carousel",{relatedTarget:k,direction:h});return a.support.transition&&this.$element.hasClass("slide")?(f.addClass(b),f[0].offsetWidth,e.addClass(h),f.addClass(h),e.one("bsTransitionEnd",function(){f.removeClass([b,h].join(" ")).addClass("active"),e.removeClass(["active",h].join(" ")),j.sliding=!1,setTimeout(function(){j.$element.trigger(n)},0)}).emulateTransitionEnd(c.TRANSITION_DURATION)):(e.removeClass("active"),f.addClass("active"),this.sliding=!1,this.$element.trigger(n)),g&&this.cycle(),this}};var d=a.fn.carousel;a.fn.carousel=b,a.fn.carousel.Constructor=c,a.fn.carousel.noConflict=function(){return a.fn.carousel=d,this};var e=function(c){var d,e=a(this),f=a(e.attr("data-target")||(d=e.attr("href"))&&d.replace(/.*(?=#[^\s]+$)/,""));if(f.hasClass("carousel")){var g=a.extend({},f.data(),e.data()),h=e.attr("data-slide-to");h&&(g.interval=!1),b.call(f,g),h&&f.data("bs.carousel").to(h),c.preventDefault()}};a(document).on("click.bs.carousel.data-api","[data-slide]",e).on("click.bs.carousel.data-api","[data-slide-to]",e),a(window).on("load",function(){a('[data-ride="carousel"]').each(function(){var c=a(this);b.call(c,c.data())})})}(jQuery),+function(a){"use strict";function b(b){var c,d=b.attr("data-target")||(c=b.attr("href"))&&c.replace(/.*(?=#[^\s]+$)/,"");return a(d)}function c(b){return this.each(function(){var c=a(this),e=c.data("bs.collapse"),f=a.extend({},d.DEFAULTS,c.data(),"object"==typeof b&&b);!e&&f.toggle&&"show"==b&&(f.toggle=!1),e||c.data("bs.collapse",e=new d(this,f)),"string"==typeof b&&e[b]()})}var d=function(b,c){this.$element=a(b),this.options=a.extend({},d.DEFAULTS,c),this.$trigger=a(this.options.trigger).filter('[href="#'+b.id+'"], [data-target="#'+b.id+'"]'),this.transitioning=null,this.options.parent?this.$parent=this.getParent():this.addAriaAndCollapsedClass(this.$element,this.$trigger),this.options.toggle&&this.toggle()};d.VERSION="3.3.0",d.TRANSITION_DURATION=350,d.DEFAULTS={toggle:!0,trigger:'[data-toggle="collapse"]'},d.prototype.dimension=function(){var a=this.$element.hasClass("width");return a?"width":"height"},d.prototype.show=function(){if(!this.transitioning&&!this.$element.hasClass("in")){var b,e=this.$parent&&this.$parent.find("> .panel").children(".in, .collapsing");if(!(e&&e.length&&(b=e.data("bs.collapse"),b&&b.transitioning))){var f=a.Event("show.bs.collapse");if(this.$element.trigger(f),!f.isDefaultPrevented()){e&&e.length&&(c.call(e,"hide"),b||e.data("bs.collapse",null));var g=this.dimension();this.$element.removeClass("collapse").addClass("collapsing")[g](0).attr("aria-expanded",!0),this.$trigger.removeClass("collapsed").attr("aria-expanded",!0),this.transitioning=1;var h=function(){this.$element.removeClass("collapsing").addClass("collapse in")[g](""),this.transitioning=0,this.$element.trigger("shown.bs.collapse")};if(!a.support.transition)return h.call(this);var i=a.camelCase(["scroll",g].join("-"));this.$element.one("bsTransitionEnd",a.proxy(h,this)).emulateTransitionEnd(d.TRANSITION_DURATION)[g](this.$element[0][i])}}}},d.prototype.hide=function(){if(!this.transitioning&&this.$element.hasClass("in")){var b=a.Event("hide.bs.collapse");if(this.$element.trigger(b),!b.isDefaultPrevented()){var c=this.dimension();this.$element[c](this.$element[c]())[0].offsetHeight,this.$element.addClass("collapsing").removeClass("collapse in").attr("aria-expanded",!1),this.$trigger.addClass("collapsed").attr("aria-expanded",!1),this.transitioning=1;var e=function(){this.transitioning=0,this.$element.removeClass("collapsing").addClass("collapse").trigger("hidden.bs.collapse")};return a.support.transition?void this.$element[c](0).one("bsTransitionEnd",a.proxy(e,this)).emulateTransitionEnd(d.TRANSITION_DURATION):e.call(this)}}},d.prototype.toggle=function(){this[this.$element.hasClass("in")?"hide":"show"]()},d.prototype.getParent=function(){return a(this.options.parent).find('[data-toggle="collapse"][data-parent="'+this.options.parent+'"]').each(a.proxy(function(c,d){var e=a(d);this.addAriaAndCollapsedClass(b(e),e)},this)).end()},d.prototype.addAriaAndCollapsedClass=function(a,b){var c=a.hasClass("in");a.attr("aria-expanded",c),b.toggleClass("collapsed",!c).attr("aria-expanded",c)};var e=a.fn.collapse;a.fn.collapse=c,a.fn.collapse.Constructor=d,a.fn.collapse.noConflict=function(){return a.fn.collapse=e,this},a(document).on("click.bs.collapse.data-api",'[data-toggle="collapse"]',function(d){var e=a(this);e.attr("data-target")||d.preventDefault();var f=b(e),g=f.data("bs.collapse"),h=g?"toggle":a.extend({},e.data(),{trigger:this});c.call(f,h)})}(jQuery),+function(a){"use strict";function b(b){b&&3===b.which||(a(e).remove(),a(f).each(function(){var d=a(this),e=c(d),f={relatedTarget:this};e.hasClass("open")&&(e.trigger(b=a.Event("hide.bs.dropdown",f)),b.isDefaultPrevented()||(d.attr("aria-expanded","false"),e.removeClass("open").trigger("hidden.bs.dropdown",f)))}))}function c(b){var c=b.attr("data-target");c||(c=b.attr("href"),c=c&&/#[A-Za-z]/.test(c)&&c.replace(/.*(?=#[^\s]*$)/,""));var d=c&&a(c);return d&&d.length?d:b.parent()}function d(b){return this.each(function(){var c=a(this),d=c.data("bs.dropdown");d||c.data("bs.dropdown",d=new g(this)),"string"==typeof b&&d[b].call(c)})}var e=".dropdown-backdrop",f='[data-toggle="dropdown"]',g=function(b){a(b).on("click.bs.dropdown",this.toggle)};g.VERSION="3.3.0",g.prototype.toggle=function(d){var e=a(this);if(!e.is(".disabled, :disabled")){var f=c(e),g=f.hasClass("open");if(b(),!g){"ontouchstart"in document.documentElement&&!f.closest(".navbar-nav").length&&a('
    '+x(a[s])+"
    执行结果为空
    a",k.leadingWhitespace=3===b.firstChild.nodeType,k.tbody=!b.getElementsByTagName("tbody").length,k.htmlSerialize=!!b.getElementsByTagName("link").length,k.html5Clone="<:nav>"!==y.createElement("nav").cloneNode(!0).outerHTML,a.type="checkbox",a.checked=!0,c.appendChild(a),k.appendChecked=a.checked,b.innerHTML="",k.noCloneChecked=!!b.cloneNode(!0).lastChild.defaultValue,c.appendChild(b),b.innerHTML="",k.checkClone=b.cloneNode(!0).cloneNode(!0).lastChild.checked,k.noCloneEvent=!0,b.attachEvent&&(b.attachEvent("onclick",function(){k.noCloneEvent=!1}),b.cloneNode(!0).click()),null==k.deleteExpando){k.deleteExpando=!0;try{delete b.test}catch(d){k.deleteExpando=!1}}}(),function(){var b,c,d=y.createElement("div");for(b in{submit:!0,change:!0,focusin:!0})c="on"+b,(k[b+"Bubbles"]=c in a)||(d.setAttribute(c,"t"),k[b+"Bubbles"]=d.attributes[c].expando===!1);d=null}();var X=/^(?:input|select|textarea)$/i,Y=/^key/,Z=/^(?:mouse|pointer|contextmenu)|click/,$=/^(?:focusinfocus|focusoutblur)$/,_=/^([^.]*)(?:\.(.+)|)$/;function ab(){return!0}function bb(){return!1}function cb(){try{return y.activeElement}catch(a){}}m.event={global:{},add:function(a,b,c,d,e){var f,g,h,i,j,k,l,n,o,p,q,r=m._data(a);if(r){c.handler&&(i=c,c=i.handler,e=i.selector),c.guid||(c.guid=m.guid++),(g=r.events)||(g=r.events={}),(k=r.handle)||(k=r.handle=function(a){return typeof m===K||a&&m.event.triggered===a.type?void 0:m.event.dispatch.apply(k.elem,arguments)},k.elem=a),b=(b||"").match(E)||[""],h=b.length;while(h--)f=_.exec(b[h])||[],o=q=f[1],p=(f[2]||"").split(".").sort(),o&&(j=m.event.special[o]||{},o=(e?j.delegateType:j.bindType)||o,j=m.event.special[o]||{},l=m.extend({type:o,origType:q,data:d,handler:c,guid:c.guid,selector:e,needsContext:e&&m.expr.match.needsContext.test(e),namespace:p.join(".")},i),(n=g[o])||(n=g[o]=[],n.delegateCount=0,j.setup&&j.setup.call(a,d,p,k)!==!1||(a.addEventListener?a.addEventListener(o,k,!1):a.attachEvent&&a.attachEvent("on"+o,k))),j.add&&(j.add.call(a,l),l.handler.guid||(l.handler.guid=c.guid)),e?n.splice(n.delegateCount++,0,l):n.push(l),m.event.global[o]=!0);a=null}},remove:function(a,b,c,d,e){var f,g,h,i,j,k,l,n,o,p,q,r=m.hasData(a)&&m._data(a);if(r&&(k=r.events)){b=(b||"").match(E)||[""],j=b.length;while(j--)if(h=_.exec(b[j])||[],o=q=h[1],p=(h[2]||"").split(".").sort(),o){l=m.event.special[o]||{},o=(d?l.delegateType:l.bindType)||o,n=k[o]||[],h=h[2]&&new RegExp("(^|\\.)"+p.join("\\.(?:.*\\.|)")+"(\\.|$)"),i=f=n.length;while(f--)g=n[f],!e&&q!==g.origType||c&&c.guid!==g.guid||h&&!h.test(g.namespace)||d&&d!==g.selector&&("**"!==d||!g.selector)||(n.splice(f,1),g.selector&&n.delegateCount--,l.remove&&l.remove.call(a,g));i&&!n.length&&(l.teardown&&l.teardown.call(a,p,r.handle)!==!1||m.removeEvent(a,o,r.handle),delete k[o])}else for(o in k)m.event.remove(a,o+b[j],c,d,!0);m.isEmptyObject(k)&&(delete r.handle,m._removeData(a,"events"))}},trigger:function(b,c,d,e){var f,g,h,i,k,l,n,o=[d||y],p=j.call(b,"type")?b.type:b,q=j.call(b,"namespace")?b.namespace.split("."):[];if(h=l=d=d||y,3!==d.nodeType&&8!==d.nodeType&&!$.test(p+m.event.triggered)&&(p.indexOf(".")>=0&&(q=p.split("."),p=q.shift(),q.sort()),g=p.indexOf(":")<0&&"on"+p,b=b[m.expando]?b:new m.Event(p,"object"==typeof b&&b),b.isTrigger=e?2:3,b.namespace=q.join("."),b.namespace_re=b.namespace?new RegExp("(^|\\.)"+q.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,b.result=void 0,b.target||(b.target=d),c=null==c?[b]:m.makeArray(c,[b]),k=m.event.special[p]||{},e||!k.trigger||k.trigger.apply(d,c)!==!1)){if(!e&&!k.noBubble&&!m.isWindow(d)){for(i=k.delegateType||p,$.test(i+p)||(h=h.parentNode);h;h=h.parentNode)o.push(h),l=h;l===(d.ownerDocument||y)&&o.push(l.defaultView||l.parentWindow||a)}n=0;while((h=o[n++])&&!b.isPropagationStopped())b.type=n>1?i:k.bindType||p,f=(m._data(h,"events")||{})[b.type]&&m._data(h,"handle"),f&&f.apply(h,c),f=g&&h[g],f&&f.apply&&m.acceptData(h)&&(b.result=f.apply(h,c),b.result===!1&&b.preventDefault());if(b.type=p,!e&&!b.isDefaultPrevented()&&(!k._default||k._default.apply(o.pop(),c)===!1)&&m.acceptData(d)&&g&&d[p]&&!m.isWindow(d)){l=d[g],l&&(d[g]=null),m.event.triggered=p;try{d[p]()}catch(r){}m.event.triggered=void 0,l&&(d[g]=l)}return b.result}},dispatch:function(a){a=m.event.fix(a);var b,c,e,f,g,h=[],i=d.call(arguments),j=(m._data(this,"events")||{})[a.type]||[],k=m.event.special[a.type]||{};if(i[0]=a,a.delegateTarget=this,!k.preDispatch||k.preDispatch.call(this,a)!==!1){h=m.event.handlers.call(this,a,j),b=0;while((f=h[b++])&&!a.isPropagationStopped()){a.currentTarget=f.elem,g=0;while((e=f.handlers[g++])&&!a.isImmediatePropagationStopped())(!a.namespace_re||a.namespace_re.test(e.namespace))&&(a.handleObj=e,a.data=e.data,c=((m.event.special[e.origType]||{}).handle||e.handler).apply(f.elem,i),void 0!==c&&(a.result=c)===!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(1===i.nodeType&&(i.disabled!==!0||"click"!==a.type)){for(e=[],f=0;h>f;f++)d=b[f],c=d.selector+" ",void 0===e[c]&&(e[c]=d.needsContext?m(c,this).index(i)>=0:m.find(c,this,null,[i]).length),e[c]&&e.push(d);e.length&&g.push({elem:i,handlers:e})}return h]","i"),hb=/^\s+/,ib=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,jb=/<([\w:]+)/,kb=/\s*$/g,rb={option:[1,""],legend:[1,"
    ","
    "],area:[1,"",""],param:[1,"",""],thead:[1,"","
    "],tr:[2,"","
    "],col:[2,"","
    "],td:[3,"","
    "],_default:k.htmlSerialize?[0,"",""]:[1,"X
    ","
    "]},sb=db(y),tb=sb.appendChild(y.createElement("div"));rb.optgroup=rb.option,rb.tbody=rb.tfoot=rb.colgroup=rb.caption=rb.thead,rb.th=rb.td;function ub(a,b){var c,d,e=0,f=typeof a.getElementsByTagName!==K?a.getElementsByTagName(b||"*"):typeof a.querySelectorAll!==K?a.querySelectorAll(b||"*"):void 0;if(!f)for(f=[],c=a.childNodes||a;null!=(d=c[e]);e++)!b||m.nodeName(d,b)?f.push(d):m.merge(f,ub(d,b));return void 0===b||b&&m.nodeName(a,b)?m.merge([a],f):f}function vb(a){W.test(a.type)&&(a.defaultChecked=a.checked)}function wb(a,b){return m.nodeName(a,"table")&&m.nodeName(11!==b.nodeType?b:b.firstChild,"tr")?a.getElementsByTagName("tbody")[0]||a.appendChild(a.ownerDocument.createElement("tbody")):a}function xb(a){return a.type=(null!==m.find.attr(a,"type"))+"/"+a.type,a}function yb(a){var b=pb.exec(a.type);return b?a.type=b[1]:a.removeAttribute("type"),a}function zb(a,b){for(var c,d=0;null!=(c=a[d]);d++)m._data(c,"globalEval",!b||m._data(b[d],"globalEval"))}function Ab(a,b){if(1===b.nodeType&&m.hasData(a)){var c,d,e,f=m._data(a),g=m._data(b,f),h=f.events;if(h){delete g.handle,g.events={};for(c in h)for(d=0,e=h[c].length;e>d;d++)m.event.add(b,c,h[c][d])}g.data&&(g.data=m.extend({},g.data))}}function Bb(a,b){var c,d,e;if(1===b.nodeType){if(c=b.nodeName.toLowerCase(),!k.noCloneEvent&&b[m.expando]){e=m._data(b);for(d in e.events)m.removeEvent(b,d,e.handle);b.removeAttribute(m.expando)}"script"===c&&b.text!==a.text?(xb(b).text=a.text,yb(b)):"object"===c?(b.parentNode&&(b.outerHTML=a.outerHTML),k.html5Clone&&a.innerHTML&&!m.trim(b.innerHTML)&&(b.innerHTML=a.innerHTML)):"input"===c&&W.test(a.type)?(b.defaultChecked=b.checked=a.checked,b.value!==a.value&&(b.value=a.value)):"option"===c?b.defaultSelected=b.selected=a.defaultSelected:("input"===c||"textarea"===c)&&(b.defaultValue=a.defaultValue)}}m.extend({clone:function(a,b,c){var d,e,f,g,h,i=m.contains(a.ownerDocument,a);if(k.html5Clone||m.isXMLDoc(a)||!gb.test("<"+a.nodeName+">")?f=a.cloneNode(!0):(tb.innerHTML=a.outerHTML,tb.removeChild(f=tb.firstChild)),!(k.noCloneEvent&&k.noCloneChecked||1!==a.nodeType&&11!==a.nodeType||m.isXMLDoc(a)))for(d=ub(f),h=ub(a),g=0;null!=(e=h[g]);++g)d[g]&&Bb(e,d[g]);if(b)if(c)for(h=h||ub(a),d=d||ub(f),g=0;null!=(e=h[g]);g++)Ab(e,d[g]);else Ab(a,f);return d=ub(f,"script"),d.length>0&&zb(d,!i&&ub(a,"script")),d=h=e=null,f},buildFragment:function(a,b,c,d){for(var e,f,g,h,i,j,l,n=a.length,o=db(b),p=[],q=0;n>q;q++)if(f=a[q],f||0===f)if("object"===m.type(f))m.merge(p,f.nodeType?[f]:f);else if(lb.test(f)){h=h||o.appendChild(b.createElement("div")),i=(jb.exec(f)||["",""])[1].toLowerCase(),l=rb[i]||rb._default,h.innerHTML=l[1]+f.replace(ib,"<$1>")+l[2],e=l[0];while(e--)h=h.lastChild;if(!k.leadingWhitespace&&hb.test(f)&&p.push(b.createTextNode(hb.exec(f)[0])),!k.tbody){f="table"!==i||kb.test(f)?""!==l[1]||kb.test(f)?0:h:h.firstChild,e=f&&f.childNodes.length;while(e--)m.nodeName(j=f.childNodes[e],"tbody")&&!j.childNodes.length&&f.removeChild(j)}m.merge(p,h.childNodes),h.textContent="";while(h.firstChild)h.removeChild(h.firstChild);h=o.lastChild}else p.push(b.createTextNode(f));h&&o.removeChild(h),k.appendChecked||m.grep(ub(p,"input"),vb),q=0;while(f=p[q++])if((!d||-1===m.inArray(f,d))&&(g=m.contains(f.ownerDocument,f),h=ub(o.appendChild(f),"script"),g&&zb(h),c)){e=0;while(f=h[e++])ob.test(f.type||"")&&c.push(f)}return h=null,o},cleanData:function(a,b){for(var d,e,f,g,h=0,i=m.expando,j=m.cache,l=k.deleteExpando,n=m.event.special;null!=(d=a[h]);h++)if((b||m.acceptData(d))&&(f=d[i],g=f&&j[f])){if(g.events)for(e in g.events)n[e]?m.event.remove(d,e):m.removeEvent(d,e,g.handle);j[f]&&(delete j[f],l?delete d[i]:typeof d.removeAttribute!==K?d.removeAttribute(i):d[i]=null,c.push(f))}}}),m.fn.extend({text:function(a){return V(this,function(a){return void 0===a?m.text(this):this.empty().append((this[0]&&this[0].ownerDocument||y).createTextNode(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=wb(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=wb(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?m.filter(a,this):this,e=0;null!=(c=d[e]);e++)b||1!==c.nodeType||m.cleanData(ub(c)),c.parentNode&&(b&&m.contains(c.ownerDocument,c)&&zb(ub(c,"script")),c.parentNode.removeChild(c));return this},empty:function(){for(var a,b=0;null!=(a=this[b]);b++){1===a.nodeType&&m.cleanData(ub(a,!1));while(a.firstChild)a.removeChild(a.firstChild);a.options&&m.nodeName(a,"select")&&(a.options.length=0)}return this},clone:function(a,b){return a=null==a?!1:a,b=null==b?a:b,this.map(function(){return m.clone(this,a,b)})},html:function(a){return V(this,function(a){var b=this[0]||{},c=0,d=this.length;if(void 0===a)return 1===b.nodeType?b.innerHTML.replace(fb,""):void 0;if(!("string"!=typeof a||mb.test(a)||!k.htmlSerialize&&gb.test(a)||!k.leadingWhitespace&&hb.test(a)||rb[(jb.exec(a)||["",""])[1].toLowerCase()])){a=a.replace(ib,"<$1>");try{for(;d>c;c++)b=this[c]||{},1===b.nodeType&&(m.cleanData(ub(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,m.cleanData(ub(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,n=this,o=l-1,p=a[0],q=m.isFunction(p);if(q||l>1&&"string"==typeof p&&!k.checkClone&&nb.test(p))return this.each(function(c){var d=n.eq(c);q&&(a[0]=p.call(this,c,d.html())),d.domManip(a,b)});if(l&&(i=m.buildFragment(a,this[0].ownerDocument,!1,this),c=i.firstChild,1===i.childNodes.length&&(i=c),c)){for(g=m.map(ub(i,"script"),xb),f=g.length;l>j;j++)d=i,j!==o&&(d=m.clone(d,!0,!0),f&&m.merge(g,ub(d,"script"))),b.call(this[j],d,j);if(f)for(h=g[g.length-1].ownerDocument,m.map(g,yb),j=0;f>j;j++)d=g[j],ob.test(d.type||"")&&!m._data(d,"globalEval")&&m.contains(h,d)&&(d.src?m._evalUrl&&m._evalUrl(d.src):m.globalEval((d.text||d.textContent||d.innerHTML||"").replace(qb,"")));i=c=null}return this}}),m.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(a,b){m.fn[a]=function(a){for(var c,d=0,e=[],g=m(a),h=g.length-1;h>=d;d++)c=d===h?this:this.clone(!0),m(g[d])[b](c),f.apply(e,c.get());return this.pushStack(e)}});var Cb,Db={};function Eb(b,c){var d,e=m(c.createElement(b)).appendTo(c.body),f=a.getDefaultComputedStyle&&(d=a.getDefaultComputedStyle(e[0]))?d.display:m.css(e[0],"display");return e.detach(),f}function Fb(a){var b=y,c=Db[a];return c||(c=Eb(a,b),"none"!==c&&c||(Cb=(Cb||m("