diff --git a/php/api/products/create.php b/php/api/products/create.php index 716a742..a602f46 100644 --- a/php/api/products/create.php +++ b/php/api/products/create.php @@ -13,5 +13,8 @@ $request->CategoryID = $catId; $result = $result->create("Products", $write_columns, $request, $productIdField); - echo json_encode($request); + + $data = new stdClass; + $data->data = $request; + echo json_encode($data); ?> diff --git a/php/css/Bootstrap/sprite.png b/php/css/Bootstrap/sprite.png index bd6a9a1..110eb1a 100644 Binary files a/php/css/Bootstrap/sprite.png and b/php/css/Bootstrap/sprite.png differ diff --git a/php/css/Bootstrap/sprite@2x.png b/php/css/Bootstrap/sprite@2x.png new file mode 100644 index 0000000..e1ca0c2 Binary files /dev/null and b/php/css/Bootstrap/sprite@2x.png differ diff --git a/php/css/Default/sprite.png b/php/css/Default/sprite.png index 5f74f47..dbed587 100644 Binary files a/php/css/Default/sprite.png and b/php/css/Default/sprite.png differ diff --git a/php/css/Default/sprite@2x.png b/php/css/Default/sprite@2x.png new file mode 100644 index 0000000..b1e3ff1 Binary files /dev/null and b/php/css/Default/sprite@2x.png differ diff --git a/php/css/kendo.bootstrap.min.css b/php/css/kendo.bootstrap.min.css index ca434ec..35abdd4 100644 --- a/php/css/kendo.bootstrap.min.css +++ b/php/css/kendo.bootstrap.min.css @@ -1,9 +1,9 @@ /* -* Kendo UI Complete v2012.3.1411 (http://kendoui.com) +* Kendo UI Complete v2013.1.319 (http://kendoui.com) * Copyright 2013 Telerik AD. All rights reserved. * * Kendo UI Complete commercial licenses may be obtained at * https://www.kendoui.com/purchase/license-agreement/kendo-ui-complete-commercial.aspx * If you do not own a commercial license, this file shall be governed by the trial license terms. */ -.k-in,.k-item,.k-window-action{border-color:transparent}.k-block,.k-widget{background-color:#fff}.k-block,.k-widget,.k-input,.k-textbox,.k-group,.k-content,.k-header,.k-editable-area,.k-separator,.k-colorpicker .k-i-arrow-s,.k-textbox>input,.k-autocomplete,.k-dropdown-wrap,.k-toolbar,.k-group-footer td,.k-grid-footer,.k-footer-template td,.k-state-default,.k-state-default .k-select,.k-state-disabled,.k-grid-header-wrap,.k-grid-header,.k-grid td,.k-grid td.k-state-selected,.k-grid-footer-wrap,.k-pager-wrap,.k-pager-wrap .k-link,.k-pager-refresh,.k-grouping-header,.k-grouping-header .k-group-indicator,.k-panelbar>.k-item>.k-link,.k-panel>.k-item>.k-link,.k-panelbar .k-panel,.k-panelbar .k-content,.k-calendar th,.k-slider-track,.k-splitbar,.k-dropzone-active,.k-upload-files,.k-tiles,.k-toolbar,.k-tooltip,.k-progress{border-color:rgba(0,0,0,0.15) rgba(0,0,0,0.15) rgba(0,0,0,0.25)}.k-group,.k-toolbar,.k-grouping-header,.k-pager-wrap,.k-group-footer td,.k-grid-footer,.k-footer-template td,.k-widget .k-status,.k-grouping-row td,td.k-group-cell,.k-calendar th,.k-dropzone-hovered,.k-upload-files,.k-widget.k-popup{background-color:#fff}.k-list-container{border-color:rgba(0,0,0,0.2);background-color:#f5f5f5}.k-content,.k-editable-area,.k-panelbar>li.k-item,.k-panel>li.k-item,.k-tiles{background-color:#fff}.k-alt,.k-separator{background-color:#f5f5f5}.k-widget .k-dropdown-wrap,.k-widget .k-picker-wrap,.k-widget .k-numeric-wrap,.k-textbox,.k-autocomplete.k-header,.k-autocomplete.k-state-focused,.k-dropdown-wrap.k-state-active,.k-dropdown-wrap.k-state-focused.k-state-active,.k-picker-wrap.k-state-active,.k-picker-wrap.k-state-focused,.k-numeric-wrap.k-state-active,.k-numeric-wrap.k-state-focused{border-color:rgba(0,0,0,0.15) rgba(0,0,0,0.15) rgba(0,0,0,0.25);background-color:#f5f5f5}.k-textbox>input,.k-autocomplete .k-input,.k-dropdown-wrap .k-input,.k-autocomplete.k-state-focused .k-input,.k-dropdown-wrap.k-state-focused .k-input,.k-picker-wrap.k-state-focused .k-input,.k-numeric-wrap.k-state-focused .k-input{border-color:rgba(0,0,0,0.15) rgba(0,0,0,0.15) rgba(0,0,0,0.25)}input.k-textbox,textarea.k-textbox,input.k-textbox:hover,textarea.k-textbox:hover,.k-textbox>input{background:0}.k-input,input.k-textbox,textarea.k-textbox,input.k-textbox:hover,textarea.k-textbox:hover,.k-textbox>input{background-color:#fff;color:#333}.k-input[readonly]{background-color:#fff;color:#333}.k-block,.k-widget,.k-popup,.k-content,.k-dropdown .k-input{color:#333}.k-link:link,.k-link:visited{color:#333}.k-tabstrip-items .k-link,.k-panelbar>li>.k-link{color:#333}.k-header{color:#333}.k-header,.k-grid-header,.k-toolbar,.k-dropdown-wrap,.k-picker-wrap,.k-grouping-header,.k-pager-wrap,.k-textbox,.k-button,.k-draghandle,.k-autocomplete,.k-state-highlight,.k-tabstrip-items .k-item{background-image:url('textures/highlight.png');background-image:none,-webkit-linear-gradient(top,#fff 0,#e6e6e6 100%);background-image:none,-moz-linear-gradient(top,#fff 0,#e6e6e6 100%);background-image:none,-o-linear-gradient(top,#fff 0,#e6e6e6 100%);background-image:none,linear-gradient(to bottom,#fff 0,#e6e6e6 100%);background-position:50% 50%}.k-tabstrip-items .k-state-active{background:#fff}.k-widget.k-tooltip{background-image:none}.k-block,.k-header,.k-grid-header,.k-toolbar,.k-grouping-header,.k-pager-wrap,.k-button,.k-draghandle{background-color:#f5f5f5}.k-icon,.k-column-menu .k-sprite{opacity:1}.k-icon:hover,.k-state-hover .k-icon,.k-state-selected .k-icon,.k-state-focused .k-icon,.k-column-menu .k-state-hover .k-sprite,.k-column-menu .k-state-active .k-sprite{opacity:1}.k-icon,.k-tool-icon,.k-grouping-dropclue,.k-drop-hint,.k-callout,.k-column-menu .k-sprite{background-image:url('Bootstrap/sprite.png');border-color:transparent}.k-loading,.k-state-hover .k-loading{background-image:url('Bootstrap/loading.gif');background-position:50% 50%}.k-loading-image{background-image:url('Bootstrap/loading-image.gif')}.k-loading-color{background-color:#fff}.k-button{color:#333}.k-button,.k-button.k-state-disabled:hover,.k-state-disabled .k-button:hover,.k-button.k-state-disabled:active,.k-state-disabled .k-button:active{border-color:rgba(0,0,0,0.15) rgba(0,0,0,0.15) rgba(0,0,0,0.25);background-color:#f5f5f5}.k-button:hover{color:#fff;border-color:rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25);background-color:#006dcc}.k-draghandle{border-color:rgba(0,0,0,0.15) rgba(0,0,0,0.15) rgba(0,0,0,0.25);background-color:#fff;-webkit-box-shadow:none;box-shadow:none}.k-draghandle:hover{border-color:rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25);background-color:#006dcc;-webkit-box-shadow:none;box-shadow:none}.k-state-active,.k-state-active:hover,.k-active-filter{background-color:#fff;border-color:#006dcc;color:#333}.k-menu .k-state-hover>.k-state-active{background-color:transparent}.k-state-highlight{background-color:#fff;color:#333}.k-state-focused,.k-grouping-row .k-state-focused{background-color:#006dcc;border-color:rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25);color:#fff}.k-state-selected,.k-state-selected:link,.k-list>.k-state-selected,.k-list>.k-state-focused,.k-list>.k-state-highlight,.k-panel>.k-state-selected,.k-button:active,.k-ghost-splitbar-vertical,.k-ghost-splitbar-horizontal,.k-draghandle.k-state-selected:hover{color:#fff;background-color:#04c;border-color:rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25)}.k-state-selected.k-state-focused,.k-state-selected.k-state-highlight{background-color:#0036a3;border-color:#0036a3}.k-state-selected>.k-link,.k-panelbar>li>.k-state-selected{color:#fff}.k-state-selected,.k-button:active,.k-draghandle.k-state-selected:hover{background-image:none;background-position:50% 50%}.k-state-hover,.k-splitbar-horizontal-hover:hover,.k-splitbar-vertical-hover:hover,.k-list>.k-state-hover,.k-marquee,.k-pager-wrap .k-link:hover,.k-dropdown .k-state-focused,.k-imagebrowser-dropzone{color:#fff;background-color:#006dcc;border-color:rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25)}.k-button:hover,.k-textbox:hover,.k-state-hover,.k-state-hover:hover,.k-pager-wrap .k-link:hover,.k-other-month.k-state-hover .k-link,div.k-imagebrowser-dropzone em,.k-draghandle:hover{background-image:url('textures/highlight.png');background-image:none,-webkit-linear-gradient(top,#08c 0,#04c 100%);background-image:none,-moz-linear-gradient(top,#08c 0,#04c 100%);background-image:none,-o-linear-gradient(top,#08c 0,#04c 100%);background-image:none,linear-gradient(to bottom,#08c 0,#04c 100%)}.k-autocomplete.k-state-active,.k-picker-wrap.k-state-active,.k-numeric-wrap.k-state-active,.k-dropdown-wrap.k-state-active,.k-state-active,.k-state-active:hover,.k-state-active>.k-link,.k-button:active,.k-panelbar>.k-item>.k-state-focused{background-image:none}.k-tool-icon,.k-tool-icon.k-state-hover,.k-tool-icon.k-state-active,.k-tool-icon.k-state-active.k-state-hover{background-image:url('Bootstrap/sprite.png')}.k-state-hover>.k-link,.k-other-month.k-state-hover .k-link,div.k-imagebrowser-dropzone em{color:#fff}.k-autocomplete.k-state-hover,.k-picker-wrap.k-state-hover,.k-numeric-wrap.k-state-hover,.k-dropdown-wrap.k-state-hover,.k-dropdown-wrap.k-state-hover.k-state-focused{background-color:#006dcc;background-image:url('textures/highlight.png');background-image:none,-webkit-linear-gradient(top,#08c 0,#04c 100%);background-image:none,-moz-linear-gradient(top,#08c 0,#04c 100%);background-image:none,-o-linear-gradient(top,#08c 0,#04c 100%);background-image:none,linear-gradient(to bottom,#08c 0,#04c 100%);background-position:50% 50%;border-color:rgba(0,0,0,0.15) rgba(0,0,0,0.15) rgba(0,0,0,0.25)}.k-calendar .k-state-selected.k-state-focused>.k-link{background-color:transparent}.k-dropdown .k-state-focused .k-input{color:#333}.k-dropdown .k-state-hover .k-input{color:#fff}.k-state-error{border-color:#eed3d7;background-color:#f2dede;color:#b94a48}.k-state-disabled{filter:alpha(opacity=70);opacity:.7}.k-tile-empty.k-state-selected,.k-loading-mask.k-state-selected{border-width:0;background-image:none;background-color:transparent}.k-state-disabled,.k-state-disabled .k-link,.k-state-disabled .k-button,.k-button.k-state-disabled:active,.k-other-month .k-link,.k-dropzone em,.k-tile-empty strong,.k-slider .k-draghandle{color:#999}.k-slider-track{background-color:rgba(0,0,0,0.15) rgba(0,0,0,0.15) rgba(0,0,0,0.25)}.k-slider-selection{background-color:#04c}.k-slider-horizontal .k-tick{background-image:url('Bootstrap/slider-h.gif')}.k-slider-vertical .k-tick{background-image:url('Bootstrap/slider-v.gif')}.k-widget.k-tooltip{border-color:#bebebe;background-color:#e6e6e6;color:#333}.k-widget.k-tooltip-validation{border-color:#fbeed5;background-color:#fcf8e3;color:#c09853}.input-prepend .k-tooltip-validation,.input-append .k-tooltip-validation{font-size:12px;position:relative;top:3px}.k-splitbar{background-color:#f5f5f5}.k-restricted-size-vertical,.k-restricted-size-horizontal{background-color:#b94a48}.k-progress-status{border-color:rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25) transparent}.k-tile{border-color:#fff}.k-textbox:hover,.k-tiles li.k-state-hover{border-color:rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25)}.k-tiles li.k-state-selected{border-color:rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25)}.k-tile .k-folder,.k-tile .k-file{background-image:url('Bootstrap/imagebrowser.png')}.k-widget,.k-button{-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,0.2),0 1px 2px rgba(0,0,0,0.05);box-shadow:inset 0 1px 0 rgba(255,255,255,0.2),0 1px 2px rgba(0,0,0,0.05)}.k-slider,.k-treeview,.k-upload{-webkit-box-shadow:none;box-shadow:none}.k-state-hover,.k-state-focused{-webkit-box-shadow:0 1px 0 rgba(255,255,255,0.2) inset,0 1px 2px rgba(0,0,0,0.05);box-shadow:0 1px 0 rgba(255,255,255,0.2) inset,0 1px 2px rgba(0,0,0,0.05)}.k-state-selected{-webkit-box-shadow:0 2px 4px rgba(0,0,0,0.15) inset,0 1px 2px rgba(0,0,0,0.05);box-shadow:0 2px 4px rgba(0,0,0,0.15) inset,0 1px 2px rgba(0,0,0,0.05)}.k-state-active{-webkit-box-shadow:none;box-shadow:none}.k-grid-header .k-header.k-state-focused,.k-grid td.k-state-focused{background-color:#33a0ff;-webkit-box-shadow:inset 0 0 6px rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25);box-shadow:inset 0 0 6px rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25)}.k-grid td.k-state-selected.k-state-focused{-webkit-box-shadow:inset 0 0 6px #013;box-shadow:inset 0 0 6px #013;background-color:#0049db}.k-popup,.k-menu .k-group,.k-grid .k-filter-options,.k-time-popup,.k-datepicker-calendar,.k-autocomplete.k-state-border-down,.k-autocomplete.k-state-border-up,.k-dropdown-wrap.k-state-active,.k-picker-wrap.k-state-active,.k-imagebrowser .k-image,.k-tooltip{-webkit-box-shadow:0 2px 2px 0 rgba(0,0,0,0.2);box-shadow:0 2px 2px 0 rgba(0,0,0,0.2)}.k-window{border-color:rgba(0,0,0,0.2);-webkit-box-shadow:1px 1px 7px 1px rgba(128,128,128,0.2);box-shadow:1px 1px 7px 1px rgba(128,128,128,0.2);background-color:#fff}.k-window.k-state-focused{border-color:rgba(0,0,0,0.2);-webkit-box-shadow:1px 1px 7px 1px rgba(0,0,0,0.2);box-shadow:1px 1px 7px 1px rgba(0,0,0,0.2)}.k-textbox>input,.k-autocomplete .k-input,.k-combobox .k-input,.k-picker-wrap .k-input{-webkit-box-shadow:inset 0 0 1px 1px #ccc;box-shadow:inset 0 0 1px 1px #ccc}.k-shadow{-webkit-box-shadow:0 1px 2px 0 rgba(0,0,0,0.2);box-shadow:0 1px 2px 0 rgba(0,0,0,0.2)}.k-inset{-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.2);box-shadow:inset 0 1px 1px rgba(0,0,0,0.2)}.k-block,.k-button,.k-textbox,.k-drag-clue,.k-touch-scrollbar,.k-window,.k-window-titleless .k-window-content,.k-window-action,.k-inline-block,.k-grid .k-filter-options,.k-grouping-header .k-group-indicator,.k-autocomplete,.k-dropdown-wrap,.k-picker-wrap,.k-numeric-wrap,.k-list-container,.k-calendar-container,.k-calendar td,.k-calendar .k-link,.k-treeview .k-in,.k-editor-button .k-state-hover,.k-editor-button .k-state-active,.k-tooltip,.k-tile,.k-slider-track,.k-slider-selection{-moz-border-radius:6px;-webkit-border-radius:6px;border-radius:6px}.k-calendar-container.k-state-border-up,.k-list-container.k-state-border-up,.k-autocomplete.k-state-border-up,.k-dropdown-wrap.k-state-border-up,.k-picker-wrap.k-state-border-up,.k-numeric-wrap.k-state-border-up,.k-window-content,.k-filter-menu{-moz-border-radius:0 0 6px 6px;-webkit-border-radius:0 0 6px 6px;border-radius:0 0 6px 6px}.k-window-titlebar,.k-block>.k-header,.k-tabstrip-items .k-item,.k-panelbar .k-tabstrip-items .k-item,.k-tabstrip-items .k-link,.k-calendar-container.k-state-border-down,.k-list-container.k-state-border-down,.k-autocomplete.k-state-border-down,.k-dropdown-wrap.k-state-border-down,.k-picker-wrap.k-state-border-down,.k-numeric-wrap.k-state-border-down{-moz-border-radius:6px 6px 0 0;-webkit-border-radius:6px 6px 0 0;border-radius:6px 6px 0 0}.k-dropdown-wrap .k-select,.k-picker-wrap .k-select,.k-numeric-wrap .k-select,.k-datetimepicker .k-select+.k-select,.k-animation-container .k-calendar-container,.k-list-container.k-state-border-right{-moz-border-radius:0 6px 6px 0;-webkit-border-radius:0 6px 6px 0;border-radius:0 6px 6px 0}.k-textbox>input,.k-autocomplete .k-input,.k-dropdown-wrap .k-input,.k-picker-wrap .k-input,.k-numeric-wrap .k-input,.k-numeric-wrap .k-link,.k-colorpicker .k-selected-color,.k-progress,.k-progress-status{-moz-border-radius:4px;-webkit-border-radius:4px;border-radius:4px}.k-list .k-state-hover,.k-list .k-state-focused,.k-list .k-state-highlight,.k-list .k-state-selected,.k-dropzone,.k-upload-files{-moz-border-radius:5px;-webkit-border-radius:5px;border-radius:5px}.k-slider .k-button,.k-grid .k-slider .k-button{-moz-border-radius:13px;-webkit-border-radius:13px;border-radius:13px}.k-draghandle{-moz-border-radius:7px;-webkit-border-radius:7px;border-radius:7px} \ No newline at end of file +.k-in,.k-item,.k-window-action{border-color:transparent}.k-block,.k-widget{background-color:#fff}.k-block,.k-widget,.k-input,.k-textbox,.k-group,.k-content,.k-header,.k-editable-area,.k-separator,.k-colorpicker .k-i-arrow-s,.k-textbox>input,.k-autocomplete,.k-dropdown-wrap,.k-toolbar,.k-group-footer td,.k-grid-footer,.k-footer-template td,.k-state-default,.k-state-default .k-select,.k-state-disabled,.k-grid-header-wrap,.k-grid-header,.k-grid td,.k-grid td.k-state-selected,.k-grid-footer-wrap,.k-pager-wrap,.k-pager-wrap .k-link,.k-pager-refresh,.k-grouping-header,.k-grouping-header .k-group-indicator,.k-panelbar>.k-item>.k-link,.k-panel>.k-item>.k-link,.k-panelbar .k-panel,.k-panelbar .k-content,.k-calendar th,.k-slider-track,.k-splitbar,.k-dropzone-active,.k-upload-files,.k-tiles,.k-toolbar,.k-tooltip,.k-progress{border-color:rgba(0,0,0,0.15) rgba(0,0,0,0.15) rgba(0,0,0,0.25)}.k-group,.k-toolbar,.k-grouping-header,.k-pager-wrap,.k-group-footer td,.k-grid-footer,.k-footer-template td,.k-widget .k-status,.k-grouping-row td,td.k-group-cell,.k-calendar th,.k-dropzone-hovered,.k-upload-files,.k-widget.k-popup{background-color:#fff}.k-list-container{border-color:rgba(0,0,0,0.2);background-color:#f5f5f5}.k-content,.k-editable-area,.k-panelbar>li.k-item,.k-panel>li.k-item,.k-tiles{background-color:#fff}.k-alt,.k-separator{background-color:#f5f5f5}.k-textbox,.k-autocomplete.k-header,.k-dropdown-wrap.k-state-active,.k-picker-wrap.k-state-active,.k-numeric-wrap.k-state-active{border-color:rgba(0,0,0,0.15) rgba(0,0,0,0.15) rgba(0,0,0,0.25);background-color:#f5f5f5}.k-textbox>input,.k-autocomplete .k-input,.k-dropdown-wrap .k-input,.k-autocomplete.k-state-focused .k-input,.k-dropdown-wrap.k-state-focused .k-input,.k-picker-wrap.k-state-focused .k-input,.k-numeric-wrap.k-state-focused .k-input{border-color:rgba(0,0,0,0.15) rgba(0,0,0,0.15) rgba(0,0,0,0.25)}input.k-textbox,textarea.k-textbox,input.k-textbox:hover,textarea.k-textbox:hover,.k-textbox>input{background:0}.k-input,input.k-textbox,textarea.k-textbox,input.k-textbox:hover,textarea.k-textbox:hover,.k-textbox>input{background-color:#fff;color:#333}.k-input[readonly]{background-color:#fff;color:#333}.k-block,.k-widget,.k-popup,.k-content,.k-dropdown .k-input{color:#333}.k-link:link,.k-link:visited{color:#333}.k-tabstrip-items .k-link,.k-panelbar>li>.k-link{color:#333}.k-header{color:#333}.k-header,.k-grid-header,.k-toolbar,.k-dropdown-wrap,.k-picker-wrap,.k-grouping-header,.k-pager-wrap,.k-textbox,.k-button,.k-draghandle,.k-autocomplete,.k-state-highlight,.k-tabstrip-items .k-item{background-image:url('textures/highlight.png');background-image:none,-webkit-linear-gradient(top,#fff 0,#e6e6e6 100%);background-image:none,-moz-linear-gradient(top,#fff 0,#e6e6e6 100%);background-image:none,-o-linear-gradient(top,#fff 0,#e6e6e6 100%);background-image:none,linear-gradient(to bottom,#fff 0,#e6e6e6 100%);background-position:50% 50%}.k-tabstrip-items .k-state-active{background:#fff}.k-widget.k-tooltip{background-image:none}.k-block,.k-header,.k-grid-header,.k-toolbar,.k-grouping-header,.k-pager-wrap,.k-button,.k-draghandle{background-color:#f5f5f5}.k-icon:hover,.k-state-hover .k-icon,.k-state-selected .k-icon,.k-state-focused .k-icon,.k-column-menu .k-state-hover .k-sprite,.k-column-menu .k-state-active .k-sprite{opacity:1}.k-icon,.k-state-disabled .k-icon,.k-column-menu .k-sprite{opacity:1}.k-icon,.k-tool-icon,.k-grouping-dropclue,.k-drop-hint,.k-column-menu .k-sprite{background-image:url('Bootstrap/sprite.png');border-color:transparent}.k-loading,.k-state-hover .k-loading{background-image:url('Bootstrap/loading.gif');background-position:50% 50%}.k-loading-image{background-image:url('Bootstrap/loading-image.gif')}.k-loading-color{background-color:#fff}.k-button{color:#333}.k-button,.k-button.k-state-disabled:hover,.k-state-disabled .k-button:hover,.k-button.k-state-disabled:active,.k-state-disabled .k-button:active{border-color:rgba(0,0,0,0.15) rgba(0,0,0,0.15) rgba(0,0,0,0.25);background-color:#f5f5f5}.k-button:hover{color:#fff;border-color:rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25);background-color:#006dcc}.k-draghandle{border-color:rgba(0,0,0,0.15) rgba(0,0,0,0.15) rgba(0,0,0,0.25);background-color:#fff;-webkit-box-shadow:none;box-shadow:none}.k-draghandle:hover{border-color:rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25);background-color:#006dcc;-webkit-box-shadow:none;box-shadow:none}.k-state-active,.k-state-active:hover,.k-active-filter{background-color:#fff;border-color:#006dcc;color:#333}.k-menu .k-state-hover>.k-state-active{background-color:transparent}.k-state-highlight{background:#fff;color:#333}.k-state-focused,.k-grouping-row .k-state-focused{border-color:rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25)}.k-state-selected,.k-state-selected:link,.k-list>.k-state-selected,.k-list>.k-state-highlight,.k-panel>.k-state-selected,.k-button:active,.k-ghost-splitbar-vertical,.k-ghost-splitbar-horizontal,.k-draghandle.k-state-selected:hover{color:#fff;background-color:#04c;border-color:rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25)}.k-state-focused,.k-list>.k-state-focused,.k-listview>.k-state-focused,.k-grid-header th.k-state-focused,td.k-state-focused,.k-button:focus,.k-button.k-state-focused{-webkit-box-shadow:inset 0 0 3px 1px rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25);box-shadow:inset 0 0 3px 1px rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25)}.k-list>.k-state-selected.k-state-focused{-webkit-box-shadow:none;box-shadow:none}.k-state-selected>.k-link,.k-panelbar>li>.k-state-selected{color:#fff}.k-state-selected,.k-button:active,.k-draghandle.k-state-selected:hover{background-image:none;background-position:50% 50%}.k-state-hover,.k-state-hover:hover,.k-splitbar-horizontal-hover:hover,.k-splitbar-vertical-hover:hover,.k-list>.k-state-hover,.k-marquee,.k-pager-wrap .k-link:hover,.k-dropdown .k-state-focused,.k-imagebrowser-dropzone{color:#fff;background-color:#006dcc;border-color:rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25)}.k-state-hover>.k-select,.k-state-focused>.k-select{border-color:rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25)}.k-button:hover,.k-button:focus,.k-button.k-state-focused,.k-textbox:hover,.k-state-hover,.k-state-hover:hover,.k-pager-wrap .k-link:hover,.k-other-month.k-state-hover .k-link,div.k-imagebrowser-dropzone em,.k-draghandle:hover{background-image:url('textures/highlight.png');background-image:none,-webkit-linear-gradient(top,#08c 0,#04c 100%);background-image:none,-moz-linear-gradient(top,#08c 0,#04c 100%);background-image:none,-o-linear-gradient(top,#08c 0,#04c 100%);background-image:none,linear-gradient(to bottom,#08c 0,#04c 100%)}.k-autocomplete.k-state-active,.k-picker-wrap.k-state-active,.k-numeric-wrap.k-state-active,.k-dropdown-wrap.k-state-active,.k-state-active,.k-state-active:hover,.k-state-active>.k-link,.k-button:active,.k-panelbar>.k-item>.k-state-focused{background-image:none}.k-tool-icon,.k-tool-icon.k-state-hover,.k-tool-icon.k-state-active,.k-tool-icon.k-state-active.k-state-hover{background-image:url('Bootstrap/sprite.png')}.k-state-hover>.k-link,.k-other-month.k-state-hover .k-link,div.k-imagebrowser-dropzone em{color:#fff}.k-autocomplete.k-state-hover,.k-autocomplete.k-state-focused,.k-picker-wrap.k-state-hover,.k-picker-wrap.k-state-focused,.k-numeric-wrap.k-state-hover,.k-numeric-wrap.k-state-focused,.k-dropdown-wrap.k-state-hover,.k-dropdown-wrap.k-state-focused{background-color:#006dcc;background-image:url('textures/highlight.png');background-image:none,-webkit-linear-gradient(top,#08c 0,#04c 100%);background-image:none,-moz-linear-gradient(top,#08c 0,#04c 100%);background-image:none,-o-linear-gradient(top,#08c 0,#04c 100%);background-image:none,linear-gradient(to bottom,#08c 0,#04c 100%);background-position:50% 50%;border-color:rgba(0,0,0,0.15) rgba(0,0,0,0.15) rgba(0,0,0,0.25)}.k-calendar .k-state-selected.k-state-focused>.k-link{background-color:transparent}.k-dropdown .k-state-focused .k-input{color:#333}.k-dropdown .k-state-hover .k-input{color:#fff}.k-state-error{border-color:#eed3d7;background-color:#f2dede;color:#b94a48}.k-state-disabled{filter:alpha(opacity=70);opacity:.7}.k-tile-empty.k-state-selected,.k-loading-mask.k-state-selected{border-width:0;background-image:none;background-color:transparent}.k-state-disabled,.k-state-disabled .k-link,.k-state-disabled .k-button,.k-button.k-state-disabled:active,.k-other-month .k-link,.k-dropzone em,.k-tile-empty strong,.k-slider .k-draghandle{color:#999}.k-slider-track{background-color:rgba(0,0,0,0.15) rgba(0,0,0,0.15) rgba(0,0,0,0.25)}.k-slider-selection{background-color:#04c}.k-slider-horizontal .k-tick{background-image:url('Bootstrap/slider-h.gif')}.k-slider-vertical .k-tick{background-image:url('Bootstrap/slider-v.gif')}.k-widget.k-tooltip{border-color:#bebebe;background-color:#e6e6e6;color:#333}.k-widget.k-tooltip-validation{border-color:#fbeed5;background-color:#fcf8e3;color:#c09853}.input-prepend .k-tooltip-validation,.input-append .k-tooltip-validation{font-size:12px;position:relative;top:3px}.k-callout-n{border-bottom-color:#bebebe}.k-callout-w{border-right-color:#bebebe}.k-callout-s{border-top-color:#bebebe}.k-callout-e{border-left-color:#bebebe}.k-splitbar{background-color:#f5f5f5}.k-restricted-size-vertical,.k-restricted-size-horizontal{background-color:#b94a48}.k-progress-status{border-color:rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25) transparent}.k-tile{border-color:#fff}.k-textbox:hover,.k-tiles li.k-state-hover{border-color:rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25)}.k-tiles li.k-state-selected{border-color:rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25)}.k-tile .k-folder,.k-tile .k-file{background-image:url('Bootstrap/imagebrowser.png')}.k-widget,.k-button{-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,0.2),0 1px 2px rgba(0,0,0,0.05);box-shadow:inset 0 1px 0 rgba(255,255,255,0.2),0 1px 2px rgba(0,0,0,0.05)}.k-slider,.k-treeview,.k-upload{-webkit-box-shadow:none;box-shadow:none}.k-state-hover{-webkit-box-shadow:0 1px 0 rgba(255,255,255,0.2) inset,0 1px 2px rgba(0,0,0,0.05);box-shadow:0 1px 0 rgba(255,255,255,0.2) inset,0 1px 2px rgba(0,0,0,0.05)}.k-autocomplete.k-state-focused,.k-dropdown-wrap.k-state-focused,.k-picker-wrap.k-state-focused,.k-numeric-wrap.k-state-focused{-webkit-box-shadow:0 0 3px 0 rgba(0,0,0,0.2);box-shadow:0 0 3px 0 rgba(0,0,0,0.2)}.k-state-selected{-webkit-box-shadow:0 2px 4px rgba(0,0,0,0.15) inset,0 1px 2px rgba(0,0,0,0.05);box-shadow:0 2px 4px rgba(0,0,0,0.15) inset,0 1px 2px rgba(0,0,0,0.05)}.k-state-active{-webkit-box-shadow:none;box-shadow:none}.k-grid td.k-state-selected.k-state-focused{background-color:#0049db}.k-popup,.k-menu .k-group,.k-grid .k-filter-options,.k-time-popup,.k-datepicker-calendar,.k-autocomplete.k-state-border-down,.k-autocomplete.k-state-border-up,.k-dropdown-wrap.k-state-active,.k-picker-wrap.k-state-active,.k-multiselect.k-state-focused,.k-imagebrowser .k-image,.k-tooltip{-webkit-box-shadow:0 2px 2px 0 rgba(0,0,0,0.2);box-shadow:0 2px 2px 0 rgba(0,0,0,0.2)}.k-window{border-color:rgba(0,0,0,0.2);-webkit-box-shadow:1px 1px 7px 1px rgba(128,128,128,0.2);box-shadow:1px 1px 7px 1px rgba(128,128,128,0.2);background-color:#fff}.k-window.k-state-focused{border-color:rgba(0,0,0,0.2);-webkit-box-shadow:1px 1px 7px 1px rgba(0,0,0,0.2);box-shadow:1px 1px 7px 1px rgba(0,0,0,0.2)}.k-shadow{-webkit-box-shadow:0 1px 2px 0 rgba(0,0,0,0.2);box-shadow:0 1px 2px 0 rgba(0,0,0,0.2)}.k-inset{-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.2);box-shadow:inset 0 1px 1px rgba(0,0,0,0.2)}.k-block,.k-button,.k-textbox,.k-drag-clue,.k-touch-scrollbar,.k-window,.k-window-titleless .k-window-content,.k-window-action,.k-inline-block,.k-grid .k-filter-options,.k-grouping-header .k-group-indicator,.k-autocomplete,.k-multiselect,.k-dropdown-wrap,.k-datepicker,.k-timepicker,.k-colorpicker,.k-datetimepicker,.k-numerictextbox,.k-picker-wrap,.k-numeric-wrap,.k-colorpicker.k-list-container,.k-calendar-container,.k-calendar td,.k-calendar .k-link,.k-treeview .k-in,.k-editor-button .k-state-hover,.k-editor-button .k-state-active,.k-tooltip,.k-tile,.k-slider-track,.k-slider-selection{-moz-border-radius:6px;-webkit-border-radius:6px;border-radius:6px}.k-calendar-container.k-state-border-up,.k-list-container.k-state-border-up,.k-autocomplete.k-state-border-up,.k-multiselect.k-state-border-up,.k-dropdown-wrap.k-state-border-up,.k-picker-wrap.k-state-border-up,.k-numeric-wrap.k-state-border-up,.k-window-content,.k-filter-menu{-moz-border-radius:0 0 6px 6px;-webkit-border-radius:0 0 6px 6px;border-radius:0 0 6px 6px}.k-autocomplete.k-state-border-up .k-input,.k-dropdown-wrap.k-state-border-up .k-input,.k-picker-wrap.k-state-border-up .k-input,.k-picker-wrap.k-state-border-up .k-selected-color,.k-numeric-wrap.k-state-border-up .k-input{-moz-border-radius:0 0 0 4px;-webkit-border-radius:0 0 0 4px;border-radius:0 0 0 4px}.k-multiselect.k-state-border-up .k-multiselect-wrap{-moz-border-radius:0 0 4px 4px;-webkit-border-radius:0 0 4px 4px;border-radius:0 0 4px 4px}.k-window-titlebar,.k-block>.k-header,.k-tabstrip-items .k-item,.k-panelbar .k-tabstrip-items .k-item,.k-tabstrip-items .k-link,.k-calendar-container.k-state-border-down,.k-list-container.k-state-border-down,.k-autocomplete.k-state-border-down,.k-multiselect.k-state-border-down,.k-dropdown-wrap.k-state-border-down,.k-picker-wrap.k-state-border-down,.k-numeric-wrap.k-state-border-down{-moz-border-radius:6px 6px 0 0;-webkit-border-radius:6px 6px 0 0;border-radius:6px 6px 0 0}.k-dropdown-wrap .k-input,.k-picker-wrap .k-input,.k-numeric-wrap .k-input{-moz-border-radius:4px 0 0 4px;-webkit-border-radius:4px 0 0 4px;border-radius:4px 0 0 4px}.k-numeric-wrap .k-link{-moz-border-radius:0 4px 0 0;-webkit-border-radius:0 4px 0 0;border-radius:0 4px 0 0}.k-numeric-wrap .k-link+.k-link{-moz-border-radius:0 0 4px 0;-webkit-border-radius:0 0 4px 0;border-radius:0 0 4px 0}.k-colorpicker .k-selected-color{-moz-border-radius:4px 0 0 4px;-webkit-border-radius:4px 0 0 4px;border-radius:4px 0 0 4px}.k-rtl .k-colorpicker .k-selected-color{-moz-border-radius:0 4px 4px 0;-webkit-border-radius:0 4px 4px 0;border-radius:0 4px 4px 0}.k-autocomplete.k-state-border-down .k-input,.k-dropdown-wrap.k-state-border-down .k-input,.k-picker-wrap.k-state-border-down .k-input,.k-picker-wrap.k-state-border-down .k-selected-color,.k-numeric-wrap.k-state-border-down .k-input{-moz-border-radius:4px 0 0 0;-webkit-border-radius:4px 0 0 0;border-radius:4px 0 0 0}.k-multiselect.k-state-border-down .k-multiselect-wrap{-moz-border-radius:4px 4px 0 0;-webkit-border-radius:4px 4px 0 0;border-radius:4px 4px 0 0}.k-dropdown-wrap .k-select,.k-picker-wrap .k-select,.k-numeric-wrap .k-select,.k-datetimepicker .k-select+.k-select,.k-animation-container .k-calendar-container,.k-list-container.k-state-border-right{-moz-border-radius:0 6px 6px 0;-webkit-border-radius:0 6px 6px 0;border-radius:0 6px 6px 0}.k-rtl .k-dropdown-wrap .k-select,.k-rtl .k-picker-wrap .k-select,.k-rtl .k-numeric-wrap .k-select,.k-rtl .k-datetimepicker .k-select+.k-select,.k-rtl .k-animation-container .k-calendar-container,.k-rtl .k-list-container.k-state-border-right{-moz-border-radius:6px 0 0 6px;-webkit-border-radius:6px 0 0 6px;border-radius:6px 0 0 6px}.k-textbox>input,.k-autocomplete .k-input,.k-progress,.k-progress-status,.k-numeric-wrap.k-expand-padding .k-input,.k-multiselect-wrap{-moz-border-radius:4px;-webkit-border-radius:4px;border-radius:4px}.k-list .k-state-hover,.k-list .k-state-focused,.k-list .k-state-highlight,.k-list .k-state-selected,.k-dropzone,.k-upload-files{-moz-border-radius:5px;-webkit-border-radius:5px;border-radius:5px}.k-slider .k-button,.k-grid .k-slider .k-button{-moz-border-radius:13px;-webkit-border-radius:13px;border-radius:13px}.k-draghandle{-moz-border-radius:7px;-webkit-border-radius:7px;border-radius:7px}@media only screen and (-webkit-min-device-pixel-ratio:2),only screen and (min-device-pixel-ratio:2){.k-icon,.k-grouping-dropclue,.k-drop-hint,.k-callout,.k-column-menu .k-sprite,.k-tool-icon,.k-tool-icon.k-state-hover,.k-tool-icon.k-state-active,.k-tool-icon.k-state-active.k-state-hover{background-image:url('Bootstrap/sprite@2x.png');background-size:192px 336px}} \ No newline at end of file diff --git a/php/css/kendo.common.min.css b/php/css/kendo.common.min.css index 2e6b1b4..5322ae7 100644 --- a/php/css/kendo.common.min.css +++ b/php/css/kendo.common.min.css @@ -1,9 +1,9 @@ /* -* Kendo UI Complete v2012.3.1411 (http://kendoui.com) +* Kendo UI Complete v2013.1.319 (http://kendoui.com) * Copyright 2013 Telerik AD. All rights reserved. * * Kendo UI Complete commercial licenses may be obtained at * https://www.kendoui.com/purchase/license-agreement/kendo-ui-complete-commercial.aspx * If you do not own a commercial license, this file shall be governed by the trial license terms. */ -:-webkit-any(body):after{content:"";display:block;visibility:hidden;height:0;font:0/0;-webkit-transform:translateZ(0)}.fake{color:red}.k-reset{margin:0;padding:0;border:0;outline:0;text-decoration:none;font-size:100%;list-style:none}.k-floatwrap:after,.k-slider-items:after,.k-grid-toolbar:after{content:"";display:block;clear:both;visibility:hidden;height:0;overflow:hidden}.k-floatwrap,.k-slider-items,.k-grid-toolbar{display:inline-block}.k-floatwrap,.k-slider-items,.k-grid-toolbar{display:block}.prohibit-selection{-khtml-user-select:none;-webkit-user-select:none;-moz-user-select:-moz-none;-ms-user-select:none;user-select:none}.border-box{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.k-block,.k-button,.k-header,.k-grid-header,.k-toolbar,.k-grouping-header,.k-tooltip,.k-pager-wrap,.k-tabstrip-items .k-item,.k-link.k-state-hover,.k-textbox,.k-textbox:hover,.k-autocomplete,.k-dropdown-wrap,.k-picker-wrap,.k-numeric-wrap,.k-autocomplete.k-state-hover,.k-dropdown-wrap.k-state-hover,.k-picker-wrap.k-state-hover,.k-numeric-wrap.k-state-hover,.k-draghandle{background-repeat:repeat;background-position:0 center}.k-state-highlight>.k-link{color:inherit}.k-block,.k-widget,.k-inline-block,.k-textbox>input,.k-input[type="text"],.k-input[type="number"],.k-textbox,.k-picker-wrap .k-input,.k-button,.k-draghandle{font-size:100%;font-family:inherit;border-style:solid;border-width:1px;-webkit-appearance:none}.k-block,.k-widget{line-height:normal;outline:0}.k-block{padding:2px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.k-button{display:inline-block;margin:0;padding:2px 7px 2px;font-family:inherit;line-height:1.66em;text-align:center;cursor:pointer;text-decoration:none;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.k-ie7 .k-button{line-height:normal}a.k-button{-khtml-user-select:none;-webkit-user-select:none;-moz-user-select:-moz-none;-ms-user-select:none;user-select:none}.k-button:-moz-any(input){padding-bottom:.37em;padding-top:.37em}.k-ie7 .k-button{overflow:visible;margin-right:4px}.k-ie7 a.k-button{line-height:1.6;padding-left:7px;padding-right:7px}.k-ie7 .k-button-expand{margin-left:0;margin-right:0}button.k-button::-moz-focus-inner,input.k-button::-moz-focus-inner{padding:0;border:0}a.k-button-expand{display:block}button.k-button-expand,input[type="submit"].k-button-expand,input[type="button"].k-button-expand,input[type="reset"].k-button-expand{width:100%}body .k-button-icon{padding-left:4px;padding-right:4px}.k-ie7 a.k-button-icon{padding-left:5px;padding-right:5px}.k-button-icontext{padding-right:8px;overflow:visible}.k-button-icontext .k-icon{margin:0 3px 0 -3px;vertical-align:text-top}.k-ie7 .k-button-icontext .k-icon{margin-right:4px}html body .k-button-bare{background:none!important;border-width:0}.k-link{cursor:pointer;outline:0;text-decoration:none}.k-grid-header span.k-link{cursor:default}.k-state-disabled,.k-state-disabled .k-link,.k-state-disabled .k-picker-wrap .k-icon,.k-state-disabled .k-button,.k-state-disabled .k-draghandle,.k-state-disabled .k-slider .k-icon,.k-state-disabled .k-upload-button input{cursor:default;outline:0}@media print{.k-state-disabled,.k-state-disabled .k-input{opacity:1!important}}.k-state-error{border-style:ridge}.k-state-empty{font-style:italic}.k-icon,.k-sprite,.k-editor-button .k-tool-icon{display:inline-block;width:16px;height:16px;overflow:hidden;background-repeat:no-repeat;font-size:0;line-height:0;text-indent:-3333px;text-align:center;vertical-align:middle}.k-icon,.k-sprite{background-color:transparent}.k-ie7 .k-icon,.k-ie7 .k-sprite{text-indent:0}.k-numerictextbox .k-i-arrow-n{background-position:0 -2px}.k-numerictextbox .k-i-arrow-s{background-position:0 -35px}.k-state-selected .k-i-arrow-n{background-position:-16px 0}.k-state-hover .k-state-selected .k-i-arrow-n,.k-button:hover .k-state-selected .k-i-arrow-n,.k-textbox:hover .k-state-selected .k-i-arrow-n,.k-button:active .k-state-selected .k-i-arrow-n{background-position:-32px 0}.k-numerictextbox .k-state-selected .k-i-arrow-n,.k-numerictextbox .k-state-hover .k-i-arrow-n{background-position:-16px -2px}.k-state-selected .k-i-arrow-s{background-position:-16px -32px}.k-state-hover .k-state-selected .k-i-arrow-s,.k-button:hover .k-state-selected .k-i-arrow-s,.k-textbox:hover .k-state-selected .k-i-arrow-s,.k-button:active .k-state-selected .k-i-arrow-s{background-position:-32px -32px}.k-numerictextbox .k-state-selected .k-i-arrow-s,.k-numerictextbox .k-state-hover .k-i-arrow-s{background-position:-16px -35px}.k-i-arrow-n{background-position:0 0}.k-state-hover .k-i-arrow-n,.k-button:hover .k-i-arrow-n,.k-textbox:hover .k-i-arrow-n,.k-button:active .k-i-arrow-n{background-position:-16px 0}.k-i-arrow-e{background-position:0 -16px}.k-state-hover .k-i-arrow-e,.k-button:hover .k-i-arrow-e,.k-textbox:hover .k-i-arrow-e,.k-button:active .k-i-arrow-e{background-position:-16px -16px}.k-i-arrow-s{background-position:0 -32px}.k-state-hover .k-i-arrow-s,.k-button:hover .k-i-arrow-s,.k-textbox:hover .k-i-arrow-s,.k-button:active .k-i-arrow-s{background-position:-16px -32px}.k-i-arrow-w{background-position:0 -48px}.k-state-hover .k-i-arrow-w,.k-button:hover .k-i-arrow-w,.k-textbox:hover .k-i-arrow-w,.k-button:active .k-i-arrow-w{background-position:-16px -48px}.k-i-seek-n{background-position:0 -64px}.k-state-hover .k-i-seek-n,.k-button:hover .k-i-seek-n,.k-textbox:hover .k-i-seek-n,.k-button:active .k-i-seek-n{background-position:-16px -64px}.k-i-seek-e{background-position:0 -80px}.k-state-hover .k-i-seek-e,.k-button:hover .k-i-seek-e,.k-textbox:hover .k-i-seek-e,.k-button:active .k-i-seek-e{background-position:-16px -80px}.k-i-seek-s{background-position:0 -96px}.k-state-hover .k-i-seek-s,.k-button:hover .k-i-seek-s,.k-textbox:hover .k-i-seek-s,.k-button:active .k-i-seek-s{background-position:-16px -96px}.k-i-seek-w{background-position:0 -112px}.k-state-hover .k-i-seek-w,.k-button:hover .k-i-seek-w,.k-textbox:hover .k-i-seek-w,.k-button:active .k-i-seek-w{background-position:-16px -112px}.k-si-arrow-n{background-position:0 -129px}.k-state-hover .k-si-arrow-n,.k-button:hover .k-si-arrow-n,.k-textbox:hover .k-si-arrow-n,.k-button:active .k-si-arrow-n{background-position:-16px -129px}.k-si-arrow-e{background-position:0 -144px}.k-state-hover .k-si-arrow-e,.k-button:hover .k-si-arrow-e,.k-textbox:hover .k-si-arrow-e,.k-button:active .k-si-arrow-e{background-position:-16px -144px}.k-si-arrow-s{background-position:0 -159px}.k-state-hover .k-si-arrow-s,.k-button:hover .k-si-arrow-s,.k-textbox:hover .k-si-arrow-s,.k-button:active .k-si-arrow-s{background-position:-16px -159px}.k-si-arrow-w{background-position:0 -176px}.k-state-hover .k-si-arrow-w,.k-button:hover .k-si-arrow-w,.k-textbox:hover .k-si-arrow-w,.k-button:active .k-si-arrow-w{background-position:-16px -176px}.k-i-arrowhead-n{background-position:0 -256px}.k-state-hover .k-i-arrowhead-n,.k-button:hover .k-i-arrowhead-n,.k-textbox:hover .k-i-arrowhead-n,.k-button:active .k-i-arrowhead-n{background-position:-16px -256px}.k-i-arrowhead-e{background-position:0 -272px}.k-state-hover .k-i-arrowhead-e,.k-button:hover .k-i-arrowhead-e,.k-textbox:hover .k-i-arrowhead-e,.k-button:active .k-i-arrowhead-e{background-position:-16px -272px}.k-i-arrowhead-s{background-position:0 -288px}.k-state-hover .k-i-arrowhead-s,.k-button:hover .k-i-arrowhead-s,.k-textbox:hover .k-i-arrowhead-s,.k-button:active .k-i-arrowhead-s{background-position:-16px -288px}.k-i-arrowhead-w{background-position:0 -304px}.k-state-hover .k-i-arrowhead-w,.k-button:hover .k-i-arrowhead-w,.k-textbox:hover .k-i-arrowhead-w,.k-button:active .k-i-arrowhead-w{background-position:-16px -304px}.k-i-expand,.k-plus,.k-plus-disabled{background-position:0 -192px}.k-state-hover .k-i-expand,.k-state-hover .k-plus,.k-state-hover .k-plus-disabled,.k-button:hover .k-i-expand,.k-button:hover .k-plus,.k-button:hover .k-plus-disabled,.k-textbox:hover .k-i-expand,.k-textbox:hover .k-plus,.k-textbox:hover .k-plus-disabled,.k-button:active .k-i-expand,.k-button:active .k-plus,.k-button:active .k-plus-disabled{background-position:-16px -192px}.k-i-expand-w,.k-rtl .k-i-expand,.k-rtl .k-plus,.k-rtl .k-plus-disabled{background-position:0 -208px}.k-state-hover .k-i-expand-w,.k-state-hover .k-rtl .k-i-expand,.k-state-hover .k-rtl .k-plus,.k-state-hover .k-rtl .k-plus-disabled,.k-button:hover .k-i-expand-w,.k-button:hover .k-rtl .k-i-expand,.k-button:hover .k-rtl .k-plus,.k-button:hover .k-rtl .k-plus-disabled,.k-textbox:hover .k-i-expand-w,.k-textbox:hover .k-rtl .k-i-expand,.k-textbox:hover .k-rtl .k-plus,.k-textbox:hover .k-rtl .k-plus-disabled,.k-button:active .k-i-expand-w,.k-button:active .k-rtl .k-i-expand,.k-button:active .k-rtl .k-plus,.k-button:active .k-rtl .k-plus-disabled{background-position:-16px -208px}.k-i-collapse,.k-minus,.k-minus-disabled{background-position:0 -224px}.k-state-hover .k-i-collapse,.k-state-hover .k-minus,.k-state-hover .k-minus-disabled,.k-button:hover .k-i-collapse,.k-button:hover .k-minus,.k-button:hover .k-minus-disabled,.k-textbox:hover .k-i-collapse,.k-textbox:hover .k-minus,.k-textbox:hover .k-minus-disabled,.k-button:active .k-i-collapse,.k-button:active .k-minus,.k-button:active .k-minus-disabled{background-position:-16px -224px}.k-i-collapse-w,.k-rtl .k-i-collapse,.k-rtl .k-minus,.k-rtl .k-minus-disabled{background-position:0 -240px}.k-state-hover .k-i-collapse-w,.k-state-hover .k-rtl .k-i-collapse,.k-state-hover .k-rtl .k-minus,.k-state-hover .k-rtl .k-minus-disabled,.k-button:hover .k-i-collapse-w,.k-button:hover .k-rtl .k-i-collapse,.k-button:hover .k-rtl .k-minus,.k-button:hover .k-rtl .k-minus-disabled,.k-textbox:hover .k-i-collapse-w,.k-textbox:hover .k-rtl .k-i-collapse,.k-textbox:hover .k-rtl .k-minus,.k-textbox:hover .k-rtl .k-minus-disabled,.k-button:active .k-i-collapse-w,.k-button:active .k-rtl .k-i-collapse,.k-button:active .k-rtl .k-minus,.k-button:active .k-rtl .k-minus-disabled{background-position:-16px -240px}.k-i-pencil,.k-edit{background-position:-32px 0}.k-state-hover .k-i-pencil,.k-state-hover .k-edit,.k-button:hover .k-i-pencil,.k-button:hover .k-edit,.k-textbox:hover .k-i-pencil,.k-textbox:hover .k-edit,.k-button:active .k-i-pencil,.k-button:active .k-edit{background-position:-48px 0}.k-i-close,.k-delete,.k-group-delete{background-position:-32px -16px}.k-state-hover .k-i-close,.k-state-hover .k-delete,.k-state-hover .k-group-delete,.k-button:hover .k-i-close,.k-button:hover .k-delete,.k-button:hover .k-group-delete,.k-textbox:hover .k-i-close,.k-textbox:hover .k-delete,.k-textbox:hover .k-group-delete,.k-button:active .k-i-close,.k-button:active .k-delete,.k-button:active .k-group-delete{background-position:-48px -16px}.k-i-tick,.k-insert,.k-update{background-position:-32px -32px}.k-state-hover .k-i-tick,.k-state-hover .k-insert,.k-state-hover .k-update,.k-button:hover .k-i-tick,.k-button:hover .k-insert,.k-button:hover .k-update,.k-textbox:hover .k-i-tick,.k-textbox:hover .k-insert,.k-textbox:hover .k-update,.k-button:active .k-i-tick,.k-button:active .k-insert,.k-button:active .k-update{background-position:-48px -32px}.k-i-cancel,.k-cancel,.k-denied{background-position:-32px -48px}.k-state-hover .k-i-cancel,.k-state-hover .k-cancel,.k-state-hover .k-denied,.k-button:hover .k-i-cancel,.k-button:hover .k-cancel,.k-button:hover .k-denied,.k-textbox:hover .k-i-cancel,.k-textbox:hover .k-cancel,.k-textbox:hover .k-denied,.k-button:active .k-i-cancel,.k-button:active .k-cancel,.k-button:active .k-denied{background-position:-48px -48px}.k-i-plus,.k-add{background-position:-32px -64px}.k-state-hover .k-i-plus,.k-state-hover .k-add,.k-button:hover .k-i-plus,.k-button:hover .k-add,.k-textbox:hover .k-i-plus,.k-textbox:hover .k-add,.k-button:active .k-i-plus,.k-button:active .k-add{background-position:-48px -64px}.k-i-funnel,.k-filter{background-position:-32px -80px}.k-state-hover .k-i-funnel,.k-state-hover .k-filter,.k-button:hover .k-i-funnel,.k-button:hover .k-filter,.k-textbox:hover .k-i-funnel,.k-textbox:hover .k-filter,.k-button:active .k-i-funnel,.k-button:active .k-filter{background-position:-48px -80px}.k-i-funnel-clear,.k-clear-filter{background-position:-32px -96px}.k-state-hover .k-i-funnel-clear,.k-state-hover .k-clear-filter,.k-button:hover .k-i-funnel-clear,.k-button:hover .k-clear-filter,.k-textbox:hover .k-i-funnel-clear,.k-textbox:hover .k-clear-filter,.k-button:active .k-i-funnel-clear,.k-button:active .k-clear-filter{background-position:-48px -96px}.k-i-refresh{background-position:-32px -112px}.k-state-hover .k-i-refresh,.k-button:hover .k-i-refresh,.k-textbox:hover .k-i-refresh,.k-button:active .k-i-refresh{background-position:-48px -112px}.k-i-restore{background-position:-32px -128px}.k-state-hover .k-i-restore,.k-button:hover .k-i-restore,.k-textbox:hover .k-i-restore,.k-button:active .k-i-restore{background-position:-48px -128px}.k-i-maximize{background-position:-32px -144px}.k-state-hover .k-i-maximize,.k-button:hover .k-i-maximize,.k-textbox:hover .k-i-maximize,.k-button:active .k-i-maximize{background-position:-48px -144px}.k-i-minimize{background-position:-64px -288px}.k-state-hover .k-i-minimize,.k-button:hover .k-i-minimize,.k-textbox:hover .k-i-minimize,.k-button:active .k-i-minimize{background-position:-80px -288px}.k-resize-se{background-position:-32px -160px}.k-state-hover .k-resize-se,.k-button:hover .k-resize-se,.k-textbox:hover .k-resize-se,.k-button:active .k-resize-se{background-position:-48px -160px}.k-i-calendar{background-position:-32px -176px}.k-state-hover .k-i-calendar,.k-button:hover .k-i-calendar,.k-textbox:hover .k-i-calendar,.k-button:active .k-i-calendar{background-position:-48px -176px}.k-i-clock{background-position:-32px -192px}.k-state-hover .k-i-clock,.k-button:hover .k-i-clock,.k-textbox:hover .k-i-clock,.k-button:active .k-i-clock{background-position:-48px -192px}.k-si-plus{background-position:-32px -208px}.k-state-hover .k-si-plus,.k-button:hover .k-si-plus,.k-textbox:hover .k-si-plus,.k-button:active .k-si-plus{background-position:-48px -208px}.k-si-minus{background-position:-32px -224px}.k-state-hover .k-si-minus,.k-button:hover .k-si-minus,.k-textbox:hover .k-si-minus,.k-button:active .k-si-minus{background-position:-48px -224px}.k-i-search{background-position:-32px -240px}.k-state-hover .k-i-search,.k-button:hover .k-i-search,.k-textbox:hover .k-i-search,.k-button:active .k-i-search{background-position:-48px -240px}.k-i-custom{background-position:-115px -113px}.k-state-hover .k-i-custom,.k-button:hover .k-i-custom,.k-textbox:hover .k-i-custom,.k-button:active .k-i-custom{background-position:-141px -113px}.k-editor .k-i-custom{background-position:-112px -110px}.k-viewHtml{background-position:-112px -132px}.k-i-insert-n,.k-insert-top{background-position:-160px -32px}.k-state-hover .k-i-insert-n,.k-state-hover .k-insert-top,.k-button:hover .k-i-insert-n,.k-button:hover .k-insert-top,.k-textbox:hover .k-i-insert-n,.k-textbox:hover .k-insert-top,.k-button:active .k-i-insert-n,.k-button:active .k-insert-top{background-position:-176px -32px}.k-i-insert-m,.k-insert-middle{background-position:-160px -48px}.k-state-hover .k-i-insert-m,.k-state-hover .k-insert-middle,.k-button:hover .k-i-insert-m,.k-button:hover .k-insert-middle,.k-textbox:hover .k-i-insert-m,.k-textbox:hover .k-insert-middle,.k-button:active .k-i-insert-m,.k-button:active .k-insert-middle{background-position:-176px -48px}.k-i-insert-s,.k-insert-bottom{background-position:-160px -64px}.k-state-hover .k-i-insert-s,.k-state-hover .k-insert-bottom,.k-button:hover .k-i-insert-s,.k-button:hover .k-insert-bottom,.k-textbox:hover .k-i-insert-s,.k-textbox:hover .k-insert-bottom,.k-button:active .k-i-insert-s,.k-button:active .k-insert-bottom{background-position:-176px -64px}.k-drop-hint{background-position:0 -326px}.k-i-note,.k-warning{background-position:-160px -240px}.k-state-hover .k-i-note,.k-state-hover .k-warning,.k-button:hover .k-i-note,.k-button:hover .k-warning,.k-textbox:hover .k-i-note,.k-textbox:hover .k-warning,.k-button:active .k-i-note,.k-button:active .k-warning{background-position:-176px -240px}.k-i-sort-asc{background-position:-112px -240px}.k-state-hover .k-i-sort-asc,.k-button:hover .k-i-sort-asc,.k-textbox:hover .k-i-sort-asc,.k-button:active .k-i-sort-asc{background-position:-128px -240px}.k-i-sort-desc{background-position:-112px -256px}.k-state-hover .k-i-sort-desc,.k-button:hover .k-i-sort-desc,.k-textbox:hover .k-i-sort-desc,.k-button:active .k-i-sort-desc{background-position:-128px -256px}.k-i-group{background-position:-112px -272px}.k-state-hover .k-i-group,.k-button:hover .k-i-group,.k-textbox:hover .k-i-group,.k-button:active .k-i-group{background-position:-128px -272px}.k-i-ungroup{background-position:-112px -288px}.k-state-hover .k-i-ungroup,.k-button:hover .k-i-ungroup,.k-textbox:hover .k-i-ungroup,.k-button:active .k-i-ungroup{background-position:-128px -288px}.k-i-columns{background-position:-112px -304px}.k-state-hover .k-i-columns,.k-button:hover .k-i-columns,.k-textbox:hover .k-i-columns,.k-button:active .k-i-columns{background-position:-128px -304px}.k-file{background-position:0 0}.k-state-hover .k-file,.k-button:hover .k-file,.k-textbox:hover .k-file,.k-button:active .k-file{background-position:-16px 0}.k-i-folder-add,.k-addfolder{background-position:-32px -272px}.k-state-hover .k-i-folder-add,.k-state-hover .k-addfolder,.k-button:hover .k-i-folder-add,.k-button:hover .k-addfolder,.k-textbox:hover .k-i-folder-add,.k-textbox:hover .k-addfolder,.k-button:active .k-i-folder-add,.k-button:active .k-addfolder{background-position:-48px -272px}.k-i-folder-up,.k-goup{background-position:-32px -288px}.k-state-hover .k-i-folder-up,.k-state-hover .k-goup,.k-button:hover .k-i-folder-up,.k-button:hover .k-goup,.k-textbox:hover .k-i-folder-up,.k-textbox:hover .k-goup,.k-button:active .k-i-folder-up,.k-button:active .k-goup{background-position:-48px -288px}.k-image{border:0}html .k-success-colored{color:#507f50;border-color:#d0dfd0;background-color:#f0fff0}html .k-info-colored{color:#50607f;border-color:#d0d9df;background-color:#f0f9ff}html .k-error-colored{color:#7f5050;border-color:#dfd0d0;background-color:#fff0f0}.k-inline-block{padding:0 2px}.k-loading,.k-loading-image{background-color:transparent;background-repeat:no-repeat;background-position:center center}.k-loading-mask,.k-loading-image,.k-loading-text{position:absolute}.k-loading-text{top:-4000px;left:-4000px}.k-loading-image,.k-loading-color{width:100%;height:100%}.k-loading-image{top:0;left:0;z-index:2}.k-loading-color{filter:alpha(opacity=30);opacity:.3}.k-content-frame{border:0;width:100%;height:100%}.k-pane>.k-splitter-overlay{filter:alpha(opacity=0);opacity:0;position:absolute}.k-drag-clue{position:absolute;z-index:10003;border-style:solid;border-width:1px;font-size:.9em;padding:.2em .4em;white-space:nowrap;cursor:default}.k-drag-status{margin-top:-3px;margin-right:4px;vertical-align:middle}.k-reorder-cue{position:absolute;width:1px;overflow:visible}.k-reorder-cue .k-icon{position:absolute;left:-4px;width:8px;height:4px}.k-reorder-cue .k-i-arrow-s{top:-4px;background-position:-4px -166px}.k-reorder-cue .k-i-arrow-n{bottom:-4px;background-position:-4px -134px}.k-scrollbar{position:absolute;overflow:scroll}.k-scrollbar-vertical{top:0;right:0;width:17px;height:100%;overflow-x:hidden}.k-touch-scrollbar{display:none;position:absolute;z-index:200000;height:8px;width:8px;border:1px solid #8a8a8a;background-color:#858585}@media only screen and (-webkit-min-device-pixel-ratio:2){body .k-touch-scrollbar{height:12px;width:12px;-webkit-border-radius:7px}}.k-virtual-scrollable-wrap{overflow-x:auto}div.k-window{display:inline-block;position:absolute;z-index:10001;border-style:solid;border-width:1px;padding-top:2em}.k-block>.k-header,.k-window-titlebar{position:absolute;width:100%;height:1.1em;line-height:1.1em;border-bottom-style:solid;border-bottom-width:1px;margin-top:-2em;padding:.4em 0;font-size:1.2em;white-space:nowrap;min-height:16px}.k-block>.k-header{position:relative;margin:-2px 0 0 -2px;padding:.3em 2px}.k-window-title{position:absolute;left:.44em;right:.44em;overflow:hidden;cursor:default;text-overflow:ellipsis}.k-window-title .k-image{margin:0 5px 0 0;vertical-align:middle}div.k-window-titleless{padding-top:0}div.k-window-content{position:relative;z-index:-1;height:100%;padding:.58em;overflow:auto;outline:0;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.k-ie7 .k-window{padding-bottom:1.16em}.k-window-titlebar .k-window-actions{position:absolute;top:0;right:.3em;padding-top:.3em;white-space:nowrap}.k-window-titlebar .k-window-action{display:inline-block;width:16px;height:16px;padding:2px;text-decoration:none;vertical-align:middle;filter:alpha(opacity=70);opacity:.7}.k-window-titlebar .k-state-hover{border-style:solid;border-width:1px;padding:1px;filter:alpha(opacity=100);opacity:1}.k-window-action .k-icon{margin:0;vertical-align:top}.k-window .k-resize-handle{position:absolute;z-index:1;background-color:#fff;font-size:0;line-height:6px;filter:alpha(opacity=0);opacity:0;zoom:1}.k-resize-n{top:-3px;left:0;width:100%;height:6px;cursor:n-resize}.k-resize-e{top:0;right:-3px;width:6px;height:100%;cursor:e-resize}.k-resize-s{bottom:-3px;left:0;width:100%;height:6px;cursor:s-resize}.k-resize-w{top:0;left:-3px;width:6px;height:100%;cursor:w-resize}.k-resize-se{bottom:-3px;right:-3px;width:16px;height:16px;cursor:se-resize}.k-resize-sw{bottom:-3px;left:-3px;width:6px;height:6px;cursor:sw-resize}.k-resize-ne{top:-3px;right:-3px;width:6px;height:6px;cursor:ne-resize}.k-resize-nw{top:-3px;left:-3px;width:6px;height:6px;cursor:nw-resize}.k-overlay{position:fixed;top:0;left:0;z-index:10001;width:100%;height:100%;background-color:#000;filter:alpha(opacity=50);opacity:.5}.k-window .k-overlay{position:absolute;width:100%;height:100%;background-color:#fff;filter:alpha(opacity=0);opacity:0}.k-window .k-widget{z-index:10002}.k-tabstrip{margin:0;padding:0;zoom:1}.k-tabstrip .k-tabstrip-items{padding:.3em .3em 0}.k-tabstrip-items .k-item,.k-panelbar .k-tabstrip-items .k-item{list-style-type:none;display:inline-block;position:relative;border-style:solid;border-width:1px 1px 0;margin:0 -1px 0 0;padding:0;vertical-align:top}.k-tabstrip-items .k-tab-on-top,.k-tabstrip-items .k-state-active,.k-panelbar .k-tabstrip-items .k-state-active{margin-bottom:-1px;padding-bottom:1px}.k-tabstrip-items .k-tab-on-top{z-index:1}.k-tabstrip-items .k-link,.k-panelbar .k-tabstrip-items .k-link{display:inline-block;border-bottom-width:0;padding:.5em .92em}.k-tabstrip-items .k-icon,.k-panelbar .k-tabstrip-items .k-icon{margin:-1px 4px 0 -3px;vertical-align:top}.k-tabstrip-items .k-item .k-image,.k-tabstrip-items .k-item .k-sprite,.k-panelbar .k-tabstrip-items .k-item .k-image,.k-panelbar .k-tabstrip-items .k-item .k-sprite{margin:-3px 3px 0 -6px;vertical-align:middle}.k-ie7 .k-tabstrip-items .k-item .k-image,.k-ie7 .k-tabstrip-items .k-item .k-sprite{margin-top:-1px;vertical-align:top}.k-tabstrip .k-content,.k-panelbar .k-tabstrip .k-content{position:static;border-style:solid;border-width:1px;margin:0 .29em .3em;padding:.3em .92em;zoom:1}.k-tabstrip>.k-content{display:none}.k-tabstrip .k-content.km-scroll-wrapper{padding:0}.k-tabstrip .k-content>.km-scroll-container{padding:.3em .92em;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.k-panelbar{zoom:1}.k-panelbar>.k-item,.k-panel>.k-item{list-style-type:none;display:block;border-width:0;margin:0;zoom:1;-moz-border-radius:0;-webkit-border-radius:0;-o-border-radius:0;border-radius:0}.k-panelbar .k-image,.k-panelbar .k-sprite{float:left;margin-top:4px;margin-right:5px;vertical-align:middle}.k-panelbar>.k-item>.k-link,.k-panel>.k-item>.k-link{display:block;position:relative;border-bottom-style:solid;border-bottom-width:1px;padding:0 1em;line-height:2.34em;text-decoration:none;zoom:1}.k-panelbar-expand,.k-panelbar-collapse{position:absolute;top:5px;right:2px}.k-panelbar .k-panel,.k-panelbar .k-content{position:relative;border-bottom-style:solid;border-bottom-width:1px;margin:0;padding:0;zoom:1}.k-panel>.k-item>.k-link{border-bottom:0;font-size:.95em;line-height:2.2}.k-panel .k-i-arrow-n,.k-panel .k-i-arrow-s{top:4px}.k-panel .k-panel>.k-item>.k-link{padding-left:2em}.k-panelbar .k-i-seek-e .k-link{border-bottom:0}.k-panel .k-panel{border-bottom:0}.k-menu{cursor:default}.k-menu,.k-menu .k-group{list-style:none;margin:0;padding:0;zoom:1}.k-menu:after{content:'';display:block;width:99%;height:0;float:inherit;overflow:hidden}.k-menu .k-item .k-item,ul.k-menu-vertical>.k-item{display:block;float:none;border-width:0}.k-ie7 .k-menu .k-item .k-item{zoom:normal}.k-menu .k-item>.k-link>.k-icon,.k-menu .k-image,.k-menu .k-sprite{margin:-2px 4px 0 -4px;vertical-align:middle}.k-menu .k-item>.k-link>.k-icon{margin:-2px 0 0}.k-ie7 .k-menu .k-item>.k-link>.k-i-arrow-s,.k-ie7 .k-menu .k-image,.k-ie7 .k-menu .k-sprite{margin-top:0}.k-menu .k-item>.k-link{display:block;padding:.5em .9em .4em;line-height:1.34em;-khtml-user-select:none;-webkit-user-select:none;-moz-user-select:-moz-none;-ms-user-select:none;user-select:none}.k-menu .k-group{display:none;border-style:solid;border-width:1px;overflow:visible;white-space:nowrap}.k-menu .k-group .k-item{display:block;border-width:0}.k-menu .k-item,.k-widget.k-menu-horizontal>.k-item{position:relative;float:left;border-style:solid;border-width:0 1px 0 0;vertical-align:top;zoom:1;box-sizing:content-box}.k-menu .k-group .k-item>.k-link{padding:.28em 1.8em .38em .9em}.k-ie7 .k-menu .k-group .k-link{width:100%}.k-menu .k-item>.k-link>.k-i-arrow-s{margin-right:-8px}.k-menu .k-item>.k-link>.k-i-arrow-e{position:absolute;top:50%;margin-top:-8px;right:2px}.k-menu .k-animation-container{border:0}.k-menu .k-animation-container,.k-menu .k-group{position:absolute;left:0}.k-menu .k-animation-container .k-animation-container,.k-menu .k-group .k-group,.k-menu-vertical .k-animation-container,.k-menu-vertical .k-group{top:0;left:0}.k-menu .k-animation-container .k-group{top:auto;left:auto;margin-left:-1px}.k-menu .k-animation-container,.k-popup .k-animation-container{margin-top:-1px;padding-left:1px}.k-popup .k-animation-container .k-popup{margin-left:-1px}ul.k-menu .k-separator{padding:.25em 0;height:100%;width:1px;font-size:0;line-height:0;border-width:0 1px 0 0}ul.k-menu-vertical .k-separator,.k-menu .k-group .k-separator{padding:0;height:1px;width:100%;border-width:1px 0 0}.k-grid,.k-listview{position:relative;zoom:1}.k-grid table{width:100%;border-collapse:separate;empty-cells:show;border-width:0;outline:0}.k-grid-header .k-header{text-align:left}.k-grid-header .k-header{overflow:hidden;border-style:solid;border-width:0 0 1px 1px;padding:.5em .6em .4em .6em;font-weight:normal;white-space:nowrap;text-overflow:ellipsis}.k-grid-header .k-header .k-link{display:block;min-height:18px;line-height:18px;margin:-0.5em -0.6em -0.4em -0.6em;padding:.5em .6em .4em .6em}.k-grid-header .k-filterable .k-link{padding-right:2.4em}.k-grid-header .k-header .k-icon{position:static}.k-grid-header .k-link>.k-icon{vertical-align:text-top}.k-grid .k-state-hover{cursor:pointer}.k-grid td{border-style:solid;border-width:0 0 0 1px;padding:.4em .6em;overflow:hidden;line-height:1.6em;vertical-align:middle;text-overflow:ellipsis}.k-grid .k-grouping-row td,.k-grid .k-hierarchy-cell{overflow:visible}.k-grid-edit-row td{text-overflow:clip}.k-grid-edit-row .k-textbox{margin-top:0;margin-bottom:0}.k-grid-header-wrap,.k-grid-footer-wrap{position:relative;width:100%;overflow:hidden;border-style:solid;border-width:0 1px 0 0;zoom:1}div.k-grid-header,div.k-grid-footer{padding-right:17px;border-bottom-style:solid;border-bottom-width:1px;zoom:1}div.k-grid-header .k-header{border-bottom-width:0}.k-grid-content{position:relative;width:100%;overflow:auto;overflow-x:auto;overflow-y:scroll;zoom:1}@media print{.k-grid{height:auto!important}.k-grid-header{padding:0!important}.k-grid-content{overflow:visible;height:auto!important}}.k-virtual-scrollable-wrap{height:100%;overflow-y:hidden;position:relative}.k-grid-header table,.k-grid-content table,.k-grid-footer table{table-layout:fixed}.k-ie7 .k-grid-content table{width:auto}.k-grid-toolbar{border-style:solid;border-width:1px 0 0}.k-grid-header .k-header:first-child,.k-grid tbody td:first-child,.k-grid tfoot td:first-child{border-left-width:0}.k-grid-toolbar:first-child,.k-grouping-header+.k-grid-toolbar{border-width:0 0 1px}.k-footer-template td{border-style:solid;border-width:1px 0 0 1px}.k-group-footer td{border-style:solid;border-width:1px 0}.k-grid-footer{border-style:solid;border-width:1px 0 0}.k-grid-footer td{border-top-width:0}.k-pager-wrap{overflow:auto;border-style:solid;border-width:1px;line-height:24px;padding:4px 0 4px 3px}.k-grid-pager{border-width:1px 0 0}.k-grid .k-pager-numbers,.k-pager-numbers .k-link,.k-pager-numbers .k-state-selected{display:inline-block;vertical-align:top;margin-right:1px}.k-pager-numbers{margin:0 2px}.k-pager-numbers .k-state-selected{vertical-align:top}.k-pager-numbers li,.k-pager-input{float:left}.k-grid .k-pager-numbers{float:left;cursor:default}.k-pager-info{float:right;padding:0 16px}.k-pager-numbers .k-link{text-decoration:none}.k-pager-wrap>.k-link{float:left;margin:0 1px;padding:0 3px;height:22px;line-height:22px;-moz-border-radius:13px;-webkit-border-radius:13px;-o-border-radius:13px;border-radius:13px;cursor:pointer}.k-pager-wrap>a.k-state-disabled:hover{background:0;cursor:default}.k-pager-wrap>.k-link .k-icon{vertical-align:top;margin-top:3px}.k-pager-numbers .k-link{padding:0 8px;-moz-border-radius:13px;-webkit-border-radius:13px;-o-border-radius:13px;border-radius:13px}.k-pager-numbers .k-link:hover{padding:0 7px;border-style:solid;border-width:1px;line-height:22px}.k-pager-wrap>.k-link{border-style:solid;border-width:1px}.k-pager-wrap .k-pager-refresh{float:right;margin-right:6px;border-width:0;-moz-border-radius:0;-webkit-border-radius:0;-o-border-radius:0;border-radius:0}.k-pager-numbers .k-state-selected{border-style:solid;border-width:1px;line-height:22px;padding:0 7px;-moz-border-radius:13px;-webkit-border-radius:13px;-o-border-radius:13px;border-radius:13px}.k-pager-wrap .k-textbox{width:40px}.k-ie7 .k-pager-wrap .k-textbox{height:16px;margin-top:2px;display:inline}.k-pager-wrap .k-dropdown{width:54px}.k-pager-refresh{float:right}.k-pager-input,.k-pager-sizes{padding:0 17px}.k-ie7 .k-pager-sizes{float:left}.k-pager-wrap .k-textbox,.k-pager-wrap .k-widget{margin:-0.3em .4em 0}.k-grid-filter,.k-header-column-menu{float:right;margin:-0.5em -0.6em -0.4em;padding:.5em .2em .4em;position:relative;z-index:1}.k-grid .k-animation-container{position:absolute}.k-filter-menu{padding:.5em}.k-filter-menu .k-widget,.k-filter-menu .k-textbox{display:block}.k-filter-help-text,.k-filter-menu .k-widget{margin:.3em 0 0}.k-filter-menu .k-filter-and{width:6em;margin:.6em 0 0}.k-filter-menu .k-button{width:48%;margin:.6em 4% 0 0}.k-filter-menu .k-button+.k-button{margin-right:0}.k-grouping-row .k-icon{margin:0 4px 0 0}.k-grouping-row p{display:inline-block;vertical-align:middle;margin-left:-0.6em;padding:0 .6em}.k-grid>table>tbody .k-group-cell+td,.k-grid>.k-grid-content .k-group-cell+td,.k-grid .k-hierarchy-cell+td{border-left-width:0}.k-grid .k-group-col,.k-grid .k-hierarchy-col{width:30px}.k-grouping-header{border-bottom-style:solid;border-bottom-width:1px}.k-grouping-header{line-height:2}.k-grouping-dropclue{position:absolute;width:6px;height:25px;background-repeat:no-repeat;background-position:-165px -148px}.k-grouping-header .k-group-indicator{display:inline-block;border-style:solid;border-width:1px;margin:0 3px;padding:.15em .15em .15em .4em;line-height:1.5em}.k-grouping-header .k-link{display:inline-block;border-width:0;padding:0;line-height:normal;text-decoration:none}.k-grouping-header .k-button{border:0;padding:0;background:transparent;line-height:1}.k-grouping-header .k-link .k-icon{margin:0 0 0 -3px}.k-grouping-header .k-button .k-icon{margin:0 0 0 3px}.k-grouping-header a,.k-grouping-header .k-button{display:inline-block;vertical-align:middle}.k-dirty{position:absolute;width:0;height:0;border-style:solid;border-width:3px;border-color:#f00 transparent transparent #f00;margin:-0.45em 0 0 -0.6em;padding:0;overflow:hidden;vertical-align:top}.k-grouping-header,.k-grid-toolbar{margin:0;padding:.2em .6em;cursor:default}.k-grid .k-edit-container{padding:0}.k-edit-form{margin:0;padding:0}.k-grid-edit-row .k-edit-form td{border-bottom-width:0}.k-edit-form-container{position:relative;width:400px}.k-edit-label,.k-edit-field,.k-edit-form-container .editor-label,.k-edit-form-container .editor-field{display:inline-block;padding-bottom:1em}.k-edit-label,.k-edit-form-container .editor-label{width:30%;text-align:right;padding-right:3%}.k-edit-field,.k-edit-form-container .editor-field{width:60%}.k-grid .field-validation-error{display:block}.k-grid .input-validation-error{border-style:ridge;border-color:#f00;background-color:#ffc0cb}.k-grid-toolbar .k-button{vertical-align:middle}.k-grid-actions{display:inline-block}.k-ie7 .k-grid-actions{vertical-align:bottom}.k-grid .k-button,.k-edit-form-container .k-button{margin:0 .2em}.k-grid tbody .k-button,.k-ie8 .k-grid tbody button.k-button{min-width:64px}.k-grid tbody button.k-button{min-width:78px}.k-ie7 .k-grid tbody a.k-button{min-width:62px}html body .k-grid tbody .k-button-icon{width:auto;min-width:0}.k-detail-row{position:relative}.k-grid .k-detail-cell{overflow:visible}.k-grid .k-edit-cell{padding:0 .3em}.k-edit-cell>.k-textbox,.k-edit-cell>.k-widget,.k-grid-edit-row>td>.k-textbox,.k-grid-edit-row>td>.k-widget{width:100%}.k-edit-cell .k-widget,.k-grid-edit-row .k-widget{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.k-ie7 .k-edit-cell>.k-textbox,.k-ie7 .k-edit-cell>.k-widget,.k-ie7 .k-grid-edit-row>td>.k-textbox,.k-ie7 .k-grid-edit-row>td>.k-widget{display:block;width:90%}html .k-edit-cell .k-tooltip,html .k-grid-edit-row .k-tooltip{width:auto;max-width:300px}.k-edit-cell input[type="checkbox"]{margin-left:.6em}.k-grid tbody td>.k-grid-delete{margin-top:-0.2em;margin-bottom:-0.2em}.k-grid-resize-indicator{position:absolute;width:2px;background-color:#aaa}.k-grid .k-resize-handle{position:absolute;height:25px;cursor:col-resize;z-index:2}.k-marquee{position:absolute;filter:alpha(opacity=30);opacity:.3}.k-column-menu .k-sprite{margin-right:10px}.k-column-menu>.k-menu{border-width:0}.k-columns-item .k-group{max-height:200px;overflow:auto}span.k-datepicker,span.k-timepicker,span.k-datetimepicker,span.k-colorpicker,span.k-numerictextbox,span.k-combobox,span.k-dropdown{background:0}.k-autocomplete,.k-combobox,.k-datepicker,.k-timepicker,.k-datetimepicker,.k-colorpicker,.k-numerictextbox,.k-dropdown,.k-selectbox,.k-textbox{position:relative;display:inline-block;width:12.4em;overflow:visible;border-width:0;vertical-align:middle}.k-autocomplete,.k-combobox,.k-datepicker,.k-timepicker,.k-datetimepicker,.k-colorpicker,.k-numerictextbox,.k-dropdown,.k-selectbox{white-space:nowrap}.k-colorpicker{width:auto}.k-datetimepicker{width:15em}.k-autocomplete,.k-picker-wrap,.k-numeric-wrap{position:relative;cursor:default}.k-dropdown-wrap{position:relative}.k-dropdown-wrap,.k-picker-wrap,.k-numeric-wrap{display:block}.k-block,.k-widget,.k-grid,.k-slider,.k-splitter,.k-treeview,.k-panelbar,.k-content,.k-header-column-menu{outline:0;-webkit-tap-highlight-color:rgba(0,0,0,0)}.k-block,.k-slider,.k-splitbar,.k-calendar,.k-pager-wrap,.k-grid-header .k-link,.k-header-column-menu{-webkit-touch-callout:none}.k-popup.k-list-container,.k-popup.k-calendar-container{-webkit-touch-callout:none;-webkit-tap-highlight-color:rgba(0,0,0,0);padding:2px;border-width:1px;border-style:solid}.k-list-container.k-state-border-up,.k-autocomplete.k-state-border-up,.k-dropdown-wrap.k-state-border-up,.k-picker-wrap.k-state-border-up,.k-numeric-wrap.k-state-border-up{border-top:0;padding-top:3px}.k-dropdown-wrap.k-state-border-up .k-select,.k-picker-wrap.k-state-border-up .k-select{top:1px}.k-list-container.k-state-border-down,.k-autocomplete.k-state-border-down,.k-dropdown-wrap.k-state-border-down,.k-picker-wrap.k-state-border-down,.k-numeric-wrap.k-state-border-down{border-bottom:0;padding-bottom:3px}.k-textbox,.k-autocomplete,.k-dropdown-wrap,.k-picker-wrap,.k-numeric-wrap{border-width:1px;border-style:solid;padding:2px 22px 2px 2px}.k-numeric-wrap.k-expand-padding{padding-right:2px}.k-textbox,.k-autocomplete{padding:2px}.k-textbox.k-space-left{padding-left:22px}.k-textbox.k-space-right{padding-right:22px}.k-textbox .k-icon{font-size:inherit;top:50%;margin:-8px 0 0;position:absolute}.k-space-left .k-icon{left:3px}.k-space-right .k-icon{right:3px}.k-autocomplete,.k-dropdown-wrap.k-state-focused,.k-dropdown-wrap.k-state-hover,.k-picker-wrap.k-state-focused,.k-picker-wrap.k-state-hover,.k-numeric-wrap.k-state-focused,.k-numeric-wrap.k-state-hover{-webkit-transition:box-shadow .15s ease-out;-moz-transition:box-shadow .15s ease-out;-o-transition:box-shadow .15s ease-out;transition:box-shadow .15s ease-out}.k-textbox>input,.k-picker-wrap .k-input,.k-numeric-wrap .k-input,.k-combobox .k-input{width:100%;vertical-align:top}.k-picker-wrap .k-input,.k-numeric-wrap .k-input,.k-dropdown-wrap .k-input,.k-selectbox .k-input{font-family:inherit;border-width:0;outline:0}.k-dropdown .k-input,.k-selectbox .k-input{background:transparent}.k-ie7 .k-picker-wrap .k-input,.k-ie7 .k-numeric-wrap .k-input,.k-ie7 .k-combobox .k-input{margin:-1px 0}.k-picker-wrap .k-select,.k-numeric-wrap .k-select,.k-dropdown-wrap .k-select{position:absolute;top:0;right:0;display:inline-block;vertical-align:top;text-decoration:none}.k-combobox .k-select,.k-picker-wrap .k-select,.k-numeric-wrap .k-select{border-style:solid;border-width:0;border-color:inherit}.k-picker-wrap .k-select,.k-numeric-wrap .k-select{padding:0 2px}span.k-datetimepicker .k-select,span.k-datetimepicker .k-select+.k-select{right:0}.k-textbox,.k-autocomplete{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.k-textbox>input,.k-autocomplete .k-input{display:block}.k-combobox .k-icon{margin-top:1px}.k-dropdown .k-select,.k-selectbox .k-select{overflow:hidden;border:0;text-decoration:none;font:inherit;color:inherit}.k-dropdown .k-input,.k-selectbox .k-input{display:block;overflow:hidden;text-overflow:ellipsis}.k-textbox>input,.k-autocomplete .k-input,.k-picker-wrap .k-input,.k-numeric-wrap .k-input,.k-dropdown-wrap .k-input,.k-selectbox .k-input{height:1.31em;line-height:1.31em;padding:.18em 0;text-indent:4px;border:0;margin:0}.k-ie7 .k-autocomplete .k-input,.k-ie7 .k-picker-wrap .k-input,.k-ie7 .k-numeric-wrap .k-input,.k-ie7 .k-dropdown-wrap .k-input,.k-ie7 .k-selectbox .k-input{text-indent:0}.k-picker-wrap .k-select,.k-numeric-wrap .k-select,.k-dropdown-wrap .k-select{min-height:1.3em;line-height:1.3em;vertical-align:middle;padding:3px}body .k-datetimepicker .k-select{-moz-border-radius:0;-webkit-border-radius:0;-o-border-radius:0;border-radius:0}.k-combobox .k-icon,.k-dropdown,.k-selectbox .k-icon{cursor:pointer}.k-popup{border-style:solid;border-width:1px}.k-popup .k-item{cursor:default}.k-popup .k-calendar{border:0}.k-list{height:100%}.k-popup .k-list .k-item{padding:1px 5px 1px 5px;line-height:1.8em}.k-popup .k-list .k-state-hover,.k-popup .k-list .k-state-focused,.k-popup .k-list .k-state-selected{padding:0 4px;border-width:1px;border-style:solid}.k-multiselect-wrap{border-width:0;border-style:solid;border-radius:4px;border-color:#c5c5c5;background-color:#FFF}.k-multiselect-wrap .k-input{background-color:transparent;height:1.31em;line-height:1.31em;padding:.18em 0;text-indent:4px;border:0;margin:0;float:left}.k-multiselect-wrap li{display:inline-block;border-style:solid;border-width:1px;margin:5px 3px;padding:.15em .15em .15em .4em;line-height:1.5em;float:left}.k-calendar{position:relative;display:inline-block;width:203px;overflow:hidden}.k-calendar td,.k-calendar .k-link{text-decoration:none}.k-calendar .k-action-link{text-decoration:underline}.k-calendar .k-header,.k-calendar .k-footer{position:relative;text-align:center;zoom:1}.k-widget.k-calendar .k-nav-prev,.k-widget.k-calendar .k-nav-next{position:absolute;top:3px}.k-widget.k-calendar .k-nav-prev{left:1%}.k-widget.k-calendar .k-nav-next{right:1%}.k-calendar .k-content{float:left;border-spacing:0;width:100%;height:166px;border-width:0;margin:0;table-layout:fixed;text-align:right;outline:0}.k-calendar .k-animation-container .k-content{height:100%}.k-widget.k-calendar .k-nav-fast{display:inline-block;width:75%;height:22px;line-height:22px;margin:3px 0 4px}.k-calendar .k-header .k-icon{vertical-align:top;margin:3px 3px 4px}.k-calendar th{border-bottom-style:solid;border-bottom-width:1px;padding:.4em .45em .4em .1em;font-weight:normal;cursor:default}.k-calendar td{padding:1px;cursor:pointer}.k-calendar .k-state-focus{border-style:dotted;border-width:1px;padding:0}.k-calendar .k-content .k-link{display:block;overflow:hidden;min-height:22px;line-height:22px;padding:0 .45em 0 .1em}.k-calendar .k-meta-view .k-link{padding:.25em 0 .3em;text-align:center}.k-calendar .k-footer{clear:both;padding:.5em 0}.k-calendar .k-nav-today:hover{text-decoration:underline}span.k-timepicker,span.k-datetimepicker,span.k-datepicker{background-color:transparent}.k-datetimepicker .k-picker-wrap{padding-right:42px}.k-datetimepicker .k-picker-wrap .k-icon{margin-left:3px}.k-picker-wrap .k-icon{cursor:pointer}.k-button,.k-textbox,.k-timepicker,.k-datepicker,.k-datetimepicker{display:inline-block;vertical-align:middle}.k-picker-wrap .k-input{margin:0}.k-time-popup .k-item{padding:1px 3px}div.k-treeview{border-width:0;background:0;overflow:auto;white-space:nowrap}.k-treeview .k-item{display:block;border-width:0;margin:0;padding:0 0 0 16px}.k-treeview>.k-group,.k-treeview .k-item>.k-group,.k-treeview .k-content{margin:0;padding:0;background:0;list-style-type:none;position:relative}.k-treeview .k-icon,.k-treeview .k-image,.k-treeview .k-sprite,.k-treeview .k-checkbox,.k-treeview .k-in{display:inline-block;vertical-align:top}.k-treeview .k-plus,.k-treeview .k-minus,.k-treeview .k-plus-disabled,.k-treeview .k-minus-disabled{margin-top:3px;margin-left:-16px;cursor:pointer}.k-treeview .k-plus-disabled,.k-treeview .k-minus-disabled{cursor:default}.k-treeview .k-sprite,.k-treeview .k-image{margin-right:3px}.k-treeview .k-in{margin:1px 0 1px 2px;padding:2px 4px 2px 3px;line-height:16px;text-decoration:none}.k-treeview span.k-in{cursor:default}.k-treeview .k-in.k-state-hover,.k-treeview .k-in.k-state-selected,.k-treeview .k-in.k-state-focused{border-style:solid;border-width:1px;padding:1px 3px 1px 2px}.k-treeview .k-drop-hint{position:absolute;z-index:10000;visibility:hidden;width:80px;height:5px;margin-top:-3px;background-color:transparent;background-repeat:no-repeat}.k-input{padding:.25em 0}.k-input,.k-textbox>input{outline:0;-webkit-tap-highlight-color:rgba(0,0,0,0)}.k-textbox{outline:0;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;text-indent:2px\9;width:12.4em}input.k-textbox{padding:2px .3em;height:2.12em;line-height:1.6em}.k-ie7 input.k-textbox{display:block;line-height:1.72em;height:1.72em;text-indent:.3em}textarea.k-textbox{height:auto}.k-ie7 .k-textbox{padding:1px 0;text-indent:0}span.k-numerictextbox{background:transparent}.k-numerictextbox .k-input{margin:0}.k-numerictextbox .k-select{padding-top:1px;padding-bottom:1px}.k-numerictextbox .k-link{display:block;height:11px;line-height:11px;border-width:0;padding:0}.k-numerictextbox .k-icon{height:11px;vertical-align:top}.k-colorpicker .k-selected-color{font-size:0;vertical-align:top;line-height:0;display:inline-block;height:16px;width:16px;border:1px solid #ccc}.k-colorpicker .k-tool-icon{position:relative;top:-4px;display:inline-block;padding:2px 3px;font-size:0;line-height:0;background-repeat:no-repeat;vertical-align:middle;width:16px;height:16px}.k-colorpicker .k-tool-icon .k-selected-color{display:block;height:3px;width:16px;position:absolute;bottom:-4px}.k-colorpicker .k-icon{cursor:pointer}.k-colorpicker:focus{outline:1px dotted #000}.k-disabled-overlay{position:absolute;left:0;top:0;width:100%;height:100%;background-color:#fff;opacity:.5;filter:alpha(opacity=50)}.k-colorpalette{position:relative;width:120px;line-height:0;border-width:0}.k-colorpalette .k-palette{display:inline-block;vertical-align:top}.k-colorpalette .k-item{display:block;float:left;box-sizing:border-box;-moz-box-sizing:border-box;-ms-box-sizing:border-box;-webkit-box-sizing:border-box;width:14px;height:14px;overflow:hidden;font-size:0;padding:0;z-index:0;position:relative}.k-colorpalette .k-item div{height:100%;width:100%}.k-colorpalette .k-item.k-state-selected{z-index:100;background:transparent;-webkit-box-shadow:0 1px 4px #000;box-shadow:0 1px 4px #000;border:1px solid #fff}.k-flatcolorpicker{display:inline-block;width:250px;padding-bottom:5px;position:relative}div.k-flatcolorpicker{background-color:transparent;background-image:none;border-width:0}.k-flatcolorpicker .k-selected-color{background-image:url("textures/transtexture.png");background-position:50% 50%}.k-flatcolorpicker .k-selected-color .k-selected-color-display{overflow:hidden}.k-flatcolorpicker .k-selected-color input.k-color-value{float:right;font-family:Consolas,"Ubuntu Mono","Lucida Console","Courier New",monospace;padding:.75em .3em .65em 1em;border:0;width:70%;height:100%}.k-flatcolorpicker .k-hsv-rectangle{position:relative}.k-flatcolorpicker .k-hsv-rectangle .k-draghandle{cursor:pointer;position:absolute;z-index:10;left:50%;top:50%;width:6px;height:6px;border:2px solid #eee;margin-left:-5px;margin-top:-5px;-moz-border-radius:6px;-webkit-border-radius:6px;-o-border-radius:6px;border-radius:6px;-webkit-box-shadow:0 1px 4px #444;box-shadow:0 1px 4px #444;background:transparent}.k-flatcolorpicker .k-hsv-rectangle .k-draghandle:hover,.k-flatcolorpicker .k-hsv-rectangle .k-draghandle:focus{background:transparent;border-color:#fff;-webkit-box-shadow:0 1px 5px #000;box-shadow:0 1px 5px #000}.k-flatcolorpicker .k-hsv-rectangle.k-dragging,.k-flatcolorpicker .k-hsv-rectangle.k-dragging *{cursor:none}.k-flatcolorpicker .k-slider-horizontal{height:20px;width:90%;margin:0 5%}.k-flatcolorpicker .k-slider-horizontal .k-slider-track{border:1px solid;border-color:#999 #fff #fff #999}.k-flatcolorpicker .k-hue-slider,.k-flatcolorpicker .k-transparency-slider{display:block}.k-flatcolorpicker .k-hue-slider .k-slider-selection,.k-flatcolorpicker .k-transparency-slider .k-slider-selection{background:transparent}.k-flatcolorpicker .k-hue-slider .k-draghandle,.k-flatcolorpicker .k-transparency-slider .k-draghandle{background:transparent;border:3px solid #eee;margin-top:1px;height:8px;width:8px;-webkit-box-shadow:0 1px 4px #444;box-shadow:0 1px 4px #444}.k-flatcolorpicker .k-hue-slider .k-draghandle:hover,.k-flatcolorpicker .k-transparency-slider .k-draghandle:hover,.k-flatcolorpicker .k-hue-slider .k-draghandle:focus,.k-flatcolorpicker .k-transparency-slider .k-draghandle:focus{background:transparent;border-color:#fff;-webkit-box-shadow:0 1px 5px #000;box-shadow:0 1px 5px #000}.k-flatcolorpicker .k-hue-slider .k-slider-track{background:-moz-linear-gradient(left,#f00 0,#ff0 16%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 84%,#ff0004 100%);background:-webkit-gradient(linear,left top,right top,color-stop(0%,#f00),color-stop(16%,#ff0),color-stop(33%,#0f0),color-stop(50%,#0ff),color-stop(67%,#00f),color-stop(84%,#f0f),color-stop(100%,#ff0004));background:-webkit-linear-gradient(left,#f00 0,#ff0 16%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 84%,#ff0004 100%);background:-o-linear-gradient(left,#f00 0,#ff0 16%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 84%,#ff0004 100%);background:-ms-linear-gradient(left,#f00 0,#ff0 16%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 84%,#ff0004 100%);background:-left-linear-gradient(left,#f00 0,#ff0 16%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 84%,#ff0004 100%)}.k-flatcolorpicker .k-transparency-slider .k-slider-track{background-image:url("textures/transparency.png");background-size:100% auto;background-position:100% 50%;background-repeat:no-repeat}.k-flatcolorpicker .k-controls{margin-top:10px;margin-bottom:5px;text-align:center;font-size:90%}.k-flatcolorpicker .k-controls .k-button{width:6em}.k-flatcolorpicker .k-hsv-gradient{background:-moz-linear-gradient(top,rgba(0,0,0,0) 0,#000 100%),-moz-linear-gradient(left,#fff 0,rgba(255,255,255,0) 100%);background:-webkit-gradient(linear,left top,left bottom,color-stop(0%,rgba(0,0,0,0)),color-stop(100%,#000)),-webkit-gradient(linear,left top,right top,color-stop(0%,#fff),color-stop(100%,rgba(255,255,255,0)));background:-webkit-linear-gradient(top,rgba(0,0,0,0) 0,#000 100%),-webkit-linear-gradient(left,#fff 0,rgba(255,255,255,0) 100%);background:-o-linear-gradient(top,rgba(0,0,0,0) 0,#000 100%),-o-linear-gradient(left,#fff 0,rgba(255,255,255,0) 100%);background:-ms-linear-gradient(top,rgba(0,0,0,0) 0,#000 100%),-ms-linear-gradient(left,#fff 0,rgba(255,255,255,0) 100%);background:-top-linear-gradient(top,rgba(0,0,0,0) 0,#000 100%),-left-linear-gradient(left,#fff 0,rgba(255,255,255,0) 100%);height:180px;margin-bottom:5px}.k-ie9 .k-flatcolorpicker .k-hue-slider .k-slider-track{background:url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIxMDAlIiB5Mj0iMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2ZmMDAwMCIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjE2JSIgc3RvcC1jb2xvcj0iI2ZmZmYwMCIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjMzJSIgc3RvcC1jb2xvcj0iIzAwZmYwMCIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjUwJSIgc3RvcC1jb2xvcj0iIzAwZmZmZiIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjY3JSIgc3RvcC1jb2xvcj0iIzAwMDBmZiIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9Ijg0JSIgc3RvcC1jb2xvcj0iI2ZmMDBmZiIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiNmZjAwMDQiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+)}.k-ie9 .k-flatcolorpicker .k-hsv-gradient{background:url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzAwMDAwMCIgc3RvcC1vcGFjaXR5PSIwIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiMwMDAwMDAiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+),url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIxMDAlIiB5Mj0iMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2ZmZmZmZiIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiNmZmZmZmYiIHN0b3Atb3BhY2l0eT0iMCIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+)}.k-ie7 .k-flatcolorpicker .k-hue-slider .k-slider-track,.k-ie8 .k-flatcolorpicker .k-hue-slider .k-slider-track{background:url("textures/hue.png") repeat 0 50%}.k-ie7 .k-flatcolorpicker .k-transparency-slider .k-slider-track,.k-ie8 .k-flatcolorpicker .k-transparency-slider .k-slider-track{background:url("textures/transparency.png") repeat 0 50%}.k-ie7 .k-flatcolorpicker .k-hsv-gradient,.k-ie8 .k-flatcolorpicker .k-hsv-gradient{filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff',endColorstr='#00ffffff',GradientType=1) progid:DXImageTransform.Microsoft.gradient(startColorstr='#00000000',endColorstr='#ff000000',GradientType=0)}.k-editor{width:100%;height:250px;table-layout:fixed;border-style:solid;border-width:1px;border-collapse:separate;font-size:100%;vertical-align:top}.k-editor .k-editor-toolbar-wrap{border:0;padding:0}.k-editor-toolbar{margin:0;padding:.1em 0;list-style-type:none;line-height:1.3em;cursor:default}.k-editor-toolbar li{display:inline;vertical-align:middle}.k-editor-toolbar .k-editor-dropdown,.k-editor-toolbar .k-editor-combobox,.k-editor-toolbar .k-editor-selectbox,.k-editor-toolbar .k-editor-colorpicker{margin-right:2px}.k-editor-toolbar .k-separator{position:relative;top:1px;border-style:solid;border-width:0 1px 0 0;margin:0 .3em 0 .1em;padding:0 0 0 1px;font-size:1.3em}.k-editor-toolbar .k-break{display:block;height:1px;font-size:0;line-height:0}.k-editor-toolbar .k-dropdown,.k-editor-toolbar .k-combobox,.k-editor-toolbar .k-selectbox,.k-editor-toolbar .k-colorpicker{vertical-align:middle}.k-editor-button .k-tool-icon{width:22px;height:22px;margin:1px;vertical-align:middle}.k-bold{background-position:-64px 0}.k-italic{background-position:-64px -22px}.k-underline{background-position:-64px -44px}.k-strikethrough{background-position:-64px -66px}.k-foreColor{background-position:-64px -88px}.k-backColor{background-position:-64px -110px}.k-justifyLeft{background-position:-64px -132px}.k-justifyCenter{background-position:-64px -154px}.k-justifyRight{background-position:-64px -176px}.k-justifyFull{background-position:-64px -198px}.k-insertUnorderedList{background-position:-64px -242px}.k-insertOrderedList{background-position:-64px -264px}.k-indent,.k-rtl .k-outdent{background-position:-112px 0}.k-outdent,.k-rtl .k-indent{background-position:-112px -22px}.k-createLink{background-position:-112px -44px}.k-unlink{background-position:-112px -66px}.k-insertImage{background-position:-112px -88px}.k-subscript{background-position:-112px -154px}.k-superscript{background-position:-112px -176px}.k-fontName{width:110px}.k-fontSize{width:124px}.k-formatBlock{width:147px}.k-editor-button .k-state-hover,.k-editor-button .k-state-active{border-style:solid;border-width:1px;margin:0;vertical-align:middle}.k-editor-button .k-state-disabled{filter:alpha(opacity=30);opacity:.3}.k-editor .k-editable-area{width:100%;height:100%;border-style:solid;border-width:1px;outline:0}.k-editor .k-content{display:block;width:100%;height:100%;border:0;margin:0;padding:0}.k-editor iframe.k-content{display:inline;vertical-align:top}.k-editor .k-raw-content{border:0;margin:0;padding:0}.k-editor .k-raw-content,.k-editor-dialog .k-editor-textarea{font-size:inherit;font-family:consolas,"courier new",monospace}.k-editor-dialog{padding:1em}.k-editor-dialog ol{margin:0;padding:1em 0 0;list-style:none}.k-form-text-row,.k-form-checkbox-row{padding-bottom:.3em}.k-form-text-row input{margin-right:1em}.k-form-text-row label{display:inline-block;width:7em;padding-right:.5em;text-align:right}.k-form-checkbox-row input{margin-left:7.5em;padding:0;font-size:inherit}.k-form-checkbox-row label{padding-left:.3em}.k-form-checkbox-row input,.k-form-checkbox-row label,.k-form-text-row label.k-form-text-row input,.k-form-text-row select{vertical-align:middle}.k-form-text-row input,.k-form-text-row select{width:20em}.k-editor-dialog .k-form-text-row label,.k-editor-dialog .k-button{display:inline-block}.k-editor-dialog .k-button-wrapper{padding:1em;text-align:right}.k-editor-dialog .k-button-wrapper button{vertical-align:baseline}.k-editor-dialog .k-editor-textarea{width:600px;height:350px;padding:.2em .2em .2em .4em;border-width:1px;border-style:solid;overflow:auto}.k-button-wrapper .k-link:hover{text-decoration:underline}div.k-slider{position:relative;border-width:0;background-color:transparent;-khtml-user-select:none;-webkit-user-select:none;-moz-user-select:-moz-none;-ms-user-select:none;user-select:none}.k-slider-vertical{width:26px;height:200px}.k-slider-horizontal{display:inline-block;width:200px;height:26px}.k-slider-wrap{width:100%;height:100%}.k-slider .k-button,.k-grid .k-slider .k-button{position:absolute;top:0;width:24px;min-width:0;height:24px;margin:0;padding:0;outline:0}.k-slider .k-button .k-icon{margin-top:4px;vertical-align:top}.k-state-disabled .k-slider-wrap{filter:alpha(opacity=60);opacity:.6}.k-state-disabled .k-slider-wrap .k-slider-items{color:#333}.k-slider .k-button-decrease{left:0}.k-slider-vertical .k-button-decrease,.k-grid .k-slider-vertical .k-button-decrease{top:auto;bottom:0}.k-slider .k-button-increase{right:0}.k-slider .k-icon,.k-slider-track,.k-slider .k-tick{cursor:pointer}.k-ie7 .k-slider .k-icon{margin-top:2px}.k-slider-track,.k-slider-selection{position:absolute;margin:0;padding:0}.k-slider-horizontal .k-slider-track,.k-slider-horizontal .k-slider-selection{top:50%;left:0;height:8px;margin-top:-4px;background-repeat:repeat-x}.k-slider-horizontal .k-slider-buttons .k-slider-track{left:34px}.k-slider-vertical .k-slider-track,.k-slider-vertical .k-slider-selection{left:50%;bottom:0;width:8px;margin-left:-4px;background-repeat:repeat-y}.k-slider-vertical .k-slider-buttons .k-slider-track{bottom:34px}.k-draghandle{position:absolute;background-repeat:no-repeat;background-color:transparent;text-indent:-3333px;overflow:hidden;text-decoration:none;text-align:center;outline:0}.k-slider-horizontal .k-draghandle{top:-4px;width:13px;height:14px}.k-slider-vertical .k-draghandle{left:-4px;width:14px;height:13px}.k-slider-buttons .k-slider-items{margin-left:34px}.k-slider-horizontal .k-slider-items{height:100%}.k-slider-vertical .k-slider-items{padding-top:1px}.k-slider-vertical .k-slider-buttons .k-slider-items{padding-top:0}.k-slider-vertical .k-slider-buttons .k-slider-items{margin:0;padding-top:35px}.k-slider .k-tick{position:relative;margin:0;padding:0;background-color:transparent;background-repeat:no-repeat;background-position:center center}.k-slider-horizontal .k-tick{float:left;height:100%;text-align:center}.k-ie7 .k-slider-vertical .k-tick{float:left;clear:left;width:100%}.k-slider-horizontal .k-tick{background-position:center -92px}.k-slider-horizontal .k-slider-topleft .k-tick{background-position:center -122px}.k-slider-horizontal .k-slider-bottomright .k-tick{background-position:center -152px}.k-slider-horizontal .k-tick-large{background-position:center -2px}.k-slider-horizontal .k-slider-topleft .k-tick-large{background-position:center -32px}.k-slider-horizontal .k-slider-bottomright .k-tick-large{background-position:center -62px}.k-slider-vertical .k-tick{background-position:-92px center}.k-slider-vertical .k-slider-topleft .k-tick{background-position:-122px center}.k-slider-vertical .k-slider-bottomright .k-tick{background-position:-152px center}.k-slider-vertical .k-tick-large{background-position:-2px center}.k-slider-vertical .k-slider-topleft .k-tick-large{background-position:-32px center}.k-slider-vertical .k-slider-bottomright .k-tick-large{background-position:-62px center}.k-slider-horizontal .k-first{background-position:0 -92px}.k-slider-horizontal .k-tick-large.k-first{background-position:0 -2px}.k-slider-horizontal .k-slider-topleft .k-first{background-position:0 -122px}.k-slider-horizontal .k-slider-topleft .k-tick-large.k-first{background-position:0 -32px}.k-slider-horizontal .k-slider-bottomright .k-first{background-position:0 -152px}.k-slider-horizontal .k-slider-bottomright .k-tick-large.k-first{background-position:0 -62px}.k-slider-horizontal .k-last{background-position:100% -92px}.k-slider-horizontal .k-tick-large.k-last{background-position:100% -2px}.k-slider-horizontal .k-slider-topleft .k-last{background-position:100% -122px}.k-slider-horizontal .k-slider-topleft .k-tick-large.k-last{background-position:100% -32px}.k-slider-horizontal .k-slider-bottomright .k-last{background-position:100% -152px}.k-slider-horizontal .k-slider-bottomright .k-tick-large.k-last{background-position:100% -62px}.k-slider-vertical .k-first{background-position:-92px 100%}.k-slider-vertical .k-tick-large.k-first{background-position:-2px 100%}.k-slider-vertical .k-slider-topleft .k-first{background-position:-122px 100%}.k-slider-vertical .k-slider-topleft .k-tick-large.k-first{background-position:-32px 100%}.k-slider-vertical .k-slider-bottomright .k-first{background-position:-152px 100%}.k-slider-vertical .k-slider-bottomright .k-tick-large.k-first{background-position:-62px 100%}.k-slider-vertical .k-last{background-position:-92px 0}.k-slider-vertical .k-tick-large.k-last{background-position:-2px 0}.k-slider-vertical .k-slider-topleft .k-last{background-position:-122px 0}.k-slider-vertical .k-slider-topleft .k-tick-large.k-last{background-position:-32px 0}.k-slider-vertical .k-slider-bottomright .k-last{background-position:-152px 0}.k-slider-vertical .k-slider-bottomright .k-tick-large.k-last{background-position:-62px 0}.k-slider-vertical .k-tick{text-align:right}.k-slider-vertical .k-slider-topleft .k-tick{text-align:left}.k-slider .k-label{position:absolute;white-space:nowrap;font-size:.92em}.k-slider-horizontal .k-label{left:0;width:100%;line-height:1}.k-slider-horizontal .k-first .k-label{left:-50%}.k-slider-horizontal .k-last .k-label{left:auto;right:-50%}.k-slider-horizontal .k-label{bottom:-1.2em}.k-slider-horizontal .k-slider-topleft .k-label{top:-1.2em}.k-slider-vertical .k-label{left:120%;display:block;text-align:left}.k-slider-vertical .k-last .k-label{top:-0.5em}.k-slider-vertical .k-first .k-label{bottom:-0.5em}.k-slider-vertical .k-slider-topleft .k-label{left:auto;right:120%}.k-slider-tooltip{top:-4444px}.k-tooltip{position:absolute;z-index:20000;border-style:solid;border-width:1px;padding:4px 5px 4px 6px;background-repeat:repeat-x;min-width:20px;text-align:center;filter:alpha(opacity=90);opacity:.9}span.k-tooltip{position:static;display:inline-block;border-width:1px;padding:2px 5px 1px 6px}.k-invalid-msg{display:none}.k-callout{position:absolute}.k-callout-n,.k-callout-s{width:11px;height:6px}.k-callout-w,.k-callout-e{width:6px;height:11px}.k-callout-n{top:-6px;left:49%;margin-left:-5px;background-position:-162px -181px}.k-tooltip-validation .k-callout-n{background-position:-178px -181px}.k-callout-w{top:49%;left:-6px;margin-top:-5px;background-position:-165px -226px}.k-tooltip-validation .k-callout-w{background-position:-181px -226px}.k-callout-s{top:100%;left:49%;margin-top:1px;margin-left:-5px;background-position:-162px -213px}.k-tooltip-validation .k-callout-s{background-position:-178px -213px}.k-callout-e{top:49%;left:100%;margin-top:-5px;margin-left:1px;background-position:-165px -194px}.k-tooltip-validation .k-callout-e{background-position:-181px -194px}.k-tooltip-validation .k-warning{vertical-align:text-top;margin-right:3px}.k-window .k-tooltip-validation{z-index:10010}.k-splitter{position:relative;height:300px}.k-pane>.k-splitter{border-width:0;overflow:hidden}.k-splitter .k-pane{overflow:hidden}.k-splitter .k-scrollable{overflow:auto}.k-splitter .k-pane-loading{position:absolute;top:50%;left:50%;margin:-8px 0 0 -8px}.k-ghost-splitbar,.k-splitbar{position:absolute;border-style:solid;font-size:0;outline:0}.k-splitter .k-ghost-splitbar-horizontal,.k-splitter .k-splitbar-horizontal{top:0;width:5px;border-width:0 1px;background-repeat:repeat-y}.k-ghost-splitbar-vertical,.k-splitbar-vertical{left:0;height:5px;border-width:1px 0;background-repeat:repeat-x}.k-splitbar-draggable-horizontal{cursor:w-resize}.k-splitbar-draggable-vertical{cursor:n-resize}.k-splitbar .k-resize-handle{display:none}.k-restricted-size-horizontal,.k-restricted-size-vertical{background-color:#f00}.k-splitbar-horizontal .k-icon{position:absolute;top:50%;width:5px;height:20px;margin-top:-10px}.k-collapse-prev,.k-collapse-next,.k-expand-prev,.k-expand-next{cursor:pointer}.k-splitbar-horizontal .k-collapse-prev{margin-top:-31px}.k-splitbar-horizontal .k-collapse-next{margin-top:11px}.k-splitbar-static-horizontal{width:1px}.k-splitbar-static-vertical{height:1px}.k-splitbar-vertical .k-icon{position:absolute;left:50%;width:20px;height:5px;margin-left:-10px}.k-splitbar-vertical .k-collapse-prev{margin-left:-31px}.k-splitbar-vertical .k-collapse-next{margin-left:11px}.k-splitbar-draggable-vertical .k-resize-handle,.k-splitbar-draggable-horizontal .k-resize-handle{display:inline-block}.k-splitbar-horizontal .k-resize-handle{background-position:-165px -6px}.k-splitbar-horizontal .k-collapse-prev,.k-splitbar-horizontal .k-expand-next{background-position:-6px -174px}.k-splitbar-horizontal .k-collapse-next,.k-splitbar-horizontal .k-expand-prev{background-position:-5px -142px}.k-splitbar-vertical .k-resize-handle{background-position:-38px -309px}.k-splitbar-vertical .k-collapse-prev,.k-splitbar-vertical .k-expand-next{background-position:2px -134px}.k-splitbar-vertical .k-collapse-next,.k-splitbar-vertical .k-expand-prev{background-position:2px -165px}html .k-upload{position:relative;border-width:0;background:0}.k-dropzone em,.k-upload-button{vertical-align:middle}.k-ie7 .k-dropzone em,.k-ie7 .k-upload-button{vertical-align:baseline}.k-dropzone{border-style:solid;border-width:0;padding:4px;background-color:transparent}.k-dropzone em{visibility:hidden;margin-left:.6em}.k-dropzone-active{border-width:1px;padding:3px}.k-dropzone-active em{visibility:visible}.k-upload-button{position:relative;width:86px;overflow:hidden!important;direction:ltr}.k-upload-button input{position:absolute;top:0;right:0;z-index:1;font:200px monospace!important;filter:alpha(opacity=0);opacity:0;margin:0;padding:0;cursor:pointer}.k-upload-files{border-style:solid;border-width:1px;margin:.2em 0 0;padding:.3em .7em .5em;line-height:1.9em}.k-upload-files .k-button{position:relative;top:1px;margin-left:8px;padding-top:0;padding-bottom:0;font-size:84%}.k-ie7 .k-upload-files .k-button{line-height:1}.k-upload .k-upload-action .k-icon{width:8px;height:8px;vertical-align:baseline}.k-upload .k-upload-files .k-delete,.k-upload .k-upload-files .k-cancel{background-position:-164px -116px}.k-upload .k-fail{background-position:-161px -111px}.k-retry{background-position:-164px -132px}.k-si-refresh{background-position:-160px -128px}.k-state-hover .k-si-refresh,.k-button:hover .k-si-refresh,.k-textbox:hover .k-si-refresh,.k-button:active .k-si-refresh{background-position:-176px -128px}.k-si-tick,.k-success{background-position:-160px -96px}.k-state-hover .k-si-tick,.k-state-hover .k-success,.k-button:hover .k-si-tick,.k-button:hover .k-success,.k-textbox:hover .k-si-tick,.k-textbox:hover .k-success,.k-button:active .k-si-tick,.k-button:active .k-success{background-position:-176px -96px}.k-si-cancel{background-position:-160px -112px}.k-state-hover .k-si-cancel,.k-button:hover .k-si-cancel,.k-textbox:hover .k-si-cancel,.k-button:active .k-si-cancel{background-position:-176px -112px}.k-filename{position:relative;display:inline-block;min-width:120px;max-width:200px;vertical-align:middle;padding-bottom:2px;overflow:hidden;text-overflow:ellipsis;-o-text-overflow:ellipsis;white-space:nowrap}.k-progress,.k-progress-status{position:absolute;bottom:0;left:0;width:118px;height:2px;border-style:solid;border-width:1px;background-repeat:repeat-x}.k-progress-status{left:-1px;bottom:-1px;width:50%}.k-upload-selected{min-width:86px;margin:3px 0 0;-moz-box-sizing:content-box;-ms-box-sizing:content-box;box-sizing:content-box}.k-ie7 .k-upload-selected{min-width:100px}.k-toolbar-wrap .k-dropzone em,.k-toolbar-wrap .k-upload-files{display:none}.k-toolbar-wrap .k-dropzone{border:0;padding:0}.k-toolbar-wrap .k-dropzone-active{text-align:center}.k-toolbar-wrap .k-dropzone-active em{display:inline;margin:0;font-size:5em;font-style:normal}.k-toolbar-wrap .k-dropzone-active .k-upload-button{display:none}.k-imagebrowser-dropzone{z-index:10010;filter:alpha(opacity=40);opacity:.4;position:fixed}.k-search-wrap{position:relative;float:right;width:20%;padding:0}.k-search-wrap label{position:absolute;top:0;left:4px;line-height:20px;font-style:italic}.k-search-wrap input.k-input{padding-left:0;padding-right:0}.k-search-wrap .k-search{position:absolute;top:4px;right:2px;margin:0}.k-breadcrumbs{position:relative;float:left;width:78%;padding-right:2px}.k-breadcrumbs-wrap{position:absolute;top:3px;left:0;z-index:1;padding-left:5px;line-height:18px}.k-breadcrumbs>.k-input{width:100%;padding-left:2px;font-size:inherit;font-family:inherit;border:0}.k-breadcrumbs .k-link,.k-breadcrumbs-wrap .k-icon{margin-top:0;text-decoration:none;vertical-align:middle}.k-breadcrumbs .k-link:hover{text-decoration:underline}.k-imagebrowser .k-breadcrumbs .k-i-seek-w{text-decoration:none;cursor:default}.k-imagebrowser .k-toolbar{clear:both;border-style:solid;border-width:1px;margin:8px 0 0;padding:2px 0 3px;background-repeat:repeat-x;line-height:23px;white-space:nowrap}.k-imagebrowser .k-upload{float:left;z-index:10010}.k-imagebrowser .k-upload-button{width:auto;vertical-align:top}.k-imagebrowser .k-upload .k-icon{vertical-align:bottom}.k-ie7 .k-imagebrowser .k-upload-button,.k-ie7 .k-imagebrowser .k-upload .k-icon{vertical-align:baseline;position:relative;top:1px}.k-ie7 .k-imagebrowser .k-upload .k-icon{top:2px}.k-ie7 .k-imagebrowser .k-toolbar .k-button-icon{vertical-align:middle}.k-toolbar .k-state-disabled,.k-plus-disabled,.k-minus-disabled{filter:alpha(opacity=50);opacity:.5}.k-toolbar-wrap{float:left}.k-tiles-arrange{float:right}.k-tiles-arrange .k-i-arrow-s{margin:0 2px 0 3px}.k-tiles-arrange a{text-decoration:none}.k-tiles{clear:both;height:390px;border-style:solid;border-width:1px;border-top-width:0;margin:0 0 1.4em;padding:9px;overflow:auto;line-height:1.2}.k-tile{float:left;width:223px;height:88px;overflow:hidden;border-style:solid;border-width:1px;margin:1px;padding:0 0 4px;background-position:0 100px;background-repeat:repeat-x;cursor:pointer}.k-tiles li.k-state-hover,.k-tiles li.k-state-selected{background-position:0 center}.k-imagebrowser .k-thumb{float:left;display:inline;width:80px;height:80px;margin:4px 10px 0 4px;-khtml-user-select:none;-webkit-user-select:none;-moz-user-select:-moz-none;-ms-user-select:none;user-select:none}.k-imagebrowser .k-file{width:80px;height:80px}.k-imagebrowser .k-image{margin:2px 0 0 2px}.k-imagebrowser .k-folder{width:80px;height:80px;background-position:0 -200px;background-repeat:no-repeat}.k-imagebrowser .k-loading{margin:35px 0 0 33px}.k-tile strong,.k-tile input{margin:10px 0 4px;font-weight:normal}.k-tile strong{float:left;width:120px;overflow:hidden;text-overflow:ellipsis}.k-tile input{width:100px}.k-tile strong,.k-tile input,.k-tile .k-filesize{display:block}.k-imagebrowser .k-form-text-row{text-align:right}.k-imagebrowser .k-form-text-row label{width:14%}.k-imagebrowser .k-form-text-row input{width:80%}.k-tile-empty{margin:160px 0 0}.k-tile-empty .k-dialog-upload{font-weight:bold;font-size:120%}.k-tile-empty strong{display:block;margin:0 0 .2em;font-size:3em;font-weight:normal}.k-tile-empty,.k-tile-empty .k-button-wrapper{text-align:center}.k-ie7 .k-button,.k-ie7 .k-grid-filter,.k-ie7 .k-header-column-menu,.k-ie7 .k-grid .k-pager-numbers,.k-ie7 .k-grid .k-status-text,.k-ie7 .k-pager-numbers .k-link,.k-ie7 .k-pager-numbers span,.k-ie7 .k-pager-numbers input,.k-ie7 .k-grouping-row p,.k-ie7 .k-grouping-header a,.k-ie7 .k-grouping-header .k-group-indicator,.k-ie7 .k-grouping-header .k-link,.k-ie7 .k-grouping-header .k-button,.k-ie7 .k-grid-actions,.k-ie7 .k-edit-label,.k-ie7 .k-edit-field,.k-ie7 .k-edit-form-container .editor-label,.k-ie7 .k-edit-form-container .editor-field,.k-ie7 .k-combobox,.k-ie7 .k-dropdown,.k-ie7 .k-selectbox,.k-ie7 .k-picker-wrap .k-select,.k-ie7 .k-dropdown-wrap .k-select,.k-ie7 .k-numerictextbox,.k-ie7 .k-timepicker,.k-ie7 .k-datepicker,.k-ie7 .k-datetimepicker,.k-ie7 .k-colorpicker,.k-ie7 .k-calendar,.k-ie7 .k-calendar .k-nav-fast,.k-ie7 .k-treeview .k-icon,.k-ie7 .k-treeview .k-image,.k-ie7 .k-treeview .k-sprite,.k-ie7 .k-treeview .k-in,.k-ie7 .k-colorpicker,.k-ie7 .k-colorpicker .k-tool-icon,.k-ie7 .k-palette.k-reset,.k-ie7 .k-editor-dialog .k-button,.k-form-text-row label,.k-ie7 .k-tabstrip-items .k-item,.k-ie7 .k-tabstrip-items .k-link,.k-ie7 .k-slider-horizontal,.k-ie7 .k-splitbar-draggable-vertical .k-resize-handle,.k-ie7 .k-splitbar-draggable-horizontal .k-resize-handle,.k-ie7 .t-filename,.k-ie7 div.k-window,.k-ie7 .k-window-titlebar .k-window-action{display:inline;zoom:1}.k-ie7 .k-treeview .k-item,.k-ie7 .k-treeview .k-group{zoom:1}.km-scroll-container{-khtml-user-select:none;-webkit-user-select:none;-moz-user-select:-moz-none;-ms-user-select:none;user-select:none;-webkit-margin-collapse:separate;-webkit-transform:translatez(0)}.k-widget .km-scroll-wrapper{position:relative;padding-bottom:0}.km-touch-scrollbar{position:absolute;visibility:hidden;z-index:200000;height:.3em;width:.3em;background-color:rgba(0,0,0,0.7);opacity:0;-webkit-transition:opacity .3s linear;-moz-transition:opacity .3s linear;-o-transition:opacity .3s linear;transition:opacity .3s linear}.km-vertical-scrollbar{height:100%;right:2px;top:2px}.km-horizontal-scrollbar{width:100%;left:2px;bottom:2px} \ No newline at end of file +:-webkit-any(body):after{content:"";display:block;visibility:hidden;height:0;font:0/0;-webkit-transform:translateZ(0)}.fake{color:red}.k-reset{margin:0;padding:0;border:0;outline:0;text-decoration:none;font-size:100%;list-style:none}.k-floatwrap:after,.k-slider-items:after,.k-grid-toolbar:after{content:"";display:block;clear:both;visibility:hidden;height:0;overflow:hidden}.k-floatwrap,.k-slider-items,.k-grid-toolbar{display:inline-block}.k-floatwrap,.k-slider-items,.k-grid-toolbar{display:block}.prohibit-selection{-khtml-user-select:none;-webkit-user-select:none;-moz-user-select:-moz-none;-ms-user-select:none;user-select:none}.border-box{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.k-block,.k-button,.k-header,.k-grid-header,.k-toolbar,.k-grouping-header,.k-tooltip,.k-pager-wrap,.k-tabstrip-items .k-item,.k-link.k-state-hover,.k-textbox,.k-textbox:hover,.k-autocomplete,.k-dropdown-wrap,.k-picker-wrap,.k-numeric-wrap,.k-autocomplete.k-state-hover,.k-dropdown-wrap.k-state-hover,.k-picker-wrap.k-state-hover,.k-numeric-wrap.k-state-hover,.k-draghandle{background-repeat:repeat;background-position:0 center}.k-state-highlight>.k-link{color:inherit}.k-block,.k-widget,.k-inline-block,.k-textbox>input,.k-input[type="text"],.k-input[type="number"],.k-textbox,.k-picker-wrap .k-input,.k-button,.k-draghandle{font-size:100%;font-family:inherit;border-style:solid;border-width:1px;-webkit-appearance:none}.k-block,.k-widget{line-height:normal;outline:0}.k-block{padding:2px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.k-button{display:inline-block;margin:0;padding:2px 7px 2px;font-family:inherit;line-height:1.66em;text-align:center;cursor:pointer;text-decoration:none;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.k-ie7 .k-button{line-height:normal}a.k-button{-khtml-user-select:none;-webkit-user-select:none;-moz-user-select:-moz-none;-ms-user-select:none;user-select:none}.k-button:-moz-any(input){padding-bottom:.37em;padding-top:.37em}.k-ie7 .k-button{overflow:visible;margin-right:4px}.k-ie7 a.k-button{line-height:1.6;padding-left:7px;padding-right:7px}.k-ie7 .k-button-expand{margin-left:0;margin-right:0}button.k-button::-moz-focus-inner,input.k-button::-moz-focus-inner{padding:0;border:0}a.k-button-expand{display:block}button.k-button-expand,input[type="submit"].k-button-expand,input[type="button"].k-button-expand,input[type="reset"].k-button-expand{width:100%}body .k-button-icon{padding-left:4px;padding-right:4px}.k-ie7 a.k-button-icon{padding-left:5px;padding-right:5px}.k-button-icontext{padding-right:8px;overflow:visible}.k-button-icontext .k-icon{margin:0 3px 0 -3px;vertical-align:text-top}.k-ie7 .k-button-icontext .k-icon{margin-right:4px}html body .k-button-bare{background:none!important;color:inherit;border-width:0}html body .k-button-bare.k-upload-button:hover{color:inherit}.k-link{cursor:pointer;outline:0;text-decoration:none}.k-grid-header span.k-link{cursor:default}.k-state-disabled,.k-state-disabled .k-link,.k-state-disabled .k-icon,.k-state-disabled .k-button,.k-state-disabled .k-draghandle,.k-state-disabled .k-upload-button input{cursor:default!important;outline:0}@media print{.k-state-disabled,.k-state-disabled .k-input{opacity:1!important}}.k-state-error{border-style:ridge}.k-state-empty{font-style:italic}.k-icon,.k-sprite,.k-editor-button .k-tool-icon{display:inline-block;width:16px;height:16px;overflow:hidden;background-repeat:no-repeat;font-size:0;line-height:0;text-indent:-3333px;text-align:center;vertical-align:middle}.k-icon,.k-sprite{background-color:transparent}.k-ie7 .k-icon,.k-ie7 .k-sprite{text-indent:0}.k-numerictextbox .k-select .k-link span.k-i-arrow-n{background-position:0 -2px}.k-numerictextbox .k-select .k-link span.k-i-arrow-s{background-position:0 -35px}.k-state-selected .k-i-arrow-n{background-position:-16px 0}.k-link:not(.k-state-disabled):hover>.k-state-selected .k-i-arrow-n,.k-state-hover .k-state-selected .k-i-arrow-n,.k-button:hover .k-state-selected .k-i-arrow-n,.k-textbox:hover .k-state-selected .k-i-arrow-n,.k-button:active .k-state-selected .k-i-arrow-n{background-position:-32px 0}.k-numerictextbox .k-link.k-state-selected span.k-i-arrow-n,.k-numerictextbox .k-state-hover .k-link span.k-i-arrow-n{background-position:-16px -2px}.k-state-selected .k-i-arrow-s{background-position:-16px -32px}.k-link:not(.k-state-disabled):hover>.k-state-selected .k-i-arrow-s,.k-state-hover .k-state-selected .k-i-arrow-s,.k-button:hover .k-state-selected .k-i-arrow-s,.k-textbox:hover .k-state-selected .k-i-arrow-s,.k-button:active .k-state-selected .k-i-arrow-s{background-position:-32px -32px}.k-numerictextbox .k-link.k-state-selected span.k-i-arrow-s,.k-numerictextbox .k-state-hover .k-link span.k-i-arrow-s{background-position:-16px -35px}.k-i-arrow-n{background-position:0 0}.k-link:not(.k-state-disabled):hover>.k-i-arrow-n,.k-state-hover .k-i-arrow-n,.k-button:hover .k-i-arrow-n,.k-textbox:hover .k-i-arrow-n,.k-button:active .k-i-arrow-n{background-position:-16px 0}.k-i-arrow-e{background-position:0 -16px}.k-link:not(.k-state-disabled):hover>.k-i-arrow-e,.k-state-hover .k-i-arrow-e,.k-button:hover .k-i-arrow-e,.k-textbox:hover .k-i-arrow-e,.k-button:active .k-i-arrow-e{background-position:-16px -16px}.k-rtl .k-i-arrow-w{background-position:0 -16px}.k-rtl .k-link:not(.k-state-disabled):hover>.k-i-arrow-w,.k-rtl .k-state-hover .k-i-arrow-w,.k-rtl .k-button:hover .k-i-arrow-w,.k-rtl .k-textbox:hover .k-i-arrow-w,.k-rtl .k-button:active .k-i-arrow-w{background-position:-16px -16px}.k-i-arrow-s{background-position:0 -32px}.k-link:not(.k-state-disabled):hover>.k-i-arrow-s,.k-state-hover .k-i-arrow-s,.k-button:hover .k-i-arrow-s,.k-textbox:hover .k-i-arrow-s,.k-button:active .k-i-arrow-s{background-position:-16px -32px}.k-i-arrow-w{background-position:0 -48px}.k-link:not(.k-state-disabled):hover>.k-i-arrow-w,.k-state-hover .k-i-arrow-w,.k-button:hover .k-i-arrow-w,.k-textbox:hover .k-i-arrow-w,.k-button:active .k-i-arrow-w{background-position:-16px -48px}.k-rtl .k-i-arrow-e{background-position:0 -48px}.k-rtl .k-link:not(.k-state-disabled):hover>.k-i-arrow-e,.k-rtl .k-state-hover .k-i-arrow-e,.k-rtl .k-button:hover .k-i-arrow-e,.k-rtl .k-textbox:hover .k-i-arrow-e,.k-rtl .k-button:active .k-i-arrow-e{background-position:-16px -48px}.k-i-seek-n{background-position:0 -64px}.k-link:not(.k-state-disabled):hover>.k-i-seek-n,.k-state-hover .k-i-seek-n,.k-button:hover .k-i-seek-n,.k-textbox:hover .k-i-seek-n,.k-button:active .k-i-seek-n{background-position:-16px -64px}.k-i-seek-e{background-position:0 -80px}.k-link:not(.k-state-disabled):hover>.k-i-seek-e,.k-state-hover .k-i-seek-e,.k-button:hover .k-i-seek-e,.k-textbox:hover .k-i-seek-e,.k-button:active .k-i-seek-e{background-position:-16px -80px}.k-rtl .k-i-seek-w{background-position:0 -80px}.k-rtl .k-link:not(.k-state-disabled):hover>.k-i-seek-w,.k-rtl .k-state-hover .k-i-seek-w,.k-rtl .k-button:hover .k-i-seek-w,.k-rtl .k-textbox:hover .k-i-seek-w,.k-rtl .k-button:active .k-i-seek-w{background-position:-16px -80px}.k-i-seek-s{background-position:0 -96px}.k-link:not(.k-state-disabled):hover>.k-i-seek-s,.k-state-hover .k-i-seek-s,.k-button:hover .k-i-seek-s,.k-textbox:hover .k-i-seek-s,.k-button:active .k-i-seek-s{background-position:-16px -96px}.k-i-seek-w{background-position:0 -112px}.k-link:not(.k-state-disabled):hover>.k-i-seek-w,.k-state-hover .k-i-seek-w,.k-button:hover .k-i-seek-w,.k-textbox:hover .k-i-seek-w,.k-button:active .k-i-seek-w{background-position:-16px -112px}.k-rtl .k-i-seek-e{background-position:0 -112px}.k-rtl .k-link:not(.k-state-disabled):hover>.k-i-seek-e,.k-rtl .k-state-hover .k-i-seek-e,.k-rtl .k-button:hover .k-i-seek-e,.k-rtl .k-textbox:hover .k-i-seek-e,.k-rtl .k-button:active .k-i-seek-e{background-position:-16px -112px}.k-si-arrow-n{background-position:0 -129px}.k-link:not(.k-state-disabled):hover>.k-si-arrow-n,.k-state-hover .k-si-arrow-n,.k-button:hover .k-si-arrow-n,.k-textbox:hover .k-si-arrow-n,.k-button:active .k-si-arrow-n{background-position:-16px -129px}.k-si-arrow-e{background-position:0 -144px}.k-link:not(.k-state-disabled):hover>.k-si-arrow-e,.k-state-hover .k-si-arrow-e,.k-button:hover .k-si-arrow-e,.k-textbox:hover .k-si-arrow-e,.k-button:active .k-si-arrow-e{background-position:-16px -144px}.k-si-arrow-s{background-position:0 -159px}.k-link:not(.k-state-disabled):hover>.k-si-arrow-s,.k-state-hover .k-si-arrow-s,.k-button:hover .k-si-arrow-s,.k-textbox:hover .k-si-arrow-s,.k-button:active .k-si-arrow-s{background-position:-16px -159px}.k-si-arrow-w{background-position:0 -176px}.k-link:not(.k-state-disabled):hover>.k-si-arrow-w,.k-state-hover .k-si-arrow-w,.k-button:hover .k-si-arrow-w,.k-textbox:hover .k-si-arrow-w,.k-button:active .k-si-arrow-w{background-position:-16px -176px}.k-i-arrowhead-n{background-position:0 -256px}.k-link:not(.k-state-disabled):hover>.k-i-arrowhead-n,.k-state-hover .k-i-arrowhead-n,.k-button:hover .k-i-arrowhead-n,.k-textbox:hover .k-i-arrowhead-n,.k-button:active .k-i-arrowhead-n{background-position:-16px -256px}.k-i-arrowhead-e{background-position:0 -272px}.k-link:not(.k-state-disabled):hover>.k-i-arrowhead-e,.k-state-hover .k-i-arrowhead-e,.k-button:hover .k-i-arrowhead-e,.k-textbox:hover .k-i-arrowhead-e,.k-button:active .k-i-arrowhead-e{background-position:-16px -272px}.k-i-arrowhead-s{background-position:0 -288px}.k-link:not(.k-state-disabled):hover>.k-i-arrowhead-s,.k-state-hover .k-i-arrowhead-s,.k-button:hover .k-i-arrowhead-s,.k-textbox:hover .k-i-arrowhead-s,.k-button:active .k-i-arrowhead-s{background-position:-16px -288px}.k-i-arrowhead-w{background-position:0 -304px}.k-link:not(.k-state-disabled):hover>.k-i-arrowhead-w,.k-state-hover .k-i-arrowhead-w,.k-button:hover .k-i-arrowhead-w,.k-textbox:hover .k-i-arrowhead-w,.k-button:active .k-i-arrowhead-w{background-position:-16px -304px}.k-i-expand,.k-plus,.k-plus-disabled{background-position:0 -192px}.k-link:not(.k-state-disabled):hover>.k-i-expand,.k-link:not(.k-state-disabled):hover>.k-plus,.k-link:not(.k-state-disabled):hover>.k-plus-disabled,.k-state-hover .k-i-expand,.k-state-hover .k-plus,.k-state-hover .k-plus-disabled,.k-button:hover .k-i-expand,.k-button:hover .k-plus,.k-button:hover .k-plus-disabled,.k-textbox:hover .k-i-expand,.k-textbox:hover .k-plus,.k-textbox:hover .k-plus-disabled,.k-button:active .k-i-expand,.k-button:active .k-plus,.k-button:active .k-plus-disabled{background-position:-16px -192px}.k-i-expand-w,.k-rtl .k-i-expand,.k-rtl .k-plus,.k-rtl .k-plus-disabled{background-position:0 -208px}.k-link:not(.k-state-disabled):hover>.k-i-expand-w,.k-link:not(.k-state-disabled):hover>.k-rtl .k-i-expand,.k-link:not(.k-state-disabled):hover>.k-rtl .k-plus,.k-link:not(.k-state-disabled):hover>.k-rtl .k-plus-disabled,.k-state-hover .k-i-expand-w,.k-state-hover .k-rtl .k-i-expand,.k-state-hover .k-rtl .k-plus,.k-state-hover .k-rtl .k-plus-disabled,.k-button:hover .k-i-expand-w,.k-button:hover .k-rtl .k-i-expand,.k-button:hover .k-rtl .k-plus,.k-button:hover .k-rtl .k-plus-disabled,.k-textbox:hover .k-i-expand-w,.k-textbox:hover .k-rtl .k-i-expand,.k-textbox:hover .k-rtl .k-plus,.k-textbox:hover .k-rtl .k-plus-disabled,.k-button:active .k-i-expand-w,.k-button:active .k-rtl .k-i-expand,.k-button:active .k-rtl .k-plus,.k-button:active .k-rtl .k-plus-disabled{background-position:-16px -208px}.k-i-collapse,.k-minus,.k-minus-disabled{background-position:0 -224px}.k-link:not(.k-state-disabled):hover>.k-i-collapse,.k-link:not(.k-state-disabled):hover>.k-minus,.k-link:not(.k-state-disabled):hover>.k-minus-disabled,.k-state-hover .k-i-collapse,.k-state-hover .k-minus,.k-state-hover .k-minus-disabled,.k-button:hover .k-i-collapse,.k-button:hover .k-minus,.k-button:hover .k-minus-disabled,.k-textbox:hover .k-i-collapse,.k-textbox:hover .k-minus,.k-textbox:hover .k-minus-disabled,.k-button:active .k-i-collapse,.k-button:active .k-minus,.k-button:active .k-minus-disabled{background-position:-16px -224px}.k-i-collapse-w,.k-rtl .k-i-collapse,.k-rtl .k-minus,.k-rtl .k-minus-disabled{background-position:0 -240px}.k-link:not(.k-state-disabled):hover>.k-i-collapse-w,.k-link:not(.k-state-disabled):hover>.k-rtl .k-i-collapse,.k-link:not(.k-state-disabled):hover>.k-rtl .k-minus,.k-link:not(.k-state-disabled):hover>.k-rtl .k-minus-disabled,.k-state-hover .k-i-collapse-w,.k-state-hover .k-rtl .k-i-collapse,.k-state-hover .k-rtl .k-minus,.k-state-hover .k-rtl .k-minus-disabled,.k-button:hover .k-i-collapse-w,.k-button:hover .k-rtl .k-i-collapse,.k-button:hover .k-rtl .k-minus,.k-button:hover .k-rtl .k-minus-disabled,.k-textbox:hover .k-i-collapse-w,.k-textbox:hover .k-rtl .k-i-collapse,.k-textbox:hover .k-rtl .k-minus,.k-textbox:hover .k-rtl .k-minus-disabled,.k-button:active .k-i-collapse-w,.k-button:active .k-rtl .k-i-collapse,.k-button:active .k-rtl .k-minus,.k-button:active .k-rtl .k-minus-disabled{background-position:-16px -240px}.k-i-pencil,.k-edit{background-position:-32px 0}.k-link:not(.k-state-disabled):hover>.k-i-pencil,.k-link:not(.k-state-disabled):hover>.k-edit,.k-state-hover .k-i-pencil,.k-state-hover .k-edit,.k-button:hover .k-i-pencil,.k-button:hover .k-edit,.k-textbox:hover .k-i-pencil,.k-textbox:hover .k-edit,.k-button:active .k-i-pencil,.k-button:active .k-edit{background-position:-48px 0}.k-i-close,.k-delete,.k-group-delete{background-position:-32px -16px}.k-link:not(.k-state-disabled):hover>.k-i-close,.k-link:not(.k-state-disabled):hover>.k-delete,.k-link:not(.k-state-disabled):hover>.k-group-delete,.k-state-hover .k-i-close,.k-state-hover .k-delete,.k-state-hover .k-group-delete,.k-button:hover .k-i-close,.k-button:hover .k-delete,.k-button:hover .k-group-delete,.k-textbox:hover .k-i-close,.k-textbox:hover .k-delete,.k-textbox:hover .k-group-delete,.k-button:active .k-i-close,.k-button:active .k-delete,.k-button:active .k-group-delete{background-position:-48px -16px}.k-multiselect .k-delete{background-position:-160px -80px}.k-multiselect .k-state-hover .k-delete{background-position:-176px -80px}.k-i-tick,.k-insert,.k-update{background-position:-32px -32px}.k-link:not(.k-state-disabled):hover>.k-i-tick,.k-link:not(.k-state-disabled):hover>.k-insert,.k-link:not(.k-state-disabled):hover>.k-update,.k-state-hover .k-i-tick,.k-state-hover .k-insert,.k-state-hover .k-update,.k-button:hover .k-i-tick,.k-button:hover .k-insert,.k-button:hover .k-update,.k-textbox:hover .k-i-tick,.k-textbox:hover .k-insert,.k-textbox:hover .k-update,.k-button:active .k-i-tick,.k-button:active .k-insert,.k-button:active .k-update{background-position:-48px -32px}.k-i-cancel,.k-cancel,.k-denied{background-position:-32px -48px}.k-link:not(.k-state-disabled):hover>.k-i-cancel,.k-link:not(.k-state-disabled):hover>.k-cancel,.k-link:not(.k-state-disabled):hover>.k-denied,.k-state-hover .k-i-cancel,.k-state-hover .k-cancel,.k-state-hover .k-denied,.k-button:hover .k-i-cancel,.k-button:hover .k-cancel,.k-button:hover .k-denied,.k-textbox:hover .k-i-cancel,.k-textbox:hover .k-cancel,.k-textbox:hover .k-denied,.k-button:active .k-i-cancel,.k-button:active .k-cancel,.k-button:active .k-denied{background-position:-48px -48px}.k-i-plus,.k-add{background-position:-32px -64px}.k-link:not(.k-state-disabled):hover>.k-i-plus,.k-link:not(.k-state-disabled):hover>.k-add,.k-state-hover .k-i-plus,.k-state-hover .k-add,.k-button:hover .k-i-plus,.k-button:hover .k-add,.k-textbox:hover .k-i-plus,.k-textbox:hover .k-add,.k-button:active .k-i-plus,.k-button:active .k-add{background-position:-48px -64px}.k-i-funnel,.k-filter{background-position:-32px -80px}.k-link:not(.k-state-disabled):hover>.k-i-funnel,.k-link:not(.k-state-disabled):hover>.k-filter,.k-state-hover .k-i-funnel,.k-state-hover .k-filter,.k-button:hover .k-i-funnel,.k-button:hover .k-filter,.k-textbox:hover .k-i-funnel,.k-textbox:hover .k-filter,.k-button:active .k-i-funnel,.k-button:active .k-filter{background-position:-48px -80px}.k-i-funnel-clear,.k-clear-filter{background-position:-32px -96px}.k-link:not(.k-state-disabled):hover>.k-i-funnel-clear,.k-link:not(.k-state-disabled):hover>.k-clear-filter,.k-state-hover .k-i-funnel-clear,.k-state-hover .k-clear-filter,.k-button:hover .k-i-funnel-clear,.k-button:hover .k-clear-filter,.k-textbox:hover .k-i-funnel-clear,.k-textbox:hover .k-clear-filter,.k-button:active .k-i-funnel-clear,.k-button:active .k-clear-filter{background-position:-48px -96px}.k-i-refresh{background-position:-32px -112px}.k-link:not(.k-state-disabled):hover>.k-i-refresh,.k-state-hover .k-i-refresh,.k-button:hover .k-i-refresh,.k-textbox:hover .k-i-refresh,.k-button:active .k-i-refresh{background-position:-48px -112px}.k-i-restore{background-position:-32px -128px}.k-link:not(.k-state-disabled):hover>.k-i-restore,.k-state-hover .k-i-restore,.k-button:hover .k-i-restore,.k-textbox:hover .k-i-restore,.k-button:active .k-i-restore{background-position:-48px -128px}.k-i-maximize{background-position:-32px -144px}.k-link:not(.k-state-disabled):hover>.k-i-maximize,.k-state-hover .k-i-maximize,.k-button:hover .k-i-maximize,.k-textbox:hover .k-i-maximize,.k-button:active .k-i-maximize{background-position:-48px -144px}.k-i-minimize{background-position:-64px -288px}.k-link:not(.k-state-disabled):hover>.k-i-minimize,.k-state-hover .k-i-minimize,.k-button:hover .k-i-minimize,.k-textbox:hover .k-i-minimize,.k-button:active .k-i-minimize{background-position:-80px -288px}.k-resize-se{background-position:-32px -160px}.k-link:not(.k-state-disabled):hover>.k-resize-se,.k-state-hover .k-resize-se,.k-button:hover .k-resize-se,.k-textbox:hover .k-resize-se,.k-button:active .k-resize-se{background-position:-48px -160px}.k-i-calendar{background-position:-32px -176px}.k-link:not(.k-state-disabled):hover>.k-i-calendar,.k-state-hover .k-i-calendar,.k-button:hover .k-i-calendar,.k-textbox:hover .k-i-calendar,.k-button:active .k-i-calendar{background-position:-48px -176px}.k-i-clock{background-position:-32px -192px}.k-link:not(.k-state-disabled):hover>.k-i-clock,.k-state-hover .k-i-clock,.k-button:hover .k-i-clock,.k-textbox:hover .k-i-clock,.k-button:active .k-i-clock{background-position:-48px -192px}.k-si-plus{background-position:-32px -208px}.k-link:not(.k-state-disabled):hover>.k-si-plus,.k-state-hover .k-si-plus,.k-button:hover .k-si-plus,.k-textbox:hover .k-si-plus,.k-button:active .k-si-plus{background-position:-48px -208px}.k-si-minus{background-position:-32px -224px}.k-link:not(.k-state-disabled):hover>.k-si-minus,.k-state-hover .k-si-minus,.k-button:hover .k-si-minus,.k-textbox:hover .k-si-minus,.k-button:active .k-si-minus{background-position:-48px -224px}.k-i-search{background-position:-32px -240px}.k-link:not(.k-state-disabled):hover>.k-i-search,.k-state-hover .k-i-search,.k-button:hover .k-i-search,.k-textbox:hover .k-i-search,.k-button:active .k-i-search{background-position:-48px -240px}.k-i-custom{background-position:-115px -113px}.k-link:not(.k-state-disabled):hover>.k-i-custom,.k-state-hover .k-i-custom,.k-button:hover .k-i-custom,.k-textbox:hover .k-i-custom,.k-button:active .k-i-custom{background-position:-141px -113px}.k-editor .k-i-custom{background-position:-112px -110px}.k-viewHtml{background-position:-112px -132px}.k-i-insert-n,.k-insert-top{background-position:-160px -32px}.k-link:not(.k-state-disabled):hover>.k-i-insert-n,.k-link:not(.k-state-disabled):hover>.k-insert-top,.k-state-hover .k-i-insert-n,.k-state-hover .k-insert-top,.k-button:hover .k-i-insert-n,.k-button:hover .k-insert-top,.k-textbox:hover .k-i-insert-n,.k-textbox:hover .k-insert-top,.k-button:active .k-i-insert-n,.k-button:active .k-insert-top{background-position:-176px -32px}.k-i-insert-m,.k-insert-middle{background-position:-160px -48px}.k-link:not(.k-state-disabled):hover>.k-i-insert-m,.k-link:not(.k-state-disabled):hover>.k-insert-middle,.k-state-hover .k-i-insert-m,.k-state-hover .k-insert-middle,.k-button:hover .k-i-insert-m,.k-button:hover .k-insert-middle,.k-textbox:hover .k-i-insert-m,.k-textbox:hover .k-insert-middle,.k-button:active .k-i-insert-m,.k-button:active .k-insert-middle{background-position:-176px -48px}.k-i-insert-s,.k-insert-bottom{background-position:-160px -64px}.k-link:not(.k-state-disabled):hover>.k-i-insert-s,.k-link:not(.k-state-disabled):hover>.k-insert-bottom,.k-state-hover .k-i-insert-s,.k-state-hover .k-insert-bottom,.k-button:hover .k-i-insert-s,.k-button:hover .k-insert-bottom,.k-textbox:hover .k-i-insert-s,.k-textbox:hover .k-insert-bottom,.k-button:active .k-i-insert-s,.k-button:active .k-insert-bottom{background-position:-176px -64px}.k-drop-hint{background-position:0 -326px}.k-i-note,.k-warning{background-position:-160px -240px}.k-link:not(.k-state-disabled):hover>.k-i-note,.k-link:not(.k-state-disabled):hover>.k-warning,.k-state-hover .k-i-note,.k-state-hover .k-warning,.k-button:hover .k-i-note,.k-button:hover .k-warning,.k-textbox:hover .k-i-note,.k-textbox:hover .k-warning,.k-button:active .k-i-note,.k-button:active .k-warning{background-position:-176px -240px}.k-i-sort-asc{background-position:-112px -240px}.k-link:not(.k-state-disabled):hover>.k-i-sort-asc,.k-state-hover .k-i-sort-asc,.k-button:hover .k-i-sort-asc,.k-textbox:hover .k-i-sort-asc,.k-button:active .k-i-sort-asc{background-position:-128px -240px}.k-i-sort-desc{background-position:-112px -256px}.k-link:not(.k-state-disabled):hover>.k-i-sort-desc,.k-state-hover .k-i-sort-desc,.k-button:hover .k-i-sort-desc,.k-textbox:hover .k-i-sort-desc,.k-button:active .k-i-sort-desc{background-position:-128px -256px}.k-i-group{background-position:-112px -272px}.k-link:not(.k-state-disabled):hover>.k-i-group,.k-state-hover .k-i-group,.k-button:hover .k-i-group,.k-textbox:hover .k-i-group,.k-button:active .k-i-group{background-position:-128px -272px}.k-i-ungroup{background-position:-112px -288px}.k-link:not(.k-state-disabled):hover>.k-i-ungroup,.k-state-hover .k-i-ungroup,.k-button:hover .k-i-ungroup,.k-textbox:hover .k-i-ungroup,.k-button:active .k-i-ungroup{background-position:-128px -288px}.k-i-columns{background-position:-112px -304px}.k-link:not(.k-state-disabled):hover>.k-i-columns,.k-state-hover .k-i-columns,.k-button:hover .k-i-columns,.k-textbox:hover .k-i-columns,.k-button:active .k-i-columns{background-position:-128px -304px}.k-file{background-position:0 0}.k-link:not(.k-state-disabled):hover>.k-file,.k-state-hover .k-file,.k-button:hover .k-file,.k-textbox:hover .k-file,.k-button:active .k-file{background-position:-16px 0}.k-i-folder-add,.k-addfolder{background-position:-32px -272px}.k-link:not(.k-state-disabled):hover>.k-i-folder-add,.k-link:not(.k-state-disabled):hover>.k-addfolder,.k-state-hover .k-i-folder-add,.k-state-hover .k-addfolder,.k-button:hover .k-i-folder-add,.k-button:hover .k-addfolder,.k-textbox:hover .k-i-folder-add,.k-textbox:hover .k-addfolder,.k-button:active .k-i-folder-add,.k-button:active .k-addfolder{background-position:-48px -272px}.k-i-folder-up,.k-goup{background-position:-32px -288px}.k-link:not(.k-state-disabled):hover>.k-i-folder-up,.k-link:not(.k-state-disabled):hover>.k-goup,.k-state-hover .k-i-folder-up,.k-state-hover .k-goup,.k-button:hover .k-i-folder-up,.k-button:hover .k-goup,.k-textbox:hover .k-i-folder-up,.k-textbox:hover .k-goup,.k-button:active .k-i-folder-up,.k-button:active .k-goup{background-position:-48px -288px}.k-image{border:0}html .k-success-colored{color:#507f50;border-color:#d0dfd0;background-color:#f0fff0}html .k-info-colored{color:#50607f;border-color:#d0d9df;background-color:#f0f9ff}html .k-error-colored{color:#7f5050;border-color:#dfd0d0;background-color:#fff0f0}.k-inline-block{padding:0 2px}.k-loading,.k-loading-image{background-color:transparent;background-repeat:no-repeat;background-position:center center}.k-loading-mask,.k-loading-image,.k-loading-text{position:absolute}.k-loading-text{top:-4000px;left:-4000px}.k-loading-image,.k-loading-color{width:100%;height:100%}.k-loading-image{top:0;left:0;z-index:2}.k-loading-color{filter:alpha(opacity=30);opacity:.3}.k-content-frame{border:0;width:100%;height:100%}.k-pane>.k-splitter-overlay{filter:alpha(opacity=0);opacity:0;position:absolute}.k-drag-clue{position:absolute;z-index:10003;border-style:solid;border-width:1px;font-size:.9em;padding:.2em .4em;white-space:nowrap;cursor:default}.k-drag-status{margin-top:-3px;margin-right:4px;vertical-align:middle}.k-reorder-cue{position:absolute;width:1px;overflow:visible}.k-reorder-cue .k-icon{position:absolute;left:-4px;width:8px;height:4px}.k-reorder-cue .k-i-arrow-s{top:-4px;background-position:-4px -166px}.k-reorder-cue .k-i-arrow-n{bottom:-4px;background-position:-4px -134px}.k-scrollbar{position:absolute;overflow:scroll}.k-scrollbar-vertical{top:0;right:0;width:17px;height:100%;overflow-x:hidden}.k-touch-scrollbar{display:none;position:absolute;z-index:200000;height:8px;width:8px;border:1px solid #8a8a8a;background-color:#858585}@media only screen and (-webkit-min-device-pixel-ratio:2){body .k-touch-scrollbar{height:12px;width:12px;-webkit-border-radius:7px}}.k-virtual-scrollable-wrap{overflow-x:auto}div.k-window{display:inline-block;position:absolute;z-index:10001;border-style:solid;border-width:1px;padding-top:2em}.k-block>.k-header,.k-window-titlebar{position:absolute;width:100%;height:1.1em;line-height:1.1em;border-bottom-style:solid;border-bottom-width:1px;margin-top:-2em;padding:.4em 0;font-size:1.2em;white-space:nowrap;min-height:16px}.k-block>.k-header{position:relative;margin:-2px 0 0 -2px;padding:.3em 2px}.k-window-title{position:absolute;left:.44em;right:.44em;overflow:hidden;cursor:default;text-overflow:ellipsis}.k-window-title .k-image{margin:0 5px 0 0;vertical-align:middle}div.k-window-titleless{padding-top:0}div.k-window-content{position:relative;z-index:-1;height:100%;padding:.58em;overflow:auto;outline:0;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.k-ie7 .k-window{padding-bottom:1.16em}.k-window-titlebar .k-window-actions{position:absolute;top:0;right:.3em;padding-top:.3em;white-space:nowrap}.k-window-titlebar .k-window-action{display:inline-block;width:16px;height:16px;padding:2px;text-decoration:none;vertical-align:middle;filter:alpha(opacity=70);opacity:.7}.k-window-titlebar .k-state-hover{border-style:solid;border-width:1px;padding:1px;filter:alpha(opacity=100);opacity:1}.k-window-action .k-icon{margin:0;vertical-align:top}.k-window .k-resize-handle{position:absolute;z-index:1;background-color:#fff;font-size:0;line-height:6px;filter:alpha(opacity=0);opacity:0;zoom:1}.k-resize-n{top:-3px;left:0;width:100%;height:6px;cursor:n-resize}.k-resize-e{top:0;right:-3px;width:6px;height:100%;cursor:e-resize}.k-resize-s{bottom:-3px;left:0;width:100%;height:6px;cursor:s-resize}.k-resize-w{top:0;left:-3px;width:6px;height:100%;cursor:w-resize}.k-resize-se{bottom:-3px;right:-3px;width:16px;height:16px;cursor:se-resize}.k-resize-sw{bottom:-3px;left:-3px;width:6px;height:6px;cursor:sw-resize}.k-resize-ne{top:-3px;right:-3px;width:6px;height:6px;cursor:ne-resize}.k-resize-nw{top:-3px;left:-3px;width:6px;height:6px;cursor:nw-resize}.k-overlay{position:fixed;top:0;left:0;z-index:10001;width:100%;height:100%;background-color:#000;filter:alpha(opacity=50);opacity:.5}.k-window .k-overlay{position:absolute;width:100%;height:100%;background-color:#fff;filter:alpha(opacity=0);opacity:0}.k-window .k-widget{z-index:10002}.k-tabstrip{margin:0;padding:0;zoom:1}.k-tabstrip .k-tabstrip-items{padding:.3em .3em 0}.k-tabstrip-items .k-item,.k-panelbar .k-tabstrip-items .k-item{list-style-type:none;display:inline-block;position:relative;border-style:solid;border-width:1px 1px 0;margin:0 -1px 0 0;padding:0;vertical-align:top}.k-tabstrip-items .k-tab-on-top,.k-tabstrip-items .k-state-active,.k-panelbar .k-tabstrip-items .k-state-active{margin-bottom:-1px;padding-bottom:1px}.k-tabstrip-items .k-tab-on-top{z-index:1}.k-tabstrip-items .k-link,.k-panelbar .k-tabstrip-items .k-link{display:inline-block;border-bottom-width:0;padding:.5em .92em}.k-tabstrip-items .k-icon,.k-panelbar .k-tabstrip-items .k-icon{margin:-1px 4px 0 -3px;vertical-align:top}.k-tabstrip-items .k-item .k-image,.k-tabstrip-items .k-item .k-sprite,.k-panelbar .k-tabstrip-items .k-item .k-image,.k-panelbar .k-tabstrip-items .k-item .k-sprite{margin:-3px 3px 0 -6px;vertical-align:middle}.k-ie7 .k-tabstrip-items .k-item .k-image,.k-ie7 .k-tabstrip-items .k-item .k-sprite{margin-top:-1px;vertical-align:top}.k-tabstrip .k-content,.k-panelbar .k-tabstrip .k-content{position:static;border-style:solid;border-width:1px;margin:0 .29em .3em;padding:.3em .92em;zoom:1}.k-tabstrip>.k-content{display:none}.k-tabstrip .k-content.km-scroll-wrapper{padding:0}.k-tabstrip .k-content>.km-scroll-container{padding:.3em .92em;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.k-panelbar{zoom:1}.k-panelbar>.k-item,.k-panel>.k-item{list-style-type:none;display:block;border-width:0;margin:0;zoom:1;-moz-border-radius:0;-webkit-border-radius:0;-o-border-radius:0;border-radius:0}.k-panelbar .k-image,.k-panelbar .k-sprite{float:left;margin-top:4px;margin-right:5px;vertical-align:middle}.k-panelbar>.k-item>.k-link,.k-panel>.k-item>.k-link{display:block;position:relative;border-bottom-style:solid;border-bottom-width:1px;padding:0 1em;line-height:2.34em;text-decoration:none;zoom:1}.k-panelbar-expand,.k-panelbar-collapse{position:absolute;top:5px;right:2px}.k-panelbar .k-panel,.k-panelbar .k-content{position:relative;border-bottom-style:solid;border-bottom-width:1px;margin:0;padding:0;zoom:1}.k-panel>.k-item>.k-link{border-bottom:0;font-size:.95em;line-height:2.2}.k-panel .k-i-arrow-n,.k-panel .k-i-arrow-s{top:4px}.k-panel .k-panel>.k-item>.k-link{padding-left:2em}.k-panelbar .k-i-seek-e .k-link{border-bottom:0}.k-panel .k-panel{border-bottom:0}.k-menu{cursor:default}.k-menu,.k-menu .k-group{list-style:none;margin:0;padding:0;zoom:1}.k-menu:after{content:'';display:block;width:99%;height:0;float:inherit;overflow:hidden}.k-menu .k-item .k-item,ul.k-menu-vertical>.k-item{display:block;float:none;border-width:0}.k-ie7 .k-menu .k-item .k-item{zoom:normal}.k-menu .k-item>.k-link>.k-icon,.k-menu .k-image,.k-menu .k-sprite{margin:-2px 4px 0 -4px;vertical-align:middle}.k-menu .k-item>.k-link>.k-icon{margin:-2px 0 0}.k-ie7 .k-menu .k-item>.k-link>.k-i-arrow-s,.k-ie7 .k-menu .k-image,.k-ie7 .k-menu .k-sprite{margin-top:0}.k-menu .k-item>.k-link{display:block;padding:.5em .9em .4em;line-height:1.34em;-khtml-user-select:none;-webkit-user-select:none;-moz-user-select:-moz-none;-ms-user-select:none;user-select:none}.k-menu .k-group{display:none;border-style:solid;border-width:1px;overflow:visible;white-space:nowrap}.k-menu .k-group .k-item{display:block;border-width:0}.k-menu .k-item,.k-widget.k-menu-horizontal>.k-item{position:relative;float:left;border-style:solid;border-width:0 1px 0 0;vertical-align:top;zoom:1;box-sizing:content-box}.k-menu .k-group .k-item>.k-link{padding:.28em 1.8em .38em .9em}.k-ie7 .k-menu .k-group .k-link{width:100%}.k-menu .k-item>.k-link>.k-i-arrow-s{margin-right:-8px}.k-menu .k-item>.k-link>.k-i-arrow-e{position:absolute;top:50%;margin-top:-8px;right:2px}.k-menu .k-animation-container{border:0}.k-menu .k-animation-container,.k-menu .k-group{position:absolute;left:0}.k-menu .k-animation-container .k-animation-container,.k-menu .k-group .k-group,.k-menu-vertical .k-animation-container,.k-menu-vertical .k-group{top:0;left:0}.k-menu .k-animation-container .k-group{top:auto;left:auto;margin-left:-1px}.k-menu .k-animation-container,.k-popup .k-animation-container{margin-top:-1px;padding-left:1px}.k-popup .k-animation-container .k-popup{margin-left:-1px}ul.k-menu .k-separator{padding:.25em 0;height:100%;width:1px;font-size:0;line-height:0;border-width:0 1px 0 0}ul.k-menu-vertical .k-separator,.k-menu .k-group .k-separator{padding:0;height:1px;width:100%;border-width:1px 0 0}.k-grid,.k-listview{position:relative;zoom:1}.k-grid table{width:100%;border-collapse:separate;empty-cells:show;border-width:0;outline:0}.k-grid-header .k-header{text-align:left}.k-grid-header .k-header{overflow:hidden;border-style:solid;border-width:0 0 1px 1px;padding:.5em .6em .4em .6em;font-weight:normal;white-space:nowrap;text-overflow:ellipsis}.k-grid-header .k-header .k-link{display:block;min-height:18px;line-height:18px;margin:-0.5em -0.6em -0.4em -0.6em;padding:.5em .6em .4em .6em}.k-grid-header .k-filterable .k-link{padding-right:2.4em}.k-grid-header .k-header .k-icon{position:static}.k-grid-header .k-link>.k-icon{vertical-align:text-top}.k-grid .k-state-hover{cursor:pointer}.k-grid td{border-style:solid;border-width:0 0 0 1px;padding:.4em .6em;overflow:hidden;line-height:1.6em;vertical-align:middle;text-overflow:ellipsis}.k-grid .k-grouping-row td,.k-grid .k-hierarchy-cell{overflow:visible}.k-grid-edit-row td{text-overflow:clip}.k-grid-edit-row .k-textbox{margin-top:0;margin-bottom:0}.k-grid-header-wrap,.k-grid-footer-wrap{position:relative;width:100%;overflow:hidden;border-style:solid;border-width:0 1px 0 0;zoom:1}div.k-grid-header,div.k-grid-footer{padding-right:17px;border-bottom-style:solid;border-bottom-width:1px;zoom:1}div.k-grid-header .k-header{border-bottom-width:0}.k-grid-content{position:relative;width:100%;overflow:auto;overflow-x:auto;overflow-y:scroll;zoom:1}@media print{.k-grid{height:auto!important}.k-grid-header{padding:0!important}.k-grid-content{overflow:visible;height:auto!important}}.k-virtual-scrollable-wrap{height:100%;overflow-y:hidden;position:relative}.k-grid-header table,.k-grid-content table,.k-grid-footer table{table-layout:fixed}.k-ie7 .k-grid-content table{width:auto}.k-grid-toolbar{border-style:solid;border-width:1px 0 0}.k-grid-header .k-header:first-child,.k-grid tbody td:first-child,.k-grid tfoot td:first-child{border-left-width:0}.k-grid-toolbar:first-child,.k-grouping-header+.k-grid-toolbar{border-width:0 0 1px}.k-footer-template td{border-style:solid;border-width:1px 0 0 1px}.k-group-footer td{border-style:solid;border-width:1px 0}.k-grid-footer{border-style:solid;border-width:1px 0 0}.k-grid-footer td{border-top-width:0}.k-pager-wrap{overflow:auto;border-style:solid;border-width:1px;line-height:24px;padding:4px 0 4px 3px}.k-grid-pager{border-width:1px 0 0}.k-grid .k-pager-numbers,.k-pager-numbers .k-link,.k-pager-numbers .k-state-selected{display:inline-block;vertical-align:top;margin-right:1px}.k-pager-numbers{margin:0 2px}.k-pager-numbers .k-state-selected{vertical-align:top}.k-pager-numbers li,.k-pager-input{float:left}.k-grid .k-pager-numbers{float:left;cursor:default}.k-pager-info{float:right;padding:0 16px}.k-pager-numbers .k-link{text-decoration:none}.k-pager-wrap>.k-link{float:left;margin:0 1px;padding:0 3px;height:22px;line-height:22px;-moz-border-radius:13px;-webkit-border-radius:13px;-o-border-radius:13px;border-radius:13px;cursor:pointer}.k-pager-wrap>a.k-state-disabled:hover{background:0;cursor:default}.k-pager-wrap>.k-link .k-icon{vertical-align:top;margin-top:3px}.k-pager-numbers .k-link{padding:0 8px;-moz-border-radius:13px;-webkit-border-radius:13px;-o-border-radius:13px;border-radius:13px}.k-pager-numbers .k-link:hover{padding:0 7px;border-style:solid;border-width:1px;line-height:22px}.k-pager-wrap>.k-link{border-style:solid;border-width:1px}.k-pager-wrap .k-pager-refresh{float:right;margin-right:6px;border-width:0;-moz-border-radius:0;-webkit-border-radius:0;-o-border-radius:0;border-radius:0}.k-pager-numbers .k-state-selected{border-style:solid;border-width:1px;line-height:22px;padding:0 7px;-moz-border-radius:13px;-webkit-border-radius:13px;-o-border-radius:13px;border-radius:13px}.k-pager-wrap .k-textbox{width:40px}.k-ie7 .k-pager-wrap .k-textbox{height:16px;margin-top:2px;display:inline}.k-pager-wrap .k-dropdown{width:54px}.k-pager-refresh{float:right}.k-pager-input,.k-pager-sizes{padding:0 17px}.k-ie7 .k-pager-sizes{float:left}.k-pager-wrap .k-textbox,.k-pager-wrap .k-widget{margin:-0.3em .4em 0}.k-header>.k-grid-filter,.k-header>.k-header-column-menu{float:right;margin:-0.5em -0.6em -0.4em;padding:.5em .2em .4em;position:relative;z-index:1}.k-grid .k-animation-container{position:absolute}.k-filter-menu{padding:.5em}form.k-filter-menu .k-widget,form.k-filter-menu .k-textbox{display:block}.k-filter-help-text,.k-filter-menu .k-widget{margin:.19em 0 0}.k-filter-menu span.k-filter-and{width:6em;margin:.5em 0 .5em}.k-filter-menu .k-button{width:48%;margin:.5em 4% 0 0}.k-filter-menu .k-button+.k-button{margin-right:0}.k-grouping-row .k-icon{margin:0 4px 0 0}.k-grouping-row p{display:inline-block;vertical-align:middle;margin-left:-0.6em;padding:0 .6em}.k-grid>table>tbody .k-group-cell+td,.k-grid>.k-grid-content .k-group-cell+td,.k-grid .k-hierarchy-cell+td{border-left-width:0}.k-grid .k-group-col,.k-grid .k-hierarchy-col{width:30px}.k-grouping-header{border-bottom-style:solid;border-bottom-width:1px}.k-grouping-header{line-height:2}.k-grouping-dropclue{position:absolute;width:6px;height:25px;background-repeat:no-repeat;background-position:-165px -148px}.k-grouping-header .k-group-indicator{display:inline-block;border-style:solid;border-width:1px;margin:0 3px;padding:.15em .15em .15em .4em;line-height:1.5em}.k-grouping-header .k-link{display:inline-block;border-width:0;padding:0;line-height:normal;text-decoration:none}.k-grouping-header .k-button{border:0;padding:0;background:transparent;line-height:1}.k-grouping-header .k-link .k-icon{margin:0 0 0 -3px}.k-grouping-header .k-button .k-icon{margin:0 0 0 3px}.k-grouping-header a,.k-grouping-header .k-button{display:inline-block;vertical-align:middle}.k-dirty{position:absolute;width:0;height:0;border-style:solid;border-width:3px;border-color:#f00 transparent transparent #f00;margin:-0.45em 0 0 -0.6em;padding:0;overflow:hidden;vertical-align:top}.k-grouping-header,.k-grid-toolbar{margin:0;padding:.22em .2em .28em;cursor:default}.k-grid .k-edit-container{padding:0}.k-edit-form{margin:0;padding:0}.k-grid-edit-row .k-edit-form td{border-bottom-width:0}.k-edit-form-container{position:relative;width:400px}.k-edit-label,.k-edit-field,.k-edit-form-container .editor-label,.k-edit-form-container .editor-field{display:inline-block;padding-bottom:1em}.k-edit-label,.k-edit-form-container .editor-label{width:30%;text-align:right;padding-right:3%}.k-edit-field,.k-edit-form-container .editor-field{width:60%}.k-grid .field-validation-error{display:block}.k-grid .input-validation-error{border-style:ridge;border-color:#f00;background-color:#ffc0cb}.k-grid-toolbar .k-button{vertical-align:middle}.k-grid-actions{display:inline-block}.k-ie7 .k-grid-actions{vertical-align:bottom}.k-grid .k-button,.k-edit-form-container .k-button{margin:0 .16em}.k-grid tbody .k-button,.k-ie8 .k-grid tbody button.k-button{min-width:64px}.k-grid tbody button.k-button{min-width:78px}.k-ie7 .k-grid tbody a.k-button{min-width:62px}html body .k-grid tbody .k-button-icon{width:auto;min-width:0}.k-detail-row{position:relative}.k-grid .k-detail-cell{overflow:visible}.k-grid .k-edit-cell{padding:0 .3em}.k-edit-cell>.k-textbox,.k-edit-cell>.k-widget,.k-grid-edit-row>td>.k-textbox,.k-grid-edit-row>td>.k-widget{width:100%}.k-edit-cell .k-widget,.k-grid-edit-row .k-widget{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.k-ie7 .k-edit-cell>.k-textbox,.k-ie7 .k-edit-cell>.k-widget,.k-ie7 .k-grid-edit-row>td>.k-textbox,.k-ie7 .k-grid-edit-row>td>.k-widget{display:block;width:90%}html .k-edit-cell .k-tooltip,html .k-grid-edit-row .k-tooltip{width:auto;max-width:300px}.k-edit-cell input[type="checkbox"]{margin-left:.6em}.k-grid tbody td>.k-grid-delete{margin-top:-0.2em;margin-bottom:-0.2em}.k-grid-resize-indicator{position:absolute;width:2px;background-color:#aaa}.k-grid .k-resize-handle{position:absolute;height:25px;cursor:col-resize;z-index:2}.k-marquee{position:absolute;filter:alpha(opacity=30);opacity:.3}.k-column-menu .k-sprite{margin-right:10px}.k-column-menu>.k-menu{border-width:0}.k-columns-item .k-group{max-height:200px;overflow:auto}span.k-datepicker,span.k-timepicker,span.k-datetimepicker,span.k-colorpicker,span.k-numerictextbox,span.k-combobox,span.k-dropdown{background-image:none}.k-autocomplete,.k-combobox,.k-datepicker,.k-timepicker,.k-datetimepicker,.k-colorpicker,.k-numerictextbox,.k-dropdown,.k-selectbox,.k-textbox{position:relative;display:inline-block;width:12.4em;overflow:visible;border-width:0;vertical-align:middle}.k-filter-menu .k-combobox,.k-filter-menu .k-datepicker,.k-filter-menu .k-timepicker,.k-filter-menu .k-datetimepicker,.k-filter-menu .k-numerictextbox,.k-filter-menu .k-dropdown,.k-filter-menu .k-textbox{width:13.2em}.k-autocomplete,.k-combobox,.k-datepicker,.k-timepicker,.k-datetimepicker,.k-colorpicker,.k-numerictextbox,.k-dropdown,.k-selectbox{white-space:nowrap}.k-colorpicker{width:auto}.k-datetimepicker{width:15em}.k-autocomplete,.k-picker-wrap,.k-numeric-wrap{position:relative;cursor:default}.k-dropdown-wrap{position:relative}.k-dropdown-wrap,.k-picker-wrap,.k-numeric-wrap{display:block}.k-block,.k-widget,.k-grid,.k-slider,.k-splitter,.k-treeview,.k-panelbar,.k-content,.k-header-column-menu{outline:0;-webkit-tap-highlight-color:rgba(0,0,0,0)}.k-block,.k-slider,.k-splitbar,.k-calendar,.k-treeview,.k-pager-wrap,.k-grid-header .k-link,.k-header-column-menu{-webkit-touch-callout:none}.k-popup.k-list-container,.k-popup.k-calendar-container{-webkit-touch-callout:none;-webkit-tap-highlight-color:rgba(0,0,0,0);padding:2px;border-width:1px;border-style:solid}.k-list-container.k-state-border-down,.k-autocomplete.k-state-border-down,.k-dropdown-wrap.k-state-border-down,.k-picker-wrap.k-state-border-down,.k-numeric-wrap.k-state-border-down{border-bottom-width:0;padding-bottom:1px}.k-colorpicker .k-picker-wrap.k-state-border-down{border-bottom-width:1px}.k-textbox,.k-autocomplete,.k-dropdown-wrap,.k-picker-wrap,.k-numeric-wrap{border-width:1px;border-style:solid;padding:0 22px 0 0}.k-numeric-wrap.k-expand-padding{padding-right:0}.k-textbox,.k-autocomplete{padding:0}.k-textbox.k-space-left{padding-left:22px}.k-textbox.k-space-right{padding-right:22px}.k-textbox .k-icon{font-size:inherit;top:50%;margin:-8px 0 0;position:absolute}.k-space-left .k-icon{left:3px}.k-space-right .k-icon{right:3px}.k-autocomplete,.k-dropdown-wrap.k-state-focused,.k-dropdown-wrap.k-state-hover,.k-picker-wrap.k-state-focused,.k-picker-wrap.k-state-hover,.k-numeric-wrap.k-state-focused,.k-numeric-wrap.k-state-hover{-webkit-transition:box-shadow .15s ease-out;-moz-transition:box-shadow .15s ease-out;-o-transition:box-shadow .15s ease-out;transition:box-shadow .15s ease-out}.k-textbox>input,.k-picker-wrap .k-input,.k-numeric-wrap .k-input,.k-combobox .k-input{width:100%;vertical-align:top}.k-picker-wrap .k-input,.k-numeric-wrap .k-input,.k-dropdown-wrap .k-input,.k-selectbox .k-input{font-family:inherit;border-width:0;outline:0}.k-dropdown .k-input,.k-selectbox .k-input{background:transparent}.k-ie7 .k-picker-wrap .k-input,.k-ie7 .k-numeric-wrap .k-input,.k-ie7 .k-combobox .k-input{margin:-1px 0}.k-picker-wrap .k-select,.k-numeric-wrap .k-select,.k-dropdown-wrap .k-select{position:absolute;top:0;right:0;display:inline-block;vertical-align:top;text-decoration:none}.k-combobox .k-select,.k-picker-wrap .k-select,.k-numeric-wrap .k-select{border-style:solid;border-width:0 0 0 1px;border-color:inherit}.k-picker-wrap .k-select{padding:0 2px}span.k-datetimepicker .k-select,span.k-datetimepicker .k-select+.k-select{right:0}.k-textbox,.k-autocomplete{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.k-textbox>input,.k-autocomplete .k-input{display:block}.k-dropdown .k-select,.k-selectbox .k-select{overflow:hidden;border:0;text-decoration:none;font:inherit;color:inherit}.k-dropdown .k-input,.k-selectbox .k-input{display:block;overflow:hidden;text-overflow:ellipsis}.k-textbox>input,.k-autocomplete .k-input,.k-picker-wrap .k-input,.k-numeric-wrap .k-input,.k-dropdown-wrap .k-input,.k-selectbox .k-input{height:1.65em;line-height:1.65em;padding:.178em 0;text-indent:4px;border:0;margin:0}.k-ie7 .k-autocomplete .k-input,.k-ie7 .k-picker-wrap .k-input,.k-ie7 .k-numeric-wrap .k-input,.k-ie7 .k-dropdown-wrap .k-input,.k-ie7 .k-selectbox .k-input{text-indent:0}.k-picker-wrap .k-select,.k-numeric-wrap .k-select,.k-dropdown-wrap .k-select{min-height:1.56em;line-height:1.56em;vertical-align:middle;padding:3px}.k-numeric-wrap .k-select{padding:0}body .k-datetimepicker .k-select{-moz-border-radius:0;-webkit-border-radius:0;-o-border-radius:0;border-radius:0}.k-combobox .k-icon,.k-dropdown,.k-selectbox .k-icon{cursor:pointer}.k-popup{border-style:solid;border-width:1px}.k-popup .k-item{cursor:default}.k-popup .k-calendar{border:0}.k-list{height:100%}.k-popup .k-list .k-item{padding:1px 5px 1px 5px;line-height:1.8em}.k-popup .k-list .k-state-hover,.k-popup .k-list .k-state-focused,.k-popup .k-list .k-state-selected{padding:0 4px;border-width:1px;border-style:solid}.k-multiselect-wrap{position:relative;border-width:0;border-style:solid;border-radius:4px;border-color:#c5c5c5;background-color:#FFF;min-height:2.04em}.k-multiselect-wrap .k-input{background-color:transparent;height:1.31em;line-height:1.31em;padding:.18em 0;text-indent:4px;border:0;margin:1px 0 0;float:left}.k-multiselect-wrap li{margin:1px 0 1px 1px;padding:.1em .15em .1em .4em;line-height:1.5em;float:left}.k-autocomplete .k-loading,.k-multiselect .k-loading{position:absolute;right:3px;bottom:4px}.k-multiselect .k-loading-hidden{visibility:hidden}.k-calendar{position:relative;display:inline-block;width:203px;overflow:hidden}.k-calendar td,.k-calendar .k-link{text-decoration:none}.k-calendar .k-action-link{text-decoration:underline}.k-calendar .k-header,.k-calendar .k-footer{position:relative;text-align:center;zoom:1}.k-widget.k-calendar .k-nav-prev,.k-widget.k-calendar .k-nav-next{position:absolute;top:3px}.k-widget.k-calendar .k-nav-prev{left:1%}.k-widget.k-calendar .k-nav-next{right:1%}.k-calendar .k-content{float:left;border-spacing:0;width:100%;height:166px;border-width:0;margin:0;table-layout:fixed;text-align:right;outline:0}.k-calendar .k-animation-container .k-content{height:100%}.k-widget.k-calendar .k-nav-fast{display:inline-block;width:75%;height:22px;line-height:22px;margin:3px 0 4px}.k-calendar .k-header .k-icon{vertical-align:top;margin:3px 3px 4px}.k-calendar th{border-bottom-style:solid;border-bottom-width:1px;padding:.4em .45em .4em .1em;font-weight:normal;cursor:default}.k-calendar td{padding:1px;cursor:pointer}.k-calendar .k-state-focus{border-style:dotted;border-width:1px;padding:0}.k-calendar .k-content .k-link{display:block;overflow:hidden;min-height:22px;line-height:22px;padding:0 .45em 0 .1em}.k-calendar .k-meta-view .k-link{padding:.25em 0 .3em;text-align:center}.k-calendar .k-footer{clear:both;padding:.5em 0}.k-calendar .k-nav-today:hover{text-decoration:underline}.k-datetimepicker .k-picker-wrap{padding-right:42px}.k-datetimepicker .k-picker-wrap .k-icon{margin-left:2px}.k-picker-wrap .k-icon{cursor:pointer}.k-button,.k-textbox,.k-timepicker,.k-datepicker,.k-datetimepicker{display:inline-block;vertical-align:middle}.k-picker-wrap .k-input{margin:0}.k-time-popup .k-item{padding:1px 3px}div.k-treeview{border-width:0;background:0;overflow:auto;white-space:nowrap}.k-treeview .k-item{display:block;border-width:0;margin:0;padding:0 0 0 16px}.k-treeview>.k-group,.k-treeview .k-item>.k-group,.k-treeview .k-content{margin:0;padding:0;background:0;list-style-type:none;position:relative}.k-treeview .k-icon,.k-treeview .k-image,.k-treeview .k-sprite,.k-treeview .k-checkbox,.k-treeview .k-in{display:inline-block;vertical-align:top}.k-treeview .k-plus,.k-treeview .k-minus,.k-treeview .k-plus-disabled,.k-treeview .k-minus-disabled{margin-top:3px;margin-left:-16px;cursor:pointer}.k-treeview .k-plus-disabled,.k-treeview .k-minus-disabled{cursor:default}.k-treeview .k-sprite,.k-treeview .k-image{margin-right:3px}.k-treeview .k-in{margin:1px 0 1px 2px;padding:2px 4px 2px 3px;line-height:16px;text-decoration:none}.k-treeview span.k-in{cursor:default}.k-treeview .k-in.k-state-hover,.k-treeview .k-in.k-state-selected,.k-treeview .k-in.k-state-focused{border-style:solid;border-width:1px;padding:1px 3px 1px 2px}.k-treeview .k-drop-hint{position:absolute;z-index:10000;visibility:hidden;width:80px;height:5px;margin-top:-3px;background-color:transparent;background-repeat:no-repeat}.k-input{padding:.25em 0}.k-input,.k-textbox>input{outline:0;-webkit-tap-highlight-color:rgba(0,0,0,0)}.k-textbox{outline:0;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;text-indent:2px\9}input.k-textbox{padding:2px .3em;height:2.12em;line-height:1.6em}.k-ie7 input.k-textbox{line-height:1.72em;height:1.72em;text-indent:.3em}textarea.k-textbox{height:auto}.k-ie7 .k-textbox{padding:1px 0;text-indent:0}span.k-numerictextbox{background:transparent}.k-numerictextbox .k-input{margin:0}.k-numerictextbox .k-link{display:block;height:11px;line-height:11px;border-width:0;padding:1px 3px 0}.k-numerictextbox .k-icon{height:11px;vertical-align:top}.k-colorpicker .k-selected-color{font-size:0;vertical-align:top;line-height:0;display:inline-block;height:24px;width:24px}.k-colorpicker .k-tool-icon{position:relative;top:-2px;display:inline-block;padding:3px 3px 2px;font-size:0;line-height:0;margin-right:3px;margin-left:2px;margin-bottom:3px;background-repeat:no-repeat;vertical-align:middle;width:16px;height:16px}.k-colorpicker .k-tool-icon .k-selected-color{display:block;height:3px;width:16px;position:absolute;left:3px;bottom:-3px;border-radius:0!important}.k-colorpicker .k-icon{cursor:pointer}.k-disabled-overlay{position:absolute;left:0;top:0;width:100%;height:100%;background-color:#fff;opacity:.5;filter:alpha(opacity=50)}.k-colorpalette{position:relative;width:120px;line-height:0;border-width:0}.k-colorpalette .k-palette{display:inline-block;vertical-align:top}.k-colorpalette .k-item{display:block;float:left;box-sizing:border-box;-moz-box-sizing:border-box;-ms-box-sizing:border-box;-webkit-box-sizing:border-box;width:14px;height:14px;overflow:hidden;font-size:0;padding:0;z-index:0;position:relative}.k-colorpalette .k-item div{height:100%;width:100%}.k-colorpalette .k-item.k-state-selected{z-index:100;background:transparent;-webkit-box-shadow:0 1px 4px #000;box-shadow:0 1px 4px #000;border:1px solid #fff}.k-flatcolorpicker{display:inline-block;width:250px;padding-bottom:5px;position:relative}div.k-flatcolorpicker{background-color:transparent;background-image:none}.k-flatcolorpicker .k-selected-color{background-image:url("textures/transtexture.png");background-position:50% 50%}.k-flatcolorpicker .k-selected-color .k-selected-color-display{overflow:hidden}.k-flatcolorpicker .k-selected-color input.k-color-value{float:right;font-family:Consolas,"Ubuntu Mono","Lucida Console","Courier New",monospace;padding:.75em .3em .65em 1em;border:0;width:70%;height:100%}.k-flatcolorpicker .k-hsv-rectangle{position:relative;-khtml-user-select:none;-webkit-user-select:none;-moz-user-select:-moz-none;-ms-user-select:none;user-select:none;-ms-touch-action:pinch-zoom double-tap-zoom}.k-flatcolorpicker .k-hsv-rectangle .k-draghandle{cursor:pointer;position:absolute;z-index:10;left:50%;top:50%;width:6px;height:6px;border:2px solid #eee;margin-left:-5px;margin-top:-5px;-moz-border-radius:6px;-webkit-border-radius:6px;-o-border-radius:6px;border-radius:6px;-webkit-box-shadow:0 1px 4px #444;box-shadow:0 1px 4px #444;background:transparent}.k-flatcolorpicker .k-hsv-rectangle .k-draghandle:hover,.k-flatcolorpicker .k-hsv-rectangle .k-draghandle:focus{background:transparent;border-color:#fff;-webkit-box-shadow:0 1px 5px #000;box-shadow:0 1px 5px #000}.k-flatcolorpicker .k-hsv-rectangle.k-dragging,.k-flatcolorpicker .k-hsv-rectangle.k-dragging *{cursor:none}.k-flatcolorpicker .k-slider-horizontal{height:20px;width:90%;margin:0 5%}.k-flatcolorpicker .k-slider-horizontal .k-slider-track{-webkit-box-shadow:0 1px 0 #fff,0 -1px 0 #999;box-shadow:0 1px 0 #fff,0 -1px 0 #999}.k-flatcolorpicker .k-hue-slider,.k-flatcolorpicker .k-transparency-slider{display:block}.k-flatcolorpicker .k-hue-slider .k-slider-selection,.k-flatcolorpicker .k-transparency-slider .k-slider-selection{background:transparent}.k-flatcolorpicker .k-hue-slider .k-draghandle,.k-flatcolorpicker .k-transparency-slider .k-draghandle{background:transparent;border:3px solid #eee;margin-top:1px;height:8px;width:8px;-webkit-box-shadow:0 1px 4px #444;box-shadow:0 1px 4px #444}.k-flatcolorpicker .k-hue-slider .k-draghandle:hover,.k-flatcolorpicker .k-transparency-slider .k-draghandle:hover,.k-flatcolorpicker .k-hue-slider .k-draghandle:focus,.k-flatcolorpicker .k-transparency-slider .k-draghandle:focus{background:transparent;border-color:#fff;-webkit-box-shadow:0 1px 5px #000;box-shadow:0 1px 5px #000}.k-flatcolorpicker .k-hue-slider .k-slider-track{background:-moz-linear-gradient(left,#f00 0,#ff0 16%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 84%,#ff0004 100%);background:-webkit-gradient(linear,left top,right top,color-stop(0%,#f00),color-stop(16%,#ff0),color-stop(33%,#0f0),color-stop(50%,#0ff),color-stop(67%,#00f),color-stop(84%,#f0f),color-stop(100%,#ff0004));background:-webkit-linear-gradient(left,#f00 0,#ff0 16%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 84%,#ff0004 100%);background:-o-linear-gradient(left,#f00 0,#ff0 16%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 84%,#ff0004 100%);background:-ms-linear-gradient(left,#f00 0,#ff0 16%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 84%,#ff0004 100%);background:-left-linear-gradient(left,#f00 0,#ff0 16%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 84%,#ff0004 100%)}.k-flatcolorpicker .k-transparency-slider .k-slider-track{background-image:url("textures/transparency.png");background-size:100% auto;background-position:100% 50%;background-repeat:no-repeat}.k-flatcolorpicker .k-controls{margin-top:10px;margin-bottom:5px;text-align:center;font-size:90%}.k-flatcolorpicker .k-controls .k-button{width:6em}.k-flatcolorpicker .k-hsv-gradient{background:-moz-linear-gradient(top,rgba(0,0,0,0) 0,#000 100%),-moz-linear-gradient(left,#fff 0,rgba(255,255,255,0) 100%);background:-webkit-gradient(linear,left top,left bottom,color-stop(0%,rgba(0,0,0,0)),color-stop(100%,#000)),-webkit-gradient(linear,left top,right top,color-stop(0%,#fff),color-stop(100%,rgba(255,255,255,0)));background:-webkit-linear-gradient(top,rgba(0,0,0,0) 0,#000 100%),-webkit-linear-gradient(left,#fff 0,rgba(255,255,255,0) 100%);background:-o-linear-gradient(top,rgba(0,0,0,0) 0,#000 100%),-o-linear-gradient(left,#fff 0,rgba(255,255,255,0) 100%);background:-ms-linear-gradient(top,rgba(0,0,0,0) 0,#000 100%),-ms-linear-gradient(left,#fff 0,rgba(255,255,255,0) 100%);background:-top-linear-gradient(top,rgba(0,0,0,0) 0,#000 100%),-left-linear-gradient(left,#fff 0,rgba(255,255,255,0) 100%);height:180px;margin-bottom:5px}.k-ie9 .k-flatcolorpicker .k-hue-slider .k-slider-track{background:url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIxMDAlIiB5Mj0iMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2ZmMDAwMCIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjE2JSIgc3RvcC1jb2xvcj0iI2ZmZmYwMCIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjMzJSIgc3RvcC1jb2xvcj0iIzAwZmYwMCIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjUwJSIgc3RvcC1jb2xvcj0iIzAwZmZmZiIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjY3JSIgc3RvcC1jb2xvcj0iIzAwMDBmZiIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9Ijg0JSIgc3RvcC1jb2xvcj0iI2ZmMDBmZiIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiNmZjAwMDQiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+)}.k-ie9 .k-flatcolorpicker .k-hsv-gradient{background:url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzAwMDAwMCIgc3RvcC1vcGFjaXR5PSIwIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiMwMDAwMDAiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+),url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIxMDAlIiB5Mj0iMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2ZmZmZmZiIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiNmZmZmZmYiIHN0b3Atb3BhY2l0eT0iMCIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+)}.k-ie7 .k-flatcolorpicker .k-hue-slider .k-slider-track,.k-ie8 .k-flatcolorpicker .k-hue-slider .k-slider-track{background:url("textures/hue.png") repeat 0 50%}.k-ie7 .k-flatcolorpicker .k-transparency-slider .k-slider-track,.k-ie8 .k-flatcolorpicker .k-transparency-slider .k-slider-track{background:url("textures/transparency.png") repeat 0 50%}.k-ie7 .k-flatcolorpicker .k-hsv-gradient,.k-ie8 .k-flatcolorpicker .k-hsv-gradient{filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff',endColorstr='#00ffffff',GradientType=1) progid:DXImageTransform.Microsoft.gradient(startColorstr='#00000000',endColorstr='#ff000000',GradientType=0)}.k-editor{width:100%;height:250px;table-layout:fixed;border-style:solid;border-width:1px;border-collapse:separate;font-size:100%;vertical-align:top}.k-editor .k-editor-toolbar-wrap{border:0;padding:0}.k-editor-toolbar{margin:0;padding:.1em 0;list-style-type:none;line-height:1.3em;cursor:default}.k-editor-toolbar li{display:inline;vertical-align:middle}.k-webkit .k-editor-toolbar,.k-ff .k-editor-toolbar,.k-ie9 .k-editor-toolbar{padding:0}.k-webkit .k-editor-toolbar li,.k-ff .k-editor-toolbar li,.k-ie9 .k-editor-toolbar li{display:inline-block;padding:.1em 0}.k-editor-toolbar .k-editor-dropdown,.k-editor-toolbar .k-editor-combobox,.k-editor-toolbar .k-editor-selectbox,.k-editor-toolbar .k-editor-colorpicker{margin-right:2px}.k-editor-toolbar .k-separator{position:relative;top:1px;border-style:solid;border-width:0 1px 0 0;margin:0 .3em 0 .1em;padding:0 0 0 1px;font-size:1.3em}.k-editor-toolbar .k-break{display:block;height:1px;font-size:0;line-height:0}.k-editor-toolbar .k-dropdown,.k-editor-toolbar .k-combobox,.k-editor-toolbar .k-selectbox,.k-editor-toolbar .k-colorpicker{vertical-align:middle}.k-editor-button .k-tool-icon{width:22px;height:22px;margin:1px;vertical-align:middle}.k-bold{background-position:-64px 0}.k-bold.k-state-hover{background-position:-90px 0}.k-italic{background-position:-64px -22px}.k-italic.k-state-hover{background-position:-90px -22px}.k-underline{background-position:-64px -44px}.k-underline.k-state-hover{background-position:-90px -44px}.k-strikethrough{background-position:-64px -66px}.k-strikethrough.k-state-hover{background-position:-90px -66px}.k-foreColor{background-position:-64px -88px}.k-state-hover>.k-foreColor{background-position:-90px -88px}.k-backColor{background-position:-64px -110px}.k-state-hover>.k-backColor{background-position:-90px -110px}.k-justifyLeft{background-position:-64px -132px}.k-justifyLeft.k-state-hover{background-position:-90px -132px}.k-justifyCenter{background-position:-64px -154px}.k-justifyCenter.k-state-hover{background-position:-90px -154px}.k-justifyRight{background-position:-64px -176px}.k-justifyRight.k-state-hover{background-position:-90px -176px}.k-justifyFull{background-position:-64px -198px}.k-justifyFull.k-state-hover{background-position:-90px -198px}.k-insertUnorderedList{background-position:-64px -242px}.k-insertUnorderedList.k-state-hover{background-position:-90px -242px}.k-insertOrderedList{background-position:-64px -264px}.k-insertOrderedList.k-state-hover{background-position:-90px -264px}.k-indent,.k-rtl .k-outdent{background-position:-112px 0}.k-indent.k-state-hover,.k-rtl .k-outdent.k-state-hover{background-position:-138px 0}.k-outdent,.k-rtl .k-indent{background-position:-112px -22px}.k-outdent.k-state-hover,.k-rtl .k-indent.k-state-hover{background-position:-138px -22px}.k-createLink{background-position:-112px -44px}.k-createLink.k-state-hover{background-position:-138px -44px}.k-unlink{background-position:-112px -66px}.k-unlink.k-state-hover{background-position:-138px -66px}.k-insertImage{background-position:-112px -88px}.k-insertImage.k-state-hover{background-position:-138px -88px}.k-subscript{background-position:-112px -154px}.k-subscript.k-state-hover{background-position:-138px -154px}.k-superscript{background-position:-112px -176px}.k-superscript.k-state-hover{background-position:-138px -176px}.k-fontName{width:110px}.k-fontSize{width:124px}.k-formatBlock{width:147px}.k-editor-button .k-state-hover,.k-editor-button .k-state-active{border-style:solid;border-width:1px;margin:0;vertical-align:middle}.k-editor-button .k-state-disabled{filter:alpha(opacity=30);opacity:.3}.k-editor .k-editable-area{width:100%;height:100%;border-style:solid;border-width:1px;outline:0}.k-editor .k-content{display:block;width:100%;height:100%;border:0;margin:0;padding:0}.k-editor iframe.k-content{display:inline;vertical-align:top}.k-editor .k-raw-content{border:0;margin:0;padding:0}.k-editor .k-raw-content,.k-editor-dialog .k-editor-textarea{font-size:inherit;font-family:consolas,"courier new",monospace}.k-editor-dialog{padding:1em}.k-editor-dialog ol{margin:0;padding:1em 0 0;list-style:none}.k-form-text-row,.k-form-checkbox-row{padding-bottom:.3em}.k-form-text-row input{margin-right:1em}.k-form-text-row label{display:inline-block;width:7em;padding-right:.5em;text-align:right}.k-form-checkbox-row input{margin-left:7.5em;padding:0;font-size:inherit}.k-form-checkbox-row label{padding-left:.3em}.k-form-checkbox-row input,.k-form-checkbox-row label,.k-form-text-row label.k-form-text-row input,.k-form-text-row select{vertical-align:middle}.k-form-text-row input,.k-form-text-row select{width:20em}.k-editor-dialog .k-form-text-row label,.k-editor-dialog .k-button{display:inline-block}.k-editor-dialog .k-button-wrapper{padding:1em;text-align:right}.k-editor-dialog .k-button-wrapper button{vertical-align:baseline}.k-editor-dialog .k-editor-textarea{width:600px;height:350px;padding:.2em .2em .2em .4em;border-width:1px;border-style:solid;overflow:auto}.k-button-wrapper .k-link:hover{text-decoration:underline}div.k-slider{position:relative;border-width:0;background-color:transparent;-khtml-user-select:none;-webkit-user-select:none;-moz-user-select:-moz-none;-ms-user-select:none;user-select:none}.k-slider-vertical{width:26px;height:200px}.k-slider-horizontal{display:inline-block;width:200px;height:26px}.k-slider-wrap{width:100%;height:100%}.k-slider .k-button,.k-grid .k-slider .k-button{position:absolute;top:0;width:24px;min-width:0;height:24px;margin:0;padding:0;outline:0}.k-slider .k-button .k-icon{margin-top:3px;vertical-align:top}.k-state-disabled .k-slider-wrap{filter:alpha(opacity=60);opacity:.6}.k-state-disabled .k-slider-wrap .k-slider-items{color:#333}.k-slider .k-button-decrease{left:0}.k-slider-vertical .k-button-decrease,.k-grid .k-slider-vertical .k-button-decrease{top:auto;bottom:0}.k-slider .k-button-increase{right:0}.k-slider .k-icon,.k-slider-track,.k-slider .k-tick{cursor:pointer}.k-ie7 .k-slider .k-icon{margin-top:2px}.k-slider-track,.k-slider-selection{position:absolute;margin:0;padding:0}.k-slider-horizontal .k-slider-track,.k-slider-horizontal .k-slider-selection{top:50%;left:0;height:8px;margin-top:-4px;background-repeat:repeat-x}.k-slider-horizontal .k-slider-buttons .k-slider-track{left:34px}.k-slider-vertical .k-slider-track,.k-slider-vertical .k-slider-selection{left:50%;bottom:0;width:8px;margin-left:-4px;background-repeat:repeat-y}.k-slider-vertical .k-slider-buttons .k-slider-track{bottom:34px}.k-draghandle{position:absolute;background-repeat:no-repeat;background-color:transparent;text-indent:-3333px;overflow:hidden;text-decoration:none;text-align:center;outline:0}.k-slider-horizontal .k-draghandle{top:-4px;width:13px;height:14px}.k-slider-vertical .k-draghandle{left:-4px;width:14px;height:13px}.k-slider-buttons .k-slider-items{margin-left:34px}.k-slider-horizontal .k-slider-items{height:100%}.k-slider-vertical .k-slider-items{padding-top:1px}.k-slider-vertical .k-slider-buttons .k-slider-items{padding-top:0}.k-slider-vertical .k-slider-buttons .k-slider-items{margin:0;padding-top:35px}.k-slider .k-tick{position:relative;margin:0;padding:0;background-color:transparent;background-repeat:no-repeat;background-position:center center}.k-slider-horizontal .k-tick{float:left;height:100%;text-align:center}.k-ie7 .k-slider-vertical .k-tick{float:left;clear:left;width:100%}.k-slider-horizontal .k-tick{background-position:center -92px}.k-slider-horizontal .k-slider-topleft .k-tick{background-position:center -122px}.k-slider-horizontal .k-slider-bottomright .k-tick{background-position:center -152px}.k-slider-horizontal .k-tick-large{background-position:center -2px}.k-slider-horizontal .k-slider-topleft .k-tick-large{background-position:center -32px}.k-slider-horizontal .k-slider-bottomright .k-tick-large{background-position:center -62px}.k-slider-vertical .k-tick{background-position:-92px center}.k-slider-vertical .k-slider-topleft .k-tick{background-position:-122px center}.k-slider-vertical .k-slider-bottomright .k-tick{background-position:-152px center}.k-slider-vertical .k-tick-large{background-position:-2px center}.k-slider-vertical .k-slider-topleft .k-tick-large{background-position:-32px center}.k-slider-vertical .k-slider-bottomright .k-tick-large{background-position:-62px center}.k-slider-horizontal .k-first{background-position:0 -92px}.k-slider-horizontal .k-tick-large.k-first{background-position:0 -2px}.k-slider-horizontal .k-slider-topleft .k-first{background-position:0 -122px}.k-slider-horizontal .k-slider-topleft .k-tick-large.k-first{background-position:0 -32px}.k-slider-horizontal .k-slider-bottomright .k-first{background-position:0 -152px}.k-slider-horizontal .k-slider-bottomright .k-tick-large.k-first{background-position:0 -62px}.k-slider-horizontal .k-last{background-position:100% -92px}.k-slider-horizontal .k-tick-large.k-last{background-position:100% -2px}.k-slider-horizontal .k-slider-topleft .k-last{background-position:100% -122px}.k-slider-horizontal .k-slider-topleft .k-tick-large.k-last{background-position:100% -32px}.k-slider-horizontal .k-slider-bottomright .k-last{background-position:100% -152px}.k-slider-horizontal .k-slider-bottomright .k-tick-large.k-last{background-position:100% -62px}.k-slider-vertical .k-first{background-position:-92px 100%}.k-slider-vertical .k-tick-large.k-first{background-position:-2px 100%}.k-slider-vertical .k-slider-topleft .k-first{background-position:-122px 100%}.k-slider-vertical .k-slider-topleft .k-tick-large.k-first{background-position:-32px 100%}.k-slider-vertical .k-slider-bottomright .k-first{background-position:-152px 100%}.k-slider-vertical .k-slider-bottomright .k-tick-large.k-first{background-position:-62px 100%}.k-slider-vertical .k-last{background-position:-92px 0}.k-slider-vertical .k-tick-large.k-last{background-position:-2px 0}.k-slider-vertical .k-slider-topleft .k-last{background-position:-122px 0}.k-slider-vertical .k-slider-topleft .k-tick-large.k-last{background-position:-32px 0}.k-slider-vertical .k-slider-bottomright .k-last{background-position:-152px 0}.k-slider-vertical .k-slider-bottomright .k-tick-large.k-last{background-position:-62px 0}.k-slider-vertical .k-tick{text-align:right}.k-slider-vertical .k-slider-topleft .k-tick{text-align:left}.k-slider .k-label{position:absolute;white-space:nowrap;font-size:.92em}.k-slider-horizontal .k-label{left:0;width:100%;line-height:1}.k-slider-horizontal .k-first .k-label{left:-50%}.k-slider-horizontal .k-last .k-label{left:auto;right:-50%}.k-slider-horizontal .k-label{bottom:-1.2em}.k-slider-horizontal .k-slider-topleft .k-label{top:-1.2em}.k-slider-vertical .k-label{left:120%;display:block;text-align:left}.k-slider-vertical .k-last .k-label{top:-0.5em}.k-slider-vertical .k-first .k-label{bottom:-0.5em}.k-slider-vertical .k-slider-topleft .k-label{left:auto;right:120%}.k-slider-tooltip{top:-4444px}.k-tooltip{position:absolute;z-index:20000;border-style:solid;border-width:1px;padding:4px 5px 4px 6px;background-repeat:repeat-x;min-width:20px;text-align:center}.k-tooltip-button{text-align:right;height:0}.k-tooltip-closable .k-tooltip-content{padding-right:20px}span.k-tooltip{position:static;display:inline-block;border-width:1px;padding:2px 5px 1px 6px}.k-invalid-msg{display:none}.k-callout{position:absolute;width:0;border-style:solid;border-width:6px;border-color:transparent}.k-callout-n{top:-13px;left:50%}.k-callout-w{top:50%;left:-13px}.k-callout-s{left:50%;bottom:-13px}.k-callout-e{top:50%;right:-13px}.k-slider-tooltip .k-callout-n,.k-slider-tooltip .k-callout-s{margin-left:-6px}.k-slider-tooltip .k-callout-w,.k-slider-tooltip .k-callout-e{margin-top:-6px}.k-tooltip-validation .k-warning{vertical-align:text-top;margin-right:3px}.k-window .k-tooltip-validation{z-index:10010}.k-splitter{position:relative;height:300px}.k-pane>.k-splitter{border-width:0;overflow:hidden}.k-splitter .k-pane{overflow:hidden}.k-splitter .k-scrollable{overflow:auto}.k-splitter .k-pane-loading{position:absolute;top:50%;left:50%;margin:-8px 0 0 -8px}.k-ghost-splitbar,.k-splitbar{position:absolute;border-style:solid;font-size:0;outline:0}.k-splitter .k-ghost-splitbar-horizontal,.k-splitter .k-splitbar-horizontal{top:0;width:5px;border-width:0 1px;background-repeat:repeat-y}.k-ghost-splitbar-vertical,.k-splitbar-vertical{left:0;height:5px;border-width:1px 0;background-repeat:repeat-x}.k-splitbar-draggable-horizontal{cursor:w-resize}.k-splitbar-draggable-vertical{cursor:n-resize}.k-splitbar .k-resize-handle{display:none}.k-restricted-size-horizontal,.k-restricted-size-vertical{background-color:#f00}.k-splitbar-horizontal .k-icon{position:absolute;top:50%;width:5px;height:20px;margin-top:-10px}.k-collapse-prev,.k-collapse-next,.k-expand-prev,.k-expand-next{cursor:pointer}.k-splitbar-horizontal .k-collapse-prev{margin-top:-31px}.k-splitbar-horizontal .k-collapse-next{margin-top:11px}.k-splitbar-static-horizontal{width:1px}.k-splitbar-static-vertical{height:1px}.k-splitbar-vertical .k-icon{position:absolute;left:50%;width:20px;height:5px;margin-left:-10px}.k-splitbar-vertical .k-collapse-prev{margin-left:-31px}.k-splitbar-vertical .k-collapse-next{margin-left:11px}.k-splitbar-draggable-vertical .k-resize-handle,.k-splitbar-draggable-horizontal .k-resize-handle{display:inline-block}.k-splitbar-horizontal .k-resize-handle{background-position:-165px -6px}.k-splitbar-horizontal-hover>.k-resize-handle{background-position:-181px -6px}.k-splitbar-horizontal .k-collapse-prev,.k-splitbar-horizontal .k-expand-next{background-position:-6px -174px}.k-splitbar-horizontal-hover>.k-collapse-prev,.k-splitbar-horizontal-hover>.k-expand-next{background-position:-22px -174px}.k-splitbar-horizontal .k-collapse-next,.k-splitbar-horizontal .k-expand-prev{background-position:-5px -142px}.k-splitbar-horizontal-hover>.k-collapse-next,.k-splitbar-horizontal-hover>.k-expand-prev{background-position:-21px -142px}.k-splitbar-vertical .k-resize-handle{background-position:-38px -309px}.k-splitbar-vertical-hover>.k-resize-handle{background-position:-70px -309px}.k-splitbar-vertical .k-collapse-prev,.k-splitbar-vertical .k-expand-next{background-position:2px -134px}.k-splitbar-vertical-hover>.k-collapse-prev,.k-splitbar-vertical-hover>.k-expand-next{background-position:-14px -134px}.k-splitbar-vertical .k-collapse-next,.k-splitbar-vertical .k-expand-prev{background-position:2px -165px}.k-splitbar-vertical-hover>.k-collapse-next,.k-splitbar-vertical-hover>.k-expand-prev{background-position:-14px -165px}html .k-upload{position:relative;border-width:0;background:0}.k-dropzone em,.k-upload-button{vertical-align:middle}.k-ie7 .k-dropzone em,.k-ie7 .k-upload-button{vertical-align:baseline}.k-dropzone{border-style:solid;border-width:0;padding:4px;background-color:transparent}.k-dropzone em{visibility:hidden;margin-left:.6em}.k-dropzone-active{border-width:1px;padding:3px}.k-dropzone-active em{visibility:visible}.k-upload-button{position:relative;width:86px;overflow:hidden!important;direction:ltr}.k-upload-button input{position:absolute;top:0;right:0;z-index:1;font:200px monospace!important;filter:alpha(opacity=0);opacity:0;margin:0;padding:0;cursor:pointer}.k-upload-files{border-style:solid;border-width:1px;margin:.2em 0 0;padding:.3em .7em .5em;line-height:1.9em}.k-upload-files .k-button{position:relative;top:1px;margin-left:8px;padding-top:0;padding-bottom:0;font-size:84%}.k-ie7 .k-upload-files .k-button{line-height:1}.k-upload .k-upload-action .k-icon{width:8px;height:8px;vertical-align:baseline}.k-upload .k-upload-files .k-delete,.k-upload .k-upload-files .k-cancel{background-position:-164px -116px}.k-upload .k-fail{background-position:-161px -111px}.k-retry{background-position:-164px -132px}.k-si-refresh{background-position:-160px -128px}.k-link:not(.k-state-disabled):hover>.k-si-refresh,.k-state-hover .k-si-refresh,.k-button:hover .k-si-refresh,.k-textbox:hover .k-si-refresh,.k-button:active .k-si-refresh{background-position:-176px -128px}.k-si-tick,.k-success{background-position:-160px -96px}.k-link:not(.k-state-disabled):hover>.k-si-tick,.k-link:not(.k-state-disabled):hover>.k-success,.k-state-hover .k-si-tick,.k-state-hover .k-success,.k-button:hover .k-si-tick,.k-button:hover .k-success,.k-textbox:hover .k-si-tick,.k-textbox:hover .k-success,.k-button:active .k-si-tick,.k-button:active .k-success{background-position:-176px -96px}.k-si-cancel{background-position:-160px -112px}.k-link:not(.k-state-disabled):hover>.k-si-cancel,.k-state-hover .k-si-cancel,.k-button:hover .k-si-cancel,.k-textbox:hover .k-si-cancel,.k-button:active .k-si-cancel{background-position:-176px -112px}.k-filename{position:relative;display:inline-block;min-width:120px;max-width:200px;vertical-align:middle;padding-bottom:2px;overflow:hidden;text-overflow:ellipsis;-o-text-overflow:ellipsis;white-space:nowrap}.k-progress,.k-progress-status{position:absolute;bottom:0;left:0;width:118px;height:2px;border-style:solid;border-width:1px;background-repeat:repeat-x}.k-progress-status{left:-1px;bottom:-1px;width:50%}.k-upload-selected{min-width:86px;margin:3px 0 0;-moz-box-sizing:content-box;-ms-box-sizing:content-box;box-sizing:content-box}.k-ie7 .k-upload-selected{min-width:100px}.k-toolbar-wrap .k-dropzone em,.k-toolbar-wrap .k-upload-files{display:none}.k-toolbar-wrap .k-dropzone{border:0;padding:0}.k-toolbar-wrap .k-dropzone-active{text-align:center}.k-toolbar-wrap .k-dropzone-active em{display:inline;margin:0;font-size:5em;font-style:normal}.k-toolbar-wrap .k-dropzone-active .k-upload-button{display:none}.k-imagebrowser-dropzone{z-index:10010;filter:alpha(opacity=40);opacity:.4;position:fixed}.k-imagebrowser .k-upload-button .k-add{background-position:-32px -64px}.k-imagebrowser .k-button-bare span.k-addfolder{background-position:-32px -272px}.k-imagebrowser .k-button-bare span.k-delete{background-position:-32px -16px}.k-search-wrap{position:relative;float:right;width:20%;padding:0}.k-search-wrap label{position:absolute;top:0;left:4px;line-height:20px;font-style:italic}.k-search-wrap input.k-input{padding-left:0;padding-right:0}.k-search-wrap .k-search{position:absolute;top:4px;right:2px;margin:0}.k-breadcrumbs{position:relative;float:left;width:78%;padding-right:2px}.k-breadcrumbs-wrap{position:absolute;top:3px;left:0;z-index:1;padding-left:5px;line-height:18px}.k-breadcrumbs>.k-input{width:100%;padding-left:2px;font-size:inherit;font-family:inherit;border:0}.k-breadcrumbs .k-link,.k-breadcrumbs-wrap .k-icon{margin-top:0;text-decoration:none;vertical-align:middle}.k-breadcrumbs .k-link:hover{text-decoration:underline}.k-imagebrowser .k-breadcrumbs .k-i-seek-w{text-decoration:none;cursor:default}.k-imagebrowser .k-toolbar{clear:both;border-style:solid;border-width:1px;margin:8px 0 0;padding:2px 0 3px;background-repeat:repeat-x;line-height:23px;white-space:nowrap}.k-imagebrowser .k-upload{float:left;z-index:10010}.k-imagebrowser .k-upload-button{width:auto;vertical-align:top}.k-imagebrowser .k-upload .k-icon{vertical-align:bottom}.k-ie7 .k-imagebrowser .k-upload-button,.k-ie7 .k-imagebrowser .k-upload .k-icon{vertical-align:baseline;position:relative;top:1px}.k-ie7 .k-imagebrowser .k-upload .k-icon{top:2px}.k-ie7 .k-imagebrowser .k-toolbar .k-button-icon{vertical-align:middle}.k-toolbar .k-state-disabled,.k-plus-disabled,.k-minus-disabled{filter:alpha(opacity=50);opacity:.5}.k-toolbar-wrap{float:left}.k-tiles-arrange{float:right}.k-tiles-arrange .k-i-arrow-s{margin:0 2px 0 3px}.k-tiles-arrange a{text-decoration:none}.k-tiles{clear:both;height:390px;border-style:solid;border-width:1px;border-top-width:0;margin:0 0 1.4em;padding:9px;overflow:auto;line-height:1.2}.k-tile{float:left;width:223px;height:88px;overflow:hidden;border-style:solid;border-width:1px;margin:1px;padding:0 0 4px;background-position:0 100px;background-repeat:repeat-x;cursor:pointer}.k-tiles li.k-state-hover,.k-tiles li.k-state-selected{background-position:0 center}.k-imagebrowser .k-thumb{float:left;display:inline;width:80px;height:80px;margin:4px 10px 0 4px;-khtml-user-select:none;-webkit-user-select:none;-moz-user-select:-moz-none;-ms-user-select:none;user-select:none}.k-imagebrowser .k-file{width:80px;height:80px}.k-imagebrowser .k-image{margin:2px 0 0 2px}.k-imagebrowser .k-folder{width:80px;height:80px;background-position:0 -200px;background-repeat:no-repeat}.k-imagebrowser .k-loading{margin:35px 0 0 33px}.k-tile strong,.k-tile input{margin:10px 0 4px;font-weight:normal}.k-tile strong{float:left;width:120px;overflow:hidden;text-overflow:ellipsis}.k-tile input{width:100px}.k-tile strong,.k-tile input,.k-tile .k-filesize{display:block}.k-imagebrowser .k-form-text-row{text-align:right}.k-imagebrowser .k-form-text-row label{width:14%}.k-imagebrowser .k-form-text-row input{width:80%}.k-tile-empty{margin:160px 0 0}.k-tile-empty .k-dialog-upload{font-weight:bold;font-size:120%}.k-tile-empty strong{display:block;margin:0 0 .2em;font-size:3em;font-weight:normal}.k-tile-empty,.k-tile-empty .k-button-wrapper{text-align:center}.k-ie7 .k-button,.k-ie7 .k-grid-filter,.k-ie7 .k-header-column-menu,.k-ie7 .k-grid .k-pager-numbers,.k-ie7 .k-grid .k-status-text,.k-ie7 .k-pager-numbers .k-link,.k-ie7 .k-pager-numbers span,.k-ie7 .k-pager-numbers input,.k-ie7 .k-grouping-row p,.k-ie7 .k-grouping-header a,.k-ie7 .k-grouping-header .k-group-indicator,.k-ie7 .k-grouping-header .k-link,.k-ie7 .k-grouping-header .k-button,.k-ie7 .k-grid-actions,.k-ie7 .k-edit-label,.k-ie7 .k-edit-field,.k-ie7 .k-edit-form-container .editor-label,.k-ie7 .k-edit-form-container .editor-field,.k-ie7 .k-combobox,.k-ie7 .k-dropdown,.k-ie7 .k-selectbox,.k-ie7 .k-picker-wrap .k-select,.k-ie7 .k-dropdown-wrap .k-select,.k-ie7 .k-numerictextbox,.k-ie7 .k-timepicker,.k-ie7 .k-datepicker,.k-ie7 .k-datetimepicker,.k-ie7 .k-colorpicker,.k-ie7 .k-calendar,.k-ie7 .k-calendar .k-nav-fast,.k-ie7 .k-treeview .k-icon,.k-ie7 .k-treeview .k-image,.k-ie7 .k-treeview .k-sprite,.k-ie7 .k-treeview .k-in,.k-ie7 .k-colorpicker,.k-ie7 .k-colorpicker .k-tool-icon,.k-ie7 .k-palette.k-reset,.k-ie7 .k-editor-dialog .k-button,.k-form-text-row label,.k-ie7 .k-tabstrip-items .k-item,.k-ie7 .k-tabstrip-items .k-link,.k-ie7 .k-slider-horizontal,.k-ie7 .k-splitbar-draggable-vertical .k-resize-handle,.k-ie7 .k-splitbar-draggable-horizontal .k-resize-handle,.k-ie7 .t-filename,.k-ie7 div.k-window,.k-ie7 .k-window-titlebar .k-window-action{display:inline;zoom:1}.k-ie7 .k-treeview .k-item,.k-ie7 .k-treeview .k-group{zoom:1}.km-scroll-container{-khtml-user-select:none;-webkit-user-select:none;-moz-user-select:-moz-none;-ms-user-select:none;user-select:none;-webkit-margin-collapse:separate;-webkit-transform:translatez(0)}.k-widget .km-scroll-wrapper{position:relative;padding-bottom:0}.km-touch-scrollbar{position:absolute;visibility:hidden;z-index:200000;height:.3em;width:.3em;background-color:rgba(0,0,0,0.7);opacity:0;-webkit-transition:opacity .3s linear;-moz-transition:opacity .3s linear;-o-transition:opacity .3s linear;transition:opacity .3s linear}.km-vertical-scrollbar{height:100%;right:2px;top:2px}.km-horizontal-scrollbar{width:100%;left:2px;bottom:2px} \ No newline at end of file diff --git a/php/css/kendo.default.min.css b/php/css/kendo.default.min.css index a37ab0b..586c44c 100644 --- a/php/css/kendo.default.min.css +++ b/php/css/kendo.default.min.css @@ -1,9 +1,9 @@ /* -* Kendo UI Complete v2012.3.1411 (http://kendoui.com) +* Kendo UI Complete v2013.1.319 (http://kendoui.com) * Copyright 2013 Telerik AD. All rights reserved. * * Kendo UI Complete commercial licenses may be obtained at * https://www.kendoui.com/purchase/license-agreement/kendo-ui-complete-commercial.aspx * If you do not own a commercial license, this file shall be governed by the trial license terms. */ -.k-in,.k-item,.k-window-action{border-color:transparent}.k-block,.k-widget{background-color:#fff}.k-block,.k-widget,.k-input,.k-textbox,.k-group,.k-content,.k-header,.k-editable-area,.k-separator,.k-colorpicker .k-i-arrow-s,.k-textbox>input,.k-autocomplete,.k-dropdown-wrap,.k-toolbar,.k-group-footer td,.k-grid-footer,.k-footer-template td,.k-state-default,.k-state-default .k-select,.k-state-disabled,.k-grid-header-wrap,.k-grid-header,.k-grid td,.k-grid td.k-state-selected,.k-grid-footer-wrap,.k-pager-wrap,.k-pager-wrap .k-link,.k-pager-refresh,.k-grouping-header,.k-grouping-header .k-group-indicator,.k-panelbar>.k-item>.k-link,.k-panel>.k-item>.k-link,.k-panelbar .k-panel,.k-panelbar .k-content,.k-calendar th,.k-slider-track,.k-splitbar,.k-dropzone-active,.k-upload-files,.k-tiles,.k-toolbar,.k-tooltip,.k-progress{border-color:#c5c5c5}.k-group,.k-toolbar,.k-grouping-header,.k-pager-wrap,.k-group-footer td,.k-grid-footer,.k-footer-template td,.k-widget .k-status,.k-grouping-row td,td.k-group-cell,.k-calendar th,.k-dropzone-hovered,.k-upload-files,.k-widget.k-popup{background-color:#ebebeb}.k-list-container{border-color:#c5c5c5;background-color:#e9e9e9}.k-content,.k-editable-area,.k-panelbar>li.k-item,.k-panel>li.k-item,.k-tiles{background-color:#fff}.k-alt,.k-separator{background-color:#f5f5f5}.k-widget .k-dropdown-wrap,.k-widget .k-picker-wrap,.k-widget .k-numeric-wrap,.k-textbox,.k-autocomplete.k-header,.k-autocomplete.k-state-focused,.k-dropdown-wrap.k-state-active,.k-dropdown-wrap.k-state-focused.k-state-active,.k-picker-wrap.k-state-active,.k-picker-wrap.k-state-focused,.k-numeric-wrap.k-state-active,.k-numeric-wrap.k-state-focused{border-color:#c5c5c5;background-color:#e9e9e9}.k-textbox>input,.k-autocomplete .k-input,.k-dropdown-wrap .k-input,.k-autocomplete.k-state-focused .k-input,.k-dropdown-wrap.k-state-focused .k-input,.k-picker-wrap.k-state-focused .k-input,.k-numeric-wrap.k-state-focused .k-input{border-color:#c5c5c5}input.k-textbox,textarea.k-textbox,input.k-textbox:hover,textarea.k-textbox:hover,.k-textbox>input{background:0}.k-input,input.k-textbox,textarea.k-textbox,input.k-textbox:hover,textarea.k-textbox:hover,.k-textbox>input{background-color:#fff;color:#2e2e2e}.k-input[readonly]{background-color:#fff;color:#2e2e2e}.k-block,.k-widget,.k-popup,.k-content,.k-dropdown .k-input{color:#2e2e2e}.k-link:link,.k-link:visited{color:#2e2e2e}.k-tabstrip-items .k-link,.k-panelbar>li>.k-link{color:#2e2e2e}.k-header{color:#2e2e2e}.k-header,.k-grid-header,.k-toolbar,.k-dropdown-wrap,.k-picker-wrap,.k-grouping-header,.k-pager-wrap,.k-textbox,.k-button,.k-draghandle,.k-autocomplete,.k-state-highlight,.k-tabstrip-items .k-item{background-image:url('textures/highlight.png');background-image:none,-webkit-linear-gradient(top,#f6f6f6 0,#eaeaea 100%);background-image:none,-moz-linear-gradient(top,#f6f6f6 0,#eaeaea 100%);background-image:none,-o-linear-gradient(top,#f6f6f6 0,#eaeaea 100%);background-image:none,linear-gradient(to bottom,#f6f6f6 0,#eaeaea 100%);background-position:50% 50%}.k-tabstrip-items .k-state-active{background:#fff}.k-widget.k-tooltip{background-image:url('textures/highlight.png')}.k-block,.k-header,.k-grid-header,.k-toolbar,.k-grouping-header,.k-pager-wrap,.k-button,.k-draghandle{background-color:#e3e3e3}.k-icon,.k-column-menu .k-sprite{opacity:.8}.k-icon:hover,.k-state-hover .k-icon,.k-state-selected .k-icon,.k-state-focused .k-icon,.k-column-menu .k-state-hover .k-sprite,.k-column-menu .k-state-active .k-sprite{opacity:1}.k-icon,.k-tool-icon,.k-grouping-dropclue,.k-drop-hint,.k-callout,.k-column-menu .k-sprite{background-image:url('Default/sprite.png');border-color:transparent}.k-loading,.k-state-hover .k-loading{background-image:url('Default/loading.gif');background-position:50% 50%}.k-loading-image{background-image:url('Default/loading-image.gif')}.k-loading-color{background-color:#fff}.k-button{color:#2e2e2e}.k-button,.k-button.k-state-disabled:hover,.k-state-disabled .k-button:hover,.k-button.k-state-disabled:active,.k-state-disabled .k-button:active{border-color:#c5c5c5;background-color:#e3e3e3}.k-button:hover{color:#2e2e2e;border-color:#a99f9a;background-color:#a99f9a}.k-draghandle{border-color:#c5c5c5;background-color:#fff;-webkit-box-shadow:none;box-shadow:none}.k-draghandle:hover{border-color:#a99f9a;background-color:#a99f9a;-webkit-box-shadow:none;box-shadow:none}.k-state-active,.k-state-active:hover,.k-active-filter{background-color:#fff;border-color:#f0713a;color:#2e2e2e}.k-menu .k-state-hover>.k-state-active{background-color:transparent}.k-state-highlight{background-color:#fff;color:#2e2e2e}.k-state-focused,.k-grouping-row .k-state-focused{background-color:#a99f9a;border-color:#a99f9a;color:#2e2e2e}.k-state-selected,.k-state-selected:link,.k-list>.k-state-selected,.k-list>.k-state-focused,.k-list>.k-state-highlight,.k-panel>.k-state-selected,.k-button:active,.k-ghost-splitbar-vertical,.k-ghost-splitbar-horizontal,.k-draghandle.k-state-selected:hover{color:#fff;background-color:#f0713a;border-color:#f0713a}.k-state-selected.k-state-focused,.k-state-selected.k-state-highlight{background-color:#ed5614;border-color:#ed5614}.k-state-selected>.k-link,.k-panelbar>li>.k-state-selected{color:#fff}.k-state-selected,.k-button:active,.k-draghandle.k-state-selected:hover{background-image:url('textures/highlight.png');background-image:none,-webkit-linear-gradient(top,#fe761b 0,#e15613 100%);background-image:none,-moz-linear-gradient(top,#fe761b 0,#e15613 100%);background-image:none,-o-linear-gradient(top,#fe761b 0,#e15613 100%);background-image:none,linear-gradient(to bottom,#fe761b 0,#e15613 100%);background-position:50% 50%}.k-state-hover,.k-splitbar-horizontal-hover:hover,.k-splitbar-vertical-hover:hover,.k-list>.k-state-hover,.k-marquee,.k-pager-wrap .k-link:hover,.k-dropdown .k-state-focused,.k-imagebrowser-dropzone{color:#2e2e2e;background-color:#a99f9a;border-color:#a99f9a}.k-button:hover,.k-textbox:hover,.k-state-hover,.k-state-hover:hover,.k-pager-wrap .k-link:hover,.k-other-month.k-state-hover .k-link,div.k-imagebrowser-dropzone em,.k-draghandle:hover{background-image:url('textures/highlight.png');background-image:none,-webkit-linear-gradient(top,#cbc5c2 0,#a99f9a 100%);background-image:none,-moz-linear-gradient(top,#cbc5c2 0,#a99f9a 100%);background-image:none,-o-linear-gradient(top,#cbc5c2 0,#a99f9a 100%);background-image:none,linear-gradient(to bottom,#cbc5c2 0,#a99f9a 100%)}.k-autocomplete.k-state-active,.k-picker-wrap.k-state-active,.k-numeric-wrap.k-state-active,.k-dropdown-wrap.k-state-active,.k-state-active,.k-state-active:hover,.k-state-active>.k-link,.k-button:active,.k-panelbar>.k-item>.k-state-focused{background-image:none}.k-tool-icon,.k-tool-icon.k-state-hover,.k-tool-icon.k-state-active,.k-tool-icon.k-state-active.k-state-hover{background-image:url('Default/sprite.png')}.k-state-hover>.k-link,.k-other-month.k-state-hover .k-link,div.k-imagebrowser-dropzone em{color:#2e2e2e}.k-autocomplete.k-state-hover,.k-picker-wrap.k-state-hover,.k-numeric-wrap.k-state-hover,.k-dropdown-wrap.k-state-hover,.k-dropdown-wrap.k-state-hover.k-state-focused{background-color:#a99f9a;background-image:url('textures/highlight.png');background-image:none,-webkit-linear-gradient(top,#cbc5c2 0,#a99f9a 100%);background-image:none,-moz-linear-gradient(top,#cbc5c2 0,#a99f9a 100%);background-image:none,-o-linear-gradient(top,#cbc5c2 0,#a99f9a 100%);background-image:none,linear-gradient(to bottom,#cbc5c2 0,#a99f9a 100%);background-position:50% 50%;border-color:#a99f9a}.k-calendar .k-state-selected.k-state-focused>.k-link{background-color:transparent}.k-dropdown .k-state-focused .k-input{color:#2e2e2e}.k-dropdown .k-state-hover .k-input{color:#2e2e2e}.k-state-error{border-color:#e20000;background-color:#ff5252;color:#fff}.k-state-disabled{filter:alpha(opacity=70);opacity:.7}.k-tile-empty.k-state-selected,.k-loading-mask.k-state-selected{border-width:0;background-image:none;background-color:transparent}.k-state-disabled,.k-state-disabled .k-link,.k-state-disabled .k-button,.k-button.k-state-disabled:active,.k-other-month .k-link,.k-dropzone em,.k-tile-empty strong,.k-slider .k-draghandle{color:#9f9e9e}.k-slider-track{background-color:#c5c5c5}.k-slider-selection{background-color:#f0713a}.k-slider-horizontal .k-tick{background-image:url('Default/slider-h.gif')}.k-slider-vertical .k-tick{background-image:url('Default/slider-v.gif')}.k-widget.k-tooltip{border-color:#c5c5c5;background-color:#c6c6c6;color:#282828}.k-widget.k-tooltip-validation{border-color:#ffe79e;background-color:#fff4c9;color:#635145}.input-prepend .k-tooltip-validation,.input-append .k-tooltip-validation{font-size:12px;position:relative;top:3px}.k-splitbar{background-color:#e3e3e3}.k-restricted-size-vertical,.k-restricted-size-horizontal{background-color:#fff}.k-progress-status{border-color:#a99f9a transparent}.k-tile{border-color:#fff}.k-textbox:hover,.k-tiles li.k-state-hover{border-color:#a99f9a}.k-tiles li.k-state-selected{border-color:#f0713a}.k-tile .k-folder,.k-tile .k-file{background-image:url('Default/imagebrowser.png')}.k-widget,.k-button{-webkit-box-shadow:none;box-shadow:none}.k-slider,.k-treeview,.k-upload{-webkit-box-shadow:none;box-shadow:none}.k-state-hover,.k-state-focused{-webkit-box-shadow:none;box-shadow:none}.k-state-selected{-webkit-box-shadow:none;box-shadow:none}.k-state-active{-webkit-box-shadow:none;box-shadow:none}.k-grid-header .k-header.k-state-focused,.k-grid td.k-state-focused{background-color:#d8d3d1;-webkit-box-shadow:inset 0 0 6px #a99f9a;box-shadow:inset 0 0 6px #a99f9a}.k-grid td.k-state-selected.k-state-focused{-webkit-box-shadow:inset 0 0 6px #87300a;box-shadow:inset 0 0 6px #87300a;background-color:#f17b48}.k-popup,.k-menu .k-group,.k-grid .k-filter-options,.k-time-popup,.k-datepicker-calendar,.k-autocomplete.k-state-border-down,.k-autocomplete.k-state-border-up,.k-dropdown-wrap.k-state-active,.k-picker-wrap.k-state-active,.k-imagebrowser .k-image,.k-tooltip{-webkit-box-shadow:0 2px 2px 0 rgba(0,0,0,0.3);box-shadow:0 2px 2px 0 rgba(0,0,0,0.3)}.k-window{border-color:rgba(0,0,0,0.3);-webkit-box-shadow:1px 1px 7px 1px rgba(128,128,128,0.3);box-shadow:1px 1px 7px 1px rgba(128,128,128,0.3);background-color:#fff}.k-window.k-state-focused{border-color:rgba(0,0,0,0.3);-webkit-box-shadow:1px 1px 7px 1px rgba(0,0,0,0.3);box-shadow:1px 1px 7px 1px rgba(0,0,0,0.3)}.k-textbox>input,.k-autocomplete .k-input,.k-combobox .k-input,.k-picker-wrap .k-input{-webkit-box-shadow:inset 0 0 1px 1px #ddd;box-shadow:inset 0 0 1px 1px #ddd}.k-shadow{-webkit-box-shadow:0 1px 2px 0 rgba(0,0,0,0.3);box-shadow:0 1px 2px 0 rgba(0,0,0,0.3)}.k-inset{-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.3);box-shadow:inset 0 1px 1px rgba(0,0,0,0.3)}.k-block,.k-button,.k-textbox,.k-drag-clue,.k-touch-scrollbar,.k-window,.k-window-titleless .k-window-content,.k-window-action,.k-inline-block,.k-grid .k-filter-options,.k-grouping-header .k-group-indicator,.k-autocomplete,.k-dropdown-wrap,.k-picker-wrap,.k-numeric-wrap,.k-list-container,.k-calendar-container,.k-calendar td,.k-calendar .k-link,.k-treeview .k-in,.k-editor-button .k-state-hover,.k-editor-button .k-state-active,.k-tooltip,.k-tile,.k-slider-track,.k-slider-selection{-moz-border-radius:4px;-webkit-border-radius:4px;border-radius:4px}.k-calendar-container.k-state-border-up,.k-list-container.k-state-border-up,.k-autocomplete.k-state-border-up,.k-dropdown-wrap.k-state-border-up,.k-picker-wrap.k-state-border-up,.k-numeric-wrap.k-state-border-up,.k-window-content,.k-filter-menu{-moz-border-radius:0 0 4px 4px;-webkit-border-radius:0 0 4px 4px;border-radius:0 0 4px 4px}.k-window-titlebar,.k-block>.k-header,.k-tabstrip-items .k-item,.k-panelbar .k-tabstrip-items .k-item,.k-tabstrip-items .k-link,.k-calendar-container.k-state-border-down,.k-list-container.k-state-border-down,.k-autocomplete.k-state-border-down,.k-dropdown-wrap.k-state-border-down,.k-picker-wrap.k-state-border-down,.k-numeric-wrap.k-state-border-down{-moz-border-radius:4px 4px 0 0;-webkit-border-radius:4px 4px 0 0;border-radius:4px 4px 0 0}.k-dropdown-wrap .k-select,.k-picker-wrap .k-select,.k-numeric-wrap .k-select,.k-datetimepicker .k-select+.k-select,.k-animation-container .k-calendar-container,.k-list-container.k-state-border-right{-moz-border-radius:0 4px 4px 0;-webkit-border-radius:0 4px 4px 0;border-radius:0 4px 4px 0}.k-textbox>input,.k-autocomplete .k-input,.k-dropdown-wrap .k-input,.k-picker-wrap .k-input,.k-numeric-wrap .k-input,.k-numeric-wrap .k-link,.k-colorpicker .k-selected-color,.k-progress,.k-progress-status{-moz-border-radius:2px;-webkit-border-radius:2px;border-radius:2px}.k-list .k-state-hover,.k-list .k-state-focused,.k-list .k-state-highlight,.k-list .k-state-selected,.k-dropzone,.k-upload-files{-moz-border-radius:3px;-webkit-border-radius:3px;border-radius:3px}.k-slider .k-button,.k-grid .k-slider .k-button{-moz-border-radius:13px;-webkit-border-radius:13px;border-radius:13px}.k-draghandle{-moz-border-radius:7px;-webkit-border-radius:7px;border-radius:7px} \ No newline at end of file +.k-in,.k-item,.k-window-action{border-color:transparent}.k-block,.k-widget{background-color:#fff}.k-block,.k-widget,.k-input,.k-textbox,.k-group,.k-content,.k-header,.k-editable-area,.k-separator,.k-colorpicker .k-i-arrow-s,.k-textbox>input,.k-autocomplete,.k-dropdown-wrap,.k-toolbar,.k-group-footer td,.k-grid-footer,.k-footer-template td,.k-state-default,.k-state-default .k-select,.k-state-disabled,.k-grid-header-wrap,.k-grid-header,.k-grid td,.k-grid td.k-state-selected,.k-grid-footer-wrap,.k-pager-wrap,.k-pager-wrap .k-link,.k-pager-refresh,.k-grouping-header,.k-grouping-header .k-group-indicator,.k-panelbar>.k-item>.k-link,.k-panel>.k-item>.k-link,.k-panelbar .k-panel,.k-panelbar .k-content,.k-calendar th,.k-slider-track,.k-splitbar,.k-dropzone-active,.k-upload-files,.k-tiles,.k-toolbar,.k-tooltip,.k-progress{border-color:#c5c5c5}.k-group,.k-toolbar,.k-grouping-header,.k-pager-wrap,.k-group-footer td,.k-grid-footer,.k-footer-template td,.k-widget .k-status,.k-grouping-row td,td.k-group-cell,.k-calendar th,.k-dropzone-hovered,.k-upload-files,.k-widget.k-popup{background-color:#ebebeb}.k-list-container{border-color:#c5c5c5;background-color:#e9e9e9}.k-content,.k-editable-area,.k-panelbar>li.k-item,.k-panel>li.k-item,.k-tiles{background-color:#fff}.k-alt,.k-separator{background-color:#f5f5f5}.k-textbox,.k-autocomplete.k-header,.k-dropdown-wrap.k-state-active,.k-picker-wrap.k-state-active,.k-numeric-wrap.k-state-active{border-color:#c5c5c5;background-color:#e9e9e9}.k-textbox>input,.k-autocomplete .k-input,.k-dropdown-wrap .k-input,.k-autocomplete.k-state-focused .k-input,.k-dropdown-wrap.k-state-focused .k-input,.k-picker-wrap.k-state-focused .k-input,.k-numeric-wrap.k-state-focused .k-input{border-color:#c5c5c5}input.k-textbox,textarea.k-textbox,input.k-textbox:hover,textarea.k-textbox:hover,.k-textbox>input{background:0}.k-input,input.k-textbox,textarea.k-textbox,input.k-textbox:hover,textarea.k-textbox:hover,.k-textbox>input{background-color:#fff;color:#2e2e2e}.k-input[readonly]{background-color:#fff;color:#2e2e2e}.k-block,.k-widget,.k-popup,.k-content,.k-dropdown .k-input{color:#2e2e2e}.k-link:link,.k-link:visited{color:#2e2e2e}.k-tabstrip-items .k-link,.k-panelbar>li>.k-link{color:#2e2e2e}.k-header{color:#2e2e2e}.k-header,.k-grid-header,.k-toolbar,.k-dropdown-wrap,.k-picker-wrap,.k-grouping-header,.k-pager-wrap,.k-textbox,.k-button,.k-draghandle,.k-autocomplete,.k-state-highlight,.k-tabstrip-items .k-item{background-image:url('textures/highlight.png');background-image:none,-webkit-linear-gradient(top,#f6f6f6 0,#eaeaea 100%);background-image:none,-moz-linear-gradient(top,#f6f6f6 0,#eaeaea 100%);background-image:none,-o-linear-gradient(top,#f6f6f6 0,#eaeaea 100%);background-image:none,linear-gradient(to bottom,#f6f6f6 0,#eaeaea 100%);background-position:50% 50%}.k-tabstrip-items .k-state-active{background:#fff}.k-widget.k-tooltip{background-image:url('textures/highlight.png')}.k-block,.k-header,.k-grid-header,.k-toolbar,.k-grouping-header,.k-pager-wrap,.k-button,.k-draghandle{background-color:#e3e3e3}.k-icon:hover,.k-state-hover .k-icon,.k-state-selected .k-icon,.k-state-focused .k-icon,.k-column-menu .k-state-hover .k-sprite,.k-column-menu .k-state-active .k-sprite{opacity:1}.k-icon,.k-state-disabled .k-icon,.k-column-menu .k-sprite{opacity:.8}.k-icon,.k-tool-icon,.k-grouping-dropclue,.k-drop-hint,.k-column-menu .k-sprite{background-image:url('Default/sprite.png');border-color:transparent}.k-loading,.k-state-hover .k-loading{background-image:url('Default/loading.gif');background-position:50% 50%}.k-loading-image{background-image:url('Default/loading-image.gif')}.k-loading-color{background-color:#fff}.k-button{color:#2e2e2e}.k-button,.k-button.k-state-disabled:hover,.k-state-disabled .k-button:hover,.k-button.k-state-disabled:active,.k-state-disabled .k-button:active{border-color:#c5c5c5;background-color:#e3e3e3}.k-button:hover{color:#2e2e2e;border-color:#a99f9a;background-color:#a99f9a}.k-draghandle{border-color:#c5c5c5;background-color:#fff;-webkit-box-shadow:none;box-shadow:none}.k-draghandle:hover{border-color:#a99f9a;background-color:#a99f9a;-webkit-box-shadow:none;box-shadow:none}.k-state-active,.k-state-active:hover,.k-active-filter{background-color:#fff;border-color:#f0713a;color:#2e2e2e}.k-menu .k-state-hover>.k-state-active{background-color:transparent}.k-state-highlight{background:#fff;color:#2e2e2e}.k-state-focused,.k-grouping-row .k-state-focused{border-color:#a99f9a}.k-state-selected,.k-state-selected:link,.k-list>.k-state-selected,.k-list>.k-state-highlight,.k-panel>.k-state-selected,.k-button:active,.k-ghost-splitbar-vertical,.k-ghost-splitbar-horizontal,.k-draghandle.k-state-selected:hover{color:#fff;background-color:#f0713a;border-color:#f0713a}.k-state-focused,.k-list>.k-state-focused,.k-listview>.k-state-focused,.k-grid-header th.k-state-focused,td.k-state-focused,.k-button:focus,.k-button.k-state-focused{-webkit-box-shadow:inset 0 0 3px 1px #a99f9a;box-shadow:inset 0 0 3px 1px #a99f9a}.k-list>.k-state-selected.k-state-focused{-webkit-box-shadow:none;box-shadow:none}.k-state-selected>.k-link,.k-panelbar>li>.k-state-selected{color:#fff}.k-state-selected,.k-button:active,.k-draghandle.k-state-selected:hover{background-image:url('textures/highlight.png');background-image:none,-webkit-linear-gradient(top,#fe761b 0,#e15613 100%);background-image:none,-moz-linear-gradient(top,#fe761b 0,#e15613 100%);background-image:none,-o-linear-gradient(top,#fe761b 0,#e15613 100%);background-image:none,linear-gradient(to bottom,#fe761b 0,#e15613 100%);background-position:50% 50%}.k-state-hover,.k-state-hover:hover,.k-splitbar-horizontal-hover:hover,.k-splitbar-vertical-hover:hover,.k-list>.k-state-hover,.k-marquee,.k-pager-wrap .k-link:hover,.k-dropdown .k-state-focused,.k-imagebrowser-dropzone{color:#2e2e2e;background-color:#a99f9a;border-color:#a99f9a}.k-state-hover>.k-select,.k-state-focused>.k-select{border-color:#a99f9a}.k-button:hover,.k-button:focus,.k-button.k-state-focused,.k-textbox:hover,.k-state-hover,.k-state-hover:hover,.k-pager-wrap .k-link:hover,.k-other-month.k-state-hover .k-link,div.k-imagebrowser-dropzone em,.k-draghandle:hover{background-image:url('textures/highlight.png');background-image:none,-webkit-linear-gradient(top,#cbc5c2 0,#a99f9a 100%);background-image:none,-moz-linear-gradient(top,#cbc5c2 0,#a99f9a 100%);background-image:none,-o-linear-gradient(top,#cbc5c2 0,#a99f9a 100%);background-image:none,linear-gradient(to bottom,#cbc5c2 0,#a99f9a 100%)}.k-autocomplete.k-state-active,.k-picker-wrap.k-state-active,.k-numeric-wrap.k-state-active,.k-dropdown-wrap.k-state-active,.k-state-active,.k-state-active:hover,.k-state-active>.k-link,.k-button:active,.k-panelbar>.k-item>.k-state-focused{background-image:none}.k-tool-icon,.k-tool-icon.k-state-hover,.k-tool-icon.k-state-active,.k-tool-icon.k-state-active.k-state-hover{background-image:url('Default/sprite.png')}.k-state-hover>.k-link,.k-other-month.k-state-hover .k-link,div.k-imagebrowser-dropzone em{color:#2e2e2e}.k-autocomplete.k-state-hover,.k-autocomplete.k-state-focused,.k-picker-wrap.k-state-hover,.k-picker-wrap.k-state-focused,.k-numeric-wrap.k-state-hover,.k-numeric-wrap.k-state-focused,.k-dropdown-wrap.k-state-hover,.k-dropdown-wrap.k-state-focused{background-color:#a99f9a;background-image:url('textures/highlight.png');background-image:none,-webkit-linear-gradient(top,#cbc5c2 0,#a99f9a 100%);background-image:none,-moz-linear-gradient(top,#cbc5c2 0,#a99f9a 100%);background-image:none,-o-linear-gradient(top,#cbc5c2 0,#a99f9a 100%);background-image:none,linear-gradient(to bottom,#cbc5c2 0,#a99f9a 100%);background-position:50% 50%;border-color:#a99f9a}.k-calendar .k-state-selected.k-state-focused>.k-link{background-color:transparent}.k-dropdown .k-state-focused .k-input{color:#2e2e2e}.k-dropdown .k-state-hover .k-input{color:#2e2e2e}.k-state-error{border-color:#e20000;background-color:#ff5252;color:#fff}.k-state-disabled{filter:alpha(opacity=70);opacity:.7}.k-tile-empty.k-state-selected,.k-loading-mask.k-state-selected{border-width:0;background-image:none;background-color:transparent}.k-state-disabled,.k-state-disabled .k-link,.k-state-disabled .k-button,.k-button.k-state-disabled:active,.k-other-month .k-link,.k-dropzone em,.k-tile-empty strong,.k-slider .k-draghandle{color:#9f9e9e}.k-slider-track{background-color:#c5c5c5}.k-slider-selection{background-color:#f0713a}.k-slider-horizontal .k-tick{background-image:url('Default/slider-h.gif')}.k-slider-vertical .k-tick{background-image:url('Default/slider-v.gif')}.k-widget.k-tooltip{border-color:#c5c5c5;background-color:#c6c6c6;color:#282828}.k-widget.k-tooltip-validation{border-color:#ffe79e;background-color:#fff4c9;color:#635145}.input-prepend .k-tooltip-validation,.input-append .k-tooltip-validation{font-size:12px;position:relative;top:3px}.k-callout-n{border-bottom-color:#c5c5c5}.k-callout-w{border-right-color:#c5c5c5}.k-callout-s{border-top-color:#c5c5c5}.k-callout-e{border-left-color:#c5c5c5}.k-splitbar{background-color:#e3e3e3}.k-restricted-size-vertical,.k-restricted-size-horizontal{background-color:#fff}.k-progress-status{border-color:#a99f9a transparent}.k-tile{border-color:#fff}.k-textbox:hover,.k-tiles li.k-state-hover{border-color:#a99f9a}.k-tiles li.k-state-selected{border-color:#f0713a}.k-tile .k-folder,.k-tile .k-file{background-image:url('Default/imagebrowser.png')}.k-widget,.k-button{-webkit-box-shadow:none;box-shadow:none}.k-slider,.k-treeview,.k-upload{-webkit-box-shadow:none;box-shadow:none}.k-state-hover{-webkit-box-shadow:none;box-shadow:none}.k-autocomplete.k-state-focused,.k-dropdown-wrap.k-state-focused,.k-picker-wrap.k-state-focused,.k-numeric-wrap.k-state-focused{-webkit-box-shadow:0 0 3px 0 rgba(0,0,0,0.3);box-shadow:0 0 3px 0 rgba(0,0,0,0.3)}.k-state-selected{-webkit-box-shadow:none;box-shadow:none}.k-state-active{-webkit-box-shadow:none;box-shadow:none}.k-grid td.k-state-selected.k-state-focused{background-color:#f17b48}.k-popup,.k-menu .k-group,.k-grid .k-filter-options,.k-time-popup,.k-datepicker-calendar,.k-autocomplete.k-state-border-down,.k-autocomplete.k-state-border-up,.k-dropdown-wrap.k-state-active,.k-picker-wrap.k-state-active,.k-multiselect.k-state-focused,.k-imagebrowser .k-image,.k-tooltip{-webkit-box-shadow:0 2px 2px 0 rgba(0,0,0,0.3);box-shadow:0 2px 2px 0 rgba(0,0,0,0.3)}.k-window{border-color:rgba(0,0,0,0.3);-webkit-box-shadow:1px 1px 7px 1px rgba(128,128,128,0.3);box-shadow:1px 1px 7px 1px rgba(128,128,128,0.3);background-color:#fff}.k-window.k-state-focused{border-color:rgba(0,0,0,0.3);-webkit-box-shadow:1px 1px 7px 1px rgba(0,0,0,0.3);box-shadow:1px 1px 7px 1px rgba(0,0,0,0.3)}.k-shadow{-webkit-box-shadow:0 1px 2px 0 rgba(0,0,0,0.3);box-shadow:0 1px 2px 0 rgba(0,0,0,0.3)}.k-inset{-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.3);box-shadow:inset 0 1px 1px rgba(0,0,0,0.3)}.k-block,.k-button,.k-textbox,.k-drag-clue,.k-touch-scrollbar,.k-window,.k-window-titleless .k-window-content,.k-window-action,.k-inline-block,.k-grid .k-filter-options,.k-grouping-header .k-group-indicator,.k-autocomplete,.k-multiselect,.k-dropdown-wrap,.k-datepicker,.k-timepicker,.k-colorpicker,.k-datetimepicker,.k-numerictextbox,.k-picker-wrap,.k-numeric-wrap,.k-colorpicker.k-list-container,.k-calendar-container,.k-calendar td,.k-calendar .k-link,.k-treeview .k-in,.k-editor-button .k-state-hover,.k-editor-button .k-state-active,.k-tooltip,.k-tile,.k-slider-track,.k-slider-selection{-moz-border-radius:4px;-webkit-border-radius:4px;border-radius:4px}.k-calendar-container.k-state-border-up,.k-list-container.k-state-border-up,.k-autocomplete.k-state-border-up,.k-multiselect.k-state-border-up,.k-dropdown-wrap.k-state-border-up,.k-picker-wrap.k-state-border-up,.k-numeric-wrap.k-state-border-up,.k-window-content,.k-filter-menu{-moz-border-radius:0 0 4px 4px;-webkit-border-radius:0 0 4px 4px;border-radius:0 0 4px 4px}.k-autocomplete.k-state-border-up .k-input,.k-dropdown-wrap.k-state-border-up .k-input,.k-picker-wrap.k-state-border-up .k-input,.k-picker-wrap.k-state-border-up .k-selected-color,.k-numeric-wrap.k-state-border-up .k-input{-moz-border-radius:0 0 0 2px;-webkit-border-radius:0 0 0 2px;border-radius:0 0 0 2px}.k-multiselect.k-state-border-up .k-multiselect-wrap{-moz-border-radius:0 0 2px 2px;-webkit-border-radius:0 0 2px 2px;border-radius:0 0 2px 2px}.k-window-titlebar,.k-block>.k-header,.k-tabstrip-items .k-item,.k-panelbar .k-tabstrip-items .k-item,.k-tabstrip-items .k-link,.k-calendar-container.k-state-border-down,.k-list-container.k-state-border-down,.k-autocomplete.k-state-border-down,.k-multiselect.k-state-border-down,.k-dropdown-wrap.k-state-border-down,.k-picker-wrap.k-state-border-down,.k-numeric-wrap.k-state-border-down{-moz-border-radius:4px 4px 0 0;-webkit-border-radius:4px 4px 0 0;border-radius:4px 4px 0 0}.k-dropdown-wrap .k-input,.k-picker-wrap .k-input,.k-numeric-wrap .k-input{-moz-border-radius:2px 0 0 2px;-webkit-border-radius:2px 0 0 2px;border-radius:2px 0 0 2px}.k-numeric-wrap .k-link{-moz-border-radius:0 2px 0 0;-webkit-border-radius:0 2px 0 0;border-radius:0 2px 0 0}.k-numeric-wrap .k-link+.k-link{-moz-border-radius:0 0 2px 0;-webkit-border-radius:0 0 2px 0;border-radius:0 0 2px 0}.k-colorpicker .k-selected-color{-moz-border-radius:2px 0 0 2px;-webkit-border-radius:2px 0 0 2px;border-radius:2px 0 0 2px}.k-rtl .k-colorpicker .k-selected-color{-moz-border-radius:0 2px 2px 0;-webkit-border-radius:0 2px 2px 0;border-radius:0 2px 2px 0}.k-autocomplete.k-state-border-down .k-input,.k-dropdown-wrap.k-state-border-down .k-input,.k-picker-wrap.k-state-border-down .k-input,.k-picker-wrap.k-state-border-down .k-selected-color,.k-numeric-wrap.k-state-border-down .k-input{-moz-border-radius:2px 0 0 0;-webkit-border-radius:2px 0 0 0;border-radius:2px 0 0 0}.k-multiselect.k-state-border-down .k-multiselect-wrap{-moz-border-radius:2px 2px 0 0;-webkit-border-radius:2px 2px 0 0;border-radius:2px 2px 0 0}.k-dropdown-wrap .k-select,.k-picker-wrap .k-select,.k-numeric-wrap .k-select,.k-datetimepicker .k-select+.k-select,.k-animation-container .k-calendar-container,.k-list-container.k-state-border-right{-moz-border-radius:0 4px 4px 0;-webkit-border-radius:0 4px 4px 0;border-radius:0 4px 4px 0}.k-rtl .k-dropdown-wrap .k-select,.k-rtl .k-picker-wrap .k-select,.k-rtl .k-numeric-wrap .k-select,.k-rtl .k-datetimepicker .k-select+.k-select,.k-rtl .k-animation-container .k-calendar-container,.k-rtl .k-list-container.k-state-border-right{-moz-border-radius:4px 0 0 4px;-webkit-border-radius:4px 0 0 4px;border-radius:4px 0 0 4px}.k-textbox>input,.k-autocomplete .k-input,.k-progress,.k-progress-status,.k-numeric-wrap.k-expand-padding .k-input,.k-multiselect-wrap{-moz-border-radius:2px;-webkit-border-radius:2px;border-radius:2px}.k-list .k-state-hover,.k-list .k-state-focused,.k-list .k-state-highlight,.k-list .k-state-selected,.k-dropzone,.k-upload-files{-moz-border-radius:3px;-webkit-border-radius:3px;border-radius:3px}.k-slider .k-button,.k-grid .k-slider .k-button{-moz-border-radius:13px;-webkit-border-radius:13px;border-radius:13px}.k-draghandle{-moz-border-radius:7px;-webkit-border-radius:7px;border-radius:7px}@media only screen and (-webkit-min-device-pixel-ratio:2),only screen and (min-device-pixel-ratio:2){.k-icon,.k-grouping-dropclue,.k-drop-hint,.k-callout,.k-column-menu .k-sprite,.k-tool-icon,.k-tool-icon.k-state-hover,.k-tool-icon.k-state-active,.k-tool-icon.k-state-active.k-state-hover{background-image:url('Default/sprite@2x.png');background-size:192px 336px}} \ No newline at end of file diff --git a/php/js/jquery.min.js b/php/js/jquery.min.js index f65cf1d..006e953 100644 --- a/php/js/jquery.min.js +++ b/php/js/jquery.min.js @@ -1,2 +1,5 @@ -/*! jQuery v1.8.2 jquery.com | jquery.org/license */ -(function(a,b){function G(a){var b=F[a]={};return p.each(a.split(s),function(a,c){b[c]=!0}),b}function J(a,c,d){if(d===b&&a.nodeType===1){var e="data-"+c.replace(I,"-$1").toLowerCase();d=a.getAttribute(e);if(typeof d=="string"){try{d=d==="true"?!0:d==="false"?!1:d==="null"?null:+d+""===d?+d:H.test(d)?p.parseJSON(d):d}catch(f){}p.data(a,c,d)}else d=b}return d}function K(a){var b;for(b in a){if(b==="data"&&p.isEmptyObject(a[b]))continue;if(b!=="toJSON")return!1}return!0}function ba(){return!1}function bb(){return!0}function bh(a){return!a||!a.parentNode||a.parentNode.nodeType===11}function bi(a,b){do a=a[b];while(a&&a.nodeType!==1);return a}function bj(a,b,c){b=b||0;if(p.isFunction(b))return p.grep(a,function(a,d){var e=!!b.call(a,d,a);return e===c});if(b.nodeType)return p.grep(a,function(a,d){return a===b===c});if(typeof b=="string"){var d=p.grep(a,function(a){return a.nodeType===1});if(be.test(b))return p.filter(b,d,!c);b=p.filter(b,d)}return p.grep(a,function(a,d){return p.inArray(a,b)>=0===c})}function bk(a){var b=bl.split("|"),c=a.createDocumentFragment();if(c.createElement)while(b.length)c.createElement(b.pop());return c}function bC(a,b){return a.getElementsByTagName(b)[0]||a.appendChild(a.ownerDocument.createElement(b))}function bD(a,b){if(b.nodeType!==1||!p.hasData(a))return;var c,d,e,f=p._data(a),g=p._data(b,f),h=f.events;if(h){delete g.handle,g.events={};for(c in h)for(d=0,e=h[c].length;d").appendTo(e.body),c=b.css("display");b.remove();if(c==="none"||c===""){bI=e.body.appendChild(bI||p.extend(e.createElement("iframe"),{frameBorder:0,width:0,height:0}));if(!bJ||!bI.createElement)bJ=(bI.contentWindow||bI.contentDocument).document,bJ.write(""),bJ.close();b=bJ.body.appendChild(bJ.createElement(a)),c=bH(b,"display"),e.body.removeChild(bI)}return bS[a]=c,c}function ci(a,b,c,d){var e;if(p.isArray(b))p.each(b,function(b,e){c||ce.test(a)?d(a,e):ci(a+"["+(typeof e=="object"?b:"")+"]",e,c,d)});else if(!c&&p.type(b)==="object")for(e in b)ci(a+"["+e+"]",b[e],c,d);else d(a,b)}function cz(a){return function(b,c){typeof b!="string"&&(c=b,b="*");var d,e,f,g=b.toLowerCase().split(s),h=0,i=g.length;if(p.isFunction(c))for(;h)[^>]*$|#([\w\-]*)$)/,v=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,w=/^[\],:{}\s]*$/,x=/(?:^|:|,)(?:\s*\[)+/g,y=/\\(?:["\\\/bfnrt]|u[\da-fA-F]{4})/g,z=/"[^"\\\r\n]*"|true|false|null|-?(?:\d\d*\.|)\d+(?:[eE][\-+]?\d+|)/g,A=/^-ms-/,B=/-([\da-z])/gi,C=function(a,b){return(b+"").toUpperCase()},D=function(){e.addEventListener?(e.removeEventListener("DOMContentLoaded",D,!1),p.ready()):e.readyState==="complete"&&(e.detachEvent("onreadystatechange",D),p.ready())},E={};p.fn=p.prototype={constructor:p,init:function(a,c,d){var f,g,h,i;if(!a)return this;if(a.nodeType)return this.context=this[0]=a,this.length=1,this;if(typeof a=="string"){a.charAt(0)==="<"&&a.charAt(a.length-1)===">"&&a.length>=3?f=[null,a,null]:f=u.exec(a);if(f&&(f[1]||!c)){if(f[1])return c=c instanceof p?c[0]:c,i=c&&c.nodeType?c.ownerDocument||c:e,a=p.parseHTML(f[1],i,!0),v.test(f[1])&&p.isPlainObject(c)&&this.attr.call(a,c,!0),p.merge(this,a);g=e.getElementById(f[2]);if(g&&g.parentNode){if(g.id!==f[2])return d.find(a);this.length=1,this[0]=g}return this.context=e,this.selector=a,this}return!c||c.jquery?(c||d).find(a):this.constructor(c).find(a)}return p.isFunction(a)?d.ready(a):(a.selector!==b&&(this.selector=a.selector,this.context=a.context),p.makeArray(a,this))},selector:"",jquery:"1.8.2",length:0,size:function(){return this.length},toArray:function(){return k.call(this)},get:function(a){return a==null?this.toArray():a<0?this[this.length+a]:this[a]},pushStack:function(a,b,c){var d=p.merge(this.constructor(),a);return d.prevObject=this,d.context=this.context,b==="find"?d.selector=this.selector+(this.selector?" ":"")+c:b&&(d.selector=this.selector+"."+b+"("+c+")"),d},each:function(a,b){return p.each(this,a,b)},ready:function(a){return p.ready.promise().done(a),this},eq:function(a){return a=+a,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(k.apply(this,arguments),"slice",k.call(arguments).join(","))},map:function(a){return this.pushStack(p.map(this,function(b,c){return a.call(b,c,b)}))},end:function(){return this.prevObject||this.constructor(null)},push:j,sort:[].sort,splice:[].splice},p.fn.init.prototype=p.fn,p.extend=p.fn.extend=function(){var a,c,d,e,f,g,h=arguments[0]||{},i=1,j=arguments.length,k=!1;typeof h=="boolean"&&(k=h,h=arguments[1]||{},i=2),typeof h!="object"&&!p.isFunction(h)&&(h={}),j===i&&(h=this,--i);for(;i0)return;d.resolveWith(e,[p]),p.fn.trigger&&p(e).trigger("ready").off("ready")},isFunction:function(a){return p.type(a)==="function"},isArray:Array.isArray||function(a){return p.type(a)==="array"},isWindow:function(a){return a!=null&&a==a.window},isNumeric:function(a){return!isNaN(parseFloat(a))&&isFinite(a)},type:function(a){return a==null?String(a):E[m.call(a)]||"object"},isPlainObject:function(a){if(!a||p.type(a)!=="object"||a.nodeType||p.isWindow(a))return!1;try{if(a.constructor&&!n.call(a,"constructor")&&!n.call(a.constructor.prototype,"isPrototypeOf"))return!1}catch(c){return!1}var d;for(d in a);return d===b||n.call(a,d)},isEmptyObject:function(a){var b;for(b in a)return!1;return!0},error:function(a){throw new Error(a)},parseHTML:function(a,b,c){var d;return!a||typeof a!="string"?null:(typeof b=="boolean"&&(c=b,b=0),b=b||e,(d=v.exec(a))?[b.createElement(d[1])]:(d=p.buildFragment([a],b,c?null:[]),p.merge([],(d.cacheable?p.clone(d.fragment):d.fragment).childNodes)))},parseJSON:function(b){if(!b||typeof b!="string")return null;b=p.trim(b);if(a.JSON&&a.JSON.parse)return a.JSON.parse(b);if(w.test(b.replace(y,"@").replace(z,"]").replace(x,"")))return(new Function("return "+b))();p.error("Invalid JSON: "+b)},parseXML:function(c){var d,e;if(!c||typeof c!="string")return null;try{a.DOMParser?(e=new DOMParser,d=e.parseFromString(c,"text/xml")):(d=new ActiveXObject("Microsoft.XMLDOM"),d.async="false",d.loadXML(c))}catch(f){d=b}return(!d||!d.documentElement||d.getElementsByTagName("parsererror").length)&&p.error("Invalid XML: "+c),d},noop:function(){},globalEval:function(b){b&&r.test(b)&&(a.execScript||function(b){a.eval.call(a,b)})(b)},camelCase:function(a){return a.replace(A,"ms-").replace(B,C)},nodeName:function(a,b){return a.nodeName&&a.nodeName.toLowerCase()===b.toLowerCase()},each:function(a,c,d){var e,f=0,g=a.length,h=g===b||p.isFunction(a);if(d){if(h){for(e in a)if(c.apply(a[e],d)===!1)break}else for(;f0&&a[0]&&a[i-1]||i===0||p.isArray(a));if(j)for(;h-1)i.splice(c,1),e&&(c<=g&&g--,c<=h&&h--)}),this},has:function(a){return p.inArray(a,i)>-1},empty:function(){return i=[],this},disable:function(){return i=j=c=b,this},disabled:function(){return!i},lock:function(){return j=b,c||l.disable(),this},locked:function(){return!j},fireWith:function(a,b){return b=b||[],b=[a,b.slice?b.slice():b],i&&(!d||j)&&(e?j.push(b):k(b)),this},fire:function(){return l.fireWith(this,arguments),this},fired:function(){return!!d}};return l},p.extend({Deferred:function(a){var b=[["resolve","done",p.Callbacks("once memory"),"resolved"],["reject","fail",p.Callbacks("once memory"),"rejected"],["notify","progress",p.Callbacks("memory")]],c="pending",d={state:function(){return c},always:function(){return e.done(arguments).fail(arguments),this},then:function(){var a=arguments;return p.Deferred(function(c){p.each(b,function(b,d){var f=d[0],g=a[b];e[d[1]](p.isFunction(g)?function(){var a=g.apply(this,arguments);a&&p.isFunction(a.promise)?a.promise().done(c.resolve).fail(c.reject).progress(c.notify):c[f+"With"](this===e?c:this,[a])}:c[f])}),a=null}).promise()},promise:function(a){return a!=null?p.extend(a,d):d}},e={};return d.pipe=d.then,p.each(b,function(a,f){var g=f[2],h=f[3];d[f[1]]=g.add,h&&g.add(function(){c=h},b[a^1][2].disable,b[2][2].lock),e[f[0]]=g.fire,e[f[0]+"With"]=g.fireWith}),d.promise(e),a&&a.call(e,e),e},when:function(a){var b=0,c=k.call(arguments),d=c.length,e=d!==1||a&&p.isFunction(a.promise)?d:0,f=e===1?a:p.Deferred(),g=function(a,b,c){return function(d){b[a]=this,c[a]=arguments.length>1?k.call(arguments):d,c===h?f.notifyWith(b,c):--e||f.resolveWith(b,c)}},h,i,j;if(d>1){h=new Array(d),i=new Array(d),j=new Array(d);for(;b
a",c=n.getElementsByTagName("*"),d=n.getElementsByTagName("a")[0],d.style.cssText="top:1px;float:left;opacity:.5";if(!c||!c.length)return{};f=e.createElement("select"),g=f.appendChild(e.createElement("option")),h=n.getElementsByTagName("input")[0],b={leadingWhitespace:n.firstChild.nodeType===3,tbody:!n.getElementsByTagName("tbody").length,htmlSerialize:!!n.getElementsByTagName("link").length,style:/top/.test(d.getAttribute("style")),hrefNormalized:d.getAttribute("href")==="/a",opacity:/^0.5/.test(d.style.opacity),cssFloat:!!d.style.cssFloat,checkOn:h.value==="on",optSelected:g.selected,getSetAttribute:n.className!=="t",enctype:!!e.createElement("form").enctype,html5Clone:e.createElement("nav").cloneNode(!0).outerHTML!=="<:nav>",boxModel:e.compatMode==="CSS1Compat",submitBubbles:!0,changeBubbles:!0,focusinBubbles:!1,deleteExpando:!0,noCloneEvent:!0,inlineBlockNeedsLayout:!1,shrinkWrapBlocks:!1,reliableMarginRight:!0,boxSizingReliable:!0,pixelPosition:!1},h.checked=!0,b.noCloneChecked=h.cloneNode(!0).checked,f.disabled=!0,b.optDisabled=!g.disabled;try{delete n.test}catch(o){b.deleteExpando=!1}!n.addEventListener&&n.attachEvent&&n.fireEvent&&(n.attachEvent("onclick",m=function(){b.noCloneEvent=!1}),n.cloneNode(!0).fireEvent("onclick"),n.detachEvent("onclick",m)),h=e.createElement("input"),h.value="t",h.setAttribute("type","radio"),b.radioValue=h.value==="t",h.setAttribute("checked","checked"),h.setAttribute("name","t"),n.appendChild(h),i=e.createDocumentFragment(),i.appendChild(n.lastChild),b.checkClone=i.cloneNode(!0).cloneNode(!0).lastChild.checked,b.appendChecked=h.checked,i.removeChild(h),i.appendChild(n);if(n.attachEvent)for(k in{submit:!0,change:!0,focusin:!0})j="on"+k,l=j in n,l||(n.setAttribute(j,"return;"),l=typeof n[j]=="function"),b[k+"Bubbles"]=l;return p(function(){var c,d,f,g,h="padding:0;margin:0;border:0;display:block;overflow:hidden;",i=e.getElementsByTagName("body")[0];if(!i)return;c=e.createElement("div"),c.style.cssText="visibility:hidden;border:0;width:0;height:0;position:static;top:0;margin-top:1px",i.insertBefore(c,i.firstChild),d=e.createElement("div"),c.appendChild(d),d.innerHTML="
t
",f=d.getElementsByTagName("td"),f[0].style.cssText="padding:0;margin:0;border:0;display:none",l=f[0].offsetHeight===0,f[0].style.display="",f[1].style.display="none",b.reliableHiddenOffsets=l&&f[0].offsetHeight===0,d.innerHTML="",d.style.cssText="box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;padding:1px;border:1px;display:block;width:4px;margin-top:1%;position:absolute;top:1%;",b.boxSizing=d.offsetWidth===4,b.doesNotIncludeMarginInBodyOffset=i.offsetTop!==1,a.getComputedStyle&&(b.pixelPosition=(a.getComputedStyle(d,null)||{}).top!=="1%",b.boxSizingReliable=(a.getComputedStyle(d,null)||{width:"4px"}).width==="4px",g=e.createElement("div"),g.style.cssText=d.style.cssText=h,g.style.marginRight=g.style.width="0",d.style.width="1px",d.appendChild(g),b.reliableMarginRight=!parseFloat((a.getComputedStyle(g,null)||{}).marginRight)),typeof d.style.zoom!="undefined"&&(d.innerHTML="",d.style.cssText=h+"width:1px;padding:1px;display:inline;zoom:1",b.inlineBlockNeedsLayout=d.offsetWidth===3,d.style.display="block",d.style.overflow="visible",d.innerHTML="
",d.firstChild.style.width="5px",b.shrinkWrapBlocks=d.offsetWidth!==3,c.style.zoom=1),i.removeChild(c),c=d=f=g=null}),i.removeChild(n),c=d=f=g=h=i=n=null,b}();var H=/(?:\{[\s\S]*\}|\[[\s\S]*\])$/,I=/([A-Z])/g;p.extend({cache:{},deletedIds:[],uuid:0,expando:"jQuery"+(p.fn.jquery+Math.random()).replace(/\D/g,""),noData:{embed:!0,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",applet:!0},hasData:function(a){return a=a.nodeType?p.cache[a[p.expando]]:a[p.expando],!!a&&!K(a)},data:function(a,c,d,e){if(!p.acceptData(a))return;var f,g,h=p.expando,i=typeof c=="string",j=a.nodeType,k=j?p.cache:a,l=j?a[h]:a[h]&&h;if((!l||!k[l]||!e&&!k[l].data)&&i&&d===b)return;l||(j?a[h]=l=p.deletedIds.pop()||p.guid++:l=h),k[l]||(k[l]={},j||(k[l].toJSON=p.noop));if(typeof c=="object"||typeof c=="function")e?k[l]=p.extend(k[l],c):k[l].data=p.extend(k[l].data,c);return f=k[l],e||(f.data||(f.data={}),f=f.data),d!==b&&(f[p.camelCase(c)]=d),i?(g=f[c],g==null&&(g=f[p.camelCase(c)])):g=f,g},removeData:function(a,b,c){if(!p.acceptData(a))return;var d,e,f,g=a.nodeType,h=g?p.cache:a,i=g?a[p.expando]:p.expando;if(!h[i])return;if(b){d=c?h[i]:h[i].data;if(d){p.isArray(b)||(b in d?b=[b]:(b=p.camelCase(b),b in d?b=[b]:b=b.split(" ")));for(e=0,f=b.length;e1,null,!1))},removeData:function(a){return this.each(function(){p.removeData(this,a)})}}),p.extend({queue:function(a,b,c){var d;if(a)return b=(b||"fx")+"queue",d=p._data(a,b),c&&(!d||p.isArray(c)?d=p._data(a,b,p.makeArray(c)):d.push(c)),d||[]},dequeue:function(a,b){b=b||"fx";var c=p.queue(a,b),d=c.length,e=c.shift(),f=p._queueHooks(a,b),g=function(){p.dequeue(a,b)};e==="inprogress"&&(e=c.shift(),d--),e&&(b==="fx"&&c.unshift("inprogress"),delete f.stop,e.call(a,g,f)),!d&&f&&f.empty.fire()},_queueHooks:function(a,b){var c=b+"queueHooks";return p._data(a,c)||p._data(a,c,{empty:p.Callbacks("once memory").add(function(){p.removeData(a,b+"queue",!0),p.removeData(a,c,!0)})})}}),p.fn.extend({queue:function(a,c){var d=2;return typeof a!="string"&&(c=a,a="fx",d--),arguments.length1)},removeAttr:function(a){return this.each(function(){p.removeAttr(this,a)})},prop:function(a,b){return p.access(this,p.prop,a,b,arguments.length>1)},removeProp:function(a){return a=p.propFix[a]||a,this.each(function(){try{this[a]=b,delete this[a]}catch(c){}})},addClass:function(a){var b,c,d,e,f,g,h;if(p.isFunction(a))return this.each(function(b){p(this).addClass(a.call(this,b,this.className))});if(a&&typeof a=="string"){b=a.split(s);for(c=0,d=this.length;c=0)d=d.replace(" "+c[f]+" "," ");e.className=a?p.trim(d):""}}}return this},toggleClass:function(a,b){var c=typeof a,d=typeof b=="boolean";return p.isFunction(a)?this.each(function(c){p(this).toggleClass(a.call(this,c,this.className,b),b)}):this.each(function(){if(c==="string"){var e,f=0,g=p(this),h=b,i=a.split(s);while(e=i[f++])h=d?h:!g.hasClass(e),g[h?"addClass":"removeClass"](e)}else if(c==="undefined"||c==="boolean")this.className&&p._data(this,"__className__",this.className),this.className=this.className||a===!1?"":p._data(this,"__className__")||""})},hasClass:function(a){var b=" "+a+" ",c=0,d=this.length;for(;c=0)return!0;return!1},val:function(a){var c,d,e,f=this[0];if(!arguments.length){if(f)return c=p.valHooks[f.type]||p.valHooks[f.nodeName.toLowerCase()],c&&"get"in c&&(d=c.get(f,"value"))!==b?d:(d=f.value,typeof d=="string"?d.replace(P,""):d==null?"":d);return}return e=p.isFunction(a),this.each(function(d){var f,g=p(this);if(this.nodeType!==1)return;e?f=a.call(this,d,g.val()):f=a,f==null?f="":typeof f=="number"?f+="":p.isArray(f)&&(f=p.map(f,function(a){return a==null?"":a+""})),c=p.valHooks[this.type]||p.valHooks[this.nodeName.toLowerCase()];if(!c||!("set"in c)||c.set(this,f,"value")===b)this.value=f})}}),p.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,d,e,f=a.selectedIndex,g=[],h=a.options,i=a.type==="select-one";if(f<0)return null;c=i?f:0,d=i?f+1:h.length;for(;c=0}),c.length||(a.selectedIndex=-1),c}}},attrFn:{},attr:function(a,c,d,e){var f,g,h,i=a.nodeType;if(!a||i===3||i===8||i===2)return;if(e&&p.isFunction(p.fn[c]))return p(a)[c](d);if(typeof a.getAttribute=="undefined")return p.prop(a,c,d);h=i!==1||!p.isXMLDoc(a),h&&(c=c.toLowerCase(),g=p.attrHooks[c]||(T.test(c)?M:L));if(d!==b){if(d===null){p.removeAttr(a,c);return}return g&&"set"in g&&h&&(f=g.set(a,d,c))!==b?f:(a.setAttribute(c,d+""),d)}return g&&"get"in g&&h&&(f=g.get(a,c))!==null?f:(f=a.getAttribute(c),f===null?b:f)},removeAttr:function(a,b){var c,d,e,f,g=0;if(b&&a.nodeType===1){d=b.split(s);for(;g=0}})});var V=/^(?:textarea|input|select)$/i,W=/^([^\.]*|)(?:\.(.+)|)$/,X=/(?:^|\s)hover(\.\S+|)\b/,Y=/^key/,Z=/^(?:mouse|contextmenu)|click/,$=/^(?:focusinfocus|focusoutblur)$/,_=function(a){return p.event.special.hover?a:a.replace(X,"mouseenter$1 mouseleave$1")};p.event={add:function(a,c,d,e,f){var g,h,i,j,k,l,m,n,o,q,r;if(a.nodeType===3||a.nodeType===8||!c||!d||!(g=p._data(a)))return;d.handler&&(o=d,d=o.handler,f=o.selector),d.guid||(d.guid=p.guid++),i=g.events,i||(g.events=i={}),h=g.handle,h||(g.handle=h=function(a){return typeof p!="undefined"&&(!a||p.event.triggered!==a.type)?p.event.dispatch.apply(h.elem,arguments):b},h.elem=a),c=p.trim(_(c)).split(" ");for(j=0;j=0&&(s=s.slice(0,-1),i=!0),s.indexOf(".")>=0&&(t=s.split("."),s=t.shift(),t.sort());if((!f||p.event.customEvent[s])&&!p.event.global[s])return;c=typeof c=="object"?c[p.expando]?c:new p.Event(s,c):new p.Event(s),c.type=s,c.isTrigger=!0,c.exclusive=i,c.namespace=t.join("."),c.namespace_re=c.namespace?new RegExp("(^|\\.)"+t.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,m=s.indexOf(":")<0?"on"+s:"";if(!f){h=p.cache;for(j in h)h[j].events&&h[j].events[s]&&p.event.trigger(c,d,h[j].handle.elem,!0);return}c.result=b,c.target||(c.target=f),d=d!=null?p.makeArray(d):[],d.unshift(c),n=p.event.special[s]||{};if(n.trigger&&n.trigger.apply(f,d)===!1)return;q=[[f,n.bindType||s]];if(!g&&!n.noBubble&&!p.isWindow(f)){r=n.delegateType||s,k=$.test(r+s)?f:f.parentNode;for(l=f;k;k=k.parentNode)q.push([k,r]),l=k;l===(f.ownerDocument||e)&&q.push([l.defaultView||l.parentWindow||a,r])}for(j=0;j=0:p.find(m,this,null,[f]).length),h[m]&&j.push(l);j.length&&u.push({elem:f,matches:j})}o.length>q&&u.push({elem:this,matches:o.slice(q)});for(d=0;d0?this.on(b,null,a,c):this.trigger(b)},Y.test(b)&&(p.event.fixHooks[b]=p.event.keyHooks),Z.test(b)&&(p.event.fixHooks[b]=p.event.mouseHooks)}),function(a,b){function bc(a,b,c,d){c=c||[],b=b||r;var e,f,i,j,k=b.nodeType;if(!a||typeof a!="string")return c;if(k!==1&&k!==9)return[];i=g(b);if(!i&&!d)if(e=P.exec(a))if(j=e[1]){if(k===9){f=b.getElementById(j);if(!f||!f.parentNode)return c;if(f.id===j)return c.push(f),c}else if(b.ownerDocument&&(f=b.ownerDocument.getElementById(j))&&h(b,f)&&f.id===j)return c.push(f),c}else{if(e[2])return w.apply(c,x.call(b.getElementsByTagName(a),0)),c;if((j=e[3])&&_&&b.getElementsByClassName)return w.apply(c,x.call(b.getElementsByClassName(j),0)),c}return bp(a.replace(L,"$1"),b,c,d,i)}function bd(a){return function(b){var c=b.nodeName.toLowerCase();return c==="input"&&b.type===a}}function be(a){return function(b){var c=b.nodeName.toLowerCase();return(c==="input"||c==="button")&&b.type===a}}function bf(a){return z(function(b){return b=+b,z(function(c,d){var e,f=a([],c.length,b),g=f.length;while(g--)c[e=f[g]]&&(c[e]=!(d[e]=c[e]))})})}function bg(a,b,c){if(a===b)return c;var d=a.nextSibling;while(d){if(d===b)return-1;d=d.nextSibling}return 1}function bh(a,b){var c,d,f,g,h,i,j,k=C[o][a];if(k)return b?0:k.slice(0);h=a,i=[],j=e.preFilter;while(h){if(!c||(d=M.exec(h)))d&&(h=h.slice(d[0].length)),i.push(f=[]);c=!1;if(d=N.exec(h))f.push(c=new q(d.shift())),h=h.slice(c.length),c.type=d[0].replace(L," ");for(g in e.filter)(d=W[g].exec(h))&&(!j[g]||(d=j[g](d,r,!0)))&&(f.push(c=new q(d.shift())),h=h.slice(c.length),c.type=g,c.matches=d);if(!c)break}return b?h.length:h?bc.error(a):C(a,i).slice(0)}function bi(a,b,d){var e=b.dir,f=d&&b.dir==="parentNode",g=u++;return b.first?function(b,c,d){while(b=b[e])if(f||b.nodeType===1)return a(b,c,d)}:function(b,d,h){if(!h){var i,j=t+" "+g+" ",k=j+c;while(b=b[e])if(f||b.nodeType===1){if((i=b[o])===k)return b.sizset;if(typeof i=="string"&&i.indexOf(j)===0){if(b.sizset)return b}else{b[o]=k;if(a(b,d,h))return b.sizset=!0,b;b.sizset=!1}}}else while(b=b[e])if(f||b.nodeType===1)if(a(b,d,h))return b}}function bj(a){return a.length>1?function(b,c,d){var e=a.length;while(e--)if(!a[e](b,c,d))return!1;return!0}:a[0]}function bk(a,b,c,d,e){var f,g=[],h=0,i=a.length,j=b!=null;for(;h-1},h,!0),m=[function(a,c,d){return!g&&(d||c!==l)||((b=c).nodeType?j(a,c,d):k(a,c,d))}];for(;i1&&bj(m),i>1&&a.slice(0,i-1).join("").replace(L,"$1"),c,i0,f=a.length>0,g=function(h,i,j,k,m){var n,o,p,q=[],s=0,u="0",x=h&&[],y=m!=null,z=l,A=h||f&&e.find.TAG("*",m&&i.parentNode||i),B=t+=z==null?1:Math.E;y&&(l=i!==r&&i,c=g.el);for(;(n=A[u])!=null;u++){if(f&&n){for(o=0;p=a[o];o++)if(p(n,i,j)){k.push(n);break}y&&(t=B,c=++g.el)}d&&((n=!p&&n)&&s--,h&&x.push(n))}s+=u;if(d&&u!==s){for(o=0;p=b[o];o++)p(x,q,i,j);if(h){if(s>0)while(u--)!x[u]&&!q[u]&&(q[u]=v.call(k));q=bk(q)}w.apply(k,q),y&&!h&&q.length>0&&s+b.length>1&&bc.uniqueSort(k)}return y&&(t=B,l=z),x};return g.el=0,d?z(g):g}function bo(a,b,c,d){var e=0,f=b.length;for(;e2&&(j=h[0]).type==="ID"&&b.nodeType===9&&!f&&e.relative[h[1].type]){b=e.find.ID(j.matches[0].replace(V,""),b,f)[0];if(!b)return c;a=a.slice(h.shift().length)}for(g=W.POS.test(a)?-1:h.length-1;g>=0;g--){j=h[g];if(e.relative[k=j.type])break;if(l=e.find[k])if(d=l(j.matches[0].replace(V,""),R.test(h[0].type)&&b.parentNode||b,f)){h.splice(g,1),a=d.length&&h.join("");if(!a)return w.apply(c,x.call(d,0)),c;break}}}return i(a,m)(d,b,f,c,R.test(a)),c}function bq(){}var c,d,e,f,g,h,i,j,k,l,m=!0,n="undefined",o=("sizcache"+Math.random()).replace(".",""),q=String,r=a.document,s=r.documentElement,t=0,u=0,v=[].pop,w=[].push,x=[].slice,y=[].indexOf||function(a){var b=0,c=this.length;for(;be.cacheLength&&delete a[b.shift()],a[c]=d},a)},B=A(),C=A(),D=A(),E="[\\x20\\t\\r\\n\\f]",F="(?:\\\\.|[-\\w]|[^\\x00-\\xa0])+",G=F.replace("w","w#"),H="([*^$|!~]?=)",I="\\["+E+"*("+F+")"+E+"*(?:"+H+E+"*(?:(['\"])((?:\\\\.|[^\\\\])*?)\\3|("+G+")|)|)"+E+"*\\]",J=":("+F+")(?:\\((?:(['\"])((?:\\\\.|[^\\\\])*?)\\2|([^()[\\]]*|(?:(?:"+I+")|[^:]|\\\\.)*|.*))\\)|)",K=":(even|odd|eq|gt|lt|nth|first|last)(?:\\("+E+"*((?:-\\d)?\\d*)"+E+"*\\)|)(?=[^-]|$)",L=new RegExp("^"+E+"+|((?:^|[^\\\\])(?:\\\\.)*)"+E+"+$","g"),M=new RegExp("^"+E+"*,"+E+"*"),N=new RegExp("^"+E+"*([\\x20\\t\\r\\n\\f>+~])"+E+"*"),O=new RegExp(J),P=/^(?:#([\w\-]+)|(\w+)|\.([\w\-]+))$/,Q=/^:not/,R=/[\x20\t\r\n\f]*[+~]/,S=/:not\($/,T=/h\d/i,U=/input|select|textarea|button/i,V=/\\(?!\\)/g,W={ID:new RegExp("^#("+F+")"),CLASS:new RegExp("^\\.("+F+")"),NAME:new RegExp("^\\[name=['\"]?("+F+")['\"]?\\]"),TAG:new RegExp("^("+F.replace("w","w*")+")"),ATTR:new RegExp("^"+I),PSEUDO:new RegExp("^"+J),POS:new RegExp(K,"i"),CHILD:new RegExp("^:(only|nth|first|last)-child(?:\\("+E+"*(even|odd|(([+-]|)(\\d*)n|)"+E+"*(?:([+-]|)"+E+"*(\\d+)|))"+E+"*\\)|)","i"),needsContext:new RegExp("^"+E+"*[>+~]|"+K,"i")},X=function(a){var b=r.createElement("div");try{return a(b)}catch(c){return!1}finally{b=null}},Y=X(function(a){return a.appendChild(r.createComment("")),!a.getElementsByTagName("*").length}),Z=X(function(a){return a.innerHTML="",a.firstChild&&typeof a.firstChild.getAttribute!==n&&a.firstChild.getAttribute("href")==="#"}),$=X(function(a){a.innerHTML="";var b=typeof a.lastChild.getAttribute("multiple");return b!=="boolean"&&b!=="string"}),_=X(function(a){return a.innerHTML="",!a.getElementsByClassName||!a.getElementsByClassName("e").length?!1:(a.lastChild.className="e",a.getElementsByClassName("e").length===2)}),ba=X(function(a){a.id=o+0,a.innerHTML="
",s.insertBefore(a,s.firstChild);var b=r.getElementsByName&&r.getElementsByName(o).length===2+r.getElementsByName(o+0).length;return d=!r.getElementById(o),s.removeChild(a),b});try{x.call(s.childNodes,0)[0].nodeType}catch(bb){x=function(a){var b,c=[];for(;b=this[a];a++)c.push(b);return c}}bc.matches=function(a,b){return bc(a,null,null,b)},bc.matchesSelector=function(a,b){return bc(b,null,null,[a]).length>0},f=bc.getText=function(a){var b,c="",d=0,e=a.nodeType;if(e){if(e===1||e===9||e===11){if(typeof a.textContent=="string")return a.textContent;for(a=a.firstChild;a;a=a.nextSibling)c+=f(a)}else if(e===3||e===4)return a.nodeValue}else for(;b=a[d];d++)c+=f(b);return c},g=bc.isXML=function(a){var b=a&&(a.ownerDocument||a).documentElement;return b?b.nodeName!=="HTML":!1},h=bc.contains=s.contains?function(a,b){var c=a.nodeType===9?a.documentElement:a,d=b&&b.parentNode;return a===d||!!(d&&d.nodeType===1&&c.contains&&c.contains(d))}:s.compareDocumentPosition?function(a,b){return b&&!!(a.compareDocumentPosition(b)&16)}:function(a,b){while(b=b.parentNode)if(b===a)return!0;return!1},bc.attr=function(a,b){var c,d=g(a);return d||(b=b.toLowerCase()),(c=e.attrHandle[b])?c(a):d||$?a.getAttribute(b):(c=a.getAttributeNode(b),c?typeof a[b]=="boolean"?a[b]?b:null:c.specified?c.value:null:null)},e=bc.selectors={cacheLength:50,createPseudo:z,match:W,attrHandle:Z?{}:{href:function(a){return a.getAttribute("href",2)},type:function(a){return a.getAttribute("type")}},find:{ID:d?function(a,b,c){if(typeof b.getElementById!==n&&!c){var d=b.getElementById(a);return d&&d.parentNode?[d]:[]}}:function(a,c,d){if(typeof c.getElementById!==n&&!d){var e=c.getElementById(a);return e?e.id===a||typeof e.getAttributeNode!==n&&e.getAttributeNode("id").value===a?[e]:b:[]}},TAG:Y?function(a,b){if(typeof b.getElementsByTagName!==n)return b.getElementsByTagName(a)}:function(a,b){var c=b.getElementsByTagName(a);if(a==="*"){var d,e=[],f=0;for(;d=c[f];f++)d.nodeType===1&&e.push(d);return e}return c},NAME:ba&&function(a,b){if(typeof b.getElementsByName!==n)return b.getElementsByName(name)},CLASS:_&&function(a,b,c){if(typeof b.getElementsByClassName!==n&&!c)return b.getElementsByClassName(a)}},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(a){return a[1]=a[1].replace(V,""),a[3]=(a[4]||a[5]||"").replace(V,""),a[2]==="~="&&(a[3]=" "+a[3]+" "),a.slice(0,4)},CHILD:function(a){return a[1]=a[1].toLowerCase(),a[1]==="nth"?(a[2]||bc.error(a[0]),a[3]=+(a[3]?a[4]+(a[5]||1):2*(a[2]==="even"||a[2]==="odd")),a[4]=+(a[6]+a[7]||a[2]==="odd")):a[2]&&bc.error(a[0]),a},PSEUDO:function(a){var b,c;if(W.CHILD.test(a[0]))return null;if(a[3])a[2]=a[3];else if(b=a[4])O.test(b)&&(c=bh(b,!0))&&(c=b.indexOf(")",b.length-c)-b.length)&&(b=b.slice(0,c),a[0]=a[0].slice(0,c)),a[2]=b;return a.slice(0,3)}},filter:{ID:d?function(a){return a=a.replace(V,""),function(b){return b.getAttribute("id")===a}}:function(a){return a=a.replace(V,""),function(b){var c=typeof b.getAttributeNode!==n&&b.getAttributeNode("id");return c&&c.value===a}},TAG:function(a){return a==="*"?function(){return!0}:(a=a.replace(V,"").toLowerCase(),function(b){return b.nodeName&&b.nodeName.toLowerCase()===a})},CLASS:function(a){var b=B[o][a];return b||(b=B(a,new RegExp("(^|"+E+")"+a+"("+E+"|$)"))),function(a){return b.test(a.className||typeof a.getAttribute!==n&&a.getAttribute("class")||"")}},ATTR:function(a,b,c){return function(d,e){var f=bc.attr(d,a);return f==null?b==="!=":b?(f+="",b==="="?f===c:b==="!="?f!==c:b==="^="?c&&f.indexOf(c)===0:b==="*="?c&&f.indexOf(c)>-1:b==="$="?c&&f.substr(f.length-c.length)===c:b==="~="?(" "+f+" ").indexOf(c)>-1:b==="|="?f===c||f.substr(0,c.length+1)===c+"-":!1):!0}},CHILD:function(a,b,c,d){return a==="nth"?function(a){var b,e,f=a.parentNode;if(c===1&&d===0)return!0;if(f){e=0;for(b=f.firstChild;b;b=b.nextSibling)if(b.nodeType===1){e++;if(a===b)break}}return e-=d,e===c||e%c===0&&e/c>=0}:function(b){var c=b;switch(a){case"only":case"first":while(c=c.previousSibling)if(c.nodeType===1)return!1;if(a==="first")return!0;c=b;case"last":while(c=c.nextSibling)if(c.nodeType===1)return!1;return!0}}},PSEUDO:function(a,b){var c,d=e.pseudos[a]||e.setFilters[a.toLowerCase()]||bc.error("unsupported pseudo: "+a);return d[o]?d(b):d.length>1?(c=[a,a,"",b],e.setFilters.hasOwnProperty(a.toLowerCase())?z(function(a,c){var e,f=d(a,b),g=f.length;while(g--)e=y.call(a,f[g]),a[e]=!(c[e]=f[g])}):function(a){return d(a,0,c)}):d}},pseudos:{not:z(function(a){var b=[],c=[],d=i(a.replace(L,"$1"));return d[o]?z(function(a,b,c,e){var f,g=d(a,null,e,[]),h=a.length;while(h--)if(f=g[h])a[h]=!(b[h]=f)}):function(a,e,f){return b[0]=a,d(b,null,f,c),!c.pop()}}),has:z(function(a){return function(b){return bc(a,b).length>0}}),contains:z(function(a){return function(b){return(b.textContent||b.innerText||f(b)).indexOf(a)>-1}}),enabled:function(a){return a.disabled===!1},disabled:function(a){return a.disabled===!0},checked:function(a){var b=a.nodeName.toLowerCase();return b==="input"&&!!a.checked||b==="option"&&!!a.selected},selected:function(a){return a.parentNode&&a.parentNode.selectedIndex,a.selected===!0},parent:function(a){return!e.pseudos.empty(a)},empty:function(a){var b;a=a.firstChild;while(a){if(a.nodeName>"@"||(b=a.nodeType)===3||b===4)return!1;a=a.nextSibling}return!0},header:function(a){return T.test(a.nodeName)},text:function(a){var b,c;return a.nodeName.toLowerCase()==="input"&&(b=a.type)==="text"&&((c=a.getAttribute("type"))==null||c.toLowerCase()===b)},radio:bd("radio"),checkbox:bd("checkbox"),file:bd("file"),password:bd("password"),image:bd("image"),submit:be("submit"),reset:be("reset"),button:function(a){var b=a.nodeName.toLowerCase();return b==="input"&&a.type==="button"||b==="button"},input:function(a){return U.test(a.nodeName)},focus:function(a){var b=a.ownerDocument;return a===b.activeElement&&(!b.hasFocus||b.hasFocus())&&(!!a.type||!!a.href)},active:function(a){return a===a.ownerDocument.activeElement},first:bf(function(a,b,c){return[0]}),last:bf(function(a,b,c){return[b-1]}),eq:bf(function(a,b,c){return[c<0?c+b:c]}),even:bf(function(a,b,c){for(var d=0;d=0;)a.push(d);return a}),gt:bf(function(a,b,c){for(var d=c<0?c+b:c;++d",a.querySelectorAll("[selected]").length||e.push("\\["+E+"*(?:checked|disabled|ismap|multiple|readonly|selected|value)"),a.querySelectorAll(":checked").length||e.push(":checked")}),X(function(a){a.innerHTML="

",a.querySelectorAll("[test^='']").length&&e.push("[*^$]="+E+"*(?:\"\"|'')"),a.innerHTML="",a.querySelectorAll(":enabled").length||e.push(":enabled",":disabled")}),e=new RegExp(e.join("|")),bp=function(a,d,f,g,h){if(!g&&!h&&(!e||!e.test(a))){var i,j,k=!0,l=o,m=d,n=d.nodeType===9&&a;if(d.nodeType===1&&d.nodeName.toLowerCase()!=="object"){i=bh(a),(k=d.getAttribute("id"))?l=k.replace(c,"\\$&"):d.setAttribute("id",l),l="[id='"+l+"'] ",j=i.length;while(j--)i[j]=l+i[j].join("");m=R.test(a)&&d.parentNode||d,n=i.join(",")}if(n)try{return w.apply(f,x.call(m.querySelectorAll(n),0)),f}catch(p){}finally{k||d.removeAttribute("id")}}return b(a,d,f,g,h)},h&&(X(function(b){a=h.call(b,"div");try{h.call(b,"[test!='']:sizzle"),f.push("!=",J)}catch(c){}}),f=new RegExp(f.join("|")),bc.matchesSelector=function(b,c){c=c.replace(d,"='$1']");if(!g(b)&&!f.test(c)&&(!e||!e.test(c)))try{var i=h.call(b,c);if(i||a||b.document&&b.document.nodeType!==11)return i}catch(j){}return bc(c,null,null,[b]).length>0})}(),e.pseudos.nth=e.pseudos.eq,e.filters=bq.prototype=e.pseudos,e.setFilters=new bq,bc.attr=p.attr,p.find=bc,p.expr=bc.selectors,p.expr[":"]=p.expr.pseudos,p.unique=bc.uniqueSort,p.text=bc.getText,p.isXMLDoc=bc.isXML,p.contains=bc.contains}(a);var bc=/Until$/,bd=/^(?:parents|prev(?:Until|All))/,be=/^.[^:#\[\.,]*$/,bf=p.expr.match.needsContext,bg={children:!0,contents:!0,next:!0,prev:!0};p.fn.extend({find:function(a){var b,c,d,e,f,g,h=this;if(typeof a!="string")return p(a).filter(function(){for(b=0,c=h.length;b0)for(e=d;e=0:p.filter(a,this).length>0:this.filter(a).length>0)},closest:function(a,b){var c,d=0,e=this.length,f=[],g=bf.test(a)||typeof a!="string"?p(a,b||this.context):0;for(;d-1:p.find.matchesSelector(c,a)){f.push(c);break}c=c.parentNode}}return f=f.length>1?p.unique(f):f,this.pushStack(f,"closest",a)},index:function(a){return a?typeof a=="string"?p.inArray(this[0],p(a)):p.inArray(a.jquery?a[0]:a,this):this[0]&&this[0].parentNode?this.prevAll().length:-1},add:function(a,b){var c=typeof a=="string"?p(a,b):p.makeArray(a&&a.nodeType?[a]:a),d=p.merge(this.get(),c);return this.pushStack(bh(c[0])||bh(d[0])?d:p.unique(d))},addBack:function(a){return this.add(a==null?this.prevObject:this.prevObject.filter(a))}}),p.fn.andSelf=p.fn.addBack,p.each({parent:function(a){var b=a.parentNode;return b&&b.nodeType!==11?b:null},parents:function(a){return p.dir(a,"parentNode")},parentsUntil:function(a,b,c){return p.dir(a,"parentNode",c)},next:function(a){return bi(a,"nextSibling")},prev:function(a){return bi(a,"previousSibling")},nextAll:function(a){return p.dir(a,"nextSibling")},prevAll:function(a){return p.dir(a,"previousSibling")},nextUntil:function(a,b,c){return p.dir(a,"nextSibling",c)},prevUntil:function(a,b,c){return p.dir(a,"previousSibling",c)},siblings:function(a){return p.sibling((a.parentNode||{}).firstChild,a)},children:function(a){return p.sibling(a.firstChild)},contents:function(a){return p.nodeName(a,"iframe")?a.contentDocument||a.contentWindow.document:p.merge([],a.childNodes)}},function(a,b){p.fn[a]=function(c,d){var e=p.map(this,b,c);return bc.test(a)||(d=c),d&&typeof d=="string"&&(e=p.filter(d,e)),e=this.length>1&&!bg[a]?p.unique(e):e,this.length>1&&bd.test(a)&&(e=e.reverse()),this.pushStack(e,a,k.call(arguments).join(","))}}),p.extend({filter:function(a,b,c){return c&&(a=":not("+a+")"),b.length===1?p.find.matchesSelector(b[0],a)?[b[0]]:[]:p.find.matches(a,b)},dir:function(a,c,d){var e=[],f=a[c];while(f&&f.nodeType!==9&&(d===b||f.nodeType!==1||!p(f).is(d)))f.nodeType===1&&e.push(f),f=f[c];return e},sibling:function(a,b){var c=[];for(;a;a=a.nextSibling)a.nodeType===1&&a!==b&&c.push(a);return c}});var bl="abbr|article|aside|audio|bdi|canvas|data|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",bm=/ jQuery\d+="(?:null|\d+)"/g,bn=/^\s+/,bo=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,bp=/<([\w:]+)/,bq=/]","i"),bv=/^(?:checkbox|radio)$/,bw=/checked\s*(?:[^=]|=\s*.checked.)/i,bx=/\/(java|ecma)script/i,by=/^\s*\s*$/g,bz={option:[1,""],legend:[1,"
","
"],thead:[1,"","
"],tr:[2,"","
"],td:[3,"","
"],col:[2,"","
"],area:[1,"",""],_default:[0,"",""]},bA=bk(e),bB=bA.appendChild(e.createElement("div"));bz.optgroup=bz.option,bz.tbody=bz.tfoot=bz.colgroup=bz.caption=bz.thead,bz.th=bz.td,p.support.htmlSerialize||(bz._default=[1,"X
","
"]),p.fn.extend({text:function(a){return p.access(this,function(a){return a===b?p.text(this):this.empty().append((this[0]&&this[0].ownerDocument||e).createTextNode(a))},null,a,arguments.length)},wrapAll:function(a){if(p.isFunction(a))return this.each(function(b){p(this).wrapAll(a.call(this,b))});if(this[0]){var b=p(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){return p.isFunction(a)?this.each(function(b){p(this).wrapInner(a.call(this,b))}):this.each(function(){var b=p(this),c=b.contents();c.length?c.wrapAll(a):b.append(a)})},wrap:function(a){var b=p.isFunction(a);return this.each(function(c){p(this).wrapAll(b?a.call(this,c):a)})},unwrap:function(){return this.parent().each(function(){p.nodeName(this,"body")||p(this).replaceWith(this.childNodes)}).end()},append:function(){return this.domManip(arguments,!0,function(a){(this.nodeType===1||this.nodeType===11)&&this.appendChild(a)})},prepend:function(){return this.domManip(arguments,!0,function(a){(this.nodeType===1||this.nodeType===11)&&this.insertBefore(a,this.firstChild)})},before:function(){if(!bh(this[0]))return this.domManip(arguments,!1,function(a){this.parentNode.insertBefore(a,this)});if(arguments.length){var a=p.clean(arguments);return this.pushStack(p.merge(a,this),"before",this.selector)}},after:function(){if(!bh(this[0]))return this.domManip(arguments,!1,function(a){this.parentNode.insertBefore(a,this.nextSibling)});if(arguments.length){var a=p.clean(arguments);return this.pushStack(p.merge(this,a),"after",this.selector)}},remove:function(a,b){var c,d=0;for(;(c=this[d])!=null;d++)if(!a||p.filter(a,[c]).length)!b&&c.nodeType===1&&(p.cleanData(c.getElementsByTagName("*")),p.cleanData([c])),c.parentNode&&c.parentNode.removeChild(c);return this},empty:function(){var a,b=0;for(;(a=this[b])!=null;b++){a.nodeType===1&&p.cleanData(a.getElementsByTagName("*"));while(a.firstChild)a.removeChild(a.firstChild)}return this},clone:function(a,b){return a=a==null?!1:a,b=b==null?a:b,this.map(function(){return p.clone(this,a,b)})},html:function(a){return p.access(this,function(a){var c=this[0]||{},d=0,e=this.length;if(a===b)return c.nodeType===1?c.innerHTML.replace(bm,""):b;if(typeof a=="string"&&!bs.test(a)&&(p.support.htmlSerialize||!bu.test(a))&&(p.support.leadingWhitespace||!bn.test(a))&&!bz[(bp.exec(a)||["",""])[1].toLowerCase()]){a=a.replace(bo,"<$1>");try{for(;d1&&typeof j=="string"&&bw.test(j))return this.each(function(){p(this).domManip(a,c,d)});if(p.isFunction(j))return this.each(function(e){var f=p(this);a[0]=j.call(this,e,c?f.html():b),f.domManip(a,c,d)});if(this[0]){e=p.buildFragment(a,this,k),g=e.fragment,f=g.firstChild,g.childNodes.length===1&&(g=f);if(f){c=c&&p.nodeName(f,"tr");for(h=e.cacheable||l-1;i0?this.clone(!0):this).get(),p(g[e])[b](d),f=f.concat(d);return this.pushStack(f,a,g.selector)}}),p.extend({clone:function(a,b,c){var d,e,f,g;p.support.html5Clone||p.isXMLDoc(a)||!bu.test("<"+a.nodeName+">")?g=a.cloneNode(!0):(bB.innerHTML=a.outerHTML,bB.removeChild(g=bB.firstChild));if((!p.support.noCloneEvent||!p.support.noCloneChecked)&&(a.nodeType===1||a.nodeType===11)&&!p.isXMLDoc(a)){bE(a,g),d=bF(a),e=bF(g);for(f=0;d[f];++f)e[f]&&bE(d[f],e[f])}if(b){bD(a,g);if(c){d=bF(a),e=bF(g);for(f=0;d[f];++f)bD(d[f],e[f])}}return d=e=null,g},clean:function(a,b,c,d){var f,g,h,i,j,k,l,m,n,o,q,r,s=b===e&&bA,t=[];if(!b||typeof b.createDocumentFragment=="undefined")b=e;for(f=0;(h=a[f])!=null;f++){typeof h=="number"&&(h+="");if(!h)continue;if(typeof h=="string")if(!br.test(h))h=b.createTextNode(h);else{s=s||bk(b),l=b.createElement("div"),s.appendChild(l),h=h.replace(bo,"<$1>"),i=(bp.exec(h)||["",""])[1].toLowerCase(),j=bz[i]||bz._default,k=j[0],l.innerHTML=j[1]+h+j[2];while(k--)l=l.lastChild;if(!p.support.tbody){m=bq.test(h),n=i==="table"&&!m?l.firstChild&&l.firstChild.childNodes:j[1]===""&&!m?l.childNodes:[];for(g=n.length-1;g>=0;--g)p.nodeName(n[g],"tbody")&&!n[g].childNodes.length&&n[g].parentNode.removeChild(n[g])}!p.support.leadingWhitespace&&bn.test(h)&&l.insertBefore(b.createTextNode(bn.exec(h)[0]),l.firstChild),h=l.childNodes,l.parentNode.removeChild(l)}h.nodeType?t.push(h):p.merge(t,h)}l&&(h=l=s=null);if(!p.support.appendChecked)for(f=0;(h=t[f])!=null;f++)p.nodeName(h,"input")?bG(h):typeof h.getElementsByTagName!="undefined"&&p.grep(h.getElementsByTagName("input"),bG);if(c){q=function(a){if(!a.type||bx.test(a.type))return d?d.push(a.parentNode?a.parentNode.removeChild(a):a):c.appendChild(a)};for(f=0;(h=t[f])!=null;f++)if(!p.nodeName(h,"script")||!q(h))c.appendChild(h),typeof h.getElementsByTagName!="undefined"&&(r=p.grep(p.merge([],h.getElementsByTagName("script")),q),t.splice.apply(t,[f+1,0].concat(r)),f+=r.length)}return t},cleanData:function(a,b){var c,d,e,f,g=0,h=p.expando,i=p.cache,j=p.support.deleteExpando,k=p.event.special;for(;(e=a[g])!=null;g++)if(b||p.acceptData(e)){d=e[h],c=d&&i[d];if(c){if(c.events)for(f in c.events)k[f]?p.event.remove(e,f):p.removeEvent(e,f,c.handle);i[d]&&(delete i[d],j?delete e[h]:e.removeAttribute?e.removeAttribute(h):e[h]=null,p.deletedIds.push(d))}}}}),function(){var a,b;p.uaMatch=function(a){a=a.toLowerCase();var b=/(chrome)[ \/]([\w.]+)/.exec(a)||/(webkit)[ \/]([\w.]+)/.exec(a)||/(opera)(?:.*version|)[ \/]([\w.]+)/.exec(a)||/(msie) ([\w.]+)/.exec(a)||a.indexOf("compatible")<0&&/(mozilla)(?:.*? rv:([\w.]+)|)/.exec(a)||[];return{browser:b[1]||"",version:b[2]||"0"}},a=p.uaMatch(g.userAgent),b={},a.browser&&(b[a.browser]=!0,b.version=a.version),b.chrome?b.webkit=!0:b.webkit&&(b.safari=!0),p.browser=b,p.sub=function(){function a(b,c){return new a.fn.init(b,c)}p.extend(!0,a,this),a.superclass=this,a.fn=a.prototype=this(),a.fn.constructor=a,a.sub=this.sub,a.fn.init=function c(c,d){return d&&d instanceof p&&!(d instanceof a)&&(d=a(d)),p.fn.init.call(this,c,d,b)},a.fn.init.prototype=a.fn;var b=a(e);return a}}();var bH,bI,bJ,bK=/alpha\([^)]*\)/i,bL=/opacity=([^)]*)/,bM=/^(top|right|bottom|left)$/,bN=/^(none|table(?!-c[ea]).+)/,bO=/^margin/,bP=new RegExp("^("+q+")(.*)$","i"),bQ=new RegExp("^("+q+")(?!px)[a-z%]+$","i"),bR=new RegExp("^([-+])=("+q+")","i"),bS={},bT={position:"absolute",visibility:"hidden",display:"block"},bU={letterSpacing:0,fontWeight:400},bV=["Top","Right","Bottom","Left"],bW=["Webkit","O","Moz","ms"],bX=p.fn.toggle;p.fn.extend({css:function(a,c){return p.access(this,function(a,c,d){return d!==b?p.style(a,c,d):p.css(a,c)},a,c,arguments.length>1)},show:function(){return b$(this,!0)},hide:function(){return b$(this)},toggle:function(a,b){var c=typeof a=="boolean";return p.isFunction(a)&&p.isFunction(b)?bX.apply(this,arguments):this.each(function(){(c?a:bZ(this))?p(this).show():p(this).hide()})}}),p.extend({cssHooks:{opacity:{get:function(a,b){if(b){var c=bH(a,"opacity");return c===""?"1":c}}}},cssNumber:{fillOpacity:!0,fontWeight:!0,lineHeight:!0,opacity:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{"float":p.support.cssFloat?"cssFloat":"styleFloat"},style:function(a,c,d,e){if(!a||a.nodeType===3||a.nodeType===8||!a.style)return;var f,g,h,i=p.camelCase(c),j=a.style;c=p.cssProps[i]||(p.cssProps[i]=bY(j,i)),h=p.cssHooks[c]||p.cssHooks[i];if(d===b)return h&&"get"in h&&(f=h.get(a,!1,e))!==b?f:j[c];g=typeof d,g==="string"&&(f=bR.exec(d))&&(d=(f[1]+1)*f[2]+parseFloat(p.css(a,c)),g="number");if(d==null||g==="number"&&isNaN(d))return;g==="number"&&!p.cssNumber[i]&&(d+="px");if(!h||!("set"in h)||(d=h.set(a,d,e))!==b)try{j[c]=d}catch(k){}},css:function(a,c,d,e){var f,g,h,i=p.camelCase(c);return c=p.cssProps[i]||(p.cssProps[i]=bY(a.style,i)),h=p.cssHooks[c]||p.cssHooks[i],h&&"get"in h&&(f=h.get(a,!0,e)),f===b&&(f=bH(a,c)),f==="normal"&&c in bU&&(f=bU[c]),d||e!==b?(g=parseFloat(f),d||p.isNumeric(g)?g||0:f):f},swap:function(a,b,c){var d,e,f={};for(e in b)f[e]=a.style[e],a.style[e]=b[e];d=c.call(a);for(e in b)a.style[e]=f[e];return d}}),a.getComputedStyle?bH=function(b,c){var d,e,f,g,h=a.getComputedStyle(b,null),i=b.style;return h&&(d=h[c],d===""&&!p.contains(b.ownerDocument,b)&&(d=p.style(b,c)),bQ.test(d)&&bO.test(c)&&(e=i.width,f=i.minWidth,g=i.maxWidth,i.minWidth=i.maxWidth=i.width=d,d=h.width,i.width=e,i.minWidth=f,i.maxWidth=g)),d}:e.documentElement.currentStyle&&(bH=function(a,b){var c,d,e=a.currentStyle&&a.currentStyle[b],f=a.style;return e==null&&f&&f[b]&&(e=f[b]),bQ.test(e)&&!bM.test(b)&&(c=f.left,d=a.runtimeStyle&&a.runtimeStyle.left,d&&(a.runtimeStyle.left=a.currentStyle.left),f.left=b==="fontSize"?"1em":e,e=f.pixelLeft+"px",f.left=c,d&&(a.runtimeStyle.left=d)),e===""?"auto":e}),p.each(["height","width"],function(a,b){p.cssHooks[b]={get:function(a,c,d){if(c)return a.offsetWidth===0&&bN.test(bH(a,"display"))?p.swap(a,bT,function(){return cb(a,b,d)}):cb(a,b,d)},set:function(a,c,d){return b_(a,c,d?ca(a,b,d,p.support.boxSizing&&p.css(a,"boxSizing")==="border-box"):0)}}}),p.support.opacity||(p.cssHooks.opacity={get:function(a,b){return bL.test((b&&a.currentStyle?a.currentStyle.filter:a.style.filter)||"")?.01*parseFloat(RegExp.$1)+"":b?"1":""},set:function(a,b){var c=a.style,d=a.currentStyle,e=p.isNumeric(b)?"alpha(opacity="+b*100+")":"",f=d&&d.filter||c.filter||"";c.zoom=1;if(b>=1&&p.trim(f.replace(bK,""))===""&&c.removeAttribute){c.removeAttribute("filter");if(d&&!d.filter)return}c.filter=bK.test(f)?f.replace(bK,e):f+" "+e}}),p(function(){p.support.reliableMarginRight||(p.cssHooks.marginRight={get:function(a,b){return p.swap(a,{display:"inline-block"},function(){if(b)return bH(a,"marginRight")})}}),!p.support.pixelPosition&&p.fn.position&&p.each(["top","left"],function(a,b){p.cssHooks[b]={get:function(a,c){if(c){var d=bH(a,b);return bQ.test(d)?p(a).position()[b]+"px":d}}}})}),p.expr&&p.expr.filters&&(p.expr.filters.hidden=function(a){return a.offsetWidth===0&&a.offsetHeight===0||!p.support.reliableHiddenOffsets&&(a.style&&a.style.display||bH(a,"display"))==="none"},p.expr.filters.visible=function(a){return!p.expr.filters.hidden(a)}),p.each({margin:"",padding:"",border:"Width"},function(a,b){p.cssHooks[a+b]={expand:function(c){var d,e=typeof c=="string"?c.split(" "):[c],f={};for(d=0;d<4;d++)f[a+bV[d]+b]=e[d]||e[d-2]||e[0];return f}},bO.test(a)||(p.cssHooks[a+b].set=b_)});var cd=/%20/g,ce=/\[\]$/,cf=/\r?\n/g,cg=/^(?:color|date|datetime|datetime-local|email|hidden|month|number|password|range|search|tel|text|time|url|week)$/i,ch=/^(?:select|textarea)/i;p.fn.extend({serialize:function(){return p.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?p.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||ch.test(this.nodeName)||cg.test(this.type))}).map(function(a,b){var c=p(this).val();return c==null?null:p.isArray(c)?p.map(c,function(a,c){return{name:b.name,value:a.replace(cf,"\r\n")}}):{name:b.name,value:c.replace(cf,"\r\n")}}).get()}}),p.param=function(a,c){var d,e=[],f=function(a,b){b=p.isFunction(b)?b():b==null?"":b,e[e.length]=encodeURIComponent(a)+"="+encodeURIComponent(b)};c===b&&(c=p.ajaxSettings&&p.ajaxSettings.traditional);if(p.isArray(a)||a.jquery&&!p.isPlainObject(a))p.each(a,function(){f(this.name,this.value)});else for(d in a)ci(d,a[d],c,f);return e.join("&").replace(cd,"+")};var cj,ck,cl=/#.*$/,cm=/^(.*?):[ \t]*([^\r\n]*)\r?$/mg,cn=/^(?:about|app|app\-storage|.+\-extension|file|res|widget):$/,co=/^(?:GET|HEAD)$/,cp=/^\/\//,cq=/\?/,cr=/)<[^<]*)*<\/script>/gi,cs=/([?&])_=[^&]*/,ct=/^([\w\+\.\-]+:)(?:\/\/([^\/?#:]*)(?::(\d+)|)|)/,cu=p.fn.load,cv={},cw={},cx=["*/"]+["*"];try{ck=f.href}catch(cy){ck=e.createElement("a"),ck.href="",ck=ck.href}cj=ct.exec(ck.toLowerCase())||[],p.fn.load=function(a,c,d){if(typeof a!="string"&&cu)return cu.apply(this,arguments);if(!this.length)return this;var e,f,g,h=this,i=a.indexOf(" ");return i>=0&&(e=a.slice(i,a.length),a=a.slice(0,i)),p.isFunction(c)?(d=c,c=b):c&&typeof c=="object"&&(f="POST"),p.ajax({url:a,type:f,dataType:"html",data:c,complete:function(a,b){d&&h.each(d,g||[a.responseText,b,a])}}).done(function(a){g=arguments,h.html(e?p("
").append(a.replace(cr,"")).find(e):a)}),this},p.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(a,b){p.fn[b]=function(a){return this.on(b,a)}}),p.each(["get","post"],function(a,c){p[c]=function(a,d,e,f){return p.isFunction(d)&&(f=f||e,e=d,d=b),p.ajax({type:c,url:a,data:d,success:e,dataType:f})}}),p.extend({getScript:function(a,c){return p.get(a,b,c,"script")},getJSON:function(a,b,c){return p.get(a,b,c,"json")},ajaxSetup:function(a,b){return b?cB(a,p.ajaxSettings):(b=a,a=p.ajaxSettings),cB(a,b),a},ajaxSettings:{url:ck,isLocal:cn.test(cj[1]),global:!0,type:"GET",contentType:"application/x-www-form-urlencoded; charset=UTF-8",processData:!0,async:!0,accepts:{xml:"application/xml, text/xml",html:"text/html",text:"text/plain",json:"application/json, text/javascript","*":cx},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText"},converters:{"* text":a.String,"text html":!0,"text json":p.parseJSON,"text xml":p.parseXML},flatOptions:{context:!0,url:!0}},ajaxPrefilter:cz(cv),ajaxTransport:cz(cw),ajax:function(a,c){function y(a,c,f,i){var k,s,t,u,w,y=c;if(v===2)return;v=2,h&&clearTimeout(h),g=b,e=i||"",x.readyState=a>0?4:0,f&&(u=cC(l,x,f));if(a>=200&&a<300||a===304)l.ifModified&&(w=x.getResponseHeader("Last-Modified"),w&&(p.lastModified[d]=w),w=x.getResponseHeader("Etag"),w&&(p.etag[d]=w)),a===304?(y="notmodified",k=!0):(k=cD(l,u),y=k.state,s=k.data,t=k.error,k=!t);else{t=y;if(!y||a)y="error",a<0&&(a=0)}x.status=a,x.statusText=(c||y)+"",k?o.resolveWith(m,[s,y,x]):o.rejectWith(m,[x,y,t]),x.statusCode(r),r=b,j&&n.trigger("ajax"+(k?"Success":"Error"),[x,l,k?s:t]),q.fireWith(m,[x,y]),j&&(n.trigger("ajaxComplete",[x,l]),--p.active||p.event.trigger("ajaxStop"))}typeof a=="object"&&(c=a,a=b),c=c||{};var d,e,f,g,h,i,j,k,l=p.ajaxSetup({},c),m=l.context||l,n=m!==l&&(m.nodeType||m instanceof p)?p(m):p.event,o=p.Deferred(),q=p.Callbacks("once memory"),r=l.statusCode||{},t={},u={},v=0,w="canceled",x={readyState:0,setRequestHeader:function(a,b){if(!v){var c=a.toLowerCase();a=u[c]=u[c]||a,t[a]=b}return this},getAllResponseHeaders:function(){return v===2?e:null},getResponseHeader:function(a){var c;if(v===2){if(!f){f={};while(c=cm.exec(e))f[c[1].toLowerCase()]=c[2]}c=f[a.toLowerCase()]}return c===b?null:c},overrideMimeType:function(a){return v||(l.mimeType=a),this},abort:function(a){return a=a||w,g&&g.abort(a),y(0,a),this}};o.promise(x),x.success=x.done,x.error=x.fail,x.complete=q.add,x.statusCode=function(a){if(a){var b;if(v<2)for(b in a)r[b]=[r[b],a[b]];else b=a[x.status],x.always(b)}return this},l.url=((a||l.url)+"").replace(cl,"").replace(cp,cj[1]+"//"),l.dataTypes=p.trim(l.dataType||"*").toLowerCase().split(s),l.crossDomain==null&&(i=ct.exec(l.url.toLowerCase())||!1,l.crossDomain=i&&i.join(":")+(i[3]?"":i[1]==="http:"?80:443)!==cj.join(":")+(cj[3]?"":cj[1]==="http:"?80:443)),l.data&&l.processData&&typeof l.data!="string"&&(l.data=p.param(l.data,l.traditional)),cA(cv,l,c,x);if(v===2)return x;j=l.global,l.type=l.type.toUpperCase(),l.hasContent=!co.test(l.type),j&&p.active++===0&&p.event.trigger("ajaxStart");if(!l.hasContent){l.data&&(l.url+=(cq.test(l.url)?"&":"?")+l.data,delete l.data),d=l.url;if(l.cache===!1){var z=p.now(),A=l.url.replace(cs,"$1_="+z);l.url=A+(A===l.url?(cq.test(l.url)?"&":"?")+"_="+z:"")}}(l.data&&l.hasContent&&l.contentType!==!1||c.contentType)&&x.setRequestHeader("Content-Type",l.contentType),l.ifModified&&(d=d||l.url,p.lastModified[d]&&x.setRequestHeader("If-Modified-Since",p.lastModified[d]),p.etag[d]&&x.setRequestHeader("If-None-Match",p.etag[d])),x.setRequestHeader("Accept",l.dataTypes[0]&&l.accepts[l.dataTypes[0]]?l.accepts[l.dataTypes[0]]+(l.dataTypes[0]!=="*"?", "+cx+"; q=0.01":""):l.accepts["*"]);for(k in l.headers)x.setRequestHeader(k,l.headers[k]);if(!l.beforeSend||l.beforeSend.call(m,x,l)!==!1&&v!==2){w="abort";for(k in{success:1,error:1,complete:1})x[k](l[k]);g=cA(cw,l,c,x);if(!g)y(-1,"No Transport");else{x.readyState=1,j&&n.trigger("ajaxSend",[x,l]),l.async&&l.timeout>0&&(h=setTimeout(function(){x.abort("timeout")},l.timeout));try{v=1,g.send(t,y)}catch(B){if(v<2)y(-1,B);else throw B}}return x}return x.abort()},active:0,lastModified:{},etag:{}});var cE=[],cF=/\?/,cG=/(=)\?(?=&|$)|\?\?/,cH=p.now();p.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var a=cE.pop()||p.expando+"_"+cH++;return this[a]=!0,a}}),p.ajaxPrefilter("json jsonp",function(c,d,e){var f,g,h,i=c.data,j=c.url,k=c.jsonp!==!1,l=k&&cG.test(j),m=k&&!l&&typeof i=="string"&&!(c.contentType||"").indexOf("application/x-www-form-urlencoded")&&cG.test(i);if(c.dataTypes[0]==="jsonp"||l||m)return f=c.jsonpCallback=p.isFunction(c.jsonpCallback)?c.jsonpCallback():c.jsonpCallback,g=a[f],l?c.url=j.replace(cG,"$1"+f):m?c.data=i.replace(cG,"$1"+f):k&&(c.url+=(cF.test(j)?"&":"?")+c.jsonp+"="+f),c.converters["script json"]=function(){return h||p.error(f+" was not called"),h[0]},c.dataTypes[0]="json",a[f]=function(){h=arguments},e.always(function(){a[f]=g,c[f]&&(c.jsonpCallback=d.jsonpCallback,cE.push(f)),h&&p.isFunction(g)&&g(h[0]),h=g=b}),"script"}),p.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/javascript|ecmascript/},converters:{"text script":function(a){return p.globalEval(a),a}}}),p.ajaxPrefilter("script",function(a){a.cache===b&&(a.cache=!1),a.crossDomain&&(a.type="GET",a.global=!1)}),p.ajaxTransport("script",function(a){if(a.crossDomain){var c,d=e.head||e.getElementsByTagName("head")[0]||e.documentElement;return{send:function(f,g){c=e.createElement("script"),c.async="async",a.scriptCharset&&(c.charset=a.scriptCharset),c.src=a.url,c.onload=c.onreadystatechange=function(a,e){if(e||!c.readyState||/loaded|complete/.test(c.readyState))c.onload=c.onreadystatechange=null,d&&c.parentNode&&d.removeChild(c),c=b,e||g(200,"success")},d.insertBefore(c,d.firstChild)},abort:function(){c&&c.onload(0,1)}}}});var cI,cJ=a.ActiveXObject?function(){for(var a in cI)cI[a](0,1)}:!1,cK=0;p.ajaxSettings.xhr=a.ActiveXObject?function(){return!this.isLocal&&cL()||cM()}:cL,function(a){p.extend(p.support,{ajax:!!a,cors:!!a&&"withCredentials"in a})}(p.ajaxSettings.xhr()),p.support.ajax&&p.ajaxTransport(function(c){if(!c.crossDomain||p.support.cors){var d;return{send:function(e,f){var g,h,i=c.xhr();c.username?i.open(c.type,c.url,c.async,c.username,c.password):i.open(c.type,c.url,c.async);if(c.xhrFields)for(h in c.xhrFields)i[h]=c.xhrFields[h];c.mimeType&&i.overrideMimeType&&i.overrideMimeType(c.mimeType),!c.crossDomain&&!e["X-Requested-With"]&&(e["X-Requested-With"]="XMLHttpRequest");try{for(h in e)i.setRequestHeader(h,e[h])}catch(j){}i.send(c.hasContent&&c.data||null),d=function(a,e){var h,j,k,l,m;try{if(d&&(e||i.readyState===4)){d=b,g&&(i.onreadystatechange=p.noop,cJ&&delete cI[g]);if(e)i.readyState!==4&&i.abort();else{h=i.status,k=i.getAllResponseHeaders(),l={},m=i.responseXML,m&&m.documentElement&&(l.xml=m);try{l.text=i.responseText}catch(a){}try{j=i.statusText}catch(n){j=""}!h&&c.isLocal&&!c.crossDomain?h=l.text?200:404:h===1223&&(h=204)}}}catch(o){e||f(-1,o)}l&&f(h,j,l,k)},c.async?i.readyState===4?setTimeout(d,0):(g=++cK,cJ&&(cI||(cI={},p(a).unload(cJ)),cI[g]=d),i.onreadystatechange=d):d()},abort:function(){d&&d(0,1)}}}});var cN,cO,cP=/^(?:toggle|show|hide)$/,cQ=new RegExp("^(?:([-+])=|)("+q+")([a-z%]*)$","i"),cR=/queueHooks$/,cS=[cY],cT={"*":[function(a,b){var c,d,e=this.createTween(a,b),f=cQ.exec(b),g=e.cur(),h=+g||0,i=1,j=20;if(f){c=+f[2],d=f[3]||(p.cssNumber[a]?"":"px");if(d!=="px"&&h){h=p.css(e.elem,a,!0)||c||1;do i=i||".5",h=h/i,p.style(e.elem,a,h+d);while(i!==(i=e.cur()/g)&&i!==1&&--j)}e.unit=d,e.start=h,e.end=f[1]?h+(f[1]+1)*c:c}return e}]};p.Animation=p.extend(cW,{tweener:function(a,b){p.isFunction(a)?(b=a,a=["*"]):a=a.split(" ");var c,d=0,e=a.length;for(;d-1,j={},k={},l,m;i?(k=e.position(),l=k.top,m=k.left):(l=parseFloat(g)||0,m=parseFloat(h)||0),p.isFunction(b)&&(b=b.call(a,c,f)),b.top!=null&&(j.top=b.top-f.top+l),b.left!=null&&(j.left=b.left-f.left+m),"using"in b?b.using.call(a,j):e.css(j)}},p.fn.extend({position:function(){if(!this[0])return;var a=this[0],b=this.offsetParent(),c=this.offset(),d=c_.test(b[0].nodeName)?{top:0,left:0}:b.offset();return c.top-=parseFloat(p.css(a,"marginTop"))||0,c.left-=parseFloat(p.css(a,"marginLeft"))||0,d.top+=parseFloat(p.css(b[0],"borderTopWidth"))||0,d.left+=parseFloat(p.css(b[0],"borderLeftWidth"))||0,{top:c.top-d.top,left:c.left-d.left}},offsetParent:function(){return this.map(function(){var a=this.offsetParent||e.body;while(a&&!c_.test(a.nodeName)&&p.css(a,"position")==="static")a=a.offsetParent;return a||e.body})}}),p.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(a,c){var d=/Y/.test(c);p.fn[a]=function(e){return p.access(this,function(a,e,f){var g=da(a);if(f===b)return g?c in g?g[c]:g.document.documentElement[e]:a[e];g?g.scrollTo(d?p(g).scrollLeft():f,d?f:p(g).scrollTop()):a[e]=f},a,e,arguments.length,null)}}),p.each({Height:"height",Width:"width"},function(a,c){p.each({padding:"inner"+a,content:c,"":"outer"+a},function(d,e){p.fn[e]=function(e,f){var g=arguments.length&&(d||typeof e!="boolean"),h=d||(e===!0||f===!0?"margin":"border");return p.access(this,function(c,d,e){var f;return p.isWindow(c)?c.document.documentElement["client"+a]:c.nodeType===9?(f=c.documentElement,Math.max(c.body["scroll"+a],f["scroll"+a],c.body["offset"+a],f["offset"+a],f["client"+a])):e===b?p.css(c,d,e,h):p.style(c,d,e,h)},c,g?e:b,g,null)}})}),a.jQuery=a.$=p,typeof define=="function"&&define.amd&&define.amd.jQuery&&define("jquery",[],function(){return p})})(window); \ No newline at end of file +/*! jQuery v1.9.1 | (c) 2005, 2012 jQuery Foundation, Inc. | jquery.org/license +//@ sourceMappingURL=jquery.min.map +*/(function(e,t){var n,r,i=typeof t,o=e.document,a=e.location,s=e.jQuery,u=e.$,l={},c=[],p="1.9.1",f=c.concat,d=c.push,h=c.slice,g=c.indexOf,m=l.toString,y=l.hasOwnProperty,v=p.trim,b=function(e,t){return new b.fn.init(e,t,r)},x=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,w=/\S+/g,T=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,N=/^(?:(<[\w\W]+>)[^>]*|#([\w-]*))$/,C=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,k=/^[\],:{}\s]*$/,E=/(?:^|:|,)(?:\s*\[)+/g,S=/\\(?:["\\\/bfnrt]|u[\da-fA-F]{4})/g,A=/"[^"\\\r\n]*"|true|false|null|-?(?:\d+\.|)\d+(?:[eE][+-]?\d+|)/g,j=/^-ms-/,D=/-([\da-z])/gi,L=function(e,t){return t.toUpperCase()},H=function(e){(o.addEventListener||"load"===e.type||"complete"===o.readyState)&&(q(),b.ready())},q=function(){o.addEventListener?(o.removeEventListener("DOMContentLoaded",H,!1),e.removeEventListener("load",H,!1)):(o.detachEvent("onreadystatechange",H),e.detachEvent("onload",H))};b.fn=b.prototype={jquery:p,constructor:b,init:function(e,n,r){var i,a;if(!e)return this;if("string"==typeof e){if(i="<"===e.charAt(0)&&">"===e.charAt(e.length-1)&&e.length>=3?[null,e,null]:N.exec(e),!i||!i[1]&&n)return!n||n.jquery?(n||r).find(e):this.constructor(n).find(e);if(i[1]){if(n=n instanceof b?n[0]:n,b.merge(this,b.parseHTML(i[1],n&&n.nodeType?n.ownerDocument||n:o,!0)),C.test(i[1])&&b.isPlainObject(n))for(i in n)b.isFunction(this[i])?this[i](n[i]):this.attr(i,n[i]);return this}if(a=o.getElementById(i[2]),a&&a.parentNode){if(a.id!==i[2])return r.find(e);this.length=1,this[0]=a}return this.context=o,this.selector=e,this}return e.nodeType?(this.context=this[0]=e,this.length=1,this):b.isFunction(e)?r.ready(e):(e.selector!==t&&(this.selector=e.selector,this.context=e.context),b.makeArray(e,this))},selector:"",length:0,size:function(){return this.length},toArray:function(){return h.call(this)},get:function(e){return null==e?this.toArray():0>e?this[this.length+e]:this[e]},pushStack:function(e){var t=b.merge(this.constructor(),e);return t.prevObject=this,t.context=this.context,t},each:function(e,t){return b.each(this,e,t)},ready:function(e){return b.ready.promise().done(e),this},slice:function(){return this.pushStack(h.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(e){var t=this.length,n=+e+(0>e?t:0);return this.pushStack(n>=0&&t>n?[this[n]]:[])},map:function(e){return this.pushStack(b.map(this,function(t,n){return e.call(t,n,t)}))},end:function(){return this.prevObject||this.constructor(null)},push:d,sort:[].sort,splice:[].splice},b.fn.init.prototype=b.fn,b.extend=b.fn.extend=function(){var e,n,r,i,o,a,s=arguments[0]||{},u=1,l=arguments.length,c=!1;for("boolean"==typeof s&&(c=s,s=arguments[1]||{},u=2),"object"==typeof s||b.isFunction(s)||(s={}),l===u&&(s=this,--u);l>u;u++)if(null!=(o=arguments[u]))for(i in o)e=s[i],r=o[i],s!==r&&(c&&r&&(b.isPlainObject(r)||(n=b.isArray(r)))?(n?(n=!1,a=e&&b.isArray(e)?e:[]):a=e&&b.isPlainObject(e)?e:{},s[i]=b.extend(c,a,r)):r!==t&&(s[i]=r));return s},b.extend({noConflict:function(t){return e.$===b&&(e.$=u),t&&e.jQuery===b&&(e.jQuery=s),b},isReady:!1,readyWait:1,holdReady:function(e){e?b.readyWait++:b.ready(!0)},ready:function(e){if(e===!0?!--b.readyWait:!b.isReady){if(!o.body)return setTimeout(b.ready);b.isReady=!0,e!==!0&&--b.readyWait>0||(n.resolveWith(o,[b]),b.fn.trigger&&b(o).trigger("ready").off("ready"))}},isFunction:function(e){return"function"===b.type(e)},isArray:Array.isArray||function(e){return"array"===b.type(e)},isWindow:function(e){return null!=e&&e==e.window},isNumeric:function(e){return!isNaN(parseFloat(e))&&isFinite(e)},type:function(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?l[m.call(e)]||"object":typeof e},isPlainObject:function(e){if(!e||"object"!==b.type(e)||e.nodeType||b.isWindow(e))return!1;try{if(e.constructor&&!y.call(e,"constructor")&&!y.call(e.constructor.prototype,"isPrototypeOf"))return!1}catch(n){return!1}var r;for(r in e);return r===t||y.call(e,r)},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},error:function(e){throw Error(e)},parseHTML:function(e,t,n){if(!e||"string"!=typeof e)return null;"boolean"==typeof t&&(n=t,t=!1),t=t||o;var r=C.exec(e),i=!n&&[];return r?[t.createElement(r[1])]:(r=b.buildFragment([e],t,i),i&&b(i).remove(),b.merge([],r.childNodes))},parseJSON:function(n){return e.JSON&&e.JSON.parse?e.JSON.parse(n):null===n?n:"string"==typeof n&&(n=b.trim(n),n&&k.test(n.replace(S,"@").replace(A,"]").replace(E,"")))?Function("return "+n)():(b.error("Invalid JSON: "+n),t)},parseXML:function(n){var r,i;if(!n||"string"!=typeof n)return null;try{e.DOMParser?(i=new DOMParser,r=i.parseFromString(n,"text/xml")):(r=new ActiveXObject("Microsoft.XMLDOM"),r.async="false",r.loadXML(n))}catch(o){r=t}return r&&r.documentElement&&!r.getElementsByTagName("parsererror").length||b.error("Invalid XML: "+n),r},noop:function(){},globalEval:function(t){t&&b.trim(t)&&(e.execScript||function(t){e.eval.call(e,t)})(t)},camelCase:function(e){return e.replace(j,"ms-").replace(D,L)},nodeName:function(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()},each:function(e,t,n){var r,i=0,o=e.length,a=M(e);if(n){if(a){for(;o>i;i++)if(r=t.apply(e[i],n),r===!1)break}else for(i in e)if(r=t.apply(e[i],n),r===!1)break}else if(a){for(;o>i;i++)if(r=t.call(e[i],i,e[i]),r===!1)break}else for(i in e)if(r=t.call(e[i],i,e[i]),r===!1)break;return e},trim:v&&!v.call("\ufeff\u00a0")?function(e){return null==e?"":v.call(e)}:function(e){return null==e?"":(e+"").replace(T,"")},makeArray:function(e,t){var n=t||[];return null!=e&&(M(Object(e))?b.merge(n,"string"==typeof e?[e]:e):d.call(n,e)),n},inArray:function(e,t,n){var r;if(t){if(g)return g.call(t,e,n);for(r=t.length,n=n?0>n?Math.max(0,r+n):n:0;r>n;n++)if(n in t&&t[n]===e)return n}return-1},merge:function(e,n){var r=n.length,i=e.length,o=0;if("number"==typeof r)for(;r>o;o++)e[i++]=n[o];else while(n[o]!==t)e[i++]=n[o++];return e.length=i,e},grep:function(e,t,n){var r,i=[],o=0,a=e.length;for(n=!!n;a>o;o++)r=!!t(e[o],o),n!==r&&i.push(e[o]);return i},map:function(e,t,n){var r,i=0,o=e.length,a=M(e),s=[];if(a)for(;o>i;i++)r=t(e[i],i,n),null!=r&&(s[s.length]=r);else for(i in e)r=t(e[i],i,n),null!=r&&(s[s.length]=r);return f.apply([],s)},guid:1,proxy:function(e,n){var r,i,o;return"string"==typeof n&&(o=e[n],n=e,e=o),b.isFunction(e)?(r=h.call(arguments,2),i=function(){return e.apply(n||this,r.concat(h.call(arguments)))},i.guid=e.guid=e.guid||b.guid++,i):t},access:function(e,n,r,i,o,a,s){var u=0,l=e.length,c=null==r;if("object"===b.type(r)){o=!0;for(u in r)b.access(e,n,u,r[u],!0,a,s)}else if(i!==t&&(o=!0,b.isFunction(i)||(s=!0),c&&(s?(n.call(e,i),n=null):(c=n,n=function(e,t,n){return c.call(b(e),n)})),n))for(;l>u;u++)n(e[u],r,s?i:i.call(e[u],u,n(e[u],r)));return o?e:c?n.call(e):l?n(e[0],r):a},now:function(){return(new Date).getTime()}}),b.ready.promise=function(t){if(!n)if(n=b.Deferred(),"complete"===o.readyState)setTimeout(b.ready);else if(o.addEventListener)o.addEventListener("DOMContentLoaded",H,!1),e.addEventListener("load",H,!1);else{o.attachEvent("onreadystatechange",H),e.attachEvent("onload",H);var r=!1;try{r=null==e.frameElement&&o.documentElement}catch(i){}r&&r.doScroll&&function a(){if(!b.isReady){try{r.doScroll("left")}catch(e){return setTimeout(a,50)}q(),b.ready()}}()}return n.promise(t)},b.each("Boolean Number String Function Array Date RegExp Object Error".split(" "),function(e,t){l["[object "+t+"]"]=t.toLowerCase()});function M(e){var t=e.length,n=b.type(e);return b.isWindow(e)?!1:1===e.nodeType&&t?!0:"array"===n||"function"!==n&&(0===t||"number"==typeof t&&t>0&&t-1 in e)}r=b(o);var _={};function F(e){var t=_[e]={};return b.each(e.match(w)||[],function(e,n){t[n]=!0}),t}b.Callbacks=function(e){e="string"==typeof e?_[e]||F(e):b.extend({},e);var n,r,i,o,a,s,u=[],l=!e.once&&[],c=function(t){for(r=e.memory&&t,i=!0,a=s||0,s=0,o=u.length,n=!0;u&&o>a;a++)if(u[a].apply(t[0],t[1])===!1&&e.stopOnFalse){r=!1;break}n=!1,u&&(l?l.length&&c(l.shift()):r?u=[]:p.disable())},p={add:function(){if(u){var t=u.length;(function i(t){b.each(t,function(t,n){var r=b.type(n);"function"===r?e.unique&&p.has(n)||u.push(n):n&&n.length&&"string"!==r&&i(n)})})(arguments),n?o=u.length:r&&(s=t,c(r))}return this},remove:function(){return u&&b.each(arguments,function(e,t){var r;while((r=b.inArray(t,u,r))>-1)u.splice(r,1),n&&(o>=r&&o--,a>=r&&a--)}),this},has:function(e){return e?b.inArray(e,u)>-1:!(!u||!u.length)},empty:function(){return u=[],this},disable:function(){return u=l=r=t,this},disabled:function(){return!u},lock:function(){return l=t,r||p.disable(),this},locked:function(){return!l},fireWith:function(e,t){return t=t||[],t=[e,t.slice?t.slice():t],!u||i&&!l||(n?l.push(t):c(t)),this},fire:function(){return p.fireWith(this,arguments),this},fired:function(){return!!i}};return p},b.extend({Deferred:function(e){var t=[["resolve","done",b.Callbacks("once memory"),"resolved"],["reject","fail",b.Callbacks("once memory"),"rejected"],["notify","progress",b.Callbacks("memory")]],n="pending",r={state:function(){return n},always:function(){return i.done(arguments).fail(arguments),this},then:function(){var e=arguments;return b.Deferred(function(n){b.each(t,function(t,o){var a=o[0],s=b.isFunction(e[t])&&e[t];i[o[1]](function(){var e=s&&s.apply(this,arguments);e&&b.isFunction(e.promise)?e.promise().done(n.resolve).fail(n.reject).progress(n.notify):n[a+"With"](this===r?n.promise():this,s?[e]:arguments)})}),e=null}).promise()},promise:function(e){return null!=e?b.extend(e,r):r}},i={};return r.pipe=r.then,b.each(t,function(e,o){var a=o[2],s=o[3];r[o[1]]=a.add,s&&a.add(function(){n=s},t[1^e][2].disable,t[2][2].lock),i[o[0]]=function(){return i[o[0]+"With"](this===i?r:this,arguments),this},i[o[0]+"With"]=a.fireWith}),r.promise(i),e&&e.call(i,i),i},when:function(e){var t=0,n=h.call(arguments),r=n.length,i=1!==r||e&&b.isFunction(e.promise)?r:0,o=1===i?e:b.Deferred(),a=function(e,t,n){return function(r){t[e]=this,n[e]=arguments.length>1?h.call(arguments):r,n===s?o.notifyWith(t,n):--i||o.resolveWith(t,n)}},s,u,l;if(r>1)for(s=Array(r),u=Array(r),l=Array(r);r>t;t++)n[t]&&b.isFunction(n[t].promise)?n[t].promise().done(a(t,l,n)).fail(o.reject).progress(a(t,u,s)):--i;return i||o.resolveWith(l,n),o.promise()}}),b.support=function(){var t,n,r,a,s,u,l,c,p,f,d=o.createElement("div");if(d.setAttribute("className","t"),d.innerHTML="
a",n=d.getElementsByTagName("*"),r=d.getElementsByTagName("a")[0],!n||!r||!n.length)return{};s=o.createElement("select"),l=s.appendChild(o.createElement("option")),a=d.getElementsByTagName("input")[0],r.style.cssText="top:1px;float:left;opacity:.5",t={getSetAttribute:"t"!==d.className,leadingWhitespace:3===d.firstChild.nodeType,tbody:!d.getElementsByTagName("tbody").length,htmlSerialize:!!d.getElementsByTagName("link").length,style:/top/.test(r.getAttribute("style")),hrefNormalized:"/a"===r.getAttribute("href"),opacity:/^0.5/.test(r.style.opacity),cssFloat:!!r.style.cssFloat,checkOn:!!a.value,optSelected:l.selected,enctype:!!o.createElement("form").enctype,html5Clone:"<:nav>"!==o.createElement("nav").cloneNode(!0).outerHTML,boxModel:"CSS1Compat"===o.compatMode,deleteExpando:!0,noCloneEvent:!0,inlineBlockNeedsLayout:!1,shrinkWrapBlocks:!1,reliableMarginRight:!0,boxSizingReliable:!0,pixelPosition:!1},a.checked=!0,t.noCloneChecked=a.cloneNode(!0).checked,s.disabled=!0,t.optDisabled=!l.disabled;try{delete d.test}catch(h){t.deleteExpando=!1}a=o.createElement("input"),a.setAttribute("value",""),t.input=""===a.getAttribute("value"),a.value="t",a.setAttribute("type","radio"),t.radioValue="t"===a.value,a.setAttribute("checked","t"),a.setAttribute("name","t"),u=o.createDocumentFragment(),u.appendChild(a),t.appendChecked=a.checked,t.checkClone=u.cloneNode(!0).cloneNode(!0).lastChild.checked,d.attachEvent&&(d.attachEvent("onclick",function(){t.noCloneEvent=!1}),d.cloneNode(!0).click());for(f in{submit:!0,change:!0,focusin:!0})d.setAttribute(c="on"+f,"t"),t[f+"Bubbles"]=c in e||d.attributes[c].expando===!1;return d.style.backgroundClip="content-box",d.cloneNode(!0).style.backgroundClip="",t.clearCloneStyle="content-box"===d.style.backgroundClip,b(function(){var n,r,a,s="padding:0;margin:0;border:0;display:block;box-sizing:content-box;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;",u=o.getElementsByTagName("body")[0];u&&(n=o.createElement("div"),n.style.cssText="border:0;width:0;height:0;position:absolute;top:0;left:-9999px;margin-top:1px",u.appendChild(n).appendChild(d),d.innerHTML="
t
",a=d.getElementsByTagName("td"),a[0].style.cssText="padding:0;margin:0;border:0;display:none",p=0===a[0].offsetHeight,a[0].style.display="",a[1].style.display="none",t.reliableHiddenOffsets=p&&0===a[0].offsetHeight,d.innerHTML="",d.style.cssText="box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;padding:1px;border:1px;display:block;width:4px;margin-top:1%;position:absolute;top:1%;",t.boxSizing=4===d.offsetWidth,t.doesNotIncludeMarginInBodyOffset=1!==u.offsetTop,e.getComputedStyle&&(t.pixelPosition="1%"!==(e.getComputedStyle(d,null)||{}).top,t.boxSizingReliable="4px"===(e.getComputedStyle(d,null)||{width:"4px"}).width,r=d.appendChild(o.createElement("div")),r.style.cssText=d.style.cssText=s,r.style.marginRight=r.style.width="0",d.style.width="1px",t.reliableMarginRight=!parseFloat((e.getComputedStyle(r,null)||{}).marginRight)),typeof d.style.zoom!==i&&(d.innerHTML="",d.style.cssText=s+"width:1px;padding:1px;display:inline;zoom:1",t.inlineBlockNeedsLayout=3===d.offsetWidth,d.style.display="block",d.innerHTML="
",d.firstChild.style.width="5px",t.shrinkWrapBlocks=3!==d.offsetWidth,t.inlineBlockNeedsLayout&&(u.style.zoom=1)),u.removeChild(n),n=d=a=r=null)}),n=s=u=l=r=a=null,t}();var O=/(?:\{[\s\S]*\}|\[[\s\S]*\])$/,B=/([A-Z])/g;function P(e,n,r,i){if(b.acceptData(e)){var o,a,s=b.expando,u="string"==typeof n,l=e.nodeType,p=l?b.cache:e,f=l?e[s]:e[s]&&s;if(f&&p[f]&&(i||p[f].data)||!u||r!==t)return f||(l?e[s]=f=c.pop()||b.guid++:f=s),p[f]||(p[f]={},l||(p[f].toJSON=b.noop)),("object"==typeof n||"function"==typeof n)&&(i?p[f]=b.extend(p[f],n):p[f].data=b.extend(p[f].data,n)),o=p[f],i||(o.data||(o.data={}),o=o.data),r!==t&&(o[b.camelCase(n)]=r),u?(a=o[n],null==a&&(a=o[b.camelCase(n)])):a=o,a}}function R(e,t,n){if(b.acceptData(e)){var r,i,o,a=e.nodeType,s=a?b.cache:e,u=a?e[b.expando]:b.expando;if(s[u]){if(t&&(o=n?s[u]:s[u].data)){b.isArray(t)?t=t.concat(b.map(t,b.camelCase)):t in o?t=[t]:(t=b.camelCase(t),t=t in o?[t]:t.split(" "));for(r=0,i=t.length;i>r;r++)delete o[t[r]];if(!(n?$:b.isEmptyObject)(o))return}(n||(delete s[u].data,$(s[u])))&&(a?b.cleanData([e],!0):b.support.deleteExpando||s!=s.window?delete s[u]:s[u]=null)}}}b.extend({cache:{},expando:"jQuery"+(p+Math.random()).replace(/\D/g,""),noData:{embed:!0,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",applet:!0},hasData:function(e){return e=e.nodeType?b.cache[e[b.expando]]:e[b.expando],!!e&&!$(e)},data:function(e,t,n){return P(e,t,n)},removeData:function(e,t){return R(e,t)},_data:function(e,t,n){return P(e,t,n,!0)},_removeData:function(e,t){return R(e,t,!0)},acceptData:function(e){if(e.nodeType&&1!==e.nodeType&&9!==e.nodeType)return!1;var t=e.nodeName&&b.noData[e.nodeName.toLowerCase()];return!t||t!==!0&&e.getAttribute("classid")===t}}),b.fn.extend({data:function(e,n){var r,i,o=this[0],a=0,s=null;if(e===t){if(this.length&&(s=b.data(o),1===o.nodeType&&!b._data(o,"parsedAttrs"))){for(r=o.attributes;r.length>a;a++)i=r[a].name,i.indexOf("data-")||(i=b.camelCase(i.slice(5)),W(o,i,s[i]));b._data(o,"parsedAttrs",!0)}return s}return"object"==typeof e?this.each(function(){b.data(this,e)}):b.access(this,function(n){return n===t?o?W(o,e,b.data(o,e)):null:(this.each(function(){b.data(this,e,n)}),t)},null,n,arguments.length>1,null,!0)},removeData:function(e){return this.each(function(){b.removeData(this,e)})}});function W(e,n,r){if(r===t&&1===e.nodeType){var i="data-"+n.replace(B,"-$1").toLowerCase();if(r=e.getAttribute(i),"string"==typeof r){try{r="true"===r?!0:"false"===r?!1:"null"===r?null:+r+""===r?+r:O.test(r)?b.parseJSON(r):r}catch(o){}b.data(e,n,r)}else r=t}return r}function $(e){var t;for(t in e)if(("data"!==t||!b.isEmptyObject(e[t]))&&"toJSON"!==t)return!1;return!0}b.extend({queue:function(e,n,r){var i;return e?(n=(n||"fx")+"queue",i=b._data(e,n),r&&(!i||b.isArray(r)?i=b._data(e,n,b.makeArray(r)):i.push(r)),i||[]):t},dequeue:function(e,t){t=t||"fx";var n=b.queue(e,t),r=n.length,i=n.shift(),o=b._queueHooks(e,t),a=function(){b.dequeue(e,t)};"inprogress"===i&&(i=n.shift(),r--),o.cur=i,i&&("fx"===t&&n.unshift("inprogress"),delete o.stop,i.call(e,a,o)),!r&&o&&o.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return b._data(e,n)||b._data(e,n,{empty:b.Callbacks("once memory").add(function(){b._removeData(e,t+"queue"),b._removeData(e,n)})})}}),b.fn.extend({queue:function(e,n){var r=2;return"string"!=typeof e&&(n=e,e="fx",r--),r>arguments.length?b.queue(this[0],e):n===t?this:this.each(function(){var t=b.queue(this,e,n);b._queueHooks(this,e),"fx"===e&&"inprogress"!==t[0]&&b.dequeue(this,e)})},dequeue:function(e){return this.each(function(){b.dequeue(this,e)})},delay:function(e,t){return e=b.fx?b.fx.speeds[e]||e:e,t=t||"fx",this.queue(t,function(t,n){var r=setTimeout(t,e);n.stop=function(){clearTimeout(r)}})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,n){var r,i=1,o=b.Deferred(),a=this,s=this.length,u=function(){--i||o.resolveWith(a,[a])};"string"!=typeof e&&(n=e,e=t),e=e||"fx";while(s--)r=b._data(a[s],e+"queueHooks"),r&&r.empty&&(i++,r.empty.add(u));return u(),o.promise(n)}});var I,z,X=/[\t\r\n]/g,U=/\r/g,V=/^(?:input|select|textarea|button|object)$/i,Y=/^(?:a|area)$/i,J=/^(?:checked|selected|autofocus|autoplay|async|controls|defer|disabled|hidden|loop|multiple|open|readonly|required|scoped)$/i,G=/^(?:checked|selected)$/i,Q=b.support.getSetAttribute,K=b.support.input;b.fn.extend({attr:function(e,t){return b.access(this,b.attr,e,t,arguments.length>1)},removeAttr:function(e){return this.each(function(){b.removeAttr(this,e)})},prop:function(e,t){return b.access(this,b.prop,e,t,arguments.length>1)},removeProp:function(e){return e=b.propFix[e]||e,this.each(function(){try{this[e]=t,delete this[e]}catch(n){}})},addClass:function(e){var t,n,r,i,o,a=0,s=this.length,u="string"==typeof e&&e;if(b.isFunction(e))return this.each(function(t){b(this).addClass(e.call(this,t,this.className))});if(u)for(t=(e||"").match(w)||[];s>a;a++)if(n=this[a],r=1===n.nodeType&&(n.className?(" "+n.className+" ").replace(X," "):" ")){o=0;while(i=t[o++])0>r.indexOf(" "+i+" ")&&(r+=i+" ");n.className=b.trim(r)}return this},removeClass:function(e){var t,n,r,i,o,a=0,s=this.length,u=0===arguments.length||"string"==typeof e&&e;if(b.isFunction(e))return this.each(function(t){b(this).removeClass(e.call(this,t,this.className))});if(u)for(t=(e||"").match(w)||[];s>a;a++)if(n=this[a],r=1===n.nodeType&&(n.className?(" "+n.className+" ").replace(X," "):"")){o=0;while(i=t[o++])while(r.indexOf(" "+i+" ")>=0)r=r.replace(" "+i+" "," ");n.className=e?b.trim(r):""}return this},toggleClass:function(e,t){var n=typeof e,r="boolean"==typeof t;return b.isFunction(e)?this.each(function(n){b(this).toggleClass(e.call(this,n,this.className,t),t)}):this.each(function(){if("string"===n){var o,a=0,s=b(this),u=t,l=e.match(w)||[];while(o=l[a++])u=r?u:!s.hasClass(o),s[u?"addClass":"removeClass"](o)}else(n===i||"boolean"===n)&&(this.className&&b._data(this,"__className__",this.className),this.className=this.className||e===!1?"":b._data(this,"__className__")||"")})},hasClass:function(e){var t=" "+e+" ",n=0,r=this.length;for(;r>n;n++)if(1===this[n].nodeType&&(" "+this[n].className+" ").replace(X," ").indexOf(t)>=0)return!0;return!1},val:function(e){var n,r,i,o=this[0];{if(arguments.length)return i=b.isFunction(e),this.each(function(n){var o,a=b(this);1===this.nodeType&&(o=i?e.call(this,n,a.val()):e,null==o?o="":"number"==typeof o?o+="":b.isArray(o)&&(o=b.map(o,function(e){return null==e?"":e+""})),r=b.valHooks[this.type]||b.valHooks[this.nodeName.toLowerCase()],r&&"set"in r&&r.set(this,o,"value")!==t||(this.value=o))});if(o)return r=b.valHooks[o.type]||b.valHooks[o.nodeName.toLowerCase()],r&&"get"in r&&(n=r.get(o,"value"))!==t?n:(n=o.value,"string"==typeof n?n.replace(U,""):null==n?"":n)}}}),b.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,r=e.options,i=e.selectedIndex,o="select-one"===e.type||0>i,a=o?null:[],s=o?i+1:r.length,u=0>i?s:o?i:0;for(;s>u;u++)if(n=r[u],!(!n.selected&&u!==i||(b.support.optDisabled?n.disabled:null!==n.getAttribute("disabled"))||n.parentNode.disabled&&b.nodeName(n.parentNode,"optgroup"))){if(t=b(n).val(),o)return t;a.push(t)}return a},set:function(e,t){var n=b.makeArray(t);return b(e).find("option").each(function(){this.selected=b.inArray(b(this).val(),n)>=0}),n.length||(e.selectedIndex=-1),n}}},attr:function(e,n,r){var o,a,s,u=e.nodeType;if(e&&3!==u&&8!==u&&2!==u)return typeof e.getAttribute===i?b.prop(e,n,r):(a=1!==u||!b.isXMLDoc(e),a&&(n=n.toLowerCase(),o=b.attrHooks[n]||(J.test(n)?z:I)),r===t?o&&a&&"get"in o&&null!==(s=o.get(e,n))?s:(typeof e.getAttribute!==i&&(s=e.getAttribute(n)),null==s?t:s):null!==r?o&&a&&"set"in o&&(s=o.set(e,r,n))!==t?s:(e.setAttribute(n,r+""),r):(b.removeAttr(e,n),t))},removeAttr:function(e,t){var n,r,i=0,o=t&&t.match(w);if(o&&1===e.nodeType)while(n=o[i++])r=b.propFix[n]||n,J.test(n)?!Q&&G.test(n)?e[b.camelCase("default-"+n)]=e[r]=!1:e[r]=!1:b.attr(e,n,""),e.removeAttribute(Q?n:r)},attrHooks:{type:{set:function(e,t){if(!b.support.radioValue&&"radio"===t&&b.nodeName(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),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,o,a,s=e.nodeType;if(e&&3!==s&&8!==s&&2!==s)return a=1!==s||!b.isXMLDoc(e),a&&(n=b.propFix[n]||n,o=b.propHooks[n]),r!==t?o&&"set"in o&&(i=o.set(e,r,n))!==t?i:e[n]=r:o&&"get"in o&&null!==(i=o.get(e,n))?i:e[n]},propHooks:{tabIndex:{get:function(e){var n=e.getAttributeNode("tabindex");return n&&n.specified?parseInt(n.value,10):V.test(e.nodeName)||Y.test(e.nodeName)&&e.href?0:t}}}}),z={get:function(e,n){var r=b.prop(e,n),i="boolean"==typeof r&&e.getAttribute(n),o="boolean"==typeof r?K&&Q?null!=i:G.test(n)?e[b.camelCase("default-"+n)]:!!i:e.getAttributeNode(n);return o&&o.value!==!1?n.toLowerCase():t},set:function(e,t,n){return t===!1?b.removeAttr(e,n):K&&Q||!G.test(n)?e.setAttribute(!Q&&b.propFix[n]||n,n):e[b.camelCase("default-"+n)]=e[n]=!0,n}},K&&Q||(b.attrHooks.value={get:function(e,n){var r=e.getAttributeNode(n);return b.nodeName(e,"input")?e.defaultValue:r&&r.specified?r.value:t},set:function(e,n,r){return b.nodeName(e,"input")?(e.defaultValue=n,t):I&&I.set(e,n,r)}}),Q||(I=b.valHooks.button={get:function(e,n){var r=e.getAttributeNode(n);return r&&("id"===n||"name"===n||"coords"===n?""!==r.value:r.specified)?r.value:t},set:function(e,n,r){var i=e.getAttributeNode(r);return i||e.setAttributeNode(i=e.ownerDocument.createAttribute(r)),i.value=n+="","value"===r||n===e.getAttribute(r)?n:t}},b.attrHooks.contenteditable={get:I.get,set:function(e,t,n){I.set(e,""===t?!1:t,n)}},b.each(["width","height"],function(e,n){b.attrHooks[n]=b.extend(b.attrHooks[n],{set:function(e,r){return""===r?(e.setAttribute(n,"auto"),r):t}})})),b.support.hrefNormalized||(b.each(["href","src","width","height"],function(e,n){b.attrHooks[n]=b.extend(b.attrHooks[n],{get:function(e){var r=e.getAttribute(n,2);return null==r?t:r}})}),b.each(["href","src"],function(e,t){b.propHooks[t]={get:function(e){return e.getAttribute(t,4)}}})),b.support.style||(b.attrHooks.style={get:function(e){return e.style.cssText||t},set:function(e,t){return e.style.cssText=t+""}}),b.support.optSelected||(b.propHooks.selected=b.extend(b.propHooks.selected,{get:function(e){var t=e.parentNode;return t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex),null}})),b.support.enctype||(b.propFix.enctype="encoding"),b.support.checkOn||b.each(["radio","checkbox"],function(){b.valHooks[this]={get:function(e){return null===e.getAttribute("value")?"on":e.value}}}),b.each(["radio","checkbox"],function(){b.valHooks[this]=b.extend(b.valHooks[this],{set:function(e,n){return b.isArray(n)?e.checked=b.inArray(b(e).val(),n)>=0:t}})});var Z=/^(?:input|select|textarea)$/i,et=/^key/,tt=/^(?:mouse|contextmenu)|click/,nt=/^(?:focusinfocus|focusoutblur)$/,rt=/^([^.]*)(?:\.(.+)|)$/;function it(){return!0}function ot(){return!1}b.event={global:{},add:function(e,n,r,o,a){var s,u,l,c,p,f,d,h,g,m,y,v=b._data(e);if(v){r.handler&&(c=r,r=c.handler,a=c.selector),r.guid||(r.guid=b.guid++),(u=v.events)||(u=v.events={}),(f=v.handle)||(f=v.handle=function(e){return typeof b===i||e&&b.event.triggered===e.type?t:b.event.dispatch.apply(f.elem,arguments)},f.elem=e),n=(n||"").match(w)||[""],l=n.length;while(l--)s=rt.exec(n[l])||[],g=y=s[1],m=(s[2]||"").split(".").sort(),p=b.event.special[g]||{},g=(a?p.delegateType:p.bindType)||g,p=b.event.special[g]||{},d=b.extend({type:g,origType:y,data:o,handler:r,guid:r.guid,selector:a,needsContext:a&&b.expr.match.needsContext.test(a),namespace:m.join(".")},c),(h=u[g])||(h=u[g]=[],h.delegateCount=0,p.setup&&p.setup.call(e,o,m,f)!==!1||(e.addEventListener?e.addEventListener(g,f,!1):e.attachEvent&&e.attachEvent("on"+g,f))),p.add&&(p.add.call(e,d),d.handler.guid||(d.handler.guid=r.guid)),a?h.splice(h.delegateCount++,0,d):h.push(d),b.event.global[g]=!0;e=null}},remove:function(e,t,n,r,i){var o,a,s,u,l,c,p,f,d,h,g,m=b.hasData(e)&&b._data(e);if(m&&(c=m.events)){t=(t||"").match(w)||[""],l=t.length;while(l--)if(s=rt.exec(t[l])||[],d=g=s[1],h=(s[2]||"").split(".").sort(),d){p=b.event.special[d]||{},d=(r?p.delegateType:p.bindType)||d,f=c[d]||[],s=s[2]&&RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),u=o=f.length;while(o--)a=f[o],!i&&g!==a.origType||n&&n.guid!==a.guid||s&&!s.test(a.namespace)||r&&r!==a.selector&&("**"!==r||!a.selector)||(f.splice(o,1),a.selector&&f.delegateCount--,p.remove&&p.remove.call(e,a));u&&!f.length&&(p.teardown&&p.teardown.call(e,h,m.handle)!==!1||b.removeEvent(e,d,m.handle),delete c[d])}else for(d in c)b.event.remove(e,d+t[l],n,r,!0);b.isEmptyObject(c)&&(delete m.handle,b._removeData(e,"events"))}},trigger:function(n,r,i,a){var s,u,l,c,p,f,d,h=[i||o],g=y.call(n,"type")?n.type:n,m=y.call(n,"namespace")?n.namespace.split("."):[];if(l=f=i=i||o,3!==i.nodeType&&8!==i.nodeType&&!nt.test(g+b.event.triggered)&&(g.indexOf(".")>=0&&(m=g.split("."),g=m.shift(),m.sort()),u=0>g.indexOf(":")&&"on"+g,n=n[b.expando]?n:new b.Event(g,"object"==typeof n&&n),n.isTrigger=!0,n.namespace=m.join("."),n.namespace_re=n.namespace?RegExp("(^|\\.)"+m.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,n.result=t,n.target||(n.target=i),r=null==r?[n]:b.makeArray(r,[n]),p=b.event.special[g]||{},a||!p.trigger||p.trigger.apply(i,r)!==!1)){if(!a&&!p.noBubble&&!b.isWindow(i)){for(c=p.delegateType||g,nt.test(c+g)||(l=l.parentNode);l;l=l.parentNode)h.push(l),f=l;f===(i.ownerDocument||o)&&h.push(f.defaultView||f.parentWindow||e)}d=0;while((l=h[d++])&&!n.isPropagationStopped())n.type=d>1?c:p.bindType||g,s=(b._data(l,"events")||{})[n.type]&&b._data(l,"handle"),s&&s.apply(l,r),s=u&&l[u],s&&b.acceptData(l)&&s.apply&&s.apply(l,r)===!1&&n.preventDefault();if(n.type=g,!(a||n.isDefaultPrevented()||p._default&&p._default.apply(i.ownerDocument,r)!==!1||"click"===g&&b.nodeName(i,"a")||!b.acceptData(i)||!u||!i[g]||b.isWindow(i))){f=i[u],f&&(i[u]=null),b.event.triggered=g;try{i[g]()}catch(v){}b.event.triggered=t,f&&(i[u]=f)}return n.result}},dispatch:function(e){e=b.event.fix(e);var n,r,i,o,a,s=[],u=h.call(arguments),l=(b._data(this,"events")||{})[e.type]||[],c=b.event.special[e.type]||{};if(u[0]=e,e.delegateTarget=this,!c.preDispatch||c.preDispatch.call(this,e)!==!1){s=b.event.handlers.call(this,e,l),n=0;while((o=s[n++])&&!e.isPropagationStopped()){e.currentTarget=o.elem,a=0;while((i=o.handlers[a++])&&!e.isImmediatePropagationStopped())(!e.namespace_re||e.namespace_re.test(i.namespace))&&(e.handleObj=i,e.data=i.data,r=((b.event.special[i.origType]||{}).handle||i.handler).apply(o.elem,u),r!==t&&(e.result=r)===!1&&(e.preventDefault(),e.stopPropagation()))}return c.postDispatch&&c.postDispatch.call(this,e),e.result}},handlers:function(e,n){var r,i,o,a,s=[],u=n.delegateCount,l=e.target;if(u&&l.nodeType&&(!e.button||"click"!==e.type))for(;l!=this;l=l.parentNode||this)if(1===l.nodeType&&(l.disabled!==!0||"click"!==e.type)){for(o=[],a=0;u>a;a++)i=n[a],r=i.selector+" ",o[r]===t&&(o[r]=i.needsContext?b(r,this).index(l)>=0:b.find(r,this,null,[l]).length),o[r]&&o.push(i);o.length&&s.push({elem:l,handlers:o})}return n.length>u&&s.push({elem:this,handlers:n.slice(u)}),s},fix:function(e){if(e[b.expando])return e;var t,n,r,i=e.type,a=e,s=this.fixHooks[i];s||(this.fixHooks[i]=s=tt.test(i)?this.mouseHooks:et.test(i)?this.keyHooks:{}),r=s.props?this.props.concat(s.props):this.props,e=new b.Event(a),t=r.length;while(t--)n=r[t],e[n]=a[n];return e.target||(e.target=a.srcElement||o),3===e.target.nodeType&&(e.target=e.target.parentNode),e.metaKey=!!e.metaKey,s.filter?s.filter(e,a):e},props:"altKey bubbles cancelable ctrlKey currentTarget eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),fixHooks:{},keyHooks:{props:"char charCode key keyCode".split(" "),filter:function(e,t){return null==e.which&&(e.which=null!=t.charCode?t.charCode:t.keyCode),e}},mouseHooks:{props:"button buttons clientX clientY fromElement offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(e,n){var r,i,a,s=n.button,u=n.fromElement;return null==e.pageX&&null!=n.clientX&&(i=e.target.ownerDocument||o,a=i.documentElement,r=i.body,e.pageX=n.clientX+(a&&a.scrollLeft||r&&r.scrollLeft||0)-(a&&a.clientLeft||r&&r.clientLeft||0),e.pageY=n.clientY+(a&&a.scrollTop||r&&r.scrollTop||0)-(a&&a.clientTop||r&&r.clientTop||0)),!e.relatedTarget&&u&&(e.relatedTarget=u===e.target?n.toElement:u),e.which||s===t||(e.which=1&s?1:2&s?3:4&s?2:0),e}},special:{load:{noBubble:!0},click:{trigger:function(){return b.nodeName(this,"input")&&"checkbox"===this.type&&this.click?(this.click(),!1):t}},focus:{trigger:function(){if(this!==o.activeElement&&this.focus)try{return this.focus(),!1}catch(e){}},delegateType:"focusin"},blur:{trigger:function(){return this===o.activeElement&&this.blur?(this.blur(),!1):t},delegateType:"focusout"},beforeunload:{postDispatch:function(e){e.result!==t&&(e.originalEvent.returnValue=e.result)}}},simulate:function(e,t,n,r){var i=b.extend(new b.Event,n,{type:e,isSimulated:!0,originalEvent:{}});r?b.event.trigger(i,null,t):b.event.dispatch.call(t,i),i.isDefaultPrevented()&&n.preventDefault()}},b.removeEvent=o.removeEventListener?function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n,!1)}:function(e,t,n){var r="on"+t;e.detachEvent&&(typeof e[r]===i&&(e[r]=null),e.detachEvent(r,n))},b.Event=function(e,n){return this instanceof b.Event?(e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||e.returnValue===!1||e.getPreventDefault&&e.getPreventDefault()?it:ot):this.type=e,n&&b.extend(this,n),this.timeStamp=e&&e.timeStamp||b.now(),this[b.expando]=!0,t):new b.Event(e,n)},b.Event.prototype={isDefaultPrevented:ot,isPropagationStopped:ot,isImmediatePropagationStopped:ot,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=it,e&&(e.preventDefault?e.preventDefault():e.returnValue=!1)},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=it,e&&(e.stopPropagation&&e.stopPropagation(),e.cancelBubble=!0)},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=it,this.stopPropagation()}},b.each({mouseenter:"mouseover",mouseleave:"mouseout"},function(e,t){b.event.special[e]={delegateType:t,bindType:t,handle:function(e){var n,r=this,i=e.relatedTarget,o=e.handleObj; +return(!i||i!==r&&!b.contains(r,i))&&(e.type=o.origType,n=o.handler.apply(this,arguments),e.type=t),n}}}),b.support.submitBubbles||(b.event.special.submit={setup:function(){return b.nodeName(this,"form")?!1:(b.event.add(this,"click._submit keypress._submit",function(e){var n=e.target,r=b.nodeName(n,"input")||b.nodeName(n,"button")?n.form:t;r&&!b._data(r,"submitBubbles")&&(b.event.add(r,"submit._submit",function(e){e._submit_bubble=!0}),b._data(r,"submitBubbles",!0))}),t)},postDispatch:function(e){e._submit_bubble&&(delete e._submit_bubble,this.parentNode&&!e.isTrigger&&b.event.simulate("submit",this.parentNode,e,!0))},teardown:function(){return b.nodeName(this,"form")?!1:(b.event.remove(this,"._submit"),t)}}),b.support.changeBubbles||(b.event.special.change={setup:function(){return Z.test(this.nodeName)?(("checkbox"===this.type||"radio"===this.type)&&(b.event.add(this,"propertychange._change",function(e){"checked"===e.originalEvent.propertyName&&(this._just_changed=!0)}),b.event.add(this,"click._change",function(e){this._just_changed&&!e.isTrigger&&(this._just_changed=!1),b.event.simulate("change",this,e,!0)})),!1):(b.event.add(this,"beforeactivate._change",function(e){var t=e.target;Z.test(t.nodeName)&&!b._data(t,"changeBubbles")&&(b.event.add(t,"change._change",function(e){!this.parentNode||e.isSimulated||e.isTrigger||b.event.simulate("change",this.parentNode,e,!0)}),b._data(t,"changeBubbles",!0))}),t)},handle:function(e){var n=e.target;return this!==n||e.isSimulated||e.isTrigger||"radio"!==n.type&&"checkbox"!==n.type?e.handleObj.handler.apply(this,arguments):t},teardown:function(){return b.event.remove(this,"._change"),!Z.test(this.nodeName)}}),b.support.focusinBubbles||b.each({focus:"focusin",blur:"focusout"},function(e,t){var n=0,r=function(e){b.event.simulate(t,e.target,b.event.fix(e),!0)};b.event.special[t]={setup:function(){0===n++&&o.addEventListener(e,r,!0)},teardown:function(){0===--n&&o.removeEventListener(e,r,!0)}}}),b.fn.extend({on:function(e,n,r,i,o){var a,s;if("object"==typeof e){"string"!=typeof n&&(r=r||n,n=t);for(a in e)this.on(a,n,r,e[a],o);return this}if(null==r&&null==i?(i=n,r=n=t):null==i&&("string"==typeof n?(i=r,r=t):(i=r,r=n,n=t)),i===!1)i=ot;else if(!i)return this;return 1===o&&(s=i,i=function(e){return b().off(e),s.apply(this,arguments)},i.guid=s.guid||(s.guid=b.guid++)),this.each(function(){b.event.add(this,e,i,r,n)})},one:function(e,t,n,r){return this.on(e,t,n,r,1)},off:function(e,n,r){var i,o;if(e&&e.preventDefault&&e.handleObj)return i=e.handleObj,b(e.delegateTarget).off(i.namespace?i.origType+"."+i.namespace:i.origType,i.selector,i.handler),this;if("object"==typeof e){for(o in e)this.off(o,n,e[o]);return this}return(n===!1||"function"==typeof n)&&(r=n,n=t),r===!1&&(r=ot),this.each(function(){b.event.remove(this,e,r,n)})},bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,r){return this.on(t,e,n,r)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)},trigger:function(e,t){return this.each(function(){b.event.trigger(e,t,this)})},triggerHandler:function(e,n){var r=this[0];return r?b.event.trigger(e,n,r,!0):t}}),function(e,t){var n,r,i,o,a,s,u,l,c,p,f,d,h,g,m,y,v,x="sizzle"+-new Date,w=e.document,T={},N=0,C=0,k=it(),E=it(),S=it(),A=typeof t,j=1<<31,D=[],L=D.pop,H=D.push,q=D.slice,M=D.indexOf||function(e){var t=0,n=this.length;for(;n>t;t++)if(this[t]===e)return t;return-1},_="[\\x20\\t\\r\\n\\f]",F="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",O=F.replace("w","w#"),B="([*^$|!~]?=)",P="\\["+_+"*("+F+")"+_+"*(?:"+B+_+"*(?:(['\"])((?:\\\\.|[^\\\\])*?)\\3|("+O+")|)|)"+_+"*\\]",R=":("+F+")(?:\\(((['\"])((?:\\\\.|[^\\\\])*?)\\3|((?:\\\\.|[^\\\\()[\\]]|"+P.replace(3,8)+")*)|.*)\\)|)",W=RegExp("^"+_+"+|((?:^|[^\\\\])(?:\\\\.)*)"+_+"+$","g"),$=RegExp("^"+_+"*,"+_+"*"),I=RegExp("^"+_+"*([\\x20\\t\\r\\n\\f>+~])"+_+"*"),z=RegExp(R),X=RegExp("^"+O+"$"),U={ID:RegExp("^#("+F+")"),CLASS:RegExp("^\\.("+F+")"),NAME:RegExp("^\\[name=['\"]?("+F+")['\"]?\\]"),TAG:RegExp("^("+F.replace("w","w*")+")"),ATTR:RegExp("^"+P),PSEUDO:RegExp("^"+R),CHILD:RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+_+"*(even|odd|(([+-]|)(\\d*)n|)"+_+"*(?:([+-]|)"+_+"*(\\d+)|))"+_+"*\\)|)","i"),needsContext:RegExp("^"+_+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+_+"*((?:-\\d)?\\d*)"+_+"*\\)|)(?=[^-]|$)","i")},V=/[\x20\t\r\n\f]*[+~]/,Y=/^[^{]+\{\s*\[native code/,J=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,G=/^(?:input|select|textarea|button)$/i,Q=/^h\d$/i,K=/'|\\/g,Z=/\=[\x20\t\r\n\f]*([^'"\]]*)[\x20\t\r\n\f]*\]/g,et=/\\([\da-fA-F]{1,6}[\x20\t\r\n\f]?|.)/g,tt=function(e,t){var n="0x"+t-65536;return n!==n?t:0>n?String.fromCharCode(n+65536):String.fromCharCode(55296|n>>10,56320|1023&n)};try{q.call(w.documentElement.childNodes,0)[0].nodeType}catch(nt){q=function(e){var t,n=[];while(t=this[e++])n.push(t);return n}}function rt(e){return Y.test(e+"")}function it(){var e,t=[];return e=function(n,r){return t.push(n+=" ")>i.cacheLength&&delete e[t.shift()],e[n]=r}}function ot(e){return e[x]=!0,e}function at(e){var t=p.createElement("div");try{return e(t)}catch(n){return!1}finally{t=null}}function st(e,t,n,r){var i,o,a,s,u,l,f,g,m,v;if((t?t.ownerDocument||t:w)!==p&&c(t),t=t||p,n=n||[],!e||"string"!=typeof e)return n;if(1!==(s=t.nodeType)&&9!==s)return[];if(!d&&!r){if(i=J.exec(e))if(a=i[1]){if(9===s){if(o=t.getElementById(a),!o||!o.parentNode)return n;if(o.id===a)return n.push(o),n}else if(t.ownerDocument&&(o=t.ownerDocument.getElementById(a))&&y(t,o)&&o.id===a)return n.push(o),n}else{if(i[2])return H.apply(n,q.call(t.getElementsByTagName(e),0)),n;if((a=i[3])&&T.getByClassName&&t.getElementsByClassName)return H.apply(n,q.call(t.getElementsByClassName(a),0)),n}if(T.qsa&&!h.test(e)){if(f=!0,g=x,m=t,v=9===s&&e,1===s&&"object"!==t.nodeName.toLowerCase()){l=ft(e),(f=t.getAttribute("id"))?g=f.replace(K,"\\$&"):t.setAttribute("id",g),g="[id='"+g+"'] ",u=l.length;while(u--)l[u]=g+dt(l[u]);m=V.test(e)&&t.parentNode||t,v=l.join(",")}if(v)try{return H.apply(n,q.call(m.querySelectorAll(v),0)),n}catch(b){}finally{f||t.removeAttribute("id")}}}return wt(e.replace(W,"$1"),t,n,r)}a=st.isXML=function(e){var t=e&&(e.ownerDocument||e).documentElement;return t?"HTML"!==t.nodeName:!1},c=st.setDocument=function(e){var n=e?e.ownerDocument||e:w;return n!==p&&9===n.nodeType&&n.documentElement?(p=n,f=n.documentElement,d=a(n),T.tagNameNoComments=at(function(e){return e.appendChild(n.createComment("")),!e.getElementsByTagName("*").length}),T.attributes=at(function(e){e.innerHTML="";var t=typeof e.lastChild.getAttribute("multiple");return"boolean"!==t&&"string"!==t}),T.getByClassName=at(function(e){return e.innerHTML="",e.getElementsByClassName&&e.getElementsByClassName("e").length?(e.lastChild.className="e",2===e.getElementsByClassName("e").length):!1}),T.getByName=at(function(e){e.id=x+0,e.innerHTML="
",f.insertBefore(e,f.firstChild);var t=n.getElementsByName&&n.getElementsByName(x).length===2+n.getElementsByName(x+0).length;return T.getIdNotName=!n.getElementById(x),f.removeChild(e),t}),i.attrHandle=at(function(e){return e.innerHTML="",e.firstChild&&typeof e.firstChild.getAttribute!==A&&"#"===e.firstChild.getAttribute("href")})?{}:{href:function(e){return e.getAttribute("href",2)},type:function(e){return e.getAttribute("type")}},T.getIdNotName?(i.find.ID=function(e,t){if(typeof t.getElementById!==A&&!d){var n=t.getElementById(e);return n&&n.parentNode?[n]:[]}},i.filter.ID=function(e){var t=e.replace(et,tt);return function(e){return e.getAttribute("id")===t}}):(i.find.ID=function(e,n){if(typeof n.getElementById!==A&&!d){var r=n.getElementById(e);return r?r.id===e||typeof r.getAttributeNode!==A&&r.getAttributeNode("id").value===e?[r]:t:[]}},i.filter.ID=function(e){var t=e.replace(et,tt);return function(e){var n=typeof e.getAttributeNode!==A&&e.getAttributeNode("id");return n&&n.value===t}}),i.find.TAG=T.tagNameNoComments?function(e,n){return typeof n.getElementsByTagName!==A?n.getElementsByTagName(e):t}:function(e,t){var n,r=[],i=0,o=t.getElementsByTagName(e);if("*"===e){while(n=o[i++])1===n.nodeType&&r.push(n);return r}return o},i.find.NAME=T.getByName&&function(e,n){return typeof n.getElementsByName!==A?n.getElementsByName(name):t},i.find.CLASS=T.getByClassName&&function(e,n){return typeof n.getElementsByClassName===A||d?t:n.getElementsByClassName(e)},g=[],h=[":focus"],(T.qsa=rt(n.querySelectorAll))&&(at(function(e){e.innerHTML="",e.querySelectorAll("[selected]").length||h.push("\\["+_+"*(?:checked|disabled|ismap|multiple|readonly|selected|value)"),e.querySelectorAll(":checked").length||h.push(":checked")}),at(function(e){e.innerHTML="",e.querySelectorAll("[i^='']").length&&h.push("[*^$]="+_+"*(?:\"\"|'')"),e.querySelectorAll(":enabled").length||h.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),h.push(",.*:")})),(T.matchesSelector=rt(m=f.matchesSelector||f.mozMatchesSelector||f.webkitMatchesSelector||f.oMatchesSelector||f.msMatchesSelector))&&at(function(e){T.disconnectedMatch=m.call(e,"div"),m.call(e,"[s!='']:x"),g.push("!=",R)}),h=RegExp(h.join("|")),g=RegExp(g.join("|")),y=rt(f.contains)||f.compareDocumentPosition?function(e,t){var n=9===e.nodeType?e.documentElement:e,r=t&&t.parentNode;return e===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))}:function(e,t){if(t)while(t=t.parentNode)if(t===e)return!0;return!1},v=f.compareDocumentPosition?function(e,t){var r;return e===t?(u=!0,0):(r=t.compareDocumentPosition&&e.compareDocumentPosition&&e.compareDocumentPosition(t))?1&r||e.parentNode&&11===e.parentNode.nodeType?e===n||y(w,e)?-1:t===n||y(w,t)?1:0:4&r?-1:1:e.compareDocumentPosition?-1:1}:function(e,t){var r,i=0,o=e.parentNode,a=t.parentNode,s=[e],l=[t];if(e===t)return u=!0,0;if(!o||!a)return e===n?-1:t===n?1:o?-1:a?1:0;if(o===a)return ut(e,t);r=e;while(r=r.parentNode)s.unshift(r);r=t;while(r=r.parentNode)l.unshift(r);while(s[i]===l[i])i++;return i?ut(s[i],l[i]):s[i]===w?-1:l[i]===w?1:0},u=!1,[0,0].sort(v),T.detectDuplicates=u,p):p},st.matches=function(e,t){return st(e,null,null,t)},st.matchesSelector=function(e,t){if((e.ownerDocument||e)!==p&&c(e),t=t.replace(Z,"='$1']"),!(!T.matchesSelector||d||g&&g.test(t)||h.test(t)))try{var n=m.call(e,t);if(n||T.disconnectedMatch||e.document&&11!==e.document.nodeType)return n}catch(r){}return st(t,p,null,[e]).length>0},st.contains=function(e,t){return(e.ownerDocument||e)!==p&&c(e),y(e,t)},st.attr=function(e,t){var n;return(e.ownerDocument||e)!==p&&c(e),d||(t=t.toLowerCase()),(n=i.attrHandle[t])?n(e):d||T.attributes?e.getAttribute(t):((n=e.getAttributeNode(t))||e.getAttribute(t))&&e[t]===!0?t:n&&n.specified?n.value:null},st.error=function(e){throw Error("Syntax error, unrecognized expression: "+e)},st.uniqueSort=function(e){var t,n=[],r=1,i=0;if(u=!T.detectDuplicates,e.sort(v),u){for(;t=e[r];r++)t===e[r-1]&&(i=n.push(r));while(i--)e.splice(n[i],1)}return e};function ut(e,t){var n=t&&e,r=n&&(~t.sourceIndex||j)-(~e.sourceIndex||j);if(r)return r;if(n)while(n=n.nextSibling)if(n===t)return-1;return e?1:-1}function lt(e){return function(t){var n=t.nodeName.toLowerCase();return"input"===n&&t.type===e}}function ct(e){return function(t){var n=t.nodeName.toLowerCase();return("input"===n||"button"===n)&&t.type===e}}function pt(e){return ot(function(t){return t=+t,ot(function(n,r){var i,o=e([],n.length,t),a=o.length;while(a--)n[i=o[a]]&&(n[i]=!(r[i]=n[i]))})})}o=st.getText=function(e){var t,n="",r=0,i=e.nodeType;if(i){if(1===i||9===i||11===i){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=o(e)}else if(3===i||4===i)return e.nodeValue}else for(;t=e[r];r++)n+=o(t);return n},i=st.selectors={cacheLength:50,createPseudo:ot,match:U,find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(et,tt),e[3]=(e[4]||e[5]||"").replace(et,tt),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||st.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&st.error(e[0]),e},PSEUDO:function(e){var t,n=!e[5]&&e[2];return U.CHILD.test(e[0])?null:(e[4]?e[2]=e[4]:n&&z.test(n)&&(t=ft(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){return"*"===e?function(){return!0}:(e=e.replace(et,tt).toLowerCase(),function(t){return t.nodeName&&t.nodeName.toLowerCase()===e})},CLASS:function(e){var t=k[e+" "];return t||(t=RegExp("(^|"+_+")"+e+"("+_+"|$)"))&&k(e,function(e){return t.test(e.className||typeof e.getAttribute!==A&&e.getAttribute("class")||"")})},ATTR:function(e,t,n){return function(r){var i=st.attr(r,e);return null==i?"!="===t:t?(i+="","="===t?i===n:"!="===t?i!==n:"^="===t?n&&0===i.indexOf(n):"*="===t?n&&i.indexOf(n)>-1:"$="===t?n&&i.slice(-n.length)===n:"~="===t?(" "+i+" ").indexOf(n)>-1:"|="===t?i===n||i.slice(0,n.length+1)===n+"-":!1):!0}},CHILD:function(e,t,n,r,i){var o="nth"!==e.slice(0,3),a="last"!==e.slice(-4),s="of-type"===t;return 1===r&&0===i?function(e){return!!e.parentNode}:function(t,n,u){var l,c,p,f,d,h,g=o!==a?"nextSibling":"previousSibling",m=t.parentNode,y=s&&t.nodeName.toLowerCase(),v=!u&&!s;if(m){if(o){while(g){p=t;while(p=p[g])if(s?p.nodeName.toLowerCase()===y:1===p.nodeType)return!1;h=g="only"===e&&!h&&"nextSibling"}return!0}if(h=[a?m.firstChild:m.lastChild],a&&v){c=m[x]||(m[x]={}),l=c[e]||[],d=l[0]===N&&l[1],f=l[0]===N&&l[2],p=d&&m.childNodes[d];while(p=++d&&p&&p[g]||(f=d=0)||h.pop())if(1===p.nodeType&&++f&&p===t){c[e]=[N,d,f];break}}else if(v&&(l=(t[x]||(t[x]={}))[e])&&l[0]===N)f=l[1];else while(p=++d&&p&&p[g]||(f=d=0)||h.pop())if((s?p.nodeName.toLowerCase()===y:1===p.nodeType)&&++f&&(v&&((p[x]||(p[x]={}))[e]=[N,f]),p===t))break;return f-=i,f===r||0===f%r&&f/r>=0}}},PSEUDO:function(e,t){var n,r=i.pseudos[e]||i.setFilters[e.toLowerCase()]||st.error("unsupported pseudo: "+e);return r[x]?r(t):r.length>1?(n=[e,e,"",t],i.setFilters.hasOwnProperty(e.toLowerCase())?ot(function(e,n){var i,o=r(e,t),a=o.length;while(a--)i=M.call(e,o[a]),e[i]=!(n[i]=o[a])}):function(e){return r(e,0,n)}):r}},pseudos:{not:ot(function(e){var t=[],n=[],r=s(e.replace(W,"$1"));return r[x]?ot(function(e,t,n,i){var o,a=r(e,null,i,[]),s=e.length;while(s--)(o=a[s])&&(e[s]=!(t[s]=o))}):function(e,i,o){return t[0]=e,r(t,null,o,n),!n.pop()}}),has:ot(function(e){return function(t){return st(e,t).length>0}}),contains:ot(function(e){return function(t){return(t.textContent||t.innerText||o(t)).indexOf(e)>-1}}),lang:ot(function(e){return X.test(e||"")||st.error("unsupported lang: "+e),e=e.replace(et,tt).toLowerCase(),function(t){var n;do if(n=d?t.getAttribute("xml:lang")||t.getAttribute("lang"):t.lang)return n=n.toLowerCase(),n===e||0===n.indexOf(e+"-");while((t=t.parentNode)&&1===t.nodeType);return!1}}),target:function(t){var n=e.location&&e.location.hash;return n&&n.slice(1)===t.id},root:function(e){return e===f},focus:function(e){return e===p.activeElement&&(!p.hasFocus||p.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:function(e){return e.disabled===!1},disabled:function(e){return e.disabled===!0},checked:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&!!e.checked||"option"===t&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,e.selected===!0},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeName>"@"||3===e.nodeType||4===e.nodeType)return!1;return!0},parent:function(e){return!i.pseudos.empty(e)},header:function(e){return Q.test(e.nodeName)},input:function(e){return G.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},text:function(e){var t;return"input"===e.nodeName.toLowerCase()&&"text"===e.type&&(null==(t=e.getAttribute("type"))||t.toLowerCase()===e.type)},first:pt(function(){return[0]}),last:pt(function(e,t){return[t-1]}),eq:pt(function(e,t,n){return[0>n?n+t:n]}),even:pt(function(e,t){var n=0;for(;t>n;n+=2)e.push(n);return e}),odd:pt(function(e,t){var n=1;for(;t>n;n+=2)e.push(n);return e}),lt:pt(function(e,t,n){var r=0>n?n+t:n;for(;--r>=0;)e.push(r);return e}),gt:pt(function(e,t,n){var r=0>n?n+t:n;for(;t>++r;)e.push(r);return e})}};for(n in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})i.pseudos[n]=lt(n);for(n in{submit:!0,reset:!0})i.pseudos[n]=ct(n);function ft(e,t){var n,r,o,a,s,u,l,c=E[e+" "];if(c)return t?0:c.slice(0);s=e,u=[],l=i.preFilter;while(s){(!n||(r=$.exec(s)))&&(r&&(s=s.slice(r[0].length)||s),u.push(o=[])),n=!1,(r=I.exec(s))&&(n=r.shift(),o.push({value:n,type:r[0].replace(W," ")}),s=s.slice(n.length));for(a in i.filter)!(r=U[a].exec(s))||l[a]&&!(r=l[a](r))||(n=r.shift(),o.push({value:n,type:a,matches:r}),s=s.slice(n.length));if(!n)break}return t?s.length:s?st.error(e):E(e,u).slice(0)}function dt(e){var t=0,n=e.length,r="";for(;n>t;t++)r+=e[t].value;return r}function ht(e,t,n){var i=t.dir,o=n&&"parentNode"===i,a=C++;return t.first?function(t,n,r){while(t=t[i])if(1===t.nodeType||o)return e(t,n,r)}:function(t,n,s){var u,l,c,p=N+" "+a;if(s){while(t=t[i])if((1===t.nodeType||o)&&e(t,n,s))return!0}else while(t=t[i])if(1===t.nodeType||o)if(c=t[x]||(t[x]={}),(l=c[i])&&l[0]===p){if((u=l[1])===!0||u===r)return u===!0}else if(l=c[i]=[p],l[1]=e(t,n,s)||r,l[1]===!0)return!0}}function gt(e){return e.length>1?function(t,n,r){var i=e.length;while(i--)if(!e[i](t,n,r))return!1;return!0}:e[0]}function mt(e,t,n,r,i){var o,a=[],s=0,u=e.length,l=null!=t;for(;u>s;s++)(o=e[s])&&(!n||n(o,r,i))&&(a.push(o),l&&t.push(s));return a}function yt(e,t,n,r,i,o){return r&&!r[x]&&(r=yt(r)),i&&!i[x]&&(i=yt(i,o)),ot(function(o,a,s,u){var l,c,p,f=[],d=[],h=a.length,g=o||xt(t||"*",s.nodeType?[s]:s,[]),m=!e||!o&&t?g:mt(g,f,e,s,u),y=n?i||(o?e:h||r)?[]:a:m;if(n&&n(m,y,s,u),r){l=mt(y,d),r(l,[],s,u),c=l.length;while(c--)(p=l[c])&&(y[d[c]]=!(m[d[c]]=p))}if(o){if(i||e){if(i){l=[],c=y.length;while(c--)(p=y[c])&&l.push(m[c]=p);i(null,y=[],l,u)}c=y.length;while(c--)(p=y[c])&&(l=i?M.call(o,p):f[c])>-1&&(o[l]=!(a[l]=p))}}else y=mt(y===a?y.splice(h,y.length):y),i?i(null,a,y,u):H.apply(a,y)})}function vt(e){var t,n,r,o=e.length,a=i.relative[e[0].type],s=a||i.relative[" "],u=a?1:0,c=ht(function(e){return e===t},s,!0),p=ht(function(e){return M.call(t,e)>-1},s,!0),f=[function(e,n,r){return!a&&(r||n!==l)||((t=n).nodeType?c(e,n,r):p(e,n,r))}];for(;o>u;u++)if(n=i.relative[e[u].type])f=[ht(gt(f),n)];else{if(n=i.filter[e[u].type].apply(null,e[u].matches),n[x]){for(r=++u;o>r;r++)if(i.relative[e[r].type])break;return yt(u>1&>(f),u>1&&dt(e.slice(0,u-1)).replace(W,"$1"),n,r>u&&vt(e.slice(u,r)),o>r&&vt(e=e.slice(r)),o>r&&dt(e))}f.push(n)}return gt(f)}function bt(e,t){var n=0,o=t.length>0,a=e.length>0,s=function(s,u,c,f,d){var h,g,m,y=[],v=0,b="0",x=s&&[],w=null!=d,T=l,C=s||a&&i.find.TAG("*",d&&u.parentNode||u),k=N+=null==T?1:Math.random()||.1;for(w&&(l=u!==p&&u,r=n);null!=(h=C[b]);b++){if(a&&h){g=0;while(m=e[g++])if(m(h,u,c)){f.push(h);break}w&&(N=k,r=++n)}o&&((h=!m&&h)&&v--,s&&x.push(h))}if(v+=b,o&&b!==v){g=0;while(m=t[g++])m(x,y,u,c);if(s){if(v>0)while(b--)x[b]||y[b]||(y[b]=L.call(f));y=mt(y)}H.apply(f,y),w&&!s&&y.length>0&&v+t.length>1&&st.uniqueSort(f)}return w&&(N=k,l=T),x};return o?ot(s):s}s=st.compile=function(e,t){var n,r=[],i=[],o=S[e+" "];if(!o){t||(t=ft(e)),n=t.length;while(n--)o=vt(t[n]),o[x]?r.push(o):i.push(o);o=S(e,bt(i,r))}return o};function xt(e,t,n){var r=0,i=t.length;for(;i>r;r++)st(e,t[r],n);return n}function wt(e,t,n,r){var o,a,u,l,c,p=ft(e);if(!r&&1===p.length){if(a=p[0]=p[0].slice(0),a.length>2&&"ID"===(u=a[0]).type&&9===t.nodeType&&!d&&i.relative[a[1].type]){if(t=i.find.ID(u.matches[0].replace(et,tt),t)[0],!t)return n;e=e.slice(a.shift().value.length)}o=U.needsContext.test(e)?0:a.length;while(o--){if(u=a[o],i.relative[l=u.type])break;if((c=i.find[l])&&(r=c(u.matches[0].replace(et,tt),V.test(a[0].type)&&t.parentNode||t))){if(a.splice(o,1),e=r.length&&dt(a),!e)return H.apply(n,q.call(r,0)),n;break}}}return s(e,p)(r,t,d,n,V.test(e)),n}i.pseudos.nth=i.pseudos.eq;function Tt(){}i.filters=Tt.prototype=i.pseudos,i.setFilters=new Tt,c(),st.attr=b.attr,b.find=st,b.expr=st.selectors,b.expr[":"]=b.expr.pseudos,b.unique=st.uniqueSort,b.text=st.getText,b.isXMLDoc=st.isXML,b.contains=st.contains}(e);var at=/Until$/,st=/^(?:parents|prev(?:Until|All))/,ut=/^.[^:#\[\.,]*$/,lt=b.expr.match.needsContext,ct={children:!0,contents:!0,next:!0,prev:!0};b.fn.extend({find:function(e){var t,n,r,i=this.length;if("string"!=typeof e)return r=this,this.pushStack(b(e).filter(function(){for(t=0;i>t;t++)if(b.contains(r[t],this))return!0}));for(n=[],t=0;i>t;t++)b.find(e,this[t],n);return n=this.pushStack(i>1?b.unique(n):n),n.selector=(this.selector?this.selector+" ":"")+e,n},has:function(e){var t,n=b(e,this),r=n.length;return this.filter(function(){for(t=0;r>t;t++)if(b.contains(this,n[t]))return!0})},not:function(e){return this.pushStack(ft(this,e,!1))},filter:function(e){return this.pushStack(ft(this,e,!0))},is:function(e){return!!e&&("string"==typeof e?lt.test(e)?b(e,this.context).index(this[0])>=0:b.filter(e,this).length>0:this.filter(e).length>0)},closest:function(e,t){var n,r=0,i=this.length,o=[],a=lt.test(e)||"string"!=typeof e?b(e,t||this.context):0;for(;i>r;r++){n=this[r];while(n&&n.ownerDocument&&n!==t&&11!==n.nodeType){if(a?a.index(n)>-1:b.find.matchesSelector(n,e)){o.push(n);break}n=n.parentNode}}return this.pushStack(o.length>1?b.unique(o):o)},index:function(e){return e?"string"==typeof e?b.inArray(this[0],b(e)):b.inArray(e.jquery?e[0]:e,this):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){var n="string"==typeof e?b(e,t):b.makeArray(e&&e.nodeType?[e]:e),r=b.merge(this.get(),n);return this.pushStack(b.unique(r))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),b.fn.andSelf=b.fn.addBack;function pt(e,t){do e=e[t];while(e&&1!==e.nodeType);return e}b.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return b.dir(e,"parentNode")},parentsUntil:function(e,t,n){return b.dir(e,"parentNode",n)},next:function(e){return pt(e,"nextSibling")},prev:function(e){return pt(e,"previousSibling")},nextAll:function(e){return b.dir(e,"nextSibling")},prevAll:function(e){return b.dir(e,"previousSibling")},nextUntil:function(e,t,n){return b.dir(e,"nextSibling",n)},prevUntil:function(e,t,n){return b.dir(e,"previousSibling",n)},siblings:function(e){return b.sibling((e.parentNode||{}).firstChild,e)},children:function(e){return b.sibling(e.firstChild)},contents:function(e){return b.nodeName(e,"iframe")?e.contentDocument||e.contentWindow.document:b.merge([],e.childNodes)}},function(e,t){b.fn[e]=function(n,r){var i=b.map(this,t,n);return at.test(e)||(r=n),r&&"string"==typeof r&&(i=b.filter(r,i)),i=this.length>1&&!ct[e]?b.unique(i):i,this.length>1&&st.test(e)&&(i=i.reverse()),this.pushStack(i)}}),b.extend({filter:function(e,t,n){return n&&(e=":not("+e+")"),1===t.length?b.find.matchesSelector(t[0],e)?[t[0]]:[]:b.find.matches(e,t)},dir:function(e,n,r){var i=[],o=e[n];while(o&&9!==o.nodeType&&(r===t||1!==o.nodeType||!b(o).is(r)))1===o.nodeType&&i.push(o),o=o[n];return i},sibling:function(e,t){var n=[];for(;e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n}});function ft(e,t,n){if(t=t||0,b.isFunction(t))return b.grep(e,function(e,r){var i=!!t.call(e,r,e);return i===n});if(t.nodeType)return b.grep(e,function(e){return e===t===n});if("string"==typeof t){var r=b.grep(e,function(e){return 1===e.nodeType});if(ut.test(t))return b.filter(t,r,!n);t=b.filter(t,r)}return b.grep(e,function(e){return b.inArray(e,t)>=0===n})}function dt(e){var t=ht.split("|"),n=e.createDocumentFragment();if(n.createElement)while(t.length)n.createElement(t.pop());return n}var ht="abbr|article|aside|audio|bdi|canvas|data|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",gt=/ jQuery\d+="(?:null|\d+)"/g,mt=RegExp("<(?:"+ht+")[\\s/>]","i"),yt=/^\s+/,vt=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,bt=/<([\w:]+)/,xt=/\s*$/g,At={option:[1,""],legend:[1,"
","
"],area:[1,"",""],param:[1,"",""],thead:[1,"","
"],tr:[2,"","
"],col:[2,"","
"],td:[3,"","
"],_default:b.support.htmlSerialize?[0,"",""]:[1,"X
","
"]},jt=dt(o),Dt=jt.appendChild(o.createElement("div"));At.optgroup=At.option,At.tbody=At.tfoot=At.colgroup=At.caption=At.thead,At.th=At.td,b.fn.extend({text:function(e){return b.access(this,function(e){return e===t?b.text(this):this.empty().append((this[0]&&this[0].ownerDocument||o).createTextNode(e))},null,e,arguments.length)},wrapAll:function(e){if(b.isFunction(e))return this.each(function(t){b(this).wrapAll(e.call(this,t))});if(this[0]){var t=b(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 b.isFunction(e)?this.each(function(t){b(this).wrapInner(e.call(this,t))}):this.each(function(){var t=b(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)})},wrap:function(e){var t=b.isFunction(e);return this.each(function(n){b(this).wrapAll(t?e.call(this,n):e)})},unwrap:function(){return this.parent().each(function(){b.nodeName(this,"body")||b(this).replaceWith(this.childNodes)}).end()},append:function(){return this.domManip(arguments,!0,function(e){(1===this.nodeType||11===this.nodeType||9===this.nodeType)&&this.appendChild(e)})},prepend:function(){return this.domManip(arguments,!0,function(e){(1===this.nodeType||11===this.nodeType||9===this.nodeType)&&this.insertBefore(e,this.firstChild)})},before:function(){return this.domManip(arguments,!1,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return this.domManip(arguments,!1,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},remove:function(e,t){var n,r=0;for(;null!=(n=this[r]);r++)(!e||b.filter(e,[n]).length>0)&&(t||1!==n.nodeType||b.cleanData(Ot(n)),n.parentNode&&(t&&b.contains(n.ownerDocument,n)&&Mt(Ot(n,"script")),n.parentNode.removeChild(n)));return this},empty:function(){var e,t=0;for(;null!=(e=this[t]);t++){1===e.nodeType&&b.cleanData(Ot(e,!1));while(e.firstChild)e.removeChild(e.firstChild);e.options&&b.nodeName(e,"select")&&(e.options.length=0)}return this},clone:function(e,t){return e=null==e?!1:e,t=null==t?e:t,this.map(function(){return b.clone(this,e,t)})},html:function(e){return b.access(this,function(e){var n=this[0]||{},r=0,i=this.length;if(e===t)return 1===n.nodeType?n.innerHTML.replace(gt,""):t;if(!("string"!=typeof e||Tt.test(e)||!b.support.htmlSerialize&&mt.test(e)||!b.support.leadingWhitespace&&yt.test(e)||At[(bt.exec(e)||["",""])[1].toLowerCase()])){e=e.replace(vt,"<$1>");try{for(;i>r;r++)n=this[r]||{},1===n.nodeType&&(b.cleanData(Ot(n,!1)),n.innerHTML=e);n=0}catch(o){}}n&&this.empty().append(e)},null,e,arguments.length)},replaceWith:function(e){var t=b.isFunction(e);return t||"string"==typeof e||(e=b(e).not(this).detach()),this.domManip([e],!0,function(e){var t=this.nextSibling,n=this.parentNode;n&&(b(this).remove(),n.insertBefore(e,t))})},detach:function(e){return this.remove(e,!0)},domManip:function(e,n,r){e=f.apply([],e);var i,o,a,s,u,l,c=0,p=this.length,d=this,h=p-1,g=e[0],m=b.isFunction(g);if(m||!(1>=p||"string"!=typeof g||b.support.checkClone)&&Ct.test(g))return this.each(function(i){var o=d.eq(i);m&&(e[0]=g.call(this,i,n?o.html():t)),o.domManip(e,n,r)});if(p&&(l=b.buildFragment(e,this[0].ownerDocument,!1,this),i=l.firstChild,1===l.childNodes.length&&(l=i),i)){for(n=n&&b.nodeName(i,"tr"),s=b.map(Ot(l,"script"),Ht),a=s.length;p>c;c++)o=l,c!==h&&(o=b.clone(o,!0,!0),a&&b.merge(s,Ot(o,"script"))),r.call(n&&b.nodeName(this[c],"table")?Lt(this[c],"tbody"):this[c],o,c);if(a)for(u=s[s.length-1].ownerDocument,b.map(s,qt),c=0;a>c;c++)o=s[c],kt.test(o.type||"")&&!b._data(o,"globalEval")&&b.contains(u,o)&&(o.src?b.ajax({url:o.src,type:"GET",dataType:"script",async:!1,global:!1,"throws":!0}):b.globalEval((o.text||o.textContent||o.innerHTML||"").replace(St,"")));l=i=null}return this}});function Lt(e,t){return e.getElementsByTagName(t)[0]||e.appendChild(e.ownerDocument.createElement(t))}function Ht(e){var t=e.getAttributeNode("type");return e.type=(t&&t.specified)+"/"+e.type,e}function qt(e){var t=Et.exec(e.type);return t?e.type=t[1]:e.removeAttribute("type"),e}function Mt(e,t){var n,r=0;for(;null!=(n=e[r]);r++)b._data(n,"globalEval",!t||b._data(t[r],"globalEval"))}function _t(e,t){if(1===t.nodeType&&b.hasData(e)){var n,r,i,o=b._data(e),a=b._data(t,o),s=o.events;if(s){delete a.handle,a.events={};for(n in s)for(r=0,i=s[n].length;i>r;r++)b.event.add(t,n,s[n][r])}a.data&&(a.data=b.extend({},a.data))}}function Ft(e,t){var n,r,i;if(1===t.nodeType){if(n=t.nodeName.toLowerCase(),!b.support.noCloneEvent&&t[b.expando]){i=b._data(t);for(r in i.events)b.removeEvent(t,r,i.handle);t.removeAttribute(b.expando)}"script"===n&&t.text!==e.text?(Ht(t).text=e.text,qt(t)):"object"===n?(t.parentNode&&(t.outerHTML=e.outerHTML),b.support.html5Clone&&e.innerHTML&&!b.trim(t.innerHTML)&&(t.innerHTML=e.innerHTML)):"input"===n&&Nt.test(e.type)?(t.defaultChecked=t.checked=e.checked,t.value!==e.value&&(t.value=e.value)):"option"===n?t.defaultSelected=t.selected=e.defaultSelected:("input"===n||"textarea"===n)&&(t.defaultValue=e.defaultValue)}}b.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,t){b.fn[e]=function(e){var n,r=0,i=[],o=b(e),a=o.length-1;for(;a>=r;r++)n=r===a?this:this.clone(!0),b(o[r])[t](n),d.apply(i,n.get());return this.pushStack(i)}});function Ot(e,n){var r,o,a=0,s=typeof e.getElementsByTagName!==i?e.getElementsByTagName(n||"*"):typeof e.querySelectorAll!==i?e.querySelectorAll(n||"*"):t;if(!s)for(s=[],r=e.childNodes||e;null!=(o=r[a]);a++)!n||b.nodeName(o,n)?s.push(o):b.merge(s,Ot(o,n));return n===t||n&&b.nodeName(e,n)?b.merge([e],s):s}function Bt(e){Nt.test(e.type)&&(e.defaultChecked=e.checked)}b.extend({clone:function(e,t,n){var r,i,o,a,s,u=b.contains(e.ownerDocument,e);if(b.support.html5Clone||b.isXMLDoc(e)||!mt.test("<"+e.nodeName+">")?o=e.cloneNode(!0):(Dt.innerHTML=e.outerHTML,Dt.removeChild(o=Dt.firstChild)),!(b.support.noCloneEvent&&b.support.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||b.isXMLDoc(e)))for(r=Ot(o),s=Ot(e),a=0;null!=(i=s[a]);++a)r[a]&&Ft(i,r[a]);if(t)if(n)for(s=s||Ot(e),r=r||Ot(o),a=0;null!=(i=s[a]);a++)_t(i,r[a]);else _t(e,o);return r=Ot(o,"script"),r.length>0&&Mt(r,!u&&Ot(e,"script")),r=s=i=null,o},buildFragment:function(e,t,n,r){var i,o,a,s,u,l,c,p=e.length,f=dt(t),d=[],h=0;for(;p>h;h++)if(o=e[h],o||0===o)if("object"===b.type(o))b.merge(d,o.nodeType?[o]:o);else if(wt.test(o)){s=s||f.appendChild(t.createElement("div")),u=(bt.exec(o)||["",""])[1].toLowerCase(),c=At[u]||At._default,s.innerHTML=c[1]+o.replace(vt,"<$1>")+c[2],i=c[0];while(i--)s=s.lastChild;if(!b.support.leadingWhitespace&&yt.test(o)&&d.push(t.createTextNode(yt.exec(o)[0])),!b.support.tbody){o="table"!==u||xt.test(o)?""!==c[1]||xt.test(o)?0:s:s.firstChild,i=o&&o.childNodes.length;while(i--)b.nodeName(l=o.childNodes[i],"tbody")&&!l.childNodes.length&&o.removeChild(l) +}b.merge(d,s.childNodes),s.textContent="";while(s.firstChild)s.removeChild(s.firstChild);s=f.lastChild}else d.push(t.createTextNode(o));s&&f.removeChild(s),b.support.appendChecked||b.grep(Ot(d,"input"),Bt),h=0;while(o=d[h++])if((!r||-1===b.inArray(o,r))&&(a=b.contains(o.ownerDocument,o),s=Ot(f.appendChild(o),"script"),a&&Mt(s),n)){i=0;while(o=s[i++])kt.test(o.type||"")&&n.push(o)}return s=null,f},cleanData:function(e,t){var n,r,o,a,s=0,u=b.expando,l=b.cache,p=b.support.deleteExpando,f=b.event.special;for(;null!=(n=e[s]);s++)if((t||b.acceptData(n))&&(o=n[u],a=o&&l[o])){if(a.events)for(r in a.events)f[r]?b.event.remove(n,r):b.removeEvent(n,r,a.handle);l[o]&&(delete l[o],p?delete n[u]:typeof n.removeAttribute!==i?n.removeAttribute(u):n[u]=null,c.push(o))}}});var Pt,Rt,Wt,$t=/alpha\([^)]*\)/i,It=/opacity\s*=\s*([^)]*)/,zt=/^(top|right|bottom|left)$/,Xt=/^(none|table(?!-c[ea]).+)/,Ut=/^margin/,Vt=RegExp("^("+x+")(.*)$","i"),Yt=RegExp("^("+x+")(?!px)[a-z%]+$","i"),Jt=RegExp("^([+-])=("+x+")","i"),Gt={BODY:"block"},Qt={position:"absolute",visibility:"hidden",display:"block"},Kt={letterSpacing:0,fontWeight:400},Zt=["Top","Right","Bottom","Left"],en=["Webkit","O","Moz","ms"];function tn(e,t){if(t in e)return t;var n=t.charAt(0).toUpperCase()+t.slice(1),r=t,i=en.length;while(i--)if(t=en[i]+n,t in e)return t;return r}function nn(e,t){return e=t||e,"none"===b.css(e,"display")||!b.contains(e.ownerDocument,e)}function rn(e,t){var n,r,i,o=[],a=0,s=e.length;for(;s>a;a++)r=e[a],r.style&&(o[a]=b._data(r,"olddisplay"),n=r.style.display,t?(o[a]||"none"!==n||(r.style.display=""),""===r.style.display&&nn(r)&&(o[a]=b._data(r,"olddisplay",un(r.nodeName)))):o[a]||(i=nn(r),(n&&"none"!==n||!i)&&b._data(r,"olddisplay",i?n:b.css(r,"display"))));for(a=0;s>a;a++)r=e[a],r.style&&(t&&"none"!==r.style.display&&""!==r.style.display||(r.style.display=t?o[a]||"":"none"));return e}b.fn.extend({css:function(e,n){return b.access(this,function(e,n,r){var i,o,a={},s=0;if(b.isArray(n)){for(o=Rt(e),i=n.length;i>s;s++)a[n[s]]=b.css(e,n[s],!1,o);return a}return r!==t?b.style(e,n,r):b.css(e,n)},e,n,arguments.length>1)},show:function(){return rn(this,!0)},hide:function(){return rn(this)},toggle:function(e){var t="boolean"==typeof e;return this.each(function(){(t?e:nn(this))?b(this).show():b(this).hide()})}}),b.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=Wt(e,"opacity");return""===n?"1":n}}}},cssNumber:{columnCount:!0,fillOpacity:!0,fontWeight:!0,lineHeight:!0,opacity:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{"float":b.support.cssFloat?"cssFloat":"styleFloat"},style:function(e,n,r,i){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var o,a,s,u=b.camelCase(n),l=e.style;if(n=b.cssProps[u]||(b.cssProps[u]=tn(l,u)),s=b.cssHooks[n]||b.cssHooks[u],r===t)return s&&"get"in s&&(o=s.get(e,!1,i))!==t?o:l[n];if(a=typeof r,"string"===a&&(o=Jt.exec(r))&&(r=(o[1]+1)*o[2]+parseFloat(b.css(e,n)),a="number"),!(null==r||"number"===a&&isNaN(r)||("number"!==a||b.cssNumber[u]||(r+="px"),b.support.clearCloneStyle||""!==r||0!==n.indexOf("background")||(l[n]="inherit"),s&&"set"in s&&(r=s.set(e,r,i))===t)))try{l[n]=r}catch(c){}}},css:function(e,n,r,i){var o,a,s,u=b.camelCase(n);return n=b.cssProps[u]||(b.cssProps[u]=tn(e.style,u)),s=b.cssHooks[n]||b.cssHooks[u],s&&"get"in s&&(a=s.get(e,!0,r)),a===t&&(a=Wt(e,n,i)),"normal"===a&&n in Kt&&(a=Kt[n]),""===r||r?(o=parseFloat(a),r===!0||b.isNumeric(o)?o||0:a):a},swap:function(e,t,n,r){var i,o,a={};for(o in t)a[o]=e.style[o],e.style[o]=t[o];i=n.apply(e,r||[]);for(o in t)e.style[o]=a[o];return i}}),e.getComputedStyle?(Rt=function(t){return e.getComputedStyle(t,null)},Wt=function(e,n,r){var i,o,a,s=r||Rt(e),u=s?s.getPropertyValue(n)||s[n]:t,l=e.style;return s&&(""!==u||b.contains(e.ownerDocument,e)||(u=b.style(e,n)),Yt.test(u)&&Ut.test(n)&&(i=l.width,o=l.minWidth,a=l.maxWidth,l.minWidth=l.maxWidth=l.width=u,u=s.width,l.width=i,l.minWidth=o,l.maxWidth=a)),u}):o.documentElement.currentStyle&&(Rt=function(e){return e.currentStyle},Wt=function(e,n,r){var i,o,a,s=r||Rt(e),u=s?s[n]:t,l=e.style;return null==u&&l&&l[n]&&(u=l[n]),Yt.test(u)&&!zt.test(n)&&(i=l.left,o=e.runtimeStyle,a=o&&o.left,a&&(o.left=e.currentStyle.left),l.left="fontSize"===n?"1em":u,u=l.pixelLeft+"px",l.left=i,a&&(o.left=a)),""===u?"auto":u});function on(e,t,n){var r=Vt.exec(t);return r?Math.max(0,r[1]-(n||0))+(r[2]||"px"):t}function an(e,t,n,r,i){var o=n===(r?"border":"content")?4:"width"===t?1:0,a=0;for(;4>o;o+=2)"margin"===n&&(a+=b.css(e,n+Zt[o],!0,i)),r?("content"===n&&(a-=b.css(e,"padding"+Zt[o],!0,i)),"margin"!==n&&(a-=b.css(e,"border"+Zt[o]+"Width",!0,i))):(a+=b.css(e,"padding"+Zt[o],!0,i),"padding"!==n&&(a+=b.css(e,"border"+Zt[o]+"Width",!0,i)));return a}function sn(e,t,n){var r=!0,i="width"===t?e.offsetWidth:e.offsetHeight,o=Rt(e),a=b.support.boxSizing&&"border-box"===b.css(e,"boxSizing",!1,o);if(0>=i||null==i){if(i=Wt(e,t,o),(0>i||null==i)&&(i=e.style[t]),Yt.test(i))return i;r=a&&(b.support.boxSizingReliable||i===e.style[t]),i=parseFloat(i)||0}return i+an(e,t,n||(a?"border":"content"),r,o)+"px"}function un(e){var t=o,n=Gt[e];return n||(n=ln(e,t),"none"!==n&&n||(Pt=(Pt||b(""),C=".kendoTooltip",T={bottom:{origin:"bottom center",position:"top center"},top:{origin:"top center",position:"bottom center"},left:{origin:"center left",position:"center right",collision:"fit flip"},right:{origin:"center right",position:"center left",collision:"fit flip"},center:{position:"center center",origin:"center center"}},S={top:"bottom",bottom:"top",left:"right",right:"left",center:"center"},A={bottom:"n",top:"s",left:"e",right:"w",center:"n"},F={horizontal:{offset:"top",size:"height"},vertical:{offset:"left",size:"width"}},D=function(e){return e.target.data(o.ns+"title")},I=a.extend({init:function(e,t){var n,i=this;a.fn.init.call(i,e,t),n=i.options.position.match(/left|right/)?"horizontal":"vertical",i.dimensions=F[n],i._documentKeyDownHandler=u(i.hide,i),i.element.on(i.options.showOn+C,i.options.filter,u(i._showOn,i)).on("mouseenter"+C,i.options.filter,u(i._mouseenter,i)),this.options.autoHide&&i.element.on("mouseleave"+C,i.options.filter,u(i._mouseleave,i))},options:{name:"Tooltip",filter:"",content:D,showAfter:100,callout:!0,position:"bottom",showOn:"mouseenter",autoHide:!0,animation:{open:{effects:"fade:in",duration:0},close:{effects:"fade:out",duration:40,hide:!0}}},events:[g,v,b,_,y],_mouseenter:function(t){r(e(t.currentTarget))},_showOn:function(t){var n=this;n.options.showOn&&n.options.showOn.match(/click|focus/)?n.show(e(t.currentTarget)):(clearTimeout(n.timeout),n.timeout=setTimeout(function(){n.show(e(t.currentTarget))},n.options.showAfter))},_appendContent:function(e){var t,n=this,i=n.options.content,r=n.content,a=n.options.iframe;d(i)&&i.url?("iframe"in n.options||(a=!f(i.url)),a?(r.hide(),t=r.find("."+w)[0],t?t.src=i.url||t.src:r.html(k({content:i})),r.find("."+w).off("load"+C).on("load"+C,function(){n.trigger(b),r.show()})):(r.empty(),o.ui.progress(r,!0),i.data=i.data||{},n.trigger(y,{data:i.data,target:e}),n._ajaxRequest(i))):i&&l(i)?(i=i({target:e}),n.content.html(i)):n.content.html(i)},_ajaxRequest:function(e){var t=this;jQuery.ajax(c({type:"GET",dataType:"html",cache:!1,error:function(e,n){o.ui.progress(t.content,!1),t.trigger(_,{status:n,xhr:e})},success:u(function(e){o.ui.progress(t.content,!1),t.content.html(e),t.trigger(b)},t)},e))},hide:function(e){this.popup&&(this.popup.close(),e&&e.preventDefault())},show:function(e){var n=this,i=n.target();n.popup||n._initPopup(),i&&i[0]!=e[0]&&n.popup.close(),i&&i[0]==e[0]||(n._appendContent(e),n.popup.options.anchor=e),n.popup.one("deactivate",function(){t(e),e.removeAttr(m),this.element.removeAttr("id").attr("aria-hidden",!0),p.off("keydown"+C,n._documentKeyDownHandler)}),n.popup.open()},_initPopup:function(){var t=this,n=t.options,i=e(o.template(x)({callout:n.callout&&"center"!==n.position,dir:A[n.position],autoHide:n.autoHide}));t.popup=new s(i,c({activate:function(){var e=this.options.anchor,i=e[0].id||t.element[0].id;i&&(e.attr(m,i+h),this.element.attr("id",i+h)),n.callout&&t._positionCallout(),this.element.removeAttr("aria-hidden"),p.on("keydown"+C,t._documentKeyDownHandler),t.trigger(g)},close:function(){t.trigger(v)},animation:n.animation},T[n.position])),i.css({width:n.width,height:n.height}),t.content=i.find(".k-tooltip-content"),t.arrow=i.find(".k-callout"),n.autoHide?i.on("mouseleave"+C,u(t._mouseleave,t)):i.on("click"+C,".k-tooltip-button",u(t.hide,t))},_mouseleave:function(n){if(this.popup){var i=e(n.currentTarget),r=i.offset(),o=n.pageX,a=n.pageY; -if(r.right=r.left+i.outerWidth(),r.bottom=r.top+i.outerHeight(),o>r.left&&r.right>o&&a>r.top&&r.bottom>a)return;this.popup.close()}else t(e(n.currentTarget));clearTimeout(this.timeout)},_positionCallout:function(){var t=this,n=t.options.position,i=t.dimensions,r=i.offset,o=t.popup,a=o.options.anchor,s=e(a).offset(),l=e(o.element).offset(),d=A[o.flipped?S[n]:n],c=s[r]-l[r]+e(a)[i.size]()/2;t.arrow.removeClass("k-callout-n k-callout-s k-callout-w k-callout-e").addClass("k-callout-"+d).css(r,c)},target:function(){return this.popup?this.popup.options.anchor:null},destroy:function(){var e=this.popup;e&&(e.element.off(C),e.destroy()),this.element.off(C),p.off("keydown"+C,this._documentKeyDownHandler),a.fn.destroy.call(this)}});o.ui.plugin(I)}(window.kendo.jQuery),function(e,t){function n(t,i){t.filters&&(t.filters=e.grep(t.filters,function(e){return n(e,i),e.filters?e.filters.length:e.field!=i}))}var i=window.kendo,r=i.ui,o=r.Widget,a=i.keys,s=i.htmlEncode,l="id",d="li",c="change",u="character",p="k-state-focused",f="k-state-hover",h="k-loading",m="open",g="close",v="select",_="progress",b="requestEnd",y="width",w=e.extend,x=e.proxy,k=i.support.browser,C=k.msie&&9>parseInt(k.version,10),T=/"/g,S=o.extend({init:function(t,n){var r,a=this,s=a.ns;o.fn.init.call(a,t,n),t=a.element,a._template(),a.ul=e('
    ').css({overflow:i.support.kineticScrollNeeded?"":"auto"}).on("mouseenter"+s,d,function(){e(this).addClass(f)}).on("mouseleave"+s,d,function(){e(this).removeClass(f)}).on("click"+s,d,x(a._click,a)).attr({tabIndex:-1,role:"listbox","aria-hidden":!0}),a.list=e("
    ").append(a.ul).on("mousedown"+s,function(e){e.preventDefault()}),r=t.attr(l),r&&(a.list.attr(l,r+"-list"),a.ul.attr(l,r+"_listbox"),a._optionID=r+"_option_selected")},items:function(){return this.ul[0].children},current:function(e){var n=this,i=n._optionID;return e===t?n._current:(n._current&&(n._current.removeClass(p).removeAttr("aria-selected").removeAttr(l),n._focused.removeAttr("aria-activedescendant")),e&&(e.addClass(p),n._scroll(e),i&&(e.attr("id",i),n._focused.attr("aria-activedescendant",i))),n._current=e,t)},destroy:function(){var e=this,t=e.ns;o.fn.destroy.call(e),e._unbindDataSource(),e.ul.off(t),e.list.off(t),e.popup.destroy(),e._form&&e._form.off("reset",e._resetHandler)},dataItem:function(e){var n=this;return e===t&&(e=n.selectedIndex),n._data()[e]},_accessors:function(){var e=this,t=e.element,n=e.options,r=i.getter,o=t.attr(i.attr("text-field")),a=t.attr(i.attr("value-field"));o&&(n.dataTextField=o),a&&(n.dataValueField=a),e._text=r(n.dataTextField),e._value=r(n.dataValueField)},_aria:function(e){var n=this,i=n.options,r=n._focused;i.suggest!==t&&r.attr("aria-autocomplete",i.suggest?"both":"list"),e=e?e+" "+n.ul[0].id:n.ul[0].id,r.attr("aria-owns",e),n.ul.attr("aria-live",i.filter&&"none"!==i.filter?"polite":"off")},_blur:function(){var e=this;e._change(),e.close()},_change:function(){var e,n=this,i=n.selectedIndex,r=n.value();r!==n._old?e=!0:i!==t&&i!==n._oldIndex&&(e=!0),e&&(n._old=r,n._oldIndex=i,n.trigger(c),n.element.trigger(c))},_click:function(t){t.isDefaultPrevented()||this._accept(e(t.currentTarget))},_data:function(){return this.dataSource.view()},_enable:function(){var e=this,t=e.options;e.element.prop("disabled")&&(t.enable=!1),e.enable(t.enable)},_focus:function(e){var n=this;return n.popup.visible()&&e&&n.trigger(v,{item:e})?(n.close(),t):(n._select(e),n._triggerCascade(),n._blur(),t)},_index:function(e){var n,i,r,o=this,a=o._data();for(n=0,i=a.length;i>n;n++)if(r=o._value(a[n]),r===t&&(r=o._text(a[n])),r==e)return n;return-1},_height:function(e){if(e){var t=this,n=t.list,i=t.popup.visible(),r=t.options.height;n=n.add(n.parent(".k-animation-container")).show().height(t.ul[0].scrollHeight>r?r:"auto"),i||n.hide()}},_adjustListWidth:function(){var e,t,n=this.list,i=n[0].style.width,r=this.wrapper;if(n.data(y)||!i)return e=window.getComputedStyle?window.getComputedStyle(r[0],null):0,t=e?parseFloat(e.width):r.outerWidth(),e&&(k.mozilla||k.msie)&&(t+=parseFloat(e.paddingLeft)+parseFloat(e.paddingRight)+parseFloat(e.borderLeftWidth)+parseFloat(e.borderRightWidth)),i=t-(n.outerWidth()-n.width()),n.css({fontFamily:r.css("font-family"),width:i}).data(y,i),!0},_popup:function(){var e=this,t=e.list,n=e._focused,o=e.options,a=e.wrapper;e.popup=new r.Popup(t,w({},o.popup,{anchor:a,open:function(t){e._adjustListWidth(),e.trigger(m)?t.preventDefault():(n.attr("aria-expanded",!0),e.ul.attr("aria-hidden",!1))},close:function(t){e.trigger(g)?t.preventDefault():(n.attr("aria-expanded",!1),e.ul.attr("aria-hidden",!0))},animation:o.animation,isRtl:i.support.isRtl(a)})),e._touchScroller=i.touchScroller(e.popup.element)},_makeUnselectable:function(){C&&this.list.find("*").attr("unselectable","on")},_toggleHover:function(t){e(t.currentTarget).toggleClass(f,"mouseenter"===t.type)},_toggle:function(e){var n=this;e=e!==t?e:!n.popup.visible(),i.support.mobileOS||n._focused[0]===document.activeElement||n._focused.focus(),n[e?m:g]()},_scroll:function(e){if(e){e[0]&&(e=e[0]);var t=this.ul[0],n=e.offsetTop,i=e.offsetHeight,r=t.scrollTop,o=t.clientHeight,a=n+i;t.scrollTop=r>n?n:a>r+o?a-o:r}},_template:function(){var e=this,t=e.options,n=t.template,r=t.dataSource;e.element.is(v)&&e.element[0].length&&(r||(t.dataTextField=t.dataTextField||"text",t.dataValueField=t.dataValueField||"value")),n?(n=i.template(n),e.template=function(e){return'
  • '+n(e)+"
  • "}):e.template=i.template('
  • ${'+i.expr(t.dataTextField,"data")+"}
  • ",{useWithBlock:!1})},_triggerCascade:function(){this._old!==this.value()&&this.trigger("cascade")},_unbindDataSource:function(){var e=this;e.dataSource.unbind(c,e._refreshHandler).unbind(_,e._progressHandler).unbind(b,e._requestEndHandler)}});w(S,{caret:function(e){var t,n=e.ownerDocument.selection;return t=n?Math.abs(n.createRange().moveStart(u,-e.value.length)):e.selectionStart},selectText:function(e,t,n){try{if(e.createTextRange){e.focus();var i=e.createTextRange();i.collapse(!0),i.moveStart(u,t),i.moveEnd(u,n-t),i.select()}else e.setSelectionRange(t,n)}catch(r){}},inArray:function(e,t){var n,i,r=t.children;if(!e||e.parentNode!==t)return-1;for(n=0,i=r.length;i>n;n++)if(e===r[n])return n;return-1}}),i.ui.List=S,r.Select=S.extend({init:function(e,t){S.fn.init.call(this,e,t)},setDataSource:function(e){this.options.dataSource=e,this._dataSource(),this.options.autoBind&&this.dataSource.fetch()},close:function(){this.popup.close()},select:function(e){var n=this;return e===t?n.selectedIndex:(n._select(e),n._triggerCascade(),n._old=n._accessor(),n._oldIndex=n.selectedIndex,t)},_accessor:function(e,n){var i,r,o=this.element,a=o.is(v);return o=o[0],e===t?(a?(r=o.selectedIndex,r>-1&&(i=o.options[r],i&&(e=i.value))):e=o.value,e):(a?o.selectedIndex=n:o.value=e,t)},_hideBusy:function(){var e=this;clearTimeout(e._busy),e._arrow.removeClass(h),e._focused.attr("aria-busy",!1),e._busy=null},_showBusy:function(){var e=this;e._request=!0,e._busy||(e._busy=setTimeout(function(){e._focused.attr("aria-busy",!0),e._arrow.addClass(h)},100))},_requestEnd:function(){this._request=!1},_dataSource:function(){var t,n=this,r=n.element,o=n.options,a=o.dataSource||{};a=e.isArray(a)?{data:a}:a,r.is(v)&&(t=r[0].selectedIndex,t>-1&&(o.index=t),a.select=r,a.fields=[{field:o.dataTextField},{field:o.dataValueField}]),n.dataSource&&n._refreshHandler?n._unbindDataSource():(n._refreshHandler=x(n.refresh,n),n._progressHandler=x(n._showBusy,n),n._requestEndHandler=x(n._requestEnd,n)),n.dataSource=i.data.DataSource.create(a).bind(c,n._refreshHandler).bind(_,n._progressHandler).bind(b,n._requestEndHandler)},_get:function(t){var n,i,r=this,o=r._data();if("function"==typeof t)for(n=0,i=o.length;i>n;n++)if(t(o[n])){t=n;break}if("number"==typeof t){if(0>t)return e();t=e(r.ul[0].children[t])}return t&&t.nodeType&&(t=e(t)),t},_move:function(e){var t,n=this,i=e.keyCode,r=n.ul[0],o=n.popup.visible()?"_select":"_accept",s=n._current,l=i===a.DOWN;return i===a.UP||l?(e.altKey?n.toggle(l):l?(s=!s||-1===n.selectedIndex&&!n.value()?r.firstChild:s[0].nextSibling,n[o](s)):n[o](s?s[0].previousSibling:r.lastChild),e.preventDefault(),t=!0):i===a.ENTER||i===a.TAB?(n.popup.visible()&&e.preventDefault(),n._accept(s),t=!0):i===a.ESC&&(n.popup.visible()&&e.preventDefault(),n.close(),t=!0),t},_selectItem:function(e){var t=this,n=t.options;e=t._selectedValue||n.value||t._accessor(),e?t.value(e):t.select(n.index)},_fetchItems:function(e){var n=this,i=n.ul[0].firstChild;return n._request?!0:n._fetch||i?t:n.options.cascadeFrom?!i:(n.dataSource.one(c,function(){n.value(e),n._fetch=!1}),n._fetch=!0,n.dataSource.fetch(),!0)},_options:function(e,n){var i,r,o,a,l=this,d=l.element,c=d[0].selectedIndex,u=e.length,p="",f=0;for(n&&(p=n,c+=1,f=1);u>f;f++)i="",p+=i;d.html(p),d[0].selectedIndex=c},_reset:function(){var e=this,t=e.element,n=t.closest("form");n[0]&&(e._resetHandler=function(){setTimeout(function(){e.value(t.val())})},e._form=n.on("reset",e._resetHandler))},_cascade:function(){var t,i,r,o,a=this,s=a.options,l=s.cascadeFrom;if(l){if(a._selectedValue=s.value||a._accessor(),t=e("#"+l).data("kendo"+s.name),!t)return;r=t.options.dataValueField,o=function(){var e=a._selectedValue||a.value();e?(a.value(e),a.dataSource.view()[0]&&-1!==a.selectedIndex||a._clearSelection(t,!0)):a.select(s.index),a.enable()},i=function(){var e,i,s=t.dataItem(),l=s?t._value(s):null;l?(e=a.dataSource.filter()||{},n(e,r),i=e.filters||[],i.push({field:r,operator:"eq",value:l}),a.dataSource.one(c,o).filter(i)):(a.enable(!1),a._clearSelection(t)),a._triggerCascade()},t.bind("cascade",function(){i()}),t._bound?i():t.value()||a.enable(!1)}}}),r.Select.removeFiltersForField=n}(window.kendo.jQuery),function(e,t){function n(e){for(var t,n=0,i=e.min,r=e.max,a=e.start,s=e.setter,l=e.build,d=e.cells||12,c=e.perRow||4,u=e.content||F,p=e.empty||D,f=e.html||'
';d>n;n++)n>0&&0===n%c&&(f+=''),t=l(a,n),f+=o(a,i,r)?u(t):p(t),s(a,1);return f+"
"}function i(e,t,n){var i=e.getFullYear(),r=t.getFullYear(),o=r,a=0;return n&&(r-=r%n,o=r-r%n+n-1),i>o?a=1:r>i&&(a=-1),a}function r(e,t,n){var i=new ut;return i=new ut(i.getFullYear(),i.getMonth(),i.getDate()),e&&(i=new ut(+e)),t>i?i=new ut(+t):i>n&&(i=new ut(+n)),i}function o(e,t,n){return+e>=+t&&+n>=+e}function a(e,t){return e.slice(t).concat(e.slice(0,t))}function s(e,t,n){t=t instanceof ut?t.getFullYear():e.getFullYear()+n*t,e.setFullYear(t)}function l(t){e(this).toggleClass(W,et.indexOf(t.type)>-1||t.type==J)}function d(e){e.preventDefault()}function c(e){return T(e).calendars.standard}function u(e){var n=pt[e.start],i=pt[e.depth],r=T(e.culture);e.format=k(e.format||r.calendars.standard.patterns.d),isNaN(n)&&(n=0,e.start=B),(i===t||i>n)&&(e.depth=B),e.dates||(e.dates=[])}function p(e){E&&e.find("*").attr("unselectable","on")}function f(e,t){for(var n=0,i=t.length;i>n;n++)if(e===+t[n])return!0;return!1}function h(e,t){return e?e.getFullYear()===t.getFullYear()&&e.getMonth()===t.getMonth()&&e.getDate()===t.getDate():!1}var m,g=window.kendo,v=g.support,_=g.ui,b=_.Widget,y=g.parseDate,w=g._adjustDate,x=g.keys,k=g._extractFormat,C=g.template,T=g.getCulture,S=g.support.transitions,A=S?S.css+"transform-origin":"",F=C('#=data.value#',{useWithBlock:!1}),D=C(' ',{useWithBlock:!1}),I=g.support.browser,E=I.msie&&(9>parseInt(I.version,10)||document.documentMode&&9>document.documentMode),P=".kendoCalendar",z="click"+P,H="keydown"+P,R="id",M="min",O="left",N="slideIn",B="month",L="century",V="change",U="navigate",j="value",W="k-state-hover",q="k-state-disabled",G="k-state-focused",$="k-other-month",Y=' class="'+$+'"',Q="k-nav-today",K="td:has(.k-link)",X="blur"+P,J="focus",Z=J+P,et=v.touch?"touchstart":"mouseenter",tt=v.touch?"touchstart"+P:"mouseenter"+P,nt=v.touch?"touchend"+P+" touchmove"+P:"mouseleave"+P,it=6e4,rt=864e5,ot="_prevArrow",at="_nextArrow",st="aria-disabled",lt="aria-selected",dt=e.proxy,ct=e.extend,ut=Date,pt={month:0,year:1,decade:2,century:3},ft=b.extend({init:function(t,n){var i,o,a=this;b.fn.init.call(a,t,n),t=a.wrapper=a.element,n=a.options,n.url=window.unescape(n.url),a._templates(),a._header(),a._footer(a.footer),o=t.addClass("k-widget k-calendar").on(tt+" "+nt,K,l).on(H,"table.k-content",dt(a._move,a)).on(z,K,function(t){var n=t.currentTarget.firstChild;-1!=n.href.indexOf("#")&&t.preventDefault(),a._click(e(n))}).on("mouseup"+P,function(){a._focusView(a.options.focusOnNav!==!1)}).attr(R),o&&(a._cellID=o+"_cell_selected"),i=n.value,u(n),a._index=pt[n.start],a._current=new ut(+r(i,n.min,n.max)),a._addClassProxy=function(){a._active=!0,a._cell.addClass(G)},a._removeClassProxy=function(){a._active=!1,a._cell.removeClass(G)},a.value(i),g.notify(a)},options:{name:"Calendar",value:null,min:new ut(1900,0,1),max:new ut(2099,11,31),dates:[],url:"",culture:"",footer:"",format:"",month:{},start:B,depth:B,animation:{horizontal:{effects:N,reverse:!0,duration:500,divisor:2},vertical:{effects:"zoomIn",duration:400}}},events:[V,U],setOptions:function(e){u(e),b.fn.setOptions.call(this,e)},destroy:function(){var e=this,t=e._today.off(P);e.element.off(P),e._title.off(P),e[ot].off(P),e[at].off(P),g.destroy(t),g.destroy(e._view),b.fn.destroy.call(e)},current:function(){return this._current},view:function(){return this._view},focus:function(e){e=e||this._table,this._bindTable(e),e.focus()},min:function(e){return this._option(M,e)},max:function(e){return this._option("max",e)},navigateToPast:function(){this._navigate(ot,-1)},navigateToFuture:function(){this._navigate(at,1)},navigateUp:function(){var e=this,t=e._index;e._title.hasClass(q)||e.navigate(e._current,++t)},navigateDown:function(e){var n=this,i=n._index,r=n.options.depth;if(e)return i===pt[r]?(+n._value!=+e&&(n.value(e),n.trigger(V)),t):(n.navigate(e,--i),t)},navigate:function(n,i){i=isNaN(i)?pt[i]:i;var o,a,s,l,d=this,c=d.options,u=c.culture,f=c.min,h=c.max,g=d._title,v=d._table,_=d._oldTable,b=d._value,y=d._current,w=n&&+n>+y,x=i!==t&&i!==d._index;n?d._current=n=new ut(+r(n,f,h)):n=y,i===t?i=d._index:d._index=i,d._view=a=m.views[i],s=a.compare,l=i===pt[L],g.toggleClass(q,l).attr(st,l),l=1>s(n,f),d[ot].toggleClass(q,l).attr(st,l),l=s(n,h)>-1,d[at].toggleClass(q,l).attr(st,l),v&&_&&_.data("animating")&&(_.kendoStop(!0,!0),v.kendoStop(!0,!0)),d._oldTable=v,(!v||d._changeView)&&(g.html(a.title(n,u)),d._table=o=e(a.content(ct({min:f,max:h,date:n,url:c.url,dates:c.dates,format:c.format,culture:u},d[a.name]))),p(o),d._animate({from:v,to:o,vertical:x,future:w}),d._focus(n),d.trigger(U)),i===pt[c.depth]&&b&&d._class("k-state-selected",a.toDateString(b)),d._class(G,a.toDateString(n)),!v&&d._cell&&d._cell.removeClass(G),d._changeView=!0},value:function(e){var n=this,i=n._view,r=n.options,a=r.min,s=r.max;return e===t?n._value:(e=y(e,r.format,r.culture),null!==e&&(e=new ut(+e),o(e,a,s)||(e=null)),n._value=e,n._changeView=!e||i&&0!==i.compare(e,n._current),n.navigate(e),t)},_move:function(t){var n,i,o,a,s=this,l=s.options,d=t.keyCode,c=s._view,u=s._index,p=new ut(+s._current);return t.target===s._table[0]&&(s._active=!0),t.ctrlKey?d==x.RIGHT?(s.navigateToFuture(),i=!0):d==x.LEFT?(s.navigateToPast(),i=!0):d==x.UP?(s.navigateUp(),i=!0):d==x.DOWN&&(s._click(e(s._cell[0].firstChild)),i=!0):(d==x.RIGHT?(n=1,i=!0):d==x.LEFT?(n=-1,i=!0):d==x.UP?(n=0===u?-7:-4,i=!0):d==x.DOWN?(n=0===u?7:4,i=!0):d==x.ENTER?(s._click(e(s._cell[0].firstChild)),i=!0):d==x.HOME||d==x.END?(o=d==x.HOME?"first":"last",a=c[o](p),p=new ut(a.getFullYear(),a.getMonth(),a.getDate(),p.getHours(),p.getMinutes(),p.getSeconds(),p.getMilliseconds()),i=!0):d==x.PAGEUP?(i=!0,s.navigateToPast()):d==x.PAGEDOWN&&(i=!0,s.navigateToFuture()),(n||o)&&(o||c.setDate(p,n),s._focus(r(p,l.min,l.max)))),i&&t.preventDefault(),s._current},_animate:function(e){var t=this,n=e.from,i=e.to,r=t._active;n?n.parent().data("animating")?(n.parent().kendoStop(!0,!0).remove(),n.remove(),i.insertAfter(t.element[0].firstChild),t._focusView(r)):n.is(":visible")&&t.options.animation!==!1?t[e.vertical?"_vertical":"_horizontal"](n,i,e.future):(i.insertAfter(n),n.remove(),t._focusView(r)):(i.insertAfter(t.element[0].firstChild),t._bindTable(i))},_horizontal:function(e,n,i){var r=this,o=r._active,a=r.options.animation.horizontal,s=a.effects,l=e.outerWidth();s&&-1!=s.indexOf(N)&&(e.add(n).css({width:l}),e.wrap("
"),r._focusView(o,e),e.parent().css({position:"relative",width:2*l,"float":O,"margin-left":i?0:-l}),n[i?"insertAfter":"insertBefore"](e),ct(a,{effects:N+":"+(i?"right":O),complete:function(){e.remove(),n.unwrap(),r._focusView(o),r._oldTable=t}}),e.parent().kendoStop(!0,!0).kendoAnimate(a))},_vertical:function(e,n){var i,r,o=this,a=o.options.animation.vertical,s=a.effects,l=o._active;s&&-1!=s.indexOf("zoom")&&(n.css({position:"absolute",top:e.prev().outerHeight(),left:0}).insertBefore(e),A&&(i=o._cellByDate(o._view.toDateString(o._current)),r=i.position(),r=r.left+parseInt(i.width()/2,10)+"px"+" "+(r.top+parseInt(i.height()/2,10)+"px"),n.css(A,r)),e.kendoStop(!0,!0).kendoAnimate({effects:"fadeOut",duration:600,complete:function(){e.remove(),n.css({position:"static",top:0,left:0}),o._focusView(l),o._oldTable=t}}),n.kendoStop(!0,!0).kendoAnimate(a))},_cellByDate:function(t){return this._table.find("td:not(."+$+")").filter(function(){return e(this.firstChild).attr(g.attr(j))===t})},_class:function(t,n){var i=this,r=i._cellID,o=i._cell;o&&o.removeAttr(lt).removeAttr(R),o=i._table.find("td:not(."+$+")").removeClass(t).filter(function(){return e(this.firstChild).attr(g.attr(j))===n}).attr(lt,!0),t!==G||i._active||i.options.focusOnNav===!1||(t=""),o.addClass(t),o[0]&&(i._cell=o),r&&(o.attr(R,r),i._table.removeAttr("aria-activedescendant").attr("aria-activedescendant",r))},_bindTable:function(e){e.on(Z,this._addClassProxy).on(X,this._removeClassProxy)},_click:function(e){var t=this,n=t.options,i=new Date(+t._current),o=e.attr(g.attr(j)).split("/");o=new ut(o[0],o[1],o[2]),w(o),t._view.setDate(i,o),t.navigateDown(r(i,n.min,n.max))},_focus:function(e){var t=this,n=t._view;0!==n.compare(e,t._current)?t.navigate(e):(t._current=e,t._class(G,n.toDateString(e)))},_focusView:function(e,t){e&&this.focus(t)},_footer:function(n){var i=this,r=i.element,o=new ut,a=r.find(".k-footer");return n?(a[0]||(a=e('').appendTo(r)),i._today=a.show().find(".k-link").html(n(o)).attr("title",g.toString(o,"D",i.options.culture)),i._toggle(),t):(i._toggle(!1),a.hide(),t)},_header:function(){var e,t=this,n=t.element,i=t.options.focusOnNav!==!1;n.find(".k-header")[0]||n.html('
'),e=n.find(".k-link").on(tt+" "+nt+" "+Z+" "+X,l).click(!1),t._title=e.eq(1).on(z,function(){t._focusView(i),t.navigateUp()}),t[ot]=e.eq(0).on(z,function(){t._focusView(i),t.navigateToPast()}),t[at]=e.eq(2).on(z,function(){t._focusView(i),t.navigateToFuture()})},_navigate:function(e,t){var n=this,i=n._index+1,r=new ut(+n._current);e=n[e],e.hasClass(q)||(i>3?r.setFullYear(r.getFullYear()+100*t):m.views[i].setDate(r,t),n.navigate(r))},_option:function(e,n){var i,r,o=this,a=o.options,s=+o._value,l=at;return n===t?a[e]:(n=y(n,a.format,a.culture),n&&(a[e]=new ut(+n),r=o._view.compare(n,o._current),e===M?(i=+n>s,r=r>-1,l=ot):(i=s>+n,r=1>r),i?o.value(null):r?o.navigate():o[l].toggleClass(q,!1).attr(st,!1),o._toggle()),t)},_toggle:function(e){var n=this,i=n.options,r=n._today;e===t&&(e=o(new ut,i.min,i.max)),r&&(r.off(z),e?r.addClass(Q).removeClass(q).on(z,dt(n._todayClick,n)):r.removeClass(Q).addClass(q).on(z,d))},_todayClick:function(e){var t=this,n=pt[t.options.depth],i=new ut;e.preventDefault(),0===t._view.compare(t._current,i)&&t._index==n&&(t._changeView=!1),t._value=i,t.navigate(i,n),t.trigger(V)},_templates:function(){var e=this,t=e.options,n=t.footer,i=t.month,r=i.content,o=i.empty;e.month={content:C(''+(r||"#=data.value#")+"",{useWithBlock:!!r}),empty:C(''+(o||" ")+"",{useWithBlock:!!o})},n!==!1&&(e.footer=C(n||'#= kendo.toString(data,"D","'+t.culture+'") #',{useWithBlock:!1}))}});_.plugin(ft),m={firstDayOfMonth:function(e){return new ut(e.getFullYear(),e.getMonth(),1)},firstVisibleDay:function(e,t){t=t||g.culture().calendar;for(var n=t.firstDay,i=new ut(e.getFullYear(),e.getMonth(),0,e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds());i.getDay()!=n;)m.setTime(i,-1*rt);return i},setTime:function(e,t){var n=e.getTimezoneOffset(),i=new ut(e.getTime()+t),r=i.getTimezoneOffset()-n;e.setTime(i.getTime()+r*it)},views:[{name:B,title:function(e,t){return c(t).months.names[e.getMonth()]+" "+e.getFullYear()},content:function(e){for(var t=this,i=0,r=e.min,o=e.max,s=e.date,l=e.dates,d=e.format,u=e.culture,p=e.url,h=p&&l[0],v=c(u),_=v.firstDay,b=v.days,y=a(b.names,_),x=a(b.namesShort,_),k=m.firstVisibleDay(s,v),C=t.first(s),T=t.last(s),S=t.toDateString,A=new ut,F='';7>i;i++)F+='";return A=new ut(A.getFullYear(),A.getMonth(),A.getDate()),w(A),A=+A,n({cells:42,perRow:7,html:F+='',start:new ut(k.getFullYear(),k.getMonth(),k.getDate()),min:new ut(r.getFullYear(),r.getMonth(),r.getDate()),max:new ut(o.getFullYear(),o.getMonth(),o.getDate()),content:e.content,empty:e.empty,setter:t.setDate,build:function(e){var t=[],n=e.getDay(),i="",r="#";return(C>e||e>T)&&t.push($),+e===A&&t.push("k-today"),(0===n||6===n)&&t.push("k-weekend"),h&&f(+e,l)&&(r=p.replace("{0}",g.toString(e,d,u)),i=" k-action-link"),{date:e,dates:l,ns:g.ns,title:g.toString(e,"D",u),value:e.getDate(),dateString:S(e),cssClass:t[0]?' class="'+t.join(" ")+'"':"",linkClass:i,url:r}}})},first:function(e){return m.firstDayOfMonth(e)},last:function(e){var t=new ut(e.getFullYear(),e.getMonth()+1,0),n=m.firstDayOfMonth(e),i=Math.abs(t.getTimezoneOffset()-n.getTimezoneOffset());return i&&t.setHours(n.getHours()+i/60),t},compare:function(e,t){var n,i=e.getMonth(),r=e.getFullYear(),o=t.getMonth(),a=t.getFullYear();return n=r>a?1:a>r?-1:i==o?0:i>o?1:-1},setDate:function(e,t){var n=e.getHours();t instanceof ut?e.setFullYear(t.getFullYear(),t.getMonth(),t.getDate()):m.setTime(e,t*rt),w(e,n)},toDateString:function(e){return e.getFullYear()+"/"+e.getMonth()+"/"+e.getDate()}},{name:"year",title:function(e){return e.getFullYear()},content:function(e){var t=c(e.culture).months.namesAbbr,i=this.toDateString,r=e.min,o=e.max;return n({min:new ut(r.getFullYear(),r.getMonth(),1),max:new ut(o.getFullYear(),o.getMonth(),1),start:new ut(e.date.getFullYear(),0,1),setter:this.setDate,build:function(e){return{value:t[e.getMonth()],ns:g.ns,dateString:i(e),cssClass:""}}})},first:function(e){return new ut(e.getFullYear(),0,e.getDate())},last:function(e){return new ut(e.getFullYear(),11,e.getDate())},compare:function(e,t){return i(e,t)},setDate:function(e,t){var n,i=e.getHours();t instanceof ut?(n=t.getMonth(),e.setFullYear(t.getFullYear(),n,e.getDate()),n!==e.getMonth()&&e.setDate(0)):(n=e.getMonth()+t,e.setMonth(n),n>11&&(n-=12),n>0&&e.getMonth()!=n&&e.setDate(0)),w(e,i)},toDateString:function(e){return e.getFullYear()+"/"+e.getMonth()+"/1"}},{name:"decade",title:function(e){var t=e.getFullYear();return t-=t%10,t+"-"+(t+9)},content:function(e){var t=e.date.getFullYear(),i=this.toDateString;return n({start:new ut(t-t%10-1,0,1),min:new ut(e.min.getFullYear(),0,1),max:new ut(e.max.getFullYear(),0,1),setter:this.setDate,build:function(e,t){return{value:e.getFullYear(),ns:g.ns,dateString:i(e),cssClass:0===t||11==t?Y:""}}})},first:function(e){var t=e.getFullYear();return new ut(t-t%10,e.getMonth(),e.getDate())},last:function(e){var t=e.getFullYear();return new ut(t-t%10+9,e.getMonth(),e.getDate())},compare:function(e,t){return i(e,t,10)},setDate:function(e,t){s(e,t,1)},toDateString:function(e){return e.getFullYear()+"/0/1"}},{name:L,title:function(e){var t=e.getFullYear();return t-=t%100,t+"-"+(t+99)},content:function(e){var t=e.date.getFullYear(),i=e.min.getFullYear(),r=e.max.getFullYear(),o=this.toDateString;return i-=i%10,r-=r%10,10>r-i&&(r=i+9),n({start:new ut(t-t%100-10,0,1),min:new ut(i,0,1),max:new ut(r,0,1),setter:this.setDate,build:function(e,t){var n=e.getFullYear();return{value:n+" - "+(n+9),ns:g.ns,dateString:o(e),cssClass:0===t||11==t?Y:""}}})},first:function(e){var t=e.getFullYear();return new ut(t-t%100,e.getMonth(),e.getDate())},last:function(e){var t=e.getFullYear();return new ut(t-t%100+99,e.getMonth(),e.getDate())},compare:function(e,t){return i(e,t,100)},setDate:function(e,t){s(e,t,10)},toDateString:function(e){var t=e.getFullYear();return t-t%10+"/0/1"}}]},m.isEqualDatePart=h,m.makeUnselectable=p,m.restrictValue=r,m.isInRange=o,m.normalize=u,m.viewsEnum=pt,g.calendar=m}(window.kendo.jQuery),function(e,t){function n(t){var n=t.parseFormats;R.normalize(t),n=e.isArray(n)?n:[n],n.splice(0,0,t.format),t.parseFormats=n}function i(e){e.preventDefault()}var r,o=window.kendo,a=o.ui,s=a.Widget,l=o.parseDate,d=o.keys,c=o.template,u="
",p="",f=".kendoDatePicker",h="click"+f,m="open",g="close",v="change",_="dateView",b="disabled",y="k-state-default",w="k-state-focused",x="k-state-selected",k="k-state-disabled",C="k-state-hover",T="keydown"+f,S="mouseenter"+f+" mouseleave"+f,A="mousedown"+f,F="id",D="min",I="max",E="month",P="aria-disabled",z="aria-expanded",H="aria-hidden",R=o.calendar,M=R.isInRange,O=R.restrictValue,N=R.isEqualDatePart,B=e.extend,L=e.proxy,V=Date,U=function(t){var n,i=this,s=document.body,l=r.sharedCalendar,d=e(u).attr(H,"true").addClass("k-calendar-container").appendTo(s);l||(l=r.sharedCalendar=new a.Calendar(e(u).attr(F,o.guid()).hide().appendTo(s),{focusOnNav:!1}),R.makeUnselectable(l.element)),i.calendar=l,i.options=t=t||{},n=t.id,n&&(n+="_dateview",d.attr(F,n),i._dateViewID=n),i.popup=new a.Popup(d,B(t.popup,t,{name:"Popup",isRtl:o.support.isRtl(t.anchor)})),i.div=d,i._templates(),i.value(t.value)};U.prototype={_calendar:function(){var e=this,t=e.popup,n=e.options,r=e.calendar,o=r.element;o.data(_)!==e&&(o.appendTo(t.element).data(_,e).off(h+" "+T).on(h,"td:has(.k-link)",L(e._click,e)).on(A,i).show(),r.unbind(v).bind(v,n),r.month=e.month,r.options.dates=n.dates,r.options.depth=n.depth,r.options.culture=n.culture,r._footer(e.footer),r.min(n.min),r.max(n.max),r.navigate(e._value,n.start),e.value(e._value))},destroy:function(){var n,i=this,o=i.calendar,a=o.element,s=a.data(_);(s===t||s===i)&&(n=e(".k-calendar-container"),n.length>1?a.hide().appendTo(document.body):(a.off(f),o.destroy(),r.sharedCalendar=null)),i.popup.destroy()},open:function(){var e=this;e._calendar(),e.popup.open()},close:function(){this.popup.close()},min:function(e){this._option(D,e)},max:function(e){this._option(I,e)},toggle:function(){var e=this;e[e.popup.visible()?g:m]()},move:function(e){var n=this,i=e.keyCode,r=n.calendar,o=e.ctrlKey&&i==d.DOWN||i==d.ENTER;if(i==d.ESC)return n.close(),t;if(e.altKey)return i==d.DOWN?(n.open(),e.preventDefault()):i==d.UP&&(n.close(),e.preventDefault()),t;if(n.popup.visible())return o&&r._cell.hasClass(x)?(n.close(),e.preventDefault(),t):(n._current=r._move(e),t)},value:function(e){var t=this,n=t.calendar,i=t.options;t._value=e,t._current=new V(+O(e,i.min,i.max)),n.element.data(_)===t&&n.value(e)},_click:function(e){-1!==e.currentTarget.className.indexOf(x)&&this.close()},_option:function(e,t){var n=this,i=n.options,r=n.calendar;i[e]=t,r.element.data(_)===n&&r[e](t)},_templates:function(){var e=this,t=e.options,n=t.footer,i=t.month||{},r=i.content,a=i.empty;e.month={content:c(''+(r||"#=data.value#")+"",{useWithBlock:!!r}),empty:c("
",{useWithBlock:!!a})},n!==!1&&(e.footer=c(n||'#= kendo.toString(data,"D","'+t.culture+'") #',{useWithBlock:!1}))}},U.normalize=n,o.DateView=U,r=s.extend({init:function(e,t){var i,r=this;s.fn.init.call(r,e,t),e=r.element,t=r.options,n(t),r._wrapper(),r.dateView=new U(B({},t,{id:e.attr(F),anchor:r.wrapper,change:function(){r._change(this.value()),r.close()},close:function(t){r.trigger(g)?t.preventDefault():(e.attr(z,!1),i.attr(H,!0))},open:function(t){var n,o=r.options;r.trigger(m)?t.preventDefault():(n=l(e.val(),o.parseFormats,o.culture),n?(r.dateView._current=n,r.dateView.calendar._focus(n)):r.dateView.value(n),e.attr(z,!0),i.attr(H,!1))}})),i=r.dateView.div,r._icon(),e[0].type="text",e.addClass("k-input").on("keydown"+f,L(r._keydown,r)).on("blur"+f,L(r._blur,r)).on("focus"+f,function(){r._inputWrapper.addClass(w)}).attr({role:"textbox","aria-haspopup":!0,"aria-expanded":!1,"aria-owns":r.dateView._dateViewID}),r._reset(),r._template(),r.enable(!e.is("[disabled]")),r.value(t.value||r.element.val()),o.notify(r)},events:[m,g,v],options:{name:"DatePicker",value:null,footer:"",format:"",culture:"",parseFormats:[],min:new Date(1900,0,1),max:new Date(2099,11,31),start:E,depth:E,animation:{},month:{},dates:[],ARIATemplate:'Current focused date is #=kendo.toString(data.current, "D")#'},setOptions:function(e){var t=this,i=t.dateView,r=i.options;s.fn.setOptions.call(t,e),n(t.options),i.options=B(r,t.options,{change:r.change,close:r.close,open:r.open})},enable:function(e){var t=this,n=t._dateIcon.off(f),r=t._inputWrapper.off(f),o=t.element;e===!1?(r.removeClass(y).addClass(k),o.attr(b,b).attr(P,!0)):(r.addClass(y).removeClass(k).on(S,t._toggleHover),o.removeAttr(b).attr(P,!1),n.on(h,L(t._click,t)).on(A,i))},destroy:function(){var e=this;s.fn.destroy.call(e),e.dateView.destroy(),e.element.off(f),e._dateIcon.off(f),e._inputWrapper.off(f),e._form&&e._form.off("reset",e._resetHandler)},open:function(){this.dateView.open()},close:function(){this.dateView.close()},min:function(e){return this._option(D,e)},max:function(e){return this._option(I,e)},value:function(e){var n=this;return e===t?n._value:(n._old=n._update(e),null===n._old&&n.element.val(""),t)},_toggleHover:function(t){e(t.currentTarget).toggleClass(C,"mouseenter"===t.type)},_blur:function(){var e=this;e.close(),e._change(e.element.val()),e._inputWrapper.removeClass(w)},_click:function(e){var t=this,n=t.element;t.dateView.toggle(),"click"===e.type&&n[0]!==document.activeElement&&n.focus()},_change:function(e){var t=this;e=t._update(e),+t._old!=+e&&(t._old=e,t.trigger(v),t.element.trigger(v))},_keydown:function(e){var t=this,n=t.dateView;n.popup.visible()||e.keyCode!=d.ENTER?(n.move(e),t._updateARIA(n._current)):t._change(t.element.val())},_icon:function(){var t,n=this,i=n.element;t=i.next("span.k-select"),t[0]||(t=e('select').insertAfter(i)),n._dateIcon=t.attr({role:"button","aria-controls":n.dateView._dateViewID})},_option:function(e,n){var i=this,r=i.options;return n===t?r[e]:(n=l(n,r.parseFormats,r.culture),n&&(r[e]=new V(+n),i.dateView[e](n)),t)},_update:function(e){var t,n=this,i=n.options,r=i.min,a=i.max,s=l(e,i.parseFormats,i.culture);return+s===+n._value?(t=o.toString(s,i.format,i.culture),t!==e&&n.element.val(null===s?e:t),s):(null!==s&&N(s,r)?s=O(s,r,a):M(s,r,a)||(s=null),n._value=s,n.dateView.value(s),n.element.val(s?o.toString(s,i.format,i.culture):e),n._updateARIA(s),s) -},_wrapper:function(){var t,n=this,i=n.element;t=i.parents(".k-datepicker"),t[0]||(t=i.wrap(p).parent().addClass("k-picker-wrap k-state-default"),t=t.wrap(p).parent()),t[0].style.cssText=i[0].style.cssText,i.css({width:"100%",height:i[0].style.height}),n.wrapper=t.addClass("k-widget k-datepicker k-header").addClass(i[0].className),n._inputWrapper=e(t[0].firstChild)},_reset:function(){var e=this,t=e.element,n=t.closest("form");n[0]&&(e._resetHandler=function(){e.value(t[0].defaultValue)},e._form=n.on("reset",e._resetHandler))},_template:function(){this._ariaTemplate=c(this.options.ARIATemplate)},_updateARIA:function(e){this.element.attr("aria-label",this._ariaTemplate({current:e}))}}),a.plugin(r)}(window.kendo.jQuery),function(e,t){function n(e,t,n){return n?t.substring(0,e).split(n).length-1:0}function i(e,t,i){return t.split(i)[n(e,t,i)]}function r(e,t,i,r){var o=t.split(r);return o.splice(n(e,t,r),1,i),r&&""!==o[o.length-1]&&o.push(""),o.join(r)}function o(e){var t=e.value.length;k(e,t,t)}var a=window.kendo,s=a.support,l=s.placeholder,d=a.ui,c=a.keys,u=a.data.DataSource,p=d.List,f="aria-disabled",h="k-state-default",m="disabled",g="k-state-focused",v="k-state-selected",_="k-state-disabled",b="k-state-hover",y=".kendoAutoComplete",w="mouseenter"+y+" mouseleave"+y,x=p.caret,k=p.selectText,C=e.proxy,T=p.extend({init:function(t,n){var i,r=this;r.ns=y,n=e.isArray(n)?{dataSource:n}:n,p.fn.init.call(r,t,n),t=r.element,n=r.options,n.placeholder=n.placeholder||t.attr("placeholder"),l&&t.attr("placeholder",n.placeholder),r._wrapper(),r._loader(),r._accessors(),r._dataSource(),t[0].type="text",i=r.wrapper,r._popup(),t.addClass("k-input").on("keydown"+y,C(r._keydown,r)).on("paste"+y,C(r._search,r)).on("focus"+y,function(){r._prev=r._accessor(),r._placeholder(!1),i.addClass(g)}).on("blur"+y,function(){r._change(),r._placeholder(),i.removeClass(g)}).attr({autocomplete:"off",role:"textbox","aria-haspopup":!0}),r._enable(),r._popup(),r._old=r._accessor(),t[0].id&&t.attr("aria-owns",r.ul[0].id),r._aria(),r._placeholder(),a.notify(r)},options:{name:"AutoComplete",enable:!0,suggest:!1,template:"",dataTextField:"",minLength:1,delay:200,height:200,filter:"startswith",ignoreCase:!0,highlightFirst:!1,separator:null,placeholder:"",animation:{}},_dataSource:function(){var e=this;e.dataSource&&e._refreshHandler?e._unbindDataSource():(e._refreshHandler=C(e.refresh,e),e._progressHandler=C(e._showBusy,e)),e.dataSource=u.create(e.options.dataSource).bind("change",e._refreshHandler).bind("progress",e._progressHandler)},setDataSource:function(e){this.options.dataSource=e,this._dataSource()},events:["open","close","change","select","dataBinding","dataBound"],setOptions:function(e){p.fn.setOptions.call(this,e),this._template(),this._accessors(),this._aria()},enable:function(e){var t=this,n=t.element,i=t.wrapper.off(w);e===!1?(i.removeClass(h).addClass(_),n.attr(m,m).attr(f,!0)):(i.removeClass(_).addClass(h).on(w,t._toggleHover),n.removeAttr(m).attr(f,!1))},close:function(){var e=this;e.current(null),e.popup.close()},destroy:function(){var e=this;e.element.off(y),e.wrapper.off(y),p.fn.destroy.call(e)},refresh:function(){var n,i=this,r=i.ul[0],o=i.popup,s=i.options,l=i._data(),d=l.length;i.trigger("dataBinding"),r.innerHTML=a.render(i.template,l),i._height(d),o.visible()&&o._position(),d&&(s.highlightFirst&&i.current(e(r.firstChild)),s.suggest&&i.suggest(e(r.firstChild))),i._open&&(i._open=!1,n=d?"open":"close",i._typing&&i.element[0]!==document.activeElement&&(n="close"),o[n](),i._typing=t),i._touchScroller&&i._touchScroller.reset(),i._makeUnselectable(),i._hideBusy(),i.trigger("dataBound")},select:function(e){this._select(e)},search:function(e){var t,n=this,r=n.options,o=r.ignoreCase,a=r.separator;e=e||n._accessor(),n._current=null,clearTimeout(n._typing),a&&(e=i(x(n.element[0]),e,a)),t=e.length,t?t>=n.options.minLength&&(n._open=!0,n.dataSource.filter({value:o?e.toLowerCase():e,operator:r.filter,field:r.dataTextField,ignoreCase:o})):n.popup.close()},suggest:function(e){var i,r=this,o=r._last,a=r._accessor(),s=r.element[0],l=x(s),d=r.options.separator,u=a.split(d),f=n(l,a,d),h=l;return o==c.BACKSPACE||o==c.DELETE?(r._last=t,t):(e=e||"","string"!=typeof e&&(i=p.inArray(e[0],r.ul[0]),e=i>-1?r._text(r._data()[i]):""),0>=l&&(l=a.toLowerCase().indexOf(e.toLowerCase())+1),i=a.substring(0,l).lastIndexOf(d),i=i>-1?l-(i+d.length):l,a=u[f].substring(0,i),e&&(i=e.toLowerCase().indexOf(a.toLowerCase()),i>-1&&(e=e.substring(i+a.length),h=l+e.length,a+=e),d&&""!==u[u.length-1]&&u.push("")),u[f]=a,r._accessor(u.join(d||"")),k(s,l,h),t)},value:function(e){return e===t?this._accessor():(this._accessor(e),this._old=e,t)},_accessor:function(e){var n=this,i=n.element[0];return e===t?(e=i.value,i.className.indexOf("k-readonly")>-1?e===n.options.placeholder?"":e:e):(i.value=null===e?"":e,n._placeholder(),t)},_accept:function(e){var t=this;t._focus(e),o(t.element[0])},_keydown:function(t){var n=this,i=n.ul[0],r=t.keyCode,o=n._current,a=n.popup.visible();n._last=r,r===c.DOWN?(a&&n._move(o?o.next():e(i.firstChild)),t.preventDefault()):r===c.UP?(a&&n._move(o?o.prev():e(i.lastChild)),t.preventDefault()):r===c.ENTER||r===c.TAB?(r===c.ENTER&&n.popup.visible()&&t.preventDefault(),n._accept(o)):r===c.ESC?(n.popup.visible()&&t.preventDefault(),n.close()):n._search()},_move:function(e){var t=this;e=e[0]?e:null,t.current(e),t.options.suggest&&t.suggest(e)},_hideBusy:function(){var e=this;clearTimeout(e._busy),e._loading.hide(),e.element.attr("aria-busy",!1),e._busy=null},_showBusy:function(){var e=this;e._busy||(e._busy=setTimeout(function(){e.element.attr("aria-busy",!0),e._loading.show()},100))},_placeholder:function(e){if(!l){var n,i=this,r=i.element,o=i.options.placeholder;if(o){if(n=r.val(),e===t&&(e=!n),e||(o=n!==o?n:""),n===i._old&&!e)return;r.toggleClass("k-readonly",e).val(o)}}},_search:function(){var e=this;clearTimeout(e._typing),e._typing=setTimeout(function(){e._prev!==e._accessor()&&(e._prev=e._accessor(),e.search())},e.options.delay)},_select:function(t){var n,i,o=this,a=o.options.separator,s=o._data();t=e(t),t[0]&&!t.hasClass(v)&&(i=p.inArray(t[0],o.ul[0]),i>-1&&(s=s[i],n=o._text(s),a&&(n=r(x(o.element[0]),o._accessor(),n,a)),o._accessor(n),o.current(t.addClass(v))))},_loader:function(){this._loading=e('').insertAfter(this.element)},_toggleHover:function(t){e(t.currentTarget).toggleClass(b,"mouseenter"===t.type)},_wrapper:function(){var e,t=this,n=t.element,i=n[0];e=n.parent(),e.is("span.k-widget")||(e=n.wrap("").parent()),e.attr("tabindex",-1),e.attr("role","presentation"),e[0].style.cssText=i.style.cssText,n.css({width:"100%",height:i.style.height}),t._focused=t.element,t.wrapper=e.addClass("k-widget k-autocomplete k-header").addClass(i.className)}});d.plugin(T)}(window.kendo.jQuery),function(e,t){function n(e,t,n){for(var i,r=0,o=t.length-1;o>r;++r)i=t[r],i in e||(e[i]={}),e=e[i];e[t[o]]=n}var i=window.kendo,r=i.ui,o=r.Select,a=i.support.mobileOS,s=".kendoDropDownList",l="disabled",d="change",c="select",u="k-state-focused",p="k-state-default",f="k-state-disabled",h="k-state-selected",m="mouseenter"+s+" mouseleave"+s,g=e.proxy,v=o.extend({init:function(n,r){var a,l,d,u=this,p=r&&r.index;u.ns=s,r=e.isArray(r)?{dataSource:r}:r,o.fn.init.call(u,n,r),u._focusHandler=function(){u.wrapper.focus()},r=u.options,n=u.element.on("focus"+s,u._focusHandler),u._reset(),u._word="",u._wrapper(),u._tabindex(),u._aria(),u._span(),u._popup(),u._mobile(),u._accessors(),u._dataSource(),u._enable(),u._cascade(),u.selectedIndex=-1,p!==t&&(r.index=p),r.autoBind?u.dataSource.fetch():(d=r.text,d||(a=u._optionLabelText(r.optionLabel),l=a&&0===r.index,n.is(c)?d=l?a:n.children(":selected").text():!n[0].value&&l&&(d=a)),u.text(d)),i.notify(u)},options:{name:"DropDownList",enable:!0,index:0,autoBind:!0,text:"",template:"",delay:500,height:200,dataTextField:"",dataValueField:"",optionLabel:"",cascadeFrom:"",ignoreCase:!0,animation:{}},events:["open","close",d,"select","dataBinding","dataBound","cascade"],setOptions:function(e){o.fn.setOptions.call(this,e),this._template(),this._accessors(),this._aria()},destroy:function(){var e=this;e.wrapper.off(s),e.element.off(s),e._inputWrapper.off(s),o.fn.destroy.call(e)},enable:function(e){var t=this,n=t.element,i=t.wrapper.off(s),r=t._inputWrapper.off(m);e===!1?(n.attr(l,l),r.removeClass(p).addClass(f)):(n.removeAttr(l,l),r.addClass(p).removeClass(f).on(m,t._toggleHover),i.on("click"+s,function(e){t._blured=!1,e.preventDefault(),t.toggle()}).on("keydown"+s,g(t._keydown,t)).on("keypress"+s,g(t._keypress,t)).on("focusin"+s,function(){r.addClass(u),t._blured=!1}).on("focusout"+s,function(){t._blured||(t._triggerCascade(),t._blur(),r.removeClass(u),t._blured=!0,n.blur())}))},open:function(){var e=this;e.ul[0].firstChild?(e.popup.open(),e._scroll(e._current)):(e._open=!0,e._request||e.dataSource.fetch())},toggle:function(e){this._toggle(e)},refresh:function(){var e=this,t=e._data(),n=t.length,r=e.options.optionLabel;e.trigger("dataBinding"),e._current&&e.current(null),e.ul[0].innerHTML=i.render(e.template,t),e._height(n),e.popup.visible()&&e.popup._position(),e.element.is(c)&&(r&&n&&(r=e._optionLabelText(r),r='"),e._options(t,r)),e._open&&(e._open=!1,e.toggle(!!n)),e._hideBusy(),e._makeUnselectable(),!e._fetch&&n&&e._selectItem(),e._bound=!0,e.trigger("dataBound")},search:function(e){if(e){var n=this,i=n.options.ignoreCase;i&&(e=e.toLowerCase()),n._select(function(r){var o=n._text(r);return o!==t?(o+="",i&&(o=o.toLowerCase()),0===o.indexOf(e)):t})}},text:function(e){var n=this.span;return e===t?n.text():(n.text(e),t)},value:function(e){var n,i,r=this;return e===t?r._accessor():(null!==e&&(e=""+e),r._selectedValue=e,i=e||r.options.optionLabel&&!r.element[0].disabled&&""===e,i&&r._fetchItems(e)||(n=r._index(e),r.select(n>-1?n:0)),t)},_accept:function(e){this._focus(e)},_optionLabelText:function(){var e=this.options,t=e.dataTextField,n=e.optionLabel;return n&&t&&"object"==typeof n?this._text(n):n},_data:function(){var e=this,t=e.options,r=t.optionLabel,o=t.dataTextField,a=t.dataValueField,s=e.dataSource.view(),l=s.length,d=r,c=0;if(r&&l){for("object"==typeof r?d=r:o&&(d={},o=o.split("."),a=a.split("."),n(d,a,""),n(d,o,r)),d=new i.data.ObservableArray([d]);l>c;c++)d.push(s[c]);s=d}return s},_keydown:function(e){var t=this,n=e.keyCode,r=i.keys,o=t.ul[0];n===r.LEFT?n=r.UP:n===r.RIGHT&&(n=r.DOWN),e.keyCode=n,t._move(e),n===r.HOME?(e.preventDefault(),t._select(o.firstChild)):n===r.END&&(e.preventDefault(),t._select(o.lastChild))},_keypress:function(e){var t=this;setTimeout(function(){t._word+=String.fromCharCode(e.keyCode||e.charCode),t._search()})},_popup:function(){o.fn._popup.call(this),this.popup.one("open",function(){this.wrapper=i.wrap(this.element).addClass("km-popup")})},_search:function(){var e=this;clearTimeout(e._typing),e._typing=setTimeout(function(){e._word=""},e.options.delay),e.search(e._word)},_select:function(e){var n,i,o,a=this,s=a._current,l=a._data();e=a._get(e),e&&e[0]&&!e.hasClass(h)&&(s&&s.removeClass(h),o=r.List.inArray(e[0],a.ul[0]),o>-1&&(l=l[o],i=a._text(l),n=a._value(l),a.selectedIndex=o,a.text(i),a._accessor(n!==t?n:i,o),a._selectedValue=a._accessor(),a.current(e.addClass(h)),a._optionID&&a._current.attr("aria-selected",!0)))},_mobile:function(){var e=this,t=e.popup,n=t.element.parents(".km-root").eq(0);n.length&&a&&(t.options.animation.open.effects=a.android||a.meego?"fadeIn":a.ios?"slideIn:up":t.options.animation.open.effects)},_span:function(){var t,n=this,i=n.wrapper,r="span.k-input";t=i.find(r),t[0]||(i.append(' select').append(n.element),t=i.find(r)),n.span=t,n._inputWrapper=e(i[0].firstChild),n._arrow=i.find(".k-icon").mousedown(function(e){e.preventDefault()})},_wrapper:function(){var e,t=this,n=t.element,i=n[0];e=n.parent(),e.is("span.k-widget")||(e=n.wrap("").parent(),e[0].style.cssText=i.style.cssText),n.hide(),t._focused=t.wrapper=e.addClass("k-widget k-dropdown k-header").addClass(i.className).css("display","").attr({unselectable:"on",role:"listbox","aria-haspopup":!0,"aria-expanded":!1})},_clearSelection:function(){var e=this,n=e.options.optionLabel;return e.dataSource.view()[0]&&n?(e.select(0),t):(e.text(n),e.element.val(""),e.selectedIndex=-1,t)}});r.plugin(v)}(window.kendo.jQuery),function(e,t){var n=window.kendo,i=n.ui,r=i.List,o=i.Select,a=n.support,s=a.placeholder,l=o.removeFiltersForField,d=n.keys,c=".kendoComboBox",u="click"+c,p="disabled",f="change",h="k-state-default",m="k-state-disabled",g="k-state-focused",v="mousedown"+c,_="select",b="aria-disabled",y="k-state-selected",w="filter",x="accept",k="rebind",C="mouseenter"+c+" mouseleave"+c,T=null,S=e.proxy,A=o.extend({init:function(t,i){var r,a,s=this;s.ns=c,i=e.isArray(i)?{dataSource:i}:i,o.fn.init.call(s,t,i),s._focusHandler=function(){s.input.focus()},i=s.options,t=s.element.on("focus"+c,s._focusHandler),i.placeholder=i.placeholder||t.attr("placeholder"),s._reset(),s._wrapper(),s._input(),s._tabindex(s.input),s._popup(),s._accessors(),s._dataSource(),s._enable(),s._cascade(),r=s._inputWrapper,s.input.on("keydown"+c,S(s._keydown,s)).on("focus"+c,function(){r.addClass(g),s._placeholder(!1)}).on("blur"+c,function(){r.removeClass(g),clearTimeout(s._typing),s.options.text!==s.input.val()&&s.text(s.text()),s._placeholder(),s._blur(),t.blur()}).attr({role:"combobox","aria-expanded":!1}),s._aria(),s._oldIndex=s.selectedIndex=-1,s._old=i.value||s._accessor(),i.autoBind?s._filterSource():(a=i.text,!a&&t.is(_)&&(a=t.children(":selected").text()),a&&s.input.val(a)),a||s._placeholder(),n.notify(s)},options:{name:"ComboBox",enable:!0,index:-1,autoBind:!0,delay:200,dataTextField:"",dataValueField:"",minLength:0,height:200,highlightFirst:!0,template:"",filter:"none",placeholder:"",suggest:!1,ignoreCase:!0,animation:{}},events:["open","close",f,"select","dataBinding","dataBound","cascade"],setOptions:function(e){o.fn.setOptions.call(this,e),this._template(),this._accessors(),this._aria()},current:function(e){var n=this,i=n._current;return e===t?i:(i&&i.removeClass(y),o.fn.current.call(n,e),t)},destroy:function(){var e=this;e.input.off(c),e.element.off(c),e._inputWrapper.off(c),o.fn.destroy.call(e)},enable:function(e){var t=this,n=t.input.add(t.element),i=t._inputWrapper.off(C),r=t._arrow.parent().off(u+" "+v);e===!1?(i.removeClass(h).addClass(m),n.attr(p,p).attr(b,!0)):(i.removeClass(m).addClass(h).on(C,t._toggleHover),n.removeAttr(p).attr(b,!1),r.on(u,function(){t.toggle()}).on(v,function(e){e.preventDefault()}))},open:function(){var e=this,t=e.dataSource.options.serverFiltering;e.popup.visible()||(!e.ul[0].firstChild||e._state===x&&!t?(e._open=!0,e._state=k,e._filterSource()):(e.popup.open(),e._scroll(e._current)))},refresh:function(){var i,r,o,a=this,s=a.ul[0],l=a.options,d=a._state,c=a._data(),u=c.length;a.trigger("dataBinding"),s.innerHTML=n.render(a.template,c),a._height(u),a.popup.visible()&&a.popup._position(),a.element.is(_)&&(d===k&&(a._state="",i=a.value()),o=a._option,a._option=t,a._options(c),o&&o[0].selected&&a._custom(o.val())),u&&(l.highlightFirst&&a.current(e(s.firstChild)),l.suggest&&a.input.val()&&a._request!==t&&a.suggest(e(s.firstChild))),d===w||a._fetch||a._selectItem(),a._open&&(a._open=!1,r=!!u,a._typing&&a.input[0]!==document.activeElement&&(r=!1),a.toggle(r),a._typing=t),a._touchScroller&&a._touchScroller.reset(),a._makeUnselectable(),a._hideBusy(),a._bound=!0,a.trigger("dataBound")},search:function(e){e="string"==typeof e?e:this.text();var t=this,n=e.length,i=t.options,r=i.ignoreCase,o=i.filter,a=i.dataTextField;clearTimeout(t._typing),n>=i.minLength&&(t._state=w,"none"===o?t._filter(e):(t._open=!0,t._filterSource({value:r?e.toLowerCase():e,field:a,operator:o,ignoreCase:r})))},suggest:function(e){var n,i=this,o=i.input[0],a=i.text(),s=r.caret(o),l=i._last;return l==d.BACKSPACE||l==d.DELETE?(i._last=t,t):(e=e||"","string"!=typeof e&&(n=r.inArray(e[0],i.ul[0]),e=n>-1?i._text(i.dataSource.view()[n]):""),0>=s&&(s=a.toLowerCase().indexOf(e.toLowerCase())+1),e?(n=e.toLowerCase().indexOf(a.toLowerCase()),n>-1&&(a+=e.substring(n+a.length))):a=a.substring(0,s),a.length===s&&e||(o.value=a,r.selectText(o,s,a.length)),t)},text:function(e){e=null===e?"":e;var n,i=this,r=i._text,o=i.input[0],a=i.options.ignoreCase,s=e;return e===t?o.value:(n=i.dataItem(),n&&r(n)===e?(i._triggerCascade(),t):(a&&(s=s.toLowerCase()),i._select(function(e){return e=r(e),a&&(e=(e+"").toLowerCase()),e===s}),0>i.selectedIndex&&(i._custom(e),o.value=e),i._triggerCascade(),t))},toggle:function(e){var t=this;t._toggle(e)},value:function(e){var n,i=this;return e===t?i._accessor():(null!==e&&(e=""+e),i._selectedValue=e,!i._open&&e&&i._fetchItems(e)||(n=i._index(e),n>-1?i.select(n):(i.current(T),i._custom(e),i.text(e),i._placeholder()),i._prev=i._old=i._accessor(),i._oldIndex=i.selectedIndex),t)},_accept:function(e){var t=this;e?t._focus(e):(t.text(t.text()),t._change())},_custom:function(t){var n=this,i=n.element,r=n._option;n._state===w&&(n._state=x),i.is(_)?(r||(r=n._option=e("')}function i(e){var t,n=" ";if(e){if(typeof e===ht)return e;for(t in e)n+=t+'="'+e[t]+'"'}return n}function r(t){var n=0;return e("> .k-grouping-header, > .k-grid-toolbar",t).each(function(){n+=this.offsetHeight}),n}function o(t,n){e("th, th .k-grid-filter, th .k-link",t).add(document.body).css("cursor",n)}function a(e){var t,n,i={},r={};if(!H(e))for(I(e)||(e=[e]),t=0,n=e.length;n>t;t++)i[e[t].aggregate]=0,r[e[t].field]=i;return r}function s(e,t,n){var i=e.eq(t),r=e.eq(n);i[t>n?"insertBefore":"insertAfter"](r)}function l(e,t,n){var i,r,o,a;for(n=I(n)?n:[n],i=0,r=n.length;r>i;i++)o=n[i],S(o)&&o.click&&(a=o.name||o.text,t.on(ct+G,"a.k-grid-"+(a||"").replace(/\s/g,""),{commandName:a},P(o.click,e)))}function d(e){return D(e,function(e){return!e.hidden})}function c(e){e=e||{};var t=e.style;return t?(t=t.replace(/((.*)?display)(.*)?:([^;]*)/i,"$1:none"),t===e.style&&(t=t.replace(/(.*)?/i,"display:none;$1"))):t="display:none",A({},e,{style:t})}function u(e){e=e||{};var t=e.style;return t&&(e.style=t.replace(/(display\s*:\s*none\s*;?)*/gi,"")),e}function p(t,n,i,r){var o,a=t.find(">colgroup"),s=F(n,function(e){return o=e.width,o&&0!==parseInt(o,10)?b.format('',typeof o===ht?o:o+"px"):""});(i||a.find(".k-hierarchy-col").length)&&s.splice(0,0,''),a.length&&a.remove(),a=e("").append(e(Array(r+1).join('')+s.join(""))),t.prepend(a)}function f(e){var t,n,i,r={};for(n=0,i=e.length;i>n;n++)t=e[n],r[t.value]=t.text;return r}function h(e,t,n){var i=n&&n.length&&S(n[0])&&"value"in n[0],r=i?f(n)[e]:e;return r=null!=r?r:"",t?b.format(t,r):r}function m(e,t,n){for(var i,r=0,o=e[r];o;){if(i=n?!0:"none"!==o.style.display,i&&!yt.test(o.className)&&0>--t){o.style.display=n?"":"none";break}o=e[++r]}}function g(e,t){var n,i,r;if(typeof e===ht&&e===t)return e;if(S(e)&&e.name===t)return e;if(I(e))for(n=0,i=e.length;i>n;n++)if(r=e[n],typeof r===ht&&r===t||r.name===t)return r;return null}function v(t,n){var i,r,o,a=b.support.browser.msie;if(n===!0){if(t=e(t),o=a&&t.parent().is(".k-grid-content,.k-grid-header-wrap"),o&&(i=t.parent().scrollTop(),r=t.parent().scrollLeft()),a)try{t[0].setActive()}catch(s){t[0].focus()}else t[0].focus();o&&(t.parent().scrollTop(i),t.parent().scrollLeft(r))}else e(t).one("focusin",function(e){e.preventDefault()}).focus()}function _(t){var n=e(t.currentTarget),i=n.is("th"),r=n.closest("table")[0];(r===this.table[0]||r===this.thead.parent()[0])&&(this.current(n),(i||!e(t.target).is(":button,a,:input,a>.k-icon,textarea,span.k-icon,.k-input"))&&setTimeout(function(){v(r,!0)}),i&&t.preventDefault())}var b=window.kendo,y=b.ui,w=b.data.DataSource,x=y.Groupable,k=b.support.tbodyInnerHtml,C=y.Widget,T=b.keys,S=e.isPlainObject,A=e.extend,F=e.map,D=e.grep,I=e.isArray,E=e.inArray,P=e.proxy,z=e.isFunction,H=e.isEmptyObject,R=Math,M="progress",O="error",N=":not(.k-group-cell):not(.k-hierarchy-cell):visible",B="tbody>tr:not(.k-grouping-row):not(.k-detail-row):not(.k-group-footer) > td:not(.k-group-cell):not(.k-hierarchy-cell)",L="tr:not(.k-footer-template):visible",V=":not(.k-group-cell):not(.k-hierarchy-cell):visible",U=L+":first>"+V+":first",j="th.k-header:not(.k-group-cell,.k-hierarchy-cell)",W=j+":visible["+b.attr("field")+"]",q=j+"["+b.attr("field")+"]",G=".kendoGrid",$="edit",Y="save",Q="remove",K="detailInit",X="filterMenuInit",J="columnMenuInit",Z="change",et="columnHide",tt="columnShow",nt="saveChanges",it="dataBound",rt="detailExpand",ot="detailCollapse",at="k-state-focused",st="k-state-selected",lt="columnResize",dt="columnReorder",ct="click",ut="height",pt="tabIndex",ft="function",ht="string",mt="Are you sure you want to delete this record?",gt=/(\}|\#)/gi,vt=3,_t=/#/gi,bt="[\\x20\\t\\r\\n\\f]",yt=RegExp("(^|"+bt+")"+"(k-group-cell|k-hierarchy-cell)"+"("+bt+"|$)"),wt='#=text#',xt=!1,kt=C.extend({init:function(e,t){var n=this;C.fn.init.call(n,e,t),n._refreshHandler=P(n.refresh,n),n.setDataSource(t.dataSource),n.wrap()},setDataSource:function(e){var t=this;t.dataSource&&t.dataSource.unbind(Z,t._refreshHandler),t.dataSource=e,t.dataSource.bind(Z,t._refreshHandler)},options:{name:"VirtualScrollable",itemHeight:e.noop},destroy:function(){var e=this;C.fn.destroy.call(e),e.dataSource.unbind(Z,e._refreshHandler),e.wrapper.add(e.verticalScrollbar).off(G),e.drag&&e.drag.destroy()},wrap:function(){var t,n=this,i=b.support.scrollbar()+1,r=n.element;r.css({width:"auto",overflow:"hidden"}).css(xt?"padding-left":"padding-right",i),n.content=r.children().first(),t=n.wrapper=n.content.wrap('
').parent().bind("DOMMouseScroll"+G+" mousewheel"+G,P(n._wheelScroll,n)),b.support.kineticScrollNeeded&&(n.drag=new b.UserEvents(n.wrapper,{global:!0,move:function(e){n.verticalScrollbar.scrollTop(n.verticalScrollbar.scrollTop()-e.y.delta),t.scrollLeft(t.scrollLeft()-e.x.delta),e.preventDefault()}})),n.verticalScrollbar=e('
').css({width:i}).appendTo(r).bind("scroll"+G,P(n._scroll,n))},_wheelScroll:function(e){var n,i=this,r=i.verticalScrollbar.scrollTop(),o=e.originalEvent,a=o.wheelDeltaY;o.wheelDelta?(a===t||a)&&(n=o.wheelDelta):o.detail&&o.axis===o.VERTICAL_AXIS&&(n=10*-o.detail),n&&(e.preventDefault(),i.verticalScrollbar.scrollTop(r+-n))},_scroll:function(e){var t=this,n=e.currentTarget.scrollTop,i=t.dataSource,r=t.itemHeight,o=i.skip()||0,a=t._rangeStart||o,s=t.element.innerHeight(),l=!!(t._scrollbarTop&&t._scrollbarTop>n),d=R.max(R.floor(n/r),0),c=R.max(d+R.floor(s/r),0);t._scrollTop=n-a*r,t._scrollbarTop=n,t._fetch(d,c,l)||(t.wrapper[0].scrollTop=t._scrollTop)},_fetch:function(e,t,n){var i=this,r=i.dataSource,o=i.itemHeight,a=r.take(),s=i._rangeStart||r.skip()||0,l=R.floor(e/a)*a,d=!1,c=.33;return s>e?(d=!0,s=R.max(0,t-a),i._scrollTop=(e-s)*o,i._page(s,a)):t>=s+a&&!n?(d=!0,s=e,i._scrollTop=o,i._page(s,a)):i._fetching||(l+a-a*c>e&&e>a&&r.prefetch(l-a,a),t>l+a*c&&r.prefetch(l+a,a)),d},_page:function(e,t){var n=this,i=n.dataSource;clearTimeout(n._timeout),n._fetching=!0,n._rangeStart=e,i.inRange(e,t)?i.range(e,t):(b.ui.progress(n.wrapper.parent(),!0),n._timeout=setTimeout(function(){i.range(e,t)},100))},refresh:function(){var e,t,n,i,r=this,o="",a=25e4,s=r.dataSource,l=r._rangeStart,d=b.support.kineticScrollNeeded?0:b.support.scrollbar(),c=r.wrapper[0];for(b.ui.progress(r.wrapper.parent(),!1),clearTimeout(r._timeout),n=r.itemHeight=r.options.itemHeight()||0,i=c.scrollWidth>c.offsetWidth?d:0,e=s.total()*n+i,t=0;R.floor(e/a)>t;t++)o+='
';e%a&&(o+='
'),r.verticalScrollbar.html(o),c.scrollTop=r._scrollTop,r.drag&&r.drag.cancel(),l&&!r._fetching&&(r._rangeStart=s.skip()),r._fetching=!1}}),Ct={create:{text:"Add new record",imageClass:"k-add",className:"k-grid-add",iconClass:"k-icon"},cancel:{text:"Cancel changes",imageClass:"k-cancel",className:"k-grid-cancel-changes",iconClass:"k-icon"},save:{text:"Save changes",imageClass:"k-update",className:"k-grid-save-changes",iconClass:"k-icon"},destroy:{text:"Delete",imageClass:"k-delete",className:"k-grid-delete",iconClass:"k-icon"},edit:{text:"Edit",imageClass:"k-edit",className:"k-grid-edit",iconClass:"k-icon"},update:{text:"Update",imageClass:"k-update",className:"k-grid-update",iconClass:"k-icon"},canceledit:{text:"Cancel",imageClass:"k-cancel",className:"k-grid-cancel",iconClass:"k-icon"}},Tt=C.extend({init:function(e,t){var n=this;t=I(t)?{dataSource:t}:t,C.fn.init.call(n,e,t),xt=b.support.isRtl(e),n._element(),n._aria(),n._columns(n.options.columns),n._dataSource(),n._tbody(),n._pageable(),n._thead(),n._groupable(),n._toolbar(),n._setContentHeight(),n._templates(),n._navigatable(),n._selectable(),n._details(),n._editable(),n._attachCustomCommandsEvent(),n.options.autoBind?n.dataSource.fetch():n._footer(),b.notify(n)},events:[Z,"dataBinding","cancel",it,rt,ot,K,X,J,$,Y,Q,nt,lt,dt,tt,et],setDataSource:function(e){var t=this;t.options.dataSource=e,t._dataSource(),t._pageable(),t.options.groupable&&t._groupable(),t._thead(),t.virtualScrollable&&t.virtualScrollable.setDataSource(t.options.dataSource),t.options.autoBind&&e.fetch()},options:{name:"Grid",columns:[],toolbar:null,autoBind:!0,filterable:!1,scrollable:!0,sortable:!1,selectable:!1,navigatable:!1,pageable:!1,editable:!1,groupable:!1,rowTemplate:"",altRowTemplate:"",dataSource:{},height:null,resizable:!1,reorderable:!1,columnMenu:!1,detailTemplate:null},destroy:function(){var e,t=this;C.fn.destroy.call(t),t.pager&&t.pager.destroy(),t.groupable&&t.groupable.destroy(),t.virtualScrollable&&t.virtualScrollable.destroy(),t._destroyColumnAttachments(),t._destroyEditable(),t.dataSource.unbind(Z,t._refreshHandler).unbind(M,t._progressHandler).unbind(O,t._errorHandler),e=t.element.add(t.wrapper).add(t.table).add(t.thead).add(t.wrapper.find(">.k-grid-toolbar")),t.content&&(e=e.add(t.content).add(t.content.find(">.k-virtual-scrollable-wrap"))),e.off(G),b.destroy(t.wrapper)},setOptions:function(e){var t=this;C.fn.setOptions.call(this,e),t._templates()},items:function(){return this.tbody.children(":not(.k-grouping-row,.k-detail-row,.k-group-footer)")},_destroyColumnAttachments:function(){var t=this;t.thead.find("th").each(function(){var t=e(this),n=t.data("kendoFilterMenu"),i=t.data("kendoSortable"),r=t.data("kendoColumnMenu");n&&n.destroy(),i&&i.destroy(),r&&r.destroy()})},_attachCustomCommandsEvent:function(){var e,t,n,i=this,r=i.columns||[];for(t=0,n=r.length;n>t;t++)e=r[t].command,e&&l(i,i.wrapper,e)},_aria:function(){var e=this.element.attr("id")||"aria";e&&(this._cellId=e+"_active_cell")},_element:function(){var t=this,n=t.element;n.is("table")||(n=t.options.scrollable?t.element.find("> .k-grid-content > table"):t.element.children("table"),n.length||(n=e("
'+x[i]+"
"+(a||" ")+" 
").appendTo(t.element))),t.table=n.attr("cellspacing",0).attr("role",t._hasDetails()?"treegrid":"grid"),t._wrapper()},_positionColumnResizeHandle:function(t){var n,i=this,a=i.options.scrollable,s=i.resizeHandle;i.thead.on("mousemove"+G,"th:not(.k-group-cell,.k-hierarchy-cell)",function(l){var d,c,u,p,f=e(this),h=l.clientX,m=e(window).scrollLeft(),g=f.offset().left+(xt?0:this.offsetWidth);h+m>g-vt&&g+vt>h+m?(s||(s=i.resizeHandle=e('
'),t.append(s)),xt?(d=f.closest(".k-grid-header-wrap"),c=b.support.browser.msie?d.scrollLeft():0,u=b.support.browser.webkit?d[0].scrollWidth-d[0].offsetWidth-d.scrollLeft():0,p=b.support.browser.mozilla?d[0].scrollWidth-d[0].offsetWidth-(d[0].scrollWidth-d[0].offsetWidth-d.scrollLeft()):0,n=f.position().left-u+p-c):(n=this.offsetWidth,f.prevAll(":visible").each(function(){n+=this.offsetWidth})),s.css({top:a?0:r(i.wrapper),left:n-vt,height:f.outerHeight(),width:3*vt}).data("th",f).show()):s?s.hide():o(i.wrapper,"") -})},_resizable:function(){var t,n,i,r,a,s=this,l=s.options;l.resizable&&(t=l.scrollable?s.wrapper.find(".k-grid-header-wrap:first"):s.wrapper,s._positionColumnResizeHandle(t),t.kendoResizable({handle:".k-resize-handle",hint:function(t){return e('
').css({height:t.data("th").outerHeight()+s.tbody.attr("clientHeight")})},start:function(t){var d=e(t.currentTarget).data("th"),c=e.inArray(d[0],d.parent().children(":visible")),u=s.tbody.parent(),p=s.footer||e();o(s.wrapper,"col-resize"),a=l.scrollable?s.thead.parent().find("col:eq("+c+")").add(u.children("colgroup").find("col:eq("+c+")")).add(p.find("colgroup").find("col:eq("+c+")")):u.children("colgroup").find("col:eq("+c+")"),n=t.x.location,i=d.outerWidth(),r=s.tbody.outerWidth()},resize:function(t){var o=xt?-1:1,d=i+t.x.location*o-n*o,c=s.footer||e();d>10&&(a.css("width",d),l.scrollable&&(s._footerWidth=r+t.x.location*o-n*o,s.tbody.parent().add(s.thead.parent()).add(c.find("table")).css("width",s._footerWidth)))},resizeend:function(t){var n,r=e(t.currentTarget).data("th"),a=r.outerWidth();o(s.wrapper,""),i!=a&&(n=s.columns[r.parent().find("th:not(.k-group-cell,.k-hierarchy-cell)").index(r)],n.width=a,s.trigger(lt,{column:n,oldWidth:i,newWidth:a})),s.resizeHandle.hide()}}))},_draggable:function(){var t=this;t.options.reorderable&&(t._draggableInstance&&t._draggableInstance.destroy(),t._draggableInstance=t.wrapper.kendoDraggable({group:b.guid(),filter:t.content?">.k-grid-header "+j:">table>.k-grid-header "+j,hint:function(t){return e('
').css({width:t.width(),paddingLeft:t.css("paddingLeft"),paddingRight:t.css("paddingRight"),lineHeight:t.height()+"px",paddingTop:t.css("paddingTop"),paddingBottom:t.css("paddingBottom")}).html(t.attr(b.attr("title"))||t.attr(b.attr("field"))||t.text()).prepend('')}}).data("kendoDraggable"))},_reorderable:function(){var e=this;e.options.reorderable&&e.wrapper.kendoReorderable({draggable:e._draggableInstance,change:function(t){var n=E(e.columns[t.newIndex],e.columns),i=e.columns[t.oldIndex];e.trigger(dt,{newIndex:n,oldIndex:E(i,e.columns),column:i}),e.reorderColumn(n,i)}})},reorderColumn:function(e,t){var n,i,r,o=this,a=E(t,o.columns),l=E(t,d(o.columns)),c=o.footer||o.wrapper.find(".k-grid-footer");if(a!==e)for(o.columns.splice(a,1),o.columns.splice(e,0,t),o._templates(),s(o.thead.prev().find("col:not(.k-group-col,.k-hierarchy-col)"),l,e),o.options.scrollable&&s(o.tbody.prev().find("col:not(.k-group-col,.k-hierarchy-col)"),l,e),s(o.thead.find(".k-header:not(.k-group-cell,.k-hierarchy-cell)"),a,e),c&&c.length&&(s(c.find(".k-grid-footer-wrap>table>colgroup>col:not(.k-group-col,.k-hierarchy-col)"),l,e),s(c.find(".k-footer-template>td:not(.k-group-cell,.k-hierarchy-cell)"),a,e)),n=o.tbody.children(":not(.k-grouping-row,.k-detail-row)"),i=0,r=n.length;r>i;i+=1)s(n.eq(i).find(">td:not(.k-group-cell,.k-hierarchy-cell)"),a,e)},cellIndex:function(t){return e(t).parent().children("td:not(.k-group-cell,.k-hierarchy-cell)").index(t)},_modelForContainer:function(t){t=e(t),t.is("tr")||"popup"===this._editMode()||(t=t.closest("tr"));var n=t.attr(b.attr("uid"));return this.dataSource.getByUid(n)},_editable:function(){var t,n=this,i=n.selectable&&n.selectable.options.multiple,r=n.options.editable,o=function(){var t=document.activeElement,i=n._editContainer;!i||e.contains(i[0],t)||i[0]===t||e(t).closest(".k-animation-container").length||n.editable.end()&&n.closeCell()};r&&(t=n._editMode(),"incell"===t?r.update!==!1&&n.wrapper.on(ct+G,"tr:not(.k-grouping-row) > td",function(t){var r=e(this);r.hasClass("k-hierarchy-cell")||r.hasClass("k-detail-cell")||r.hasClass("k-group-cell")||r.hasClass("k-edit-cell")||r.has("a.k-grid-delete").length||r.has("button.k-grid-delete").length||r.closest("tbody")[0]!==n.tbody[0]||e(t.target).is(":input")||(n.editable?n.editable.end()&&(i&&e(document.activeElement).blur(),n.closeCell(),n.editCell(r)):n.editCell(r))}).on("focusin"+G,function(){clearTimeout(n.timer),n.timer=null}).on("focusout"+G,function(){n.timer=setTimeout(o,1)}):r.update!==!1&&n.wrapper.on(ct+G,"tbody>tr:not(.k-detail-row,.k-grouping-row):visible a.k-grid-edit",function(t){t.preventDefault(),n.editRow(e(this).closest("tr"))}),r.destroy!==!1?n.wrapper.on(ct+G,"tbody>tr:not(.k-detail-row,.k-grouping-row):visible .k-grid-delete",function(t){t.preventDefault(),t.stopPropagation(),n.removeRow(e(this).closest("tr"))}):n.wrapper.on(ct+G,"tbody>tr:not(.k-detail-row,.k-grouping-row):visible button.k-grid-delete",function(e){n._confirmation()||e.preventDefault()}))},editCell:function(e){var t=this,n=t.columns[t.cellIndex(e)],i=t._modelForContainer(e);!i||i.editable&&!i.editable(n.field)||n.command||!n.field||(t._attachModelChange(i),t._editContainer=e,t.editable=e.addClass("k-edit-cell").kendoEditable({fields:{field:n.field,format:n.format,editor:n.editor,values:n.values},model:i,change:function(n){t.trigger(Y,{values:n.values,container:e,model:i})&&n.preventDefault()}}).data("kendoEditable"),e.parent().addClass("k-grid-edit-row"),t.trigger($,{container:e,model:i}))},_destroyEditable:function(){var e=this,t=function(){e.editable&&(e._detachModelChange(),e.editable.destroy(),e.editable=null,e._editContainer=null)};e.editable&&("popup"===e._editMode()?e._editContainer.data("kendoWindow").bind("deactivate",t).close():t())},_attachModelChange:function(e){var t=this;t._modelChangeHandler=function(e){t._modelChange({field:e.field,model:this})},e.bind("change",t._modelChangeHandler)},_detachModelChange:function(){var e=this,t=e._editContainer,n=e._modelForContainer(t);n&&n.unbind(Z,e._modelChangeHandler)},closeCell:function(){var t,n,i,r,o=this;o._editContainer&&(t=o._editContainer.removeClass("k-edit-cell"),n=t.closest("tr").attr(b.attr("uid")),i=o.columns[o.cellIndex(t)],r=o.dataSource.getByUid(n),t.parent().removeClass("k-grid-edit-row"),o._destroyEditable(),o._displayCell(t,i,r),t.hasClass("k-dirty-cell")&&e('').prependTo(t))},_displayCell:function(e,t,n){var i=this,r={storage:{},count:0},o=A({},b.Template,i.options.templateSettings),a=b.template(i._cellTmpl(t,r),o);r.count>0&&(a=P(a,r.storage)),e.empty().html(a(n))},removeRow:function(t){var n,i,r=this;r._confirmation()&&(t=e(t).hide(),n=r._modelForContainer(t),n&&!r.trigger(Q,{row:t,model:n})&&(i=r._editMode(),"incell"!==i&&r.cancelRow(),r.dataSource.remove(n),("inline"===i||"popup"===i)&&r.dataSource.sync()))},_editMode:function(){var e="incell",t=this.options.editable;return t!==!0&&(e="string"==typeof t?t:t.mode||e),e},editRow:function(n){var i,r=this,o=r._modelForContainer(n),a=r._editMode(),s=r.options.navigatable;r.cancelRow(),o&&(r._attachModelChange(o),"popup"===a?r._createPopupEditor(o):"inline"===a?r._createInlineEditor(n,o):"incell"===a&&e(n).children(N).each(function(){var n=e(this),i=r.columns[n.index()];return o=r._modelForContainer(n),o&&(!o.editable||o.editable(i.field))&&i.field?(r.editCell(n),!1):t}),i=r._editContainer,i.on(ct+G,"a.k-grid-cancel",function(t){if(t.preventDefault(),t.stopPropagation(),!r.trigger("cancel",{container:i,model:o})){var n=r.items().index(e(r.current()).parent());r.cancelRow(),s&&(r.current(r.items().eq(n).children().filter(V).first()),v(r.table,!0))}}),i.on(ct+G,"a.k-grid-update",function(e){e.preventDefault(),e.stopPropagation(),r.saveRow()}))},_createPopupEditor:function(n){var i,r,o,a,s,l,d,c,u,p,f,h=this,m="
',_=[],y=h.options.editable,w=y.template,x=S(y)?y.window:{},k=A({},b.Template,h.options.templateSettings);if(w)for(typeof w===ht&&(w=window.unescape(w)),m+=b.template(w,k)(n),o=0,a=h.columns.length;a>o;o++)i=h.columns[o],i.command&&(c=g(i.command,"edit"),c&&(r=c));else for(o=0,a=h.columns.length;a>o;o++)i=h.columns[o],i.command?i.command&&(c=g(i.command,"edit"),c&&(r=c)):(m+='
",n.editable&&!n.editable(i.field)||!i.field?(p={storage:{},count:0},s=b.template(h._cellTmpl(i,p),k),p.count>0&&(s=P(s,p.storage)),m+='
'+s(n)+"
"):(_.push({field:i.field,format:i.format,editor:i.editor,values:i.values}),m+="
'));r&&S(r)&&(r.text&&S(r.text)&&(l=r.text.update,d=r.text.cancel),r.attr&&(u=r.attr)),m+=h._createButton({name:"update",text:l,attr:u})+h._createButton({name:"canceledit",text:d,attr:u}),m+="
",f=h._editContainer=e(m).appendTo(h.wrapper).eq(0).kendoWindow(A({modal:!0,resizable:!1,draggable:!0,title:"Edit",visible:!1,close:function(i){if(i.userTriggered){if(h.trigger("cancel",{container:f,model:n}))return i.preventDefault(),t;var r=h.items().index(e(h.current()).parent());h.cancelRow(),h.options.navigatable&&(h.current(h.items().eq(r).children().filter(V).first()),v(h.table,!0))}}},x)),h.editable=h._editContainer.kendoEditable({fields:_,model:n,clearContainer:!1}).data("kendoEditable"),f.data("kendoWindow").center().open(),h.trigger($,{container:f,model:n})},_createInlineEditor:function(t,n){var i,r,o,a=this,s=[];t.children(":not(.k-group-cell,.k-hierarchy-cell)").each(function(){if(r=e(this),i=a.columns[a.cellIndex(r)],i.command||!i.field||n.editable&&!n.editable(i.field)){if(i.command&&(o=g(i.command,"edit"))){r.empty();var t,l,d;S(o)&&(o.text&&S(o.text)&&(t=o.text.update,l=o.text.cancel),o.attr&&(d=o.attr)),e(a._createButton({name:"update",text:t,attr:d})+a._createButton({name:"canceledit",text:l,attr:d})).appendTo(r)}}else s.push({field:i.field,format:i.format,editor:i.editor,values:i.values}),r.attr("data-container-for",i.field),r.empty()}),a._editContainer=t,a.editable=t.addClass("k-grid-edit-row").kendoEditable({fields:s,model:n,clearContainer:!1}).data("kendoEditable"),a.trigger($,{container:t,model:n})},cancelRow:function(){var e,t=this,n=t._editContainer;n&&(e=t._modelForContainer(n),t.dataSource.cancelChanges(e),"popup"!==t._editMode()?t._displayRow(n):t._displayRow(t.items().filter("["+b.attr("uid")+"="+e.uid+"]")),t._destroyEditable())},saveRow:function(){var e=this,t=e._editContainer,n=e._modelForContainer(t),i=e.editable;t&&i&&i.end()&&!e.trigger(Y,{container:t,model:n})&&e.dataSource.sync()},_displayRow:function(t){var n=this,i=n._modelForContainer(t);i&&t.replaceWith(e((t.hasClass("k-alt")?n.altRowTemplate:n.rowTemplate)(i)))},_showMessage:function(e){return window.confirm(e)},_confirmation:function(){var e=this,t=e.options.editable,n=t===!0||typeof t===ht?mt:t.confirmation;return n!==!1&&null!=n?e._showMessage(n):!0},cancelChanges:function(){this.dataSource.cancelChanges()},saveChanges:function(){var e=this;(e.editable&&e.editable.end()||!e.editable)&&!e.trigger(nt)&&e.dataSource.sync()},addRow:function(){var e,t,n,i,r,o=this,a=o.dataSource,s=o._editMode(),l=o.options.editable.createAt||"",d=a.pageSize(),c=a.view()||[];(o.editable&&o.editable.end()||!o.editable)&&("incell"!=s&&o.cancelRow(),e=a.indexOf(c[0]),"bottom"==l.toLowerCase()&&(e+=c.length,d&&!a.options.serverPaging&&c.length>=d&&(e-=1)),0>e&&(e=a.page()>a.totalPages()?(a.page()-1)*d:0),t=a.insert(e,{}),n=t.uid,i=o.table.find("tr["+b.attr("uid")+"="+n+"]"),r=i.children("td:not(.k-group-cell,.k-hierarchy-cell)").eq(o._firstEditableColumnIndex(i)),"inline"!==s&&"popup"!==s||!i.length?r.length&&o.editCell(r):o.editRow(i))},_firstEditableColumnIndex:function(e){var t,n,i,r=this,o=r.columns,a=r._modelForContainer(e);for(n=0,i=o.length;i>n;n++)if(t=o[n],a&&(!a.editable||a.editable(t.field))&&!t.command&&t.field)return n;return-1},_toolbar:function(){var t,n=this,i=n.wrapper,r=n.options.toolbar,o=n.options.editable;r&&(t=n.wrapper.find(".k-grid-toolbar"),t.length||(z(r)||(r=typeof r===ht?r:n._toolbarTmpl(r).replace(_t,"\\#"),r=P(b.template(r),n)),t=e('
').html(r({})).prependTo(i)),o&&o.create!==!1&&t.on(ct+G,".k-grid-add",function(e){e.preventDefault(),n.addRow()}).on(ct+G,".k-grid-cancel-changes",function(e){e.preventDefault(),n.cancelChanges()}).on(ct+G,".k-grid-save-changes",function(e){e.preventDefault(),n.saveChanges()}))},_toolbarTmpl:function(e){var t,n,i=this,r="";if(I(e))for(t=0,n=e.length;n>t;t++)r+=i._createButton(e[t]);return r},_createButton:function(e){var t=e.template||wt,n=typeof e===ht?e:e.name||e.text,r={className:"k-grid-"+(n||"").replace(/\s/g,""),text:n,imageClass:"",attr:"",iconClass:""};if(!(n||S(e)&&e.template))throw Error("Custom commands should have name specified");return S(e)?(e.className&&(e.className+=" "+r.className),"edit"===n&&S(e.text)&&(e=A(!0,{},e),e.text=e.text.edit),e.attr&&S(e.attr)&&(e.attr=i(e.attr)),r=A(!0,r,Ct[n],e)):r=A(!0,r,Ct[n]),b.template(t)(r)},_groupable:function(){var t=this;t.table.on(ct+G,".k-grouping-row .k-i-collapse, .k-grouping-row .k-i-expand",function(n){var i=e(this),r=i.closest("tr");i.hasClass("k-i-collapse")?t.collapseGroup(r):t.expandGroup(r),n.preventDefault(),n.stopPropagation()}),t._attachGroupable()},_attachGroupable:function(){var t=this,n=t.wrapper,i=t.options.groupable;i&&(n.has("div.k-grouping-header")[0]||e("
 
").addClass("k-grouping-header").prependTo(n),t.groupable&&t.groupable.destroy(),t.groupable=new x(n,A({},i,{draggable:t._draggableInstance,groupContainer:">div.k-grouping-header",dataSource:t.dataSource,draggableElements:t.content?">.k-grid-header "+W:">table>.k-grid-header "+W,filter:t.content?">.k-grid-header "+q:">table>.k-grid-header "+q,allowDrag:t.options.reorderable})))},_selectable:function(){var e,n,i=this,r=i.options.selectable;r&&(e=typeof r===ht&&r.toLowerCase().indexOf("multiple")>-1,n=typeof r===ht&&r.toLowerCase().indexOf("cell")>-1,i.selectable=new b.ui.Selectable(i.table,{filter:">"+(n?B:"tbody>tr:not(.k-grouping-row,.k-detail-row,.k-group-footer)"),aria:!0,multiple:e,change:function(){i.trigger(Z)}}),i.options.navigatable&&i.table.on("keydown"+G,function(r){var o=i.current();if(r.keyCode===T.SPACEBAR&&r.target==i.table[0]&&!o.is(".k-edit-cell,.k-header")&&o.parent().is(":not(.k-grouping-row,.k-detail-row,.k-group-footer)")){if(r.preventDefault(),r.stopPropagation(),o=n?o:o.parent(),e)if(r.ctrlKey){if(o.hasClass(st))return o.removeClass(st),i.trigger(Z),t}else i.selectable.clear();else i.selectable.clear();i.selectable.value(o)}}))},clearSelection:function(){var e=this;e.selectable.clear(),e.trigger(Z)},select:function(n){var i=this,r=i.selectable;return n=e(n),n.length?(r.options.multiple||(r.clear(),n=n.first()),r.value(n),t):r.value()},current:function(n){var i=this,r=i.options.scrollable,o=i._current,a=i.table.add(i.thead.parent());return n!==t&&n.length&&(o&&o[0]===n[0]||(o&&(o.removeClass(at).removeAttr("id"),a.removeAttr("aria-activedescendant")),n.attr("id",i._cellId),i._current=n.addClass(at),a.attr("aria-activedescendant",i._cellId),n.length&&r&&(e.contains(i.content[0],n[0])&&i._scrollTo(n.parent()[0],i.content[0]),r.virtual?i._scrollTo(n[0],i.content.find(">.k-virtual-scrollable-wrap")[0]):i._scrollTo(n[0],i.content[0])))),i._current},_removeCurrent:function(){this._current&&(this._current.removeClass(at),this._current=null)},_scrollTo:function(e,t){var n=e.tagName.toLowerCase(),i="td"===n||"th"===n,r=e[i?"offsetLeft":"offsetTop"],o=e[i?"offsetWidth":"offsetHeight"],a=t[i?"scrollLeft":"scrollTop"],s=t[i?"clientWidth":"clientHeight"],l=r+o;t[i?"scrollLeft":"scrollTop"]=a>r?r:l>a+s?l-s:a},_navigatable:function(){var t=this,n=P(t.current,t),i=t.table,r=t.thead.parent(),o=i,a=b.support.isRtl(t.element);t.options.navigatable&&(t.options.scrollable&&(o=i.add(r),r.attr(pt,-1)),r.on("keydown"+G,function(e){e.altKey&&e.keyCode==T.DOWN&&(n().find(".k-grid-filter, .k-header-column-menu").click(),e.stopImmediatePropagation())}).find("a.k-link").attr("tabIndex",-1),i.attr(pt,R.max(i.attr(pt)||0,0)).on("mousedown"+G+" keydown"+G,".k-detail-cell",function(e){e.target!==e.currentTarget&&e.stopImmediatePropagation()}),o.on(b.support.touch?"touchstart"+G:"mousedown"+G,L+">"+V,P(_,t)).on("focus"+G,function(){var t=n();t&&t.is(":visible")?t.addClass(at):n(e(this).find(U)),this==i[0]?(r.attr(pt,-1),i.attr(pt,0)):(i.attr(pt,-1),r.attr(pt,0))}).on("focusout"+G,function(){var e=n();e&&e.removeClass(at)}).on("keydown"+G,function(r){var o,s,l,d,c,u,p=r.keyCode,f=!1,h=!r.isDefaultPrevented()&&!e(r.target).is(":button,a,:input,a>.k-icon"),m=t.options.pageable,g=t.dataSource,_="incell"==t._editMode(),y=r.shiftKey,w=b.support.browser,x=n();x&&x.is("th")&&(h=!0),h&&p==T.UP?(x?(s=x.parent().prevAll(L).first(),s[0]||(d=t.thead.parent(),v(d,!0),s=d.find(L).first()),l=x.index(),x=s.children().eq(l),x[0]&&x.is(V)||(x=s.children(V).first())):x=i.find(U),f=!0,n(x)):h&&p==T.DOWN?(x?(s=x.parent().nextAll(L).first(),!s[0]&&x.is("th")&&(v(t.tbody.parent()),s=t.tbody.find(L).first()),l=x.index(),x=s.children().eq(l),x[0]&&x.is(V)||(x=s.children(V).first())):x=i.find(U),f=!0,n(x)):h&&p==(a?T.RIGHT:T.LEFT)?(n(x?x.prevAll(N+":first"):i.find(U)),f=!0):h&&p==(a?T.LEFT:T.RIGHT)?(x?x.next()[0]&&(x=x.nextAll(N+":first")):x=i.find(U),f=!0,n(x)):h&&m&&T.PAGEDOWN==p?(g.page(g.page()+1),f=!0):h&&m&&T.PAGEUP==p?(g.page(g.page()-1),f=!0):p==T.ENTER||T.F2==p?(x=x?x:i.find(U),x.is("th")?(x.find(".k-link").click(),f=!0):x.parent().is(".k-master-row,.k-grouping-row")?(x.parent().find(".k-icon:first").click(),f=!0):(c=x.find(":focusable:first"),!x.hasClass("k-edit-cell")&&c[0]&&x.hasClass("k-state-focused")?(c.focus(),f=!0):t.options.editable&&!e(r.target).is(":button,.k-button")&&(t._handleEditing(x),f=!0))):T.ESC==p?x&&e.contains(x[0],document.activeElement)&&!x.hasClass("k-edit-cell")&&!x.parent().hasClass("k-grid-edit-row")?(v(t.table[0],!0),f=!0):!t._editContainer||x&&!t._editContainer.has(x[0])&&x[0]!==t._editContainer[0]||(_?t.closeCell():(o=t.items().index(e(x).parent()),document.activeElement.blur(),t.cancelRow(),o>=0&&t.current(t.items().eq(o).children().filter(V).first())),w.msie&&9>parseInt(w.version,10)&&document.body.focus(),v(i,!0),f=!0):T.TAB==p&&(x=e(x),t.options.editable&&_&&(u=e(document.activeElement).closest(".k-edit-cell"),u[0]&&u[0]!==x[0]&&(x=u)),u=y?x.prevAll(N+":first"):x.nextAll(":visible:first"),u.length||(u=x.parent()[y?"prevAll":"nextAll"]("tr:not(.k-grouping-row):not(.k-detail-row):visible:first").children(N+(y?":last":":first"))),!x.is("th")&&u.length&&t.options.editable&&_&&(t._handleEditing(x,u),f=!0)),f&&(r.preventDefault(),r.stopPropagation())}))},_handleEditing:function(n,i){var r,o,a=this,s=e(document.activeElement),l=a._editMode(),d=a._editContainer;if(o="incell"==l?n.hasClass("k-edit-cell"):n.parent().hasClass("k-grid-edit-row"),a.editable){if(e.contains(d[0],s[0])&&(s.blur(),b.support.browser.opera&&s.change()),!a.editable)return v(a.table),t;if(!a.editable.end())return"incell"==l?a.current(d):a.current(d.children().filter(N).first()),r=d.find(":focusable:first")[0],r&&r.focus(),t;"incell"==l?a.closeCell():(a.saveRow(),o=!0)}i&&a.current(i),v(a.table,!0),(!o&&!i||i)&&("incell"==l?a.editCell(a.current()):a.editRow(a.current().parent()))},_wrapper:function(){var e=this,t=e.table,n=e.options.height,i=e.element;i.is("div")||(i=i.wrap("
").parent()),e.wrapper=i.addClass("k-grid k-widget"),n&&(e.wrapper.css(ut,n),t.css(ut,"auto"))},_tbody:function(){var t,n=this,i=n.table;t=i.find(">tbody"),t.length||(t=e("
").appendTo(i)),n.tbody=t},_scrollable:function(){var t,n,i,r,o,a=this,s=a.options,l=s.scrollable,d=l!==!0&&l.virtual&&!a.virtualScrollable,c=!b.support.kineticScrollNeeded||d?b.support.scrollbar():0;l&&(t=a.wrapper.children(".k-grid-header"),t[0]||(t=e('
').insertBefore(a.table)),t.css(xt?"padding-left":"padding-right",l.virtual?c+1:c),n=e('
'),n.append(a.thead),t.empty().append(e('
').append(n)),a.content=a.table.parent(),a.content.is(".k-virtual-scrollable-wrap")&&(a.content=a.content.parent()),a.content.is(".k-grid-content, .k-virtual-scrollable-wrap")||(a.content=a.table.wrap('
').parent()),d&&(a.virtualScrollable=new kt(a.content,{dataSource:a.dataSource,itemHeight:P(a._averageRowHeight,a)})),a.scrollables=t.children(".k-grid-header-wrap"),i=a.wrapper.find(".k-grid-footer"),r=xt&&b.support.browser.webkit?c:0,i.length&&(a.scrollables=a.scrollables.add(i.children(".k-grid-footer-wrap"))),l.virtual?a.content.find(">.k-virtual-scrollable-wrap").bind("scroll"+G,function(){a.scrollables.scrollLeft(this.scrollLeft+r)}):(a.content.bind("scroll"+G,function(){a.scrollables.scrollLeft(this.scrollLeft+r)}),o=b.touchScroller(a.content),o&&o.movable&&o.movable.bind("change",function(e){a.scrollables.scrollLeft(-e.sender.x)})))},_setContentHeight:function(){var e,t=this,n=t.options,i=t.wrapper.innerHeight(),r=t.wrapper.children(".k-grid-header"),o=b.support.scrollbar();n.scrollable&&(i-=r.outerHeight(),t.pager&&(i-=t.pager.element.outerHeight()),n.groupable&&(i-=t.wrapper.children(".k-grouping-header").outerHeight()),n.toolbar&&(i-=t.wrapper.children(".k-grid-toolbar").outerHeight()),t.footerTemplate&&(i-=t.wrapper.children(".k-grid-footer").outerHeight()),e=function(e){var t,n;return e[0].style.height?!0:(t=e.height(),e.height("auto"),n=e.height(),t!=n?(e.height(""),!0):(e.height(""),!1))},e(t.wrapper)&&(i>2*o?t.content.height(i):t.content.height(2*o+1)))},_averageRowHeight:function(){var e,t=this,n=t._rowHeight;return t._rowHeight||(t._rowHeight=n=t.table.outerHeight()/t.items().length,t._sum=n,t._measures=1),e=t.table.outerHeight()/t.items().length,n!==e&&(t._measures++,t._sum+=e,t._rowHeight=t._sum/t._measures),n},_dataSource:function(){var e,n=this,i=n.options,r=i.dataSource;r=I(r)?{data:r}:r,S(r)&&(A(r,{table:n.table,fields:n.columns}),e=i.pageable,S(e)&&e.pageSize!==t&&(r.pageSize=e.pageSize)),n.dataSource&&n._refreshHandler?n.dataSource.unbind(Z,n._refreshHandler).unbind(M,n._progressHandler).unbind(O,n._errorHandler):(n._refreshHandler=P(n.refresh,n),n._progressHandler=P(n._requestStart,n),n._errorHandler=P(n._error,n)),n.dataSource=w.create(r).bind(Z,n._refreshHandler).bind(M,n._progressHandler).bind(O,n._errorHandler)},_error:function(){this._progress(!1)},_requestStart:function(){this._progress(!0)},_modelChange:function(t){var n,i,r,o,a,s=this,l=t.model,d=s.tbody.find("tr["+b.attr("uid")+"="+l.uid+"]"),c=d.hasClass("k-alt");if(d.children(".k-edit-cell").length&&!s.options.rowTemplate)d.children(":not(.k-group-cell,.k-hierarchy-cell)").each(function(){n=e(this),i=s.columns[s.cellIndex(n)],i.field===t.field&&(n.hasClass("k-edit-cell")?n.addClass("k-dirty-cell"):(s._displayCell(n,i,l),e('').prependTo(n)))});else if(!d.hasClass("k-grid-edit-row")){for(r=e((c?s.altRowTemplate:s.rowTemplate)(l)),d.replaceWith(r),o=0,a=s.columns.length;a>o;o++)i=s.columns[o],i.field===t.field&&(n=r.children(":not(.k-group-cell,.k-hierarchy-cell)").eq(o),e('').prependTo(n));s.trigger("itemChange",{item:r,data:l,ns:y})}},_pageable:function(){var t,n=this,i=n.options.pageable;i&&(t=n.wrapper.children("div.k-grid-pager"),t.length||(t=e('
').appendTo(n.wrapper)),n.pager&&n.pager.destroy(),n.pager="object"==typeof i&&i instanceof b.ui.Pager?i:new b.ui.Pager(t,A({},i,{dataSource:n.dataSource})))},_footer:function(){var t,n,i=this,r=i.dataSource.aggregates(),o="",s=i.footerTemplate,l=i.options,d=i.footer||i.wrapper.find(".k-grid-footer");s?(r=H(r)?a(i.dataSource.aggregate()):r,o=e(i._wrapFooter(s(r))),d.length?(n=o,d.replaceWith(n),d=i.footer=n):d=i.footer=l.scrollable?l.pageable?o.insertBefore(i.wrapper.children("div.k-grid-pager")):o.appendTo(i.wrapper):o.insertBefore(i.tbody)):d&&!i.footer&&(i.footer=d),d.length&&(l.scrollable&&(t=d.attr("tabindex",-1).children(".k-grid-footer-wrap"),i.scrollables=i.scrollables.not(".k-grid-footer-wrap").add(t)),i._footerWidth&&d.find("table").css("width",i._footerWidth),t&&t.scrollLeft(i.content.scrollLeft()))},_wrapFooter:function(t){var n=this,i="",r=b.support.mobileOS?0:b.support.scrollbar();return n.options.scrollable?(i=e('
'+t+"
"),n._appendCols(i.find("table")),i.css(xt?"padding-left":"padding-right",r),i):''+t+""},_columnMenu:function(){var t,n,i,r,o,a,s=this,l=s.columns,d=s.options,c=d.columnMenu,u=function(){v(s.thead.parent(),!0)},p=function(e){s.trigger(J,{field:e.field,container:e.container})};c&&("boolean"==typeof c&&(c={}),s.thead.find("th:not(.k-hierarchy-cell,.k-group-cell)").each(function(f){n=l[f],a=e(this),n.command||!n.field&&!a.attr("data-"+b.ns+"field")||(t=a.data("kendoColumnMenu"),t&&t.destroy(),r=n.sortable!==!1&&c.sortable!==!1?d.sortable:!1,o=d.filterable&&n.filterable!==!1&&c.filterable!==!1?A({},n.filterable,d.filterable):!1,i={dataSource:s.dataSource,values:n.values,columns:c.columns,sortable:r,filterable:o,messages:c.messages,owner:s,closeCallback:u,init:p},a.kendoColumnMenu(i))}))},_filterable:function(){var t,n,i=this,r=i.columns,o=function(){v(i.thead.parent(),!0)},a=i.options.filterable;a&&!i.options.columnMenu&&i.thead.find("th:not(.k-hierarchy-cell,.k-group-cell)").each(function(s){t=e(this),r[s].filterable===!1||r[s].command||!r[s].field&&!t.attr("data-"+b.ns+"field")||(n=t.data("kendoFilterMenu"),n&&n.destroy(),t.kendoFilterMenu(A(!0,{},a,r[s].filterable,{dataSource:i.dataSource,values:r[s].values,closeCallback:o,init:function(e){i.trigger(X,{field:e.field,container:e.container})}})))})},_sortable:function(){var t,n,i,r=this,o=r.columns,a=r.options.sortable;a&&r.thead.find("th:not(.k-hierarchy-cell,.k-group-cell)").each(function(s){t=o[s],t.sortable!==!1&&!t.command&&t.field&&(n=e(this),i=n.data("kendoSortable"),i&&i.destroy(),n.attr("data-"+b.ns+"field",t.field).kendoSortable(A({},a,{dataSource:r.dataSource,aria:!0})))})},_columns:function(t){var n,i=this,r=i.table,o=r.find("col"),a=i.options.dataSource;t=t.length?t:F(r.find("th"),function(t,n){t=e(t);var i=t.attr(b.attr("sortable")),r=t.attr(b.attr("filterable")),a=t.attr(b.attr("type")),s=t.attr(b.attr("groupable")),l=t.attr(b.attr("field")),d=t.attr(b.attr("menu"));return l||(l=t.text().replace(/\s|[^A-z0-9]/g,"")),{field:l,type:a,sortable:"false"!==i,filterable:"false"!==r,groupable:"false"!==s,menu:d,template:t.attr(b.attr("template")),width:o.eq(n).css("width")}}),n=!(i.table.find("tbody tr").length>0&&(!a||!a.transport)),i.columns=F(t,function(e){return e=typeof e===ht?{field:e}:e,e.hidden&&(e.attributes=c(e.attributes),e.footerAttributes=c(e.footerAttributes),e.headerAttributes=c(e.headerAttributes)),A({encoded:n},e)})},_groups:function(){var e=this.dataSource.group();return e?e.length:0},_tmpl:function(e,t){var r,o,a,s,l=this,d=A({},b.Template,l.options.templateSettings),c=l.columns.length,u={storage:{},count:0},p=l._hasDetails(),f=[],h=l._groups();if(!e){for(e="0&&(e+=n(h)),p&&(e+=''),r=0;c>r;r++)a=l.columns[r],o=a.template,s=typeof o,e+="",e+=l._cellTmpl(a,u),e+="";e+=""}return e=b.template(e,d),u.count>0?P(e,u.storage):e},_headerCellText:function(e){var t=this,n=A({},b.Template,t.options.templateSettings),i=e.headerTemplate,r=typeof i,o=e.title||e.field||"";return r===ft?o=b.template(i,n)({}):r===ht&&(o=i),o},_cellTmpl:function(e,t){var n,i,r=this,o=A({},b.Template,r.options.templateSettings),a=e.template,s=o.paramName,l=e.field,d="",c=e.format,u=typeof a,p=e.values;if(e.command){if(I(e.command)){for(n=0,i=e.command.length;i>n;n++)d+=r._createButton(e.command[n]);return d.replace(_t,"\\#")}return r._createButton(e.command).replace(_t,"\\#")}return u===ft?(t.storage["tmpl"+t.count]=a,d+="#=this.tmpl"+t.count+"("+s+")#",t.count++):u===ht?d+=a:p&&p.length&&S(p[0])&&"value"in p[0]&&l?(d+="#var v ="+b.stringify(f(p))+"#",d+="#var f = v[",o.useWithBlock||(d+=s+"."),d+=l+"]#",d+="${f != null ? f : ''}"):(d+=e.encoded?"#:":"#=",c&&(d+='kendo.format("'+c.replace(gt,"\\$1")+'",'),l?(l=b.expr(l,s),d+=l+"==null?'':"+l):d+="''",c&&(d+=")"),d+="#"),d},_templates:function(){var t=this,n=t.options,i=t.dataSource,r=i.group(),o=t.footer||t.wrapper.find(".k-grid-footer"),a=i.aggregate();t.rowTemplate=t._tmpl(n.rowTemplate),t.altRowTemplate=t._tmpl(n.altRowTemplate||n.rowTemplate,!0),t._hasDetails()&&(t.detailTemplate=t._detailTmpl(n.detailTemplate||"")),(t._group&&!H(a)||!H(a)&&!o.length||D(t.columns,function(e){return e.footerTemplate}).length)&&(t.footerTemplate=t._footerTmpl(a,"footerTemplate","k-footer-template")),r&&D(t.columns,function(e){return e.groupFooterTemplate}).length&&(a=e.map(r,function(e){return e.aggregates}),t.groupFooterTemplate=t._footerTmpl(a,"groupFooterTemplate","k-group-footer"))},_footerTmpl:function(e,t,r){var o,s,l,d,c,u=this,p=A({},b.Template,u.options.templateSettings),f=p.paramName,h="",m=u.columns,g={},v=0,_={},y=u._groups(),w=a(e);for(h+='',y>0&&(h+=n(y)),u._hasDetails()&&(h+=' '),o=0,s=u.columns.length;s>o;o++)c=m[o],l=c[t],d=typeof l,h+="",l?(d!==ft&&(_=w[c.field]?A({},p,{paramName:f+"."+c.field}):{},l=b.template(l,_)),g["tmpl"+v]=l,h+="#=this.tmpl"+v+"("+f+")#",v++):h+=" ",h+="";return h+="",h=b.template(h,p),v>0?P(h,g):h},_detailTmpl:function(e){var t=this,i="",r=A({},b.Template,t.options.templateSettings),o=r.paramName,a={},s=0,l=t._groups(),c=d(t.columns).length,u=typeof e;return i+='',l>0&&(i+=n(l)),i+='",u===ft?(a["tmpl"+s]=e,i+="#=this.tmpl"+s+"("+o+")#",s++):i+=e,i+="",i=b.template(i,r),s>0?P(i,a):i},_hasDetails:function(){var e=this;return null!==e.options.detailTemplate||(e._events[K]||[]).length},_details:function(){var t=this;t.table.on(ct+G,".k-hierarchy-cell .k-plus, .k-hierarchy-cell .k-minus",function(n){var i,r,o=e(this),a=o.hasClass("k-plus"),s=o.closest("tr.k-master-row"),l=t.detailTemplate,d=t._hasDetails();return o.toggleClass("k-plus",!a).toggleClass("k-minus",a),d&&!s.next().hasClass("k-detail-row")&&(r=t.dataItem(s),e(l(r)).addClass(s.hasClass("k-alt")?"k-alt":"").insertAfter(s),t.trigger(K,{masterRow:s,detailRow:s.next(),data:r,detailCell:s.next().find(".k-detail-cell")})),i=s.next(),t.trigger(a?rt:ot,{masterRow:s,detailRow:i}),i.toggle(a),t._current&&t._current.attr("aria-expanded",a),n.preventDefault(),!1})},dataItem:function(t){return this._data[this.tbody.find("> tr:not(.k-grouping-row,.k-detail-row,.k-group-footer)").index(e(t))]},expandRow:function(t){e(t).find("> td .k-plus, > td .k-i-expand").click()},collapseRow:function(t){e(t).find("> td .k-minus, > td .k-i-collapse").click()},_thead:function(){var n,r,o,a,s,l=this,d=l.columns,c=l._hasDetails()&&d.length,u="",p=l.table.find(">thead");if(p.length||(p=e("").insertBefore(l.tbody)),o=l.element.find("tr:has(th):first"),o.length||(o=p.children().first(),o.length||(o=e(""))),o.children().length)c&&!o.find(".k-hierarchy-cell")[0]&&o.prepend(' ');else{for(c&&(u+=' '),n=0,r=d.length;r>n;n++)s=d[n],a=l._headerCellText(s),s.command?u+=""+a+"":(u+=""+a+"");o.html(u)}o.find("th").addClass("k-header"),l.options.scrollable||p.addClass("k-grid-header"),o.find("script").remove().end().appendTo(p),l.thead&&l._destroyColumnAttachments(),l.thead=p,l._sortable(),l._filterable(),l._scrollable(),l._updateCols(),l._resizable(),l._draggable(),l._reorderable(),l.groupable&&l._attachGroupable(),l._columnMenu() -},_updateCols:function(){var e=this;e._appendCols(e.thead.parent().add(e.table))},_appendCols:function(e){var t=this;p(e,d(t.columns),t._hasDetails(),t._groups())},_autoColumns:function(e){if(e&&e.toJSON){var t,n=this;e=e.toJSON();for(t in e)n.columns.push({field:t});n._thead(),n._templates()}},_rowsHtml:function(e){var t,n,i=this,r="",o=i.rowTemplate,a=i.altRowTemplate;for(t=0,n=e.length;n>t;t++)r+=t%2?a(e[t]):o(e[t]),i._data.push(e[t]);return r},_groupRowHtml:function(e,t,i){var r,o,a=this,s="",l=e.field,d=D(a.columns,function(e){return e.field==l})[0]||{},c=d.groupHeaderTemplate,u=(d.title||l)+": "+h(e.value,d.format,d.values),p=A({},{field:e.field,value:e.value},e.aggregates[e.field]),f=a._groupAggregatesDefaultObject||{},m=e.items;if(c&&(u=typeof c===ft?c(p):b.template(c)(p)),s+=''+n(i)+''+'

'+''+u+"

",e.hasSubgroups)for(r=0,o=m.length;o>r;r++)s+=a._groupRowHtml(m[r],t-1,i+1);else s+=a._rowsHtml(m);return a.groupFooterTemplate&&(s+=a.groupFooterTemplate(A(f,e.aggregates))),s},collapseGroup:function(n){n=e(n).find(".k-icon").addClass("k-i-expand").removeClass("k-i-collapse").end();var i,r,o=n.find(".k-group-cell").length,a=1;n.find("td:first").attr("aria-expanded",!1),n.nextAll("tr").each(function(){return r=e(this),i=r.find(".k-group-cell").length,r.hasClass("k-grouping-row")?a++:r.hasClass("k-group-footer")&&a--,o>=i||r.hasClass("k-group-footer")&&0>a?!1:(r.hide(),t)})},expandGroup:function(n){n=e(n).find(".k-icon").addClass("k-i-collapse").removeClass("k-i-expand").end();var i,r,o=this,a=n.find(".k-group-cell").length,s=1;n.find("td:first").attr("aria-expanded",!0),n.nextAll("tr").each(function(){return i=e(this),r=i.find(".k-group-cell").length,a>=r?!1:(r!=a+1||i.hasClass("k-detail-row")||(i.show(),i.hasClass("k-grouping-row")&&i.find(".k-icon").hasClass("k-i-collapse")&&o.expandGroup(i),i.hasClass("k-master-row")&&i.find(".k-icon").hasClass("k-minus")&&i.next().show()),i.hasClass("k-grouping-row")&&s++,i.hasClass("k-group-footer")&&(1==s?i.show():s--),t)})},_updateHeader:function(t){var n=this,i=n.thead.find("th.k-group-cell"),r=i.length;t>r?e(Array(t-r+1).join(' ')).prependTo(n.thead.find("tr")):r>t&&(r-=t,e(D(i,function(e,t){return r>t})).remove())},_firstDataItem:function(e,t){return e&&t&&(e=e.hasSubgroups?this._firstDataItem(e.items[0],t):e.items[0]),e},hideColumn:function(t){var n,i,r,o,a,s,l,u,p,f=this,h=0,g=f.footer||f.wrapper.find(".k-grid-footer"),v=f.columns;if(t="number"==typeof t?v[t]:D(v,function(e){return e.field===t})[0],t&&!t.hidden){for(p=E(t,d(v)),t.hidden=!0,t.attributes=c(t.attributes),t.footerAttributes=c(t.footerAttributes),t.headerAttributes=c(t.headerAttributes),f._templates(),f._updateCols(),f.thead.find(">tr>th:not(.k-hierarchy-cell,.k-group-cell):visible").eq(p).hide(),g&&(f._appendCols(g.find("table:first")),g.find(".k-footer-template>td:not(.k-hierarchy-cell,.k-group-cell):visible").eq(p).hide()),n=f.tbody.children(),a=0,u=n.length;u>a;a+=1)i=n.eq(a),i.is(".k-grouping-row,.k-detail-row")?(r=i.children(":not(.k-group-cell):first,.k-detail-cell").last(),r.attr("colspan",parseInt(r.attr("colspan"),10)-1)):(i.hasClass("k-grid-edit-row")&&(r=i.children(".k-edit-container")[0])&&(r=e(r),r.attr("colspan",parseInt(r.attr("colspan"),10)-1),r.find("col").eq(p).remove(),i=r.find("tr:first")),m(i[0].cells,p,!1));for(s=f.thead.prev().find("col"),a=0,u=s.length;u>a;a+=1){if(l=s[a].style.width,!l||-1!=l.indexOf("%")){h=0;break}h+=parseInt(l,10)}o=e(">.k-grid-header table:first,>.k-grid-footer table:first",f.wrapper).add(f.table),f._footerWidth=null,h&&(o.width(h),f._footerWidth=h),b.support.browser.msie&&8==parseInt(b.support.browser.version,10)&&(o.css("display","inline-table"),setTimeout(function(){o.css("display","table")},1)),f.trigger(et,{column:t})}},showColumn:function(t){var n,i,r,o,a,s,l,c,f,h,g=this,v=g.columns,_=g.footer||g.wrapper.find(".k-grid-footer");if(t="number"==typeof t?v[t]:D(v,function(e){return e.field===t})[0],t&&t.hidden){for(h=E(t,v),t.hidden=!1,t.attributes=u(t.attributes),t.footerAttributes=u(t.footerAttributes),t.headerAttributes=u(t.headerAttributes),g._templates(),g._updateCols(),g.thead.find(">tr>th:not(.k-hierarchy-cell,.k-group-cell)").eq(h).show(),_&&(g._appendCols(_.find("table:first")),_.find(".k-footer-template>td:not(.k-hierarchy-cell,.k-group-cell)").eq(h).show()),n=g.tbody.children(),i=0,r=n.length;r>i;i+=1)o=n.eq(i),o.is(".k-grouping-row,.k-detail-row")?(a=o.children(":not(.k-group-cell):first,.k-detail-cell").last(),a.attr("colspan",parseInt(a.attr("colspan"),10)+1)):(o.hasClass("k-grid-edit-row")&&(a=o.children(".k-edit-container")[0])&&(a=e(a),a.attr("colspan",parseInt(a.attr("colspan"),10)+1),p(a.find(">form>table"),d(v),!1,0),o=a.find("tr:first")),m(o[0].cells,h,!0));if(s=e(">.k-grid-header table:first,>.k-grid-footer table:first",g.wrapper).add(g.table),t.width){for(l=0,f=g.thead.prev().find("col"),i=0,r=f.length;r>i;i+=1){if(c=f[i].style.width,c.indexOf("%")>-1){l=0;break}l+=parseInt(c,10)}g._footerWidth=null,l&&(s.width(l),g._footerWidth=l)}else s.width("");g.trigger(tt,{column:t})}},_progress:function(e){var t=this,n=t.element.is("table")?t.element.parent():t.content&&t.content.length?t.content:t.element;b.ui.progress(n,e)},refresh:function(t){var n,i,r,o,s,l=this,c="",u=l.dataSource.view(),p=l.options.navigatable,f=e(l.current()),h=!1,m=(l.dataSource.group()||[]).length,g=m+d(l.columns).length;if(!(t&&"itemchange"===t.action&&l.editable||(t=t||{},l.trigger("dataBinding",{action:t.action||"rebind",index:t.index,items:t.items})))){if(p&&(l.table[0]===document.activeElement||e.contains(l.table[0],document.activeElement)||l._editContainer&&l._editContainer.data("kendoWindow"))&&(h=f.is("th"),s=0,h&&(s=l.thead.find("th:not(.k-group-cell)").index(f))),l._destroyEditable(),l._progress(!1),l._data=[],l.columns.length||(l._autoColumns(l._firstDataItem(u[0],m)),g=m+l.columns.length),l._group=m>0||l._group,l._group&&(l._templates(),l._updateCols(),l._updateHeader(m),l._group=m>0),m>0)for(l.detailTemplate&&g++,l.groupFooterTemplate&&(l._groupAggregatesDefaultObject=a(l.dataSource.aggregate())),i=0,n=u.length;n>i;i++)c+=l._groupRowHtml(u[i],g,0);else c+=l._rowsHtml(u);k?l.tbody[0].innerHTML=c:(o=document.createElement("div"),o.innerHTML=""+c+"
",r=o.firstChild.firstChild,l.table[0].replaceChild(r,l.tbody[0]),l.tbody=e(r)),l._footer(),l._setContentHeight(),s>=0&&(l._removeCurrent(),h?l.current(l.thead.find("th:not(.k-group-cell)").eq(s)):l.current(l.items().eq(s).children().filter(N).first()),l._current&&v(l._current.closest("table")[0],!0)),l.trigger(it)}}});y.plugin(Tt),y.plugin(kt)}(window.kendo.jQuery),function(e,t){var n=window.kendo,i="change",r="cancel",o="dataBound",a="dataBinding",s=n.ui.Widget,l=n.keys,d=">*",c="progress",u="error",p="k-state-focused",f="k-state-selected",h="k-edit-item",m="string",g="edit",v="remove",_="save",b="click",y=".kendoListView",w=e.proxy,x=n.ui.progress,k=n.data.DataSource,C=s.extend({init:function(t,i){var r=this;i=e.isArray(i)?{dataSource:i}:i,s.fn.init.call(r,t,i),i=r.options,r.wrapper=t=r.element,t[0].id&&(r._itemId=t[0].id+"_lv_active"),r._element(),r._dataSource(),r.template=n.template(i.template||""),r.altTemplate=n.template(i.altTemplate||i.template),r.editTemplate=n.template(i.editTemplate||""),r._navigatable(),r._selectable(),r._pageable(),r._crudHandlers(),r.options.autoBind&&r.dataSource.fetch(),n.notify(r)},events:[i,r,a,o,g,v,_],options:{name:"ListView",autoBind:!0,selectable:!1,navigatable:!1,template:"",altTemplate:"",editTemplate:""},_item:function(e){return this.element.children()[e]()},items:function(){return this.element.children()},setDataSource:function(e){this.options.dataSource=e,this._dataSource(),this.options.autoBind&&e.fetch()},_unbindDataSource:function(){var e=this;e.dataSource.unbind(i,e._refreshHandler).unbind(c,e._progressHandler).unbind(u,e._errorHandler)},_dataSource:function(){var e=this;e.dataSource&&e._refreshHandler?e._unbindDataSource():(e._refreshHandler=w(e.refresh,e),e._progressHandler=w(e._progress,e),e._errorHandler=w(e._error,e)),e.dataSource=k.create(e.options.dataSource).bind(i,e._refreshHandler).bind(c,e._progressHandler).bind(u,e._errorHandler)},_progress:function(){x(this.element,!0)},_error:function(){x(this.element,!1)},_element:function(){this.element.addClass("k-widget k-listview").attr("role","listbox")},refresh:function(i){var r,s,l,d,c,u,p=this,f=p.dataSource.view(),h="",m=p.template,g=p.altTemplate;if(i&&"itemchange"===i.action)return p.editable||(r=i.items[0],d=e.inArray(r,f),d>=0&&(p.items().eq(d).replaceWith(m(r)),l=p.items().eq(d),l.attr(n.attr("uid"),r.uid),p.trigger("itemChange",{item:l,data:r}))),t;if(i=i||{},!p.trigger(a,{action:i.action||"rebind",items:i.items,index:i.index})){for(p._destroyEditable(),d=0,c=f.length;c>d;d++)h+=d%2?g(f[d]):m(f[d]);for(p.element.html(h),s=p.items(),d=0,c=f.length;c>d;d++)s.eq(d).attr(n.attr("uid"),f[d].uid).attr("role","option").attr("aria-selected","false");try{u=document.activeElement}catch(v){}p.element[0]===u&&p.options.navigatable&&p.current(s.eq(0)),p.trigger(o)}},_pageable:function(){var t,i,r=this,o=r.options.pageable;e.isPlainObject(o)&&(i=o.pagerId,t=e.extend({},o,{dataSource:r.dataSource,pagerId:null}),r.pager=new n.ui.Pager(e("#"+i),t))},_selectable:function(){var e,r,o=this,a=o.options.selectable,s=o.options.navigatable;a&&(e=typeof a===m&&a.toLowerCase().indexOf("multiple")>-1,e&&o.element.attr("aria-multiselectable",!0),o.selectable=new n.ui.Selectable(o.element,{aria:!0,multiple:e,filter:d,change:function(){o.trigger(i)}}),s&&o.element.on("keydown"+y,function(n){if(n.keyCode===l.SPACEBAR){if(r=o.current(),n.target==n.currentTarget&&n.preventDefault(),e)if(n.ctrlKey){if(r&&r.hasClass(f))return r.removeClass(f),t}else o.selectable.clear();else o.selectable.clear();o.selectable.value(r)}}))},current:function(e){var n=this,i=n.element,r=n._current,o=n._itemId;return e===t?r:(r&&(r[0].id===o&&r.removeAttr("id"),r.removeClass(p),i.removeAttr("aria-activedescendant")),e&&e[0]&&(o=e[0].id||o,n._scrollTo(e[0]),i.attr("aria-activedescendant",o),e.addClass(p).attr("id",o)),n._current=e,t)},_scrollTo:function(t){var n,i,r=this,o=!1,a="scroll";"auto"==r.wrapper.css("overflow")||r.wrapper.css("overflow")==a?n=r.wrapper[0]:(n=window,o=!0),i=function(i,r){var s=o?e(t).offset()[i.toLowerCase()]:t["offset"+i],l=t["client"+r],d=e(n)[a+i](),c=e(n)[r.toLowerCase()]();s+l>d+c?e(n)[a+i](s+l-c):d>s&&e(n)[a+i](s)},i("Top","Height"),i("Left","Width")},_navigatable:function(){var t=this,i=t.options.navigatable,r=t.element,o=function(n){t.current(e(n.currentTarget)),e(n.target).is(":button,a,:input,a>.k-icon,textarea")||r.focus()};i&&(t._tabindex(),r.on("focus"+y,function(){var e=t._current;e&&e.is(":visible")||(e=t._item("first")),t.current(e)}).on("focusout"+y,function(){t._current&&t._current.removeClass(p)}).on("keydown"+y,function(i){var o,a,s,d=i.keyCode,c=t.current(),u=e(i.target),p=!u.is(":button,textarea,a,a>.t-icon,input"),f=u.is(":text"),m=n.preventDefault,g=r.find("."+h);if(!(!p&&!f&&l.ESC!=d||f&&l.ESC!=d&&l.ENTER!=d))if(l.UP===d||l.LEFT===d)c&&(c=c.prev()),t.current(c&&c[0]?c:t._item("last")),m(i);else if(l.DOWN===d||l.RIGHT===d)c&&(c=c.next()),t.current(c&&c[0]?c:t._item("first")),m(i);else if(l.PAGEUP===d)t.current(null),t.dataSource.page(t.dataSource.page()-1),m(i);else if(l.PAGEDOWN===d)t.current(null),t.dataSource.page(t.dataSource.page()+1),m(i);else if(l.HOME===d)t.current(t._item("first")),m(i);else if(l.END===d)t.current(t._item("last")),m(i);else if(l.ENTER===d)if(0!==g.length&&(p||f)){o=t.items().index(g);try{a=document.activeElement}catch(v){}a&&a.blur(),t.save(),s=function(){t.element.trigger("focus"),t.current(t.items().eq(o))},t.one("dataBound",s)}else""!==t.options.editTemplate&&t.edit(c);else if(l.ESC===d){if(g=r.find("."+h),0===g.length)return;o=t.items().index(g),t.cancel(),t.element.trigger("focus"),t.current(t.items().eq(o))}}),r.on("mousedown"+y+" touchstart"+y,d,w(o,t)))},clearSelection:function(){var e=this;e.selectable.clear(),e.trigger(i)},select:function(n){var i=this,r=i.selectable;return n=e(n),n.length?(r.options.multiple||(r.clear(),n=n.first()),r.value(n),t):r.value()},_destroyEditable:function(){var e=this;e.editable&&(e.editable.destroy(),delete e.editable)},_modelFromElement:function(e){var t=e.attr(n.attr("uid"));return this.dataSource.getByUid(t)},_closeEditable:function(e){var t,i,r=this,o=r.editable,a=r.template,s=!0;return o&&(e&&(s=o.end()),s&&(o.element.index()%2&&(a=r.altTemplate),t=r._modelFromElement(o.element),r._destroyEditable(),i=o.element.index(),o.element.replaceWith(a(t)),r.items().eq(i).attr(n.attr("uid"),t.uid))),s},edit:function(e){var t,i=this,r=i._modelFromElement(e),o=e.index();i.cancel(),e.replaceWith(i.editTemplate(r)),t=i.items().eq(o).addClass(h).attr(n.attr("uid"),r.uid),i.editable=t.kendoEditable({model:r,clearContainer:!1,errorTemplate:!1}).data("kendoEditable"),i.trigger(g,{model:r,item:t})},save:function(){var e,t=this,n=t.editable;n&&(n=n.element,e=t._modelFromElement(n),!t.trigger(_,{model:e,item:n})&&t._closeEditable(!0)&&t.dataSource.sync())},remove:function(e){var t=this,n=t.dataSource,i=t._modelFromElement(e);t.trigger(v,{model:i,item:e})||(e.hide(),n.remove(i),n.sync())},add:function(){var e=this,t=e.dataSource,n=t.indexOf((t.view()||[])[0]);0>n&&(n=0),e.cancel(),t.insert(n,{}),e.edit(e.element.children().first())},cancel:function(){var e,t,n=this,i=n.dataSource;n.editable&&(e=n.editable.element,t=n._modelFromElement(e),n.trigger(r,{model:t,container:e})||(i.cancelChanges(t),n._closeEditable(!1)))},_crudHandlers:function(){var t=this,i=b+y;t.element.on(i,".k-edit-button",function(i){var r=e(this).closest("["+n.attr("uid")+"]");t.edit(r),i.preventDefault()}),t.element.on(i,".k-delete-button",function(i){var r=e(this).closest("["+n.attr("uid")+"]");t.remove(r),i.preventDefault()}),t.element.on(i,".k-update-button",function(e){t.save(),e.preventDefault()}),t.element.on(i,".k-cancel-button",function(e){t.cancel(),e.preventDefault()})},destroy:function(){var e=this;s.fn.destroy.call(e),e._unbindDataSource(),e._destroyEditable(),e.element.off(y),e.pager&&e.pager.destroy(),e.selectable&&e.selectable.destroy(),n.destroy(e.element)}});n.ui.plugin(C)}(window.kendo.jQuery),function(e,t){function n(e,t,n){var i,r;e.on("dragenter"+x,function(){t(),r=new Date,i||(i=setInterval(function(){var e=new Date-r;e>100&&(n(),clearInterval(i),i=null)},100))}).on("dragover"+x,function(){r=new Date})}function i(e,t){var n=e[t];return p(n)?n.field||t:n}function r(e,n){return e!==t&&e.match(/\/$/)||(e=(e||"")+"/"),e+n}function o(e){if(!e)return"";var t=" bytes";return e>=1073741824?(t=" GB",e/=1073741824):e>=1048576?(t=" MB",e/=1048576):e>=1024&&(t=" KB",e/=1024),Math.round(100*e)/100+t}var a,s,l,d,c=window.kendo,u=c.ui.Widget,p=e.isPlainObject,f=e.proxy,h=e.extend,m=c.support.placeholder,g=e.isFunction,v=/(^\/|\/$)/g,_="change",b="apply",y="error",w="click",x=".kendoImageBrowser",k=".kendoBreadcrumbs",C=".kendoSearchBox",T="name",S="size",A="type",F={field:A,dir:"asc"},D=c.template('
  • ${text}
  • '),I=c.template('
  • ${text}
  • '),E='
    #if(showUpload) { #
    #=messages.uploadFile#
    #}##if(showCreate) {##}##if(showDelete) {# #}#
    #=messages.orderBy#: #=messages.orderByName#
    ';h(!0,c.data,{schemas:{imagebrowser:{data:function(e){return e.items||e||[]},model:{id:"name",fields:{name:"name",size:"size",type:"type"}}}}}),h(!0,c.data,{transports:{imagebrowser:c.data.RemoteTransport.extend({init:function(t){c.data.RemoteTransport.fn.init.call(this,e.extend(!0,{},this.options,t))},_call:function(t,n){n.data=e.extend({},n.data,{path:this.options.path()}),g(this.options[t])?this.options[t].call(this,n):c.data.RemoteTransport.fn[t].call(this,n)},read:function(e){this._call("read",e)},create:function(e){this._call("create",e)},destroy:function(e){this._call("destroy",e)},update:function(){},options:{read:{type:"POST"},update:{type:"POST"},create:{type:"POST"},destroy:{type:"POST"}}})}}),a=c.support.browser.msie&&8>parseFloat(c.support.browser.version)?function(e){return e.offsetTop}:function(t){return t.offsetTop-e(t).height()},s=u.extend({init:function(e,t){var n=this;t=t||{},u.fn.init.call(n,e,t),n.element.addClass("k-imagebrowser"),n.element.on(w+x,".k-toolbar button:not(.k-state-disabled):has(.k-delete)",f(n._deleteClick,n)).on(w+x,".k-toolbar button:not(.k-state-disabled):has(.k-addfolder)",f(n._addClick,n)).on("keydown"+x,"li.k-state-selected input",f(n._directoryKeyDown,n)).on("blur"+x,"li.k-state-selected input",f(n._directoryBlur,n)),n._dataSource(),n.refresh(),n.path(n.options.path)},options:{name:"ImageBrowser",messages:{uploadFile:"Upload",orderBy:"Arrange by",orderByName:"Name",orderBySize:"Size",directoryNotFound:"A directory with this name was not found.",emptyFolder:"Empty Folder",deleteFile:'Are you sure you want to delete "{0}"?',invalidFileType:'The selected file "{0}" is not valid. Supported file types are {1}.',overwriteFile:'A file with name "{0}" already exists in the current directory. Do you want to overwrite it?',dropFilesHere:"drop files here to upload"},transport:{},path:"/",fileTypes:"*.png,*.gif,*.jpg,*.jpeg"},events:[y,_,b],destroy:function(){var e=this;u.fn.destroy.call(e),e.dataSource.unbind(y,e._errorHandler),e.element.add(e.list).add(e.toolbar).off(x),e.arrangeByPopup&&e.arrangeByPopup.destroy(),c.destroy(e.element)},value:function(){var e,n=this,i=n._selectedItem(),o=n.options.transport.imageUrl;return i&&"f"===i.get(n._getFieldName(A))?(e=r(n.path(),i.get(n._getFieldName(T))).replace(v,""),o&&(e=g(o)?o(e):c.format(o,e)),e):t},_selectedItem:function(){var e=this.listView,n=e.select();return n.length?this.dataSource.getByUid(n.attr(c.attr("uid"))):t},_toolbar:function(){var t,n,i=this,r=c.template(E),o=i.options.messages,a=[{text:o.orderByName,value:"name",ns:c.ns},{text:o.orderBySize,value:"size",ns:c.ns}];i.toolbar=e(r({messages:o,showUpload:i.options.transport.uploadUrl,showCreate:i.options.transport.create,showDelete:i.options.transport.destroy})).appendTo(i.element).find(".k-upload input").kendoUpload({multiple:!1,localization:{dropFilesHere:o.dropFilesHere},async:{saveUrl:i.options.transport.uploadUrl,autoUpload:!0},upload:f(i._fileUpload,i)}).end(),i.upload=i.toolbar.find(".k-upload input").data("kendoUpload"),t=i.toolbar.find(".k-tiles-arrange a"),i.arrangeByPopup=n=e("
      "+c.render(D,a)+"
    ").kendoPopup({anchor:t}).on(w+x,"li",function(){var t=e(this),r=t.attr(c.attr("value"));i.toolbar.find(".k-tiles-arrange a span:first").html(t.text()),n.close(),i.orderBy(r)}).data("kendoPopup"),t.on(w+x,function(e){e.preventDefault(),n.toggle()}),i._attachDropzoneEvents()},_attachDropzoneEvents:function(){var t=this;t.options.transport.uploadUrl&&(n(e(document.documentElement),e.proxy(t._dropEnter,t),e.proxy(t._dropLeave,t)),t._scrollHandler=f(t._positionDropzone,t))},_dropEnter:function(){this._positionDropzone(),e(document).on("scroll"+x,this._scrollHandler)},_dropLeave:function(){this._removeDropzone(),e(document).off("scroll"+x,this._scrollHandler)},_positionDropzone:function(){var e=this,t=e.element,n=t.offset();e.toolbar.find(".k-dropzone").addClass("k-imagebrowser-dropzone").offset(n).css({width:t[0].clientWidth,height:t[0].clientHeight,lineHeight:t[0].clientHeight+"px"})},_removeDropzone:function(){this.toolbar.find(".k-dropzone").removeClass("k-imagebrowser-dropzone").css({width:"",height:"",lineHeight:"",top:"",left:""})},_deleteClick:function(){var e=this,t=e.listView.select(),n=c.format(e.options.messages.deleteFile,t.find("strong").text());t.length&&e._showMessage(n,"confirm")&&e.listView.remove(t)},_addClick:function(){this.createDirectory()},_fileUpload:function(e){var t,n=this,i=n.options,r=i.fileTypes,o=RegExp(("("+r.split(",").join(")|(")+")").replace(/\*\./g,".*."),"i"),a=e.files[0].name,s=n._getFieldName(T),l=n._getFieldName(S);o.test(a)?(e.data={path:n.path()},t=n._createFile(a),t?n.upload.one("success",function(e){t.set(s,e.response[s]),t.set(l,e.response[l]),n._tiles=n.listView.items().filter("["+c.attr("type")+"=f]"),n._scroll()}):e.preventDefault()):(e.preventDefault(),n._showMessage(c.format(i.messages.invalidFileType,a,r)))},_findFile:function(e){var t,n,i,r=this.dataSource.data(),o=this._getFieldName(A),a=this._getFieldName(T);for(e=e.toLowerCase(),t=0,i=r.length;i>t;t++)if("f"===r[t].get(o)&&r[t].get(a).toLowerCase()===e){n=r[t];break}return n},_createFile:function(e){var t,n,i=this,r=0,o={},a=i._getFieldName(A),s=i.dataSource.view(),l=i._findFile(e);if(l&&!i._showMessage(c.format(i.options.messages.overwriteFile,e),"confirm"))return null;if(l)return l;for(t=0,n=s.length;n>t;t++)if("f"===s[t].get(a)){r=t;break}return o[a]="f",o[i._getFieldName(T)]=e,o[i._getFieldName(S)]=0,i.dataSource.insert(++r,o)},createDirectory:function(){var e,t,n=this,i=0,r=n._getFieldName(A),o=n._getFieldName(T),a=n.dataSource.data(),s=n._nameDirectory(),l=new n.dataSource.reader.model;for(e=0,t=a.length;t>e;e++)"d"===a[e].get(r)&&(i=e);l.set(r,"d"),l.set(o,s),n.listView.one("dataBound",function(){var e=n.listView.items().filter("["+c.attr("uid")+"="+l.uid+"]"),t=e.find("input");e.length&&this.edit(e),this.element.scrollTop(e.attr("offsetTop")-this.element[0].offsetHeight),setTimeout(function(){t.select()})}).one("save",function(e){var t=e.model.get(o);t?e.model.set(o,n._nameExists(t,l.uid)?n._nameDirectory():t):e.model.set(o,s)}),n.dataSource.insert(++i,l)},_directoryKeyDown:function(e){13==e.keyCode&&e.currentTarget.blur()},_directoryBlur:function(){this.listView.save()},_nameExists:function(e,t){var n,i,r=this.dataSource.data(),o=this._getFieldName(A),a=this._getFieldName(T);for(n=0,i=r.length;i>n;n++)if("d"===r[n].get(o)&&r[n].get(a).toLowerCase()===e.toLowerCase()&&r[n].uid!==t)return!0;return!1},_nameDirectory:function(){var t,n,i,r="New folder",o=this.dataSource.data(),a=[],s=this._getFieldName(A),l=this._getFieldName(T);for(n=0,i=o.length;i>n;n++)"d"===o[n].get(s)&&o[n].get(l).toLowerCase().indexOf(r.toLowerCase())>-1&&a.push(o[n].get(l));if(e.inArray(r,a)>-1){n=2;do t=r+" ("+n+")",n++;while(e.inArray(t,a)>-1);r=t}return r},orderBy:function(e){this.dataSource.sort([{field:this._getFieldName(A),dir:"asc"},{field:this._getFieldName(e),dir:"asc"}])},search:function(e){this.dataSource.filter({field:this._getFieldName(T),operator:"contains",value:e})},_content:function(){var t=this;t.list=e('
      ').appendTo(t.element).on("scroll"+x,f(t._scroll,t)).on("dblclick"+x,"li",f(t._dblClick,t)),t.listView=new c.ui.ListView(t.list,{dataSource:t.dataSource,template:t._itemTmpl(),editTemplate:t._editTmpl(),selectable:!0,autoBind:!1,dataBinding:function(e){t.toolbar.find(".k-delete").parent().addClass("k-state-disabled"),("remove"===e.action||"sync"===e.action)&&e.preventDefault()},dataBound:function(){t.dataSource.view().length?(t._tiles=this.items().filter("["+c.attr("type")+"=f]"),t._scroll()):this.wrapper.append(I({text:t.options.messages.emptyFolder}))},change:f(t._listViewChange,t)})},_dblClick:function(t){var n,i=this,o=e(t.currentTarget);o.filter("["+c.attr("type")+"=d]").length?(n=i.dataSource.getByUid(o.attr(c.attr("uid"))),n&&(i.path(r(i.path(),n.get(i._getFieldName(T)))),i.breadcrumbs.value(i.path()))):o.filter("["+c.attr("type")+"=f]").length&&i.trigger(b)},_listViewChange:function(){var e=this._selectedItem();e&&(this.toolbar.find(".k-delete").parent().removeClass("k-state-disabled"),"f"===e.get(this._getFieldName(A))&&this.trigger(_))},_dataSource:function(){var e,t=this,n=t.options,r=n.transport,o=h({},F),a={field:T,dir:"asc"},s={type:r.type||"imagebrowser",sort:[o,a]};p(r)&&(r.path=f(t.path,t),s.transport=r),p(n.schema)?(s.schema=n.schema,p(n.schema.model)&&n.schema.model.fields&&(o.field=i(n.schema.model.fields,A),a.field=i(n.schema.model.fields,T))):r.type&&p(c.data.schemas[r.type])&&(e=c.data.schemas[r.type],p(e.model)&&e.model.fields&&(o.field=i(e.model.fields,A),a.field=i(e.model.fields,T))),t.dataSource&&t._errorHandler?t.dataSource.unbind(y,t._errorHandler):t._errorHandler=f(t._error,t),t.dataSource=c.data.DataSource.create(s).bind(y,t._errorHandler)},_navigation:function(){var t=this,n=e('
      ').appendTo(this.element);t.breadcrumbs=n.find("input:first").kendoBreadcrumbs({value:t.options.path,change:function(){t.path(this.value())}}).data("kendoBreadcrumbs"),t.searchBox=n.parent().find("input:last").kendoSearchBox({change:function(){t.search(this.value())}}).data("kendoSearchBox")},_error:function(e){var t,n=this;n.trigger(y,e)||(t=e.xhr.status,"error"==e.status?"404"==t?n._showMessage(n.options.messages.directoryNotFound):"0"!=t&&n._showMessage("Error! The requested URL returned "+t+" - "+e.xhr.statusText):"timeout"==t&&n._showMessage("Error! Server timeout."))},_showMessage:function(e,t){return window[t||"alert"](e)},refresh:function(){var e=this;e._navigation(),e._toolbar(),e._content()},_loadImage:function(t){var n=this,i=e(t),r=n.dataSource.getByUid(i.attr(c.attr("uid"))),o=r.get(n._getFieldName(T)),a=n.options.transport.thumbnailUrl,s=e("",{alt:o}).hide().on("load"+x,function(){e(this).prev().remove().end().addClass("k-image").fadeIn()}),l="?";i.find(".k-loading").after(s),g(a)?a=a(n.path(),encodeURIComponent(o)):(a.indexOf("?")>=0&&(l="&"),a=a+l+"path="+n.path()+encodeURIComponent(o)),s.attr("src",a),t.loaded=!0},_scroll:function(){var e=this;e.options.transport&&e.options.transport.thumbnailUrl&&(clearTimeout(e._timeout),e._timeout=setTimeout(function(){var n=e.list.outerHeight(),i=e.list.scrollTop(),r=i+n;e._tiles.each(function(){var n=a(this),o=n+this.offsetHeight;return(n>=i&&r>n||o>=i&&r>o)&&e._loadImage(this),n>r?!1:t}),e._tiles=e._tiles.filter(function(){return!this.loaded})},250))},_editTmpl:function(){var e=this,t='
    • ',t+="#if("+e._getFieldName(A)+' == "d") { #',t+='
      ',t+="#}else{#",t+='
      ',t+="#}#",t+="#if("+e._getFieldName(A)+' == "d") { #',t+='',t+="#}#",t+="
    • ",f(c.template(t),{sizeFormatter:o})},_itemTmpl:function(){var e=this,t='
    • ',t+="#if("+e._getFieldName(A)+' == "d") { #',t+='
      ',t+="#}else{#",t+=e.options.transport&&e.options.transport.thumbnailUrl?'
      ':'
      ',t+="#}#",t+="${"+e._getFieldName(T)+"}",t+="#if("+e._getFieldName(A)+' == "f") { # ${this.sizeFormatter('+e._getFieldName(S)+")} #}#",t+="
    • ",f(c.template(t),{sizeFormatter:o})},_getFieldName:function(e){return i(this.dataSource.reader.model.fields,e)},path:function(e){var n=this,i=n._path||"";return e!==t?(n._path=e.replace(v,"")+"/",n.dataSource.read({path:n._path}),t):(i&&(i=i.replace(v,"")),"/"===i||""===i?"":i+"/")}}),l=u.extend({init:function(e,t){var n=this;t=t||{},u.fn.init.call(n,e,t),m&&n.element.attr("placeholder",n.options.label),n._wrapper(),n.element.on("keydown"+C,f(n._keydown,n)).on("change"+C,f(n._updateValue,n)),n.wrapper.on(w+C,"a",f(n._click,n)),m||n.element.on("focus"+C,f(n._focus,n)).on("blur"+C,f(n._blur,n))},options:{name:"SearchBox",label:"Search",value:""},events:[_],destroy:function(){var e=this;e.wrapper.add(e.element).add(e.label).off(C),u.fn.destroy.call(e)},_keydown:function(e){13===e.keyCode&&this._updateValue()},_click:function(e){e.preventDefault(),this._updateValue()},_updateValue:function(){var e=this,t=e.element.val();t!==e.value()&&(e.value(t),e.trigger(_))},_blur:function(){this._updateValue(),this._toggleLabel()},_toggleLabel:function(){m||this.label.toggle(!this.element.val())},_focus:function(){this.label.hide()},_wrapper:function(){var t=this.element,n=t.parents(".k-search-wrap");t[0].style.width="",t.addClass("k-input k-textbox"),n.length||(n=t.wrap(e('
      ')).parent(),m||e('").insertBefore(t),e('').appendTo(n)),this.wrapper=n,this.label=n.find(">label")},value:function(e){var n=this;return e!==t?(n.options.value=e,n.element.val(e),n._toggleLabel(),t):n.options.value}}),d=u.extend({init:function(e,t){var n=this;t=t||{},u.fn.init.call(n,e,t),n._wrapper(),n.wrapper.on("focus"+k,"input",f(n._focus,n)).on("blur"+k,"input",f(n._blur,n)).on("keydown"+k,"input",f(n._keydown,n)).on(w+k,"a.k-i-arrow-n:first",f(n._rootClick,n)).on(w+k,"a:not(.k-i-arrow-n)",f(n._click,n)),n.value(n.options.value)},options:{name:"Breadcrumbs",gap:50},events:[_],destroy:function(){var e=this;u.fn.destroy.call(e),e.wrapper.add(e.wrapper.find("input")).add(e.wrapper.find("a")).off(k)},_update:function(e){e="/"===(e||"").charAt(0)?e:"/"+(e||""),e!==this.value()&&(this.value(e),this.trigger(_))},_click:function(t){t.preventDefault(),this._update(this._path(e(t.target).prevAll("a:not(.k-i-arrow-n)").andSelf()))},_rootClick:function(e){e.preventDefault(),this._update("")},_focus:function(){var e=this,t=e.element;e.overlay.hide(),e.element.val(e.value()),setTimeout(function(){t.select()})},_blur:function(){if(!this.overlay.is(":visible")){var e=this,t=e.element,n=t.val().replace(/\/{2,}/g,"/");e.overlay.show(),t.val(""),e._update(n)}},_keydown:function(e){var t=this;13===e.keyCode&&(t._blur(),setTimeout(function(){t.overlay.find("a:first").focus()}))},_wrapper:function(){var t,n=this.element,i=n.parents(".k-breadcrumbs");n[0].style.width="",n.addClass("k-input"),i.length||(i=n.wrap(e('
      ')).parent()),t=i.find(".k-breadcrumbs-wrap"),t.length||(t=e('
      ').appendTo(i)),this.wrapper=i,this.overlay=t},refresh:function(){var n,i,r,o,a="",s=this.value();for(s!==t&&s.match(/^\//)||(s="/"+(s||"")),n=s.split("/"),r=0,o=n.length;o>r;r++)i=n[r],i&&(a||(a+='root'),a+=''+n[r]+"",a+='>');this.overlay.empty().append(e(a)),this._adjustSectionWidth()},_adjustSectionWidth:function(){var t,n=this,i=n.wrapper,r=i.width()-n.options.gap,o=n.overlay.find("a");o.each(function(n){t=e(this),t.parent().width()>r&&(n==o.length-1?t.width(r):t.prev().andSelf().hide())})},value:function(e){return e!==t?(this._value=e.replace(/\/{2,}/g,"/"),this.refresh(),t):this._value},_path:function(t){return"/"+e.map(t,function(t){return e(t).text()}).join("/")}}),c.ui.plugin(s),c.ui.plugin(d),c.ui.plugin(l)}(window.kendo.jQuery),function(e,t){var n,i,r=window.kendo,o=r.Class,a=r.ui.Widget,s=r.support.mobileOS,l=r.support.browser,d=e.extend,c=r.deepExtend,u=".kendoEditor",p=r.keys,f=o.extend({init:function(e){this.options=e},getHtml:function(){var e=this.options; -return r.template(e.template)({cssClass:e.cssClass,tooltip:e.title,initialValue:e.initialValue})}}),h={select:function(e){e.trigger("select",{})},editorWrapperTemplate:'',buttonTemplate:'',colorPickerTemplate:'',comboBoxTemplate:'
    • ',dropDownListTemplate:'
    • ',separatorTemplate:'
    • ',focusable:".k-colorpicker,a.k-tool-icon:not(.k-state-disabled),.k-selectbox, .k-combobox .k-input",wrapTextarea:function(t){var n=t[0].style.width,i=t[0].style.height,r=h.editorWrapperTemplate,o=e(r).insertBefore(t).width(n).height(i),a=o.find(".k-editable-area");return t.appendTo(a).addClass("k-content k-raw-content").hide(),t.closest(".k-editor")},renderTools:function(t,n){var i,o,a,s,l,c={},u=t._nativeTools,p=e(t.element).closest(".k-editor").find(".k-editor-toolbar");if(n)for(a=0;n.length>a;a++)i=n[a],l=null,e.isPlainObject(i)?i.name&&t.tools[i.name]?(e.extend(t.tools[i.name].options,i),c[i.name]=t.tools[i.name],l=c[i.name].options):(l=d({cssClass:"k-i-custom",type:"button",tooltip:""},i),l.name&&(l.cssClass="k-"+("custom"==l.name?"i-custom":l.name)),l.template||"button"==l.type&&(l.template=h.buttonTemplate)):t.tools[i]&&(c[i]=t.tools[i],l=c[i].options),l&&(s=l.template,s&&(s.getHtml?s=s.getHtml():(e.isFunction(s)||(s=r.template(s)),s=s(l)),0!==s.indexOf(""+s+""),o=e(s).appendTo(p),"button"==l.type&&l.exec&&o.find(".k-tool-icon").click(e.proxy(l.exec,t.element[0]))));for(a=0;u.length>a;a++)c[u[a]]||(c[u[a]]=t.tools[u[a]]);t.options.tools=c},decorateStyleToolItems:function(t){var n,i=t.data.closest(".k-editor").find(".k-style").data("kendoSelectBox");i&&(n=i.dataSource.view(),i.list.find(".k-item").each(function(i,o){var a=e(o),s=a.text(),l=r.ui.editor.Dom.inlineStyle(t.data.data("kendoEditor").document,"span",{className:n[i].value});a.html(''+s+"")}))},createContentElement:function(t,n){var i,o,a,s=r.support.isRtl(t)?"direction:rtl;":"";return t.hide(),i=e("")}},font:{start:function(e){var t,n,i;p.push('')},end:function(){p.push("")}}};return o(n),p=p.join(""),""===p.replace(l,"").replace(d,"")?"":p}};o(i,{Serializer:u})}(window.kendo.jQuery),function(e){function t(e,t,n,i){var r,o,a,s;if(e==t)return i-n;for(r=t;r&&r.parentNode!=e;)r=r.parentNode;if(r)return p(r)-n;for(r=e;r&&r.parentNode!=t;)r=r.parentNode;if(r)return i-p(r)-1;for(o=u.commonAncestor(e,t),a=e;a&&a.parentNode!=o;)a=a.parentNode;for(a||(a=o),s=t;s&&s.parentNode!=o;)s=s.parentNode;return s||(s=o),a==s?0:p(s)-p(a)}function n(e,n){function i(e){try{return 0>t(e.startContainer,e.endContainer,e.startOffset,e.endOffset)}catch(n){return!0}}i(e)&&(n?(e.commonAncestorContainer=e.endContainer=e.startContainer,e.endOffset=e.startOffset):(e.commonAncestorContainer=e.startContainer=e.endContainer,e.startOffset=e.endOffset),e.collapsed=!0)}function i(e){e.collapsed=e.startContainer==e.endContainer&&e.startOffset==e.endOffset;for(var t=e.startContainer;t&&t!=e.endContainer&&!u.isAncestorOf(t,e.endContainer);)t=t.parentNode;e.commonAncestorContainer=t}function r(e,t,n){var i,r,o=t[n?"startContainer":"endContainer"],a=t[n?"startOffset":"endOffset"],s=0,l=f(o)?o:o.childNodes[a]||null,d=f(o)?o.parentNode:o;(3==o.nodeType||4==o.nodeType)&&(s=a),i=d.insertBefore(u.create(t.ownerDocument,"a"),l),r=t.ownerDocument.body.createTextRange(),r.moveToElementText(i),u.remove(i),r[n?"moveStart":"moveEnd"]("character",s),r.collapse(!1),e.setEndPoint(n?"StartToStart":"EndToStart",r)}function o(e,t,n){var i,r,o=u.create(t.ownerDocument,"a"),a=e.duplicate();a.collapse(n),i=a.parentElement();do i.insertBefore(o,o.previousSibling),a.moveToElementText(o);while(a.compareEndPoints(n?"StartToStart":"StartToEnd",e)>0&&o.previousSibling);return a.setEndPoint(n?"EndToStart":"EndToEnd",e),(r=o.nextSibling)?(u.remove(o),f(r)?t[n?"setStart":"setEnd"](r,a.text.length):t[n?"setStartBefore":"setEndBefore"](r),void 0):(r=o.previousSibling,r&&f(r)?(t.setEnd(r,r.nodeValue.length),u.remove(o)):(t.selectNodeContents(i),u.remove(o),t.endOffset-=1),void 0)}var a=window.kendo,s=a.Class,l=e.extend,d=a.ui.editor,c=a.support.browser,u=d.Dom,p=u.findNodeIndex,f=u.isDataNode,h=u.findClosestAncestor,m=u.getNodeLength,g=u.normalize,v={selectionFromWindow:function(e){return"getSelection"in e?e.getSelection():new y(e.document)},selectionFromRange:function(e){var t=T.documentFromRange(e);return v.selectionFromDocument(t)},selectionFromDocument:function(e){return v.selectionFromWindow(u.windowFromDocument(e))}},_=s.extend({init:function(t){e.extend(this,{ownerDocument:t,startContainer:t,endContainer:t,commonAncestorContainer:t,startOffset:0,endOffset:0,collapsed:!0})},setStart:function(e,t){this.startContainer=e,this.startOffset=t,i(this),n(this,!0)},setEnd:function(e,t){this.endContainer=e,this.endOffset=t,i(this),n(this,!1)},setStartBefore:function(e){this.setStart(e.parentNode,p(e))},setStartAfter:function(e){this.setStart(e.parentNode,p(e)+1)},setEndBefore:function(e){this.setEnd(e.parentNode,p(e))},setEndAfter:function(e){this.setEnd(e.parentNode,p(e)+1)},selectNode:function(e){this.setStartBefore(e),this.setEndAfter(e)},selectNodeContents:function(e){this.setStart(e,0),this.setEnd(e,e[1===e.nodeType?"childNodes":"nodeValue"].length)},collapse:function(e){var t=this;e?t.setEnd(t.startContainer,t.startOffset):t.setStart(t.endContainer,t.endOffset)},deleteContents:function(){var e=this,t=e.cloneRange();e.startContainer!=e.commonAncestorContainer&&e.setStartAfter(h(e.commonAncestorContainer,e.startContainer)),e.collapse(!0),function n(e){for(;e.next();)e.hasPartialSubtree()?n(e.getSubtreeIterator()):e.remove()}(new b(t))},cloneContents:function(){var e=T.documentFromRange(this);return function t(n){for(var i,r=e.createDocumentFragment();i=n.next();)i=i.cloneNode(!n.hasPartialSubtree()),n.hasPartialSubtree()&&i.appendChild(t(n.getSubtreeIterator())),r.appendChild(i);return r}(new b(this))},extractContents:function(){var e,t=this,n=t.cloneRange();return t.startContainer!=t.commonAncestorContainer&&t.setStartAfter(h(t.commonAncestorContainer,t.startContainer)),t.collapse(!0),e=T.documentFromRange(t),function i(n){for(var r,o=e.createDocumentFragment();r=n.next();)n.hasPartialSubtree()?(r=r.cloneNode(!1),r.appendChild(i(n.getSubtreeIterator()))):n.remove(t.originalRange),o.appendChild(r);return o}(new b(n))},insertNode:function(e){var t=this;f(t.startContainer)?(t.startOffset!=t.startContainer.nodeValue.length&&u.splitDataNode(t.startContainer,t.startOffset),u.insertAfter(e,t.startContainer)):u.insertAt(t.startContainer,e,t.startOffset),t.setStart(t.startContainer,t.startOffset)},cloneRange:function(){return e.extend(new _(this.ownerDocument),{startContainer:this.startContainer,endContainer:this.endContainer,commonAncestorContainer:this.commonAncestorContainer,startOffset:this.startOffset,endOffset:this.endOffset,collapsed:this.collapsed,originalRange:this})},toString:function(){var e=this.startContainer.nodeName,t=this.endContainer.nodeName;return["#text"==e?this.startContainer.nodeValue:e,"(",this.startOffset,") : ","#text"==t?this.endContainer.nodeValue:t,"(",this.endOffset,")"].join("")}}),b=s.extend({init:function(t){if(e.extend(this,{range:t,_current:null,_next:null,_end:null}),!t.collapsed){var n=t.commonAncestorContainer;this._next=t.startContainer!=n||f(t.startContainer)?h(n,t.startContainer):t.startContainer.childNodes[t.startOffset],this._end=t.endContainer!=n||f(t.endContainer)?h(n,t.endContainer).nextSibling:t.endContainer.childNodes[t.endOffset]}},hasNext:function(){return!!this._next},next:function(){var e=this,t=e._current=e._next;return e._next=e._current&&e._current.nextSibling!=e._end?e._current.nextSibling:null,f(e._current)&&(e.range.endContainer==e._current&&(t=t.cloneNode(!0),t.deleteData(e.range.endOffset,t.length-e.range.endOffset)),e.range.startContainer==e._current&&(t=t.cloneNode(!0),t.deleteData(0,e.range.startOffset))),t},traverse:function(e){function t(){return i._current=i._next,i._next=i._current&&i._current.nextSibling!=i._end?i._current.nextSibling:null,i._current}for(var n,i=this;n=t();)i.hasPartialSubtree()?i.getSubtreeIterator().traverse(e):e(n);return n},remove:function(e){var t,n,i,r,o,a=this,s=a.range.startContainer==a._current,l=a.range.endContainer==a._current;f(a._current)&&(s||l)?(t=s?a.range.startOffset:0,n=l?a.range.endOffset:a._current.length,i=n-t,e&&(s||l)&&(a._current==e.startContainer&&e.startOffset>=t&&(e.startOffset-=i),a._current==e.endContainer&&e.endOffset>=n&&(e.endOffset-=i)),a._current.deleteData(t,i)):(r=a._current.parentNode,!e||a.range.startContainer!=r&&a.range.endContainer!=r||(o=p(a._current),r==e.startContainer&&e.startOffset>=o&&(e.startOffset-=1),r==e.endContainer&&e.endOffset>o&&(e.endOffset-=1)),u.remove(a._current))},hasPartialSubtree:function(){return!f(this._current)&&(u.isAncestorOrSelf(this._current,this.range.startContainer)||u.isAncestorOrSelf(this._current,this.range.endContainer)) -},getSubtreeIterator:function(){var e=this,t=e.range.cloneRange();return t.selectNodeContents(e._current),u.isAncestorOrSelf(e._current,e.range.startContainer)&&t.setStart(e.range.startContainer,e.range.startOffset),u.isAncestorOrSelf(e._current,e.range.endContainer)&&t.setEnd(e.range.endContainer,e.range.endOffset),new b(t)}}),y=s.extend({init:function(e){this.ownerDocument=e,this.rangeCount=1},addRange:function(e){var t=this.ownerDocument.body.createTextRange();r(t,e,!1),r(t,e,!0),t.select()},removeAllRanges:function(){this.ownerDocument.selection.empty()},getRangeAt:function(){var e,t,n,i,r,a,s,l=new _(this.ownerDocument),d=this.ownerDocument.selection;try{if(e=d.createRange(),t=e.item?e.item(0):e.parentElement(),t.ownerDocument!=this.ownerDocument)return l}catch(c){return l}if("Control"==d.type)l.selectNode(e.item(0));else if(o(e,l,!0),o(e,l,!1),9==l.startContainer.nodeType&&l.setStart(l.endContainer,l.startOffset),9==l.endContainer.nodeType&&l.setEnd(l.startContainer,l.endOffset),0===e.compareEndPoints("StartToEnd",e)&&l.collapse(!1),n=l.startContainer,i=l.endContainer,r=this.ownerDocument.body,!(l.collapsed||0!==l.startOffset||l.endOffset!=m(l.endContainer)||n==i&&f(n)&&n.parentNode==r)){for(a=!1,s=!1;0===p(n)&&n==n.parentNode.firstChild&&n!=r;)n=n.parentNode,a=!0;for(;p(i)==m(i.parentNode)-1&&i==i.parentNode.lastChild&&i!=r;)i=i.parentNode,s=!0;n==r&&i==r&&a&&s&&(l.setStart(n,0),l.setEnd(i,m(r)))}return l}}),w=s.extend({init:function(e){this.enumerate=function(){function t(e){if(u.is(e,"img")||3==e.nodeType&&!u.isWhitespace(e))n.push(e);else for(e=e.firstChild;e;)t(e),e=e.nextSibling}var n=[];return new b(e).traverse(t),n}}}),x=s.extend({init:function(e){var t=this;t.range=e,t.rootNode=T.documentFromRange(e),t.body=t.rootNode.body,t.html=t.body.innerHTML,t.startContainer=t.nodeToPath(e.startContainer),t.endContainer=t.nodeToPath(e.endContainer),t.startOffset=t.offset(e.startContainer,e.startOffset),t.endOffset=t.offset(e.endContainer,e.endOffset)},index:function(e){for(var t,n=0,i=e.nodeType;e=e.previousSibling;)t=e.nodeType,(3!=t||i!=t)&&n++,i=t;return n},offset:function(e,t){if(3==e.nodeType)for(;(e=e.previousSibling)&&3==e.nodeType;)t+=e.nodeValue.length;return t},nodeToPath:function(e){for(var t=[];e!=this.rootNode;)t.push(this.index(e)),e=e.parentNode;return t},toRangePoint:function(e,t,n,i){for(var r=this.rootNode,o=n.length,a=i;o--;)r=r.childNodes[n[o]];for(;3==r.nodeType&&a>r.nodeValue.length;)a-=r.nodeValue.length,r=r.nextSibling;e[t?"setStart":"setEnd"](r,a)},toRange:function(){var e=this,t=e.range.cloneRange();return e.toRangePoint(t,!0,e.startContainer,e.startOffset),e.toRangePoint(t,!1,e.endContainer,e.endOffset),t}}),k=s.extend({init:function(){this.caret=null},addCaret:function(e){var t=this;return t.caret=u.create(T.documentFromRange(e),"span",{className:"k-marker"}),e.insertNode(t.caret),e.selectNode(t.caret),t.caret},removeCaret:function(e){var t,n,i,r,o=this,a=o.caret.previousSibling,s=0;a&&(s=f(a)?a.nodeValue.length:p(a)),t=o.caret.parentNode,n=a?p(a):0,u.remove(o.caret),g(t),i=t.childNodes[n],f(i)?e.setStart(i,s):i?(r=u.lastTextNode(i),r?e.setStart(r,r.nodeValue.length):e[a?"setStartAfter":"setStartBefore"](i)):(c.msie||t.innerHTML||(t.innerHTML='
      '),e.selectNodeContents(t)),e.collapse(!0)},add:function(e,t){var n,i=this;return t&&e.collapsed&&(i.addCaret(e),e=T.expand(e)),n=e.cloneRange(),n.collapse(!1),i.end=u.create(T.documentFromRange(e),"span",{className:"k-marker"}),n.insertNode(i.end),n=e.cloneRange(),n.collapse(!0),i.start=i.end.cloneNode(!0),n.insertNode(i.start),e.setStartBefore(i.start),e.setEndAfter(i.end),g(e.commonAncestorContainer),e},remove:function(e){var t,n,i,r,o,a,s,l,d,c,h,m,v,_=this,b=_.start,y=_.end;for(g(e.commonAncestorContainer);!b.nextSibling&&b.parentNode;)b=b.parentNode;for(;!y.previousSibling&&y.parentNode;)y=y.parentNode;if(t=b.previousSibling&&3==b.previousSibling.nodeType&&b.nextSibling&&3==b.nextSibling.nodeType,n=y.previousSibling&&3==y.previousSibling.nodeType&&y.nextSibling&&3==y.nextSibling.nodeType,i=t&&n,b=b.nextSibling,y=y.previousSibling,r=!1,o=!1,b==_.end&&(o=!!_.start.previousSibling,b=y=_.start.previousSibling||_.end.nextSibling,r=!0),u.remove(_.start),u.remove(_.end),!b||!y)return e.selectNodeContents(e.commonAncestorContainer),e.collapse(!0),void 0;if(a=r?f(b)?b.nodeValue.length:b.childNodes.length:0,s=f(y)?y.nodeValue.length:y.childNodes.length,3==b.nodeType)for(;b.previousSibling&&3==b.previousSibling.nodeType;)b=b.previousSibling,a+=b.nodeValue.length;if(3==y.nodeType)for(;y.previousSibling&&3==y.previousSibling.nodeType;)y=y.previousSibling,s+=y.nodeValue.length;for(l=p(b),d=b.parentNode,c=p(y),h=y.parentNode,m=b;m.previousSibling;m=m.previousSibling)3==m.nodeType&&3==m.previousSibling.nodeType&&l--;for(v=y;v.previousSibling;v=v.previousSibling)3==v.nodeType&&3==v.previousSibling.nodeType&&c--;g(d),3==b.nodeType&&(b=d.childNodes[l]),g(h),3==y.nodeType&&(y=h.childNodes[c]),r?(3==b.nodeType?e.setStart(b,a):e[o?"setStartAfter":"setStartBefore"](b),e.collapse(!0)):(3==b.nodeType?e.setStart(b,a):e.setStartBefore(b),3==y.nodeType?e.setEnd(y,s):e.setEndAfter(y)),_.caret&&_.removeCaret(e)}}),C=/[\u0009-\u000d]|\u0020|\u00a0|\ufeff|\.|,|;|:|!|\(|\)|\?/,T={nodes:function(e){var t=T.textNodes(e);return t.length||(e.selectNodeContents(e.commonAncestorContainer),t=T.textNodes(e),t.length||(t=u.significantChildNodes(e.commonAncestorContainer))),t},textNodes:function(e){return new w(e).enumerate()},documentFromRange:function(e){var t=e.startContainer;return 9==t.nodeType?t:t.ownerDocument},createRange:function(e){return c.msie&&9>c.version?new _(e):e.createRange()},selectRange:function(e){var t,n=T.image(e);n&&(e.setStartAfter(n),e.setEndAfter(n)),t=v.selectionFromRange(e),t.removeAllRanges(),t.addRange(e)},split:function(e,t,n){function i(i){var r,o=e.cloneRange();o.collapse(i),o[i?"setStartBefore":"setEndAfter"](t),r=o.extractContents(),n&&(r=u.trim(r)),u[i?"insertBefore":"insertAfter"](r,t)}i(!0),i(!1)},getMarkers:function(e){var t=[];return new b(e).traverse(function(e){"k-marker"==e.className&&t.push(e)}),t},image:function(e){var t=[];return new b(e).traverse(function(e){u.is(e,"img")&&t.push(e)}),1==t.length?t[0]:void 0},expand:function(e){var t,n,i,r,o=e.cloneRange(),a=o.startContainer.childNodes[0===o.startOffset?0:o.startOffset-1],s=o.endContainer.childNodes[o.endOffset];return f(a)&&f(s)?(t=a.nodeValue,n=s.nodeValue,t&&n?(i=t.split("").reverse().join("").search(C),r=n.search(C),i&&r?(r=-1==r?n.length:r,i=-1==i?0:t.length-i,o.setStart(a,i),o.setEnd(s,r),o):o):o):o},isExpandable:function(e){var t,n,i,r,o,a,s=e.startContainer,l=T.documentFromRange(e);return s==l||s==l.body?!1:(t=e.cloneRange(),(n=s.nodeValue)?(i=n.substring(0,t.startOffset),r=n.substring(t.startOffset),o=0,a=0,i&&(o=i.split("").reverse().join("").search(C)),r&&(a=r.search(C)),o&&a):!1)}};l(d,{SelectionUtils:v,W3CRange:_,RangeIterator:b,W3CSelection:y,RangeEnumerator:w,RestorePoint:x,Marker:k,RangeUtils:T})}(window.kendo.jQuery),function(e){var t=window.kendo,n=t.Class,i=t.ui.editor,r=i.EditorUtils,o=r.registerTool,a=i.Dom,s=i.RangeUtils,l=s.selectRange,d=i.Tool,c=i.ToolTemplate,u=i.RestorePoint,p=i.Marker,f=e.extend,h=n.extend({init:function(e){var t=this;t.options=e,t.restorePoint=new u(e.range),t.marker=new p,t.formatter=e.formatter},getRange:function(){return this.restorePoint.toRange()},lockRange:function(e){return this.marker.add(this.getRange(),e)},releaseRange:function(e){this.marker.remove(e),l(e)},undo:function(){var e=this.restorePoint;e.body.innerHTML=e.html,l(e.toRange())},redo:function(){this.exec()},exec:function(){var e=this,t=e.lockRange(!0);e.formatter.editor=e.editor,e.formatter.toggle(t),e.releaseRange(t)}}),m=n.extend({init:function(e,t){this.body=e.body,this.startRestorePoint=e,this.endRestorePoint=t},redo:function(){this.body.innerHTML=this.endRestorePoint.html,l(this.endRestorePoint.toRange())},undo:function(){this.body.innerHTML=this.startRestorePoint.html,l(this.startRestorePoint.toRange())}}),g=h.extend({init:function(e){h.fn.init.call(this,e),this.managesUndoRedo=!0},exec:function(){var e=this.editor,t=e.getRange(),n=new u(t);e.clipboard.paste(this.options.value||""),e.undoRedoStack.push(new m(n,new u(e.getRange()))),e.focus()}}),v=d.extend({initialize:function(e,t){var n=t.editor,r=this.options,o=r.items?r.items:n.options.insertHtml;new i.SelectBox(e,{dataSource:o,dataTextField:"text",dataValueField:"value",change:function(){d.exec(n,"insertHtml",this.value())},title:n.options.messages.insertHtml,highlightFirst:!1})},command:function(e){return new g(e)},update:function(e){var t=e.data("kendoSelectBox")||e.find("select").data("kendoSelectBox");t.close(),t.value(t.options.title)}}),_=n.extend({init:function(){this.stack=[],this.currentCommandIndex=-1},push:function(e){var t=this;t.stack=t.stack.slice(0,t.currentCommandIndex+1),t.currentCommandIndex=t.stack.push(e)-1},undo:function(){this.canUndo()&&this.stack[this.currentCommandIndex--].undo()},redo:function(){this.canRedo()&&this.stack[++this.currentCommandIndex].redo()},canUndo:function(){return this.currentCommandIndex>=0},canRedo:function(){return this.currentCommandIndex!=this.stack.length-1}}),b=n.extend({init:function(e){this.editor=e},keydown:function(t){var n,i=this,r=i.editor,o=r.keyboard,a=o.isTypingKey(t),s=f(e.Event(),t);return i.editor.trigger("keydown",s),s.isDefaultPrevented()&&t.preventDefault(),s.isDefaultPrevented()||!a||o.isTypingInProgress()?!1:(n=r.getRange(),i.startRestorePoint=new u(n),o.startTyping(function(){r.selectionRestorePoint=i.endRestorePoint=new u(r.getRange()),r.undoRedoStack.push(new m(i.startRestorePoint,i.endRestorePoint))}),!0)},keyup:function(e){var t=this.editor.keyboard;return this.editor.trigger("keyup",e),t.isTypingInProgress()?(t.endTyping(),!0):!1}}),y=n.extend({init:function(e){this.editor=e,this.systemCommandIsInProgress=!1},createUndoCommand:function(){var e=this;e.endRestorePoint=new u(e.editor.getRange()),e.editor.undoRedoStack.push(new m(e.startRestorePoint,e.endRestorePoint)),e.startRestorePoint=e.endRestorePoint},changed:function(){return this.startRestorePoint?this.startRestorePoint.html!=this.editor.body.innerHTML:!1},keydown:function(e){var t=this,n=t.editor,i=n.keyboard;return i.isModifierKey(e)?(i.isTypingInProgress()&&i.endTyping(!0),t.startRestorePoint=new u(n.getRange()),!0):i.isSystem(e)?(t.systemCommandIsInProgress=!0,t.changed()&&(t.systemCommandIsInProgress=!1,t.createUndoCommand()),!0):!1},keyup:function(e){var t=this;return t.systemCommandIsInProgress&&t.changed()?(t.systemCommandIsInProgress=!1,t.createUndoCommand(e),!0):!1}}),w=n.extend({init:function(e){this.handlers=e,this.typingInProgress=!1},isCharacter:function(e){return e>=48&&90>=e||e>=96&&111>=e||e>=186&&192>=e||e>=219&&222>=e},toolFromShortcut:function(t,n){var i,r,o=String.fromCharCode(n.keyCode);for(i in t)if(r=e.extend({ctrl:!1,alt:!1,shift:!1},t[i].options),(r.key==o||r.key==n.keyCode)&&r.ctrl==n.ctrlKey&&r.alt==n.altKey&&r.shift==n.shiftKey)return i},isTypingKey:function(e){var t=e.keyCode;return this.isCharacter(t)&&!e.ctrlKey&&!e.altKey||32==t||13==t||8==t||46==t&&!e.shiftKey&&!e.ctrlKey&&!e.altKey},isModifierKey:function(e){var t=e.keyCode;return 17==t&&!e.shiftKey&&!e.altKey||16==t&&!e.ctrlKey&&!e.altKey||18==t&&!e.ctrlKey&&!e.shiftKey},isSystem:function(e){return 46==e.keyCode&&e.ctrlKey&&!e.altKey&&!e.shiftKey},startTyping:function(e){this.onEndTyping=e,this.typingInProgress=!0},stopTyping:function(){this.typingInProgress=!1,this.onEndTyping&&this.onEndTyping()},endTyping:function(t){var n=this;n.clearTimeout(),t?n.stopTyping():n.timeout=window.setTimeout(e.proxy(n.stopTyping,n),1e3)},isTypingInProgress:function(){return this.typingInProgress},clearTimeout:function(){window.clearTimeout(this.timeout)},notify:function(e,t){var n,i=this.handlers;for(n=0;i.length>n&&!i[n][t](e);n++);},keydown:function(e){this.notify(e,"keydown")},keyup:function(e){this.notify(e,"keyup")}}),x=n.extend({init:function(e){this.editor=e,this.cleaners=[new k]},htmlToFragment:function(e){var t=this.editor,n=t.document,i=a.create(n,"div"),r=n.createDocumentFragment();for(i.innerHTML=e;i.firstChild;)r.appendChild(i.firstChild);return r},isBlock:function(e){return/<(div|p|ul|ol|table|h[1-6])/i.test(e)},oncut:function(){var e=this.editor,t=new u(e.getRange());setTimeout(function(){e.undoRedoStack.push(new m(t,new u(e.getRange())))})},onpaste:function(n){var r,o,s,d=this.editor,c=d.getRange(),p="",f=new u(c),h=a.create(d.document,"div",{className:"k-paste-container",innerHTML:p});d.body.appendChild(h),d.body.createTextRange?(n.preventDefault(),r=d.createRange(),r.selectNodeContents(h),d.selectRange(r),o=d.body.createTextRange(),o.moveToElementText(h),e(d.body).unbind("paste"),o.execCommand("Paste"),e(d.body).bind("paste",e.proxy(arguments.callee,this))):(s=d.createRange(),s.selectNodeContents(h),l(s)),c.deleteContents(),setTimeout(function(){var e,n={html:""};l(c),h.parentNode||(h=d.body.lastChild),a.remove(h),h.lastChild&&a.is(h.lastChild,"br")&&a.remove(h.lastChild),e=h.innerHTML,t.support.browser.safari&&(e=e.replace(/style="[^"]*"/gi,"")),e!=p&&(n.html=e),d.trigger("paste",n),d.clipboard.paste(n.html,!0),d.undoRedoStack.push(new m(f,new u(d.getRange()))),i.EditorUtils.select(d)})},splittableParent:function(e,t){var n,i;if(e)return a.parentOfType(t,["p","ul","ol"])||t.parentNode;if(n=t.parentNode,i=t.ownerDocument.body,a.isInline(n))for(;n.parentNode!=i&&!a.isBlock(n.parentNode);)n=n.parentNode;return n},paste:function(e,t){var n,i,r,o,d,c,u,f,h,m,g=this.editor;for(n=0,i=this.cleaners.length;i>n;n++)this.cleaners[n].applicable(e)&&(e=this.cleaners[n].clean(e));if(t&&(e=e.replace(/(
      (\s| )*)+(<\/?(div|p|li|col|t))/gi,"$3"),e=e.replace(/<(a|span)[^>]*><\/\1>/gi,"")),e=e.replace(/^
    • $/g,"li>
    "),r=this.isBlock(e),o=g.getRange(),o.deleteContents(),o.startContainer==g.document&&o.selectNodeContents(g.body),d=new p,c=d.addCaret(o),u=this.splittableParent(r,c),f=!1,/body|td/.test(a.name(u))||!r&&!a.isInline(u)||(o.selectNode(c),s.split(o,u,!0),f=!0),h=this.htmlToFragment(e),h.firstChild&&"k-paste-container"===h.firstChild.className){for(m=[],n=0,i=h.childNodes.length;i>n;n++)m.push(h.childNodes[n].innerHTML);h=this.htmlToFragment(m.join("
    "))}if(o.insertNode(h),u=this.splittableParent(r,c),f){for(;c.parentNode!=u;)a.unwrap(c.parentNode);a.unwrap(c.parentNode)}a.normalize(o.commonAncestorContainer),c.style.display="inline",a.scrollTo(c),d.removeCaret(o),l(o)}}),k=n.extend({init:function(){this.replacements=[/<\?xml[^>]*>/gi,"",//g,"",/"/g,"'",/(?:
     [\s\r\n]+|
    )*(<\/?(h[1-6]|hr|p|div|table|tbody|thead|tfoot|th|tr|td|li|ol|ul|caption|address|pre|form|blockquote|dl|dt|dd|dir|fieldset)[^>]*>)(?:
     [\s\r\n]+|
    )*/g,"$1",/

    /g,"

    ",/
    /g," ",/]*)>(\s| )+]*>(\s| )*<\/tr>/gi,"",/]*>(\s| )*<\/tbody>/gi,"",/]*>(\s| )*<\/table>/gi,"",/

    /g,"
    ",/^\s*( )+/gi,"",/( |]*>)+\s*$/gi,"",/mso-[^;"]*;?/gi,"",/<(\/?)b(\s[^>]*)?>/gi,"<$1strong$2>",/<(\/?)i(\s[^>]*)?>/gi,"<$1em$2>",/<\/?(meta|link|style|o:|v:|x:)[^>]*>((?:.|\n)*?<\/(meta|link|style|o:|v:|x:)[^>]*>)?/gi,"",/style=(["|'])\s*\1/g,""]},applicable:function(e){return/class="?Mso|style="[^"]*mso-/i.test(e)},listType:function(e){return/^[\u2022\u00b7\u00a7\u00d8o]\u00a0+/.test(e)?"ul":/^\s*\w+[\.\)]\u00a0{2,}/.test(e)?"ol":void 0},lists:function(t){var n,i,r,o,s,l,d,c,u=a.create(document,"div",{innerHTML:t}),p=e(a.blockElements.join(","),u),f=-1,h={ul:{},ol:{}},m=u;for(i=0;p.length>i;i++)if(r=p[i],t=r.innerHTML.replace(/<\/?\w+[^>]*>/g,"").replace(/ /g," "),o=this.listType(t),o&&"p"==a.name(r)){if(s=parseFloat(r.style.marginLeft||0),l=h[o][s],(s>f||!l)&&(l=a.create(document,o),m==u?a.insertBefore(l,r):m.appendChild(l),h[o][s]=l),n!=o)for(d in h)for(c in h[d])e.contains(l,h[d][c])&&delete h[d][c];a.remove(r.firstChild),m=a.create(document,"li",{innerHTML:r.innerHTML}),l.appendChild(m),a.remove(r),f=s,n=o}else r.innerHTML?(h={ul:{},ol:{}},m=u,f=-1):a.remove(r);return u.innerHTML},stripEmptyAnchors:function(e){return e.replace(/]*)>\s*<\/a>/gi,function(e,t){return!t||0>t.indexOf("href")?"":e})},clean:function(e){var t,n,i=this,r=i.replacements;for(t=0,n=r.length;n>t;t+=2)e=e.replace(r[t],r[t+1]);return e=i.stripEmptyAnchors(e),e=i.lists(e),e=e.replace(/\s+class="?[^"\s>]*"?/gi,"")}});f(i,{Command:h,GenericCommand:m,InsertHtmlCommand:g,InsertHtmlTool:v,UndoRedoStack:_,TypingHandler:b,SystemHandler:y,Keyboard:w,Clipboard:x,MSWordFormatCleaner:k}),o("insertHtml",new v({template:new c({template:r.dropDownListTemplate,title:"Insert HTML",initialValue:"Insert HTML"})}))}(window.kendo.jQuery),function(e){function t(e){return e.collapsed&&!u.isExpandable(e)}var n=window.kendo,i=n.Class,r=n.ui.editor,o=n.ui.Editor.fn.options.formats,a=r.EditorUtils,s=r.Tool,l=r.ToolTemplate,d=r.FormatTool,c=r.Dom,u=r.RangeUtils,p=e.extend,f=r.EditorUtils.registerTool,h=r.EditorUtils.registerFormat,m="k-marker",g=i.extend({init:function(e){this.format=e},numberOfSiblings:function(e){var t,n=0,i=0,r=0,o=e.parentNode;for(t=o.firstChild;t;t=t.nextSibling)t!=e&&(t.className==m?r++:3==t.nodeType?n++:i++);return r>1&&o.firstChild.className==m&&o.lastChild.className==m?0:i+n},findSuitable:function(e,t){return!t&&this.numberOfSiblings(e)>0?null:c.parentOfType(e,this.format[0].tags)},findFormat:function(e){var t,n,i,r,o,a=this.format,s=c.attrEquals;for(t=0,n=a.length;n>t;t++){if(i=e,r=a[t].tags,o=a[t].attr,i&&c.ofType(i,r)&&s(i,o))return i;for(;i;)if(i=c.parentOfType(i,r),i&&s(i,o))return i}return null},isFormatted:function(e){var t,n;for(t=0,n=e.length;n>t;t++)if(this.findFormat(e[t]))return!0;return!1}}),v=i.extend({init:function(e,t){var n=this;n.finder=new g(e),n.attributes=p({},e[0].attr,t),n.tag=e[0].tags[0]},wrap:function(e){return c.wrap(e,c.create(e.ownerDocument,this.tag,this.attributes))},activate:function(e,t){var n=this;n.finder.isFormatted(t)?(n.split(e),n.remove(t)):n.apply(t)},toggle:function(e){var t=u.textNodes(e);t.length>0&&this.activate(e,t)},apply:function(e){var t,n,i,r,o=this,a=[];for(t=0,n=e.length;n>t;t++)i=e[t],r=o.finder.findSuitable(i),r?c.attr(r,o.attributes):r=o.wrap(i),a.push(r);o.consolidate(a)},remove:function(e){var t,n,i,r=this;for(t=0,n=e.length;n>t;t++)i=r.finder.findFormat(e[t]),i&&(r.attributes&&r.attributes.style?(c.unstyle(i,r.attributes.style),i.style.cssText||c.unwrap(i)):c.unwrap(i))},split:function(e){var t,n,i=u.textNodes(e),r=i.length;if(r>0)for(t=0;r>t;t++)n=this.finder.findFormat(i[t]),n&&u.split(e,n,!0)},consolidate:function(e){for(var t,n;e.length>1;)if(t=e.pop(),n=e[e.length-1],t.previousSibling&&t.previousSibling.className==m&&n.appendChild(t.previousSibling),t.tagName==n.tagName&&t.previousSibling==n&&t.style.cssText==n.style.cssText){for(;t.firstChild;)n.appendChild(t.firstChild);c.remove(t)}}}),_=g.extend({init:function(e,t){var n=this;n.format=e,n.greedyProperty=t,g.fn.init.call(n,e)},getInlineCssValue:function(t){var n,i,r,o,a,s,l,d,u,p,f,h,m=t.attributes,g=e.trim;if(m)for(n=0,i=m.length;i>n;n++)if(r=m[n],o=r.nodeName,a=r.nodeValue,r.specified&&"style"==o)for(s=g(a||t.style.cssText).split(";"),d=0,u=s.length;u>d;d++)if(l=s[d],l.length){if(p=l.split(":"),f=g(p[0].toLowerCase()),h=g(p[1]),f!=this.greedyProperty)continue;return f.indexOf("color")>=0?c.toHex(h):h}},getFormatInner:function(t){var n,i,r,o=e(c.isDataNode(t)?t.parentNode:t),a=o.parents().andSelf();for(n=0,i=a.length;i>n;n++)if(r="className"==this.greedyProperty?a[n].className:this.getInlineCssValue(a[n]))return r;return"inherit"},getFormat:function(e){var t,n,i=this.getFormatInner(e[0]);for(t=1,n=e.length;n>t;t++)if(i!=this.getFormatInner(e[t]))return"";return i},isFormatted:function(e){return""!==this.getFormat(e)}}),b=v.extend({init:function(e,t,n){var i=this;v.fn.init.call(i,e,t),i.greedyProperty=n,i.values=t,i.finder=new _(e,n)},activate:function(e,t){var n,i=this,r=i.greedyProperty,o="apply";i.split(e),r&&(n=r.replace(/-([a-z])/,function(e,t){return t.toUpperCase()}),"inherit"==i.values.style[n]&&(o="remove")),i[o](t)}}),y=d.extend({init:function(e){d.fn.init.call(this,p(e,{finder:new g(e.format),formatter:function(){return new v(e.format)}})),this.willDelayExecution=t}}),w=s.extend({init:function(e){var t=this;s.fn.init.call(t,e),t.type=n.support.browser.msie||n.support.touch?"kendoDropDownList":"kendoComboBox",t.format=[{tags:["span"]}],t.finder=new _(t.format,e.cssAttr)},command:function(e){var t=this.options,n=this.format,i={};return new r.FormatCommand(p(e,{formatter:function(){return i[t.domAttr]=e.value,new b(n,{style:i},t.cssAttr)}}))},willDelayExecution:t,update:function(e,t,n){var i,r=e.data(this.type),o=n.getPending(this.name);i=o&&o.options.params?o.options.params.value:this.finder.getFormat(t),r.close(),r.value(i)},initialize:function(e,t){var n,i=t.editor,r=this.options,o=r.name,a=[];r.defaultValue&&(a=[{text:i.options.messages[r.defaultValue[0].text],value:r.defaultValue[0].value}]),n=a.concat(r.items?r.items:i.options[o]),e[this.type]({dataTextField:"text",dataValueField:"value",dataSource:n,change:function(){s.exec(i,o,this.value())},highlightFirst:!1}),e.closest(".k-widget").removeClass("k-"+o).find("*").andSelf().attr("unselectable","on"),e.data(this.type).value("inherit")}}),x=s.extend({init:function(e){s.fn.init.call(this,e),this.options=e,this.format=[{tags:["span"]}]},update:function(){this._widget.close()},command:function(e){var t=this.options,n=this.format,i={};return new r.FormatCommand(p(e,{formatter:function(){return i[t.domAttr]=e.value,new b(n,{style:i},t.cssAttr)}}))},willDelayExecution:t,initialize:function(e,t){var i=t.editor,r=this.name;e=this._widget=new n.ui.ColorPicker(e,{value:"#000",toolIcon:"k-"+this.options.name,palette:"websafe",change:function(){var t=e.value();t&&s.exec(i,r,t)}}),e.bind("activate",function(t){t.preventDefault(),e.trigger("change"),i.focus()}),e.element.attr("title",t.title)}}),k=s.extend({init:function(e){var t=this;s.fn.init.call(t,e),t.format=[{tags:["span"]}],t.finder=new _(t.format,"className")},command:function(e){var t=this.format;return new r.FormatCommand(p(e,{formatter:function(){return new b(t,{className:e.value})}}))},update:function(e,t){var n=e.data("kendoSelectBox");n.close(),n.value(this.finder.getFormat(t))},initialize:function(e,t){var n=t.editor,i=this.options;new r.SelectBox(e,{dataTextField:"text",dataValueField:"value",dataSource:i.items||n.options.style,title:n.options.messages.style,change:function(){s.exec(n,"style",this.value())},highlightFirst:!1}),e.closest(".k-widget").removeClass("k-"+this.name).find("*").andSelf().attr("unselectable","on")}});p(r,{InlineFormatFinder:g,InlineFormatter:v,GreedyInlineFormatFinder:_,GreedyInlineFormatter:b,InlineFormatTool:y,FontTool:w,ColorTool:x,StyleTool:k}),f("style",new r.StyleTool({template:new l({template:a.dropDownListTemplate,title:"Styles"})})),h("bold",[{tags:["strong"]},{tags:["span"],attr:{style:{fontWeight:"bold"}}}]),f("bold",new y({key:"B",ctrl:!0,format:o.bold,template:new l({template:a.buttonTemplate,title:"Bold"})})),h("italic",[{tags:["em"]},{tags:["span"],attr:{style:{fontStyle:"italic"}}}]),f("italic",new y({key:"I",ctrl:!0,format:o.italic,template:new l({template:a.buttonTemplate,title:"Italic"})})),h("underline",[{tags:["span"],attr:{style:{textDecoration:"underline"}}}]),f("underline",new y({key:"U",ctrl:!0,format:o.underline,template:new l({template:a.buttonTemplate,title:"Underline"})})),h("strikethrough",[{tags:["del"]},{tags:["span"],attr:{style:{textDecoration:"line-through"}}}]),f("strikethrough",new y({format:o.strikethrough,template:new l({template:a.buttonTemplate,title:"Strikethrough"})})),h("superscript",[{tags:["sup"]}]),f("superscript",new y({format:o.superscript,template:new l({template:a.buttonTemplate,title:"Superscript"})})),h("subscript",[{tags:["sub"]}]),f("subscript",new y({format:o.subscript,template:new l({template:a.buttonTemplate,title:"Subscript"})})),f("foreColor",new x({cssAttr:"color",domAttr:"color",name:"foreColor",template:new l({template:a.colorPickerTemplate,title:"Color"})})),f("backColor",new x({cssAttr:"background-color",domAttr:"backgroundColor",name:"backColor",template:new l({template:a.colorPickerTemplate,title:"Background Color"})})),f("fontName",new w({cssAttr:"font-family",domAttr:"fontFamily",name:"fontName",defaultValue:[{text:"fontNameInherit",value:"inherit"}],template:new l({template:a.comboBoxTemplate,title:"Font Name"})})),f("fontSize",new w({cssAttr:"font-size",domAttr:"fontSize",name:"fontSize",defaultValue:[{text:"fontSizeInherit",value:"inherit"}],template:new l({template:a.comboBoxTemplate,title:"Font Size"})}))}(window.kendo.jQuery),function(e){var t=window.kendo,n=t.Class,i=e.extend,r=t.ui.editor,o=t.ui.Editor.fn.options.formats,a=r.Dom,s=r.Command,l=r.Tool,d=r.ToolTemplate,c=r.FormatTool,u=r.EditorUtils,p=u.registerTool,f=u.registerFormat,h=r.RangeUtils,m=n.extend({init:function(e){this.format=e},contains:function(e,t){var n,i,r;for(n=0,i=t.length;i>n;n++)if(r=t[n],!r||!a.isAncestorOrSelf(e,r))return!1;return!0},findSuitable:function(t){var n,i,r,o=this.format,s=[];for(n=0,i=t.length;i>n;n++){if(r=a.ofType(t[n],o[0].tags)?t[n]:a.parentOfType(t[n],o[0].tags),!r)return[];0>e.inArray(r,s)&&s.push(r)}for(n=0,i=s.length;i>n;n++)if(this.contains(s[n],s))return[s[n]];return s},findFormat:function(e){var t,n,i,r,o,s=this.format;for(t=0,n=s.length;n>t;t++)for(i=e,r=s[t].tags,o=s[t].attr;i;){if(a.ofType(i,r)&&a.attrEquals(i,o))return i;i=i.parentNode}return null},getFormat:function(e){var t,n,i=this,r=function(e){return i.findFormat(a.isDataNode(e)?e.parentNode:e)},o=r(e[0]);if(!o)return"";for(t=1,n=e.length;n>t;t++)if(o!=r(e[t]))return"";return o.nodeName.toLowerCase()},isFormatted:function(e){for(var t=0,n=e.length;n>t;t++)if(!this.findFormat(e[t]))return!1;return!0}}),g=n.extend({init:function(e,t){this.format=e,this.values=t,this.finder=new m(e)},wrap:function(e,t,n){var i,r,o,s,l,d=1==n.length?a.blockParentOrBody(n[0]):a.commonAncestor.apply(null,n);for(a.isInline(d)&&(d=a.blockParentOrBody(d)),o=a.significantChildNodes(d),s=a.findNodeIndex(o[0]),l=a.create(d.ownerDocument,e,t),i=0;o.length>i;i++)r=o[i],a.isBlock(r)?(a.attr(r,t),l.childNodes.length&&(a.insertBefore(l,r),l=l.cloneNode(!1)),s=a.findNodeIndex(r)+1):l.appendChild(r);l.firstChild&&a.insertAt(d,l,s)},apply:function(e){var t,n,r=this,o=a.is(e[0],"img")?[e[0]]:r.finder.findSuitable(e),s=o.length?u.formatByName(a.name(o[0]),r.format):r.format[0],l=s.tags[0],d=i({},s.attr,r.values);if(o.length)for(t=0,n=o.length;n>t;t++)a.attr(o[t],d);else r.wrap(l,d,e)},remove:function(e){var t,n,i,r;for(t=0,n=e.length;n>t;t++)i=this.finder.findFormat(e[t]),i&&(a.ofType(i,["p","img","li"])?(r=u.formatByName(a.name(i),this.format),r.attr.style&&a.unstyle(i,r.attr.style),r.attr.className&&a.removeClass(i,r.attr.className)):a.unwrap(i))},toggle:function(e){var t=this,n=h.nodes(e);t.finder.isFormatted(n)?t.remove(n):t.apply(n)}}),v=n.extend({init:function(e,t){var n=this;n.format=e,n.values=t,n.finder=new m(e)},apply:function(e){var t,n,i,o,s,l=this.format,d=a.blockParents(e),c=l[0].tags[0];if(d.length)for(t=0,n=d.length;n>t;t++)a.is(d[t],"li")?(i=d[t].parentNode,o=new r.ListFormatter(i.nodeName.toLowerCase(),c),s=this.editor.createRange(),s.selectNode(d[t]),o.toggle(s)):a.changeTag(d[t],c);else new g(l,this.values).apply(e)},toggle:function(e){var t=h.textNodes(e);t.length||(e.selectNodeContents(e.commonAncestorContainer),t=h.textNodes(e),t.length||(t=a.significantChildNodes(e.commonAncestorContainer))),this.apply(t)}}),_=s.extend({init:function(e){e.formatter=e.formatter(),s.fn.init.call(this,e)}}),b=c.extend({init:function(e){c.fn.init.call(this,i(e,{finder:new m(e.format),formatter:function(){return new g(e.format)}}))}}),y=l.extend({init:function(e){l.fn.init.call(this,e),this.finder=new m([{tags:a.blockElements}])},command:function(e){return new _(i(e,{formatter:function(){return new v([{tags:[e.value]}],{})}}))},update:function(e,t){var n;n=e.is("select")?e.data("kendoSelectBox"):e.find("select").data("kendoSelectBox"),n.close(),n.value(this.finder.getFormat(t))},initialize:function(e,t){var n=t.editor,i="formatBlock";new r.SelectBox(e,{dataTextField:"text",dataValueField:"value",dataSource:this.options.items?this.options.items:n.options.formatBlock,title:n.options.messages.formatBlock,change:function(){l.exec(n,i,this.value())},highlightFirst:!1}),e.closest(".k-widget").removeClass("k-"+i).find("*").andSelf().attr("unselectable","on")}});i(r,{BlockFormatFinder:m,BlockFormatter:g,GreedyBlockFormatter:v,FormatCommand:_,BlockFormatTool:b,FormatBlockTool:y}),p("formatBlock",new y({template:new d({template:u.dropDownListTemplate})})),f("justifyLeft",[{tags:a.blockElements,attr:{style:{textAlign:"left"}}},{tags:["img"],attr:{style:{"float":"left"}}}]),p("justifyLeft",new b({format:o.justifyLeft,template:new d({template:u.buttonTemplate,title:"Justify Left"})})),f("justifyCenter",[{tags:a.blockElements,attr:{style:{textAlign:"center"}}},{tags:["img"],attr:{style:{display:"block",marginLeft:"auto",marginRight:"auto"}}}]),p("justifyCenter",new b({format:o.justifyCenter,template:new d({template:u.buttonTemplate,title:"Justify Center"})})),f("justifyRight",[{tags:a.blockElements,attr:{style:{textAlign:"right"}}},{tags:["img"],attr:{style:{"float":"right"}}}]),p("justifyRight",new b({format:o.justifyRight,template:new d({template:u.buttonTemplate,title:"Justify Right"})})),f("justifyFull",[{tags:a.blockElements,attr:{style:{textAlign:"justify"}}}]),p("justifyFull",new b({format:o.justifyFull,template:new d({template:u.buttonTemplate,title:"Justify Full"})}))}(window.kendo.jQuery),function(e){var t=window.kendo,n=e.extend,i=t.ui.editor,r=i.Dom,o=i.Command,a=i.Tool,s=i.BlockFormatter,l=r.normalize,d=i.RangeUtils,c=i.EditorUtils.registerTool,u=o.extend({init:function(e){this.options=e,o.fn.init.call(this,e)},exec:function(){function e(e){if(e.firstChild&&r.is(e.firstChild,"br")&&r.remove(e.firstChild),r.isDataNode(e)&&!e.nodeValue&&(e=e.parentNode),e&&!r.is(e,"img")){for(;e.firstChild&&1==e.firstChild.nodeType;)e=e.firstChild;""===e.innerHTML&&(e.innerHTML=_)}}var n,i,o,a,c,u,p,f,h,m,g=this.getRange(),v=d.documentFromRange(g),_=t.support.browser.msie?"":'
    ',b="p,h1,h2,h3,h4,h5,h6".split(","),y=r.parentOfType(g.startContainer,b),w=r.parentOfType(g.endContainer,b),x=y&&!w||!y&&w;g.deleteContents(),u=r.create(v,"a"),g.insertNode(u),u.parentNode||(a=g.commonAncestorContainer,a.innerHTML="",a.appendChild(u)),l(u.parentNode),p=r.parentOfType(u,["li"]),f=r.parentOfType(u,"h1,h2,h3,h4,h5,h6".split(",")),p?(h=g.cloneRange(),h.selectNode(p),d.textNodes(h).length||(c=r.create(v,"p"),p.nextSibling&&d.split(h,p.parentNode),r.insertAfter(c,p.parentNode),r.remove(1==p.parentNode.childNodes.length?p.parentNode:p),c.innerHTML=_,o=c)):f&&!u.nextSibling&&(c=r.create(v,"p"),r.insertAfter(c,f),c.innerHTML=_,r.remove(u),o=c),o||(p||f||new s([{tags:["p"]}]).apply([u]),g.selectNode(u),n=r.parentOfType(u,[p?"li":f?r.name(f):"p"]),d.split(g,n,x),i=n.previousSibling,r.is(i,"li")&&i.firstChild&&!r.is(i.firstChild,"br")&&(i=i.firstChild),o=n.nextSibling,r.is(o,"li")&&o.firstChild&&!r.is(o.firstChild,"br")&&(o=o.firstChild),r.remove(n),e(i),e(o),l(i)),l(o),r.is(o,"img")?g.setStartBefore(o):(g.selectNodeContents(o),m=d.textNodes(g)[0],m&&g.selectNodeContents(m)),g.collapse(!0),r.scrollTo(o),d.selectRange(g)}}),p=o.extend({init:function(e){this.options=e,o.fn.init.call(this,e)},exec:function(){var e,n,i=this.getRange();i.deleteContents(),e=r.create(d.documentFromRange(i),"br"),i.insertNode(e),l(e.parentNode),t.support.browser.msie||e.nextSibling&&!r.isWhitespace(e.nextSibling)||(n=e.cloneNode(!0),n.setAttribute("_moz_dirty",""),r.insertAfter(n,e)),i.setStartAfter(e),i.collapse(!0),r.scrollTo(e.nextSibling),d.selectRange(i)}});n(i,{ParagraphCommand:u,NewLineCommand:p}),c("insertLineBreak",new a({key:13,shift:!0,command:p})),c("insertParagraph",new a({key:13,command:u})) -}(window.kendo.jQuery),function(e){var t=window.kendo,n=t.Class,i=e.extend,r=t.ui.editor,o=r.Dom,a=r.RangeUtils,s=r.EditorUtils,l=r.Command,d=r.ToolTemplate,c=r.FormatTool,u=r.BlockFormatFinder,p=a.textNodes,f=r.EditorUtils.registerTool,h=u.extend({init:function(e){this.tag=e;var t=this.tags=["ul"==e?"ol":"ul",e];u.fn.init.call(this,[{tags:t}])},isFormatted:function(e){var t,n,i=[];for(n=0;e.length>n;n++)(t=this.findFormat(e[n]))&&o.name(t)==this.tag&&i.push(t);if(1>i.length)return!1;if(i.length!=e.length)return!1;for(n=0;i.length>n&&i[n].parentNode==t.parentNode;n++)if(i[n]!=t)return!1;return!0},findSuitable:function(e){var t=o.parentOfType(e[0],this.tags);return t&&o.name(t)==this.tag?t:null}}),m=n.extend({init:function(e,t){var n=this;n.finder=new h(e),n.tag=e,n.unwrapTag=t},wrap:function(e,t){var n,i,r=o.create(e.ownerDocument,"li");for(n=0;t.length>n;n++)if(i=t[n],o.is(i,"li"))e.appendChild(i);else if(o.is(i,"ul")||o.is(i,"ol"))for(;i.firstChild;)e.appendChild(i.firstChild);else if(o.is(i,"td")){for(;i.firstChild;)r.appendChild(i.firstChild);e.appendChild(r),i.appendChild(e),e=e.cloneNode(!1),r=r.cloneNode(!1)}else r.appendChild(i),o.isBlock(i)&&(e.appendChild(r),o.unwrap(i),r=r.cloneNode(!1));r.firstChild&&e.appendChild(r)},containsAny:function(e,t){for(var n=0;t.length>n;n++)if(o.isAncestorOrSelf(e,t[n]))return!0;return!1},suitable:function(e,t){if("k-marker"==e.className){var n=e.nextSibling;if(n&&o.isBlock(n))return!1;if(n=e.previousSibling,n&&o.isBlock(n))return!1}return this.containsAny(e,t)||o.isInline(e)||3==e.nodeType},split:function(t){var n,i,r,s,l,d,c=p(t);if(c.length)for(n=o.parentOfType(c[0],["li"]),i=o.parentOfType(c[c.length-1],["li"]),t.setStartBefore(n),t.setEndAfter(i),r=0,s=c.length;s>r;r++)l=this.finder.findFormat(c[r]),l&&(d=e(l).parents("ul,ol"),d[0]?a.split(t,d.last()[0],!0):a.split(t,l,!0))},merge:function(e,t){for(var n,i=t.previousSibling;i&&("k-marker"==i.className||3==i.nodeType&&o.isWhitespace(i));)i=i.previousSibling;if(i&&o.name(i)==e){for(;t.firstChild;)i.appendChild(t.firstChild);o.remove(t),t=i}for(n=t.nextSibling;n&&("k-marker"==n.className||3==n.nodeType&&o.isWhitespace(n));)n=n.nextSibling;if(n&&o.name(n)==e){for(;t.lastChild;)n.insertBefore(t.lastChild,n.firstChild);o.remove(t)}},applyOnSection:function(t,n){function i(){a.push(this)}var r,a,s,l,d,c,u,p=this.tag;for(r=1==n.length?o.parentOfType(n[0],["ul","ol"]):o.commonAncestor.apply(null,n),r||(r=o.parentOfType(n[0],["p","td"])||n[0].ownerDocument.body),o.isInline(r)&&(r=o.blockParentOrBody(r)),a=[],s=this.finder.findSuitable(n),s||(s=new h("ul"==p?"ol":"ul").findSuitable(n)),l=o.significantChildNodes(r),l.length||(l=n),/table|tbody/.test(o.name(r))&&(l=e.map(n,function(e){return o.parentOfType(e,["td"])})),d=0;l.length>d;d++)c=l[d],u=o.name(c),!this.suitable(c,n)||s&&o.isAncestorOrSelf(s,c)||(!s||"ul"!=u&&"ol"!=u?a.push(c):(e.each(c.childNodes,i),o.remove(c)));a.length!=l.length||r==n[0].ownerDocument.body||/table|tbody|tr|td/.test(o.name(r))||(a=[r]),s||(s=o.create(r.ownerDocument,p),o.insertBefore(s,a[0])),this.wrap(s,a),o.is(s,p)||o.changeTag(s,p),this.merge(p,s)},apply:function(e){var t,n,i,r=0,a=[];do i=o.parentOfType(e[r],["td","body"]),t&&i==t?n.push(e[r]):(t&&a.push({section:t,nodes:n}),n=[e[r]],t=i),r++;while(e.length>r);for(a.push({section:t,nodes:n}),r=0;a.length>r;r++)this.applyOnSection(a[r].section,a[r].nodes)},unwrap:function(t){var n,i,r,a,s=t.ownerDocument.createDocumentFragment(),l=this.unwrapTag;for(i=t.firstChild;i;i=i.nextSibling){for(r=o.create(t.ownerDocument,l||"p");i.firstChild;)a=i.firstChild,o.isBlock(a)?(r.firstChild&&(s.appendChild(r),r=o.create(t.ownerDocument,l||"p")),s.appendChild(a)):r.appendChild(a);r.firstChild&&s.appendChild(r)}n=e(t).parents("ul,ol"),n[0]?(o.insertAfter(s,n.last()[0]),n.last().remove()):o.insertAfter(s,t),o.remove(t)},remove:function(e){var t,n,i;for(n=0,i=e.length;i>n;n++)t=this.finder.findFormat(e[n]),t&&this.unwrap(t)},toggle:function(e){var t,n=this,i=p(e),r=e.commonAncestorContainer;i.length||(e.selectNodeContents(r),i=p(e),i.length||(t=r.ownerDocument.createTextNode(""),e.startContainer.appendChild(t),i=[t],e.selectNode(t.parentNode))),n.finder.isFormatted(i)?(n.split(e),n.remove(i)):n.apply(i)}}),g=l.extend({init:function(e){e.formatter=new m(e.tag),l.fn.init.call(this,e)}}),v=c.extend({init:function(e){this.options=e,c.fn.init.call(this,i(e,{finder:new h(e.tag)}))},command:function(e){return new g(i(e,{tag:this.options.tag}))}});i(r,{ListFormatFinder:h,ListFormatter:m,ListCommand:g,ListTool:v}),f("insertUnorderedList",new v({tag:"ul",template:new d({template:s.buttonTemplate,title:"Remove Link"})})),f("insertOrderedList",new v({tag:"ol",template:new d({template:s.buttonTemplate,title:"Remove Link"})}))}(window.kendo.jQuery),function(e){var t=window.kendo,n=t.Class,i=e.extend,r=t.ui.editor,o=r.Dom,a=r.RangeUtils,s=r.EditorUtils,l=r.Command,d=r.Tool,c=r.ToolTemplate,u=r.InlineFormatter,p=r.InlineFormatFinder,f=a.textNodes,h=r.EditorUtils.registerTool,m=n.extend({findSuitable:function(e){return o.parentOfType(e,["a"])}}),g=n.extend({init:function(){this.finder=new m},apply:function(e,t){var n,i,r,s,l=f(e);t.innerHTML?(n=a.getMarkers(e),i=a.documentFromRange(e),e.deleteContents(),s=o.create(i,"a",t),e.insertNode(s),n.length>1&&(o.insertAfter(n[n.length-1],s),o.insertAfter(n[1],s),o[l.length>0?"insertBefore":"insertAfter"](n[0],s))):(r=new u([{tags:["a"]}],t),r.finder=this.finder,r.apply(l))}}),v=l.extend({init:function(e){e.formatter={toggle:function(e){new u([{tags:["a"]}]).remove(f(e))}},this.options=e,l.fn.init.call(this,e)}}),_=l.extend({init:function(e){var t=this;t.options=e,l.fn.init.call(t,e),t.attributes=null,t.async=!0,t.formatter=new g},_dialogTemplate:function(e){return t.template("
    1. # if (showText) { #
    2. # } #
     #: messages.dialogButtonSeparator # #: messages.dialogCancel #
    ")({messages:this.editor.options.messages,showText:e})},exec:function(){function n(t){var n,i,o,a=u.element,s=e("#k-editor-link-url",a).val();s&&"http://"!=s&&(p.attributes={href:s},n=e("#k-editor-link-title",a).val(),n&&(p.attributes.title=n),i=e("#k-editor-link-text",a).val(),i!==g&&(p.attributes.innerHTML=i||s),o=e("#k-editor-link-target",a).is(":checked"),o&&(p.attributes.target="_blank"),p.formatter.apply(h,p.attributes)),r(t),p.change&&p.change()}function r(e){e.preventDefault(),u.destroy(),o.windowFromDocument(a.documentFromRange(h)).focus(),p.releaseRange(h)}var l,d,c,u,p=this,h=p.getRange(),m=h.collapsed,g=null,v=p.editor.options.messages;h=p.lockRange(!0),l=f(h),d=l.length?p.formatter.finder.findSuitable(l[0]):null,c=1>=l.length||2==l.length&&m,u=s.createDialog(p._dialogTemplate(c),p.editor,i({},p.editor.options.dialogOptions,{title:v.createLink,close:r,visible:!1})).find(".k-dialog-insert").click(n).end().find(".k-dialog-close").click(r).end().find(".k-form-text-row input").keydown(function(e){var i=t.keys;e.keyCode==i.ENTER?n(e):e.keyCode==i.ESC&&r(e)}).end().find("#k-editor-link-url").val(d?d.getAttribute("href",2):"http://").end().find("#k-editor-link-text").val(l.length>0?1==l.length?l[0].nodeValue:l[0].nodeValue+l[1].nodeValue:"").end().find("#k-editor-link-title").val(d?d.title:"").end().find("#k-editor-link-target").attr("checked",d?"_blank"==d.target:!1).end().data("kendoWindow").center().open(),c&&l.length>0&&(g=e("#k-editor-link-text",u.element).val()),e("#k-editor-link-url",u.element).focus().select()},redo:function(){var e=this,t=e.lockRange(!0);e.formatter.apply(t,e.attributes),e.releaseRange(t)}}),b=d.extend({init:function(t){this.options=t,this.finder=new p([{tags:["a"]}]),d.fn.init.call(this,e.extend(t,{command:v}))},initialize:function(e){e.attr("unselectable","on").addClass("k-state-disabled")},update:function(e,t){e.toggleClass("k-state-disabled",!this.finder.isFormatted(t)).removeClass("k-state-hover")}});i(t.ui.editor,{LinkFormatFinder:m,LinkFormatter:g,UnlinkCommand:v,LinkCommand:_,UnlinkTool:b}),h("createLink",new d({key:"K",ctrl:!0,command:_,template:new c({template:s.buttonTemplate,title:"Create Link"})})),h("unlink",new b({key:"K",ctrl:!0,shift:!0,template:new c({template:s.buttonTemplate,title:"Remove Link"})}))}(window.kendo.jQuery),function(e,t){var n=window.kendo,i=e.extend,r=n.ui.editor,o=r.EditorUtils,a=r.Dom,s=o.registerTool,l=r.ToolTemplate,d=r.RangeUtils,c=r.Command,u=n.keys,p="#k-editor-image-url",f="#k-editor-image-title",h=c.extend({init:function(e){var t=this;c.fn.init.call(t,e),t.async=!0,t.attributes={}},insertImage:function(e,t){var n=this.attributes;if(n.src&&"http://"!=n.src){if(!e)return e=a.create(d.documentFromRange(t),"img",n),e.onload=e.onerror=function(){e.removeAttribute("complete"),e.removeAttribute("width"),e.removeAttribute("height")},t.deleteContents(),t.insertNode(e),t.setStartAfter(e),t.setEndAfter(e),d.selectRange(t),!0;a.attr(e,n)}return!1},_dialogTemplate:function(e){return n.template('
    # if (showBrowser) { #
    # } #
     #: messages.dialogButtonSeparator # #: messages.dialogCancel #
    ')({messages:this.editor.options.messages,showBrowser:e})},redo:function(){var e=this,t=e.lockRange();e.insertImage(d.image(t),t)||e.releaseRange(t)},exec:function(){function r(e){var t=c.element;m.attributes={src:t.find(p).val().replace(/ /g,"%20"),alt:t.find(f).val()},v=m.insertImage(_,g),s(e),m.change&&m.change()}function s(e){e.preventDefault(),c.destroy(),a.windowFromDocument(d.documentFromRange(g)).focus(),v||m.releaseRange(g)}function l(e){e.keyCode==u.ENTER?r(e):e.keyCode==u.ESC&&s(e)}var c,h,m=this,g=m.lockRange(),v=!1,_=d.image(g),b=m.editor.options,y=b.messages,w=b.imageBrowser,x=!!(n.ui.ImageBrowser&&w&&w.transport&&w.transport.read!==t);h=x?{width:"960px"}:{},c=o.createDialog(m._dialogTemplate(x),m.editor,i(h,b.dialogOptions,{title:y.insertImage,close:s,visible:!1,resizable:x,activate:function(){if(x){var e=this;new n.ui.ImageBrowser(e.element.find(".k-imagebrowser"),i({},w,{change:function(){e.element.find(p).val(this.value())},apply:r}))}}})).find(".k-dialog-insert").click(r).end().find(".k-dialog-close").click(s).end().find(".k-form-text-row input").keydown(l).end().find(p).val(_?_.getAttribute("src",2):"http://").end().find(f).val(_?_.alt:"").end().data("kendoWindow").center().open(),e(p,c.element).focus().select()}});n.ui.editor.ImageCommand=h,s("insertImage",new r.Tool({command:h,template:new l({template:o.buttonTemplate,title:"Insert Image"})}))}(window.kendo.jQuery),function(e,t){var n=window.kendo,i=n.ui.DropDownList,r=i.extend({init:function(e,t){var n=this;i.fn.init.call(n,e,t),n.value(n.options.title)},options:{name:"SelectBox"},value:function(e){var n=this,r=i.fn.value.call(n,e);return e===t?r:(e!==i.fn.value.call(n)&&(n.text(n.options.title),n._current.removeClass("k-state-selected"),n.current(null),n._oldIndex=n.selectedIndex=-1),t)}});n.ui.plugin(r),n.ui.editor.SelectBox=r}(window.kendo.jQuery),function(e,t){function n(n,i){var r="rtl"==e(n).css("direction"),o=r?"Right":"Left",a="td"!=s.name(n)?"margin"+o:"padding"+o;return i===t?n.style[a]||0:(i>0?n.style[a]=i+"px":(n.style[a]="",n.style.cssText||n.removeAttribute("style")),t)}var i=window.kendo,r=i.Class,o=e.extend,a=i.ui.editor,s=a.Dom,l=a.EditorUtils,d=l.registerTool,c=a.Command,u=a.Tool,p=a.ToolTemplate,f=a.RangeUtils,h=s.blockElements,m=a.BlockFormatFinder,g=a.BlockFormatter,v=r.extend({init:function(){this.finder=new m([{tags:s.blockElements}])},apply:function(t){var i,r,o,a,l,d,c,u,p,f,h=this.finder.findSuitable(t),m=[];if(h.length){for(i=0,r=h.length;r>i;i++)s.is(h[i],"li")?e(h[i]).index()?0>e.inArray(h[i].parentNode,m)&&m.push(h[i]):m.push(h[i].parentNode):m.push(h[i]);for(;m.length;)if(o=m.shift(),s.is(o,"li"))if(a=o.parentNode,l=e(o).prev("li"),d=l.find("ul,ol").last(),c=e(o).children("ul,ol")[0],c&&l[0])d[0]?(d.append(o),d.append(e(c).children()),s.remove(c)):(l.append(c),c.insertBefore(o,c.firstChild));else for(c=l.children("ul,ol")[0],c||(c=s.create(o.ownerDocument,s.name(a)),l.append(c));o&&o.parentNode==a;)c.appendChild(o),o=m.shift();else for(u=parseInt(n(o),10)+30,n(o,u),p=0;m.length>p;p++)e.contains(o,m[p])&&m.splice(p,1)}else f=new g([{tags:"p"}],{style:{marginLeft:30}}),f.apply(t)},remove:function(t){var i,r,o,a,s,l,d,c,u=this.finder.findSuitable(t);for(r=0,o=u.length;o>r;r++){if(d=e(u[r]),d.is("li")){if(a=d.parent(),s=a.parent(),s.is("li,ul,ol")&&!n(a[0])){if(i&&e.contains(i,s[0]))continue;l=d.nextAll("li"),l.length&&e(a[0].cloneNode(!1)).appendTo(d).append(l),s.is("li")?d.insertAfter(s):d.appendTo(s),a.children("li").length||a.remove();continue}if(i==a[0])continue;i=a[0]}else i=u[r];c=parseInt(n(i),10)-30,n(i,c)}}}),_=c.extend({init:function(e){e.formatter={toggle:function(e){(new v).apply(f.nodes(e))}},c.fn.init.call(this,e)}}),b=c.extend({init:function(e){e.formatter={toggle:function(e){(new v).remove(f.nodes(e))}},c.fn.init.call(this,e)}}),y=u.extend({init:function(e){u.fn.init.call(this,e),this.finder=new m([{tags:h}])},update:function(i,r){var o,a,l,d,c=this.finder.findSuitable(r);for(l=0,d=c.length;d>l;l++)if(o=n(c[l]),o||(a=e(c[l]).parents("ul,ol").length,o=s.is(c[l],"li")&&(a>1||n(c[l].parentNode))||s.ofType(c[l],["ul","ol"])&&a>0),o)return i.removeClass("k-state-disabled"),t;i.addClass("k-state-disabled").removeClass("k-state-hover")}});o(a,{IndentFormatter:v,IndentCommand:_,OutdentCommand:b,OutdentTool:y}),d("indent",new u({command:_,template:new p({template:l.buttonTemplate,title:"Indent"})})),d("outdent",new y({command:b,template:new p({template:l.buttonTemplate,title:"Outdent"})}))}(window.kendo.jQuery),function(e){var t=window.kendo,n=e.extend,i=t.ui.editor,r=i.Dom,o=i.RangeUtils,a=i.EditorUtils,s=i.Command,l=i.Tool,d=i.ToolTemplate,c=s.extend({init:function(e){var t=this;t.options=e,s.fn.init.call(t,e),t.attributes=null,t.async=!0},exec:function(){function t(e){s.value(d.find(p).val()),i(e),a.change&&a.change(),s.trigger("change")}function i(e){e.preventDefault(),d.data("kendoWindow").destroy(),r.windowFromDocument(o.documentFromRange(l)).focus()}var a=this,s=a.editor,l=s.getRange(),d=e(c.template).appendTo(document.body),u=c.indent(s.value()),p=".k-editor-textarea",f=s.options.messages;d.kendoWindow(n({},s.options.dialogOptions,{title:f.viewHtml,close:i})).hide().find(p).val(u).end().find(".k-dialog-update").click(t).end().find(".k-dialog-close").click(i).end().show().data("kendoWindow").center(),d.find(p).focus()}});n(c,{template:"
     or Close
    ",indent:function(e){return e.replace(/<\/(p|li|ul|ol|h[1-6]|table|tr|td|th)>/gi,"\n").replace(/<(ul|ol)([^>]*)>
  • \n/gi,"
    \n").replace(/\n$/,"")}}),t.ui.editor.ViewHtmlCommand=c,i.EditorUtils.registerTool("viewHtml",new l({command:c,template:new d({template:a.buttonTemplate,title:"View HTML"})}))}(window.kendo.jQuery),function(e){var t=window.kendo,n=t.Class,i=e.extend,r=t.ui.editor,o=r.RangeUtils,a=r.Marker,s=n.extend({init:function(e){this.editor=e,this.formats=[]},apply:function(e){var t,n,r,s,l,d,c,u;if(this.hasPending()){if(t=new a,t.addCaret(e),n=e.startContainer.childNodes[e.startOffset],r=n.previousSibling,r?(r.nodeValue||(r=r.previousSibling),e.setStart(r,r.nodeValue.length-1)):e.setStart(e.startContainer,e.startOffset),t.add(e),!o.textNodes(e).length)return t.remove(e),e.collapse(!0),this.editor.selectRange(e),void 0;for(s=t.end.previousSibling.previousSibling,d=this.formats,c=0;d.length>c;c++)l=d[c],u=l.command(i({range:e},l.options.params)),u.editor=this.editor,u.exec(),e.selectNode(s);t.remove(e),s.parentNode&&(e.setStart(s,1),e.collapse(!0)),this.clear(),this.editor.selectRange(e)}},hasPending:function(){return this.formats.length>0},isPending:function(e){return!!this.getPending(e)},getPending:function(e){var t,n=this.formats;for(t=0;n.length>t;t++)if(n[t].name==e)return n[t]},toggle:function(e){var t,n=this.formats;for(t=0;n.length>t;t++)if(n[t].name==e.name)return n[t].params&&n[t].params.value!=e.params.value?n[t].params.value=e.params.value:n.splice(t,1),void 0;n.push(e)},clear:function(){this.formats=[]}});i(r,{PendingFormats:s})}(window.kendo.jQuery),function(e,t){function n(e,t){return''+t+""}function i(n,i){var r,o,a,s,l,d=i!==t;return n.selectionStart!==t?d?(n.focus(),n.setSelectionRange(i,i)):i=[n.selectionStart,n.selectionEnd]:document.selection&&(e(n).is(":visible")&&n.focus(),r=document.selection.createRange(),d?(r.move("character",i),r.select()):(s=n.createTextRange(),l=s.duplicate(),s.moveToBookmark(r.getBookmark()),l.setEndPoint("EndToStart",s),o=l.text.length,a=o+s.text.length,i=[o,a])),i}var r=window.kendo,o=r.keys,a=r.ui,s=a.Widget,l=r._extractFormat,d=r.parseFloat,c=r.support.placeholder,u=r.getCulture,p="change",f="disabled",h="k-input",m="spin",g=".kendoNumericTextBox",v="touchend",_="mouseleave"+g,b="touchstart"+g+" mousedown"+g,y="touchcancel"+g+" "+"touchend"+g+" mouseup"+g+" "+_,w="mouseenter"+g+" "+_,x="k-state-default",k="k-state-focused",C="k-state-hover",T=".",S="k-state-selected",A="k-state-disabled",F=null,D=e.proxy,I={190:".",188:","},E=s.extend({init:function(e,n){var i,o,a,d,c=this,u=n&&n.step!==t;s.fn.init.call(c,e,n),n=c.options,e=c.element.on("keydown"+g,D(c._keydown,c)).on("paste"+g,D(c._paste,c)).on("blur"+g,D(c._focusout,c)).attr("role","spinbutton"),n.placeholder=n.placeholder||e.attr("placeholder"),c._reset(),c._wrapper(),c._arrows(),c._input(),c._text.on(v+g,function(){c._toggleText(!1)}),r.support.mobileOS||c._text.on("focus"+g,D(c._click,c)),i=c.min(e.attr("min")),o=c.max(e.attr("max")),a=c._parse(e.attr("step")),n.min===F&&i!==F&&(n.min=i),n.max===F&&o!==F&&(n.max=o),u||a===F||(n.step=a),e.attr("aria-valuemin",n.min).attr("aria-valuemax",n.max),n.format=l(n.format),d=n.value,c.value(d!==F?d:e.val()),c.enable(!e.is("[disabled]")),r.notify(c)},options:{name:"NumericTextBox",decimals:F,min:F,max:F,value:F,step:1,culture:"",format:"n",spinners:!0,placeholder:"",upArrowText:"Increase value",downArrowText:"Decrease value"},events:[p,m],enable:function(e){var t=this,n=t._text.add(t.element),i=t._inputWrapper.off(w),r=t._upArrow.off(b),o=t._downArrow.off(b);t._toggleText(!0),e===!1?(i.removeClass(x).addClass(A),n.attr(f,f)):(i.addClass(x).removeClass(A).on(w,t._toggleHover),n.removeAttr(f),r.on(b,function(e){e.preventDefault(),t._spin(1),t._upArrow.addClass(S)}),o.on(b,function(e){e.preventDefault(),t._spin(-1),t._downArrow.addClass(S)}))},destroy:function(){var e=this;e.element.add(e._text).add(e._upArrow).add(e._downArrow).add(e._inputWrapper).off(g),e._form&&e._form.off("reset",e._resetHandler),s.fn.destroy.call(e)},min:function(e){return this._option("min",e)},max:function(e){return this._option("max",e)},step:function(e){return this._option("step",e)},value:function(e){var n,i=this;return e===t?i._value:(e=i._parse(e),n=i._adjust(e),e===n&&(i._update(e),i._old=i._value),t)},focus:function(){this._focusin()},_adjust:function(e){var t=this,n=t.options,i=n.min,r=n.max;return e===F?e:(i!==F&&i>e?e=i:r!==F&&e>r&&(e=r),e)},_arrows:function(){var t,i=this,r=i.options,o=r.spinners,a=i.element;t=a.siblings(".k-icon"),t[0]||(t=e(n("n",r.upArrowText)+n("s",r.downArrowText)).insertAfter(a),t.wrapAll('')),t.on(y,function(){clearTimeout(i._spinning),t.removeClass(S)}),o||(t.toggle(o),i._inputWrapper.addClass("k-expand-padding")),i._upArrow=t.eq(0),i._downArrow=t.eq(1)},_blur:function(){var e=this;e._toggleText(!0),e._change(e.element.val())},_click:function(e){var t=this;clearTimeout(t._focusing),t._focusing=setTimeout(function(){var n=e.target,r=i(n)[0],o=n.value.substring(0,r),a=t._format(t.options.format),s=a[","],l=RegExp("\\"+s,"g"),d=RegExp("([\\d\\"+s+"]+)(\\"+a[T]+")?(\\d+)?"),c=d.exec(o),u=0;c&&(u=c[0].replace(l,"").length,-1!=o.indexOf("(")&&0>t._value&&u++),t._focusin(),i(t.element[0],u)})},_change:function(e){var t=this;t._update(e),e=t._value,t._old!=e&&(t._old=e,t.trigger(p),t.element.trigger(p))},_culture:function(e){return e||u(this.options.culture)},_focusin:function(){var e=this;e._inputWrapper.addClass(k),e._toggleText(!1),e.element[0].focus()},_focusout:function(){var e=this;clearTimeout(e._focusing),e._inputWrapper.removeClass(k),e._blur()},_format:function(e,t){var n=this._culture(t).numberFormat;return e=e.toLowerCase(),e.indexOf("c")>-1?n=n.currency:e.indexOf("p")>-1&&(n=n.percent),n},_input:function(){var t,n=this,i="k-formatted-value",r=n.element.addClass(h).show()[0],o=r.accessKey,a=n.wrapper;t=a.find(T+i),t[0]||(t=e('').insertBefore(r).addClass(i)),t[0].style.cssText=r.style.cssText,t[0].tabIndex=r.tabIndex,r.tabIndex=0,r.type="text",t.prop("placeholder",n.options.placeholder),o&&(t.attr("accesskey",o),r.accessKey=""),n._text=t.attr("readonly",!0).addClass(r.className)},_keydown:function(e){var t=this,n=e.keyCode;n==o.DOWN?t._step(-1):n==o.UP?t._step(1):n==o.ENTER&&t._change(t.element.val()),t._prevent(n,e.shiftKey)&&!e.ctrlKey&&e.preventDefault()},_paste:function(e){var t=this,n=e.target,i=n.value;setTimeout(function(){t._parse(n.value)===F&&t._update(i)})},_prevent:function(e,t){var n,r=this,a=r.element[0],s=a.value,l=r.options,d=l.min,c=r._format(l.format),u=c[T],p=l.decimals,f=i(a),h=f[0],m=f[1],g=0===h&&m===s.length,v=!0;return p===F&&(p=c.decimals),e>16&&21>e||e>32&&37>e||e>47&&58>e||e>95&&106>e||e==o.INSERT||e==o.DELETE||e==o.LEFT||e==o.RIGHT||e==o.TAB||e==o.BACKSPACE||e==o.ENTER?(v=!1,t&&(n=parseInt(String.fromCharCode(e),10),isNaN(n)||(n+="",s=s.substring(0,h)+n+s.substring(m),(-1===a.maxLength||a.maxLength>s.length)&&(a.value=s,i(a,h+n.length)),v=!0))):(I[e]===u||110==e)&&p>0&&(-1==s.indexOf(u)||g)?110==e?(a.value=s.substring(0,h)+u+s.substring(m),i(a,h+u.length)):v=!1:!(d===F||0>d)||-1!=s.indexOf("-")||189!=e&&109!=e&&173!=e||0!==h||(v=!1),v},_option:function(e,n){var i=this,r=i.options;return n===t?r[e]:(n=i._parse(n),(n||"step"!==e)&&(r[e]=i._parse(n),i.element.attr("aria-value"+e,r[e])),t)},_spin:function(e,t){var n=this;t=t||500,clearTimeout(n._spinning),n._spinning=setTimeout(function(){n._spin(e,50)},t),n._step(e)},_step:function(e){var t,n=this,i=n.element,r=n._parse(i.val())||0;try{t=document.activeElement}catch(o){}t!=i[0]&&n._focusin(),r+=n.options.step*e,n._update(n._adjust(r)),n.trigger(m)},_toggleHover:function(t){e(t.currentTarget).toggleClass(C,"mouseenter"===t.type)},_toggleText:function(e){var t=this;t._text.toggle(e),t.element.toggle(!e)},_parse:function(e,t){return d(e,this._culture(t),this.options.format)},_update:function(e){var t,n=this,i=n.options,o=i.format,a=i.decimals,s=n._culture(),l=n._format(o,s);a===F&&(a=l.decimals),e=n._parse(e,s),t=e!==F,t&&(e=parseFloat(e.toFixed(a))),n._value=e=n._adjust(e),n._placeholder(r.toString(e,o,s)),n.element.val(t?(""+e).replace(T,l[T]):"").attr("aria-valuenow",e)},_placeholder:function(e){this._text.val(e),c||e||this._text.val(this.options.placeholder)},_wrapper:function(){var t,n=this,i=n.element,r=i[0];t=i.parents(".k-numerictextbox"),t.is("span.k-numerictextbox")||(t=i.hide().wrap('').parent(),t=t.wrap("").parent()),t[0].style.cssText=r.style.cssText,r.style.width="",n.wrapper=t.addClass("k-widget k-numerictextbox").addClass(r.className).css("display",""),n._inputWrapper=e(t[0].firstChild)},_reset:function(){var e=this,t=e.element,n=t.closest("form");n[0]&&(e._resetHandler=function(){setTimeout(function(){e.value(t[0].value)})},e._form=n.on("reset",e._resetHandler))}});a.plugin(E)}(window.kendo.jQuery),function(e,t){function n(e,t){return e=e.split(" ")[!t+0]||e,e.replace("top","up").replace("bottom","down")}function i(e,t,n){e=e.split(" ")[!t+0]||e;var i={origin:["bottom",n?"right":"left"],position:["top",n?"right":"left"]},r=/left|right/.test(e);return r?(i.origin=["top",e],i.position[1]=l.directions[e].reverse):(i.origin[0]=e,i.position[0]=l.directions[e].reverse),i.origin=i.origin.join(" "),i.position=i.position.join(" "),i}function r(t,n){try{return e.contains(t,n)}catch(i){return!1}}function o(t){t=e(t),t.addClass("k-item").children(x).addClass(I),t.children("a").addClass(T).children(x).addClass(I),t.filter(":not([disabled])").addClass(M),t.filter(".k-separator:empty").append(" "),t.filter("li[disabled]").addClass(B).removeAttr("disabled").attr("aria-disabled",!0),t.filter("[role]").length||t.attr("role","menuitem"),t.children("."+T).length||t.contents().filter(function(){return!(this.nodeName.match(y)||3==this.nodeType&&!e.trim(this.nodeValue))}).wrapAll(""),a(t),s(t)}function a(t){t=e(t),t.find("> .k-link > [class*=k-i-arrow]").remove(),t.filter(":has(.k-group)").children(".k-link:not(:has([class*=k-i-arrow]))").each(function(){var t=e(this),n=t.parent().parent();t.append("")})}function s(t){t=e(t),t.filter(".k-first:not(:first-child)").removeClass(D),t.filter(".k-last:not(:last-child)").removeClass(S),t.filter(":first-child").addClass(D),t.filter(":last-child").addClass(S)}var l=window.kendo,d=l.ui,c=l.support.touch&&l.support.mobileOS,u=c||l.support.pointers,p=l.support.mousedown,f=l.support.click,h=e.extend,m=e.proxy,g=e.each,v=l.template,_=l.keys,b=d.Widget,y=/^(ul|a|div)$/i,w=".kendoMenu",x="img",k="open",C="k-menu",T="k-link",S="k-last",A="close",F="timer",D="k-first",I="k-image",E="select",P="zIndex",z=l.support.pointers?"MSPointerOver":"mouseenter",H=l.support.pointers?"MSPointerOut":"mouseleave",R="kendoPopup",M="k-state-default",O="k-state-hover",N="k-state-focused",B="k-state-disabled",L=".k-group",V=":not(.k-list) > .k-item",U=".k-item.k-state-disabled",j=".k-item:not(.k-state-disabled)",W=".k-item:not(.k-state-disabled) > .k-link",q=":not(.k-item.k-separator)",G=q+":eq(0)",$=q+":last",Y="div:not(.k-animation-container,.k-list-container)",Q={content:v("
    #= content(item) #
    "),group:v(""),itemWrapper:v("<#= tag(item) # class='#= textClass(item) #'#= textAttributes(item) #>#= image(item) ##= sprite(item) ##= text(item) ##= arrow(data) #"),item:v("
  • "),image:v(""),arrow:v(""),sprite:v(""),empty:v("")},K={wrapperCssClass:function(e,t){var n="k-item",i=t.index;return n+=t.enabled===!1?" k-state-disabled":" k-state-default",e.firstLevel&&0===i&&(n+=" k-first"),i==e.length-1&&(n+=" k-last"),t.cssClass&&(n+=" "+t.cssClass),n},textClass:function(){return T},textAttributes:function(e){return e.url?" href='"+e.url+"'":""},arrowClass:function(e,t){var n="k-icon";return n+=t.horizontal?" k-i-arrow-s":" k-i-arrow-e"},text:function(e){return e.encoded===!1?e.text:l.htmlEncode(e.text)},tag:function(e){return e.url?"a":"span"},groupAttributes:function(e){return e.expanded!==!0?" style='display:none'":""},groupCssClass:function(){return"k-group"},content:function(e){return e.content?e.content:" "}},X=b.extend({init:function(t,n){var i=this;b.fn.init.call(i,t,n),t=i.wrapper=i.element,n=i.options,i._initData(n),i._updateClasses(),i._animations(n),i.nextItemZIndex=100,i._tabindex(),i._focusProxy=m(i._focusHandler,i),t.on("touchstart MSPointerDown",i._focusProxy).on(f+w,U,!1).on(f+w,j,m(i._click,i)).on("keydown"+w,m(i._keydown,i)).on("focus"+w,m(i._focus,i)).on("focus"+w,".k-content",m(i._focus,i)).on("blur"+w,m(i._removeHoverItem,i)).on(z+w,j,m(i._mouseenter,i)).on(H+w,j,m(i._mouseleave,i)).on(z+w+" "+H+w+" "+p+w+" "+f+w,W,m(i._toggleHover,i)),n.openOnClick&&(i.clicked=!1,i._documentClickHandler=m(i._documentClick,i),e(document).click(i._documentClickHandler)),t.attr("role","menubar"),t[0].id&&(i._ariaId=l.format("{0}_mn_active",t[0].id)),l.notify(i)},events:[k,A,E],options:{name:"Menu",animation:{open:{duration:200},close:{duration:100}},orientation:"horizontal",direction:"default",openOnClick:!1,closeOnClick:!0,hoverDelay:100},_initData:function(e){var t=this;e.dataSource&&(t.element.empty(),t.append(e.dataSource,t.element))},setOptions:function(e){var t=this.options.animation;this._animations(e),e.animation=h(!0,t,e.animation),"dataSource"in e&&this._initData(e),b.fn.setOptions.call(this,e)},destroy:function(){var t=this;b.fn.destroy.call(t),t.element.off(w),t._documentClickHandler&&e(document).unbind("click",t._documentClickHandler)},enable:function(e,t){return this._toggleDisabled(e,t!==!1),this},disable:function(e){return this._toggleDisabled(e,!1),this},append:function(e,t){t=this.element.find(t);var n=this._insert(e,t,t.length?t.find("> .k-group, > .k-animation-container > .k-group"):null);return g(n.items,function(){n.group.append(this),a(this)}),a(t),s(n.group.find(".k-first, .k-last").add(n.items)),this},insertBefore:function(e,t){t=this.element.find(t);var n=this._insert(e,t,t.parent());return g(n.items,function(){t.before(this),a(this),s(this)}),s(t),this},insertAfter:function(e,t){t=this.element.find(t);var n=this._insert(e,t,t.parent());return g(n.items,function(){t.after(this),a(this),s(this)}),s(t),this},_insert:function(t,n,i){var r,a,s,l,d=this;return n&&n.length||(i=d.element),s=e.isPlainObject(t),l={firstLevel:i.hasClass(C),horizontal:i.hasClass(C+"-horizontal"),expanded:!0,length:i.children().length},n&&!i.length&&(i=e(X.renderGroup({group:l})).appendTo(n)),s||e.isArray(t)?r=e.map(s?[t]:t,function(t,n){return"string"==typeof t?e(t):e(X.renderItem({group:l,item:h(t,{index:n})}))}):(r=e(t),a=r.find("> ul").addClass("k-group").attr("role","menu"),r=r.filter("li"),r.add(a.find("> li")).each(function(){o(this)})),{items:r,group:i}},remove:function(e){var t,n,i,r;return e=this.element.find(e),t=this,n=e.parentsUntil(t.element,V),i=e.parent("ul"),e.remove(),i&&!i.children(V).length&&(r=i.parent(".k-animation-container"),r.length?r.remove():i.remove()),n.length&&(n=n.eq(0),a(n),s(n)),t},open:function(r){var o=this,a=o.options,s="horizontal"==a.orientation,d=a.direction,c=l.support.isRtl(o.wrapper);return r=o.element.find(r),/^(top|bottom|default)$/.test(d)&&(d=c?s?(d+" left").replace("default","bottom"):"left":s?(d+" right").replace("default","bottom"):"right"),r.siblings().find(">.k-popup:visible,>.k-animation-container>.k-popup:visible").each(function(){var t=e(this).data("kendoPopup"); -t&&t.close()}),r.each(function(){var r=e(this);clearTimeout(r.data(F)),r.data(F,setTimeout(function(){var e,l,u,p,f,m,g=r.find(".k-group:first:hidden");g[0]&&o.trigger(k,{item:r[0]})===!1&&(r.data(P,r.css(P)),r.css(P,o.nextItemZIndex++),e=g.data(R),l=r.parent().hasClass(C),u=l&&s,p=i(d,l,c),f=a.animation.open.effects,m=f!==t?f:"slideIn:"+n(d,l),e?(e=g.data(R),e.options.origin=p.origin,e.options.position=p.position,e.options.animation.open.effects=m):e=g.kendoPopup({origin:p.origin,position:p.position,collision:a.popupCollision!==t?a.popupCollision:u?"fit":"fit flip",anchor:r,appendTo:r,animation:{open:h(!0,{effects:m},a.animation.open),close:a.animation.close},close:function(e){var t=e.sender.wrapper.parent();o.trigger(A,{item:t[0]})?e.preventDefault():(t.css(P,t.data(P)),t.removeData(P))}}).data(R),g.removeAttr("aria-hidden"),e.open())},o.options.hoverDelay))}),o},close:function(t){var n=this,i=n.element;return t=i.find(t),t.length||(t=i.find(">.k-item")),t.each(function(){var t=e(this);clearTimeout(t.data(F)),t.data(F,setTimeout(function(){var e=t.find(".k-group:first:visible").data(R);e&&(e.close(),e.element.attr("aria-hidden",!0))},n.options.hoverDelay))}),n},_toggleDisabled:function(t,n){this.element.find(t).each(function(){e(this).toggleClass(M,n).toggleClass(B,!n).attr("aria-disabled",!n)})},_toggleHover:function(t){var n=e(l.eventTarget(t)||t.target).closest(V),i=t.type==z||-1!==p.indexOf(t.type);n.parents("li."+B).length||n.toggleClass(O,i),this._removeHoverItem()},_removeHoverItem:function(){var e=this._hoverItem();e&&e.hasClass(N)&&(e.removeClass(N),this._oldHoverItem=null)},_updateClasses:function(){var e,t=this.element;t.addClass("k-widget k-reset k-header "+C).addClass(C+"-"+this.options.orientation),t.find("li > ul").addClass("k-group").attr("role","menu").attr("aria-hidden",t.is(":visible")).end().find("li > div").addClass("k-content").attr("tabindex","-1"),e=t.find("> li,.k-group > li"),e.each(function(){o(this)})},_mouseenter:function(t){var n=this,i=e(t.currentTarget),o=i.children(".k-animation-container").length||i.children(L).length;t.delegateTarget==i.parents(".k-menu")[0]&&((!n.options.openOnClick||n.clicked)&&!r(t.currentTarget,t.relatedTarget)&&o&&n.open(i),(n.options.openOnClick&&n.clicked||u)&&i.siblings().each(m(function(e,t){n.close(t)},n)))},_mouseleave:function(n){var i=this,o=e(n.currentTarget),a=o.children(".k-animation-container").length||o.children(L).length;return o.parentsUntil(".k-animation-container",".k-list-container,.k-calendar-container")[0]?(n.stopImmediatePropagation(),t):(i.options.openOnClick||c||l.support.pointers&&2==n.originalEvent.pointerType||r(n.currentTarget,n.relatedTarget)||!a||i.close(o),t)},_click:function(n){var i,r,o,a=this,s=a.options,d=e(l.eventTarget(n)),c=d[0]?d[0].nodeName.toUpperCase():"",u="INPUT"==c||"SELECT"==c||"BUTTON"==c,p=d.closest("."+T),f=d.closest(V),h=p.attr("href"),m=!!h&&"#"!=h.charAt(h.length-1);if(!f.children(Y)[0])return f.hasClass(B)?(n.preventDefault(),t):(n.handled||!a.trigger(E,{item:f[0]})||u||n.preventDefault(),n.handled=!0,r=f.children(L+",.k-animation-container"),o=r.is(":visible"),s.closeOnClick&&!m&&(!r.length||s.openOnClick&&o)?(f.removeClass(O).css("height"),a._oldHoverItem=a._findRootParent(f),a.close(p.parentsUntil(a.element,V)),a.clicked=!1,-1!="touchend MSPointerUp".indexOf(n.type)&&n.preventDefault(),t):((f.parent().hasClass(C)&&s.openOnClick||l.support.touch)&&(m||u||n.preventDefault(),a.clicked=!0,i=r.is(":visible")?A:k,a[i](f)),t))},_documentClick:function(e){r(this.element[0],e.target)||(this.clicked=!1)},_focus:function(n){var i,r=this,o=n.target,a=r._hoverItem();if(o!=r.wrapper[0]&&!e(o).is(":focusable"))return n.stopPropagation(),e(o).closest(".k-content").closest(".k-group").closest(".k-item").addClass(N),r.wrapper.focus(),t;try{i=document.activeElement}catch(s){}o==r.wrapper[0]&&a.length?r._moveHover([],a):o!=r.wrapper[0]||r._oldHoverItem||i==r.wrapper[0]||r._moveHover([],r.wrapper.children().first())},_keydown:function(e){var n,i,r,o=this,a=e.keyCode,s=o._oldHoverItem,d=l.support.isRtl(o.wrapper);if(e.target==e.currentTarget||a==_.ESC){if(s||(s=o._oldHoverItem=o._hoverItem()),i=o._itemBelongsToVertival(s),r=o._itemHasChildren(s),a==_.RIGHT)n=o[d?"_itemLeft":"_itemRight"](s,i,r);else if(a==_.LEFT)n=o[d?"_itemRight":"_itemLeft"](s,i,r);else if(a==_.DOWN)n=o._itemDown(s,i,r);else if(a==_.UP)n=o._itemUp(s,i,r);else if(a==_.ESC)n=o._itemEsc(s,i);else if(a==_.ENTER||a==_.SPACEBAR)n=s.children(".k-link"),n.length>0&&(o._click({target:n[0],preventDefault:function(){}}),o._moveHover(s,o._findRootParent(s)));else if(a==_.TAB)return n=o._findRootParent(s),o.close(n),o._moveHover(s,n),t;n&&n[0]&&(e.preventDefault(),e.stopPropagation())}},_hoverItem:function(){return this.wrapper.find(".k-item.k-state-hover,.k-item.k-state-focused").filter(":visible")},_itemBelongsToVertival:function(e){var t=this.wrapper.hasClass("k-menu-vertical");return e.length?e.parent().hasClass("k-group")||t:t},_itemHasChildren:function(e){return e.length?e.children("ul.k-group, div.k-animation-container").length>0:!1},_moveHover:function(e,t){var n=this,i=n._ariaId;e.length&&t.length&&(e.removeClass(N),e[0].id===i&&e.removeAttr("id")),t.length&&(t[0].id&&(i=t[0].id),t.addClass(N),n._oldHoverItem=t,i&&(n.element.removeAttr("aria-activedescendant"),t.attr("id",i),n.element.attr("aria-activedescendant",i)))},_findRootParent:function(e){return e.parent().hasClass("k-menu")?e:e.parentsUntil(".k-menu","li.k-item").last()},_isRootItem:function(e){return e.parent().hasClass("k-menu")},_itemRight:function(e,t,n){var i,r,o=this;return t?n?(o.open(e),i=e.find(".k-group").children().first()):"horizontal"==o.options.orientation&&(r=o._findRootParent(e),o.close(r),i=r.nextAll(G)):(i=e.nextAll(G),i.length||(i=e.prevAll($))),i&&!i.length?i=o.wrapper.children(".k-item").first():i||(i=[]),o._moveHover(e,i),i},_itemLeft:function(e,t){var n,i=this;return t?(n=e.parent().closest(".k-item"),i.close(n),i._isRootItem(n)&&"horizontal"==i.options.orientation&&(n=n.prevAll(G))):(n=e.prevAll(G),n.length||(n=e.nextAll($))),n.length||(n=i.wrapper.children(".k-item").last()),i._moveHover(e,n),n},_itemDown:function(e,t,n){var i,r=this;if(t)i=e.nextAll(G);else{if(!n||e.hasClass(B))return;r.open(e),i=e.find(".k-group").children().first()}return!i.length&&e.length?i=e.parent().children().first():e.length||(i=r.wrapper.children(".k-item").first()),r._moveHover(e,i),i},_itemUp:function(e,t){var n,i=this;if(t)return n=e.prevAll(G),!n.length&&e.length?n=e.parent().children().last():e.length||(n=i.wrapper.children(".k-item").last()),i._moveHover(e,n),n},_itemEsc:function(e,t){var n,i=this;return t?(n=e.parent().closest(".k-item"),i.close(n),i._moveHover(e,n),n):e},_focusHandler:function(t){var n=this,i=e(l.eventTarget(t)).closest(V);setTimeout(function(){n._moveHover([],i),i.children(".k-content")[0]&&i.parent().closest(".k-item").removeClass(N)},200)},_animations:function(e){e&&"animation"in e&&!e.animation&&(e.animation={open:{effects:{}},close:{hide:!0,effects:{}}})}});h(X,{renderItem:function(e){e=h({menu:{},group:{}},e);var t=Q.empty,n=e.item;return Q.item(h(e,{image:n.imageUrl?Q.image:t,sprite:n.spriteCssClass?Q.sprite:t,itemWrapper:Q.itemWrapper,renderContent:X.renderContent,arrow:n.items||n.content?Q.arrow:t,subGroup:X.renderGroup},K))},renderGroup:function(e){return Q.group(h({renderItems:function(e){for(var t="",n=0,i=e.items,r=i?i.length:0,o=h({length:r},e.group);r>n;n++)t+=X.renderItem(h(e,{group:o,item:h({index:n},i[n])}));return t}},e,K))},renderContent:function(e){return Q.content(h(e,K))}}),l.ui.plugin(X)}(window.kendo.jQuery),function(e,t){function n(t){return t=null!=t?t:"",t.type||e.type(t)||"string"}function i(t){t.find(":input:not(:button, ["+s.attr("role")+"=upload], ["+s.attr("skip")+"]), select").each(function(){var t=s.attr("bind"),n=this.getAttribute(t)||"",i="checkbox"===this.type||"radio"===this.type?"checked:":"value:",r=this.name;-1===n.indexOf(i)&&r&&(n+=(n.length?",":"")+i+r,e(this).attr(t,n))})}function r(e){var t,i,r=(e.model.fields||e.model)[e.field],o=n(r),a=r?r.validation:{},l=s.attr("type"),d=s.attr("bind"),c={name:e.field};for(t in a)i=a[t],f(t,v)>=0?c[l]=t:u(i)||(c[t]=p(i)?i.value||t:i),c[s.attr(t+"-msg")]=i.message;return f(o,v)>=0&&(c[l]=o),c[d]=("boolean"===o?"checked:":"value:")+e.field,c}function o(e){var t,n,i,r,o,a;if(e&&e.length)for(a=[],t=0,n=e.length;n>t;t++)i=e[t],o=i.text||i.value||i,r=null==i.value?i.text||i:i.value,a[t]={text:o,value:r};return a}function a(e,t){var n,i=e?e.validation||{}:{};for(n in i)u(i[n])&&(t[n]=i[n])}var s=window.kendo,l=s.ui,d=l.Widget,c=e.extend,u=e.isFunction,p=e.isPlainObject,f=e.inArray,h=/("|'|\[|\]|\$|\.|\:|\+)/g,m='
    #=message#
    ',g="change",v=["url","email","number","date","boolean"],_={number:function(t,n){var i=r(n);e('').attr(i).appendTo(t).kendoNumericTextBox({format:n.format}),e("').hide().appendTo(t)},date:function(t,n){var i=r(n),o=n.format;o&&(o=s._extractFormat(o)),i[s.attr("format")]=o,e('').attr(i).appendTo(t).kendoDatePicker({format:n.format}),e("').hide().appendTo(t)},string:function(t,n){var i=r(n);e('').attr(i).appendTo(t)},"boolean":function(t,n){var i=r(n);e('').attr(i).appendTo(t)},values:function(t,n){var i=r(n);e("#=messages.isTrue#
    ',m='
    #=messages.info#
    #if(values){##}else{##}##if(extra){##if(values){##}else{##}##}#
    ',g=f.extend({init:function(t,n){var r,a,s=this,d="string";f.fn.init.call(s,t,n),s.operators=n.operators||{},t=s.element,n=s.options,n.appendToElement||(r=t.addClass("k-filterable").find(".k-grid-filter"),r[0]||(r=t.prepend('').find(".k-grid-filter")),r.attr("tabindex",-1).on("click"+l,o(s._click,s))),s.link=r||e(),s.dataSource=n.dataSource,s.field=n.field||t.attr(i.attr("field")),s.model=s.dataSource.reader.model,s._parse=function(e){return e+""},s.model&&s.model.fields&&(a=s.model.fields[s.field],a&&(d=a.type||"string",a.parse&&(s._parse=o(a.parse,a)))),n.values&&(d="enums"),s.type=d,n.appendToElement&&s._init()},_init:function(){var t,r,d=this,c=d.options,f=d.operators||{},g=c.ui,v=p(g),_=d.type;d._refreshHandler=o(d.refresh,d),d.dataSource.bind("change",d._refreshHandler),f=f[_]||c.operators[_];for(t in f)break;d._defaultFilter=function(){return{field:d.field,operator:t||"eq",value:""}},v||(r=g||u[_]),d.form=e('
    ').html(i.template("boolean"===_?h:m)({field:d.field,format:c.format,ns:i.ns,messages:c.messages,extra:c.extra,operators:f,type:_,role:r,values:n(c.values)})).on("keydown"+l,o(d._keydown,d)).on("submit"+l,o(d._submit,d)).on("reset"+l,o(d._reset,d)),c.appendToElement?(d.element.append(d.form),d.popup=d.element.closest(".k-popup").data(a)):d.popup=d.form[a]({anchor:d.link,open:o(d._open,d),activate:o(d._activate,d),close:d.options.closeCallback}).data(a),v&&d.form.find(".k-textbox").removeClass("k-textbox").each(function(){g(e(this))}),d.form.find("["+i.attr("role")+"=numerictextbox]").removeClass("k-textbox").end().find("["+i.attr("role")+"=datetimepicker]").removeClass("k-textbox").end().find("["+i.attr("role")+"=timepicker]").removeClass("k-textbox").end().find("["+i.attr("role")+"=datepicker]").removeClass("k-textbox"),d.refresh(),d.trigger(s,{field:d.field,container:d.form})},refresh:function(){var e=this,t=e.dataSource.filter()||{filters:[],logic:"and"};e.filterModel=i.observable({logic:"and",filters:[e._defaultFilter(),e._defaultFilter()]}),i.bind(e.form.children().first(),e.filterModel),e._bind(t)?e.link.addClass("k-state-active"):e.link.removeClass("k-state-active")},destroy:function(){var e=this;f.fn.destroy.call(e),e.form&&(i.unbind(e.form),i.destroy(e.form),e.form.unbind(l),e.popup.destroy()),e.link.unbind(l),e.dataSource.unbind("change",e._refreshHandler)},_bind:function(e){var t,n,i,r,o=this,a=e.filters,s=!1,l=0,d=o.filterModel;for(t=0,n=a.length;n>t;t++)r=a[t],r.field==o.field?(d.set("logic",e.logic),i=d.filters[l],i||(d.filters.push({field:o.field}),i=d.filters[l]),i.set("value",o._parse(r.value)),i.set("operator",r.operator),l++,s=!0):r.filters&&(s=s||o._bind(r));return s},_merge:function(n){var i,r,o,a=this,s=n.logic||"and",l=n.filters,d=a.dataSource.filter()||{filters:[],logic:"and"};for(t(d,a.field),l=e.grep(l,function(e){return""!==e.value}),r=0,o=l.length;o>r;r++)i=l[r],i.value=a._parse(i.value);return l.length&&(d.filters.length?(n.filters=l,"and"!==d.logic&&(d.filters=[{logic:d.logic,filters:d.filters}],d.logic="and"),l.length>1?d.filters.push(n):d.filters.push(l[0])):(d.filters=l,d.logic=s)),d},filter:function(e){e=this._merge(e),e.filters.length&&this.dataSource.filter(e)},clear:function(){var t=this,n=t.dataSource.filter()||{filters:[]};n.filters=e.grep(n.filters,function(n){return n.filters?(n.filters=e.grep(n.filters,function(e){return e.field!=t.field}),n.filters.length):n.field!=t.field}),n.filters.length||(n=null),t.dataSource.filter(n)},_submit:function(e){var t=this;e.preventDefault(),t.filter(t.filterModel.toJSON()),t.popup.close()},_reset:function(){this.clear(),this.popup.close()},_click:function(e){e.preventDefault(),e.stopPropagation(),this.popup||this._init(),this.popup.toggle()},_open:function(){var t;e(".k-filter-menu").not(this.form).each(function(){t=e(this).data(a),t&&t.close()})},_activate:function(){this.form.find(":focusable:first").focus()},_keydown:function(e){e.keyCode==i.keys.ESC&&this.popup.close()},events:[s],options:{name:"FilterMenu",extra:!0,appendToElement:!1,type:"string",operators:{string:{eq:d,neq:c,startswith:"Starts with",contains:"Contains",doesnotcontain:"Does not contain",endswith:"Ends with"},number:{eq:d,neq:c,gte:"Is greater than or equal to",gt:"Is greater than",lte:"Is less than or equal to",lt:"Is less than"},date:{eq:d,neq:c,gte:"Is after or equal to",gt:"Is after",lte:"Is before or equal to",lt:"Is before"},enums:{eq:d,neq:c}},messages:{info:"Show items with value that:",isTrue:"is true",isFalse:"is false",filter:"Filter",clear:"Clear",and:"And",or:"Or",selectValue:"-Select value-"}}});r.plugin(g)}(window.kendo.jQuery),function(e,t){function n(t){t=e(t),t.children(v).children(".k-icon").remove(),t.filter(":has(.k-panel),:has(.k-content)").children(".k-link:not(:has([class*=k-i-arrow]))").each(function(){var t=e(this),n=t.parent();t.append("")})}function i(t){t=e(t),t.filter(".k-first:not(:first-child)").removeClass(k),t.filter(".k-last:not(:last-child)").removeClass(m),t.filter(":first-child").addClass(k),t.filter(":last-child").addClass(m)}var r=window.kendo,o=r.ui,a=r.keys,s=e.extend,l=e.each,d=r.template,c=o.Widget,u=/^(ul|a|div)$/i,p=".kendoPanelBar",f="img",h="href",m="k-last",g="k-link",v="."+g,_="error",b=".k-item",y=".k-group",w=y+":visible",x="k-image",k="k-first",C="expand",T="select",S="k-content",A="activate",F="collapse",D="contentUrl",I="mouseenter",E="mouseleave",P="contentLoad",z="k-state-active",H="> .k-panel",R="> .k-content",M="k-state-focused",O="k-state-disabled",N="k-state-selected",B="."+N,L="k-state-highlighted",V=b+":not(.k-state-disabled)",U=V+" > .k-link",j=b+".k-state-disabled > .k-link",W="> li > "+B+", .k-panel > li > "+B,q="k-state-default",G="aria-disabled",$="aria-expanded",Y="aria-hidden",Q="aria-selected",K=":visible",X=":empty",J="single",Z={content:d("
    #= content(item) #
    "),group:d(""),itemWrapper:d("<#= tag(item) # class='#= textClass(item, group) #' #= contentUrl(item) ##= textAttributes(item) #>#= image(item) ##= sprite(item) ##= text(item) ##= arrow(data) #"),item:d("
  • #= itemWrapper(data) ## if (item.items) { ##= subGroup({ items: item.items, panelBar: panelBar, group: { expanded: item.expanded } }) ## } else if (item.content || item.contentUrl) { ##= renderContent(data) ## } #
  • "),image:d(""),arrow:d(""),sprite:d(""),empty:d("")},et={aria:function(e){var t="";return(e.items||e.content||e.contentUrl)&&(t+=$+"='"+(e.expanded?"true":"false")+"' "),e.enabled===!1&&(t+=G+"='true'"),t},wrapperCssClass:function(e,t){var n="k-item",i=t.index;return n+=t.enabled===!1?" "+O:t.expanded===!0?" "+z:" k-state-default",0===i&&(n+=" k-first"),i==e.length-1&&(n+=" k-last"),t.cssClass&&(n+=" "+t.cssClass),n},textClass:function(e,t){var n=g;return t.firstLevel&&(n+=" k-header"),n},textAttributes:function(e){return e.url?" href='"+e.url+"'":""},arrowClass:function(e){var t="k-icon";return t+=e.expanded?" k-i-arrow-n k-panelbar-collapse":" k-i-arrow-s k-panelbar-expand"},text:function(e){return e.encoded===!1?e.text:r.htmlEncode(e.text)},tag:function(e){return e.url?"a":"span"},groupAttributes:function(e){return e.expanded!==!0?" style='display:none'":""},groupCssClass:function(){return"k-group k-panel"},contentAttributes:function(e){return e.item.expanded!==!0?" style='display:none'":""},content:function(e){return e.content?e.content:e.contentUrl?"":" "},contentUrl:function(e){return e.contentUrl?r.attr("content-url")+'="'+e.contentUrl+'"':""}},tt=c.extend({init:function(t,n){var i,o=this;c.fn.init.call(o,t,n),t=o.wrapper=o.element.addClass("k-widget k-reset k-header k-panelbar"),n=o.options,t[0].id&&(o._itemId=t[0].id+"_pb_active"),o._tabindex(),o._initData(n),o._updateClasses(),o._animations(n),t.on("click"+p,U,function(t){o._click(e(t.currentTarget))&&t.preventDefault()}).on(I+p+" "+E+p,U,o._toggleHover).on("click"+p,j,!1).on("keydown"+p,e.proxy(o._keydown,o)).on("focus"+p,function(){var e=o.select();o._current(e[0]?e:o._first())}).on("blur"+p,function(){o._current(null)}).attr("role","menu"),n.contentUrls&&t.find("> .k-item").each(function(t,i){e(i).find(v).data(D,n.contentUrls[t])}),i=t.find("li."+z+" > ."+S),i[0]&&o.expand(i.parent(),!1),r.notify(o)},events:[C,F,T,A,_,P],options:{name:"PanelBar",animation:{expand:{effects:"expand:vertical",duration:200},collapse:{duration:200}},expandMode:"multiple"},destroy:function(){c.fn.destroy.call(this),this.element.off(p),r.destroy(this.element)},_initData:function(e){var t=this;e.dataSource&&(t.element.empty(),t.append(e.dataSource,t.element))},setOptions:function(e){var t=this.options.animation;this._animations(e),e.animation=s(!0,t,e.animation),"dataSource"in e&&this._initData(e),c.fn.setOptions.call(this,e)},expand:function(t,n){var i=this,r={};return n=n!==!1,t=this.element.find(t),t.each(function(o,a){a=e(a);var s=a.find(H).add(a.find(R));if(!a.hasClass(O)&&s.length>0){if(i.options.expandMode==J&&i._collapseAllExpanded(a))return i;t.find("."+L).removeClass(L),a.addClass(L),n||(r=i.options.animation,i.options.animation={expand:{effects:{}},collapse:{hide:!0,effects:{}}}),i._triggerEvent(C,a)||i._toggleItem(a,!1),n||(i.options.animation=r)}}),i},collapse:function(t,n){var i=this,r={};return n=n!==!1,t=i.element.find(t),t.each(function(t,o){o=e(o);var a=o.find(H).add(o.find(R));!o.hasClass(O)&&a.is(K)&&(o.removeClass(L),n||(r=i.options.animation,i.options.animation={expand:{effects:{}},collapse:{hide:!0,effects:{}}}),i._triggerEvent(F,o)||i._toggleItem(o,!0),n||(i.options.animation=r))}),i},_toggleDisabled:function(e,t){e=this.element.find(e),e.toggleClass(q,t).toggleClass(O,!t).attr(G,!t)},select:function(n){var i=this;return n===t?i.element.find(W).parent():(i.element.find(n).each(function(){var n=e(this),r=n.children(v);return n.hasClass(O)?i:(i._updateSelected(r),t)}),i)},enable:function(e,t){return this._toggleDisabled(e,t!==!1),this},disable:function(e){return this._toggleDisabled(e,!1),this},append:function(e,t){t=this.element.find(t);var r=this._insert(e,t,t.length?t.find(H):null);return l(r.items,function(){r.group.append(this),i(this)}),n(t),i(r.group.find(".k-first, .k-last")),r.group.height("auto"),this},insertBefore:function(e,t){t=this.element.find(t);var n=this._insert(e,t,t.parent());return l(n.items,function(){t.before(this),i(this)}),i(t),n.group.height("auto"),this},insertAfter:function(e,t){t=this.element.find(t);var n=this._insert(e,t,t.parent());return l(n.items,function(){t.after(this),i(this)}),i(t),n.group.height("auto"),this},remove:function(e){e=this.element.find(e);var t=this,r=e.parentsUntil(t.element,b),o=e.parent("ul");return e.remove(),!o||o.hasClass("k-panelbar")||o.children(b).length||o.remove(),r.length&&(r=r.eq(0),n(r),i(r)),t},reload:function(t){var n=this;t=n.element.find(t),t.each(function(){var t=e(this);n._ajaxRequest(t,t.children("."+S),!t.is(K))})},_first:function(){return this.element.children(V).first()},_last:function(){var e=this.element.children(V).last(),t=e.children(w);return t[0]?t.children(V).last():e},_current:function(e){var n=this,i=n._focused,r=n._itemId;return e===t?i:(n.element.removeAttr("aria-activedescendant"),i&&(i[0].id===r&&i.removeAttr("id"),i.children(v).removeClass(M)),e&&(r=e[0].id||r,e.attr("id",r).children(v).addClass(M),n.element.attr("aria-activedescendant",r)),n._focused=e,t)},_keydown:function(e){var t=this,n=e.keyCode,i=t._current();e.target==e.currentTarget&&(n==a.DOWN||n==a.RIGHT?(t._current(t._nextItem(i)),e.preventDefault()):n==a.UP||n==a.LEFT?(t._current(t._prevItem(i)),e.preventDefault()):n==a.ENTER||n==a.SPACEBAR?(t._click(i.children(v)),e.preventDefault()):n==a.HOME?(t._current(t._first()),e.preventDefault()):n==a.END&&(t._current(t._last()),e.preventDefault()))},_nextItem:function(e){if(!e)return this._first();var t=e.children(w),n=e.next();return t[0]&&(n=t.children("."+k)),n[0]||(n=e.parent(w).parent(b).next()),n[0]&&n.is(":visible")||(n=this._first()),n.hasClass(O)&&(n=this._nextItem(n)),n},_prevItem:function(e){if(!e)return this._last();var t,n=e.prev();if(n[0])for(t=n;t[0];)t=t.children(w).children("."+m),t[0]&&(n=t);else n=e.parent(w).parent(b),n[0]||(n=this._last());return n.hasClass(O)&&(n=this._prevItem(n)),n},_insert:function(t,n,i){var r,o,a=this,l=e.isPlainObject(t),d=n&&n[0];return d||(i=a.element),o={firstLevel:i.hasClass("k-panelbar"),expanded:i.parent().hasClass(z),length:i.children().length},d&&!i.length&&(i=e(tt.renderGroup({group:o})).appendTo(n)),l||e.isArray(t)?(r=e.map(l?[t]:t,function(t,n){return"string"==typeof t?e(t):e(tt.renderItem({group:o,item:s(t,{index:n})}))}),d&&n.attr($,!1)):(r=e(t),a._updateItemsClasses(r)),{items:r,group:i}},_toggleHover:function(t){var n=e(t.currentTarget);n.parents("li."+O).length||n.toggleClass("k-state-hover",t.type==I)},_updateClasses:function(){var t,r,o=this;t=o.element.find("li > ul").not(function(){return e(this).parentsUntil(".k-panelbar","div").length}).addClass("k-group k-panel").attr("role","group"),t.parent().attr($,!1).not("."+z).children("ul").attr(Y,!0).hide(),r=o.element.add(t).children(),o._updateItemsClasses(r),n(r),i(r)},_updateItemsClasses:function(e){for(var t=e.length,n=0;t>n;n++)this._updateItemClasses(e[n])},_updateItemClasses:function(t){var n,i=this._selected;t=e(t).addClass("k-item").attr("role","menuitem"),t.children(f).addClass(x),t.children("a").addClass(g).children(f).addClass(x),t.filter(":not([disabled]):not([class*=k-state])").addClass("k-state-default"),t.filter("li[disabled]").addClass("k-state-disabled").attr(G,!0).removeAttr("disabled"),t.children("div").addClass(S).attr("role","region").attr(Y,!0).hide().parent().attr($,!1),n=t.children(B),n[0]&&(i&&i.removeAttr(Q).children(B).removeClass(N),n.addClass(N),this._selected=t.attr(Q,!0)),t.children(v)[0]||t.contents().filter(function(){return!(this.nodeName.match(u)||3==this.nodeType&&!e.trim(this.nodeValue))}).wrapAll(""),t.parent(".k-panelbar")[0]&&t.children(v).addClass("k-header")},_click:function(e){var t,n,i,r,o,a,s,l=this,d=l.element;if(!e.parents("li."+O).length&&e.closest(".k-widget")[0]==d[0]){if(o=e.closest(v),a=o.closest(b),l._updateSelected(o),n=a.find(H).add(a.find(R)),i=o.attr(h),r=o.data(D)||i&&("#"==i.charAt(i.length-1)||-1!=i.indexOf("#"+l.element[0].id+"-")),t=!(!r&&!n.length),n.data("animating"))return t;if(l._triggerEvent(T,a)&&(t=!0),t!==!1)return l.options.expandMode==J&&l._collapseAllExpanded(a)?t:(n.length&&(s=n.is(K),l._triggerEvent(s?F:C,a)||(t=l._toggleItem(a,s))),t)}},_toggleItem:function(e,t){var n,i,r=this,o=e.find(H);return o.length?(this._toggleGroup(o,t),n=!0):(i=e.children("."+S),i.length&&(n=!0,i.is(X)?r._ajaxRequest(e,i,t):r._toggleGroup(i,t))),n},_toggleGroup:function(e,t){var n=this,i=n.options.animation,r=i.expand,o=s({},i.collapse),a=o&&"effects"in o;e.is(K)==t&&(e.parent().attr($,!t).attr(Y,t).toggleClass(q,t).toggleClass(z,!t).find("> .k-link > .k-icon").toggleClass("k-i-arrow-n",!t).toggleClass("k-panelbar-collapse",!t).toggleClass("k-i-arrow-s",t).toggleClass("k-panelbar-expand",t),r=t?s(a?o:s({reverse:!0},r),{hide:!0}):s({complete:function(e){n._triggerEvent(A,e.closest(b))}},r),e.kendoStop(!0,!0).kendoAnimate(r))},_collapseAllExpanded:function(n){var i,r,o=this,a=!1;return n.children(v).hasClass("k-header")?(r=n.find(H).add(n.find(R)),r.is(K)&&(a=!0),r.is(K)||0===r.length||(i=e(o.element).children(),i.find(H).add(i.find(R)).filter(function(){return e(this).is(K)}).each(function(t,n){n=e(n),a=o._triggerEvent(F,n.closest(b)),a||o._toggleGroup(n,!0)})),a):t},_ajaxRequest:function(t,n,i){var r=this,o=t.find(".k-panelbar-collapse, .k-panelbar-expand"),a=t.find(v),s=setTimeout(function(){o.addClass("k-loading")},100),l={};e.ajax({type:"GET",cache:!1,url:a.data(D)||a.attr(h),dataType:"html",data:l,error:function(e,t){o.removeClass("k-loading"),r.trigger(_,{xhr:e,status:t})&&this.complete()},complete:function(){clearTimeout(s),o.removeClass("k-loading")},success:function(e){n.html(e),r._toggleGroup(n,i),r.trigger(P,{item:t[0],contentElement:n[0]})}})},_triggerEvent:function(e,t){var n=this;return n.trigger(e,{item:t[0]})},_updateSelected:function(e){var t=this,n=t.element,i=e.parent(b),r=t._selected;r&&r.removeAttr(Q),t._selected=i.attr(Q,!0),n.find(W).removeClass(N),n.find("> .k-state-highlighted, .k-panel > .k-state-highlighted").removeClass(L),e.addClass(N),e.parentsUntil(n,b).filter(":has(.k-header)").addClass(L),t._current(i)},_animations:function(e){e&&"animation"in e&&!e.animation&&(e.animation={expand:{effects:{}},collapse:{hide:!0,effects:{}}})}});s(tt,{renderItem:function(e){e=s({panelBar:{},group:{}},e);var t=Z.empty,n=e.item;return Z.item(s(e,{image:n.imageUrl?Z.image:t,sprite:n.spriteCssClass?Z.sprite:t,itemWrapper:Z.itemWrapper,renderContent:tt.renderContent,arrow:n.items||n.content||n.contentUrl?Z.arrow:t,subGroup:tt.renderGroup},et))},renderGroup:function(e){return Z.group(s({renderItems:function(e){for(var t="",n=0,i=e.items,r=i?i.length:0,o=s({length:r},e.group);r>n;n++)t+=tt.renderItem(s(e,{group:o,item:s({index:n},i[n])}));return t}},e,et))},renderContent:function(e){return Z.content(s(e,et))}}),r.ui.plugin(tt)}(window.kendo.jQuery),function(e,t){function n(t){t.children(m).addClass(k),t.children("a").addClass(_).children(m).addClass(k),t.filter(":not([disabled]):not([class*=k-state-disabled])").addClass(z),t.filter("li[disabled]").addClass(P).removeAttr("disabled"),t.filter(":not([class*=k-state])").children("a").filter(":focus").parent().addClass(H+" "+O),t.attr("role","tab"),t.filter("."+H).attr("aria-selected",!0),t.each(function(){var t=e(this); -t.children("."+_).length||t.contents().filter(function(){return!(this.nodeName.match(f)||3==this.nodeType&&!d(this.nodeValue))}).wrapAll("")})}function i(e){var t=e.children(".k-item");t.filter(".k-first:not(:first-child)").removeClass(C),t.filter(".k-last:not(:last-child)").removeClass(b),t.filter(":first-child").addClass(C),t.filter(":last-child").addClass(b)}var r=window.kendo,o=r.ui,a=r.keys,s=e.map,l=e.each,d=e.trim,c=e.extend,u=r.template,p=o.Widget,f=/^(a|div)$/i,h=".kendoTabStrip",m="img",g="href",v="prev",_="k-link",b="k-last",y="click",w="error",x=":empty",k="k-image",C="k-first",T="select",S="activate",A="k-content",F="contentUrl",D="mouseenter",I="mouseleave",E="contentLoad",P="k-state-disabled",z="k-state-default",H="k-state-active",R="k-state-focused",M="k-state-hover",O="k-tab-on-top",N=".k-item:not(."+P+")",B=".k-tabstrip-items > "+N+":not(."+H+")",L={content:u("
    #= content(item) #
    "),itemWrapper:u("<#= tag(item) # class='k-link'#= contentUrl(item) ##= textAttributes(item) #>#= image(item) ##= sprite(item) ##= text(item) #"),item:u(""),image:u(""),sprite:u(""),empty:u("")},V={wrapperCssClass:function(e,t){var n="k-item",i=t.index;return n+=t.enabled===!1?" k-state-disabled":" k-state-default",0===i&&(n+=" k-first"),i==e.length-1&&(n+=" k-last"),n},textAttributes:function(e){return e.url?" href='"+e.url+"'":""},text:function(e){return e.encoded===!1?e.text:r.htmlEncode(e.text)},tag:function(e){return e.url?"a":"span"},contentAttributes:function(e){return e.active!==!0?" style='display:none' aria-hidden='true' aria-expanded='false'":""},content:function(e){return e.content?e.content:e.contentUrl?"":" "},contentUrl:function(e){return e.contentUrl?r.attr("content-url")+'="'+e.contentUrl+'"':""}},U=p.extend({init:function(t,n){var i,o,a=this;p.fn.init.call(a,t,n),a._animations(a.options),a.wrapper=a.element.is("ul")?a.element.wrapAll("
    ").parent():a.element,n=a.options,a._isRtl=r.support.isRtl(a.wrapper),a._tabindex(),a._updateClasses(),a._dataSource(),n.dataSource&&a.dataSource.fetch(),a.options.contentUrls&&a.wrapper.find(".k-tabstrip-items > .k-item").each(function(t,n){e(n).find(">."+_).data(F,a.options.contentUrls[t])}),a.wrapper.on(D+h+" "+I+h,B,a._toggleHover).on("keydown"+h,e.proxy(a._keydown,a)).on("focus"+h,e.proxy(a._active,a)).on("blur"+h,function(){a._current(null)}),a.wrapper.children(".k-tabstrip-items").on(y+h,".k-state-disabled .k-link",!1).on(y+h," > "+N,function(t){a._click(e(t.currentTarget))&&t.preventDefault()}),i=a.tabGroup.children("li."+H),o=a.contentHolder(i.index()),o.length>0&&0===o[0].childNodes.length&&a.activateTab(i.eq(0)),a.element.attr("role","tablist"),a.element[0].id&&(a._ariaId=a.element[0].id+"_ts_active"),r.notify(a)},_active:function(){var e=this.tabGroup.children().filter("."+H);this._current(e[0]?e:this._endItem("first"))},_endItem:function(e){return this.tabGroup.children(N)[e]()},_item:function(e,t){var n;return n=t===v?"last":"first",e?(e=e[t](),e[0]||(e=this._endItem(n)),e.hasClass(P)&&(e=this._item(e,t)),e):this._endItem(n)},_current:function(e){var n=this,i=n._focused,r=n._ariaId;return e===t?i:(i&&(i[0].id===r&&i.removeAttr("id"),i.removeClass(R)),e&&(e.hasClass(H)||e.addClass(R),n.element.removeAttr("aria-activedescendant"),r=e[0].id||r,r&&(e.attr("id",r),n.element.attr("aria-activedescendant",r))),n._focused=e,t)},_keydown:function(e){var n,i=this,r=e.keyCode,o=i._current(),s=i._isRtl;if(e.target==e.currentTarget){if(r==a.DOWN||r==a.RIGHT)n=s?v:"next";else if(r==a.UP||r==a.LEFT)n=s?"next":v;else if(r==a.ENTER||r==a.SPACEBAR)i._click(o),e.preventDefault();else{if(r==a.HOME)return i._click(i._endItem("first")),e.preventDefault(),t;if(r==a.END)return i._click(i._endItem("last")),e.preventDefault(),t}n&&(i._click(i._item(o,n)),e.preventDefault())}},_dataSource:function(){var t=this;t.dataSource&&t._refreshHandler?t.dataSource.unbind("change",t._refreshHandler):t._refreshHandler=e.proxy(t.refresh,t),t.dataSource=r.data.DataSource.create(t.options.dataSource).bind("change",t._refreshHandler)},setDataSource:function(e){this.options.dataSource=e,this._dataSource(),e.fetch()},_animations:function(e){e&&"animation"in e&&!e.animation&&(e.animation={open:{effects:{}},close:{effects:{}}})},refresh:function(e){var t,n,i,o,a=this,s=a.options,l=r.getter(s.dataTextField),d=r.getter(s.dataContentField),c=r.getter(s.dataContentUrlField),u=r.getter(s.dataImageUrlField),p=r.getter(s.dataUrlField),f=r.getter(s.dataSpriteCssClass),h=[],m=a.dataSource.view();for(e=e||{},i=e.action,i&&(m=e.items),t=0,o=m.length;o>t;t++)n={text:l(m[t])},s.dataContentField&&(n.content=d(m[t])),s.dataContentUrlField&&(n.contentUrl=c(m[t])),s.dataUrlField&&(n.url=p(m[t])),s.dataImageUrlField&&(n.imageUrl=u(m[t])),s.dataSpriteCssClass&&(n.spriteCssClass=f(m[t])),h[t]=n;if("add"==e.action)e.indext;t++)a.remove(e.index);else"itemchange"==e.action?(t=a.dataSource.view().indexOf(m[0]),e.field===s.dataTextField&&a.tabGroup.children().eq(t).find(".k-link").text(m[0].get(e.field))):(a.trigger("dataBinding"),a.remove("li"),a.append(h),a.trigger("dataBound"))},value:function(n){var i=this;return n===t?i.select().text():(n!=i.value()&&i.tabGroup.children().each(function(){e.trim(e(this).text())==n&&i.select(this)}),t)},items:function(){return this.tabGroup[0].children},setOptions:function(e){var t=this.options.animation;this._animations(e),e.animation=c(!0,t,e.animation),p.fn.setOptions.call(this,e)},events:[T,S,w,E,"change","dataBinding","dataBound"],options:{name:"TabStrip",dataTextField:"",dataContentField:"",dataImageUrlField:"",dataUrlField:"",dataSpriteCssClass:"",dataContentUrlField:"",animation:{open:{effects:"expand:vertical fadeIn",duration:200},close:{duration:200}},collapsible:!1},destroy:function(){var e=this;p.fn.destroy.call(e),e._refreshHandler&&e.dataSource.unbind("change",e._refreshHandler),e.wrapper.off(h),r.destroy(e.wrapper)},select:function(t){var n=this;return 0===arguments.length?n.tabGroup.children("li."+H):(isNaN(t)||(t=n.tabGroup.children().get(t)),t=n.tabGroup.find(t),e(t).each(function(t,i){i=e(i),i.hasClass(H)||n.trigger(T,{item:i[0],contentElement:n.contentHolder(i.index())[0]})||n.activateTab(i)}),n)},enable:function(e,t){return this._toggleDisabled(e,t!==!1),this},disable:function(e){return this._toggleDisabled(e,!1),this},reload:function(t){t=this.tabGroup.find(t);var n=this;return t.each(function(){var t=e(this),i=t.find("."+_).data(F),r=n.contentHolder(t.index());i&&n.ajaxRequest(t,r,null,i)}),n},append:function(e){var t=this,n=t._create(e);return l(n.tabs,function(e){t.tabGroup.append(this),t.wrapper.append(n.contents[e])}),i(t.tabGroup),t._updateContentElements(),t},insertBefore:function(t,n){var r=this,o=r._create(t),a=e(r.contentElement(n.index()));return l(o.tabs,function(e){n.before(this),a.before(o.contents[e])}),i(r.tabGroup),r._updateContentElements(),r},insertAfter:function(t,n){var r=this,o=r._create(t),a=e(r.contentElement(n.index()));return l(o.tabs,function(e){n.after(this),a.after(o.contents[e])}),i(r.tabGroup),r._updateContentElements(),r},remove:function(t){var n=this,i=typeof t,r=e();return"string"===i?t=n.tabGroup.find(t):"number"===i&&(t=n.tabGroup.children().eq(t)),t.each(function(){r.push(n.contentElement(e(this).index()))}),t.remove(),r.remove(),n._updateContentElements(),n},_create:function(i){var r,o,a=e.isPlainObject(i),l=this;return a||e.isArray(i)?(i=e.isArray(i)?i:[i],r=s(i,function(t,n){return e(U.renderItem({group:l.tabGroup,item:c(t,{index:n})}))}),o=s(i,function(n,i){return n.content||n.contentUrl?e(U.renderContent({item:c(n,{index:i})})):t})):(r=e(i),o=e("
    "),n(r)),{tabs:r,contents:o}},_toggleDisabled:function(t,n){t=this.tabGroup.find(t),t.each(function(){e(this).toggleClass(z,n).toggleClass(P,!n)})},_updateClasses:function(){var r,o,a,s=this;s.wrapper.addClass("k-widget k-header k-tabstrip"),s.tabGroup=s.wrapper.children("ul").addClass("k-tabstrip-items k-reset"),s.tabGroup[0]||(s.tabGroup=e("
      ").appendTo(s.wrapper)),r=s.tabGroup.find("li").addClass("k-item"),r.length&&(o=r.filter("."+H).index(),a=o>=0?o:t,s.tabGroup.contents().filter(function(){return 3==this.nodeType&&!d(this.nodeValue)}).remove()),o>=0&&r.eq(o).addClass(O),s.contentElements=s.wrapper.children("div"),s.contentElements.addClass(A).eq(a).addClass(H).css({display:"block"}),r.length&&(n(r),i(s.tabGroup),s._updateContentElements())},_updateContentElements:function(){var t=this,n=t.options.contentUrls||[],i=t.element.attr("id"),o=t.wrapper.children("div");t.tabGroup.find(".k-item").each(function(r){var a=o.eq(r),s=i+"-"+(r+1);this.setAttribute("aria-controls",s),!a.length&&n[r]?e("
      ").appendTo(t.wrapper):a.attr("id",s),a.attr("role","tabpanel"),a.filter(":not(."+H+")").attr("aria-hidden",!0).attr("aria-expanded",!1),a.filter("."+H).attr("aria-expanded",!0)}),t.contentElements=t.contentAnimators=t.wrapper.children("div"),r.kineticScrollNeeded&&r.mobile.ui.Scroller&&(r.touchScroller(t.contentElements),t.contentElements=t.contentElements.children(".km-scroll-container"))},_toggleHover:function(t){e(t.currentTarget).toggleClass(M,t.type==D)},_click:function(e){var t,n,i=this,r=e.find("."+_),o=r.attr(g),a=i.options.collapsible,s=i.contentHolder(e.index());if(e.closest(".k-widget")[0]==i.wrapper[0]){if(e.is("."+P+(a?"":",."+H)))return!0;if(n=r.data(F)||o&&("#"==o.charAt(o.length-1)||-1!=o.indexOf("#"+i.element[0].id+"-")),t=!o||n,i.tabGroup.children("[data-animating], [data-in-request]").length)return t;if(i.trigger(T,{item:e[0],contentElement:s[0]}))return!0;if(t!==!1)return a&&e.is("."+H)?(i.deactivateTab(e),!0):(i.activateTab(e)&&(t=!0),t)}},deactivateTab:function(e){var t=this,n=t.options.animation,i=n.open,o=c({},n.close),a=o&&"effects"in o;e=t.tabGroup.find(e),o=c(a?o:c({reverse:!0},i),{hide:!0}),r.size(i.effects)?(e.kendoAddClass(z,{duration:i.duration}),e.kendoRemoveClass(H,{duration:i.duration})):(e.addClass(z),e.removeClass(H)),e.removeAttr("aria-selected"),t.contentAnimators.filter("."+H).kendoStop(!0,!0).kendoAnimate(o).removeClass(H).attr("aria-hidden",!0)},activateTab:function(e){var t,n,i,o,a,s,l,d,u,p,f,h,m,g,v;return e=this.tabGroup.find(e),t=this,n=t.options.animation,i=n.open,o=c({},n.close),a=o&&"effects"in o,s=e.parent().children(),l=s.filter("."+H),d=s.index(e),o=c(a?o:c({reverse:!0},i),{hide:!0}),r.size(i.effects)?(l.kendoRemoveClass(H,{duration:o.duration}),e.kendoRemoveClass(M,{duration:o.duration})):(l.removeClass(H),e.removeClass(M)),u=t.contentAnimators,0===u.length?(l.removeClass(O),e.addClass(O).css("z-index"),e.addClass(H),t._current(e),t.trigger("change"),!1):(p=u.filter("."+H),f=t.contentHolder(d),h=f.closest(".k-content"),0===f.length?(p.removeClass(H).attr("aria-hidden",!0).kendoStop(!0,!0).kendoAnimate(o),!1):(e.attr("data-animating",!0),m=(e.children("."+_).data(F)||!1)&&f.is(x),g=function(){l.removeClass(O),e.addClass(O).css("z-index"),r.size(i.effects)?(l.kendoAddClass(z,{duration:i.duration}),e.kendoAddClass(H,{duration:i.duration})):(l.addClass(z),e.addClass(H)),l.removeAttr("aria-selected"),e.attr("aria-selected",!0),t._current(e),h.addClass(H).removeAttr("aria-hidden").kendoStop(!0,!0).attr("aria-expanded",!0).kendoAnimate(c({init:function(){t.trigger(S,{item:e[0],contentElement:f[0]})}},i,{complete:function(){e.removeAttr("data-animating")}}))},v=function(){m?t.ajaxRequest(e,f,function(){g(),t.trigger("change")}):(g(),t.trigger("change"))},p.removeClass(H),p.attr("aria-hidden",!0),p.attr("aria-expanded",!1),p.length?p.kendoStop(!0,!0).kendoAnimate(c({complete:v},o)):v(),!0))},contentElement:function(e){var n,i,o,a;if(isNaN(e-0))return t;if(n=this.contentElements&&this.contentElements[0]&&!r.kineticScrollNeeded?this.contentElements:this.contentAnimators,i=RegExp("-"+(e+1)+"$"),n)for(o=0,a=n.length;a>o;o++)if(i.test(n.closest(".k-content")[o].id))return n[o];return t},contentHolder:function(t){var n=e(this.contentElement(t)),i=n.children(".km-scroll-container");return r.support.touch&&i[0]?i:n},ajaxRequest:function(t,n,i,r){if(t=this.tabGroup.find(t),!t.find(".k-loading").length){var o=this,a=t.find("."+_),s={},l=null,d=setTimeout(function(){l=e("").prependTo(a)},100);t.attr("data-in-request",!0),e.ajax({type:"GET",cache:!1,url:r||a.data(F)||a.attr(g),dataType:"html",data:s,error:function(e,n){t.removeAttr("data-animating"),o.trigger("error",{xhr:e,status:n})&&this.complete()},complete:function(){t.removeAttr("data-in-request"),clearTimeout(d),null!==l&&l.remove()},success:function(e){n.html(e),i&&i.call(o,n),o.trigger(E,{item:t[0],contentElement:n[0]})}})}}});c(U,{renderItem:function(e){e=c({tabStrip:{},group:{}},e);var t=L.empty,n=e.item;return L.item(c(e,{image:n.imageUrl?L.image:t,sprite:n.spriteCssClass?L.sprite:t,itemWrapper:L.itemWrapper},V))},renderContent:function(e){return L.content(c(e,V))}}),r.ui.plugin(U)}(window.kendo.jQuery),function(e,t){function n(e,t,n){var i,r=e.getTimezoneOffset();e.setTime(e.getTime()+t),n||(i=e.getTimezoneOffset()-r,e.setTime(e.getTime()+i*D))}function i(){var e=new V,t=new V(e.getFullYear(),e.getMonth(),e.getDate(),0,0,0),n=new V(e.getFullYear(),e.getMonth(),e.getDate(),12,0,0);return-1*(t.getTimezoneOffset()-n.getTimezoneOffset())}function r(e){return 60*e.getHours()*D+e.getMinutes()*D+1e3*e.getSeconds()+e.getMilliseconds()}function o(e,t,n){var i,o=r(t),a=r(n);return e&&o!=a?(i=r(e),o>i&&(i+=I),o>a&&(a+=I),i>=o&&a>=i):!0}function a(e){var t=e.parseFormats;e.format=p(e.format||c.getCulture(e.culture).calendars.standard.patterns.t),t=N(t)?t:[t],t.splice(0,0,e.format),e.parseFormats=t}function s(e){e.preventDefault()}var l,d,c=window.kendo,u=c.keys,p=c._extractFormat,f=c.support.browser,h=c.ui,m=h.Widget,g="open",v="close",_="change",b=".kendoTimePicker",y="click"+b,w="k-state-default",x="disabled",k="li",C="",T="k-state-focused",S="k-state-hover",A="mouseenter"+b+" mouseleave"+b,F="mousedown"+b,D=6e4,I=864e5,E="k-state-selected",P="k-state-disabled",z="aria-selected",H="aria-expanded",R="aria-hidden",M="aria-activedescendant",O="id",N=e.isArray,B=e.extend,L=e.proxy,V=Date,U=new V;U=new V(U.getFullYear(),U.getMonth(),U.getDate(),0,0,0),l=function(t){var n=this,i=t.id;n.options=t,n.ul=e('